el-plus 0.0.18 → 0.0.19

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 (144) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +227 -104
  4. package/dist/index.full.min.js +1 -1
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +1 -1
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +226 -104
  9. package/es/components/date-picker-range/index.d.ts +3 -3
  10. package/es/components/date-picker-range/src/date-picker-range.vue.d.ts +1 -1
  11. package/es/components/form/src/form-item-vue.d.ts +2 -2
  12. package/es/components/form/src/form-item.d.ts +1 -1
  13. package/es/components/form/src/form-item.mjs.map +1 -1
  14. package/es/components/form/src/hooks/use-form-item.mjs +3 -1
  15. package/es/components/form/src/hooks/use-form-item.mjs.map +1 -1
  16. package/es/components/index.d.ts +1 -0
  17. package/es/components/index.mjs +2 -0
  18. package/es/components/index.mjs.map +1 -1
  19. package/es/components/input/style/css.d.ts +1 -1
  20. package/es/components/input/style/css.mjs +1 -1
  21. package/es/components/input/style/index.d.ts +1 -1
  22. package/es/components/input/style/index.mjs +1 -1
  23. package/es/components/link/index.d.ts +118 -0
  24. package/es/components/link/index.mjs +8 -0
  25. package/es/components/link/index.mjs.map +1 -0
  26. package/es/components/link/src/link.d.ts +30 -0
  27. package/es/components/link/src/link.mjs +19 -0
  28. package/es/components/link/src/link.mjs.map +1 -0
  29. package/es/components/link/src/link.vue.d.ts +73 -0
  30. package/es/components/link/src/link.vue.mjs +6 -0
  31. package/es/components/link/src/link.vue.mjs.map +1 -0
  32. package/es/components/link/src/link.vue2.mjs +52 -0
  33. package/es/components/link/src/link.vue2.mjs.map +1 -0
  34. package/es/components/link/style/css.d.ts +2 -0
  35. package/es/components/link/style/css.mjs +5 -0
  36. package/es/components/link/style/css.mjs.map +1 -0
  37. package/es/components/link/style/index.d.ts +2 -0
  38. package/es/components/link/style/index.mjs +5 -0
  39. package/es/components/link/style/index.mjs.map +1 -0
  40. package/es/components/search-list-page/index.d.ts +51 -30
  41. package/es/components/search-list-page/src/search-list-page.d.ts +1 -1
  42. package/es/components/search-list-page/src/search-list-page.mjs +3 -3
  43. package/es/components/search-list-page/src/search-list-page.mjs.map +1 -1
  44. package/es/components/search-list-page/src/search-list-page.vue.d.ts +16 -11
  45. package/es/components/search-list-page/src/search-list-page.vue2.mjs +4 -3
  46. package/es/components/search-list-page/src/search-list-page.vue2.mjs.map +1 -1
  47. package/es/components/search-list-page/src/use-search-list-page.d.ts +15 -9
  48. package/es/components/search-list-page/src/use-search-list-page.mjs +4 -4
  49. package/es/components/search-list-page/src/use-search-list-page.mjs.map +1 -1
  50. package/es/components/table/index.d.ts +11 -6
  51. package/es/components/table/src/table.d.ts +2 -1
  52. package/es/components/table/src/table.mjs +2 -2
  53. package/es/components/table/src/table.mjs.map +1 -1
  54. package/es/components/table/src/table.vue.d.ts +4 -3
  55. package/es/components/table/src/table.vue2.mjs +4 -3
  56. package/es/components/table/src/table.vue2.mjs.map +1 -1
  57. package/es/components/table/src/use-table.d.ts +71 -12
  58. package/es/components/table/src/use-table.mjs +84 -27
  59. package/es/components/table/src/use-table.mjs.map +1 -1
  60. package/es/components.mjs +3 -1
  61. package/es/components.mjs.map +1 -1
  62. package/es/hooks/dialog/use-dialog.d.ts +2 -0
  63. package/es/hooks/dialog/use-dialog.mjs +4 -3
  64. package/es/hooks/dialog/use-dialog.mjs.map +1 -1
  65. package/es/index.mjs +2 -0
  66. package/es/index.mjs.map +1 -1
  67. package/es/package.json.mjs +1 -1
  68. package/es/utils/file.d.ts +18 -0
  69. package/es/utils/file.mjs +133 -0
  70. package/es/utils/file.mjs.map +1 -0
  71. package/es/utils/http/core/types.d.ts +1 -0
  72. package/global.d.ts +6 -4
  73. package/lib/components/date-picker-range/index.d.ts +3 -3
  74. package/lib/components/date-picker-range/src/date-picker-range.vue.d.ts +1 -1
  75. package/lib/components/form/src/form-item-vue.d.ts +2 -2
  76. package/lib/components/form/src/form-item.d.ts +1 -1
  77. package/lib/components/form/src/form-item.js.map +1 -1
  78. package/lib/components/form/src/hooks/use-form-item.js +3 -1
  79. package/lib/components/form/src/hooks/use-form-item.js.map +1 -1
  80. package/lib/components/index.d.ts +1 -0
  81. package/lib/components/index.js +4 -0
  82. package/lib/components/index.js.map +1 -1
  83. package/lib/components/input/style/css.d.ts +1 -1
  84. package/lib/components/input/style/css.js +1 -1
  85. package/lib/components/input/style/index.d.ts +1 -1
  86. package/lib/components/input/style/index.js +1 -1
  87. package/lib/components/link/index.d.ts +118 -0
  88. package/lib/components/link/index.js +14 -0
  89. package/lib/components/link/index.js.map +1 -0
  90. package/lib/components/link/src/link.d.ts +30 -0
  91. package/lib/components/link/src/link.js +21 -0
  92. package/lib/components/link/src/link.js.map +1 -0
  93. package/lib/components/link/src/link.vue.d.ts +73 -0
  94. package/lib/components/link/src/link.vue.js +10 -0
  95. package/lib/components/link/src/link.vue.js.map +1 -0
  96. package/lib/components/link/src/link.vue2.js +56 -0
  97. package/lib/components/link/src/link.vue2.js.map +1 -0
  98. package/lib/components/link/style/css.d.ts +2 -0
  99. package/lib/components/link/style/css.js +7 -0
  100. package/lib/components/link/style/css.js.map +1 -0
  101. package/lib/components/link/style/index.d.ts +2 -0
  102. package/lib/components/link/style/index.js +7 -0
  103. package/lib/components/link/style/index.js.map +1 -0
  104. package/lib/components/search-list-page/index.d.ts +51 -30
  105. package/lib/components/search-list-page/src/search-list-page.d.ts +1 -1
  106. package/lib/components/search-list-page/src/search-list-page.js +3 -3
  107. package/lib/components/search-list-page/src/search-list-page.js.map +1 -1
  108. package/lib/components/search-list-page/src/search-list-page.vue.d.ts +16 -11
  109. package/lib/components/search-list-page/src/search-list-page.vue2.js +3 -2
  110. package/lib/components/search-list-page/src/search-list-page.vue2.js.map +1 -1
  111. package/lib/components/search-list-page/src/use-search-list-page.d.ts +15 -9
  112. package/lib/components/search-list-page/src/use-search-list-page.js +4 -4
  113. package/lib/components/search-list-page/src/use-search-list-page.js.map +1 -1
  114. package/lib/components/table/index.d.ts +11 -6
  115. package/lib/components/table/src/table.d.ts +2 -1
  116. package/lib/components/table/src/table.js +2 -2
  117. package/lib/components/table/src/table.js.map +1 -1
  118. package/lib/components/table/src/table.vue.d.ts +4 -3
  119. package/lib/components/table/src/table.vue2.js +4 -3
  120. package/lib/components/table/src/table.vue2.js.map +1 -1
  121. package/lib/components/table/src/use-table.d.ts +71 -12
  122. package/lib/components/table/src/use-table.js +83 -26
  123. package/lib/components/table/src/use-table.js.map +1 -1
  124. package/lib/components.js +3 -1
  125. package/lib/components.js.map +1 -1
  126. package/lib/hooks/dialog/use-dialog.d.ts +2 -0
  127. package/lib/hooks/dialog/use-dialog.js +4 -3
  128. package/lib/hooks/dialog/use-dialog.js.map +1 -1
  129. package/lib/index.js +10 -6
  130. package/lib/index.js.map +1 -1
  131. package/lib/package.json.js +1 -1
  132. package/lib/utils/file.d.ts +18 -0
  133. package/lib/utils/file.js +136 -0
  134. package/lib/utils/file.js.map +1 -0
  135. package/lib/utils/http/core/types.d.ts +1 -0
  136. package/package.json +1 -1
  137. package/theme-chalk/custom-column.css +1 -1
  138. package/theme-chalk/index.css +1 -1
  139. package/theme-chalk/link.css +1 -0
  140. package/theme-chalk/src/custom-column.scss +6 -4
  141. package/theme-chalk/src/index.scss +2 -1
  142. package/theme-chalk/src/link.scss +6 -0
  143. package/theme-chalk/src/table.scss +20 -1
  144. package/theme-chalk/table.css +1 -1
@@ -34,6 +34,7 @@ export declare const EpSearchListPage: {
34
34
  type: string;
35
35
  props: Record<string, any>;
36
36
  filter: boolean;
37
+ editable: boolean | ((formData: Record<string, any>) => void);
37
38
  } & {} & {
38
39
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
39
40
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -63,7 +64,7 @@ export declare const EpSearchListPage: {
63
64
  }>[]>;
64
65
  readonly default: () => never[];
65
66
  };
66
- readonly linkProps: {
67
+ readonly formatColumns: {
67
68
  readonly type: import("vue").PropType<Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
68
69
  name: string;
69
70
  prop: string;
@@ -148,6 +149,7 @@ export declare const EpSearchListPage: {
148
149
  type: string;
149
150
  props: Record<string, any>;
150
151
  filter: boolean;
152
+ editable: boolean | ((formData: Record<string, any>) => void);
151
153
  } & {} & {
152
154
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
153
155
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -205,7 +207,7 @@ export declare const EpSearchListPage: {
205
207
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
206
208
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
207
209
  }>[];
208
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
210
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
209
211
  name: string;
210
212
  prop: string;
211
213
  permission: string;
@@ -254,6 +256,7 @@ export declare const EpSearchListPage: {
254
256
  type: string;
255
257
  props: Record<string, any>;
256
258
  filter: boolean;
259
+ editable: boolean | ((formData: Record<string, any>) => void);
257
260
  } & {} & {
258
261
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
259
262
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -311,7 +314,7 @@ export declare const EpSearchListPage: {
311
314
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
312
315
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
313
316
  }>[];
314
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
317
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
315
318
  name: string;
316
319
  prop: string;
317
320
  permission: string;
@@ -383,7 +386,7 @@ export declare const EpSearchListPage: {
383
386
  readonly tooltipEffect?: string | undefined;
384
387
  readonly appendFilterPanelTo?: string | undefined;
385
388
  readonly scrollbarTabindex?: string | number | undefined;
386
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "linkProps" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar">;
389
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "formatColumns" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar">;
387
390
  $attrs: {
388
391
  [x: string]: unknown;
389
392
  };
@@ -409,6 +412,7 @@ export declare const EpSearchListPage: {
409
412
  type: string;
410
413
  props: Record<string, any>;
411
414
  filter: boolean;
415
+ editable: boolean | ((formData: Record<string, any>) => void);
412
416
  } & {} & {
413
417
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
414
418
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -462,7 +466,7 @@ export declare const EpSearchListPage: {
462
466
  }>[]>;
463
467
  default: () => never[];
464
468
  };
465
- readonly linkProps: {
469
+ readonly formatColumns: {
466
470
  type: import("vue").PropType<Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
467
471
  name: string;
468
472
  prop: string;
@@ -1230,6 +1234,7 @@ export declare const EpSearchListPage: {
1230
1234
  type: string;
1231
1235
  props: Record<string, any>;
1232
1236
  filter: boolean;
1237
+ editable: boolean | ((formData: Record<string, any>) => void);
1233
1238
  } & {} & {
1234
1239
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
1235
1240
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -1287,7 +1292,7 @@ export declare const EpSearchListPage: {
1287
1292
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
1288
1293
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
1289
1294
  }>[];
1290
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
1295
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
1291
1296
  name: string;
1292
1297
  prop: string;
1293
1298
  permission: string;
@@ -1356,6 +1361,7 @@ export declare const EpSearchListPage: {
1356
1361
  type: string;
1357
1362
  props: Record<string, any>;
1358
1363
  filter: boolean;
1364
+ editable: boolean | ((formData: Record<string, any>) => void);
1359
1365
  } & {} & {
1360
1366
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
1361
1367
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -1413,7 +1419,7 @@ export declare const EpSearchListPage: {
1413
1419
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
1414
1420
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
1415
1421
  }>[];
1416
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
1422
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
1417
1423
  name: string;
1418
1424
  prop: string;
1419
1425
  permission: string;
@@ -1454,6 +1460,7 @@ export declare const EpSearchListPage: {
1454
1460
  type: string;
1455
1461
  props: Record<string, any>;
1456
1462
  filter: boolean;
1463
+ editable: boolean | ((formData: Record<string, any>) => void);
1457
1464
  } & {} & {
1458
1465
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
1459
1466
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -1507,7 +1514,7 @@ export declare const EpSearchListPage: {
1507
1514
  }>[]>;
1508
1515
  default: () => never[];
1509
1516
  };
1510
- readonly linkProps: {
1517
+ readonly formatColumns: {
1511
1518
  type: import("vue").PropType<Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
1512
1519
  name: string;
1513
1520
  prop: string;
@@ -2248,7 +2255,7 @@ export declare const EpSearchListPage: {
2248
2255
  };
2249
2256
  readonly preserveExpandedContent: BooleanConstructor;
2250
2257
  readonly nativeScrollbar: BooleanConstructor;
2251
- }>> & Readonly<{}>, "search" | "validate" | "resetFields" | "clearValidate" | "elFormRef" | "elTableRef" | "openCustomColumnDialog" | ("data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "linkProps" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar")> & import("vue").ShallowUnwrapRef<{
2258
+ }>> & Readonly<{}>, "search" | "validate" | "resetFields" | "clearValidate" | "elFormRef" | "elTableRef" | "openCustomColumnDialog" | ("data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "formatColumns" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar")> & import("vue").ShallowUnwrapRef<{
2252
2259
  elFormRef: Readonly<import("vue").ShallowRef<import("element-plus").FormInstance | null>>;
2253
2260
  elTableRef: Readonly<import("vue").ShallowRef<import("element-plus").TableInstance | null>>;
2254
2261
  validate: () => import("element-plus").FormValidationResult;
@@ -2536,6 +2543,7 @@ export declare const EpSearchListPage: {
2536
2543
  type: string;
2537
2544
  props: Record<string, any>;
2538
2545
  filter: boolean;
2546
+ editable: boolean | ((formData: Record<string, any>) => void);
2539
2547
  } & {} & {
2540
2548
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
2541
2549
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -2557,7 +2565,7 @@ export declare const EpSearchListPage: {
2557
2565
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
2558
2566
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
2559
2567
  }>[];
2560
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
2568
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
2561
2569
  name: string;
2562
2570
  prop: string;
2563
2571
  permission: string;
@@ -2628,6 +2636,7 @@ export declare const EpSearchListPage: {
2628
2636
  type: string;
2629
2637
  props: Record<string, any>;
2630
2638
  filter: boolean;
2639
+ editable: boolean | ((formData: Record<string, any>) => void);
2631
2640
  } & {} & {
2632
2641
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
2633
2642
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -2657,7 +2666,7 @@ export declare const EpSearchListPage: {
2657
2666
  }>[]>;
2658
2667
  readonly default: () => never[];
2659
2668
  };
2660
- readonly linkProps: {
2669
+ readonly formatColumns: {
2661
2670
  readonly type: import("vue").PropType<Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
2662
2671
  name: string;
2663
2672
  prop: string;
@@ -2742,6 +2751,7 @@ export declare const EpSearchListPage: {
2742
2751
  type: string;
2743
2752
  props: Record<string, any>;
2744
2753
  filter: boolean;
2754
+ editable: boolean | ((formData: Record<string, any>) => void);
2745
2755
  } & {} & {
2746
2756
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
2747
2757
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -2799,7 +2809,7 @@ export declare const EpSearchListPage: {
2799
2809
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
2800
2810
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
2801
2811
  }>[];
2802
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
2812
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
2803
2813
  name: string;
2804
2814
  prop: string;
2805
2815
  permission: string;
@@ -2848,6 +2858,7 @@ export declare const EpSearchListPage: {
2848
2858
  type: string;
2849
2859
  props: Record<string, any>;
2850
2860
  filter: boolean;
2861
+ editable: boolean | ((formData: Record<string, any>) => void);
2851
2862
  } & {} & {
2852
2863
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
2853
2864
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -2905,7 +2916,7 @@ export declare const EpSearchListPage: {
2905
2916
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
2906
2917
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
2907
2918
  }>[];
2908
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
2919
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
2909
2920
  name: string;
2910
2921
  prop: string;
2911
2922
  permission: string;
@@ -2977,7 +2988,7 @@ export declare const EpSearchListPage: {
2977
2988
  readonly tooltipEffect?: string | undefined;
2978
2989
  readonly appendFilterPanelTo?: string | undefined;
2979
2990
  readonly scrollbarTabindex?: string | number | undefined;
2980
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "linkProps" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar">;
2991
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "formatColumns" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar">;
2981
2992
  $attrs: {
2982
2993
  [x: string]: unknown;
2983
2994
  };
@@ -3003,6 +3014,7 @@ export declare const EpSearchListPage: {
3003
3014
  type: string;
3004
3015
  props: Record<string, any>;
3005
3016
  filter: boolean;
3017
+ editable: boolean | ((formData: Record<string, any>) => void);
3006
3018
  } & {} & {
3007
3019
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
3008
3020
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -3056,7 +3068,7 @@ export declare const EpSearchListPage: {
3056
3068
  }>[]>;
3057
3069
  default: () => never[];
3058
3070
  };
3059
- readonly linkProps: {
3071
+ readonly formatColumns: {
3060
3072
  type: import("vue").PropType<Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
3061
3073
  name: string;
3062
3074
  prop: string;
@@ -3824,6 +3836,7 @@ export declare const EpSearchListPage: {
3824
3836
  type: string;
3825
3837
  props: Record<string, any>;
3826
3838
  filter: boolean;
3839
+ editable: boolean | ((formData: Record<string, any>) => void);
3827
3840
  } & {} & {
3828
3841
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
3829
3842
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -3881,7 +3894,7 @@ export declare const EpSearchListPage: {
3881
3894
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
3882
3895
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
3883
3896
  }>[];
3884
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
3897
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
3885
3898
  name: string;
3886
3899
  prop: string;
3887
3900
  permission: string;
@@ -3950,6 +3963,7 @@ export declare const EpSearchListPage: {
3950
3963
  type: string;
3951
3964
  props: Record<string, any>;
3952
3965
  filter: boolean;
3966
+ editable: boolean | ((formData: Record<string, any>) => void);
3953
3967
  } & {} & {
3954
3968
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
3955
3969
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -4007,7 +4021,7 @@ export declare const EpSearchListPage: {
4007
4021
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
4008
4022
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
4009
4023
  }>[];
4010
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
4024
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
4011
4025
  name: string;
4012
4026
  prop: string;
4013
4027
  permission: string;
@@ -4048,6 +4062,7 @@ export declare const EpSearchListPage: {
4048
4062
  type: string;
4049
4063
  props: Record<string, any>;
4050
4064
  filter: boolean;
4065
+ editable: boolean | ((formData: Record<string, any>) => void);
4051
4066
  } & {} & {
4052
4067
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
4053
4068
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -4101,7 +4116,7 @@ export declare const EpSearchListPage: {
4101
4116
  }>[]>;
4102
4117
  default: () => never[];
4103
4118
  };
4104
- readonly linkProps: {
4119
+ readonly formatColumns: {
4105
4120
  type: import("vue").PropType<Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
4106
4121
  name: string;
4107
4122
  prop: string;
@@ -4842,7 +4857,7 @@ export declare const EpSearchListPage: {
4842
4857
  };
4843
4858
  readonly preserveExpandedContent: BooleanConstructor;
4844
4859
  readonly nativeScrollbar: BooleanConstructor;
4845
- }>> & Readonly<{}>, "search" | "validate" | "resetFields" | "clearValidate" | "elFormRef" | "elTableRef" | "openCustomColumnDialog" | ("data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "linkProps" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar")> & import("vue").ShallowUnwrapRef<{
4860
+ }>> & Readonly<{}>, "search" | "validate" | "resetFields" | "clearValidate" | "elFormRef" | "elTableRef" | "openCustomColumnDialog" | ("data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "formatColumns" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar")> & import("vue").ShallowUnwrapRef<{
4846
4861
  elFormRef: Readonly<import("vue").ShallowRef<import("element-plus").FormInstance | null>>;
4847
4862
  elTableRef: Readonly<import("vue").ShallowRef<import("element-plus").TableInstance | null>>;
4848
4863
  validate: () => import("element-plus").FormValidationResult;
@@ -5130,6 +5145,7 @@ export declare const EpSearchListPage: {
5130
5145
  type: string;
5131
5146
  props: Record<string, any>;
5132
5147
  filter: boolean;
5148
+ editable: boolean | ((formData: Record<string, any>) => void);
5133
5149
  } & {} & {
5134
5150
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
5135
5151
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -5151,7 +5167,7 @@ export declare const EpSearchListPage: {
5151
5167
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
5152
5168
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
5153
5169
  }>[];
5154
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
5170
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
5155
5171
  name: string;
5156
5172
  prop: string;
5157
5173
  permission: string;
@@ -5212,7 +5228,7 @@ export declare const EpSearchListPage: {
5212
5228
  readonly type: import("vue").PropType<import("packages/el-plus/index.js").ButtonProps[]>;
5213
5229
  readonly default: () => never[];
5214
5230
  };
5215
- readonly linkProps: {
5231
+ readonly formatColumns: {
5216
5232
  readonly type: import("vue").PropType<import("packages/el-plus/index.js").ButtonProps[]>;
5217
5233
  readonly default: () => never[];
5218
5234
  };
@@ -5285,6 +5301,7 @@ export declare const EpSearchListPage: {
5285
5301
  type: string;
5286
5302
  props: Record<string, any>;
5287
5303
  filter: boolean;
5304
+ editable: boolean | ((formData: Record<string, any>) => void);
5288
5305
  } & {} & {
5289
5306
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
5290
5307
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -5342,7 +5359,7 @@ export declare const EpSearchListPage: {
5342
5359
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
5343
5360
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
5344
5361
  }>[];
5345
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
5362
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
5346
5363
  name: string;
5347
5364
  prop: string;
5348
5365
  permission: string;
@@ -5391,6 +5408,7 @@ export declare const EpSearchListPage: {
5391
5408
  type: string;
5392
5409
  props: Record<string, any>;
5393
5410
  filter: boolean;
5411
+ editable: boolean | ((formData: Record<string, any>) => void);
5394
5412
  } & {} & {
5395
5413
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
5396
5414
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -5448,7 +5466,7 @@ export declare const EpSearchListPage: {
5448
5466
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
5449
5467
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
5450
5468
  }>[];
5451
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
5469
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
5452
5470
  name: string;
5453
5471
  prop: string;
5454
5472
  permission: string;
@@ -5520,7 +5538,7 @@ export declare const EpSearchListPage: {
5520
5538
  readonly tooltipEffect?: string | undefined;
5521
5539
  readonly appendFilterPanelTo?: string | undefined;
5522
5540
  readonly scrollbarTabindex?: string | number | undefined;
5523
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "linkProps" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar">;
5541
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "formatColumns" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar">;
5524
5542
  $attrs: {
5525
5543
  [x: string]: unknown;
5526
5544
  };
@@ -5575,7 +5593,7 @@ export declare const EpSearchListPage: {
5575
5593
  type: import("vue").PropType<import("packages/el-plus/index.js").ButtonProps[]>;
5576
5594
  default: () => never[];
5577
5595
  };
5578
- readonly linkProps: {
5596
+ readonly formatColumns: {
5579
5597
  type: import("vue").PropType<import("packages/el-plus/index.js").ButtonProps[]>;
5580
5598
  default: () => never[];
5581
5599
  };
@@ -6331,6 +6349,7 @@ export declare const EpSearchListPage: {
6331
6349
  type: string;
6332
6350
  props: Record<string, any>;
6333
6351
  filter: boolean;
6352
+ editable: boolean | ((formData: Record<string, any>) => void);
6334
6353
  } & {} & {
6335
6354
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
6336
6355
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -6388,7 +6407,7 @@ export declare const EpSearchListPage: {
6388
6407
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
6389
6408
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
6390
6409
  }>[];
6391
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
6410
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
6392
6411
  name: string;
6393
6412
  prop: string;
6394
6413
  permission: string;
@@ -6457,6 +6476,7 @@ export declare const EpSearchListPage: {
6457
6476
  type: string;
6458
6477
  props: Record<string, any>;
6459
6478
  filter: boolean;
6479
+ editable: boolean | ((formData: Record<string, any>) => void);
6460
6480
  } & {} & {
6461
6481
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
6462
6482
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -6514,7 +6534,7 @@ export declare const EpSearchListPage: {
6514
6534
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
6515
6535
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
6516
6536
  }>[];
6517
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
6537
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
6518
6538
  name: string;
6519
6539
  prop: string;
6520
6540
  permission: string;
@@ -6584,7 +6604,7 @@ export declare const EpSearchListPage: {
6584
6604
  type: import("vue").PropType<import("packages/el-plus/index.js").ButtonProps[]>;
6585
6605
  default: () => never[];
6586
6606
  };
6587
- readonly linkProps: {
6607
+ readonly formatColumns: {
6588
6608
  type: import("vue").PropType<import("packages/el-plus/index.js").ButtonProps[]>;
6589
6609
  default: () => never[];
6590
6610
  };
@@ -7313,7 +7333,7 @@ export declare const EpSearchListPage: {
7313
7333
  };
7314
7334
  readonly preserveExpandedContent: BooleanConstructor;
7315
7335
  readonly nativeScrollbar: BooleanConstructor;
7316
- }>> & Readonly<{}>, "search" | "validate" | "resetFields" | "clearValidate" | "elFormRef" | "elTableRef" | "openCustomColumnDialog" | ("data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "linkProps" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar")> & import("vue").ShallowUnwrapRef<{
7336
+ }>> & Readonly<{}>, "search" | "validate" | "resetFields" | "clearValidate" | "elFormRef" | "elTableRef" | "openCustomColumnDialog" | ("data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "formatColumns" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar")> & import("vue").ShallowUnwrapRef<{
7317
7337
  elFormRef: Readonly<import("vue").ShallowRef<import("element-plus").FormInstance | null>>;
7318
7338
  elTableRef: Readonly<import("vue").ShallowRef<import("element-plus").TableInstance | null>>;
7319
7339
  validate: () => import("element-plus").FormValidationResult;
@@ -7601,6 +7621,7 @@ export declare const EpSearchListPage: {
7601
7621
  type: string;
7602
7622
  props: Record<string, any>;
7603
7623
  filter: boolean;
7624
+ editable: boolean | ((formData: Record<string, any>) => void);
7604
7625
  } & {} & {
7605
7626
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
7606
7627
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -7622,7 +7643,7 @@ export declare const EpSearchListPage: {
7622
7643
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
7623
7644
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
7624
7645
  }>[];
7625
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
7646
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
7626
7647
  name: string;
7627
7648
  prop: string;
7628
7649
  permission: string;
@@ -27,7 +27,7 @@ export declare const searchListPageProps: {
27
27
  readonly type: PropType<import("el-plus/es/components/buttons").ButtonProps[]>;
28
28
  readonly default: () => never[];
29
29
  };
30
- readonly linkProps: {
30
+ readonly formatColumns: {
31
31
  readonly type: PropType<import("el-plus/es/components/buttons").ButtonProps[]>;
32
32
  readonly default: () => never[];
33
33
  };
@@ -36,9 +36,9 @@ const searchListPageProps = {
36
36
  actionButtons: {
37
37
  ...tableProps.actionButtons
38
38
  },
39
- // 链接列
40
- linkProps: {
41
- ...tableProps.linkProps
39
+ // 格式化列
40
+ formatColumns: {
41
+ ...tableProps.formatColumns
42
42
  },
43
43
  showSelectionCol: Boolean,
44
44
  showSingleSelectionCol: Boolean,
@@ -1 +1 @@
1
- {"version":3,"file":"search-list-page.mjs","sources":["../../../../../../packages/components/search-list-page/src/search-list-page.ts"],"sourcesContent":["import type { PropType, ExtractPublicPropTypes } from 'vue'\nimport { apiProps } from '@el-plus/utils/props'\nimport { formProps } from '@el-plus/components/form'\nimport { buttonsProps } from '@el-plus/components/buttons'\nimport { tableProps } from '@el-plus/components/table'\nimport { customColumnProps } from '@el-plus/components/custom-column'\n\nexport const searchListPageProps = {\n ...apiProps,\n // 自定义列模块\n customColumnModule: {\n ...customColumnProps.module,\n },\n showOperationColumn: Boolean, // 是否显示操作列\n // 表单列表\n formItemList: {\n ...formProps.formItemList,\n },\n // 左侧按钮\n leftButtons: {\n ...buttonsProps.list,\n },\n // 表格列\n columns: {\n ...tableProps.columns,\n },\n // 列最小宽度\n minWidth: {\n ...tableProps.minWidth,\n },\n // 操作列宽度\n actionColWidth: {\n ...tableProps.actionColWidth,\n },\n // 操作列\n actionButtons: {\n ...tableProps.actionButtons,\n },\n // 链接列\n linkProps: {\n ...tableProps.linkProps,\n },\n showSelectionCol: Boolean,\n showSingleSelectionCol: Boolean,\n showIndexCol: {\n type: Boolean,\n default: true,\n },\n add: Function, // 新增\n templateDownloadApi: String, // 模板下载\n importApi: String, // 导入\n exportApi: String, // 导出\n // 表格额外距离\n offsetTop: {\n type: Number,\n default: 0,\n },\n formData: {\n type: Object,\n default: () => ({}),\n },\n tableProps: Object,\n formProps: Object,\n buttonsProps: Object,\n name: String, // 权限前缀\n // 是否初始化加载数据\n isInitSearch: {\n type: Boolean,\n default: true,\n },\n} as const\nexport type SearchListPageProps = ExtractPublicPropTypes<\n typeof searchListPageProps\n>\n"],"names":[],"mappings":";;;;;;AAOO,MAAM,mBAAA,GAAsB;AAAA,EACjC,GAAG,QAAA;AAAA;AAAA,EAEH,kBAAA,EAAoB;AAAA,IAClB,GAAG,iBAAA,CAAkB;AAAA,GACvB;AAAA,EACA,mBAAA,EAAqB,OAAA;AAAA;AAAA;AAAA,EAErB,YAAA,EAAc;AAAA,IACZ,GAAG,SAAA,CAAU;AAAA,GACf;AAAA;AAAA,EAEA,WAAA,EAAa;AAAA,IACX,GAAG,YAAA,CAAa;AAAA,GAClB;AAAA;AAAA,EAEA,OAAA,EAAS;AAAA,IACP,GAAG,UAAA,CAAW;AAAA,GAChB;AAAA;AAAA,EAEA,QAAA,EAAU;AAAA,IACR,GAAG,UAAA,CAAW;AAAA,GAChB;AAAA;AAAA,EAEA,cAAA,EAAgB;AAAA,IACd,GAAG,UAAA,CAAW;AAAA,GAChB;AAAA;AAAA,EAEA,aAAA,EAAe;AAAA,IACb,GAAG,UAAA,CAAW;AAAA,GAChB;AAAA;AAAA,EAEA,SAAA,EAAW;AAAA,IACT,GAAG,UAAA,CAAW;AAAA,GAChB;AAAA,EACA,gBAAA,EAAkB,OAAA;AAAA,EAClB,sBAAA,EAAwB,OAAA;AAAA,EACxB,YAAA,EAAc;AAAA,IACZ,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA,EACA,GAAA,EAAK,QAAA;AAAA;AAAA,EACL,mBAAA,EAAqB,MAAA;AAAA;AAAA,EACrB,SAAA,EAAW,MAAA;AAAA;AAAA,EACX,SAAA,EAAW,MAAA;AAAA;AAAA;AAAA,EAEX,SAAA,EAAW;AAAA,IACT,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA,EACA,QAAA,EAAU;AAAA,IACR,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS,OAAO,EAAC;AAAA,GACnB;AAAA,EACA,UAAA,EAAY,MAAA;AAAA,EACZ,SAAA,EAAW,MAAA;AAAA,EACX,YAAA,EAAc,MAAA;AAAA,EACd,IAAA,EAAM,MAAA;AAAA;AAAA;AAAA,EAEN,YAAA,EAAc;AAAA,IACZ,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA;AAEb;;;;"}
1
+ {"version":3,"file":"search-list-page.mjs","sources":["../../../../../../packages/components/search-list-page/src/search-list-page.ts"],"sourcesContent":["import type { PropType, ExtractPublicPropTypes } from 'vue'\nimport { apiProps } from '@el-plus/utils/props'\nimport { formProps } from '@el-plus/components/form'\nimport { buttonsProps } from '@el-plus/components/buttons'\nimport { tableProps } from '@el-plus/components/table'\nimport { customColumnProps } from '@el-plus/components/custom-column'\n\nexport const searchListPageProps = {\n ...apiProps,\n // 自定义列模块\n customColumnModule: {\n ...customColumnProps.module,\n },\n showOperationColumn: Boolean, // 是否显示操作列\n // 表单列表\n formItemList: {\n ...formProps.formItemList,\n },\n // 左侧按钮\n leftButtons: {\n ...buttonsProps.list,\n },\n // 表格列\n columns: {\n ...tableProps.columns,\n },\n // 列最小宽度\n minWidth: {\n ...tableProps.minWidth,\n },\n // 操作列宽度\n actionColWidth: {\n ...tableProps.actionColWidth,\n },\n // 操作列\n actionButtons: {\n ...tableProps.actionButtons,\n },\n // 格式化列\n formatColumns: {\n ...tableProps.formatColumns,\n },\n showSelectionCol: Boolean,\n showSingleSelectionCol: Boolean,\n showIndexCol: {\n type: Boolean,\n default: true,\n },\n add: Function, // 新增\n templateDownloadApi: String, // 模板下载\n importApi: String, // 导入\n exportApi: String, // 导出\n // 表格额外距离\n offsetTop: {\n type: Number,\n default: 0,\n },\n formData: {\n type: Object,\n default: () => ({}),\n },\n tableProps: Object,\n formProps: Object,\n buttonsProps: Object,\n name: String, // 权限前缀\n // 是否初始化加载数据\n isInitSearch: {\n type: Boolean,\n default: true,\n },\n} as const\nexport type SearchListPageProps = ExtractPublicPropTypes<\n typeof searchListPageProps\n>\n"],"names":[],"mappings":";;;;;;AAOO,MAAM,mBAAA,GAAsB;AAAA,EACjC,GAAG,QAAA;AAAA;AAAA,EAEH,kBAAA,EAAoB;AAAA,IAClB,GAAG,iBAAA,CAAkB;AAAA,GACvB;AAAA,EACA,mBAAA,EAAqB,OAAA;AAAA;AAAA;AAAA,EAErB,YAAA,EAAc;AAAA,IACZ,GAAG,SAAA,CAAU;AAAA,GACf;AAAA;AAAA,EAEA,WAAA,EAAa;AAAA,IACX,GAAG,YAAA,CAAa;AAAA,GAClB;AAAA;AAAA,EAEA,OAAA,EAAS;AAAA,IACP,GAAG,UAAA,CAAW;AAAA,GAChB;AAAA;AAAA,EAEA,QAAA,EAAU;AAAA,IACR,GAAG,UAAA,CAAW;AAAA,GAChB;AAAA;AAAA,EAEA,cAAA,EAAgB;AAAA,IACd,GAAG,UAAA,CAAW;AAAA,GAChB;AAAA;AAAA,EAEA,aAAA,EAAe;AAAA,IACb,GAAG,UAAA,CAAW;AAAA,GAChB;AAAA;AAAA,EAEA,aAAA,EAAe;AAAA,IACb,GAAG,UAAA,CAAW;AAAA,GAChB;AAAA,EACA,gBAAA,EAAkB,OAAA;AAAA,EAClB,sBAAA,EAAwB,OAAA;AAAA,EACxB,YAAA,EAAc;AAAA,IACZ,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA,EACA,GAAA,EAAK,QAAA;AAAA;AAAA,EACL,mBAAA,EAAqB,MAAA;AAAA;AAAA,EACrB,SAAA,EAAW,MAAA;AAAA;AAAA,EACX,SAAA,EAAW,MAAA;AAAA;AAAA;AAAA,EAEX,SAAA,EAAW;AAAA,IACT,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA,EACA,QAAA,EAAU;AAAA,IACR,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS,OAAO,EAAC;AAAA,GACnB;AAAA,EACA,UAAA,EAAY,MAAA;AAAA,EACZ,SAAA,EAAW,MAAA;AAAA,EACX,YAAA,EAAc,MAAA;AAAA,EACd,IAAA,EAAM,MAAA;AAAA;AAAA;AAAA,EAEN,YAAA,EAAc;AAAA,IACZ,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA;AAEb;;;;"}
@@ -31,7 +31,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
31
31
  readonly type: import("vue").PropType<import("el-plus/es/components/buttons").ButtonProps[]>;
32
32
  readonly default: () => never[];
33
33
  };
34
- readonly linkProps: {
34
+ readonly formatColumns: {
35
35
  readonly type: import("vue").PropType<import("el-plus/es/components/buttons").ButtonProps[]>;
36
36
  readonly default: () => never[];
37
37
  };
@@ -104,6 +104,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
104
104
  type: string;
105
105
  props: Record<string, any>;
106
106
  filter: boolean;
107
+ editable: boolean | ((formData: Record<string, any>) => void);
107
108
  } & {} & {
108
109
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
109
110
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -161,7 +162,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
161
162
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
162
163
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
163
164
  }>[];
164
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
165
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
165
166
  name: string;
166
167
  prop: string;
167
168
  permission: string;
@@ -210,6 +211,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
210
211
  type: string;
211
212
  props: Record<string, any>;
212
213
  filter: boolean;
214
+ editable: boolean | ((formData: Record<string, any>) => void);
213
215
  } & {} & {
214
216
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
215
217
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -267,7 +269,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
267
269
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
268
270
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
269
271
  }>[];
270
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
272
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
271
273
  name: string;
272
274
  prop: string;
273
275
  permission: string;
@@ -339,7 +341,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
339
341
  readonly tooltipEffect?: string | undefined;
340
342
  readonly appendFilterPanelTo?: string | undefined;
341
343
  readonly scrollbarTabindex?: string | number | undefined;
342
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "linkProps" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar">;
344
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "formatColumns" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar">;
343
345
  $attrs: {
344
346
  [x: string]: unknown;
345
347
  };
@@ -394,7 +396,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
394
396
  type: import("vue").PropType<import("el-plus/es/components/buttons").ButtonProps[]>;
395
397
  default: () => never[];
396
398
  };
397
- readonly linkProps: {
399
+ readonly formatColumns: {
398
400
  type: import("vue").PropType<import("el-plus/es/components/buttons").ButtonProps[]>;
399
401
  default: () => never[];
400
402
  };
@@ -1150,6 +1152,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
1150
1152
  type: string;
1151
1153
  props: Record<string, any>;
1152
1154
  filter: boolean;
1155
+ editable: boolean | ((formData: Record<string, any>) => void);
1153
1156
  } & {} & {
1154
1157
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
1155
1158
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -1207,7 +1210,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
1207
1210
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
1208
1211
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
1209
1212
  }>[];
1210
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
1213
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
1211
1214
  name: string;
1212
1215
  prop: string;
1213
1216
  permission: string;
@@ -1276,6 +1279,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
1276
1279
  type: string;
1277
1280
  props: Record<string, any>;
1278
1281
  filter: boolean;
1282
+ editable: boolean | ((formData: Record<string, any>) => void);
1279
1283
  } & {} & {
1280
1284
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
1281
1285
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -1333,7 +1337,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
1333
1337
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
1334
1338
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
1335
1339
  }>[];
1336
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
1340
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
1337
1341
  name: string;
1338
1342
  prop: string;
1339
1343
  permission: string;
@@ -1403,7 +1407,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
1403
1407
  type: import("vue").PropType<import("el-plus/es/components/buttons").ButtonProps[]>;
1404
1408
  default: () => never[];
1405
1409
  };
1406
- readonly linkProps: {
1410
+ readonly formatColumns: {
1407
1411
  type: import("vue").PropType<import("el-plus/es/components/buttons").ButtonProps[]>;
1408
1412
  default: () => never[];
1409
1413
  };
@@ -2132,7 +2136,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
2132
2136
  };
2133
2137
  readonly preserveExpandedContent: BooleanConstructor;
2134
2138
  readonly nativeScrollbar: BooleanConstructor;
2135
- }>> & Readonly<{}>, "search" | "validate" | "resetFields" | "clearValidate" | "elFormRef" | "elTableRef" | "openCustomColumnDialog" | ("data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "linkProps" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar")> & import("vue").ShallowUnwrapRef<{
2139
+ }>> & Readonly<{}>, "search" | "validate" | "resetFields" | "clearValidate" | "elFormRef" | "elTableRef" | "openCustomColumnDialog" | ("data" | "style" | "size" | "disabled" | "className" | "border" | "align" | "lazy" | "headerCellStyle" | "columns" | "showSelectionCol" | "showSingleSelectionCol" | "showIndexCol" | "actionColWidth" | "reserveSelection" | "paginationProps" | "showPagination" | "isFrontPage" | "actionButtons" | "formatColumns" | "isInitSearch" | "fit" | "stripe" | "showHeader" | "showSummary" | "highlightCurrentRow" | "defaultExpandAll" | "selectOnIndeterminate" | "indent" | "treeProps" | "tableLayout" | "scrollbarAlwaysOn" | "flexible" | "scrollbarTabindex" | "allowDragLastColumn" | "preserveExpandedContent" | "nativeScrollbar")> & import("vue").ShallowUnwrapRef<{
2136
2140
  elFormRef: Readonly<import("vue").ShallowRef<import("element-plus").FormInstance | null>>;
2137
2141
  elTableRef: Readonly<import("vue").ShallowRef<import("element-plus").TableInstance | null>>;
2138
2142
  validate: () => import("element-plus").FormValidationResult;
@@ -2436,7 +2440,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
2436
2440
  readonly type: import("vue").PropType<import("el-plus/es/components/buttons").ButtonProps[]>;
2437
2441
  readonly default: () => never[];
2438
2442
  };
2439
- readonly linkProps: {
2443
+ readonly formatColumns: {
2440
2444
  readonly type: import("vue").PropType<import("el-plus/es/components/buttons").ButtonProps[]>;
2441
2445
  readonly default: () => never[];
2442
2446
  };
@@ -2496,6 +2500,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
2496
2500
  type: string;
2497
2501
  props: Record<string, any>;
2498
2502
  filter: boolean;
2503
+ editable: boolean | ((formData: Record<string, any>) => void);
2499
2504
  } & {} & {
2500
2505
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
2501
2506
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
@@ -2517,7 +2522,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
2517
2522
  show?: (boolean | ((T: unknown) => boolean)) | undefined;
2518
2523
  hide?: (boolean | ((T: unknown) => boolean)) | undefined;
2519
2524
  }>[];
2520
- readonly linkProps: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
2525
+ readonly formatColumns: Partial<Omit<import("element-plus").ButtonProps, "disabled"> & {
2521
2526
  name: string;
2522
2527
  prop: string;
2523
2528
  permission: string;