@cnamts/synapse 1.0.6 → 1.0.7
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/{DateFilter-BlOpwEVq.js → DateFilter-CHDLz2EO.js} +1 -1
- package/dist/{NumberFilter-BPUXE4wY.js → NumberFilter-DXNQ4Uls.js} +1 -1
- package/dist/{PeriodFilter-B2yx329_.js → PeriodFilter-C8Qf3Jcn.js} +1 -1
- package/dist/{SelectFilter-CedKn1oV.js → SelectFilter-B2Ejs4Cb.js} +1 -1
- package/dist/{TextFilter-DkhJjRtR.js → TextFilter-CfR5_A1S.js} +1 -1
- package/dist/components/Amelipro/AmeliproAccordionGroup/AmeliproAccordionGroup.d.ts +116 -0
- package/dist/components/Amelipro/AmeliproAccordionGroup/types.d.ts +4 -0
- package/dist/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.d.ts +220 -0
- package/dist/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.d.ts +68 -0
- package/dist/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResultTemplate/AmeliproAccordionResultTemplate.d.ts +70 -0
- package/dist/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.d.ts +204 -0
- package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +26 -26
- package/dist/components/Amelipro/AmeliproBadge/AmeliproBadge.d.ts +59 -0
- package/dist/components/Amelipro/AmeliproBtn/AmeliproBtn.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproCaptcha/AmeliproCaptcha.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproCarousel/AmeliproCarousel.d.ts +214 -0
- package/dist/components/Amelipro/AmeliproCarousel/AmeliproCarouselItem/AmeliproCarouselItem.d.ts +70 -0
- package/dist/components/Amelipro/AmeliproCarousel/types.d.ts +7 -0
- package/dist/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.d.ts +125 -0
- package/dist/components/Amelipro/AmeliproIconBtn/AmeliproIconBtn.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproIllustratedDataTile/AmeliproIllustratedDataTile.d.ts +2 -2
- package/dist/components/Amelipro/AmeliproResultList/AmeliproResultList.d.ts +164 -0
- package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +27 -27
- package/dist/components/Amelipro/AmeliproStateTile/AmeliproStateTile.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproTable/AmeliproTable.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +32 -32
- package/dist/components/Amelipro/AmeliproTextArea/AmeliproTextArea.d.ts +6 -6
- package/dist/components/Amelipro/AmeliproTextField/AmeliproTextField.d.ts +7 -7
- package/dist/components/Amelipro/AmeliproTileBtn/AmeliproTileBtn.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproTooltips/AmeliproTooltips.d.ts +2 -2
- package/dist/components/ChipList/ChipList.d.ts +4 -0
- package/dist/components/ChipList/locales.d.ts +4 -2
- package/dist/components/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +8 -8
- package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +445 -8
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +2 -0
- package/dist/components/Customs/SyTabs/SyTabs.d.ts +71 -0
- package/dist/components/Customs/SyTabs/config.d.ts +17 -0
- package/dist/components/Customs/SyTabs/types.d.ts +11 -0
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +9 -9
- package/dist/components/DataList/DataList.d.ts +1 -1
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +4811 -240
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +52 -33
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +23 -10
- package/dist/components/DatePicker/composables/useDateInputEditing.d.ts +1 -0
- package/dist/components/DatePicker/composables/useTodayButton.d.ts +1 -0
- package/dist/components/DialogBox/DialogBox.d.ts +219 -0
- package/dist/components/HeaderLoading/HeaderLoading.d.ts +27 -0
- package/dist/components/HeaderNavigationBar/HeaderNavigationBar.d.ts +110 -3
- package/dist/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.d.ts +19 -1
- package/dist/components/LangBtn/LangBtn.d.ts +2 -2
- package/dist/components/NirField/NirField.d.ts +18 -18
- package/dist/components/PeriodField/PeriodField.d.ts +10766 -1620
- package/dist/components/PhoneField/PhoneField.d.ts +1866 -2
- package/dist/components/PhoneField/indicatifs.d.ts +1 -0
- package/dist/components/PhoneField/locales.d.ts +1 -0
- package/dist/components/RangeField/RangeField.d.ts +1 -1
- package/dist/components/RangeField/RangeSlider/RangeSlider.d.ts +1 -1
- package/dist/components/SubHeader/SubHeader.d.ts +8 -0
- package/dist/components/SubHeader/locales.d.ts +1 -0
- package/dist/components/SyTextArea/SyTextArea.d.ts +6 -6
- package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +5 -4
- package/dist/components/Tables/SyTable/SyTable.d.ts +5 -4
- package/dist/components/Tables/common/SyTablePagination.d.ts +448 -7
- package/dist/components/Tables/common/organizeColumns/OrganizeColumns.d.ts +2 -2
- package/dist/components/Tables/common/types.d.ts +2 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/design-system-v3.js +173 -164
- package/dist/design-system-v3.umd.cjs +288 -261
- package/dist/{main-BXPFSAB4.js → main-C66C1BkG.js} +12984 -11291
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/assets/amelipro/icons.ts +38 -11
- package/src/components/Amelipro/AmeliproAccordionGroup/AmeliproAccordionGroup.mdx +20 -0
- package/src/components/Amelipro/AmeliproAccordionGroup/AmeliproAccordionGroup.stories.ts +135 -0
- package/src/components/Amelipro/AmeliproAccordionGroup/AmeliproAccordionGroup.vue +107 -0
- package/src/components/Amelipro/AmeliproAccordionGroup/__tests__/AmeliproAccordionGroup.spec.ts +37 -0
- package/src/components/Amelipro/AmeliproAccordionGroup/__tests__/__snapshots__/AmeliproAccordionGroup.spec.ts.snap +513 -0
- package/src/components/Amelipro/AmeliproAccordionGroup/types.d.ts +4 -0
- package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.mdx +16 -0
- package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.stories.ts +300 -0
- package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.vue +288 -0
- package/src/components/Amelipro/AmeliproAccordionList/__tests__/AmeliproAccordionList.spec.ts +38 -0
- package/src/components/Amelipro/AmeliproAccordionList/__tests__/__snapshots__/AmeliproAccordionList.spec.ts.snap +1712 -0
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.mdx +19 -0
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.stories.ts +68 -0
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.vue +66 -0
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResultTemplate/AmeliproAccordionResultTemplate.vue +145 -0
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResultTemplate/__tests__/AmeliproAccordionResultTemplate.spec.ts +24 -0
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResultTemplate/__tests__/__snapshots__/AmeliproAccordionResultTemplate.spec.ts.snap +127 -0
- package/src/components/Amelipro/AmeliproAccordionResult/__tests__/AmeliproAccordionResult.spec.ts +24 -0
- package/src/components/Amelipro/AmeliproAccordionResult/__tests__/__snapshots__/AmeliproAccordionResult.spec.ts.snap +123 -0
- package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.mdx +20 -0
- package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.stories.ts +273 -0
- package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.vue +275 -0
- package/src/components/Amelipro/AmeliproAccordionResultList/__tests__/AmeliproAccordionResultList.spec.ts +38 -0
- package/src/components/Amelipro/AmeliproAccordionResultList/__tests__/__snapshots__/AmeliproAccordionResultList.spec.ts.snap +1593 -0
- package/src/components/Amelipro/AmeliproBadge/AmeliproBadge.mdx +15 -0
- package/src/components/Amelipro/AmeliproBadge/AmeliproBadge.stories.ts +54 -0
- package/src/components/Amelipro/AmeliproBadge/AmeliproBadge.vue +76 -0
- package/src/components/Amelipro/AmeliproBadge/__tests__/AmeliproBadge.spec.ts +20 -0
- package/src/components/Amelipro/AmeliproBadge/__tests__/__snapshots__/AmeliproBadge.spec.ts.snap +19 -0
- package/src/components/Amelipro/AmeliproCarousel/AmeliproCarousel.mdx +15 -0
- package/src/components/Amelipro/AmeliproCarousel/AmeliproCarousel.stories.ts +191 -0
- package/src/components/Amelipro/AmeliproCarousel/AmeliproCarousel.vue +263 -0
- package/src/components/Amelipro/AmeliproCarousel/AmeliproCarouselItem/AmeliproCarouselItem.vue +93 -0
- package/src/components/Amelipro/AmeliproCarousel/AmeliproCarouselItem/__tests__/AmeliproCarouselItem.spec.ts +24 -0
- package/src/components/Amelipro/AmeliproCarousel/AmeliproCarouselItem/__tests__/__snapshots__/AmeliproCarouselItem.spec.ts.snap +43 -0
- package/src/components/Amelipro/AmeliproCarousel/__tests__/AmeliproCarousel.spec.ts +40 -0
- package/src/components/Amelipro/AmeliproCarousel/__tests__/__snapshots__/AmeliproCarousel.spec.ts.snap +342 -0
- package/src/components/Amelipro/AmeliproCarousel/types.d.ts +8 -0
- package/src/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.mdx +18 -0
- package/src/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.stories.ts +67 -0
- package/src/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.vue +233 -0
- package/src/components/Amelipro/AmeliproClickableTile/tests/AmeliproClickableTile.spec.ts +21 -0
- package/src/components/Amelipro/AmeliproClickableTile/tests/__snapshots__/AmeliproClickableTile.spec.ts.snap +140 -0
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeader.vue +7 -1
- package/src/components/Amelipro/AmeliproHeader/tests/__snapshots__/AmeliproHeader.spec.ts.snap +5 -4
- package/src/components/Amelipro/AmeliproIcon/iconList.ts +6 -0
- package/src/components/Amelipro/AmeliproPageLayout/tests/__snapshots__/AmeliproPageLayout.spec.ts.snap +5 -4
- package/src/components/Amelipro/AmeliproResultList/AmeliproResultList.mdx +15 -0
- package/src/components/Amelipro/AmeliproResultList/AmeliproResultList.stories.ts +264 -0
- package/src/components/Amelipro/AmeliproResultList/AmeliproResultList.vue +231 -0
- package/src/components/Amelipro/AmeliproResultList/__tests__/AmeliproResultList.spec.ts +37 -0
- package/src/components/Amelipro/AmeliproResultList/__tests__/__snapshots__/AmeliproResultList.spec.ts.snap +434 -0
- package/src/components/Amelipro/AmeliproTable/AmeliproTable.vue +6 -5
- package/src/components/Amelipro/AmeliproTable/__tests__/__snapshots__/AmeliproTable.spec.ts.snap +23 -26
- package/src/components/Amelipro/AmeliproTileBtn/AmeliproTileBtn.stories.ts +2 -2
- package/src/components/ChipList/Accessibilite.stories.ts +4 -0
- package/src/components/ChipList/ChipList.vue +185 -42
- package/src/components/ChipList/locales.ts +4 -2
- package/src/components/ChipList/tests/chipList.spec.ts +7 -4
- package/src/components/Customs/Selects/SelectOverview.mdx +18 -15
- package/src/components/Customs/Selects/SyBtnSelect/SyBtnSelect.stories.ts +10 -10
- package/src/components/Customs/Selects/SySelect/SySelect.stories.ts +13 -5
- package/src/components/Customs/Selects/SySelect/SySelect.vue +108 -37
- package/src/components/Customs/SyCheckbox/SyCheckbox.mdx +3 -1
- package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +165 -0
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +28 -9
- package/src/components/Customs/SyTabs/Accessibilite.mdx +309 -0
- package/src/components/Customs/SyTabs/SyTabs.mdx +117 -0
- package/src/components/Customs/SyTabs/SyTabs.stories.ts +354 -0
- package/src/components/Customs/SyTabs/SyTabs.vue +350 -0
- package/src/components/Customs/SyTabs/config.ts +17 -0
- package/src/components/Customs/SyTabs/tests/SyTabs.spec.ts +425 -0
- package/src/components/Customs/SyTabs/types.ts +12 -0
- package/src/components/Customs/SyTextField/SyTextField.mdx +3 -0
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +142 -1
- package/src/components/Customs/SyTextField/SyTextField.vue +19 -16
- package/src/components/DataList/DataList.vue +47 -49
- package/src/components/DataListGroup/DataListGroup.vue +1 -1
- package/src/components/DataListItem/DataListItem.vue +67 -63
- package/src/components/DataListItem/tests/DataListItem.spec.ts +2 -2
- package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +3 -3
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +49 -13
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +412 -649
- package/src/components/DatePicker/DatePickerValidationExample/CalendarMode.stories.ts +215 -0
- package/src/components/DatePicker/DatePickerValidationExample/ComplexDatePicker.stories.ts +218 -0
- package/src/components/DatePicker/DatePickerValidationExample/DatePickerValidation.mdx +2 -0
- package/src/components/DatePicker/DatePickerValidationExample/DatePickerValidation.stories.ts +1 -1
- package/src/components/DatePicker/DatePickerValidationExample/DateTextInput.stories.ts +218 -0
- package/src/components/DatePicker/DatePickerValidationExample/MultiMode.stories.ts +281 -0
- package/src/components/DatePicker/DateTextInput/DateTextInput.events.spec.ts +17 -4
- package/src/components/DatePicker/DateTextInput/DateTextInput.range.spec.ts +111 -18
- package/src/components/DatePicker/DateTextInput/DateTextInput.spec.ts +238 -6
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +716 -757
- package/src/components/DatePicker/composables/tests/useDateInputEditing.spec.ts +4 -4
- package/src/components/DatePicker/composables/tests/useDisplayedDateString.spec.ts +17 -10
- package/src/components/DatePicker/composables/useDateInputEditing.ts +52 -22
- package/src/components/DatePicker/composables/useDisplayedDateString.ts +18 -4
- package/src/components/DatePicker/composables/useTodayButton.ts +13 -1
- package/src/components/DatePicker/utils/dateFormattingUtils.ts +79 -14
- package/src/components/DialogBox/DialogBox.stories.ts +12 -0
- package/src/components/DialogBox/DialogBox.vue +16 -11
- package/src/components/DialogBox/tests/DialogBox.spec.ts +22 -0
- package/src/components/HeaderLoading/Accessibilite.mdx +429 -8
- package/src/components/HeaderLoading/Accessibilite.stories.ts +4 -0
- package/src/components/HeaderLoading/HeaderLoading.vue +59 -0
- package/src/components/HeaderNavigationBar/HeaderNavigationBar.mdx +17 -2
- package/src/components/HeaderNavigationBar/HeaderNavigationBar.stories.ts +91 -2
- package/src/components/HeaderNavigationBar/HeaderNavigationBar.vue +37 -1
- package/src/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.vue +276 -21
- package/src/components/HeaderNavigationBar/tests/HeaderNavigationBar.spec.ts +2 -2
- package/src/components/NirField/NirField.mdx +3 -0
- package/src/components/NirField/NirField.vue +10 -1
- package/src/components/NirField/tests/NirField.spec.ts +81 -0
- package/src/components/PasswordField/PasswordField.mdx +3 -0
- package/src/components/PeriodField/PeriodField.mdx +2 -0
- package/src/components/PeriodField/PeriodField.stories.ts +195 -0
- package/src/components/PhoneField/Accessibilite.stories.ts +4 -0
- package/src/components/PhoneField/PhoneField.mdx +3 -1
- package/src/components/PhoneField/PhoneField.stories.ts +285 -1
- package/src/components/PhoneField/PhoneField.vue +228 -95
- package/src/components/PhoneField/indicatifs.ts +102 -102
- package/src/components/PhoneField/locales.ts +1 -0
- package/src/components/PhoneField/tests/PhoneField.spec.ts +429 -2
- package/src/components/SkipLink/SkipLink.vue +3 -31
- package/src/components/SkipLink/tests/skipLink.spec.ts +0 -21
- package/src/components/SubHeader/Accessibilite.stories.ts +8 -0
- package/src/components/SubHeader/SubHeader.mdx +1 -0
- package/src/components/SubHeader/SubHeader.stories.ts +179 -60
- package/src/components/SubHeader/SubHeader.vue +45 -15
- package/src/components/SubHeader/locales.ts +1 -0
- package/src/components/SyAlert/SyAlert.vue +6 -0
- package/src/components/Tables/SyServerTable/SyServerTable.mdx +3 -10
- package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +242 -0
- package/src/components/Tables/SyServerTable/SyServerTable.vue +29 -10
- package/src/components/Tables/SyTable/SyTable.mdx +3 -10
- package/src/components/Tables/SyTable/SyTable.stories.ts +242 -0
- package/src/components/Tables/SyTable/SyTable.vue +2 -0
- package/src/components/Tables/common/SyTablePagination.vue +13 -6
- package/src/components/Tables/common/tests/SyTablePagination.spec.ts +157 -0
- package/src/components/Tables/common/types.ts +2 -0
- package/src/components/index.ts +9 -0
- package/src/composables/useFilterable/useFilterable.ts +10 -0
- package/src/designTokens/tokens/amelipro/apColors.ts +1 -1
- package/src/designTokens/tokens/cnam/cnamSemantic.ts +3 -3
- package/src/stories/Components/Components.stories.ts +1 -1
- package/src/stories/GuideDuDev/FormValidationGuide.mdx +342 -0
- package/src/stories/Templates/Templates.stories.ts +1 -1
- package/src/utils/functions/ameliproColors/ameliproColors.ts +1 -1
- package/dist/components/DataList/locales.d.ts +0 -3
- package/src/components/DataList/locales.ts +0 -3
- package/src/components/PhoneField/tests/PhoneField.additional.spec.ts +0 -266
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
|
+
|
|
3
|
+
exports[`AmeliproResultList > render correctly 1`] = `
|
|
4
|
+
<div
|
|
5
|
+
class="amelipro-result-list"
|
|
6
|
+
id="amelipro-result-unique-id-container"
|
|
7
|
+
>
|
|
8
|
+
<div
|
|
9
|
+
class="
|
|
10
|
+
align-end
|
|
11
|
+
amelipro-result-list__infos
|
|
12
|
+
d-flex
|
|
13
|
+
justify-space-between
|
|
14
|
+
mb-6
|
|
15
|
+
"
|
|
16
|
+
id="amelipro-result-unique-id-header"
|
|
17
|
+
>
|
|
18
|
+
<p
|
|
19
|
+
class="
|
|
20
|
+
align-center
|
|
21
|
+
d-inline-block
|
|
22
|
+
font-weight-semibold
|
|
23
|
+
mb-0
|
|
24
|
+
total-counter
|
|
25
|
+
"
|
|
26
|
+
id="amelipro-result-unique-id-result-counter"
|
|
27
|
+
>
|
|
28
|
+
<span class="d-sr-only">
|
|
29
|
+
Nombre de lignes dans la liste ci-après :
|
|
30
|
+
</span>
|
|
31
|
+
12 résultat(s)
|
|
32
|
+
</p>
|
|
33
|
+
<div class="
|
|
34
|
+
align-center
|
|
35
|
+
amelipro-result-list__select__wrapper
|
|
36
|
+
d-inline-flex
|
|
37
|
+
">
|
|
38
|
+
<!-- v-if -->
|
|
39
|
+
<div
|
|
40
|
+
class="
|
|
41
|
+
amelipro-result-list__pagination-select
|
|
42
|
+
mb-0
|
|
43
|
+
ml-2
|
|
44
|
+
pt-0
|
|
45
|
+
"
|
|
46
|
+
id="amelipro-result-unique-id-pagination-select-container"
|
|
47
|
+
style="
|
|
48
|
+
margin-bottom: 12px;
|
|
49
|
+
max-width: 170px;
|
|
50
|
+
"
|
|
51
|
+
>
|
|
52
|
+
<div class="
|
|
53
|
+
amelipro-select__wrapper
|
|
54
|
+
d-flex
|
|
55
|
+
flex-column
|
|
56
|
+
w-100
|
|
57
|
+
">
|
|
58
|
+
<div class="
|
|
59
|
+
align-start
|
|
60
|
+
d-inline-flex
|
|
61
|
+
">
|
|
62
|
+
<label
|
|
63
|
+
class="
|
|
64
|
+
amelipro-select__label
|
|
65
|
+
mr-2
|
|
66
|
+
"
|
|
67
|
+
for="amelipro-result-unique-id-pagination-select"
|
|
68
|
+
id="amelipro-result-unique-id-pagination-select-label"
|
|
69
|
+
>
|
|
70
|
+
Nb lignes/page :
|
|
71
|
+
<!-- v-if -->
|
|
72
|
+
</label>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="
|
|
75
|
+
amelipro-result-list__pagination-select
|
|
76
|
+
amelipro-select
|
|
77
|
+
mb-0
|
|
78
|
+
ml-2
|
|
79
|
+
pt-0
|
|
80
|
+
pt-0
|
|
81
|
+
v-input
|
|
82
|
+
v-input--center-affix
|
|
83
|
+
v-input--density-compact
|
|
84
|
+
v-input--dirty
|
|
85
|
+
v-input--horizontal
|
|
86
|
+
v-locale--is-ltr
|
|
87
|
+
v-select
|
|
88
|
+
v-select--selected
|
|
89
|
+
v-select--single
|
|
90
|
+
v-text-field
|
|
91
|
+
v-theme--light
|
|
92
|
+
">
|
|
93
|
+
<!---->
|
|
94
|
+
<div class="v-input__control">
|
|
95
|
+
<div
|
|
96
|
+
class="
|
|
97
|
+
bg-ap-white
|
|
98
|
+
v-field
|
|
99
|
+
v-field--active
|
|
100
|
+
v-field--appended
|
|
101
|
+
v-field--center-affix
|
|
102
|
+
v-field--dirty
|
|
103
|
+
v-field--has-background
|
|
104
|
+
v-field--no-label
|
|
105
|
+
v-field--variant-outlined
|
|
106
|
+
v-locale--is-ltr
|
|
107
|
+
v-theme--light
|
|
108
|
+
"
|
|
109
|
+
role="combobox"
|
|
110
|
+
>
|
|
111
|
+
<div class="v-field__overlay"></div>
|
|
112
|
+
<div class="v-field__loader">
|
|
113
|
+
<div
|
|
114
|
+
aria-hidden="true"
|
|
115
|
+
aria-valuemax="100"
|
|
116
|
+
aria-valuemin="0"
|
|
117
|
+
class="
|
|
118
|
+
v-locale--is-ltr
|
|
119
|
+
v-progress-linear
|
|
120
|
+
v-theme--light
|
|
121
|
+
"
|
|
122
|
+
role="progressbar"
|
|
123
|
+
style="
|
|
124
|
+
top: 0px;
|
|
125
|
+
height: 0px;
|
|
126
|
+
--v-progress-linear-height: 2px;
|
|
127
|
+
"
|
|
128
|
+
>
|
|
129
|
+
<!---->
|
|
130
|
+
<div
|
|
131
|
+
class="v-progress-linear__background"
|
|
132
|
+
style="opacity: NaN;"
|
|
133
|
+
></div>
|
|
134
|
+
<div
|
|
135
|
+
class="v-progress-linear__buffer"
|
|
136
|
+
style="
|
|
137
|
+
opacity: NaN;
|
|
138
|
+
width: 0%;
|
|
139
|
+
"
|
|
140
|
+
></div>
|
|
141
|
+
<transition-stub
|
|
142
|
+
appear="false"
|
|
143
|
+
css="true"
|
|
144
|
+
name="fade-transition"
|
|
145
|
+
persisted="false"
|
|
146
|
+
>
|
|
147
|
+
<div class="v-progress-linear__indeterminate">
|
|
148
|
+
<div class="
|
|
149
|
+
long
|
|
150
|
+
v-progress-linear__indeterminate
|
|
151
|
+
"></div>
|
|
152
|
+
<div class="
|
|
153
|
+
short
|
|
154
|
+
v-progress-linear__indeterminate
|
|
155
|
+
"></div>
|
|
156
|
+
</div>
|
|
157
|
+
</transition-stub>
|
|
158
|
+
<!---->
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
<!---->
|
|
162
|
+
<div
|
|
163
|
+
class="v-field__field"
|
|
164
|
+
data-no-activator=""
|
|
165
|
+
>
|
|
166
|
+
<!---->
|
|
167
|
+
<!---->
|
|
168
|
+
<!---->
|
|
169
|
+
<div
|
|
170
|
+
class="v-field__input"
|
|
171
|
+
data-no-activator=""
|
|
172
|
+
>
|
|
173
|
+
<!---->
|
|
174
|
+
<!---->
|
|
175
|
+
<div class="v-select__selection">
|
|
176
|
+
<span class="v-select__selection-text">
|
|
177
|
+
10
|
|
178
|
+
<!---->
|
|
179
|
+
</span>
|
|
180
|
+
</div>
|
|
181
|
+
<input
|
|
182
|
+
aria-label="Open"
|
|
183
|
+
aria-required="false"
|
|
184
|
+
id="amelipro-result-unique-id-pagination-select"
|
|
185
|
+
inputmode="none"
|
|
186
|
+
size="1"
|
|
187
|
+
title="Open"
|
|
188
|
+
type="text"
|
|
189
|
+
value="10"
|
|
190
|
+
/>
|
|
191
|
+
</div>
|
|
192
|
+
<!---->
|
|
193
|
+
</div>
|
|
194
|
+
<!---->
|
|
195
|
+
<div class="v-field__append-inner">
|
|
196
|
+
<!---->
|
|
197
|
+
<i
|
|
198
|
+
aria-hidden="true"
|
|
199
|
+
class="
|
|
200
|
+
mdi
|
|
201
|
+
mdi-menu-down
|
|
202
|
+
notranslate
|
|
203
|
+
v-icon
|
|
204
|
+
v-icon--size-default
|
|
205
|
+
v-select__menu-icon
|
|
206
|
+
v-theme--light
|
|
207
|
+
"
|
|
208
|
+
></i>
|
|
209
|
+
<!---->
|
|
210
|
+
</div>
|
|
211
|
+
<div class="v-field__outline">
|
|
212
|
+
<div class="v-field__outline__start"></div>
|
|
213
|
+
<!---->
|
|
214
|
+
<div class="v-field__outline__end"></div>
|
|
215
|
+
<!---->
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
</div>
|
|
219
|
+
<!---->
|
|
220
|
+
<!---->
|
|
221
|
+
</div>
|
|
222
|
+
</div>
|
|
223
|
+
<!-- v-if -->
|
|
224
|
+
</div>
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
<div>
|
|
228
|
+
<ul
|
|
229
|
+
aria-label="Exemple de liste de résultats"
|
|
230
|
+
class="
|
|
231
|
+
amelipro-result-list__list
|
|
232
|
+
list-style-none
|
|
233
|
+
"
|
|
234
|
+
id="amelipro-result-unique-id-list"
|
|
235
|
+
>
|
|
236
|
+
<li
|
|
237
|
+
class="amelipro-result-list__item"
|
|
238
|
+
id="amelipro-result-unique-id-item-0"
|
|
239
|
+
>
|
|
240
|
+
<p>
|
|
241
|
+
Exemple de résultat
|
|
242
|
+
</p>
|
|
243
|
+
</li>
|
|
244
|
+
<li
|
|
245
|
+
class="amelipro-result-list__item"
|
|
246
|
+
id="amelipro-result-unique-id-item-1"
|
|
247
|
+
>
|
|
248
|
+
<p>
|
|
249
|
+
Exemple de résultat
|
|
250
|
+
</p>
|
|
251
|
+
</li>
|
|
252
|
+
<li
|
|
253
|
+
class="amelipro-result-list__item"
|
|
254
|
+
id="amelipro-result-unique-id-item-2"
|
|
255
|
+
>
|
|
256
|
+
<p>
|
|
257
|
+
Exemple de résultat
|
|
258
|
+
</p>
|
|
259
|
+
</li>
|
|
260
|
+
<li
|
|
261
|
+
class="amelipro-result-list__item"
|
|
262
|
+
id="amelipro-result-unique-id-item-3"
|
|
263
|
+
>
|
|
264
|
+
<p>
|
|
265
|
+
Exemple de résultat
|
|
266
|
+
</p>
|
|
267
|
+
</li>
|
|
268
|
+
<li
|
|
269
|
+
class="amelipro-result-list__item"
|
|
270
|
+
id="amelipro-result-unique-id-item-4"
|
|
271
|
+
>
|
|
272
|
+
<p>
|
|
273
|
+
Exemple de résultat
|
|
274
|
+
</p>
|
|
275
|
+
</li>
|
|
276
|
+
<li
|
|
277
|
+
class="amelipro-result-list__item"
|
|
278
|
+
id="amelipro-result-unique-id-item-5"
|
|
279
|
+
>
|
|
280
|
+
<p>
|
|
281
|
+
Exemple de résultat
|
|
282
|
+
</p>
|
|
283
|
+
</li>
|
|
284
|
+
<li
|
|
285
|
+
class="amelipro-result-list__item"
|
|
286
|
+
id="amelipro-result-unique-id-item-6"
|
|
287
|
+
>
|
|
288
|
+
<p>
|
|
289
|
+
Exemple de résultat
|
|
290
|
+
</p>
|
|
291
|
+
</li>
|
|
292
|
+
<li
|
|
293
|
+
class="amelipro-result-list__item"
|
|
294
|
+
id="amelipro-result-unique-id-item-7"
|
|
295
|
+
>
|
|
296
|
+
<p>
|
|
297
|
+
Exemple de résultat
|
|
298
|
+
</p>
|
|
299
|
+
</li>
|
|
300
|
+
<li
|
|
301
|
+
class="amelipro-result-list__item"
|
|
302
|
+
id="amelipro-result-unique-id-item-8"
|
|
303
|
+
>
|
|
304
|
+
<p>
|
|
305
|
+
Exemple de résultat
|
|
306
|
+
</p>
|
|
307
|
+
</li>
|
|
308
|
+
<li
|
|
309
|
+
class="amelipro-result-list__item"
|
|
310
|
+
id="amelipro-result-unique-id-item-9"
|
|
311
|
+
>
|
|
312
|
+
<p>
|
|
313
|
+
Exemple de résultat
|
|
314
|
+
</p>
|
|
315
|
+
</li>
|
|
316
|
+
</ul>
|
|
317
|
+
</div>
|
|
318
|
+
<nav
|
|
319
|
+
aria-label="pagination"
|
|
320
|
+
class="
|
|
321
|
+
align-center
|
|
322
|
+
amelipro-pagination
|
|
323
|
+
d-flex
|
|
324
|
+
justify-center
|
|
325
|
+
mt-2
|
|
326
|
+
"
|
|
327
|
+
id="amelipro-result-unique-id-pagination-container"
|
|
328
|
+
>
|
|
329
|
+
<ol
|
|
330
|
+
class="
|
|
331
|
+
amelipro-pagination__list
|
|
332
|
+
d-flex
|
|
333
|
+
list-style-none
|
|
334
|
+
"
|
|
335
|
+
id="amelipro-result-unique-id-pagination-list"
|
|
336
|
+
>
|
|
337
|
+
<li class="amelipro-pagination__item">
|
|
338
|
+
<button
|
|
339
|
+
aria-current="page"
|
|
340
|
+
class="
|
|
341
|
+
amelipro-btn
|
|
342
|
+
amelipro-btn--style
|
|
343
|
+
amelipro-pagination__btn
|
|
344
|
+
bg-ap-blue-darken-1
|
|
345
|
+
elevation-0
|
|
346
|
+
v-btn
|
|
347
|
+
v-btn--density-default
|
|
348
|
+
v-btn--flat
|
|
349
|
+
v-btn--size-default
|
|
350
|
+
v-btn--variant-flat
|
|
351
|
+
v-theme--light
|
|
352
|
+
"
|
|
353
|
+
id="amelipro-result-unique-id-pagination-first"
|
|
354
|
+
style="
|
|
355
|
+
height: auto;
|
|
356
|
+
min-height: 2.5rem;
|
|
357
|
+
color: #FFFFFF !important;
|
|
358
|
+
"
|
|
359
|
+
title="page active"
|
|
360
|
+
type="button"
|
|
361
|
+
>
|
|
362
|
+
<span class="v-btn__overlay"></span>
|
|
363
|
+
<span class="v-btn__underlay"></span>
|
|
364
|
+
<!---->
|
|
365
|
+
<span
|
|
366
|
+
class="v-btn__content"
|
|
367
|
+
data-no-activator=""
|
|
368
|
+
>
|
|
369
|
+
<span class="
|
|
370
|
+
align-center
|
|
371
|
+
amelipro-custom-btn
|
|
372
|
+
d-flex
|
|
373
|
+
flex-row
|
|
374
|
+
">
|
|
375
|
+
1
|
|
376
|
+
<!-- v-if -->
|
|
377
|
+
<!-- v-if -->
|
|
378
|
+
</span>
|
|
379
|
+
</span>
|
|
380
|
+
<!---->
|
|
381
|
+
<!---->
|
|
382
|
+
</button>
|
|
383
|
+
</li>
|
|
384
|
+
<!-- v-if -->
|
|
385
|
+
<!-- v-if -->
|
|
386
|
+
<li class="amelipro-pagination__item">
|
|
387
|
+
<button
|
|
388
|
+
class="
|
|
389
|
+
amelipro-btn
|
|
390
|
+
amelipro-btn--style
|
|
391
|
+
amelipro-pagination__btn
|
|
392
|
+
bg-ap-white
|
|
393
|
+
elevation-0
|
|
394
|
+
v-btn
|
|
395
|
+
v-btn--density-default
|
|
396
|
+
v-btn--flat
|
|
397
|
+
v-btn--size-default
|
|
398
|
+
v-btn--variant-flat
|
|
399
|
+
v-theme--light
|
|
400
|
+
"
|
|
401
|
+
id="amelipro-result-unique-id-pagination-last"
|
|
402
|
+
style="
|
|
403
|
+
height: auto;
|
|
404
|
+
min-height: 2.5rem;
|
|
405
|
+
color: #00749C !important;
|
|
406
|
+
"
|
|
407
|
+
type="button"
|
|
408
|
+
>
|
|
409
|
+
<span class="v-btn__overlay"></span>
|
|
410
|
+
<span class="v-btn__underlay"></span>
|
|
411
|
+
<!---->
|
|
412
|
+
<span
|
|
413
|
+
class="v-btn__content"
|
|
414
|
+
data-no-activator=""
|
|
415
|
+
>
|
|
416
|
+
<span class="
|
|
417
|
+
align-center
|
|
418
|
+
amelipro-custom-btn
|
|
419
|
+
d-flex
|
|
420
|
+
flex-row
|
|
421
|
+
">
|
|
422
|
+
2
|
|
423
|
+
<!-- v-if -->
|
|
424
|
+
<!-- v-if -->
|
|
425
|
+
</span>
|
|
426
|
+
</span>
|
|
427
|
+
<!---->
|
|
428
|
+
<!---->
|
|
429
|
+
</button>
|
|
430
|
+
</li>
|
|
431
|
+
</ol>
|
|
432
|
+
</nav>
|
|
433
|
+
</div>
|
|
434
|
+
`;
|
|
@@ -100,6 +100,9 @@
|
|
|
100
100
|
|
|
101
101
|
watch(() => props.dataList, () => {
|
|
102
102
|
updatePagination(props.dataList, itemToDisplay.value)
|
|
103
|
+
if (currentPage.value > paginationTable.value.length) {
|
|
104
|
+
currentPage.value = Math.max(1, paginationTable.value.length)
|
|
105
|
+
}
|
|
103
106
|
})
|
|
104
107
|
|
|
105
108
|
onMounted(() => {
|
|
@@ -179,7 +182,7 @@
|
|
|
179
182
|
:id="`${uniqueId}-total-counter`"
|
|
180
183
|
class="d-inline-block mb-0 total-counter font-weight-semibold"
|
|
181
184
|
>
|
|
182
|
-
<span class="d-sr-only">Nombre de
|
|
185
|
+
<span class="d-sr-only">Nombre de lignes dans le tableau ci-après :</span>
|
|
183
186
|
{{ dataList.length }} {{ counterLabel }}
|
|
184
187
|
</p>
|
|
185
188
|
|
|
@@ -190,13 +193,12 @@
|
|
|
190
193
|
<AmeliproSelect
|
|
191
194
|
v-if="sortSelectItems.length > 0"
|
|
192
195
|
v-model="sortSelectModel"
|
|
193
|
-
class="ml-2 amelipro-table__sort-select"
|
|
196
|
+
class="ml-2 mb-0 pt-0 amelipro-table__sort-select"
|
|
194
197
|
global-max-width="170px"
|
|
195
198
|
:hide-error-message="true"
|
|
196
199
|
:items="sortSelectItems"
|
|
197
200
|
:label="sortSelectLabel"
|
|
198
201
|
:placeholder="sortSelectPlaceholder"
|
|
199
|
-
style="margin-bottom: 0 !important; padding-top: 0 !important;"
|
|
200
202
|
:unique-id="`${uniqueId}-sort-select`"
|
|
201
203
|
@update:model-value="emitSortSelectChange"
|
|
202
204
|
/>
|
|
@@ -204,13 +206,12 @@
|
|
|
204
206
|
<AmeliproSelect
|
|
205
207
|
v-if="mdAndUp"
|
|
206
208
|
v-model="paginationSelectModel"
|
|
207
|
-
class="ml-2 amelipro-table__pagination-select"
|
|
209
|
+
class="ml-2 mb-0 pt-0 amelipro-table__pagination-select"
|
|
208
210
|
global-max-width="170px"
|
|
209
211
|
:hide-error-message="true"
|
|
210
212
|
:items="paginationSelectItems"
|
|
211
213
|
:label="paginationSelectLabel"
|
|
212
214
|
:placeholder="paginationSelectPlaceholder"
|
|
213
|
-
style="margin-bottom: 0 !important; padding-top: 0 !important;"
|
|
214
215
|
:unique-id="`${uniqueId}-pagination-select`"
|
|
215
216
|
@update:model-value="emitPaginationSelectChange()"
|
|
216
217
|
/>
|
package/src/components/Amelipro/AmeliproTable/__tests__/__snapshots__/AmeliproTable.spec.ts.snap
CHANGED
|
@@ -25,7 +25,7 @@ exports[`AmeliproTable > render correctly 1`] = `
|
|
|
25
25
|
id="amelipro-table-id-total-counter"
|
|
26
26
|
>
|
|
27
27
|
<span class="d-sr-only">
|
|
28
|
-
Nombre de
|
|
28
|
+
Nombre de lignes dans le tableau ci-après :
|
|
29
29
|
</span>
|
|
30
30
|
4 item(s)
|
|
31
31
|
</p>
|
|
@@ -41,13 +41,14 @@ exports[`AmeliproTable > render correctly 1`] = `
|
|
|
41
41
|
<div
|
|
42
42
|
class="
|
|
43
43
|
amelipro-table__pagination-select
|
|
44
|
+
mb-0
|
|
44
45
|
ml-2
|
|
46
|
+
pt-0
|
|
45
47
|
"
|
|
46
48
|
id="amelipro-table-id-pagination-select-container"
|
|
47
49
|
style="
|
|
48
|
-
margin-bottom:
|
|
50
|
+
margin-bottom: 12px;
|
|
49
51
|
max-width: 170px;
|
|
50
|
-
padding-top: 0px !important;
|
|
51
52
|
"
|
|
52
53
|
>
|
|
53
54
|
<div class="
|
|
@@ -72,29 +73,25 @@ exports[`AmeliproTable > render correctly 1`] = `
|
|
|
72
73
|
<!-- v-if -->
|
|
73
74
|
</label>
|
|
74
75
|
</div>
|
|
75
|
-
<div
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
margin-bottom: 0px !important;
|
|
95
|
-
padding-top: 0px !important;
|
|
96
|
-
"
|
|
97
|
-
>
|
|
76
|
+
<div class="
|
|
77
|
+
amelipro-select
|
|
78
|
+
amelipro-table__pagination-select
|
|
79
|
+
mb-0
|
|
80
|
+
ml-2
|
|
81
|
+
pt-0
|
|
82
|
+
pt-0
|
|
83
|
+
v-input
|
|
84
|
+
v-input--center-affix
|
|
85
|
+
v-input--density-compact
|
|
86
|
+
v-input--dirty
|
|
87
|
+
v-input--horizontal
|
|
88
|
+
v-locale--is-ltr
|
|
89
|
+
v-select
|
|
90
|
+
v-select--selected
|
|
91
|
+
v-select--single
|
|
92
|
+
v-text-field
|
|
93
|
+
v-theme--light
|
|
94
|
+
">
|
|
98
95
|
<!---->
|
|
99
96
|
<div class="v-input__control">
|
|
100
97
|
<div
|
|
@@ -11,8 +11,8 @@ const meta = {
|
|
|
11
11
|
},
|
|
12
12
|
complementaryInfoLine1: { description: 'Ligne dédiée à ajouter des informations supplémentaires (les differents éléments ne seront plus forcément alignés cela dépendra du contenu au-dessus)' },
|
|
13
13
|
complementaryInfoLine2: { description: 'Ligne dédiée à ajouter des informations supplémentaires (les differents éléments ne seront plus forcément alignés cela dépendra du contenu au-dessus)' },
|
|
14
|
-
disabled: { description: '
|
|
15
|
-
href: { description: '
|
|
14
|
+
disabled: { description: 'Désactive le bouton' },
|
|
15
|
+
href: { description: 'Url de destination du lien' },
|
|
16
16
|
imgMaxWidth: { description: 'Taille maximale de l’image du bouton' },
|
|
17
17
|
imgMinWidth: { description: 'Taille minimale de l’image du bouton' },
|
|
18
18
|
imgSrc: { description: 'Url de l’image du bouton' },
|
|
@@ -208,6 +208,10 @@ export const Legende: StoryObj = {
|
|
|
208
208
|
Problèmes relevés par Tanaguru
|
|
209
209
|
</div>
|
|
210
210
|
</div>
|
|
211
|
+
<div class="mt-4">
|
|
212
|
+
<p>Rapport d’audit manuel : <a href="/audits/ChipList.xlsx" style="color:#0C41BD;">Voir le rapport</a></p>
|
|
213
|
+
<p style="color: grey; font-size: 14px">Correctifs associés (<a href="https://github.com/assurance-maladie-digital/design-system-v3/issues/814" target="_blank" style="color:#0C41BD;">issue #814</a>)</p>
|
|
214
|
+
</div>
|
|
211
215
|
</div>
|
|
212
216
|
`,
|
|
213
217
|
}
|