@cnamts/synapse 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AutocompleteFilter-DXd4szWO.js → AutocompleteFilter-CGF33skz.js} +1 -1
- package/dist/{DateFilter-BD59Kgwf.js → DateFilter-D7-MsKtx.js} +1 -1
- package/dist/{NumberFilter-BSMZE7uw.js → NumberFilter-bjQPPfsj.js} +1 -1
- package/dist/{PeriodFilter-keUdSSk0.js → PeriodFilter-B3wJpK8-.js} +1 -1
- package/dist/{SelectFilter-Dhvvwazl.js → SelectFilter-BN6DbKAV.js} +1 -1
- package/dist/{TextFilter-CU8FpXz0.js → TextFilter-BffP0J2f.js} +1 -1
- package/dist/{apLightTheme2026-DbS7BPUf.js → apLightTheme2026-C4ygwMHC.js} +11 -11
- package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +6 -6
- package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +6 -6
- package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +6 -6
- package/dist/components/Captcha/Captcha.d.ts +27 -16
- package/dist/components/Captcha/CaptchaForm.d.ts +29 -3
- package/dist/components/Captcha/types.d.ts +14 -0
- package/dist/components/Captcha/useCaptchaValidation.d.ts +37 -0
- package/dist/components/Customs/Selects/SelectBtnField/SelectBtnField.d.ts +33 -13
- package/dist/components/Customs/Selects/SelectBtnField/composables/useSelectBtnFieldValidation.d.ts +23 -0
- package/dist/components/Customs/Selects/SyAutocomplete/composables/useSyAutocompleteValidation.d.ts +2 -2
- package/dist/components/Customs/Selects/SySelect/composables/useSySelectValidation.d.ts +2 -2
- package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +17 -48
- package/dist/components/Customs/SyCheckBoxGroup/composables/useSyCheckBoxGroupValidation.d.ts +29 -0
- package/dist/components/Customs/SyCheckBoxGroup/types.d.ts +46 -0
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +16 -51
- package/dist/components/Customs/SyCheckbox/composables/useSyCheckboxValidation.d.ts +27 -0
- package/dist/components/Customs/SyCheckbox/types.d.ts +49 -0
- package/dist/components/Customs/SyTextField/FieldState.d.ts +5 -0
- package/dist/components/Customs/SyTextField/useSyTextFieldValidation.d.ts +3 -3
- package/dist/components/DialogBox/DialogBox.d.ts +2 -0
- package/dist/components/DialogBox/locales.d.ts +1 -0
- package/dist/components/FilterSideBar/FilterSideBar.d.ts +4 -0
- package/dist/components/LunarCalendar/LunarCalendar.d.ts +43 -14
- package/dist/components/LunarCalendar/types.d.ts +35 -0
- package/dist/components/LunarCalendar/useLunarCalendarValidation.d.ts +11 -12
- package/dist/components/MonthPicker/MonthPicker.d.ts +72 -1747
- package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +21 -1733
- package/dist/components/MonthPicker/MonthPickerText/useTextField.d.ts +5 -0
- package/dist/components/MonthPicker/locales.d.ts +1 -0
- package/dist/components/MonthPicker/types.d.ts +11 -0
- package/dist/components/MonthPicker/useMonthPickerValidation.d.ts +37 -24
- package/dist/components/NirField/NirField.d.ts +6 -4
- package/dist/components/NirField/useNirValidation.d.ts +7 -5
- package/dist/components/PageContainer/PageContainer.d.ts +8 -0
- package/dist/components/PasswordField/PasswordField.d.ts +2 -2
- package/dist/components/PasswordField/usePasswordFieldValidation.d.ts +2 -2
- package/dist/components/PhoneField/PhoneField.d.ts +960 -1938
- package/dist/components/PhoneField/indicatifs.d.ts +715 -8
- package/dist/components/PhoneField/locales.d.ts +7 -0
- package/dist/components/PhoneField/types.d.ts +29 -0
- package/dist/components/PhoneField/usePhoneFieldValidation.d.ts +45 -0
- package/dist/components/PhoneField/usePhoneIndicatifs.d.ts +947 -0
- package/dist/components/SyTextArea/composables/useSyTextAreaValidation.d.ts +2 -2
- package/dist/composables/unifyValidation/documentationValidationProps.d.ts +1 -1
- package/dist/composables/unifyValidation/useValidation.d.ts +4 -5
- package/dist/design-system-v3.js +2 -2
- package/dist/designTokens/tokens/amelipro/apLightTheme.d.ts +10 -10
- package/dist/designTokens/tokens/baseTokens.d.ts +18 -18
- package/dist/designTokens/tokens/cnam/cnamLightTheme.d.ts +10 -10
- package/dist/designTokens/tokens/pa/paLightTheme.d.ts +10 -10
- package/dist/designTokens/tokens/semanticTokens.d.ts +14 -14
- package/dist/{main-D8ryUoS5.js → main-C4wAktOs.js} +13718 -12991
- package/dist/synapse.css +1 -1
- package/dist/vuetifyConfig.js +1 -1
- package/package.json +7 -7
- package/src/assets/compat/_legacy-tokens.scss +91 -0
- package/src/assets/overrides/_utilities.scss +23 -0
- package/src/components/Accordion/Accordion.stories.ts +121 -1
- package/src/components/BackBtn/BackBtn.mdx +1 -1
- package/src/components/BackToTopBtn/BackToTopBtn.mdx +0 -1
- package/src/components/Captcha/Captcha.stories.ts +134 -31
- package/src/components/Captcha/Captcha.vue +95 -28
- package/src/components/Captcha/CaptchaForm.vue +51 -22
- package/src/components/Captcha/tests/Captcha.focus.spec.ts +214 -0
- package/src/components/Captcha/tests/Captcha.spec.ts +233 -24
- package/src/components/Captcha/tests/CaptchaForm.spec.ts +82 -0
- package/src/components/Captcha/tests/__snapshots__/Captcha.spec.ts.snap +16 -42
- package/src/components/Captcha/types.ts +15 -0
- package/src/components/Captcha/useCaptchaValidation.ts +87 -0
- package/src/components/Captcha/validation/validation.stories.ts +1194 -0
- package/src/components/ChipList/ChipList.mdx +0 -1
- package/src/components/CollapsibleList/CollapsibleList.mdx +0 -1
- package/src/components/CookieBanner/CookieBanner.mdx +0 -1
- package/src/components/CopyBtn/CopyBtn.mdx +0 -1
- package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.stories.ts +123 -439
- package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.vue +147 -41
- package/src/components/Customs/Selects/SelectBtnField/Validation/Validation.stories.ts +600 -0
- package/src/components/Customs/Selects/SelectBtnField/composables/useSelectBtnFieldValidation.ts +87 -0
- package/src/components/Customs/Selects/SelectBtnField/tests/SelectBtnField.spec.ts +402 -33
- package/src/components/Customs/Selects/SelectBtnField/tests/__snapshots__/SelectBtnField.spec.ts.snap +52 -38
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.stories.ts +342 -162
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +77 -129
- package/src/components/Customs/SyCheckBoxGroup/Validation/Validation.stories.ts +1008 -0
- package/src/components/Customs/SyCheckBoxGroup/composables/useSyCheckBoxGroupValidation.ts +107 -0
- package/src/components/Customs/SyCheckBoxGroup/tests/SyCheckBoxGroup.spec.ts +180 -7
- package/src/components/Customs/SyCheckBoxGroup/types.ts +49 -0
- package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +41 -161
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +71 -148
- package/src/components/Customs/SyCheckbox/Validation/Validation.stories.ts +654 -0
- package/src/components/Customs/SyCheckbox/composables/useSyCheckboxValidation.ts +105 -0
- package/src/components/Customs/SyCheckbox/tests/SyCheckbox.spec.ts +106 -0
- package/src/components/Customs/SyCheckbox/tests/useSyCheckboxValidation.spec.ts +98 -0
- package/src/components/Customs/SyCheckbox/types.ts +51 -0
- package/src/components/Customs/SyTextField/FieldState.vue +50 -0
- package/src/components/Customs/SyTextField/SyTextField.vue +12 -9
- package/src/components/Customs/SyTextField/useSyTextFieldValidation.ts +2 -11
- package/src/components/DataList/DataList.mdx +0 -1
- package/src/components/DataListGroup/DataListGroup.mdx +0 -1
- package/src/components/DiacriticPicker/DiacriticPicker.mdx +0 -1
- package/src/components/DialogBox/DialogBox.mdx +0 -1
- package/src/components/DialogBox/DialogBox.stories.ts +399 -4
- package/src/components/DialogBox/DialogBox.vue +20 -0
- package/src/components/DialogBox/locales.ts +1 -0
- package/src/components/DialogBox/tests/DialogBox.spec.ts +73 -0
- package/src/components/DialogBox/tests/DialogBox.visual.cy.ts +24 -0
- package/src/components/ErrorPage/ErrorPage.mdx +1 -1
- package/src/components/ExternalLinks/ExternalLinks.mdx +0 -1
- package/src/components/FileList/FileList.mdx +0 -1
- package/src/components/FilterInline/FilterInline.mdx +0 -1
- package/src/components/FilterSideBar/FilterSideBar.mdx +8 -1
- package/src/components/FilterSideBar/FilterSideBar.stories.ts +133 -1
- package/src/components/FilterSideBar/FilterSideBar.vue +19 -2
- package/src/components/FilterSideBar/tests/FilterSideBar.spec.ts +55 -0
- package/src/components/FooterBar/FooterBar.mdx +0 -1
- package/src/components/FranceConnectBtn/FranceConnectBtn.mdx +0 -1
- package/src/components/HeaderBar/HeaderBar.mdx +0 -1
- package/src/components/HeaderLoading/HeaderLoading.mdx +0 -1
- package/src/components/LangBtn/LangBtn.mdx +0 -1
- package/src/components/Logo/Logo.mdx +1 -1
- package/src/components/LunarCalendar/LunarCalendar.mdx +6 -9
- package/src/components/LunarCalendar/LunarCalendar.stories.ts +243 -46
- package/src/components/LunarCalendar/LunarCalendar.vue +61 -26
- package/src/components/LunarCalendar/Validation/Validation.stories.ts +717 -0
- package/src/components/LunarCalendar/tests/LunarCalendar.a11y.spec.ts +1 -1
- package/src/components/LunarCalendar/tests/LunarCalendar.spec.ts +197 -6
- package/src/components/LunarCalendar/tests/useLunarCalendarValidation.spec.ts +287 -0
- package/src/components/LunarCalendar/types.ts +39 -0
- package/src/components/LunarCalendar/useLunarCalendarValidation.ts +115 -39
- package/src/components/MonthPicker/MonthPicker.stories.ts +38 -281
- package/src/components/MonthPicker/MonthPicker.vue +66 -17
- package/src/components/MonthPicker/MonthPickerText/MonthPickerInput.vue +44 -20
- package/src/components/MonthPicker/MonthPickerText/useTextField.ts +5 -0
- package/src/components/MonthPicker/Validation/Validation.stories.ts +1117 -0
- package/src/components/MonthPicker/locales.ts +1 -0
- package/src/components/MonthPicker/tests/MonthPicker.spec.ts +353 -2
- package/src/components/MonthPicker/tests/__snapshots__/MonthPicker.spec.ts.snap +12 -8
- package/src/components/MonthPicker/types.ts +16 -0
- package/src/components/MonthPicker/useMonthPickerValidation.ts +64 -27
- package/src/components/NirField/NirField.mdx +120 -66
- package/src/components/NirField/NirField.stories.ts +216 -0
- package/src/components/NirField/useNirValidation.ts +16 -17
- package/src/components/NotFoundPage/tests/__snapshots__/NotFoundPage.spec.ts.snap +263 -245
- package/src/components/NotificationBar/NotificationBar.mdx +0 -1
- package/src/components/PageContainer/PageContainer.mdx +0 -1
- package/src/components/PageContainer/PageContainer.stories.ts +170 -2
- package/src/components/PageContainer/PageContainer.vue +63 -8
- package/src/components/PageContainer/tests/__snapshots__/PageContainer.spec.ts.snap +19 -11
- package/src/components/PaginatedTable/PaginatedTable.mdx +0 -1
- package/src/components/PeriodField/PeriodField.mdx +0 -1
- package/src/components/PhoneField/PhoneField.mdx +2 -3
- package/src/components/PhoneField/PhoneField.stories.ts +227 -410
- package/src/components/PhoneField/PhoneField.vue +204 -438
- package/src/components/PhoneField/indicatifs.ts +1 -1
- package/src/components/PhoneField/locales.ts +7 -0
- package/src/components/PhoneField/tests/PhoneField.a11y.spec.ts +0 -1
- package/src/components/PhoneField/tests/PhoneField.spec.ts +517 -220
- package/src/components/PhoneField/types.ts +30 -0
- package/src/components/PhoneField/usePhoneFieldValidation.ts +119 -0
- package/src/components/PhoneField/usePhoneIndicatifs.ts +89 -0
- package/src/components/PhoneField/validation/validation.stories.ts +717 -0
- package/src/components/RangeField/RangeField.mdx +0 -1
- package/src/components/RatingPicker/RatingPicker.mdx +0 -1
- package/src/components/SocialMediaLinks/SocialMediaLinks.mdx +0 -1
- package/src/components/StatusPage/StatusPage.vue +1 -0
- package/src/components/StatusPage/tests/__snapshots__/StatusPage.spec.ts.snap +248 -230
- package/src/components/SubHeader/SubHeader.mdx +5 -6
- package/src/components/Tables/common/tests/SyTableFilter.spec.ts +11 -12
- package/src/components/UploadWorkflow/UploadWorkflow.mdx +0 -1
- package/src/components/UserMenuBtn/UserMenuBtn.mdx +0 -1
- package/src/components/UserMenuBtn/UserMenuBtn.stories.ts +177 -0
- package/src/composables/unifyValidation/documentationValidationProps.ts +1 -1
- package/src/composables/unifyValidation/tests/useValidation.spec.ts +13 -1
- package/src/composables/unifyValidation/useValidation.ts +37 -33
- package/src/composantsVuetify/VCard/VCard.mdx +4 -0
- package/src/composantsVuetify/VCard/v-card.stories.ts +93 -1
- package/src/composantsVuetify/VCarousel/VCarousel.mdx +74 -0
- package/src/composantsVuetify/VCarousel/v-carousel.stories.ts +531 -0
- package/src/composantsVuetify/VNavigationDrawer/VNavgationDrawer.mdx +53 -0
- package/src/composantsVuetify/VNavigationDrawer/v-navigation-drawer.stories.ts +310 -0
- package/src/composantsVuetify/VSlideGroup/VSlideGroup.mdx +105 -0
- package/src/composantsVuetify/VSlideGroup/v-slide-group.stories.ts +463 -0
- package/src/designTokens/tokens/baseColors.ts +1 -1
- package/src/designTokens/tokens/baseTokens.ts +18 -18
- package/src/stories/Components/Components.stories.ts +34 -1
- package/src/stories/Demarrer/Releases.stories.ts +16 -2
- package/src/stories/DesignTokens/Arrondis.mdx +1 -1
- package/src/stories/DesignTokens/Correspondances.mdx +219 -0
- package/src/stories/DesignTokens/UtiliserLesTokens.mdx +235 -0
- package/src/stories/DesignTokens/colors.stories.ts +569 -569
- package/src/stories/GuideDuDev/Amelipro.stories.ts +335 -267
- package/dist/components/LunarCalendar/useLunarCalendarRules.d.ts +0 -5
- package/dist/components/PhoneField/tests/types.d.ts +0 -18
- package/src/components/LunarCalendar/tests/useLunarCalendarRules.spec.ts +0 -184
- package/src/components/LunarCalendar/useLunarCalendarRules.ts +0 -96
- package/src/components/PhoneField/tests/types.d.ts +0 -19
|
@@ -54,7 +54,9 @@ export const AmeliproComponents: StoryObj = {
|
|
|
54
54
|
const typePath = normalizedType.replace(/\s+/g, '-')
|
|
55
55
|
const namePath = item.name.trim().toLowerCase()
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
const suffix = item.name.includes('--') ? '' : '--docs'
|
|
58
|
+
|
|
59
|
+
return `${baseUrl}${prefix}${typePath}-${namePath}${suffix}`
|
|
58
60
|
}
|
|
59
61
|
|
|
60
62
|
const systemLabel = (component: { name: string }) => {
|
|
@@ -296,68 +298,93 @@ export const AmeliproComponents: StoryObj = {
|
|
|
296
298
|
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-transmission',
|
|
297
299
|
},
|
|
298
300
|
},
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
301
|
+
{
|
|
302
|
+
title: 'StructureMenu',
|
|
303
|
+
usedComponents: [
|
|
304
|
+
{
|
|
305
|
+
name: 'DialogBox',
|
|
306
|
+
type: 'feedback',
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
name: 'NotificationBar',
|
|
310
|
+
type: 'feedback',
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
name: 'VSwitch',
|
|
314
|
+
type: 'composants vuetify',
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
name: 'VTooltip',
|
|
318
|
+
type: 'composants vuetify',
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
amelipro: {
|
|
322
|
+
name: 'StructureMenu',
|
|
323
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/structure-menu',
|
|
324
|
+
},
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
title: 'StructureBtn',
|
|
328
|
+
synapse: {
|
|
329
|
+
name: 'VBtn',
|
|
330
|
+
url: getComponentUrl({ name: 'VBtn', type: 'composants vuetify' }),
|
|
331
|
+
},
|
|
332
|
+
amelipro: {
|
|
333
|
+
name: 'StructureBtn',
|
|
334
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/structure-btn',
|
|
335
|
+
},
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
title: 'StructureItem',
|
|
339
|
+
synapse: {
|
|
340
|
+
name: 'SelectBtnField',
|
|
341
|
+
url: getComponentUrl({ name: 'SelectBtnField', type: 'formulaires selects' }),
|
|
342
|
+
},
|
|
343
|
+
amelipro: {
|
|
344
|
+
name: 'StructureItem',
|
|
345
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/structure-item',
|
|
346
|
+
},
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
title: 'StructureList',
|
|
350
|
+
usedComponents: [
|
|
351
|
+
{
|
|
352
|
+
name: 'SyRadioGroup',
|
|
353
|
+
type: 'formulaires',
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
name: 'VBtn',
|
|
357
|
+
type: 'composants vuetify',
|
|
358
|
+
},
|
|
359
|
+
],
|
|
360
|
+
amelipro: {
|
|
361
|
+
name: 'StructureList',
|
|
362
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/structure-list',
|
|
363
|
+
},
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
title: 'StructureTabs',
|
|
367
|
+
synapse: {
|
|
368
|
+
name: 'SyTabs',
|
|
369
|
+
url: getComponentUrl({ name: 'SyTabs', type: 'navigation' }),
|
|
370
|
+
},
|
|
371
|
+
amelipro: {
|
|
372
|
+
name: 'StructureTabs',
|
|
373
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/structure-tabs',
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
title: 'UserMenu',
|
|
378
|
+
synapse: {
|
|
379
|
+
name: 'UserMenuBtn',
|
|
380
|
+
url: getComponentUrl({ name: 'UserMenuBtn', type: 'boutons' }),
|
|
381
|
+
},
|
|
382
|
+
amelipro: {
|
|
383
|
+
name: 'UserMenu',
|
|
384
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/user-menu',
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
// {
|
|
361
388
|
// title: 'UserMenuDetails',
|
|
362
389
|
// synapse: {
|
|
363
390
|
// name: 'Composant synapse',
|
|
@@ -367,17 +394,18 @@ export const AmeliproComponents: StoryObj = {
|
|
|
367
394
|
// name: 'UserMenuDetails',
|
|
368
395
|
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/user-menu-details',
|
|
369
396
|
// },
|
|
370
|
-
// }, {
|
|
371
|
-
// title: 'ServiceMenu',
|
|
372
|
-
// synapse: {
|
|
373
|
-
// name: 'Composant synapse',
|
|
374
|
-
// url: '',
|
|
375
|
-
// },
|
|
376
|
-
// amelipro: {
|
|
377
|
-
// name: 'ServiceMenu',
|
|
378
|
-
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/service-menu',
|
|
379
|
-
// },
|
|
380
397
|
// },
|
|
398
|
+
{
|
|
399
|
+
title: 'ServiceMenu',
|
|
400
|
+
synapse: {
|
|
401
|
+
name: 'VNavigationDrawer',
|
|
402
|
+
url: getComponentUrl({ name: 'VNavigationDrawer', type: 'composants vuetify' }),
|
|
403
|
+
},
|
|
404
|
+
amelipro: {
|
|
405
|
+
name: 'ServiceMenu',
|
|
406
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/service-menu',
|
|
407
|
+
},
|
|
408
|
+
},
|
|
381
409
|
// {
|
|
382
410
|
// title: 'ServiceBtn',
|
|
383
411
|
// synapse: {
|
|
@@ -484,48 +512,53 @@ export const AmeliproComponents: StoryObj = {
|
|
|
484
512
|
// name: 'AmeliproMailTile',
|
|
485
513
|
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-mail-tile',
|
|
486
514
|
// },
|
|
487
|
-
// }, {
|
|
488
|
-
// title: 'AmeliproMultipleFoldingCard',
|
|
489
|
-
// synapse: {
|
|
490
|
-
// name: 'Composant synapse',
|
|
491
|
-
// url: '',
|
|
492
|
-
// },
|
|
493
|
-
// amelipro: {
|
|
494
|
-
// name: 'AmeliproMultipleFoldingCard',
|
|
495
|
-
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-multiple-folding-card',
|
|
496
|
-
// },
|
|
497
|
-
// }, {
|
|
498
|
-
// title: 'AmeliproNumberedCard',
|
|
499
|
-
// synapse: {
|
|
500
|
-
// name: 'Composant synapse',
|
|
501
|
-
// url: '',
|
|
502
|
-
// },
|
|
503
|
-
// amelipro: {
|
|
504
|
-
// name: 'AmeliproNumberedCard',
|
|
505
|
-
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-numbered-card',
|
|
506
|
-
// },
|
|
507
|
-
// }, {
|
|
508
|
-
// title: 'AmeliproOnboarding',
|
|
509
|
-
// synapse: {
|
|
510
|
-
// name: 'Composant synapse',
|
|
511
|
-
// url: '',
|
|
512
|
-
// },
|
|
513
|
-
// amelipro: {
|
|
514
|
-
// name: 'AmeliproOnboarding',
|
|
515
|
-
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-onboarding',
|
|
516
|
-
// },
|
|
517
|
-
// },
|
|
518
|
-
// {
|
|
519
|
-
// title: 'AmeliproPageLayout',
|
|
520
|
-
// synapse: {
|
|
521
|
-
// name: 'Composant synapse',
|
|
522
|
-
// url: '',
|
|
523
|
-
// },
|
|
524
|
-
// amelipro: {
|
|
525
|
-
// name: 'AmeliproPageLayout',
|
|
526
|
-
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-page-layout',
|
|
527
|
-
// },
|
|
528
515
|
// },
|
|
516
|
+
{
|
|
517
|
+
title: 'AmeliproMultipleFoldingCard',
|
|
518
|
+
synapse: {
|
|
519
|
+
name: 'Accordion',
|
|
520
|
+
url: getComponentUrl({ name: 'Accordion--with-custom-content', type: 'données' }),
|
|
521
|
+
},
|
|
522
|
+
amelipro: {
|
|
523
|
+
name: 'AmeliproMultipleFoldingCard',
|
|
524
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-multiple-folding-card',
|
|
525
|
+
},
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
title: 'AmeliproNumberedCard',
|
|
529
|
+
usedComponents: [
|
|
530
|
+
{
|
|
531
|
+
name: 'VCard',
|
|
532
|
+
type: 'composants vuetify',
|
|
533
|
+
},
|
|
534
|
+
],
|
|
535
|
+
amelipro: {
|
|
536
|
+
name: 'AmeliproNumberedCard',
|
|
537
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-numbered-card',
|
|
538
|
+
},
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
title: 'AmeliproOnboarding',
|
|
542
|
+
synapse: {
|
|
543
|
+
name: 'DialogBox',
|
|
544
|
+
url: getComponentUrl({ name: 'DialogBox', type: 'feedback' }),
|
|
545
|
+
},
|
|
546
|
+
amelipro: {
|
|
547
|
+
name: 'AmeliproOnboarding',
|
|
548
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-onboarding',
|
|
549
|
+
},
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
title: 'AmeliproPageLayout',
|
|
553
|
+
synapse: {
|
|
554
|
+
name: 'PageContainer',
|
|
555
|
+
url: getComponentUrl({ name: 'PageContainer', type: 'layout' }),
|
|
556
|
+
},
|
|
557
|
+
amelipro: {
|
|
558
|
+
name: 'AmeliproPageLayout',
|
|
559
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-page-layout',
|
|
560
|
+
},
|
|
561
|
+
},
|
|
529
562
|
{
|
|
530
563
|
title: 'AmeliproPagination',
|
|
531
564
|
synapse: {
|
|
@@ -547,17 +580,17 @@ export const AmeliproComponents: StoryObj = {
|
|
|
547
580
|
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-pagination-btn',
|
|
548
581
|
},
|
|
549
582
|
},
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
583
|
+
{
|
|
584
|
+
title: 'AmeliproPatientBanner',
|
|
585
|
+
synapse: {
|
|
586
|
+
name: 'VCard',
|
|
587
|
+
url: getComponentUrl({ name: 'VCard', type: 'composants vuetify' }),
|
|
588
|
+
},
|
|
589
|
+
amelipro: {
|
|
590
|
+
name: 'AmeliproPatientBanner',
|
|
591
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-patient-banner',
|
|
592
|
+
},
|
|
593
|
+
},
|
|
561
594
|
{
|
|
562
595
|
title: 'AmeliproRadioGroup',
|
|
563
596
|
synapse: {
|
|
@@ -580,17 +613,17 @@ export const AmeliproComponents: StoryObj = {
|
|
|
580
613
|
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-select',
|
|
581
614
|
},
|
|
582
615
|
},
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
616
|
+
{
|
|
617
|
+
title: 'AmeliproStateTile',
|
|
618
|
+
synapse: {
|
|
619
|
+
name: 'VCard',
|
|
620
|
+
url: getComponentUrl({ name: 'VCard', type: 'composants vuetify' }),
|
|
621
|
+
},
|
|
622
|
+
amelipro: {
|
|
623
|
+
name: 'AmeliproStateTile',
|
|
624
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-state-tile',
|
|
625
|
+
},
|
|
626
|
+
},
|
|
594
627
|
{
|
|
595
628
|
title: 'AmeliproStepper',
|
|
596
629
|
synapse: {
|
|
@@ -644,28 +677,29 @@ export const AmeliproComponents: StoryObj = {
|
|
|
644
677
|
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-text-field',
|
|
645
678
|
},
|
|
646
679
|
},
|
|
680
|
+
{
|
|
681
|
+
title: 'AmeliproTileBtn',
|
|
682
|
+
synapse: {
|
|
683
|
+
name: 'VCard',
|
|
684
|
+
url: getComponentUrl({ name: 'VCard', type: 'composants vuetify' }),
|
|
685
|
+
},
|
|
686
|
+
amelipro: {
|
|
687
|
+
name: 'AmeliproTileBtn',
|
|
688
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-tile-btn',
|
|
689
|
+
},
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
title: 'UserInformationSummary',
|
|
693
|
+
synapse: {
|
|
694
|
+
name: 'PageContainer',
|
|
695
|
+
url: getComponentUrl({ name: 'PageContainer--with-header-and-footer', type: 'layout' }),
|
|
696
|
+
},
|
|
697
|
+
amelipro: {
|
|
698
|
+
name: 'UserInformationSummary',
|
|
699
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/user-information-summary',
|
|
700
|
+
},
|
|
701
|
+
},
|
|
647
702
|
// {
|
|
648
|
-
// title: 'AmeliproTileBtn',
|
|
649
|
-
// synapse: {
|
|
650
|
-
// name: 'Composant synapse',
|
|
651
|
-
// url: '',
|
|
652
|
-
// },
|
|
653
|
-
// amelipro: {
|
|
654
|
-
// name: 'AmeliproTileBtn',
|
|
655
|
-
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-tile-btn',
|
|
656
|
-
// },
|
|
657
|
-
// },
|
|
658
|
-
// {
|
|
659
|
-
// title: 'UserInformationSummary',
|
|
660
|
-
// synapse: {
|
|
661
|
-
// name: 'Composant synapse',
|
|
662
|
-
// url: '',
|
|
663
|
-
// },
|
|
664
|
-
// amelipro: {
|
|
665
|
-
// name: 'UserInformationSummary',
|
|
666
|
-
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/user-information-summary',
|
|
667
|
-
// },
|
|
668
|
-
// }, {
|
|
669
703
|
// title: 'AmeliproCustomSelector',
|
|
670
704
|
// synapse: {
|
|
671
705
|
// name: 'Composant synapse',
|
|
@@ -720,17 +754,23 @@ export const AmeliproComponents: StoryObj = {
|
|
|
720
754
|
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-table',
|
|
721
755
|
},
|
|
722
756
|
},
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
757
|
+
{
|
|
758
|
+
title: 'AmeliproPostalAddressField',
|
|
759
|
+
usedComponents: [
|
|
760
|
+
{
|
|
761
|
+
name: 'SyTextField',
|
|
762
|
+
type: 'formulaires',
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
name: 'SySelect',
|
|
766
|
+
type: 'formulaires selects',
|
|
767
|
+
},
|
|
768
|
+
],
|
|
769
|
+
amelipro: {
|
|
770
|
+
name: 'AmeliproPostalAddressField',
|
|
771
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-postal-address-field',
|
|
772
|
+
},
|
|
773
|
+
},
|
|
734
774
|
{
|
|
735
775
|
title: 'AmeliproAccordionGroup',
|
|
736
776
|
synapse: {
|
|
@@ -742,57 +782,62 @@ export const AmeliproComponents: StoryObj = {
|
|
|
742
782
|
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-group',
|
|
743
783
|
},
|
|
744
784
|
},
|
|
785
|
+
{
|
|
786
|
+
title: 'AmeliproCarousel',
|
|
787
|
+
synapse: {
|
|
788
|
+
name: 'VCarousel',
|
|
789
|
+
url: getComponentUrl({ name: 'VCarousel', type: 'composants vuetify' }),
|
|
790
|
+
},
|
|
791
|
+
amelipro: {
|
|
792
|
+
name: 'AmeliproCarousel',
|
|
793
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-carousel',
|
|
794
|
+
},
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
title: 'AmeliproAccordionResult',
|
|
798
|
+
synapse: {
|
|
799
|
+
name: 'Accordion',
|
|
800
|
+
url: getComponentUrl({ name: 'Accordion', type: 'données' }),
|
|
801
|
+
},
|
|
802
|
+
amelipro: {
|
|
803
|
+
name: 'AmeliproAccordionResult',
|
|
804
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-result',
|
|
805
|
+
},
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
title: 'AmeliproAccordionFrieze',
|
|
809
|
+
synapse: {
|
|
810
|
+
name: 'VSlideGroup',
|
|
811
|
+
url: getComponentUrl({ name: 'VSlideGroup', type: 'composants vuetify' }),
|
|
812
|
+
},
|
|
813
|
+
amelipro: {
|
|
814
|
+
name: 'AmeliproAccordionFrieze',
|
|
815
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-frieze',
|
|
816
|
+
},
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
title: 'AmeliproAccordionList',
|
|
820
|
+
synapse: {
|
|
821
|
+
name: 'SyTable',
|
|
822
|
+
url: getComponentUrl({ name: 'sytable--expandable-rows', type: 'tableaux' }),
|
|
823
|
+
},
|
|
824
|
+
amelipro: {
|
|
825
|
+
name: 'AmeliproAccordionList',
|
|
826
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-list',
|
|
827
|
+
},
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
title: 'AmeliproAccordionResultList',
|
|
831
|
+
synapse: {
|
|
832
|
+
name: 'SyTable',
|
|
833
|
+
url: getComponentUrl({ name: 'sytable--expandable-rows', type: 'tableaux' }),
|
|
834
|
+
},
|
|
835
|
+
amelipro: {
|
|
836
|
+
name: 'AmeliproAccordionResultList',
|
|
837
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-result-list',
|
|
838
|
+
},
|
|
839
|
+
},
|
|
745
840
|
// {
|
|
746
|
-
// title: 'AmeliproCarousel',
|
|
747
|
-
// synapse: {
|
|
748
|
-
// name: 'Composant synapse',
|
|
749
|
-
// url: '',
|
|
750
|
-
// },
|
|
751
|
-
// amelipro: {
|
|
752
|
-
// name: 'AmeliproCarousel',
|
|
753
|
-
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-carousel',
|
|
754
|
-
// },
|
|
755
|
-
// }, {
|
|
756
|
-
// title: 'AmeliproAccordionResult',
|
|
757
|
-
// synapse: {
|
|
758
|
-
// name: 'Composant synapse',
|
|
759
|
-
// url: '',
|
|
760
|
-
// },
|
|
761
|
-
// amelipro: {
|
|
762
|
-
// name: 'AmeliproAccordionResult',
|
|
763
|
-
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-result',
|
|
764
|
-
// },
|
|
765
|
-
// }, {
|
|
766
|
-
// title: 'AmeliproAccordionFrieze',
|
|
767
|
-
// synapse: {
|
|
768
|
-
// name: 'Composant synapse',
|
|
769
|
-
// url: '',
|
|
770
|
-
// },
|
|
771
|
-
// amelipro: {
|
|
772
|
-
// name: 'AmeliproAccordionFrieze',
|
|
773
|
-
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-frieze',
|
|
774
|
-
// },
|
|
775
|
-
// }, {
|
|
776
|
-
// title: 'AmeliproAccordionList',
|
|
777
|
-
// synapse: {
|
|
778
|
-
// name: 'Composant synapse',
|
|
779
|
-
// url: '',
|
|
780
|
-
// },
|
|
781
|
-
// amelipro: {
|
|
782
|
-
// name: 'AmeliproAccordionList',
|
|
783
|
-
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-list',
|
|
784
|
-
// },
|
|
785
|
-
// }, {
|
|
786
|
-
// title: 'AmeliproAccordionResultList',
|
|
787
|
-
// synapse: {
|
|
788
|
-
// name: 'Composant synapse',
|
|
789
|
-
// url: '',
|
|
790
|
-
// },
|
|
791
|
-
// amelipro: {
|
|
792
|
-
// name: 'AmeliproAccordionResultList',
|
|
793
|
-
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-result-list',
|
|
794
|
-
// },
|
|
795
|
-
// }, {
|
|
796
841
|
// title: 'AmeliproClickableTile',
|
|
797
842
|
// synapse: {
|
|
798
843
|
// name: 'Composant synapse',
|
|
@@ -855,34 +900,56 @@ export const AmeliproComponents: StoryObj = {
|
|
|
855
900
|
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-messaging-menu-btn',
|
|
856
901
|
// },
|
|
857
902
|
// },
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
903
|
+
{
|
|
904
|
+
title: 'AmeliproPatientLogin',
|
|
905
|
+
usedComponents: [{
|
|
906
|
+
name: 'VCard',
|
|
907
|
+
type: 'composants vuetify',
|
|
908
|
+
}, {
|
|
909
|
+
name: 'VBtn',
|
|
910
|
+
type: 'composants vuetify',
|
|
911
|
+
}, {
|
|
912
|
+
name: 'SyTextField',
|
|
913
|
+
type: 'formulaires ',
|
|
914
|
+
}, {
|
|
915
|
+
name: 'NirField',
|
|
916
|
+
type: 'formulaires ',
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
name: 'SyIcon',
|
|
920
|
+
type: 'données',
|
|
921
|
+
}, {
|
|
922
|
+
name: 'SySelect',
|
|
923
|
+
type: 'formulaires selects',
|
|
924
|
+
}],
|
|
925
|
+
amelipro: {
|
|
926
|
+
name: 'AmeliproPatientLogin',
|
|
927
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-patient-login',
|
|
928
|
+
},
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
title: 'AmeliproPatientLogged',
|
|
932
|
+
usedComponents: [{
|
|
933
|
+
name: 'VCard',
|
|
934
|
+
type: 'composants vuetify',
|
|
935
|
+
}, {
|
|
936
|
+
name: 'VBtn',
|
|
937
|
+
type: 'composants vuetify',
|
|
938
|
+
}, {
|
|
939
|
+
name: 'VTooltip',
|
|
940
|
+
type: 'composants vuetify',
|
|
941
|
+
}, {
|
|
942
|
+
name: 'CopyBtn',
|
|
943
|
+
type: 'boutons',
|
|
944
|
+
}, {
|
|
945
|
+
name: 'SySelect',
|
|
946
|
+
type: 'formulaires selects',
|
|
947
|
+
}],
|
|
948
|
+
amelipro: {
|
|
949
|
+
name: 'AmeliproPatientLogged',
|
|
950
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-patient-logged',
|
|
951
|
+
},
|
|
952
|
+
},
|
|
886
953
|
{
|
|
887
954
|
title: 'AmeliproCopyBtn',
|
|
888
955
|
synapse: {
|
|
@@ -894,17 +961,17 @@ export const AmeliproComponents: StoryObj = {
|
|
|
894
961
|
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-copy-btn',
|
|
895
962
|
},
|
|
896
963
|
},
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
964
|
+
{
|
|
965
|
+
title: 'AmeliproFirstLogin',
|
|
966
|
+
synapse: {
|
|
967
|
+
name: 'DialogBox',
|
|
968
|
+
url: getComponentUrl({ name: 'DialogBox', type: 'feedback' }),
|
|
969
|
+
},
|
|
970
|
+
amelipro: {
|
|
971
|
+
name: 'AmeliproFirstLogin',
|
|
972
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-first-login',
|
|
973
|
+
},
|
|
974
|
+
},
|
|
908
975
|
]
|
|
909
976
|
|
|
910
977
|
const filteredComponents = computed(() => {
|
|
@@ -949,16 +1016,17 @@ export const AmeliproComponents: StoryObj = {
|
|
|
949
1016
|
<p>
|
|
950
1017
|
Pour reproduire son comportement, utilisez les composants du Design System suivants :
|
|
951
1018
|
</p>
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
1019
|
+
<div class="mt-2 mb-2">
|
|
1020
|
+
<p v-for="item in component.usedComponents" :key="item.name">
|
|
1021
|
+
<a
|
|
1022
|
+
:href="getComponentUrl(item)"
|
|
1023
|
+
target="_blank"
|
|
1024
|
+
rel="noopener noreferrer"
|
|
1025
|
+
>
|
|
1026
|
+
{{ item.name }}
|
|
1027
|
+
</a>
|
|
1028
|
+
</p>
|
|
1029
|
+
</div>
|
|
962
1030
|
|
|
963
1031
|
<p>
|
|
964
1032
|
et implémentez la logique métier directement dans votre projet.
|