@citruslime/ui 4.0.0-beta.9 → 4.0.0

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.
Files changed (85) hide show
  1. package/README.md +1 -1
  2. package/dist/citrus-lime-ui.es.js +4022 -3896
  3. package/dist/citrus-lime-ui.umd.js +2 -2
  4. package/dist/components/accordion/cl-ui-accordion.vue.d.ts +13 -38
  5. package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +8 -3
  6. package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +13 -37
  7. package/dist/components/app/cl-ui-app.vue.d.ts +10 -34
  8. package/dist/components/button/cl-ui-button.vue.d.ts +17 -47
  9. package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +19 -31
  10. package/dist/components/calendar/cl-ui-calendar.vue.d.ts +18 -68
  11. package/dist/components/calendar/cl-ui-quick-dates-group.vue.d.ts +6 -17
  12. package/dist/components/calendar/cl-ui-quick-dates.vue.d.ts +6 -17
  13. package/dist/components/card/cl-ui-card.vue.d.ts +13 -40
  14. package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +29 -90
  15. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +18 -63
  16. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +9 -37
  17. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +12 -44
  18. package/dist/components/currency/cl-ui-currency-input.vue.d.ts +13 -49
  19. package/dist/components/file-uploader/cl-ui-file-uploader.vue.d.ts +17 -44
  20. package/dist/components/footer/cl-ui-footer.vue.d.ts +12 -5
  21. package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +17 -38
  22. package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +23 -49
  23. package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +7 -19
  24. package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +13 -39
  25. package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +13 -39
  26. package/dist/components/grid/cl-ui-grid.vue.d.ts +47 -104
  27. package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +7 -34
  28. package/dist/components/grid/header/cl-ui-grid-filter-input.vue.d.ts +8 -23
  29. package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +15 -29
  30. package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +13 -29
  31. package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +8 -20
  32. package/dist/components/grid/header/cl-ui-grid-search.vue.d.ts +21 -43
  33. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +8 -17
  34. package/dist/components/grid-lite/body/cl-ui-grid-lite-body-skeleton.vue.d.ts +3 -14
  35. package/dist/components/grid-lite/body/cl-ui-grid-lite-body.vue.d.ts +14 -49
  36. package/dist/components/grid-lite/body/cl-ui-grid-lite-cell.vue.d.ts +7 -18
  37. package/dist/components/grid-lite/body/cl-ui-grid-lite-row.vue.d.ts +7 -19
  38. package/dist/components/grid-lite/cl-ui-grid-lite.vue.d.ts +21 -66
  39. package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer.vue.d.ts +14 -47
  40. package/dist/components/grid-lite/header/cl-ui-grid-lite-header.vue.d.ts +14 -45
  41. package/dist/components/header/cl-ui-header.vue.d.ts +12 -24
  42. package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +15 -46
  43. package/dist/components/input/cl-ui-input.vue.d.ts +49 -487
  44. package/dist/components/input-v2/input-checkbox/cl-ui-input-checkbox.vue.d.ts +24 -49
  45. package/dist/components/input-v2/input-date-range/cl-ui-input-date-range-input.vue.d.ts +9 -15
  46. package/dist/components/input-v2/input-date-range/cl-ui-input-date-range.vue.d.ts +28 -96
  47. package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +33 -112
  48. package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +12 -40
  49. package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +37 -123
  50. package/dist/components/input-v2/input-range/cl-ui-input-range.vue.d.ts +23 -78
  51. package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +31 -75
  52. package/dist/components/input-v2/input-text-area/cl-ui-input-text-area.vue.d.ts +22 -49
  53. package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +8 -34
  54. package/dist/components/login/cl-ui-login.vue.d.ts +16 -43
  55. package/dist/components/menu/cl-ui-menu.vue.d.ts +26 -197
  56. package/dist/components/menu/group/cl-ui-menu-group.vue.d.ts +11 -24
  57. package/dist/components/menu/icon/cl-ui-menu-icon.vue.d.ts +3 -13
  58. package/dist/components/menu/item/cl-ui-menu-item.vue.d.ts +5 -5
  59. package/dist/components/menu/section/cl-ui-menu-section.vue.d.ts +7 -42
  60. package/dist/components/modal/cl-ui-modal.vue.d.ts +31 -66
  61. package/dist/components/navigation/cl-ui-navigation.vue.d.ts +22 -50
  62. package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +7 -18
  63. package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +5 -29
  64. package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +8 -3
  65. package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +10 -4
  66. package/dist/components/notification/cl-ui-notification.vue.d.ts +7 -35
  67. package/dist/components/select/cl-ui-select.vue.d.ts +28 -147
  68. package/dist/components/select/select-input/cl-ui-select-input.vue.d.ts +10 -12
  69. package/dist/components/select/select-options/cl-ui-select-option.vue.d.ts +14 -42
  70. package/dist/components/skeleton-loaders/cl-ui-skeleton-text.vue.d.ts +11 -36
  71. package/dist/components/slider/cl-ui-slider.vue.d.ts +14 -54
  72. package/dist/components/tab/cl-ui-tab.vue.d.ts +27 -60
  73. package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +10 -34
  74. package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +16 -47
  75. package/dist/components/toggle/cl-ui-radio-group.vue.d.ts +10 -22
  76. package/dist/components/toggle/cl-ui-radio.vue.d.ts +13 -39
  77. package/dist/components/toggle/cl-ui-toggle-button.vue.d.ts +10 -33
  78. package/dist/components/toggle/cl-ui-toggle.vue.d.ts +22 -45
  79. package/dist/components/tree-list/cl-ui-tree-list-subtree.vue.d.ts +20 -58
  80. package/dist/components/tree-list/cl-ui-tree-list-tree-path.vue.d.ts +3 -13
  81. package/dist/components/tree-list/cl-ui-tree-list.vue.d.ts +12 -40
  82. package/dist/ui.css +1 -0
  83. package/dist/utils/injectionKeys.d.ts +1 -1
  84. package/package.json +13 -9
  85. package/dist/style.css +0 -1
@@ -1,496 +1,75 @@
1
1
  import type { CurrencyInputOptions } from 'vue-currency-input';
2
+ import { clUiCalendar } from '../calendar';
2
3
  import type { QuickDateName } from '../calendar/quick-dates';
3
4
  import type { DateRange } from '../input-v2';
5
+ import { clUiSlider } from '../slider';
4
6
  import type { InputValidationState, InputType, InputValueType } from './types';
5
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
6
- inputType?: "number" | "reset" | "submit" | "search" | "button" | "time" | "text" | "color" | "email" | "tel" | "password" | "checkbox" | "date" | "file" | "radio" | "range" | "url" | "currency" | "datetime" | "dateRange" | undefined;
7
+ type __VLS_Props = {
8
+ inputType?: InputType;
7
9
  modelValue?: InputValueType;
8
- label?: string | undefined;
9
- isRequired?: boolean | undefined;
10
- customValidationFunction?: ((_name: string, _value: InputValueType) => InputValidationState) | undefined;
11
- onInputFunction?: ((_value: InputValueType) => InputValueType) | undefined;
12
- min?: string | number | null | undefined;
13
- max?: string | number | null | undefined;
14
- step?: number | undefined;
15
- validateImmediately?: boolean | undefined;
16
- validateOn?: "change" | "input" | "disabled" | undefined;
17
- externalErrors?: string[] | undefined;
18
- disabled?: boolean | undefined;
19
- timeZone?: string | null | undefined;
20
- requiredText?: string | undefined;
21
- placeholderText?: string | undefined;
22
- group?: string | undefined;
23
- showLabel?: boolean | undefined;
24
- showArrows?: boolean | undefined;
25
- autocomplete?: string | undefined;
26
- highlightWhenValid?: boolean | undefined;
27
- messageWhenValid?: string | undefined;
28
- inputSpecificClasses?: string | undefined;
29
- showValidationMessages?: boolean | undefined;
30
- hideRequiredAsterisk?: boolean | undefined;
31
- initialDate?: string | null | undefined;
32
- quickDateScope?: "past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null | undefined;
33
- dateFormatLocale?: string | null | undefined;
34
- currencyOptions?: CurrencyInputOptions | undefined;
35
- }>, {
36
- inputType: string;
37
- modelValue: undefined;
38
- label: string;
39
- isRequired: boolean;
40
- customValidationFunction: undefined;
41
- onInputFunction: undefined;
42
- min: null;
43
- max: null;
44
- step: number;
45
- validateImmediately: boolean;
46
- validateOn: string;
47
- externalErrors: () => never[];
48
- disabled: boolean;
49
- timeZone: null;
50
- requiredText: string;
51
- placeholderText: string;
52
- group: string;
53
- showLabel: boolean;
54
- showArrows: boolean;
55
- autocomplete: string;
56
- highlightWhenValid: boolean;
57
- messageWhenValid: string;
58
- inputSpecificClasses: string;
59
- showValidationMessages: boolean;
60
- hideRequiredAsterisk: boolean;
61
- initialDate: null;
62
- quickDateScope: null;
63
- dateFormatLocale: null;
64
- currencyOptions: undefined;
65
- }>>, {
10
+ label?: string;
11
+ isRequired?: boolean;
12
+ customValidationFunction?: (_name: string, _value: InputValueType) => InputValidationState;
13
+ onInputFunction?: (_value: InputValueType) => InputValueType;
14
+ min?: number | string | null;
15
+ max?: number | string | null;
16
+ step?: number;
17
+ validateImmediately?: boolean;
18
+ validateOn?: 'disabled' | 'input' | 'change';
19
+ externalErrors?: string[];
20
+ disabled?: boolean;
21
+ timeZone?: string | null;
22
+ requiredText?: string;
23
+ placeholderText?: string;
24
+ group?: string;
25
+ showLabel?: boolean;
26
+ showArrows?: boolean;
27
+ autocomplete?: string;
28
+ highlightWhenValid?: boolean;
29
+ messageWhenValid?: string;
30
+ inputSpecificClasses?: string;
31
+ showValidationMessages?: boolean;
32
+ hideRequiredAsterisk?: boolean;
33
+ initialDate?: string | null;
34
+ quickDateScope?: 'past' | 'future' | 'none' | QuickDateName[] | null;
35
+ dateFormatLocale?: string | null;
36
+ currencyOptions?: CurrencyInputOptions;
37
+ };
38
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {
66
39
  focus(): void;
67
40
  blur(): void;
68
41
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
69
- change: (args_0: Event, args_1: InputValueType) => void;
70
- click: (event: MouseEvent) => void;
71
- focus: () => void;
72
42
  input: (args_0: {
73
- target: EventTarget | import("vue").DefineComponent<import("vue").ExtractPropTypes<{
74
- type: {
75
- type: import("vue").PropType<"time" | "date" | "datetime" | "dateRange">;
76
- default: string;
77
- };
78
- disabled: {
79
- type: import("vue").PropType<boolean>;
80
- default: boolean;
81
- };
82
- max: {
83
- type: import("vue").PropType<string | null>;
84
- default: null;
85
- };
86
- required: {
87
- type: import("vue").PropType<boolean>;
88
- default: boolean;
89
- };
90
- placeholder: {
91
- type: import("vue").PropType<string | null>;
92
- default: null;
93
- };
94
- date: {
95
- type: import("vue").PropType<string | DateRange | null>;
96
- required: true;
97
- };
98
- min: {
99
- type: import("vue").PropType<string | null>;
100
- default: null;
101
- };
102
- dateFormatLocale: {
103
- type: import("vue").PropType<string | null>;
104
- default: null;
105
- };
106
- timeZone: {
107
- type: import("vue").PropType<string | null>;
108
- default: null;
109
- };
110
- quickDateScope: {
111
- type: import("vue").PropType<"past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
112
- default: null;
113
- };
114
- initialDate: {
115
- type: import("vue").PropType<string | null>;
116
- default: null;
117
- };
118
- }>, {
119
- focus(): void;
120
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
121
- "update:date": (args_0: string | DateRange | null) => void;
122
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
123
- type: {
124
- type: import("vue").PropType<"time" | "date" | "datetime" | "dateRange">;
125
- default: string;
126
- };
127
- disabled: {
128
- type: import("vue").PropType<boolean>;
129
- default: boolean;
130
- };
131
- max: {
132
- type: import("vue").PropType<string | null>;
133
- default: null;
134
- };
135
- required: {
136
- type: import("vue").PropType<boolean>;
137
- default: boolean;
138
- };
139
- placeholder: {
140
- type: import("vue").PropType<string | null>;
141
- default: null;
142
- };
143
- date: {
144
- type: import("vue").PropType<string | DateRange | null>;
145
- required: true;
146
- };
147
- min: {
148
- type: import("vue").PropType<string | null>;
149
- default: null;
150
- };
151
- dateFormatLocale: {
152
- type: import("vue").PropType<string | null>;
153
- default: null;
154
- };
155
- timeZone: {
156
- type: import("vue").PropType<string | null>;
157
- default: null;
158
- };
159
- quickDateScope: {
160
- type: import("vue").PropType<"past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
161
- default: null;
162
- };
163
- initialDate: {
164
- type: import("vue").PropType<string | null>;
165
- default: null;
166
- };
167
- }>> & Readonly<{
168
- "onUpdate:date"?: ((args_0: string | DateRange | null) => any) | undefined;
169
- }>, {
170
- type: "time" | "date" | "datetime" | "dateRange";
171
- disabled: boolean;
172
- max: string | null;
173
- required: boolean;
174
- placeholder: string | null;
175
- min: string | null;
176
- dateFormatLocale: string | null;
177
- timeZone: string | null;
178
- quickDateScope: "past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null;
179
- initialDate: string | null;
180
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | import("vue").DefineComponent<import("vue").ExtractPropTypes<{
181
- value: {
182
- required: true;
183
- type: import("vue").PropType<number>;
184
- };
185
- disabled: {
186
- type: import("vue").PropType<boolean>;
187
- default: boolean;
188
- };
189
- max: {
190
- type: import("vue").PropType<number>;
191
- required: true;
192
- };
193
- placeholder: {
194
- type: import("vue").PropType<string>;
195
- default: string;
196
- };
197
- min: {
198
- type: import("vue").PropType<number>;
199
- required: true;
200
- };
201
- step: {
202
- type: import("vue").PropType<number>;
203
- default: number;
204
- };
205
- }>, {
206
- focus(): void;
207
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
208
- "update:value": (value: number) => void;
209
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
210
- value: {
211
- required: true;
212
- type: import("vue").PropType<number>;
213
- };
214
- disabled: {
215
- type: import("vue").PropType<boolean>;
216
- default: boolean;
217
- };
218
- max: {
219
- type: import("vue").PropType<number>;
220
- required: true;
221
- };
222
- placeholder: {
223
- type: import("vue").PropType<string>;
224
- default: string;
225
- };
226
- min: {
227
- type: import("vue").PropType<number>;
228
- required: true;
229
- };
230
- step: {
231
- type: import("vue").PropType<number>;
232
- default: number;
233
- };
234
- }>> & Readonly<{
235
- "onUpdate:value"?: ((value: number) => any) | undefined;
236
- }>, {
237
- disabled: boolean;
238
- placeholder: string;
239
- step: number;
240
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | null;
241
- }, args_1: InputValueType) => void;
242
- "update:model-value": (args_0: InputValueType) => void;
243
- validated: (args_0: boolean, args_1: InputValueType) => void;
244
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
245
- inputType?: "number" | "reset" | "submit" | "search" | "button" | "time" | "text" | "color" | "email" | "tel" | "password" | "checkbox" | "date" | "file" | "radio" | "range" | "url" | "currency" | "datetime" | "dateRange" | undefined;
246
- modelValue?: InputValueType;
247
- label?: string | undefined;
248
- isRequired?: boolean | undefined;
249
- customValidationFunction?: ((_name: string, _value: InputValueType) => InputValidationState) | undefined;
250
- onInputFunction?: ((_value: InputValueType) => InputValueType) | undefined;
251
- min?: string | number | null | undefined;
252
- max?: string | number | null | undefined;
253
- step?: number | undefined;
254
- validateImmediately?: boolean | undefined;
255
- validateOn?: "change" | "input" | "disabled" | undefined;
256
- externalErrors?: string[] | undefined;
257
- disabled?: boolean | undefined;
258
- timeZone?: string | null | undefined;
259
- requiredText?: string | undefined;
260
- placeholderText?: string | undefined;
261
- group?: string | undefined;
262
- showLabel?: boolean | undefined;
263
- showArrows?: boolean | undefined;
264
- autocomplete?: string | undefined;
265
- highlightWhenValid?: boolean | undefined;
266
- messageWhenValid?: string | undefined;
267
- inputSpecificClasses?: string | undefined;
268
- showValidationMessages?: boolean | undefined;
269
- hideRequiredAsterisk?: boolean | undefined;
270
- initialDate?: string | null | undefined;
271
- quickDateScope?: "past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null | undefined;
272
- dateFormatLocale?: string | null | undefined;
273
- currencyOptions?: CurrencyInputOptions | undefined;
274
- }>, {
275
- inputType: string;
276
- modelValue: undefined;
277
- label: string;
278
- isRequired: boolean;
279
- customValidationFunction: undefined;
280
- onInputFunction: undefined;
281
- min: null;
282
- max: null;
283
- step: number;
284
- validateImmediately: boolean;
285
- validateOn: string;
286
- externalErrors: () => never[];
287
- disabled: boolean;
288
- timeZone: null;
289
- requiredText: string;
290
- placeholderText: string;
291
- group: string;
292
- showLabel: boolean;
293
- showArrows: boolean;
294
- autocomplete: string;
295
- highlightWhenValid: boolean;
296
- messageWhenValid: string;
297
- inputSpecificClasses: string;
298
- showValidationMessages: boolean;
299
- hideRequiredAsterisk: boolean;
300
- initialDate: null;
301
- quickDateScope: null;
302
- dateFormatLocale: null;
303
- currencyOptions: undefined;
304
- }>>> & Readonly<{
305
- onChange?: ((args_0: Event, args_1: InputValueType) => any) | undefined;
306
- onClick?: ((event: MouseEvent) => any) | undefined;
307
- onFocus?: (() => any) | undefined;
43
+ target: EventTarget | typeof clUiCalendar | typeof clUiSlider | null;
44
+ }, args_1: InputValueType) => any;
45
+ focus: () => any;
46
+ change: (args_0: Event, args_1: InputValueType) => any;
47
+ click: (event: MouseEvent) => any;
48
+ "update:model-value": (args_0: InputValueType) => any;
49
+ validated: (args_0: boolean, args_1: InputValueType) => any;
50
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
308
51
  onInput?: ((args_0: {
309
- target: EventTarget | import("vue").DefineComponent<import("vue").ExtractPropTypes<{
310
- type: {
311
- type: import("vue").PropType<"time" | "date" | "datetime" | "dateRange">;
312
- default: string;
313
- };
314
- disabled: {
315
- type: import("vue").PropType<boolean>;
316
- default: boolean;
317
- };
318
- max: {
319
- type: import("vue").PropType<string | null>;
320
- default: null;
321
- };
322
- required: {
323
- type: import("vue").PropType<boolean>;
324
- default: boolean;
325
- };
326
- placeholder: {
327
- type: import("vue").PropType<string | null>;
328
- default: null;
329
- };
330
- date: {
331
- type: import("vue").PropType<string | DateRange | null>;
332
- required: true;
333
- };
334
- min: {
335
- type: import("vue").PropType<string | null>;
336
- default: null;
337
- };
338
- dateFormatLocale: {
339
- type: import("vue").PropType<string | null>;
340
- default: null;
341
- };
342
- timeZone: {
343
- type: import("vue").PropType<string | null>;
344
- default: null;
345
- };
346
- quickDateScope: {
347
- type: import("vue").PropType<"past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
348
- default: null;
349
- };
350
- initialDate: {
351
- type: import("vue").PropType<string | null>;
352
- default: null;
353
- };
354
- }>, {
355
- focus(): void;
356
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
357
- "update:date": (args_0: string | DateRange | null) => void;
358
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
359
- type: {
360
- type: import("vue").PropType<"time" | "date" | "datetime" | "dateRange">;
361
- default: string;
362
- };
363
- disabled: {
364
- type: import("vue").PropType<boolean>;
365
- default: boolean;
366
- };
367
- max: {
368
- type: import("vue").PropType<string | null>;
369
- default: null;
370
- };
371
- required: {
372
- type: import("vue").PropType<boolean>;
373
- default: boolean;
374
- };
375
- placeholder: {
376
- type: import("vue").PropType<string | null>;
377
- default: null;
378
- };
379
- date: {
380
- type: import("vue").PropType<string | DateRange | null>;
381
- required: true;
382
- };
383
- min: {
384
- type: import("vue").PropType<string | null>;
385
- default: null;
386
- };
387
- dateFormatLocale: {
388
- type: import("vue").PropType<string | null>;
389
- default: null;
390
- };
391
- timeZone: {
392
- type: import("vue").PropType<string | null>;
393
- default: null;
394
- };
395
- quickDateScope: {
396
- type: import("vue").PropType<"past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
397
- default: null;
398
- };
399
- initialDate: {
400
- type: import("vue").PropType<string | null>;
401
- default: null;
402
- };
403
- }>> & Readonly<{
404
- "onUpdate:date"?: ((args_0: string | DateRange | null) => any) | undefined;
405
- }>, {
406
- type: "time" | "date" | "datetime" | "dateRange";
407
- disabled: boolean;
408
- max: string | null;
409
- required: boolean;
410
- placeholder: string | null;
411
- min: string | null;
412
- dateFormatLocale: string | null;
413
- timeZone: string | null;
414
- quickDateScope: "past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null;
415
- initialDate: string | null;
416
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | import("vue").DefineComponent<import("vue").ExtractPropTypes<{
417
- value: {
418
- required: true;
419
- type: import("vue").PropType<number>;
420
- };
421
- disabled: {
422
- type: import("vue").PropType<boolean>;
423
- default: boolean;
424
- };
425
- max: {
426
- type: import("vue").PropType<number>;
427
- required: true;
428
- };
429
- placeholder: {
430
- type: import("vue").PropType<string>;
431
- default: string;
432
- };
433
- min: {
434
- type: import("vue").PropType<number>;
435
- required: true;
436
- };
437
- step: {
438
- type: import("vue").PropType<number>;
439
- default: number;
440
- };
441
- }>, {
442
- focus(): void;
443
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
444
- "update:value": (value: number) => void;
445
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
446
- value: {
447
- required: true;
448
- type: import("vue").PropType<number>;
449
- };
450
- disabled: {
451
- type: import("vue").PropType<boolean>;
452
- default: boolean;
453
- };
454
- max: {
455
- type: import("vue").PropType<number>;
456
- required: true;
457
- };
458
- placeholder: {
459
- type: import("vue").PropType<string>;
460
- default: string;
461
- };
462
- min: {
463
- type: import("vue").PropType<number>;
464
- required: true;
465
- };
466
- step: {
467
- type: import("vue").PropType<number>;
468
- default: number;
469
- };
470
- }>> & Readonly<{
471
- "onUpdate:value"?: ((value: number) => any) | undefined;
472
- }>, {
473
- disabled: boolean;
474
- placeholder: string;
475
- step: number;
476
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | null;
52
+ target: EventTarget | typeof clUiCalendar | typeof clUiSlider | null;
477
53
  }, args_1: InputValueType) => any) | undefined;
54
+ onFocus?: (() => any) | undefined;
55
+ onChange?: ((args_0: Event, args_1: InputValueType) => any) | undefined;
56
+ onClick?: ((event: MouseEvent) => any) | undefined;
478
57
  "onUpdate:model-value"?: ((args_0: InputValueType) => any) | undefined;
479
58
  onValidated?: ((args_0: boolean, args_1: InputValueType) => any) | undefined;
480
59
  }>, {
481
60
  label: string;
482
61
  disabled: boolean;
483
- max: number | string | null;
484
62
  modelValue: string | number | boolean | DateRange | null;
485
63
  placeholderText: string;
486
64
  group: string;
487
65
  min: number | string | null;
66
+ max: number | string | null;
488
67
  showArrows: boolean;
489
68
  step: number;
490
69
  dateFormatLocale: string | null;
491
70
  timeZone: string | null;
492
71
  isRequired: boolean;
493
- quickDateScope: 'past' | 'future' | 'none' | QuickDateName[] | null;
72
+ quickDateScope: "past" | "future" | "none" | QuickDateName[] | null;
494
73
  initialDate: string | null;
495
74
  currencyOptions: CurrencyInputOptions;
496
75
  highlightWhenValid: boolean;
@@ -499,7 +78,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
499
78
  customValidationFunction: (_name: string, _value: InputValueType) => InputValidationState;
500
79
  onInputFunction: (_value: InputValueType) => InputValueType;
501
80
  validateImmediately: boolean;
502
- validateOn: 'disabled' | 'input' | 'change';
81
+ validateOn: "disabled" | "input" | "change";
503
82
  externalErrors: string[];
504
83
  requiredText: string;
505
84
  showLabel: boolean;
@@ -507,22 +86,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
507
86
  messageWhenValid: string;
508
87
  showValidationMessages: boolean;
509
88
  hideRequiredAsterisk: boolean;
510
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
511
90
  export default _default;
512
- type __VLS_WithDefaults<P, D> = {
513
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
514
- default: D[K];
515
- }> : P[K];
516
- };
517
- type __VLS_Prettify<T> = {
518
- [K in keyof T]: T[K];
519
- } & {};
520
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
521
- type __VLS_TypePropsToOption<T> = {
522
- [K in keyof T]-?: {} extends Pick<T, K> ? {
523
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
524
- } : {
525
- type: import('vue').PropType<T[K]>;
526
- required: true;
527
- };
528
- };
@@ -1,61 +1,36 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- modelValue: {
3
- required: true;
4
- type: import("vue").PropType<boolean>;
5
- };
6
- disabled: {
7
- type: import("vue").PropType<boolean>;
8
- default: boolean;
9
- };
10
- required: {
11
- type: import("vue").PropType<boolean>;
12
- default: boolean;
13
- };
14
- errors: {
15
- type: import("vue").PropType<string[] | null>;
16
- default: null;
17
- };
18
- }>, {
1
+ type __VLS_Props = {
2
+ errors?: string[] | null;
3
+ disabled?: boolean;
4
+ readonly?: boolean;
5
+ required?: boolean;
6
+ };
7
+ type __VLS_Slots = {
8
+ default(): any;
9
+ 'help-text'(): any;
10
+ };
11
+ type __VLS_PublicProps = __VLS_Props & {
12
+ modelValue: boolean;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
19
15
  focus: () => void | undefined;
20
16
  blur: () => void | undefined;
21
17
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
- "update:modelValue": (modelValue: boolean) => void;
23
- blur: () => void;
24
- focus: () => void;
25
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
- modelValue: {
27
- required: true;
28
- type: import("vue").PropType<boolean>;
29
- };
30
- disabled: {
31
- type: import("vue").PropType<boolean>;
32
- default: boolean;
33
- };
34
- required: {
35
- type: import("vue").PropType<boolean>;
36
- default: boolean;
37
- };
38
- errors: {
39
- type: import("vue").PropType<string[] | null>;
40
- default: null;
41
- };
42
- }>> & Readonly<{
43
- onBlur?: (() => any) | undefined;
18
+ focus: () => any;
19
+ blur: () => any;
20
+ "update:modelValue": (value: boolean) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
44
22
  onFocus?: (() => any) | undefined;
45
- "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
23
+ onBlur?: (() => any) | undefined;
24
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
46
25
  }>, {
47
26
  disabled: boolean;
48
27
  required: boolean;
49
28
  errors: string[] | null;
50
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
51
- default(): any;
52
- 'help-text'(): any;
53
- }> & {
54
- default(): any;
55
- 'help-text'(): any;
56
- }>;
29
+ readonly: boolean;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
57
32
  export default _default;
58
- type __VLS_WithTemplateSlots<T, S> = T & {
33
+ type __VLS_WithSlots<T, S> = T & {
59
34
  new (): {
60
35
  $slots: S;
61
36
  };