Skip to content

Commit

Permalink
Mises à jour
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmalard committed Oct 9, 2024
1 parent 4028fd7 commit 957e08d
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 46 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"name": "site",
"version": "0.0.0",
"scripts": {
"dev": "cross-env NODE_OPTIONS='--no-warnings' vite",
"dev": "cross-env NODE_OPTIONS='--no-warnings' vite --port 5138",
"build": "vue-tsc --noEmit && vite build",
"preview": "pnpm build && vite preview",
"déployer": "node ./scripts/gh-pages-deploy.mjs",
"formatter": "npx prettier --write \"**/*.{js,mjs,cjs,ts,mts,cts,vue,json}\""
},
"dependencies": {
"@constl/ipa": "^1.2.4",
"@constl/ipa": "^1.2.6",
"@lassi-js/kilimukku-vue": "^1.1.8",
"@mdi/font": "7.4.47",
"@vue-leaflet/vue-leaflet": "^0.10.1",
Expand Down
89 changes: 48 additions & 41 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 17 additions & 2 deletions src/components/étapes/démo/CarteConnexions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,19 @@
<v-card class="mx-auto">
<v-card-item>
<v-card-title>
Connexions
Infos
</v-card-title>
</v-card-item>
<v-card-text>
<v-list>
<v-list-subheader>Mon Id Constellation</v-list-subheader>
<v-list-item>{{ monIdCompte }}</v-list-item>
<v-list-subheader>Connexions Constellation</v-list-subheader>
<v-list-item v-for="c in membres" :title="c.infoMembre.idCompte" :subtitle="c.vuÀ">
</v-list-item>
<v-list-subheader>Mon Id SFIP</v-list-subheader>
<v-list-item>{{ monIdSfip }}</v-list-item>
<v-list-subheader>Connexions SFIP</v-list-subheader>
<v-list-item v-for="c in connexionsSfip" :title="c.pair" :subtitle="c.adresses[0]">
</v-list-item>
</v-list>
Expand All @@ -20,10 +28,17 @@
</template>
<script setup lang="ts">
import { suivre, constellation } from '@/composables/données';
import { ref } from 'vue';
import { ref, watchEffect } from 'vue';
const dialogue = ref(false);
const constl = constellation();
const connexionsSfip = suivre(constl.réseau.suivreConnexionsPostesSFIP)
const monIdSfip = ref<string>();
watchEffect(async () => {
monIdSfip.value = (await constl.obtIdSFIP()).toString()
})
const monIdCompte = suivre(constl.suivreIdCompte);
const membres = suivre(constl.réseau.suivreConnexionsMembres);
</script>
Loading

0 comments on commit 957e08d

Please sign in to comment.