@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,191 +1,107 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
declare const _default: <SingleItem extends string |
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
labelId?: string | undefined;
|
|
44
|
-
buttonId?: string | undefined;
|
|
45
|
-
readonly disabledItemTooltip?: string | undefined;
|
|
46
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
47
|
-
attrs: any;
|
|
48
|
-
slots: {
|
|
49
|
-
"nothing-selected"?(_: {}): any;
|
|
50
|
-
"something-selected"?(_: {
|
|
51
|
-
value: SingleItem[];
|
|
52
|
-
}): any;
|
|
53
|
-
"nothing-found"?(_: {}): any;
|
|
54
|
-
option?(_: {
|
|
55
|
-
class: string;
|
|
56
|
-
item: SingleItem;
|
|
57
|
-
selected: boolean;
|
|
58
|
-
disabled: boolean;
|
|
59
|
-
}): any;
|
|
60
|
-
};
|
|
61
|
-
emit: (e: 'update:modelValue', v: SingleItem | SingleItem[] | undefined) => void;
|
|
62
|
-
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
|
63
|
-
triggerSearch: () => Promise<void>;
|
|
64
|
-
}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
65
|
-
props: {
|
|
66
|
-
size?: Optional<"sm" | "base" | "lg" | "xl">;
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { MaybeAsync, Optional } from '../../../../../shared/dist/esm/index';
|
|
3
|
+
import { RuleExpression } from 'vee-validate';
|
|
4
|
+
import { LabelPosition } from '../../../composables/form/input';
|
|
5
|
+
declare const _default: <SingleItem extends Record<string, unknown> | string | number>(__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<{
|
|
6
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
7
|
+
size: Optional<"sm" | "base" | "lg" | "xl">;
|
|
8
|
+
disabled: Optional<boolean>;
|
|
9
|
+
modelValue: [{
|
|
10
|
+
type: PropType<SingleItem | SingleItem[] | undefined>;
|
|
11
|
+
default: undefined;
|
|
12
|
+
}] extends [import('vue').Prop<infer V, infer D>] ? unknown extends V ? keyof V extends never ? import('@vue/shared').IfAny<V, V, D> : V : V : {
|
|
13
|
+
type: PropType<SingleItem | SingleItem[] | undefined>;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
rules: RuleExpression<SingleItem | SingleItem[] | undefined>;
|
|
17
|
+
validateOnMount: boolean;
|
|
18
|
+
showRequired: boolean;
|
|
19
|
+
labelPosition: LabelPosition;
|
|
20
|
+
validateOnValueUpdate: boolean;
|
|
21
|
+
search: boolean;
|
|
22
|
+
help: Optional<string>;
|
|
23
|
+
showLabel: boolean;
|
|
24
|
+
useLabelInErrors: boolean;
|
|
25
|
+
showOptional: boolean;
|
|
26
|
+
tooltipText: string;
|
|
27
|
+
items: SingleItem[];
|
|
28
|
+
filterPredicate: Optional<(item: SingleItem, searchString: string) => boolean>;
|
|
29
|
+
disabledItemPredicate: Optional<(item: SingleItem) => boolean>;
|
|
30
|
+
getSearchResults: Optional<(searchString: string) => MaybeAsync<SingleItem[]>>;
|
|
31
|
+
searchPlaceholder: string;
|
|
32
|
+
buttonStyle: Optional<"base" | "simple" | "tinted">;
|
|
33
|
+
hideCheckmarks: Optional<boolean>;
|
|
34
|
+
allowUnset: Optional<boolean>;
|
|
35
|
+
clearable: boolean;
|
|
36
|
+
fixedHeight: boolean;
|
|
37
|
+
fullyControlValue: boolean;
|
|
38
|
+
mountMenuOnBody: boolean;
|
|
39
|
+
labelId: string;
|
|
40
|
+
buttonId: string;
|
|
41
|
+
}> & Omit<{
|
|
42
|
+
readonly disabled: Optional<boolean>;
|
|
67
43
|
readonly label: string;
|
|
68
|
-
|
|
44
|
+
readonly name: string;
|
|
45
|
+
readonly validateOnMount: boolean;
|
|
46
|
+
readonly showRequired: boolean;
|
|
47
|
+
readonly labelPosition: LabelPosition;
|
|
48
|
+
readonly validateOnValueUpdate: boolean;
|
|
49
|
+
readonly search: boolean;
|
|
50
|
+
readonly showLabel: boolean;
|
|
51
|
+
readonly useLabelInErrors: boolean;
|
|
52
|
+
readonly showOptional: boolean;
|
|
53
|
+
readonly items: SingleItem[];
|
|
54
|
+
readonly searchPlaceholder: string;
|
|
55
|
+
readonly buttonStyle: Optional<"base" | "simple" | "tinted">;
|
|
56
|
+
readonly hideCheckmarks: Optional<boolean>;
|
|
57
|
+
readonly allowUnset: Optional<boolean>;
|
|
58
|
+
readonly clearable: boolean;
|
|
59
|
+
readonly fixedHeight: boolean;
|
|
60
|
+
readonly fullyControlValue: boolean;
|
|
61
|
+
readonly mountMenuOnBody: boolean;
|
|
62
|
+
readonly size?: Optional<"sm" | "base" | "lg" | "xl">;
|
|
63
|
+
readonly modelValue?: ([{
|
|
69
64
|
type: PropType<SingleItem | SingleItem[] | undefined>;
|
|
70
65
|
default: undefined;
|
|
71
|
-
}] extends [import(
|
|
66
|
+
}] extends [import('vue').Prop<infer V, infer D>] ? unknown extends V ? keyof V extends never ? import('@vue/shared').IfAny<V, V, D> : V : V : {
|
|
72
67
|
type: PropType<SingleItem | SingleItem[] | undefined>;
|
|
73
68
|
default: undefined;
|
|
74
69
|
}) | undefined;
|
|
75
|
-
|
|
76
|
-
readonly
|
|
77
|
-
disabled?: Optional<boolean>;
|
|
78
|
-
rules?: RuleExpression<SingleItem | SingleItem[] | undefined>;
|
|
79
|
-
validateOnMount?: boolean | undefined;
|
|
80
|
-
showRequired?: boolean | undefined;
|
|
81
|
-
labelPosition?: LabelPosition | undefined;
|
|
82
|
-
validateOnValueUpdate?: boolean | undefined;
|
|
83
|
-
search?: boolean | undefined;
|
|
84
|
-
help?: Optional<string>;
|
|
85
|
-
showLabel?: boolean | undefined;
|
|
86
|
-
useLabelInErrors?: boolean | undefined;
|
|
70
|
+
readonly rules?: RuleExpression<SingleItem | SingleItem[] | undefined>;
|
|
71
|
+
readonly help?: Optional<string>;
|
|
87
72
|
readonly placeholder?: string | undefined;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
disabledItemPredicate?: Optional<(item: SingleItem) => boolean>;
|
|
93
|
-
getSearchResults?: Optional<(searchString: string) => MaybeAsync<SingleItem[]>>;
|
|
94
|
-
searchPlaceholder?: string | undefined;
|
|
73
|
+
readonly tooltipText?: string | undefined;
|
|
74
|
+
readonly filterPredicate?: Optional<(item: SingleItem, searchString: string) => boolean>;
|
|
75
|
+
readonly disabledItemPredicate?: Optional<(item: SingleItem) => boolean>;
|
|
76
|
+
readonly getSearchResults?: Optional<(searchString: string) => MaybeAsync<SingleItem[]>>;
|
|
95
77
|
readonly by?: string | undefined;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
allowUnset?: Optional<boolean>;
|
|
99
|
-
clearable?: boolean | undefined;
|
|
100
|
-
fixedHeight?: boolean | undefined;
|
|
101
|
-
fullyControlValue?: boolean | undefined;
|
|
102
|
-
mountMenuOnBody?: boolean | undefined;
|
|
103
|
-
labelId?: string | undefined;
|
|
104
|
-
buttonId?: string | undefined;
|
|
78
|
+
readonly labelId?: string | undefined;
|
|
79
|
+
readonly buttonId?: string | undefined;
|
|
105
80
|
readonly disabledItemTooltip?: string | undefined;
|
|
106
|
-
|
|
107
|
-
|
|
81
|
+
readonly "onUpdate:modelValue"?: ((v: SingleItem | SingleItem[] | undefined) => any) | undefined;
|
|
82
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "disabled" | "modelValue" | "rules" | "validateOnMount" | "showRequired" | "labelPosition" | "validateOnValueUpdate" | "search" | "help" | "showLabel" | "useLabelInErrors" | "showOptional" | "tooltipText" | "items" | "filterPredicate" | "disabledItemPredicate" | "getSearchResults" | "searchPlaceholder" | "buttonStyle" | "hideCheckmarks" | "allowUnset" | "clearable" | "fixedHeight" | "fullyControlValue" | "mountMenuOnBody" | "labelId" | "buttonId">, "label" | "name" | "onUpdate:modelValue" | "placeholder" | "by" | "disabledItemTooltip" | ("size" | "disabled" | "modelValue" | "rules" | "validateOnMount" | "showRequired" | "labelPosition" | "validateOnValueUpdate" | "search" | "help" | "showLabel" | "useLabelInErrors" | "showOptional" | "tooltipText" | "items" | "filterPredicate" | "disabledItemPredicate" | "getSearchResults" | "searchPlaceholder" | "buttonStyle" | "hideCheckmarks" | "allowUnset" | "clearable" | "fixedHeight" | "fullyControlValue" | "mountMenuOnBody" | "labelId" | "buttonId")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
83
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
108
84
|
triggerSearch: () => Promise<void>;
|
|
109
85
|
}>): void;
|
|
110
86
|
attrs: any;
|
|
111
87
|
slots: {
|
|
112
|
-
|
|
113
|
-
|
|
88
|
+
'nothing-selected'?(_: {}): any;
|
|
89
|
+
'something-selected'?(_: {
|
|
114
90
|
value: SingleItem[];
|
|
115
91
|
}): any;
|
|
116
|
-
|
|
92
|
+
'nothing-found'?(_: {}): any;
|
|
117
93
|
option?(_: {
|
|
118
|
-
class: string;
|
|
119
94
|
item: SingleItem;
|
|
120
95
|
selected: boolean;
|
|
121
96
|
disabled: boolean;
|
|
97
|
+
class: string;
|
|
122
98
|
}): any;
|
|
123
99
|
};
|
|
124
|
-
emit: (e:
|
|
125
|
-
}>) => import(
|
|
126
|
-
|
|
127
|
-
}> & {
|
|
128
|
-
__ctx?: {
|
|
129
|
-
props: {
|
|
130
|
-
size?: Optional<"sm" | "base" | "lg" | "xl">;
|
|
131
|
-
readonly label: string;
|
|
132
|
-
modelValue?: ([{
|
|
133
|
-
type: PropType<SingleItem | SingleItem[] | undefined>;
|
|
134
|
-
default: undefined;
|
|
135
|
-
}] extends [import("vue").Prop<infer V, infer D>] ? unknown extends V ? import("@vue/shared").IfAny<V, V, D> : V : {
|
|
136
|
-
type: PropType<SingleItem | SingleItem[] | undefined>;
|
|
137
|
-
default: undefined;
|
|
138
|
-
}) | undefined;
|
|
139
|
-
"onUpdate:modelValue"?: ((v: SingleItem | SingleItem[] | undefined) => any) | undefined;
|
|
140
|
-
readonly name: string;
|
|
141
|
-
disabled?: Optional<boolean>;
|
|
142
|
-
rules?: RuleExpression<SingleItem | SingleItem[] | undefined>;
|
|
143
|
-
validateOnMount?: boolean | undefined;
|
|
144
|
-
showRequired?: boolean | undefined;
|
|
145
|
-
labelPosition?: LabelPosition | undefined;
|
|
146
|
-
validateOnValueUpdate?: boolean | undefined;
|
|
147
|
-
search?: boolean | undefined;
|
|
148
|
-
help?: Optional<string>;
|
|
149
|
-
showLabel?: boolean | undefined;
|
|
150
|
-
useLabelInErrors?: boolean | undefined;
|
|
151
|
-
readonly placeholder?: string | undefined;
|
|
152
|
-
showOptional?: boolean | undefined;
|
|
153
|
-
tooltipText?: string | undefined;
|
|
154
|
-
items?: SingleItem[] | undefined;
|
|
155
|
-
filterPredicate?: Optional<(item: SingleItem, searchString: string) => boolean>;
|
|
156
|
-
disabledItemPredicate?: Optional<(item: SingleItem) => boolean>;
|
|
157
|
-
getSearchResults?: Optional<(searchString: string) => MaybeAsync<SingleItem[]>>;
|
|
158
|
-
searchPlaceholder?: string | undefined;
|
|
159
|
-
readonly by?: string | undefined;
|
|
160
|
-
buttonStyle?: Optional<"base" | "simple" | "tinted">;
|
|
161
|
-
hideCheckmarks?: Optional<boolean>;
|
|
162
|
-
allowUnset?: Optional<boolean>;
|
|
163
|
-
clearable?: boolean | undefined;
|
|
164
|
-
fixedHeight?: boolean | undefined;
|
|
165
|
-
fullyControlValue?: boolean | undefined;
|
|
166
|
-
mountMenuOnBody?: boolean | undefined;
|
|
167
|
-
labelId?: string | undefined;
|
|
168
|
-
buttonId?: string | undefined;
|
|
169
|
-
readonly disabledItemTooltip?: string | undefined;
|
|
170
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
171
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
172
|
-
triggerSearch: () => Promise<void>;
|
|
173
|
-
}>): void;
|
|
174
|
-
attrs: any;
|
|
175
|
-
slots: {
|
|
176
|
-
"nothing-selected"?(_: {}): any;
|
|
177
|
-
"something-selected"?(_: {
|
|
178
|
-
value: SingleItem[];
|
|
179
|
-
}): any;
|
|
180
|
-
"nothing-found"?(_: {}): any;
|
|
181
|
-
option?(_: {
|
|
182
|
-
class: string;
|
|
183
|
-
item: SingleItem;
|
|
184
|
-
selected: boolean;
|
|
185
|
-
disabled: boolean;
|
|
186
|
-
}): any;
|
|
187
|
-
};
|
|
188
|
-
emit: (e: 'update:modelValue', v: SingleItem | SingleItem[] | undefined) => void;
|
|
189
|
-
} | undefined;
|
|
100
|
+
emit: (e: "update:modelValue", v: SingleItem | SingleItem[] | undefined) => void;
|
|
101
|
+
}>) => import('vue').VNode & {
|
|
102
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
190
103
|
};
|
|
191
104
|
export default _default;
|
|
105
|
+
type __VLS_PrettifyLocal<T> = {
|
|
106
|
+
[K in keyof T]: T[K];
|
|
107
|
+
} & {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { Optional, SourceAppDefinition } from '../../../../../shared/dist/esm/index';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
3
|
type ValueType = SourceAppDefinition | SourceAppDefinition[] | undefined;
|
|
4
|
-
declare const _default: import(
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
5
|
/**
|
|
6
6
|
* Whether to allow selecting multiple source apps
|
|
7
7
|
*/
|
|
@@ -68,9 +68,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
buttonId: {
|
|
69
69
|
type: StringConstructor;
|
|
70
70
|
};
|
|
71
|
-
}
|
|
72
|
-
"update:modelValue": (v: ValueType) =>
|
|
73
|
-
}, string, import(
|
|
71
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
72
|
+
"update:modelValue": (v: ValueType) => any;
|
|
73
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
74
74
|
/**
|
|
75
75
|
* Whether to allow selecting multiple source apps
|
|
76
76
|
*/
|
|
@@ -137,11 +137,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
137
|
buttonId: {
|
|
138
138
|
type: StringConstructor;
|
|
139
139
|
};
|
|
140
|
-
}>> & {
|
|
140
|
+
}>> & Readonly<{
|
|
141
141
|
"onUpdate:modelValue"?: ((v: ValueType) => any) | undefined;
|
|
142
|
-
}
|
|
143
|
-
modelValue: ValueType;
|
|
142
|
+
}>, {
|
|
144
143
|
name: Optional<string>;
|
|
144
|
+
modelValue: ValueType;
|
|
145
145
|
search: boolean;
|
|
146
146
|
showLabel: boolean;
|
|
147
147
|
multiple: boolean;
|
|
@@ -149,5 +149,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
149
149
|
searchPlaceholder: string;
|
|
150
150
|
clearable: boolean;
|
|
151
151
|
selectorPlaceholder: Optional<string>;
|
|
152
|
-
}, {}
|
|
152
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
153
|
+
elementToWatchForChanges: HTMLDivElement;
|
|
154
|
+
itemContainer: HTMLDivElement;
|
|
155
|
+
}, any>;
|
|
153
156
|
export default _default;
|
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
2
11
|
goUp: () => void;
|
|
3
12
|
goDown: () => void;
|
|
4
13
|
open: () => void;
|
|
5
14
|
close: () => void;
|
|
6
15
|
selectActive: () => void;
|
|
7
16
|
isOpen: () => boolean;
|
|
8
|
-
}, {}, {}, {}, import(
|
|
9
|
-
|
|
10
|
-
}>;
|
|
17
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
19
|
export default _default;
|
|
12
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
21
|
new (): {
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { MaybeNullOrUndefined } from '../../../../shared/dist/esm/index';
|
|
2
|
+
import { ToastNotification } from '../../helpers/global/toast';
|
|
3
|
+
type __VLS_Props = {
|
|
4
4
|
notification: MaybeNullOrUndefined<ToastNotification>;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}>>> & {
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
"update:notification": (val: MaybeNullOrUndefined<ToastNotification>) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
9
|
"onUpdate:notification"?: ((val: MaybeNullOrUndefined<ToastNotification>) => any) | undefined;
|
|
11
|
-
}, {}, {}>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
11
|
export default _default;
|
|
13
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
-
} : {
|
|
18
|
-
type: import('vue').PropType<T[K]>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,85 +1,56 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LayoutDialogButton } from '../../lib';
|
|
2
2
|
type MaxWidthValue = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
3
|
type FullscreenValues = 'mobile' | 'desktop' | 'all' | 'none';
|
|
4
|
-
|
|
4
|
+
type __VLS_Props = {
|
|
5
5
|
open: boolean;
|
|
6
|
-
maxWidth?: MaxWidthValue
|
|
7
|
-
fullscreen?: FullscreenValues
|
|
8
|
-
hideCloser?: boolean
|
|
9
|
-
showBackButton?: boolean
|
|
6
|
+
maxWidth?: MaxWidthValue;
|
|
7
|
+
fullscreen?: FullscreenValues;
|
|
8
|
+
hideCloser?: boolean;
|
|
9
|
+
showBackButton?: boolean;
|
|
10
10
|
/**
|
|
11
11
|
* Prevent modal from closing when the user clicks outside of the modal or presses Esc
|
|
12
12
|
*/
|
|
13
|
-
preventCloseOnClickOutside?: boolean
|
|
14
|
-
title?: string
|
|
15
|
-
buttons?: LayoutDialogButton
|
|
13
|
+
preventCloseOnClickOutside?: boolean;
|
|
14
|
+
title?: string;
|
|
15
|
+
buttons?: Array<LayoutDialogButton>;
|
|
16
16
|
/**
|
|
17
17
|
* Extra classes to apply to the button container.
|
|
18
18
|
*/
|
|
19
|
-
buttonsWrapperClasses?: string
|
|
19
|
+
buttonsWrapperClasses?: string;
|
|
20
20
|
/**
|
|
21
21
|
* If set, the modal will be wrapped in a form element and the `onSubmit` callback will be invoked when the user submits the form
|
|
22
22
|
*/
|
|
23
|
-
onSubmit?: (
|
|
24
|
-
isTransparent?: boolean
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
* Extra classes to apply to the button container.
|
|
45
|
-
*/
|
|
46
|
-
buttonsWrapperClasses?: string | undefined;
|
|
47
|
-
/**
|
|
48
|
-
* If set, the modal will be wrapped in a form element and the `onSubmit` callback will be invoked when the user submits the form
|
|
49
|
-
*/
|
|
50
|
-
onSubmit?: ((e: SubmitEvent) => void) | undefined;
|
|
51
|
-
isTransparent?: boolean | undefined;
|
|
52
|
-
}>, {
|
|
53
|
-
fullscreen: string;
|
|
54
|
-
}>>> & {
|
|
23
|
+
onSubmit?: (e: SubmitEvent) => void;
|
|
24
|
+
isTransparent?: boolean;
|
|
25
|
+
};
|
|
26
|
+
declare function __VLS_template(): {
|
|
27
|
+
attrs: Partial<{}>;
|
|
28
|
+
slots: {
|
|
29
|
+
header?(_: {}): any;
|
|
30
|
+
default?(_: {}): any;
|
|
31
|
+
buttons?(_: {}): any;
|
|
32
|
+
};
|
|
33
|
+
refs: {
|
|
34
|
+
slotContainer: HTMLDivElement;
|
|
35
|
+
};
|
|
36
|
+
rootEl: any;
|
|
37
|
+
};
|
|
38
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
39
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
40
|
+
"update:open": (v: boolean) => any;
|
|
41
|
+
"fully-closed": () => any;
|
|
42
|
+
back: () => any;
|
|
43
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
55
44
|
"onUpdate:open"?: ((v: boolean) => any) | undefined;
|
|
56
45
|
"onFully-closed"?: (() => any) | undefined;
|
|
57
46
|
onBack?: (() => any) | undefined;
|
|
58
|
-
}
|
|
47
|
+
}>, {
|
|
59
48
|
fullscreen: FullscreenValues;
|
|
60
|
-
}, {}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}>;
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
50
|
+
slotContainer: HTMLDivElement;
|
|
51
|
+
}, any>;
|
|
52
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
65
53
|
export default _default;
|
|
66
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
67
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
68
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
69
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
70
|
-
} : {
|
|
71
|
-
type: import('vue').PropType<T[K]>;
|
|
72
|
-
required: true;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
type __VLS_WithDefaults<P, D> = {
|
|
76
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
77
|
-
default: D[K];
|
|
78
|
-
}> : P[K];
|
|
79
|
-
};
|
|
80
|
-
type __VLS_Prettify<T> = {
|
|
81
|
-
[K in keyof T]: T[K];
|
|
82
|
-
} & {};
|
|
83
54
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
84
55
|
new (): {
|
|
85
56
|
$slots: S;
|
|
@@ -1,8 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { PropAnyComponent } from '../../helpers/common/components';
|
|
3
|
+
import { FormButtonStyle } from '../../helpers/form/button';
|
|
4
4
|
type TitleColor = 'default' | 'danger' | 'warning' | 'success' | 'secondary' | 'info';
|
|
5
|
-
declare
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
icon?(_: {}): any;
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {
|
|
13
|
+
content: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
19
|
title: StringConstructor;
|
|
7
20
|
borderT: BooleanConstructor;
|
|
8
21
|
borderB: BooleanConstructor;
|
|
@@ -12,12 +25,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
12
25
|
default: string;
|
|
13
26
|
};
|
|
14
27
|
button: () => {
|
|
15
|
-
expandContent?: boolean
|
|
28
|
+
expandContent?: boolean;
|
|
16
29
|
text: string;
|
|
17
|
-
to?: string
|
|
30
|
+
to?: string;
|
|
18
31
|
color: FormButtonStyle;
|
|
19
32
|
iconRight?: PropAnyComponent | undefined;
|
|
20
|
-
onClick?: (
|
|
33
|
+
onClick?: () => void;
|
|
21
34
|
} | undefined;
|
|
22
35
|
alwaysOpen: BooleanConstructor;
|
|
23
36
|
lazyLoad: {
|
|
@@ -28,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
28
41
|
type: PropType<PropAnyComponent>;
|
|
29
42
|
default: undefined;
|
|
30
43
|
};
|
|
31
|
-
}
|
|
44
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
32
45
|
title: StringConstructor;
|
|
33
46
|
borderT: BooleanConstructor;
|
|
34
47
|
borderB: BooleanConstructor;
|
|
@@ -38,12 +51,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
51
|
default: string;
|
|
39
52
|
};
|
|
40
53
|
button: () => {
|
|
41
|
-
expandContent?: boolean
|
|
54
|
+
expandContent?: boolean;
|
|
42
55
|
text: string;
|
|
43
|
-
to?: string
|
|
56
|
+
to?: string;
|
|
44
57
|
color: FormButtonStyle;
|
|
45
58
|
iconRight?: PropAnyComponent | undefined;
|
|
46
|
-
onClick?: (
|
|
59
|
+
onClick?: () => void;
|
|
47
60
|
} | undefined;
|
|
48
61
|
alwaysOpen: BooleanConstructor;
|
|
49
62
|
lazyLoad: {
|
|
@@ -54,7 +67,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
54
67
|
type: PropType<PropAnyComponent>;
|
|
55
68
|
default: undefined;
|
|
56
69
|
};
|
|
57
|
-
}
|
|
70
|
+
}>> & Readonly<{}>, {
|
|
58
71
|
icon: PropAnyComponent;
|
|
59
72
|
borderT: boolean;
|
|
60
73
|
borderB: boolean;
|
|
@@ -62,10 +75,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
62
75
|
titleColor: TitleColor;
|
|
63
76
|
alwaysOpen: boolean;
|
|
64
77
|
lazyLoad: boolean;
|
|
65
|
-
}, {}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
78
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
79
|
+
content: HTMLDivElement;
|
|
80
|
+
}, HTMLDivElement>;
|
|
81
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
69
82
|
export default _default;
|
|
70
83
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
71
84
|
new (): {
|