@cnamts/synapse 0.0.11-alpha → 0.0.12-alpha
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/design-system-v3.js +3878 -3189
- package/dist/design-system-v3.umd.cjs +1 -1
- package/dist/src/components/Amelipro/types/languages.d.ts +6 -0
- package/dist/src/components/Amelipro/types/types.d.ts +65 -0
- package/dist/src/components/CookieBanner/CookieBanner.d.ts +1 -1
- package/dist/src/components/Customs/SyInputSelect/SyInputSelect.d.ts +2 -0
- package/dist/src/components/Customs/SyTextField/SyTextField.d.ts +29 -23
- package/dist/src/components/Customs/SyTextField/types.d.ts +1 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +70 -59
- package/dist/src/components/DatePicker/DateTextInput.d.ts +67 -56
- package/dist/src/components/ErrorPage/ErrorPage.d.ts +1 -1
- package/dist/src/components/FileList/FileList.d.ts +1 -0
- package/dist/src/components/FileList/UploadItem/UploadItem.d.ts +1 -1
- package/dist/src/components/FilterSideBar/FilterSideBar.d.ts +31 -0
- package/dist/src/components/FilterSideBar/locales.d.ts +7 -0
- package/dist/src/components/FilterSideBar/tests/FilterSideBar.spec.d.ts +1 -0
- package/dist/src/components/LangBtn/LangBtn.d.ts +2 -2
- package/dist/src/components/NirField/NirField.d.ts +940 -0
- package/dist/src/components/NotificationBar/NotificationBar.d.ts +1 -1
- package/dist/src/components/PasswordField/PasswordField.d.ts +40 -8
- package/dist/src/components/PeriodField/PeriodField.d.ts +142 -120
- package/dist/src/components/PhoneField/PhoneField.d.ts +11 -2
- package/dist/src/components/RatingPicker/EmotionPicker/EmotionPicker.d.ts +1 -1
- package/dist/src/components/RatingPicker/NumberPicker/NumberPicker.d.ts +1 -1
- package/dist/src/components/RatingPicker/StarsPicker/StarsPicker.d.ts +1 -1
- package/dist/src/components/UploadWorkflow/config.d.ts +29 -0
- package/dist/src/components/UploadWorkflow/locales.d.ts +7 -0
- package/dist/src/components/UploadWorkflow/tests/UploadWorkflow.spec.d.ts +1 -0
- package/dist/src/components/UploadWorkflow/types.d.ts +19 -0
- package/dist/src/components/UploadWorkflow/useFileList.d.ts +10 -0
- package/dist/src/components/UploadWorkflow/useFileUploadJourney.d.ts +9 -0
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/composables/rules/useFieldValidation.d.ts +1 -0
- package/dist/src/composables/validation/tests/useValidation.spec.d.ts +1 -0
- package/dist/src/composables/validation/useValidation.d.ts +39 -0
- package/dist/src/designTokens/index.d.ts +3 -1
- package/dist/src/vuetifyConfig.d.ts +81 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/assets/_elevations.scss +89 -0
- package/src/assets/_fonts.scss +6 -0
- package/src/assets/_radius.scss +86 -0
- package/src/assets/_spacers.scss +149 -0
- package/src/assets/settings.scss +7 -3
- package/src/assets/tokens.scss +32 -29
- package/src/components/Amelipro/types/languages.d.ts +6 -0
- package/src/components/Amelipro/types/types.d.ts +65 -0
- package/src/components/Customs/SyInputSelect/SyInputSelect.stories.ts +65 -0
- package/src/components/Customs/SyInputSelect/SyInputSelect.vue +13 -3
- package/src/components/Customs/SySelect/SySelect.stories.ts +88 -5
- package/src/components/Customs/SySelect/SySelect.vue +36 -10
- package/src/components/Customs/SySelect/tests/SySelect.spec.ts +135 -2
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +576 -85
- package/src/components/Customs/SyTextField/SyTextField.vue +132 -104
- package/src/components/Customs/SyTextField/tests/SyTextField.spec.ts +190 -38
- package/src/components/Customs/SyTextField/types.d.ts +1 -0
- package/src/components/DatePicker/DatePicker.vue +405 -137
- package/src/components/DatePicker/DateTextInput.vue +15 -0
- package/src/components/DatePicker/tests/DatePicker.spec.ts +8 -15
- package/src/components/FileList/FileList.vue +2 -1
- package/src/components/FileList/UploadItem/UploadItem.vue +10 -0
- package/src/components/FileUpload/FileUpload.stories.ts +84 -0
- package/src/components/FileUpload/FileUpload.vue +1 -0
- package/src/components/FileUpload/tests/FileUpload.spec.ts +4 -4
- package/src/components/FilterInline/FilterInline.mdx +180 -34
- package/src/components/FilterInline/FilterInline.stories.ts +363 -6
- package/src/components/FilterSideBar/FilterSideBar.mdx +237 -0
- package/src/components/FilterSideBar/FilterSideBar.stories.ts +798 -0
- package/src/components/FilterSideBar/FilterSideBar.vue +193 -0
- package/src/components/FilterSideBar/locales.ts +8 -0
- package/src/components/FilterSideBar/tests/FilterSideBar.spec.ts +305 -0
- package/src/components/FilterSideBar/tests/__snapshots__/FilterSideBar.spec.ts.snap +39 -0
- package/src/components/HeaderBar/Usages.mdx +1 -1
- package/src/components/NirField/NirField.stories.ts +573 -29
- package/src/components/NirField/NirField.vue +397 -359
- package/src/components/NirField/tests/NirField.spec.ts +88 -52
- package/src/components/NirField/tests//342/200/257dataset/342/200/257.md +12 -0
- package/src/components/NotificationBar/Accessibilite.stories.ts +4 -0
- package/src/components/NotificationBar/NotificationBar.stories.ts +18 -13
- package/src/components/PasswordField/PasswordField.mdx +129 -47
- package/src/components/PasswordField/PasswordField.stories.ts +924 -120
- package/src/components/PasswordField/PasswordField.vue +209 -99
- package/src/components/PasswordField/tests/PasswordField.spec.ts +138 -9
- package/src/components/PeriodField/PeriodField.vue +55 -54
- package/src/components/PhoneField/PhoneField.stories.ts +69 -0
- package/src/components/PhoneField/PhoneField.vue +3 -0
- package/src/components/PhoneField/indicatifs.ts +1 -1
- package/src/components/UploadWorkflow/UploadWorkflow.mdx +75 -0
- package/src/components/UploadWorkflow/UploadWorkflow.stories.ts +943 -0
- package/src/components/UploadWorkflow/UploadWorkflow.vue +230 -0
- package/src/components/UploadWorkflow/config.ts +29 -0
- package/src/components/UploadWorkflow/locales.ts +8 -0
- package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +257 -0
- package/src/components/UploadWorkflow/tests/__snapshots__/UploadWorkflow.spec.ts.snap +54 -0
- package/src/components/UploadWorkflow/types.ts +21 -0
- package/src/components/UploadWorkflow/useFileList.ts +84 -0
- package/src/components/UploadWorkflow/useFileUploadJourney.ts +18 -0
- package/src/components/index.ts +2 -0
- package/src/composables/rules/useFieldValidation.ts +5 -2
- package/src/composables/validation/tests/useValidation.spec.ts +154 -0
- package/src/composables/validation/useValidation.ts +165 -0
- package/src/designTokens/index.ts +4 -0
- package/src/stories/Demarrer/Accueil.mdx +1 -1
- package/src/stories/DesignTokens/ThemePA.mdx +4 -30
- package/src/stories/GuideDuDev/UtiliserLesRules.mdx +319 -76
- package/src/stories/GuideDuDev/moduleDeNotification.mdx +1 -1
- package/src/vuetifyConfig.ts +61 -0
- package/src/composables/useFilterable/__snapshots__/useFilterable.spec.ts.snap +0 -3
|
@@ -0,0 +1,940 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
2
|
+
import { CustomizableOptions } from '../../composables/useCustomizableOptions';
|
|
3
|
+
import { ValidationRule } from '../../composables/validation/useValidation';
|
|
4
|
+
type __VLS_Props = CustomizableOptions & {
|
|
5
|
+
modelValue?: string | undefined;
|
|
6
|
+
label?: string;
|
|
7
|
+
numberLabel?: string;
|
|
8
|
+
keyLabel?: string;
|
|
9
|
+
displayKey?: boolean;
|
|
10
|
+
outlined?: boolean;
|
|
11
|
+
nirTooltip?: string;
|
|
12
|
+
keyTooltip?: string;
|
|
13
|
+
nirTooltipPosition?: 'prepend' | 'append';
|
|
14
|
+
keyTooltipPosition?: 'prepend' | 'append';
|
|
15
|
+
required?: boolean;
|
|
16
|
+
displayAsterisk?: boolean;
|
|
17
|
+
customNumberRules?: ValidationRule[];
|
|
18
|
+
customKeyRules?: ValidationRule[];
|
|
19
|
+
customNumberWarningRules?: ValidationRule[];
|
|
20
|
+
customKeyWarningRules?: ValidationRule[];
|
|
21
|
+
showSuccessMessages?: boolean;
|
|
22
|
+
width?: string;
|
|
23
|
+
bgColor?: string;
|
|
24
|
+
isDisabled?: boolean;
|
|
25
|
+
density?: 'default' | 'comfortable' | 'compact';
|
|
26
|
+
hideDetails?: boolean | 'auto';
|
|
27
|
+
hideSpinButtons?: boolean;
|
|
28
|
+
placeholder?: string;
|
|
29
|
+
readonly?: boolean;
|
|
30
|
+
variant?: 'filled' | 'outlined' | 'plain' | 'underlined' | 'solo';
|
|
31
|
+
clearable?: boolean;
|
|
32
|
+
counter?: boolean | number | string;
|
|
33
|
+
hint?: string;
|
|
34
|
+
persistentHint?: boolean;
|
|
35
|
+
persistentPlaceholder?: boolean;
|
|
36
|
+
};
|
|
37
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
38
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
39
|
+
numberMask: {
|
|
40
|
+
mask: string;
|
|
41
|
+
preProcess: (value: string) => string;
|
|
42
|
+
tokens: {
|
|
43
|
+
'#': {
|
|
44
|
+
pattern: RegExp;
|
|
45
|
+
};
|
|
46
|
+
C: {
|
|
47
|
+
pattern: RegExp;
|
|
48
|
+
transform: (char: string) => string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
keyMask: {
|
|
53
|
+
mask: string;
|
|
54
|
+
tokens: {
|
|
55
|
+
'#': {
|
|
56
|
+
pattern: RegExp;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
numberValidation: {
|
|
61
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
62
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
63
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
64
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
65
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
66
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
67
|
+
validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
|
|
68
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
69
|
+
clearValidation: () => void;
|
|
70
|
+
};
|
|
71
|
+
keyValidation: {
|
|
72
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
73
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
74
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
75
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
76
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
77
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
78
|
+
validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
|
|
79
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
80
|
+
clearValidation: () => void;
|
|
81
|
+
};
|
|
82
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
83
|
+
"update:modelValue": (...args: any[]) => void;
|
|
84
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
85
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
86
|
+
}>, {
|
|
87
|
+
required: boolean;
|
|
88
|
+
outlined: boolean;
|
|
89
|
+
modelValue: string;
|
|
90
|
+
label: string;
|
|
91
|
+
bgColor: string;
|
|
92
|
+
counter: string | number | boolean;
|
|
93
|
+
density: "default" | "comfortable" | "compact";
|
|
94
|
+
isDisabled: boolean;
|
|
95
|
+
hint: string;
|
|
96
|
+
placeholder: string;
|
|
97
|
+
width: string;
|
|
98
|
+
displayAsterisk: boolean;
|
|
99
|
+
showSuccessMessages: boolean;
|
|
100
|
+
readonly: boolean;
|
|
101
|
+
hideSpinButtons: boolean;
|
|
102
|
+
persistentHint: boolean;
|
|
103
|
+
hideDetails: boolean | "auto";
|
|
104
|
+
variant: "outlined" | "filled" | "solo" | "underlined" | "plain";
|
|
105
|
+
clearable: boolean;
|
|
106
|
+
persistentPlaceholder: boolean;
|
|
107
|
+
numberLabel: string;
|
|
108
|
+
keyLabel: string;
|
|
109
|
+
displayKey: boolean;
|
|
110
|
+
nirTooltip: string;
|
|
111
|
+
keyTooltip: string;
|
|
112
|
+
nirTooltipPosition: "append" | "prepend";
|
|
113
|
+
keyTooltipPosition: "append" | "prepend";
|
|
114
|
+
customNumberRules: ValidationRule[];
|
|
115
|
+
customKeyRules: ValidationRule[];
|
|
116
|
+
customNumberWarningRules: ValidationRule[];
|
|
117
|
+
customKeyWarningRules: ValidationRule[];
|
|
118
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
119
|
+
numberField: ({
|
|
120
|
+
$: import('vue').ComponentInternalInstance;
|
|
121
|
+
$data: {};
|
|
122
|
+
$props: {
|
|
123
|
+
readonly modelValue?: string | number | null | undefined;
|
|
124
|
+
readonly prependIcon?: import('../Customs/SyTextField/types').IconType;
|
|
125
|
+
readonly appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
126
|
+
readonly prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
127
|
+
readonly appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
128
|
+
readonly prependTooltip?: string | undefined;
|
|
129
|
+
readonly appendTooltip?: string | undefined;
|
|
130
|
+
readonly tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
131
|
+
readonly variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
132
|
+
readonly color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
133
|
+
readonly isClearable?: boolean | undefined;
|
|
134
|
+
readonly showDivider?: boolean | undefined;
|
|
135
|
+
readonly label?: string | undefined;
|
|
136
|
+
readonly required?: boolean | undefined;
|
|
137
|
+
readonly errorMessages?: string[] | null | undefined;
|
|
138
|
+
readonly warningMessages?: string[] | null | undefined;
|
|
139
|
+
readonly successMessages?: string[] | null | undefined;
|
|
140
|
+
readonly isReadOnly?: boolean | undefined;
|
|
141
|
+
readonly isActive?: boolean | undefined;
|
|
142
|
+
readonly baseColor?: string | undefined;
|
|
143
|
+
readonly bgColor?: string | undefined;
|
|
144
|
+
readonly centerAffix?: boolean | undefined;
|
|
145
|
+
readonly counter?: string | number | boolean | undefined;
|
|
146
|
+
readonly counterValue?: number | ((value: any) => number) | undefined;
|
|
147
|
+
readonly density?: "default" | "comfortable" | "compact" | undefined;
|
|
148
|
+
readonly direction?: "horizontal" | "vertical" | undefined;
|
|
149
|
+
readonly isDirty?: boolean | undefined;
|
|
150
|
+
readonly isDisabled?: boolean | undefined;
|
|
151
|
+
readonly isOnError?: boolean | undefined;
|
|
152
|
+
readonly isFlat?: boolean | undefined;
|
|
153
|
+
readonly isFocused?: boolean | undefined;
|
|
154
|
+
readonly areDetailsHidden?: boolean | "auto" | undefined;
|
|
155
|
+
readonly areSpinButtonsHidden?: boolean | undefined;
|
|
156
|
+
readonly hint?: string | undefined;
|
|
157
|
+
readonly id?: string | undefined;
|
|
158
|
+
readonly loading?: string | boolean | undefined;
|
|
159
|
+
readonly maxErrors?: string | number | undefined;
|
|
160
|
+
readonly maxWidth?: string | number | undefined;
|
|
161
|
+
readonly messages?: string | string[] | undefined;
|
|
162
|
+
readonly minWidth?: string | number | undefined;
|
|
163
|
+
readonly name?: string | undefined;
|
|
164
|
+
readonly displayPersistentClear?: boolean | undefined;
|
|
165
|
+
readonly displayPersistentCounter?: boolean | undefined;
|
|
166
|
+
readonly displayPersistentHint?: boolean | undefined;
|
|
167
|
+
readonly displayPersistentPlaceholder?: boolean | undefined;
|
|
168
|
+
readonly placeholder?: string | undefined;
|
|
169
|
+
readonly prefix?: string | undefined;
|
|
170
|
+
readonly isReversed?: boolean | undefined;
|
|
171
|
+
readonly role?: string | undefined;
|
|
172
|
+
readonly rounded?: string | number | boolean | undefined;
|
|
173
|
+
readonly isOnSingleLine?: boolean | undefined;
|
|
174
|
+
readonly suffix?: string | undefined;
|
|
175
|
+
readonly theme?: string | undefined;
|
|
176
|
+
readonly isTiled?: boolean | undefined;
|
|
177
|
+
readonly type?: string | undefined;
|
|
178
|
+
readonly width?: string | number | undefined;
|
|
179
|
+
readonly displayAsterisk?: boolean | undefined;
|
|
180
|
+
readonly noIcon?: boolean | undefined;
|
|
181
|
+
readonly customRules?: ValidationRule[] | undefined;
|
|
182
|
+
readonly customWarningRules?: ValidationRule[] | undefined;
|
|
183
|
+
readonly customSuccessRules?: ValidationRule[] | undefined;
|
|
184
|
+
readonly showSuccessMessages?: boolean | undefined;
|
|
185
|
+
readonly isValidateOnBlur?: boolean | undefined;
|
|
186
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
187
|
+
readonly onClear?: ((...args: any[]) => any) | undefined;
|
|
188
|
+
readonly "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
189
|
+
readonly "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
190
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
191
|
+
$attrs: {
|
|
192
|
+
[x: string]: unknown;
|
|
193
|
+
};
|
|
194
|
+
$refs: {
|
|
195
|
+
[x: string]: unknown;
|
|
196
|
+
};
|
|
197
|
+
$slots: Readonly<{
|
|
198
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
199
|
+
}>;
|
|
200
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
201
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
202
|
+
$host: Element | null;
|
|
203
|
+
$emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "prepend-icon-click", ...args: any[]) => void) & ((event: "append-icon-click", ...args: any[]) => void);
|
|
204
|
+
$el: any;
|
|
205
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
206
|
+
modelValue?: string | number | null | undefined;
|
|
207
|
+
prependIcon?: import('../Customs/SyTextField/types').IconType;
|
|
208
|
+
appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
209
|
+
prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
210
|
+
appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
211
|
+
prependTooltip?: string | undefined;
|
|
212
|
+
appendTooltip?: string | undefined;
|
|
213
|
+
tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
214
|
+
variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
215
|
+
color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
216
|
+
isClearable?: boolean | undefined;
|
|
217
|
+
showDivider?: boolean | undefined;
|
|
218
|
+
label?: string | undefined;
|
|
219
|
+
required?: boolean | undefined;
|
|
220
|
+
errorMessages?: string[] | null | undefined;
|
|
221
|
+
warningMessages?: string[] | null | undefined;
|
|
222
|
+
successMessages?: string[] | null | undefined;
|
|
223
|
+
isReadOnly?: boolean | undefined;
|
|
224
|
+
isActive?: boolean | undefined;
|
|
225
|
+
baseColor?: string | undefined;
|
|
226
|
+
bgColor?: string | undefined;
|
|
227
|
+
centerAffix?: boolean | undefined;
|
|
228
|
+
counter?: string | number | boolean | undefined;
|
|
229
|
+
counterValue?: number | ((value: any) => number) | undefined;
|
|
230
|
+
density?: "default" | "comfortable" | "compact" | undefined;
|
|
231
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
232
|
+
isDirty?: boolean | undefined;
|
|
233
|
+
isDisabled?: boolean | undefined;
|
|
234
|
+
isOnError?: boolean | undefined;
|
|
235
|
+
isFlat?: boolean | undefined;
|
|
236
|
+
isFocused?: boolean | undefined;
|
|
237
|
+
areDetailsHidden?: boolean | "auto" | undefined;
|
|
238
|
+
areSpinButtonsHidden?: boolean | undefined;
|
|
239
|
+
hint?: string | undefined;
|
|
240
|
+
id?: string | undefined;
|
|
241
|
+
loading?: string | boolean | undefined;
|
|
242
|
+
maxErrors?: string | number | undefined;
|
|
243
|
+
maxWidth?: string | number | undefined;
|
|
244
|
+
messages?: string | string[] | undefined;
|
|
245
|
+
minWidth?: string | number | undefined;
|
|
246
|
+
name?: string | undefined;
|
|
247
|
+
displayPersistentClear?: boolean | undefined;
|
|
248
|
+
displayPersistentCounter?: boolean | undefined;
|
|
249
|
+
displayPersistentHint?: boolean | undefined;
|
|
250
|
+
displayPersistentPlaceholder?: boolean | undefined;
|
|
251
|
+
placeholder?: string | undefined;
|
|
252
|
+
prefix?: string | undefined;
|
|
253
|
+
isReversed?: boolean | undefined;
|
|
254
|
+
role?: string | undefined;
|
|
255
|
+
rounded?: string | number | boolean | undefined;
|
|
256
|
+
isOnSingleLine?: boolean | undefined;
|
|
257
|
+
suffix?: string | undefined;
|
|
258
|
+
theme?: string | undefined;
|
|
259
|
+
isTiled?: boolean | undefined;
|
|
260
|
+
type?: string | undefined;
|
|
261
|
+
width?: string | number | undefined;
|
|
262
|
+
displayAsterisk?: boolean | undefined;
|
|
263
|
+
noIcon?: boolean | undefined;
|
|
264
|
+
customRules?: ValidationRule[] | undefined;
|
|
265
|
+
customWarningRules?: ValidationRule[] | undefined;
|
|
266
|
+
customSuccessRules?: ValidationRule[] | undefined;
|
|
267
|
+
showSuccessMessages?: boolean | undefined;
|
|
268
|
+
isValidateOnBlur?: boolean | undefined;
|
|
269
|
+
}> & Readonly<{
|
|
270
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
271
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
272
|
+
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
273
|
+
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
274
|
+
}>, {
|
|
275
|
+
validation: {
|
|
276
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
277
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
278
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
279
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
280
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
281
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
282
|
+
validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
|
|
283
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
284
|
+
clearValidation: () => void;
|
|
285
|
+
};
|
|
286
|
+
validateOnSubmit: () => boolean;
|
|
287
|
+
checkErrorOnBlur: () => void;
|
|
288
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
289
|
+
"update:modelValue": (...args: any[]) => void;
|
|
290
|
+
clear: (...args: any[]) => void;
|
|
291
|
+
"prepend-icon-click": (...args: any[]) => void;
|
|
292
|
+
"append-icon-click": (...args: any[]) => void;
|
|
293
|
+
}, string, {
|
|
294
|
+
modelValue: string | number | null;
|
|
295
|
+
prependIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
296
|
+
appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
297
|
+
prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
298
|
+
appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
299
|
+
prependTooltip: string;
|
|
300
|
+
appendTooltip: string;
|
|
301
|
+
tooltipLocation: "top" | "bottom" | "start" | "end";
|
|
302
|
+
variantStyle: import('../Customs/SyTextField/types').VariantStyle;
|
|
303
|
+
color: import('../Customs/SyTextField/types').ColorType;
|
|
304
|
+
isClearable: boolean;
|
|
305
|
+
label: string;
|
|
306
|
+
errorMessages: string[] | null;
|
|
307
|
+
warningMessages: string[] | null;
|
|
308
|
+
successMessages: string[] | null;
|
|
309
|
+
isReadOnly: boolean;
|
|
310
|
+
isActive: boolean;
|
|
311
|
+
baseColor: string;
|
|
312
|
+
bgColor: string;
|
|
313
|
+
centerAffix: boolean;
|
|
314
|
+
counter: string | number | boolean;
|
|
315
|
+
counterValue: number | ((value: any) => number);
|
|
316
|
+
density: "default" | "comfortable" | "compact";
|
|
317
|
+
direction: "horizontal" | "vertical";
|
|
318
|
+
isDirty: boolean;
|
|
319
|
+
isDisabled: boolean;
|
|
320
|
+
isOnError: boolean;
|
|
321
|
+
isFlat: boolean;
|
|
322
|
+
isFocused: boolean;
|
|
323
|
+
areDetailsHidden: boolean | "auto";
|
|
324
|
+
areSpinButtonsHidden: boolean;
|
|
325
|
+
hint: string;
|
|
326
|
+
id: string;
|
|
327
|
+
loading: string | boolean;
|
|
328
|
+
maxErrors: string | number;
|
|
329
|
+
maxWidth: string | number;
|
|
330
|
+
messages: string | string[];
|
|
331
|
+
minWidth: string | number;
|
|
332
|
+
name: string;
|
|
333
|
+
displayPersistentClear: boolean;
|
|
334
|
+
displayPersistentCounter: boolean;
|
|
335
|
+
displayPersistentHint: boolean;
|
|
336
|
+
displayPersistentPlaceholder: boolean;
|
|
337
|
+
placeholder: string;
|
|
338
|
+
prefix: string;
|
|
339
|
+
isReversed: boolean;
|
|
340
|
+
role: string;
|
|
341
|
+
rounded: string | number | boolean;
|
|
342
|
+
isOnSingleLine: boolean;
|
|
343
|
+
suffix: string;
|
|
344
|
+
theme: string;
|
|
345
|
+
isTiled: boolean;
|
|
346
|
+
type: string;
|
|
347
|
+
width: string | number;
|
|
348
|
+
displayAsterisk: boolean;
|
|
349
|
+
noIcon: boolean;
|
|
350
|
+
customRules: ValidationRule[];
|
|
351
|
+
customWarningRules: ValidationRule[];
|
|
352
|
+
customSuccessRules: ValidationRule[];
|
|
353
|
+
showSuccessMessages: boolean;
|
|
354
|
+
isValidateOnBlur: boolean;
|
|
355
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
356
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
357
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
358
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
359
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
360
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
361
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
362
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
363
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
364
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
365
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
366
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
367
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
368
|
+
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
369
|
+
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
370
|
+
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;
|
|
371
|
+
};
|
|
372
|
+
$forceUpdate: () => void;
|
|
373
|
+
$nextTick: typeof nextTick;
|
|
374
|
+
$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;
|
|
375
|
+
} & Readonly<{
|
|
376
|
+
modelValue: string | number | null;
|
|
377
|
+
prependIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
378
|
+
appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
379
|
+
prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
380
|
+
appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
381
|
+
prependTooltip: string;
|
|
382
|
+
appendTooltip: string;
|
|
383
|
+
tooltipLocation: "top" | "bottom" | "start" | "end";
|
|
384
|
+
variantStyle: import('../Customs/SyTextField/types').VariantStyle;
|
|
385
|
+
color: import('../Customs/SyTextField/types').ColorType;
|
|
386
|
+
isClearable: boolean;
|
|
387
|
+
label: string;
|
|
388
|
+
errorMessages: string[] | null;
|
|
389
|
+
warningMessages: string[] | null;
|
|
390
|
+
successMessages: string[] | null;
|
|
391
|
+
isReadOnly: boolean;
|
|
392
|
+
isActive: boolean;
|
|
393
|
+
baseColor: string;
|
|
394
|
+
bgColor: string;
|
|
395
|
+
centerAffix: boolean;
|
|
396
|
+
counter: string | number | boolean;
|
|
397
|
+
counterValue: number | ((value: any) => number);
|
|
398
|
+
density: "default" | "comfortable" | "compact";
|
|
399
|
+
direction: "horizontal" | "vertical";
|
|
400
|
+
isDirty: boolean;
|
|
401
|
+
isDisabled: boolean;
|
|
402
|
+
isOnError: boolean;
|
|
403
|
+
isFlat: boolean;
|
|
404
|
+
isFocused: boolean;
|
|
405
|
+
areDetailsHidden: boolean | "auto";
|
|
406
|
+
areSpinButtonsHidden: boolean;
|
|
407
|
+
hint: string;
|
|
408
|
+
id: string;
|
|
409
|
+
loading: string | boolean;
|
|
410
|
+
maxErrors: string | number;
|
|
411
|
+
maxWidth: string | number;
|
|
412
|
+
messages: string | string[];
|
|
413
|
+
minWidth: string | number;
|
|
414
|
+
name: string;
|
|
415
|
+
displayPersistentClear: boolean;
|
|
416
|
+
displayPersistentCounter: boolean;
|
|
417
|
+
displayPersistentHint: boolean;
|
|
418
|
+
displayPersistentPlaceholder: boolean;
|
|
419
|
+
placeholder: string;
|
|
420
|
+
prefix: string;
|
|
421
|
+
isReversed: boolean;
|
|
422
|
+
role: string;
|
|
423
|
+
rounded: string | number | boolean;
|
|
424
|
+
isOnSingleLine: boolean;
|
|
425
|
+
suffix: string;
|
|
426
|
+
theme: string;
|
|
427
|
+
isTiled: boolean;
|
|
428
|
+
type: string;
|
|
429
|
+
width: string | number;
|
|
430
|
+
displayAsterisk: boolean;
|
|
431
|
+
noIcon: boolean;
|
|
432
|
+
customRules: ValidationRule[];
|
|
433
|
+
customWarningRules: ValidationRule[];
|
|
434
|
+
customSuccessRules: ValidationRule[];
|
|
435
|
+
showSuccessMessages: boolean;
|
|
436
|
+
isValidateOnBlur: boolean;
|
|
437
|
+
}> & Omit<Readonly<{
|
|
438
|
+
modelValue?: string | number | null | undefined;
|
|
439
|
+
prependIcon?: import('../Customs/SyTextField/types').IconType;
|
|
440
|
+
appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
441
|
+
prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
442
|
+
appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
443
|
+
prependTooltip?: string | undefined;
|
|
444
|
+
appendTooltip?: string | undefined;
|
|
445
|
+
tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
446
|
+
variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
447
|
+
color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
448
|
+
isClearable?: boolean | undefined;
|
|
449
|
+
showDivider?: boolean | undefined;
|
|
450
|
+
label?: string | undefined;
|
|
451
|
+
required?: boolean | undefined;
|
|
452
|
+
errorMessages?: string[] | null | undefined;
|
|
453
|
+
warningMessages?: string[] | null | undefined;
|
|
454
|
+
successMessages?: string[] | null | undefined;
|
|
455
|
+
isReadOnly?: boolean | undefined;
|
|
456
|
+
isActive?: boolean | undefined;
|
|
457
|
+
baseColor?: string | undefined;
|
|
458
|
+
bgColor?: string | undefined;
|
|
459
|
+
centerAffix?: boolean | undefined;
|
|
460
|
+
counter?: string | number | boolean | undefined;
|
|
461
|
+
counterValue?: number | ((value: any) => number) | undefined;
|
|
462
|
+
density?: "default" | "comfortable" | "compact" | undefined;
|
|
463
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
464
|
+
isDirty?: boolean | undefined;
|
|
465
|
+
isDisabled?: boolean | undefined;
|
|
466
|
+
isOnError?: boolean | undefined;
|
|
467
|
+
isFlat?: boolean | undefined;
|
|
468
|
+
isFocused?: boolean | undefined;
|
|
469
|
+
areDetailsHidden?: boolean | "auto" | undefined;
|
|
470
|
+
areSpinButtonsHidden?: boolean | undefined;
|
|
471
|
+
hint?: string | undefined;
|
|
472
|
+
id?: string | undefined;
|
|
473
|
+
loading?: string | boolean | undefined;
|
|
474
|
+
maxErrors?: string | number | undefined;
|
|
475
|
+
maxWidth?: string | number | undefined;
|
|
476
|
+
messages?: string | string[] | undefined;
|
|
477
|
+
minWidth?: string | number | undefined;
|
|
478
|
+
name?: string | undefined;
|
|
479
|
+
displayPersistentClear?: boolean | undefined;
|
|
480
|
+
displayPersistentCounter?: boolean | undefined;
|
|
481
|
+
displayPersistentHint?: boolean | undefined;
|
|
482
|
+
displayPersistentPlaceholder?: boolean | undefined;
|
|
483
|
+
placeholder?: string | undefined;
|
|
484
|
+
prefix?: string | undefined;
|
|
485
|
+
isReversed?: boolean | undefined;
|
|
486
|
+
role?: string | undefined;
|
|
487
|
+
rounded?: string | number | boolean | undefined;
|
|
488
|
+
isOnSingleLine?: boolean | undefined;
|
|
489
|
+
suffix?: string | undefined;
|
|
490
|
+
theme?: string | undefined;
|
|
491
|
+
isTiled?: boolean | undefined;
|
|
492
|
+
type?: string | undefined;
|
|
493
|
+
width?: string | number | undefined;
|
|
494
|
+
displayAsterisk?: boolean | undefined;
|
|
495
|
+
noIcon?: boolean | undefined;
|
|
496
|
+
customRules?: ValidationRule[] | undefined;
|
|
497
|
+
customWarningRules?: ValidationRule[] | undefined;
|
|
498
|
+
customSuccessRules?: ValidationRule[] | undefined;
|
|
499
|
+
showSuccessMessages?: boolean | undefined;
|
|
500
|
+
isValidateOnBlur?: boolean | undefined;
|
|
501
|
+
}> & Readonly<{
|
|
502
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
503
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
504
|
+
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
505
|
+
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
506
|
+
}>, "validation" | "validateOnSubmit" | "checkErrorOnBlur" | ("modelValue" | "prependIcon" | "appendIcon" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "color" | "isClearable" | "label" | "errorMessages" | "warningMessages" | "successMessages" | "isReadOnly" | "isActive" | "baseColor" | "bgColor" | "centerAffix" | "counter" | "counterValue" | "density" | "direction" | "isDirty" | "isDisabled" | "isOnError" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "id" | "loading" | "maxErrors" | "maxWidth" | "messages" | "minWidth" | "name" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "placeholder" | "prefix" | "isReversed" | "role" | "rounded" | "isOnSingleLine" | "suffix" | "theme" | "isTiled" | "type" | "width" | "displayAsterisk" | "noIcon" | "customRules" | "customWarningRules" | "customSuccessRules" | "showSuccessMessages" | "isValidateOnBlur")> & import('vue').ShallowUnwrapRef<{
|
|
507
|
+
validation: {
|
|
508
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
509
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
510
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
511
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
512
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
513
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
514
|
+
validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
|
|
515
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
516
|
+
clearValidation: () => void;
|
|
517
|
+
};
|
|
518
|
+
validateOnSubmit: () => boolean;
|
|
519
|
+
checkErrorOnBlur: () => void;
|
|
520
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
521
|
+
$slots: {
|
|
522
|
+
prepend?(_: {}): any;
|
|
523
|
+
append?(_: {}): any;
|
|
524
|
+
'prepend-inner'?(_: {}): any;
|
|
525
|
+
'append-inner'?(_: {}): any;
|
|
526
|
+
details?(_: {}): any;
|
|
527
|
+
};
|
|
528
|
+
}) | null;
|
|
529
|
+
keyField: ({
|
|
530
|
+
$: import('vue').ComponentInternalInstance;
|
|
531
|
+
$data: {};
|
|
532
|
+
$props: {
|
|
533
|
+
readonly modelValue?: string | number | null | undefined;
|
|
534
|
+
readonly prependIcon?: import('../Customs/SyTextField/types').IconType;
|
|
535
|
+
readonly appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
536
|
+
readonly prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
537
|
+
readonly appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
538
|
+
readonly prependTooltip?: string | undefined;
|
|
539
|
+
readonly appendTooltip?: string | undefined;
|
|
540
|
+
readonly tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
541
|
+
readonly variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
542
|
+
readonly color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
543
|
+
readonly isClearable?: boolean | undefined;
|
|
544
|
+
readonly showDivider?: boolean | undefined;
|
|
545
|
+
readonly label?: string | undefined;
|
|
546
|
+
readonly required?: boolean | undefined;
|
|
547
|
+
readonly errorMessages?: string[] | null | undefined;
|
|
548
|
+
readonly warningMessages?: string[] | null | undefined;
|
|
549
|
+
readonly successMessages?: string[] | null | undefined;
|
|
550
|
+
readonly isReadOnly?: boolean | undefined;
|
|
551
|
+
readonly isActive?: boolean | undefined;
|
|
552
|
+
readonly baseColor?: string | undefined;
|
|
553
|
+
readonly bgColor?: string | undefined;
|
|
554
|
+
readonly centerAffix?: boolean | undefined;
|
|
555
|
+
readonly counter?: string | number | boolean | undefined;
|
|
556
|
+
readonly counterValue?: number | ((value: any) => number) | undefined;
|
|
557
|
+
readonly density?: "default" | "comfortable" | "compact" | undefined;
|
|
558
|
+
readonly direction?: "horizontal" | "vertical" | undefined;
|
|
559
|
+
readonly isDirty?: boolean | undefined;
|
|
560
|
+
readonly isDisabled?: boolean | undefined;
|
|
561
|
+
readonly isOnError?: boolean | undefined;
|
|
562
|
+
readonly isFlat?: boolean | undefined;
|
|
563
|
+
readonly isFocused?: boolean | undefined;
|
|
564
|
+
readonly areDetailsHidden?: boolean | "auto" | undefined;
|
|
565
|
+
readonly areSpinButtonsHidden?: boolean | undefined;
|
|
566
|
+
readonly hint?: string | undefined;
|
|
567
|
+
readonly id?: string | undefined;
|
|
568
|
+
readonly loading?: string | boolean | undefined;
|
|
569
|
+
readonly maxErrors?: string | number | undefined;
|
|
570
|
+
readonly maxWidth?: string | number | undefined;
|
|
571
|
+
readonly messages?: string | string[] | undefined;
|
|
572
|
+
readonly minWidth?: string | number | undefined;
|
|
573
|
+
readonly name?: string | undefined;
|
|
574
|
+
readonly displayPersistentClear?: boolean | undefined;
|
|
575
|
+
readonly displayPersistentCounter?: boolean | undefined;
|
|
576
|
+
readonly displayPersistentHint?: boolean | undefined;
|
|
577
|
+
readonly displayPersistentPlaceholder?: boolean | undefined;
|
|
578
|
+
readonly placeholder?: string | undefined;
|
|
579
|
+
readonly prefix?: string | undefined;
|
|
580
|
+
readonly isReversed?: boolean | undefined;
|
|
581
|
+
readonly role?: string | undefined;
|
|
582
|
+
readonly rounded?: string | number | boolean | undefined;
|
|
583
|
+
readonly isOnSingleLine?: boolean | undefined;
|
|
584
|
+
readonly suffix?: string | undefined;
|
|
585
|
+
readonly theme?: string | undefined;
|
|
586
|
+
readonly isTiled?: boolean | undefined;
|
|
587
|
+
readonly type?: string | undefined;
|
|
588
|
+
readonly width?: string | number | undefined;
|
|
589
|
+
readonly displayAsterisk?: boolean | undefined;
|
|
590
|
+
readonly noIcon?: boolean | undefined;
|
|
591
|
+
readonly customRules?: ValidationRule[] | undefined;
|
|
592
|
+
readonly customWarningRules?: ValidationRule[] | undefined;
|
|
593
|
+
readonly customSuccessRules?: ValidationRule[] | undefined;
|
|
594
|
+
readonly showSuccessMessages?: boolean | undefined;
|
|
595
|
+
readonly isValidateOnBlur?: boolean | undefined;
|
|
596
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
597
|
+
readonly onClear?: ((...args: any[]) => any) | undefined;
|
|
598
|
+
readonly "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
599
|
+
readonly "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
600
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
601
|
+
$attrs: {
|
|
602
|
+
[x: string]: unknown;
|
|
603
|
+
};
|
|
604
|
+
$refs: {
|
|
605
|
+
[x: string]: unknown;
|
|
606
|
+
};
|
|
607
|
+
$slots: Readonly<{
|
|
608
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
609
|
+
}>;
|
|
610
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
611
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
612
|
+
$host: Element | null;
|
|
613
|
+
$emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "prepend-icon-click", ...args: any[]) => void) & ((event: "append-icon-click", ...args: any[]) => void);
|
|
614
|
+
$el: any;
|
|
615
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
616
|
+
modelValue?: string | number | null | undefined;
|
|
617
|
+
prependIcon?: import('../Customs/SyTextField/types').IconType;
|
|
618
|
+
appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
619
|
+
prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
620
|
+
appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
621
|
+
prependTooltip?: string | undefined;
|
|
622
|
+
appendTooltip?: string | undefined;
|
|
623
|
+
tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
624
|
+
variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
625
|
+
color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
626
|
+
isClearable?: boolean | undefined;
|
|
627
|
+
showDivider?: boolean | undefined;
|
|
628
|
+
label?: string | undefined;
|
|
629
|
+
required?: boolean | undefined;
|
|
630
|
+
errorMessages?: string[] | null | undefined;
|
|
631
|
+
warningMessages?: string[] | null | undefined;
|
|
632
|
+
successMessages?: string[] | null | undefined;
|
|
633
|
+
isReadOnly?: boolean | undefined;
|
|
634
|
+
isActive?: boolean | undefined;
|
|
635
|
+
baseColor?: string | undefined;
|
|
636
|
+
bgColor?: string | undefined;
|
|
637
|
+
centerAffix?: boolean | undefined;
|
|
638
|
+
counter?: string | number | boolean | undefined;
|
|
639
|
+
counterValue?: number | ((value: any) => number) | undefined;
|
|
640
|
+
density?: "default" | "comfortable" | "compact" | undefined;
|
|
641
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
642
|
+
isDirty?: boolean | undefined;
|
|
643
|
+
isDisabled?: boolean | undefined;
|
|
644
|
+
isOnError?: boolean | undefined;
|
|
645
|
+
isFlat?: boolean | undefined;
|
|
646
|
+
isFocused?: boolean | undefined;
|
|
647
|
+
areDetailsHidden?: boolean | "auto" | undefined;
|
|
648
|
+
areSpinButtonsHidden?: boolean | undefined;
|
|
649
|
+
hint?: string | undefined;
|
|
650
|
+
id?: string | undefined;
|
|
651
|
+
loading?: string | boolean | undefined;
|
|
652
|
+
maxErrors?: string | number | undefined;
|
|
653
|
+
maxWidth?: string | number | undefined;
|
|
654
|
+
messages?: string | string[] | undefined;
|
|
655
|
+
minWidth?: string | number | undefined;
|
|
656
|
+
name?: string | undefined;
|
|
657
|
+
displayPersistentClear?: boolean | undefined;
|
|
658
|
+
displayPersistentCounter?: boolean | undefined;
|
|
659
|
+
displayPersistentHint?: boolean | undefined;
|
|
660
|
+
displayPersistentPlaceholder?: boolean | undefined;
|
|
661
|
+
placeholder?: string | undefined;
|
|
662
|
+
prefix?: string | undefined;
|
|
663
|
+
isReversed?: boolean | undefined;
|
|
664
|
+
role?: string | undefined;
|
|
665
|
+
rounded?: string | number | boolean | undefined;
|
|
666
|
+
isOnSingleLine?: boolean | undefined;
|
|
667
|
+
suffix?: string | undefined;
|
|
668
|
+
theme?: string | undefined;
|
|
669
|
+
isTiled?: boolean | undefined;
|
|
670
|
+
type?: string | undefined;
|
|
671
|
+
width?: string | number | undefined;
|
|
672
|
+
displayAsterisk?: boolean | undefined;
|
|
673
|
+
noIcon?: boolean | undefined;
|
|
674
|
+
customRules?: ValidationRule[] | undefined;
|
|
675
|
+
customWarningRules?: ValidationRule[] | undefined;
|
|
676
|
+
customSuccessRules?: ValidationRule[] | undefined;
|
|
677
|
+
showSuccessMessages?: boolean | undefined;
|
|
678
|
+
isValidateOnBlur?: boolean | undefined;
|
|
679
|
+
}> & Readonly<{
|
|
680
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
681
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
682
|
+
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
683
|
+
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
684
|
+
}>, {
|
|
685
|
+
validation: {
|
|
686
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
687
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
688
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
689
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
690
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
691
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
692
|
+
validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
|
|
693
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
694
|
+
clearValidation: () => void;
|
|
695
|
+
};
|
|
696
|
+
validateOnSubmit: () => boolean;
|
|
697
|
+
checkErrorOnBlur: () => void;
|
|
698
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
699
|
+
"update:modelValue": (...args: any[]) => void;
|
|
700
|
+
clear: (...args: any[]) => void;
|
|
701
|
+
"prepend-icon-click": (...args: any[]) => void;
|
|
702
|
+
"append-icon-click": (...args: any[]) => void;
|
|
703
|
+
}, string, {
|
|
704
|
+
modelValue: string | number | null;
|
|
705
|
+
prependIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
706
|
+
appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
707
|
+
prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
708
|
+
appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
709
|
+
prependTooltip: string;
|
|
710
|
+
appendTooltip: string;
|
|
711
|
+
tooltipLocation: "top" | "bottom" | "start" | "end";
|
|
712
|
+
variantStyle: import('../Customs/SyTextField/types').VariantStyle;
|
|
713
|
+
color: import('../Customs/SyTextField/types').ColorType;
|
|
714
|
+
isClearable: boolean;
|
|
715
|
+
label: string;
|
|
716
|
+
errorMessages: string[] | null;
|
|
717
|
+
warningMessages: string[] | null;
|
|
718
|
+
successMessages: string[] | null;
|
|
719
|
+
isReadOnly: boolean;
|
|
720
|
+
isActive: boolean;
|
|
721
|
+
baseColor: string;
|
|
722
|
+
bgColor: string;
|
|
723
|
+
centerAffix: boolean;
|
|
724
|
+
counter: string | number | boolean;
|
|
725
|
+
counterValue: number | ((value: any) => number);
|
|
726
|
+
density: "default" | "comfortable" | "compact";
|
|
727
|
+
direction: "horizontal" | "vertical";
|
|
728
|
+
isDirty: boolean;
|
|
729
|
+
isDisabled: boolean;
|
|
730
|
+
isOnError: boolean;
|
|
731
|
+
isFlat: boolean;
|
|
732
|
+
isFocused: boolean;
|
|
733
|
+
areDetailsHidden: boolean | "auto";
|
|
734
|
+
areSpinButtonsHidden: boolean;
|
|
735
|
+
hint: string;
|
|
736
|
+
id: string;
|
|
737
|
+
loading: string | boolean;
|
|
738
|
+
maxErrors: string | number;
|
|
739
|
+
maxWidth: string | number;
|
|
740
|
+
messages: string | string[];
|
|
741
|
+
minWidth: string | number;
|
|
742
|
+
name: string;
|
|
743
|
+
displayPersistentClear: boolean;
|
|
744
|
+
displayPersistentCounter: boolean;
|
|
745
|
+
displayPersistentHint: boolean;
|
|
746
|
+
displayPersistentPlaceholder: boolean;
|
|
747
|
+
placeholder: string;
|
|
748
|
+
prefix: string;
|
|
749
|
+
isReversed: boolean;
|
|
750
|
+
role: string;
|
|
751
|
+
rounded: string | number | boolean;
|
|
752
|
+
isOnSingleLine: boolean;
|
|
753
|
+
suffix: string;
|
|
754
|
+
theme: string;
|
|
755
|
+
isTiled: boolean;
|
|
756
|
+
type: string;
|
|
757
|
+
width: string | number;
|
|
758
|
+
displayAsterisk: boolean;
|
|
759
|
+
noIcon: boolean;
|
|
760
|
+
customRules: ValidationRule[];
|
|
761
|
+
customWarningRules: ValidationRule[];
|
|
762
|
+
customSuccessRules: ValidationRule[];
|
|
763
|
+
showSuccessMessages: boolean;
|
|
764
|
+
isValidateOnBlur: boolean;
|
|
765
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
766
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
767
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
768
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
769
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
770
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
771
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
772
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
773
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
774
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
775
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
776
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
777
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
778
|
+
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
779
|
+
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
780
|
+
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;
|
|
781
|
+
};
|
|
782
|
+
$forceUpdate: () => void;
|
|
783
|
+
$nextTick: typeof nextTick;
|
|
784
|
+
$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;
|
|
785
|
+
} & Readonly<{
|
|
786
|
+
modelValue: string | number | null;
|
|
787
|
+
prependIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
788
|
+
appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
789
|
+
prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
790
|
+
appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
791
|
+
prependTooltip: string;
|
|
792
|
+
appendTooltip: string;
|
|
793
|
+
tooltipLocation: "top" | "bottom" | "start" | "end";
|
|
794
|
+
variantStyle: import('../Customs/SyTextField/types').VariantStyle;
|
|
795
|
+
color: import('../Customs/SyTextField/types').ColorType;
|
|
796
|
+
isClearable: boolean;
|
|
797
|
+
label: string;
|
|
798
|
+
errorMessages: string[] | null;
|
|
799
|
+
warningMessages: string[] | null;
|
|
800
|
+
successMessages: string[] | null;
|
|
801
|
+
isReadOnly: boolean;
|
|
802
|
+
isActive: boolean;
|
|
803
|
+
baseColor: string;
|
|
804
|
+
bgColor: string;
|
|
805
|
+
centerAffix: boolean;
|
|
806
|
+
counter: string | number | boolean;
|
|
807
|
+
counterValue: number | ((value: any) => number);
|
|
808
|
+
density: "default" | "comfortable" | "compact";
|
|
809
|
+
direction: "horizontal" | "vertical";
|
|
810
|
+
isDirty: boolean;
|
|
811
|
+
isDisabled: boolean;
|
|
812
|
+
isOnError: boolean;
|
|
813
|
+
isFlat: boolean;
|
|
814
|
+
isFocused: boolean;
|
|
815
|
+
areDetailsHidden: boolean | "auto";
|
|
816
|
+
areSpinButtonsHidden: boolean;
|
|
817
|
+
hint: string;
|
|
818
|
+
id: string;
|
|
819
|
+
loading: string | boolean;
|
|
820
|
+
maxErrors: string | number;
|
|
821
|
+
maxWidth: string | number;
|
|
822
|
+
messages: string | string[];
|
|
823
|
+
minWidth: string | number;
|
|
824
|
+
name: string;
|
|
825
|
+
displayPersistentClear: boolean;
|
|
826
|
+
displayPersistentCounter: boolean;
|
|
827
|
+
displayPersistentHint: boolean;
|
|
828
|
+
displayPersistentPlaceholder: boolean;
|
|
829
|
+
placeholder: string;
|
|
830
|
+
prefix: string;
|
|
831
|
+
isReversed: boolean;
|
|
832
|
+
role: string;
|
|
833
|
+
rounded: string | number | boolean;
|
|
834
|
+
isOnSingleLine: boolean;
|
|
835
|
+
suffix: string;
|
|
836
|
+
theme: string;
|
|
837
|
+
isTiled: boolean;
|
|
838
|
+
type: string;
|
|
839
|
+
width: string | number;
|
|
840
|
+
displayAsterisk: boolean;
|
|
841
|
+
noIcon: boolean;
|
|
842
|
+
customRules: ValidationRule[];
|
|
843
|
+
customWarningRules: ValidationRule[];
|
|
844
|
+
customSuccessRules: ValidationRule[];
|
|
845
|
+
showSuccessMessages: boolean;
|
|
846
|
+
isValidateOnBlur: boolean;
|
|
847
|
+
}> & Omit<Readonly<{
|
|
848
|
+
modelValue?: string | number | null | undefined;
|
|
849
|
+
prependIcon?: import('../Customs/SyTextField/types').IconType;
|
|
850
|
+
appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
851
|
+
prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
852
|
+
appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
853
|
+
prependTooltip?: string | undefined;
|
|
854
|
+
appendTooltip?: string | undefined;
|
|
855
|
+
tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
856
|
+
variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
857
|
+
color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
858
|
+
isClearable?: boolean | undefined;
|
|
859
|
+
showDivider?: boolean | undefined;
|
|
860
|
+
label?: string | undefined;
|
|
861
|
+
required?: boolean | undefined;
|
|
862
|
+
errorMessages?: string[] | null | undefined;
|
|
863
|
+
warningMessages?: string[] | null | undefined;
|
|
864
|
+
successMessages?: string[] | null | undefined;
|
|
865
|
+
isReadOnly?: boolean | undefined;
|
|
866
|
+
isActive?: boolean | undefined;
|
|
867
|
+
baseColor?: string | undefined;
|
|
868
|
+
bgColor?: string | undefined;
|
|
869
|
+
centerAffix?: boolean | undefined;
|
|
870
|
+
counter?: string | number | boolean | undefined;
|
|
871
|
+
counterValue?: number | ((value: any) => number) | undefined;
|
|
872
|
+
density?: "default" | "comfortable" | "compact" | undefined;
|
|
873
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
874
|
+
isDirty?: boolean | undefined;
|
|
875
|
+
isDisabled?: boolean | undefined;
|
|
876
|
+
isOnError?: boolean | undefined;
|
|
877
|
+
isFlat?: boolean | undefined;
|
|
878
|
+
isFocused?: boolean | undefined;
|
|
879
|
+
areDetailsHidden?: boolean | "auto" | undefined;
|
|
880
|
+
areSpinButtonsHidden?: boolean | undefined;
|
|
881
|
+
hint?: string | undefined;
|
|
882
|
+
id?: string | undefined;
|
|
883
|
+
loading?: string | boolean | undefined;
|
|
884
|
+
maxErrors?: string | number | undefined;
|
|
885
|
+
maxWidth?: string | number | undefined;
|
|
886
|
+
messages?: string | string[] | undefined;
|
|
887
|
+
minWidth?: string | number | undefined;
|
|
888
|
+
name?: string | undefined;
|
|
889
|
+
displayPersistentClear?: boolean | undefined;
|
|
890
|
+
displayPersistentCounter?: boolean | undefined;
|
|
891
|
+
displayPersistentHint?: boolean | undefined;
|
|
892
|
+
displayPersistentPlaceholder?: boolean | undefined;
|
|
893
|
+
placeholder?: string | undefined;
|
|
894
|
+
prefix?: string | undefined;
|
|
895
|
+
isReversed?: boolean | undefined;
|
|
896
|
+
role?: string | undefined;
|
|
897
|
+
rounded?: string | number | boolean | undefined;
|
|
898
|
+
isOnSingleLine?: boolean | undefined;
|
|
899
|
+
suffix?: string | undefined;
|
|
900
|
+
theme?: string | undefined;
|
|
901
|
+
isTiled?: boolean | undefined;
|
|
902
|
+
type?: string | undefined;
|
|
903
|
+
width?: string | number | undefined;
|
|
904
|
+
displayAsterisk?: boolean | undefined;
|
|
905
|
+
noIcon?: boolean | undefined;
|
|
906
|
+
customRules?: ValidationRule[] | undefined;
|
|
907
|
+
customWarningRules?: ValidationRule[] | undefined;
|
|
908
|
+
customSuccessRules?: ValidationRule[] | undefined;
|
|
909
|
+
showSuccessMessages?: boolean | undefined;
|
|
910
|
+
isValidateOnBlur?: boolean | undefined;
|
|
911
|
+
}> & Readonly<{
|
|
912
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
913
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
914
|
+
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
915
|
+
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
916
|
+
}>, "validation" | "validateOnSubmit" | "checkErrorOnBlur" | ("modelValue" | "prependIcon" | "appendIcon" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "color" | "isClearable" | "label" | "errorMessages" | "warningMessages" | "successMessages" | "isReadOnly" | "isActive" | "baseColor" | "bgColor" | "centerAffix" | "counter" | "counterValue" | "density" | "direction" | "isDirty" | "isDisabled" | "isOnError" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "id" | "loading" | "maxErrors" | "maxWidth" | "messages" | "minWidth" | "name" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "placeholder" | "prefix" | "isReversed" | "role" | "rounded" | "isOnSingleLine" | "suffix" | "theme" | "isTiled" | "type" | "width" | "displayAsterisk" | "noIcon" | "customRules" | "customWarningRules" | "customSuccessRules" | "showSuccessMessages" | "isValidateOnBlur")> & import('vue').ShallowUnwrapRef<{
|
|
917
|
+
validation: {
|
|
918
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
919
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
920
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
921
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
922
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
923
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
924
|
+
validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
|
|
925
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
926
|
+
clearValidation: () => void;
|
|
927
|
+
};
|
|
928
|
+
validateOnSubmit: () => boolean;
|
|
929
|
+
checkErrorOnBlur: () => void;
|
|
930
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
931
|
+
$slots: {
|
|
932
|
+
prepend?(_: {}): any;
|
|
933
|
+
append?(_: {}): any;
|
|
934
|
+
'prepend-inner'?(_: {}): any;
|
|
935
|
+
'append-inner'?(_: {}): any;
|
|
936
|
+
details?(_: {}): any;
|
|
937
|
+
};
|
|
938
|
+
}) | null;
|
|
939
|
+
}, HTMLDivElement>;
|
|
940
|
+
export default _default;
|