@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,42 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
showLabel: {
|
|
17
|
-
type: import("vue").PropType<boolean>;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
-
modelValue: import("vue").PropType<boolean>;
|
|
22
|
-
label: {
|
|
23
|
-
type: import("vue").PropType<string>;
|
|
24
|
-
};
|
|
25
|
-
name: {
|
|
26
|
-
type: import("vue").PropType<string>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
disabled: {
|
|
30
|
-
type: import("vue").PropType<boolean>;
|
|
31
|
-
};
|
|
32
|
-
id: {
|
|
33
|
-
type: import("vue").PropType<string>;
|
|
34
|
-
};
|
|
35
|
-
showLabel: {
|
|
36
|
-
type: import("vue").PropType<boolean>;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
}>>, {
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
showLabel?: boolean;
|
|
3
|
+
name: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
id?: string;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_PublicProps = {
|
|
9
|
+
modelValue?: boolean;
|
|
10
|
+
} & __VLS_Props;
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: boolean) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
|
+
}>, {
|
|
40
16
|
showLabel: boolean;
|
|
41
|
-
}, {}>;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
42
18
|
export default _default;
|
|
@@ -1,92 +1,107 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { InputColor } from '../../composables/form/textInput';
|
|
2
|
+
import { RuleExpression } from 'vee-validate';
|
|
3
|
+
import { MaybeAsync } from '../../../../shared/dist/esm/index';
|
|
4
4
|
type InputSize = 'sm' | 'base' | 'lg' | 'xl';
|
|
5
5
|
type Tag = string;
|
|
6
|
-
|
|
6
|
+
type __VLS_Props = {
|
|
7
7
|
name: string;
|
|
8
|
-
help?: string
|
|
9
|
-
label?: string
|
|
10
|
-
showLabel?: boolean
|
|
8
|
+
help?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
showLabel?: boolean;
|
|
11
11
|
rules?: RuleExpression<Tag[]>;
|
|
12
|
-
validateOnMount?: boolean
|
|
13
|
-
validateOnValueUpdate?: boolean
|
|
14
|
-
autoFocus?: boolean
|
|
15
|
-
showClear?: boolean
|
|
16
|
-
showRequired?: boolean
|
|
17
|
-
showOptional?: boolean
|
|
18
|
-
color?: InputColor
|
|
19
|
-
wrapperClasses?: string
|
|
20
|
-
size?: InputSize
|
|
21
|
-
placeholder?: string
|
|
22
|
-
disabled?: boolean
|
|
23
|
-
useLabelInErrors?: boolean
|
|
24
|
-
getAutocompleteItems?: (
|
|
25
|
-
modelValue?:
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
color: string;
|
|
29
|
-
useLabelInErrors: boolean;
|
|
30
|
-
}>, {
|
|
12
|
+
validateOnMount?: boolean;
|
|
13
|
+
validateOnValueUpdate?: boolean;
|
|
14
|
+
autoFocus?: boolean;
|
|
15
|
+
showClear?: boolean;
|
|
16
|
+
showRequired?: boolean;
|
|
17
|
+
showOptional?: boolean;
|
|
18
|
+
color?: InputColor;
|
|
19
|
+
wrapperClasses?: string;
|
|
20
|
+
size?: InputSize;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
useLabelInErrors?: boolean;
|
|
24
|
+
getAutocompleteItems?: (query: string) => MaybeAsync<Tag[]>;
|
|
25
|
+
modelValue?: Tag[];
|
|
26
|
+
};
|
|
27
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
31
28
|
resolveAutocompleteItems: () => Promise<void>;
|
|
32
|
-
},
|
|
33
|
-
|
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
30
|
+
clear: () => any;
|
|
31
|
+
"update:modelValue": (val: string[]) => any;
|
|
34
32
|
change: (val: {
|
|
35
|
-
event?: Event
|
|
36
|
-
value:
|
|
37
|
-
}) =>
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
help?: string | undefined;
|
|
42
|
-
label?: string | undefined;
|
|
43
|
-
showLabel?: boolean | undefined;
|
|
44
|
-
rules?: RuleExpression<Tag[]>;
|
|
45
|
-
validateOnMount?: boolean | undefined;
|
|
46
|
-
validateOnValueUpdate?: boolean | undefined;
|
|
47
|
-
autoFocus?: boolean | undefined;
|
|
48
|
-
showClear?: boolean | undefined;
|
|
49
|
-
showRequired?: boolean | undefined;
|
|
50
|
-
showOptional?: boolean | undefined;
|
|
51
|
-
color?: InputColor | undefined;
|
|
52
|
-
wrapperClasses?: string | undefined;
|
|
53
|
-
size?: InputSize | undefined;
|
|
54
|
-
placeholder?: string | undefined;
|
|
55
|
-
disabled?: boolean | undefined;
|
|
56
|
-
useLabelInErrors?: boolean | undefined;
|
|
57
|
-
getAutocompleteItems?: ((query: string) => MaybeAsync<Tag[]>) | undefined;
|
|
58
|
-
modelValue?: string[] | undefined;
|
|
59
|
-
}>, {
|
|
60
|
-
size: string;
|
|
61
|
-
color: string;
|
|
62
|
-
useLabelInErrors: boolean;
|
|
63
|
-
}>>> & {
|
|
33
|
+
event?: Event;
|
|
34
|
+
value: Tag[];
|
|
35
|
+
}) => any;
|
|
36
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
37
|
+
onClear?: (() => any) | undefined;
|
|
38
|
+
"onUpdate:modelValue"?: ((val: string[]) => any) | undefined;
|
|
64
39
|
onChange?: ((val: {
|
|
65
|
-
event?: Event
|
|
66
|
-
value:
|
|
40
|
+
event?: Event;
|
|
41
|
+
value: Tag[];
|
|
67
42
|
}) => any) | undefined;
|
|
68
|
-
|
|
69
|
-
onClear?: (() => any) | undefined;
|
|
70
|
-
}, {
|
|
43
|
+
}>, {
|
|
71
44
|
size: InputSize;
|
|
72
45
|
color: InputColor;
|
|
73
46
|
useLabelInErrors: boolean;
|
|
74
|
-
}, {}
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
48
|
+
ctxManager: ({
|
|
49
|
+
$: import('vue').ComponentInternalInstance;
|
|
50
|
+
$data: {};
|
|
51
|
+
$props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
|
|
52
|
+
$attrs: {
|
|
53
|
+
[x: string]: unknown;
|
|
54
|
+
};
|
|
55
|
+
$refs: {
|
|
56
|
+
[x: string]: unknown;
|
|
57
|
+
};
|
|
58
|
+
$slots: Readonly<{
|
|
59
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
60
|
+
}>;
|
|
61
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
62
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
63
|
+
$host: Element | null;
|
|
64
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
65
|
+
$el: any;
|
|
66
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
67
|
+
goUp: () => void;
|
|
68
|
+
goDown: () => void;
|
|
69
|
+
open: () => void;
|
|
70
|
+
close: () => void;
|
|
71
|
+
selectActive: () => void;
|
|
72
|
+
isOpen: () => boolean;
|
|
73
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
74
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
75
|
+
created?: (() => void) | (() => void)[];
|
|
76
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
77
|
+
mounted?: (() => void) | (() => void)[];
|
|
78
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
79
|
+
updated?: (() => void) | (() => void)[];
|
|
80
|
+
activated?: (() => void) | (() => void)[];
|
|
81
|
+
deactivated?: (() => void) | (() => void)[];
|
|
82
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
83
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
84
|
+
destroyed?: (() => void) | (() => void)[];
|
|
85
|
+
unmounted?: (() => void) | (() => void)[];
|
|
86
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
87
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
88
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
89
|
+
};
|
|
90
|
+
$forceUpdate: () => void;
|
|
91
|
+
$nextTick: typeof import('vue').nextTick;
|
|
92
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
93
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "isOpen" | "open" | "close" | "goUp" | "goDown" | "selectActive"> & import('vue').ShallowUnwrapRef<{
|
|
94
|
+
goUp: () => void;
|
|
95
|
+
goDown: () => void;
|
|
96
|
+
open: () => void;
|
|
97
|
+
close: () => void;
|
|
98
|
+
selectActive: () => void;
|
|
99
|
+
isOpen: () => boolean;
|
|
100
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
101
|
+
$slots: {
|
|
102
|
+
default?(_: {}): any;
|
|
103
|
+
};
|
|
104
|
+
}) | null;
|
|
105
|
+
inputEl: HTMLInputElement;
|
|
106
|
+
}, any>;
|
|
75
107
|
export default _default;
|
|
76
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
77
|
-
type __VLS_TypePropsToRuntimeProps<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
|
-
};
|
|
85
|
-
type __VLS_WithDefaults<P, D> = {
|
|
86
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
87
|
-
default: D[K];
|
|
88
|
-
}> : P[K];
|
|
89
|
-
};
|
|
90
|
-
type __VLS_Prettify<T> = {
|
|
91
|
-
[K in keyof T]: T[K];
|
|
92
|
-
} & {};
|
|
@@ -1,115 +1,64 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { RuleExpression } from 'vee-validate';
|
|
2
|
+
import { LabelPosition } from '../../composables/form/input';
|
|
3
|
+
import { InputColor } from '../../composables/form/textInput';
|
|
4
4
|
type InputSize = 'sm' | 'base' | 'lg' | 'xl';
|
|
5
|
-
|
|
5
|
+
type __VLS_Props = {
|
|
6
6
|
/**
|
|
7
7
|
* Unique ID for the input (must be unique page-wide)
|
|
8
8
|
*/
|
|
9
9
|
name: string;
|
|
10
|
-
showLabel?: boolean
|
|
11
|
-
help?: string
|
|
12
|
-
placeholder?: string
|
|
13
|
-
label?: string
|
|
14
|
-
disabled?: boolean
|
|
10
|
+
showLabel?: boolean;
|
|
11
|
+
help?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
label?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
15
|
rules?: RuleExpression<string>;
|
|
16
|
-
validateOnMount?: boolean
|
|
17
|
-
validateOnValueUpdate?: boolean
|
|
18
|
-
useLabelInErrors?: boolean
|
|
19
|
-
autoFocus?: boolean
|
|
20
|
-
modelValue?: string
|
|
21
|
-
showClear?: boolean
|
|
22
|
-
fullWidth?: boolean
|
|
23
|
-
showRequired?: boolean
|
|
24
|
-
showOptional?: boolean
|
|
25
|
-
color?: InputColor
|
|
26
|
-
textareaClasses?: string
|
|
27
|
-
size?: InputSize
|
|
28
|
-
labelPosition?: LabelPosition
|
|
29
|
-
wrapperClasses?: string
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
modelValue: string;
|
|
33
|
-
color: string;
|
|
34
|
-
labelPosition: string;
|
|
35
|
-
wrapperClasses: string;
|
|
36
|
-
}>, {
|
|
16
|
+
validateOnMount?: boolean;
|
|
17
|
+
validateOnValueUpdate?: boolean;
|
|
18
|
+
useLabelInErrors?: boolean;
|
|
19
|
+
autoFocus?: boolean;
|
|
20
|
+
modelValue?: string;
|
|
21
|
+
showClear?: boolean;
|
|
22
|
+
fullWidth?: boolean;
|
|
23
|
+
showRequired?: boolean;
|
|
24
|
+
showOptional?: boolean;
|
|
25
|
+
color?: InputColor;
|
|
26
|
+
textareaClasses?: string;
|
|
27
|
+
size?: InputSize;
|
|
28
|
+
labelPosition?: LabelPosition;
|
|
29
|
+
wrapperClasses?: string;
|
|
30
|
+
};
|
|
31
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
37
32
|
focus: () => void;
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
change: (val: {
|
|
41
|
-
event?: Event | undefined;
|
|
42
|
-
value: string;
|
|
43
|
-
}) => void;
|
|
33
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
34
|
+
clear: () => any;
|
|
44
35
|
input: (val: {
|
|
45
|
-
event?: Event
|
|
36
|
+
event?: Event;
|
|
46
37
|
value: string;
|
|
47
|
-
}) =>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
* Unique ID for the input (must be unique page-wide)
|
|
52
|
-
*/
|
|
53
|
-
name: string;
|
|
54
|
-
showLabel?: boolean | undefined;
|
|
55
|
-
help?: string | undefined;
|
|
56
|
-
placeholder?: string | undefined;
|
|
57
|
-
label?: string | undefined;
|
|
58
|
-
disabled?: boolean | undefined;
|
|
59
|
-
rules?: RuleExpression<string>;
|
|
60
|
-
validateOnMount?: boolean | undefined;
|
|
61
|
-
validateOnValueUpdate?: boolean | undefined;
|
|
62
|
-
useLabelInErrors?: boolean | undefined;
|
|
63
|
-
autoFocus?: boolean | undefined;
|
|
64
|
-
modelValue?: string | undefined;
|
|
65
|
-
showClear?: boolean | undefined;
|
|
66
|
-
fullWidth?: boolean | undefined;
|
|
67
|
-
showRequired?: boolean | undefined;
|
|
68
|
-
showOptional?: boolean | undefined;
|
|
69
|
-
color?: InputColor | undefined;
|
|
70
|
-
textareaClasses?: string | undefined;
|
|
71
|
-
size?: InputSize | undefined;
|
|
72
|
-
labelPosition?: LabelPosition | undefined;
|
|
73
|
-
wrapperClasses?: string | undefined;
|
|
74
|
-
}>, {
|
|
75
|
-
useLabelInErrors: boolean;
|
|
76
|
-
modelValue: string;
|
|
77
|
-
color: string;
|
|
78
|
-
labelPosition: string;
|
|
79
|
-
wrapperClasses: string;
|
|
80
|
-
}>>> & {
|
|
81
|
-
onChange?: ((val: {
|
|
82
|
-
event?: Event | undefined;
|
|
38
|
+
}) => any;
|
|
39
|
+
"update:modelValue": (val: string) => any;
|
|
40
|
+
change: (val: {
|
|
41
|
+
event?: Event;
|
|
83
42
|
value: string;
|
|
84
|
-
}) => any
|
|
43
|
+
}) => any;
|
|
44
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
45
|
+
onClear?: (() => any) | undefined;
|
|
85
46
|
onInput?: ((val: {
|
|
86
|
-
event?: Event
|
|
47
|
+
event?: Event;
|
|
87
48
|
value: string;
|
|
88
49
|
}) => any) | undefined;
|
|
89
50
|
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
90
|
-
|
|
91
|
-
|
|
51
|
+
onChange?: ((val: {
|
|
52
|
+
event?: Event;
|
|
53
|
+
value: string;
|
|
54
|
+
}) => any) | undefined;
|
|
55
|
+
}>, {
|
|
56
|
+
color: InputColor;
|
|
92
57
|
modelValue: string;
|
|
93
58
|
labelPosition: LabelPosition;
|
|
94
|
-
color: InputColor;
|
|
95
59
|
useLabelInErrors: boolean;
|
|
96
60
|
wrapperClasses: string;
|
|
97
|
-
}, {}
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
62
|
+
inputElement: HTMLTextAreaElement;
|
|
63
|
+
}, HTMLDivElement>;
|
|
98
64
|
export default _default;
|
|
99
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
100
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
101
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
102
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
103
|
-
} : {
|
|
104
|
-
type: import('vue').PropType<T[K]>;
|
|
105
|
-
required: true;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
type __VLS_WithDefaults<P, D> = {
|
|
109
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
110
|
-
default: D[K];
|
|
111
|
-
}> : P[K];
|
|
112
|
-
};
|
|
113
|
-
type __VLS_Prettify<T> = {
|
|
114
|
-
[K in keyof T]: T[K];
|
|
115
|
-
} & {};
|
|
@@ -1,16 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import { RuleExpression } from 'vee-validate';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { Optional } from '../../../../shared/dist/esm/index';
|
|
4
|
+
import { PropAnyComponent } from '../../helpers/common/components';
|
|
5
|
+
import { InputColor } from '../../composables/form/textInput';
|
|
6
|
+
import { LabelPosition } from '../../composables/form/input';
|
|
7
|
+
type InputType = 'text' | 'email' | 'password' | 'url' | 'search' | 'number' | string;
|
|
7
8
|
type InputSize = 'sm' | 'base' | 'lg' | 'xl';
|
|
8
|
-
declare
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
'input-right'?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {
|
|
15
|
+
inputElement: HTMLInputElement;
|
|
16
|
+
};
|
|
17
|
+
rootEl: any;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
21
|
/**
|
|
10
22
|
* Input "type" value (changes behaviour & look)
|
|
11
23
|
*/
|
|
12
24
|
type: {
|
|
13
|
-
type: PropType<
|
|
25
|
+
type: PropType<InputType>;
|
|
14
26
|
default: string;
|
|
15
27
|
};
|
|
16
28
|
/**
|
|
@@ -178,28 +190,28 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
178
190
|
type: StringConstructor;
|
|
179
191
|
default: undefined;
|
|
180
192
|
};
|
|
181
|
-
}
|
|
193
|
+
}>, {
|
|
182
194
|
focus: () => void;
|
|
183
|
-
},
|
|
184
|
-
|
|
185
|
-
change: (val: {
|
|
186
|
-
event?: Event | undefined;
|
|
187
|
-
value: string;
|
|
188
|
-
}) => void;
|
|
195
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
196
|
+
clear: () => any;
|
|
189
197
|
input: (val: {
|
|
190
|
-
event?: Event
|
|
198
|
+
event?: Event;
|
|
191
199
|
value: string;
|
|
192
|
-
}) =>
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
}
|
|
200
|
+
}) => any;
|
|
201
|
+
"update:modelValue": (val: string) => any;
|
|
202
|
+
change: (val: {
|
|
203
|
+
event?: Event;
|
|
204
|
+
value: string;
|
|
205
|
+
}) => any;
|
|
206
|
+
focus: () => any;
|
|
207
|
+
blur: () => any;
|
|
208
|
+
rightIconClick: () => any;
|
|
209
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
198
210
|
/**
|
|
199
211
|
* Input "type" value (changes behaviour & look)
|
|
200
212
|
*/
|
|
201
213
|
type: {
|
|
202
|
-
type: PropType<
|
|
214
|
+
type: PropType<InputType>;
|
|
203
215
|
default: string;
|
|
204
216
|
};
|
|
205
217
|
/**
|
|
@@ -367,32 +379,34 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
367
379
|
type: StringConstructor;
|
|
368
380
|
default: undefined;
|
|
369
381
|
};
|
|
370
|
-
}>> & {
|
|
371
|
-
|
|
372
|
-
onBlur?: (() => any) | undefined;
|
|
373
|
-
onChange?: ((val: {
|
|
374
|
-
event?: Event | undefined;
|
|
375
|
-
value: string;
|
|
376
|
-
}) => any) | undefined;
|
|
382
|
+
}>> & Readonly<{
|
|
383
|
+
onClear?: (() => any) | undefined;
|
|
377
384
|
onInput?: ((val: {
|
|
378
|
-
event?: Event
|
|
385
|
+
event?: Event;
|
|
379
386
|
value: string;
|
|
380
387
|
}) => any) | undefined;
|
|
381
388
|
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
382
|
-
|
|
389
|
+
onChange?: ((val: {
|
|
390
|
+
event?: Event;
|
|
391
|
+
value: string;
|
|
392
|
+
}) => any) | undefined;
|
|
393
|
+
onFocus?: (() => any) | undefined;
|
|
394
|
+
onBlur?: (() => any) | undefined;
|
|
383
395
|
onRightIconClick?: (() => any) | undefined;
|
|
384
|
-
}
|
|
396
|
+
}>, {
|
|
385
397
|
size: InputSize;
|
|
398
|
+
fullWidth: boolean;
|
|
399
|
+
color: InputColor;
|
|
400
|
+
disabled: boolean;
|
|
401
|
+
loading: boolean;
|
|
386
402
|
type: string;
|
|
387
403
|
label: Optional<string>;
|
|
388
404
|
modelValue: string;
|
|
389
|
-
disabled: boolean;
|
|
390
405
|
rules: RuleExpression<string>;
|
|
391
406
|
validateOnMount: boolean;
|
|
392
407
|
showRequired: boolean;
|
|
393
408
|
labelPosition: LabelPosition;
|
|
394
409
|
validateOnValueUpdate: boolean;
|
|
395
|
-
color: InputColor;
|
|
396
410
|
help: Optional<string>;
|
|
397
411
|
showLabel: boolean;
|
|
398
412
|
autoFocus: boolean;
|
|
@@ -402,19 +416,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
402
416
|
hideErrorMessage: boolean;
|
|
403
417
|
customHelpClass: string;
|
|
404
418
|
placeholder: Optional<string>;
|
|
405
|
-
fullWidth: boolean;
|
|
406
419
|
showOptional: boolean;
|
|
407
420
|
wrapperClasses: string;
|
|
408
421
|
readOnly: boolean;
|
|
409
422
|
customIcon: Optional<PropAnyComponent>;
|
|
410
423
|
inputClasses: string;
|
|
411
|
-
loading: boolean;
|
|
412
424
|
rightIcon: Optional<PropAnyComponent>;
|
|
413
425
|
rightIconTitle: string;
|
|
414
426
|
tooltipText: string;
|
|
415
|
-
}, {}
|
|
416
|
-
|
|
417
|
-
}>;
|
|
427
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
428
|
+
inputElement: HTMLInputElement;
|
|
429
|
+
}, any>;
|
|
430
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
418
431
|
export default _default;
|
|
419
432
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
420
433
|
new (): {
|