el-plus 0.0.55 → 0.0.56
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/CHANGELOG.md +6 -0
- package/dist/index.full.js +154 -13
- package/dist/index.full.min.js +1 -1
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +1 -1
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +154 -13
- package/es/components/buttons/index.d.ts +6 -6
- package/es/components/buttons/src/buttons-vue.d.ts +2 -2
- package/es/components/date-picker-range/index.d.ts +3 -3
- package/es/components/date-picker-range/src/date-picker-range.vue.d.ts +1 -1
- package/es/components/input/index.d.ts +3 -3
- package/es/components/input/src/input.vue.d.ts +1 -1
- package/es/components/search-list-page/index.d.ts +30 -30
- package/es/components/search-list-page/src/search-list-page.vue.d.ts +10 -10
- package/es/components/search-list-page/src/use-search-list-page.d.ts +10 -10
- package/es/components/table/index.d.ts +6 -6
- package/es/components/table/src/table.vue.d.ts +2 -2
- package/es/components/table/src/use-table.d.ts +2 -2
- package/es/hooks/use-locale.d.ts +2 -1
- package/es/hooks/use-locale.mjs +50 -11
- package/es/hooks/use-locale.mjs.map +1 -1
- package/es/package.json.mjs +1 -1
- package/lib/components/buttons/index.d.ts +6 -6
- package/lib/components/buttons/src/buttons-vue.d.ts +2 -2
- package/lib/components/date-picker-range/index.d.ts +3 -3
- package/lib/components/date-picker-range/src/date-picker-range.vue.d.ts +1 -1
- package/lib/components/input/index.d.ts +3 -3
- package/lib/components/input/src/input.vue.d.ts +1 -1
- package/lib/components/search-list-page/index.d.ts +30 -30
- package/lib/components/search-list-page/src/search-list-page.vue.d.ts +10 -10
- package/lib/components/search-list-page/src/use-search-list-page.d.ts +10 -10
- package/lib/components/table/index.d.ts +6 -6
- package/lib/components/table/src/table.vue.d.ts +2 -2
- package/lib/components/table/src/use-table.d.ts +2 -2
- package/lib/hooks/use-locale.d.ts +2 -1
- package/lib/hooks/use-locale.js +50 -11
- package/lib/hooks/use-locale.js.map +1 -1
- package/lib/package.json.js +1 -1
- package/package.json +1 -1
|
@@ -170,13 +170,13 @@ export declare const EpSearchListPage: {
|
|
|
170
170
|
readonly nextText: string;
|
|
171
171
|
readonly hideOnSinglePage: boolean;
|
|
172
172
|
} & {
|
|
173
|
+
readonly total?: number | undefined;
|
|
174
|
+
readonly currentPage?: number | undefined;
|
|
173
175
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
174
176
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
175
177
|
readonly pageSize?: number | undefined;
|
|
176
178
|
readonly defaultPageSize?: number | undefined;
|
|
177
|
-
readonly total?: number | undefined;
|
|
178
179
|
readonly pageCount?: number | undefined;
|
|
179
|
-
readonly currentPage?: number | undefined;
|
|
180
180
|
readonly defaultCurrentPage?: number | undefined;
|
|
181
181
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
182
182
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -278,13 +278,13 @@ export declare const EpSearchListPage: {
|
|
|
278
278
|
readonly nextText: string;
|
|
279
279
|
readonly hideOnSinglePage: boolean;
|
|
280
280
|
} & {
|
|
281
|
+
readonly total?: number | undefined;
|
|
282
|
+
readonly currentPage?: number | undefined;
|
|
281
283
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
282
284
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
283
285
|
readonly pageSize?: number | undefined;
|
|
284
286
|
readonly defaultPageSize?: number | undefined;
|
|
285
|
-
readonly total?: number | undefined;
|
|
286
287
|
readonly pageCount?: number | undefined;
|
|
287
|
-
readonly currentPage?: number | undefined;
|
|
288
288
|
readonly defaultCurrentPage?: number | undefined;
|
|
289
289
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
290
290
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -344,6 +344,8 @@ export declare const EpSearchListPage: {
|
|
|
344
344
|
readonly allowDragLastColumn: boolean;
|
|
345
345
|
readonly preserveExpandedContent: boolean;
|
|
346
346
|
readonly nativeScrollbar: boolean;
|
|
347
|
+
readonly emptyText?: string | undefined;
|
|
348
|
+
readonly sumText?: string | undefined;
|
|
347
349
|
readonly method?: import("axios").Method | undefined;
|
|
348
350
|
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
349
351
|
readonly width?: string | number | undefined;
|
|
@@ -381,9 +383,7 @@ export declare const EpSearchListPage: {
|
|
|
381
383
|
readonly customColumnModule?: string | number | undefined;
|
|
382
384
|
readonly height?: string | number | undefined;
|
|
383
385
|
readonly maxHeight?: string | number | undefined;
|
|
384
|
-
readonly sumText?: string | undefined;
|
|
385
386
|
readonly currentRowKey?: string | number | undefined;
|
|
386
|
-
readonly emptyText?: string | undefined;
|
|
387
387
|
readonly tooltipEffect?: string | undefined;
|
|
388
388
|
readonly appendFilterPanelTo?: string | undefined;
|
|
389
389
|
readonly scrollbarTabindex?: string | number | undefined;
|
|
@@ -1259,13 +1259,13 @@ export declare const EpSearchListPage: {
|
|
|
1259
1259
|
readonly nextText: string;
|
|
1260
1260
|
readonly hideOnSinglePage: boolean;
|
|
1261
1261
|
} & {
|
|
1262
|
+
readonly total?: number | undefined;
|
|
1263
|
+
readonly currentPage?: number | undefined;
|
|
1262
1264
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
1263
1265
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
1264
1266
|
readonly pageSize?: number | undefined;
|
|
1265
1267
|
readonly defaultPageSize?: number | undefined;
|
|
1266
|
-
readonly total?: number | undefined;
|
|
1267
1268
|
readonly pageCount?: number | undefined;
|
|
1268
|
-
readonly currentPage?: number | undefined;
|
|
1269
1269
|
readonly defaultCurrentPage?: number | undefined;
|
|
1270
1270
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
1271
1271
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -1387,13 +1387,13 @@ export declare const EpSearchListPage: {
|
|
|
1387
1387
|
readonly nextText: string;
|
|
1388
1388
|
readonly hideOnSinglePage: boolean;
|
|
1389
1389
|
} & {
|
|
1390
|
+
readonly total?: number | undefined;
|
|
1391
|
+
readonly currentPage?: number | undefined;
|
|
1390
1392
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
1391
1393
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
1392
1394
|
readonly pageSize?: number | undefined;
|
|
1393
1395
|
readonly defaultPageSize?: number | undefined;
|
|
1394
|
-
readonly total?: number | undefined;
|
|
1395
1396
|
readonly pageCount?: number | undefined;
|
|
1396
|
-
readonly currentPage?: number | undefined;
|
|
1397
1397
|
readonly defaultCurrentPage?: number | undefined;
|
|
1398
1398
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
1399
1399
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -2779,13 +2779,13 @@ export declare const EpSearchListPage: {
|
|
|
2779
2779
|
readonly nextText: string;
|
|
2780
2780
|
readonly hideOnSinglePage: boolean;
|
|
2781
2781
|
} & {
|
|
2782
|
+
readonly total?: number | undefined;
|
|
2783
|
+
readonly currentPage?: number | undefined;
|
|
2782
2784
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
2783
2785
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
2784
2786
|
readonly pageSize?: number | undefined;
|
|
2785
2787
|
readonly defaultPageSize?: number | undefined;
|
|
2786
|
-
readonly total?: number | undefined;
|
|
2787
2788
|
readonly pageCount?: number | undefined;
|
|
2788
|
-
readonly currentPage?: number | undefined;
|
|
2789
2789
|
readonly defaultCurrentPage?: number | undefined;
|
|
2790
2790
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
2791
2791
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -2887,13 +2887,13 @@ export declare const EpSearchListPage: {
|
|
|
2887
2887
|
readonly nextText: string;
|
|
2888
2888
|
readonly hideOnSinglePage: boolean;
|
|
2889
2889
|
} & {
|
|
2890
|
+
readonly total?: number | undefined;
|
|
2891
|
+
readonly currentPage?: number | undefined;
|
|
2890
2892
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
2891
2893
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
2892
2894
|
readonly pageSize?: number | undefined;
|
|
2893
2895
|
readonly defaultPageSize?: number | undefined;
|
|
2894
|
-
readonly total?: number | undefined;
|
|
2895
2896
|
readonly pageCount?: number | undefined;
|
|
2896
|
-
readonly currentPage?: number | undefined;
|
|
2897
2897
|
readonly defaultCurrentPage?: number | undefined;
|
|
2898
2898
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
2899
2899
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -2953,6 +2953,8 @@ export declare const EpSearchListPage: {
|
|
|
2953
2953
|
readonly allowDragLastColumn: boolean;
|
|
2954
2954
|
readonly preserveExpandedContent: boolean;
|
|
2955
2955
|
readonly nativeScrollbar: boolean;
|
|
2956
|
+
readonly emptyText?: string | undefined;
|
|
2957
|
+
readonly sumText?: string | undefined;
|
|
2956
2958
|
readonly method?: import("axios").Method | undefined;
|
|
2957
2959
|
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
2958
2960
|
readonly width?: string | number | undefined;
|
|
@@ -2990,9 +2992,7 @@ export declare const EpSearchListPage: {
|
|
|
2990
2992
|
readonly customColumnModule?: string | number | undefined;
|
|
2991
2993
|
readonly height?: string | number | undefined;
|
|
2992
2994
|
readonly maxHeight?: string | number | undefined;
|
|
2993
|
-
readonly sumText?: string | undefined;
|
|
2994
2995
|
readonly currentRowKey?: string | number | undefined;
|
|
2995
|
-
readonly emptyText?: string | undefined;
|
|
2996
2996
|
readonly tooltipEffect?: string | undefined;
|
|
2997
2997
|
readonly appendFilterPanelTo?: string | undefined;
|
|
2998
2998
|
readonly scrollbarTabindex?: string | number | undefined;
|
|
@@ -3868,13 +3868,13 @@ export declare const EpSearchListPage: {
|
|
|
3868
3868
|
readonly nextText: string;
|
|
3869
3869
|
readonly hideOnSinglePage: boolean;
|
|
3870
3870
|
} & {
|
|
3871
|
+
readonly total?: number | undefined;
|
|
3872
|
+
readonly currentPage?: number | undefined;
|
|
3871
3873
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
3872
3874
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
3873
3875
|
readonly pageSize?: number | undefined;
|
|
3874
3876
|
readonly defaultPageSize?: number | undefined;
|
|
3875
|
-
readonly total?: number | undefined;
|
|
3876
3877
|
readonly pageCount?: number | undefined;
|
|
3877
|
-
readonly currentPage?: number | undefined;
|
|
3878
3878
|
readonly defaultCurrentPage?: number | undefined;
|
|
3879
3879
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
3880
3880
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -3996,13 +3996,13 @@ export declare const EpSearchListPage: {
|
|
|
3996
3996
|
readonly nextText: string;
|
|
3997
3997
|
readonly hideOnSinglePage: boolean;
|
|
3998
3998
|
} & {
|
|
3999
|
+
readonly total?: number | undefined;
|
|
4000
|
+
readonly currentPage?: number | undefined;
|
|
3999
4001
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
4000
4002
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
4001
4003
|
readonly pageSize?: number | undefined;
|
|
4002
4004
|
readonly defaultPageSize?: number | undefined;
|
|
4003
|
-
readonly total?: number | undefined;
|
|
4004
4005
|
readonly pageCount?: number | undefined;
|
|
4005
|
-
readonly currentPage?: number | undefined;
|
|
4006
4006
|
readonly defaultCurrentPage?: number | undefined;
|
|
4007
4007
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
4008
4008
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -5335,13 +5335,13 @@ export declare const EpSearchListPage: {
|
|
|
5335
5335
|
readonly nextText: string;
|
|
5336
5336
|
readonly hideOnSinglePage: boolean;
|
|
5337
5337
|
} & {
|
|
5338
|
+
readonly total?: number | undefined;
|
|
5339
|
+
readonly currentPage?: number | undefined;
|
|
5338
5340
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
5339
5341
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
5340
5342
|
readonly pageSize?: number | undefined;
|
|
5341
5343
|
readonly defaultPageSize?: number | undefined;
|
|
5342
|
-
readonly total?: number | undefined;
|
|
5343
5344
|
readonly pageCount?: number | undefined;
|
|
5344
|
-
readonly currentPage?: number | undefined;
|
|
5345
5345
|
readonly defaultCurrentPage?: number | undefined;
|
|
5346
5346
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
5347
5347
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -5443,13 +5443,13 @@ export declare const EpSearchListPage: {
|
|
|
5443
5443
|
readonly nextText: string;
|
|
5444
5444
|
readonly hideOnSinglePage: boolean;
|
|
5445
5445
|
} & {
|
|
5446
|
+
readonly total?: number | undefined;
|
|
5447
|
+
readonly currentPage?: number | undefined;
|
|
5446
5448
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
5447
5449
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
5448
5450
|
readonly pageSize?: number | undefined;
|
|
5449
5451
|
readonly defaultPageSize?: number | undefined;
|
|
5450
|
-
readonly total?: number | undefined;
|
|
5451
5452
|
readonly pageCount?: number | undefined;
|
|
5452
|
-
readonly currentPage?: number | undefined;
|
|
5453
5453
|
readonly defaultCurrentPage?: number | undefined;
|
|
5454
5454
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
5455
5455
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -5509,6 +5509,8 @@ export declare const EpSearchListPage: {
|
|
|
5509
5509
|
readonly allowDragLastColumn: boolean;
|
|
5510
5510
|
readonly preserveExpandedContent: boolean;
|
|
5511
5511
|
readonly nativeScrollbar: boolean;
|
|
5512
|
+
readonly emptyText?: string | undefined;
|
|
5513
|
+
readonly sumText?: string | undefined;
|
|
5512
5514
|
readonly method?: import("axios").Method | undefined;
|
|
5513
5515
|
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
5514
5516
|
readonly width?: string | number | undefined;
|
|
@@ -5546,9 +5548,7 @@ export declare const EpSearchListPage: {
|
|
|
5546
5548
|
readonly customColumnModule?: string | number | undefined;
|
|
5547
5549
|
readonly height?: string | number | undefined;
|
|
5548
5550
|
readonly maxHeight?: string | number | undefined;
|
|
5549
|
-
readonly sumText?: string | undefined;
|
|
5550
5551
|
readonly currentRowKey?: string | number | undefined;
|
|
5551
|
-
readonly emptyText?: string | undefined;
|
|
5552
5552
|
readonly tooltipEffect?: string | undefined;
|
|
5553
5553
|
readonly appendFilterPanelTo?: string | undefined;
|
|
5554
5554
|
readonly scrollbarTabindex?: string | number | undefined;
|
|
@@ -6386,13 +6386,13 @@ export declare const EpSearchListPage: {
|
|
|
6386
6386
|
readonly nextText: string;
|
|
6387
6387
|
readonly hideOnSinglePage: boolean;
|
|
6388
6388
|
} & {
|
|
6389
|
+
readonly total?: number | undefined;
|
|
6390
|
+
readonly currentPage?: number | undefined;
|
|
6389
6391
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
6390
6392
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
6391
6393
|
readonly pageSize?: number | undefined;
|
|
6392
6394
|
readonly defaultPageSize?: number | undefined;
|
|
6393
|
-
readonly total?: number | undefined;
|
|
6394
6395
|
readonly pageCount?: number | undefined;
|
|
6395
|
-
readonly currentPage?: number | undefined;
|
|
6396
6396
|
readonly defaultCurrentPage?: number | undefined;
|
|
6397
6397
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
6398
6398
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -6514,13 +6514,13 @@ export declare const EpSearchListPage: {
|
|
|
6514
6514
|
readonly nextText: string;
|
|
6515
6515
|
readonly hideOnSinglePage: boolean;
|
|
6516
6516
|
} & {
|
|
6517
|
+
readonly total?: number | undefined;
|
|
6518
|
+
readonly currentPage?: number | undefined;
|
|
6517
6519
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
6518
6520
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
6519
6521
|
readonly pageSize?: number | undefined;
|
|
6520
6522
|
readonly defaultPageSize?: number | undefined;
|
|
6521
|
-
readonly total?: number | undefined;
|
|
6522
6523
|
readonly pageCount?: number | undefined;
|
|
6523
|
-
readonly currentPage?: number | undefined;
|
|
6524
6524
|
readonly defaultCurrentPage?: number | undefined;
|
|
6525
6525
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
6526
6526
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -123,13 +123,13 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
123
123
|
readonly nextText: string;
|
|
124
124
|
readonly hideOnSinglePage: boolean;
|
|
125
125
|
} & {
|
|
126
|
+
readonly total?: number | undefined;
|
|
127
|
+
readonly currentPage?: number | undefined;
|
|
126
128
|
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
127
129
|
readonly popperStyle?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
128
130
|
readonly pageSize?: number | undefined;
|
|
129
131
|
readonly defaultPageSize?: number | undefined;
|
|
130
|
-
readonly total?: number | undefined;
|
|
131
132
|
readonly pageCount?: number | undefined;
|
|
132
|
-
readonly currentPage?: number | undefined;
|
|
133
133
|
readonly defaultCurrentPage?: number | undefined;
|
|
134
134
|
readonly prevIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
135
135
|
readonly nextIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -231,13 +231,13 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
231
231
|
readonly nextText: string;
|
|
232
232
|
readonly hideOnSinglePage: boolean;
|
|
233
233
|
} & {
|
|
234
|
+
readonly total?: number | undefined;
|
|
235
|
+
readonly currentPage?: number | undefined;
|
|
234
236
|
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
235
237
|
readonly popperStyle?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
236
238
|
readonly pageSize?: number | undefined;
|
|
237
239
|
readonly defaultPageSize?: number | undefined;
|
|
238
|
-
readonly total?: number | undefined;
|
|
239
240
|
readonly pageCount?: number | undefined;
|
|
240
|
-
readonly currentPage?: number | undefined;
|
|
241
241
|
readonly defaultCurrentPage?: number | undefined;
|
|
242
242
|
readonly prevIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
243
243
|
readonly nextIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -297,6 +297,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
297
297
|
readonly allowDragLastColumn: boolean;
|
|
298
298
|
readonly preserveExpandedContent: boolean;
|
|
299
299
|
readonly nativeScrollbar: boolean;
|
|
300
|
+
readonly emptyText?: string | undefined;
|
|
301
|
+
readonly sumText?: string | undefined;
|
|
300
302
|
readonly method?: import("axios").Method | undefined;
|
|
301
303
|
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
302
304
|
readonly width?: string | number | undefined;
|
|
@@ -334,9 +336,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
334
336
|
readonly customColumnModule?: string | number | undefined;
|
|
335
337
|
readonly height?: string | number | undefined;
|
|
336
338
|
readonly maxHeight?: string | number | undefined;
|
|
337
|
-
readonly sumText?: string | undefined;
|
|
338
339
|
readonly currentRowKey?: string | number | undefined;
|
|
339
|
-
readonly emptyText?: string | undefined;
|
|
340
340
|
readonly tooltipEffect?: string | undefined;
|
|
341
341
|
readonly appendFilterPanelTo?: string | undefined;
|
|
342
342
|
readonly scrollbarTabindex?: string | number | undefined;
|
|
@@ -1174,13 +1174,13 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1174
1174
|
readonly nextText: string;
|
|
1175
1175
|
readonly hideOnSinglePage: boolean;
|
|
1176
1176
|
} & {
|
|
1177
|
+
readonly total?: number | undefined;
|
|
1178
|
+
readonly currentPage?: number | undefined;
|
|
1177
1179
|
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
1178
1180
|
readonly popperStyle?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
1179
1181
|
readonly pageSize?: number | undefined;
|
|
1180
1182
|
readonly defaultPageSize?: number | undefined;
|
|
1181
|
-
readonly total?: number | undefined;
|
|
1182
1183
|
readonly pageCount?: number | undefined;
|
|
1183
|
-
readonly currentPage?: number | undefined;
|
|
1184
1184
|
readonly defaultCurrentPage?: number | undefined;
|
|
1185
1185
|
readonly prevIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
1186
1186
|
readonly nextIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -1302,13 +1302,13 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1302
1302
|
readonly nextText: string;
|
|
1303
1303
|
readonly hideOnSinglePage: boolean;
|
|
1304
1304
|
} & {
|
|
1305
|
+
readonly total?: number | undefined;
|
|
1306
|
+
readonly currentPage?: number | undefined;
|
|
1305
1307
|
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
1306
1308
|
readonly popperStyle?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
1307
1309
|
readonly pageSize?: number | undefined;
|
|
1308
1310
|
readonly defaultPageSize?: number | undefined;
|
|
1309
|
-
readonly total?: number | undefined;
|
|
1310
1311
|
readonly pageCount?: number | undefined;
|
|
1311
|
-
readonly currentPage?: number | undefined;
|
|
1312
1312
|
readonly defaultCurrentPage?: number | undefined;
|
|
1313
1313
|
readonly prevIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
1314
1314
|
readonly nextIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -126,13 +126,13 @@ export declare const useSearchListPage: (props: SearchListPageProps, config?: {}
|
|
|
126
126
|
readonly nextText: string;
|
|
127
127
|
readonly hideOnSinglePage: boolean;
|
|
128
128
|
} & {
|
|
129
|
+
readonly total?: number | undefined;
|
|
130
|
+
readonly currentPage?: number | undefined;
|
|
129
131
|
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
130
132
|
readonly popperStyle?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
131
133
|
readonly pageSize?: number | undefined;
|
|
132
134
|
readonly defaultPageSize?: number | undefined;
|
|
133
|
-
readonly total?: number | undefined;
|
|
134
135
|
readonly pageCount?: number | undefined;
|
|
135
|
-
readonly currentPage?: number | undefined;
|
|
136
136
|
readonly defaultCurrentPage?: number | undefined;
|
|
137
137
|
readonly prevIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
138
138
|
readonly nextIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -234,13 +234,13 @@ export declare const useSearchListPage: (props: SearchListPageProps, config?: {}
|
|
|
234
234
|
readonly nextText: string;
|
|
235
235
|
readonly hideOnSinglePage: boolean;
|
|
236
236
|
} & {
|
|
237
|
+
readonly total?: number | undefined;
|
|
238
|
+
readonly currentPage?: number | undefined;
|
|
237
239
|
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
238
240
|
readonly popperStyle?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
239
241
|
readonly pageSize?: number | undefined;
|
|
240
242
|
readonly defaultPageSize?: number | undefined;
|
|
241
|
-
readonly total?: number | undefined;
|
|
242
243
|
readonly pageCount?: number | undefined;
|
|
243
|
-
readonly currentPage?: number | undefined;
|
|
244
244
|
readonly defaultCurrentPage?: number | undefined;
|
|
245
245
|
readonly prevIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
246
246
|
readonly nextIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -300,6 +300,8 @@ export declare const useSearchListPage: (props: SearchListPageProps, config?: {}
|
|
|
300
300
|
readonly allowDragLastColumn: boolean;
|
|
301
301
|
readonly preserveExpandedContent: boolean;
|
|
302
302
|
readonly nativeScrollbar: boolean;
|
|
303
|
+
readonly emptyText?: string | undefined;
|
|
304
|
+
readonly sumText?: string | undefined;
|
|
303
305
|
readonly method?: import("axios").Method | undefined;
|
|
304
306
|
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
305
307
|
readonly width?: string | number | undefined;
|
|
@@ -337,9 +339,7 @@ export declare const useSearchListPage: (props: SearchListPageProps, config?: {}
|
|
|
337
339
|
readonly customColumnModule?: string | number | undefined;
|
|
338
340
|
readonly height?: string | number | undefined;
|
|
339
341
|
readonly maxHeight?: string | number | undefined;
|
|
340
|
-
readonly sumText?: string | undefined;
|
|
341
342
|
readonly currentRowKey?: string | number | undefined;
|
|
342
|
-
readonly emptyText?: string | undefined;
|
|
343
343
|
readonly tooltipEffect?: string | undefined;
|
|
344
344
|
readonly appendFilterPanelTo?: string | undefined;
|
|
345
345
|
readonly scrollbarTabindex?: string | number | undefined;
|
|
@@ -1177,13 +1177,13 @@ export declare const useSearchListPage: (props: SearchListPageProps, config?: {}
|
|
|
1177
1177
|
readonly nextText: string;
|
|
1178
1178
|
readonly hideOnSinglePage: boolean;
|
|
1179
1179
|
} & {
|
|
1180
|
+
readonly total?: number | undefined;
|
|
1181
|
+
readonly currentPage?: number | undefined;
|
|
1180
1182
|
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
1181
1183
|
readonly popperStyle?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
1182
1184
|
readonly pageSize?: number | undefined;
|
|
1183
1185
|
readonly defaultPageSize?: number | undefined;
|
|
1184
|
-
readonly total?: number | undefined;
|
|
1185
1186
|
readonly pageCount?: number | undefined;
|
|
1186
|
-
readonly currentPage?: number | undefined;
|
|
1187
1187
|
readonly defaultCurrentPage?: number | undefined;
|
|
1188
1188
|
readonly prevIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
1189
1189
|
readonly nextIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -1305,13 +1305,13 @@ export declare const useSearchListPage: (props: SearchListPageProps, config?: {}
|
|
|
1305
1305
|
readonly nextText: string;
|
|
1306
1306
|
readonly hideOnSinglePage: boolean;
|
|
1307
1307
|
} & {
|
|
1308
|
+
readonly total?: number | undefined;
|
|
1309
|
+
readonly currentPage?: number | undefined;
|
|
1308
1310
|
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
1309
1311
|
readonly popperStyle?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
1310
1312
|
readonly pageSize?: number | undefined;
|
|
1311
1313
|
readonly defaultPageSize?: number | undefined;
|
|
1312
|
-
readonly total?: number | undefined;
|
|
1313
1314
|
readonly pageCount?: number | undefined;
|
|
1314
|
-
readonly currentPage?: number | undefined;
|
|
1315
1315
|
readonly defaultCurrentPage?: number | undefined;
|
|
1316
1316
|
readonly prevIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
1317
1317
|
readonly nextIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -857,13 +857,13 @@ export declare const EpTable: {
|
|
|
857
857
|
readonly nextText: string;
|
|
858
858
|
readonly hideOnSinglePage: boolean;
|
|
859
859
|
} & {
|
|
860
|
+
readonly total?: number | undefined;
|
|
861
|
+
readonly currentPage?: number | undefined;
|
|
860
862
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
861
863
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
862
864
|
readonly pageSize?: number | undefined;
|
|
863
865
|
readonly defaultPageSize?: number | undefined;
|
|
864
|
-
readonly total?: number | undefined;
|
|
865
866
|
readonly pageCount?: number | undefined;
|
|
866
|
-
readonly currentPage?: number | undefined;
|
|
867
867
|
readonly defaultCurrentPage?: number | undefined;
|
|
868
868
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
869
869
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -1788,13 +1788,13 @@ export declare const EpTable: {
|
|
|
1788
1788
|
readonly nextText: string;
|
|
1789
1789
|
readonly hideOnSinglePage: boolean;
|
|
1790
1790
|
} & {
|
|
1791
|
+
readonly total?: number | undefined;
|
|
1792
|
+
readonly currentPage?: number | undefined;
|
|
1791
1793
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
1792
1794
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
1793
1795
|
readonly pageSize?: number | undefined;
|
|
1794
1796
|
readonly defaultPageSize?: number | undefined;
|
|
1795
|
-
readonly total?: number | undefined;
|
|
1796
1797
|
readonly pageCount?: number | undefined;
|
|
1797
|
-
readonly currentPage?: number | undefined;
|
|
1798
1798
|
readonly defaultCurrentPage?: number | undefined;
|
|
1799
1799
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
1800
1800
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -2678,13 +2678,13 @@ export declare const EpTable: {
|
|
|
2678
2678
|
readonly nextText: string;
|
|
2679
2679
|
readonly hideOnSinglePage: boolean;
|
|
2680
2680
|
} & {
|
|
2681
|
+
readonly total?: number | undefined;
|
|
2682
|
+
readonly currentPage?: number | undefined;
|
|
2681
2683
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
2682
2684
|
readonly popperStyle?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
2683
2685
|
readonly pageSize?: number | undefined;
|
|
2684
2686
|
readonly defaultPageSize?: number | undefined;
|
|
2685
|
-
readonly total?: number | undefined;
|
|
2686
2687
|
readonly pageCount?: number | undefined;
|
|
2687
|
-
readonly currentPage?: number | undefined;
|
|
2688
2688
|
readonly defaultCurrentPage?: number | undefined;
|
|
2689
2689
|
readonly prevIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
2690
2690
|
readonly nextIcon?: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -1590,13 +1590,13 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1590
1590
|
readonly nextText: string;
|
|
1591
1591
|
readonly hideOnSinglePage: boolean;
|
|
1592
1592
|
} & {
|
|
1593
|
+
readonly total?: number | undefined;
|
|
1594
|
+
readonly currentPage?: number | undefined;
|
|
1593
1595
|
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
1594
1596
|
readonly popperStyle?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
1595
1597
|
readonly pageSize?: number | undefined;
|
|
1596
1598
|
readonly defaultPageSize?: number | undefined;
|
|
1597
|
-
readonly total?: number | undefined;
|
|
1598
1599
|
readonly pageCount?: number | undefined;
|
|
1599
|
-
readonly currentPage?: number | undefined;
|
|
1600
1600
|
readonly defaultCurrentPage?: number | undefined;
|
|
1601
1601
|
readonly prevIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
1602
1602
|
readonly nextIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
@@ -26,13 +26,13 @@ export declare const useTable: (props: TableProps) => {
|
|
|
26
26
|
prevText?: string | undefined;
|
|
27
27
|
nextText?: string | undefined;
|
|
28
28
|
hideOnSinglePage?: boolean | undefined;
|
|
29
|
+
total?: number | undefined;
|
|
30
|
+
currentPage?: number | undefined;
|
|
29
31
|
size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
30
32
|
popperStyle?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown> | undefined;
|
|
31
33
|
pageSize?: number | undefined;
|
|
32
34
|
defaultPageSize?: number | undefined;
|
|
33
|
-
total?: number | undefined;
|
|
34
35
|
pageCount?: number | undefined;
|
|
35
|
-
currentPage?: number | undefined;
|
|
36
36
|
defaultCurrentPage?: number | undefined;
|
|
37
37
|
prevIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
38
38
|
nextIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
package/es/hooks/use-locale.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type App } from 'vue';
|
|
2
|
+
import type { Language } from 'element-plus/es/locale';
|
|
2
3
|
export type Translater = (key: string) => string;
|
|
3
4
|
export declare const useLocale: () => {
|
|
4
5
|
loadLocale: (app?: App) => void | Promise<void>;
|
|
5
|
-
loadElLocale: () => Promise<
|
|
6
|
+
loadElLocale: () => Promise<Language>;
|
|
6
7
|
t: (key: any) => any;
|
|
7
8
|
};
|
package/es/hooks/use-locale.mjs
CHANGED
|
@@ -29,11 +29,28 @@ const useLocale = () => {
|
|
|
29
29
|
const provideFn = inSetup2 ? provide : app.provide;
|
|
30
30
|
return new Promise(async (resolve) => {
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
let locale = zhCn;
|
|
33
|
+
try {
|
|
34
|
+
const epLocalePath = `../locale/lang/${localeLang}.ts`;
|
|
35
|
+
const { default: lang } = await import(
|
|
36
|
+
/* @vite-ignore */
|
|
37
|
+
epLocalePath
|
|
38
|
+
);
|
|
39
|
+
locale = lang;
|
|
40
|
+
} catch (e) {
|
|
41
|
+
try {
|
|
42
|
+
const { default: en } = await import(
|
|
43
|
+
/* @vite-ignore */
|
|
44
|
+
'../locale/lang/en.mjs'
|
|
45
|
+
);
|
|
46
|
+
locale = en;
|
|
47
|
+
} catch (enError) {
|
|
48
|
+
console.error(
|
|
49
|
+
"Failed to load both specified locale and English locale, using Chinese locale as fallback:",
|
|
50
|
+
enError
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
37
54
|
const { t } = useLocale$1(ref(locale));
|
|
38
55
|
provideFn(TRANSLATER_KEY, t);
|
|
39
56
|
resolve();
|
|
@@ -44,12 +61,34 @@ const useLocale = () => {
|
|
|
44
61
|
});
|
|
45
62
|
};
|
|
46
63
|
const loadElLocale = async () => {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
64
|
+
try {
|
|
65
|
+
let elLocale = zhCn;
|
|
66
|
+
try {
|
|
67
|
+
const elLocalePath = `element-plus/es/locale/lang/${localeLang}.mjs`;
|
|
68
|
+
const { default: lang } = await import(
|
|
69
|
+
/* @vite-ignore */
|
|
70
|
+
elLocalePath
|
|
71
|
+
);
|
|
72
|
+
elLocale = lang;
|
|
73
|
+
} catch (e) {
|
|
74
|
+
try {
|
|
75
|
+
const { default: en } = await import(
|
|
76
|
+
/* @vite-ignore */
|
|
77
|
+
'element-plus/es/locale/lang/en'
|
|
78
|
+
);
|
|
79
|
+
elLocale = en;
|
|
80
|
+
} catch (enError) {
|
|
81
|
+
console.error(
|
|
82
|
+
"Failed to load both specified locale and English locale, using Chinese locale as fallback:",
|
|
83
|
+
enError
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
return elLocale;
|
|
88
|
+
} catch (error) {
|
|
89
|
+
console.error(error);
|
|
90
|
+
return zhCn;
|
|
91
|
+
}
|
|
53
92
|
};
|
|
54
93
|
return {
|
|
55
94
|
loadLocale,
|