@citruslime/ui 2.1.3 → 2.1.4-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/dist/citrus-lime-ui.es.js +109 -109
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/components/accordion/cl-ui-accordion.d.ts +5 -13
- package/dist/components/accordion/item/cl-ui-accordion-item.d.ts +7 -11
- package/dist/components/app/cl-ui-app.d.ts +5 -41
- package/dist/components/button/cl-ui-button.d.ts +14 -15
- package/dist/components/calendar/cl-ui-calendar.d.ts +101 -2
- package/dist/components/card/cl-ui-card.d.ts +7 -7
- package/dist/components/combo-box/cl-ui-combo-box.d.ts +40 -2252
- package/dist/components/combo-box/search-container/cl-ui-combo-box-search.d.ts +29 -782
- package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.d.ts +10 -10
- package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.d.ts +17 -25
- package/dist/components/grid/action-row/cl-ui-grid-action-row.d.ts +11 -72
- package/dist/components/grid/body/cl-ui-grid-body.d.ts +17 -826
- package/dist/components/grid/body/cl-ui-grid-cell-value.d.ts +7 -628
- package/dist/components/grid/body/cl-ui-grid-cell.d.ts +10 -659
- package/dist/components/grid/body/cl-ui-grid-row.d.ts +9 -694
- package/dist/components/grid/cl-ui-grid.d.ts +15 -3110
- package/dist/components/grid/footer/cl-ui-grid-footer.d.ts +8 -644
- package/dist/components/grid/header/cl-ui-grid-filter.d.ts +10 -696
- package/dist/components/grid/header/cl-ui-grid-header.d.ts +11 -757
- package/dist/components/grid/header/cl-ui-grid-method-selector.d.ts +12 -25
- package/dist/components/grid/view-manager/cl-ui-grid-view-manager.d.ts +4 -682
- package/dist/components/header/menu/cl-ui-header-menu.d.ts +13 -18
- package/dist/components/input/cl-ui-input.d.ts +74 -327
- package/dist/components/language-switcher/cl-ui-language-switcher.d.ts +10 -20
- package/dist/components/login/cl-ui-login.d.ts +8 -689
- package/dist/components/modal/cl-ui-modal.d.ts +11 -17
- package/dist/components/navigation/cl-ui-navigation.d.ts +2 -20
- package/dist/components/navigation/group/cl-ui-navigation-group.d.ts +3 -3
- package/dist/components/navigation/icon/cl-ui-navigation-icon.d.ts +5 -5
- package/dist/components/notification/cl-ui-notification.d.ts +8 -17
- package/dist/components/slider/cl-ui-slider.d.ts +20 -43
- package/dist/components/tab/cl-ui-tab.d.ts +11 -21
- package/dist/components/tab/header/cl-ui-tab-header.d.ts +12 -19
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
1
|
+
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType as __PropType } from 'vue';
|
|
2
2
|
declare const _sfc_main: DefineComponent<{
|
|
3
3
|
showClearButton: {
|
|
4
|
-
type:
|
|
4
|
+
type: __PropType<boolean | undefined>;
|
|
5
5
|
required: false;
|
|
6
6
|
default: boolean;
|
|
7
7
|
};
|
|
8
8
|
text: {
|
|
9
|
-
type:
|
|
9
|
+
type: __PropType<string | undefined>;
|
|
10
10
|
required: false;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
13
|
additionalText: {
|
|
14
|
-
type:
|
|
14
|
+
type: __PropType<string | undefined>;
|
|
15
15
|
required: false;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
@@ -19,25 +19,25 @@ declare const _sfc_main: DefineComponent<{
|
|
|
19
19
|
'clear-object': null;
|
|
20
20
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
21
21
|
showClearButton: {
|
|
22
|
-
type:
|
|
22
|
+
type: __PropType<boolean | undefined>;
|
|
23
23
|
required: false;
|
|
24
24
|
default: boolean;
|
|
25
25
|
};
|
|
26
26
|
text: {
|
|
27
|
-
type:
|
|
27
|
+
type: __PropType<string | undefined>;
|
|
28
28
|
required: false;
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
31
|
additionalText: {
|
|
32
|
-
type:
|
|
32
|
+
type: __PropType<string | undefined>;
|
|
33
33
|
required: false;
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
36
|
}>> & {
|
|
37
37
|
"onClear-object"?: ((...args: any[]) => any) | undefined;
|
|
38
38
|
}, {
|
|
39
|
-
text: string;
|
|
40
|
-
showClearButton: boolean;
|
|
41
|
-
additionalText: string;
|
|
39
|
+
text: string | undefined;
|
|
40
|
+
showClearButton: boolean | undefined;
|
|
41
|
+
additionalText: string | undefined;
|
|
42
42
|
}>;
|
|
43
43
|
export default _sfc_main;
|
package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.d.ts
CHANGED
|
@@ -1,65 +1,57 @@
|
|
|
1
|
-
import type { DefineComponent,
|
|
1
|
+
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType as __PropType } from 'vue';
|
|
2
|
+
import type { ComboBoxItem } from '../../types';
|
|
2
3
|
declare const _sfc_main: DefineComponent<{
|
|
3
4
|
isCreateNewOption: {
|
|
4
|
-
type:
|
|
5
|
+
type: __PropType<boolean | undefined>;
|
|
5
6
|
required: false;
|
|
6
7
|
default: boolean;
|
|
7
8
|
};
|
|
8
9
|
selectedIndex: {
|
|
9
|
-
type:
|
|
10
|
+
type: __PropType<number | undefined>;
|
|
10
11
|
required: false;
|
|
11
12
|
default: number;
|
|
12
13
|
};
|
|
13
14
|
text: {
|
|
14
|
-
type:
|
|
15
|
+
type: __PropType<string | undefined>;
|
|
15
16
|
required: false;
|
|
16
17
|
default: string;
|
|
17
18
|
};
|
|
18
19
|
option: {
|
|
19
|
-
type: null
|
|
20
|
+
type: __PropType<ComboBoxItem | null | undefined>;
|
|
20
21
|
required: false;
|
|
21
22
|
default: null;
|
|
22
23
|
};
|
|
23
24
|
index: {
|
|
24
|
-
type:
|
|
25
|
+
type: __PropType<number>;
|
|
25
26
|
required: true;
|
|
26
27
|
};
|
|
27
|
-
}, {
|
|
28
|
-
props: any;
|
|
29
|
-
emit: ((event: "create-object", ...args: any[]) => void) & ((event: "select-object", ...args: any[]) => void) & ((event: "option-highlighted", ...args: any[]) => void);
|
|
30
|
-
displayedText: ComputedRef<string>;
|
|
31
|
-
displayedParent: ComputedRef<string>;
|
|
32
|
-
isHighlighted: Ref<boolean>;
|
|
33
|
-
optionSelected: () => void;
|
|
34
|
-
onHover: (hovered: boolean) => void;
|
|
35
|
-
updateHighlight: () => void;
|
|
36
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
28
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
37
29
|
'create-object': null;
|
|
38
30
|
'select-object': null;
|
|
39
31
|
'option-highlighted': null;
|
|
40
32
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
41
33
|
isCreateNewOption: {
|
|
42
|
-
type:
|
|
34
|
+
type: __PropType<boolean | undefined>;
|
|
43
35
|
required: false;
|
|
44
36
|
default: boolean;
|
|
45
37
|
};
|
|
46
38
|
selectedIndex: {
|
|
47
|
-
type:
|
|
39
|
+
type: __PropType<number | undefined>;
|
|
48
40
|
required: false;
|
|
49
41
|
default: number;
|
|
50
42
|
};
|
|
51
43
|
text: {
|
|
52
|
-
type:
|
|
44
|
+
type: __PropType<string | undefined>;
|
|
53
45
|
required: false;
|
|
54
46
|
default: string;
|
|
55
47
|
};
|
|
56
48
|
option: {
|
|
57
|
-
type: null
|
|
49
|
+
type: __PropType<ComboBoxItem | null | undefined>;
|
|
58
50
|
required: false;
|
|
59
51
|
default: null;
|
|
60
52
|
};
|
|
61
53
|
index: {
|
|
62
|
-
type:
|
|
54
|
+
type: __PropType<number>;
|
|
63
55
|
required: true;
|
|
64
56
|
};
|
|
65
57
|
}>> & {
|
|
@@ -67,9 +59,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
67
59
|
"onSelect-object"?: ((...args: any[]) => any) | undefined;
|
|
68
60
|
"onOption-highlighted"?: ((...args: any[]) => any) | undefined;
|
|
69
61
|
}, {
|
|
70
|
-
text: string;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
62
|
+
text: string | undefined;
|
|
63
|
+
option: ComboBoxItem | null | undefined;
|
|
64
|
+
isCreateNewOption: boolean | undefined;
|
|
65
|
+
selectedIndex: number | undefined;
|
|
74
66
|
}>;
|
|
75
67
|
export default _sfc_main;
|
|
@@ -1,98 +1,37 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
|
-
import { isFilterable, isSortable } from '../utils';
|
|
1
|
+
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType as __PropType } from 'vue';
|
|
2
|
+
import type { GridColumn, GridConfig } from '../types';
|
|
5
3
|
declare const _sfc_main: DefineComponent<{
|
|
6
4
|
editMode: {
|
|
7
|
-
type:
|
|
5
|
+
type: __PropType<boolean>;
|
|
8
6
|
required: true;
|
|
9
7
|
};
|
|
10
8
|
filterPanelOpen: {
|
|
11
|
-
type:
|
|
9
|
+
type: __PropType<boolean>;
|
|
12
10
|
required: true;
|
|
13
11
|
};
|
|
14
12
|
columns: {
|
|
15
|
-
type:
|
|
13
|
+
type: __PropType<GridColumn<Record<string, unknown>>[]>;
|
|
16
14
|
required: true;
|
|
17
15
|
};
|
|
18
16
|
options: {
|
|
19
|
-
type:
|
|
17
|
+
type: __PropType<Partial<GridConfig>>;
|
|
20
18
|
required: true;
|
|
21
19
|
};
|
|
22
|
-
}, {
|
|
23
|
-
t: ComposerTranslation<{
|
|
24
|
-
[x: string]: LocaleMessage<VueMessageType>;
|
|
25
|
-
}, string, RemoveIndexSignature<{
|
|
26
|
-
[x: string]: LocaleMessageValue<VueMessageType>;
|
|
27
|
-
}>, never, string, string>;
|
|
28
|
-
clUiButton: DefineComponent<{
|
|
29
|
-
colour: {
|
|
30
|
-
type: null;
|
|
31
|
-
required: false;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
size: {
|
|
35
|
-
type: null;
|
|
36
|
-
required: false;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
loading: {
|
|
40
|
-
type: BooleanConstructor;
|
|
41
|
-
required: false;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
disabled: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
required: false;
|
|
47
|
-
default: boolean;
|
|
48
|
-
};
|
|
49
|
-
}, {
|
|
50
|
-
buttonRef: Ref<HTMLButtonElement | null>;
|
|
51
|
-
ClUiLoadingSpinner: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
|
|
52
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
53
|
-
colour: {
|
|
54
|
-
type: null;
|
|
55
|
-
required: false;
|
|
56
|
-
default: string;
|
|
57
|
-
};
|
|
58
|
-
size: {
|
|
59
|
-
type: null;
|
|
60
|
-
required: false;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
loading: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
required: false;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
disabled: {
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
required: false;
|
|
71
|
-
default: boolean;
|
|
72
|
-
};
|
|
73
|
-
}>>, {
|
|
74
|
-
disabled: boolean;
|
|
75
|
-
colour: any;
|
|
76
|
-
size: any;
|
|
77
|
-
loading: boolean;
|
|
78
|
-
}>;
|
|
79
|
-
readonly isFilterable: typeof isFilterable;
|
|
80
|
-
readonly isSortable: typeof isSortable;
|
|
81
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:edit-mode" | "update:filterPanelOpen" | "clear-filters")[], "update:edit-mode" | "update:filterPanelOpen" | "clear-filters", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
20
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:edit-mode" | "update:filterPanelOpen" | "clear-filters")[], "update:edit-mode" | "update:filterPanelOpen" | "clear-filters", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
82
21
|
editMode: {
|
|
83
|
-
type:
|
|
22
|
+
type: __PropType<boolean>;
|
|
84
23
|
required: true;
|
|
85
24
|
};
|
|
86
25
|
filterPanelOpen: {
|
|
87
|
-
type:
|
|
26
|
+
type: __PropType<boolean>;
|
|
88
27
|
required: true;
|
|
89
28
|
};
|
|
90
29
|
columns: {
|
|
91
|
-
type:
|
|
30
|
+
type: __PropType<GridColumn<Record<string, unknown>>[]>;
|
|
92
31
|
required: true;
|
|
93
32
|
};
|
|
94
33
|
options: {
|
|
95
|
-
type:
|
|
34
|
+
type: __PropType<Partial<GridConfig>>;
|
|
96
35
|
required: true;
|
|
97
36
|
};
|
|
98
37
|
}>> & {
|