@citruslime/ui 2.0.0-beta.7 → 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 +2612 -2214
- 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 +23 -12
- 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 +4 -23
- package/dist/{src/components → components}/card/index.d.ts +1 -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 +270 -211
- 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 +109 -63
- package/dist/{src/components → components}/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +17 -9
- package/dist/{src/components → components}/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +28 -15
- package/dist/{src/components → components}/combo-box/types.d.ts +0 -19
- 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 +16 -18
- package/dist/{src/components → components}/grid/cl-ui-grid.vue.d.ts +226 -220
- package/dist/components/grid/filter/cl-ui-grid-filter.vue.d.ts +72 -0
- package/dist/{src/utils → components/grid/filter}/filter-methods.d.ts +1 -1
- package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +63 -0
- package/dist/{src/components → components}/grid/header/cl-ui-grid-header.vue.d.ts +96 -68
- package/dist/{src/components → components}/grid/index.d.ts +0 -0
- package/dist/{src/components → components}/grid/types.d.ts +0 -47
- package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +88 -0
- 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 +14 -20
- package/dist/{src/components → components}/language-switcher/index.d.ts +1 -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/components/login/cl-ui-login.vue.d.ts +106 -0
- package/dist/{src/components → components}/login/index.d.ts +0 -0
- package/dist/components/login/types.d.ts +4 -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/{src/components/footer/cl-ui-footer.vue.d.ts → components/navigation/icon/cl-ui-navigation-icon.vue.d.ts} +14 -16
- 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/components/slider/cl-ui-slider.vue.d.ts +114 -0
- package/dist/{src/components → components}/slider/index.d.ts +0 -1
- 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 -1
- package/dist/style.css +1 -1
- package/dist/utils/i18n/config.d.ts +33 -0
- package/dist/utils/i18n/defaults.d.ts +4 -0
- package/dist/utils/i18n/index.d.ts +3 -0
- package/dist/utils/i18n/types.d.ts +97 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/validation.d.ts +37 -0
- package/package.json +17 -14
- package/dist/.eslintrc.js +0 -455
- 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/grid/filter/cl-ui-grid-filter.vue.d.ts +0 -68
- package/dist/src/components/grid/footer/cl-ui-grid-footer.vue.d.ts +0 -62
- package/dist/src/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +0 -71
- 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 -13
- package/dist/src/components/login/cl-ui-login.vue.d.ts +0 -170
- package/dist/src/components/login/types.d.ts +0 -11
- 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/components/slider/cl-ui-slider.vue.d.ts +0 -97
- package/dist/src/components/slider/types.d.ts +0 -3
- 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/i18n/datetime-formats.d.ts +0 -2
- package/dist/src/utils/i18n/index.d.ts +0 -3
- package/dist/src/utils/i18n/number-formats.d.ts +0 -2
- package/dist/src/utils/i18n/types.d.ts +0 -15
- 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
|
@@ -1,52 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { GridColumn, FilterRequest, FilterResponse } from './types';
|
|
2
2
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
currentLocale: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
required: false;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
localisations: {
|
|
9
|
-
type: ObjectConstructor;
|
|
10
|
-
required: false;
|
|
11
|
-
default: () => {
|
|
12
|
-
confirmFilters: string;
|
|
13
|
-
noData: string;
|
|
14
|
-
noDataFiltersPresent: string;
|
|
15
|
-
field: string;
|
|
16
|
-
filter: string;
|
|
17
|
-
sortBy: string;
|
|
18
|
-
gridTools: string;
|
|
19
|
-
clearFilters: string;
|
|
20
|
-
modifyFilters: string;
|
|
21
|
-
editData: string;
|
|
22
|
-
finishEditing: string;
|
|
23
|
-
equal: string;
|
|
24
|
-
notequal: string;
|
|
25
|
-
contains: string;
|
|
26
|
-
notcontains: string;
|
|
27
|
-
startswith: string;
|
|
28
|
-
endswith: string;
|
|
29
|
-
lessthan: string;
|
|
30
|
-
greaterthan: string;
|
|
31
|
-
equalorlessthan: string;
|
|
32
|
-
equalorgreaterthan: string;
|
|
33
|
-
currentMethod: string;
|
|
34
|
-
availableMethods: string;
|
|
35
|
-
true: string;
|
|
36
|
-
false: string;
|
|
37
|
-
selectDate: string;
|
|
38
|
-
selectDateTime: string;
|
|
39
|
-
page: string;
|
|
40
|
-
pageSize: string;
|
|
41
|
-
totalRecords: string;
|
|
42
|
-
jumpToPage: string;
|
|
43
|
-
manageView: string;
|
|
44
|
-
column: string;
|
|
45
|
-
visible: string;
|
|
46
|
-
order: string;
|
|
47
|
-
hidden: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
3
|
columns: {
|
|
51
4
|
type: ArrayConstructor;
|
|
52
5
|
required: true;
|
|
@@ -62,18 +15,27 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
62
15
|
data: {
|
|
63
16
|
type: null;
|
|
64
17
|
required: false;
|
|
65
|
-
default:
|
|
18
|
+
default: null;
|
|
66
19
|
};
|
|
67
20
|
}, {
|
|
68
21
|
props: {
|
|
69
|
-
currentLocale: string;
|
|
70
|
-
localisations: GridLocalisations & GridHeaderLocalisations & GridViewManagerLocalisations & GridFilterLocalisations & GridFooterLocalisations;
|
|
71
22
|
columns: GridColumn[];
|
|
72
23
|
request: FilterRequest;
|
|
73
24
|
loading: boolean;
|
|
74
25
|
data: FilterResponse<unknown> | null;
|
|
75
26
|
};
|
|
76
|
-
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
|
+
t: {
|
|
29
|
+
(key: string | number): string;
|
|
30
|
+
(key: string | number, plural: number, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
31
|
+
(key: string | number, defaultMsg: string, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
32
|
+
(key: string | number, list: unknown[], options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
33
|
+
(key: string | number, list: unknown[], plural: number): string;
|
|
34
|
+
(key: string | number, list: unknown[], defaultMsg: string): string;
|
|
35
|
+
(key: string | number, named: Record<string, unknown>, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
36
|
+
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
37
|
+
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
38
|
+
};
|
|
77
39
|
columnStyles: import("vue").Ref<{
|
|
78
40
|
[x: string]: string;
|
|
79
41
|
}>;
|
|
@@ -120,28 +82,34 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
120
82
|
};
|
|
121
83
|
}, {
|
|
122
84
|
ClUiLoadingSpinner: any;
|
|
123
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
124
|
-
colour
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
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
|
+
}>>, {
|
|
130
107
|
disabled: boolean;
|
|
131
|
-
size: any;
|
|
132
108
|
colour: any;
|
|
133
|
-
} & {}>, {
|
|
134
|
-
loading: boolean;
|
|
135
|
-
disabled: boolean;
|
|
136
109
|
size: any;
|
|
137
|
-
|
|
110
|
+
loading: boolean;
|
|
138
111
|
}>;
|
|
139
112
|
ClUiGridCell: import("vue").DefineComponent<{
|
|
140
|
-
currentLocale: {
|
|
141
|
-
type: StringConstructor;
|
|
142
|
-
required: false;
|
|
143
|
-
default: string;
|
|
144
|
-
};
|
|
145
113
|
column: {
|
|
146
114
|
type: null;
|
|
147
115
|
required: true;
|
|
@@ -157,7 +125,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
157
125
|
};
|
|
158
126
|
}, {
|
|
159
127
|
props: {
|
|
160
|
-
currentLocale: string;
|
|
161
128
|
column: GridColumn;
|
|
162
129
|
record: Record<string, unknown>;
|
|
163
130
|
editMode: boolean;
|
|
@@ -185,26 +152,30 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
185
152
|
cellFocused: () => void;
|
|
186
153
|
DateFormat: typeof import("../../utils").DateFormat;
|
|
187
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>, {}>;
|
|
188
156
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
189
157
|
edit: null;
|
|
190
158
|
focus: null;
|
|
191
159
|
'undo-edit': null;
|
|
192
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
editMode:
|
|
202
|
-
|
|
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
|
+
}>> & {
|
|
203
175
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
204
176
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
205
177
|
"onUndo-edit"?: ((...args: any[]) => any) | undefined;
|
|
206
178
|
}, {
|
|
207
|
-
currentLocale: string;
|
|
208
179
|
editMode: boolean;
|
|
209
180
|
}>;
|
|
210
181
|
ClUiGridFilter: import("vue").DefineComponent<{
|
|
@@ -212,15 +183,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
212
183
|
type: null;
|
|
213
184
|
required: true;
|
|
214
185
|
};
|
|
215
|
-
currentLocale: {
|
|
216
|
-
type: StringConstructor;
|
|
217
|
-
required: false;
|
|
218
|
-
default: string;
|
|
219
|
-
};
|
|
220
|
-
localisations: {
|
|
221
|
-
type: null;
|
|
222
|
-
required: true;
|
|
223
|
-
};
|
|
224
186
|
column: {
|
|
225
187
|
type: null;
|
|
226
188
|
required: true;
|
|
@@ -233,69 +195,71 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
233
195
|
}, {
|
|
234
196
|
props: {
|
|
235
197
|
request: FilterRequest;
|
|
236
|
-
currentLocale: string;
|
|
237
|
-
localisations: GridFilterLocalisations;
|
|
238
198
|
column: GridColumn;
|
|
239
199
|
firstHalf: boolean;
|
|
240
200
|
};
|
|
241
201
|
emit: (event: "update:request", ...args: any[]) => void;
|
|
242
|
-
|
|
202
|
+
locale: import("vue").WritableComputedRef<string>;
|
|
203
|
+
t: {
|
|
204
|
+
(key: string | number): string;
|
|
205
|
+
(key: string | number, plural: number, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
206
|
+
(key: string | number, defaultMsg: string, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
207
|
+
(key: string | number, list: unknown[], options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
208
|
+
(key: string | number, list: unknown[], plural: number): string;
|
|
209
|
+
(key: string | number, list: unknown[], defaultMsg: string): string;
|
|
210
|
+
(key: string | number, named: Record<string, unknown>, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
211
|
+
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
212
|
+
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
213
|
+
};
|
|
214
|
+
debounce: (event: Function, ...eventArgs: unknown[]) => void;
|
|
243
215
|
allowedFilterMethods: import("vue").ComputedRef<import("./types").FilterMethod[]>;
|
|
244
216
|
currentFilterMethod: import("vue").ComputedRef<import("./types").FilterMethod | undefined>;
|
|
245
217
|
currentFilter: import("vue").ComputedRef<string>;
|
|
246
|
-
currentNumberFilter: import("vue").ComputedRef<number>;
|
|
247
218
|
currentDateFilter: import("vue").ComputedRef<Date | null>;
|
|
219
|
+
filterInput: import("vue").Ref<string>;
|
|
248
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">;
|
|
249
222
|
getDefaultFilterOperation: () => import("./types").FilterOperation;
|
|
250
223
|
getAllowedMethods: () => import("./types").FilterMethod[];
|
|
251
224
|
setFilterMethod: (filterMethod: "equal" | "notequal" | "contains" | "notcontains" | "lessthan" | "greaterthan" | "startswith" | "endswith" | "equalorlessthan" | "equalorgreaterthan") => void;
|
|
252
225
|
setFilter: (target: EventTarget | null, defaultValue?: string | undefined) => void;
|
|
253
226
|
setNumberFilter: (target: EventTarget | null) => void;
|
|
254
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>, {}>;
|
|
255
229
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
256
230
|
'update:request': null;
|
|
257
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
258
|
-
request?: unknown;
|
|
259
|
-
currentLocale?: unknown;
|
|
260
|
-
localisations?: unknown;
|
|
261
|
-
column?: unknown;
|
|
262
|
-
firstHalf?: unknown;
|
|
263
|
-
} & {
|
|
264
|
-
column: any;
|
|
265
|
-
currentLocale: string;
|
|
266
|
-
localisations: any;
|
|
267
|
-
request: any;
|
|
268
|
-
firstHalf: boolean;
|
|
269
|
-
} & {}> & {
|
|
270
|
-
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
271
|
-
}, {
|
|
272
|
-
currentLocale: string;
|
|
273
|
-
firstHalf: boolean;
|
|
274
|
-
}>;
|
|
275
|
-
ClUiGridFooter: import("vue").DefineComponent<{
|
|
231
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
276
232
|
request: {
|
|
277
233
|
type: null;
|
|
278
234
|
required: true;
|
|
279
235
|
};
|
|
280
|
-
|
|
281
|
-
type:
|
|
236
|
+
column: {
|
|
237
|
+
type: null;
|
|
238
|
+
required: true;
|
|
239
|
+
};
|
|
240
|
+
firstHalf: {
|
|
241
|
+
type: BooleanConstructor;
|
|
282
242
|
required: false;
|
|
283
|
-
default:
|
|
243
|
+
default: boolean;
|
|
284
244
|
};
|
|
285
|
-
|
|
245
|
+
}>> & {
|
|
246
|
+
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
247
|
+
}, {
|
|
248
|
+
firstHalf: boolean;
|
|
249
|
+
}>;
|
|
250
|
+
ClUiGridFooter: import("vue").DefineComponent<{
|
|
251
|
+
request: {
|
|
286
252
|
type: null;
|
|
287
253
|
required: true;
|
|
288
254
|
};
|
|
289
255
|
data: {
|
|
290
256
|
type: null;
|
|
291
257
|
required: false;
|
|
292
|
-
default:
|
|
258
|
+
default: null;
|
|
293
259
|
};
|
|
294
260
|
}, {
|
|
295
261
|
props: {
|
|
296
262
|
request: FilterRequest;
|
|
297
|
-
currentLocale: string;
|
|
298
|
-
localisations: GridFooterLocalisations;
|
|
299
263
|
data: FilterResponse<unknown> | null;
|
|
300
264
|
};
|
|
301
265
|
emit: (event: "update:request", ...args: any[]) => void;
|
|
@@ -306,30 +270,42 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
306
270
|
(value: number, key: string, locale: string): string;
|
|
307
271
|
(value: number, options: import("vue-i18n").NumberOptions): string;
|
|
308
272
|
};
|
|
309
|
-
|
|
273
|
+
t: {
|
|
274
|
+
(key: string | number): string;
|
|
275
|
+
(key: string | number, plural: number, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
276
|
+
(key: string | number, defaultMsg: string, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
277
|
+
(key: string | number, list: unknown[], options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
278
|
+
(key: string | number, list: unknown[], plural: number): string;
|
|
279
|
+
(key: string | number, list: unknown[], defaultMsg: string): string;
|
|
280
|
+
(key: string | number, named: Record<string, unknown>, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
281
|
+
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
282
|
+
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
283
|
+
};
|
|
284
|
+
debounce: (event: Function, ...eventArgs: unknown[]) => void;
|
|
285
|
+
currentPage: import("vue").Ref<number>;
|
|
310
286
|
totalPages: import("vue").ComputedRef<number>;
|
|
311
287
|
pageNumbers: import("vue").ComputedRef<number[]>;
|
|
312
288
|
setPage: (pageNumber: number) => void;
|
|
313
|
-
setPageFromInput: (target: EventTarget | null) => void;
|
|
289
|
+
setPageFromInput: (target: EventTarget | HTMLInputElement | null) => void;
|
|
314
290
|
setPageSize: (pageSize: number) => void;
|
|
315
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>, {}>;
|
|
316
293
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
317
294
|
'update:request': null;
|
|
318
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
319
|
-
request
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
} & {
|
|
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
|
+
}>> & {
|
|
329
306
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
330
307
|
}, {
|
|
331
308
|
data: any;
|
|
332
|
-
currentLocale: string;
|
|
333
309
|
}>;
|
|
334
310
|
ClUiGridHeader: import("vue").DefineComponent<{
|
|
335
311
|
columns: {
|
|
@@ -349,30 +325,25 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
349
325
|
required: false;
|
|
350
326
|
default: boolean;
|
|
351
327
|
};
|
|
352
|
-
localisations: {
|
|
353
|
-
type: ObjectConstructor;
|
|
354
|
-
required: false;
|
|
355
|
-
default: () => {
|
|
356
|
-
editData: string;
|
|
357
|
-
finishEditing: string;
|
|
358
|
-
clearFilters: string;
|
|
359
|
-
manageView: string;
|
|
360
|
-
modifyFilters: string;
|
|
361
|
-
column: string;
|
|
362
|
-
visible: string;
|
|
363
|
-
order: string;
|
|
364
|
-
hidden: string;
|
|
365
|
-
};
|
|
366
|
-
};
|
|
367
328
|
}, {
|
|
368
329
|
props: {
|
|
369
330
|
columns: GridColumn[];
|
|
370
331
|
editMode: boolean;
|
|
371
332
|
editEnabled: boolean;
|
|
372
333
|
filterPanelOpen: boolean;
|
|
373
|
-
localisations: GridHeaderLocalisations & GridViewManagerLocalisations;
|
|
374
334
|
};
|
|
375
335
|
emit: ((event: "update:columns", ...args: any[]) => void) & ((event: "reset-filters", ...args: any[]) => void) & ((event: "update:edit-mode", ...args: any[]) => void) & ((event: "update:filter-panel-open", ...args: any[]) => void);
|
|
336
|
+
t: {
|
|
337
|
+
(key: string | number): string;
|
|
338
|
+
(key: string | number, plural: number, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
339
|
+
(key: string | number, defaultMsg: string, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
340
|
+
(key: string | number, list: unknown[], options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
341
|
+
(key: string | number, list: unknown[], plural: number): string;
|
|
342
|
+
(key: string | number, list: unknown[], defaultMsg: string): string;
|
|
343
|
+
(key: string | number, named: Record<string, unknown>, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
344
|
+
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
345
|
+
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
346
|
+
};
|
|
376
347
|
currentColumns: import("vue").WritableComputedRef<GridColumn[]>;
|
|
377
348
|
ClUiButton: import("vue").DefineComponent<{
|
|
378
349
|
colour: {
|
|
@@ -397,41 +368,58 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
397
368
|
};
|
|
398
369
|
}, {
|
|
399
370
|
ClUiLoadingSpinner: any;
|
|
400
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
401
|
-
colour
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
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
|
+
}>>, {
|
|
407
393
|
disabled: boolean;
|
|
408
|
-
size: any;
|
|
409
394
|
colour: any;
|
|
410
|
-
} & {}>, {
|
|
411
|
-
loading: boolean;
|
|
412
|
-
disabled: boolean;
|
|
413
395
|
size: any;
|
|
414
|
-
|
|
396
|
+
loading: boolean;
|
|
415
397
|
}>;
|
|
416
398
|
ClUiGridViewManager: import("vue").DefineComponent<{
|
|
417
|
-
localisations: {
|
|
418
|
-
type: null;
|
|
419
|
-
required: true;
|
|
420
|
-
};
|
|
421
399
|
columns: {
|
|
422
400
|
type: ArrayConstructor;
|
|
423
401
|
required: true;
|
|
424
402
|
};
|
|
425
403
|
}, {
|
|
426
404
|
props: {
|
|
427
|
-
localisations: GridViewManagerLocalisations;
|
|
428
405
|
columns: GridColumn[];
|
|
429
406
|
};
|
|
430
407
|
emit: (event: "update:columns", ...args: any[]) => void;
|
|
408
|
+
t: {
|
|
409
|
+
(key: string | number): string;
|
|
410
|
+
(key: string | number, plural: number, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
411
|
+
(key: string | number, defaultMsg: string, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
412
|
+
(key: string | number, list: unknown[], options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
413
|
+
(key: string | number, list: unknown[], plural: number): string;
|
|
414
|
+
(key: string | number, list: unknown[], defaultMsg: string): string;
|
|
415
|
+
(key: string | number, named: Record<string, unknown>, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
416
|
+
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
417
|
+
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
418
|
+
};
|
|
431
419
|
visible: import("vue").Ref<boolean>;
|
|
432
420
|
moveColumn: (columns: GridColumn[], oldIndex: number, newIndex: number) => void;
|
|
433
421
|
updateColumnVisibility: (target: EventTarget | null, column: GridColumn) => void;
|
|
434
|
-
changeColumnOrder: (columnIndex: number, direction: "
|
|
422
|
+
changeColumnOrder: (columnIndex: number, direction: "up" | "down") => void;
|
|
435
423
|
ClUiButton: import("vue").DefineComponent<{
|
|
436
424
|
colour: {
|
|
437
425
|
type: null;
|
|
@@ -455,31 +443,42 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
455
443
|
};
|
|
456
444
|
}, {
|
|
457
445
|
ClUiLoadingSpinner: any;
|
|
458
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
459
|
-
colour
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
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
|
+
}>>, {
|
|
465
468
|
disabled: boolean;
|
|
466
|
-
size: any;
|
|
467
469
|
colour: any;
|
|
468
|
-
} & {}>, {
|
|
469
|
-
loading: boolean;
|
|
470
|
-
disabled: boolean;
|
|
471
470
|
size: any;
|
|
472
|
-
|
|
471
|
+
loading: boolean;
|
|
473
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>, {}>;
|
|
474
474
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
475
475
|
'update:columns': null;
|
|
476
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
} & {}> & {
|
|
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
|
+
}>> & {
|
|
483
482
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
484
483
|
}, {}>;
|
|
485
484
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -487,25 +486,30 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
487
486
|
'update:columns': null;
|
|
488
487
|
'update:edit-mode': null;
|
|
489
488
|
'update:filter-panel-open': null;
|
|
490
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
491
|
-
columns
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
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
|
+
}>> & {
|
|
503
508
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
504
509
|
"onReset-filters"?: ((...args: any[]) => any) | undefined;
|
|
505
510
|
"onUpdate:edit-mode"?: ((...args: any[]) => any) | undefined;
|
|
506
511
|
"onUpdate:filter-panel-open"?: ((...args: any[]) => any) | undefined;
|
|
507
512
|
}, {
|
|
508
|
-
localisations: Record<string, any>;
|
|
509
513
|
filterPanelOpen: boolean;
|
|
510
514
|
}>;
|
|
511
515
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -515,30 +519,32 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
515
519
|
'row-edit': null;
|
|
516
520
|
'edit-start': null;
|
|
517
521
|
'edit-end': null;
|
|
518
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
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
|
+
}>> & {
|
|
534
541
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
542
|
+
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
535
543
|
"onData-request"?: ((...args: any[]) => any) | undefined;
|
|
536
544
|
"onRow-edit"?: ((...args: any[]) => any) | undefined;
|
|
537
545
|
"onEdit-start"?: ((...args: any[]) => any) | undefined;
|
|
538
546
|
"onEdit-end"?: ((...args: any[]) => any) | undefined;
|
|
539
547
|
}, {
|
|
540
548
|
data: any;
|
|
541
|
-
currentLocale: string;
|
|
542
|
-
localisations: Record<string, any>;
|
|
543
549
|
}>;
|
|
544
550
|
export default _sfc_main;
|