@citruslime/ui 2.0.0-beta.9 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/dist/citrus-lime-ui.es.js +2378 -1736
- package/dist/citrus-lime-ui.umd.js +2 -1
- package/dist/components/accordion/cl-ui-accordion.vue.d.ts +26 -0
- package/dist/components/accordion/index.d.ts +4 -0
- package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +35 -0
- package/dist/{src/components → components}/accordion/types.d.ts +0 -0
- package/dist/{src/components → components}/app/cl-ui-app.vue.d.ts +19 -12
- package/dist/{src/components → components}/app/index.d.ts +0 -0
- package/dist/{src/components → components}/button/cl-ui-button.vue.d.ts +22 -11
- package/dist/{src/components → components}/button/index.d.ts +0 -0
- package/dist/{src/components → components}/button/types.d.ts +0 -0
- package/dist/{src/components → components}/calendar/cl-ui-calendar.vue.d.ts +0 -0
- package/dist/{src/components → components}/calendar/index.d.ts +0 -0
- package/dist/{src/components → components}/calendar/types.d.ts +1 -1
- package/dist/{src/components → components}/calendar/utils.d.ts +15 -0
- package/dist/{src/components → components}/card/cl-ui-card.vue.d.ts +12 -7
- package/dist/{src/components → components}/card/index.d.ts +0 -0
- package/dist/{src/components → components}/card/types.d.ts +0 -0
- package/dist/{src/components → components}/combo-box/cl-ui-combo-box.vue.d.ts +240 -163
- package/dist/{src/components → components}/combo-box/index.d.ts +0 -0
- package/dist/{src/components → components}/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +92 -46
- package/dist/{src/components → components}/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +18 -10
- package/dist/{src/components → components}/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +27 -14
- package/dist/{src/components → components}/combo-box/types.d.ts +0 -0
- package/dist/{src/components → components}/footer/index.d.ts +0 -0
- package/dist/{src/components → components}/grid/cell/cl-ui-grid-cell.vue.d.ts +18 -11
- package/dist/{src/components → components}/grid/cl-ui-grid.vue.d.ts +165 -93
- package/dist/{src/components → components}/grid/filter/cl-ui-grid-filter.vue.d.ts +19 -11
- package/dist/{src/utils → components/grid/filter}/filter-methods.d.ts +1 -1
- package/dist/{src/components → components}/grid/footer/cl-ui-grid-footer.vue.d.ts +16 -10
- package/dist/{src/components → components}/grid/header/cl-ui-grid-header.vue.d.ts +70 -38
- package/dist/{src/components → components}/grid/index.d.ts +0 -0
- package/dist/{src/components → components}/grid/types.d.ts +0 -0
- package/dist/{src/components → components}/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +29 -16
- package/dist/{src/components → components}/header/index.d.ts +0 -0
- package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +40 -0
- package/dist/{src/components → components}/header/menu/index.d.ts +0 -1
- package/dist/{src/components → components}/index.d.ts +2 -2
- package/dist/components/input/cl-ui-input.vue.d.ts +2 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input/types.d.ts +6 -0
- package/dist/components/input/utils.d.ts +44 -0
- package/dist/{src/components → components}/language-switcher/cl-ui-language-switcher.vue.d.ts +11 -7
- package/dist/{src/components → components}/language-switcher/index.d.ts +0 -0
- package/dist/{src/components → components}/language-switcher/types.d.ts +0 -1
- package/dist/{src/components → components}/loading-spinner/index.d.ts +0 -0
- package/dist/{src/components → components}/login/cl-ui-login.vue.d.ts +39 -25
- package/dist/{src/components → components}/login/index.d.ts +0 -0
- package/dist/{src/components → components}/login/types.d.ts +0 -0
- package/dist/components/modal/cl-ui-modal.vue.d.ts +49 -0
- package/dist/{src/components → components}/modal/index.d.ts +1 -0
- package/dist/{src/components → components}/modal/types.d.ts +2 -0
- package/dist/components/navigation/cl-ui-navigation.vue.d.ts +11 -0
- package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +12 -0
- package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +20 -0
- package/dist/components/navigation/index.d.ts +5 -0
- package/dist/{src/components → components}/notification/cl-ui-notification.vue.d.ts +12 -7
- package/dist/{src/components → components}/notification/index.d.ts +0 -0
- package/dist/{src/components → components}/notification/types.d.ts +0 -0
- package/dist/{src/components → components}/slider/cl-ui-slider.vue.d.ts +43 -16
- package/dist/{src/components → components}/slider/index.d.ts +0 -0
- package/dist/components/tab/cl-ui-tab.vue.d.ts +52 -0
- package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +60 -0
- package/dist/components/tab/index.d.ts +4 -0
- package/dist/components/tab/types.d.ts +4 -0
- package/dist/{src/composables → composables}/index.d.ts +0 -0
- package/dist/{src/composables → composables}/notification.d.ts +0 -0
- package/dist/{src/main.d.ts → main.d.ts} +0 -0
- package/dist/style.css +1 -1
- package/dist/{src/utils → utils}/i18n/config.d.ts +0 -0
- package/dist/{src/utils → utils}/i18n/defaults.d.ts +0 -0
- package/dist/{src/utils → utils}/i18n/index.d.ts +0 -0
- package/dist/{src/utils → utils}/i18n/types.d.ts +5 -2
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/validation.d.ts +37 -0
- package/package.json +17 -15
- package/dist/.eslintrc.js +0 -456
- package/dist/.stylelintrc.js +0 -119
- package/dist/src/components/accordion/cl-ui-accordion.vue.d.ts +0 -47
- package/dist/src/components/accordion/index.d.ts +0 -2
- package/dist/src/components/header/menu/cl-ui-header-menu.vue.d.ts +0 -16
- package/dist/src/components/header/menu/types.d.ts +0 -5
- package/dist/src/components/modal/cl-ui-modal.vue.d.ts +0 -107
- package/dist/src/components/navigation/cl-ui-navigation.vue.d.ts +0 -669
- package/dist/src/components/navigation/index.d.ts +0 -2
- package/dist/src/components/navigation/types.d.ts +0 -18
- package/dist/src/utils/copy.d.ts +0 -8
- package/dist/src/utils/debouncer.d.ts +0 -13
- package/dist/src/utils/extensions/string/index.d.ts +0 -2
- package/dist/src/utils/extensions/string/utils.d.ts +0 -83
- package/dist/src/utils/id.d.ts +0 -6
- package/dist/src/utils/index.d.ts +0 -8
- package/dist/src/utils/name-of.d.ts +0 -7
- package/dist/src/utils/sort.d.ts +0 -9
- package/dist/src/utils/url-params.d.ts +0 -8
- package/dist/theme.js +0 -121
|
@@ -15,7 +15,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
15
15
|
data: {
|
|
16
16
|
type: null;
|
|
17
17
|
required: false;
|
|
18
|
-
default:
|
|
18
|
+
default: null;
|
|
19
19
|
};
|
|
20
20
|
}, {
|
|
21
21
|
props: {
|
|
@@ -82,21 +82,32 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
82
82
|
};
|
|
83
83
|
}, {
|
|
84
84
|
ClUiLoadingSpinner: any;
|
|
85
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
86
|
-
colour
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
85
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").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
|
+
}>>, {
|
|
94
107
|
disabled: boolean;
|
|
95
|
-
} & {}>, {
|
|
96
108
|
colour: any;
|
|
97
109
|
size: any;
|
|
98
110
|
loading: boolean;
|
|
99
|
-
disabled: boolean;
|
|
100
111
|
}>;
|
|
101
112
|
ClUiGridCell: import("vue").DefineComponent<{
|
|
102
113
|
column: {
|
|
@@ -118,7 +129,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
118
129
|
record: Record<string, unknown>;
|
|
119
130
|
editMode: boolean;
|
|
120
131
|
};
|
|
121
|
-
emit: ((event: "
|
|
132
|
+
emit: ((event: "focus", ...args: any[]) => void) & ((event: "edit", ...args: any[]) => void) & ((event: "undo-edit", ...args: any[]) => void);
|
|
122
133
|
d: {
|
|
123
134
|
(value: string | number | Date): string;
|
|
124
135
|
(value: string | number | Date, key: string): string;
|
|
@@ -141,21 +152,28 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
141
152
|
cellFocused: () => void;
|
|
142
153
|
DateFormat: typeof import("../../utils").DateFormat;
|
|
143
154
|
NumberFormat: typeof import("../../utils").NumberFormat;
|
|
155
|
+
ClUiInput: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
144
156
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
145
157
|
edit: null;
|
|
146
158
|
focus: null;
|
|
147
159
|
'undo-edit': null;
|
|
148
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
149
|
-
column
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
160
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
161
|
+
column: {
|
|
162
|
+
type: null;
|
|
163
|
+
required: true;
|
|
164
|
+
};
|
|
165
|
+
record: {
|
|
166
|
+
type: ObjectConstructor;
|
|
167
|
+
required: true;
|
|
168
|
+
};
|
|
169
|
+
editMode: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
required: false;
|
|
172
|
+
default: boolean;
|
|
173
|
+
};
|
|
174
|
+
}>> & {
|
|
158
175
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
176
|
+
onEdit?: ((...args: any[]) => any) | undefined;
|
|
159
177
|
"onUndo-edit"?: ((...args: any[]) => any) | undefined;
|
|
160
178
|
}, {
|
|
161
179
|
editMode: boolean;
|
|
@@ -193,30 +211,38 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
193
211
|
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
194
212
|
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
195
213
|
};
|
|
196
|
-
debounce: (event: Function, eventArgs: unknown[]) => void;
|
|
214
|
+
debounce: (event: Function, ...eventArgs: unknown[]) => void;
|
|
197
215
|
allowedFilterMethods: import("vue").ComputedRef<import("./types").FilterMethod[]>;
|
|
198
216
|
currentFilterMethod: import("vue").ComputedRef<import("./types").FilterMethod | undefined>;
|
|
199
217
|
currentFilter: import("vue").ComputedRef<string>;
|
|
200
|
-
currentNumberFilter: import("vue").ComputedRef<number>;
|
|
201
218
|
currentDateFilter: import("vue").ComputedRef<Date | null>;
|
|
219
|
+
filterInput: import("vue").Ref<string>;
|
|
202
220
|
decimalSeparator: import("vue").ComputedRef<string>;
|
|
221
|
+
columnInputType: import("vue").ComputedRef<"number" | "search" | "text" | "datetime" | "date" | "time" | "button" | "checkbox" | "color" | "email" | "file" | "password" | "radio" | "range" | "reset" | "submit" | "tel" | "url">;
|
|
203
222
|
getDefaultFilterOperation: () => import("./types").FilterOperation;
|
|
204
223
|
getAllowedMethods: () => import("./types").FilterMethod[];
|
|
205
224
|
setFilterMethod: (filterMethod: "equal" | "notequal" | "contains" | "notcontains" | "lessthan" | "greaterthan" | "startswith" | "endswith" | "equalorlessthan" | "equalorgreaterthan") => void;
|
|
206
225
|
setFilter: (target: EventTarget | null, defaultValue?: string | undefined) => void;
|
|
207
226
|
setNumberFilter: (target: EventTarget | null) => void;
|
|
208
227
|
setDateFilter: (value: Date | null) => void;
|
|
228
|
+
ClUiInput: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
209
229
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
210
230
|
'update:request': null;
|
|
211
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
212
|
-
request
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
231
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
232
|
+
request: {
|
|
233
|
+
type: null;
|
|
234
|
+
required: true;
|
|
235
|
+
};
|
|
236
|
+
column: {
|
|
237
|
+
type: null;
|
|
238
|
+
required: true;
|
|
239
|
+
};
|
|
240
|
+
firstHalf: {
|
|
241
|
+
type: BooleanConstructor;
|
|
242
|
+
required: false;
|
|
243
|
+
default: boolean;
|
|
244
|
+
};
|
|
245
|
+
}>> & {
|
|
220
246
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
221
247
|
}, {
|
|
222
248
|
firstHalf: boolean;
|
|
@@ -229,7 +255,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
229
255
|
data: {
|
|
230
256
|
type: null;
|
|
231
257
|
required: false;
|
|
232
|
-
default:
|
|
258
|
+
default: null;
|
|
233
259
|
};
|
|
234
260
|
}, {
|
|
235
261
|
props: {
|
|
@@ -255,22 +281,28 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
255
281
|
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
256
282
|
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
257
283
|
};
|
|
258
|
-
debounce: (event: Function, eventArgs: unknown[]) => void;
|
|
284
|
+
debounce: (event: Function, ...eventArgs: unknown[]) => void;
|
|
285
|
+
currentPage: import("vue").Ref<number>;
|
|
259
286
|
totalPages: import("vue").ComputedRef<number>;
|
|
260
287
|
pageNumbers: import("vue").ComputedRef<number[]>;
|
|
261
288
|
setPage: (pageNumber: number) => void;
|
|
262
|
-
setPageFromInput: (target: EventTarget | null) => void;
|
|
289
|
+
setPageFromInput: (target: EventTarget | HTMLInputElement | null) => void;
|
|
263
290
|
setPageSize: (pageSize: number) => void;
|
|
264
291
|
NumberFormat: typeof import("../../utils").NumberFormat;
|
|
292
|
+
ClUiInput: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
265
293
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
266
294
|
'update:request': null;
|
|
267
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
268
|
-
request
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
data:
|
|
273
|
-
|
|
295
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
296
|
+
request: {
|
|
297
|
+
type: null;
|
|
298
|
+
required: true;
|
|
299
|
+
};
|
|
300
|
+
data: {
|
|
301
|
+
type: null;
|
|
302
|
+
required: false;
|
|
303
|
+
default: null;
|
|
304
|
+
};
|
|
305
|
+
}>> & {
|
|
274
306
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
275
307
|
}, {
|
|
276
308
|
data: any;
|
|
@@ -336,21 +368,32 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
336
368
|
};
|
|
337
369
|
}, {
|
|
338
370
|
ClUiLoadingSpinner: any;
|
|
339
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
340
|
-
colour
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
371
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
372
|
+
colour: {
|
|
373
|
+
type: null;
|
|
374
|
+
required: false;
|
|
375
|
+
default: string;
|
|
376
|
+
};
|
|
377
|
+
size: {
|
|
378
|
+
type: null;
|
|
379
|
+
required: false;
|
|
380
|
+
default: string;
|
|
381
|
+
};
|
|
382
|
+
loading: {
|
|
383
|
+
type: BooleanConstructor;
|
|
384
|
+
required: false;
|
|
385
|
+
default: boolean;
|
|
386
|
+
};
|
|
387
|
+
disabled: {
|
|
388
|
+
type: BooleanConstructor;
|
|
389
|
+
required: false;
|
|
390
|
+
default: boolean;
|
|
391
|
+
};
|
|
392
|
+
}>>, {
|
|
348
393
|
disabled: boolean;
|
|
349
|
-
} & {}>, {
|
|
350
394
|
colour: any;
|
|
351
395
|
size: any;
|
|
352
396
|
loading: boolean;
|
|
353
|
-
disabled: boolean;
|
|
354
397
|
}>;
|
|
355
398
|
ClUiGridViewManager: import("vue").DefineComponent<{
|
|
356
399
|
columns: {
|
|
@@ -400,29 +443,42 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
400
443
|
};
|
|
401
444
|
}, {
|
|
402
445
|
ClUiLoadingSpinner: any;
|
|
403
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
404
|
-
colour
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
446
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
447
|
+
colour: {
|
|
448
|
+
type: null;
|
|
449
|
+
required: false;
|
|
450
|
+
default: string;
|
|
451
|
+
};
|
|
452
|
+
size: {
|
|
453
|
+
type: null;
|
|
454
|
+
required: false;
|
|
455
|
+
default: string;
|
|
456
|
+
};
|
|
457
|
+
loading: {
|
|
458
|
+
type: BooleanConstructor;
|
|
459
|
+
required: false;
|
|
460
|
+
default: boolean;
|
|
461
|
+
};
|
|
462
|
+
disabled: {
|
|
463
|
+
type: BooleanConstructor;
|
|
464
|
+
required: false;
|
|
465
|
+
default: boolean;
|
|
466
|
+
};
|
|
467
|
+
}>>, {
|
|
412
468
|
disabled: boolean;
|
|
413
|
-
} & {}>, {
|
|
414
469
|
colour: any;
|
|
415
470
|
size: any;
|
|
416
471
|
loading: boolean;
|
|
417
|
-
disabled: boolean;
|
|
418
472
|
}>;
|
|
473
|
+
ClUiInput: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
419
474
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
420
475
|
'update:columns': null;
|
|
421
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
422
|
-
columns
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
476
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
477
|
+
columns: {
|
|
478
|
+
type: ArrayConstructor;
|
|
479
|
+
required: true;
|
|
480
|
+
};
|
|
481
|
+
}>> & {
|
|
426
482
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
427
483
|
}, {}>;
|
|
428
484
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -430,17 +486,25 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
430
486
|
'update:columns': null;
|
|
431
487
|
'update:edit-mode': null;
|
|
432
488
|
'update:filter-panel-open': null;
|
|
433
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
434
|
-
columns
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
489
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
490
|
+
columns: {
|
|
491
|
+
type: ArrayConstructor;
|
|
492
|
+
required: true;
|
|
493
|
+
};
|
|
494
|
+
editMode: {
|
|
495
|
+
type: BooleanConstructor;
|
|
496
|
+
required: true;
|
|
497
|
+
};
|
|
498
|
+
editEnabled: {
|
|
499
|
+
type: BooleanConstructor;
|
|
500
|
+
required: true;
|
|
501
|
+
};
|
|
502
|
+
filterPanelOpen: {
|
|
503
|
+
type: BooleanConstructor;
|
|
504
|
+
required: false;
|
|
505
|
+
default: boolean;
|
|
506
|
+
};
|
|
507
|
+
}>> & {
|
|
444
508
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
445
509
|
"onReset-filters"?: ((...args: any[]) => any) | undefined;
|
|
446
510
|
"onUpdate:edit-mode"?: ((...args: any[]) => any) | undefined;
|
|
@@ -455,17 +519,25 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
455
519
|
'row-edit': null;
|
|
456
520
|
'edit-start': null;
|
|
457
521
|
'edit-end': null;
|
|
458
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
459
|
-
columns
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
522
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
523
|
+
columns: {
|
|
524
|
+
type: ArrayConstructor;
|
|
525
|
+
required: true;
|
|
526
|
+
};
|
|
527
|
+
request: {
|
|
528
|
+
type: null;
|
|
529
|
+
required: true;
|
|
530
|
+
};
|
|
531
|
+
loading: {
|
|
532
|
+
type: BooleanConstructor;
|
|
533
|
+
required: true;
|
|
534
|
+
};
|
|
535
|
+
data: {
|
|
536
|
+
type: null;
|
|
537
|
+
required: false;
|
|
538
|
+
default: null;
|
|
539
|
+
};
|
|
540
|
+
}>> & {
|
|
469
541
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
470
542
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
471
543
|
"onData-request"?: ((...args: any[]) => any) | undefined;
|
|
@@ -33,30 +33,38 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
33
33
|
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
34
34
|
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
35
35
|
};
|
|
36
|
-
debounce: (event: Function, eventArgs: unknown[]) => void;
|
|
36
|
+
debounce: (event: Function, ...eventArgs: unknown[]) => void;
|
|
37
37
|
allowedFilterMethods: import("vue").ComputedRef<FilterMethod[]>;
|
|
38
38
|
currentFilterMethod: import("vue").ComputedRef<FilterMethod | undefined>;
|
|
39
39
|
currentFilter: import("vue").ComputedRef<string>;
|
|
40
|
-
currentNumberFilter: import("vue").ComputedRef<number>;
|
|
41
40
|
currentDateFilter: import("vue").ComputedRef<Date | null>;
|
|
41
|
+
filterInput: import("vue").Ref<string>;
|
|
42
42
|
decimalSeparator: import("vue").ComputedRef<string>;
|
|
43
|
+
columnInputType: import("vue").ComputedRef<"number" | "search" | "text" | "datetime" | "date" | "time" | "button" | "checkbox" | "color" | "email" | "file" | "password" | "radio" | "range" | "reset" | "submit" | "tel" | "url">;
|
|
43
44
|
getDefaultFilterOperation: () => FilterOperation;
|
|
44
45
|
getAllowedMethods: () => FilterMethod[];
|
|
45
46
|
setFilterMethod: (filterMethod: FilterMethodType) => void;
|
|
46
47
|
setFilter: (target: EventTarget | null, defaultValue?: string | undefined) => void;
|
|
47
48
|
setNumberFilter: (target: EventTarget | null) => void;
|
|
48
49
|
setDateFilter: (value: Date | null) => void;
|
|
50
|
+
ClUiInput: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
49
51
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
50
52
|
'update:request': null;
|
|
51
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
52
|
-
request
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
53
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
+
request: {
|
|
55
|
+
type: null;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
column: {
|
|
59
|
+
type: null;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
firstHalf: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
required: false;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
}>> & {
|
|
60
68
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
61
69
|
}, {
|
|
62
70
|
firstHalf: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FilterMethod } from '../
|
|
1
|
+
import type { FilterMethod } from '../types';
|
|
2
2
|
export declare const defaultFilterMethod: FilterMethod;
|
|
3
3
|
export declare const defaultStringFilterMethod: FilterMethod;
|
|
4
4
|
export declare const defaultDateTimeFilterMethod: FilterMethod;
|
|
@@ -8,7 +8,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
8
8
|
data: {
|
|
9
9
|
type: null;
|
|
10
10
|
required: false;
|
|
11
|
-
default:
|
|
11
|
+
default: null;
|
|
12
12
|
};
|
|
13
13
|
}, {
|
|
14
14
|
props: {
|
|
@@ -34,22 +34,28 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
34
34
|
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
35
35
|
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
36
36
|
};
|
|
37
|
-
debounce: (event: Function, eventArgs: unknown[]) => void;
|
|
37
|
+
debounce: (event: Function, ...eventArgs: unknown[]) => void;
|
|
38
|
+
currentPage: import("vue").Ref<number>;
|
|
38
39
|
totalPages: import("vue").ComputedRef<number>;
|
|
39
40
|
pageNumbers: import("vue").ComputedRef<number[]>;
|
|
40
41
|
setPage: (pageNumber: number) => void;
|
|
41
|
-
setPageFromInput: (target: EventTarget | null) => void;
|
|
42
|
+
setPageFromInput: (target: EventTarget | HTMLInputElement | null) => void;
|
|
42
43
|
setPageSize: (pageSize: number) => void;
|
|
43
44
|
NumberFormat: typeof NumberFormat;
|
|
45
|
+
ClUiInput: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
44
46
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
47
|
'update:request': null;
|
|
46
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
47
|
-
request
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
data:
|
|
52
|
-
|
|
48
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
request: {
|
|
50
|
+
type: null;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
data: {
|
|
54
|
+
type: null;
|
|
55
|
+
required: false;
|
|
56
|
+
default: null;
|
|
57
|
+
};
|
|
58
|
+
}>> & {
|
|
53
59
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
54
60
|
}, {
|
|
55
61
|
data: any;
|
|
@@ -60,21 +60,32 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
60
60
|
};
|
|
61
61
|
}, {
|
|
62
62
|
ClUiLoadingSpinner: any;
|
|
63
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
64
|
-
colour
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
63
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
+
colour: {
|
|
65
|
+
type: null;
|
|
66
|
+
required: false;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
size: {
|
|
70
|
+
type: null;
|
|
71
|
+
required: false;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
loading: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
required: false;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
disabled: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
required: false;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
}>>, {
|
|
72
85
|
disabled: boolean;
|
|
73
|
-
} & {}>, {
|
|
74
86
|
colour: any;
|
|
75
87
|
size: any;
|
|
76
88
|
loading: boolean;
|
|
77
|
-
disabled: boolean;
|
|
78
89
|
}>;
|
|
79
90
|
ClUiGridViewManager: import("vue").DefineComponent<{
|
|
80
91
|
columns: {
|
|
@@ -124,29 +135,42 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
124
135
|
};
|
|
125
136
|
}, {
|
|
126
137
|
ClUiLoadingSpinner: any;
|
|
127
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
128
|
-
colour
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
138
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
139
|
+
colour: {
|
|
140
|
+
type: null;
|
|
141
|
+
required: false;
|
|
142
|
+
default: string;
|
|
143
|
+
};
|
|
144
|
+
size: {
|
|
145
|
+
type: null;
|
|
146
|
+
required: false;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
loading: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
required: false;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
disabled: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
required: false;
|
|
157
|
+
default: boolean;
|
|
158
|
+
};
|
|
159
|
+
}>>, {
|
|
136
160
|
disabled: boolean;
|
|
137
|
-
} & {}>, {
|
|
138
161
|
colour: any;
|
|
139
162
|
size: any;
|
|
140
163
|
loading: boolean;
|
|
141
|
-
disabled: boolean;
|
|
142
164
|
}>;
|
|
165
|
+
ClUiInput: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
143
166
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
144
167
|
'update:columns': null;
|
|
145
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
146
|
-
columns
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
168
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
169
|
+
columns: {
|
|
170
|
+
type: ArrayConstructor;
|
|
171
|
+
required: true;
|
|
172
|
+
};
|
|
173
|
+
}>> & {
|
|
150
174
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
151
175
|
}, {}>;
|
|
152
176
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -154,17 +178,25 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
154
178
|
'update:columns': null;
|
|
155
179
|
'update:edit-mode': null;
|
|
156
180
|
'update:filter-panel-open': null;
|
|
157
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
158
|
-
columns
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
181
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
182
|
+
columns: {
|
|
183
|
+
type: ArrayConstructor;
|
|
184
|
+
required: true;
|
|
185
|
+
};
|
|
186
|
+
editMode: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
required: true;
|
|
189
|
+
};
|
|
190
|
+
editEnabled: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
required: true;
|
|
193
|
+
};
|
|
194
|
+
filterPanelOpen: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
required: false;
|
|
197
|
+
default: boolean;
|
|
198
|
+
};
|
|
199
|
+
}>> & {
|
|
168
200
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
169
201
|
"onReset-filters"?: ((...args: any[]) => any) | undefined;
|
|
170
202
|
"onUpdate:edit-mode"?: ((...args: any[]) => any) | undefined;
|
|
File without changes
|
|
File without changes
|