hzzt-plus 1.0.2 → 1.0.4
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/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +3029 -276
- package/dist/index.full.min.js +23 -17
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +24 -18
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +3025 -278
- package/es/component.mjs +5 -1
- package/es/component.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +5 -0
- package/es/components/cascader/index.mjs +9 -0
- package/es/components/cascader/index.mjs.map +1 -0
- package/es/components/cascader/src/cascader.d.ts +35 -0
- package/es/components/cascader/src/cascader.mjs +42 -0
- package/es/components/cascader/src/cascader.mjs.map +1 -0
- package/es/components/cascader/src/cascader.vue.d.ts +2293 -0
- package/es/components/cascader/src/cascader2.mjs +128 -0
- package/es/components/cascader/src/cascader2.mjs.map +1 -0
- package/es/components/cascader/src/hooks/utils.d.ts +2 -0
- package/es/components/cascader/src/hooks/utils.mjs +26 -0
- package/es/components/cascader/src/hooks/utils.mjs.map +1 -0
- package/es/components/cascader/style/css.d.ts +2 -0
- package/es/components/cascader/style/css.mjs +3 -0
- package/es/components/cascader/style/css.mjs.map +1 -0
- package/es/components/cascader/style/index.d.ts +2 -0
- package/es/components/cascader/style/index.mjs +3 -0
- package/es/components/cascader/style/index.mjs.map +1 -0
- package/es/components/collapse/index.mjs +2 -2
- package/es/components/collapse/src/collapse.mjs +67 -0
- package/es/components/collapse/src/collapse.mjs.map +1 -1
- package/es/components/collapse/src/collapse2.mjs +0 -67
- package/es/components/collapse/src/collapse2.mjs.map +1 -1
- package/es/components/confirm-password/index.d.ts +1 -1
- package/es/components/confirm-password/src/confirm-password.vue.d.ts +1 -1
- package/es/components/dropdown/index.d.ts +1 -1
- package/es/components/dropdown/src/index.vue.d.ts +1 -1
- package/es/components/index.d.ts +2 -0
- package/es/components/index.mjs +5 -1
- package/es/components/index.mjs.map +1 -1
- package/es/components/input-range/index.d.ts +5 -0
- package/es/components/input-range/index.mjs +9 -0
- package/es/components/input-range/index.mjs.map +1 -0
- package/es/components/input-range/src/input-range.d.ts +24 -0
- package/es/components/input-range/src/input-range.mjs +31 -0
- package/es/components/input-range/src/input-range.mjs.map +1 -0
- package/es/components/input-range/src/input-range.vue.d.ts +86 -0
- package/es/components/input-range/src/input-range2.mjs +81 -0
- package/es/components/input-range/src/input-range2.mjs.map +1 -0
- package/es/components/input-range/style/css.d.ts +2 -0
- package/es/components/input-range/style/css.mjs +3 -0
- package/es/components/input-range/style/css.mjs.map +1 -0
- package/es/components/input-range/style/index.d.ts +2 -0
- package/es/components/input-range/style/index.mjs +3 -0
- package/es/components/input-range/style/index.mjs.map +1 -0
- package/es/components/page-size/index.d.ts +54 -54
- package/es/components/page-size/src/index.vue.d.ts +54 -54
- package/es/components/quarter-picker/index.d.ts +16 -16
- package/es/components/quarter-picker/src/index.vue.d.ts +16 -16
- package/es/components/scan/index.mjs +2 -2
- package/es/components/scan/src/scan.mjs +144 -23
- package/es/components/scan/src/scan.mjs.map +1 -1
- package/es/components/scan/src/scan.vue.d.ts +2 -2
- package/es/components/scan/src/scan2.mjs +23 -144
- package/es/components/scan/src/scan2.mjs.map +1 -1
- package/es/components/select-input/index.d.ts +21 -21
- package/es/components/select-input/src/select-input.d.ts +3 -3
- package/es/components/select-input/src/select-input.mjs.map +1 -1
- package/es/components/select-input/src/select-input.vue.d.ts +21 -21
- package/es/components/select-textarea/index.d.ts +3 -13074
- package/es/components/select-textarea/index.mjs.map +1 -1
- package/es/components/select-textarea/src/select-textarea.d.ts +4 -4
- package/es/components/select-textarea/src/select-textarea.mjs +6 -5
- package/es/components/select-textarea/src/select-textarea.mjs.map +1 -1
- package/es/components/select-textarea/src/select-textarea.vue.d.ts +45 -45
- package/es/components/select-textarea/src/select-textarea2.mjs +2 -1
- package/es/components/select-textarea/src/select-textarea2.mjs.map +1 -1
- package/es/components/tooltip/index.d.ts +14 -14
- package/es/components/tooltip/src/tooltip.vue.d.ts +14 -14
- package/es/hooks/use-cursor/index.d.ts +1 -1
- package/es/hooks/use-cursor/index.mjs.map +1 -1
- package/es/index.mjs +5 -1
- package/es/index.mjs.map +1 -1
- package/global.d.ts +2 -0
- package/lib/component.js +5 -1
- package/lib/component.js.map +1 -1
- package/lib/components/cascader/index.d.ts +5 -0
- package/lib/components/cascader/index.js +16 -0
- package/lib/components/cascader/index.js.map +1 -0
- package/lib/components/cascader/src/cascader.d.ts +35 -0
- package/lib/components/cascader/src/cascader.js +47 -0
- package/lib/components/cascader/src/cascader.js.map +1 -0
- package/lib/components/cascader/src/cascader.vue.d.ts +2293 -0
- package/lib/components/cascader/src/cascader2.js +132 -0
- package/lib/components/cascader/src/cascader2.js.map +1 -0
- package/lib/components/cascader/src/hooks/utils.d.ts +2 -0
- package/lib/components/cascader/src/hooks/utils.js +30 -0
- package/lib/components/cascader/src/hooks/utils.js.map +1 -0
- package/lib/components/cascader/style/css.d.ts +2 -0
- package/lib/components/cascader/style/css.js +6 -0
- package/lib/components/cascader/style/css.js.map +1 -0
- package/lib/components/cascader/style/index.d.ts +2 -0
- package/lib/components/cascader/style/index.js +6 -0
- package/lib/components/cascader/style/index.js.map +1 -0
- package/lib/components/collapse/index.js +2 -2
- package/lib/components/collapse/src/collapse.js +70 -0
- package/lib/components/collapse/src/collapse.js.map +1 -1
- package/lib/components/collapse/src/collapse2.js +0 -70
- package/lib/components/collapse/src/collapse2.js.map +1 -1
- package/lib/components/confirm-password/index.d.ts +1 -1
- package/lib/components/confirm-password/src/confirm-password.vue.d.ts +1 -1
- package/lib/components/dropdown/index.d.ts +1 -1
- package/lib/components/dropdown/src/index.vue.d.ts +1 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +11 -1
- package/lib/components/index.js.map +1 -1
- package/lib/components/input-range/index.d.ts +5 -0
- package/lib/components/input-range/index.js +16 -0
- package/lib/components/input-range/index.js.map +1 -0
- package/lib/components/input-range/src/input-range.d.ts +24 -0
- package/lib/components/input-range/src/input-range.js +36 -0
- package/lib/components/input-range/src/input-range.js.map +1 -0
- package/lib/components/input-range/src/input-range.vue.d.ts +86 -0
- package/lib/components/input-range/src/input-range2.js +85 -0
- package/lib/components/input-range/src/input-range2.js.map +1 -0
- package/lib/components/input-range/style/css.d.ts +2 -0
- package/lib/components/input-range/style/css.js +6 -0
- package/lib/components/input-range/style/css.js.map +1 -0
- package/lib/components/input-range/style/index.d.ts +2 -0
- package/lib/components/input-range/style/index.js +6 -0
- package/lib/components/input-range/style/index.js.map +1 -0
- package/lib/components/page-size/index.d.ts +54 -54
- package/lib/components/page-size/src/index.vue.d.ts +54 -54
- package/lib/components/quarter-picker/index.d.ts +16 -16
- package/lib/components/quarter-picker/src/index.vue.d.ts +16 -16
- package/lib/components/scan/index.js +2 -2
- package/lib/components/scan/src/scan.js +144 -24
- package/lib/components/scan/src/scan.js.map +1 -1
- package/lib/components/scan/src/scan.vue.d.ts +2 -2
- package/lib/components/scan/src/scan2.js +24 -144
- package/lib/components/scan/src/scan2.js.map +1 -1
- package/lib/components/select-input/index.d.ts +21 -21
- package/lib/components/select-input/src/select-input.d.ts +3 -3
- package/lib/components/select-input/src/select-input.js.map +1 -1
- package/lib/components/select-input/src/select-input.vue.d.ts +21 -21
- package/lib/components/select-textarea/index.d.ts +3 -13074
- package/lib/components/select-textarea/index.js.map +1 -1
- package/lib/components/select-textarea/src/select-textarea.d.ts +4 -4
- package/lib/components/select-textarea/src/select-textarea.js +5 -4
- package/lib/components/select-textarea/src/select-textarea.js.map +1 -1
- package/lib/components/select-textarea/src/select-textarea.vue.d.ts +45 -45
- package/lib/components/select-textarea/src/select-textarea2.js +2 -1
- package/lib/components/select-textarea/src/select-textarea2.js.map +1 -1
- package/lib/components/tooltip/index.d.ts +14 -14
- package/lib/components/tooltip/src/tooltip.vue.d.ts +14 -14
- package/lib/hooks/use-cursor/index.d.ts +1 -1
- package/lib/hooks/use-cursor/index.js.map +1 -1
- package/lib/index.js +41 -31
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/tags.json +1 -1
- package/theme/hzzt-cascader.css +1 -0
- package/theme/hzzt-input-range.css +0 -0
- package/theme/index.css +1 -1
- package/theme/src/cascader.scss +28 -0
- package/theme/src/index.scss +2 -0
- package/theme/src/input-range.scss +0 -0
- package/web-types.json +1 -692
|
@@ -46,7 +46,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
46
46
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
47
47
|
arrowOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
48
48
|
disabled: BooleanConstructor;
|
|
49
|
-
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "
|
|
49
|
+
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any) | ((new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any))[], unknown, unknown, "hover", boolean>;
|
|
50
50
|
triggerKeys: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
51
51
|
virtualRef: {
|
|
52
52
|
readonly type: import("vue").PropType<import("element-plus").Measurable>;
|
|
@@ -348,7 +348,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
348
348
|
__epPropKey: true;
|
|
349
349
|
};
|
|
350
350
|
role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "tooltip", boolean>;
|
|
351
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "
|
|
351
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placement" | "fallbackPlacements" | "teleported" | "persistent" | "effect" | "popperOptions" | "showArrow" | "offset" | "strategy" | "arrowOffset" | "trigger" | "triggerKeys" | "virtualTriggering" | "open" | "content" | "rawContent" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration" | "showAfter" | "hideAfter" | "autoClose" | "role">;
|
|
352
352
|
$attrs: {
|
|
353
353
|
[x: string]: unknown;
|
|
354
354
|
};
|
|
@@ -366,7 +366,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
366
366
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
367
367
|
arrowOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
368
368
|
disabled: BooleanConstructor;
|
|
369
|
-
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "
|
|
369
|
+
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any) | ((new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any))[], unknown, unknown, "hover", boolean>;
|
|
370
370
|
triggerKeys: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
371
371
|
virtualRef: {
|
|
372
372
|
readonly type: import("vue").PropType<import("element-plus").Measurable>;
|
|
@@ -1006,7 +1006,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
1006
1006
|
readonly showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1007
1007
|
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
1008
1008
|
readonly autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1009
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "
|
|
1009
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placement" | "fallbackPlacements" | "teleported" | "persistent" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "content" | "rawContent" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration" | "showAfter" | "hideAfter" | "autoClose">;
|
|
1010
1010
|
$attrs: {
|
|
1011
1011
|
[x: string]: unknown;
|
|
1012
1012
|
};
|
|
@@ -1523,7 +1523,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
1523
1523
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
1524
1524
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
1525
1525
|
onClose?: (() => any) | undefined;
|
|
1526
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
1526
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "fallbackPlacements" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration">;
|
|
1527
1527
|
$attrs: {
|
|
1528
1528
|
[x: string]: unknown;
|
|
1529
1529
|
};
|
|
@@ -2616,7 +2616,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
2616
2616
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
2617
2617
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
2618
2618
|
onClose?: (() => any) | undefined;
|
|
2619
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
2619
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "fallbackPlacements" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration">;
|
|
2620
2620
|
$attrs: {
|
|
2621
2621
|
[x: string]: unknown;
|
|
2622
2622
|
};
|
|
@@ -3228,7 +3228,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
3228
3228
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
3229
3229
|
arrowOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
3230
3230
|
disabled: BooleanConstructor;
|
|
3231
|
-
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "
|
|
3231
|
+
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any) | ((new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any))[], unknown, unknown, "hover", boolean>;
|
|
3232
3232
|
triggerKeys: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
3233
3233
|
virtualRef: {
|
|
3234
3234
|
readonly type: import("vue").PropType<import("element-plus").Measurable>;
|
|
@@ -3868,7 +3868,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
3868
3868
|
readonly showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
3869
3869
|
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
3870
3870
|
readonly autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
3871
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "
|
|
3871
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placement" | "fallbackPlacements" | "teleported" | "persistent" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "content" | "rawContent" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration" | "showAfter" | "hideAfter" | "autoClose">;
|
|
3872
3872
|
$attrs: {
|
|
3873
3873
|
[x: string]: unknown;
|
|
3874
3874
|
};
|
|
@@ -4385,7 +4385,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
4385
4385
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
4386
4386
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
4387
4387
|
onClose?: (() => any) | undefined;
|
|
4388
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
4388
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "fallbackPlacements" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration">;
|
|
4389
4389
|
$attrs: {
|
|
4390
4390
|
[x: string]: unknown;
|
|
4391
4391
|
};
|
|
@@ -5478,7 +5478,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
5478
5478
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
5479
5479
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
5480
5480
|
onClose?: (() => any) | undefined;
|
|
5481
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
5481
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "fallbackPlacements" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration">;
|
|
5482
5482
|
$attrs: {
|
|
5483
5483
|
[x: string]: unknown;
|
|
5484
5484
|
};
|
|
@@ -6042,7 +6042,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
6042
6042
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
6043
6043
|
arrowOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
6044
6044
|
disabled: BooleanConstructor;
|
|
6045
|
-
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "
|
|
6045
|
+
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any) | ((new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any))[], unknown, unknown, "hover", boolean>;
|
|
6046
6046
|
triggerKeys: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
6047
6047
|
virtualRef: {
|
|
6048
6048
|
readonly type: import("vue").PropType<import("element-plus").Measurable>;
|
|
@@ -6682,7 +6682,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
6682
6682
|
readonly showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
6683
6683
|
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
6684
6684
|
readonly autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
6685
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "
|
|
6685
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placement" | "fallbackPlacements" | "teleported" | "persistent" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "content" | "rawContent" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration" | "showAfter" | "hideAfter" | "autoClose">;
|
|
6686
6686
|
$attrs: {
|
|
6687
6687
|
[x: string]: unknown;
|
|
6688
6688
|
};
|
|
@@ -7199,7 +7199,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
7199
7199
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
7200
7200
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
7201
7201
|
onClose?: (() => any) | undefined;
|
|
7202
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
7202
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "fallbackPlacements" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration">;
|
|
7203
7203
|
$attrs: {
|
|
7204
7204
|
[x: string]: unknown;
|
|
7205
7205
|
};
|
|
@@ -8292,7 +8292,7 @@ export declare const HzztTooltip: import("hzzt-plus/es/utils").SFCWithInstall<im
|
|
|
8292
8292
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
8293
8293
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
8294
8294
|
onClose?: (() => any) | undefined;
|
|
8295
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
8295
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "fallbackPlacements" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration">;
|
|
8296
8296
|
$attrs: {
|
|
8297
8297
|
[x: string]: unknown;
|
|
8298
8298
|
};
|
|
@@ -46,7 +46,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
47
47
|
arrowOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
48
48
|
disabled: BooleanConstructor;
|
|
49
|
-
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "
|
|
49
|
+
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any) | ((new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any))[], unknown, unknown, "hover", boolean>;
|
|
50
50
|
triggerKeys: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
51
51
|
virtualRef: {
|
|
52
52
|
readonly type: import("vue").PropType<import("element-plus").Measurable>;
|
|
@@ -348,7 +348,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
348
348
|
__epPropKey: true;
|
|
349
349
|
};
|
|
350
350
|
role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "tooltip", boolean>;
|
|
351
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "
|
|
351
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placement" | "fallbackPlacements" | "teleported" | "persistent" | "effect" | "popperOptions" | "showArrow" | "offset" | "strategy" | "arrowOffset" | "trigger" | "triggerKeys" | "virtualTriggering" | "open" | "content" | "rawContent" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration" | "showAfter" | "hideAfter" | "autoClose" | "role">;
|
|
352
352
|
$attrs: {
|
|
353
353
|
[x: string]: unknown;
|
|
354
354
|
};
|
|
@@ -366,7 +366,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
366
366
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
367
367
|
arrowOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
368
368
|
disabled: BooleanConstructor;
|
|
369
|
-
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "
|
|
369
|
+
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any) | ((new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any))[], unknown, unknown, "hover", boolean>;
|
|
370
370
|
triggerKeys: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
371
371
|
virtualRef: {
|
|
372
372
|
readonly type: import("vue").PropType<import("element-plus").Measurable>;
|
|
@@ -1006,7 +1006,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1006
1006
|
readonly showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1007
1007
|
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
1008
1008
|
readonly autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1009
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "
|
|
1009
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placement" | "fallbackPlacements" | "teleported" | "persistent" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "content" | "rawContent" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration" | "showAfter" | "hideAfter" | "autoClose">;
|
|
1010
1010
|
$attrs: {
|
|
1011
1011
|
[x: string]: unknown;
|
|
1012
1012
|
};
|
|
@@ -1523,7 +1523,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1523
1523
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
1524
1524
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
1525
1525
|
onClose?: (() => any) | undefined;
|
|
1526
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
1526
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "fallbackPlacements" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration">;
|
|
1527
1527
|
$attrs: {
|
|
1528
1528
|
[x: string]: unknown;
|
|
1529
1529
|
};
|
|
@@ -2616,7 +2616,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2616
2616
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
2617
2617
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
2618
2618
|
onClose?: (() => any) | undefined;
|
|
2619
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
2619
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "fallbackPlacements" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration">;
|
|
2620
2620
|
$attrs: {
|
|
2621
2621
|
[x: string]: unknown;
|
|
2622
2622
|
};
|
|
@@ -3228,7 +3228,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3228
3228
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
3229
3229
|
arrowOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
3230
3230
|
disabled: BooleanConstructor;
|
|
3231
|
-
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "
|
|
3231
|
+
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any) | ((new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any))[], unknown, unknown, "hover", boolean>;
|
|
3232
3232
|
triggerKeys: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
3233
3233
|
virtualRef: {
|
|
3234
3234
|
readonly type: import("vue").PropType<import("element-plus").Measurable>;
|
|
@@ -3868,7 +3868,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3868
3868
|
readonly showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
3869
3869
|
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
3870
3870
|
readonly autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
3871
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "
|
|
3871
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placement" | "fallbackPlacements" | "teleported" | "persistent" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "content" | "rawContent" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration" | "showAfter" | "hideAfter" | "autoClose">;
|
|
3872
3872
|
$attrs: {
|
|
3873
3873
|
[x: string]: unknown;
|
|
3874
3874
|
};
|
|
@@ -4385,7 +4385,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4385
4385
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
4386
4386
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
4387
4387
|
onClose?: (() => any) | undefined;
|
|
4388
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
4388
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "fallbackPlacements" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration">;
|
|
4389
4389
|
$attrs: {
|
|
4390
4390
|
[x: string]: unknown;
|
|
4391
4391
|
};
|
|
@@ -5478,7 +5478,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5478
5478
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
5479
5479
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
5480
5480
|
onClose?: (() => any) | undefined;
|
|
5481
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
5481
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "fallbackPlacements" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration">;
|
|
5482
5482
|
$attrs: {
|
|
5483
5483
|
[x: string]: unknown;
|
|
5484
5484
|
};
|
|
@@ -6042,7 +6042,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6042
6042
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
6043
6043
|
arrowOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
6044
6044
|
disabled: BooleanConstructor;
|
|
6045
|
-
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "
|
|
6045
|
+
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any) | ((new (...args: any[]) => "hover" | "click" | "focus" | "contextmenu" | any[]) | (() => any))[], unknown, unknown, "hover", boolean>;
|
|
6046
6046
|
triggerKeys: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
6047
6047
|
virtualRef: {
|
|
6048
6048
|
readonly type: import("vue").PropType<import("element-plus").Measurable>;
|
|
@@ -6682,7 +6682,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6682
6682
|
readonly showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
6683
6683
|
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
6684
6684
|
readonly autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
6685
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "
|
|
6685
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "placement" | "fallbackPlacements" | "teleported" | "persistent" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "content" | "rawContent" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration" | "showAfter" | "hideAfter" | "autoClose">;
|
|
6686
6686
|
$attrs: {
|
|
6687
6687
|
[x: string]: unknown;
|
|
6688
6688
|
};
|
|
@@ -7199,7 +7199,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7199
7199
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
7200
7200
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
7201
7201
|
onClose?: (() => any) | undefined;
|
|
7202
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
7202
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "fallbackPlacements" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration">;
|
|
7203
7203
|
$attrs: {
|
|
7204
7204
|
[x: string]: unknown;
|
|
7205
7205
|
};
|
|
@@ -8292,7 +8292,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8292
8292
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
8293
8293
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
8294
8294
|
onClose?: (() => any) | undefined;
|
|
8295
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
8295
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "fallbackPlacements" | "effect" | "popperOptions" | "offset" | "strategy" | "virtualTriggering" | "visible" | "enterable" | "pure" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "boundariesPadding" | "gpuAcceleration">;
|
|
8296
8296
|
$attrs: {
|
|
8297
8297
|
[x: string]: unknown;
|
|
8298
8298
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function insertCursorPosition(inputEl:
|
|
1
|
+
export declare function insertCursorPosition(inputEl: HTMLTextAreaElement, content: string): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../packages/hooks/use-cursor/index.ts"],"sourcesContent":["export function insertCursorPosition(inputEl:
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../packages/hooks/use-cursor/index.ts"],"sourcesContent":["export function insertCursorPosition(inputEl: HTMLTextAreaElement, content: string) {\n const startPos: number = inputEl.selectionStart || 0;\n const endPos: number = inputEl.selectionEnd || 0;\n const restoreTop = inputEl.scrollTop;\n inputEl.value = inputEl.value.substring(0, startPos) +\n content + inputEl.value.substring(endPos, inputEl.value.length);\n inputEl.focus();\n inputEl.scrollTop = restoreTop;\n inputEl.selectionStart = startPos + content.length;\n inputEl.selectionEnd = startPos + content.length;\n return inputEl.value;\n}\n"],"names":[],"mappings":"AAAO,SAAS,oBAAoB,CAAC,OAAO,EAAE,OAAO,EAAE;AACvD,EAAE,MAAM,QAAQ,GAAG,OAAO,CAAC,cAAc,IAAI,CAAC,CAAC;AAC/C,EAAE,MAAM,MAAM,GAAG,OAAO,CAAC,YAAY,IAAI,CAAC,CAAC;AAC3C,EAAE,MAAM,UAAU,GAAG,OAAO,CAAC,SAAS,CAAC;AACvC,EAAE,OAAO,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,EAAE,QAAQ,CAAC,GAAG,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AACzH,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC;AAClB,EAAE,OAAO,CAAC,SAAS,GAAG,UAAU,CAAC;AACjC,EAAE,OAAO,CAAC,cAAc,GAAG,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC;AACrD,EAAE,OAAO,CAAC,YAAY,GAAG,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC;AACnD,EAAE,OAAO,OAAO,CAAC,KAAK,CAAC;AACvB;;;;"}
|
package/es/index.mjs
CHANGED
|
@@ -21,12 +21,16 @@ export { HzztPageSize } from './components/page-size/index.mjs';
|
|
|
21
21
|
export { HzztConfirmPassword } from './components/confirm-password/index.mjs';
|
|
22
22
|
export { HzztCheckButton } from './components/check-button/index.mjs';
|
|
23
23
|
export { HzztQuarterPicker } from './components/quarter-picker/index.mjs';
|
|
24
|
-
export { scanEmits, scanProps } from './components/scan/src/
|
|
24
|
+
export { scanEmits, scanProps } from './components/scan/src/scan2.mjs';
|
|
25
25
|
export { HzztScan } from './components/scan/index.mjs';
|
|
26
26
|
export { selectInputEmits, selectInputProps } from './components/select-input/src/select-input.mjs';
|
|
27
27
|
export { HzztSelectInput } from './components/select-input/index.mjs';
|
|
28
28
|
export { selectTextareaEmits, selectTextareaProps } from './components/select-textarea/src/select-textarea.mjs';
|
|
29
29
|
export { HzztSelectTextarea } from './components/select-textarea/index.mjs';
|
|
30
|
+
export { inputRangeEmits, inputRangeProps } from './components/input-range/src/input-range.mjs';
|
|
31
|
+
export { HzztInputRange } from './components/input-range/index.mjs';
|
|
32
|
+
export { cascaderEmits, cascaderProps } from './components/cascader/src/cascader.mjs';
|
|
33
|
+
export { HzztCascader } from './components/cascader/index.mjs';
|
|
30
34
|
export { INSTALLED_KEY } from './constants/key.mjs';
|
|
31
35
|
export { componentSizeMap, componentSizes } from './constants/size.mjs';
|
|
32
36
|
export { WEEK_DAYS, datePickTypes } from './constants/date.mjs';
|
package/es/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../packages/hzzt-plus/index.ts"],"sourcesContent":["import installer from './defaults'\nexport * from '@hzzt-plus/components'\nexport * from '@hzzt-plus/constants'\nexport * from '@hzzt-plus/directives'\nexport * from '@hzzt-plus/hooks'\nexport * from './make-installer'\n\nexport const install = installer.install\nexport const version = installer.version\nexport default installer\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../packages/hzzt-plus/index.ts"],"sourcesContent":["import installer from './defaults'\nexport * from '@hzzt-plus/components'\nexport * from '@hzzt-plus/constants'\nexport * from '@hzzt-plus/directives'\nexport * from '@hzzt-plus/hooks'\nexport * from './make-installer'\n\nexport const install = installer.install\nexport const version = installer.version\nexport default installer\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMY,MAAC,OAAO,GAAG,SAAS,CAAC,QAAQ;AAC7B,MAAC,OAAO,GAAG,SAAS,CAAC;;;;"}
|
package/global.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ declare module 'vue' {
|
|
|
16
16
|
HzztScan: typeof import('hzzt-plus')['HzztScan']
|
|
17
17
|
HzztSelectInput: typeof import('hzzt-plus')['HzztSelectInput']
|
|
18
18
|
HzztSelectTextarea: typeof import('hzzt-plus')['HzztSelectTextarea']
|
|
19
|
+
HzztInputRange: typeof import('hzzt-plus')['HzztInputRange']
|
|
20
|
+
HzztCascader: typeof import('hzzt-plus')['HzztCascader']
|
|
19
21
|
}
|
|
20
22
|
}
|
|
21
23
|
|
package/lib/component.js
CHANGED
|
@@ -17,6 +17,8 @@ var index$b = require('./components/quarter-picker/index.js');
|
|
|
17
17
|
var index$c = require('./components/scan/index.js');
|
|
18
18
|
var index$d = require('./components/select-input/index.js');
|
|
19
19
|
var index$e = require('./components/select-textarea/index.js');
|
|
20
|
+
var index$f = require('./components/input-range/index.js');
|
|
21
|
+
var index$g = require('./components/cascader/index.js');
|
|
20
22
|
|
|
21
23
|
var Components = [
|
|
22
24
|
index.HzztConfigProvider,
|
|
@@ -33,7 +35,9 @@ var Components = [
|
|
|
33
35
|
index$b.HzztQuarterPicker,
|
|
34
36
|
index$c.HzztScan,
|
|
35
37
|
index$d.HzztSelectInput,
|
|
36
|
-
index$e.HzztSelectTextarea
|
|
38
|
+
index$e.HzztSelectTextarea,
|
|
39
|
+
index$f.HzztInputRange,
|
|
40
|
+
index$g.HzztCascader
|
|
37
41
|
];
|
|
38
42
|
|
|
39
43
|
exports["default"] = Components;
|
package/lib/component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sources":["../../../packages/hzzt-plus/component.ts"],"sourcesContent":["import { HzztTitle } from '@hzzt-plus/components/title'\nimport { HzztDropdown } from '@hzzt-plus/components/dropdown'\nimport { HzztCollapse } from '@hzzt-plus/components/collapse'\nimport { HzztConfigProvider } from '@hzzt-plus/components/config-provider'\nimport { HzztTab } from '@hzzt-plus/components/tab'\nimport { HzztIcon } from '@hzzt-plus/components/icon'\nimport { HzztPagination } from '@hzzt-plus/components/pagination'\nimport { HzztTooltip } from '@hzzt-plus/components/tooltip'\nimport { HzztPageSize } from '@hzzt-plus/components/page-size'\nimport { HzztConfirmPassword } from '@hzzt-plus/components/confirm-password'\nimport { HzztCheckButton } from '@hzzt-plus/components/check-button'\nimport { HzztQuarterPicker } from '@hzzt-plus/components/quarter-picker'\nimport { HzztScan } from '@hzzt-plus/components/scan'\nimport { HzztSelectInput } from '@hzzt-plus/components/select-input'\nimport { HzztSelectTextarea } from '@hzzt-plus/components/select-textarea'\n\nimport type { Plugin } from 'vue'\n\nexport default [\n HzztConfigProvider,\n HzztTitle,\n HzztDropdown,\n HzztCollapse,\n HzztTab,\n HzztIcon,\n HzztPagination,\n HzztTooltip,\n HzztPageSize,\n HzztConfirmPassword,\n HzztCheckButton,\n HzztQuarterPicker,\n HzztScan,\n HzztSelectInput,\n HzztSelectTextarea,\n] as Plugin[]\n"],"names":["HzztConfigProvider","HzztTitle","HzztDropdown","HzztCollapse","HzztTab","HzztIcon","HzztPagination","HzztTooltip","HzztPageSize","HzztConfirmPassword","HzztCheckButton","HzztQuarterPicker","HzztScan","HzztSelectInput","HzztSelectTextarea"],"mappings":"
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../../../packages/hzzt-plus/component.ts"],"sourcesContent":["import { HzztTitle } from '@hzzt-plus/components/title'\nimport { HzztDropdown } from '@hzzt-plus/components/dropdown'\nimport { HzztCollapse } from '@hzzt-plus/components/collapse'\nimport { HzztConfigProvider } from '@hzzt-plus/components/config-provider'\nimport { HzztTab } from '@hzzt-plus/components/tab'\nimport { HzztIcon } from '@hzzt-plus/components/icon'\nimport { HzztPagination } from '@hzzt-plus/components/pagination'\nimport { HzztTooltip } from '@hzzt-plus/components/tooltip'\nimport { HzztPageSize } from '@hzzt-plus/components/page-size'\nimport { HzztConfirmPassword } from '@hzzt-plus/components/confirm-password'\nimport { HzztCheckButton } from '@hzzt-plus/components/check-button'\nimport { HzztQuarterPicker } from '@hzzt-plus/components/quarter-picker'\nimport { HzztScan } from '@hzzt-plus/components/scan'\nimport { HzztSelectInput } from '@hzzt-plus/components/select-input'\nimport { HzztSelectTextarea } from '@hzzt-plus/components/select-textarea'\nimport { HzztInputRange } from '@hzzt-plus/components/input-range'\nimport { HzztCascader } from '@hzzt-plus/components/cascader'\n\nimport type { Plugin } from 'vue'\n\nexport default [\n HzztConfigProvider,\n HzztTitle,\n HzztDropdown,\n HzztCollapse,\n HzztTab,\n HzztIcon,\n HzztPagination,\n HzztTooltip,\n HzztPageSize,\n HzztConfirmPassword,\n HzztCheckButton,\n HzztQuarterPicker,\n HzztScan,\n HzztSelectInput,\n HzztSelectTextarea,\n HzztInputRange,\n HzztCascader,\n] as Plugin[]\n"],"names":["HzztConfigProvider","HzztTitle","HzztDropdown","HzztCollapse","HzztTab","HzztIcon","HzztPagination","HzztTooltip","HzztPageSize","HzztConfirmPassword","HzztCheckButton","HzztQuarterPicker","HzztScan","HzztSelectInput","HzztSelectTextarea","HzztInputRange","HzztCascader"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAiBA,iBAAe;AACf,EAAEA,wBAAkB;AACpB,EAAEC,iBAAS;AACX,EAAEC,oBAAY;AACd,EAAEC,oBAAY;AACd,EAAEC,eAAO;AACT,EAAEC,gBAAQ;AACV,EAAEC,sBAAc;AAChB,EAAEC,mBAAW;AACb,EAAEC,oBAAY;AACd,EAAEC,2BAAmB;AACrB,EAAEC,uBAAe;AACjB,EAAEC,yBAAiB;AACnB,EAAEC,gBAAQ;AACV,EAAEC,uBAAe;AACjB,EAAEC,0BAAkB;AACpB,EAAEC,sBAAc;AAChB,EAAEC,oBAAY;AACd,CAAC;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('../../utils/index.js');
|
|
6
|
+
var cascader$1 = require('./src/cascader2.js');
|
|
7
|
+
var cascader = require('./src/cascader.js');
|
|
8
|
+
var install = require('../../utils/vue/install.js');
|
|
9
|
+
|
|
10
|
+
const HzztCascader = install.withInstall(cascader$1["default"]);
|
|
11
|
+
|
|
12
|
+
exports.cascaderEmits = cascader.cascaderEmits;
|
|
13
|
+
exports.cascaderProps = cascader.cascaderProps;
|
|
14
|
+
exports.HzztCascader = HzztCascader;
|
|
15
|
+
exports["default"] = HzztCascader;
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../packages/components/cascader/index.ts"],"sourcesContent":["import { withInstall } from '@hzzt-plus/utils'\nimport Cascader from './src/cascader.vue'\nimport type { SFCWithInstall } from '@hzzt-plus/utils'\n\nexport const HzztCascader: SFCWithInstall<typeof Cascader> = withInstall(Cascader)\nexport default HzztCascader\n\nexport * from './src/cascader'\n"],"names":["withInstall","Cascader"],"mappings":";;;;;;;;;AAEY,MAAC,YAAY,GAAGA,mBAAW,CAACC,qBAAQ;;;;;;;"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
import type Cascader from './cascader.vue';
|
|
3
|
+
export declare type CascaderNodeValue = string | number;
|
|
4
|
+
export interface CascaderOption extends Record<string, unknown> {
|
|
5
|
+
label?: string;
|
|
6
|
+
value?: CascaderNodeValue;
|
|
7
|
+
children?: CascaderOption[];
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
leaf?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const cascaderProps: {
|
|
12
|
+
cascaderProps: import("hzzt-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => {
|
|
13
|
+
showAllLevels: boolean;
|
|
14
|
+
}, boolean>;
|
|
15
|
+
disabled: BooleanConstructor;
|
|
16
|
+
readonly: BooleanConstructor;
|
|
17
|
+
clearable: BooleanConstructor;
|
|
18
|
+
size: {
|
|
19
|
+
readonly type: import("vue").PropType<import("hzzt-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
20
|
+
readonly required: false;
|
|
21
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
|
+
__epPropKey: true;
|
|
23
|
+
};
|
|
24
|
+
options: import("hzzt-plus/es/utils").EpPropFinalized<(new (...args: any[]) => CascaderOption[]) | (() => CascaderOption[]) | ((new (...args: any[]) => CascaderOption[]) | (() => CascaderOption[]))[], unknown, unknown, () => CascaderOption[], boolean>;
|
|
25
|
+
placeholder: import("hzzt-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
26
|
+
modelValue: import("hzzt-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string | undefined) | ((new (...args: any[]) => string & {}) | (() => string | undefined))[], unknown, unknown, string, boolean>;
|
|
27
|
+
};
|
|
28
|
+
export declare type CascaderProps = ExtractPropTypes<typeof cascaderProps>;
|
|
29
|
+
export declare const cascaderEmits: {
|
|
30
|
+
"update:modelValue": (value: string | undefined) => boolean;
|
|
31
|
+
input: (value: string | undefined) => boolean;
|
|
32
|
+
change: (value: string | undefined) => boolean;
|
|
33
|
+
};
|
|
34
|
+
export declare type CascaderEmits = typeof cascaderEmits;
|
|
35
|
+
export declare type CascaderInstance = InstanceType<typeof Cascader>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('../../../utils/index.js');
|
|
6
|
+
require('../../../hooks/index.js');
|
|
7
|
+
require('../../../constants/index.js');
|
|
8
|
+
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
9
|
+
var index = require('../../../hooks/use-size/index.js');
|
|
10
|
+
var event = require('../../../constants/event.js');
|
|
11
|
+
var shared = require('@vue/shared');
|
|
12
|
+
|
|
13
|
+
const cascaderProps = runtime.buildProps({
|
|
14
|
+
cascaderProps: {
|
|
15
|
+
type: Object,
|
|
16
|
+
default: () => ({
|
|
17
|
+
showAllLevels: true
|
|
18
|
+
})
|
|
19
|
+
},
|
|
20
|
+
disabled: Boolean,
|
|
21
|
+
readonly: Boolean,
|
|
22
|
+
clearable: Boolean,
|
|
23
|
+
size: index.useSizeProp,
|
|
24
|
+
options: {
|
|
25
|
+
type: runtime.definePropType(Array),
|
|
26
|
+
default: () => []
|
|
27
|
+
},
|
|
28
|
+
placeholder: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: ""
|
|
31
|
+
},
|
|
32
|
+
modelValue: {
|
|
33
|
+
type: runtime.definePropType([
|
|
34
|
+
String
|
|
35
|
+
]),
|
|
36
|
+
default: ""
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
const cascaderEmits = {
|
|
40
|
+
[event.UPDATE_MODEL_EVENT]: (value) => shared.isString(value),
|
|
41
|
+
input: (value) => shared.isString(value),
|
|
42
|
+
change: (value) => shared.isString(value)
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
exports.cascaderEmits = cascaderEmits;
|
|
46
|
+
exports.cascaderProps = cascaderProps;
|
|
47
|
+
//# sourceMappingURL=cascader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cascader.js","sources":["../../../../../../packages/components/cascader/src/cascader.ts"],"sourcesContent":["import {buildProps, definePropType, isString} from '@hzzt-plus/utils'\nimport {useSizeProp} from \"@hzzt-plus/hooks\";\nimport type {ExtractPropTypes} from 'vue'\nimport type Cascader from './cascader.vue'\nimport {UPDATE_MODEL_EVENT} from \"@hzzt-plus/constants\";\n\nexport type CascaderNodeValue = string | number\n\nexport interface CascaderOption extends Record<string, unknown> {\n label?: string\n value?: CascaderNodeValue\n children?: CascaderOption[]\n disabled?: boolean\n leaf?: boolean\n}\n\nexport const cascaderProps = buildProps({\n cascaderProps: {\n type: Object,\n default: () => ({\n showAllLevels: true,\n }),\n },\n disabled: Boolean,\n readonly: Boolean,\n clearable: Boolean,\n size: useSizeProp,\n options: {\n type: definePropType<CascaderOption[]>(Array),\n default: () => [] as CascaderOption[],\n },\n placeholder: {\n type: String,\n default: '',\n },\n modelValue: {\n type: definePropType<string | undefined>([\n String,\n ]),\n default: '',\n },\n})\n\nexport type CascaderProps = ExtractPropTypes<typeof cascaderProps>\n\nexport const cascaderEmits = {\n [UPDATE_MODEL_EVENT]: (value: string | undefined) => isString(value),\n input: (value: string | undefined) => isString(value),\n change: (value: string | undefined) => isString(value),\n}\nexport type CascaderEmits = typeof cascaderEmits\n\n\nexport type CascaderInstance = InstanceType<typeof Cascader>\n"],"names":["buildProps","useSizeProp","definePropType","UPDATE_MODEL_EVENT","isString"],"mappings":";;;;;;;;;;;;AAGY,MAAC,aAAa,GAAGA,kBAAU,CAAC;AACxC,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,OAAO;AACpB,MAAM,aAAa,EAAE,IAAI;AACzB,KAAK,CAAC;AACN,GAAG;AACH,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,IAAI,EAAEC,iBAAW;AACnB,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAEC,sBAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,OAAO,EAAE,MAAM,EAAE;AACrB,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAEA,sBAAc,CAAC;AACzB,MAAM,MAAM;AACZ,KAAK,CAAC;AACN,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,CAAC,EAAE;AACS,MAAC,aAAa,GAAG;AAC7B,EAAE,CAACC,wBAAkB,GAAG,CAAC,KAAK,KAAKC,eAAQ,CAAC,KAAK,CAAC;AAClD,EAAE,KAAK,EAAE,CAAC,KAAK,KAAKA,eAAQ,CAAC,KAAK,CAAC;AACnC,EAAE,MAAM,EAAE,CAAC,KAAK,KAAKA,eAAQ,CAAC,KAAK,CAAC;AACpC;;;;;"}
|