hzzt-plus 0.0.2 → 0.0.3
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/index.css +1 -1
- package/dist/index.full.js +13545 -403
- package/dist/index.full.min.js +25 -17
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +26 -18
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +13527 -394
- package/dist/locale/en.js +11 -0
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.js.map +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.min.mjs.map +1 -1
- package/dist/locale/en.mjs +11 -0
- package/dist/locale/zh-cn.js +11 -0
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.js.map +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.min.mjs.map +1 -1
- package/dist/locale/zh-cn.mjs +11 -0
- package/es/component.mjs +11 -1
- package/es/component.mjs.map +1 -1
- package/es/components/collapse/index.d.ts +1 -3
- package/es/components/collapse/index.mjs +2 -1
- package/es/components/collapse/index.mjs.map +1 -1
- package/es/components/collapse/src/collapse.d.ts +2 -0
- package/es/components/collapse/src/collapse.mjs +2 -0
- package/es/components/collapse/src/collapse.mjs.map +1 -0
- package/es/components/collapse/src/{index.vue.d.ts → collapse.vue.d.ts} +0 -3
- package/es/components/collapse/src/{index.mjs → collapse2.mjs} +3 -4
- package/es/components/collapse/src/collapse2.mjs.map +1 -0
- package/es/components/config-provider/src/config-provider.mjs.map +1 -1
- package/es/components/config-provider/src/hooks/use-global-config.mjs.map +1 -1
- package/es/components/confirm-password/index.d.ts +487 -0
- package/es/components/confirm-password/index.mjs +8 -0
- package/es/components/confirm-password/index.mjs.map +1 -0
- package/es/components/confirm-password/src/confirm-password.mjs +72 -0
- package/es/components/confirm-password/src/confirm-password.mjs.map +1 -0
- package/es/components/confirm-password/src/confirm-password.vue.d.ts +487 -0
- package/es/components/confirm-password/style/css.d.ts +2 -0
- package/es/components/confirm-password/style/css.mjs +3 -0
- package/es/components/confirm-password/style/css.mjs.map +1 -0
- package/es/components/confirm-password/style/index.d.ts +2 -0
- package/es/components/confirm-password/style/index.mjs +3 -0
- package/es/components/confirm-password/style/index.mjs.map +1 -0
- package/es/components/dropdown/index.mjs.map +1 -1
- package/es/components/dropdown/src/index.mjs +18 -12
- package/es/components/dropdown/src/index.mjs.map +1 -1
- package/es/components/icon/index.d.ts +5 -0
- package/es/components/icon/index.mjs +17 -0
- package/es/components/icon/index.mjs.map +1 -0
- package/es/components/icon/src/index.mjs +34 -0
- package/es/components/icon/src/index.mjs.map +1 -0
- package/es/components/icon/src/index.vue.d.ts +102 -0
- package/es/components/icon/style/css.d.ts +2 -0
- package/es/components/icon/style/css.mjs +3 -0
- package/es/components/icon/style/css.mjs.map +1 -0
- package/es/components/icon/style/index.d.ts +2 -0
- package/es/components/icon/style/index.mjs +3 -0
- package/es/components/icon/style/index.mjs.map +1 -0
- package/es/components/index.d.ts +5 -0
- package/es/components/index.mjs +5 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/page-size/index.d.ts +14364 -0
- package/es/components/page-size/index.mjs +8 -0
- package/es/components/page-size/index.mjs.map +1 -0
- package/es/components/page-size/src/index.mjs +157 -0
- package/es/components/page-size/src/index.mjs.map +1 -0
- package/es/components/page-size/src/index.vue.d.ts +14364 -0
- package/es/components/page-size/style/css.d.ts +2 -0
- package/es/components/page-size/style/css.mjs +3 -0
- package/es/components/page-size/style/css.mjs.map +1 -0
- package/es/components/page-size/style/index.d.ts +2 -0
- package/es/components/page-size/style/index.mjs +3 -0
- package/es/components/page-size/style/index.mjs.map +1 -0
- package/es/components/pagination/index.d.ts +144 -0
- package/es/components/pagination/index.mjs +8 -0
- package/es/components/pagination/index.mjs.map +1 -0
- package/es/components/pagination/src/index.mjs +68 -0
- package/es/components/pagination/src/index.mjs.map +1 -0
- package/es/components/pagination/src/index.vue.d.ts +144 -0
- package/es/components/pagination/style/css.d.ts +2 -0
- package/es/components/pagination/style/css.mjs +3 -0
- package/es/components/pagination/style/css.mjs.map +1 -0
- package/es/components/pagination/style/index.d.ts +2 -0
- package/es/components/pagination/style/index.mjs +3 -0
- package/es/components/pagination/style/index.mjs.map +1 -0
- package/es/components/tab/index.mjs.map +1 -1
- package/es/components/tab/src/index.mjs +3 -3
- package/es/components/tab/src/index.mjs.map +1 -1
- package/es/components/title/index.mjs +1 -1
- package/es/components/title/index.mjs.map +1 -1
- package/es/components/title/src/{index.mjs → title.mjs} +2 -2
- package/es/components/title/src/title.mjs.map +1 -0
- package/es/components/tooltip/index.d.ts +3131 -0
- package/es/components/tooltip/index.mjs +8 -0
- package/es/components/tooltip/index.mjs.map +1 -0
- package/es/components/tooltip/src/instance.d.ts +2 -0
- package/es/components/tooltip/src/instance.mjs +2 -0
- package/es/components/tooltip/src/instance.mjs.map +1 -0
- package/es/components/tooltip/src/tooltip.mjs +49 -0
- package/es/components/tooltip/src/tooltip.mjs.map +1 -0
- package/es/components/tooltip/src/tooltip.vue.d.ts +3130 -0
- package/es/components/tooltip/style/css.d.ts +2 -0
- package/es/components/tooltip/style/css.mjs +3 -0
- package/es/components/tooltip/style/css.mjs.map +1 -0
- package/es/components/tooltip/style/index.d.ts +2 -0
- package/es/components/tooltip/style/index.mjs +3 -0
- package/es/components/tooltip/style/index.mjs.map +1 -0
- package/es/directives/blur/index.mjs.map +1 -1
- package/es/directives/download/index.mjs.map +1 -1
- package/es/directives/height/index.mjs +3 -3
- package/es/directives/height/index.mjs.map +1 -1
- package/es/directives/highlight/index.d.ts +1 -1
- package/es/directives/highlight/index.mjs +5 -1
- package/es/directives/highlight/index.mjs.map +1 -1
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/index.mjs.map +1 -1
- package/es/hooks/use-namespace/index.d.ts +23 -0
- package/es/hooks/use-namespace/index.mjs +77 -0
- package/es/hooks/use-namespace/index.mjs.map +1 -0
- package/es/index.mjs +6 -0
- package/es/index.mjs.map +1 -1
- package/es/locale/lang/en.d.ts +11 -0
- package/es/locale/lang/en.mjs +11 -0
- package/es/locale/lang/en.mjs.map +1 -1
- package/es/locale/lang/zh-cn.d.ts +11 -0
- package/es/locale/lang/zh-cn.mjs +11 -0
- package/es/locale/lang/zh-cn.mjs.map +1 -1
- package/es/plugin.mjs.map +1 -1
- package/global.d.ts +5 -0
- package/lib/component.js +11 -1
- package/lib/component.js.map +1 -1
- package/lib/components/collapse/index.d.ts +1 -3
- package/lib/components/collapse/index.js +3 -2
- package/lib/components/collapse/index.js.map +1 -1
- package/lib/components/collapse/src/collapse.d.ts +2 -0
- package/lib/components/collapse/src/collapse.js +3 -0
- package/lib/components/collapse/src/collapse.js.map +1 -0
- package/lib/components/collapse/src/{index.vue.d.ts → collapse.vue.d.ts} +0 -3
- package/lib/components/collapse/src/{index.js → collapse2.js} +2 -3
- package/lib/components/collapse/src/collapse2.js.map +1 -0
- package/lib/components/config-provider/src/config-provider.js.map +1 -1
- package/lib/components/config-provider/src/hooks/use-global-config.js.map +1 -1
- package/lib/components/confirm-password/index.d.ts +487 -0
- package/lib/components/confirm-password/index.js +13 -0
- package/lib/components/confirm-password/index.js.map +1 -0
- package/lib/components/confirm-password/src/confirm-password.js +76 -0
- package/lib/components/confirm-password/src/confirm-password.js.map +1 -0
- package/lib/components/confirm-password/src/confirm-password.vue.d.ts +487 -0
- package/lib/components/confirm-password/style/css.d.ts +2 -0
- package/lib/components/confirm-password/style/css.js +6 -0
- package/lib/components/confirm-password/style/css.js.map +1 -0
- package/lib/components/confirm-password/style/index.d.ts +2 -0
- package/lib/components/confirm-password/style/index.js +6 -0
- package/lib/components/confirm-password/style/index.js.map +1 -0
- package/lib/components/dropdown/index.js.map +1 -1
- package/lib/components/dropdown/src/index.js +18 -12
- package/lib/components/dropdown/src/index.js.map +1 -1
- package/lib/components/icon/index.d.ts +5 -0
- package/lib/components/icon/index.js +42 -0
- package/lib/components/icon/index.js.map +1 -0
- package/lib/components/icon/src/index.js +38 -0
- package/lib/components/icon/src/index.js.map +1 -0
- package/lib/components/icon/src/index.vue.d.ts +102 -0
- package/lib/components/icon/style/css.d.ts +2 -0
- package/lib/components/icon/style/css.js +6 -0
- package/lib/components/icon/style/css.js.map +1 -0
- package/lib/components/icon/style/index.d.ts +2 -0
- package/lib/components/icon/style/index.js +6 -0
- package/lib/components/icon/style/index.js.map +1 -0
- package/lib/components/index.d.ts +5 -0
- package/lib/components/index.js +10 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/page-size/index.d.ts +14364 -0
- package/lib/components/page-size/index.js +13 -0
- package/lib/components/page-size/index.js.map +1 -0
- package/lib/components/page-size/src/index.js +161 -0
- package/lib/components/page-size/src/index.js.map +1 -0
- package/lib/components/page-size/src/index.vue.d.ts +14364 -0
- package/lib/components/page-size/style/css.d.ts +2 -0
- package/lib/components/page-size/style/css.js +6 -0
- package/lib/components/page-size/style/css.js.map +1 -0
- package/lib/components/page-size/style/index.d.ts +2 -0
- package/lib/components/page-size/style/index.js +6 -0
- package/lib/components/page-size/style/index.js.map +1 -0
- package/lib/components/pagination/index.d.ts +144 -0
- package/lib/components/pagination/index.js +13 -0
- package/lib/components/pagination/index.js.map +1 -0
- package/lib/components/pagination/src/index.js +72 -0
- package/lib/components/pagination/src/index.js.map +1 -0
- package/lib/components/pagination/src/index.vue.d.ts +144 -0
- package/lib/components/pagination/style/css.d.ts +2 -0
- package/lib/components/pagination/style/css.js +6 -0
- package/lib/components/pagination/style/css.js.map +1 -0
- package/lib/components/pagination/style/index.d.ts +2 -0
- package/lib/components/pagination/style/index.js +6 -0
- package/lib/components/pagination/style/index.js.map +1 -0
- package/lib/components/tab/index.js.map +1 -1
- package/lib/components/tab/src/index.js +3 -3
- package/lib/components/tab/src/index.js.map +1 -1
- package/lib/components/title/index.js +2 -2
- package/lib/components/title/index.js.map +1 -1
- package/lib/components/title/src/{index.js → title.js} +2 -2
- package/lib/components/title/src/title.js.map +1 -0
- package/lib/components/tooltip/index.d.ts +3131 -0
- package/lib/components/tooltip/index.js +13 -0
- package/lib/components/tooltip/index.js.map +1 -0
- package/lib/components/tooltip/src/instance.d.ts +2 -0
- package/lib/components/tooltip/src/instance.js +3 -0
- package/lib/components/tooltip/src/instance.js.map +1 -0
- package/lib/components/tooltip/src/tooltip.js +53 -0
- package/lib/components/tooltip/src/tooltip.js.map +1 -0
- package/lib/components/tooltip/src/tooltip.vue.d.ts +3130 -0
- package/lib/components/tooltip/style/css.d.ts +2 -0
- package/lib/components/tooltip/style/css.js +6 -0
- package/lib/components/tooltip/style/css.js.map +1 -0
- package/lib/components/tooltip/style/index.d.ts +2 -0
- package/lib/components/tooltip/style/index.js +6 -0
- package/lib/components/tooltip/style/index.js.map +1 -0
- package/lib/directives/blur/index.js.map +1 -1
- package/lib/directives/download/index.js.map +1 -1
- package/lib/directives/height/index.js +3 -3
- package/lib/directives/height/index.js.map +1 -1
- package/lib/directives/highlight/index.d.ts +1 -1
- package/lib/directives/highlight/index.js +5 -1
- package/lib/directives/highlight/index.js.map +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +5 -0
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/use-namespace/index.d.ts +23 -0
- package/lib/hooks/use-namespace/index.js +84 -0
- package/lib/hooks/use-namespace/index.js.map +1 -0
- package/lib/index.js +34 -19
- package/lib/index.js.map +1 -1
- package/lib/locale/lang/en.d.ts +11 -0
- package/lib/locale/lang/en.js +11 -0
- package/lib/locale/lang/en.js.map +1 -1
- package/lib/locale/lang/zh-cn.d.ts +11 -0
- package/lib/locale/lang/zh-cn.js +11 -0
- package/lib/locale/lang/zh-cn.js.map +1 -1
- package/lib/plugin.js.map +1 -1
- package/lib/utils/vue/icon.js +14 -14
- package/lib/utils/vue/icon.js.map +1 -1
- package/package.json +1 -1
- package/theme/base.css +1 -1
- package/theme/hzzt-confirm-password.css +0 -0
- package/theme/hzzt-icon.css +0 -0
- package/theme/hzzt-page-size.css +1 -0
- package/theme/hzzt-pagination.css +1 -0
- package/theme/hzzt-tooltip.css +0 -0
- package/theme/index.css +1 -1
- package/theme/src/base.scss +4 -3
- package/theme/src/common/font.scss +6 -0
- package/theme/src/common/index.scss +48 -0
- package/theme/src/confirm-password.scss +0 -0
- package/theme/src/icon.scss +0 -0
- package/theme/src/index.scss +6 -0
- package/theme/src/page-size.scss +86 -0
- package/theme/src/pagination.scss +17 -0
- package/theme/src/tooltip.scss +0 -0
- package/es/components/collapse/src/index.mjs.map +0 -1
- package/es/components/title/src/index.mjs.map +0 -1
- package/lib/components/collapse/src/index.js.map +0 -1
- package/lib/components/title/src/index.js.map +0 -1
- /package/es/components/title/src/{index.vue.d.ts → title.vue.d.ts} +0 -0
- /package/lib/components/title/src/{index.vue.d.ts → title.vue.d.ts} +0 -0
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
placeholder: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
modelValue: StringConstructor;
|
|
7
|
+
}, {
|
|
8
|
+
emit: (event: "update:modelValue" | "confirm", ...args: any[]) => void;
|
|
9
|
+
passForm: import("vue").Ref<{
|
|
10
|
+
password: string;
|
|
11
|
+
}>;
|
|
12
|
+
dotPassword: import("vue").Ref<string>;
|
|
13
|
+
trueValue: any;
|
|
14
|
+
instance: import("vue").ComponentInternalInstance | null;
|
|
15
|
+
dotInput: (val: string) => void;
|
|
16
|
+
confirmPassForm: (e: KeyboardEvent) => void;
|
|
17
|
+
ElInput: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
18
|
+
readonly ariaLabel: StringConstructor;
|
|
19
|
+
readonly id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
20
|
+
readonly size: {
|
|
21
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
22
|
+
readonly required: false;
|
|
23
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
|
+
__epPropKey: true;
|
|
25
|
+
};
|
|
26
|
+
readonly disabled: BooleanConstructor;
|
|
27
|
+
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
28
|
+
readonly maxlength: {
|
|
29
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
30
|
+
readonly required: false;
|
|
31
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
32
|
+
__epPropKey: true;
|
|
33
|
+
};
|
|
34
|
+
readonly minlength: {
|
|
35
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
36
|
+
readonly required: false;
|
|
37
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
38
|
+
__epPropKey: true;
|
|
39
|
+
};
|
|
40
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
41
|
+
readonly resize: {
|
|
42
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "vertical" | "horizontal" | "both", unknown>>;
|
|
43
|
+
readonly required: false;
|
|
44
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
|
+
__epPropKey: true;
|
|
46
|
+
};
|
|
47
|
+
readonly autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").InputAutoSize & {}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => import("element-plus").InputAutoSize & {}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
48
|
+
readonly autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
49
|
+
readonly formatter: {
|
|
50
|
+
readonly type: import("vue").PropType<Function>;
|
|
51
|
+
readonly required: false;
|
|
52
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
|
+
__epPropKey: true;
|
|
54
|
+
};
|
|
55
|
+
readonly parser: {
|
|
56
|
+
readonly type: import("vue").PropType<Function>;
|
|
57
|
+
readonly required: false;
|
|
58
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
|
+
__epPropKey: true;
|
|
60
|
+
};
|
|
61
|
+
readonly placeholder: {
|
|
62
|
+
readonly type: import("vue").PropType<string>;
|
|
63
|
+
readonly required: false;
|
|
64
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
65
|
+
__epPropKey: true;
|
|
66
|
+
};
|
|
67
|
+
readonly form: {
|
|
68
|
+
readonly type: import("vue").PropType<string>;
|
|
69
|
+
readonly required: false;
|
|
70
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
71
|
+
__epPropKey: true;
|
|
72
|
+
};
|
|
73
|
+
readonly readonly: BooleanConstructor;
|
|
74
|
+
readonly clearable: BooleanConstructor;
|
|
75
|
+
readonly showPassword: BooleanConstructor;
|
|
76
|
+
readonly showWordLimit: BooleanConstructor;
|
|
77
|
+
readonly suffixIcon: {
|
|
78
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
79
|
+
readonly required: false;
|
|
80
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
81
|
+
__epPropKey: true;
|
|
82
|
+
};
|
|
83
|
+
readonly prefixIcon: {
|
|
84
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
85
|
+
readonly required: false;
|
|
86
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
87
|
+
__epPropKey: true;
|
|
88
|
+
};
|
|
89
|
+
readonly containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
90
|
+
readonly label: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
91
|
+
readonly tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
92
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
93
|
+
readonly inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
94
|
+
readonly autofocus: BooleanConstructor;
|
|
95
|
+
readonly rows: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
|
|
96
|
+
}, {
|
|
97
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
+
readonly ariaLabel: StringConstructor;
|
|
99
|
+
readonly id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
100
|
+
readonly size: {
|
|
101
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
102
|
+
readonly required: false;
|
|
103
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
|
+
__epPropKey: true;
|
|
105
|
+
};
|
|
106
|
+
readonly disabled: BooleanConstructor;
|
|
107
|
+
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
108
|
+
readonly maxlength: {
|
|
109
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
110
|
+
readonly required: false;
|
|
111
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
|
+
__epPropKey: true;
|
|
113
|
+
};
|
|
114
|
+
readonly minlength: {
|
|
115
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
116
|
+
readonly required: false;
|
|
117
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
118
|
+
__epPropKey: true;
|
|
119
|
+
};
|
|
120
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
121
|
+
readonly resize: {
|
|
122
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "vertical" | "horizontal" | "both", unknown>>;
|
|
123
|
+
readonly required: false;
|
|
124
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
125
|
+
__epPropKey: true;
|
|
126
|
+
};
|
|
127
|
+
readonly autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").InputAutoSize & {}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => import("element-plus").InputAutoSize & {}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
128
|
+
readonly autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
129
|
+
readonly formatter: {
|
|
130
|
+
readonly type: import("vue").PropType<Function>;
|
|
131
|
+
readonly required: false;
|
|
132
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
133
|
+
__epPropKey: true;
|
|
134
|
+
};
|
|
135
|
+
readonly parser: {
|
|
136
|
+
readonly type: import("vue").PropType<Function>;
|
|
137
|
+
readonly required: false;
|
|
138
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
139
|
+
__epPropKey: true;
|
|
140
|
+
};
|
|
141
|
+
readonly placeholder: {
|
|
142
|
+
readonly type: import("vue").PropType<string>;
|
|
143
|
+
readonly required: false;
|
|
144
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
145
|
+
__epPropKey: true;
|
|
146
|
+
};
|
|
147
|
+
readonly form: {
|
|
148
|
+
readonly type: import("vue").PropType<string>;
|
|
149
|
+
readonly required: false;
|
|
150
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
151
|
+
__epPropKey: true;
|
|
152
|
+
};
|
|
153
|
+
readonly readonly: BooleanConstructor;
|
|
154
|
+
readonly clearable: BooleanConstructor;
|
|
155
|
+
readonly showPassword: BooleanConstructor;
|
|
156
|
+
readonly showWordLimit: BooleanConstructor;
|
|
157
|
+
readonly suffixIcon: {
|
|
158
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
159
|
+
readonly required: false;
|
|
160
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
161
|
+
__epPropKey: true;
|
|
162
|
+
};
|
|
163
|
+
readonly prefixIcon: {
|
|
164
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
165
|
+
readonly required: false;
|
|
166
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
167
|
+
__epPropKey: true;
|
|
168
|
+
};
|
|
169
|
+
readonly containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
170
|
+
readonly label: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
171
|
+
readonly tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
172
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
173
|
+
readonly inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
174
|
+
readonly autofocus: BooleanConstructor;
|
|
175
|
+
readonly rows: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
|
|
176
|
+
}>> & {
|
|
177
|
+
onChange?: ((value: string) => any) | undefined;
|
|
178
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
179
|
+
onInput?: ((value: string) => any) | undefined;
|
|
180
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
181
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
182
|
+
onClear?: (() => any) | undefined;
|
|
183
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
184
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
185
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
186
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
187
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
188
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
189
|
+
}>>;
|
|
190
|
+
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
191
|
+
rawAttrs: {
|
|
192
|
+
[x: string]: unknown;
|
|
193
|
+
};
|
|
194
|
+
slots: Readonly<{
|
|
195
|
+
[name: string]: import("vue").Slot | undefined;
|
|
196
|
+
}>;
|
|
197
|
+
containerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
198
|
+
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
199
|
+
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
200
|
+
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
201
|
+
elForm: import("element-plus").FormContext | undefined;
|
|
202
|
+
elFormItem: import("element-plus").FormItemContext | undefined;
|
|
203
|
+
inputId: import("vue").Ref<string | undefined>;
|
|
204
|
+
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
205
|
+
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
206
|
+
nsInput: {
|
|
207
|
+
namespace: import("vue").ComputedRef<string>;
|
|
208
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
209
|
+
e: (element?: string | undefined) => string;
|
|
210
|
+
m: (modifier?: string | undefined) => string;
|
|
211
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
212
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
213
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
214
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
215
|
+
is: {
|
|
216
|
+
(name: string, state: boolean | undefined): string;
|
|
217
|
+
(name: string): string;
|
|
218
|
+
};
|
|
219
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
220
|
+
cssVarName: (name: string) => string;
|
|
221
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
222
|
+
cssVarBlockName: (name: string) => string;
|
|
223
|
+
};
|
|
224
|
+
nsTextarea: {
|
|
225
|
+
namespace: import("vue").ComputedRef<string>;
|
|
226
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
227
|
+
e: (element?: string | undefined) => string;
|
|
228
|
+
m: (modifier?: string | undefined) => string;
|
|
229
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
230
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
231
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
232
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
233
|
+
is: {
|
|
234
|
+
(name: string, state: boolean | undefined): string;
|
|
235
|
+
(name: string): string;
|
|
236
|
+
};
|
|
237
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
238
|
+
cssVarName: (name: string) => string;
|
|
239
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
240
|
+
cssVarBlockName: (name: string) => string;
|
|
241
|
+
};
|
|
242
|
+
input: import("vue").ShallowRef<HTMLInputElement | undefined>;
|
|
243
|
+
textarea: import("vue").ShallowRef<HTMLTextAreaElement | undefined>;
|
|
244
|
+
hovering: import("vue").Ref<boolean>;
|
|
245
|
+
isComposing: import("vue").Ref<boolean>;
|
|
246
|
+
passwordVisible: import("vue").Ref<boolean>;
|
|
247
|
+
countStyle: import("vue").Ref<import("vue").StyleValue | undefined>;
|
|
248
|
+
textareaCalcStyle: import("vue").ShallowRef<import("vue").StyleValue>;
|
|
249
|
+
_ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
250
|
+
wrapperRef: import("vue").ShallowRef<HTMLElement | undefined>;
|
|
251
|
+
isFocused: import("vue").Ref<boolean>;
|
|
252
|
+
handleFocus: (event: FocusEvent) => void;
|
|
253
|
+
handleBlur: (event: FocusEvent) => void;
|
|
254
|
+
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
255
|
+
validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
|
|
256
|
+
validateIcon: import("vue").ComputedRef<any>;
|
|
257
|
+
passwordIcon: import("vue").ComputedRef<any>;
|
|
258
|
+
containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
|
|
259
|
+
textareaStyle: import("vue").ComputedRef<import("vue").StyleValue>;
|
|
260
|
+
nativeInputValue: import("vue").ComputedRef<string>;
|
|
261
|
+
showClear: import("vue").ComputedRef<boolean>;
|
|
262
|
+
showPwdVisible: import("vue").ComputedRef<boolean>;
|
|
263
|
+
isWordLimitVisible: import("vue").ComputedRef<boolean>;
|
|
264
|
+
textLength: import("vue").ComputedRef<number>;
|
|
265
|
+
inputExceed: import("vue").ComputedRef<boolean>;
|
|
266
|
+
suffixVisible: import("vue").ComputedRef<boolean>;
|
|
267
|
+
recordCursor: () => void;
|
|
268
|
+
setCursor: () => void;
|
|
269
|
+
resizeTextarea: () => void;
|
|
270
|
+
createOnceInitResize: (resizeTextarea: () => void) => () => void;
|
|
271
|
+
onceInitSizeTextarea: () => void;
|
|
272
|
+
setNativeInputValue: () => void;
|
|
273
|
+
handleInput: (event: Event) => Promise<void>;
|
|
274
|
+
handleChange: (event: Event) => void;
|
|
275
|
+
handleCompositionStart: (event: CompositionEvent) => void;
|
|
276
|
+
handleCompositionUpdate: (event: CompositionEvent) => void;
|
|
277
|
+
handleCompositionEnd: (event: CompositionEvent) => void;
|
|
278
|
+
handlePasswordVisible: () => void;
|
|
279
|
+
focus: () => Promise<void>;
|
|
280
|
+
blur: () => void | undefined;
|
|
281
|
+
handleMouseLeave: (evt: MouseEvent) => void;
|
|
282
|
+
handleMouseEnter: (evt: MouseEvent) => void;
|
|
283
|
+
handleKeydown: (evt: KeyboardEvent) => void;
|
|
284
|
+
select: () => void;
|
|
285
|
+
clear: () => void;
|
|
286
|
+
ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
287
|
+
readonly size: {
|
|
288
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
289
|
+
readonly required: false;
|
|
290
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
291
|
+
__epPropKey: true;
|
|
292
|
+
};
|
|
293
|
+
readonly color: {
|
|
294
|
+
readonly type: import("vue").PropType<string>;
|
|
295
|
+
readonly required: false;
|
|
296
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
297
|
+
__epPropKey: true;
|
|
298
|
+
};
|
|
299
|
+
}, {
|
|
300
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
301
|
+
readonly size: {
|
|
302
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
303
|
+
readonly required: false;
|
|
304
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
305
|
+
__epPropKey: true;
|
|
306
|
+
};
|
|
307
|
+
readonly color: {
|
|
308
|
+
readonly type: import("vue").PropType<string>;
|
|
309
|
+
readonly required: false;
|
|
310
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
311
|
+
__epPropKey: true;
|
|
312
|
+
};
|
|
313
|
+
}>> & {
|
|
314
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
315
|
+
}>>;
|
|
316
|
+
ns: {
|
|
317
|
+
namespace: import("vue").ComputedRef<string>;
|
|
318
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
319
|
+
e: (element?: string | undefined) => string;
|
|
320
|
+
m: (modifier?: string | undefined) => string;
|
|
321
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
322
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
323
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
324
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
325
|
+
is: {
|
|
326
|
+
(name: string, state: boolean | undefined): string;
|
|
327
|
+
(name: string): string;
|
|
328
|
+
};
|
|
329
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
330
|
+
cssVarName: (name: string) => string;
|
|
331
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
332
|
+
cssVarBlockName: (name: string) => string;
|
|
333
|
+
};
|
|
334
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
335
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
336
|
+
readonly size: {
|
|
337
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
338
|
+
readonly required: false;
|
|
339
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
340
|
+
__epPropKey: true;
|
|
341
|
+
};
|
|
342
|
+
readonly color: {
|
|
343
|
+
readonly type: import("vue").PropType<string>;
|
|
344
|
+
readonly required: false;
|
|
345
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
346
|
+
__epPropKey: true;
|
|
347
|
+
};
|
|
348
|
+
}>>, {}>> & Record<string, any>;
|
|
349
|
+
CircleClose: any;
|
|
350
|
+
NOOP: () => void;
|
|
351
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
352
|
+
"update:modelValue": (value: string) => boolean;
|
|
353
|
+
input: (value: string) => boolean;
|
|
354
|
+
change: (value: string) => boolean;
|
|
355
|
+
focus: (evt: FocusEvent) => boolean;
|
|
356
|
+
blur: (evt: FocusEvent) => boolean;
|
|
357
|
+
clear: () => boolean;
|
|
358
|
+
mouseleave: (evt: MouseEvent) => boolean;
|
|
359
|
+
mouseenter: (evt: MouseEvent) => boolean;
|
|
360
|
+
keydown: (evt: Event | KeyboardEvent) => boolean;
|
|
361
|
+
compositionstart: (evt: CompositionEvent) => boolean;
|
|
362
|
+
compositionupdate: (evt: CompositionEvent) => boolean;
|
|
363
|
+
compositionend: (evt: CompositionEvent) => boolean;
|
|
364
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
365
|
+
readonly ariaLabel: StringConstructor;
|
|
366
|
+
readonly id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
367
|
+
readonly size: {
|
|
368
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
369
|
+
readonly required: false;
|
|
370
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
371
|
+
__epPropKey: true;
|
|
372
|
+
};
|
|
373
|
+
readonly disabled: BooleanConstructor;
|
|
374
|
+
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
375
|
+
readonly maxlength: {
|
|
376
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
377
|
+
readonly required: false;
|
|
378
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
379
|
+
__epPropKey: true;
|
|
380
|
+
};
|
|
381
|
+
readonly minlength: {
|
|
382
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
383
|
+
readonly required: false;
|
|
384
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
385
|
+
__epPropKey: true;
|
|
386
|
+
};
|
|
387
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
388
|
+
readonly resize: {
|
|
389
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "vertical" | "horizontal" | "both", unknown>>;
|
|
390
|
+
readonly required: false;
|
|
391
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
392
|
+
__epPropKey: true;
|
|
393
|
+
};
|
|
394
|
+
readonly autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").InputAutoSize & {}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => import("element-plus").InputAutoSize & {}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
395
|
+
readonly autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
396
|
+
readonly formatter: {
|
|
397
|
+
readonly type: import("vue").PropType<Function>;
|
|
398
|
+
readonly required: false;
|
|
399
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
400
|
+
__epPropKey: true;
|
|
401
|
+
};
|
|
402
|
+
readonly parser: {
|
|
403
|
+
readonly type: import("vue").PropType<Function>;
|
|
404
|
+
readonly required: false;
|
|
405
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
406
|
+
__epPropKey: true;
|
|
407
|
+
};
|
|
408
|
+
readonly placeholder: {
|
|
409
|
+
readonly type: import("vue").PropType<string>;
|
|
410
|
+
readonly required: false;
|
|
411
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
412
|
+
__epPropKey: true;
|
|
413
|
+
};
|
|
414
|
+
readonly form: {
|
|
415
|
+
readonly type: import("vue").PropType<string>;
|
|
416
|
+
readonly required: false;
|
|
417
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
418
|
+
__epPropKey: true;
|
|
419
|
+
};
|
|
420
|
+
readonly readonly: BooleanConstructor;
|
|
421
|
+
readonly clearable: BooleanConstructor;
|
|
422
|
+
readonly showPassword: BooleanConstructor;
|
|
423
|
+
readonly showWordLimit: BooleanConstructor;
|
|
424
|
+
readonly suffixIcon: {
|
|
425
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
426
|
+
readonly required: false;
|
|
427
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
428
|
+
__epPropKey: true;
|
|
429
|
+
};
|
|
430
|
+
readonly prefixIcon: {
|
|
431
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
432
|
+
readonly required: false;
|
|
433
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
434
|
+
__epPropKey: true;
|
|
435
|
+
};
|
|
436
|
+
readonly containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
437
|
+
readonly label: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
438
|
+
readonly tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
439
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
440
|
+
readonly inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
441
|
+
readonly autofocus: BooleanConstructor;
|
|
442
|
+
readonly rows: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
|
|
443
|
+
}>> & {
|
|
444
|
+
onChange?: ((value: string) => any) | undefined;
|
|
445
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
446
|
+
onInput?: ((value: string) => any) | undefined;
|
|
447
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
448
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
449
|
+
onClear?: (() => any) | undefined;
|
|
450
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
451
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
452
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
453
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
454
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
455
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
456
|
+
}, {
|
|
457
|
+
readonly type: string;
|
|
458
|
+
readonly modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
459
|
+
readonly id: string;
|
|
460
|
+
readonly disabled: boolean;
|
|
461
|
+
readonly clearable: boolean;
|
|
462
|
+
readonly autosize: import("element-plus").InputAutoSize;
|
|
463
|
+
readonly autocomplete: string;
|
|
464
|
+
readonly containerRole: string;
|
|
465
|
+
readonly label: string;
|
|
466
|
+
readonly tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
467
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
468
|
+
readonly inputStyle: import("vue").StyleValue;
|
|
469
|
+
readonly rows: number;
|
|
470
|
+
readonly readonly: boolean;
|
|
471
|
+
readonly showPassword: boolean;
|
|
472
|
+
readonly showWordLimit: boolean;
|
|
473
|
+
readonly autofocus: boolean;
|
|
474
|
+
}>> & Record<string, any>;
|
|
475
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "confirm")[], "update:modelValue" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
476
|
+
placeholder: {
|
|
477
|
+
type: StringConstructor;
|
|
478
|
+
default: string;
|
|
479
|
+
};
|
|
480
|
+
modelValue: StringConstructor;
|
|
481
|
+
}>> & {
|
|
482
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
483
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
484
|
+
}, {
|
|
485
|
+
placeholder: string;
|
|
486
|
+
}>;
|
|
487
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../packages/components/dropdown/index.ts"],"sourcesContent":["import { withInstall } from '@hzzt-plus/utils'\n\nimport Dropdown from './src/index.vue'
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../packages/components/dropdown/index.ts"],"sourcesContent":["import { withInstall } from '@hzzt-plus/utils'\n\nimport Dropdown from './src/index.vue'\n\nexport const HzztDropdown = withInstall(Dropdown)\nexport default HzztDropdown\n"],"names":["withInstall","Dropdown"],"mappings":";;;;;;;;AAEY,MAAC,YAAY,GAAGA,mBAAW,CAACC,gBAAQ;;;;;"}
|
|
@@ -68,8 +68,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
68
68
|
}
|
|
69
69
|
return (_ctx, _cache) => {
|
|
70
70
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("ul", {
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
class: "hzzt-dropdown",
|
|
72
|
+
onClick: vue.withModifiers(dropToggle, ["stop"])
|
|
73
73
|
}, [
|
|
74
74
|
vue.createElementVNode("li", {
|
|
75
75
|
class: vue.normalizeClass({ "hzzt-dropdown-li": true, "hzzt-dropdown-li-show": toggle.value })
|
|
@@ -80,12 +80,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
80
80
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (option, index) => {
|
|
81
81
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
82
82
|
vue.unref(types.isEmpty)(option[__props.props.children]) ? (vue.openBlock(), vue.createElementBlock("li", {
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
key: index,
|
|
84
|
+
class: vue.normalizeClass({
|
|
85
|
+
"hzzt-dropdown-menu-item": true,
|
|
86
|
+
selected: __props.defaultValue.includes(option[__props.props.value])
|
|
87
|
+
})
|
|
85
88
|
}, [
|
|
86
89
|
vue.createElementVNode("a", {
|
|
87
|
-
|
|
88
|
-
|
|
90
|
+
class: "hzzt-dropdown-menu-item-label",
|
|
91
|
+
onClick: ($event) => selectValue([option[__props.props.value]])
|
|
89
92
|
}, vue.toDisplayString(option[__props.props.label]), 9, _hoisted_5)
|
|
90
93
|
], 2)) : (vue.openBlock(), vue.createElementBlock("li", {
|
|
91
94
|
key: index + "submenu",
|
|
@@ -97,20 +100,23 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
97
100
|
}, [
|
|
98
101
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(option.children, (child, cIndex) => {
|
|
99
102
|
return vue.openBlock(), vue.createElementBlock("li", {
|
|
100
|
-
|
|
101
|
-
|
|
103
|
+
key: cIndex,
|
|
104
|
+
class: vue.normalizeClass({
|
|
105
|
+
"hzzt-dropdown-menu-item": true,
|
|
106
|
+
selected: __props.defaultValue.includes(child[__props.props.value])
|
|
107
|
+
})
|
|
102
108
|
}, [
|
|
103
109
|
vue.createElementVNode("a", {
|
|
104
|
-
|
|
105
|
-
|
|
110
|
+
class: "hzzt-dropdown-menu-item-label",
|
|
111
|
+
onClick: ($event) => selectValue([option[__props.props.value], child[__props.props.value]])
|
|
106
112
|
}, vue.toDisplayString(child[__props.props.label]), 9, _hoisted_7)
|
|
107
113
|
], 2);
|
|
108
114
|
}), 128))
|
|
109
115
|
], 2)
|
|
110
116
|
])),
|
|
111
117
|
option.divider ? (vue.openBlock(), vue.createElementBlock("li", {
|
|
112
|
-
|
|
113
|
-
|
|
118
|
+
key: index + "divider",
|
|
119
|
+
class: "divider"
|
|
114
120
|
})) : vue.createCommentVNode("v-if", true)
|
|
115
121
|
], 64);
|
|
116
122
|
}), 256))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../packages/components/dropdown/src/index.vue"],"sourcesContent":["<template>\n <ul
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../packages/components/dropdown/src/index.vue"],"sourcesContent":["<template>\n <ul v-click-outside=\"close\" class=\"hzzt-dropdown\" @click.stop=\"dropToggle\">\n <li :class=\"{ 'hzzt-dropdown-li': true, 'hzzt-dropdown-li-show': toggle }\">\n <span class=\"hzzt-dropdown-name\">{{ label }}</span>\n <span class=\"caret\" />\n <ul class=\"hzzt-dropdown-menu\">\n <template v-for=\"(option, index) in options\">\n <li\n v-if=\"isEmpty(option[props.children])\"\n :key=\"index\"\n :class=\"{\n 'hzzt-dropdown-menu-item': true,\n selected: defaultValue.includes(option[props.value]),\n }\"\n >\n <a\n class=\"hzzt-dropdown-menu-item-label\"\n @click=\"selectValue([option[props.value]])\"\n >{{ option[props.label] }}</a\n >\n </li>\n <li\n v-else\n :key=\"index + 'submenu'\"\n class=\"hzzt-dropdown-menu-item hzzt-dropdown-submenu\"\n >\n <a class=\"submenu\">{{ option[props.label] }}</a>\n <ul :class=\"['pull-' + position]\" class=\"hzzt-dropdown-menu\">\n <li\n v-for=\"(child, cIndex) in option.children\"\n :key=\"cIndex\"\n :class=\"{\n 'hzzt-dropdown-menu-item': true,\n selected: defaultValue.includes(child[props.value]),\n }\"\n >\n <a\n class=\"hzzt-dropdown-menu-item-label\"\n @click=\"\n selectValue([option[props.value], child[props.value]])\n \"\n >{{ child[props.label] }}</a\n >\n </li>\n </ul>\n </li>\n <li v-if=\"option.divider\" :key=\"index + 'divider'\" class=\"divider\" />\n </template>\n </ul>\n </li>\n </ul>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue'\nimport { ClickOutside as vClickOutside } from 'element-plus'\nimport { isEmpty } from '@hzzt-plus/utils'\n\nconst dProps = defineProps({\n options: {\n type: Array,\n default: () => [],\n },\n label: String,\n value: String,\n defaultValue: {\n type: Array,\n default: () => [],\n },\n position: {\n type: String,\n default: 'right',\n },\n props: {\n type: Object,\n default: () => ({\n children: 'children',\n label: 'label',\n value: 'value',\n }),\n },\n returnType: {\n type: String,\n default: 'Array',\n },\n})\n\nconst emits = defineEmits(['change'])\n\ndefineOptions({\n name: 'HzztDropDown',\n})\n\nconst toggle = ref(false)\n\nfunction dropToggle() {\n toggle.value = !toggle.value\n}\n\nfunction close() {\n toggle.value = false\n}\n\nfunction selectValue(val) {\n if (dProps.returnType === 'Array') {\n emits('change', val)\n }\n if (dProps.returnType === 'String') {\n emits('change', val.last)\n }\n}\n</script>\n"],"names":["ref"],"mappings":";;;;;;;;;;;;;;;;;uCAyFc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAM,MAAA,MAAA,GAASA,QAAI,KAAK,CAAA,CAAA;AAExB,IAAsB,SAAA,UAAA,GAAA;AACpB,MAAO,MAAA,CAAA,KAAA,GAAQ,CAAC,MAAO,CAAA,KAAA,CAAA;AAAA,KACzB;AAEA,IAAiB,SAAA,KAAA,GAAA;AACf,MAAA,MAAA,CAAO,KAAQ,GAAA,KAAA,CAAA;AAAA,KACjB;AAEA,IAAA,SAAA,WAAA,CAAqB,GAAK,EAAA;AACxB,MAAI,IAAA,MAAA,CAAO,eAAe,OAAS,EAAA;AACjC,QAAA,KAAA,CAAM,UAAU,GAAG,CAAA,CAAA;AAAA,OACrB;AACA,MAAI,IAAA,MAAA,CAAO,eAAe,QAAU,EAAA;AAClC,QAAM,KAAA,CAAA,QAAA,EAAU,IAAI,IAAI,CAAA,CAAA;AAAA,OAC1B;AAAA,KACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|