@cnamts/synapse 1.0.11 → 1.0.13
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-QEfKOz0P.js → DateFilter-_EFzsvvM.js} +1 -1
- package/dist/{NumberFilter-C0h7gVzp.js → NumberFilter-CUxEbKJh.js} +1 -1
- package/dist/{PeriodFilter-8dVrKjju.js → PeriodFilter-D5ueqtKy.js} +1 -1
- package/dist/{SelectFilter-BI3QGbqb.js → SelectFilter-BciBNydy.js} +1 -1
- package/dist/{TextFilter-UOp1hcPp.js → TextFilter-DMN_WAQB.js} +1 -1
- package/dist/components/Amelipro/AmeliproAccordion/AmeliproAccordion.d.ts +7 -3
- package/dist/components/Amelipro/AmeliproAccordion/AmeliproAccordionTemplate/AmeliproAccordionTemplate.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.d.ts +2 -0
- package/dist/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.d.ts +7 -3
- package/dist/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResultTemplate/AmeliproAccordionResultTemplate.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +50 -68
- package/dist/components/Amelipro/AmeliproCard/AmeliproCard.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproIcon/AmeliproIcon.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproIconBtn/AmeliproIconBtn.d.ts +5 -5
- package/dist/components/Amelipro/AmeliproMultipleFoldingCard/AmeliproMultipleFoldingCard.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproNumberedCard/AmeliproNumberedCard.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/AmeliproPostalAddressCityRow.d.ts +24 -32
- package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressField.d.ts +36 -48
- package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +50 -68
- package/dist/components/Amelipro/AmeliproTable/AmeliproTable.d.ts +4 -0
- package/dist/components/Amelipro/AmeliproTable/types.d.ts +11 -0
- package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +50 -68
- package/dist/components/Amelipro/AmeliproTextArea/AmeliproTextArea.d.ts +0 -4
- package/dist/components/Amelipro/AmeliproTextField/AmeliproTextField.d.ts +12 -16
- package/dist/components/Captcha/Captcha.d.ts +68 -0
- package/dist/components/Captcha/CaptchaAlert.d.ts +13 -0
- package/dist/components/Captcha/CaptchaBase.d.ts +55 -0
- package/dist/components/Captcha/CaptchaBtn.d.ts +12 -0
- package/dist/components/Captcha/CaptchaForm.d.ts +16 -0
- package/dist/components/Captcha/CaptchaImg.d.ts +12 -0
- package/dist/components/Captcha/CaptchaInformation.d.ts +20 -0
- package/dist/components/Captcha/captchaApi.d.ts +41 -0
- package/dist/components/Captcha/icons/volumeUp.d.ts +2 -0
- package/dist/components/Captcha/locales.d.ts +35 -0
- package/dist/components/Captcha/types.d.ts +2 -0
- package/dist/components/ChipList/ChipList.d.ts +2 -2
- package/dist/components/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +14 -14
- package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +5 -5
- package/dist/components/Customs/SyForm/SyForm.d.ts +6 -3
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +12 -16
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +96 -68
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +63 -38
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +23 -27
- package/dist/components/DatePicker/composables/useDatePickerViewMode.d.ts +2 -1
- package/dist/components/DatePicker/tests/setup.d.ts +816 -520
- package/dist/components/HeaderToolbar/HeaderToolbar.d.ts +10 -10
- package/dist/components/NirField/NirField.d.ts +31 -34
- package/dist/components/NirField/locales.d.ts +1 -3
- package/dist/components/PasswordField/PasswordField.d.ts +2 -0
- package/dist/components/PeriodField/PeriodField.d.ts +192 -128
- package/dist/components/PhoneField/PhoneField.d.ts +13 -17
- package/dist/components/SearchListField/SearchListField.d.ts +5 -5
- package/dist/components/SyTextArea/SyTextArea.d.ts +0 -4
- package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +5 -8
- package/dist/components/Tables/SyTable/SyTable.d.ts +5 -8
- package/dist/components/Tables/common/SyTablePagination.d.ts +5 -5
- package/dist/components/Tables/common/types.d.ts +4 -0
- package/dist/components/Tables/common/usePagination.d.ts +3 -4
- package/dist/components/Tables/common/useTableCheckbox.d.ts +10 -6
- package/dist/components/index.d.ts +1 -0
- package/dist/composables/validation/useFormValidation.d.ts +10 -0
- package/dist/composables/validation/useValidatable.d.ts +10 -2
- package/dist/design-system-v3.js +126 -125
- package/dist/design-system-v3.umd.cjs +265 -265
- package/dist/main-DISHlqcd.js +34217 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/assets/overrides/_forms.scss +2 -0
- package/src/components/Amelipro/AmeliproAccordion/AmeliproAccordion.stories.ts +7 -4
- package/src/components/Amelipro/AmeliproAccordion/AmeliproAccordion.vue +2 -0
- package/src/components/Amelipro/AmeliproAccordionFrieze/AmeliproAccordionFrieze.vue +1 -0
- package/src/components/Amelipro/AmeliproAccordionFrieze/__tests__/__snapshots__/AmeliproAccordionFrieze.spec.ts.snap +574 -112
- package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.stories.ts +5 -2
- package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.vue +2 -1
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.stories.ts +6 -3
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.vue +2 -0
- package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.stories.ts +5 -2
- package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.vue +2 -1
- package/src/components/Amelipro/AmeliproCheckbox/__tests__/AmeliproCheckbox.spec.ts +175 -0
- package/src/components/Amelipro/AmeliproCheckbox/__tests__/__snapshots__/AmeliproCheckbox.spec.ts.snap +88 -0
- package/src/components/Amelipro/AmeliproCheckboxGroup/__tests__/AmeliproCheckboxGroup.spec.ts +423 -0
- package/src/components/Amelipro/AmeliproCheckboxGroup/{tests → __tests__}/__snapshots__/AmeliproCheckboxGroup.spec.ts.snap +112 -78
- package/src/components/Amelipro/AmeliproChips/__tests__/AmeliproChips.spec.ts +92 -0
- package/src/components/Amelipro/AmeliproChips/__tests__/__snapshots__/AmeliproChips.spec.ts.snap +81 -0
- package/src/components/Amelipro/AmeliproDialog/__tests__/AmeliproDialog.spec.ts +257 -0
- package/src/components/Amelipro/AmeliproDialog/__tests__/__snapshots__/AmeliproDialog.spec.ts.snap +61 -0
- package/src/components/Amelipro/AmeliproDisclosure/__tests__/AmeliproDisclosure.spec.ts +79 -0
- package/src/components/Amelipro/AmeliproDisclosure/__tests__/__snapshots__/AmeliproDisclosure.spec.ts.snap +89 -0
- package/src/components/Amelipro/AmeliproFooter/AmeliproFooter.vue +6 -7
- package/src/components/Amelipro/AmeliproFooter/__tests__/AmeliproFooter.spec.ts +787 -0
- package/src/components/Amelipro/AmeliproFooter/__tests__/__snapshots__/AmeliproFooter.spec.ts.snap +318 -0
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproHeaderBrandSection/__tests__/AmeliproHeaderBrandSection.spec.ts +167 -0
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproHeaderBrandSection/__tests__/__snapshots__/AmeliproHeaderBrandSection.spec.ts.snap +100 -0
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/__tests__/AmeliproHeaderBar.spec.ts +312 -0
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/__tests__/__snapshots__/AmeliproHeaderBar.spec.ts.snap +98 -0
- package/src/components/Amelipro/AmeliproHeader/__tests__/AmeliproHeader.spec.ts +361 -0
- package/src/components/Amelipro/AmeliproHeader/__tests__/__snapshots__/AmeliproHeader.spec.ts.snap +22 -0
- package/src/components/Amelipro/AmeliproMenu/__tests__/AmeliproMenu.spec.ts +168 -0
- package/src/components/Amelipro/AmeliproMenu/__tests__/__snapshots__/AmeliproMenu.spec.ts.snap +295 -0
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproDropdownMenu/AmeliproDropdownMenuBtn/__tests__/AmeliproDropdownMenuBtn.spec.ts +128 -0
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproDropdownMenu/AmeliproDropdownMenuBtn/__tests__/__snapshots__/AmeliproDropdownMenuBtn.spec.ts.snap +67 -0
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproDropdownMenu/__tests__/AmeliproDropdownMenu.spec.ts +266 -0
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproDropdownMenu/__tests__/__snapshots__/AmeliproDropdownMenu.spec.ts.snap +134 -0
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproMessagingMenuBtn/__tests__/AmeliproMessagingMenuBtn.spec.ts +72 -0
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproMessagingMenuBtn/__tests__/__snapshots__/AmeliproMessagingMenuBtn.spec.ts.snap +71 -0
- package/src/components/Amelipro/AmeliproPageLayout/tests/__snapshots__/AmeliproPageLayout.spec.ts.snap +12 -0
- package/src/components/Amelipro/AmeliproTable/AmeliproTable.stories.ts +81 -9
- package/src/components/Amelipro/AmeliproTable/AmeliproTable.vue +139 -61
- package/src/components/Amelipro/AmeliproTable/__tests__/AmeliproTable.spec.ts +10 -0
- package/src/components/Amelipro/AmeliproTable/__tests__/__snapshots__/AmeliproTable.spec.ts.snap +361 -187
- package/src/components/Amelipro/AmeliproTable/types.d.ts +11 -0
- package/src/components/Captcha/Captcha.mdx +72 -0
- package/src/components/Captcha/Captcha.stories.ts +276 -0
- package/src/components/Captcha/Captcha.vue +325 -0
- package/src/components/Captcha/CaptchaAlert.vue +60 -0
- package/src/components/Captcha/CaptchaBase.vue +219 -0
- package/src/components/Captcha/CaptchaBtn.vue +35 -0
- package/src/components/Captcha/CaptchaForm.vue +58 -0
- package/src/components/Captcha/CaptchaImg.vue +41 -0
- package/src/components/Captcha/CaptchaInformation.vue +64 -0
- package/src/components/Captcha/captchaApi.ts +111 -0
- package/src/components/Captcha/icons/volumeUp.vue +11 -0
- package/src/components/Captcha/locales.ts +35 -0
- package/src/components/Captcha/readme.md +5 -0
- package/src/components/Captcha/tests/Captcha.spec.ts +298 -0
- package/src/components/Captcha/tests/__snapshots__/Captcha.spec.ts.snap +716 -0
- package/src/components/Captcha/types.ts +2 -0
- package/src/components/Customs/Selects/SySelect/SySelect.vue +2 -2
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +4 -0
- package/src/components/Customs/SyForm/SyForm.stories.ts +133 -23
- package/src/components/Customs/SyForm/SyForm.vue +17 -1
- package/src/components/Customs/SyTextField/SyTextField.vue +29 -7
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +32 -9
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +154 -18
- package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +2 -2
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +35 -4
- package/src/components/DatePicker/composables/tests/useDatePickerViewMode.spec.ts +107 -72
- package/src/components/DatePicker/composables/tests/useMonthButtonCustomization.spec.ts +6 -6
- package/src/components/DatePicker/composables/useDatePickerViewMode.ts +57 -7
- package/src/components/DatePicker/composables/useMonthButtonCustomization.ts +14 -14
- package/src/components/DatePicker/tests/navigation.regression.spec.ts +74 -0
- package/src/components/DatePicker/tests/navigation.simple.spec.ts +137 -0
- package/src/components/NirField/NirField.stories.ts +85 -2
- package/src/components/NirField/NirField.vue +55 -18
- package/src/components/NirField/locales.ts +1 -3
- package/src/components/PasswordField/PasswordField.vue +39 -7
- package/src/components/PhoneField/PhoneField.vue +43 -10
- package/src/components/RangeField/tests/RangeField.spec.ts +0 -3
- package/src/components/Tables/SyServerTable/SyServerTable.mdx +15 -0
- package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +309 -0
- package/src/components/Tables/SyServerTable/SyServerTable.vue +18 -3
- package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +67 -0
- package/src/components/Tables/SyTable/SyTable.mdx +15 -0
- package/src/components/Tables/SyTable/SyTable.stories.ts +228 -0
- package/src/components/Tables/SyTable/SyTable.vue +18 -3
- package/src/components/Tables/SyTable/tests/SyTable.spec.ts +63 -0
- package/src/components/Tables/common/SyTablePagination.vue +10 -8
- package/src/components/Tables/common/types.ts +4 -0
- package/src/components/Tables/common/usePagination.ts +11 -20
- package/src/components/Tables/common/useTableCheckbox.ts +23 -11
- package/src/components/index.ts +1 -0
- package/src/composables/validation/AvecVosComposants.mdx.old +1 -1
- package/src/composables/validation/FormValidation.stories.ts.old +5 -5
- package/src/composables/validation/useFormValidation.ts +46 -8
- package/src/composables/validation/useValidatable.ts +19 -8
- package/src/stories/Accessibilite/Introduction.mdx +1 -1
- package/src/stories/Demarrer/EnrichirLeDesignSystem.mdx +43 -0
- package/src/stories/Demarrer/EnrichirLeDesignSystem.stories.ts +239 -0
- package/src/stories/Demarrer/SignalerUneAnomalie.mdx +39 -0
- package/src/stories/Demarrer/SignalerUneAnomalie.stories.ts +261 -0
- package/dist/main-DyEOPqqn.js +0 -33329
- package/src/components/Amelipro/AmeliproCheckbox/tests/AmeliproCheckbox.spec.ts +0 -19
- package/src/components/Amelipro/AmeliproCheckbox/tests/__snapshots__/AmeliproCheckbox.spec.ts.snap +0 -40
- package/src/components/Amelipro/AmeliproCheckboxGroup/tests/AmeliproCheckboxGroup.spec.ts +0 -46
- package/src/components/Amelipro/AmeliproChips/tests/AmeliproChips.spec.ts +0 -16
- package/src/components/Amelipro/AmeliproChips/tests/__snapshots__/AmeliproChips.spec.ts.snap +0 -97
- package/src/components/Amelipro/AmeliproDialog/tests/AmeliproDialog.spec.ts +0 -24
- package/src/components/Amelipro/AmeliproDialog/tests/__snapshots__/AmeliproDialog.spec.ts.snap +0 -134
- package/src/components/Amelipro/AmeliproDisclosure/tests/AmeliproDisclosure.spec.ts +0 -19
- package/src/components/Amelipro/AmeliproDisclosure/tests/__snapshots__/AmeliproDisclosure.spec.ts.snap +0 -104
- package/src/components/Amelipro/AmeliproFooter/tests/AmeliproFooter.spec.ts +0 -15
- package/src/components/Amelipro/AmeliproFooter/tests/__snapshots__/AmeliproFooter.spec.ts.snap +0 -432
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproHeaderBrandSection/tests/AmeliproHeaderBrandSection.spec.ts +0 -15
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproHeaderBrandSection/tests/__snapshots__/AmeliproHeaderBrandSection.spec.ts.snap +0 -131
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/tests/AmeliproHeaderBar.spec.ts +0 -15
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/tests/__snapshots__/AmeliproHeaderBar.spec.ts.snap +0 -172
- package/src/components/Amelipro/AmeliproHeader/tests/AmeliproHeader.spec.ts +0 -159
- package/src/components/Amelipro/AmeliproHeader/tests/__snapshots__/AmeliproHeader.spec.ts.snap +0 -841
- package/src/components/Amelipro/AmeliproMenu/tests/AmeliproMenu.spec.ts +0 -85
- package/src/components/Amelipro/AmeliproMenu/tests/__snapshots__/AmeliproMenu.spec.ts.snap +0 -537
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproDropdownMenu/AmeliproDropdownMenuBtn/tests/AmeliproDropdownMenuBtn.spec.ts +0 -16
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproDropdownMenu/AmeliproDropdownMenuBtn/tests/__snapshots__/AmeliproDropdownMenuBtn.spec.ts.snap +0 -56
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproDropdownMenu/tests/AmeliproDropdownMenu.spec.ts +0 -28
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproDropdownMenu/tests/__snapshots__/AmeliproDropdownMenu.spec.ts.snap +0 -300
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproMessagingMenuBtn/tests/AmeliproMessagingMenuBtn.spec.ts +0 -16
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproMessagingMenuBtn/tests/__snapshots__/AmeliproMessagingMenuBtn.spec.ts.snap +0 -89
- package/src/components/BackBtn/tests/__snapshots__/BackBtn.spec.ts.snap +0 -45
- package/src/components/RangeField/tests/__snapshots__/RangeField.spec.ts.snap +0 -1270
- package/src/stories/Demarrer/CreerUneIssue.mdx +0 -67
- package/src/stories/Demarrer/components.stories.ts +0 -25
|
@@ -189,7 +189,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
189
189
|
clearable: boolean;
|
|
190
190
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
191
191
|
active: boolean;
|
|
192
|
-
details: boolean;
|
|
193
192
|
dirty: boolean;
|
|
194
193
|
disabled: boolean;
|
|
195
194
|
glow: boolean;
|
|
@@ -578,7 +577,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
578
577
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
579
578
|
active: boolean;
|
|
580
579
|
centerAffix: boolean;
|
|
581
|
-
details: boolean;
|
|
582
580
|
dirty: boolean;
|
|
583
581
|
disabled: boolean;
|
|
584
582
|
glow: boolean;
|
|
@@ -653,7 +651,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
653
651
|
clearable: boolean;
|
|
654
652
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
655
653
|
active: boolean;
|
|
656
|
-
details: boolean;
|
|
657
654
|
dirty: boolean;
|
|
658
655
|
disabled: boolean;
|
|
659
656
|
glow: boolean;
|
|
@@ -1036,7 +1033,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1036
1033
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
1037
1034
|
active: boolean;
|
|
1038
1035
|
centerAffix: boolean;
|
|
1039
|
-
details: boolean;
|
|
1040
1036
|
dirty: boolean;
|
|
1041
1037
|
disabled: boolean;
|
|
1042
1038
|
glow: boolean;
|
|
@@ -281,7 +281,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
281
281
|
clearable: boolean;
|
|
282
282
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
283
283
|
active: boolean;
|
|
284
|
-
details: boolean;
|
|
285
284
|
dirty: boolean;
|
|
286
285
|
disabled: boolean;
|
|
287
286
|
glow: boolean;
|
|
@@ -650,7 +649,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
650
649
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
651
650
|
active: boolean;
|
|
652
651
|
centerAffix: boolean;
|
|
653
|
-
details: boolean;
|
|
654
652
|
dirty: boolean;
|
|
655
653
|
disabled: boolean;
|
|
656
654
|
glow: boolean;
|
|
@@ -660,6 +658,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
660
658
|
reverse: boolean;
|
|
661
659
|
singleLine: boolean;
|
|
662
660
|
variant: "outlined" | "plain" | "underlined" | "filled" | "solo" | "solo-inverted" | "solo-filled";
|
|
661
|
+
details: boolean;
|
|
663
662
|
}> & Omit<{
|
|
664
663
|
theme?: string | undefined;
|
|
665
664
|
class?: any;
|
|
@@ -677,7 +676,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
677
676
|
centerAffix?: boolean | undefined;
|
|
678
677
|
color?: string | undefined;
|
|
679
678
|
baseColor?: string | undefined;
|
|
680
|
-
details: boolean;
|
|
681
679
|
dirty: boolean;
|
|
682
680
|
disabled: boolean;
|
|
683
681
|
glow: boolean;
|
|
@@ -694,6 +692,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
694
692
|
"onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined;
|
|
695
693
|
"onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined;
|
|
696
694
|
id?: string | undefined;
|
|
695
|
+
details: boolean;
|
|
697
696
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "error" | "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "centerAffix" | "focused" | "glow" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine">;
|
|
698
697
|
$attrs: {
|
|
699
698
|
[x: string]: unknown;
|
|
@@ -738,7 +737,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
738
737
|
clearable: boolean;
|
|
739
738
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
740
739
|
active: boolean;
|
|
741
|
-
details: boolean;
|
|
742
740
|
dirty: boolean;
|
|
743
741
|
disabled: boolean;
|
|
744
742
|
glow: boolean;
|
|
@@ -748,6 +746,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
748
746
|
reverse: boolean;
|
|
749
747
|
singleLine: boolean;
|
|
750
748
|
variant: "outlined" | "plain" | "underlined" | "filled" | "solo" | "solo-inverted" | "solo-filled";
|
|
749
|
+
details: boolean;
|
|
751
750
|
} & {
|
|
752
751
|
theme?: string | undefined;
|
|
753
752
|
class?: any;
|
|
@@ -783,7 +782,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
783
782
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
784
783
|
active: boolean;
|
|
785
784
|
centerAffix: boolean;
|
|
786
|
-
details: boolean;
|
|
787
785
|
dirty: boolean;
|
|
788
786
|
disabled: boolean;
|
|
789
787
|
glow: boolean;
|
|
@@ -793,6 +791,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
793
791
|
reverse: boolean;
|
|
794
792
|
singleLine: boolean;
|
|
795
793
|
variant: "outlined" | "plain" | "underlined" | "filled" | "solo" | "solo-inverted" | "solo-filled";
|
|
794
|
+
details: boolean;
|
|
796
795
|
}, {}, string, import('vue').SlotsType<Partial<{
|
|
797
796
|
clear: (arg: import('vuetify/lib/components/VField/VField.mjs').DefaultInputSlot & {
|
|
798
797
|
props: Record<string, any>;
|
|
@@ -846,7 +845,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
846
845
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
847
846
|
active: boolean;
|
|
848
847
|
centerAffix: boolean;
|
|
849
|
-
details: boolean;
|
|
850
848
|
dirty: boolean;
|
|
851
849
|
disabled: boolean;
|
|
852
850
|
glow: boolean;
|
|
@@ -856,6 +854,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
856
854
|
reverse: boolean;
|
|
857
855
|
singleLine: boolean;
|
|
858
856
|
variant: "outlined" | "plain" | "underlined" | "filled" | "solo" | "solo-inverted" | "solo-filled";
|
|
857
|
+
details: boolean;
|
|
859
858
|
}> & Omit<{
|
|
860
859
|
style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
861
860
|
focused: boolean;
|
|
@@ -863,7 +862,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
863
862
|
clearable: boolean;
|
|
864
863
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
865
864
|
active: boolean;
|
|
866
|
-
details: boolean;
|
|
867
865
|
dirty: boolean;
|
|
868
866
|
disabled: boolean;
|
|
869
867
|
glow: boolean;
|
|
@@ -873,6 +871,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
873
871
|
reverse: boolean;
|
|
874
872
|
singleLine: boolean;
|
|
875
873
|
variant: "outlined" | "plain" | "underlined" | "filled" | "solo" | "solo-inverted" | "solo-filled";
|
|
874
|
+
details: boolean;
|
|
876
875
|
} & {
|
|
877
876
|
theme?: string | undefined;
|
|
878
877
|
class?: any;
|
|
@@ -933,7 +932,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
933
932
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
934
933
|
active: boolean;
|
|
935
934
|
centerAffix: boolean;
|
|
936
|
-
details: boolean;
|
|
937
935
|
dirty: boolean;
|
|
938
936
|
disabled: boolean;
|
|
939
937
|
glow: boolean;
|
|
@@ -1009,7 +1007,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1009
1007
|
clearable: boolean;
|
|
1010
1008
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
1011
1009
|
active: boolean;
|
|
1012
|
-
details: boolean;
|
|
1013
1010
|
dirty: boolean;
|
|
1014
1011
|
disabled: boolean;
|
|
1015
1012
|
glow: boolean;
|
|
@@ -1378,7 +1375,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1378
1375
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
1379
1376
|
active: boolean;
|
|
1380
1377
|
centerAffix: boolean;
|
|
1381
|
-
details: boolean;
|
|
1382
1378
|
dirty: boolean;
|
|
1383
1379
|
disabled: boolean;
|
|
1384
1380
|
glow: boolean;
|
|
@@ -1388,6 +1384,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1388
1384
|
reverse: boolean;
|
|
1389
1385
|
singleLine: boolean;
|
|
1390
1386
|
variant: "outlined" | "plain" | "underlined" | "filled" | "solo" | "solo-inverted" | "solo-filled";
|
|
1387
|
+
details: boolean;
|
|
1391
1388
|
}> & Omit<{
|
|
1392
1389
|
theme?: string | undefined;
|
|
1393
1390
|
class?: any;
|
|
@@ -1405,7 +1402,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1405
1402
|
centerAffix?: boolean | undefined;
|
|
1406
1403
|
color?: string | undefined;
|
|
1407
1404
|
baseColor?: string | undefined;
|
|
1408
|
-
details: boolean;
|
|
1409
1405
|
dirty: boolean;
|
|
1410
1406
|
disabled: boolean;
|
|
1411
1407
|
glow: boolean;
|
|
@@ -1422,6 +1418,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1422
1418
|
"onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined;
|
|
1423
1419
|
"onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined;
|
|
1424
1420
|
id?: string | undefined;
|
|
1421
|
+
details: boolean;
|
|
1425
1422
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "error" | "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "centerAffix" | "focused" | "glow" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine">;
|
|
1426
1423
|
$attrs: {
|
|
1427
1424
|
[x: string]: unknown;
|
|
@@ -1466,7 +1463,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1466
1463
|
clearable: boolean;
|
|
1467
1464
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
1468
1465
|
active: boolean;
|
|
1469
|
-
details: boolean;
|
|
1470
1466
|
dirty: boolean;
|
|
1471
1467
|
disabled: boolean;
|
|
1472
1468
|
glow: boolean;
|
|
@@ -1476,6 +1472,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1476
1472
|
reverse: boolean;
|
|
1477
1473
|
singleLine: boolean;
|
|
1478
1474
|
variant: "outlined" | "plain" | "underlined" | "filled" | "solo" | "solo-inverted" | "solo-filled";
|
|
1475
|
+
details: boolean;
|
|
1479
1476
|
} & {
|
|
1480
1477
|
theme?: string | undefined;
|
|
1481
1478
|
class?: any;
|
|
@@ -1511,7 +1508,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1511
1508
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
1512
1509
|
active: boolean;
|
|
1513
1510
|
centerAffix: boolean;
|
|
1514
|
-
details: boolean;
|
|
1515
1511
|
dirty: boolean;
|
|
1516
1512
|
disabled: boolean;
|
|
1517
1513
|
glow: boolean;
|
|
@@ -1521,6 +1517,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1521
1517
|
reverse: boolean;
|
|
1522
1518
|
singleLine: boolean;
|
|
1523
1519
|
variant: "outlined" | "plain" | "underlined" | "filled" | "solo" | "solo-inverted" | "solo-filled";
|
|
1520
|
+
details: boolean;
|
|
1524
1521
|
}, {}, string, import('vue').SlotsType<Partial<{
|
|
1525
1522
|
clear: (arg: import('vuetify/lib/components/VField/VField.mjs').DefaultInputSlot & {
|
|
1526
1523
|
props: Record<string, any>;
|
|
@@ -1574,7 +1571,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1574
1571
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
1575
1572
|
active: boolean;
|
|
1576
1573
|
centerAffix: boolean;
|
|
1577
|
-
details: boolean;
|
|
1578
1574
|
dirty: boolean;
|
|
1579
1575
|
disabled: boolean;
|
|
1580
1576
|
glow: boolean;
|
|
@@ -1584,6 +1580,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1584
1580
|
reverse: boolean;
|
|
1585
1581
|
singleLine: boolean;
|
|
1586
1582
|
variant: "outlined" | "plain" | "underlined" | "filled" | "solo" | "solo-inverted" | "solo-filled";
|
|
1583
|
+
details: boolean;
|
|
1587
1584
|
}> & Omit<{
|
|
1588
1585
|
style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
1589
1586
|
focused: boolean;
|
|
@@ -1591,7 +1588,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1591
1588
|
clearable: boolean;
|
|
1592
1589
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
1593
1590
|
active: boolean;
|
|
1594
|
-
details: boolean;
|
|
1595
1591
|
dirty: boolean;
|
|
1596
1592
|
disabled: boolean;
|
|
1597
1593
|
glow: boolean;
|
|
@@ -1601,6 +1597,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1601
1597
|
reverse: boolean;
|
|
1602
1598
|
singleLine: boolean;
|
|
1603
1599
|
variant: "outlined" | "plain" | "underlined" | "filled" | "solo" | "solo-inverted" | "solo-filled";
|
|
1600
|
+
details: boolean;
|
|
1604
1601
|
} & {
|
|
1605
1602
|
theme?: string | undefined;
|
|
1606
1603
|
class?: any;
|
|
@@ -1656,7 +1653,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
1656
1653
|
clearIcon: import('vuetify/lib/composables/icons.mjs').IconValue;
|
|
1657
1654
|
active: boolean;
|
|
1658
1655
|
centerAffix: boolean;
|
|
1659
|
-
details: boolean;
|
|
1660
1656
|
dirty: boolean;
|
|
1661
1657
|
disabled: boolean;
|
|
1662
1658
|
glow: boolean;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { locales as defaultLocales } from './locales';
|
|
2
|
+
import { CaptchaType } from './types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
urlCreate: string;
|
|
5
|
+
urlGetImage: string;
|
|
6
|
+
urlGetAudio: string;
|
|
7
|
+
modelValue?: string | undefined;
|
|
8
|
+
errorMessage?: string;
|
|
9
|
+
type?: CaptchaType;
|
|
10
|
+
tagTitle?: string;
|
|
11
|
+
helpDesk?: string | false;
|
|
12
|
+
locales?: typeof defaultLocales;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
"update:modelValue": (modelValue: string | null) => any;
|
|
16
|
+
imageError: () => any;
|
|
17
|
+
"update:type": (type: CaptchaType) => any;
|
|
18
|
+
audioError: () => any;
|
|
19
|
+
creationError: () => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((modelValue: string | null) => any) | undefined;
|
|
22
|
+
onImageError?: (() => any) | undefined;
|
|
23
|
+
"onUpdate:type"?: ((type: CaptchaType) => any) | undefined;
|
|
24
|
+
onAudioError?: (() => any) | undefined;
|
|
25
|
+
onCreationError?: (() => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
type: CaptchaType;
|
|
28
|
+
locales: {
|
|
29
|
+
hardToRead: string;
|
|
30
|
+
image: {
|
|
31
|
+
new: string;
|
|
32
|
+
change: string;
|
|
33
|
+
textfieldLabel: string;
|
|
34
|
+
};
|
|
35
|
+
audio: {
|
|
36
|
+
new: string;
|
|
37
|
+
change: string;
|
|
38
|
+
textfieldLabel: string;
|
|
39
|
+
loading: string;
|
|
40
|
+
};
|
|
41
|
+
choiceCaptcha: {
|
|
42
|
+
image: string;
|
|
43
|
+
audio: string;
|
|
44
|
+
};
|
|
45
|
+
helpDesk: (phoneNumber: string) => string;
|
|
46
|
+
pause: string;
|
|
47
|
+
play: string;
|
|
48
|
+
renew: string;
|
|
49
|
+
validate: string;
|
|
50
|
+
captchaImgLoading: string;
|
|
51
|
+
captchaImgAlt: string;
|
|
52
|
+
information: {
|
|
53
|
+
securityCheck: string;
|
|
54
|
+
btnAriaLabel: string;
|
|
55
|
+
tooltip: string;
|
|
56
|
+
imageInstruction: string;
|
|
57
|
+
audioInstruction: string;
|
|
58
|
+
};
|
|
59
|
+
defaultErrorMessage: string;
|
|
60
|
+
required: string;
|
|
61
|
+
choiceCaptchaTitle: string;
|
|
62
|
+
};
|
|
63
|
+
modelValue: string;
|
|
64
|
+
errorMessage: string;
|
|
65
|
+
tagTitle: string;
|
|
66
|
+
helpDesk: string | false;
|
|
67
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
68
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { locales as defaultLocales } from './locales';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
locales: typeof defaultLocales;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { CaptchaType, StateType } from './types';
|
|
2
|
+
import { locales as defaultLocales } from './locales';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
modelValue: CaptchaType;
|
|
5
|
+
urlCreate: string;
|
|
6
|
+
urlGetImage: string;
|
|
7
|
+
urlGetAudio: string;
|
|
8
|
+
locales: typeof defaultLocales;
|
|
9
|
+
};
|
|
10
|
+
declare function chooseImage(): void;
|
|
11
|
+
declare function chooseAudio(): void;
|
|
12
|
+
declare function toggleAudio(): void;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
+
"update:modelValue": (modelValue: CaptchaType) => any;
|
|
15
|
+
"create-captcha:init": () => any;
|
|
16
|
+
"create-captcha:error": (error: Error) => any;
|
|
17
|
+
"create-captcha:success": (id: string | null) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((modelValue: CaptchaType) => any) | undefined;
|
|
20
|
+
"onCreate-captcha:init"?: (() => any) | undefined;
|
|
21
|
+
"onCreate-captcha:error"?: ((error: Error) => any) | undefined;
|
|
22
|
+
"onCreate-captcha:success"?: ((id: string | null) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
24
|
+
image?(_: {
|
|
25
|
+
chooseImage: typeof chooseImage;
|
|
26
|
+
chooseAudio: typeof chooseAudio;
|
|
27
|
+
url: string | null;
|
|
28
|
+
isError: boolean;
|
|
29
|
+
errorMessage: string | null;
|
|
30
|
+
state: StateType;
|
|
31
|
+
}): any;
|
|
32
|
+
audio?(_: {
|
|
33
|
+
chooseImage: typeof chooseImage;
|
|
34
|
+
chooseAudio: typeof chooseAudio;
|
|
35
|
+
toggleAudio: typeof toggleAudio;
|
|
36
|
+
url: string | null;
|
|
37
|
+
isError: boolean;
|
|
38
|
+
errorMessage: string | null;
|
|
39
|
+
isPlaying: boolean;
|
|
40
|
+
state: StateType;
|
|
41
|
+
}): any;
|
|
42
|
+
default?(_: {
|
|
43
|
+
chooseImage: typeof chooseImage;
|
|
44
|
+
chooseAudio: typeof chooseAudio;
|
|
45
|
+
isError: boolean;
|
|
46
|
+
errorMessage: string | null;
|
|
47
|
+
state: StateType;
|
|
48
|
+
}): any;
|
|
49
|
+
}>;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
prependIcon?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>, {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { locales as defaultLocales } from './locales';
|
|
2
|
+
interface Props {
|
|
3
|
+
label: string;
|
|
4
|
+
modelValue?: string | null;
|
|
5
|
+
state?: string | null;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
errors: string[] | undefined;
|
|
8
|
+
success: boolean;
|
|
9
|
+
locales: typeof defaultLocales;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (...args: any[]) => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { locales as defaultLocales } from './locales';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
state: string;
|
|
4
|
+
src?: string | null;
|
|
5
|
+
locales: typeof defaultLocales;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
imageError: () => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onImageError?: (() => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CaptchaType } from './types';
|
|
2
|
+
import { locales as defaultLocales } from './locales';
|
|
3
|
+
interface Props {
|
|
4
|
+
type?: CaptchaType | string;
|
|
5
|
+
tagTitle?: string;
|
|
6
|
+
locales: typeof defaultLocales;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
9
|
+
type: string;
|
|
10
|
+
tagTitle: string;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
12
|
+
error?(_: {}): any;
|
|
13
|
+
error?(_: {}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
type SuccessCallback = (captchaId: string) => void;
|
|
2
|
+
type ErrorCallback = (error: Error) => void;
|
|
3
|
+
/**
|
|
4
|
+
* Création du captcha auprès d'OBS
|
|
5
|
+
* @param urlCreate - URL de création
|
|
6
|
+
* @param body - Corps de la requête (peut être un Document ou un BodyInit)
|
|
7
|
+
* @param cbsuccess - Fonction à appeler en cas de succès
|
|
8
|
+
* @param cberror - Fonction à appeler en cas d'erreur
|
|
9
|
+
*/
|
|
10
|
+
export declare function createCaptcha(urlCreate: string, body: string | null, cbsuccess: SuccessCallback, cberror: ErrorCallback): void;
|
|
11
|
+
/**
|
|
12
|
+
* Création d'un captcha image auprès d'OBS avec locale par défaut
|
|
13
|
+
* @param urlCreate - URL de création
|
|
14
|
+
* @param cbsuccess - Callback de succès
|
|
15
|
+
* @param cberror - Callback d'erreur
|
|
16
|
+
* @param locale - Locale (langue)
|
|
17
|
+
*/
|
|
18
|
+
export declare function createCaptchaImage(urlCreate: string, cbsuccess: SuccessCallback, cberror: ErrorCallback, locale?: string): void;
|
|
19
|
+
/**
|
|
20
|
+
* Création d'un captcha audio auprès d'OBS
|
|
21
|
+
* @param urlCreate - URL de création
|
|
22
|
+
* @param cbsuccess - Callback de succès
|
|
23
|
+
* @param cberror - Callback d'erreur
|
|
24
|
+
* @param locale - Locale (langue), "default" si non indiqué
|
|
25
|
+
*/
|
|
26
|
+
export declare function createCaptchaAudio(urlCreate: string, cbsuccess: SuccessCallback, cberror: ErrorCallback, locale?: string): void;
|
|
27
|
+
/**
|
|
28
|
+
* Génère l'URL de récupération de l'image du captcha
|
|
29
|
+
* @param urlGetImage - URL avec le placeholder CAPTCHAID
|
|
30
|
+
* @param captchaId - Identifiant du captcha
|
|
31
|
+
* @returns L'URL avec l'identifiant inséré
|
|
32
|
+
*/
|
|
33
|
+
export declare function getCaptchaImageUrl(urlGetImage: string, captchaId: string): string;
|
|
34
|
+
/**
|
|
35
|
+
* Génère l'URL de récupération de l'audio du captcha
|
|
36
|
+
* @param urlGetAudio - URL avec le placeholder CAPTCHAID
|
|
37
|
+
* @param captchaId - Identifiant du captcha
|
|
38
|
+
* @returns L'URL avec l'identifiant inséré
|
|
39
|
+
*/
|
|
40
|
+
export declare function getCaptchaAudioUrl(urlGetAudio: string, captchaId: string): string;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const locales: {
|
|
2
|
+
hardToRead: string;
|
|
3
|
+
image: {
|
|
4
|
+
new: string;
|
|
5
|
+
change: string;
|
|
6
|
+
textfieldLabel: string;
|
|
7
|
+
};
|
|
8
|
+
audio: {
|
|
9
|
+
new: string;
|
|
10
|
+
change: string;
|
|
11
|
+
textfieldLabel: string;
|
|
12
|
+
loading: string;
|
|
13
|
+
};
|
|
14
|
+
choiceCaptcha: {
|
|
15
|
+
image: string;
|
|
16
|
+
audio: string;
|
|
17
|
+
};
|
|
18
|
+
helpDesk: (phoneNumber: string) => string;
|
|
19
|
+
pause: string;
|
|
20
|
+
play: string;
|
|
21
|
+
renew: string;
|
|
22
|
+
validate: string;
|
|
23
|
+
captchaImgLoading: string;
|
|
24
|
+
captchaImgAlt: string;
|
|
25
|
+
information: {
|
|
26
|
+
securityCheck: string;
|
|
27
|
+
btnAriaLabel: string;
|
|
28
|
+
tooltip: string;
|
|
29
|
+
imageInstruction: string;
|
|
30
|
+
audioInstruction: string;
|
|
31
|
+
};
|
|
32
|
+
defaultErrorMessage: string;
|
|
33
|
+
required: string;
|
|
34
|
+
choiceCaptchaTitle: string;
|
|
35
|
+
};
|
|
@@ -21,11 +21,11 @@ export interface Props extends CustomizableOptions {
|
|
|
21
21
|
}
|
|
22
22
|
type __VLS_Props = Props & CustomizableOptions;
|
|
23
23
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
24
|
-
reset: () => any;
|
|
25
24
|
remove: (item: ChipItem) => any;
|
|
25
|
+
reset: () => any;
|
|
26
26
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
|
-
onReset?: (() => any) | undefined;
|
|
28
27
|
onRemove?: ((item: ChipItem) => any) | undefined;
|
|
28
|
+
onReset?: (() => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
readonly: boolean;
|
|
31
31
|
vuetifyOptions: {
|