@citruslime/ui 2.0.0-beta.9 → 2.0.1-beta.1
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 +2854 -2980
- 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/header/cl-ui-accordion-header.vue.d.ts +2 -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/components/button/cl-ui-button.vue.d.ts +51 -0
- 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/components/card/cl-ui-card.vue.d.ts +27 -0
- 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 +250 -185
- 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 +97 -57
- 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/components/footer/cl-ui-footer.vue.d.ts +2 -0
- package/dist/{src/components → components}/footer/index.d.ts +0 -0
- package/dist/components/grid/cell/cl-ui-grid-cell.vue.d.ts +68 -0
- package/dist/{src/components → components}/grid/cl-ui-grid.vue.d.ts +211 -178
- package/dist/{src/components → components}/grid/filter/cl-ui-grid-filter.vue.d.ts +24 -22
- 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 +56 -0
- package/dist/{src/components → components}/grid/header/cl-ui-grid-header.vue.d.ts +82 -62
- package/dist/{src/components → components}/grid/index.d.ts +0 -0
- package/dist/{src/components → components}/grid/types.d.ts +0 -0
- package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +82 -0
- package/dist/components/header/cl-ui-header.vue.d.ts +2 -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 +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/components/loading-spinner/cl-ui-loading-spinner.vue.d.ts +2 -0
- package/dist/{src/components → components}/loading-spinner/index.d.ts +0 -0
- package/dist/components/login/cl-ui-login.vue.d.ts +100 -0
- 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/components/navigation/item/cl-ui-navigation-item.vue.d.ts +2 -0
- package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +2 -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 +107 -0
- 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/content/cl-ui-tab-content.vue.d.ts +2 -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/env.d.ts +1 -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 +1 -1
- 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 +15 -17
- 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/button/cl-ui-button.vue.d.ts +0 -40
- package/dist/src/components/card/cl-ui-card.vue.d.ts +0 -22
- package/dist/src/components/grid/cell/cl-ui-grid-cell.vue.d.ts +0 -65
- package/dist/src/components/grid/footer/cl-ui-grid-footer.vue.d.ts +0 -57
- package/dist/src/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +0 -75
- 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/login/cl-ui-login.vue.d.ts +0 -92
- 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 -87
- 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: {
|
|
@@ -25,26 +25,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
25
25
|
data: FilterResponse<unknown> | null;
|
|
26
26
|
};
|
|
27
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|
-
};
|
|
39
|
-
columnStyles: import("vue").Ref<{
|
|
40
|
-
[x: string]: string;
|
|
41
|
-
}>;
|
|
28
|
+
t: import("vue-i18n").ComposerTranslation<{
|
|
29
|
+
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
30
|
+
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
31
|
+
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
32
|
+
}>, never, string, string>;
|
|
33
|
+
columnStyles: import("vue").Ref<Record<string, string>>;
|
|
42
34
|
editMode: import("vue").Ref<boolean>;
|
|
43
35
|
editRow: import("vue").Ref<{
|
|
44
36
|
index: number;
|
|
45
|
-
record:
|
|
46
|
-
[x: string]: unknown;
|
|
47
|
-
};
|
|
37
|
+
record: Record<string, unknown>;
|
|
48
38
|
}>;
|
|
49
39
|
filterPanelOpen: import("vue").Ref<boolean>;
|
|
50
40
|
currentColumns: import("vue").WritableComputedRef<GridColumn[]>;
|
|
@@ -81,22 +71,33 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
81
71
|
default: boolean;
|
|
82
72
|
};
|
|
83
73
|
}, {
|
|
84
|
-
ClUiLoadingSpinner:
|
|
85
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
86
|
-
colour
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
74
|
+
ClUiLoadingSpinner: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
75
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
+
colour: {
|
|
77
|
+
type: null;
|
|
78
|
+
required: false;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
size: {
|
|
82
|
+
type: null;
|
|
83
|
+
required: false;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
loading: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
required: false;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
disabled: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
required: false;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
}>>, {
|
|
94
97
|
disabled: boolean;
|
|
95
|
-
} & {}>, {
|
|
96
98
|
colour: any;
|
|
97
99
|
size: any;
|
|
98
100
|
loading: boolean;
|
|
99
|
-
disabled: boolean;
|
|
100
101
|
}>;
|
|
101
102
|
ClUiGridCell: import("vue").DefineComponent<{
|
|
102
103
|
column: {
|
|
@@ -118,22 +119,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
118
119
|
record: Record<string, unknown>;
|
|
119
120
|
editMode: boolean;
|
|
120
121
|
};
|
|
121
|
-
emit: ((event: "
|
|
122
|
-
d: {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
};
|
|
134
|
-
currentRecord: import("vue").Ref<{
|
|
135
|
-
[x: string]: unknown;
|
|
136
|
-
}>;
|
|
122
|
+
emit: ((event: "focus", ...args: any[]) => void) & ((event: "edit", ...args: any[]) => void) & ((event: "undo-edit", ...args: any[]) => void);
|
|
123
|
+
d: import("vue-i18n").ComposerDateTimeFormatting<{
|
|
124
|
+
[x: string]: import("vue-i18n").IntlDateTimeFormat;
|
|
125
|
+
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
126
|
+
[x: string]: import("@intlify/core-base").DateTimeFormatOptions;
|
|
127
|
+
}>, never, string | number, string | number>;
|
|
128
|
+
n: import("vue-i18n").ComposerNumberFormatting<{
|
|
129
|
+
[x: string]: import("vue-i18n").IntlNumberFormat;
|
|
130
|
+
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
131
|
+
[x: string]: import("@intlify/core-base").NumberFormatOptions;
|
|
132
|
+
}>, never, string | number, string | number>;
|
|
133
|
+
currentRecord: import("vue").Ref<Record<string, unknown>>;
|
|
137
134
|
edited: import("vue").ComputedRef<boolean>;
|
|
138
135
|
getStringValue: (record: Record<string, unknown>, key: string) => string;
|
|
139
136
|
getNumericValue: (record: Record<string, unknown>, key: string) => number;
|
|
@@ -141,21 +138,28 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
141
138
|
cellFocused: () => void;
|
|
142
139
|
DateFormat: typeof import("../../utils").DateFormat;
|
|
143
140
|
NumberFormat: typeof import("../../utils").NumberFormat;
|
|
141
|
+
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
142
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
145
143
|
edit: null;
|
|
146
144
|
focus: null;
|
|
147
145
|
'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
|
-
|
|
146
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
147
|
+
column: {
|
|
148
|
+
type: null;
|
|
149
|
+
required: true;
|
|
150
|
+
};
|
|
151
|
+
record: {
|
|
152
|
+
type: ObjectConstructor;
|
|
153
|
+
required: true;
|
|
154
|
+
};
|
|
155
|
+
editMode: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
required: false;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
}>> & {
|
|
158
161
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
162
|
+
onEdit?: ((...args: any[]) => any) | undefined;
|
|
159
163
|
"onUndo-edit"?: ((...args: any[]) => any) | undefined;
|
|
160
164
|
}, {
|
|
161
165
|
editMode: boolean;
|
|
@@ -182,41 +186,43 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
182
186
|
};
|
|
183
187
|
emit: (event: "update:request", ...args: any[]) => void;
|
|
184
188
|
locale: import("vue").WritableComputedRef<string>;
|
|
185
|
-
t: {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
(key: string | number, list: unknown[], defaultMsg: string): string;
|
|
192
|
-
(key: string | number, named: Record<string, unknown>, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
193
|
-
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
194
|
-
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
195
|
-
};
|
|
196
|
-
debounce: (event: Function, eventArgs: unknown[]) => void;
|
|
189
|
+
t: import("vue-i18n").ComposerTranslation<{
|
|
190
|
+
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
191
|
+
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
192
|
+
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
193
|
+
}>, never, string, string>;
|
|
194
|
+
debounce: (event: Function, ...eventArgs: unknown[]) => void;
|
|
197
195
|
allowedFilterMethods: import("vue").ComputedRef<import("./types").FilterMethod[]>;
|
|
198
196
|
currentFilterMethod: import("vue").ComputedRef<import("./types").FilterMethod | undefined>;
|
|
199
197
|
currentFilter: import("vue").ComputedRef<string>;
|
|
200
|
-
currentNumberFilter: import("vue").ComputedRef<number>;
|
|
201
198
|
currentDateFilter: import("vue").ComputedRef<Date | null>;
|
|
199
|
+
filterInput: import("vue").Ref<string>;
|
|
202
200
|
decimalSeparator: import("vue").ComputedRef<string>;
|
|
201
|
+
columnInputType: import("vue").ComputedRef<"number" | "search" | "text" | "datetime" | "date" | "time" | "button" | "checkbox" | "color" | "email" | "file" | "password" | "radio" | "range" | "reset" | "submit" | "tel" | "url">;
|
|
203
202
|
getDefaultFilterOperation: () => import("./types").FilterOperation;
|
|
204
203
|
getAllowedMethods: () => import("./types").FilterMethod[];
|
|
205
204
|
setFilterMethod: (filterMethod: "equal" | "notequal" | "contains" | "notcontains" | "lessthan" | "greaterthan" | "startswith" | "endswith" | "equalorlessthan" | "equalorgreaterthan") => void;
|
|
206
205
|
setFilter: (target: EventTarget | null, defaultValue?: string | undefined) => void;
|
|
207
206
|
setNumberFilter: (target: EventTarget | null) => void;
|
|
208
207
|
setDateFilter: (value: Date | null) => void;
|
|
208
|
+
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
209
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
210
210
|
'update:request': null;
|
|
211
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
212
|
-
request
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
211
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
212
|
+
request: {
|
|
213
|
+
type: null;
|
|
214
|
+
required: true;
|
|
215
|
+
};
|
|
216
|
+
column: {
|
|
217
|
+
type: null;
|
|
218
|
+
required: true;
|
|
219
|
+
};
|
|
220
|
+
firstHalf: {
|
|
221
|
+
type: BooleanConstructor;
|
|
222
|
+
required: false;
|
|
223
|
+
default: boolean;
|
|
224
|
+
};
|
|
225
|
+
}>> & {
|
|
220
226
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
221
227
|
}, {
|
|
222
228
|
firstHalf: boolean;
|
|
@@ -229,7 +235,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
229
235
|
data: {
|
|
230
236
|
type: null;
|
|
231
237
|
required: false;
|
|
232
|
-
default:
|
|
238
|
+
default: null;
|
|
233
239
|
};
|
|
234
240
|
}, {
|
|
235
241
|
props: {
|
|
@@ -238,39 +244,38 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
238
244
|
};
|
|
239
245
|
emit: (event: "update:request", ...args: any[]) => void;
|
|
240
246
|
pageSizes: number[];
|
|
241
|
-
n: {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
(key: string | number, list: unknown[], defaultMsg: string): string;
|
|
254
|
-
(key: string | number, named: Record<string, unknown>, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
255
|
-
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
256
|
-
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
257
|
-
};
|
|
258
|
-
debounce: (event: Function, eventArgs: unknown[]) => void;
|
|
247
|
+
n: import("vue-i18n").ComposerNumberFormatting<{
|
|
248
|
+
[x: string]: import("vue-i18n").IntlNumberFormat;
|
|
249
|
+
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
250
|
+
[x: string]: import("@intlify/core-base").NumberFormatOptions;
|
|
251
|
+
}>, never, string | number, string | number>;
|
|
252
|
+
t: import("vue-i18n").ComposerTranslation<{
|
|
253
|
+
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
254
|
+
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
255
|
+
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
256
|
+
}>, never, string, string>;
|
|
257
|
+
debounce: (event: Function, ...eventArgs: unknown[]) => void;
|
|
258
|
+
currentPage: import("vue").Ref<number>;
|
|
259
259
|
totalPages: import("vue").ComputedRef<number>;
|
|
260
260
|
pageNumbers: import("vue").ComputedRef<number[]>;
|
|
261
261
|
setPage: (pageNumber: number) => void;
|
|
262
|
-
setPageFromInput: (target: EventTarget | null) => void;
|
|
262
|
+
setPageFromInput: (target: EventTarget | HTMLInputElement | null) => void;
|
|
263
263
|
setPageSize: (pageSize: number) => void;
|
|
264
264
|
NumberFormat: typeof import("../../utils").NumberFormat;
|
|
265
|
+
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
266
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
266
267
|
'update:request': null;
|
|
267
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
268
|
-
request
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
data:
|
|
273
|
-
|
|
268
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
269
|
+
request: {
|
|
270
|
+
type: null;
|
|
271
|
+
required: true;
|
|
272
|
+
};
|
|
273
|
+
data: {
|
|
274
|
+
type: null;
|
|
275
|
+
required: false;
|
|
276
|
+
default: null;
|
|
277
|
+
};
|
|
278
|
+
}>> & {
|
|
274
279
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
275
280
|
}, {
|
|
276
281
|
data: any;
|
|
@@ -301,17 +306,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
301
306
|
filterPanelOpen: boolean;
|
|
302
307
|
};
|
|
303
308
|
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);
|
|
304
|
-
t: {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
(key: string | number, list: unknown[], plural: number): string;
|
|
310
|
-
(key: string | number, list: unknown[], defaultMsg: string): string;
|
|
311
|
-
(key: string | number, named: Record<string, unknown>, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
312
|
-
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
313
|
-
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
314
|
-
};
|
|
309
|
+
t: import("vue-i18n").ComposerTranslation<{
|
|
310
|
+
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
311
|
+
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
312
|
+
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
313
|
+
}>, never, string, string>;
|
|
315
314
|
currentColumns: import("vue").WritableComputedRef<GridColumn[]>;
|
|
316
315
|
ClUiButton: import("vue").DefineComponent<{
|
|
317
316
|
colour: {
|
|
@@ -335,22 +334,33 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
335
334
|
default: boolean;
|
|
336
335
|
};
|
|
337
336
|
}, {
|
|
338
|
-
ClUiLoadingSpinner:
|
|
339
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
340
|
-
colour
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
337
|
+
ClUiLoadingSpinner: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
338
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
339
|
+
colour: {
|
|
340
|
+
type: null;
|
|
341
|
+
required: false;
|
|
342
|
+
default: string;
|
|
343
|
+
};
|
|
344
|
+
size: {
|
|
345
|
+
type: null;
|
|
346
|
+
required: false;
|
|
347
|
+
default: string;
|
|
348
|
+
};
|
|
349
|
+
loading: {
|
|
350
|
+
type: BooleanConstructor;
|
|
351
|
+
required: false;
|
|
352
|
+
default: boolean;
|
|
353
|
+
};
|
|
354
|
+
disabled: {
|
|
355
|
+
type: BooleanConstructor;
|
|
356
|
+
required: false;
|
|
357
|
+
default: boolean;
|
|
358
|
+
};
|
|
359
|
+
}>>, {
|
|
348
360
|
disabled: boolean;
|
|
349
|
-
} & {}>, {
|
|
350
361
|
colour: any;
|
|
351
362
|
size: any;
|
|
352
363
|
loading: boolean;
|
|
353
|
-
disabled: boolean;
|
|
354
364
|
}>;
|
|
355
365
|
ClUiGridViewManager: import("vue").DefineComponent<{
|
|
356
366
|
columns: {
|
|
@@ -362,17 +372,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
362
372
|
columns: GridColumn[];
|
|
363
373
|
};
|
|
364
374
|
emit: (event: "update:columns", ...args: any[]) => void;
|
|
365
|
-
t: {
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
(key: string | number, list: unknown[], plural: number): string;
|
|
371
|
-
(key: string | number, list: unknown[], defaultMsg: string): string;
|
|
372
|
-
(key: string | number, named: Record<string, unknown>, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
373
|
-
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
374
|
-
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
375
|
-
};
|
|
375
|
+
t: import("vue-i18n").ComposerTranslation<{
|
|
376
|
+
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
377
|
+
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
378
|
+
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
379
|
+
}>, never, string, string>;
|
|
376
380
|
visible: import("vue").Ref<boolean>;
|
|
377
381
|
moveColumn: (columns: GridColumn[], oldIndex: number, newIndex: number) => void;
|
|
378
382
|
updateColumnVisibility: (target: EventTarget | null, column: GridColumn) => void;
|
|
@@ -399,30 +403,43 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
399
403
|
default: boolean;
|
|
400
404
|
};
|
|
401
405
|
}, {
|
|
402
|
-
ClUiLoadingSpinner:
|
|
403
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
404
|
-
colour
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
406
|
+
ClUiLoadingSpinner: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
407
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
408
|
+
colour: {
|
|
409
|
+
type: null;
|
|
410
|
+
required: false;
|
|
411
|
+
default: string;
|
|
412
|
+
};
|
|
413
|
+
size: {
|
|
414
|
+
type: null;
|
|
415
|
+
required: false;
|
|
416
|
+
default: string;
|
|
417
|
+
};
|
|
418
|
+
loading: {
|
|
419
|
+
type: BooleanConstructor;
|
|
420
|
+
required: false;
|
|
421
|
+
default: boolean;
|
|
422
|
+
};
|
|
423
|
+
disabled: {
|
|
424
|
+
type: BooleanConstructor;
|
|
425
|
+
required: false;
|
|
426
|
+
default: boolean;
|
|
427
|
+
};
|
|
428
|
+
}>>, {
|
|
412
429
|
disabled: boolean;
|
|
413
|
-
} & {}>, {
|
|
414
430
|
colour: any;
|
|
415
431
|
size: any;
|
|
416
432
|
loading: boolean;
|
|
417
|
-
disabled: boolean;
|
|
418
433
|
}>;
|
|
434
|
+
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
435
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
420
436
|
'update:columns': null;
|
|
421
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
422
|
-
columns
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
437
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
438
|
+
columns: {
|
|
439
|
+
type: ArrayConstructor;
|
|
440
|
+
required: true;
|
|
441
|
+
};
|
|
442
|
+
}>> & {
|
|
426
443
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
427
444
|
}, {}>;
|
|
428
445
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -430,17 +447,25 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
430
447
|
'update:columns': null;
|
|
431
448
|
'update:edit-mode': null;
|
|
432
449
|
'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
|
-
|
|
450
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
451
|
+
columns: {
|
|
452
|
+
type: ArrayConstructor;
|
|
453
|
+
required: true;
|
|
454
|
+
};
|
|
455
|
+
editMode: {
|
|
456
|
+
type: BooleanConstructor;
|
|
457
|
+
required: true;
|
|
458
|
+
};
|
|
459
|
+
editEnabled: {
|
|
460
|
+
type: BooleanConstructor;
|
|
461
|
+
required: true;
|
|
462
|
+
};
|
|
463
|
+
filterPanelOpen: {
|
|
464
|
+
type: BooleanConstructor;
|
|
465
|
+
required: false;
|
|
466
|
+
default: boolean;
|
|
467
|
+
};
|
|
468
|
+
}>> & {
|
|
444
469
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
445
470
|
"onReset-filters"?: ((...args: any[]) => any) | undefined;
|
|
446
471
|
"onUpdate:edit-mode"?: ((...args: any[]) => any) | undefined;
|
|
@@ -455,17 +480,25 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
455
480
|
'row-edit': null;
|
|
456
481
|
'edit-start': null;
|
|
457
482
|
'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
|
-
|
|
483
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
484
|
+
columns: {
|
|
485
|
+
type: ArrayConstructor;
|
|
486
|
+
required: true;
|
|
487
|
+
};
|
|
488
|
+
request: {
|
|
489
|
+
type: null;
|
|
490
|
+
required: true;
|
|
491
|
+
};
|
|
492
|
+
loading: {
|
|
493
|
+
type: BooleanConstructor;
|
|
494
|
+
required: true;
|
|
495
|
+
};
|
|
496
|
+
data: {
|
|
497
|
+
type: null;
|
|
498
|
+
required: false;
|
|
499
|
+
default: null;
|
|
500
|
+
};
|
|
501
|
+
}>> & {
|
|
469
502
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
470
503
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
471
504
|
"onData-request"?: ((...args: any[]) => any) | undefined;
|
|
@@ -22,41 +22,43 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
22
22
|
};
|
|
23
23
|
emit: (event: "update:request", ...args: any[]) => void;
|
|
24
24
|
locale: import("vue").WritableComputedRef<string>;
|
|
25
|
-
t: {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
(key: string | number, list: unknown[], defaultMsg: string): string;
|
|
32
|
-
(key: string | number, named: Record<string, unknown>, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
33
|
-
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
34
|
-
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
35
|
-
};
|
|
36
|
-
debounce: (event: Function, eventArgs: unknown[]) => void;
|
|
25
|
+
t: import("vue-i18n").ComposerTranslation<{
|
|
26
|
+
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
27
|
+
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
28
|
+
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
29
|
+
}>, never, string, string>;
|
|
30
|
+
debounce: (event: Function, ...eventArgs: unknown[]) => void;
|
|
37
31
|
allowedFilterMethods: import("vue").ComputedRef<FilterMethod[]>;
|
|
38
32
|
currentFilterMethod: import("vue").ComputedRef<FilterMethod | undefined>;
|
|
39
33
|
currentFilter: import("vue").ComputedRef<string>;
|
|
40
|
-
currentNumberFilter: import("vue").ComputedRef<number>;
|
|
41
34
|
currentDateFilter: import("vue").ComputedRef<Date | null>;
|
|
35
|
+
filterInput: import("vue").Ref<string>;
|
|
42
36
|
decimalSeparator: import("vue").ComputedRef<string>;
|
|
37
|
+
columnInputType: import("vue").ComputedRef<"number" | "search" | "text" | "datetime" | "date" | "time" | "button" | "checkbox" | "color" | "email" | "file" | "password" | "radio" | "range" | "reset" | "submit" | "tel" | "url">;
|
|
43
38
|
getDefaultFilterOperation: () => FilterOperation;
|
|
44
39
|
getAllowedMethods: () => FilterMethod[];
|
|
45
40
|
setFilterMethod: (filterMethod: FilterMethodType) => void;
|
|
46
41
|
setFilter: (target: EventTarget | null, defaultValue?: string | undefined) => void;
|
|
47
42
|
setNumberFilter: (target: EventTarget | null) => void;
|
|
48
43
|
setDateFilter: (value: Date | null) => void;
|
|
44
|
+
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
45
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
50
46
|
'update:request': null;
|
|
51
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
52
|
-
request
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
47
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
request: {
|
|
49
|
+
type: null;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
column: {
|
|
53
|
+
type: null;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
firstHalf: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
required: false;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
}>> & {
|
|
60
62
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
61
63
|
}, {
|
|
62
64
|
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;
|