yc-pro-components 0.0.78 → 0.0.80
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-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 +9 -9
- 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-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-display-item.css +1 -1
- package/theme-chalk/plus-table.css +1 -1
- package/theme-chalk/src/display-item.scss +5 -0
- package/theme-chalk/src/table.scss +315 -301
|
@@ -656,7 +656,7 @@ export declare const PlusSearch: {
|
|
|
656
656
|
};
|
|
657
657
|
rows: number;
|
|
658
658
|
autocomplete: string;
|
|
659
|
-
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" | "
|
|
659
|
+
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;
|
|
660
660
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
661
661
|
step: string | number;
|
|
662
662
|
format: string | ProgressFn | undefined;
|
|
@@ -764,7 +764,7 @@ export declare const PlusSearch: {
|
|
|
764
764
|
};
|
|
765
765
|
rows: number;
|
|
766
766
|
autocomplete: string;
|
|
767
|
-
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" | "
|
|
767
|
+
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;
|
|
768
768
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
769
769
|
step: string | number;
|
|
770
770
|
format: string | ProgressFn | undefined;
|
|
@@ -1652,7 +1652,7 @@ export declare const PlusSearch: {
|
|
|
1652
1652
|
};
|
|
1653
1653
|
rows: number;
|
|
1654
1654
|
autocomplete: string;
|
|
1655
|
-
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" | "
|
|
1655
|
+
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;
|
|
1656
1656
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1657
1657
|
step: string | number;
|
|
1658
1658
|
format: string | ProgressFn | undefined;
|
|
@@ -1760,7 +1760,7 @@ export declare const PlusSearch: {
|
|
|
1760
1760
|
};
|
|
1761
1761
|
rows: number;
|
|
1762
1762
|
autocomplete: string;
|
|
1763
|
-
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" | "
|
|
1763
|
+
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;
|
|
1764
1764
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1765
1765
|
step: string | number;
|
|
1766
1766
|
format: string | ProgressFn | undefined;
|
|
@@ -2534,7 +2534,7 @@ export declare const PlusSearch: {
|
|
|
2534
2534
|
};
|
|
2535
2535
|
rows: number;
|
|
2536
2536
|
autocomplete: string;
|
|
2537
|
-
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" | "
|
|
2537
|
+
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;
|
|
2538
2538
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2539
2539
|
step: string | number;
|
|
2540
2540
|
format: string | ProgressFn | undefined;
|
|
@@ -2642,7 +2642,7 @@ export declare const PlusSearch: {
|
|
|
2642
2642
|
};
|
|
2643
2643
|
rows: number;
|
|
2644
2644
|
autocomplete: string;
|
|
2645
|
-
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" | "
|
|
2645
|
+
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;
|
|
2646
2646
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2647
2647
|
step: string | number;
|
|
2648
2648
|
format: string | ProgressFn | undefined;
|
|
@@ -2802,7 +2802,7 @@ export declare const PlusSearch: {
|
|
|
2802
2802
|
};
|
|
2803
2803
|
rows: number;
|
|
2804
2804
|
autocomplete: string;
|
|
2805
|
-
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" | "
|
|
2805
|
+
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;
|
|
2806
2806
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2807
2807
|
step: string | number;
|
|
2808
2808
|
format: string | ProgressFn | undefined;
|
|
@@ -579,7 +579,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
579
579
|
};
|
|
580
580
|
rows: number;
|
|
581
581
|
autocomplete: string;
|
|
582
|
-
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" | "
|
|
582
|
+
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;
|
|
583
583
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
584
584
|
step: string | number;
|
|
585
585
|
format: string | ProgressFn | undefined;
|
|
@@ -687,7 +687,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
687
687
|
};
|
|
688
688
|
rows: number;
|
|
689
689
|
autocomplete: string;
|
|
690
|
-
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" | "
|
|
690
|
+
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;
|
|
691
691
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
692
692
|
step: string | number;
|
|
693
693
|
format: string | ProgressFn | undefined;
|
|
@@ -882,7 +882,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
882
882
|
};
|
|
883
883
|
rows: number;
|
|
884
884
|
autocomplete: string;
|
|
885
|
-
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" | "
|
|
885
|
+
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;
|
|
886
886
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
887
887
|
step: string | number;
|
|
888
888
|
format: string | ProgressFn | undefined;
|
|
@@ -688,14 +688,14 @@ export declare const PlusSidebarItem: {
|
|
|
688
688
|
type: PropType<PlusRouteRecordRaw>;
|
|
689
689
|
required: true;
|
|
690
690
|
};
|
|
691
|
-
collapse: {
|
|
692
|
-
type: PropType<boolean>;
|
|
693
|
-
default: boolean;
|
|
694
|
-
};
|
|
695
691
|
parent: {
|
|
696
692
|
type: PropType< PlusRouteRecordRaw | PlusRouteRecordRaw[]>;
|
|
697
693
|
required: true;
|
|
698
694
|
};
|
|
695
|
+
collapse: {
|
|
696
|
+
type: PropType<boolean>;
|
|
697
|
+
default: boolean;
|
|
698
|
+
};
|
|
699
699
|
renderTitle: {
|
|
700
700
|
type: PropType<(route: PlusRouteRecordRaw) => RenderTypes>;
|
|
701
701
|
default: undefined;
|
|
@@ -713,14 +713,14 @@ export declare const PlusSidebarItem: {
|
|
|
713
713
|
type: PropType<PlusRouteRecordRaw>;
|
|
714
714
|
required: true;
|
|
715
715
|
};
|
|
716
|
-
collapse: {
|
|
717
|
-
type: PropType<boolean>;
|
|
718
|
-
default: boolean;
|
|
719
|
-
};
|
|
720
716
|
parent: {
|
|
721
717
|
type: PropType< PlusRouteRecordRaw | PlusRouteRecordRaw[]>;
|
|
722
718
|
required: true;
|
|
723
719
|
};
|
|
720
|
+
collapse: {
|
|
721
|
+
type: PropType<boolean>;
|
|
722
|
+
default: boolean;
|
|
723
|
+
};
|
|
724
724
|
renderTitle: {
|
|
725
725
|
type: PropType<(route: PlusRouteRecordRaw) => RenderTypes>;
|
|
726
726
|
default: undefined;
|
|
@@ -750,14 +750,14 @@ export declare const PlusSidebarItem: {
|
|
|
750
750
|
type: PropType<PlusRouteRecordRaw>;
|
|
751
751
|
required: true;
|
|
752
752
|
};
|
|
753
|
-
collapse: {
|
|
754
|
-
type: PropType<boolean>;
|
|
755
|
-
default: boolean;
|
|
756
|
-
};
|
|
757
753
|
parent: {
|
|
758
754
|
type: PropType< PlusRouteRecordRaw | PlusRouteRecordRaw[]>;
|
|
759
755
|
required: true;
|
|
760
756
|
};
|
|
757
|
+
collapse: {
|
|
758
|
+
type: PropType<boolean>;
|
|
759
|
+
default: boolean;
|
|
760
|
+
};
|
|
761
761
|
renderTitle: {
|
|
762
762
|
type: PropType<(route: PlusRouteRecordRaw) => RenderTypes>;
|
|
763
763
|
default: undefined;
|
|
@@ -784,14 +784,14 @@ export declare const PlusSidebarItem: {
|
|
|
784
784
|
type: PropType<PlusRouteRecordRaw>;
|
|
785
785
|
required: true;
|
|
786
786
|
};
|
|
787
|
-
collapse: {
|
|
788
|
-
type: PropType<boolean>;
|
|
789
|
-
default: boolean;
|
|
790
|
-
};
|
|
791
787
|
parent: {
|
|
792
788
|
type: PropType< PlusRouteRecordRaw | PlusRouteRecordRaw[]>;
|
|
793
789
|
required: true;
|
|
794
790
|
};
|
|
791
|
+
collapse: {
|
|
792
|
+
type: PropType<boolean>;
|
|
793
|
+
default: boolean;
|
|
794
|
+
};
|
|
795
795
|
renderTitle: {
|
|
796
796
|
type: PropType<(route: PlusRouteRecordRaw) => RenderTypes>;
|
|
797
797
|
default: undefined;
|
|
@@ -161,7 +161,7 @@ export declare const PlusStepsForm: {
|
|
|
161
161
|
form?: PlusFormProps | undefined;
|
|
162
162
|
description?: string | undefined;
|
|
163
163
|
icon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
164
|
-
status?: EpPropMergeType<StringConstructor, "" | "success" | "
|
|
164
|
+
status?: EpPropMergeType<StringConstructor, "" | "success" | "process" | "error" | "wait" | "finish", unknown> | undefined;
|
|
165
165
|
}) => any>> & {
|
|
166
166
|
icon?(_: {
|
|
167
167
|
icon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
@@ -82,7 +82,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
82
82
|
form?: PlusFormProps | undefined;
|
|
83
83
|
description?: string | undefined;
|
|
84
84
|
icon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
85
|
-
status?: EpPropMergeType<StringConstructor, "" | "success" | "
|
|
85
|
+
status?: EpPropMergeType<StringConstructor, "" | "success" | "process" | "error" | "wait" | "finish", unknown> | undefined;
|
|
86
86
|
}) => any>> & {
|
|
87
87
|
icon?(_: {
|
|
88
88
|
icon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
@@ -3,7 +3,8 @@ import { PlusPagination } from '../../pagination/index.mjs';
|
|
|
3
3
|
import { PlusRadio } from '../../radio/index.mjs';
|
|
4
4
|
import { DefaultPageInfo } from '../../../constants/page.mjs';
|
|
5
5
|
import { TableFormRefInjectionKey, TableFormFieldRefInjectionKey, TableColumnsEmptyTextInjectionKey } from '../../../constants/form.mjs';
|
|
6
|
-
import { ElTable, ElTableColumn, vLoading } from 'element-plus';
|
|
6
|
+
import { ElTable, ElTableColumn, vLoading, ElTooltip } from 'element-plus';
|
|
7
|
+
import { useTableScrollbarTooltip } from '../../../hooks/useTableScrollbarTooltip.mjs';
|
|
7
8
|
import { debounce, isEqual } from 'lodash-es';
|
|
8
9
|
import PlusTableActionBar from './table-action-bar.vue.mjs';
|
|
9
10
|
import PlusTableColumn from './table-column.vue.mjs';
|
|
@@ -65,6 +66,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
65
66
|
const columnsIsChange = ref(false);
|
|
66
67
|
const filterColumns = ref([]);
|
|
67
68
|
const tableInstance = shallowRef(null);
|
|
69
|
+
const {
|
|
70
|
+
triggerRef: scrollbarTooltipTrigger,
|
|
71
|
+
tooltipContent: scrollbarTooltipContent,
|
|
72
|
+
tooltipVisible: scrollbarTooltipVisible
|
|
73
|
+
} = useTableScrollbarTooltip(tableInstance);
|
|
68
74
|
const tableWrapperInstance = ref(null);
|
|
69
75
|
const paginationInstance = ref(null);
|
|
70
76
|
const state = reactive({
|
|
@@ -435,13 +441,24 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
435
441
|
}, 16, ["data", "height", "header-cell-style", "size", "row-key"])), [
|
|
436
442
|
[unref(vLoading), _ctx.loadingStatus]
|
|
437
443
|
]),
|
|
444
|
+
unref(scrollbarTooltipTrigger) ? (openBlock(), createBlock(unref(ElTooltip), {
|
|
445
|
+
key: 1,
|
|
446
|
+
visible: unref(scrollbarTooltipVisible),
|
|
447
|
+
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => isRef(scrollbarTooltipVisible) ? scrollbarTooltipVisible.value = $event : null),
|
|
448
|
+
"virtual-triggering": "",
|
|
449
|
+
"virtual-ref": unref(scrollbarTooltipTrigger),
|
|
450
|
+
content: unref(scrollbarTooltipContent),
|
|
451
|
+
placement: "top",
|
|
452
|
+
"show-after": 0,
|
|
453
|
+
"hide-after": 0
|
|
454
|
+
}, null, 8, ["visible", "virtual-ref", "content"])) : createCommentVNode("v-if", true),
|
|
438
455
|
createCommentVNode(" \u5206\u9875 "),
|
|
439
456
|
_ctx.pagination ? (openBlock(), createBlock(unref(PlusPagination), mergeProps({
|
|
440
|
-
key:
|
|
457
|
+
key: 2,
|
|
441
458
|
ref_key: "paginationInstance",
|
|
442
459
|
ref: paginationInstance,
|
|
443
460
|
modelValue: unref(subPageInfo),
|
|
444
|
-
"onUpdate:modelValue": _cache[
|
|
461
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(subPageInfo) ? subPageInfo.value = $event : null)
|
|
445
462
|
}, _ctx.pagination, { onChange: handlePaginationChange }), createSlots({
|
|
446
463
|
_: 2
|
|
447
464
|
/* DYNAMIC */
|
|
@@ -255,7 +255,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
255
255
|
};
|
|
256
256
|
rows: number;
|
|
257
257
|
autocomplete: string;
|
|
258
|
-
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" | "
|
|
258
|
+
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;
|
|
259
259
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
260
260
|
step: string | number;
|
|
261
261
|
format: string | ProgressFn | undefined;
|
|
@@ -363,7 +363,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
363
363
|
};
|
|
364
364
|
rows: number;
|
|
365
365
|
autocomplete: string;
|
|
366
|
-
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" | "
|
|
366
|
+
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;
|
|
367
367
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
368
368
|
step: string | number;
|
|
369
369
|
format: string | ProgressFn | undefined;
|
|
@@ -471,7 +471,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
471
471
|
};
|
|
472
472
|
rows: number;
|
|
473
473
|
autocomplete: string;
|
|
474
|
-
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" | "
|
|
474
|
+
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;
|
|
475
475
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
476
476
|
step: string | number;
|
|
477
477
|
format: string | ProgressFn | undefined;
|
|
@@ -128,10 +128,10 @@ declare const YcCountTo: SFCWithInstall<DefineComponent<{
|
|
|
128
128
|
}, {
|
|
129
129
|
duration: number;
|
|
130
130
|
color: string;
|
|
131
|
+
prefix: string;
|
|
132
|
+
fontSize: string;
|
|
131
133
|
separator: string;
|
|
132
134
|
decimal: string;
|
|
133
|
-
fontSize: string;
|
|
134
|
-
prefix: string;
|
|
135
135
|
startVal: number;
|
|
136
136
|
endVal: number;
|
|
137
137
|
autoplay: boolean;
|
|
@@ -121,10 +121,10 @@ declare const _default: DefineComponent<{
|
|
|
121
121
|
}, {
|
|
122
122
|
duration: number;
|
|
123
123
|
color: string;
|
|
124
|
+
prefix: string;
|
|
125
|
+
fontSize: string;
|
|
124
126
|
separator: string;
|
|
125
127
|
decimal: string;
|
|
126
|
-
fontSize: string;
|
|
127
|
-
prefix: string;
|
|
128
128
|
startVal: number;
|
|
129
129
|
endVal: number;
|
|
130
130
|
autoplay: boolean;
|
|
@@ -143,11 +143,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
143
143
|
}>;
|
|
144
144
|
readonly columns: PlusColumn[];
|
|
145
145
|
readonly immediate: boolean;
|
|
146
|
-
readonly params: RecordType;
|
|
147
146
|
readonly request: (params: Partial<PageInfo> & RecordType) => Promise<{
|
|
148
147
|
data: RecordType[];
|
|
149
148
|
total: number;
|
|
150
149
|
}>;
|
|
150
|
+
readonly params: RecordType;
|
|
151
151
|
readonly pagination: false | Omit< PlusPaginationProps, "modelValue" | "total" | "pageSizeList">;
|
|
152
152
|
readonly columnsEmptyText: string;
|
|
153
153
|
readonly isCard: boolean;
|
|
@@ -198,10 +198,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
198
198
|
type: PropType<boolean>;
|
|
199
199
|
default: boolean;
|
|
200
200
|
};
|
|
201
|
-
params: {
|
|
202
|
-
type: PropType<RecordType>;
|
|
203
|
-
default: () => {};
|
|
204
|
-
};
|
|
205
201
|
request: {
|
|
206
202
|
type: PropType<(params: Partial<PageInfo> & RecordType) => Promise<{
|
|
207
203
|
data: RecordType[];
|
|
@@ -209,6 +205,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
209
205
|
}>>;
|
|
210
206
|
required: true;
|
|
211
207
|
};
|
|
208
|
+
params: {
|
|
209
|
+
type: PropType<RecordType>;
|
|
210
|
+
default: () => {};
|
|
211
|
+
};
|
|
212
212
|
pagination: {
|
|
213
213
|
type: PropType<false | Omit< PlusPaginationProps, "modelValue" | "total" | "pageSizeList">>;
|
|
214
214
|
default: () => {};
|
|
@@ -316,10 +316,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
316
316
|
type: PropType<boolean>;
|
|
317
317
|
default: boolean;
|
|
318
318
|
};
|
|
319
|
-
params: {
|
|
320
|
-
type: PropType<RecordType>;
|
|
321
|
-
default: () => {};
|
|
322
|
-
};
|
|
323
319
|
request: {
|
|
324
320
|
type: PropType<(params: Partial<PageInfo> & RecordType) => Promise<{
|
|
325
321
|
data: RecordType[];
|
|
@@ -327,6 +323,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
327
323
|
}>>;
|
|
328
324
|
required: true;
|
|
329
325
|
};
|
|
326
|
+
params: {
|
|
327
|
+
type: PropType<RecordType>;
|
|
328
|
+
default: () => {};
|
|
329
|
+
};
|
|
330
330
|
pagination: {
|
|
331
331
|
type: PropType<false | Omit< PlusPaginationProps, "modelValue" | "total" | "pageSizeList">>;
|
|
332
332
|
default: () => {};
|
|
@@ -1231,7 +1231,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1231
1231
|
};
|
|
1232
1232
|
rows: number;
|
|
1233
1233
|
autocomplete: string;
|
|
1234
|
-
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" | "
|
|
1234
|
+
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;
|
|
1235
1235
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1236
1236
|
step: string | number;
|
|
1237
1237
|
format: string | ProgressFn | undefined;
|
|
@@ -1343,7 +1343,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1343
1343
|
};
|
|
1344
1344
|
rows: number;
|
|
1345
1345
|
autocomplete: string;
|
|
1346
|
-
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" | "
|
|
1346
|
+
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;
|
|
1347
1347
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1348
1348
|
step: string | number;
|
|
1349
1349
|
format: string | ProgressFn | undefined;
|
|
@@ -2143,7 +2143,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2143
2143
|
};
|
|
2144
2144
|
rows: number;
|
|
2145
2145
|
autocomplete: string;
|
|
2146
|
-
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" | "
|
|
2146
|
+
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;
|
|
2147
2147
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2148
2148
|
step: string | number;
|
|
2149
2149
|
format: string | ProgressFn | undefined;
|
|
@@ -2255,7 +2255,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2255
2255
|
};
|
|
2256
2256
|
rows: number;
|
|
2257
2257
|
autocomplete: string;
|
|
2258
|
-
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" | "
|
|
2258
|
+
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;
|
|
2259
2259
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2260
2260
|
step: string | number;
|
|
2261
2261
|
format: string | ProgressFn | undefined;
|
|
@@ -2385,7 +2385,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2385
2385
|
};
|
|
2386
2386
|
rows: number;
|
|
2387
2387
|
autocomplete: string;
|
|
2388
|
-
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" | "
|
|
2388
|
+
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;
|
|
2389
2389
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2390
2390
|
step: string | number;
|
|
2391
2391
|
format: string | ProgressFn | undefined;
|
|
@@ -2747,7 +2747,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2747
2747
|
}>;
|
|
2748
2748
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2749
2749
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2750
|
-
$emit: ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "dragSortEnd", newIndex: number, oldIndex: number) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "
|
|
2750
|
+
$emit: ((event: "refresh") => void) & ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "dragSortEnd", newIndex: number, oldIndex: number) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "edited") => void) & ((event: "cell-click", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "cell-dblclick", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "filterTableHeader", columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void) & ((event: "radioChange", row: RecordType, index: number, value: boolean) => void);
|
|
2751
2751
|
$el: any;
|
|
2752
2752
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2753
2753
|
data: {
|
|
@@ -3371,11 +3371,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3371
3371
|
}>;
|
|
3372
3372
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3373
3373
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3374
|
-
$emit: ((event: "select", selection: RecordType[], row: RecordType) => void) & ((event: "select-all", selection: RecordType[]) => void) & ((event: "selection-change", selection: RecordType[]) => void) & ((event: "row-click", rowData: RecordType, rowIndex: number) => void) & ((event: "sort-change", data: {
|
|
3374
|
+
$emit: ((event: "select", selection: RecordType[], row: RecordType) => void) & ((event: "refresh") => void) & ((event: "select-all", selection: RecordType[]) => void) & ((event: "selection-change", selection: RecordType[]) => void) & ((event: "row-click", rowData: RecordType, rowIndex: number) => void) & ((event: "sort-change", data: {
|
|
3375
3375
|
column: VirtualTableColumn;
|
|
3376
3376
|
prop: string;
|
|
3377
3377
|
order: string | null;
|
|
3378
|
-
}) => void) & ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void)
|
|
3378
|
+
}) => void) & ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void);
|
|
3379
3379
|
$el: any;
|
|
3380
3380
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3381
3381
|
fixed: {
|
|
@@ -3793,10 +3793,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3793
3793
|
type: PropType<boolean>;
|
|
3794
3794
|
default: boolean;
|
|
3795
3795
|
};
|
|
3796
|
-
params: {
|
|
3797
|
-
type: PropType<RecordType>;
|
|
3798
|
-
default: () => {};
|
|
3799
|
-
};
|
|
3800
3796
|
request: {
|
|
3801
3797
|
type: PropType<(params: Partial<PageInfo> & RecordType) => Promise<{
|
|
3802
3798
|
data: RecordType[];
|
|
@@ -3804,6 +3800,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3804
3800
|
}>>;
|
|
3805
3801
|
required: true;
|
|
3806
3802
|
};
|
|
3803
|
+
params: {
|
|
3804
|
+
type: PropType<RecordType>;
|
|
3805
|
+
default: () => {};
|
|
3806
|
+
};
|
|
3807
3807
|
pagination: {
|
|
3808
3808
|
type: PropType<false | Omit< PlusPaginationProps, "modelValue" | "total" | "pageSizeList">>;
|
|
3809
3809
|
default: () => {};
|
|
@@ -4708,7 +4708,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4708
4708
|
};
|
|
4709
4709
|
rows: number;
|
|
4710
4710
|
autocomplete: string;
|
|
4711
|
-
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" | "
|
|
4711
|
+
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;
|
|
4712
4712
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4713
4713
|
step: string | number;
|
|
4714
4714
|
format: string | ProgressFn | undefined;
|
|
@@ -4820,7 +4820,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4820
4820
|
};
|
|
4821
4821
|
rows: number;
|
|
4822
4822
|
autocomplete: string;
|
|
4823
|
-
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" | "
|
|
4823
|
+
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;
|
|
4824
4824
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4825
4825
|
step: string | number;
|
|
4826
4826
|
format: string | ProgressFn | undefined;
|
|
@@ -5620,7 +5620,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5620
5620
|
};
|
|
5621
5621
|
rows: number;
|
|
5622
5622
|
autocomplete: string;
|
|
5623
|
-
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" | "
|
|
5623
|
+
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;
|
|
5624
5624
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5625
5625
|
step: string | number;
|
|
5626
5626
|
format: string | ProgressFn | undefined;
|
|
@@ -5732,7 +5732,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5732
5732
|
};
|
|
5733
5733
|
rows: number;
|
|
5734
5734
|
autocomplete: string;
|
|
5735
|
-
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" | "
|
|
5735
|
+
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;
|
|
5736
5736
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5737
5737
|
step: string | number;
|
|
5738
5738
|
format: string | ProgressFn | undefined;
|
|
@@ -5862,7 +5862,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5862
5862
|
};
|
|
5863
5863
|
rows: number;
|
|
5864
5864
|
autocomplete: string;
|
|
5865
|
-
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" | "
|
|
5865
|
+
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;
|
|
5866
5866
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5867
5867
|
step: string | number;
|
|
5868
5868
|
format: string | ProgressFn | undefined;
|
|
@@ -6224,7 +6224,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6224
6224
|
}>;
|
|
6225
6225
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
6226
6226
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
6227
|
-
$emit: ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "dragSortEnd", newIndex: number, oldIndex: number) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "
|
|
6227
|
+
$emit: ((event: "refresh") => void) & ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "dragSortEnd", newIndex: number, oldIndex: number) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "edited") => void) & ((event: "cell-click", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "cell-dblclick", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "filterTableHeader", columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void) & ((event: "radioChange", row: RecordType, index: number, value: boolean) => void);
|
|
6228
6228
|
$el: any;
|
|
6229
6229
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
6230
6230
|
data: {
|
|
@@ -6848,11 +6848,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6848
6848
|
}>;
|
|
6849
6849
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
6850
6850
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
6851
|
-
$emit: ((event: "select", selection: RecordType[], row: RecordType) => void) & ((event: "select-all", selection: RecordType[]) => void) & ((event: "selection-change", selection: RecordType[]) => void) & ((event: "row-click", rowData: RecordType, rowIndex: number) => void) & ((event: "sort-change", data: {
|
|
6851
|
+
$emit: ((event: "select", selection: RecordType[], row: RecordType) => void) & ((event: "refresh") => void) & ((event: "select-all", selection: RecordType[]) => void) & ((event: "selection-change", selection: RecordType[]) => void) & ((event: "row-click", rowData: RecordType, rowIndex: number) => void) & ((event: "sort-change", data: {
|
|
6852
6852
|
column: VirtualTableColumn;
|
|
6853
6853
|
prop: string;
|
|
6854
6854
|
order: string | null;
|
|
6855
|
-
}) => void) & ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void)
|
|
6855
|
+
}) => void) & ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void);
|
|
6856
6856
|
$el: any;
|
|
6857
6857
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
6858
6858
|
fixed: {
|
|
@@ -7222,7 +7222,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7222
7222
|
};
|
|
7223
7223
|
rows: number;
|
|
7224
7224
|
autocomplete: string;
|
|
7225
|
-
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" | "
|
|
7225
|
+
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;
|
|
7226
7226
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
7227
7227
|
step: string | number;
|
|
7228
7228
|
format: string | ProgressFn | undefined;
|
|
@@ -7602,7 +7602,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7602
7602
|
}>;
|
|
7603
7603
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
7604
7604
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
7605
|
-
$emit: ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "dragSortEnd", newIndex: number, oldIndex: number) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "
|
|
7605
|
+
$emit: ((event: "refresh") => void) & ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "dragSortEnd", newIndex: number, oldIndex: number) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "edited") => void) & ((event: "cell-click", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "cell-dblclick", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "filterTableHeader", columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void) & ((event: "radioChange", row: RecordType, index: number, value: boolean) => void);
|
|
7606
7606
|
$el: any;
|
|
7607
7607
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
7608
7608
|
data: {
|