@citruslime/ui 2.0.2-beta.9 → 2.1.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 (99) hide show
  1. package/dist/citrus-lime-ui.es.js +2116 -1981
  2. package/dist/citrus-lime-ui.umd.js +2 -2
  3. package/dist/components/accordion/{cl-ui-accordion.vue.d.ts → cl-ui-accordion.d.ts} +5 -6
  4. package/dist/components/accordion/header/cl-ui-accordion-header.d.ts +3 -0
  5. package/dist/components/accordion/index.d.ts +3 -3
  6. package/dist/components/accordion/item/{cl-ui-accordion-item.vue.d.ts → cl-ui-accordion-item.d.ts} +5 -7
  7. package/dist/components/app/{cl-ui-app.vue.d.ts → cl-ui-app.d.ts} +8 -6
  8. package/dist/components/app/index.d.ts +1 -1
  9. package/dist/components/button/{cl-ui-button.vue.d.ts → cl-ui-button.d.ts} +5 -4
  10. package/dist/components/button/index.d.ts +1 -1
  11. package/dist/components/button/types.d.ts +2 -2
  12. package/dist/components/calendar/cl-ui-calendar.d.ts +3 -0
  13. package/dist/components/calendar/index.d.ts +1 -1
  14. package/dist/components/calendar/types.d.ts +1 -1
  15. package/dist/components/card/{cl-ui-card.vue.d.ts → cl-ui-card.d.ts} +3 -2
  16. package/dist/components/card/index.d.ts +1 -1
  17. package/dist/components/card/types.d.ts +1 -1
  18. package/dist/components/combo-box/cl-ui-combo-box.d.ts +2372 -0
  19. package/dist/components/combo-box/index.d.ts +1 -1
  20. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.d.ts +868 -0
  21. package/dist/components/combo-box/search-container/header/{cl-ui-combo-box-header.vue.d.ts → cl-ui-combo-box-header.d.ts} +4 -3
  22. package/dist/components/combo-box/search-container/selectable/{cl-ui-combo-box-selectable.vue.d.ts → cl-ui-combo-box-selectable.d.ts} +8 -14
  23. package/dist/components/footer/cl-ui-footer.d.ts +3 -0
  24. package/dist/components/footer/index.d.ts +1 -1
  25. package/dist/components/grid/body/cl-ui-grid-body.d.ts +874 -0
  26. package/dist/components/grid/body/cl-ui-grid-cell-value.d.ts +643 -0
  27. package/dist/components/grid/body/cl-ui-grid-cell.d.ts +687 -0
  28. package/dist/components/grid/body/cl-ui-grid-row.d.ts +724 -0
  29. package/dist/components/grid/cl-ui-grid.d.ts +3157 -0
  30. package/dist/components/grid/footer/cl-ui-grid-footer.d.ts +666 -0
  31. package/dist/components/grid/header/cl-ui-grid-action-row.d.ts +102 -0
  32. package/dist/components/grid/header/cl-ui-grid-filter.d.ts +722 -0
  33. package/dist/components/grid/header/cl-ui-grid-header.d.ts +877 -0
  34. package/dist/components/grid/header/cl-ui-grid-method-selector.d.ts +57 -0
  35. package/dist/components/grid/{filter → header}/filter-methods.d.ts +0 -0
  36. package/dist/components/grid/index.d.ts +1 -1
  37. package/dist/components/grid/types.d.ts +11 -3
  38. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.d.ts +694 -0
  39. package/dist/components/header/cl-ui-header.d.ts +5 -0
  40. package/dist/components/header/index.d.ts +1 -1
  41. package/dist/components/header/menu/{cl-ui-header-menu.vue.d.ts → cl-ui-header-menu.d.ts} +11 -3
  42. package/dist/components/header/menu/index.d.ts +1 -1
  43. package/dist/components/input/cl-ui-input.d.ts +522 -0
  44. package/dist/components/input/index.d.ts +1 -1
  45. package/dist/components/input/types.d.ts +2 -1
  46. package/dist/components/input/utils.d.ts +8 -0
  47. package/dist/components/language-switcher/cl-ui-language-switcher.d.ts +49 -0
  48. package/dist/components/language-switcher/index.d.ts +1 -1
  49. package/dist/components/loading-spinner/cl-ui-loading-spinner.d.ts +3 -0
  50. package/dist/components/loading-spinner/index.d.ts +1 -1
  51. package/dist/components/login/cl-ui-login.d.ts +715 -0
  52. package/dist/components/login/index.d.ts +1 -1
  53. package/dist/components/modal/{cl-ui-modal.vue.d.ts → cl-ui-modal.d.ts} +5 -9
  54. package/dist/components/modal/index.d.ts +1 -1
  55. package/dist/components/modal/types.d.ts +2 -2
  56. package/dist/components/navigation/cl-ui-navigation.d.ts +18 -0
  57. package/dist/components/navigation/group/cl-ui-navigation-group.d.ts +13 -0
  58. package/dist/components/navigation/icon/cl-ui-navigation-icon.d.ts +21 -0
  59. package/dist/components/navigation/index.d.ts +5 -5
  60. package/dist/components/navigation/item/cl-ui-navigation-item.d.ts +3 -0
  61. package/dist/components/navigation/section/cl-ui-navigation-section.d.ts +3 -0
  62. package/dist/components/notification/{cl-ui-notification.vue.d.ts → cl-ui-notification.d.ts} +5 -4
  63. package/dist/components/notification/index.d.ts +1 -1
  64. package/dist/components/slider/{cl-ui-slider.vue.d.ts → cl-ui-slider.d.ts} +22 -27
  65. package/dist/components/slider/index.d.ts +1 -0
  66. package/dist/components/tab/{cl-ui-tab.vue.d.ts → cl-ui-tab.d.ts} +8 -11
  67. package/dist/components/tab/content/cl-ui-tab-content.d.ts +3 -0
  68. package/dist/components/tab/header/{cl-ui-tab-header.vue.d.ts → cl-ui-tab-header.d.ts} +8 -13
  69. package/dist/components/tab/index.d.ts +3 -3
  70. package/dist/components/tab/types.d.ts +2 -2
  71. package/dist/composables/notification.d.ts +12 -3
  72. package/dist/style.css +1 -1
  73. package/dist/utils/i18n/config.d.ts +2 -1
  74. package/dist/utils/i18n/types.d.ts +0 -3
  75. package/package.json +6 -6
  76. package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +0 -2
  77. package/dist/components/calendar/cl-ui-calendar.vue.d.ts +0 -2
  78. package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +0 -573
  79. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +0 -270
  80. package/dist/components/footer/cl-ui-footer.vue.d.ts +0 -2
  81. package/dist/components/grid/cell/cl-ui-grid-cell.vue.d.ts +0 -68
  82. package/dist/components/grid/cl-ui-grid.vue.d.ts +0 -517
  83. package/dist/components/grid/filter/cl-ui-grid-filter.vue.d.ts +0 -66
  84. package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +0 -56
  85. package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +0 -198
  86. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +0 -83
  87. package/dist/components/header/cl-ui-header.vue.d.ts +0 -4
  88. package/dist/components/input/cl-ui-input.vue.d.ts +0 -2
  89. package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +0 -40
  90. package/dist/components/loading-spinner/cl-ui-loading-spinner.vue.d.ts +0 -2
  91. package/dist/components/login/cl-ui-login.vue.d.ts +0 -101
  92. package/dist/components/navigation/cl-ui-navigation.vue.d.ts +0 -11
  93. package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +0 -12
  94. package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +0 -20
  95. package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +0 -2
  96. package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +0 -2
  97. package/dist/components/notification/types.d.ts +0 -9
  98. package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +0 -2
  99. package/dist/env.d.ts +0 -1
@@ -0,0 +1,874 @@
1
+ import type { isInputButton, isInputCalendarSupportedDate, isInputText, getInputTypeAsCalendarType, convertFromEvent } from '../../input/utils';
2
+ import type { DateFormat, NumberFormat } from '../../../utils';
3
+ import type { InputValueType } from '../..';
4
+ import type { LocaleMessage, RemoveIndexSignature, DateTimeFormatOptions, NumberFormatOptions } from '@intlify/core-base';
5
+ import type { ComposerTranslation, VueMessageType, LocaleMessageValue, ComposerDateTimeFormatting, IntlDateTimeFormat, ComposerNumberFormatting, IntlNumberFormat } from 'vue-i18n';
6
+ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef, ComputedOptions, MethodOptions, WritableComputedRef } from 'vue';
7
+ import { type Stoppable } from '@vueuse/core';
8
+ import type { GridCellUpdateEvent } from '../types';
9
+ declare const _sfc_main: DefineComponent<{
10
+ columns: {
11
+ type: ArrayConstructor;
12
+ required: true;
13
+ };
14
+ request: {
15
+ type: null;
16
+ required: true;
17
+ };
18
+ data: {
19
+ type: null;
20
+ required: true;
21
+ };
22
+ loading: {
23
+ type: BooleanConstructor;
24
+ required: true;
25
+ };
26
+ editMode: {
27
+ type: BooleanConstructor;
28
+ required: false;
29
+ default: boolean;
30
+ };
31
+ selectionEnabled: {
32
+ type: BooleanConstructor;
33
+ required: false;
34
+ default: boolean;
35
+ };
36
+ }, {
37
+ props: any;
38
+ emit: {
39
+ (e: 'row-select', value: Record<string, unknown>): void;
40
+ (e: 'row-edit', value: Record<string, unknown>): void;
41
+ (e: 'clear-filters'): void;
42
+ };
43
+ t: ComposerTranslation<{
44
+ [x: string]: LocaleMessage<VueMessageType>;
45
+ }, string, RemoveIndexSignature<{
46
+ [x: string]: LocaleMessageValue<VueMessageType>;
47
+ }>, never, string, string>;
48
+ editRow: Ref<{
49
+ index: number;
50
+ record: Record<string, unknown>;
51
+ }>;
52
+ rowEdited: () => void;
53
+ cellFocused: (index: number) => void;
54
+ cellChanged: (index: number, event: GridCellUpdateEvent) => void;
55
+ cellReverted: (field?: string) => void;
56
+ clickCounters: Ref<Record<number, {
57
+ count: number;
58
+ reset: Stoppable;
59
+ }>>;
60
+ rowSelected: (index: number, row: Record<string, unknown>) => void;
61
+ clUiButton: DefineComponent<{
62
+ colour: {
63
+ type: null;
64
+ required: false;
65
+ default: string;
66
+ };
67
+ size: {
68
+ type: null;
69
+ required: false;
70
+ default: string;
71
+ };
72
+ loading: {
73
+ type: BooleanConstructor;
74
+ required: false;
75
+ default: boolean;
76
+ };
77
+ disabled: {
78
+ type: BooleanConstructor;
79
+ required: false;
80
+ default: boolean;
81
+ };
82
+ }, {
83
+ buttonRef: Ref<HTMLButtonElement | null>;
84
+ ClUiLoadingSpinner: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
85
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
86
+ colour: {
87
+ type: null;
88
+ required: false;
89
+ default: string;
90
+ };
91
+ size: {
92
+ type: null;
93
+ required: false;
94
+ default: string;
95
+ };
96
+ loading: {
97
+ type: BooleanConstructor;
98
+ required: false;
99
+ default: boolean;
100
+ };
101
+ disabled: {
102
+ type: BooleanConstructor;
103
+ required: false;
104
+ default: boolean;
105
+ };
106
+ }>>, {
107
+ disabled: boolean;
108
+ colour: any;
109
+ size: any;
110
+ loading: boolean;
111
+ }>;
112
+ clUiGridRow: DefineComponent<{
113
+ data: {
114
+ type: ObjectConstructor;
115
+ required: true;
116
+ };
117
+ columns: {
118
+ type: ArrayConstructor;
119
+ required: true;
120
+ };
121
+ editMode: {
122
+ type: BooleanConstructor;
123
+ required: false;
124
+ default: boolean;
125
+ };
126
+ }, {
127
+ clUiGridCell: DefineComponent<{
128
+ data: {
129
+ type: ObjectConstructor;
130
+ required: true;
131
+ };
132
+ column: {
133
+ type: null;
134
+ required: true;
135
+ };
136
+ editMode: {
137
+ type: BooleanConstructor;
138
+ required: false;
139
+ default: boolean;
140
+ };
141
+ }, {
142
+ props: any;
143
+ emit: {
144
+ (e: "edit", value: unknown): void;
145
+ (e: "focus"): void;
146
+ (e: "undo"): void;
147
+ };
148
+ currentRecord: Ref<Record<string, InputValueType>>;
149
+ edited: ComputedRef<boolean>;
150
+ clUiGridCellValue: DefineComponent<{
151
+ data: {
152
+ type: ObjectConstructor;
153
+ required: true;
154
+ };
155
+ column: {
156
+ type: null;
157
+ required: true;
158
+ };
159
+ }, {
160
+ d: ComposerDateTimeFormatting<{
161
+ [x: string]: IntlDateTimeFormat;
162
+ }, string, RemoveIndexSignature<{
163
+ [x: string]: DateTimeFormatOptions;
164
+ }>, never, string | number, string | number>;
165
+ readonly DateFormat: typeof DateFormat;
166
+ clUiInput: DefineComponent<{
167
+ inputType: {
168
+ type: null;
169
+ required: true;
170
+ default: string;
171
+ };
172
+ modelValue: {
173
+ type: null;
174
+ required: false;
175
+ default: undefined;
176
+ };
177
+ label: {
178
+ type: StringConstructor;
179
+ required: false;
180
+ default: string;
181
+ };
182
+ isRequired: {
183
+ type: BooleanConstructor;
184
+ required: false;
185
+ default: boolean;
186
+ };
187
+ customValidationFunction: {
188
+ type: FunctionConstructor;
189
+ required: false;
190
+ default: undefined;
191
+ };
192
+ onInputFunction: {
193
+ type: FunctionConstructor;
194
+ required: false;
195
+ default: undefined;
196
+ };
197
+ min: {
198
+ type: (StringConstructor | NumberConstructor)[];
199
+ required: false;
200
+ default: number;
201
+ };
202
+ max: {
203
+ type: (StringConstructor | NumberConstructor)[];
204
+ required: false;
205
+ default: number;
206
+ };
207
+ step: {
208
+ type: NumberConstructor;
209
+ required: false;
210
+ default: number;
211
+ };
212
+ validateImmediately: {
213
+ type: BooleanConstructor;
214
+ required: false;
215
+ default: boolean;
216
+ };
217
+ validateOn: {
218
+ type: StringConstructor;
219
+ required: false;
220
+ default: string;
221
+ };
222
+ externalErrors: {
223
+ type: ArrayConstructor;
224
+ required: false;
225
+ default: () => never[];
226
+ };
227
+ disabled: {
228
+ type: BooleanConstructor;
229
+ required: false;
230
+ default: boolean;
231
+ };
232
+ requiredText: {
233
+ type: StringConstructor;
234
+ required: false;
235
+ default: string;
236
+ };
237
+ placeholderText: {
238
+ type: StringConstructor;
239
+ required: false;
240
+ default: string;
241
+ };
242
+ fileExtensions: {
243
+ type: StringConstructor;
244
+ required: false;
245
+ default: string;
246
+ };
247
+ /**
248
+ * Updates the index of the cell for the current row If the row has updated, fires the row edited event.
249
+ *
250
+ * @param index The index of the row that the cell is in.
251
+ */
252
+ group: {
253
+ type: StringConstructor;
254
+ required: false;
255
+ default: string;
256
+ };
257
+ showLabel: {
258
+ type: BooleanConstructor;
259
+ required: false;
260
+ default: boolean;
261
+ };
262
+ showArrows: {
263
+ type: BooleanConstructor;
264
+ required: false;
265
+ default: boolean;
266
+ };
267
+ autocomplete: {
268
+ type: StringConstructor;
269
+ required: false;
270
+ default: string;
271
+ };
272
+ highlightWhenValid: {
273
+ type: BooleanConstructor;
274
+ required: false;
275
+ default: boolean;
276
+ };
277
+ messageWhenValid: {
278
+ type: StringConstructor;
279
+ required: false;
280
+ default: string;
281
+ };
282
+ inputSpecificClasses: {
283
+ type: StringConstructor;
284
+ required: false;
285
+ default: string;
286
+ };
287
+ }, {
288
+ props: any;
289
+ emit: {
290
+ (e: "update:model-value", value: InputValueType): void;
291
+ (e: "click", event: MouseEvent): void;
292
+ (e: "focus"): void;
293
+ (e: "input", event: {
294
+ target: EventTarget | DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}> | DefineComponent<{
295
+ value: {
296
+ type: NumberConstructor;
297
+ required: true;
298
+ };
299
+ min: {
300
+ type: NumberConstructor;
301
+ required: true;
302
+ };
303
+ max: {
304
+ type: NumberConstructor;
305
+ required: true;
306
+ };
307
+ step: {
308
+ type: NumberConstructor;
309
+ required: false;
310
+ default: number;
311
+ };
312
+ enforceStep: {
313
+ type: BooleanConstructor;
314
+ required: false;
315
+ default: boolean;
316
+ };
317
+ disabled: {
318
+ type: BooleanConstructor;
319
+ required: false;
320
+ default: boolean;
321
+ };
322
+ showNumericInput: {
323
+ type: BooleanConstructor;
324
+ required: false;
325
+ default: boolean;
326
+ };
327
+ }, {
328
+ props: any;
329
+ emit: (event: "update:value", ...args: any[]) => void;
330
+ n: ComposerNumberFormatting<{
331
+ [x: string]: IntlNumberFormat;
332
+ }, string, RemoveIndexSignature<{
333
+ [x: string]: NumberFormatOptions;
334
+ }>, never, string | number, string | number>;
335
+ t: ComposerTranslation<{
336
+ [x: string]: LocaleMessage<VueMessageType>;
337
+ }, string, RemoveIndexSignature<{
338
+ [x: string]: LocaleMessageValue<VueMessageType>;
339
+ }>, never, string, string>;
340
+ debounce: (event: Function, ...eventArgs: unknown[]) => void;
341
+ numericInputValue: Ref<number>;
342
+ sliderRef: Ref<HTMLInputElement | undefined>;
343
+ currentValue: WritableComputedRef<number>;
344
+ colour: ComputedRef<string>;
345
+ percentage: ComputedRef<number>;
346
+ validProps: ComputedRef<boolean>;
347
+ updateCurrentValue: (target: EventTarget | null, forceUpdate: Function) => void;
348
+ readonly NumberFormat: typeof NumberFormat;
349
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
350
+ 'update:value': null;
351
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
352
+ value: {
353
+ type: NumberConstructor;
354
+ required: true;
355
+ };
356
+ min: {
357
+ type: NumberConstructor;
358
+ required: true;
359
+ };
360
+ max: {
361
+ type: NumberConstructor;
362
+ required: true;
363
+ };
364
+ step: {
365
+ type: NumberConstructor;
366
+ required: false;
367
+ default: number;
368
+ };
369
+ enforceStep: {
370
+ type: BooleanConstructor;
371
+ required: false;
372
+ default: boolean;
373
+ };
374
+ disabled: {
375
+ type: BooleanConstructor;
376
+ required: false;
377
+ default: boolean;
378
+ };
379
+ showNumericInput: {
380
+ type: BooleanConstructor;
381
+ required: false;
382
+ default: boolean;
383
+ };
384
+ }>> & {
385
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
386
+ }, {
387
+ disabled: boolean;
388
+ step: number;
389
+ enforceStep: boolean;
390
+ showNumericInput: boolean;
391
+ }> | null;
392
+ }, value: InputValueType): void;
393
+ (e: "change", event: Event, value: InputValueType): void;
394
+ (e: "validated", isValid: boolean, value: InputValueType): void;
395
+ };
396
+ inputElement: Ref<HTMLInputElement | DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}> | DefineComponent<{
397
+ value: {
398
+ type: NumberConstructor;
399
+ required: true;
400
+ };
401
+ min: {
402
+ type: NumberConstructor;
403
+ required: true;
404
+ };
405
+ max: {
406
+ type: NumberConstructor;
407
+ required: true;
408
+ };
409
+ step: {
410
+ type: NumberConstructor;
411
+ required: false;
412
+ default: number;
413
+ };
414
+ enforceStep: {
415
+ type: BooleanConstructor;
416
+ required: false;
417
+ default: boolean;
418
+ };
419
+ disabled: {
420
+ type: BooleanConstructor;
421
+ required: false;
422
+ default: boolean;
423
+ };
424
+ showNumericInput: {
425
+ type: BooleanConstructor;
426
+ required: false;
427
+ default: boolean;
428
+ };
429
+ }, {
430
+ props: any;
431
+ emit: (event: "update:value", ...args: any[]) => void;
432
+ n: ComposerNumberFormatting<{
433
+ [x: string]: IntlNumberFormat;
434
+ }, string, RemoveIndexSignature<{
435
+ [x: string]: NumberFormatOptions;
436
+ }>, never, string | number, string | number>;
437
+ t: ComposerTranslation<{
438
+ [x: string]: LocaleMessage<VueMessageType>;
439
+ }, string, RemoveIndexSignature<{
440
+ [x: string]: LocaleMessageValue<VueMessageType>;
441
+ }>, never, string, string>;
442
+ debounce: (event: Function, ...eventArgs: unknown[]) => void;
443
+ numericInputValue: Ref<number>;
444
+ sliderRef: Ref<HTMLInputElement | undefined>;
445
+ currentValue: WritableComputedRef<number>;
446
+ colour: ComputedRef<string>;
447
+ percentage: ComputedRef<number>;
448
+ validProps: ComputedRef<boolean>;
449
+ updateCurrentValue: (target: EventTarget | null, forceUpdate: Function) => void;
450
+ readonly NumberFormat: typeof NumberFormat;
451
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
452
+ 'update:value': null;
453
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
454
+ value: {
455
+ type: NumberConstructor;
456
+ required: true;
457
+ };
458
+ min: {
459
+ type: NumberConstructor;
460
+ required: true;
461
+ };
462
+ max: {
463
+ type: NumberConstructor;
464
+ required: true;
465
+ };
466
+ step: {
467
+ type: NumberConstructor;
468
+ required: false;
469
+ default: number;
470
+ };
471
+ enforceStep: {
472
+ type: BooleanConstructor;
473
+ required: false;
474
+ default: boolean;
475
+ };
476
+ disabled: {
477
+ type: BooleanConstructor;
478
+ required: false;
479
+ default: boolean;
480
+ };
481
+ showNumericInput: {
482
+ type: BooleanConstructor;
483
+ required: false;
484
+ default: boolean;
485
+ };
486
+ }>> & {
487
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
488
+ }, {
489
+ disabled: boolean;
490
+ step: number;
491
+ enforceStep: boolean;
492
+ showNumericInput: boolean;
493
+ }> | null>;
494
+ focused: Ref<boolean>;
495
+ lostFocus: Ref<boolean>;
496
+ showRequiredAsterisk: ComputedRef<boolean>;
497
+ placeholder: ComputedRef<string>;
498
+ dateFlaggedAsOutOfRange: Ref<boolean>;
499
+ t: ComposerTranslation<{
500
+ [x: string]: LocaleMessage<VueMessageType>;
501
+ }, string, RemoveIndexSignature<{
502
+ [x: string]: LocaleMessageValue<VueMessageType>;
503
+ }>, never, string, string>;
504
+ currentKey: Ref<number>;
505
+ currentValue: WritableComputedRef<InputValueType>;
506
+ currentDateValue: WritableComputedRef<Date>;
507
+ minAsString: ComputedRef<string | undefined>;
508
+ maxAsString: ComputedRef<string | undefined>;
509
+ minAsNumber: ComputedRef<number>;
510
+ maxAsNumber: ComputedRef<number>;
511
+ validMessage: ComputedRef<string>;
512
+ isValid: Ref<boolean>;
513
+ internalErrors: Ref<string[]>;
514
+ errors: ComputedRef<string>;
515
+ updateDateValue: (value: Date | null) => Promise<void>;
516
+ onValueChanged: (value: InputValueType, forceValidation: boolean) => Promise<void>;
517
+ validateValue: (value: InputValueType) => Promise<void>;
518
+ getStyle: () => string;
519
+ emitClickIfButton: (event: MouseEvent) => void;
520
+ incrementNumericValue: () => void;
521
+ decrementNumericValue: () => void;
522
+ toggleFocus: (focus: boolean) => void;
523
+ onLostFocus: () => void;
524
+ forceUpdate: () => void;
525
+ onMouseWheel: (wheelEvent: WheelEvent) => void;
526
+ getShowAsteriskOrRequired: () => boolean;
527
+ onDateOutOfRange: () => void;
528
+ onChange: (event: Event) => Promise<void>;
529
+ readonly clUiCalendar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
530
+ readonly clUiSlider: DefineComponent<{
531
+ value: {
532
+ type: NumberConstructor;
533
+ required: true;
534
+ };
535
+ min: {
536
+ type: NumberConstructor;
537
+ required: true;
538
+ };
539
+ max: {
540
+ type: NumberConstructor;
541
+ required: true;
542
+ };
543
+ step: {
544
+ type: NumberConstructor;
545
+ required: false;
546
+ default: number;
547
+ };
548
+ enforceStep: {
549
+ type: BooleanConstructor;
550
+ required: false;
551
+ default: boolean;
552
+ };
553
+ disabled: {
554
+ type: BooleanConstructor;
555
+ required: false;
556
+ default: boolean;
557
+ };
558
+ showNumericInput: {
559
+ type: BooleanConstructor;
560
+ required: false;
561
+ default: boolean;
562
+ };
563
+ }, {
564
+ props: any;
565
+ emit: (event: "update:value", ...args: any[]) => void;
566
+ n: ComposerNumberFormatting<{
567
+ [x: string]: IntlNumberFormat;
568
+ }, string, RemoveIndexSignature<{
569
+ [x: string]: NumberFormatOptions;
570
+ }>, never, string | number, string | number>;
571
+ t: ComposerTranslation<{
572
+ [x: string]: LocaleMessage<VueMessageType>;
573
+ }, string, RemoveIndexSignature<{
574
+ [x: string]: LocaleMessageValue<VueMessageType>;
575
+ }>, never, string, string>;
576
+ debounce: (event: Function, ...eventArgs: unknown[]) => void;
577
+ numericInputValue: Ref<number>;
578
+ sliderRef: Ref<HTMLInputElement | undefined>;
579
+ currentValue: WritableComputedRef<number>;
580
+ colour: ComputedRef<string>;
581
+ percentage: ComputedRef<number>;
582
+ validProps: ComputedRef<boolean>;
583
+ updateCurrentValue: (target: EventTarget | null, forceUpdate: Function) => void;
584
+ readonly NumberFormat: typeof NumberFormat;
585
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
586
+ 'update:value': null;
587
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
588
+ value: {
589
+ type: NumberConstructor;
590
+ required: true;
591
+ };
592
+ min: {
593
+ type: NumberConstructor;
594
+ required: true;
595
+ };
596
+ max: {
597
+ type: NumberConstructor;
598
+ required: true;
599
+ };
600
+ step: {
601
+ type: NumberConstructor;
602
+ required: false;
603
+ default: number;
604
+ };
605
+ enforceStep: {
606
+ type: BooleanConstructor;
607
+ required: false;
608
+ default: boolean;
609
+ };
610
+ disabled: {
611
+ type: BooleanConstructor;
612
+ required: false;
613
+ default: boolean;
614
+ };
615
+ showNumericInput: {
616
+ type: BooleanConstructor;
617
+ required: false;
618
+ default: boolean;
619
+ };
620
+ }>> & {
621
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
622
+ }, {
623
+ disabled: boolean;
624
+ step: number;
625
+ enforceStep: boolean;
626
+ showNumericInput: boolean;
627
+ }>;
628
+ readonly isInputButton: typeof isInputButton;
629
+ readonly isInputCalendarSupportedDate: typeof isInputCalendarSupportedDate;
630
+ readonly isInputText: typeof isInputText;
631
+ readonly getInputTypeAsCalendarType: typeof getInputTypeAsCalendarType;
632
+ readonly convertFromEvent: typeof convertFromEvent;
633
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("focus" | "input" | "update:model-value" | "click" | "change" | "validated")[], "focus" | "input" | "update:model-value" | "click" | "change" | "validated", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
634
+ inputType: {
635
+ type: null;
636
+ required: true;
637
+ default: string;
638
+ };
639
+ modelValue: {
640
+ type: null;
641
+ required: false;
642
+ default: undefined;
643
+ };
644
+ label: {
645
+ type: StringConstructor;
646
+ required: false;
647
+ default: string;
648
+ };
649
+ isRequired: {
650
+ type: BooleanConstructor;
651
+ required: false;
652
+ default: boolean;
653
+ };
654
+ customValidationFunction: {
655
+ type: FunctionConstructor;
656
+ required: false;
657
+ default: undefined;
658
+ };
659
+ onInputFunction: {
660
+ type: FunctionConstructor;
661
+ required: false;
662
+ default: undefined;
663
+ };
664
+ min: {
665
+ type: (StringConstructor | NumberConstructor)[];
666
+ required: false;
667
+ default: number;
668
+ };
669
+ max: {
670
+ type: (StringConstructor | NumberConstructor)[];
671
+ required: false;
672
+ default: number;
673
+ };
674
+ step: {
675
+ type: NumberConstructor;
676
+ required: false;
677
+ default: number;
678
+ };
679
+ validateImmediately: {
680
+ type: BooleanConstructor;
681
+ required: false;
682
+ default: boolean;
683
+ };
684
+ validateOn: {
685
+ type: StringConstructor;
686
+ required: false;
687
+ default: string;
688
+ };
689
+ externalErrors: {
690
+ type: ArrayConstructor;
691
+ required: false;
692
+ default: () => never[];
693
+ };
694
+ disabled: {
695
+ type: BooleanConstructor;
696
+ required: false;
697
+ default: boolean;
698
+ };
699
+ requiredText: {
700
+ type: StringConstructor;
701
+ required: false;
702
+ default: string;
703
+ };
704
+ placeholderText: {
705
+ type: StringConstructor;
706
+ required: false;
707
+ default: string;
708
+ };
709
+ fileExtensions: {
710
+ type: StringConstructor;
711
+ required: false;
712
+ default: string;
713
+ };
714
+ /**
715
+ * Updates the index of the cell for the current row If the row has updated, fires the row edited event.
716
+ *
717
+ * @param index The index of the row that the cell is in.
718
+ */
719
+ group: {
720
+ type: StringConstructor;
721
+ required: false;
722
+ default: string;
723
+ };
724
+ showLabel: {
725
+ type: BooleanConstructor;
726
+ required: false;
727
+ default: boolean;
728
+ };
729
+ showArrows: {
730
+ type: BooleanConstructor;
731
+ required: false;
732
+ default: boolean;
733
+ };
734
+ autocomplete: {
735
+ type: StringConstructor;
736
+ required: false;
737
+ default: string;
738
+ };
739
+ highlightWhenValid: {
740
+ type: BooleanConstructor;
741
+ required: false;
742
+ default: boolean;
743
+ };
744
+ messageWhenValid: {
745
+ type: StringConstructor;
746
+ required: false;
747
+ default: string;
748
+ };
749
+ inputSpecificClasses: {
750
+ type: StringConstructor;
751
+ required: false;
752
+ default: string;
753
+ };
754
+ }>> & {
755
+ onFocus?: ((...args: any[]) => any) | undefined;
756
+ onInput?: ((...args: any[]) => any) | undefined;
757
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
758
+ onClick?: ((...args: any[]) => any) | undefined;
759
+ onChange?: ((...args: any[]) => any) | undefined;
760
+ onValidated?: ((...args: any[]) => any) | undefined;
761
+ }, {
762
+ disabled: boolean;
763
+ inputType: any;
764
+ modelValue: any;
765
+ label: string;
766
+ isRequired: boolean;
767
+ customValidationFunction: Function;
768
+ onInputFunction: Function;
769
+ min: string | number;
770
+ max: string | number;
771
+ step: number;
772
+ validateImmediately: boolean;
773
+ validateOn: string;
774
+ externalErrors: unknown[];
775
+ requiredText: string;
776
+ placeholderText: string;
777
+ fileExtensions: string;
778
+ group: string;
779
+ showLabel: boolean;
780
+ showArrows: boolean;
781
+ autocomplete: string;
782
+ highlightWhenValid: boolean;
783
+ messageWhenValid: string;
784
+ inputSpecificClasses: string;
785
+ }>;
786
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
787
+ data: {
788
+ type: ObjectConstructor;
789
+ required: true;
790
+ };
791
+ column: {
792
+ type: null;
793
+ required: true;
794
+ };
795
+ }>>, {}>;
796
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("focus" | "edit" | "undo")[], "focus" | "edit" | "undo", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
797
+ data: {
798
+ type: ObjectConstructor;
799
+ required: true;
800
+ };
801
+ column: {
802
+ type: null;
803
+ required: true;
804
+ };
805
+ editMode: {
806
+ type: BooleanConstructor;
807
+ required: false;
808
+ default: boolean;
809
+ };
810
+ }>> & {
811
+ onFocus?: ((...args: any[]) => any) | undefined;
812
+ onEdit?: ((...args: any[]) => any) | undefined;
813
+ onUndo?: ((...args: any[]) => any) | undefined;
814
+ }, {
815
+ editMode: boolean;
816
+ }>;
817
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("row-select" | "cell-focus" | "cell-edit" | "cell-undo")[], "row-select" | "cell-focus" | "cell-edit" | "cell-undo", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
818
+ data: {
819
+ type: ObjectConstructor;
820
+ required: true;
821
+ };
822
+ columns: {
823
+ type: ArrayConstructor;
824
+ required: true;
825
+ };
826
+ editMode: {
827
+ type: BooleanConstructor;
828
+ required: false;
829
+ default: boolean;
830
+ };
831
+ }>> & {
832
+ "onRow-select"?: ((...args: any[]) => any) | undefined;
833
+ "onCell-focus"?: ((...args: any[]) => any) | undefined;
834
+ "onCell-edit"?: ((...args: any[]) => any) | undefined;
835
+ "onCell-undo"?: ((...args: any[]) => any) | undefined;
836
+ }, {
837
+ editMode: boolean;
838
+ }>;
839
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("row-edit" | "row-select" | "clear-filters")[], "row-edit" | "row-select" | "clear-filters", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
840
+ columns: {
841
+ type: ArrayConstructor;
842
+ required: true;
843
+ };
844
+ request: {
845
+ type: null;
846
+ required: true;
847
+ };
848
+ data: {
849
+ type: null;
850
+ required: true;
851
+ };
852
+ loading: {
853
+ type: BooleanConstructor;
854
+ required: true;
855
+ };
856
+ editMode: {
857
+ type: BooleanConstructor;
858
+ required: false;
859
+ default: boolean;
860
+ };
861
+ selectionEnabled: {
862
+ type: BooleanConstructor;
863
+ required: false;
864
+ default: boolean;
865
+ };
866
+ }>> & {
867
+ "onRow-edit"?: ((...args: any[]) => any) | undefined;
868
+ "onRow-select"?: ((...args: any[]) => any) | undefined;
869
+ "onClear-filters"?: ((...args: any[]) => any) | undefined;
870
+ }, {
871
+ editMode: boolean;
872
+ selectionEnabled: boolean;
873
+ }>;
874
+ export default _sfc_main;