straw-ui-vue 0.1.21 → 0.1.22
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/components/st-cascade/index.d.ts +3 -11
- package/dist/components/st-cascade/st-cascade-panel.d.ts +2 -5
- package/dist/components/st-cascade/st-cascade.d.ts +2 -7
- package/dist/components/st-cascade/types.d.ts +10 -0
- package/dist/components/st-checkbox/useCheckboxGroupState.d.ts +2 -0
- package/dist/components/st-color-picker/index.d.ts +94 -12
- package/dist/components/st-color-picker/st-color-picker-panel.d.ts +9 -2
- package/dist/components/st-color-picker/st-color-picker.d.ts +9 -2
- package/dist/components/st-color-picker/types.d.ts +16 -0
- package/dist/components/st-date-picker/index.d.ts +85 -19
- package/dist/components/st-date-picker/st-date-picker-panel.d.ts +9 -4
- package/dist/components/st-date-picker/st-date-picker.d.ts +2 -5
- package/dist/components/st-date-picker/types.d.ts +18 -4
- package/dist/components/st-datetime-picker/index.d.ts +89 -19
- package/dist/components/st-datetime-picker/st-datetime-picker-panel.d.ts +9 -4
- package/dist/components/st-datetime-picker/st-datetime-picker.d.ts +2 -5
- package/dist/components/st-datetime-picker/types.d.ts +18 -4
- package/dist/components/st-dialog/useDialogState.d.ts +2 -0
- package/dist/components/st-divider/useDividerState.d.ts +2 -0
- package/dist/components/st-drawer/useDrawerState.d.ts +2 -0
- package/dist/components/st-empty/types.d.ts +5 -0
- package/dist/components/st-form-control/types.d.ts +6 -8
- package/dist/components/st-form-description/index.d.ts +1 -3
- package/dist/components/st-form-description/st-form-description.d.ts +2 -5
- package/dist/components/st-form-description/types.d.ts +5 -0
- package/dist/components/st-form-field/index.d.ts +1 -11
- package/dist/components/st-form-field/st-form-field.d.ts +2 -9
- package/dist/components/st-form-field/types.d.ts +5 -6
- package/dist/components/st-form-item/index.d.ts +1 -3
- package/dist/components/st-form-item/st-form-item.d.ts +2 -5
- package/dist/components/st-form-item/types.d.ts +6 -8
- package/dist/components/st-form-label/index.d.ts +1 -3
- package/dist/components/st-form-label/st-form-label.d.ts +2 -5
- package/dist/components/st-form-label/types.d.ts +5 -0
- package/dist/components/st-form-message/index.d.ts +1 -3
- package/dist/components/st-form-message/st-form-message.d.ts +2 -5
- package/dist/components/st-form-message/types.d.ts +5 -0
- package/dist/components/st-input/index.d.ts +1863 -607
- package/dist/components/st-input/st-input-group-input.d.ts +9 -2
- package/dist/components/st-input/st-input-group-textarea.d.ts +9 -2
- package/dist/components/st-input/st-input-number.d.ts +10 -3
- package/dist/components/st-input/st-input.d.ts +165 -57
- package/dist/components/st-input/st-textarea.d.ts +167 -57
- package/dist/components/st-input/types.d.ts +50 -0
- package/dist/components/st-label/index.d.ts +1 -3
- package/dist/components/st-label/st-label.d.ts +2 -5
- package/dist/components/st-label/types.d.ts +5 -0
- package/dist/components/st-menu/index.d.ts +14 -82
- package/dist/components/st-menu/st-menu-content.d.ts +1 -6
- package/dist/components/st-menu/st-menu-divider.d.ts +1 -4
- package/dist/components/st-menu/st-menu-group.d.ts +0 -4
- package/dist/components/st-menu/st-menu-item.d.ts +0 -4
- package/dist/components/st-menu/st-menu-trigger.d.ts +1 -6
- package/dist/components/st-menu/types.d.ts +54 -0
- package/dist/components/st-menu/useMenuState.d.ts +60 -0
- package/dist/components/st-pagination/index.d.ts +1 -7
- package/dist/components/st-pagination/st-pagination.d.ts +2 -9
- package/dist/components/st-popover/index.d.ts +17 -47
- package/dist/components/st-popover/st-popover-arrow.d.ts +1 -8
- package/dist/components/st-popover/st-popover-content.d.ts +0 -6
- package/dist/components/st-popover/st-popover-trigger.d.ts +0 -6
- package/dist/components/st-popover/st-popover.d.ts +11 -12
- package/dist/components/st-popover/types.d.ts +45 -14
- package/dist/components/st-popover/usePopoverState.d.ts +62 -0
- package/dist/components/st-progress/index.d.ts +1 -5
- package/dist/components/st-progress/st-progress.d.ts +2 -7
- package/dist/components/st-progress/types.d.ts +5 -0
- package/dist/components/st-radio/useRadioGroupState.d.ts +2 -0
- package/dist/components/st-scrollbar/index.d.ts +1 -3
- package/dist/components/st-scrollbar/st-scrollbar.d.ts +2 -5
- package/dist/components/st-scrollbar/types.d.ts +0 -6
- package/dist/components/st-segmented/index.d.ts +43 -8
- package/dist/components/st-segmented/st-segmented.d.ts +9 -2
- package/dist/components/st-select/index.d.ts +19 -93
- package/dist/components/st-select/st-select-content.d.ts +1 -8
- package/dist/components/st-select/st-select-empty.d.ts +1 -8
- package/dist/components/st-select/st-select-group.d.ts +1 -8
- package/dist/components/st-select/st-select-item.d.ts +0 -6
- package/dist/components/st-select/st-select-trigger.d.ts +6 -12
- package/dist/components/st-select/st-select.d.ts +2 -7
- package/dist/components/st-select/types.d.ts +68 -0
- package/dist/components/st-select/useSelectState.d.ts +55 -0
- package/dist/components/st-sidebar/index.d.ts +13 -3
- package/dist/components/st-sidebar/st-sidebar.d.ts +5 -1
- package/dist/components/st-sidebar/useSidebarState.d.ts +2 -0
- package/dist/components/st-sidebar-item/index.d.ts +13 -3
- package/dist/components/st-sidebar-item/st-sidebar-item.d.ts +5 -1
- package/dist/components/st-skeleton/index.d.ts +3 -11
- package/dist/components/st-skeleton/st-skeleton-item.d.ts +2 -5
- package/dist/components/st-skeleton/st-skeleton.d.ts +2 -7
- package/dist/components/st-skeleton/types.d.ts +10 -6
- package/dist/components/st-slider/index.d.ts +1 -17
- package/dist/components/st-slider/st-slider.d.ts +2 -19
- package/dist/components/st-slider/types.d.ts +8 -0
- package/dist/components/st-splitter/index.d.ts +14 -6
- package/dist/components/st-splitter/st-splitter.d.ts +7 -6
- package/dist/components/st-splitter/useSplitter.d.ts +0 -8
- package/dist/components/st-splitter/useSplitterState.d.ts +2 -0
- package/dist/components/st-splitter-panel/index.d.ts +6 -3
- package/dist/components/st-splitter-panel/st-splitter-panel.d.ts +4 -5
- package/dist/components/st-tabs/index.d.ts +26 -6
- package/dist/components/st-tabs/st-tabs-pane.d.ts +5 -1
- package/dist/components/st-tabs/useTabsState.d.ts +12 -0
- package/dist/components/st-tag/index.d.ts +1 -20
- package/dist/components/st-tag/st-tag.d.ts +3 -13
- package/dist/components/st-tag/types.d.ts +40 -51
- package/dist/components/st-time-picker/index.d.ts +102 -14
- package/dist/components/st-time-picker/st-time-picker-panel.d.ts +9 -2
- package/dist/components/st-time-picker/st-time-picker.d.ts +9 -2
- package/dist/components/st-time-picker/types.d.ts +18 -6
- package/dist/components/st-toggle/index.d.ts +15 -13
- package/dist/components/st-toggle/st-toggle.d.ts +11 -10
- package/dist/components/st-tooltip/index.d.ts +27 -352
- package/dist/components/st-tooltip/st-tooltip.d.ts +14 -10
- package/dist/components/st-tooltip/types.d.ts +10 -97
- package/dist/components/st-tree/index.d.ts +48 -73
- package/dist/components/st-tree/st-tree-node.d.ts +9 -2
- package/dist/components/st-tree/st-tree.d.ts +15 -69
- package/dist/components/st-tree/types.d.ts +6 -1
- package/dist/components/st-tree/useTreeStyleState.d.ts +2 -0
- package/dist/directive/v-intersection.d.ts +3 -15
- package/dist/directive/v-resize.d.ts +3 -15
- package/dist/dist--ubF9h1Q.js +335 -0
- package/dist/global.d.ts +0 -3
- package/dist/index.d.ts +2 -8
- package/dist/straw-ui.js +3767 -4269
- package/dist/useDialogState-Cs1mp3-Y.js +5 -0
- package/dist/utils/device.d.ts +20 -21
- package/dist/utils/z-index.d.ts +9 -39
- package/package.json +5 -5
- package/dist/components/st-tooltip/st-tooltip-container.d.ts +0 -44
- package/dist/components/st-tooltip/st-tooltip-content.d.ts +0 -30
- package/dist/components/st-tooltip/st-tooltip-trigger.d.ts +0 -23
- package/dist/context-B_FwxbY6.js +0 -4
- package/dist/utils/id.d.ts +0 -4
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { StInputGroupInputExpose, StInputGroupInputProps } from './types.d.ts';
|
|
1
|
+
import { StInputGroupInputExpose, StInputGroupInputProps, StInputGroupInputSlots } from './types.d.ts';
|
|
2
|
+
type __VLS_Slots = StInputGroupInputSlots;
|
|
2
3
|
type __VLS_Props = StInputGroupInputProps;
|
|
3
4
|
type __VLS_ModelProps = {
|
|
4
5
|
modelValue?: string | number;
|
|
5
6
|
};
|
|
6
7
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
-
declare const
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StInputGroupInputExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
9
|
blur: (event: FocusEvent) => any;
|
|
9
10
|
input: (event: Event) => any;
|
|
10
11
|
focus: (event: FocusEvent) => any;
|
|
@@ -22,5 +23,11 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, StI
|
|
|
22
23
|
placeholder: string;
|
|
23
24
|
readonly: boolean;
|
|
24
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
27
|
declare const _default: typeof __VLS_export;
|
|
26
28
|
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { StInputGroupTextareaExpose, StInputGroupTextareaProps } from './types.d.ts';
|
|
1
|
+
import { StInputGroupTextareaExpose, StInputGroupTextareaProps, StInputGroupTextareaSlots } from './types.d.ts';
|
|
2
|
+
type __VLS_Slots = StInputGroupTextareaSlots;
|
|
2
3
|
type __VLS_Props = StInputGroupTextareaProps;
|
|
3
4
|
type __VLS_ModelProps = {
|
|
4
5
|
modelValue?: string;
|
|
5
6
|
};
|
|
6
7
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
-
declare const
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StInputGroupTextareaExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
9
|
blur: (event: FocusEvent) => any;
|
|
9
10
|
input: (event: Event) => any;
|
|
10
11
|
focus: (event: FocusEvent) => any;
|
|
@@ -22,5 +23,11 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, StI
|
|
|
22
23
|
readonly: boolean;
|
|
23
24
|
rows: number;
|
|
24
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
27
|
declare const _default: typeof __VLS_export;
|
|
26
28
|
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { StInputNumberExpose, StInputNumberProps } from './types.d.ts';
|
|
1
|
+
import { StInputNumberExpose, StInputNumberProps, StInputNumberSlots } from './types.d.ts';
|
|
2
|
+
type __VLS_Slots = StInputNumberSlots;
|
|
2
3
|
type __VLS_Props = StInputNumberProps;
|
|
3
4
|
type __VLS_ModelProps = {
|
|
4
5
|
modelValue?: number | undefined;
|
|
5
6
|
};
|
|
6
7
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
-
declare const
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StInputNumberExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
9
|
blur: (event: FocusEvent) => any;
|
|
9
10
|
input: (value: number) => any;
|
|
10
11
|
focus: (event: FocusEvent) => any;
|
|
@@ -22,8 +23,14 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, StI
|
|
|
22
23
|
onDecrease?: () => any;
|
|
23
24
|
}>, {
|
|
24
25
|
disabled: boolean;
|
|
25
|
-
step: number;
|
|
26
26
|
controls: boolean;
|
|
27
|
+
step: number;
|
|
27
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
30
|
declare const _default: typeof __VLS_export;
|
|
29
31
|
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -21,46 +21,85 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
21
21
|
focus: typeof focus;
|
|
22
22
|
blur: typeof blur;
|
|
23
23
|
select: typeof select;
|
|
24
|
-
inputRef: import('vue').Ref<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
24
|
+
inputRef: import('vue').Ref<{
|
|
25
|
+
$: import('vue').ComponentInternalInstance;
|
|
26
|
+
$data: {};
|
|
27
|
+
$props: Partial<{
|
|
28
|
+
type: import('./types.d.ts').StInputType;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
placeholder: string;
|
|
31
|
+
readonly: boolean;
|
|
32
|
+
}> & Omit<{
|
|
33
|
+
readonly type?: import('./types.d.ts').StInputType;
|
|
34
|
+
readonly placeholder?: string;
|
|
35
|
+
readonly disabled?: boolean;
|
|
36
|
+
readonly readonly?: boolean;
|
|
37
|
+
readonly maxlength?: number;
|
|
38
|
+
readonly minlength?: number;
|
|
39
|
+
readonly modelValue?: string | number;
|
|
40
|
+
readonly onBlur?: (event: FocusEvent) => any;
|
|
41
|
+
readonly onInput?: (event: Event) => any;
|
|
42
|
+
readonly onFocus?: (event: FocusEvent) => any;
|
|
43
|
+
readonly onChange?: (event: Event) => any;
|
|
44
|
+
readonly "onUpdate:modelValue"?: (value: string | number) => any;
|
|
45
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "disabled" | "placeholder" | "readonly">;
|
|
46
|
+
$attrs: import('vue').Attrs;
|
|
47
|
+
$refs: {
|
|
48
|
+
[x: string]: unknown;
|
|
49
|
+
};
|
|
50
|
+
$slots: Readonly<{
|
|
51
|
+
[name: string]: import('vue').Slot<any>;
|
|
52
|
+
}>;
|
|
53
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
54
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
55
|
+
$host: Element | null;
|
|
56
|
+
$emit: ((event: "blur", event: FocusEvent) => void) & ((event: "input", event: Event) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "change", event: Event) => void) & ((event: "update:modelValue", value: string | number) => void);
|
|
57
|
+
$el: any;
|
|
58
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StInputGroupInputProps & {
|
|
59
|
+
modelValue?: string | number;
|
|
60
|
+
}> & Readonly<{
|
|
61
|
+
onBlur?: (event: FocusEvent) => any;
|
|
62
|
+
onInput?: (event: Event) => any;
|
|
63
|
+
onFocus?: (event: FocusEvent) => any;
|
|
64
|
+
onChange?: (event: Event) => any;
|
|
65
|
+
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
66
|
+
}>, import('./types.d.ts').StInputGroupInputExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
|
+
blur: (event: FocusEvent) => any;
|
|
68
|
+
input: (event: Event) => any;
|
|
69
|
+
focus: (event: FocusEvent) => any;
|
|
70
|
+
change: (event: Event) => any;
|
|
71
|
+
"update:modelValue": (value: string | number) => any;
|
|
72
|
+
}, string, {
|
|
73
|
+
type: import('./types.d.ts').StInputType;
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
placeholder: string;
|
|
76
|
+
readonly: boolean;
|
|
77
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
78
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
79
|
+
created?: (() => void) | (() => void)[];
|
|
80
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
81
|
+
mounted?: (() => void) | (() => void)[];
|
|
82
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
83
|
+
updated?: (() => void) | (() => void)[];
|
|
84
|
+
activated?: (() => void) | (() => void)[];
|
|
85
|
+
deactivated?: (() => void) | (() => void)[];
|
|
86
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
87
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
88
|
+
destroyed?: (() => void) | (() => void)[];
|
|
89
|
+
unmounted?: (() => void) | (() => void)[];
|
|
90
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
91
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
92
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
93
|
+
};
|
|
94
|
+
$forceUpdate: () => void;
|
|
95
|
+
$nextTick: typeof import('vue').nextTick;
|
|
96
|
+
$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;
|
|
97
|
+
} & Readonly<{
|
|
59
98
|
type: import('./types.d.ts').StInputType;
|
|
60
99
|
disabled: boolean;
|
|
61
100
|
placeholder: string;
|
|
62
101
|
readonly: boolean;
|
|
63
|
-
}
|
|
102
|
+
}> & Omit<Readonly<import('./types.d.ts').StInputGroupInputProps & {
|
|
64
103
|
modelValue?: string | number;
|
|
65
104
|
}> & Readonly<{
|
|
66
105
|
onBlur?: (event: FocusEvent) => any;
|
|
@@ -68,25 +107,92 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
68
107
|
onFocus?: (event: FocusEvent) => any;
|
|
69
108
|
onChange?: (event: Event) => any;
|
|
70
109
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
71
|
-
}>, import('./types.d.ts').StInputGroupInputExpose
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
110
|
+
}>, keyof import('./types.d.ts').StInputGroupInputExpose | ("type" | "disabled" | "placeholder" | "readonly")> & {
|
|
111
|
+
focus: () => void;
|
|
112
|
+
blur: () => void;
|
|
113
|
+
select: () => void;
|
|
114
|
+
inputRef: HTMLInputElement;
|
|
115
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
116
|
+
$slots: import('./types.d.ts').StInputGroupInputSlots;
|
|
117
|
+
}, {
|
|
118
|
+
$: import('vue').ComponentInternalInstance;
|
|
119
|
+
$data: {};
|
|
120
|
+
$props: Partial<{
|
|
121
|
+
type: import('./types.d.ts').StInputType;
|
|
122
|
+
disabled: boolean;
|
|
123
|
+
placeholder: string;
|
|
124
|
+
readonly: boolean;
|
|
125
|
+
}> & Omit<{
|
|
126
|
+
readonly type?: import('./types.d.ts').StInputType;
|
|
127
|
+
readonly placeholder?: string;
|
|
128
|
+
readonly disabled?: boolean;
|
|
129
|
+
readonly readonly?: boolean;
|
|
130
|
+
readonly maxlength?: number;
|
|
131
|
+
readonly minlength?: number;
|
|
132
|
+
readonly modelValue?: string | number;
|
|
133
|
+
readonly onBlur?: (event: FocusEvent) => any;
|
|
134
|
+
readonly onInput?: (event: Event) => any;
|
|
135
|
+
readonly onFocus?: (event: FocusEvent) => any;
|
|
136
|
+
readonly onChange?: (event: Event) => any;
|
|
137
|
+
readonly "onUpdate:modelValue"?: (value: string | number) => any;
|
|
138
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "disabled" | "placeholder" | "readonly">;
|
|
139
|
+
$attrs: import('vue').Attrs;
|
|
140
|
+
$refs: {
|
|
141
|
+
[x: string]: unknown;
|
|
142
|
+
};
|
|
143
|
+
$slots: Readonly<{
|
|
144
|
+
[name: string]: import('vue').Slot<any>;
|
|
145
|
+
}>;
|
|
146
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
147
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
148
|
+
$host: Element | null;
|
|
149
|
+
$emit: ((event: "blur", event: FocusEvent) => void) & ((event: "input", event: Event) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "change", event: Event) => void) & ((event: "update:modelValue", value: string | number) => void);
|
|
150
|
+
$el: any;
|
|
151
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StInputGroupInputProps & {
|
|
152
|
+
modelValue?: string | number;
|
|
153
|
+
}> & Readonly<{
|
|
154
|
+
onBlur?: (event: FocusEvent) => any;
|
|
155
|
+
onInput?: (event: Event) => any;
|
|
156
|
+
onFocus?: (event: FocusEvent) => any;
|
|
157
|
+
onChange?: (event: Event) => any;
|
|
158
|
+
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
159
|
+
}>, import('./types.d.ts').StInputGroupInputExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
160
|
+
blur: (event: FocusEvent) => any;
|
|
161
|
+
input: (event: Event) => any;
|
|
162
|
+
focus: (event: FocusEvent) => any;
|
|
163
|
+
change: (event: Event) => any;
|
|
164
|
+
"update:modelValue": (value: string | number) => any;
|
|
165
|
+
}, string, {
|
|
166
|
+
type: import('./types.d.ts').StInputType;
|
|
167
|
+
disabled: boolean;
|
|
168
|
+
placeholder: string;
|
|
169
|
+
readonly: boolean;
|
|
170
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
171
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
172
|
+
created?: (() => void) | (() => void)[];
|
|
173
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
174
|
+
mounted?: (() => void) | (() => void)[];
|
|
175
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
176
|
+
updated?: (() => void) | (() => void)[];
|
|
177
|
+
activated?: (() => void) | (() => void)[];
|
|
178
|
+
deactivated?: (() => void) | (() => void)[];
|
|
179
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
180
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
181
|
+
destroyed?: (() => void) | (() => void)[];
|
|
182
|
+
unmounted?: (() => void) | (() => void)[];
|
|
183
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
184
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
185
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
186
|
+
};
|
|
187
|
+
$forceUpdate: () => void;
|
|
188
|
+
$nextTick: typeof import('vue').nextTick;
|
|
189
|
+
$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;
|
|
190
|
+
} & Readonly<{
|
|
78
191
|
type: import('./types.d.ts').StInputType;
|
|
79
192
|
disabled: boolean;
|
|
80
193
|
placeholder: string;
|
|
81
194
|
readonly: boolean;
|
|
82
|
-
}
|
|
83
|
-
P: {};
|
|
84
|
-
B: {};
|
|
85
|
-
D: {};
|
|
86
|
-
C: {};
|
|
87
|
-
M: {};
|
|
88
|
-
Defaults: {};
|
|
89
|
-
}, Readonly<import('./types.d.ts').StInputGroupInputProps & {
|
|
195
|
+
}> & Omit<Readonly<import('./types.d.ts').StInputGroupInputProps & {
|
|
90
196
|
modelValue?: string | number;
|
|
91
197
|
}> & Readonly<{
|
|
92
198
|
onBlur?: (event: FocusEvent) => any;
|
|
@@ -94,12 +200,14 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
94
200
|
onFocus?: (event: FocusEvent) => any;
|
|
95
201
|
onChange?: (event: Event) => any;
|
|
96
202
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
97
|
-
}>, import('./types.d.ts').StInputGroupInputExpose
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
203
|
+
}>, keyof import('./types.d.ts').StInputGroupInputExpose | ("type" | "disabled" | "placeholder" | "readonly")> & {
|
|
204
|
+
focus: () => void;
|
|
205
|
+
blur: () => void;
|
|
206
|
+
select: () => void;
|
|
207
|
+
inputRef: HTMLInputElement;
|
|
208
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
209
|
+
$slots: import('./types.d.ts').StInputGroupInputSlots;
|
|
210
|
+
}>;
|
|
103
211
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
104
212
|
clear: () => any;
|
|
105
213
|
blur: (event: FocusEvent) => any;
|
|
@@ -21,46 +21,86 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
21
21
|
focus: typeof focus;
|
|
22
22
|
blur: typeof blur;
|
|
23
23
|
select: typeof select;
|
|
24
|
-
inputRef: import('vue').Ref<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
|
|
24
|
+
inputRef: import('vue').Ref<{
|
|
25
|
+
$: import('vue').ComponentInternalInstance;
|
|
26
|
+
$data: {};
|
|
27
|
+
$props: Partial<{
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
placeholder: string;
|
|
30
|
+
readonly: boolean;
|
|
31
|
+
rows: number;
|
|
32
|
+
}> & Omit<{
|
|
33
|
+
readonly placeholder?: string;
|
|
34
|
+
readonly disabled?: boolean;
|
|
35
|
+
readonly readonly?: boolean;
|
|
36
|
+
readonly maxlength?: number;
|
|
37
|
+
readonly minlength?: number;
|
|
38
|
+
readonly rows?: number;
|
|
39
|
+
readonly cols?: number;
|
|
40
|
+
readonly modelValue?: string;
|
|
41
|
+
readonly onBlur?: (event: FocusEvent) => any;
|
|
42
|
+
readonly onInput?: (event: Event) => any;
|
|
43
|
+
readonly onFocus?: (event: FocusEvent) => any;
|
|
44
|
+
readonly onChange?: (event: Event) => any;
|
|
45
|
+
readonly "onUpdate:modelValue"?: (value: string) => any;
|
|
46
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "placeholder" | "readonly" | "rows">;
|
|
47
|
+
$attrs: import('vue').Attrs;
|
|
48
|
+
$refs: {
|
|
49
|
+
[x: string]: unknown;
|
|
50
|
+
};
|
|
51
|
+
$slots: Readonly<{
|
|
52
|
+
[name: string]: import('vue').Slot<any>;
|
|
53
|
+
}>;
|
|
54
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
55
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
56
|
+
$host: Element | null;
|
|
57
|
+
$emit: ((event: "blur", event: FocusEvent) => void) & ((event: "input", event: Event) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "change", event: Event) => void) & ((event: "update:modelValue", value: string) => void);
|
|
58
|
+
$el: any;
|
|
59
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StInputGroupTextareaProps & {
|
|
60
|
+
modelValue?: string;
|
|
61
|
+
}> & Readonly<{
|
|
62
|
+
onBlur?: (event: FocusEvent) => any;
|
|
63
|
+
onInput?: (event: Event) => any;
|
|
64
|
+
onFocus?: (event: FocusEvent) => any;
|
|
65
|
+
onChange?: (event: Event) => any;
|
|
66
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
67
|
+
}>, import('./types.d.ts').StInputGroupTextareaExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
68
|
+
blur: (event: FocusEvent) => any;
|
|
69
|
+
input: (event: Event) => any;
|
|
70
|
+
focus: (event: FocusEvent) => any;
|
|
71
|
+
change: (event: Event) => any;
|
|
72
|
+
"update:modelValue": (value: string) => any;
|
|
73
|
+
}, string, {
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
placeholder: string;
|
|
76
|
+
readonly: boolean;
|
|
77
|
+
rows: number;
|
|
78
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
79
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
80
|
+
created?: (() => void) | (() => void)[];
|
|
81
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
82
|
+
mounted?: (() => void) | (() => void)[];
|
|
83
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
84
|
+
updated?: (() => void) | (() => void)[];
|
|
85
|
+
activated?: (() => void) | (() => void)[];
|
|
86
|
+
deactivated?: (() => void) | (() => void)[];
|
|
87
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
88
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
89
|
+
destroyed?: (() => void) | (() => void)[];
|
|
90
|
+
unmounted?: (() => void) | (() => void)[];
|
|
91
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
92
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
93
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
94
|
+
};
|
|
95
|
+
$forceUpdate: () => void;
|
|
96
|
+
$nextTick: typeof import('vue').nextTick;
|
|
97
|
+
$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;
|
|
98
|
+
} & Readonly<{
|
|
59
99
|
disabled: boolean;
|
|
60
100
|
placeholder: string;
|
|
61
101
|
readonly: boolean;
|
|
62
102
|
rows: number;
|
|
63
|
-
}
|
|
103
|
+
}> & Omit<Readonly<import('./types.d.ts').StInputGroupTextareaProps & {
|
|
64
104
|
modelValue?: string;
|
|
65
105
|
}> & Readonly<{
|
|
66
106
|
onBlur?: (event: FocusEvent) => any;
|
|
@@ -68,25 +108,93 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
68
108
|
onFocus?: (event: FocusEvent) => any;
|
|
69
109
|
onChange?: (event: Event) => any;
|
|
70
110
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
71
|
-
}>, import('./types.d.ts').StInputGroupTextareaExpose
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
111
|
+
}>, keyof import('./types.d.ts').StInputGroupTextareaExpose | ("disabled" | "placeholder" | "readonly" | "rows")> & {
|
|
112
|
+
focus: () => void;
|
|
113
|
+
blur: () => void;
|
|
114
|
+
select: () => void;
|
|
115
|
+
textareaRef: HTMLTextAreaElement;
|
|
116
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
117
|
+
$slots: import('./types.d.ts').StInputGroupTextareaSlots;
|
|
118
|
+
}, {
|
|
119
|
+
$: import('vue').ComponentInternalInstance;
|
|
120
|
+
$data: {};
|
|
121
|
+
$props: Partial<{
|
|
122
|
+
disabled: boolean;
|
|
123
|
+
placeholder: string;
|
|
124
|
+
readonly: boolean;
|
|
125
|
+
rows: number;
|
|
126
|
+
}> & Omit<{
|
|
127
|
+
readonly placeholder?: string;
|
|
128
|
+
readonly disabled?: boolean;
|
|
129
|
+
readonly readonly?: boolean;
|
|
130
|
+
readonly maxlength?: number;
|
|
131
|
+
readonly minlength?: number;
|
|
132
|
+
readonly rows?: number;
|
|
133
|
+
readonly cols?: number;
|
|
134
|
+
readonly modelValue?: string;
|
|
135
|
+
readonly onBlur?: (event: FocusEvent) => any;
|
|
136
|
+
readonly onInput?: (event: Event) => any;
|
|
137
|
+
readonly onFocus?: (event: FocusEvent) => any;
|
|
138
|
+
readonly onChange?: (event: Event) => any;
|
|
139
|
+
readonly "onUpdate:modelValue"?: (value: string) => any;
|
|
140
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "placeholder" | "readonly" | "rows">;
|
|
141
|
+
$attrs: import('vue').Attrs;
|
|
142
|
+
$refs: {
|
|
143
|
+
[x: string]: unknown;
|
|
144
|
+
};
|
|
145
|
+
$slots: Readonly<{
|
|
146
|
+
[name: string]: import('vue').Slot<any>;
|
|
147
|
+
}>;
|
|
148
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
149
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
150
|
+
$host: Element | null;
|
|
151
|
+
$emit: ((event: "blur", event: FocusEvent) => void) & ((event: "input", event: Event) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "change", event: Event) => void) & ((event: "update:modelValue", value: string) => void);
|
|
152
|
+
$el: any;
|
|
153
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StInputGroupTextareaProps & {
|
|
154
|
+
modelValue?: string;
|
|
155
|
+
}> & Readonly<{
|
|
156
|
+
onBlur?: (event: FocusEvent) => any;
|
|
157
|
+
onInput?: (event: Event) => any;
|
|
158
|
+
onFocus?: (event: FocusEvent) => any;
|
|
159
|
+
onChange?: (event: Event) => any;
|
|
160
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
161
|
+
}>, import('./types.d.ts').StInputGroupTextareaExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
162
|
+
blur: (event: FocusEvent) => any;
|
|
163
|
+
input: (event: Event) => any;
|
|
164
|
+
focus: (event: FocusEvent) => any;
|
|
165
|
+
change: (event: Event) => any;
|
|
166
|
+
"update:modelValue": (value: string) => any;
|
|
167
|
+
}, string, {
|
|
168
|
+
disabled: boolean;
|
|
169
|
+
placeholder: string;
|
|
170
|
+
readonly: boolean;
|
|
171
|
+
rows: number;
|
|
172
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
173
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
174
|
+
created?: (() => void) | (() => void)[];
|
|
175
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
176
|
+
mounted?: (() => void) | (() => void)[];
|
|
177
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
178
|
+
updated?: (() => void) | (() => void)[];
|
|
179
|
+
activated?: (() => void) | (() => void)[];
|
|
180
|
+
deactivated?: (() => void) | (() => void)[];
|
|
181
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
182
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
183
|
+
destroyed?: (() => void) | (() => void)[];
|
|
184
|
+
unmounted?: (() => void) | (() => void)[];
|
|
185
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
186
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
187
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
188
|
+
};
|
|
189
|
+
$forceUpdate: () => void;
|
|
190
|
+
$nextTick: typeof import('vue').nextTick;
|
|
191
|
+
$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;
|
|
192
|
+
} & Readonly<{
|
|
78
193
|
disabled: boolean;
|
|
79
194
|
placeholder: string;
|
|
80
195
|
readonly: boolean;
|
|
81
196
|
rows: number;
|
|
82
|
-
}
|
|
83
|
-
P: {};
|
|
84
|
-
B: {};
|
|
85
|
-
D: {};
|
|
86
|
-
C: {};
|
|
87
|
-
M: {};
|
|
88
|
-
Defaults: {};
|
|
89
|
-
}, Readonly<import('./types.d.ts').StInputGroupTextareaProps & {
|
|
197
|
+
}> & Omit<Readonly<import('./types.d.ts').StInputGroupTextareaProps & {
|
|
90
198
|
modelValue?: string;
|
|
91
199
|
}> & Readonly<{
|
|
92
200
|
onBlur?: (event: FocusEvent) => any;
|
|
@@ -94,12 +202,14 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
94
202
|
onFocus?: (event: FocusEvent) => any;
|
|
95
203
|
onChange?: (event: Event) => any;
|
|
96
204
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
97
|
-
}>, import('./types.d.ts').StInputGroupTextareaExpose
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
205
|
+
}>, keyof import('./types.d.ts').StInputGroupTextareaExpose | ("disabled" | "placeholder" | "readonly" | "rows")> & {
|
|
206
|
+
focus: () => void;
|
|
207
|
+
blur: () => void;
|
|
208
|
+
select: () => void;
|
|
209
|
+
textareaRef: HTMLTextAreaElement;
|
|
210
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
211
|
+
$slots: import('./types.d.ts').StInputGroupTextareaSlots;
|
|
212
|
+
}>;
|
|
103
213
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
104
214
|
clear: () => any;
|
|
105
215
|
blur: (event: FocusEvent) => any;
|