@wlydfe/pro-ui 0.2.8 → 0.2.10

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.
Files changed (53) hide show
  1. package/es/components/form/src/index.vue2.mjs +5 -5
  2. package/es/components/page/index.d.ts +48 -3
  3. package/es/components/page/src/index.vue.d.ts +52 -97
  4. package/es/components/search/src/index.vue2.mjs +1 -1
  5. package/es/components/table/index.d.ts +19 -0
  6. package/es/components/table/src/index.vue.d.ts +3 -0
  7. package/es/components/table/src/index.vue2.mjs +5 -3
  8. package/es/components/table/src/table-action-bar.vue.d.ts +6 -2
  9. package/es/components/table/src/table-action-bar.vue2.mjs +3 -1
  10. package/es/components/table/src/table-column-index.vue2.mjs +1 -1
  11. package/es/components/table/src/table-column.vue2.mjs +8 -1
  12. package/es/components/table/src/type.d.ts +2 -0
  13. package/es/directives/click/index.mjs +1 -0
  14. package/es/index.css +13 -13
  15. package/index.js +24 -13
  16. package/index.min.js +2 -2
  17. package/index.min.mjs +2 -2
  18. package/index.mjs +24 -13
  19. package/lib/components/form/src/index.vue2.js +5 -5
  20. package/lib/components/page/index.d.ts +48 -3
  21. package/lib/components/page/src/index.vue.d.ts +52 -97
  22. package/lib/components/search/src/index.vue2.js +1 -1
  23. package/lib/components/table/index.d.ts +19 -0
  24. package/lib/components/table/src/index.vue.d.ts +3 -0
  25. package/lib/components/table/src/index.vue2.js +5 -3
  26. package/lib/components/table/src/table-action-bar.vue.d.ts +6 -2
  27. package/lib/components/table/src/table-action-bar.vue2.js +3 -1
  28. package/lib/components/table/src/table-column-index.vue2.js +1 -1
  29. package/lib/components/table/src/table-column.vue2.js +8 -1
  30. package/lib/components/table/src/type.d.ts +2 -0
  31. package/lib/directives/click/index.js +1 -0
  32. package/lib/{index.css → display-item.css} +14 -14
  33. package/locale/en.js +1 -1
  34. package/locale/en.min.js +1 -1
  35. package/locale/en.min.mjs +1 -1
  36. package/locale/en.mjs +1 -1
  37. package/locale/ja.js +1 -1
  38. package/locale/ja.min.js +1 -1
  39. package/locale/ja.min.mjs +1 -1
  40. package/locale/ja.mjs +1 -1
  41. package/locale/ko.js +1 -1
  42. package/locale/ko.min.js +1 -1
  43. package/locale/ko.min.mjs +1 -1
  44. package/locale/ko.mjs +1 -1
  45. package/locale/zh-cn.js +1 -1
  46. package/locale/zh-cn.min.js +1 -1
  47. package/locale/zh-cn.min.mjs +1 -1
  48. package/locale/zh-cn.mjs +1 -1
  49. package/locale/zh-tw.js +1 -1
  50. package/locale/zh-tw.min.js +1 -1
  51. package/locale/zh-tw.min.mjs +1 -1
  52. package/locale/zh-tw.mjs +1 -1
  53. package/package.json +1 -1
@@ -640,9 +640,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
640
640
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
641
641
  readonly required: false;
642
642
  readonly validator: ((val: unknown) => boolean) | undefined;
643
- __epPropKey: true; /**
644
- * TODO: 将会在v0.2.0中移除
645
- */
643
+ __epPropKey: true;
646
644
  };
647
645
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
648
646
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
@@ -678,9 +676,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
678
676
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
679
677
  readonly required: false;
680
678
  readonly validator: ((val: unknown) => boolean) | undefined;
681
- /**
682
- * 数据加载失败时触发
683
- */
684
679
  __epPropKey: true;
685
680
  };
686
681
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
@@ -753,9 +748,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
753
748
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
754
749
  readonly required: false;
755
750
  readonly validator: ((val: unknown) => boolean) | undefined;
756
- __epPropKey: true; /**
757
- * TODO: 将会在v0.2.0中移除
758
- */
751
+ __epPropKey: true;
759
752
  };
760
753
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
761
754
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
@@ -809,9 +802,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
809
802
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
810
803
  readonly required: false;
811
804
  readonly validator: ((val: unknown) => boolean) | undefined;
812
- __epPropKey: true; /**
813
- * TODO: 将会在v0.2.0中移除
814
- */
805
+ __epPropKey: true;
815
806
  };
816
807
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
817
808
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
@@ -847,9 +838,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
847
838
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
848
839
  readonly required: false;
849
840
  readonly validator: ((val: unknown) => boolean) | undefined;
850
- /**
851
- * 数据加载失败时触发
852
- */
853
841
  __epPropKey: true;
854
842
  };
855
843
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
@@ -1088,9 +1076,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1088
1076
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1089
1077
  readonly required: false;
1090
1078
  readonly validator: ((val: unknown) => boolean) | undefined;
1091
- __epPropKey: true; /**
1092
- * TODO: 将会在v0.2.0中移除
1093
- */
1079
+ __epPropKey: true;
1094
1080
  };
1095
1081
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
1096
1082
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
@@ -1126,9 +1112,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1126
1112
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1127
1113
  readonly required: false;
1128
1114
  readonly validator: ((val: unknown) => boolean) | undefined;
1129
- /**
1130
- * 数据加载失败时触发
1131
- */
1132
1115
  __epPropKey: true;
1133
1116
  };
1134
1117
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
@@ -1201,9 +1184,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1201
1184
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1202
1185
  readonly required: false;
1203
1186
  readonly validator: ((val: unknown) => boolean) | undefined;
1204
- __epPropKey: true; /**
1205
- * TODO: 将会在v0.2.0中移除
1206
- */
1187
+ __epPropKey: true;
1207
1188
  };
1208
1189
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
1209
1190
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
@@ -1257,9 +1238,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1257
1238
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1258
1239
  readonly required: false;
1259
1240
  readonly validator: ((val: unknown) => boolean) | undefined;
1260
- __epPropKey: true; /**
1261
- * TODO: 将会在v0.2.0中移除
1262
- */
1241
+ __epPropKey: true;
1263
1242
  };
1264
1243
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
1265
1244
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
@@ -1295,9 +1274,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1295
1274
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1296
1275
  readonly required: false;
1297
1276
  readonly validator: ((val: unknown) => boolean) | undefined;
1298
- /**
1299
- * 数据加载失败时触发
1300
- */
1301
1277
  __epPropKey: true;
1302
1278
  };
1303
1279
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
@@ -1399,7 +1375,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1399
1375
  }>;
1400
1376
  readonly fieldProps: PropsItemType<Partial<{
1401
1377
  [key: string]: any;
1402
- style: CSSProperties;
1378
+ style: CSSProperties; /**
1379
+ * 表格和搜索是否需要el-card 包裹 默认true
1380
+ */
1403
1381
  rows: number;
1404
1382
  autocomplete: string;
1405
1383
  type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
@@ -1474,7 +1452,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1474
1452
  }>;
1475
1453
  readonly fieldProps: PropsItemType<Partial<{
1476
1454
  [key: string]: any;
1477
- style: CSSProperties;
1455
+ style: CSSProperties; /**
1456
+ * 表格和搜索是否需要el-card 包裹 默认true
1457
+ */
1478
1458
  rows: number;
1479
1459
  autocomplete: string;
1480
1460
  type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
@@ -1965,9 +1945,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1965
1945
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1966
1946
  readonly required: false;
1967
1947
  readonly validator: ((val: unknown) => boolean) | undefined;
1968
- __epPropKey: true; /**
1969
- * TODO: 将会在v0.2.0中移除
1970
- */
1948
+ __epPropKey: true;
1971
1949
  };
1972
1950
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
1973
1951
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
@@ -2003,9 +1981,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2003
1981
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
2004
1982
  readonly required: false;
2005
1983
  readonly validator: ((val: unknown) => boolean) | undefined;
2006
- /**
2007
- * 数据加载失败时触发
2008
- */
2009
1984
  __epPropKey: true;
2010
1985
  };
2011
1986
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
@@ -2078,9 +2053,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2078
2053
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
2079
2054
  readonly required: false;
2080
2055
  readonly validator: ((val: unknown) => boolean) | undefined;
2081
- __epPropKey: true; /**
2082
- * TODO: 将会在v0.2.0中移除
2083
- */
2056
+ __epPropKey: true;
2084
2057
  };
2085
2058
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
2086
2059
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
@@ -2134,9 +2107,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2134
2107
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
2135
2108
  readonly required: false;
2136
2109
  readonly validator: ((val: unknown) => boolean) | undefined;
2137
- __epPropKey: true; /**
2138
- * TODO: 将会在v0.2.0中移除
2139
- */
2110
+ __epPropKey: true;
2140
2111
  };
2141
2112
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
2142
2113
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
@@ -2172,9 +2143,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2172
2143
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
2173
2144
  readonly required: false;
2174
2145
  readonly validator: ((val: unknown) => boolean) | undefined;
2175
- /**
2176
- * 数据加载失败时触发
2177
- */
2178
2146
  __epPropKey: true;
2179
2147
  };
2180
2148
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
@@ -2413,9 +2381,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2413
2381
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
2414
2382
  readonly required: false;
2415
2383
  readonly validator: ((val: unknown) => boolean) | undefined;
2416
- __epPropKey: true; /**
2417
- * TODO: 将会在v0.2.0中移除
2418
- */
2384
+ __epPropKey: true;
2419
2385
  };
2420
2386
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
2421
2387
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
@@ -2451,9 +2417,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2451
2417
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
2452
2418
  readonly required: false;
2453
2419
  readonly validator: ((val: unknown) => boolean) | undefined;
2454
- /**
2455
- * 数据加载失败时触发
2456
- */
2457
2420
  __epPropKey: true;
2458
2421
  };
2459
2422
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
@@ -2526,9 +2489,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2526
2489
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
2527
2490
  readonly required: false;
2528
2491
  readonly validator: ((val: unknown) => boolean) | undefined;
2529
- __epPropKey: true; /**
2530
- * TODO: 将会在v0.2.0中移除
2531
- */
2492
+ __epPropKey: true;
2532
2493
  };
2533
2494
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
2534
2495
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
@@ -2582,9 +2543,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2582
2543
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
2583
2544
  readonly required: false;
2584
2545
  readonly validator: ((val: unknown) => boolean) | undefined;
2585
- __epPropKey: true; /**
2586
- * TODO: 将会在v0.2.0中移除
2587
- */
2546
+ __epPropKey: true;
2588
2547
  };
2589
2548
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
2590
2549
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
@@ -2620,9 +2579,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2620
2579
  readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
2621
2580
  readonly required: false;
2622
2581
  readonly validator: ((val: unknown) => boolean) | undefined;
2623
- /**
2624
- * 数据加载失败时触发
2625
- */
2626
2582
  __epPropKey: true;
2627
2583
  };
2628
2584
  readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
@@ -2724,7 +2680,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2724
2680
  }>;
2725
2681
  readonly fieldProps: PropsItemType<Partial<{
2726
2682
  [key: string]: any;
2727
- style: CSSProperties;
2683
+ style: CSSProperties; /**
2684
+ * 表格和搜索是否需要el-card 包裹 默认true
2685
+ */
2728
2686
  rows: number;
2729
2687
  autocomplete: string;
2730
2688
  type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
@@ -2799,7 +2757,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2799
2757
  }>;
2800
2758
  readonly fieldProps: PropsItemType<Partial<{
2801
2759
  [key: string]: any;
2802
- style: CSSProperties;
2760
+ style: CSSProperties; /**
2761
+ * 表格和搜索是否需要el-card 包裹 默认true
2762
+ */
2803
2763
  rows: number;
2804
2764
  autocomplete: string;
2805
2765
  type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
@@ -2892,7 +2852,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2892
2852
  }>;
2893
2853
  readonly fieldProps: PropsItemType<Partial<{
2894
2854
  [key: string]: any;
2895
- style: CSSProperties;
2855
+ style: CSSProperties; /**
2856
+ * 表格和搜索是否需要el-card 包裹 默认true
2857
+ */
2896
2858
  rows: number;
2897
2859
  autocomplete: string;
2898
2860
  type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
@@ -2969,6 +2931,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2969
2931
  $: ComponentInternalInstance;
2970
2932
  $data: {};
2971
2933
  $props: Partial<{
2934
+ showOverflowTooltip: boolean;
2972
2935
  columns: PlusColumn[];
2973
2936
  data: RecordType[];
2974
2937
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -2985,9 +2948,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2985
2948
  hasIndexColumn: boolean;
2986
2949
  titleBar: boolean | Partial<Partial<{
2987
2950
  title?: string | undefined;
2988
- refresh?: boolean | undefined; /**
2989
- * @version 0.1.23
2990
- */
2951
+ refresh?: boolean | undefined;
2991
2952
  density?: boolean | undefined;
2992
2953
  columnSetting?: boolean | ColumnSetting | undefined;
2993
2954
  icon?: {
@@ -3014,6 +2975,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
3014
2975
  timeout?: number | undefined;
3015
2976
  };
3016
2977
  }> & Omit<{
2978
+ readonly showOverflowTooltip: boolean;
3017
2979
  readonly columns: PlusColumn[];
3018
2980
  readonly data: RecordType[];
3019
2981
  readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -3030,9 +2992,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
3030
2992
  readonly hasIndexColumn: boolean;
3031
2993
  readonly titleBar: boolean | Partial<Partial<{
3032
2994
  title?: string | undefined;
3033
- refresh?: boolean | undefined; /**
3034
- * @version 0.1.23
3035
- */
2995
+ refresh?: boolean | undefined;
3036
2996
  density?: boolean | undefined;
3037
2997
  columnSetting?: boolean | ColumnSetting | undefined;
3038
2998
  icon?: {
@@ -3072,6 +3032,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
3072
3032
  onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
3073
3033
  onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
3074
3034
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
3035
+ showOverflowTooltip: {
3036
+ type: PropType<boolean>;
3037
+ default: boolean;
3038
+ };
3075
3039
  columns: {
3076
3040
  type: PropType<PlusColumn[]>;
3077
3041
  default: () => never[];
@@ -3121,9 +3085,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
3121
3085
  titleBar: {
3122
3086
  type: PropType<boolean | Partial<Partial<{
3123
3087
  title?: string | undefined;
3124
- refresh?: boolean | undefined; /**
3125
- * @version 0.1.23
3126
- */
3088
+ refresh?: boolean | undefined;
3127
3089
  density?: boolean | undefined;
3128
3090
  columnSetting?: boolean | ColumnSetting | undefined;
3129
3091
  icon?: {
@@ -3215,7 +3177,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
3215
3177
  "onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
3216
3178
  onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
3217
3179
  onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
3218
- }, "columns" | "data" | "headerCellStyle" | "rowKey" | "tableData" | "defaultSize" | "pagination" | "actionBar" | "hasIndexColumn" | "titleBar" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "dragSortableTableColumnProps" | "indexTableColumnProps" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "indexContentStyle" | "editable" | "adaptive">;
3180
+ }, "showOverflowTooltip" | "columns" | "data" | "headerCellStyle" | "rowKey" | "tableData" | "defaultSize" | "pagination" | "actionBar" | "hasIndexColumn" | "titleBar" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "dragSortableTableColumnProps" | "indexTableColumnProps" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "indexContentStyle" | "editable" | "adaptive">;
3219
3181
  $attrs: {
3220
3182
  [x: string]: unknown;
3221
3183
  };
@@ -3230,6 +3192,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
3230
3192
  $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: "refresh") => 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);
3231
3193
  $el: any;
3232
3194
  $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
3195
+ showOverflowTooltip: {
3196
+ type: PropType<boolean>;
3197
+ default: boolean;
3198
+ };
3233
3199
  columns: {
3234
3200
  type: PropType<PlusColumn[]>;
3235
3201
  default: () => never[];
@@ -3279,9 +3245,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
3279
3245
  titleBar: {
3280
3246
  type: PropType<boolean | Partial<Partial<{
3281
3247
  title?: string | undefined;
3282
- refresh?: boolean | undefined; /**
3283
- * @version 0.1.23
3284
- */
3248
+ refresh?: boolean | undefined;
3285
3249
  density?: boolean | undefined;
3286
3250
  columnSetting?: boolean | ColumnSetting | undefined;
3287
3251
  icon?: {
@@ -3533,9 +3497,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
3533
3497
  clearSelection: () => void;
3534
3498
  clearFilter: (columnKeys?: string[] | undefined) => void;
3535
3499
  toggleAllSelection: () => void;
3536
- /**
3537
- * @version 0.1.23
3538
- */
3539
3500
  toggleRowExpansion: (row: any, expanded?: boolean | undefined) => void;
3540
3501
  clearSort: () => void;
3541
3502
  doLayout: () => void;
@@ -3867,9 +3828,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
3867
3828
  clearSelection: () => void;
3868
3829
  clearFilter: (columnKeys?: string[] | undefined) => void;
3869
3830
  toggleAllSelection: () => void;
3870
- /**
3871
- * @version 0.1.23
3872
- */
3873
3831
  toggleRowExpansion: (row: any, expanded?: boolean | undefined) => void;
3874
3832
  clearSort: () => void;
3875
3833
  doLayout: () => void;
@@ -3943,6 +3901,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
3943
3901
  filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
3944
3902
  radioChange: (row: RecordType, index: number, value: boolean) => void;
3945
3903
  }, string, {
3904
+ showOverflowTooltip: boolean;
3946
3905
  columns: PlusColumn[];
3947
3906
  data: RecordType[];
3948
3907
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -3959,9 +3918,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
3959
3918
  hasIndexColumn: boolean;
3960
3919
  titleBar: boolean | Partial<Partial<{
3961
3920
  title?: string | undefined;
3962
- refresh?: boolean | undefined; /**
3963
- * @version 0.1.23
3964
- */
3921
+ refresh?: boolean | undefined;
3965
3922
  density?: boolean | undefined;
3966
3923
  columnSetting?: boolean | ColumnSetting | undefined;
3967
3924
  icon?: {
@@ -4008,6 +3965,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
4008
3965
  $nextTick: nextTick;
4009
3966
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
4010
3967
  } & Omit<Readonly< ExtractPropTypes<{
3968
+ showOverflowTooltip: {
3969
+ type: PropType<boolean>;
3970
+ default: boolean;
3971
+ };
4011
3972
  columns: {
4012
3973
  type: PropType<PlusColumn[]>;
4013
3974
  default: () => never[];
@@ -4057,9 +4018,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
4057
4018
  titleBar: {
4058
4019
  type: PropType<boolean | Partial<Partial<{
4059
4020
  title?: string | undefined;
4060
- refresh?: boolean | undefined; /**
4061
- * @version 0.1.23
4062
- */
4021
+ refresh?: boolean | undefined;
4063
4022
  density?: boolean | undefined;
4064
4023
  columnSetting?: boolean | ColumnSetting | undefined;
4065
4024
  icon?: {
@@ -4311,9 +4270,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
4311
4270
  clearSelection: () => void;
4312
4271
  clearFilter: (columnKeys?: string[] | undefined) => void;
4313
4272
  toggleAllSelection: () => void;
4314
- /**
4315
- * @version 0.1.23
4316
- */
4317
4273
  toggleRowExpansion: (row: any, expanded?: boolean | undefined) => void;
4318
4274
  clearSort: () => void;
4319
4275
  doLayout: () => void;
@@ -4645,9 +4601,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
4645
4601
  clearSelection: () => void;
4646
4602
  clearFilter: (columnKeys?: string[] | undefined) => void;
4647
4603
  toggleAllSelection: () => void;
4648
- /**
4649
- * @version 0.1.23
4650
- */
4651
4604
  toggleRowExpansion: (row: any, expanded?: boolean | undefined) => void;
4652
4605
  clearSort: () => void;
4653
4606
  doLayout: () => void;
@@ -4817,7 +4770,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
4817
4770
  }>;
4818
4771
  readonly fieldProps: PropsItemType<Partial<{
4819
4772
  [key: string]: any;
4820
- style: CSSProperties;
4773
+ style: CSSProperties; /**
4774
+ * 表格和搜索是否需要el-card 包裹 默认true
4775
+ */
4821
4776
  rows: number;
4822
4777
  autocomplete: string;
4823
4778
  type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
@@ -19,7 +19,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
19
19
  hasFooter: { type: Boolean, default: true },
20
20
  hasReset: { type: Boolean, default: true },
21
21
  hasUnfold: { type: Boolean, default: true },
22
- defaultUnfold: { type: Boolean, default: false },
22
+ defaultUnfold: { type: Boolean, default: true },
23
23
  searchText: { default: "" },
24
24
  resetText: { default: "" },
25
25
  retractText: { default: "" },
@@ -13,6 +13,10 @@ export type PlusTableInstance = InstanceType<typeof _Table>;
13
13
  export * from './src/type';
14
14
  export declare const PlusTable: {
15
15
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
16
+ showOverflowTooltip: {
17
+ type: PropType<boolean>;
18
+ default: boolean;
19
+ };
16
20
  columns: {
17
21
  type: PropType< PlusColumn[]>;
18
22
  default: () => never[];
@@ -718,6 +722,10 @@ export declare const PlusTable: {
718
722
  filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
719
723
  radioChange: (row: RecordType, index: number, value: boolean) => void;
720
724
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
725
+ showOverflowTooltip: {
726
+ type: PropType<boolean>;
727
+ default: boolean;
728
+ };
721
729
  columns: {
722
730
  type: PropType< PlusColumn[]>;
723
731
  default: () => never[];
@@ -860,6 +868,7 @@ export declare const PlusTable: {
860
868
  onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
861
869
  onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
862
870
  }, {
871
+ showOverflowTooltip: boolean;
863
872
  columns: PlusColumn[];
864
873
  data: RecordType[];
865
874
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -910,6 +919,10 @@ export declare const PlusTable: {
910
919
  M: {};
911
920
  Defaults: {};
912
921
  }, Readonly< ExtractPropTypes<{
922
+ showOverflowTooltip: {
923
+ type: PropType<boolean>;
924
+ default: boolean;
925
+ };
913
926
  columns: {
914
927
  type: PropType< PlusColumn[]>;
915
928
  default: () => never[];
@@ -1603,6 +1616,7 @@ export declare const PlusTable: {
1603
1616
  flexible: boolean;
1604
1617
  }> | null>;
1605
1618
  }, {}, {}, {}, {
1619
+ showOverflowTooltip: boolean;
1606
1620
  columns: PlusColumn[];
1607
1621
  data: RecordType[];
1608
1622
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -1650,6 +1664,10 @@ export declare const PlusTable: {
1650
1664
  __isTeleport?: undefined;
1651
1665
  __isSuspense?: undefined;
1652
1666
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
1667
+ showOverflowTooltip: {
1668
+ type: PropType<boolean>;
1669
+ default: boolean;
1670
+ };
1653
1671
  columns: {
1654
1672
  type: PropType< PlusColumn[]>;
1655
1673
  default: () => never[];
@@ -2355,6 +2373,7 @@ export declare const PlusTable: {
2355
2373
  filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
2356
2374
  radioChange: (row: RecordType, index: number, value: boolean) => void;
2357
2375
  }, string, {
2376
+ showOverflowTooltip: boolean;
2358
2377
  columns: PlusColumn[];
2359
2378
  data: RecordType[];
2360
2379
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -18,6 +18,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
18
18
  isSelection: boolean;
19
19
  isRadio: boolean;
20
20
  hasExpand: boolean;
21
+ showOverflowTooltip: boolean;
21
22
  loadingStatus: boolean;
22
23
  tableData: () => never[];
23
24
  data: () => never[];
@@ -613,6 +614,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
613
614
  isSelection: boolean;
614
615
  isRadio: boolean;
615
616
  hasExpand: boolean;
617
+ showOverflowTooltip: boolean;
616
618
  loadingStatus: boolean;
617
619
  tableData: () => never[];
618
620
  data: () => never[];
@@ -649,6 +651,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
649
651
  onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
650
652
  onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
651
653
  }, {
654
+ showOverflowTooltip: boolean;
652
655
  columns: PlusColumn[];
653
656
  data: RecordType[];
654
657
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -28,8 +28,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  defaultSize: { default: "default" },
29
29
  pagination: { type: [Boolean, Object], default: false },
30
30
  actionBar: { type: [Boolean, Object], default: false },
31
- hasIndexColumn: { type: Boolean, default: false },
31
+ hasIndexColumn: { type: Boolean, default: true },
32
32
  titleBar: { type: [Boolean, Object], default: true },
33
+ showOverflowTooltip: { type: Boolean, default: true },
33
34
  isSelection: { type: [Boolean, String], default: false },
34
35
  isRadio: { type: Boolean, default: false },
35
36
  hasExpand: { type: Boolean, default: false },
@@ -53,7 +54,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
53
54
  expandTableColumnProps: { default: () => ({}) },
54
55
  indexContentStyle: { type: [Object, Function], default: () => ({}) },
55
56
  editable: { type: [Boolean, String], default: false },
56
- adaptive: { type: [Boolean, Object], default: false },
57
+ adaptive: { type: [Boolean, Object], default: true },
57
58
  filterTableHeaderOverflowLabelLength: {}
58
59
  },
59
60
  emits: ["paginationChange", "clickAction", "clickActionConfirmCancel", "dragSortEnd", "formChange", "refresh", "edited", "cell-click", "cell-dblclick", "filterTableHeader", "radioChange"],
@@ -291,6 +292,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
291
292
  "header-cell-style": _ctx.headerCellStyle,
292
293
  size: unref(size),
293
294
  "row-key": _ctx.rowKey,
295
+ "show-overflow-tooltip": _ctx.showOverflowTooltip,
294
296
  "highlight-current-row": "",
295
297
  "scrollbar-always-on": ""
296
298
  }, _ctx.$attrs, {
@@ -430,7 +432,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
430
432
  ]),
431
433
  _: 3
432
434
  /* FORWARDED */
433
- }, 16, ["data", "height", "header-cell-style", "size", "row-key"])), [
435
+ }, 16, ["data", "height", "header-cell-style", "size", "row-key", "show-overflow-tooltip"])), [
434
436
  [unref(vLoading), _ctx.loadingStatus]
435
437
  ]),
436
438
  createCommentVNode(" \u5206\u9875 "),
@@ -14,7 +14,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
14
14
  buttons: () => never[];
15
15
  width: number;
16
16
  showNumber: number;
17
- actionBarTableColumnProps: () => {};
17
+ actionBarTableColumnProps: () => {
18
+ align: string;
19
+ };
18
20
  confirmType: string;
19
21
  showLimitIncludeMore: boolean;
20
22
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -27,7 +29,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
27
29
  buttons: () => never[];
28
30
  width: number;
29
31
  showNumber: number;
30
- actionBarTableColumnProps: () => {};
32
+ actionBarTableColumnProps: () => {
33
+ align: string;
34
+ };
31
35
  confirmType: string;
32
36
  showLimitIncludeMore: boolean;
33
37
  }>>> & {
@@ -23,7 +23,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
23
23
  type: { default: "link" },
24
24
  buttons: { default: () => [] },
25
25
  width: { default: 200 },
26
- actionBarTableColumnProps: { default: () => ({}) },
26
+ actionBarTableColumnProps: { default: () => ({
27
+ align: "center"
28
+ }) },
27
29
  confirmType: { default: "messageBox" }
28
30
  },
29
31
  emits: ["clickAction", "clickActionConfirmCancel"],
@@ -42,7 +42,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  return (_ctx, _cache) => {
43
43
  return openBlock(), createBlock(unref(ElTableColumn), mergeProps({
44
44
  key: "index",
45
- label: "#",
45
+ label: "\u5E8F\u53F7",
46
46
  fixed: "left",
47
47
  type: "index",
48
48
  "class-name": "plus-table-column-index",