@speckle/ui-components 2.23.7 → 2.23.9
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/App.vue.d.ts +2 -0
- package/dist/AvatarEditor-2d926b04.cjs +2 -0
- package/dist/AvatarEditor-2d926b04.cjs.map +1 -0
- package/dist/{AvatarEditor-25fde016.js → AvatarEditor-844e9444.js} +63 -63
- package/dist/AvatarEditor-844e9444.js.map +1 -0
- package/dist/components/InfiniteLoading.vue.d.ts +15 -36
- package/dist/components/SourceAppBadge.vue.d.ts +4 -14
- package/dist/components/common/Alert.vue.d.ts +25 -46
- package/dist/components/common/Badge.vue.d.ts +24 -50
- package/dist/components/common/ProgressBar.vue.d.ts +3 -14
- package/dist/components/common/VimeoEmbed.vue.d.ts +6 -20
- package/dist/components/common/animation/ClickIcon.vue.d.ts +1 -1
- package/dist/components/common/animation/Instructional.vue.d.ts +14 -6
- package/dist/components/common/animation/MouseIcon.vue.d.ts +1 -1
- package/dist/components/common/loading/Bar.vue.d.ts +4 -15
- package/dist/components/common/loading/Icon.vue.d.ts +6 -31
- package/dist/components/common/steps/Bullet.vue.d.ts +15 -32
- package/dist/components/common/steps/Number.vue.d.ts +14 -30
- package/dist/components/common/text/Link.vue.d.ts +23 -15
- package/dist/components/form/Button.vue.d.ts +34 -101
- package/dist/components/form/CardButton.vue.d.ts +19 -22
- package/dist/components/form/Checkbox.vue.d.ts +15 -15
- package/dist/components/form/ClipboardInput.vue.d.ts +5 -26
- package/dist/components/form/CodeInput.vue.d.ts +504 -0
- package/dist/components/form/Radio.vue.d.ts +15 -15
- package/dist/components/form/RadioGroup.vue.d.ts +25 -26
- package/dist/components/form/Switch.vue.d.ts +16 -40
- package/dist/components/form/Tags.vue.d.ts +95 -80
- package/dist/components/form/TextArea.vue.d.ts +45 -96
- package/dist/components/form/TextInput.vue.d.ts +53 -40
- package/dist/components/form/file-upload/Zone.vue.d.ts +36 -60
- package/dist/components/form/select/Badges.vue.d.ts +11 -30
- package/dist/components/form/select/Base.vue.d.ts +86 -173
- package/dist/components/form/select/Multi.vue.d.ts +84 -168
- package/dist/components/form/select/SourceApps.vue.d.ts +13 -10
- package/dist/components/form/tags/ContextManager.vue.d.ts +12 -4
- package/dist/components/global/ToastRenderer.vue.d.ts +8 -18
- package/dist/components/global/icon/ArrowFilled.vue.d.ts +1 -1
- package/dist/components/global/icon/Edit.vue.d.ts +1 -1
- package/dist/components/global/icon/Plus.vue.d.ts +1 -1
- package/dist/components/layout/Dialog.vue.d.ts +36 -65
- package/dist/components/layout/DialogSection.vue.d.ts +29 -16
- package/dist/components/layout/Disclosure.vue.d.ts +17 -36
- package/dist/components/layout/GridListToggle.vue.d.ts +8 -18
- package/dist/components/layout/Menu.vue.d.ts +253 -39
- package/dist/components/layout/Panel.vue.d.ts +19 -11
- package/dist/components/layout/Table.vue.d.ts +16 -54
- package/dist/components/layout/sidebar/Promo.vue.d.ts +9 -22
- package/dist/components/layout/sidebar/Sidebar.vue.d.ts +12 -4
- package/dist/components/layout/sidebar/menu/Menu.vue.d.ts +11 -3
- package/dist/components/layout/sidebar/menu/group/Group.vue.d.ts +30 -50
- package/dist/components/layout/sidebar/menu/group/Item.vue.d.ts +20 -29
- package/dist/components/layout/tabs/Horizontal.vue.d.ts +28 -22
- package/dist/components/layout/tabs/Vertical.vue.d.ts +23 -23
- package/dist/components/user/Avatar.vue.d.ts +25 -55
- package/dist/components/user/AvatarEditable.vue.d.ts +35 -91
- package/dist/components/user/AvatarEditor.vue.d.ts +239 -23
- package/dist/components/user/AvatarGroup.vue.d.ts +13 -47
- package/dist/composables/common/async.d.ts +3 -3
- package/dist/composables/common/steps.d.ts +6 -6
- package/dist/composables/common/window.d.ts +3 -3
- package/dist/composables/form/fileUpload.d.ts +6 -6
- package/dist/composables/form/input.d.ts +3 -3
- package/dist/composables/form/select.d.ts +4 -4
- package/dist/composables/form/textInput.d.ts +18 -18
- package/dist/composables/layout/resize.d.ts +3 -3
- package/dist/composables/testing.d.ts +2 -2
- package/dist/composables/user/avatar.d.ts +5 -5
- package/dist/directives/accessibility.d.ts +1 -1
- package/dist/helpers/common/components.d.ts +1 -1
- package/dist/helpers/common/validation.d.ts +2 -2
- package/dist/helpers/form/file.d.ts +2 -2
- package/dist/helpers/form/input.d.ts +1 -1
- package/dist/helpers/global/toast.d.ts +2 -1
- package/dist/helpers/layout/components.d.ts +3 -3
- package/dist/lib.cjs +1 -1
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.d.ts +57 -62
- package/dist/lib.js +2924 -2838
- package/dist/lib.js.map +1 -1
- package/dist/stories/components/GlobalToast.vue.d.ts +2 -0
- package/dist/stories/components/SingletonManagers.vue.d.ts +2 -0
- package/dist/stories/composables/toast.d.ts +2 -2
- package/dist/stories/helpers/storybook.d.ts +2 -2
- package/dist/style.css +1 -1
- package/eslint.config.mjs +4 -3
- package/package.json +7 -8
- package/vite.config.ts +5 -10
- package/dist/AvatarEditor-25fde016.js.map +0 -1
- package/dist/AvatarEditor-a33fb9ec.cjs +0 -2
- package/dist/AvatarEditor-a33fb9ec.cjs.map +0 -1
|
@@ -1,46 +1,27 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropAnyComponent } from '../../helpers/common/components';
|
|
2
2
|
type DisclosureColor = 'default' | 'danger' | 'success' | 'warning';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = {
|
|
4
4
|
title: string;
|
|
5
5
|
/**
|
|
6
6
|
* HeadlessUI icon component to use
|
|
7
7
|
*/
|
|
8
|
-
icon?: PropAnyComponent
|
|
9
|
-
color?: DisclosureColor
|
|
10
|
-
}>, {
|
|
11
|
-
color: string;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
title: string;
|
|
14
|
-
/**
|
|
15
|
-
* HeadlessUI icon component to use
|
|
16
|
-
*/
|
|
17
|
-
icon?: PropAnyComponent | undefined;
|
|
18
|
-
color?: DisclosureColor | undefined;
|
|
19
|
-
}>, {
|
|
20
|
-
color: string;
|
|
21
|
-
}>>>, {
|
|
22
|
-
color: DisclosureColor;
|
|
23
|
-
}, {}>, {
|
|
24
|
-
default?(_: {}): any;
|
|
25
|
-
}>;
|
|
26
|
-
export default _default;
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
8
|
+
icon?: PropAnyComponent;
|
|
9
|
+
color?: DisclosureColor;
|
|
35
10
|
};
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: HTMLDivElement;
|
|
40
18
|
};
|
|
41
|
-
type
|
|
42
|
-
|
|
43
|
-
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
+
color: DisclosureColor;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
44
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
26
|
new (): {
|
|
46
27
|
$slots: S;
|
|
@@ -1,22 +1,12 @@
|
|
|
1
1
|
import { GridListToggleValue } from '../../helpers/layout/components';
|
|
2
|
-
|
|
3
|
-
modelValue?: GridListToggleValue
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}>>> & {
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: GridListToggleValue;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
click: (v: MouseEvent) => any;
|
|
7
|
+
"update:modelValue": (v: GridListToggleValue) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
9
|
onClick?: ((v: MouseEvent) => any) | undefined;
|
|
11
10
|
"onUpdate:modelValue"?: ((v: GridListToggleValue) => any) | undefined;
|
|
12
|
-
}, {}, {}>;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
13
12
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,56 +1,270 @@
|
|
|
1
1
|
import { HorizontalDirection } from '../../composables/common/window';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
open?: boolean
|
|
2
|
+
import { LayoutMenuItem } from '../../helpers/layout/components';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
open?: boolean;
|
|
5
5
|
/**
|
|
6
6
|
* 2D array so that items can be grouped with dividers between them
|
|
7
7
|
*/
|
|
8
8
|
items: LayoutMenuItem[][];
|
|
9
|
-
size?:
|
|
10
|
-
menuId?: string
|
|
11
|
-
menuPosition?: HorizontalDirection
|
|
12
|
-
mountMenuOnBody?: boolean
|
|
13
|
-
}
|
|
14
|
-
|
|
9
|
+
size?: 'base' | 'lg';
|
|
10
|
+
menuId?: string;
|
|
11
|
+
menuPosition?: HorizontalDirection;
|
|
12
|
+
mountMenuOnBody?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
slots: {
|
|
17
|
+
default?(_: {
|
|
18
|
+
toggle: () => void;
|
|
19
|
+
open: boolean;
|
|
20
|
+
}): any;
|
|
21
|
+
item?(_: {
|
|
22
|
+
item: LayoutMenuItem;
|
|
23
|
+
}): any;
|
|
24
|
+
};
|
|
25
|
+
refs: {
|
|
26
|
+
menuButton: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
disabled: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
as: {
|
|
32
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
id: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: null;
|
|
38
|
+
};
|
|
39
|
+
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
}> | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}>[] | null, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
44
|
+
id: string;
|
|
45
|
+
as: string | Record<string, any>;
|
|
46
|
+
disabled: boolean;
|
|
47
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
48
|
+
P: {};
|
|
49
|
+
B: {};
|
|
50
|
+
D: {};
|
|
51
|
+
C: {};
|
|
52
|
+
M: {};
|
|
53
|
+
Defaults: {};
|
|
54
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
55
|
+
disabled: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
as: {
|
|
60
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
id: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: null;
|
|
66
|
+
};
|
|
67
|
+
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
}> | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
}>[] | null, {}, {}, {}, {
|
|
72
|
+
id: string;
|
|
73
|
+
as: string | Record<string, any>;
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
}> | null;
|
|
76
|
+
menuButtonWrapper: HTMLDivElement;
|
|
77
|
+
menuItems: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
78
|
+
as: {
|
|
79
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
static: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
unmount: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
id: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: null;
|
|
93
|
+
};
|
|
94
|
+
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
}> | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
97
|
+
[key: string]: any;
|
|
98
|
+
}>[] | null, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
99
|
+
id: string;
|
|
100
|
+
as: string | Record<string, any>;
|
|
101
|
+
unmount: boolean;
|
|
102
|
+
static: boolean;
|
|
103
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
104
|
+
P: {};
|
|
105
|
+
B: {};
|
|
106
|
+
D: {};
|
|
107
|
+
C: {};
|
|
108
|
+
M: {};
|
|
109
|
+
Defaults: {};
|
|
110
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
111
|
+
as: {
|
|
112
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
static: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
unmount: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
id: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: null;
|
|
126
|
+
};
|
|
127
|
+
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
128
|
+
[key: string]: any;
|
|
129
|
+
}> | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
130
|
+
[key: string]: any;
|
|
131
|
+
}>[] | null, {}, {}, {}, {
|
|
132
|
+
id: string;
|
|
133
|
+
as: string | Record<string, any>;
|
|
134
|
+
unmount: boolean;
|
|
135
|
+
static: boolean;
|
|
136
|
+
}> | null;
|
|
137
|
+
};
|
|
138
|
+
rootEl: any;
|
|
139
|
+
};
|
|
140
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
141
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
142
|
+
"update:open": (val: boolean) => any;
|
|
15
143
|
chosen: (val: {
|
|
16
144
|
event: MouseEvent;
|
|
17
145
|
item: LayoutMenuItem<any>;
|
|
18
|
-
}) =>
|
|
19
|
-
}, string, import(
|
|
20
|
-
open?: boolean | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* 2D array so that items can be grouped with dividers between them
|
|
23
|
-
*/
|
|
24
|
-
items: LayoutMenuItem[][];
|
|
25
|
-
size?: "base" | "lg" | undefined;
|
|
26
|
-
menuId?: string | undefined;
|
|
27
|
-
menuPosition?: HorizontalDirection | undefined;
|
|
28
|
-
mountMenuOnBody?: boolean | undefined;
|
|
29
|
-
}>>> & {
|
|
146
|
+
}) => any;
|
|
147
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
148
|
"onUpdate:open"?: ((val: boolean) => any) | undefined;
|
|
31
149
|
onChosen?: ((val: {
|
|
32
150
|
event: MouseEvent;
|
|
33
151
|
item: LayoutMenuItem<any>;
|
|
34
152
|
}) => any) | undefined;
|
|
35
|
-
}, {}, {}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
153
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
154
|
+
menuButton: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
155
|
+
disabled: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
default: boolean;
|
|
158
|
+
};
|
|
159
|
+
as: {
|
|
160
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
id: {
|
|
164
|
+
type: StringConstructor;
|
|
165
|
+
default: null;
|
|
166
|
+
};
|
|
167
|
+
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
168
|
+
[key: string]: any;
|
|
169
|
+
}> | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
170
|
+
[key: string]: any;
|
|
171
|
+
}>[] | null, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
172
|
+
id: string;
|
|
173
|
+
as: string | Record<string, any>;
|
|
174
|
+
disabled: boolean;
|
|
175
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
176
|
+
P: {};
|
|
177
|
+
B: {};
|
|
178
|
+
D: {};
|
|
179
|
+
C: {};
|
|
180
|
+
M: {};
|
|
181
|
+
Defaults: {};
|
|
182
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
183
|
+
disabled: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
187
|
+
as: {
|
|
188
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
189
|
+
default: string;
|
|
190
|
+
};
|
|
191
|
+
id: {
|
|
192
|
+
type: StringConstructor;
|
|
193
|
+
default: null;
|
|
194
|
+
};
|
|
195
|
+
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
196
|
+
[key: string]: any;
|
|
197
|
+
}> | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
198
|
+
[key: string]: any;
|
|
199
|
+
}>[] | null, {}, {}, {}, {
|
|
200
|
+
id: string;
|
|
201
|
+
as: string | Record<string, any>;
|
|
202
|
+
disabled: boolean;
|
|
203
|
+
}> | null;
|
|
204
|
+
menuButtonWrapper: HTMLDivElement;
|
|
205
|
+
menuItems: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
206
|
+
as: {
|
|
207
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
208
|
+
default: string;
|
|
209
|
+
};
|
|
210
|
+
static: {
|
|
211
|
+
type: BooleanConstructor;
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
214
|
+
unmount: {
|
|
215
|
+
type: BooleanConstructor;
|
|
216
|
+
default: boolean;
|
|
217
|
+
};
|
|
218
|
+
id: {
|
|
219
|
+
type: StringConstructor;
|
|
220
|
+
default: null;
|
|
221
|
+
};
|
|
222
|
+
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
223
|
+
[key: string]: any;
|
|
224
|
+
}> | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
225
|
+
[key: string]: any;
|
|
226
|
+
}>[] | null, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
227
|
+
id: string;
|
|
228
|
+
as: string | Record<string, any>;
|
|
229
|
+
unmount: boolean;
|
|
230
|
+
static: boolean;
|
|
231
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
232
|
+
P: {};
|
|
233
|
+
B: {};
|
|
234
|
+
D: {};
|
|
235
|
+
C: {};
|
|
236
|
+
M: {};
|
|
237
|
+
Defaults: {};
|
|
238
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
239
|
+
as: {
|
|
240
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
241
|
+
default: string;
|
|
242
|
+
};
|
|
243
|
+
static: {
|
|
244
|
+
type: BooleanConstructor;
|
|
245
|
+
default: boolean;
|
|
246
|
+
};
|
|
247
|
+
unmount: {
|
|
248
|
+
type: BooleanConstructor;
|
|
249
|
+
default: boolean;
|
|
250
|
+
};
|
|
251
|
+
id: {
|
|
252
|
+
type: StringConstructor;
|
|
253
|
+
default: null;
|
|
254
|
+
};
|
|
255
|
+
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
256
|
+
[key: string]: any;
|
|
257
|
+
}> | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
258
|
+
[key: string]: any;
|
|
259
|
+
}>[] | null, {}, {}, {}, {
|
|
260
|
+
id: string;
|
|
261
|
+
as: string | Record<string, any>;
|
|
262
|
+
unmount: boolean;
|
|
263
|
+
static: boolean;
|
|
264
|
+
}> | null;
|
|
265
|
+
}, any>;
|
|
266
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
44
267
|
export default _default;
|
|
45
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
46
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
47
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
48
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
49
|
-
} : {
|
|
50
|
-
type: import('vue').PropType<T[K]>;
|
|
51
|
-
required: true;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
268
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
269
|
new (): {
|
|
56
270
|
$slots: S;
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
header?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
footer?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
13
|
/**
|
|
3
14
|
* Use a `<form/>` element as a wrapper that will emit 'submit' events out from the component when they occur
|
|
4
15
|
*/
|
|
@@ -31,9 +42,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
31
42
|
panelClasses: {
|
|
32
43
|
type: StringConstructor;
|
|
33
44
|
};
|
|
34
|
-
}
|
|
35
|
-
submit: (val: SubmitEvent) =>
|
|
36
|
-
}, string, import(
|
|
45
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
46
|
+
submit: (val: SubmitEvent) => any;
|
|
47
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
48
|
/**
|
|
38
49
|
* Use a `<form/>` element as a wrapper that will emit 'submit' events out from the component when they occur
|
|
39
50
|
*/
|
|
@@ -66,19 +77,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
66
77
|
panelClasses: {
|
|
67
78
|
type: StringConstructor;
|
|
68
79
|
};
|
|
69
|
-
}>> & {
|
|
80
|
+
}>> & Readonly<{
|
|
70
81
|
onSubmit?: ((val: SubmitEvent) => any) | undefined;
|
|
71
|
-
}
|
|
82
|
+
}>, {
|
|
72
83
|
form: boolean;
|
|
73
84
|
ring: boolean;
|
|
74
85
|
fancyGlow: boolean;
|
|
75
86
|
customPadding: boolean;
|
|
76
87
|
noShadow: boolean;
|
|
77
|
-
}, {}
|
|
78
|
-
|
|
79
|
-
default?(_: {}): any;
|
|
80
|
-
footer?(_: {}): any;
|
|
81
|
-
}>;
|
|
88
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
89
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
82
90
|
export default _default;
|
|
83
91
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
84
92
|
new (): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropAnyComponent } from '../../helpers/common/components';
|
|
2
2
|
export type TableColumn<I> = {
|
|
3
3
|
id: I;
|
|
4
4
|
header: string;
|
|
@@ -13,67 +13,29 @@ export type RowButton<T = unknown> = {
|
|
|
13
13
|
};
|
|
14
14
|
declare const _default: <T extends {
|
|
15
15
|
id: string;
|
|
16
|
-
}, C extends string>(__VLS_props: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
columns: TableColumn<C>[];
|
|
21
|
-
overflowCells?: boolean | undefined;
|
|
22
|
-
onRowClick?: ((item: T) => void) | undefined;
|
|
23
|
-
rowItemsAlign?: "center" | "stretch" | undefined;
|
|
24
|
-
emptyMessage?: string | undefined;
|
|
25
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
26
|
-
attrs: any;
|
|
27
|
-
slots: Partial<Record<NonNullable<C>, (_: {
|
|
28
|
-
item: T;
|
|
29
|
-
}) => any>> & {
|
|
30
|
-
empty?(_: {}): any;
|
|
31
|
-
};
|
|
32
|
-
emit: any;
|
|
33
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
34
|
-
props: {
|
|
35
|
-
loading?: boolean | undefined;
|
|
36
|
-
items: T[] | null | undefined;
|
|
37
|
-
buttons?: RowButton<T>[] | undefined;
|
|
16
|
+
}, C extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
17
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
|
|
18
|
+
items: T[] | undefined | null;
|
|
19
|
+
buttons?: RowButton<T>[];
|
|
38
20
|
columns: TableColumn<C>[];
|
|
39
|
-
overflowCells?: boolean
|
|
40
|
-
onRowClick?: (
|
|
41
|
-
rowItemsAlign?: "center" | "stretch"
|
|
42
|
-
emptyMessage?: string
|
|
43
|
-
|
|
21
|
+
overflowCells?: boolean;
|
|
22
|
+
onRowClick?: (item: T) => void;
|
|
23
|
+
rowItemsAlign?: "center" | "stretch";
|
|
24
|
+
emptyMessage?: string;
|
|
25
|
+
loading?: boolean;
|
|
26
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
|
44
27
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
45
28
|
attrs: any;
|
|
46
|
-
slots: Partial<Record<
|
|
29
|
+
slots: Partial<Record<C, (_: {
|
|
47
30
|
item: T;
|
|
48
31
|
}) => any>> & {
|
|
49
32
|
empty?(_: {}): any;
|
|
50
33
|
};
|
|
51
|
-
emit:
|
|
52
|
-
}>) => import(
|
|
53
|
-
|
|
54
|
-
}> & {
|
|
55
|
-
__ctx?: {
|
|
56
|
-
props: {
|
|
57
|
-
loading?: boolean | undefined;
|
|
58
|
-
items: T[] | null | undefined;
|
|
59
|
-
buttons?: RowButton<T>[] | undefined;
|
|
60
|
-
columns: TableColumn<C>[];
|
|
61
|
-
overflowCells?: boolean | undefined;
|
|
62
|
-
onRowClick?: ((item: T) => void) | undefined;
|
|
63
|
-
rowItemsAlign?: "center" | "stretch" | undefined;
|
|
64
|
-
emptyMessage?: string | undefined;
|
|
65
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
66
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
67
|
-
attrs: any;
|
|
68
|
-
slots: Partial<Record<NonNullable<C>, (_: {
|
|
69
|
-
item: T;
|
|
70
|
-
}) => any>> & {
|
|
71
|
-
empty?(_: {}): any;
|
|
72
|
-
};
|
|
73
|
-
emit: any;
|
|
74
|
-
} | undefined;
|
|
34
|
+
emit: {};
|
|
35
|
+
}>) => import('vue').VNode & {
|
|
36
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
75
37
|
};
|
|
76
38
|
export default _default;
|
|
77
|
-
type
|
|
39
|
+
type __VLS_PrettifyLocal<T> = {
|
|
78
40
|
[K in keyof T]: T[K];
|
|
79
41
|
} & {};
|
|
@@ -1,25 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
title?: string
|
|
3
|
-
text?: string
|
|
4
|
-
to?: string
|
|
5
|
-
buttonText?: string
|
|
6
|
-
}
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
text?: string;
|
|
4
|
+
to?: string;
|
|
5
|
+
buttonText?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
8
|
onClick: (...args: any[]) => void;
|
|
8
|
-
}, string, import(
|
|
9
|
-
title?: string | undefined;
|
|
10
|
-
text?: string | undefined;
|
|
11
|
-
to?: string | undefined;
|
|
12
|
-
buttonText?: string | undefined;
|
|
13
|
-
}>>> & {
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
10
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
}, {}, {}>;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
12
|
export default _default;
|
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: import('vue').PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
promo?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
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>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
5
13
|
export default _default;
|
|
6
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
15
|
new (): {
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
4
12
|
export default _default;
|
|
5
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
14
|
new (): {
|