@citruslime/ui 4.0.0-beta.8 → 4.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 +1 -1
- package/dist/citrus-lime-ui.es.js +4024 -3902
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/components/accordion/cl-ui-accordion.vue.d.ts +13 -38
- package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +8 -3
- package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +13 -37
- package/dist/components/app/cl-ui-app.vue.d.ts +10 -34
- package/dist/components/button/cl-ui-button.vue.d.ts +17 -47
- package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +19 -31
- package/dist/components/calendar/cl-ui-calendar.vue.d.ts +18 -68
- package/dist/components/calendar/cl-ui-quick-dates-group.vue.d.ts +6 -17
- package/dist/components/calendar/cl-ui-quick-dates.vue.d.ts +6 -17
- package/dist/components/card/cl-ui-card.vue.d.ts +13 -40
- package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +29 -90
- package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +18 -63
- package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +9 -37
- package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +12 -44
- package/dist/components/currency/cl-ui-currency-input.vue.d.ts +13 -49
- package/dist/components/file-uploader/cl-ui-file-uploader.vue.d.ts +17 -44
- package/dist/components/footer/cl-ui-footer.vue.d.ts +12 -5
- package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +17 -38
- package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +23 -49
- package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +7 -19
- package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +13 -39
- package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +13 -39
- package/dist/components/grid/cl-ui-grid.vue.d.ts +47 -104
- package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +7 -34
- package/dist/components/grid/header/cl-ui-grid-filter-input.vue.d.ts +8 -23
- package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +15 -29
- package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +13 -29
- package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +8 -20
- package/dist/components/grid/header/cl-ui-grid-search.vue.d.ts +21 -43
- package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +8 -17
- package/dist/components/grid-lite/body/cl-ui-grid-lite-body-skeleton.vue.d.ts +3 -14
- package/dist/components/grid-lite/body/cl-ui-grid-lite-body.vue.d.ts +14 -49
- package/dist/components/grid-lite/body/cl-ui-grid-lite-cell.vue.d.ts +7 -18
- package/dist/components/grid-lite/body/cl-ui-grid-lite-row.vue.d.ts +7 -19
- package/dist/components/grid-lite/cl-ui-grid-lite.vue.d.ts +21 -66
- package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer.vue.d.ts +14 -47
- package/dist/components/grid-lite/header/cl-ui-grid-lite-header.vue.d.ts +14 -45
- package/dist/components/header/cl-ui-header.vue.d.ts +12 -24
- package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +15 -46
- package/dist/components/input/cl-ui-input.vue.d.ts +49 -487
- package/dist/components/input-v2/input-checkbox/cl-ui-input-checkbox.vue.d.ts +24 -49
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range-input.vue.d.ts +9 -15
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range.vue.d.ts +28 -96
- package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +33 -112
- package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +12 -40
- package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +37 -123
- package/dist/components/input-v2/input-range/cl-ui-input-range.vue.d.ts +23 -78
- package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +31 -75
- package/dist/components/input-v2/input-text-area/cl-ui-input-text-area.vue.d.ts +22 -49
- package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +8 -34
- package/dist/components/login/cl-ui-login.vue.d.ts +16 -43
- package/dist/components/menu/cl-ui-menu.vue.d.ts +26 -197
- package/dist/components/menu/group/cl-ui-menu-group.vue.d.ts +11 -24
- package/dist/components/menu/icon/cl-ui-menu-icon.vue.d.ts +3 -13
- package/dist/components/menu/item/cl-ui-menu-item.vue.d.ts +5 -5
- package/dist/components/menu/section/cl-ui-menu-section.vue.d.ts +7 -42
- package/dist/components/modal/cl-ui-modal.vue.d.ts +31 -66
- package/dist/components/navigation/cl-ui-navigation.vue.d.ts +22 -50
- package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +7 -18
- package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +5 -29
- package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +8 -3
- package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +10 -4
- package/dist/components/notification/cl-ui-notification.vue.d.ts +7 -35
- package/dist/components/select/cl-ui-select.vue.d.ts +28 -147
- package/dist/components/select/select-input/cl-ui-select-input.vue.d.ts +10 -12
- package/dist/components/select/select-options/cl-ui-select-option.vue.d.ts +14 -42
- package/dist/components/skeleton-loaders/cl-ui-skeleton-text.vue.d.ts +11 -36
- package/dist/components/slider/cl-ui-slider.vue.d.ts +14 -54
- package/dist/components/tab/cl-ui-tab.vue.d.ts +27 -60
- package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +10 -34
- package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +16 -47
- package/dist/components/toggle/cl-ui-radio-group.vue.d.ts +10 -22
- package/dist/components/toggle/cl-ui-radio.vue.d.ts +13 -39
- package/dist/components/toggle/cl-ui-toggle-button.vue.d.ts +10 -33
- package/dist/components/toggle/cl-ui-toggle.vue.d.ts +22 -45
- package/dist/components/tree-list/cl-ui-tree-list-subtree.vue.d.ts +20 -58
- package/dist/components/tree-list/cl-ui-tree-list-tree-path.vue.d.ts +3 -13
- package/dist/components/tree-list/cl-ui-tree-list.vue.d.ts +12 -40
- package/dist/ui.css +1 -0
- package/dist/utils/injectionKeys.d.ts +1 -1
- package/package.json +13 -9
- package/dist/style.css +0 -1
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
import type { clUiMenuGroup } from '.';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
default(props: {
|
|
4
|
+
toggleOpen: typeof toggleOpen;
|
|
5
|
+
groupIsOpen: typeof groupIsOpen;
|
|
6
|
+
}): typeof clUiMenuGroup;
|
|
7
|
+
searchInput: any;
|
|
8
|
+
footer(props: {
|
|
9
|
+
toggleOpen: typeof toggleOpen;
|
|
10
|
+
groupIsOpen: typeof groupIsOpen;
|
|
11
|
+
}): any;
|
|
12
|
+
};
|
|
1
13
|
/**
|
|
2
14
|
* Checks whether the group with the provided ID is open. If it does not yet exist in the list, a new group is added for it (defaults to closed).
|
|
3
15
|
*
|
|
@@ -11,205 +23,22 @@ declare function groupIsOpen(id: number): boolean;
|
|
|
11
23
|
* @param id The ID of the group to toggle the open state of.
|
|
12
24
|
*/
|
|
13
25
|
declare function toggleOpen(id: number): void;
|
|
14
|
-
|
|
15
|
-
open:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"update:open": (
|
|
21
|
-
"
|
|
22
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
23
|
-
open: {
|
|
24
|
-
required: true;
|
|
25
|
-
type: import("vue").PropType<boolean>;
|
|
26
|
-
};
|
|
27
|
-
}>> & Readonly<{
|
|
26
|
+
type __VLS_PublicProps = {
|
|
27
|
+
'open': boolean;
|
|
28
|
+
'pinned'?: boolean;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
+
"search-clicked": () => any;
|
|
32
|
+
"update:open": (value: boolean) => any;
|
|
33
|
+
"update:pinned": (value: boolean) => any;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
35
|
"onSearch-clicked"?: (() => any) | undefined;
|
|
29
|
-
"onUpdate:open"?: ((
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
groupIsOpen: typeof groupIsOpen;
|
|
34
|
-
}): {
|
|
35
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
-
title: {
|
|
37
|
-
type: import("vue").PropType<string>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
iconValue: {
|
|
41
|
-
type: import("vue").PropType<string>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
open: {
|
|
45
|
-
type: import("vue").PropType<boolean>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
menuOpen: {
|
|
49
|
-
type: import("vue").PropType<boolean>;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
}>> & Readonly<{
|
|
53
|
-
"onToggle-open"?: (() => any) | undefined;
|
|
54
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
|
-
"toggle-open": () => void;
|
|
56
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
57
|
-
P: {};
|
|
58
|
-
B: {};
|
|
59
|
-
D: {};
|
|
60
|
-
C: {};
|
|
61
|
-
M: {};
|
|
62
|
-
Defaults: {};
|
|
63
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
-
title: {
|
|
65
|
-
type: import("vue").PropType<string>;
|
|
66
|
-
required: true;
|
|
67
|
-
};
|
|
68
|
-
iconValue: {
|
|
69
|
-
type: import("vue").PropType<string>;
|
|
70
|
-
required: true;
|
|
71
|
-
};
|
|
72
|
-
open: {
|
|
73
|
-
type: import("vue").PropType<boolean>;
|
|
74
|
-
required: true;
|
|
75
|
-
};
|
|
76
|
-
menuOpen: {
|
|
77
|
-
type: import("vue").PropType<boolean>;
|
|
78
|
-
required: true;
|
|
79
|
-
};
|
|
80
|
-
}>> & Readonly<{
|
|
81
|
-
"onToggle-open"?: (() => any) | undefined;
|
|
82
|
-
}>, {}, {}, {}, {}, {}>;
|
|
83
|
-
__isFragment?: undefined;
|
|
84
|
-
__isTeleport?: undefined;
|
|
85
|
-
__isSuspense?: undefined;
|
|
86
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
87
|
-
title: {
|
|
88
|
-
type: import("vue").PropType<string>;
|
|
89
|
-
required: true;
|
|
90
|
-
};
|
|
91
|
-
iconValue: {
|
|
92
|
-
type: import("vue").PropType<string>;
|
|
93
|
-
required: true;
|
|
94
|
-
};
|
|
95
|
-
open: {
|
|
96
|
-
type: import("vue").PropType<boolean>;
|
|
97
|
-
required: true;
|
|
98
|
-
};
|
|
99
|
-
menuOpen: {
|
|
100
|
-
type: import("vue").PropType<boolean>;
|
|
101
|
-
required: true;
|
|
102
|
-
};
|
|
103
|
-
}>> & Readonly<{
|
|
104
|
-
"onToggle-open"?: (() => any) | undefined;
|
|
105
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
106
|
-
"toggle-open": () => void;
|
|
107
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
108
|
-
$slots: Readonly<{
|
|
109
|
-
default(): any;
|
|
110
|
-
}> & {
|
|
111
|
-
default(): any;
|
|
112
|
-
};
|
|
113
|
-
});
|
|
114
|
-
menuHeader: any;
|
|
115
|
-
searchInput: any;
|
|
116
|
-
footer(props: {
|
|
117
|
-
toggleOpen: typeof toggleOpen;
|
|
118
|
-
groupIsOpen: typeof groupIsOpen;
|
|
119
|
-
}): any;
|
|
120
|
-
}> & {
|
|
121
|
-
default(props: {
|
|
122
|
-
toggleOpen: typeof toggleOpen;
|
|
123
|
-
groupIsOpen: typeof groupIsOpen;
|
|
124
|
-
}): {
|
|
125
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
126
|
-
title: {
|
|
127
|
-
type: import("vue").PropType<string>;
|
|
128
|
-
required: true;
|
|
129
|
-
};
|
|
130
|
-
iconValue: {
|
|
131
|
-
type: import("vue").PropType<string>;
|
|
132
|
-
required: true;
|
|
133
|
-
};
|
|
134
|
-
open: {
|
|
135
|
-
type: import("vue").PropType<boolean>;
|
|
136
|
-
required: true;
|
|
137
|
-
};
|
|
138
|
-
menuOpen: {
|
|
139
|
-
type: import("vue").PropType<boolean>;
|
|
140
|
-
required: true;
|
|
141
|
-
};
|
|
142
|
-
}>> & Readonly<{
|
|
143
|
-
"onToggle-open"?: (() => any) | undefined;
|
|
144
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
145
|
-
"toggle-open": () => void;
|
|
146
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
147
|
-
P: {};
|
|
148
|
-
B: {};
|
|
149
|
-
D: {};
|
|
150
|
-
C: {};
|
|
151
|
-
M: {};
|
|
152
|
-
Defaults: {};
|
|
153
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
154
|
-
title: {
|
|
155
|
-
type: import("vue").PropType<string>;
|
|
156
|
-
required: true;
|
|
157
|
-
};
|
|
158
|
-
iconValue: {
|
|
159
|
-
type: import("vue").PropType<string>;
|
|
160
|
-
required: true;
|
|
161
|
-
};
|
|
162
|
-
open: {
|
|
163
|
-
type: import("vue").PropType<boolean>;
|
|
164
|
-
required: true;
|
|
165
|
-
};
|
|
166
|
-
menuOpen: {
|
|
167
|
-
type: import("vue").PropType<boolean>;
|
|
168
|
-
required: true;
|
|
169
|
-
};
|
|
170
|
-
}>> & Readonly<{
|
|
171
|
-
"onToggle-open"?: (() => any) | undefined;
|
|
172
|
-
}>, {}, {}, {}, {}, {}>;
|
|
173
|
-
__isFragment?: undefined;
|
|
174
|
-
__isTeleport?: undefined;
|
|
175
|
-
__isSuspense?: undefined;
|
|
176
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
177
|
-
title: {
|
|
178
|
-
type: import("vue").PropType<string>;
|
|
179
|
-
required: true;
|
|
180
|
-
};
|
|
181
|
-
iconValue: {
|
|
182
|
-
type: import("vue").PropType<string>;
|
|
183
|
-
required: true;
|
|
184
|
-
};
|
|
185
|
-
open: {
|
|
186
|
-
type: import("vue").PropType<boolean>;
|
|
187
|
-
required: true;
|
|
188
|
-
};
|
|
189
|
-
menuOpen: {
|
|
190
|
-
type: import("vue").PropType<boolean>;
|
|
191
|
-
required: true;
|
|
192
|
-
};
|
|
193
|
-
}>> & Readonly<{
|
|
194
|
-
"onToggle-open"?: (() => any) | undefined;
|
|
195
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
196
|
-
"toggle-open": () => void;
|
|
197
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
198
|
-
$slots: Readonly<{
|
|
199
|
-
default(): any;
|
|
200
|
-
}> & {
|
|
201
|
-
default(): any;
|
|
202
|
-
};
|
|
203
|
-
});
|
|
204
|
-
menuHeader: any;
|
|
205
|
-
searchInput: any;
|
|
206
|
-
footer(props: {
|
|
207
|
-
toggleOpen: typeof toggleOpen;
|
|
208
|
-
groupIsOpen: typeof groupIsOpen;
|
|
209
|
-
}): any;
|
|
210
|
-
}>;
|
|
36
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
37
|
+
"onUpdate:pinned"?: ((value: boolean) => any) | undefined;
|
|
38
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
211
40
|
export default _default;
|
|
212
|
-
type
|
|
41
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
213
42
|
new (): {
|
|
214
43
|
$slots: S;
|
|
215
44
|
};
|
|
@@ -1,34 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
title: string;
|
|
3
3
|
iconValue: string;
|
|
4
4
|
open: boolean;
|
|
5
5
|
menuOpen: boolean;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
9
|
-
title: string;
|
|
10
|
-
iconValue: string;
|
|
11
|
-
open: boolean;
|
|
12
|
-
menuOpen: boolean;
|
|
13
|
-
}>>> & Readonly<{
|
|
14
|
-
"onToggle-open"?: (() => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
16
|
-
default(): any;
|
|
17
|
-
}> & {
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Slots = {
|
|
18
8
|
default(): any;
|
|
19
|
-
}
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"toggle-open": () => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
"onToggle-open"?: (() => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
20
16
|
export default _default;
|
|
21
|
-
type
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
18
|
new (): {
|
|
23
19
|
$slots: S;
|
|
24
20
|
};
|
|
25
21
|
};
|
|
26
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
-
type __VLS_TypePropsToOption<T> = {
|
|
28
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
-
} : {
|
|
31
|
-
type: import('vue').PropType<T[K]>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
iconValue: string;
|
|
3
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
4
|
-
iconValue: string;
|
|
5
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToOption<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
3
|
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Slots = {
|
|
2
2
|
default(): any;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
6
6
|
export default _default;
|
|
7
|
-
type
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
8
|
new (): {
|
|
9
9
|
$slots: S;
|
|
10
10
|
};
|
|
@@ -1,46 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
C: {};
|
|
8
|
-
M: {};
|
|
9
|
-
Defaults: {};
|
|
10
|
-
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
11
|
-
__isFragment?: undefined;
|
|
12
|
-
__isTeleport?: undefined;
|
|
13
|
-
__isSuspense?: undefined;
|
|
14
|
-
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
15
|
-
$slots: Readonly<{
|
|
16
|
-
default(): any;
|
|
17
|
-
}> & {
|
|
18
|
-
default(): any;
|
|
19
|
-
};
|
|
20
|
-
});
|
|
21
|
-
}> & {
|
|
22
|
-
default(): {
|
|
23
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
24
|
-
P: {};
|
|
25
|
-
B: {};
|
|
26
|
-
D: {};
|
|
27
|
-
C: {};
|
|
28
|
-
M: {};
|
|
29
|
-
Defaults: {};
|
|
30
|
-
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
31
|
-
__isFragment?: undefined;
|
|
32
|
-
__isTeleport?: undefined;
|
|
33
|
-
__isSuspense?: undefined;
|
|
34
|
-
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
35
|
-
$slots: Readonly<{
|
|
36
|
-
default(): any;
|
|
37
|
-
}> & {
|
|
38
|
-
default(): any;
|
|
39
|
-
};
|
|
40
|
-
});
|
|
41
|
-
}>;
|
|
1
|
+
import type { clUiMenuItem } from '..';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
default(): typeof clUiMenuItem;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
42
7
|
export default _default;
|
|
43
|
-
type
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
9
|
new (): {
|
|
45
10
|
$slots: S;
|
|
46
11
|
};
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
import type { ModalColour, ModalSize } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
headerColour?: ModalColour;
|
|
4
|
+
preventClose?: boolean;
|
|
5
|
+
size?: ModalSize;
|
|
6
|
+
trapFocus?: boolean;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
default(props: {
|
|
10
|
+
close: typeof close;
|
|
11
|
+
}): any;
|
|
12
|
+
trigger(props: {
|
|
13
|
+
open: typeof open;
|
|
14
|
+
}): any;
|
|
15
|
+
title(): any;
|
|
16
|
+
footer(props: {
|
|
17
|
+
close: typeof close;
|
|
18
|
+
}): any;
|
|
19
|
+
};
|
|
1
20
|
/**
|
|
2
21
|
* Displays the modal.
|
|
3
22
|
*/
|
|
@@ -6,76 +25,22 @@ declare function open(): void;
|
|
|
6
25
|
* Hides the modal.
|
|
7
26
|
*/
|
|
8
27
|
declare function close(): void;
|
|
9
|
-
|
|
10
|
-
visible
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
type: import("vue").PropType<string>;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
preventClose: {
|
|
20
|
-
type: import("vue").PropType<boolean>;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
trapFocus: {
|
|
24
|
-
type: import("vue").PropType<boolean>;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
"update:visible": (visible: boolean) => void;
|
|
29
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
visible: import("vue").PropType<boolean>;
|
|
31
|
-
size: {
|
|
32
|
-
type: import("vue").PropType<"small" | "medium" | "large" | "x-small">;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
headerColour: {
|
|
36
|
-
type: import("vue").PropType<string>;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
preventClose: {
|
|
40
|
-
type: import("vue").PropType<boolean>;
|
|
41
|
-
default: boolean;
|
|
42
|
-
};
|
|
43
|
-
trapFocus: {
|
|
44
|
-
type: import("vue").PropType<boolean>;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
|
-
}>> & Readonly<{
|
|
48
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
28
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
29
|
+
'visible'?: boolean;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
+
"update:visible": (value: boolean) => any;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
34
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
49
35
|
}>, {
|
|
50
|
-
size:
|
|
51
|
-
headerColour:
|
|
36
|
+
size: ModalSize;
|
|
37
|
+
headerColour: ModalColour;
|
|
52
38
|
preventClose: boolean;
|
|
53
39
|
trapFocus: boolean;
|
|
54
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
55
|
-
|
|
56
|
-
close: typeof close;
|
|
57
|
-
}): any;
|
|
58
|
-
trigger(props: {
|
|
59
|
-
open: typeof open;
|
|
60
|
-
}): any;
|
|
61
|
-
title(): any;
|
|
62
|
-
footer(props: {
|
|
63
|
-
close: typeof close;
|
|
64
|
-
}): any;
|
|
65
|
-
}> & {
|
|
66
|
-
default(props: {
|
|
67
|
-
close: typeof close;
|
|
68
|
-
}): any;
|
|
69
|
-
trigger(props: {
|
|
70
|
-
open: typeof open;
|
|
71
|
-
}): any;
|
|
72
|
-
title(): any;
|
|
73
|
-
footer(props: {
|
|
74
|
-
close: typeof close;
|
|
75
|
-
}): any;
|
|
76
|
-
}>;
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
77
42
|
export default _default;
|
|
78
|
-
type
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
79
44
|
new (): {
|
|
80
45
|
$slots: S;
|
|
81
46
|
};
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
import type { NavColour } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
colour?: NavColour;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
default(props: {
|
|
7
|
+
groupIsOpen: typeof groupIsOpen;
|
|
8
|
+
}): any;
|
|
9
|
+
icon(props: {
|
|
10
|
+
groupIsOpen: typeof groupIsOpen;
|
|
11
|
+
toggleOpen: typeof toggleOpen;
|
|
12
|
+
navcolour: NavColour;
|
|
13
|
+
}): any;
|
|
14
|
+
};
|
|
1
15
|
/**
|
|
2
16
|
* Checks whether the group with the provided ID is open. If it does not yet exist in the list, a new group is added for it (defaults to closed).
|
|
3
17
|
*
|
|
@@ -21,64 +35,22 @@ declare function restorePinnedNavigation(id?: number): void;
|
|
|
21
35
|
* Closes the navigation (if not pinned).
|
|
22
36
|
*/
|
|
23
37
|
declare function closeNavigation(): void;
|
|
24
|
-
declare const
|
|
25
|
-
colour?: "default" | "secondary" | undefined;
|
|
26
|
-
}>, {
|
|
27
|
-
colour: string;
|
|
28
|
-
}>>, {
|
|
38
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
29
39
|
closeNavigation: typeof closeNavigation;
|
|
30
40
|
restorePinnedNavigation: typeof restorePinnedNavigation;
|
|
31
41
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
-
"pinned-state": (state: boolean) =>
|
|
33
|
-
"open-state": (state: boolean, groupID?: number | undefined) =>
|
|
34
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
35
|
-
colour?: "default" | "secondary" | undefined;
|
|
36
|
-
}>, {
|
|
37
|
-
colour: string;
|
|
38
|
-
}>>> & Readonly<{
|
|
42
|
+
"pinned-state": (state: boolean) => any;
|
|
43
|
+
"open-state": (state: boolean, groupID?: number | undefined) => any;
|
|
44
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
39
45
|
"onPinned-state"?: ((state: boolean) => any) | undefined;
|
|
40
46
|
"onOpen-state"?: ((state: boolean, groupID?: number | undefined) => any) | undefined;
|
|
41
47
|
}>, {
|
|
42
|
-
colour:
|
|
43
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
44
|
-
|
|
45
|
-
groupIsOpen: typeof groupIsOpen;
|
|
46
|
-
}): any;
|
|
47
|
-
icon(props: {
|
|
48
|
-
groupIsOpen: typeof groupIsOpen;
|
|
49
|
-
toggleOpen: typeof toggleOpen;
|
|
50
|
-
navcolour: "default" | "secondary";
|
|
51
|
-
}): any;
|
|
52
|
-
}> & {
|
|
53
|
-
default(props: {
|
|
54
|
-
groupIsOpen: typeof groupIsOpen;
|
|
55
|
-
}): any;
|
|
56
|
-
icon(props: {
|
|
57
|
-
groupIsOpen: typeof groupIsOpen;
|
|
58
|
-
toggleOpen: typeof toggleOpen;
|
|
59
|
-
navcolour: "default" | "secondary";
|
|
60
|
-
}): any;
|
|
61
|
-
}>;
|
|
48
|
+
colour: NavColour;
|
|
49
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
62
51
|
export default _default;
|
|
63
|
-
type
|
|
64
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
65
|
-
default: D[K];
|
|
66
|
-
}> : P[K];
|
|
67
|
-
};
|
|
68
|
-
type __VLS_Prettify<T> = {
|
|
69
|
-
[K in keyof T]: T[K];
|
|
70
|
-
} & {};
|
|
71
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
72
53
|
new (): {
|
|
73
54
|
$slots: S;
|
|
74
55
|
};
|
|
75
56
|
};
|
|
76
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
77
|
-
type __VLS_TypePropsToOption<T> = {
|
|
78
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
79
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
80
|
-
} : {
|
|
81
|
-
type: import('vue').PropType<T[K]>;
|
|
82
|
-
required: true;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
@@ -1,26 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
open: boolean;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
6
|
-
default(): any;
|
|
7
|
-
title(): any;
|
|
8
|
-
}> & {
|
|
3
|
+
};
|
|
4
|
+
type __VLS_Slots = {
|
|
9
5
|
default(): any;
|
|
10
6
|
title(): any;
|
|
11
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
10
|
export default _default;
|
|
13
|
-
type
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
12
|
new (): {
|
|
15
13
|
$slots: S;
|
|
16
14
|
};
|
|
17
15
|
};
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToOption<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: import('vue').PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
@@ -1,33 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
iconValue: string;
|
|
3
3
|
open: boolean;
|
|
4
|
-
colour?: string
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
8
|
-
iconValue: string;
|
|
9
|
-
open: boolean;
|
|
10
|
-
colour?: string | undefined;
|
|
11
|
-
}>, {
|
|
12
|
-
colour: string;
|
|
13
|
-
}>>> & Readonly<{}>, {
|
|
4
|
+
colour?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
7
|
colour: string;
|
|
15
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
9
|
export default _default;
|
|
17
|
-
type __VLS_WithDefaults<P, D> = {
|
|
18
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
19
|
-
default: D[K];
|
|
20
|
-
}> : P[K];
|
|
21
|
-
};
|
|
22
|
-
type __VLS_Prettify<T> = {
|
|
23
|
-
[K in keyof T]: T[K];
|
|
24
|
-
} & {};
|
|
25
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
-
type __VLS_TypePropsToOption<T> = {
|
|
27
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
-
} : {
|
|
30
|
-
type: import('vue').PropType<T[K]>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
};
|