@citruslime/ui 2.2.2-beta.7 → 2.3.0-beta.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 (115) hide show
  1. package/README.md +2 -2
  2. package/dist/citrus-lime-ui.es.js +1870 -2369
  3. package/dist/citrus-lime-ui.umd.js +2 -2
  4. package/dist/components/accordion/cl-ui-accordion.vue.d.ts +52 -0
  5. package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +9 -0
  6. package/dist/components/accordion/index.d.ts +3 -3
  7. package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +43 -0
  8. package/dist/components/app/cl-ui-app.vue.d.ts +38 -0
  9. package/dist/components/app/index.d.ts +1 -1
  10. package/dist/components/button/cl-ui-button.vue.d.ts +53 -0
  11. package/dist/components/button/index.d.ts +1 -1
  12. package/dist/components/calendar/cl-ui-calendar.vue.d.ts +63 -0
  13. package/dist/components/calendar/index.d.ts +1 -1
  14. package/dist/components/card/cl-ui-card.vue.d.ts +44 -0
  15. package/dist/components/card/index.d.ts +1 -1
  16. package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +100 -0
  17. package/dist/components/combo-box/index.d.ts +1 -1
  18. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +79 -0
  19. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +43 -0
  20. package/dist/components/combo-box/search-container/header/index.d.ts +1 -0
  21. package/dist/components/combo-box/search-container/index.d.ts +1 -0
  22. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +55 -0
  23. package/dist/components/combo-box/search-container/selectable/index.d.ts +1 -0
  24. package/dist/components/footer/cl-ui-footer.vue.d.ts +11 -0
  25. package/dist/components/footer/index.d.ts +1 -1
  26. package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +39 -0
  27. package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +61 -0
  28. package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +23 -0
  29. package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +59 -0
  30. package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +63 -0
  31. package/dist/components/grid/cl-ui-grid.vue.d.ts +67 -0
  32. package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +36 -0
  33. package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +38 -0
  34. package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +28 -0
  35. package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +40 -0
  36. package/dist/components/grid/index.d.ts +1 -1
  37. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +20 -0
  38. package/dist/components/grid/view-manager/index.d.ts +1 -0
  39. package/dist/components/header/cl-ui-header.vue.d.ts +15 -0
  40. package/dist/components/header/index.d.ts +1 -1
  41. package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +57 -0
  42. package/dist/components/header/menu/index.d.ts +1 -1
  43. package/dist/components/input/cl-ui-input.vue.d.ts +456 -0
  44. package/dist/components/input/index.d.ts +1 -1
  45. package/dist/components/input/types.d.ts +2 -2
  46. package/dist/components/input/utils.d.ts +1 -8
  47. package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +41 -0
  48. package/dist/components/language-switcher/index.d.ts +1 -1
  49. package/dist/components/loading-spinner/cl-ui-loading-spinner.vue.d.ts +2 -0
  50. package/dist/components/loading-spinner/index.d.ts +1 -1
  51. package/dist/components/login/cl-ui-login.vue.d.ts +49 -0
  52. package/dist/components/login/index.d.ts +1 -1
  53. package/dist/components/modal/cl-ui-modal.vue.d.ts +63 -0
  54. package/dist/components/modal/index.d.ts +1 -1
  55. package/dist/components/navigation/cl-ui-navigation.vue.d.ts +56 -0
  56. package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +23 -0
  57. package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +33 -0
  58. package/dist/components/navigation/index.d.ts +5 -5
  59. package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +9 -0
  60. package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +10 -0
  61. package/dist/components/notification/cl-ui-notification.vue.d.ts +34 -0
  62. package/dist/components/notification/index.d.ts +1 -1
  63. package/dist/components/slider/cl-ui-slider.vue.d.ts +56 -0
  64. package/dist/components/slider/index.d.ts +1 -1
  65. package/dist/components/tab/cl-ui-tab.vue.d.ts +62 -0
  66. package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +9 -0
  67. package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +49 -0
  68. package/dist/components/tab/index.d.ts +3 -3
  69. package/dist/composables/notification.d.ts +1 -2
  70. package/dist/main.d.ts +1 -0
  71. package/dist/style.css +1 -1
  72. package/dist/utils/i18n/config.d.ts +1 -2
  73. package/dist/utils/validation.d.ts +3 -3
  74. package/package.json +8 -5
  75. package/dist/components/accordion/cl-ui-accordion.d.ts +0 -17
  76. package/dist/components/accordion/header/cl-ui-accordion-header.d.ts +0 -3
  77. package/dist/components/accordion/item/cl-ui-accordion-item.d.ts +0 -29
  78. package/dist/components/app/cl-ui-app.d.ts +0 -17
  79. package/dist/components/button/cl-ui-button.d.ts +0 -50
  80. package/dist/components/calendar/cl-ui-calendar.d.ts +0 -65
  81. package/dist/components/calendar/utils.d.ts +0 -38
  82. package/dist/components/card/cl-ui-card.d.ts +0 -28
  83. package/dist/components/combo-box/cl-ui-combo-box.d.ts +0 -158
  84. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.d.ts +0 -115
  85. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.d.ts +0 -43
  86. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.d.ts +0 -67
  87. package/dist/components/footer/cl-ui-footer.d.ts +0 -3
  88. package/dist/components/grid/action-row/cl-ui-grid-action-row.d.ts +0 -50
  89. package/dist/components/grid/body/cl-ui-grid-body.d.ts +0 -65
  90. package/dist/components/grid/body/cl-ui-grid-cell-value.d.ts +0 -22
  91. package/dist/components/grid/body/cl-ui-grid-cell.d.ts +0 -38
  92. package/dist/components/grid/body/cl-ui-grid-row.d.ts +0 -48
  93. package/dist/components/grid/cl-ui-grid.d.ts +0 -61
  94. package/dist/components/grid/footer/cl-ui-grid-footer.d.ts +0 -30
  95. package/dist/components/grid/header/cl-ui-grid-filter.d.ts +0 -36
  96. package/dist/components/grid/header/cl-ui-grid-header.d.ts +0 -41
  97. package/dist/components/grid/header/cl-ui-grid-method-selector.d.ts +0 -44
  98. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.d.ts +0 -16
  99. package/dist/components/header/cl-ui-header.d.ts +0 -5
  100. package/dist/components/header/menu/cl-ui-header-menu.d.ts +0 -60
  101. package/dist/components/input/cl-ui-input.d.ts +0 -278
  102. package/dist/components/language-switcher/cl-ui-language-switcher.d.ts +0 -39
  103. package/dist/components/loading-spinner/cl-ui-loading-spinner.d.ts +0 -3
  104. package/dist/components/login/cl-ui-login.d.ts +0 -34
  105. package/dist/components/modal/cl-ui-modal.d.ts +0 -39
  106. package/dist/components/navigation/cl-ui-navigation.d.ts +0 -17
  107. package/dist/components/navigation/group/cl-ui-navigation-group.d.ts +0 -13
  108. package/dist/components/navigation/icon/cl-ui-navigation-icon.d.ts +0 -33
  109. package/dist/components/navigation/item/cl-ui-navigation-item.d.ts +0 -3
  110. package/dist/components/navigation/section/cl-ui-navigation-section.d.ts +0 -3
  111. package/dist/components/notification/cl-ui-notification.d.ts +0 -28
  112. package/dist/components/slider/cl-ui-slider.d.ts +0 -78
  113. package/dist/components/tab/cl-ui-tab.d.ts +0 -39
  114. package/dist/components/tab/content/cl-ui-tab-content.d.ts +0 -3
  115. package/dist/components/tab/header/cl-ui-tab-header.d.ts +0 -48
@@ -0,0 +1,456 @@
1
+ import type { InputValidationState, InputValueType } from './types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ inputType: "number" | "button" | "time" | "text" | "color" | "search" | "date" | "datetime" | "email" | "password" | "checkbox" | "file" | "radio" | "range" | "reset" | "submit" | "tel" | "url";
4
+ modelValue?: InputValueType;
5
+ label?: string | undefined;
6
+ isRequired?: boolean | undefined;
7
+ customValidationFunction?: ((_name: string, _value: InputValueType) => InputValidationState) | undefined;
8
+ onInputFunction?: ((_value: InputValueType) => InputValueType) | undefined;
9
+ min?: string | number | null | undefined;
10
+ max?: string | number | null | undefined;
11
+ step?: number | undefined;
12
+ validateImmediately?: boolean | undefined;
13
+ validateOn?: "input" | "disabled" | "change" | undefined;
14
+ externalErrors?: string[] | undefined;
15
+ disabled?: boolean | undefined;
16
+ requiredText?: string | undefined;
17
+ placeholderText?: string | undefined;
18
+ fileExtensions?: string | undefined;
19
+ group?: string | undefined;
20
+ showLabel?: boolean | undefined;
21
+ showArrows?: boolean | undefined;
22
+ autocomplete?: string | undefined;
23
+ highlightWhenValid?: boolean | undefined;
24
+ messageWhenValid?: string | undefined;
25
+ inputSpecificClasses?: string | undefined;
26
+ showValidationMessages?: boolean | undefined;
27
+ }>, {
28
+ inputType: string;
29
+ modelValue: undefined;
30
+ label: string;
31
+ isRequired: boolean;
32
+ customValidationFunction: undefined;
33
+ onInputFunction: undefined;
34
+ min: null;
35
+ max: null;
36
+ step: number;
37
+ validateImmediately: boolean;
38
+ validateOn: string;
39
+ externalErrors: () => never[];
40
+ disabled: boolean;
41
+ requiredText: string;
42
+ placeholderText: string;
43
+ fileExtensions: string;
44
+ group: string;
45
+ showLabel: boolean;
46
+ showArrows: boolean;
47
+ autocomplete: string;
48
+ highlightWhenValid: boolean;
49
+ messageWhenValid: string;
50
+ inputSpecificClasses: string;
51
+ showValidationMessages: boolean;
52
+ }>, {
53
+ focus(): void;
54
+ blur(): void;
55
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
+ "update:model-value": (value: InputValueType) => void;
57
+ click: (event: MouseEvent) => void;
58
+ focus: () => void;
59
+ input: (event: {
60
+ target: EventTarget | import("vue").DefineComponent<{
61
+ type: {
62
+ type: import("vue").PropType<"time" | "date" | "datetime">;
63
+ default: string;
64
+ };
65
+ placeholder: {
66
+ type: import("vue").PropType<string | null>;
67
+ default: null;
68
+ };
69
+ disabled: {
70
+ type: import("vue").PropType<boolean>;
71
+ default: boolean;
72
+ };
73
+ required: {
74
+ type: import("vue").PropType<boolean>;
75
+ default: boolean;
76
+ };
77
+ date: {
78
+ type: import("vue").PropType<string | null>;
79
+ required: true;
80
+ };
81
+ min: {
82
+ type: import("vue").PropType<string | null>;
83
+ default: null;
84
+ };
85
+ max: {
86
+ type: import("vue").PropType<string | null>;
87
+ default: null;
88
+ };
89
+ timeZone: {
90
+ type: import("vue").PropType<string>;
91
+ default: string;
92
+ };
93
+ }, {
94
+ focus(): void;
95
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
96
+ type: {
97
+ type: import("vue").PropType<"time" | "date" | "datetime">;
98
+ default: string;
99
+ };
100
+ placeholder: {
101
+ type: import("vue").PropType<string | null>;
102
+ default: null;
103
+ };
104
+ disabled: {
105
+ type: import("vue").PropType<boolean>;
106
+ default: boolean;
107
+ };
108
+ required: {
109
+ type: import("vue").PropType<boolean>;
110
+ default: boolean;
111
+ };
112
+ date: {
113
+ type: import("vue").PropType<string | null>;
114
+ required: true;
115
+ };
116
+ min: {
117
+ type: import("vue").PropType<string | null>;
118
+ default: null;
119
+ };
120
+ max: {
121
+ type: import("vue").PropType<string | null>;
122
+ default: null;
123
+ };
124
+ timeZone: {
125
+ type: import("vue").PropType<string>;
126
+ default: string;
127
+ };
128
+ }>>, {
129
+ type: "time" | "date" | "datetime";
130
+ placeholder: string | null;
131
+ disabled: boolean;
132
+ required: boolean;
133
+ min: string | null;
134
+ max: string | null;
135
+ timeZone: string;
136
+ }, {}> | import("vue").DefineComponent<{
137
+ disabled: {
138
+ type: import("vue").PropType<boolean>;
139
+ default: boolean;
140
+ };
141
+ value: {
142
+ type: import("vue").PropType<number>;
143
+ required: true;
144
+ };
145
+ min: {
146
+ type: import("vue").PropType<number>;
147
+ required: true;
148
+ };
149
+ max: {
150
+ type: import("vue").PropType<number>;
151
+ required: true;
152
+ };
153
+ step: {
154
+ type: import("vue").PropType<number>;
155
+ default: number;
156
+ };
157
+ enforceStep: {
158
+ type: import("vue").PropType<boolean>;
159
+ default: boolean;
160
+ };
161
+ showNumericInput: {
162
+ type: import("vue").PropType<boolean>;
163
+ default: boolean;
164
+ };
165
+ }, {
166
+ focus(): void;
167
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
168
+ 'update:value': null;
169
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
170
+ disabled: {
171
+ type: import("vue").PropType<boolean>;
172
+ default: boolean;
173
+ };
174
+ value: {
175
+ type: import("vue").PropType<number>;
176
+ required: true;
177
+ };
178
+ min: {
179
+ type: import("vue").PropType<number>;
180
+ required: true;
181
+ };
182
+ max: {
183
+ type: import("vue").PropType<number>;
184
+ required: true;
185
+ };
186
+ step: {
187
+ type: import("vue").PropType<number>;
188
+ default: number;
189
+ };
190
+ enforceStep: {
191
+ type: import("vue").PropType<boolean>;
192
+ default: boolean;
193
+ };
194
+ showNumericInput: {
195
+ type: import("vue").PropType<boolean>;
196
+ default: boolean;
197
+ };
198
+ }>> & {
199
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
200
+ }, {
201
+ disabled: boolean;
202
+ step: number;
203
+ enforceStep: boolean;
204
+ showNumericInput: boolean;
205
+ }, {}> | null;
206
+ }, value: InputValueType) => void;
207
+ change: (event: Event, value: InputValueType) => void;
208
+ validated: (isValid: boolean, value: InputValueType) => void;
209
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
210
+ inputType: "number" | "button" | "time" | "text" | "color" | "search" | "date" | "datetime" | "email" | "password" | "checkbox" | "file" | "radio" | "range" | "reset" | "submit" | "tel" | "url";
211
+ modelValue?: InputValueType;
212
+ label?: string | undefined;
213
+ isRequired?: boolean | undefined;
214
+ customValidationFunction?: ((_name: string, _value: InputValueType) => InputValidationState) | undefined;
215
+ onInputFunction?: ((_value: InputValueType) => InputValueType) | undefined;
216
+ min?: string | number | null | undefined;
217
+ max?: string | number | null | undefined;
218
+ step?: number | undefined;
219
+ validateImmediately?: boolean | undefined;
220
+ validateOn?: "input" | "disabled" | "change" | undefined;
221
+ externalErrors?: string[] | undefined;
222
+ disabled?: boolean | undefined;
223
+ requiredText?: string | undefined;
224
+ placeholderText?: string | undefined;
225
+ fileExtensions?: string | undefined;
226
+ group?: string | undefined;
227
+ showLabel?: boolean | undefined;
228
+ showArrows?: boolean | undefined;
229
+ autocomplete?: string | undefined;
230
+ highlightWhenValid?: boolean | undefined;
231
+ messageWhenValid?: string | undefined;
232
+ inputSpecificClasses?: string | undefined;
233
+ showValidationMessages?: boolean | undefined;
234
+ }>, {
235
+ inputType: string;
236
+ modelValue: undefined;
237
+ label: string;
238
+ isRequired: boolean;
239
+ customValidationFunction: undefined;
240
+ onInputFunction: undefined;
241
+ min: null;
242
+ max: null;
243
+ step: number;
244
+ validateImmediately: boolean;
245
+ validateOn: string;
246
+ externalErrors: () => never[];
247
+ disabled: boolean;
248
+ requiredText: string;
249
+ placeholderText: string;
250
+ fileExtensions: string;
251
+ group: string;
252
+ showLabel: boolean;
253
+ showArrows: boolean;
254
+ autocomplete: string;
255
+ highlightWhenValid: boolean;
256
+ messageWhenValid: string;
257
+ inputSpecificClasses: string;
258
+ showValidationMessages: boolean;
259
+ }>>> & {
260
+ onFocus?: (() => any) | undefined;
261
+ onChange?: ((event: Event, value: InputValueType) => any) | undefined;
262
+ onInput?: ((event: {
263
+ target: EventTarget | import("vue").DefineComponent<{
264
+ type: {
265
+ type: import("vue").PropType<"time" | "date" | "datetime">;
266
+ default: string;
267
+ };
268
+ placeholder: {
269
+ type: import("vue").PropType<string | null>;
270
+ default: null;
271
+ };
272
+ disabled: {
273
+ type: import("vue").PropType<boolean>;
274
+ default: boolean;
275
+ };
276
+ required: {
277
+ type: import("vue").PropType<boolean>;
278
+ default: boolean;
279
+ };
280
+ date: {
281
+ type: import("vue").PropType<string | null>;
282
+ required: true;
283
+ };
284
+ min: {
285
+ type: import("vue").PropType<string | null>;
286
+ default: null;
287
+ };
288
+ max: {
289
+ type: import("vue").PropType<string | null>;
290
+ default: null;
291
+ };
292
+ timeZone: {
293
+ type: import("vue").PropType<string>;
294
+ default: string;
295
+ };
296
+ }, {
297
+ focus(): void;
298
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
299
+ type: {
300
+ type: import("vue").PropType<"time" | "date" | "datetime">;
301
+ default: string;
302
+ };
303
+ placeholder: {
304
+ type: import("vue").PropType<string | null>;
305
+ default: null;
306
+ };
307
+ disabled: {
308
+ type: import("vue").PropType<boolean>;
309
+ default: boolean;
310
+ };
311
+ required: {
312
+ type: import("vue").PropType<boolean>;
313
+ default: boolean;
314
+ };
315
+ date: {
316
+ type: import("vue").PropType<string | null>;
317
+ required: true;
318
+ };
319
+ min: {
320
+ type: import("vue").PropType<string | null>;
321
+ default: null;
322
+ };
323
+ max: {
324
+ type: import("vue").PropType<string | null>;
325
+ default: null;
326
+ };
327
+ timeZone: {
328
+ type: import("vue").PropType<string>;
329
+ default: string;
330
+ };
331
+ }>>, {
332
+ type: "time" | "date" | "datetime";
333
+ placeholder: string | null;
334
+ disabled: boolean;
335
+ required: boolean;
336
+ min: string | null;
337
+ max: string | null;
338
+ timeZone: string;
339
+ }, {}> | import("vue").DefineComponent<{
340
+ disabled: {
341
+ type: import("vue").PropType<boolean>;
342
+ default: boolean;
343
+ };
344
+ value: {
345
+ type: import("vue").PropType<number>;
346
+ required: true;
347
+ };
348
+ min: {
349
+ type: import("vue").PropType<number>;
350
+ required: true;
351
+ };
352
+ max: {
353
+ type: import("vue").PropType<number>;
354
+ required: true;
355
+ };
356
+ step: {
357
+ type: import("vue").PropType<number>;
358
+ default: number;
359
+ };
360
+ enforceStep: {
361
+ type: import("vue").PropType<boolean>;
362
+ default: boolean;
363
+ };
364
+ showNumericInput: {
365
+ type: import("vue").PropType<boolean>;
366
+ default: boolean;
367
+ };
368
+ }, {
369
+ focus(): void;
370
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
371
+ 'update:value': null;
372
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
373
+ disabled: {
374
+ type: import("vue").PropType<boolean>;
375
+ default: boolean;
376
+ };
377
+ value: {
378
+ type: import("vue").PropType<number>;
379
+ required: true;
380
+ };
381
+ min: {
382
+ type: import("vue").PropType<number>;
383
+ required: true;
384
+ };
385
+ max: {
386
+ type: import("vue").PropType<number>;
387
+ required: true;
388
+ };
389
+ step: {
390
+ type: import("vue").PropType<number>;
391
+ default: number;
392
+ };
393
+ enforceStep: {
394
+ type: import("vue").PropType<boolean>;
395
+ default: boolean;
396
+ };
397
+ showNumericInput: {
398
+ type: import("vue").PropType<boolean>;
399
+ default: boolean;
400
+ };
401
+ }>> & {
402
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
403
+ }, {
404
+ disabled: boolean;
405
+ step: number;
406
+ enforceStep: boolean;
407
+ showNumericInput: boolean;
408
+ }, {}> | null;
409
+ }, value: InputValueType) => any) | undefined;
410
+ onClick?: ((event: MouseEvent) => any) | undefined;
411
+ "onUpdate:model-value"?: ((value: InputValueType) => any) | undefined;
412
+ onValidated?: ((isValid: boolean, value: InputValueType) => any) | undefined;
413
+ }, {
414
+ label: string;
415
+ disabled: boolean;
416
+ min: string | number | null;
417
+ max: string | number | null;
418
+ modelValue: string | number | boolean | null;
419
+ isRequired: boolean;
420
+ autocomplete: string;
421
+ step: number;
422
+ inputType: "number" | "button" | "time" | "text" | "color" | "search" | "date" | "datetime" | "email" | "password" | "checkbox" | "file" | "radio" | "range" | "reset" | "submit" | "tel" | "url";
423
+ customValidationFunction: (_name: string, _value: InputValueType) => InputValidationState;
424
+ onInputFunction: (_value: InputValueType) => InputValueType;
425
+ validateImmediately: boolean;
426
+ validateOn: "input" | "disabled" | "change";
427
+ externalErrors: string[];
428
+ requiredText: string;
429
+ placeholderText: string;
430
+ fileExtensions: string;
431
+ group: string;
432
+ showLabel: boolean;
433
+ showArrows: boolean;
434
+ highlightWhenValid: boolean;
435
+ messageWhenValid: string;
436
+ inputSpecificClasses: string;
437
+ showValidationMessages: boolean;
438
+ }, {}>;
439
+ export default _default;
440
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
441
+ type __VLS_TypePropsToRuntimeProps<T> = {
442
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
443
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
444
+ } : {
445
+ type: import('vue').PropType<T[K]>;
446
+ required: true;
447
+ };
448
+ };
449
+ type __VLS_WithDefaults<P, D> = {
450
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
451
+ default: D[K];
452
+ }> : P[K];
453
+ };
454
+ type __VLS_Prettify<T> = {
455
+ [K in keyof T]: T[K];
456
+ } & {};
@@ -1,2 +1,2 @@
1
- export { default as clUiInput } from "./cl-ui-input";
1
+ export { default as clUiInput } from './cl-ui-input.vue';
2
2
  export * from './types';
@@ -1,6 +1,6 @@
1
- export declare const inputTypes: readonly ["button", "checkbox", "color", "date", "datetime", "email", "file", "number", "password", "radio", "range", "reset", "search", "submit", "tel", "text", "time", "url"];
1
+ export declare const inputTypes: readonly ["button", "checkbox", "color", "email", "file", "number", "password", "radio", "range", "reset", "search", "submit", "tel", "text", "url", "date", "datetime", "time"];
2
2
  export type InputType = typeof inputTypes[number];
3
- export type InputValueType = string | number | boolean | Date | null | undefined;
3
+ export type InputValueType = string | number | boolean | null | undefined;
4
4
  export interface InputValidationState {
5
5
  valid: boolean;
6
6
  message: string;
@@ -21,13 +21,6 @@ export declare function isInputNumeric(type: InputType): boolean;
21
21
  * @returns True if supported, false if not.
22
22
  */
23
23
  export declare function isInputCalendarSupportedDate(type: InputType): boolean;
24
- /**
25
- * Get whether the input is a date.
26
- *
27
- * @param type The type of input.
28
- * @returns True if the input is a date, false if not.
29
- */
30
- export declare function isInputDate(type: InputType): boolean;
31
24
  /**
32
25
  * Get whether the input is a button.
33
26
  *
@@ -49,4 +42,4 @@ export declare function getInputTypeAsCalendarType(type: InputType): CalendarTyp
49
42
  * @param inputType The input type of the event's input element.
50
43
  * @returns The converted value.
51
44
  */
52
- export declare function convertFromEvent(event: Event, inputType: InputType): string | number | boolean | Date | null;
45
+ export declare function convertFromEvent(event: Event, inputType: InputType): string | number | boolean | null;
@@ -0,0 +1,41 @@
1
+ import type { Language } from './types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ supportedLanguages: Language[];
4
+ disabled?: boolean | undefined;
5
+ defaultLangauge?: Language | null | undefined;
6
+ }>, {
7
+ disabled: boolean;
8
+ defaultLangauge: null;
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "language-select": (newLanguage: string) => void;
11
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
+ supportedLanguages: Language[];
13
+ disabled?: boolean | undefined;
14
+ defaultLangauge?: Language | null | undefined;
15
+ }>, {
16
+ disabled: boolean;
17
+ defaultLangauge: null;
18
+ }>>> & {
19
+ "onLanguage-select"?: ((newLanguage: string) => any) | undefined;
20
+ }, {
21
+ disabled: boolean;
22
+ defaultLangauge: Language | null;
23
+ }, {}>;
24
+ export default _default;
25
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ type __VLS_TypePropsToRuntimeProps<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: import('vue').PropType<T[K]>;
31
+ required: true;
32
+ };
33
+ };
34
+ type __VLS_WithDefaults<P, D> = {
35
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
+ default: D[K];
37
+ }> : P[K];
38
+ };
39
+ type __VLS_Prettify<T> = {
40
+ [K in keyof T]: T[K];
41
+ } & {};
@@ -1,2 +1,2 @@
1
- export { default as clUiLanguageSwitcher } from "./cl-ui-language-switcher";
1
+ export { default as clUiLanguageSwitcher } from './cl-ui-language-switcher.vue';
2
2
  export * from './types';
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -1 +1 @@
1
- export { default as clUiLoadingSpinner } from "./cl-ui-loading-spinner";
1
+ export { default as clUiLoadingSpinner } from './cl-ui-loading-spinner.vue';
@@ -0,0 +1,49 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ errors?: string[] | undefined;
3
+ loading?: boolean | undefined;
4
+ }>, {
5
+ errors: () => never[];
6
+ loading: boolean;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ login: null;
9
+ 'update:errors': null;
10
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ errors?: string[] | undefined;
12
+ loading?: boolean | undefined;
13
+ }>, {
14
+ errors: () => never[];
15
+ loading: boolean;
16
+ }>>> & {
17
+ onLogin?: ((...args: any[]) => any) | undefined;
18
+ "onUpdate:errors"?: ((...args: any[]) => any) | undefined;
19
+ }, {
20
+ loading: boolean;
21
+ errors: string[];
22
+ }, {}>, {
23
+ background?(_: {}): any;
24
+ logo?(_: {}): any;
25
+ "language-switcher"?(_: {}): any;
26
+ }>;
27
+ export default _default;
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToRuntimeProps<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
37
+ type __VLS_WithDefaults<P, D> = {
38
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
39
+ default: D[K];
40
+ }> : P[K];
41
+ };
42
+ type __VLS_WithTemplateSlots<T, S> = T & {
43
+ new (): {
44
+ $slots: S;
45
+ };
46
+ };
47
+ type __VLS_Prettify<T> = {
48
+ [K in keyof T]: T[K];
49
+ } & {};
@@ -1,2 +1,2 @@
1
- export { default as clUiLogin } from "./cl-ui-login";
1
+ export { default as clUiLogin } from './cl-ui-login.vue';
2
2
  export * from './types';
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Displays the modal.
3
+ */
4
+ declare function open(): void;
5
+ /**
6
+ * Hides the modal.
7
+ */
8
+ declare function close(): void;
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
+ headerColour?: string | undefined;
11
+ preventClose?: boolean | undefined;
12
+ size?: "small" | "medium" | "large" | "x-small" | undefined;
13
+ }>, {
14
+ headerColour: string;
15
+ preventClose: boolean;
16
+ size: string;
17
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
18
+ headerColour?: string | undefined;
19
+ preventClose?: boolean | undefined;
20
+ size?: "small" | "medium" | "large" | "x-small" | undefined;
21
+ }>, {
22
+ headerColour: string;
23
+ preventClose: boolean;
24
+ size: string;
25
+ }>>>, {
26
+ size: "small" | "medium" | "large" | "x-small";
27
+ headerColour: string;
28
+ preventClose: boolean;
29
+ }, {}>, {
30
+ trigger?(_: {
31
+ open: typeof open;
32
+ }): any;
33
+ title?(_: {}): any;
34
+ default?(_: {
35
+ close: typeof close;
36
+ }): any;
37
+ footer?(_: {
38
+ close: typeof close;
39
+ }): any;
40
+ }>;
41
+ export default _default;
42
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
+ type __VLS_TypePropsToRuntimeProps<T> = {
44
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
45
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
+ } : {
47
+ type: import('vue').PropType<T[K]>;
48
+ required: true;
49
+ };
50
+ };
51
+ type __VLS_WithDefaults<P, D> = {
52
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
53
+ default: D[K];
54
+ }> : P[K];
55
+ };
56
+ type __VLS_WithTemplateSlots<T, S> = T & {
57
+ new (): {
58
+ $slots: S;
59
+ };
60
+ };
61
+ type __VLS_Prettify<T> = {
62
+ [K in keyof T]: T[K];
63
+ } & {};
@@ -1,2 +1,2 @@
1
- export { default as clUiModal } from "./cl-ui-modal";
1
+ export { default as clUiModal } from './cl-ui-modal.vue';
2
2
  export * from './types';