yc-pro-components 0.0.77 → 0.0.79
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/es/components/dialog-form/index.d.ts +1 -1
- package/es/components/dialog-form/src/index.vue.d.ts +1 -1
- package/es/components/display-item/index.d.ts +3 -3
- package/es/components/display-item/src/index.vue.d.ts +3 -3
- package/es/components/drawer-form/index.d.ts +22 -22
- package/es/components/drawer-form/src/index.vue.d.ts +8 -8
- package/es/components/form/index.d.ts +2 -2
- package/es/components/form/src/form-content.vue.d.ts +4 -4
- package/es/components/form/src/index.vue.d.ts +2 -2
- package/es/components/form-item/index.d.ts +11 -11
- package/es/components/form-item/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +41 -41
- package/es/components/page/src/index.vue.d.ts +9 -9
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +7 -7
- package/es/components/search/src/index.vue.d.ts +3 -3
- package/es/components/sidebar/index.d.ts +16 -16
- package/es/components/steps-form/index.d.ts +1 -1
- package/es/components/steps-form/src/index.vue.d.ts +1 -1
- package/es/components/table/src/index.vue2.mjs +20 -3
- package/es/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +3 -3
- package/es/components/yc-count-to/index.d.ts +2 -2
- package/es/components/yc-count-to/src/normal/index.d.ts +2 -2
- package/es/components/yc-plus-page/src/index.vue.d.ts +31 -31
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/usePlusFormReset.d.ts +54 -54
- package/es/hooks/useTableScrollbarTooltip.d.ts +29 -0
- package/es/hooks/useTableScrollbarTooltip.mjs +122 -0
- package/es/index.css +11 -11
- package/es/index.mjs +1 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.css +1 -1
- package/index.js +139 -4
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +139 -4
- package/lib/components/dialog-form/index.d.ts +1 -1
- package/lib/components/dialog-form/src/index.vue.d.ts +1 -1
- package/lib/components/display-item/index.d.ts +3 -3
- package/lib/components/display-item/src/index.vue.d.ts +3 -3
- package/lib/components/drawer-form/index.d.ts +22 -22
- package/lib/components/drawer-form/src/index.vue.d.ts +8 -8
- package/lib/components/form/index.d.ts +2 -2
- package/lib/components/form/src/form-content.vue.d.ts +4 -4
- package/lib/components/form/src/index.vue.d.ts +2 -2
- package/lib/components/form-item/index.d.ts +11 -11
- package/lib/components/form-item/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +41 -41
- package/lib/components/page/src/index.vue.d.ts +9 -9
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +7 -7
- package/lib/components/search/src/index.vue.d.ts +3 -3
- package/lib/components/sidebar/index.d.ts +16 -16
- package/lib/components/steps-form/index.d.ts +1 -1
- package/lib/components/steps-form/src/index.vue.d.ts +1 -1
- package/lib/components/table/src/index.vue2.js +19 -2
- package/lib/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +3 -3
- package/lib/components/yc-count-to/index.d.ts +2 -2
- package/lib/components/yc-count-to/src/normal/index.d.ts +2 -2
- package/lib/components/yc-plus-page/src/index.vue.d.ts +31 -31
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/usePlusFormReset.d.ts +54 -54
- package/lib/hooks/useTableScrollbarTooltip.d.ts +29 -0
- package/lib/hooks/useTableScrollbarTooltip.js +124 -0
- package/lib/index.css +10 -10
- package/lib/index.js +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-table.css +1 -1
- package/theme-chalk/src/table.scss +315 -301
|
@@ -135,7 +135,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
135
135
|
}>;
|
|
136
136
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
137
137
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
138
|
-
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "
|
|
138
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "close") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
139
139
|
$el: any;
|
|
140
140
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
141
141
|
dialog: {
|
|
@@ -268,7 +268,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
268
268
|
};
|
|
269
269
|
rows: number;
|
|
270
270
|
autocomplete: string;
|
|
271
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "
|
|
271
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
272
272
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
273
273
|
step: string | number;
|
|
274
274
|
format: string | ProgressFn | undefined;
|
|
@@ -463,7 +463,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
463
463
|
}>;
|
|
464
464
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
465
465
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
466
|
-
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "
|
|
466
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
467
467
|
$el: any;
|
|
468
468
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
469
469
|
form: {
|
|
@@ -555,11 +555,11 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
555
555
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
556
556
|
readonly center: boolean;
|
|
557
557
|
readonly modelValue: boolean;
|
|
558
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
559
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
560
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
561
558
|
readonly ariaLevel: string;
|
|
562
559
|
readonly fullscreen: boolean;
|
|
560
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
561
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
562
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
563
563
|
readonly appendToBody: boolean;
|
|
564
564
|
readonly destroyOnClose: boolean;
|
|
565
565
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -576,11 +576,11 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
576
576
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
577
577
|
readonly zIndex?: number | undefined;
|
|
578
578
|
readonly top?: string | undefined;
|
|
579
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
580
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
579
581
|
readonly headerClass?: string | undefined;
|
|
580
582
|
readonly bodyClass?: string | undefined;
|
|
581
583
|
readonly footerClass?: string | undefined;
|
|
582
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
583
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
584
584
|
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
585
585
|
readonly modalClass?: string | undefined;
|
|
586
586
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -668,7 +668,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
668
668
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
669
669
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
670
670
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
671
|
-
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "
|
|
671
|
+
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
672
672
|
$attrs: {
|
|
673
673
|
[x: string]: unknown;
|
|
674
674
|
};
|
|
@@ -680,7 +680,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
680
680
|
}>;
|
|
681
681
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
682
682
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
683
|
-
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "
|
|
683
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
684
684
|
$el: any;
|
|
685
685
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
686
686
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -1042,11 +1042,11 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1042
1042
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1043
1043
|
readonly center: boolean;
|
|
1044
1044
|
readonly modelValue: boolean;
|
|
1045
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1046
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1047
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1048
1045
|
readonly ariaLevel: string;
|
|
1049
1046
|
readonly fullscreen: boolean;
|
|
1047
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1048
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1049
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1050
1050
|
readonly appendToBody: boolean;
|
|
1051
1051
|
readonly destroyOnClose: boolean;
|
|
1052
1052
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1063,11 +1063,11 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1063
1063
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
1064
1064
|
readonly zIndex?: number | undefined;
|
|
1065
1065
|
readonly top?: string | undefined;
|
|
1066
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1067
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1066
1068
|
readonly headerClass?: string | undefined;
|
|
1067
1069
|
readonly bodyClass?: string | undefined;
|
|
1068
1070
|
readonly footerClass?: string | undefined;
|
|
1069
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1070
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1071
1071
|
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
1072
1072
|
readonly modalClass?: string | undefined;
|
|
1073
1073
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -1155,7 +1155,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1155
1155
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1156
1156
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1157
1157
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1158
|
-
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "
|
|
1158
|
+
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
1159
1159
|
$attrs: {
|
|
1160
1160
|
[x: string]: unknown;
|
|
1161
1161
|
};
|
|
@@ -1167,7 +1167,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1167
1167
|
}>;
|
|
1168
1168
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1169
1169
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1170
|
-
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "
|
|
1170
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
1171
1171
|
$el: any;
|
|
1172
1172
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1173
1173
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -1429,7 +1429,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1429
1429
|
};
|
|
1430
1430
|
rows: number;
|
|
1431
1431
|
autocomplete: string;
|
|
1432
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "
|
|
1432
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1433
1433
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1434
1434
|
step: string | number;
|
|
1435
1435
|
format: string | ProgressFn | undefined;
|
|
@@ -1609,7 +1609,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1609
1609
|
}>;
|
|
1610
1610
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1611
1611
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1612
|
-
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "
|
|
1612
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "close") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
1613
1613
|
$el: any;
|
|
1614
1614
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1615
1615
|
dialog: {
|
|
@@ -1742,7 +1742,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1742
1742
|
};
|
|
1743
1743
|
rows: number;
|
|
1744
1744
|
autocomplete: string;
|
|
1745
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "
|
|
1745
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1746
1746
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1747
1747
|
step: string | number;
|
|
1748
1748
|
format: string | ProgressFn | undefined;
|
|
@@ -1937,7 +1937,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1937
1937
|
}>;
|
|
1938
1938
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1939
1939
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1940
|
-
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "
|
|
1940
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
1941
1941
|
$el: any;
|
|
1942
1942
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1943
1943
|
form: {
|
|
@@ -2029,11 +2029,11 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2029
2029
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
2030
2030
|
readonly center: boolean;
|
|
2031
2031
|
readonly modelValue: boolean;
|
|
2032
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2033
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2034
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2035
2032
|
readonly ariaLevel: string;
|
|
2036
2033
|
readonly fullscreen: boolean;
|
|
2034
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2035
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2036
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2037
2037
|
readonly appendToBody: boolean;
|
|
2038
2038
|
readonly destroyOnClose: boolean;
|
|
2039
2039
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -2050,11 +2050,11 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2050
2050
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
2051
2051
|
readonly zIndex?: number | undefined;
|
|
2052
2052
|
readonly top?: string | undefined;
|
|
2053
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2054
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2053
2055
|
readonly headerClass?: string | undefined;
|
|
2054
2056
|
readonly bodyClass?: string | undefined;
|
|
2055
2057
|
readonly footerClass?: string | undefined;
|
|
2056
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2057
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2058
2058
|
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
2059
2059
|
readonly modalClass?: string | undefined;
|
|
2060
2060
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -2142,7 +2142,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2142
2142
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
2143
2143
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2144
2144
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2145
|
-
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "
|
|
2145
|
+
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
2146
2146
|
$attrs: {
|
|
2147
2147
|
[x: string]: unknown;
|
|
2148
2148
|
};
|
|
@@ -2154,7 +2154,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2154
2154
|
}>;
|
|
2155
2155
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2156
2156
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2157
|
-
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "
|
|
2157
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
2158
2158
|
$el: any;
|
|
2159
2159
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2160
2160
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -2516,11 +2516,11 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2516
2516
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
2517
2517
|
readonly center: boolean;
|
|
2518
2518
|
readonly modelValue: boolean;
|
|
2519
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2520
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2521
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2522
2519
|
readonly ariaLevel: string;
|
|
2523
2520
|
readonly fullscreen: boolean;
|
|
2521
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2522
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2523
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2524
2524
|
readonly appendToBody: boolean;
|
|
2525
2525
|
readonly destroyOnClose: boolean;
|
|
2526
2526
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -2537,11 +2537,11 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2537
2537
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
2538
2538
|
readonly zIndex?: number | undefined;
|
|
2539
2539
|
readonly top?: string | undefined;
|
|
2540
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2541
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2540
2542
|
readonly headerClass?: string | undefined;
|
|
2541
2543
|
readonly bodyClass?: string | undefined;
|
|
2542
2544
|
readonly footerClass?: string | undefined;
|
|
2543
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2544
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2545
2545
|
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
2546
2546
|
readonly modalClass?: string | undefined;
|
|
2547
2547
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -2629,7 +2629,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2629
2629
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
2630
2630
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2631
2631
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2632
|
-
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "
|
|
2632
|
+
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
2633
2633
|
$attrs: {
|
|
2634
2634
|
[x: string]: unknown;
|
|
2635
2635
|
};
|
|
@@ -2641,7 +2641,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2641
2641
|
}>;
|
|
2642
2642
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2643
2643
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2644
|
-
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "
|
|
2644
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
2645
2645
|
$el: any;
|
|
2646
2646
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2647
2647
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -2903,7 +2903,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2903
2903
|
};
|
|
2904
2904
|
rows: number;
|
|
2905
2905
|
autocomplete: string;
|
|
2906
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "
|
|
2906
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2907
2907
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2908
2908
|
step: string | number;
|
|
2909
2909
|
format: string | ProgressFn | undefined;
|
|
@@ -3085,7 +3085,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3085
3085
|
}>;
|
|
3086
3086
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3087
3087
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3088
|
-
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "
|
|
3088
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "close") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
3089
3089
|
$el: any;
|
|
3090
3090
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3091
3091
|
dialog: {
|
|
@@ -3218,7 +3218,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3218
3218
|
};
|
|
3219
3219
|
rows: number;
|
|
3220
3220
|
autocomplete: string;
|
|
3221
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "
|
|
3221
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
3222
3222
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3223
3223
|
step: string | number;
|
|
3224
3224
|
format: string | ProgressFn | undefined;
|
|
@@ -3413,7 +3413,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3413
3413
|
}>;
|
|
3414
3414
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3415
3415
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3416
|
-
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "
|
|
3416
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
3417
3417
|
$el: any;
|
|
3418
3418
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3419
3419
|
form: {
|
|
@@ -3505,11 +3505,11 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3505
3505
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3506
3506
|
readonly center: boolean;
|
|
3507
3507
|
readonly modelValue: boolean;
|
|
3508
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3509
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
3510
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3511
3508
|
readonly ariaLevel: string;
|
|
3512
3509
|
readonly fullscreen: boolean;
|
|
3510
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
3511
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3512
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3513
3513
|
readonly appendToBody: boolean;
|
|
3514
3514
|
readonly destroyOnClose: boolean;
|
|
3515
3515
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -3526,11 +3526,11 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3526
3526
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
3527
3527
|
readonly zIndex?: number | undefined;
|
|
3528
3528
|
readonly top?: string | undefined;
|
|
3529
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
3530
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
3529
3531
|
readonly headerClass?: string | undefined;
|
|
3530
3532
|
readonly bodyClass?: string | undefined;
|
|
3531
3533
|
readonly footerClass?: string | undefined;
|
|
3532
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
3533
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
3534
3534
|
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
3535
3535
|
readonly modalClass?: string | undefined;
|
|
3536
3536
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -3618,7 +3618,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3618
3618
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
3619
3619
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
3620
3620
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
3621
|
-
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "
|
|
3621
|
+
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
3622
3622
|
$attrs: {
|
|
3623
3623
|
[x: string]: unknown;
|
|
3624
3624
|
};
|
|
@@ -3630,7 +3630,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3630
3630
|
}>;
|
|
3631
3631
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3632
3632
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3633
|
-
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "
|
|
3633
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
3634
3634
|
$el: any;
|
|
3635
3635
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3636
3636
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -3992,11 +3992,11 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3992
3992
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3993
3993
|
readonly center: boolean;
|
|
3994
3994
|
readonly modelValue: boolean;
|
|
3995
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3996
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
3997
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3998
3995
|
readonly ariaLevel: string;
|
|
3999
3996
|
readonly fullscreen: boolean;
|
|
3997
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
3998
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3999
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4000
4000
|
readonly appendToBody: boolean;
|
|
4001
4001
|
readonly destroyOnClose: boolean;
|
|
4002
4002
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -4013,11 +4013,11 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4013
4013
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
4014
4014
|
readonly zIndex?: number | undefined;
|
|
4015
4015
|
readonly top?: string | undefined;
|
|
4016
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
4017
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
4016
4018
|
readonly headerClass?: string | undefined;
|
|
4017
4019
|
readonly bodyClass?: string | undefined;
|
|
4018
4020
|
readonly footerClass?: string | undefined;
|
|
4019
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
4020
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
4021
4021
|
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
4022
4022
|
readonly modalClass?: string | undefined;
|
|
4023
4023
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -4105,7 +4105,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4105
4105
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
4106
4106
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
4107
4107
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
4108
|
-
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "
|
|
4108
|
+
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
4109
4109
|
$attrs: {
|
|
4110
4110
|
[x: string]: unknown;
|
|
4111
4111
|
};
|
|
@@ -4117,7 +4117,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4117
4117
|
}>;
|
|
4118
4118
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4119
4119
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4120
|
-
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "
|
|
4120
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
4121
4121
|
$el: any;
|
|
4122
4122
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4123
4123
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -4379,7 +4379,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4379
4379
|
};
|
|
4380
4380
|
rows: number;
|
|
4381
4381
|
autocomplete: string;
|
|
4382
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "
|
|
4382
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
4383
4383
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4384
4384
|
step: string | number;
|
|
4385
4385
|
format: string | ProgressFn | undefined;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TableLikeRef } from './useTableDragScroll';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
|
|
4
|
+
/** useTableScrollbarTooltip 配置项 */
|
|
5
|
+
export interface UseTableScrollbarTooltipOptions {
|
|
6
|
+
/** 是否启用,默认 true */
|
|
7
|
+
enabled?: Ref<boolean> | boolean;
|
|
8
|
+
/** Tooltip 文案,默认「左右滚动:Shift + 滚轮上下」 */
|
|
9
|
+
content?: string;
|
|
10
|
+
/** 横向滚动条选择器,默认 .el-scrollbar__bar.is-horizontal */
|
|
11
|
+
horizontalBarSelector?: string;
|
|
12
|
+
}
|
|
13
|
+
/** useTableScrollbarTooltip 返回值 */
|
|
14
|
+
export interface UseTableScrollbarTooltipReturn {
|
|
15
|
+
/** virtual-triggering 绑定的 DOM 元素 */
|
|
16
|
+
triggerRef: Ref<HTMLElement | null>;
|
|
17
|
+
/** Tooltip 文案 */
|
|
18
|
+
tooltipContent: Ref<string>;
|
|
19
|
+
/** Tooltip 显隐(由滚动条 mouseenter/leave 控制) */
|
|
20
|
+
tooltipVisible: Ref<boolean>;
|
|
21
|
+
/** 手动刷新滚动条引用(异步渲染或列变更后可用) */
|
|
22
|
+
refresh: () => void;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* 表格横向滚动条 hover 提示 Hook
|
|
26
|
+
* @param tableRef Element Plus el-table 的 ref
|
|
27
|
+
* @param options 可选配置
|
|
28
|
+
*/
|
|
29
|
+
export declare function useTableScrollbarTooltip(tableRef: Ref<TableLikeRef | null | undefined>, options?: UseTableScrollbarTooltipOptions): UseTableScrollbarTooltipReturn;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { shallowRef, ref, watch, nextTick, onBeforeUnmount } from 'vue';
|
|
2
|
+
|
|
3
|
+
const DEFAULT_TOOLTIP = "\u5DE6\u53F3\u6EDA\u52A8\uFF1A\u6309\u4F4FShift\u952E\u6EDA\u52A8\u6ED1\u8F6E";
|
|
4
|
+
const DEFAULT_HORIZONTAL_BAR_SELECTOR = ".el-scrollbar__bar.is-horizontal";
|
|
5
|
+
const TOOLTIP_TARGET_CLASS = "plus-table__scrollbar-tooltip-target";
|
|
6
|
+
function useTableScrollbarTooltip(tableRef, options = {}) {
|
|
7
|
+
var _a, _b;
|
|
8
|
+
const horizontalBarSelector = (_a = options.horizontalBarSelector) != null ? _a : DEFAULT_HORIZONTAL_BAR_SELECTOR;
|
|
9
|
+
const triggerRef = shallowRef(null);
|
|
10
|
+
const tooltipContent = ref((_b = options.content) != null ? _b : DEFAULT_TOOLTIP);
|
|
11
|
+
const tooltipVisible = ref(false);
|
|
12
|
+
let observer = null;
|
|
13
|
+
let currentTarget = null;
|
|
14
|
+
let onEnter = null;
|
|
15
|
+
let onLeave = null;
|
|
16
|
+
const isEnabled = () => {
|
|
17
|
+
const enabled = options.enabled;
|
|
18
|
+
if (enabled === void 0) return true;
|
|
19
|
+
if (typeof enabled === "boolean") return enabled;
|
|
20
|
+
return enabled.value;
|
|
21
|
+
};
|
|
22
|
+
const cleanupListeners = () => {
|
|
23
|
+
if (currentTarget && onEnter && onLeave) {
|
|
24
|
+
currentTarget.removeEventListener("mouseenter", onEnter);
|
|
25
|
+
currentTarget.removeEventListener("mouseleave", onLeave);
|
|
26
|
+
currentTarget.classList.remove(TOOLTIP_TARGET_CLASS);
|
|
27
|
+
}
|
|
28
|
+
currentTarget = null;
|
|
29
|
+
onEnter = null;
|
|
30
|
+
onLeave = null;
|
|
31
|
+
tooltipVisible.value = false;
|
|
32
|
+
};
|
|
33
|
+
const findHorizontalBar = (tableEl) => {
|
|
34
|
+
const bodyWrapper = tableEl.querySelector(".el-table__body-wrapper");
|
|
35
|
+
const barInBody = bodyWrapper == null ? void 0 : bodyWrapper.querySelector(horizontalBarSelector);
|
|
36
|
+
if (barInBody) return barInBody;
|
|
37
|
+
const bars = tableEl.querySelectorAll(horizontalBarSelector);
|
|
38
|
+
if (!bars.length) return null;
|
|
39
|
+
return bars[bars.length - 1];
|
|
40
|
+
};
|
|
41
|
+
const bindTarget = (bar) => {
|
|
42
|
+
if (currentTarget === bar) return;
|
|
43
|
+
cleanupListeners();
|
|
44
|
+
currentTarget = bar;
|
|
45
|
+
bar.classList.add(TOOLTIP_TARGET_CLASS);
|
|
46
|
+
onEnter = () => {
|
|
47
|
+
tooltipVisible.value = true;
|
|
48
|
+
};
|
|
49
|
+
onLeave = () => {
|
|
50
|
+
tooltipVisible.value = false;
|
|
51
|
+
};
|
|
52
|
+
bar.addEventListener("mouseenter", onEnter);
|
|
53
|
+
bar.addEventListener("mouseleave", onLeave);
|
|
54
|
+
triggerRef.value = bar;
|
|
55
|
+
};
|
|
56
|
+
const refresh = () => {
|
|
57
|
+
var _a2, _b2;
|
|
58
|
+
tooltipContent.value = (_a2 = options.content) != null ? _a2 : DEFAULT_TOOLTIP;
|
|
59
|
+
if (!isEnabled()) {
|
|
60
|
+
cleanupListeners();
|
|
61
|
+
triggerRef.value = null;
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
const tableEl = (_b2 = tableRef.value) == null ? void 0 : _b2.$el;
|
|
65
|
+
if (!tableEl) {
|
|
66
|
+
cleanupListeners();
|
|
67
|
+
triggerRef.value = null;
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
const horizontalBar = findHorizontalBar(tableEl);
|
|
71
|
+
if (!horizontalBar) {
|
|
72
|
+
cleanupListeners();
|
|
73
|
+
triggerRef.value = null;
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
bindTarget(horizontalBar);
|
|
77
|
+
};
|
|
78
|
+
const setupObserver = (tableEl) => {
|
|
79
|
+
observer == null ? void 0 : observer.disconnect();
|
|
80
|
+
observer = new MutationObserver(() => {
|
|
81
|
+
refresh();
|
|
82
|
+
});
|
|
83
|
+
observer.observe(tableEl, {
|
|
84
|
+
childList: true,
|
|
85
|
+
subtree: true,
|
|
86
|
+
attributes: true,
|
|
87
|
+
attributeFilter: ["style", "class"]
|
|
88
|
+
});
|
|
89
|
+
};
|
|
90
|
+
watch(
|
|
91
|
+
() => {
|
|
92
|
+
var _a2;
|
|
93
|
+
return (_a2 = tableRef.value) == null ? void 0 : _a2.$el;
|
|
94
|
+
},
|
|
95
|
+
(tableEl) => {
|
|
96
|
+
observer == null ? void 0 : observer.disconnect();
|
|
97
|
+
observer = null;
|
|
98
|
+
if (!tableEl) {
|
|
99
|
+
cleanupListeners();
|
|
100
|
+
triggerRef.value = null;
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
nextTick(refresh);
|
|
104
|
+
setupObserver(tableEl);
|
|
105
|
+
},
|
|
106
|
+
{ immediate: true, flush: "post" }
|
|
107
|
+
);
|
|
108
|
+
onBeforeUnmount(() => {
|
|
109
|
+
observer == null ? void 0 : observer.disconnect();
|
|
110
|
+
observer = null;
|
|
111
|
+
cleanupListeners();
|
|
112
|
+
triggerRef.value = null;
|
|
113
|
+
});
|
|
114
|
+
return {
|
|
115
|
+
triggerRef,
|
|
116
|
+
tooltipContent,
|
|
117
|
+
tooltipVisible,
|
|
118
|
+
refresh
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export { useTableScrollbarTooltip };
|