@citruslime/ui 2.0.0-beta.8 → 2.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/citrus-lime-ui.es.js +162 -178
- package/dist/citrus-lime-ui.umd.js +1 -1
- package/dist/src/components/button/cl-ui-button.vue.d.ts +4 -4
- package/dist/src/components/card/cl-ui-card.vue.d.ts +0 -24
- package/dist/src/components/card/index.d.ts +1 -0
- package/dist/src/components/combo-box/cl-ui-combo-box.vue.d.ts +29 -35
- package/dist/src/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +12 -12
- package/dist/src/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +2 -2
- package/dist/src/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +3 -3
- package/dist/src/components/grid/cell/cl-ui-grid-cell.vue.d.ts +2 -2
- package/dist/src/components/grid/cl-ui-grid.vue.d.ts +23 -23
- package/dist/src/components/grid/filter/cl-ui-grid-filter.vue.d.ts +1 -1
- package/dist/src/components/grid/footer/cl-ui-grid-footer.vue.d.ts +1 -1
- package/dist/src/components/grid/header/cl-ui-grid-header.vue.d.ts +10 -10
- package/dist/src/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +4 -4
- package/dist/src/components/language-switcher/cl-ui-language-switcher.vue.d.ts +4 -4
- package/dist/src/components/language-switcher/types.d.ts +1 -1
- package/dist/src/components/login/cl-ui-login.vue.d.ts +6 -50
- package/dist/src/components/modal/cl-ui-modal.vue.d.ts +7 -7
- package/dist/src/components/navigation/cl-ui-navigation.vue.d.ts +11 -11
- package/dist/src/components/slider/cl-ui-slider.vue.d.ts +2 -2
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/dist/src/components/footer/cl-ui-footer.vue.d.ts +0 -22
|
@@ -61,8 +61,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
61
61
|
};
|
|
62
62
|
currentObject: {
|
|
63
63
|
type: null;
|
|
64
|
-
required:
|
|
65
|
-
default: () => null;
|
|
64
|
+
required: true;
|
|
66
65
|
};
|
|
67
66
|
}, {
|
|
68
67
|
props: {
|
|
@@ -80,7 +79,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
80
79
|
parentResults: ComboBoxItem[];
|
|
81
80
|
currentObject: ComboBoxItem | null;
|
|
82
81
|
};
|
|
83
|
-
emit: ((event: "search", ...args: any[]) => void) & ((event: "
|
|
82
|
+
emit: ((event: "search", ...args: any[]) => void) & ((event: "search-parent", ...args: any[]) => void) & ((event: "create-object", ...args: any[]) => void) & ((event: "create-parent-object", ...args: any[]) => void) & ((event: "update:current-object", ...args: any[]) => void);
|
|
84
83
|
t: {
|
|
85
84
|
(key: string | number): string;
|
|
86
85
|
(key: string | number, plural: number, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
@@ -146,12 +145,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
146
145
|
}, {
|
|
147
146
|
props: {
|
|
148
147
|
title: string;
|
|
149
|
-
size: "
|
|
148
|
+
size: "medium" | "small" | "large" | "x-small";
|
|
150
149
|
confirmButton: string;
|
|
151
150
|
cancelButton: string;
|
|
152
151
|
confirmEnabled: boolean;
|
|
153
152
|
};
|
|
154
|
-
emit: ((event: "
|
|
153
|
+
emit: ((event: "confirm", ...args: any[]) => void) & ((event: "cancel", ...args: any[]) => void);
|
|
155
154
|
visible: import("vue").Ref<boolean>;
|
|
156
155
|
showConfirmButton: import("vue").ComputedRef<boolean>;
|
|
157
156
|
showCancelButton: import("vue").ComputedRef<boolean>;
|
|
@@ -189,15 +188,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
189
188
|
loading?: unknown;
|
|
190
189
|
disabled?: unknown;
|
|
191
190
|
} & {
|
|
191
|
+
colour: any;
|
|
192
|
+
size: any;
|
|
192
193
|
loading: boolean;
|
|
193
194
|
disabled: boolean;
|
|
194
|
-
size: any;
|
|
195
|
-
colour: any;
|
|
196
195
|
} & {}>, {
|
|
196
|
+
colour: any;
|
|
197
|
+
size: any;
|
|
197
198
|
loading: boolean;
|
|
198
199
|
disabled: boolean;
|
|
199
|
-
size: any;
|
|
200
|
-
colour: any;
|
|
201
200
|
}>;
|
|
202
201
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
203
202
|
confirm: null;
|
|
@@ -209,14 +208,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
209
208
|
cancelButton?: unknown;
|
|
210
209
|
confirmEnabled?: unknown;
|
|
211
210
|
} & {
|
|
212
|
-
title: string;
|
|
213
211
|
size: any;
|
|
212
|
+
title: string;
|
|
214
213
|
confirmButton: string;
|
|
215
214
|
cancelButton: string;
|
|
216
215
|
confirmEnabled: boolean;
|
|
217
216
|
} & {}> & {
|
|
218
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
219
217
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
218
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
220
219
|
}, {
|
|
221
220
|
size: any;
|
|
222
221
|
confirmButton: string;
|
|
@@ -280,7 +279,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
280
279
|
results: ComboBoxItem[];
|
|
281
280
|
isVisible: boolean;
|
|
282
281
|
};
|
|
283
|
-
emit: ((event: "search", ...args: any[]) => void) & ((event: "
|
|
282
|
+
emit: ((event: "search", ...args: any[]) => void) & ((event: "create-object", ...args: any[]) => void) & ((event: "clear-object", ...args: any[]) => void) & ((event: "select-object", ...args: any[]) => void) & ((event: "hide-dropdown", ...args: any[]) => void);
|
|
284
283
|
t: {
|
|
285
284
|
(key: string | number): string;
|
|
286
285
|
(key: string | number, plural: number, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
@@ -294,10 +293,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
294
293
|
};
|
|
295
294
|
searchText: import("vue").Ref<string>;
|
|
296
295
|
showAddNewOption: import("vue").Ref<boolean>;
|
|
297
|
-
/**
|
|
298
|
-
* Validate the object that will be created to determine whether
|
|
299
|
-
* a name has been entered and a parent object has been selected.
|
|
300
|
-
*/
|
|
301
296
|
currentSelection: import("vue").Ref<number>;
|
|
302
297
|
firstIndexInResults: import("vue").ComputedRef<number>;
|
|
303
298
|
container: import("vue").Ref<HTMLElement | undefined>;
|
|
@@ -337,14 +332,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
337
332
|
text?: unknown;
|
|
338
333
|
additionalText?: unknown;
|
|
339
334
|
} & {
|
|
340
|
-
text: string;
|
|
341
335
|
showClearButton: boolean;
|
|
336
|
+
text: string;
|
|
342
337
|
additionalText: string;
|
|
343
338
|
} & {}> & {
|
|
344
339
|
"onClear-object"?: ((...args: any[]) => any) | undefined;
|
|
345
340
|
}, {
|
|
346
|
-
text: string;
|
|
347
341
|
showClearButton: boolean;
|
|
342
|
+
text: string;
|
|
348
343
|
additionalText: string;
|
|
349
344
|
}>;
|
|
350
345
|
ClUiComboBoxSelectable: import("vue").DefineComponent<{
|
|
@@ -398,20 +393,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
398
393
|
option?: unknown;
|
|
399
394
|
index?: unknown;
|
|
400
395
|
} & {
|
|
401
|
-
option: any;
|
|
402
396
|
text: string;
|
|
403
|
-
index: number;
|
|
404
397
|
isCreateNewOption: boolean;
|
|
405
398
|
selectedIndex: number;
|
|
399
|
+
option: any;
|
|
400
|
+
index: number;
|
|
406
401
|
} & {}> & {
|
|
407
402
|
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
408
403
|
"onSelect-object"?: ((...args: any[]) => any) | undefined;
|
|
409
404
|
"onOption-highlighted"?: ((...args: any[]) => any) | undefined;
|
|
410
405
|
}, {
|
|
411
|
-
option: any;
|
|
412
406
|
text: string;
|
|
413
407
|
isCreateNewOption: boolean;
|
|
414
408
|
selectedIndex: number;
|
|
409
|
+
option: any;
|
|
415
410
|
}>;
|
|
416
411
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
417
412
|
'clear-object': null;
|
|
@@ -432,27 +427,27 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
432
427
|
} & {
|
|
433
428
|
loading: boolean;
|
|
434
429
|
objectType: string;
|
|
435
|
-
errorMessage: string;
|
|
436
430
|
objectParentType: string;
|
|
437
431
|
canCreateNewObject: boolean;
|
|
438
432
|
canClearSelectedObject: boolean;
|
|
439
|
-
|
|
433
|
+
errorMessage: string;
|
|
440
434
|
results: unknown[];
|
|
435
|
+
currentObjectName: string;
|
|
441
436
|
isVisible: boolean;
|
|
442
437
|
} & {}> & {
|
|
443
|
-
|
|
438
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
444
439
|
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
440
|
+
"onClear-object"?: ((...args: any[]) => any) | undefined;
|
|
445
441
|
"onSelect-object"?: ((...args: any[]) => any) | undefined;
|
|
446
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
|
447
442
|
"onHide-dropdown"?: ((...args: any[]) => any) | undefined;
|
|
448
443
|
}, {
|
|
449
444
|
loading: boolean;
|
|
450
|
-
errorMessage: string;
|
|
451
445
|
objectParentType: string;
|
|
452
446
|
canCreateNewObject: boolean;
|
|
453
447
|
canClearSelectedObject: boolean;
|
|
454
|
-
|
|
448
|
+
errorMessage: string;
|
|
455
449
|
results: unknown[];
|
|
450
|
+
currentObjectName: string;
|
|
456
451
|
isVisible: boolean;
|
|
457
452
|
}>;
|
|
458
453
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -476,37 +471,36 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
476
471
|
parentResults?: unknown;
|
|
477
472
|
currentObject?: unknown;
|
|
478
473
|
} & {
|
|
479
|
-
required: boolean;
|
|
480
474
|
loading: boolean;
|
|
481
475
|
disabled: boolean;
|
|
476
|
+
required: boolean;
|
|
482
477
|
objectType: string;
|
|
483
|
-
errorMessage: string;
|
|
484
478
|
objectParentType: string;
|
|
485
479
|
canCreateNewObject: boolean;
|
|
486
480
|
canClearSelectedObject: boolean;
|
|
487
|
-
|
|
481
|
+
errorMessage: string;
|
|
488
482
|
objectCreatedResponse: any;
|
|
489
483
|
parentObjectCreatedResponse: any;
|
|
484
|
+
results: unknown[];
|
|
490
485
|
parentResults: unknown[];
|
|
491
486
|
currentObject: any;
|
|
492
487
|
} & {}> & {
|
|
493
|
-
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
494
488
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
495
489
|
"onSearch-parent"?: ((...args: any[]) => any) | undefined;
|
|
490
|
+
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
496
491
|
"onCreate-parent-object"?: ((...args: any[]) => any) | undefined;
|
|
497
492
|
"onUpdate:current-object"?: ((...args: any[]) => any) | undefined;
|
|
498
493
|
}, {
|
|
499
|
-
required: boolean;
|
|
500
494
|
loading: boolean;
|
|
501
495
|
disabled: boolean;
|
|
502
|
-
|
|
496
|
+
required: boolean;
|
|
503
497
|
objectParentType: string;
|
|
504
498
|
canCreateNewObject: boolean;
|
|
505
499
|
canClearSelectedObject: boolean;
|
|
506
|
-
|
|
500
|
+
errorMessage: string;
|
|
507
501
|
objectCreatedResponse: any;
|
|
508
502
|
parentObjectCreatedResponse: any;
|
|
503
|
+
results: unknown[];
|
|
509
504
|
parentResults: unknown[];
|
|
510
|
-
currentObject: any;
|
|
511
505
|
}>;
|
|
512
506
|
export default _sfc_main;
|
|
@@ -56,7 +56,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
56
56
|
results: ComboBoxItem[];
|
|
57
57
|
isVisible: boolean;
|
|
58
58
|
};
|
|
59
|
-
emit: ((event: "search", ...args: any[]) => void) & ((event: "
|
|
59
|
+
emit: ((event: "search", ...args: any[]) => void) & ((event: "create-object", ...args: any[]) => void) & ((event: "clear-object", ...args: any[]) => void) & ((event: "select-object", ...args: any[]) => void) & ((event: "hide-dropdown", ...args: any[]) => void);
|
|
60
60
|
t: {
|
|
61
61
|
(key: string | number): string;
|
|
62
62
|
(key: string | number, plural: number, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
@@ -109,14 +109,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
109
109
|
text?: unknown;
|
|
110
110
|
additionalText?: unknown;
|
|
111
111
|
} & {
|
|
112
|
-
text: string;
|
|
113
112
|
showClearButton: boolean;
|
|
113
|
+
text: string;
|
|
114
114
|
additionalText: string;
|
|
115
115
|
} & {}> & {
|
|
116
116
|
"onClear-object"?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}, {
|
|
118
|
-
text: string;
|
|
119
118
|
showClearButton: boolean;
|
|
119
|
+
text: string;
|
|
120
120
|
additionalText: string;
|
|
121
121
|
}>;
|
|
122
122
|
ClUiComboBoxSelectable: import("vue").DefineComponent<{
|
|
@@ -170,20 +170,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
170
170
|
option?: unknown;
|
|
171
171
|
index?: unknown;
|
|
172
172
|
} & {
|
|
173
|
-
option: any;
|
|
174
173
|
text: string;
|
|
175
|
-
index: number;
|
|
176
174
|
isCreateNewOption: boolean;
|
|
177
175
|
selectedIndex: number;
|
|
176
|
+
option: any;
|
|
177
|
+
index: number;
|
|
178
178
|
} & {}> & {
|
|
179
179
|
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
180
180
|
"onSelect-object"?: ((...args: any[]) => any) | undefined;
|
|
181
181
|
"onOption-highlighted"?: ((...args: any[]) => any) | undefined;
|
|
182
182
|
}, {
|
|
183
|
-
option: any;
|
|
184
183
|
text: string;
|
|
185
184
|
isCreateNewOption: boolean;
|
|
186
185
|
selectedIndex: number;
|
|
186
|
+
option: any;
|
|
187
187
|
}>;
|
|
188
188
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
189
189
|
'clear-object': null;
|
|
@@ -204,27 +204,27 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
204
204
|
} & {
|
|
205
205
|
loading: boolean;
|
|
206
206
|
objectType: string;
|
|
207
|
-
errorMessage: string;
|
|
208
207
|
objectParentType: string;
|
|
209
208
|
canCreateNewObject: boolean;
|
|
210
209
|
canClearSelectedObject: boolean;
|
|
211
|
-
|
|
210
|
+
errorMessage: string;
|
|
212
211
|
results: unknown[];
|
|
212
|
+
currentObjectName: string;
|
|
213
213
|
isVisible: boolean;
|
|
214
214
|
} & {}> & {
|
|
215
|
-
|
|
215
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
216
216
|
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
217
|
+
"onClear-object"?: ((...args: any[]) => any) | undefined;
|
|
217
218
|
"onSelect-object"?: ((...args: any[]) => any) | undefined;
|
|
218
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
"onHide-dropdown"?: ((...args: any[]) => any) | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
loading: boolean;
|
|
222
|
-
errorMessage: string;
|
|
223
222
|
objectParentType: string;
|
|
224
223
|
canCreateNewObject: boolean;
|
|
225
224
|
canClearSelectedObject: boolean;
|
|
226
|
-
|
|
225
|
+
errorMessage: string;
|
|
227
226
|
results: unknown[];
|
|
227
|
+
currentObjectName: string;
|
|
228
228
|
isVisible: boolean;
|
|
229
229
|
}>;
|
|
230
230
|
export default _sfc_main;
|
package/dist/src/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts
CHANGED
|
@@ -21,14 +21,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
21
21
|
text?: unknown;
|
|
22
22
|
additionalText?: unknown;
|
|
23
23
|
} & {
|
|
24
|
-
text: string;
|
|
25
24
|
showClearButton: boolean;
|
|
25
|
+
text: string;
|
|
26
26
|
additionalText: string;
|
|
27
27
|
} & {}> & {
|
|
28
28
|
"onClear-object"?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
}, {
|
|
30
|
-
text: string;
|
|
31
30
|
showClearButton: boolean;
|
|
31
|
+
text: string;
|
|
32
32
|
additionalText: string;
|
|
33
33
|
}>;
|
|
34
34
|
export default _sfc_main;
|
|
@@ -50,19 +50,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
50
50
|
option?: unknown;
|
|
51
51
|
index?: unknown;
|
|
52
52
|
} & {
|
|
53
|
-
option: any;
|
|
54
53
|
text: string;
|
|
55
|
-
index: number;
|
|
56
54
|
isCreateNewOption: boolean;
|
|
57
55
|
selectedIndex: number;
|
|
56
|
+
option: any;
|
|
57
|
+
index: number;
|
|
58
58
|
} & {}> & {
|
|
59
59
|
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
60
60
|
"onSelect-object"?: ((...args: any[]) => any) | undefined;
|
|
61
61
|
"onOption-highlighted"?: ((...args: any[]) => any) | undefined;
|
|
62
62
|
}, {
|
|
63
|
-
option: any;
|
|
64
63
|
text: string;
|
|
65
64
|
isCreateNewOption: boolean;
|
|
66
65
|
selectedIndex: number;
|
|
66
|
+
option: any;
|
|
67
67
|
}>;
|
|
68
68
|
export default _sfc_main;
|
|
@@ -20,7 +20,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
20
20
|
record: Record<string, unknown>;
|
|
21
21
|
editMode: boolean;
|
|
22
22
|
};
|
|
23
|
-
emit: ((event: "
|
|
23
|
+
emit: ((event: "edit", ...args: any[]) => void) & ((event: "focus", ...args: any[]) => void) & ((event: "undo-edit", ...args: any[]) => void);
|
|
24
24
|
d: {
|
|
25
25
|
(value: string | number | Date): string;
|
|
26
26
|
(value: string | number | Date, key: string): string;
|
|
@@ -56,8 +56,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
56
56
|
record: Record<string, any>;
|
|
57
57
|
editMode: boolean;
|
|
58
58
|
} & {}> & {
|
|
59
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
60
59
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
61
61
|
"onUndo-edit"?: ((...args: any[]) => any) | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
editMode: boolean;
|
|
@@ -24,7 +24,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
24
24
|
loading: boolean;
|
|
25
25
|
data: FilterResponse<unknown> | null;
|
|
26
26
|
};
|
|
27
|
-
emit: ((event: "update:
|
|
27
|
+
emit: ((event: "update:columns", ...args: any[]) => void) & ((event: "update:request", ...args: any[]) => void) & ((event: "data-request", ...args: any[]) => void) & ((event: "row-edit", ...args: any[]) => void) & ((event: "edit-start", ...args: any[]) => void) & ((event: "edit-end", ...args: any[]) => void);
|
|
28
28
|
t: {
|
|
29
29
|
(key: string | number): string;
|
|
30
30
|
(key: string | number, plural: number, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
@@ -88,15 +88,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
88
88
|
loading?: unknown;
|
|
89
89
|
disabled?: unknown;
|
|
90
90
|
} & {
|
|
91
|
+
colour: any;
|
|
92
|
+
size: any;
|
|
91
93
|
loading: boolean;
|
|
92
94
|
disabled: boolean;
|
|
93
|
-
size: any;
|
|
94
|
-
colour: any;
|
|
95
95
|
} & {}>, {
|
|
96
|
+
colour: any;
|
|
97
|
+
size: any;
|
|
96
98
|
loading: boolean;
|
|
97
99
|
disabled: boolean;
|
|
98
|
-
size: any;
|
|
99
|
-
colour: any;
|
|
100
100
|
}>;
|
|
101
101
|
ClUiGridCell: import("vue").DefineComponent<{
|
|
102
102
|
column: {
|
|
@@ -118,7 +118,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
118
118
|
record: Record<string, unknown>;
|
|
119
119
|
editMode: boolean;
|
|
120
120
|
};
|
|
121
|
-
emit: ((event: "
|
|
121
|
+
emit: ((event: "edit", ...args: any[]) => void) & ((event: "focus", ...args: any[]) => void) & ((event: "undo-edit", ...args: any[]) => void);
|
|
122
122
|
d: {
|
|
123
123
|
(value: string | number | Date): string;
|
|
124
124
|
(value: string | number | Date, key: string): string;
|
|
@@ -154,8 +154,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
154
154
|
record: Record<string, any>;
|
|
155
155
|
editMode: boolean;
|
|
156
156
|
} & {}> & {
|
|
157
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
158
157
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
158
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
159
159
|
"onUndo-edit"?: ((...args: any[]) => any) | undefined;
|
|
160
160
|
}, {
|
|
161
161
|
editMode: boolean;
|
|
@@ -202,7 +202,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
202
202
|
decimalSeparator: import("vue").ComputedRef<string>;
|
|
203
203
|
getDefaultFilterOperation: () => import("./types").FilterOperation;
|
|
204
204
|
getAllowedMethods: () => import("./types").FilterMethod[];
|
|
205
|
-
setFilterMethod: (filterMethod: "equal" | "notequal" | "contains" | "notcontains" | "
|
|
205
|
+
setFilterMethod: (filterMethod: "equal" | "notequal" | "contains" | "notcontains" | "lessthan" | "greaterthan" | "startswith" | "endswith" | "equalorlessthan" | "equalorgreaterthan") => void;
|
|
206
206
|
setFilter: (target: EventTarget | null, defaultValue?: string | undefined) => void;
|
|
207
207
|
setNumberFilter: (target: EventTarget | null) => void;
|
|
208
208
|
setDateFilter: (value: Date | null) => void;
|
|
@@ -213,8 +213,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
213
213
|
column?: unknown;
|
|
214
214
|
firstHalf?: unknown;
|
|
215
215
|
} & {
|
|
216
|
-
column: any;
|
|
217
216
|
request: any;
|
|
217
|
+
column: any;
|
|
218
218
|
firstHalf: boolean;
|
|
219
219
|
} & {}> & {
|
|
220
220
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
@@ -268,8 +268,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
268
268
|
request?: unknown;
|
|
269
269
|
data?: unknown;
|
|
270
270
|
} & {
|
|
271
|
-
data: any;
|
|
272
271
|
request: any;
|
|
272
|
+
data: any;
|
|
273
273
|
} & {}> & {
|
|
274
274
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
275
275
|
}, {
|
|
@@ -342,15 +342,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
342
342
|
loading?: unknown;
|
|
343
343
|
disabled?: unknown;
|
|
344
344
|
} & {
|
|
345
|
+
colour: any;
|
|
346
|
+
size: any;
|
|
345
347
|
loading: boolean;
|
|
346
348
|
disabled: boolean;
|
|
347
|
-
size: any;
|
|
348
|
-
colour: any;
|
|
349
349
|
} & {}>, {
|
|
350
|
+
colour: any;
|
|
351
|
+
size: any;
|
|
350
352
|
loading: boolean;
|
|
351
353
|
disabled: boolean;
|
|
352
|
-
size: any;
|
|
353
|
-
colour: any;
|
|
354
354
|
}>;
|
|
355
355
|
ClUiGridViewManager: import("vue").DefineComponent<{
|
|
356
356
|
columns: {
|
|
@@ -376,7 +376,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
376
376
|
visible: import("vue").Ref<boolean>;
|
|
377
377
|
moveColumn: (columns: GridColumn[], oldIndex: number, newIndex: number) => void;
|
|
378
378
|
updateColumnVisibility: (target: EventTarget | null, column: GridColumn) => void;
|
|
379
|
-
changeColumnOrder: (columnIndex: number, direction: "
|
|
379
|
+
changeColumnOrder: (columnIndex: number, direction: "up" | "down") => void;
|
|
380
380
|
ClUiButton: import("vue").DefineComponent<{
|
|
381
381
|
colour: {
|
|
382
382
|
type: null;
|
|
@@ -406,15 +406,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
406
406
|
loading?: unknown;
|
|
407
407
|
disabled?: unknown;
|
|
408
408
|
} & {
|
|
409
|
+
colour: any;
|
|
410
|
+
size: any;
|
|
409
411
|
loading: boolean;
|
|
410
412
|
disabled: boolean;
|
|
411
|
-
size: any;
|
|
412
|
-
colour: any;
|
|
413
413
|
} & {}>, {
|
|
414
|
+
colour: any;
|
|
415
|
+
size: any;
|
|
414
416
|
loading: boolean;
|
|
415
417
|
disabled: boolean;
|
|
416
|
-
size: any;
|
|
417
|
-
colour: any;
|
|
418
418
|
}>;
|
|
419
419
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
420
420
|
'update:columns': null;
|
|
@@ -436,8 +436,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
436
436
|
editEnabled?: unknown;
|
|
437
437
|
filterPanelOpen?: unknown;
|
|
438
438
|
} & {
|
|
439
|
-
editMode: boolean;
|
|
440
439
|
columns: unknown[];
|
|
440
|
+
editMode: boolean;
|
|
441
441
|
editEnabled: boolean;
|
|
442
442
|
filterPanelOpen: boolean;
|
|
443
443
|
} & {}> & {
|
|
@@ -462,12 +462,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
462
462
|
data?: unknown;
|
|
463
463
|
} & {
|
|
464
464
|
loading: boolean;
|
|
465
|
-
data: any;
|
|
466
|
-
request: any;
|
|
467
465
|
columns: unknown[];
|
|
466
|
+
request: any;
|
|
467
|
+
data: any;
|
|
468
468
|
} & {}> & {
|
|
469
|
-
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
470
469
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
470
|
+
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
471
471
|
"onData-request"?: ((...args: any[]) => any) | undefined;
|
|
472
472
|
"onRow-edit"?: ((...args: any[]) => any) | undefined;
|
|
473
473
|
"onEdit-start"?: ((...args: any[]) => any) | undefined;
|
|
@@ -53,8 +53,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
53
53
|
column?: unknown;
|
|
54
54
|
firstHalf?: unknown;
|
|
55
55
|
} & {
|
|
56
|
-
column: any;
|
|
57
56
|
request: any;
|
|
57
|
+
column: any;
|
|
58
58
|
firstHalf: boolean;
|
|
59
59
|
} & {}> & {
|
|
60
60
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
@@ -66,15 +66,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
66
66
|
loading?: unknown;
|
|
67
67
|
disabled?: unknown;
|
|
68
68
|
} & {
|
|
69
|
+
colour: any;
|
|
70
|
+
size: any;
|
|
69
71
|
loading: boolean;
|
|
70
72
|
disabled: boolean;
|
|
71
|
-
size: any;
|
|
72
|
-
colour: any;
|
|
73
73
|
} & {}>, {
|
|
74
|
+
colour: any;
|
|
75
|
+
size: any;
|
|
74
76
|
loading: boolean;
|
|
75
77
|
disabled: boolean;
|
|
76
|
-
size: any;
|
|
77
|
-
colour: any;
|
|
78
78
|
}>;
|
|
79
79
|
ClUiGridViewManager: import("vue").DefineComponent<{
|
|
80
80
|
columns: {
|
|
@@ -100,7 +100,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
100
100
|
visible: import("vue").Ref<boolean>;
|
|
101
101
|
moveColumn: (columns: GridColumn[], oldIndex: number, newIndex: number) => void;
|
|
102
102
|
updateColumnVisibility: (target: EventTarget | null, column: GridColumn) => void;
|
|
103
|
-
changeColumnOrder: (columnIndex: number, direction: "
|
|
103
|
+
changeColumnOrder: (columnIndex: number, direction: "up" | "down") => void;
|
|
104
104
|
ClUiButton: import("vue").DefineComponent<{
|
|
105
105
|
colour: {
|
|
106
106
|
type: null;
|
|
@@ -130,15 +130,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
130
130
|
loading?: unknown;
|
|
131
131
|
disabled?: unknown;
|
|
132
132
|
} & {
|
|
133
|
+
colour: any;
|
|
134
|
+
size: any;
|
|
133
135
|
loading: boolean;
|
|
134
136
|
disabled: boolean;
|
|
135
|
-
size: any;
|
|
136
|
-
colour: any;
|
|
137
137
|
} & {}>, {
|
|
138
|
+
colour: any;
|
|
139
|
+
size: any;
|
|
138
140
|
loading: boolean;
|
|
139
141
|
disabled: boolean;
|
|
140
|
-
size: any;
|
|
141
|
-
colour: any;
|
|
142
142
|
}>;
|
|
143
143
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
144
144
|
'update:columns': null;
|
|
@@ -160,8 +160,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
160
160
|
editEnabled?: unknown;
|
|
161
161
|
filterPanelOpen?: unknown;
|
|
162
162
|
} & {
|
|
163
|
-
editMode: boolean;
|
|
164
163
|
columns: unknown[];
|
|
164
|
+
editMode: boolean;
|
|
165
165
|
editEnabled: boolean;
|
|
166
166
|
filterPanelOpen: boolean;
|
|
167
167
|
} & {}> & {
|
|
@@ -53,15 +53,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
53
53
|
loading?: unknown;
|
|
54
54
|
disabled?: unknown;
|
|
55
55
|
} & {
|
|
56
|
+
colour: any;
|
|
57
|
+
size: any;
|
|
56
58
|
loading: boolean;
|
|
57
59
|
disabled: boolean;
|
|
58
|
-
size: any;
|
|
59
|
-
colour: any;
|
|
60
60
|
} & {}>, {
|
|
61
|
+
colour: any;
|
|
62
|
+
size: any;
|
|
61
63
|
loading: boolean;
|
|
62
64
|
disabled: boolean;
|
|
63
|
-
size: any;
|
|
64
|
-
colour: any;
|
|
65
65
|
}>;
|
|
66
66
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
67
67
|
'update:columns': null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Language } from './types';
|
|
2
2
|
import { isLanguageLocaleFormat } from './types';
|
|
3
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
-
|
|
4
|
+
supportedLanguages: {
|
|
5
5
|
type: ArrayConstructor;
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
@@ -12,7 +12,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
12
12
|
};
|
|
13
13
|
}, {
|
|
14
14
|
props: {
|
|
15
|
-
|
|
15
|
+
supportedLanguages: Language[];
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
};
|
|
18
18
|
locale: import("vue").WritableComputedRef<string>;
|
|
@@ -22,11 +22,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
22
22
|
toggleLocaleSwitcher: () => void;
|
|
23
23
|
isLanguageLocaleFormat: typeof isLanguageLocaleFormat;
|
|
24
24
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
25
|
-
|
|
25
|
+
supportedLanguages?: unknown;
|
|
26
26
|
disabled?: unknown;
|
|
27
27
|
} & {
|
|
28
28
|
disabled: boolean;
|
|
29
|
-
|
|
29
|
+
supportedLanguages: unknown[];
|
|
30
30
|
} & {}>, {
|
|
31
31
|
disabled: boolean;
|
|
32
32
|
}>;
|
|
@@ -2,7 +2,7 @@ export interface Language {
|
|
|
2
2
|
name: string;
|
|
3
3
|
nativeName: string;
|
|
4
4
|
localeCode: string;
|
|
5
|
-
|
|
5
|
+
icon: string;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Checks if a given language object contains the correct format of locale code (en-GB for example. 2 lowercase a-z chars, followed by a hyphen, followed by 2 uppercase A-Z chars).
|