@cnamts/synapse 1.0.1 → 1.0.2
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/README.md +1 -1
- package/dist/{DateFilter-BmRuzQ9Z.js → DateFilter-YWOTbfeL.js} +1 -1
- package/dist/{NumberFilter-CnIPDHqx.js → NumberFilter-DMmMgALM.js} +1 -1
- package/dist/{PeriodFilter-CZwZ8CnQ.js → PeriodFilter-Bok5BHcn.js} +1 -1
- package/dist/SelectFilter-BKud2WhN.js +136 -0
- package/dist/{TextFilter-DTxZHJwX.js → TextFilter-DvMf2thH.js} +1 -1
- package/dist/components/Accordion/Accordion.d.ts +2 -1
- package/dist/components/Accordion/composables/useAccordionGroupCommunication.d.ts +5 -0
- package/dist/components/Accordion/composables/useAccordionKeyboardNavigation.d.ts +12 -0
- package/dist/components/Accordion/composables/useAccordionState.d.ts +13 -0
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +85 -0
- package/dist/components/Customs/SyInputSelect/SyInputSelect.d.ts +2 -0
- package/dist/components/Customs/SySelect/SySelect.d.ts +33 -13
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +2 -2
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +1585 -1452
- package/dist/components/DatePicker/DatePicker/DatePicker.d.ts +16 -2
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +3 -1
- package/dist/components/DatePicker/composables/index.d.ts +2 -0
- package/dist/components/DatePicker/composables/useAsteriskDisplay.d.ts +14 -0
- package/dist/components/DatePicker/composables/useDateAutoClamp.d.ts +16 -0
- package/dist/components/DatePicker/composables/useDateRangeInput.d.ts +1 -1
- package/dist/components/DatePicker/composables/useDisplayedDateString.d.ts +3 -0
- package/dist/components/DatePicker/composables/useInputBlurHandler.d.ts +1 -0
- package/dist/components/DatePicker/composables/useMonthButtonCustomization.d.ts +5 -2
- package/dist/components/NirField/NirField.d.ts +7 -3
- package/dist/components/NirField/nirValidation.d.ts +1 -1
- package/dist/components/PasswordField/PasswordField.d.ts +2 -0
- package/dist/components/PeriodField/PeriodField.d.ts +52 -8
- package/dist/components/PhoneField/PhoneField.d.ts +2 -2
- package/dist/components/RangeField/RangeField.d.ts +2 -0
- package/dist/components/SearchListField/SearchListField.d.ts +9 -0
- package/dist/components/SyTextArea/SyTextArea.d.ts +2 -0
- package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +14 -9
- package/dist/components/Tables/SyTable/SyTable.d.ts +12 -7
- package/dist/components/Tables/common/SyTablePagination.d.ts +1636 -0
- package/dist/components/Tables/common/TableHeader.d.ts +2 -20
- package/dist/components/Tables/common/filters/SelectFilter.d.ts +5 -5
- package/dist/components/Tables/common/filters/getFilterComponent.d.ts +1 -0
- package/dist/components/Tables/common/filters/locales.d.ts +4 -0
- package/dist/components/Tables/common/filters/logics/date.d.ts +1 -0
- package/dist/components/Tables/common/filters/logics/number.d.ts +1 -0
- package/dist/components/Tables/common/filters/logics/period.d.ts +1 -0
- package/dist/components/Tables/common/filters/logics/select.d.ts +1 -0
- package/dist/components/Tables/common/filters/logics/text.d.ts +1 -0
- package/dist/components/Tables/common/locales.d.ts +21 -0
- package/dist/components/Tables/common/organizeColumns/OrganizeColumns.d.ts +267 -0
- package/dist/components/Tables/common/organizeColumns/sortHeaders.d.ts +2 -0
- package/dist/components/Tables/common/tableFilterUtils.d.ts +1 -0
- package/dist/components/Tables/common/tableStorageUtils.d.ts +41 -1
- package/dist/components/Tables/common/tableUtils.d.ts +42 -5
- package/dist/components/Tables/common/types.d.ts +19 -8
- package/dist/components/Tables/common/usePagination.d.ts +22 -0
- package/dist/components/Tables/common/useTableCheckbox.d.ts +20 -0
- package/dist/components/Tables/common/useTableHeaders.d.ts +76 -0
- package/dist/components/Tables/common/useTableItems.d.ts +24 -0
- package/dist/components/Tables/common/useTableOptions.d.ts +18 -0
- package/dist/components/ToolbarContainer/ToolbarContainer.d.ts +11 -0
- package/dist/components/UserMenuBtn/UserMenuBtn.d.ts +9 -2
- package/dist/components/index.d.ts +8 -6
- package/dist/design-system-v3.js +58 -56
- package/dist/design-system-v3.umd.cjs +22 -22
- package/dist/main-Cx8qG7YR.js +16344 -0
- package/dist/stories/Accessibilite/Vuetify/VuetifyItems.d.ts +14 -2
- package/dist/stories/DesignTokens/StylesTypographiques.stories.new.d.ts +8 -0
- package/dist/stories/DesignTokens/TypographyDisplay.d.ts +28 -0
- package/dist/stories/DesignTokens/vue-shims.d.ts +6 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/common/imgs/accessibility-svgrepo-com.svg +4 -0
- package/src/components/Accordion/Accessibilite/AccessibilityGuide.mdx +249 -0
- package/src/components/Accordion/Accordion.vue +48 -76
- package/src/components/Accordion/composables/__tests__/useAccordionGroupCommunication.spec.ts +146 -0
- package/src/components/Accordion/composables/__tests__/useAccordionKeyboardNavigation.spec.ts +209 -0
- package/src/components/Accordion/composables/__tests__/useAccordionState.spec.ts +144 -0
- package/src/components/Accordion/composables/useAccordionGroupCommunication.ts +52 -0
- package/src/components/Accordion/composables/useAccordionKeyboardNavigation.ts +111 -0
- package/src/components/Accordion/composables/useAccordionState.ts +59 -0
- package/src/components/Accordion/tests/__snapshots__/accordion.spec.ts.snap +3 -0
- package/src/components/Customs/SyCheckbox/Accessibilite.mdx +303 -0
- package/src/components/Customs/SyCheckbox/SyCheckbox.mdx +50 -0
- package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +630 -0
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +326 -0
- package/src/components/Customs/SyCheckbox/tests/SyCheckbox.spec.ts +201 -0
- package/src/components/Customs/SyInputSelect/SyInputSelect.stories.ts +1 -0
- package/src/components/Customs/SyInputSelect/SyInputSelect.vue +8 -1
- package/src/components/Customs/SySelect/SySelect.stories.ts +160 -0
- package/src/components/Customs/SySelect/SySelect.vue +291 -32
- package/src/components/Customs/SySelect/tests/SySelect.spec.ts +230 -0
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +3 -2
- package/src/components/Customs/SyTextField/SyTextField.vue +19 -8
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +241 -31
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +305 -57
- package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.events.spec.ts +161 -0
- package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +4 -2
- package/src/components/DatePicker/DatePicker/DatePicker.stories.ts +259 -137
- package/src/components/DatePicker/DatePicker/DatePicker.vue +153 -25
- package/src/components/DatePicker/DatePicker/tests/DatePicker.events.spec.ts +189 -0
- package/src/components/DatePicker/DatePicker/{DatePicker.spec.ts → tests/DatePicker.spec.ts} +1 -15
- package/src/components/DatePicker/DateTextInput/DateRange.stories.ts +24 -14
- package/src/components/DatePicker/DateTextInput/DateTextInput.events.spec.ts +148 -0
- package/src/components/DatePicker/DateTextInput/DateTextInput.spec.ts +3 -1
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +200 -5
- package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +241 -31
- package/src/components/DatePicker/composables/index.ts +2 -0
- package/src/components/DatePicker/composables/tests/useDateAutoClamp.spec.ts +190 -0
- package/src/components/DatePicker/composables/tests/useInputBlurHandler.spec.ts +182 -4
- package/src/components/DatePicker/composables/tests/useMonthButtonCustomization.spec.ts +105 -80
- package/src/components/DatePicker/composables/useAsteriskDisplay.ts +31 -0
- package/src/components/DatePicker/composables/useDateAutoClamp.ts +136 -0
- package/src/components/DatePicker/composables/useDateRangeInput.ts +21 -18
- package/src/components/DatePicker/composables/useDisplayedDateString.ts +13 -1
- package/src/components/DatePicker/composables/useInputBlurHandler.ts +84 -20
- package/src/components/DatePicker/composables/useMonthButtonCustomization.ts +149 -51
- package/src/components/DiacriticPicker/DiacriticPicker.stories.ts +10 -0
- package/src/components/ErrorPage/Accessibilite.stories.ts +8 -0
- package/src/components/ErrorPage/ErrorPage.vue +12 -6
- package/src/components/ErrorPage/tests/__snapshots__/ErrorPage.spec.ts.snap +4 -4
- package/src/components/NirField/NirField.mdx +22 -9
- package/src/components/NirField/NirField.stories.ts +26 -2
- package/src/components/NirField/NirField.vue +209 -22
- package/src/components/NirField/nirValidation.ts +17 -3
- package/src/components/NirField/tests/NirField.spec.ts +2 -2
- package/src/components/NotFoundPage/Accessibilite.stories.ts +8 -0
- package/src/components/NotFoundPage/NotFoundPage.vue +2 -1
- package/src/components/NotFoundPage/tests/__snapshots__/NotFoundPage.spec.ts.snap +8 -6
- package/src/components/PaginatedTable/PaginatedTable.mdx +2 -0
- package/src/components/PasswordField/PasswordField.stories.ts +4 -0
- package/src/components/PasswordField/PasswordField.vue +3 -0
- package/src/components/PeriodField/PeriodField.vue +2 -0
- package/src/components/PhoneField/PhoneField.stories.ts +15 -15
- package/src/components/PhoneField/PhoneField.vue +1 -1
- package/src/components/RangeField/RangeField.stories.ts +9 -0
- package/src/components/RangeField/RangeField.vue +4 -0
- package/src/components/RangeField/tests/__snapshots__/RangeField.spec.ts.snap +12 -0
- package/src/components/SearchListField/SearchListField.vue +5 -0
- package/src/components/SyTextArea/SyTextArea.vue +3 -0
- package/src/components/SyTextArea/tests/SyTextArea.spec.ts +0 -1
- package/src/components/Tables/SyServerTable/FilterRules.stories.ts +632 -15
- package/src/components/Tables/SyServerTable/SyServerTable.mdx +15 -5
- package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +2844 -1377
- package/src/components/Tables/SyServerTable/SyServerTable.vue +155 -66
- package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +256 -4
- package/src/components/Tables/SyTable/FilterRules.stories.ts +183 -0
- package/src/components/Tables/SyTable/SyTable.mdx +14 -4
- package/src/components/Tables/SyTable/SyTable.stories.ts +1265 -477
- package/src/components/Tables/SyTable/SyTable.vue +152 -72
- package/src/components/Tables/SyTable/tests/SyTable.spec.ts +366 -4
- package/src/components/Tables/common/SyTableFilter.vue +3 -56
- package/src/components/Tables/common/SyTablePagination.vue +375 -0
- package/src/components/Tables/common/TableHeader.vue +10 -26
- package/src/components/Tables/common/filters/SelectFilter.vue +131 -22
- package/src/components/Tables/common/filters/getFilterComponent.ts +54 -0
- package/src/components/Tables/common/filters/locales.ts +4 -0
- package/src/components/Tables/common/filters/logics/date.ts +12 -0
- package/src/components/Tables/common/filters/logics/number.ts +48 -0
- package/src/components/Tables/common/filters/logics/period.ts +25 -0
- package/src/components/Tables/common/filters/logics/select.ts +27 -0
- package/src/components/Tables/common/filters/logics/tests/TextFilterLogic.spec.ts +177 -0
- package/src/components/Tables/common/filters/logics/text.ts +62 -0
- package/src/components/Tables/common/filters/tests/TextFilter.spec.ts +11 -11
- package/src/components/Tables/common/locales.ts +24 -0
- package/src/components/Tables/common/organizeColumns/OrganizeColumns.vue +269 -0
- package/src/components/Tables/common/organizeColumns/sortHeaders.ts +9 -0
- package/src/components/Tables/common/tableFilterUtils.ts +43 -295
- package/src/components/Tables/common/tableStorageUtils.ts +27 -2
- package/src/components/Tables/common/tableStyles.scss +26 -0
- package/src/components/Tables/common/tableUtils.ts +3 -16
- package/src/components/Tables/common/tests/SyTablePagination.spec.ts +170 -0
- package/src/components/Tables/common/tests/filterByRange.spec.ts +215 -0
- package/src/components/Tables/common/tests/tableFilterUtils.spec.ts +0 -14
- package/src/components/Tables/common/tests/tableUtils.spec.ts +7 -51
- package/src/components/Tables/common/types.ts +17 -6
- package/src/components/Tables/common/usePagination.ts +83 -0
- package/src/components/Tables/common/useTableCheckbox.ts +58 -0
- package/src/components/Tables/common/useTableHeaders.ts +88 -0
- package/src/components/Tables/common/useTableItems.ts +87 -0
- package/src/components/Tables/common/useTableOptions.ts +93 -0
- package/src/components/ToolbarContainer/ToolbarContainer.mdx +16 -0
- package/src/components/ToolbarContainer/ToolbarContainer.stories.ts +675 -0
- package/src/components/ToolbarContainer/ToolbarContainer.vue +128 -0
- package/src/components/ToolbarContainer/tests/ToolbarContainer.spec.ts +156 -0
- package/src/components/UserMenuBtn/UserMenuBtn.stories.ts +74 -0
- package/src/components/UserMenuBtn/UserMenuBtn.vue +19 -17
- package/src/components/index.ts +8 -6
- package/src/stories/Accessibilite/Aculturation/AuditDesignSystem.mdx +293 -20
- package/src/stories/Accessibilite/Aculturation/SensibilisationAccessibilite.mdx +448 -54
- package/src/stories/Accessibilite/Audit/RGAA.mdx +231 -23
- package/src/stories/Accessibilite/Avancement/Avancement.mdx +591 -7
- package/src/stories/Accessibilite/Avancement/Avancement.stories.ts +139 -38
- package/src/stories/Accessibilite/Introduction.mdx +258 -18
- package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +221 -31
- package/src/stories/Accessibilite/KitDePreAudit/Introduction.mdx +204 -22
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +537 -24
- package/src/stories/Accessibilite/KitDePreAudit/Outils/LecteursDEcran.mdx +577 -70
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru.mdx +382 -31
- package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +419 -81
- package/src/stories/Accessibilite/Vuetify/Vuetify.mdx +132 -6
- package/src/stories/Accessibilite/Vuetify/Vuetify.stories.ts +370 -146
- package/src/stories/Accessibilite/Vuetify/VuetifyItems.ts +35 -57
- package/src/stories/Demarrer/Accueil.stories.ts +20 -5
- package/src/stories/DesignTokens/StylesTypographiques.mdx +10 -9
- package/src/stories/DesignTokens/StylesTypographiques.stories.new.ts +397 -0
- package/src/stories/DesignTokens/StylesTypographiques.stories.ts +397 -0
- package/src/stories/DesignTokens/TypographyDisplay.vue +155 -0
- package/src/stories/DesignTokens/vue-shims.d.ts +6 -0
- package/src/stories/GuideDuDev/LesBreackingChanges.mdx +0 -2
- package/src/stories/GuideDuDev/MigrationDepuisBridge.mdx +1 -1
- package/src/stories/GuideDuDev/MigrationDepuisVue2.mdx +1 -1
- package/src/stories/GuideDuDev/PortailAgent.mdx +10 -0
- package/src/stories/GuideDuDev/PortailAgent.stories.ts +506 -0
- package/src/stories/GuideDuDev/Theme.mdx +41 -0
- package/dist/SelectFilter-Cj-GW2Cc.js +0 -97
- package/dist/main-WDqeoGM-.js +0 -14788
- package/src/components/PaginatedTable/tests/__snapshots__/PaginatedTable.spec.ts.snap +0 -886
- package/src/components/Tables/SyServerTable/tests/__snapshots__/SyServerTable.spec.ts.snap +0 -521
- package/src/components/Tables/SyTable/tests/__snapshots__/SyTable.spec.ts.snap +0 -521
- package/src/stories/DesignTokens/ThemePA.mdx +0 -35
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ Pour utiliser ce Design System, vous devez avoir au moins les versions suivantes
|
|
|
31
31
|
|
|
32
32
|
Pour utiliser ce package, vous pouvez installer le starter kit suivant :
|
|
33
33
|
|
|
34
|
-
- [Starter Kit Synapse](https://gitlab.cnqd.cnamts.fr/human/developpement/
|
|
34
|
+
- [Starter Kit Synapse](https://gitlab.cnqd.cnamts.fr/human/developpement/sksn_x)
|
|
35
35
|
|
|
36
36
|
### Librairie uniquement
|
|
37
37
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as h, computed as D, createBlock as k, openBlock as p } from "vue";
|
|
2
|
-
import { u as C, D as F, _ as V } from "./main-
|
|
2
|
+
import { u as C, D as F, _ as V } from "./main-Cx8qG7YR.js";
|
|
3
3
|
const v = /* @__PURE__ */ h({
|
|
4
4
|
__name: "DateFilter",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as k, ref as h, watch as x, computed as T, createElementBlock as V, openBlock as F, createVNode as w } from "vue";
|
|
2
|
-
import { a as S, _ as D } from "./main-
|
|
2
|
+
import { a as S, _ as D } from "./main-Cx8qG7YR.js";
|
|
3
3
|
const E = { class: "number-filter-container" }, B = /* @__PURE__ */ k({
|
|
4
4
|
__name: "NumberFilter",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, computed as h, createBlock as p, openBlock as k } from "vue";
|
|
2
|
-
import { P as C, _ as F } from "./main-
|
|
2
|
+
import { P as C, _ as F } from "./main-Cx8qG7YR.js";
|
|
3
3
|
const V = /* @__PURE__ */ b({
|
|
4
4
|
__name: "PeriodFilter",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { defineComponent as k, computed as p, ref as C, createElementBlock as F, openBlock as S, createVNode as A } from "vue";
|
|
2
|
+
import { S as B, _ as E } from "./main-Cx8qG7YR.js";
|
|
3
|
+
const n = {
|
|
4
|
+
defaultOption: "- choisir -",
|
|
5
|
+
emptyValue: "(vide)"
|
|
6
|
+
}, D = { class: "select-filter-wrapper" }, I = /* @__PURE__ */ k({
|
|
7
|
+
__name: "SelectFilter",
|
|
8
|
+
props: {
|
|
9
|
+
header: {
|
|
10
|
+
type: Object,
|
|
11
|
+
required: !0
|
|
12
|
+
},
|
|
13
|
+
filters: {
|
|
14
|
+
type: Array,
|
|
15
|
+
default: () => []
|
|
16
|
+
},
|
|
17
|
+
filterValue: {
|
|
18
|
+
type: [String, Number, Object, Array, void 0, null],
|
|
19
|
+
default: null
|
|
20
|
+
},
|
|
21
|
+
inputConfig: {
|
|
22
|
+
type: Object,
|
|
23
|
+
default: () => ({})
|
|
24
|
+
},
|
|
25
|
+
disableErrorHandling: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: !1
|
|
28
|
+
},
|
|
29
|
+
variant: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: "outlined"
|
|
32
|
+
},
|
|
33
|
+
hideDetails: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: !0
|
|
36
|
+
},
|
|
37
|
+
density: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: "compact"
|
|
40
|
+
},
|
|
41
|
+
backgroundColor: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: "white"
|
|
44
|
+
},
|
|
45
|
+
clearable: {
|
|
46
|
+
type: Boolean,
|
|
47
|
+
default: !0
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
emits: ["update:filters"],
|
|
51
|
+
setup(i, { emit: v }) {
|
|
52
|
+
const e = i, o = v;
|
|
53
|
+
function y() {
|
|
54
|
+
return String(e.header.key || e.header.value || (e.header.title ? `filter_${e.header.title}` : `filter_${Date.now()}`));
|
|
55
|
+
}
|
|
56
|
+
const m = p(() => {
|
|
57
|
+
if (!e.header.filterOptions || !Array.isArray(e.header.filterOptions))
|
|
58
|
+
return [{ text: n.defaultOption, value: n.defaultOption }];
|
|
59
|
+
const l = [{ text: n.defaultOption, value: n.defaultOption }];
|
|
60
|
+
return e.header.filterOptions.forEach((t) => {
|
|
61
|
+
t.text === void 0 || t.text === null || t.text === "" ? l.push({ text: n.emptyValue, value: t.value }) : l.push(t);
|
|
62
|
+
}), l;
|
|
63
|
+
}), f = p({
|
|
64
|
+
get: () => e.filterValue === null ? e.header.multiple ? [] : n.defaultOption : e.filterValue,
|
|
65
|
+
set: (l) => {
|
|
66
|
+
const t = y();
|
|
67
|
+
if (!t) return;
|
|
68
|
+
if (e.header.multiple) {
|
|
69
|
+
if (!l || Array.isArray(l) && l.length === 0) {
|
|
70
|
+
const d = e.filters.filter((c) => c.key !== t);
|
|
71
|
+
o("update:filters", d);
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
const r = e.filters.findIndex((d) => d.key === t), a = [...e.filters];
|
|
75
|
+
r >= 0 ? a[r].value = l : a.push({
|
|
76
|
+
key: t,
|
|
77
|
+
value: l,
|
|
78
|
+
type: "select"
|
|
79
|
+
}), o("update:filters", a);
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
if (l == null || l === n.defaultOption) {
|
|
83
|
+
const r = e.filters.filter((a) => a.key !== t);
|
|
84
|
+
o("update:filters", r);
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
const u = e.filters.findIndex((r) => r.key === t), s = [...e.filters];
|
|
88
|
+
u >= 0 ? s[u].value = l : s.push({
|
|
89
|
+
key: t,
|
|
90
|
+
value: l,
|
|
91
|
+
type: "select"
|
|
92
|
+
}), o("update:filters", s);
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
function g() {
|
|
96
|
+
const l = y(), t = e.filters.filter((u) => u.key !== l);
|
|
97
|
+
o("update:filters", t);
|
|
98
|
+
}
|
|
99
|
+
const h = C(!1);
|
|
100
|
+
function b() {
|
|
101
|
+
h.value = !0;
|
|
102
|
+
}
|
|
103
|
+
function O() {
|
|
104
|
+
h.value = !1;
|
|
105
|
+
}
|
|
106
|
+
const x = p(() => typeof process < "u" && process.env.NODE_ENV === "test" ? !0 : e.header.multiple ? Array.isArray(f.value) && f.value.length > 0 : f.value !== n.defaultOption);
|
|
107
|
+
return (l, t) => {
|
|
108
|
+
var u, s, r, a, d;
|
|
109
|
+
return S(), F("div", D, [
|
|
110
|
+
A(B, {
|
|
111
|
+
modelValue: f.value,
|
|
112
|
+
"onUpdate:modelValue": t[0] || (t[0] = (c) => f.value = c),
|
|
113
|
+
label: e.header.title || "",
|
|
114
|
+
items: m.value,
|
|
115
|
+
clearable: x.value,
|
|
116
|
+
density: ((u = i.inputConfig) == null ? void 0 : u.density) ?? i.density,
|
|
117
|
+
"hide-details": ((s = i.inputConfig) == null ? void 0 : s.hideDetails) ?? i.hideDetails,
|
|
118
|
+
"hide-messages": !0,
|
|
119
|
+
variant: ((r = i.inputConfig) == null ? void 0 : r.variant) ?? i.variant,
|
|
120
|
+
"bg-color": ((a = i.inputConfig) == null ? void 0 : a.backgroundColor) ?? i.backgroundColor,
|
|
121
|
+
"disable-error-handling": ((d = i.inputConfig) == null ? void 0 : d.disableErrorHandling) ?? i.disableErrorHandling,
|
|
122
|
+
multiple: e.header.multiple,
|
|
123
|
+
chips: e.header.chips,
|
|
124
|
+
class: "filter-input",
|
|
125
|
+
"aria-label": e.header.title || "Filtre",
|
|
126
|
+
"onClick:clear": g,
|
|
127
|
+
onFocus: b,
|
|
128
|
+
onBlur: O
|
|
129
|
+
}, null, 8, ["modelValue", "label", "items", "clearable", "density", "hide-details", "variant", "bg-color", "disable-error-handling", "multiple", "chips", "aria-label"])
|
|
130
|
+
]);
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}), H = /* @__PURE__ */ E(I, [["__scopeId", "data-v-cc9a7ce5"]]);
|
|
134
|
+
export {
|
|
135
|
+
H as default
|
|
136
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, ref as b, watch as k, computed as T, createElementBlock as x, openBlock as w, createVNode as F } from "vue";
|
|
2
|
-
import { a as V, _ as E } from "./main-
|
|
2
|
+
import { a as V, _ as E } from "./main-Cx8qG7YR.js";
|
|
3
3
|
const S = { class: "text-filter-container" }, B = /* @__PURE__ */ C({
|
|
4
4
|
__name: "TextFilter",
|
|
5
5
|
props: {
|
|
@@ -8,6 +8,7 @@ interface AccordionItem {
|
|
|
8
8
|
title: string;
|
|
9
9
|
content: string | ContentObject;
|
|
10
10
|
headingLevel?: number;
|
|
11
|
+
disabled?: boolean;
|
|
11
12
|
}
|
|
12
13
|
interface Props extends CustomizableOptions {
|
|
13
14
|
items: AccordionItem[];
|
|
@@ -24,8 +25,8 @@ interface Props extends CustomizableOptions {
|
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
27
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
27
|
-
headingLevel: number;
|
|
28
28
|
groupId: string;
|
|
29
|
+
headingLevel: number;
|
|
29
30
|
vuetifyOptions: {
|
|
30
31
|
accordion?: {
|
|
31
32
|
backgroundColor?: string | undefined;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export interface AccordionGroupCommunication {
|
|
2
|
+
emitFocusChange: (itemId: string | null) => void;
|
|
3
|
+
handleFocusChange: (event: CustomEvent) => void;
|
|
4
|
+
}
|
|
5
|
+
export default function useAccordionGroupCommunication(instanceId: string, groupId: string, onFocusChange: (itemId: string | null) => void): AccordionGroupCommunication;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export interface AccordionItem {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
content: any;
|
|
6
|
+
headingLevel?: number;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface AccordionKeyboardNavigation {
|
|
10
|
+
handleKeyNavigation: (event: KeyboardEvent, itemId: string, index: number) => void;
|
|
11
|
+
}
|
|
12
|
+
export default function useAccordionKeyboardNavigation(items: Ref<AccordionItem[]> | AccordionItem[], setFocus: (itemId: string | null) => void): AccordionKeyboardNavigation;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface AccordionState {
|
|
2
|
+
openItems: {
|
|
3
|
+
value: string[];
|
|
4
|
+
};
|
|
5
|
+
focusedItemId: {
|
|
6
|
+
value: string | null;
|
|
7
|
+
};
|
|
8
|
+
toggleItem: (itemId: string) => void;
|
|
9
|
+
isItemOpen: (itemId: string) => boolean;
|
|
10
|
+
isItemFocused: (itemId: string) => boolean;
|
|
11
|
+
setFocus: (itemId: string | null) => void;
|
|
12
|
+
}
|
|
13
|
+
export default function useAccordionState(): AccordionState;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { ValidationRule } from '../../../composables/validation/useValidation';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: boolean | null;
|
|
4
|
+
indeterminate?: boolean;
|
|
5
|
+
label?: string;
|
|
6
|
+
color?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
readonly?: boolean;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
hideDetails?: boolean | 'auto';
|
|
11
|
+
density?: 'default' | 'comfortable' | 'compact';
|
|
12
|
+
errorMessages?: string[] | null;
|
|
13
|
+
warningMessages?: string[] | null;
|
|
14
|
+
successMessages?: string[] | null;
|
|
15
|
+
customRules?: ValidationRule[];
|
|
16
|
+
customWarningRules?: ValidationRule[];
|
|
17
|
+
customSuccessRules?: ValidationRule[];
|
|
18
|
+
showSuccessMessages?: boolean;
|
|
19
|
+
isValidateOnBlur?: boolean;
|
|
20
|
+
disableErrorHandling?: boolean;
|
|
21
|
+
id?: string;
|
|
22
|
+
name?: string;
|
|
23
|
+
value?: unknown;
|
|
24
|
+
trueValue?: unknown;
|
|
25
|
+
falseValue?: unknown;
|
|
26
|
+
controlsIds?: string[];
|
|
27
|
+
};
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {
|
|
29
|
+
validation: {
|
|
30
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
31
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
32
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
33
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
34
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
35
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
36
|
+
validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../../composables/validation/useValidation').ValidationResult;
|
|
37
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
38
|
+
clearValidation: () => void;
|
|
39
|
+
};
|
|
40
|
+
validateOnSubmit: () => boolean;
|
|
41
|
+
checkErrorOnBlur: () => void;
|
|
42
|
+
toggleMixed: () => void;
|
|
43
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
|
+
"update:modelValue": (...args: any[]) => void;
|
|
45
|
+
change: (...args: any[]) => void;
|
|
46
|
+
"update:indeterminate": (...args: any[]) => void;
|
|
47
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
48
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
"onUpdate:indeterminate"?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
required: boolean;
|
|
53
|
+
modelValue: boolean | null;
|
|
54
|
+
color: string;
|
|
55
|
+
label: string;
|
|
56
|
+
errorMessages: string[] | null;
|
|
57
|
+
warningMessages: string[] | null;
|
|
58
|
+
successMessages: string[] | null;
|
|
59
|
+
readonly: boolean;
|
|
60
|
+
density: "default" | "comfortable" | "compact";
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
id: string;
|
|
63
|
+
name: string;
|
|
64
|
+
customRules: ValidationRule[];
|
|
65
|
+
customWarningRules: ValidationRule[];
|
|
66
|
+
customSuccessRules: ValidationRule[];
|
|
67
|
+
showSuccessMessages: boolean;
|
|
68
|
+
isValidateOnBlur: boolean;
|
|
69
|
+
disableErrorHandling: boolean;
|
|
70
|
+
hideDetails: boolean | "auto";
|
|
71
|
+
indeterminate: boolean;
|
|
72
|
+
value: undefined;
|
|
73
|
+
trueValue: true;
|
|
74
|
+
falseValue: false;
|
|
75
|
+
controlsIds: string[];
|
|
76
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
77
|
+
label?(_: {}): any;
|
|
78
|
+
default?(_: {}): any;
|
|
79
|
+
}>;
|
|
80
|
+
export default _default;
|
|
81
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
82
|
+
new (): {
|
|
83
|
+
$slots: S;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
@@ -15,6 +15,7 @@ type __VLS_Props = CustomizableOptions & {
|
|
|
15
15
|
clearable?: boolean;
|
|
16
16
|
customRules?: ValidationRule[];
|
|
17
17
|
disableErrorHandling?: boolean;
|
|
18
|
+
bgColor?: string;
|
|
18
19
|
};
|
|
19
20
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
20
21
|
isOpen: import('vue').Ref<boolean, boolean>;
|
|
@@ -38,6 +39,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
38
39
|
label: string;
|
|
39
40
|
errorMessages: string | string[];
|
|
40
41
|
readonly: boolean;
|
|
42
|
+
bgColor: string;
|
|
41
43
|
displayAsterisk: boolean;
|
|
42
44
|
customRules: ValidationRule[];
|
|
43
45
|
disableErrorHandling: boolean;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { nextTick, PropType } from 'vue';
|
|
2
2
|
export type ItemType = {
|
|
3
3
|
[key: string]: unknown;
|
|
4
4
|
};
|
|
5
|
+
export type SelectItemValueType = Record<string, unknown> | string | number | null | undefined;
|
|
6
|
+
export type SelectItemArrayType = Array<Record<string, unknown> | string | number>;
|
|
5
7
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
8
|
modelValue: {
|
|
7
|
-
type:
|
|
9
|
+
type: PropType<string | number | Record<string, unknown> | SelectItemArrayType | null>;
|
|
8
10
|
default: null;
|
|
9
11
|
};
|
|
10
12
|
items: {
|
|
@@ -61,7 +63,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
61
63
|
};
|
|
62
64
|
bgColor: {
|
|
63
65
|
type: StringConstructor;
|
|
64
|
-
default:
|
|
66
|
+
default: string;
|
|
65
67
|
};
|
|
66
68
|
readonly: {
|
|
67
69
|
type: BooleanConstructor;
|
|
@@ -79,14 +81,22 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
79
81
|
type: StringConstructor;
|
|
80
82
|
default: string;
|
|
81
83
|
};
|
|
84
|
+
multiple: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
chips: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
82
92
|
}>, {
|
|
83
93
|
isOpen: import('vue').Ref<boolean, boolean>;
|
|
84
|
-
closeList: () => void;
|
|
94
|
+
closeList: (event?: Event | undefined) => void;
|
|
85
95
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
86
96
|
"update:modelValue": (...args: any[]) => void;
|
|
87
97
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
88
98
|
modelValue: {
|
|
89
|
-
type:
|
|
99
|
+
type: PropType<string | number | Record<string, unknown> | SelectItemArrayType | null>;
|
|
90
100
|
default: null;
|
|
91
101
|
};
|
|
92
102
|
items: {
|
|
@@ -143,7 +153,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
143
153
|
};
|
|
144
154
|
bgColor: {
|
|
145
155
|
type: StringConstructor;
|
|
146
|
-
default:
|
|
156
|
+
default: string;
|
|
147
157
|
};
|
|
148
158
|
readonly: {
|
|
149
159
|
type: BooleanConstructor;
|
|
@@ -161,12 +171,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
161
171
|
type: StringConstructor;
|
|
162
172
|
default: string;
|
|
163
173
|
};
|
|
174
|
+
multiple: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
default: boolean;
|
|
177
|
+
};
|
|
178
|
+
chips: {
|
|
179
|
+
type: BooleanConstructor;
|
|
180
|
+
default: boolean;
|
|
181
|
+
};
|
|
164
182
|
}>> & Readonly<{
|
|
165
183
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
166
184
|
}>, {
|
|
167
185
|
required: boolean;
|
|
168
186
|
outlined: boolean;
|
|
169
|
-
modelValue: string | number | Record<string,
|
|
187
|
+
modelValue: string | number | Record<string, unknown> | SelectItemArrayType | null;
|
|
170
188
|
label: string;
|
|
171
189
|
errorMessages: string | readonly string[];
|
|
172
190
|
readonly: boolean;
|
|
@@ -177,12 +195,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
177
195
|
displayAsterisk: boolean;
|
|
178
196
|
disableErrorHandling: boolean;
|
|
179
197
|
clearable: boolean;
|
|
198
|
+
multiple: boolean;
|
|
180
199
|
items: ItemType[];
|
|
181
200
|
menuId: string;
|
|
182
201
|
textKey: string;
|
|
183
202
|
valueKey: string;
|
|
184
203
|
returnObject: boolean;
|
|
185
204
|
hideMessages: boolean;
|
|
205
|
+
chips: boolean;
|
|
186
206
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
187
207
|
input: import('vue').CreateComponentPublicInstanceWithMixins<{
|
|
188
208
|
flat: boolean;
|
|
@@ -489,7 +509,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
489
509
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[] | undefined;
|
|
490
510
|
};
|
|
491
511
|
$forceUpdate: () => void;
|
|
492
|
-
$nextTick: typeof
|
|
512
|
+
$nextTick: typeof nextTick;
|
|
493
513
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
494
514
|
} & Readonly<{
|
|
495
515
|
error: boolean;
|
|
@@ -746,7 +766,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
746
766
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[] | undefined;
|
|
747
767
|
};
|
|
748
768
|
$forceUpdate: () => void;
|
|
749
|
-
$nextTick: typeof
|
|
769
|
+
$nextTick: typeof nextTick;
|
|
750
770
|
$watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R_1 ? (args_0: R_1, args_1: R_1, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
751
771
|
} & Readonly<{
|
|
752
772
|
flat: boolean;
|
|
@@ -1206,7 +1226,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1206
1226
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[] | undefined;
|
|
1207
1227
|
};
|
|
1208
1228
|
$forceUpdate: () => void;
|
|
1209
|
-
$nextTick: typeof
|
|
1229
|
+
$nextTick: typeof nextTick;
|
|
1210
1230
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R_2 ? (args_0: R_2, args_1: R_2, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
1211
1231
|
} & Readonly<{
|
|
1212
1232
|
error: boolean;
|
|
@@ -1463,7 +1483,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1463
1483
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[] | undefined;
|
|
1464
1484
|
};
|
|
1465
1485
|
$forceUpdate: () => void;
|
|
1466
|
-
$nextTick: typeof
|
|
1486
|
+
$nextTick: typeof nextTick;
|
|
1467
1487
|
$watch<T_3 extends string | ((...args: any) => any)>(source: T_3, cb: T_3 extends (...args: any) => infer R_3 ? (args_0: R_3, args_1: R_3, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
1468
1488
|
} & Readonly<{
|
|
1469
1489
|
flat: boolean;
|
|
@@ -1549,7 +1569,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1549
1569
|
disabled: boolean;
|
|
1550
1570
|
readonly: boolean | null;
|
|
1551
1571
|
messages: string | readonly string[];
|
|
1552
|
-
rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> |
|
|
1572
|
+
rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>) | [string, any, (string | undefined)?])[];
|
|
1553
1573
|
focused: boolean;
|
|
1554
1574
|
errorMessages: string | readonly string[] | null;
|
|
1555
1575
|
maxErrors: string | number;
|
|
@@ -1569,5 +1589,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1569
1589
|
persistentCounter: boolean;
|
|
1570
1590
|
}> | null;
|
|
1571
1591
|
labelRef: HTMLSpanElement;
|
|
1572
|
-
},
|
|
1592
|
+
}, any>;
|
|
1573
1593
|
export default _default;
|
|
@@ -206,7 +206,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
206
206
|
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
|
207
207
|
modelValue?: any;
|
|
208
208
|
validateOn?: "lazy" | "blur" | "input" | "submit" | "invalid-input" | "blur lazy" | "input lazy" | "submit lazy" | "invalid-input lazy" | "blur eager" | "input eager" | "submit eager" | "invalid-input eager" | "lazy blur" | "lazy input" | "lazy submit" | "lazy invalid-input" | "eager blur" | "eager input" | "eager submit" | "eager invalid-input" | "eager" | undefined;
|
|
209
|
-
validationValue?: any;
|
|
209
|
+
/** @type { typeof __VLS_ctx.syTextFieldRef } */ validationValue?: any;
|
|
210
210
|
rounded?: string | number | boolean | undefined;
|
|
211
211
|
baseColor?: string | undefined;
|
|
212
212
|
bgColor?: string | undefined;
|
|
@@ -1524,7 +1524,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
1524
1524
|
disabled: boolean;
|
|
1525
1525
|
readonly: boolean | null;
|
|
1526
1526
|
messages: string | readonly string[];
|
|
1527
|
-
rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> |
|
|
1527
|
+
rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>) | [string, any, (string | undefined)?])[];
|
|
1528
1528
|
focused: boolean;
|
|
1529
1529
|
errorMessages: string | readonly string[] | null;
|
|
1530
1530
|
maxErrors: string | number;
|