@cnamts/synapse 1.0.23 → 1.0.24
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-BWLR3U7W.js +114 -0
- package/dist/AutocompleteFilter-D9jzRzAL.cjs +1 -0
- package/dist/{DateFilter-Dc-gSGwk.js → DateFilter-BpwFexzi.js} +1 -1
- package/dist/DateFilter-DTUl8hb1.cjs +1 -0
- package/dist/{NumberFilter-vP38Wp6j.js → NumberFilter-Bz_NTdX9.js} +3 -3
- package/dist/NumberFilter-MAEojdk0.cjs +1 -0
- package/dist/PeriodFilter-CC4WgIhl.cjs +1 -0
- package/dist/{PeriodFilter-Ba1uYUnT.js → PeriodFilter-DX_wy9g-.js} +1 -1
- package/dist/SelectFilter-BR3fvl-a.cjs +1 -0
- package/dist/SelectFilter-xqiPtPgX.js +135 -0
- package/dist/{TextFilter-B84dpnoq.js → TextFilter-BBl3JFqK.js} +7 -7
- package/dist/TextFilter-CCfYFl5F.cjs +1 -0
- package/dist/apLightTheme-CFSRrjv2.cjs +1 -0
- package/dist/apLightTheme-D1P4jcD0.js +1231 -0
- package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +7022 -9616
- package/dist/components/Amelipro/AmeliproCarousel/AmeliproCarousel.d.ts +2 -2
- package/dist/components/Amelipro/AmeliproIconBtn/AmeliproIconBtn.d.ts +2 -2
- package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/AmeliproPostalAddressCityRow.d.ts +40 -40
- package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressField.d.ts +60 -60
- package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +7168 -9762
- package/dist/components/Amelipro/AmeliproStepper/AmeliproStepper.d.ts +2 -2
- package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +7501 -10095
- package/dist/components/Amelipro/AmeliproTextArea/AmeliproTextArea.d.ts +21 -21
- package/dist/components/Amelipro/AmeliproTextField/AmeliproTextField.d.ts +41 -41
- package/dist/components/Amelipro/StructureMenu/StructureTabs/StructureTabs.d.ts +2 -2
- package/dist/components/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +20 -498
- package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +108 -146
- package/dist/components/Customs/Selects/SyInputSelect/SyInputSelect.d.ts +5 -5
- package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +12 -16
- package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +8 -8
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +28 -506
- package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +28 -506
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +65 -85
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +627 -771
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +315 -402
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +112 -155
- package/dist/components/DatePicker/composables/index.d.ts +1 -0
- package/dist/components/DatePicker/composables/useDatePickerFocusTrap.d.ts +11 -0
- package/dist/components/DatePicker/composables/useDateTextField.d.ts +4 -4
- package/dist/components/DatePicker/composables/useDateValidation.d.ts +3 -3
- package/dist/components/DatePicker/composables/useInputBlurHandler.d.ts +2 -2
- package/dist/components/DatePicker/composables/useManualDateValidation.d.ts +2 -2
- package/dist/components/HeaderNavigationBar/HeaderNavigationBar.d.ts +4 -4
- package/dist/components/HeaderToolbar/HeaderToolbar.d.ts +20 -28
- package/dist/components/LunarCalendar/useLunarCalendarValidation.d.ts +3 -3
- package/dist/components/MonthPicker/MonthPicker.d.ts +86 -122
- package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +85 -121
- package/dist/components/NirField/NirField.d.ts +206 -270
- package/dist/components/NirField/locales.d.ts +10 -10
- package/dist/components/NirField/useNirValidation.d.ts +64 -0
- package/dist/components/PasswordField/PasswordField.d.ts +8 -9
- package/dist/components/PeriodField/PeriodField.d.ts +1352 -1640
- package/dist/components/PhoneField/PhoneField.d.ts +88 -124
- package/dist/components/RangeField/RangeSlider/RangeSlider.d.ts +12 -12
- package/dist/components/SyTextArea/SyTextArea.d.ts +34 -14
- package/dist/components/SyTextArea/useDefaultValidationRules.d.ts +11 -0
- package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +9 -6
- package/dist/components/Tables/SyTable/SyTable.d.ts +9 -6
- package/dist/components/Tables/common/SyTableFilter.d.ts +2 -3
- package/dist/components/Tables/common/SyTablePagination.d.ts +17 -19
- package/dist/components/Tables/common/filters/AutocompleteFilter.d.ts +120 -0
- package/dist/components/Tables/common/filters/locales.d.ts +0 -1
- package/dist/components/Tables/common/types.d.ts +19 -3
- package/dist/components/Tables/common/useClickableTableRow.d.ts +17 -0
- package/dist/components/Tables/common/usePagination.d.ts +3 -1
- package/dist/components/Tables/common/usePinnedColumns.d.ts +31 -0
- package/dist/components/Tables/common/useTableHeaders.d.ts +2 -0
- package/dist/components/Tables/common/useTableRowCheckboxAccessibility.d.ts +5 -0
- package/dist/components/UploadWorkflow/UploadWorkflow.d.ts +6 -6
- package/dist/composables/date/useDatePickerAccessibility.d.ts +1 -1
- package/dist/composables/rules/useFieldValidation.d.ts +4 -4
- package/dist/composables/unifyValidation/useCustomValidation.d.ts +8 -0
- package/dist/composables/unifyValidation/useValidation.d.ts +102 -0
- package/dist/composables/unifyValidation/useVuetifyValidation.d.ts +18 -0
- package/dist/composables/useFormFieldErrorHandling.d.ts +2 -2
- package/dist/composables/validation/useFormValidation.d.ts +11 -2
- package/dist/composables/validation/useValidation.d.ts +15 -9
- package/dist/design-system-v3.d.ts +2 -0
- package/dist/design-system-v3.js +186 -187
- package/dist/design-system-v3.umd.cjs +1 -1066
- package/dist/{main-aLKwdMi1.js → main-BtTqyn4z.js} +16434 -15672
- package/dist/main-C1e3eoxd.cjs +1067 -0
- package/dist/main.d.ts +0 -1
- package/dist/synapse.css +1 -0
- package/dist/tooth-11-D3sLWv2n.cjs +1 -0
- package/dist/tooth-12-CXrLuH03.cjs +1 -0
- package/dist/tooth-13-BSfo5fpT.cjs +1 -0
- package/dist/tooth-14-DMzulx0h.cjs +1 -0
- package/dist/tooth-15-BKRFVi-9.cjs +1 -0
- package/dist/tooth-16-CpuxAbuM.cjs +1 -0
- package/dist/tooth-17-BPoahUdg.cjs +1 -0
- package/dist/tooth-18-DhHJz8sy.cjs +1 -0
- package/dist/tooth-21-Dgd5hn_X.cjs +1 -0
- package/dist/tooth-22-C2Tn19sB.cjs +1 -0
- package/dist/tooth-23-C9uaaSGb.cjs +1 -0
- package/dist/tooth-24-BrK9UGpf.cjs +1 -0
- package/dist/tooth-25-CE_EfGNp.cjs +1 -0
- package/dist/tooth-26-Ctv4i9Fy.cjs +1 -0
- package/dist/tooth-27-C5J7JkWM.cjs +1 -0
- package/dist/tooth-28-Z9oWqjo0.cjs +1 -0
- package/dist/tooth-31-BrYqmkTi.cjs +1 -0
- package/dist/tooth-32-BNNR0oCZ.cjs +1 -0
- package/dist/tooth-33-DuxvqO2J.cjs +1 -0
- package/dist/tooth-34-BCSCXMB6.cjs +1 -0
- package/dist/tooth-35-BLUXkX88.cjs +1 -0
- package/dist/tooth-36-IrKHYqlA.cjs +1 -0
- package/dist/tooth-37-BYqpdMwo.cjs +1 -0
- package/dist/tooth-38-B_eNXXdu.cjs +1 -0
- package/dist/tooth-41-Ddva4Ot8.cjs +1 -0
- package/dist/tooth-42-szcDqlM0.cjs +1 -0
- package/dist/tooth-43-B3ka6rQm.cjs +1 -0
- package/dist/tooth-44-CazyQucj.cjs +1 -0
- package/dist/tooth-45-B4HQtc8n.cjs +1 -0
- package/dist/tooth-46-BPM40gbG.cjs +1 -0
- package/dist/tooth-47-Dvr20dlh.cjs +1 -0
- package/dist/tooth-48-Bd8ljGsF.cjs +1 -0
- package/dist/tooth-51-OBpwCOF3.cjs +1 -0
- package/dist/tooth-52-aKxyHcmq.cjs +1 -0
- package/dist/tooth-53-vCwJjTOc.cjs +1 -0
- package/dist/tooth-54-DsWu2iFy.cjs +1 -0
- package/dist/tooth-55-BxC1X2Dn.cjs +1 -0
- package/dist/tooth-61-BbLvxMQi.cjs +1 -0
- package/dist/tooth-62-CmTkWczP.cjs +1 -0
- package/dist/tooth-63-DI7l_2qI.cjs +1 -0
- package/dist/tooth-64-B21sOsJh.cjs +1 -0
- package/dist/tooth-65-D2ZC2VEr.cjs +1 -0
- package/dist/tooth-71-D473PPO5.cjs +1 -0
- package/dist/tooth-72-Drh1wnNu.cjs +1 -0
- package/dist/tooth-73-DzlwYI23.cjs +1 -0
- package/dist/tooth-74-8aGvcZPg.cjs +1 -0
- package/dist/tooth-75-BFK7At_r.cjs +1 -0
- package/dist/tooth-81-BZmR-I0M.cjs +1 -0
- package/dist/tooth-82-euVfUUZV.cjs +1 -0
- package/dist/tooth-83-KV010j64.cjs +1 -0
- package/dist/tooth-84-BBg1RjhZ.cjs +1 -0
- package/dist/tooth-85-Cr-kc1wM.cjs +1 -0
- package/dist/vuetifyConfig.js +561 -0
- package/dist/vuetifyConfig.umd.cjs +1 -0
- package/package.json +10 -4
- package/src/assets/overrides/_btns.scss +0 -6
- package/src/assets/overrides/_icons.scss +9 -1
- package/src/assets/overrides/_typography.scss +0 -10
- package/src/components/Amelipro/AmeliproAutoCompleteField/__tests__/__snapshots__/AmeliproAutoCompleteField.spec.ts.snap +2 -2
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproHeaderBrandSection/__tests__/__snapshots__/AmeliproHeaderBrandSection.spec.ts.snap +1 -1
- package/src/components/Amelipro/AmeliproTextArea/__tests__/__snapshots__/AmeliproTextArea.spec.ts.snap +2 -2
- package/src/components/Captcha/accessibilite/Accessibility.mdx +86 -8
- package/src/components/Captcha/tests/__snapshots__/Captcha.spec.ts.snap +12 -12
- package/src/components/ChipList/ChipList.stories.ts +0 -15
- package/src/components/ChipList/ChipList.vue +5 -1
- package/src/components/ChipList/accessibilite/Accessibility.mdx +83 -10
- package/src/components/ChipList/tests/ChipList.a11y.spec.ts +41 -0
- package/src/components/Customs/Selects/SelectBtnField/accessibilite/Accessibility.mdx +0 -9
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +22 -5
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.spec.ts +143 -0
- package/src/components/Customs/Selects/SyAutocomplete/utils/ariaManager.ts +14 -10
- package/src/components/Customs/Selects/SyInputSelect/SyInputSelect.stories.ts +4 -4
- package/src/components/Customs/Selects/SyInputSelect/SyInputSelect.vue +8 -9
- package/src/components/Customs/Selects/SyInputSelect/tests/SyInputSelect.spec.ts +10 -10
- package/src/components/Customs/Selects/SySelect/SySelect.vue +14 -11
- package/src/components/Customs/Selects/SySelect/tests/SySelect.spec.ts +54 -0
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +6 -9
- package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +10 -16
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +16 -11
- package/src/components/Customs/SyCheckbox/accessibilite/Accessibility.mdx +35 -0
- package/src/components/Customs/SyCheckbox/tests/SyCheckbox.a11y.spec.ts +134 -2
- package/src/components/Customs/SyForm/SyForm.stories.ts +31 -5
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.vue +4 -7
- package/src/components/Customs/SyTextField/SyTextField.mdx +1 -1
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +29 -27
- package/src/components/Customs/SyTextField/SyTextField.vue +154 -157
- package/src/components/Customs/SyTextField/tests/SyTextField.a11y.spec.ts +32 -0
- package/src/components/Customs/SyTextField/tests/SyTextField.spec.ts +120 -11
- package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +62 -58
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +330 -223
- package/src/components/DatePicker/CalendarMode/accessibilite/Accessibility.mdx +82 -0
- package/src/components/DatePicker/CalendarMode/tests/DatePicker.a11y.spec.ts +141 -0
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +2 -56
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +195 -159
- package/src/components/DatePicker/ComplexDatePicker/accessibilite/Accessibility.mdx +76 -0
- package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +10 -10
- package/src/components/DatePicker/DatePickerValidationExample/CalendarMode.stories.ts +8 -8
- package/src/components/DatePicker/DatePickerValidationExample/ComplexDatePicker.stories.ts +106 -8
- package/src/components/DatePicker/DatePickerValidationExample/DateTextInput.stories.ts +12 -11
- package/src/components/DatePicker/DatePickerValidationExample/MultiMode.stories.ts +12 -12
- package/src/components/DatePicker/DateTextInput/DateRange.stories.ts +0 -12
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +63 -57
- package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +3 -0
- package/src/components/DatePicker/DateTextInput/accessibilite/Accessibility.mdx +66 -0
- package/src/components/DatePicker/DateTextInput/tests/DateTextInput.spec.ts +52 -1
- package/src/components/DatePicker/composables/index.ts +1 -0
- package/src/components/DatePicker/composables/tests/useCalendarKeyboardNavigation.spec.ts +109 -65
- package/src/components/DatePicker/composables/tests/useDatePickerFocusTrap.spec.ts +138 -0
- package/src/components/DatePicker/composables/tests/useDateValidation.spec.ts +74 -18
- package/src/components/DatePicker/composables/tests/useInputBlurHandler.spec.ts +39 -0
- package/src/components/DatePicker/composables/tests/useManualDateValidation.spec.ts +91 -0
- package/src/components/DatePicker/composables/useCalendarKeyboardNavigation.ts +442 -36
- package/src/components/DatePicker/composables/useDatePickerFocusTrap.ts +92 -0
- package/src/components/DatePicker/composables/useDateTextField.ts +7 -6
- package/src/components/DatePicker/composables/useDateValidation.ts +36 -35
- package/src/components/DatePicker/composables/useInputBlurHandler.ts +3 -3
- package/src/components/DatePicker/composables/useManualDateValidation.ts +6 -2
- package/src/components/DiacriticPicker/accessibilite/Accessibility.mdx +76 -8
- package/src/components/HeaderBar/HeaderBar.stories.ts +14 -2
- package/src/components/Logo/accessibilite/Accessibility.mdx +73 -11
- package/src/components/LogoBrandSection/accessibilite/Accessibility.mdx +85 -9
- package/src/components/LunarCalendar/tests/LunarCalendar.spec.ts +3 -1
- package/src/components/LunarCalendar/useLunarCalendarValidation.ts +4 -5
- package/src/components/MonthPicker/tests/MonthPicker.spec.ts +2 -1
- package/src/components/MonthPicker/tests/__snapshots__/MonthPicker.spec.ts.snap +7 -7
- package/src/components/NirField/NirField.stories.ts +4 -0
- package/src/components/NirField/NirField.vue +64 -260
- package/src/components/NirField/accessibilite/Accessibility.mdx +2 -2
- package/src/components/NirField/locales.ts +1 -1
- package/src/components/NirField/tests/NirField.spec.ts +6 -0
- package/src/components/NirField/useNirValidation.ts +271 -0
- package/src/components/PasswordField/PasswordField.stories.ts +4 -4
- package/src/components/PasswordField/PasswordField.vue +18 -24
- package/src/components/PasswordField/tests/PasswordField.spec.ts +6 -3
- package/src/components/PeriodField/PeriodField.stories.ts +4 -4
- package/src/components/PeriodField/PeriodField.vue +57 -57
- package/src/components/PeriodField/__tests__/PeriodField.async.spec.ts +32 -0
- package/src/components/PeriodField/accessibilite/Accessibility.mdx +68 -8
- package/src/components/PeriodField/tests/PeriodField.spec.ts +28 -2
- package/src/components/PhoneField/PhoneField.vue +5 -6
- package/src/components/PhoneField/tests/PhoneField.spec.ts +1 -0
- package/src/components/RangeField/RangeField.vue +6 -0
- package/src/components/SyTextArea/SyTextArea.stories.ts +138 -2
- package/src/components/SyTextArea/SyTextArea.vue +53 -23
- package/src/components/SyTextArea/tests/SyTextArea.spec.ts +126 -3
- package/src/components/SyTextArea/useDefaultValidationRules.ts +74 -0
- package/src/components/Tables/SyServerTable/SyServerTable.mdx +25 -0
- package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +673 -1
- package/src/components/Tables/SyServerTable/SyServerTable.vue +148 -91
- package/src/components/Tables/SyServerTable/tests/SyServerTable.a11y.spec.ts +58 -0
- package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +122 -0
- package/src/components/Tables/SyTable/SyTable.mdx +25 -0
- package/src/components/Tables/SyTable/SyTable.stories.ts +452 -1
- package/src/components/Tables/SyTable/SyTable.vue +130 -56
- package/src/components/Tables/SyTable/tests/SyTable.a11y.spec.ts +57 -0
- package/src/components/Tables/SyTable/tests/SyTable.spec.ts +108 -0
- package/src/components/Tables/common/SyTableFilter.vue +22 -2
- package/src/components/Tables/common/TableHeader.vue +5 -1
- package/src/components/Tables/common/filters/AutocompleteFilter.vue +160 -0
- package/src/components/Tables/common/filters/NumberFilter.vue +1 -1
- package/src/components/Tables/common/filters/SelectFilter.vue +10 -11
- package/src/components/Tables/common/filters/TextFilter.vue +1 -1
- package/src/components/Tables/common/filters/getFilterComponent.ts +8 -1
- package/src/components/Tables/common/filters/locales.ts +0 -1
- package/src/components/Tables/common/filters/tests/AutocompleteFilter.a11y.spec.ts +110 -0
- package/src/components/Tables/common/filters/tests/AutocompleteFilter.spec.ts +203 -0
- package/src/components/Tables/common/filters/tests/SelectFilter.a11y.spec.ts +104 -0
- package/src/components/Tables/common/filters/tests/SelectFilter.spec.ts +152 -16
- package/src/components/Tables/common/tableFilterUtils.ts +3 -0
- package/src/components/Tables/common/tableStyles.scss +48 -4
- package/src/components/Tables/common/tests/filterByRange.spec.ts +2 -1
- package/src/components/Tables/common/types.ts +13 -4
- package/src/components/Tables/common/useClickableTableRow.ts +103 -0
- package/src/components/Tables/common/usePagination.ts +13 -0
- package/src/components/Tables/common/usePinnedColumns.ts +237 -0
- package/src/components/Tables/common/useTableHeaders.ts +3 -3
- package/src/components/Tables/common/useTableRowCheckboxAccessibility.ts +41 -0
- package/src/composables/date/tests/useDatePickerAccessibility.spec.ts +2 -6
- package/src/composables/date/useDatePickerAccessibility.ts +42 -207
- package/src/composables/rules/tests/useFieldValidation.spec.ts +120 -120
- package/src/composables/rules/useFieldValidation.ts +34 -17
- package/src/composables/unifyValidation/tests/useCustomValidation.spec.ts +601 -0
- package/src/composables/unifyValidation/tests/useValidation.spec.ts +2048 -0
- package/src/composables/unifyValidation/tests/useVuetifyValidation.spec.ts +184 -0
- package/src/composables/unifyValidation/useCustomValidation.ts +95 -0
- package/src/composables/unifyValidation/useValidation.ts +190 -0
- package/src/composables/unifyValidation/useVuetifyValidation.ts +54 -0
- package/src/composables/useFormFieldErrorHandling.ts +4 -7
- package/src/composables/validation/tests/useFormValidation.spec.ts +14 -0
- package/src/composables/validation/tests/useValidation.spec.ts +116 -21
- package/src/composables/validation/useFormValidation.ts +20 -13
- package/src/composables/validation/useValidatable.ts +8 -1
- package/src/composables/validation/useValidation.ts +135 -99
- package/src/composantsVuetify/Introduction.mdx +48 -0
- package/src/composantsVuetify/VBtn/VBtn.mdx +72 -0
- package/src/composantsVuetify/VBtn/v-btn.stories.ts +121 -0
- package/src/composantsVuetify/VTooltip/VTooltip.mdx +32 -0
- package/src/composantsVuetify/VTooltip/v-tooltip.stories.ts +95 -0
- package/src/designTokens/tokens/cnam/cnamSemantic.ts +2 -2
- package/src/main.ts +0 -2
- package/src/stories/Components/Components.stories.ts +74 -9
- package/src/stories/Demarrer/Accueil.stories.ts +3 -3
- package/src/stories/GuideDuDev/Amelipro.mdx +15 -0
- package/src/stories/GuideDuDev/Amelipro.stories.ts +209 -0
- package/src/stories/GuideDuDev/vuetifyOptions.mdx +3 -3
- package/dist/SelectFilter-BioGT6Nn.js +0 -136
- package/dist/style.css +0 -1
- package/src/components/DatePicker/Accessibilite.mdx +0 -14
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { defineComponent as g, computed as p, openBlock as b, createBlock as v } from "vue";
|
|
2
|
+
import { S as k, _ as C } from "./main-BtTqyn4z.js";
|
|
3
|
+
const F = /* @__PURE__ */ g({
|
|
4
|
+
__name: "AutocompleteFilter",
|
|
5
|
+
props: {
|
|
6
|
+
header: {
|
|
7
|
+
type: Object,
|
|
8
|
+
required: !0
|
|
9
|
+
},
|
|
10
|
+
filters: {
|
|
11
|
+
type: Array,
|
|
12
|
+
default: () => []
|
|
13
|
+
},
|
|
14
|
+
filterValue: {
|
|
15
|
+
type: [String, Number, Object, Array, void 0, null],
|
|
16
|
+
default: null
|
|
17
|
+
},
|
|
18
|
+
inputConfig: {
|
|
19
|
+
type: Object,
|
|
20
|
+
default: () => ({})
|
|
21
|
+
},
|
|
22
|
+
disableErrorHandling: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !1
|
|
25
|
+
},
|
|
26
|
+
variant: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: "outlined"
|
|
29
|
+
},
|
|
30
|
+
hideDetails: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: !0
|
|
33
|
+
},
|
|
34
|
+
density: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: "compact"
|
|
37
|
+
},
|
|
38
|
+
backgroundColor: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: "white"
|
|
41
|
+
},
|
|
42
|
+
clearable: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: !0
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
emits: ["update:filters"],
|
|
48
|
+
setup(t, { emit: y }) {
|
|
49
|
+
const e = t, u = y;
|
|
50
|
+
function f() {
|
|
51
|
+
return String(e.header.key || e.header.value || (e.header.title ? `filter_${e.header.title}` : `filter_${Date.now()}`));
|
|
52
|
+
}
|
|
53
|
+
const m = p(() => !e.header.filterOptions || !Array.isArray(e.header.filterOptions) ? [] : e.header.filterOptions), c = p({
|
|
54
|
+
get: () => e.filterValue === null || e.filterValue === void 0 ? e.header.multiple ? [] : null : e.filterValue,
|
|
55
|
+
set: (l) => {
|
|
56
|
+
const i = f();
|
|
57
|
+
if (!i) return;
|
|
58
|
+
if (e.header.multiple) {
|
|
59
|
+
if (!l || Array.isArray(l) && l.length === 0) {
|
|
60
|
+
const o = e.filters.filter((s) => s.key !== i);
|
|
61
|
+
u("update:filters", o);
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
const r = e.filters.findIndex((o) => o.key === i), a = [...e.filters];
|
|
65
|
+
r >= 0 ? a[r].value = l : a.push({
|
|
66
|
+
key: i,
|
|
67
|
+
value: l,
|
|
68
|
+
type: "autocomplete"
|
|
69
|
+
}), u("update:filters", a);
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
if (l == null) {
|
|
73
|
+
const r = e.filters.filter((a) => a.key !== i);
|
|
74
|
+
u("update:filters", r);
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
const n = e.filters.findIndex((r) => r.key === i), d = [...e.filters];
|
|
78
|
+
n >= 0 ? d[n].value = l : d.push({
|
|
79
|
+
key: i,
|
|
80
|
+
value: l,
|
|
81
|
+
type: "autocomplete"
|
|
82
|
+
}), u("update:filters", d);
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
function h() {
|
|
86
|
+
const l = f(), i = e.filters.filter((n) => n.key !== l);
|
|
87
|
+
u("update:filters", i);
|
|
88
|
+
}
|
|
89
|
+
return (l, i) => {
|
|
90
|
+
var n, d, r, a, o;
|
|
91
|
+
return b(), v(k, {
|
|
92
|
+
modelValue: c.value,
|
|
93
|
+
"onUpdate:modelValue": i[0] || (i[0] = (s) => c.value = s),
|
|
94
|
+
label: e.header.title || "",
|
|
95
|
+
items: m.value,
|
|
96
|
+
clearable: t.clearable,
|
|
97
|
+
density: ((n = t.inputConfig) == null ? void 0 : n.density) ?? t.density,
|
|
98
|
+
"hide-details": ((d = t.inputConfig) == null ? void 0 : d.hideDetails) ?? t.hideDetails,
|
|
99
|
+
"variant-style": ((r = t.inputConfig) == null ? void 0 : r.variant) ?? t.variant,
|
|
100
|
+
"bg-color": ((a = t.inputConfig) == null ? void 0 : a.backgroundColor) ?? t.backgroundColor,
|
|
101
|
+
"disable-error-handling": ((o = t.inputConfig) == null ? void 0 : o.disableErrorHandling) ?? t.disableErrorHandling,
|
|
102
|
+
multiple: e.header.multiple,
|
|
103
|
+
chips: e.header.chips,
|
|
104
|
+
filter: !0,
|
|
105
|
+
class: "filter-input",
|
|
106
|
+
"aria-label": e.header.title || "Filtre",
|
|
107
|
+
"onClick:clear": h
|
|
108
|
+
}, null, 8, ["modelValue", "label", "items", "clearable", "density", "hide-details", "variant-style", "bg-color", "disable-error-handling", "multiple", "chips", "aria-label"]);
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
}), S = /* @__PURE__ */ C(F, [["__scopeId", "data-v-d44a48a9"]]);
|
|
112
|
+
export {
|
|
113
|
+
S as default
|
|
114
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),p=require("./main-C1e3eoxd.cjs"),b=s.defineComponent({__name:"AutocompleteFilter",props:{header:{type:Object,required:!0},filters:{type:Array,default:()=>[]},filterValue:{type:[String,Number,Object,Array,void 0,null],default:null},inputConfig:{type:Object,default:()=>({})},disableErrorHandling:{type:Boolean,default:!1},variant:{type:String,default:"outlined"},hideDetails:{type:Boolean,default:!0},density:{type:String,default:"compact"},backgroundColor:{type:String,default:"white"},clearable:{type:Boolean,default:!0}},emits:["update:filters"],setup(t,{emit:g}){const e=t,o=g;function c(){return String(e.header.key||e.header.value||(e.header.title?`filter_${e.header.title}`:`filter_${Date.now()}`))}const m=s.computed(()=>!e.header.filterOptions||!Array.isArray(e.header.filterOptions)?[]:e.header.filterOptions),y=s.computed({get:()=>e.filterValue===null||e.filterValue===void 0?e.header.multiple?[]:null:e.filterValue,set:l=>{const i=c();if(!i)return;if(e.header.multiple){if(!l||Array.isArray(l)&&l.length===0){const d=e.filters.filter(f=>f.key!==i);o("update:filters",d);return}const r=e.filters.findIndex(d=>d.key===i),a=[...e.filters];r>=0?a[r].value=l:a.push({key:i,value:l,type:"autocomplete"}),o("update:filters",a);return}if(l==null){const r=e.filters.filter(a=>a.key!==i);o("update:filters",r);return}const n=e.filters.findIndex(r=>r.key===i),u=[...e.filters];n>=0?u[n].value=l:u.push({key:i,value:l,type:"autocomplete"}),o("update:filters",u)}});function h(){const l=c(),i=e.filters.filter(n=>n.key!==l);o("update:filters",i)}return(l,i)=>{var n,u,r,a,d;return s.openBlock(),s.createBlock(p.SyAutocomplete,{modelValue:y.value,"onUpdate:modelValue":i[0]||(i[0]=f=>y.value=f),label:e.header.title||"",items:m.value,clearable:t.clearable,density:((n=t.inputConfig)==null?void 0:n.density)??t.density,"hide-details":((u=t.inputConfig)==null?void 0:u.hideDetails)??t.hideDetails,"variant-style":((r=t.inputConfig)==null?void 0:r.variant)??t.variant,"bg-color":((a=t.inputConfig)==null?void 0:a.backgroundColor)??t.backgroundColor,"disable-error-handling":((d=t.inputConfig)==null?void 0:d.disableErrorHandling)??t.disableErrorHandling,multiple:e.header.multiple,chips:e.header.chips,filter:!0,class:"filter-input","aria-label":e.header.title||"Filtre","onClick:clear":h},null,8,["modelValue","label","items","clearable","density","hide-details","variant-style","bg-color","disable-error-handling","multiple","chips","aria-label"])}}}),v=p._export_sfc(b,[["__scopeId","data-v-d44a48a9"]]);exports.default=v;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, computed as D, openBlock as k, createBlock as C } from "vue";
|
|
2
|
-
import { D as p, u as v, _ as F } from "./main-
|
|
2
|
+
import { D as p, u as v, _ as F } from "./main-BtTqyn4z.js";
|
|
3
3
|
const V = /* @__PURE__ */ b({
|
|
4
4
|
__name: "DateFilter",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),f=require("./main-C1e3eoxd.cjs"),k=o.defineComponent({__name:"DateFilter",props:{header:{type:Object,required:!0},filters:{type:Array,default:()=>[]},filterValue:{type:[String,Date,Object,null],default:null},inputConfig:{type:Object,default:()=>({})},disableErrorHandling:{type:Boolean,default:!1},variant:{type:String,default:"outlined"},hideDetails:{type:Boolean,default:!0},density:{type:String,default:"compact"},backgroundColor:{type:String,default:"white"},clearable:{type:Boolean,default:!0},headingLevel:{type:Number,default:4}},emits:["update:filters"],setup(e,{emit:h}){const{parseDate:b}=f.useDateFormat(),t=e,s=h;function c(){return String(t.header.key||t.header.value||(t.header.title?`filter_${t.header.title}`:`filter_${Date.now()}`))}const g=o.computed({get:()=>t.filterValue,set:a=>{const l=c();if(!l)return;if(a===null){const r=t.filters.filter(u=>u.key!==l);s("update:filters",r);return}const i=t.filters.findIndex(r=>r.key===l),n=[...t.filters];let d=a;typeof a=="string"&&a.trim()!==""&&b(a,t.header.dateFormat||"DD/MM/YYYY")&&(d=a),n[i]?n[i].value=d:n.push({key:l,value:d,type:"date"}),s("update:filters",n)}});function m(){const a=c(),l=t.filters.filter(i=>i.key!==a);s("update:filters",l)}return(a,l)=>{var i,n,d,r,u,y;return o.openBlock(),o.createBlock(f.DatePicker,{modelValue:g.value,"onUpdate:modelValue":l[0]||(l[0]=D=>g.value=D),label:e.header.title||"Sélectionner une date","heading-level":e.headingLevel,clearable:((i=e.inputConfig)==null?void 0:i.clearable)??e.clearable,density:((n=e.inputConfig)==null?void 0:n.density)??e.density,"hide-details":((d=e.inputConfig)==null?void 0:d.hideDetails)??e.hideDetails,"hide-messages":e.header.hideMessages,variant:((r=e.inputConfig)==null?void 0:r.variant)??e.variant,"disable-error-handling":((u=e.inputConfig)==null?void 0:u.disableErrorHandling)??e.disableErrorHandling,"bg-color":((y=e.inputConfig)==null?void 0:y.backgroundColor)??e.backgroundColor,format:e.header.dateFormat,class:"filter-input","onClick:clear":m},null,8,["modelValue","label","heading-level","clearable","density","hide-details","hide-messages","variant","disable-error-handling","bg-color","format"])}}}),C=f._export_sfc(k,[["__scopeId","data-v-66734b93"]]);exports.default=C;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as k, ref as h, watch as x, computed as T, openBlock as V, createElementBlock as F, createVNode as w } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { b as S, _ as D } from "./main-BtTqyn4z.js";
|
|
3
3
|
const E = { class: "number-filter-container" }, B = /* @__PURE__ */ k({
|
|
4
4
|
__name: "NumberFilter",
|
|
5
5
|
props: {
|
|
@@ -100,7 +100,7 @@ const E = { class: "number-filter-container" }, B = /* @__PURE__ */ k({
|
|
|
100
100
|
w(S, {
|
|
101
101
|
modelValue: f.value,
|
|
102
102
|
"onUpdate:modelValue": n[0] || (n[0] = (C) => f.value = C),
|
|
103
|
-
label: l.header.title,
|
|
103
|
+
label: l.header.title || "",
|
|
104
104
|
type: "text",
|
|
105
105
|
clearable: ((a = l.inputConfig) == null ? void 0 : a.clearable) ?? l.clearable,
|
|
106
106
|
density: ((i = l.inputConfig) == null ? void 0 : i.density) ?? l.density,
|
|
@@ -115,7 +115,7 @@ const E = { class: "number-filter-container" }, B = /* @__PURE__ */ k({
|
|
|
115
115
|
]);
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
-
}), O = /* @__PURE__ */ D(B, [["__scopeId", "data-v-
|
|
118
|
+
}), O = /* @__PURE__ */ D(B, [["__scopeId", "data-v-f3c6e802"]]);
|
|
119
119
|
export {
|
|
120
120
|
O as default
|
|
121
121
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),h=require("./main-C1e3eoxd.cjs"),T={class:"number-filter-container"},V=o.defineComponent({__name:"NumberFilter",props:{header:{type:Object,required:!0},filters:{type:Array,default:()=>[]},filterValue:{type:[Number,String],default:""},inputConfig:{type:Object,default:()=>({})},disableErrorHandling:{type:Boolean,default:!1},variant:{type:String,default:"outlined"},hideDetails:{type:Boolean,default:!0},density:{type:String,default:"compact"},backgroundColor:{type:String,default:"white"},clearable:{type:Boolean,default:!0},debounceTime:{type:Number,default:300}},emits:["update:filters"],setup(l,{emit:p}){const e=l,c=p,s=o.ref(e.filterValue||""),d=o.ref(null);o.watch(()=>e.filters,t=>{t.length===0&&(d.value!==null&&(clearTimeout(d.value),d.value=null),s.value="")});function f(){return!e.header||!e.header.key&&!e.header.value&&!e.header.title?`filter_${Date.now()}`:String(e.header.key||e.header.value||(e.header.title?`filter_${e.header.title}`:`filter_${Date.now()}`))}function v(t){const n=/^([=<>]{1,2})?(.*)$/.exec(t);if(!n)return"";const a=n[1]||"";let r=n[2]||"";return r=r.replace(/[^0-9.,]/g,""),a+r}const g=o.computed({get:()=>s.value,set:t=>{var u;const i=t!=null?String(t):"",n=v(i);s.value=n,d.value!==null&&clearTimeout(d.value);const a=((u=e.inputConfig)==null?void 0:u.debounceTime)??e.debounceTime;a===0||void 0?y(n):d.value=window.setTimeout(()=>{y(n)},a)}});function y(t){const i=f();if(!e.header||Object.keys(e.header).length,t===""||t==="0"){c("update:filters",e.filters.filter(u=>u.key!==i));return}const n=e.filters.findIndex(u=>u.key===i),a=[...e.filters],r=/^[=<>]{1,2}/.test(t);n>=0?a[n].value=r?t:parseFloat(t.replace(",",".")):a.push({key:i,value:r?t:parseFloat(t.replace(",",".")),type:"number"}),c("update:filters",a)}function C(){s.value="";const t=f();c("update:filters",e.filters.filter(i=>i.key!==t))}return(t,i)=>{var n,a,r,u,b,m;return o.openBlock(),o.createElementBlock("div",T,[o.createVNode(h.SyTextField,{modelValue:g.value,"onUpdate:modelValue":i[0]||(i[0]=k=>g.value=k),label:l.header.title||"",type:"text",clearable:((n=l.inputConfig)==null?void 0:n.clearable)??l.clearable,density:((a=l.inputConfig)==null?void 0:a.density)??l.density,"hide-details":((r=l.inputConfig)==null?void 0:r.hideDetails)??l.hideDetails,"hide-messages":l.header.hideMessages,"disable-error-handling":((u=l.inputConfig)==null?void 0:u.disableErrorHandling)??l.disableErrorHandling,variant:((b=l.inputConfig)==null?void 0:b.variant)??l.variant,"bg-color":((m=l.inputConfig)==null?void 0:m.backgroundColor)??l.backgroundColor,class:"filter-input","onClick:clear":C},null,8,["modelValue","label","clearable","density","hide-details","hide-messages","disable-error-handling","variant","bg-color"])])}}}),x=h._export_sfc(V,[["__scopeId","data-v-f3c6e802"]]);exports.default=x;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("vue"),g=require("./main-C1e3eoxd.cjs"),k=u.defineComponent({__name:"PeriodFilter",props:{header:{type:Object,required:!0},filters:{type:Array,default:()=>[]},filterValue:{type:Object,default:()=>({from:null,to:null})},inputConfig:{type:Object,default:()=>({})},disableErrorHandling:{type:Boolean,default:!1},variant:{type:String,default:"outlined"},hideDetails:{type:Boolean,default:!0},density:{type:String,default:"compact"},backgroundColor:{type:String,default:"white"},clearable:{type:Boolean,default:!0}},emits:["update:filters"],setup(e,{emit:b}){const l=e,o=b;function s(){var r,t,i;return String(((r=l.header)==null?void 0:r.key)||((t=l.header)==null?void 0:t.value)||((i=l.header)!=null&&i.title?`filter_${l.header.title}`:`filter_${Date.now()}`))}const f=u.computed({get:()=>l.filterValue,set:r=>{try{const t=s();if(!t)return;if(!r){const i=l.filters.filter(n=>n.key!==t);o("update:filters",i);return}if(typeof r=="object"&&r.from===null&&r.to===null){const i=l.filters.filter(n=>n.key!==t);o("update:filters",i);return}if(typeof r=="object"){const i={from:r.from,to:r.to},n=l.filters.findIndex(d=>d.key===t),a=[...l.filters];n>=0?a[n].value=i:a.push({key:t,value:i,type:"period"}),o("update:filters",a)}}catch(t){console.error("Erreur dans la mise à jour du filtre de période:",t)}}});function m(){const r=s(),t=l.filters.filter(i=>i.key!==r);o("update:filters",t)}return(r,t)=>{var i,n,a,d,c,y;return u.openBlock(),u.createBlock(g.PeriodField,{modelValue:f.value,"onUpdate:modelValue":t[0]||(t[0]=h=>f.value=h),label:e.header.title,clearable:((i=e.inputConfig)==null?void 0:i.clearable)??e.clearable,density:((n=e.inputConfig)==null?void 0:n.density)??e.density,"hide-details":((a=e.inputConfig)==null?void 0:a.hideDetails)??e.hideDetails,"hide-messages":e.header.hideMessages,variant:((d=e.inputConfig)==null?void 0:d.variant)??e.variant,"disable-error-handling":((c=e.inputConfig)==null?void 0:c.disableErrorHandling)??e.disableErrorHandling,"bg-color":((y=e.inputConfig)==null?void 0:y.backgroundColor)??e.backgroundColor,format:e.header.dateFormat,class:"filter-input","onClick:clear":m},null,8,["modelValue","label","clearable","density","hide-details","hide-messages","variant","disable-error-handling","bg-color","format"])}}}),C=g._export_sfc(k,[["__scopeId","data-v-49b093ac"]]);exports.default=C;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, computed as h, openBlock as p, createBlock as k } from "vue";
|
|
2
|
-
import { P as C, _ as F } from "./main-
|
|
2
|
+
import { P as C, _ as F } from "./main-BtTqyn4z.js";
|
|
3
3
|
const V = /* @__PURE__ */ b({
|
|
4
4
|
__name: "PeriodFilter",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),g=require("./main-C1e3eoxd.cjs"),F={emptyValue:"(vide)"},y={},S={class:"select-filter-wrapper"},O=n.defineComponent({__name:"SelectFilter",props:{header:{type:Object,required:!0},filters:{type:Array,default:()=>[]},filterValue:{type:[String,Number,Object,Array,void 0,null],default:null},inputConfig:{type:Object,default:()=>({})},disableErrorHandling:{type:Boolean,default:!1},variant:{type:String,default:"outlined"},hideDetails:{type:Boolean,default:!0},density:{type:String,default:"compact"},backgroundColor:{type:String,default:"white"},clearable:{type:Boolean,default:!0}},emits:["update:filters"],setup(r,{emit:v}){const e=r,o=v;function p(){return String(e.header.key||e.header.value||(e.header.title?`filter_${e.header.title}`:`filter_${Date.now()}`))}const m=n.computed(()=>{if(!e.header.filterOptions||!Array.isArray(e.header.filterOptions))return[];const l=[];return e.header.filterOptions.forEach(t=>{t.text===void 0||t.text===null||t.text===""?l.push({text:F.emptyValue,value:t.value}):l.push(t)}),l}),f=n.computed({get:()=>e.filterValue===null||e.filterValue===void 0?e.header.multiple?[]:null:e.filterValue,set:l=>{const t=p();if(!t)return;if(e.header.multiple){if(!l||Array.isArray(l)&&l.length===0){const d=e.filters.filter(c=>c.key!==t);o("update:filters",d);return}const i=e.filters.findIndex(d=>d.key===t),a=[...e.filters];i>=0?a[i].value=l:a.push({key:t,value:l,type:"select"}),o("update:filters",a);return}if(l==null){const i=e.filters.filter(a=>a.key!==t);o("update:filters",i);return}const u=e.filters.findIndex(i=>i.key===t),s=[...e.filters];u>=0?s[u].value=l:s.push({key:t,value:l,type:"select"}),o("update:filters",s)}});function b(){const l=p(),t=e.filters.filter(u=>u.key!==l);o("update:filters",t)}const h=n.ref(!1);function k(){h.value=!0}function C(){h.value=!1}const x=n.computed(()=>(y==null?void 0:y.NODE_ENV)==="test"?!0:e.header.multiple?Array.isArray(f.value)&&f.value.length>0:f.value!==null);return(l,t)=>{var u,s,i,a,d;return n.openBlock(),n.createElementBlock("div",S,[n.createVNode(g.SySelect,{modelValue:f.value,"onUpdate:modelValue":t[0]||(t[0]=c=>f.value=c),label:e.header.title||"",items:m.value,clearable:x.value,density:((u=r.inputConfig)==null?void 0:u.density)??r.density,"hide-details":((s=r.inputConfig)==null?void 0:s.hideDetails)??r.hideDetails,"hide-messages":!0,variant:((i=r.inputConfig)==null?void 0:i.variant)??r.variant,"bg-color":((a=r.inputConfig)==null?void 0:a.backgroundColor)??r.backgroundColor,"disable-error-handling":((d=r.inputConfig)==null?void 0:d.disableErrorHandling)??r.disableErrorHandling,multiple:e.header.multiple===!0,chips:e.header.chips,class:"filter-input","aria-label":e.header.title||"Filtre","onClick:clear":b,onFocus:k,onBlur:C},null,8,["modelValue","label","items","clearable","density","hide-details","variant","bg-color","disable-error-handling","multiple","chips","aria-label"])])}}}),A=g._export_sfc(O,[["__scopeId","data-v-1bc00041"]]);exports.default=A;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { defineComponent as C, computed as c, ref as F, openBlock as S, createElementBlock as A, createVNode as O } from "vue";
|
|
2
|
+
import { a as B, _ as E } from "./main-BtTqyn4z.js";
|
|
3
|
+
const D = {
|
|
4
|
+
emptyValue: "(vide)"
|
|
5
|
+
}, p = {}, I = { class: "select-filter-wrapper" }, N = /* @__PURE__ */ C({
|
|
6
|
+
__name: "SelectFilter",
|
|
7
|
+
props: {
|
|
8
|
+
header: {
|
|
9
|
+
type: Object,
|
|
10
|
+
required: !0
|
|
11
|
+
},
|
|
12
|
+
filters: {
|
|
13
|
+
type: Array,
|
|
14
|
+
default: () => []
|
|
15
|
+
},
|
|
16
|
+
filterValue: {
|
|
17
|
+
type: [String, Number, Object, Array, void 0, null],
|
|
18
|
+
default: null
|
|
19
|
+
},
|
|
20
|
+
inputConfig: {
|
|
21
|
+
type: Object,
|
|
22
|
+
default: () => ({})
|
|
23
|
+
},
|
|
24
|
+
disableErrorHandling: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: !1
|
|
27
|
+
},
|
|
28
|
+
variant: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: "outlined"
|
|
31
|
+
},
|
|
32
|
+
hideDetails: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: !0
|
|
35
|
+
},
|
|
36
|
+
density: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: "compact"
|
|
39
|
+
},
|
|
40
|
+
backgroundColor: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: "white"
|
|
43
|
+
},
|
|
44
|
+
clearable: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: !0
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
emits: ["update:filters"],
|
|
50
|
+
setup(r, { emit: g }) {
|
|
51
|
+
const e = r, d = g;
|
|
52
|
+
function y() {
|
|
53
|
+
return String(e.header.key || e.header.value || (e.header.title ? `filter_${e.header.title}` : `filter_${Date.now()}`));
|
|
54
|
+
}
|
|
55
|
+
const m = c(() => {
|
|
56
|
+
if (!e.header.filterOptions || !Array.isArray(e.header.filterOptions))
|
|
57
|
+
return [];
|
|
58
|
+
const l = [];
|
|
59
|
+
return e.header.filterOptions.forEach((t) => {
|
|
60
|
+
t.text === void 0 || t.text === null || t.text === "" ? l.push({ text: D.emptyValue, value: t.value }) : l.push(t);
|
|
61
|
+
}), l;
|
|
62
|
+
}), o = c({
|
|
63
|
+
get: () => e.filterValue === null || e.filterValue === void 0 ? e.header.multiple ? [] : null : e.filterValue,
|
|
64
|
+
set: (l) => {
|
|
65
|
+
const t = y();
|
|
66
|
+
if (!t) return;
|
|
67
|
+
if (e.header.multiple) {
|
|
68
|
+
if (!l || Array.isArray(l) && l.length === 0) {
|
|
69
|
+
const u = e.filters.filter((f) => f.key !== t);
|
|
70
|
+
d("update:filters", u);
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
const i = e.filters.findIndex((u) => u.key === t), a = [...e.filters];
|
|
74
|
+
i >= 0 ? a[i].value = l : a.push({
|
|
75
|
+
key: t,
|
|
76
|
+
value: l,
|
|
77
|
+
type: "select"
|
|
78
|
+
}), d("update:filters", a);
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
if (l == null) {
|
|
82
|
+
const i = e.filters.filter((a) => a.key !== t);
|
|
83
|
+
d("update:filters", i);
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
const n = e.filters.findIndex((i) => i.key === t), s = [...e.filters];
|
|
87
|
+
n >= 0 ? s[n].value = l : s.push({
|
|
88
|
+
key: t,
|
|
89
|
+
value: l,
|
|
90
|
+
type: "select"
|
|
91
|
+
}), d("update:filters", s);
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
function v() {
|
|
95
|
+
const l = y(), t = e.filters.filter((n) => n.key !== l);
|
|
96
|
+
d("update:filters", t);
|
|
97
|
+
}
|
|
98
|
+
const h = F(!1);
|
|
99
|
+
function b() {
|
|
100
|
+
h.value = !0;
|
|
101
|
+
}
|
|
102
|
+
function k() {
|
|
103
|
+
h.value = !1;
|
|
104
|
+
}
|
|
105
|
+
const x = c(() => (p == null ? void 0 : p.NODE_ENV) === "test" ? !0 : e.header.multiple ? Array.isArray(o.value) && o.value.length > 0 : o.value !== null);
|
|
106
|
+
return (l, t) => {
|
|
107
|
+
var n, s, i, a, u;
|
|
108
|
+
return S(), A("div", I, [
|
|
109
|
+
O(B, {
|
|
110
|
+
modelValue: o.value,
|
|
111
|
+
"onUpdate:modelValue": t[0] || (t[0] = (f) => o.value = f),
|
|
112
|
+
label: e.header.title || "",
|
|
113
|
+
items: m.value,
|
|
114
|
+
clearable: x.value,
|
|
115
|
+
density: ((n = r.inputConfig) == null ? void 0 : n.density) ?? r.density,
|
|
116
|
+
"hide-details": ((s = r.inputConfig) == null ? void 0 : s.hideDetails) ?? r.hideDetails,
|
|
117
|
+
"hide-messages": !0,
|
|
118
|
+
variant: ((i = r.inputConfig) == null ? void 0 : i.variant) ?? r.variant,
|
|
119
|
+
"bg-color": ((a = r.inputConfig) == null ? void 0 : a.backgroundColor) ?? r.backgroundColor,
|
|
120
|
+
"disable-error-handling": ((u = r.inputConfig) == null ? void 0 : u.disableErrorHandling) ?? r.disableErrorHandling,
|
|
121
|
+
multiple: e.header.multiple === !0,
|
|
122
|
+
chips: e.header.chips,
|
|
123
|
+
class: "filter-input",
|
|
124
|
+
"aria-label": e.header.title || "Filtre",
|
|
125
|
+
"onClick:clear": v,
|
|
126
|
+
onFocus: b,
|
|
127
|
+
onBlur: k
|
|
128
|
+
}, null, 8, ["modelValue", "label", "items", "clearable", "density", "hide-details", "variant", "bg-color", "disable-error-handling", "multiple", "chips", "aria-label"])
|
|
129
|
+
]);
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
}), H = /* @__PURE__ */ E(N, [["__scopeId", "data-v-1bc00041"]]);
|
|
133
|
+
export {
|
|
134
|
+
H as default
|
|
135
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as C, ref as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as C, ref as y, watch as k, computed as T, openBlock as x, createElementBlock as w, createVNode as F } from "vue";
|
|
2
|
+
import { b as V, _ as E } from "./main-BtTqyn4z.js";
|
|
3
3
|
const S = { class: "text-filter-container" }, B = /* @__PURE__ */ C({
|
|
4
4
|
__name: "TextFilter",
|
|
5
5
|
props: {
|
|
@@ -50,7 +50,7 @@ const S = { class: "text-filter-container" }, B = /* @__PURE__ */ C({
|
|
|
50
50
|
},
|
|
51
51
|
emits: ["update:filters"],
|
|
52
52
|
setup(e, { emit: h }) {
|
|
53
|
-
const t = e, s = h, u =
|
|
53
|
+
const t = e, s = h, u = y(t.filterValue || ""), r = y(null);
|
|
54
54
|
k(() => t.filters, (i) => {
|
|
55
55
|
i.length === 0 && (r.value !== null && (clearTimeout(r.value), r.value = null), u.value = "");
|
|
56
56
|
});
|
|
@@ -89,26 +89,26 @@ const S = { class: "text-filter-container" }, B = /* @__PURE__ */ C({
|
|
|
89
89
|
s("update:filters", l);
|
|
90
90
|
}
|
|
91
91
|
return (i, l) => {
|
|
92
|
-
var a, n, d, o, m,
|
|
92
|
+
var a, n, d, o, m, b;
|
|
93
93
|
return x(), w("div", S, [
|
|
94
94
|
F(V, {
|
|
95
95
|
modelValue: c.value,
|
|
96
96
|
"onUpdate:modelValue": l[0] || (l[0] = (p) => c.value = p),
|
|
97
|
-
label: e.header.title,
|
|
97
|
+
label: e.header.title || "",
|
|
98
98
|
clearable: ((a = e.inputConfig) == null ? void 0 : a.clearable) ?? e.clearable,
|
|
99
99
|
density: ((n = e.inputConfig) == null ? void 0 : n.density) ?? e.density,
|
|
100
100
|
"hide-details": ((d = e.inputConfig) == null ? void 0 : d.hideDetails) ?? e.hideDetails,
|
|
101
101
|
"hide-messages": e.header.hideMessages,
|
|
102
102
|
"disable-error-handling": ((o = e.inputConfig) == null ? void 0 : o.disableErrorHandling) ?? e.disableErrorHandling,
|
|
103
103
|
variant: ((m = e.inputConfig) == null ? void 0 : m.variant) ?? e.variant,
|
|
104
|
-
"bg-color": ((
|
|
104
|
+
"bg-color": ((b = e.inputConfig) == null ? void 0 : b.backgroundColor) ?? e.backgroundColor,
|
|
105
105
|
class: "filter-input",
|
|
106
106
|
"onClick:clear": v
|
|
107
107
|
}, null, 8, ["modelValue", "label", "clearable", "density", "hide-details", "hide-messages", "disable-error-handling", "variant", "bg-color"])
|
|
108
108
|
]);
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
}), I = /* @__PURE__ */ E(B, [["__scopeId", "data-v-
|
|
111
|
+
}), I = /* @__PURE__ */ E(B, [["__scopeId", "data-v-5d15bb12"]]);
|
|
112
112
|
export {
|
|
113
113
|
I as default
|
|
114
114
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),h=require("./main-C1e3eoxd.cjs"),T={class:"text-filter-container"},k=r.defineComponent({__name:"TextFilter",props:{header:{type:Object,required:!0},filters:{type:Array,default:()=>[]},filterValue:{type:String,default:void 0},inputConfig:{type:Object,default:()=>({})},disableErrorHandling:{type:Boolean,default:!1},variant:{type:String,default:"outlined"},hideDetails:{type:Boolean,default:!0},density:{type:String,default:"compact"},backgroundColor:{type:String,default:"white"},clearable:{type:Boolean,default:!0},debounceTime:{type:Number,default:300}},emits:["update:filters"],setup(e,{emit:v}){const t=e,c=v,o=r.ref(t.filterValue||""),u=r.ref(null);r.watch(()=>t.filters,i=>{i.length===0&&(u.value!==null&&(clearTimeout(u.value),u.value=null),o.value="")});function f(){return String(t.header.key||t.header.value||(t.header.title?`filter_${t.header.title}`:`filter_${Date.now()}`))}const g=r.computed({get:()=>o.value,set:i=>{var n;o.value=i,u.value!==null&&clearTimeout(u.value);const l=((n=t.inputConfig)==null?void 0:n.debounceTime)??t.debounceTime;l===0||void 0?y(i):u.value=window.setTimeout(()=>{y(i)},l)}});function y(i){const l=f();if(!l)return;if(i===""){const d=t.filters.filter(s=>s.key!==l);c("update:filters",d);return}const a=t.filters.findIndex(d=>d.key===l),n=[...t.filters];a>=0?n[a].value=i:n.push({key:l,value:i,type:"text"}),c("update:filters",n)}function C(){o.value="";const i=f(),l=t.filters.filter(a=>a.key!==i);c("update:filters",l)}return(i,l)=>{var a,n,d,s,b,m;return r.openBlock(),r.createElementBlock("div",T,[r.createVNode(h.SyTextField,{modelValue:g.value,"onUpdate:modelValue":l[0]||(l[0]=p=>g.value=p),label:e.header.title||"",clearable:((a=e.inputConfig)==null?void 0:a.clearable)??e.clearable,density:((n=e.inputConfig)==null?void 0:n.density)??e.density,"hide-details":((d=e.inputConfig)==null?void 0:d.hideDetails)??e.hideDetails,"hide-messages":e.header.hideMessages,"disable-error-handling":((s=e.inputConfig)==null?void 0:s.disableErrorHandling)??e.disableErrorHandling,variant:((b=e.inputConfig)==null?void 0:b.variant)??e.variant,"bg-color":((m=e.inputConfig)==null?void 0:m.backgroundColor)??e.backgroundColor,class:"filter-input","onClick:clear":C},null,8,["modelValue","label","clearable","density","hide-details","hide-messages","disable-error-handling","variant","bg-color"])])}}}),x=h._export_sfc(k,[["__scopeId","data-v-5d15bb12"]]);exports.default=x;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e={orange:{darken80:"#2d100b",darken60:"#5a2017",darken40:"#862f22",darken20:"#b33f2e",base:"#e04f39",lighten20:"#e67261",lighten40:"#ec9588",lighten60:"#f3b9b0",lighten80:"#f9dcd7",lighten90:"#fcedeb",lighten97:"#fefaf9"},yellow:{darken80:"#302407",darken60:"#60480e",darken40:"#906b15",darken20:"#c08f1c",base:"#f0b323",lighten20:"#f3c24f",lighten40:"#f6d17b",lighten60:"#f9e1a7",lighten80:"#fcf0d3",lighten90:"#fdf7e9",lighten97:"#fffdf8"},green:{darken80:"#112717",darken60:"#224e2d",darken40:"#347444",darken20:"#459b5a",base:"#56c271",lighten20:"#78ce8d",lighten40:"#9adaaa",lighten60:"#bbe7c6",lighten80:"#ddf3e3",lighten90:"#eef9f1",lighten97:"#fafdfb"},turquoise:{darken80:"#00221c",darken60:"#004439",darken40:"#006755",darken20:"#008972",base:"#00ab8e",lighten20:"#33bca5",lighten40:"#66cdbb",lighten60:"#99ddd2",lighten80:"#cceee8",lighten90:"#e5f7f4",lighten97:"#f7fcfc"},blue:{darken80:"#020d1f",darken60:"#051a3e",darken40:"#07275c",darken20:"#0a347b",base:"#0c419a",lighten20:"#3d67ae",lighten40:"#6d8dc2",lighten60:"#9eb3d7",lighten80:"#ced9eb",lighten90:"#e7ecf5",lighten97:"#f8f9fc"},cyan:{darken80:"#00212d",darken60:"#004259",darken40:"#006386",darken20:"#0084b2",base:"#00a5df",lighten20:"#33b7e5",lighten40:"#66c9ec",lighten60:"#99dbf2",lighten80:"#ccedf9",lighten90:"#e5f6fc",lighten97:"#f7fcfe"},frostedBlue:{darken80:"#142327",darken60:"#28464d",darken40:"#3d6874",darken20:"#518b9a",base:"#65aec1",lighten20:"#84becd",lighten40:"#a3ceda",lighten60:"#c1dfe6",lighten80:"#e0eff3",lighten90:"#f0f7f9",lighten97:"#fafdfd"},parma:{darken80:"#171c26",darken60:"#2f384d",darken40:"#465473",darken20:"#5e709a",base:"#758cc0",lighten20:"#91a3cd",lighten40:"#acbad9",lighten60:"#c8d1e6",lighten80:"#e3e8f2",lighten90:"#f1f3f9",lighten97:"#fbfcfd"},mauve:{darken80:"#201224",darken60:"#402449",darken40:"#60376d",darken20:"#804992",base:"#a05bb6",lighten20:"#b37cc5",lighten40:"#c69dd3",lighten60:"#d9bde2",lighten80:"#ecdef0",lighten90:"#f5eff8",lighten97:"#fcfafd"},pink:{darken80:"#2d051a",darken60:"#5a0a34",darken40:"#87104d",darken20:"#b41567",base:"#e11a81",lighten20:"#e7489a",lighten40:"#ed76b3",lighten60:"#f3a3cd",lighten80:"#f9d1e6",lighten90:"#fce8f2",lighten97:"#fef8fb"},brick:{darken80:"#291112",darken60:"#522224",darken40:"#7b3237",darken20:"#a44349",base:"#cd545b",lighten20:"#d7767c",lighten40:"#e1989d",lighten60:"#ebbbbd",lighten80:"#f5ddde",lighten90:"#faeeef",lighten97:"#fdfafa"},grey:{darken80:"#111212",darken60:"#222324",darken40:"#323535",darken20:"#434647",base:"#545859",lighten20:"#76797a",lighten40:"#989b9b",lighten60:"#bbbcbd",lighten80:"#dddede",lighten90:"#eeeeee",lighten97:"#fafafa"},white:{lighten20:"rgba(255, 255, 255, 0.20)",lighten38:"rgba(255, 255, 255, 0.38)",lighten40:"rgba(255, 255, 255, 0.40)",lighten70:"rgba(255, 255, 255, 0.70)",lighten8:"rgba(255, 255, 255, 0.080)",base:"#ffffff"}},a={colors:{background:{main:e.blue.lighten90,surface:e.white.base,mainAlt:e.white.base,mainTer:e.grey.lighten97,surfaceAlt:e.blue.lighten90,raised:e.blue.lighten97,accent:e.blue.base,accentContrasted:e.blue.darken40,accentAlt:e.grey.darken80,info:e.blue.lighten80,infoSubdued:e.blue.lighten90,infoContrasted:e.blue.base,success:e.turquoise.lighten80,successSubdued:e.turquoise.lighten90,successContrasted:e.green.base,warning:e.yellow.lighten80,warningSubdued:e.yellow.lighten90,warningContrasted:e.yellow.base,error:e.orange.lighten80,errorSubdued:e.orange.lighten90,errorContrasted:e.orange.darken20,disabled:e.grey.lighten80,disabledOnDark:e.white.lighten8,assure:e.pink.lighten40,professionnel:e.cyan.lighten40,entreprise:e.yellow.base},border:{darker:e.grey.darken60,base:e.grey.lighten40,subdued:e.grey.lighten80,accentPrimary:e.blue.base,accentPrimaryContrasted:e.blue.darken40,accentPrimaryOnDark:e.white.base,accentSecondary:e.cyan.base,accentSecondaryContrasted:e.cyan.darken40,info:e.blue.base,success:e.green.darken60,warning:e.yellow.darken60,error:e.orange.darken20,onDark:e.white.lighten70,disabled:e.grey.lighten80,disabledOnDark:e.white.lighten40},text:{base:e.grey.darken60,accentPrimary:e.blue.base,accentPrimaryContrasted:e.blue.darken40,accentSecondary:e.cyan.darken60,subdued:e.grey.base,info:e.blue.base,success:e.green.darken60,warning:e.yellow.darken60,error:e.orange.darken20,disabled:e.grey.lighten40,onDark:e.white.base,subduedOnDark:e.white.lighten70,disabledOnDark:e.white.lighten40},icon:{base:e.grey.darken60,subdued:e.grey.base,subduedOnDark:e.white.lighten70,accentPrimary:e.blue.base,accentPrimaryContrasted:e.blue.darken40,accentSecondary:e.cyan.darken40,info:e.blue.base,success:e.green.darken60,warning:e.yellow.darken40,error:e.orange.darken20,onDark:e.white.base,disabled:e.grey.lighten40,disabledOnDark:e.white.lighten40},overlay:{fullpage:e.grey.lighten40,onDark:e.white.base,onLight:e.blue.base},interactive:{selectionEnabled:e.white.base,selectionHover:e.blue.lighten90,selectionPressed:e.blue.lighten80,selectionSelected:e.blue.lighten90,selectionHoverOnSelected:e.blue.lighten80,selectionselectedAccent:e.blue.base,selectionHoverOnSelectedAccent:e.blue.lighten20,selectionDisabled:e.white.base}}},k={primary:e.blue.base,secondary:e.cyan.darken40,accentPrimaryLight:e.blue.lighten20,accentPrimary:e.blue.base,accentPrimaryContrasted:e.blue.darken40,accentSecondaryLight:e.cyan.lighten60,accentSecondary:e.cyan.base,accentSecondaryContrasted:e.cyan.darken40,accentAlt:e.grey.base,error:e.orange.darken20,info:e.blue.base,avatar:e.cyan.darken20,success:e.turquoise.darken60,warning:e.yellow.darken60,risquePro:e.brick.base,light:e.grey.lighten60,dark:e.grey.darken80,onBackground:a.colors.background.surface,onSurfaceAlt:a.colors.background.surfaceAlt,onSurface:a.colors.background.surface,onWarning:a.colors.background.warning,overlayFullpage:a.colors.overlay.fullpage,overlayOnDark:a.colors.overlay.onDark,overlayOnLight:a.colors.overlay.onLight,interactiveSelectionEnabled:a.colors.interactive.selectionEnabled,interactiveSelectionHover:a.colors.interactive.selectionHover,interactiveSelectionPressed:a.colors.interactive.selectionPressed,interactiveSelectionSelected:a.colors.interactive.selectionSelected,interactiveSelectionHoverOnSelected:a.colors.interactive.selectionHoverOnSelected,interactiveSelectionSelectedAccent:a.colors.interactive.selectionselectedAccent,interactiveSelectionHoverOnSelectedAccent:a.colors.interactive.selectionHoverOnSelectedAccent,interactiveSelectionDisabled:a.colors.interactive.selectionDisabled,backgroundMain:a.colors.background.main,backgroundMainAlt:a.colors.background.mainAlt,backgroundMainTer:a.colors.background.mainTer,backgroundSurface:a.colors.background.surface,backgroundSurfaceAlt:a.colors.background.surfaceAlt,backgroundRaised:a.colors.background.raised,backgroundAccent:a.colors.background.accent,backgroundAccentContrasted:a.colors.background.accentContrasted,backgroundAccentAlt:a.colors.background.accentAlt,backgroundInfo:a.colors.background.info,backgroundInfoSubdued:a.colors.background.infoSubdued,backgroundInfoContrasted:a.colors.background.infoContrasted,backgroundSuccess:a.colors.background.success,backgroundSuccessSubdued:a.colors.background.successSubdued,backgroundSuccessContrasted:a.colors.background.successContrasted,backgroundWarning:a.colors.background.warning,backgroundWarningSubdued:a.colors.background.warningSubdued,backgroundWarningContrasted:a.colors.background.warningContrasted,backgroundError:a.colors.background.error,backgroundErrorSubdued:a.colors.background.errorSubdued,backgroundErrorContrasted:a.colors.background.errorContrasted,backgroundDisabled:a.colors.background.disabled,backgroundDisabledOnDark:a.colors.background.disabledOnDark,backgroundAssure:a.colors.background.assure,backgroundProfessionnel:a.colors.background.professionnel,backgroundEntreprise:a.colors.background.entreprise,borderDarker:a.colors.border.darker,borderBase:a.colors.border.base,borderSubdued:a.colors.border.subdued,borderAccentPrimary:a.colors.border.accentPrimary,borderAccentPrimaryContrasted:a.colors.border.accentPrimaryContrasted,borderAccentPrimaryOnDark:a.colors.border.accentPrimaryOnDark,borderAccentSecondary:a.colors.border.accentSecondary,borderAccentSecondaryContrasted:a.colors.border.accentSecondaryContrasted,borderInfo:a.colors.border.info,borderSuccess:a.colors.border.success,borderWarning:a.colors.border.warning,borderError:a.colors.border.error,borderOnDark:a.colors.border.onDark,borderDisabled:a.colors.border.disabled,borderDisabledOnDark:a.colors.border.disabledOnDark,textBase:a.colors.text.base,textAccentPrimary:a.colors.text.accentPrimary,textAccentPrimaryContrasted:a.colors.text.accentPrimaryContrasted,textAccentSecondary:a.colors.text.accentSecondary,textSubdued:a.colors.text.subdued,textInfo:a.colors.text.info,textSuccess:a.colors.text.success,textWarning:a.colors.text.warning,textError:a.colors.text.error,textDisabled:a.colors.text.disabled,textOnDark:a.colors.text.onDark,textSubduedOnDark:a.colors.text.subduedOnDark,textDisabledOnDark:a.colors.text.disabledOnDark,iconBase:a.colors.icon.base,iconSubdued:a.colors.icon.subdued,iconSubduedOnDark:a.colors.icon.subduedOnDark,iconAccentPrimary:a.colors.icon.accentPrimary,iconAccentPrimaryContrasted:a.colors.icon.accentPrimaryContrasted,iconAccentSecondary:a.colors.icon.accentSecondary,iconInfo:a.colors.icon.info,iconSuccess:a.colors.icon.success,iconWarning:a.colors.icon.warning,iconError:a.colors.icon.error,iconOnDark:a.colors.icon.onDark,iconDisabled:a.colors.icon.disabled,iconDisabledOnDark:a.colors.icon.disabledOnDark},u={colors:{background:"#ffffff",border:"#dddddd",text:"#333333",icon:"#666666",overlay:"rgba(0, 0, 0, 0.5)",interactive:"#fff",interactiveHover:"#E7ECF5",interactivePressed:"#CED9EB",interactiveFocus:"#E7ECF5",interactiveDisabled:"#fff",interactiveHoverOnSelected:"#CED9EB"},gap:{0:"0",1:"4px",2:"8px",3:"122px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",11:"44px",12:"48px",13:"52px",14:"56px",15:"60px",16:"64px"},iconSize:{xsmall:"8px",small:"16px",default:"24px",large:"32px"},radius:{rounded0:"0",rounded:"4px",roundedLg:"8px",roundedPill:"64px"},padding:{0:"0",2:"8px",3:"12px",4:"16px",6:"24px",8:"32px",10:"40px",14:"56px",16:"64px"},fontSize:{titres:"24px",titresAlternatifs:"20px",corpsDeTexte:"16px",liensEtLibelles:"14px"}},h={backgroundSurface:e.parma.darken60},r={orange:{darken80:"#2d100b",darken60:"#5a2017",darken40:"#862f22",darken20:"#b33f2e",base:"#e04f39",lighten20:"#e67261",lighten40:"#ec9588",lighten60:"#f3b9b0",lighten80:"#f9dcd7",lighten90:"#fcedeb",lighten97:"#fefaf9"},yellow:{darken80:"#302407",darken60:"#60480e",darken40:"#906b15",darken20:"#c08f1c",base:"#f0b323",lighten20:"#f3c24f",lighten40:"#f6d17b",lighten60:"#f9e1a7",lighten80:"#fcf0d3",lighten90:"#fdf7e9",lighten97:"#fffdf8"},green:{darken80:"#112717",darken60:"#224e2d",darken40:"#347444",darken20:"#459b5a",base:"#56c271",lighten20:"#78ce8d",lighten40:"#9adaaa",lighten60:"#bbe7c6",lighten80:"#ddf3e3",lighten90:"#eef9f1",lighten97:"#fafdfb"},turquoise:{darken80:"#00221c",darken60:"#004439",darken40:"#006755",darken20:"#008972",base:"#00ab8e",lighten20:"#33bca5",lighten40:"#66cdbb",lighten60:"#99ddd2",lighten80:"#cceee8",lighten90:"#e5f7f4",lighten97:"#f7fcfc"},blue:{darken80:"#020d1f",darken60:"#051a3e",darken40:"#07275c",darken20:"#0a347b",base:"#0c419a",lighten20:"#3d67ae",lighten40:"#6d8dc2",lighten60:"#9eb3d7",lighten80:"#ced9eb",lighten90:"#e7ecf5",lighten97:"#f8f9fc"},cyan:{darken80:"#00212d",darken60:"#004259",darken40:"#006386",darken20:"#0084b2",base:"#00a5df",lighten20:"#33b7e5",lighten40:"#66c9ec",lighten60:"#99dbf2",lighten80:"#ccedf9",lighten90:"#e5f6fc",lighten97:"#f7fcfe"},frostedBlue:{darken80:"#142327",darken60:"#28464d",darken40:"#3d6874",darken20:"#518b9a",base:"#65aec1",lighten20:"#84becd",lighten40:"#a3ceda",lighten60:"#c1dfe6",lighten80:"#e0eff3",lighten90:"#f0f7f9",lighten97:"#fafdfd"},parma:{darken80:"#171c26",darken60:"#2f384d",darken40:"#465473",darken20:"#5e709a",base:"#758cc0",lighten20:"#91a3cd",lighten40:"#acbad9",lighten60:"#c8d1e6",lighten80:"#e3e8f2",lighten90:"#f1f3f9",lighten97:"#fbfcfd"},mauve:{darken80:"#201224",darken60:"#402449",darken40:"#60376d",darken20:"#804992",base:"#a05bb6",lighten20:"#b37cc5",lighten40:"#c69dd3",lighten60:"#d9bde2",lighten80:"#ecdef0",lighten90:"#f5eff8",lighten97:"#fcfafd"},pink:{darken80:"#2d051a",darken60:"#5a0a34",darken40:"#87104d",darken20:"#b41567",base:"#e11a81",lighten20:"#e7489a",lighten40:"#ed76b3",lighten60:"#f3a3cd",lighten80:"#f9d1e6",lighten90:"#fce8f2",lighten97:"#fef8fb"},brick:{darken80:"#291112",darken60:"#522224",darken40:"#7b3237",darken20:"#a44349",base:"#cd545b",lighten20:"#d7767c",lighten40:"#e1989d",lighten60:"#ebbbbd",lighten80:"#f5ddde",lighten90:"#faeeef",lighten97:"#fdfafa"},grey:{darken80:"#111212",darken60:"#222324",darken40:"#323535",darken20:"#434647",base:"#545859",lighten20:"#76797a",lighten40:"#989b9b",lighten60:"#bbbcbd",lighten80:"#dddede",lighten90:"#eeeeee",lighten97:"#fafafa"},white:{lighten20:"rgba(255, 255, 255, 0.20)",lighten38:"rgba(255, 255, 255, 0.38)",lighten40:"rgba(255, 255, 255, 0.40)",lighten70:"rgba(255, 255, 255, 0.70)",lighten8:"rgba(255, 255, 255, 0.080)",base:"#ffffff"}},c={colors:{background:{main:r.blue.lighten90,surface:r.white.base,mainAlt:r.white.base,surfaceAlt:r.blue.lighten90,raised:r.blue.lighten97,accent:r.blue.base,accentContrasted:r.blue.darken40,accentAlt:r.grey.darken80,info:r.blue.lighten80,infoSubdued:r.blue.lighten90,infoContrasted:r.blue.base,success:r.orange.darken40,successSubdued:r.turquoise.lighten90,successContrasted:r.green.base,warning:r.yellow.lighten80,warningSubdued:r.yellow.lighten90,warningContrasted:r.yellow.base,error:r.orange.lighten80,errorSubdued:r.orange.lighten90,errorContrasted:r.orange.darken20,disabled:r.grey.lighten80,disabledOnDark:r.white.lighten8,assure:r.pink.lighten40,professionnel:r.cyan.lighten40,entreprise:r.yellow.base},border:{darker:r.grey.darken60,base:r.grey.lighten40,subdued:r.grey.lighten80,accentPrimary:r.blue.base,accentPrimaryContrasted:r.blue.darken40,accentPrimaryOnDark:r.white.base,accentSecondary:r.cyan.base,accentSecondaryContrasted:r.cyan.darken40,info:r.blue.base,success:r.green.darken60,warning:r.yellow.darken60,error:r.orange.darken20,onDark:r.white.lighten70,disabled:r.grey.lighten80,disabledOnDark:r.white.lighten40},text:{base:r.grey.darken60,accentPrimary:r.blue.base,accentPrimaryContrasted:r.blue.darken40,accentSecondary:r.cyan.darken40,subdued:r.grey.base,info:r.blue.base,success:r.green.darken60,warning:r.yellow.darken60,error:r.orange.darken20,disabled:r.grey.lighten40,onDark:r.white.base,subduedOnDark:r.white.lighten70,disabledOnDark:r.white.lighten40},icon:{base:r.grey.darken60,subdued:r.grey.base,subduedOnDark:r.white.lighten70,accentPrimary:r.blue.base,accentPrimaryContrasted:r.blue.darken40,accentSecondary:r.cyan.darken40,info:r.blue.base,success:r.green.darken60,warning:r.yellow.darken60,error:r.orange.darken20,onDark:r.white.base,disabled:r.grey.lighten40,disabledOnDark:r.white.lighten40},overlay:{fullpage:r.grey.lighten40,onDark:r.white.base,onLight:r.blue.base},interactive:{selectionEnabled:r.white.base,selectionHover:r.blue.lighten90,selectionPressed:r.blue.lighten80,selectionSelected:r.blue.lighten90,selectionHoverOnSelected:r.blue.lighten80,selectionselectedAccent:r.blue.base,selectionHoverOnSelectedAccent:r.blue.lighten20,selectionDisabled:r.white.base}}},f={primary:r.blue.base,secondary:r.cyan.darken40,accentPrimaryLight:r.blue.lighten20,accentPrimary:r.blue.base,accentPrimaryContrasted:r.blue.darken40,accentSecondaryLight:r.cyan.lighten60,accentSecondary:r.cyan.base,accentSecondaryContrasted:r.cyan.darken40,accentAlt:r.grey.base,error:r.orange.darken20,info:r.blue.base,success:r.turquoise.darken60,warning:r.yellow.darken60,risquePro:r.brick.base,light:r.grey.lighten60,dark:r.grey.darken80,onBackground:c.colors.background.surface,onSurfaceAlt:c.colors.background.surfaceAlt,onSurface:c.colors.background.surface,onWarning:c.colors.background.warning,overlayFullpage:c.colors.overlay.fullpage,overlayOnDark:c.colors.overlay.onDark,overlayOnLight:c.colors.overlay.onLight,interactiveSelectionEnabled:c.colors.interactive.selectionEnabled,interactiveSelectionHover:c.colors.interactive.selectionHover,interactiveSelectionPressed:c.colors.interactive.selectionPressed,interactiveSelectionSelected:c.colors.interactive.selectionSelected,interactiveSelectionHoverOnSelected:c.colors.interactive.selectionHoverOnSelected,interactiveSelectionSelectedAccent:c.colors.interactive.selectionselectedAccent,interactiveSelectionHoverOnSelectedAccent:c.colors.interactive.selectionHoverOnSelectedAccent,interactiveSelectionDisabled:c.colors.interactive.selectionDisabled,backgroundMain:c.colors.background.main,backgroundSurface:c.colors.background.surface,backgroundSurfaceAlt:c.colors.background.surfaceAlt,backgroundMainAlt:c.colors.background.mainAlt,backgroundRaised:c.colors.background.raised,backgroundAccent:c.colors.background.accent,backgroundAccentContrasted:c.colors.background.accentContrasted,backgroundAccentAlt:c.colors.background.accentAlt,backgroundInfo:c.colors.background.info,backgroundInfoSubdued:c.colors.background.infoSubdued,backgroundInfoContrasted:c.colors.background.infoContrasted,backgroundSuccess:c.colors.background.success,backgroundSuccessSubdued:c.colors.background.successSubdued,backgroundSuccessContrasted:c.colors.background.successContrasted,backgroundWarning:c.colors.background.warning,backgroundWarningSubdued:c.colors.background.warningSubdued,backgroundWarningContrasted:c.colors.background.warningContrasted,backgroundError:c.colors.background.error,backgroundErrorSubdued:c.colors.background.errorSubdued,backgroundErrorContrasted:c.colors.background.errorContrasted,backgroundDisabled:c.colors.background.disabled,backgroundDisabledOnDark:c.colors.background.disabledOnDark,backgroundAssure:c.colors.background.assure,backgroundProfessionnel:c.colors.background.professionnel,backgroundEntreprise:c.colors.background.entreprise,borderDarker:c.colors.border.darker,borderBase:c.colors.border.base,borderSubdued:c.colors.border.subdued,borderAccentPrimary:c.colors.border.accentPrimary,borderAccentPrimaryContrasted:c.colors.border.accentPrimaryContrasted,borderAccentPrimaryOnDark:c.colors.border.accentPrimaryOnDark,borderAccentSecondary:c.colors.border.accentSecondary,borderAccentSecondaryContrasted:c.colors.border.accentSecondaryContrasted,borderInfo:c.colors.border.info,borderSuccess:c.colors.border.success,borderWarning:c.colors.border.warning,borderError:c.colors.border.error,borderOnDark:c.colors.border.onDark,borderDisabled:c.colors.border.disabled,borderDisabledOnDark:c.colors.border.disabledOnDark,textBase:c.colors.text.base,textAccentPrimary:c.colors.text.accentPrimary,textAccentPrimaryContrasted:c.colors.text.accentPrimaryContrasted,textAccentSecondary:c.colors.text.accentSecondary,textSubdued:c.colors.text.subdued,textInfo:c.colors.text.info,textSuccess:c.colors.text.success,textWarning:c.colors.text.warning,textError:c.colors.text.error,textDisabled:c.colors.text.disabled,textOnDark:c.colors.text.onDark,textSubduedOnDark:c.colors.text.subduedOnDark,textDisabledOnDark:c.colors.text.disabledOnDark,iconBase:c.colors.icon.base,iconSubdued:c.colors.icon.subdued,iconSubduedOnDark:c.colors.icon.subduedOnDark,iconAccentPrimary:c.colors.icon.accentPrimary,iconAccentPrimaryContrasted:c.colors.icon.accentPrimaryContrasted,iconAccentSecondary:c.colors.icon.accentSecondary,iconInfo:c.colors.icon.info,iconSuccess:c.colors.icon.success,iconWarning:c.colors.icon.warning,iconError:c.colors.icon.error,iconOnDark:c.colors.icon.onDark,iconDisabled:c.colors.icon.disabled,iconDisabledOnDark:c.colors.icon.disabledOnDark},y={backgroundSurface:r.parma.darken60},t={apBlack:{base:"#000000"},apBlue:{base:"#0C419A",darken1:"#00749C",darken2:"#00516D",lighten1:"#99DBF2",lighten2:"#CCEDF9",lighten3:"#E6F6FC",lighten4:"#F3FBFE"},apGreen:{base:"#56C271",darken1:"#459B5A",darken2:"#337343",lighten1:"#78CE8D",lighten2:"#DDF3E3"},apGrey:{base:"#545859",darken1:"#1A1B1B",lighten1:"#CCCDCE",lighten2:"#DDDEDE",lighten3:"#EEEEEE",lighten4:"#F3F4F4",lighten5:"#FAFAFA",lighten6:"#F4F8F9"},apParme:{base:"#C8D1E6",darken1:"#4D547D"},apPink:{base:"#D00063"},apRed:{base:"#B33F2E",darken1:"#9D3728",darken2:"#70281C",lighten1:"#E67261",lighten2:"#EC9588",lighten3:"#F9DCD7",lighten4:"#FDF0EE"},apTurquoise:{base:"#33BCA5",darken1:"#007863",darken2:"#006654",darken3:"#005647",lighten1:"#CCEEE8",lighten2:"#E6F7F4"},apWhite:{base:"#FFFFFF"},apYellow:{base:"#F0B323",darken1:"#D8A120",darken2:"#C08F1C",darken3:"#A87D19",darken4:"#906C16",lighten1:"#F3C24F",lighten2:"#FED66D",lighten3:"#F7D990",lighten4:"#F9E1A7",lighten5:"#FCF0D3"}},i={};function S(d){return d.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase()}Object.entries(t).forEach(([d,l])=>{Object.entries(l).forEach(([s,b])=>{const g=S(`${d}-${s}`.replace(/\d+/,"-$&").replace("-base",""));i[g]=b})});const n={amber:{darken80:"#502C01",darken60:"#784201",darken40:"#9f5801",darken20:"#c76e02",base:"#ef8402",lighten20:"#f2992c",lighten40:"#f4ad56",lighten60:"#f7c281",lighten80:"#fad6ab",lighten90:"#fce6cc",lighten97:"#FFFAF5"},yellow:{darken80:"#302407",darken60:"#60480e",darken40:"#906b15",darken20:"#c08f1c",base:"#f0b323",lighten20:"#f3c24f",lighten40:"#f6d17b",lighten60:"#f9e1a7",lighten80:"#fcf0d3",lighten90:"#fdf7e9",lighten97:"#fffdf8"},green:{darken80:"#112717",darken60:"#224e2d",darken40:"#347444",darken20:"#459b5a",base:"#56c271",lighten20:"#78ce8d",lighten40:"#9adaaa",lighten60:"#bbe7c6",lighten80:"#ddf3e3",lighten90:"#eef9f1",lighten97:"#fafdfb"},turquoise:{darken80:"#00221c",darken60:"#004439",darken40:"#006755",darken20:"#008972",base:"#00ab8e",lighten20:"#33bca5",lighten40:"#66cdbb",lighten60:"#99ddd2",lighten80:"#cceee8",lighten90:"#e5f7f4",lighten97:"#f7fcfc"},blue:{darken80:"#020d1f",darken60:"#051a3e",darken40:"#07275c",darken20:"#0a347b",base:"#0c419a",lighten20:"#3d67ae",lighten40:"#6d8dc2",lighten60:"#9eb3d7",lighten80:"#ced9eb",lighten90:"#e7ecf5",lighten97:"#f8f9fc"},cyan:{darken80:"#00212d",darken60:"#004259",darken40:"#006386",darken20:"#0084b2",base:"#00a5df",lighten20:"#33b7e5",lighten40:"#66c9ec",lighten60:"#99dbf2",lighten80:"#ccedf9",lighten90:"#e5f6fc",lighten97:"#f7fcfe"},forestGreen:{darken80:"#002821",darken60:"#003c32",darken40:"#005042",darken20:"#006453",base:"#007863",lighten20:"#2a8f7d",lighten40:"#55a597",lighten60:"#80bcb1",lighten80:"#aad2cb",lighten90:"#cce4e0",lighten97:"#EEFFFC"},parma:{darken80:"#171c26",darken60:"#2f384d",darken40:"#465473",darken20:"#5e709a",base:"#758cc0",lighten20:"#91a3cd",lighten40:"#acbad9",lighten60:"#c8d1e6",lighten80:"#e3e8f2",lighten90:"#f1f3f9",lighten97:"#fbfcfd"},mauve:{darken80:"#201224",darken60:"#402449",darken40:"#60376d",darken20:"#804992",base:"#a05bb6",lighten20:"#b37cc5",lighten40:"#c69dd3",lighten60:"#d9bde2",lighten80:"#ecdef0",lighten90:"#f5eff8",lighten97:"#fcfafd"},pink:{darken80:"#2D051A",darken60:"#5a0a34",darken40:"#87104d",darken20:"#b41567",base:"#e11a81",lighten20:"#e7489a",lighten40:"#ed76b3",lighten60:"#f3a3cd",lighten80:"#f9d1e6",lighten90:"#fce8f2",lighten97:"#fef8fb"},red:{darken80:"#4d0000",darken60:"#740000",darken40:"#9b0000",darken20:"#B30E0E",base:"#e80000",lighten20:"#ec2a2a",lighten40:"#FF5E5E",lighten60:"#f48080",lighten80:"#f7aaaa",lighten90:"#facccc",lighten97:"#FFF4F4"},grey:{darken80:"#111212",darken60:"#222324",darken40:"#323535",darken20:"#434647",base:"#545859",lighten20:"#76797a",lighten40:"#989b9b",lighten60:"#bbbcbd",lighten80:"#dddede",lighten90:"#eeeeee",lighten97:"#fafafa"},white:{lighten20:"rgba(255, 255, 255, 0.20)",lighten38:"rgba(255, 255, 255, 0.38)",lighten40:"rgba(255, 255, 255, 0.40)",lighten70:"rgba(255, 255, 255, 0.70)",lighten8:"rgba(255, 255, 255, 0.080)",base:"#ffffff"}},o={colors:{background:{main:n.cyan.lighten97,surface:n.white.base,mainAlt:n.white.base,surfaceAlt:n.cyan.lighten80,raised:n.cyan.lighten97,accent:n.cyan.darken20,accentContrasted:n.cyan.darken60,accentAlt:n.grey.base,info:n.blue.lighten80,infoSubdued:n.blue.lighten90,infoContrasted:n.parma.darken40,success:n.forestGreen.lighten80,successSubdued:n.forestGreen.lighten90,successContrasted:n.forestGreen.base,warning:n.yellow.lighten80,warningSubdued:n.yellow.lighten90,warningContrasted:n.yellow.base,error:n.red.lighten80,errorSubdued:n.red.lighten90,errorContrasted:n.red.darken20,disabled:n.grey.lighten80,disabledOnDark:n.white.lighten8,assure:n.pink.lighten40,professionnel:n.cyan.lighten40,entreprise:n.yellow.base},border:{darker:n.grey.darken60,base:n.grey.lighten40,subdued:n.grey.lighten80,accentPrimary:n.cyan.darken20,accentPrimaryContrasted:n.cyan.darken40,accentPrimaryOnDark:n.white.base,accentSecondary:n.cyan.darken60,accentSecondaryContrasted:n.cyan.darken40,info:n.parma.darken40,success:n.forestGreen.base,warning:n.yellow.darken60,error:n.red.darken20,onDark:n.white.lighten70,disabled:n.grey.lighten80,disabledOnDark:n.white.lighten40},text:{base:n.grey.darken60,accentPrimary:n.cyan.darken20,accentPrimaryContrasted:n.cyan.darken40,accentSecondary:n.cyan.darken60,subdued:n.grey.base,info:n.parma.darken40,success:n.forestGreen.base,warning:n.yellow.darken60,error:n.red.darken20,disabled:n.grey.lighten40,onDark:n.white.base,subduedOnDark:n.white.lighten70,disabledOnDark:n.white.lighten40},icon:{base:n.grey.darken60,subdued:n.grey.base,subduedOnDark:n.white.lighten70,accentPrimary:n.cyan.darken20,accentPrimaryContrasted:n.cyan.darken40,accentSecondary:n.cyan.darken80,info:n.parma.darken40,success:n.forestGreen.darken60,warning:n.yellow.darken60,error:n.red.darken20,onDark:n.white.base,disabled:n.grey.lighten40,disabledOnDark:n.white.lighten40},overlay:{fullpage:n.grey.darken60,onDark:n.cyan.darken40,onLight:n.white.base},interactive:{selectionEnabled:n.white.base,selectionHover:n.blue.lighten80,selectionPressed:n.blue.lighten60,selectionSelected:n.blue.lighten80,selectionHoverOnSelected:n.blue.lighten60,selectionselectedAccent:n.cyan.darken20,selectionHoverOnSelectedAccent:n.cyan.lighten20,selectionDisabled:n.white.base}}},D={...i,error:t.apRed.base,info:t.apParme.darken1,primary:t.apBlue.darken1,secondary:t.apBlue.darken2,success:t.apTurquoise.darken1,warning:t.apYellow.darken4},m={primary:n.cyan.darken20,secondary:n.cyan.darken60,accentPrimaryLight:n.blue.lighten20,accentPrimary:n.cyan.darken20,accentPrimaryContrasted:n.cyan.darken40,accentSecondaryLight:n.cyan.base,accentSecondary:n.cyan.darken60,accentSecondaryContrasted:n.cyan.darken80,accentAlt:n.grey.base,error:n.red.darken20,info:n.parma.darken40,avatar:n.cyan.darken20,success:n.turquoise.darken20,warning:n.yellow.darken60,risquePro:n.red.base,light:n.grey.lighten60,dark:n.grey.darken80,onBackground:o.colors.background.surface,onSurfaceAlt:o.colors.background.surfaceAlt,onSurface:o.colors.background.surface,onWarning:o.colors.background.warning,overlayFullpage:o.colors.overlay.fullpage,overlayOnDark:o.colors.overlay.onDark,overlayOnLight:o.colors.overlay.onLight,interactiveSelectionEnabled:o.colors.interactive.selectionEnabled,interactiveSelectionHover:o.colors.interactive.selectionHover,interactiveSelectionPressed:o.colors.interactive.selectionPressed,interactiveSelectionSelected:o.colors.interactive.selectionSelected,interactiveSelectionHoverOnSelected:o.colors.interactive.selectionHoverOnSelected,interactiveSelectionSelectedAccent:o.colors.interactive.selectionselectedAccent,interactiveSelectionHoverOnSelectedAccent:o.colors.interactive.selectionHoverOnSelectedAccent,interactiveSelectionDisabled:o.colors.interactive.selectionDisabled,backgroundMain:o.colors.background.main,backgroundSurface:o.colors.background.surface,backgroundSurfaceAlt:o.colors.background.surfaceAlt,backgroundMainAlt:o.colors.background.mainAlt,backgroundRaised:o.colors.background.raised,backgroundAccent:o.colors.background.accent,backgroundAccentContrasted:o.colors.background.accentContrasted,backgroundAccentAlt:o.colors.background.accentAlt,backgroundInfo:o.colors.background.info,backgroundInfoSubdued:o.colors.background.infoSubdued,backgroundInfoContrasted:o.colors.background.infoContrasted,backgroundSuccess:o.colors.background.success,backgroundSuccessSubdued:o.colors.background.successSubdued,backgroundSuccessContrasted:o.colors.background.successContrasted,backgroundWarning:o.colors.background.warning,backgroundWarningSubdued:o.colors.background.warningSubdued,backgroundWarningContrasted:o.colors.background.warningContrasted,backgroundError:o.colors.background.error,backgroundErrorSubdued:o.colors.background.errorSubdued,backgroundErrorContrasted:o.colors.background.errorContrasted,backgroundDisabled:o.colors.background.disabled,backgroundDisabledOnDark:o.colors.background.disabledOnDark,backgroundAssure:o.colors.background.assure,backgroundProfessionnel:o.colors.background.professionnel,backgroundEntreprise:o.colors.background.entreprise,borderDarker:o.colors.border.darker,borderBase:o.colors.border.base,borderSubdued:o.colors.border.subdued,borderAccentPrimary:o.colors.border.accentPrimary,borderAccentPrimaryContrasted:o.colors.border.accentPrimaryContrasted,borderAccentPrimaryOnDark:o.colors.border.accentPrimaryOnDark,borderAccentSecondary:o.colors.border.accentSecondary,borderAccentSecondaryContrasted:o.colors.border.accentSecondaryContrasted,borderInfo:o.colors.border.info,borderSuccess:o.colors.border.success,borderWarning:o.colors.border.warning,borderError:o.colors.border.error,borderOnDark:o.colors.border.onDark,borderDisabled:o.colors.border.disabled,borderDisabledOnDark:o.colors.border.disabledOnDark,textBase:o.colors.text.base,textAccentPrimary:o.colors.text.accentPrimary,textAccentPrimaryContrasted:o.colors.text.accentPrimaryContrasted,textAccentSecondary:o.colors.text.accentSecondary,textSubdued:o.colors.text.subdued,textInfo:o.colors.text.info,textSuccess:o.colors.text.success,textWarning:o.colors.text.warning,textError:o.colors.text.error,textDisabled:o.colors.text.disabled,textOnDark:o.colors.text.onDark,textSubduedOnDark:o.colors.text.subduedOnDark,textDisabledOnDark:o.colors.text.disabledOnDark,iconBase:o.colors.icon.base,iconSubdued:o.colors.icon.subdued,iconSubduedOnDark:o.colors.icon.subduedOnDark,iconAccentPrimary:o.colors.icon.accentPrimary,iconAccentPrimaryContrasted:o.colors.icon.accentPrimaryContrasted,iconAccentSecondary:o.colors.icon.accentSecondary,iconInfo:o.colors.icon.info,iconSuccess:o.colors.icon.success,iconWarning:o.colors.icon.warning,iconError:o.colors.icon.error,iconOnDark:o.colors.icon.onDark,iconDisabled:o.colors.icon.disabled,iconDisabledOnDark:o.colors.icon.disabledOnDark};exports.apColorsTokens=n;exports.apColorsTokens2026=t;exports.apLightTheme=m;exports.apLightTheme2026=D;exports.cnamColorsTokens=e;exports.cnamContextualTokens=u;exports.cnamDarkTheme=h;exports.cnamLightTheme=k;exports.cnamSemanticTokens=a;exports.paColorsTokens=r;exports.paDarkTheme=y;exports.paLightTheme=f;
|