@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,9 +1,5 @@
|
|
|
1
|
-
import type { ComboBoxItem
|
|
1
|
+
import type { ComboBoxItem } from '../types';
|
|
2
2
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
localisations: {
|
|
4
|
-
type: null;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
3
|
loading: {
|
|
8
4
|
type: BooleanConstructor;
|
|
9
5
|
required: false;
|
|
@@ -50,7 +46,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
50
46
|
};
|
|
51
47
|
}, {
|
|
52
48
|
props: {
|
|
53
|
-
localisations: ComboBoxSearchContainerLocalisations;
|
|
54
49
|
loading: boolean;
|
|
55
50
|
objectType: string;
|
|
56
51
|
objectParentType: string;
|
|
@@ -61,17 +56,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
61
56
|
results: ComboBoxItem[];
|
|
62
57
|
isVisible: boolean;
|
|
63
58
|
};
|
|
64
|
-
emit: ((event: "search", ...args: any[]) => void) & ((event: "
|
|
59
|
+
emit: ((event: "search", ...args: any[]) => void) & ((event: "create-object", ...args: any[]) => void) & ((event: "clear-object", ...args: any[]) => void) & ((event: "select-object", ...args: any[]) => void) & ((event: "hide-dropdown", ...args: any[]) => void);
|
|
60
|
+
t: {
|
|
61
|
+
(key: string | number): string;
|
|
62
|
+
(key: string | number, plural: number, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
63
|
+
(key: string | number, defaultMsg: string, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
64
|
+
(key: string | number, list: unknown[], options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
65
|
+
(key: string | number, list: unknown[], plural: number): string;
|
|
66
|
+
(key: string | number, list: unknown[], defaultMsg: string): string;
|
|
67
|
+
(key: string | number, named: Record<string, unknown>, options?: import("vue-i18n").TranslateOptions | undefined): string;
|
|
68
|
+
(key: string | number, named: Record<string, unknown>, plural: number): string;
|
|
69
|
+
(key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
|
|
70
|
+
};
|
|
65
71
|
searchText: import("vue").Ref<string>;
|
|
66
72
|
showAddNewOption: import("vue").Ref<boolean>;
|
|
67
73
|
currentSelection: import("vue").Ref<number>;
|
|
68
74
|
firstIndexInResults: import("vue").ComputedRef<number>;
|
|
69
|
-
combinedErrorMessage: import("vue").ComputedRef<string>;
|
|
70
|
-
searchHint: import("vue").ComputedRef<string>;
|
|
71
|
-
addPrompt: import("vue").ComputedRef<string>;
|
|
72
|
-
noResults: import("vue").ComputedRef<string>;
|
|
73
75
|
container: import("vue").Ref<HTMLElement | undefined>;
|
|
74
|
-
searchBox: import("vue").Ref<HTMLInputElement | undefined>;
|
|
75
76
|
search: (keyboardEvent?: KeyboardEvent | undefined) => void;
|
|
76
77
|
selectObject: (id: number) => void;
|
|
77
78
|
createObject: () => void;
|
|
@@ -84,6 +85,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
84
85
|
updateAddNewOption: () => void;
|
|
85
86
|
updateSelectedObjectIndex: (index: number) => void;
|
|
86
87
|
onVisibilityChanged: () => void;
|
|
88
|
+
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>, {}>;
|
|
87
89
|
ClUiComboBoxHeader: import("vue").DefineComponent<{
|
|
88
90
|
showClearButton: {
|
|
89
91
|
type: BooleanConstructor;
|
|
@@ -102,15 +104,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
102
104
|
};
|
|
103
105
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
104
106
|
'clear-object': null;
|
|
105
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
106
|
-
showClearButton
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
107
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
108
|
+
showClearButton: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
required: false;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
text: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
required: false;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
additionalText: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
required: false;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
}>> & {
|
|
114
124
|
"onClear-object"?: ((...args: any[]) => any) | undefined;
|
|
115
125
|
}, {
|
|
116
126
|
text: string;
|
|
@@ -136,7 +146,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
136
146
|
option: {
|
|
137
147
|
type: null;
|
|
138
148
|
required: false;
|
|
139
|
-
default:
|
|
149
|
+
default: null;
|
|
140
150
|
};
|
|
141
151
|
index: {
|
|
142
152
|
type: NumberConstructor;
|
|
@@ -161,27 +171,40 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
161
171
|
'create-object': null;
|
|
162
172
|
'select-object': null;
|
|
163
173
|
'option-highlighted': null;
|
|
164
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
165
|
-
isCreateNewOption
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
175
|
+
isCreateNewOption: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
required: false;
|
|
178
|
+
default: boolean;
|
|
179
|
+
};
|
|
180
|
+
selectedIndex: {
|
|
181
|
+
type: NumberConstructor;
|
|
182
|
+
required: false;
|
|
183
|
+
default: number;
|
|
184
|
+
};
|
|
185
|
+
text: {
|
|
186
|
+
type: StringConstructor;
|
|
187
|
+
required: false;
|
|
188
|
+
default: string;
|
|
189
|
+
};
|
|
190
|
+
option: {
|
|
191
|
+
type: null;
|
|
192
|
+
required: false;
|
|
193
|
+
default: null;
|
|
194
|
+
};
|
|
195
|
+
index: {
|
|
196
|
+
type: NumberConstructor;
|
|
197
|
+
required: true;
|
|
198
|
+
};
|
|
199
|
+
}>> & {
|
|
177
200
|
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
178
201
|
"onSelect-object"?: ((...args: any[]) => any) | undefined;
|
|
179
202
|
"onOption-highlighted"?: ((...args: any[]) => any) | undefined;
|
|
180
203
|
}, {
|
|
181
|
-
option: any;
|
|
182
204
|
text: string;
|
|
183
205
|
isCreateNewOption: boolean;
|
|
184
206
|
selectedIndex: number;
|
|
207
|
+
option: any;
|
|
185
208
|
}>;
|
|
186
209
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
187
210
|
'clear-object': null;
|
|
@@ -189,42 +212,65 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
189
212
|
'select-object': null;
|
|
190
213
|
search: null;
|
|
191
214
|
'hide-dropdown': null;
|
|
192
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
215
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
216
|
+
loading: {
|
|
217
|
+
type: BooleanConstructor;
|
|
218
|
+
required: false;
|
|
219
|
+
default: boolean;
|
|
220
|
+
};
|
|
221
|
+
objectType: {
|
|
222
|
+
type: StringConstructor;
|
|
223
|
+
required: true;
|
|
224
|
+
};
|
|
225
|
+
objectParentType: {
|
|
226
|
+
type: StringConstructor;
|
|
227
|
+
required: false;
|
|
228
|
+
default: string;
|
|
229
|
+
};
|
|
230
|
+
errorMessage: {
|
|
231
|
+
type: StringConstructor;
|
|
232
|
+
required: false;
|
|
233
|
+
default: string;
|
|
234
|
+
};
|
|
235
|
+
canCreateNewObject: {
|
|
236
|
+
type: BooleanConstructor;
|
|
237
|
+
required: false;
|
|
238
|
+
default: boolean;
|
|
239
|
+
};
|
|
240
|
+
canClearSelectedObject: {
|
|
241
|
+
type: BooleanConstructor;
|
|
242
|
+
required: false;
|
|
243
|
+
default: boolean;
|
|
244
|
+
};
|
|
245
|
+
currentObjectName: {
|
|
246
|
+
type: StringConstructor;
|
|
247
|
+
required: false;
|
|
248
|
+
default: string;
|
|
249
|
+
};
|
|
250
|
+
results: {
|
|
251
|
+
type: ArrayConstructor;
|
|
252
|
+
required: false;
|
|
253
|
+
default: () => never[];
|
|
254
|
+
};
|
|
255
|
+
isVisible: {
|
|
256
|
+
type: BooleanConstructor;
|
|
257
|
+
required: false;
|
|
258
|
+
default: boolean;
|
|
259
|
+
};
|
|
260
|
+
}>> & {
|
|
261
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
216
262
|
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
263
|
+
"onClear-object"?: ((...args: any[]) => any) | undefined;
|
|
217
264
|
"onSelect-object"?: ((...args: any[]) => any) | undefined;
|
|
218
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
|
219
265
|
"onHide-dropdown"?: ((...args: any[]) => any) | undefined;
|
|
220
266
|
}, {
|
|
221
267
|
loading: boolean;
|
|
222
268
|
objectParentType: string;
|
|
223
|
-
errorMessage: string;
|
|
224
269
|
canCreateNewObject: boolean;
|
|
225
270
|
canClearSelectedObject: boolean;
|
|
226
|
-
|
|
271
|
+
errorMessage: string;
|
|
227
272
|
results: unknown[];
|
|
273
|
+
currentObjectName: string;
|
|
228
274
|
isVisible: boolean;
|
|
229
275
|
}>;
|
|
230
276
|
export default _sfc_main;
|
|
@@ -16,15 +16,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
16
16
|
};
|
|
17
17
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
18
|
'clear-object': null;
|
|
19
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
20
|
-
showClearButton
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
19
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
showClearButton: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
required: false;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
text: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
required: false;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
additionalText: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
required: false;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>> & {
|
|
28
36
|
"onClear-object"?: ((...args: any[]) => any) | undefined;
|
|
29
37
|
}, {
|
|
30
38
|
text: string;
|
|
@@ -18,7 +18,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
18
18
|
option: {
|
|
19
19
|
type: null;
|
|
20
20
|
required: false;
|
|
21
|
-
default:
|
|
21
|
+
default: null;
|
|
22
22
|
};
|
|
23
23
|
index: {
|
|
24
24
|
type: NumberConstructor;
|
|
@@ -43,26 +43,39 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
43
43
|
'create-object': null;
|
|
44
44
|
'select-object': null;
|
|
45
45
|
'option-highlighted': null;
|
|
46
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
47
|
-
isCreateNewOption
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
46
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
isCreateNewOption: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
required: false;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
selectedIndex: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
required: false;
|
|
55
|
+
default: number;
|
|
56
|
+
};
|
|
57
|
+
text: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
required: false;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
option: {
|
|
63
|
+
type: null;
|
|
64
|
+
required: false;
|
|
65
|
+
default: null;
|
|
66
|
+
};
|
|
67
|
+
index: {
|
|
68
|
+
type: NumberConstructor;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
}>> & {
|
|
59
72
|
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
60
73
|
"onSelect-object"?: ((...args: any[]) => any) | undefined;
|
|
61
74
|
"onOption-highlighted"?: ((...args: any[]) => any) | undefined;
|
|
62
75
|
}, {
|
|
63
|
-
option: any;
|
|
64
76
|
text: string;
|
|
65
77
|
isCreateNewOption: boolean;
|
|
66
78
|
selectedIndex: number;
|
|
79
|
+
option: any;
|
|
67
80
|
}>;
|
|
68
81
|
export default _sfc_main;
|
|
@@ -28,22 +28,3 @@ export declare function isComboBoxItem(objectToTest: ComboBoxItem): boolean;
|
|
|
28
28
|
* @returns {boolean} - Whether the object is a combo box create request.
|
|
29
29
|
*/
|
|
30
30
|
export declare function isComboBoxCreateRequest(objectToTest: ComboBoxCreateRequest): boolean;
|
|
31
|
-
export interface ComboBoxLocalisations {
|
|
32
|
-
emptyHintText: string;
|
|
33
|
-
createTitle: string;
|
|
34
|
-
createProperty: string;
|
|
35
|
-
createParentTitle: string;
|
|
36
|
-
createParentProperty: string;
|
|
37
|
-
parentName: string;
|
|
38
|
-
create: string;
|
|
39
|
-
cancel: string;
|
|
40
|
-
createSuccessful: string;
|
|
41
|
-
createFailed: string;
|
|
42
|
-
required: string;
|
|
43
|
-
}
|
|
44
|
-
export interface ComboBoxSearchContainerLocalisations {
|
|
45
|
-
searchHintText: string;
|
|
46
|
-
errorMessage: string;
|
|
47
|
-
addPrompt: string;
|
|
48
|
-
noResults: string;
|
|
49
|
-
}
|
|
File without changes
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { DateFormat, NumberFormat } from '../../../utils';
|
|
2
2
|
import type { GridColumn } from '../types';
|
|
3
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
-
currentLocale: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
required: false;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
4
|
column: {
|
|
10
5
|
type: null;
|
|
11
6
|
required: true;
|
|
@@ -21,7 +16,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
21
16
|
};
|
|
22
17
|
}, {
|
|
23
18
|
props: {
|
|
24
|
-
currentLocale: string;
|
|
25
19
|
column: GridColumn;
|
|
26
20
|
record: Record<string, unknown>;
|
|
27
21
|
editMode: boolean;
|
|
@@ -49,26 +43,30 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
49
43
|
cellFocused: () => void;
|
|
50
44
|
DateFormat: typeof DateFormat;
|
|
51
45
|
NumberFormat: typeof NumberFormat;
|
|
46
|
+
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>, {}>;
|
|
52
47
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
48
|
edit: null;
|
|
54
49
|
focus: null;
|
|
55
50
|
'undo-edit': null;
|
|
56
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
editMode:
|
|
66
|
-
|
|
51
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
column: {
|
|
53
|
+
type: null;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
record: {
|
|
57
|
+
type: ObjectConstructor;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
editMode: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
required: false;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
}>> & {
|
|
67
66
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
68
67
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
69
68
|
"onUndo-edit"?: ((...args: any[]) => any) | undefined;
|
|
70
69
|
}, {
|
|
71
|
-
currentLocale: string;
|
|
72
70
|
editMode: boolean;
|
|
73
71
|
}>;
|
|
74
72
|
export default _sfc_main;
|