@citruslime/ui 2.0.0-beta.9 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/dist/citrus-lime-ui.es.js +2378 -1736
- package/dist/citrus-lime-ui.umd.js +2 -1
- package/dist/components/accordion/cl-ui-accordion.vue.d.ts +26 -0
- package/dist/components/accordion/index.d.ts +4 -0
- package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +35 -0
- package/dist/{src/components → components}/accordion/types.d.ts +0 -0
- package/dist/{src/components → components}/app/cl-ui-app.vue.d.ts +19 -12
- package/dist/{src/components → components}/app/index.d.ts +0 -0
- package/dist/{src/components → components}/button/cl-ui-button.vue.d.ts +22 -11
- package/dist/{src/components → components}/button/index.d.ts +0 -0
- package/dist/{src/components → components}/button/types.d.ts +0 -0
- package/dist/{src/components → components}/calendar/cl-ui-calendar.vue.d.ts +0 -0
- package/dist/{src/components → components}/calendar/index.d.ts +0 -0
- package/dist/{src/components → components}/calendar/types.d.ts +1 -1
- package/dist/{src/components → components}/calendar/utils.d.ts +15 -0
- package/dist/{src/components → components}/card/cl-ui-card.vue.d.ts +12 -7
- package/dist/{src/components → components}/card/index.d.ts +0 -0
- package/dist/{src/components → components}/card/types.d.ts +0 -0
- package/dist/{src/components → components}/combo-box/cl-ui-combo-box.vue.d.ts +240 -163
- package/dist/{src/components → components}/combo-box/index.d.ts +0 -0
- package/dist/{src/components → components}/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +92 -46
- package/dist/{src/components → components}/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +18 -10
- package/dist/{src/components → components}/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +27 -14
- package/dist/{src/components → components}/combo-box/types.d.ts +0 -0
- package/dist/{src/components → components}/footer/index.d.ts +0 -0
- package/dist/{src/components → components}/grid/cell/cl-ui-grid-cell.vue.d.ts +18 -11
- package/dist/{src/components → components}/grid/cl-ui-grid.vue.d.ts +165 -93
- package/dist/{src/components → components}/grid/filter/cl-ui-grid-filter.vue.d.ts +19 -11
- package/dist/{src/utils → components/grid/filter}/filter-methods.d.ts +1 -1
- package/dist/{src/components → components}/grid/footer/cl-ui-grid-footer.vue.d.ts +16 -10
- package/dist/{src/components → components}/grid/header/cl-ui-grid-header.vue.d.ts +70 -38
- package/dist/{src/components → components}/grid/index.d.ts +0 -0
- package/dist/{src/components → components}/grid/types.d.ts +0 -0
- package/dist/{src/components → components}/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +29 -16
- package/dist/{src/components → components}/header/index.d.ts +0 -0
- package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +40 -0
- package/dist/{src/components → components}/header/menu/index.d.ts +0 -1
- package/dist/{src/components → components}/index.d.ts +2 -2
- package/dist/components/input/cl-ui-input.vue.d.ts +2 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input/types.d.ts +6 -0
- package/dist/components/input/utils.d.ts +44 -0
- package/dist/{src/components → components}/language-switcher/cl-ui-language-switcher.vue.d.ts +11 -7
- package/dist/{src/components → components}/language-switcher/index.d.ts +0 -0
- package/dist/{src/components → components}/language-switcher/types.d.ts +0 -1
- package/dist/{src/components → components}/loading-spinner/index.d.ts +0 -0
- package/dist/{src/components → components}/login/cl-ui-login.vue.d.ts +39 -25
- package/dist/{src/components → components}/login/index.d.ts +0 -0
- package/dist/{src/components → components}/login/types.d.ts +0 -0
- package/dist/components/modal/cl-ui-modal.vue.d.ts +49 -0
- package/dist/{src/components → components}/modal/index.d.ts +1 -0
- package/dist/{src/components → components}/modal/types.d.ts +2 -0
- package/dist/components/navigation/cl-ui-navigation.vue.d.ts +11 -0
- package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +12 -0
- package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +20 -0
- package/dist/components/navigation/index.d.ts +5 -0
- package/dist/{src/components → components}/notification/cl-ui-notification.vue.d.ts +12 -7
- package/dist/{src/components → components}/notification/index.d.ts +0 -0
- package/dist/{src/components → components}/notification/types.d.ts +0 -0
- package/dist/{src/components → components}/slider/cl-ui-slider.vue.d.ts +43 -16
- package/dist/{src/components → components}/slider/index.d.ts +0 -0
- package/dist/components/tab/cl-ui-tab.vue.d.ts +52 -0
- package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +60 -0
- package/dist/components/tab/index.d.ts +4 -0
- package/dist/components/tab/types.d.ts +4 -0
- package/dist/{src/composables → composables}/index.d.ts +0 -0
- package/dist/{src/composables → composables}/notification.d.ts +0 -0
- package/dist/{src/main.d.ts → main.d.ts} +0 -0
- package/dist/style.css +1 -1
- package/dist/{src/utils → utils}/i18n/config.d.ts +0 -0
- package/dist/{src/utils → utils}/i18n/defaults.d.ts +0 -0
- package/dist/{src/utils → utils}/i18n/index.d.ts +0 -0
- package/dist/{src/utils → utils}/i18n/types.d.ts +5 -2
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/validation.d.ts +37 -0
- package/package.json +17 -15
- package/dist/.eslintrc.js +0 -456
- package/dist/.stylelintrc.js +0 -119
- package/dist/src/components/accordion/cl-ui-accordion.vue.d.ts +0 -47
- package/dist/src/components/accordion/index.d.ts +0 -2
- package/dist/src/components/header/menu/cl-ui-header-menu.vue.d.ts +0 -16
- package/dist/src/components/header/menu/types.d.ts +0 -5
- package/dist/src/components/modal/cl-ui-modal.vue.d.ts +0 -107
- package/dist/src/components/navigation/cl-ui-navigation.vue.d.ts +0 -669
- package/dist/src/components/navigation/index.d.ts +0 -2
- package/dist/src/components/navigation/types.d.ts +0 -18
- package/dist/src/utils/copy.d.ts +0 -8
- package/dist/src/utils/debouncer.d.ts +0 -13
- package/dist/src/utils/extensions/string/index.d.ts +0 -2
- package/dist/src/utils/extensions/string/utils.d.ts +0 -83
- package/dist/src/utils/id.d.ts +0 -6
- package/dist/src/utils/index.d.ts +0 -8
- package/dist/src/utils/name-of.d.ts +0 -7
- package/dist/src/utils/sort.d.ts +0 -9
- package/dist/src/utils/url-params.d.ts +0 -8
- package/dist/theme.js +0 -121
|
@@ -73,7 +73,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
73
73
|
currentSelection: import("vue").Ref<number>;
|
|
74
74
|
firstIndexInResults: import("vue").ComputedRef<number>;
|
|
75
75
|
container: import("vue").Ref<HTMLElement | undefined>;
|
|
76
|
-
searchBox: import("vue").Ref<HTMLInputElement | undefined>;
|
|
77
76
|
search: (keyboardEvent?: KeyboardEvent | undefined) => void;
|
|
78
77
|
selectObject: (id: number) => void;
|
|
79
78
|
createObject: () => void;
|
|
@@ -86,6 +85,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
86
85
|
updateAddNewOption: () => void;
|
|
87
86
|
updateSelectedObjectIndex: (index: number) => void;
|
|
88
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>, {}>;
|
|
89
89
|
ClUiComboBoxHeader: import("vue").DefineComponent<{
|
|
90
90
|
showClearButton: {
|
|
91
91
|
type: BooleanConstructor;
|
|
@@ -104,19 +104,27 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
104
104
|
};
|
|
105
105
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
106
106
|
'clear-object': null;
|
|
107
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
108
|
-
showClearButton
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
text:
|
|
114
|
-
|
|
115
|
-
|
|
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
|
+
}>> & {
|
|
116
124
|
"onClear-object"?: ((...args: any[]) => any) | undefined;
|
|
117
125
|
}, {
|
|
118
|
-
showClearButton: boolean;
|
|
119
126
|
text: string;
|
|
127
|
+
showClearButton: boolean;
|
|
120
128
|
additionalText: string;
|
|
121
129
|
}>;
|
|
122
130
|
ClUiComboBoxSelectable: import("vue").DefineComponent<{
|
|
@@ -138,7 +146,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
138
146
|
option: {
|
|
139
147
|
type: null;
|
|
140
148
|
required: false;
|
|
141
|
-
default:
|
|
149
|
+
default: null;
|
|
142
150
|
};
|
|
143
151
|
index: {
|
|
144
152
|
type: NumberConstructor;
|
|
@@ -163,19 +171,32 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
163
171
|
'create-object': null;
|
|
164
172
|
'select-object': null;
|
|
165
173
|
'option-highlighted': null;
|
|
166
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
167
|
-
isCreateNewOption
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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
|
+
}>> & {
|
|
179
200
|
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
180
201
|
"onSelect-object"?: ((...args: any[]) => any) | undefined;
|
|
181
202
|
"onOption-highlighted"?: ((...args: any[]) => any) | undefined;
|
|
@@ -191,27 +212,52 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
191
212
|
'select-object': null;
|
|
192
213
|
search: null;
|
|
193
214
|
'hide-dropdown': null;
|
|
194
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
195
|
-
loading
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
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
|
+
}>> & {
|
|
215
261
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
216
262
|
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
217
263
|
"onClear-object"?: ((...args: any[]) => any) | undefined;
|
|
@@ -16,19 +16,27 @@ 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
|
-
text:
|
|
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
|
-
showClearButton: boolean;
|
|
31
38
|
text: string;
|
|
39
|
+
showClearButton: boolean;
|
|
32
40
|
additionalText: string;
|
|
33
41
|
}>;
|
|
34
42
|
export default _sfc_main;
|
|
@@ -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,19 +43,32 @@ 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;
|
|
File without changes
|
|
File without changes
|
|
@@ -20,7 +20,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
20
20
|
record: Record<string, unknown>;
|
|
21
21
|
editMode: boolean;
|
|
22
22
|
};
|
|
23
|
-
emit: ((event: "
|
|
23
|
+
emit: ((event: "focus", ...args: any[]) => void) & ((event: "edit", ...args: any[]) => void) & ((event: "undo-edit", ...args: any[]) => void);
|
|
24
24
|
d: {
|
|
25
25
|
(value: string | number | Date): string;
|
|
26
26
|
(value: string | number | Date, key: string): string;
|
|
@@ -43,21 +43,28 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
43
43
|
cellFocused: () => void;
|
|
44
44
|
DateFormat: typeof DateFormat;
|
|
45
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>, {}>;
|
|
46
47
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
48
|
edit: null;
|
|
48
49
|
focus: null;
|
|
49
50
|
'undo-edit': null;
|
|
50
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
51
|
-
column
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
|
|
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
|
+
}>> & {
|
|
60
66
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
onEdit?: ((...args: any[]) => any) | undefined;
|
|
61
68
|
"onUndo-edit"?: ((...args: any[]) => any) | undefined;
|
|
62
69
|
}, {
|
|
63
70
|
editMode: boolean;
|