@wlydfe/pro-ui 0.2.7 → 0.2.8

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 (134) hide show
  1. package/README.md +119 -119
  2. package/es/components/check-card/index.d.ts +4 -4
  3. package/es/components/check-card/src/index.vue.d.ts +1 -1
  4. package/es/components/check-card-group/index.d.ts +4 -4
  5. package/es/components/check-card-group/src/index.vue.d.ts +1 -1
  6. package/es/components/date-picker/index.d.ts +11 -11
  7. package/es/components/date-picker/src/index.vue.d.ts +11 -11
  8. package/es/components/descriptions/index.d.ts +19 -19
  9. package/es/components/descriptions/src/index.vue.d.ts +1 -1
  10. package/es/components/dialog/index.d.ts +30 -30
  11. package/es/components/dialog/src/index.vue.d.ts +2 -2
  12. package/es/components/dialog-form/index.d.ts +6 -6
  13. package/es/components/dialog-form/src/index.vue.d.ts +3 -3
  14. package/es/components/display-item/index.d.ts +25 -25
  15. package/es/components/display-item/src/index.vue.d.ts +7 -7
  16. package/es/components/display-item/src/index.vue2.mjs +3 -0
  17. package/es/components/drawer-form/index.d.ts +36 -36
  18. package/es/components/drawer-form/src/index.vue.d.ts +5 -5
  19. package/es/components/form/index.d.ts +88 -88
  20. package/es/components/form/src/form-content.vue.d.ts +9 -9
  21. package/es/components/form/src/index.vue.d.ts +11 -11
  22. package/es/components/form-item/index.d.ts +84 -84
  23. package/es/components/form-item/src/index.vue.d.ts +16 -12
  24. package/es/components/input-tag/index.d.ts +6 -6
  25. package/es/components/input-tag/src/index.vue.d.ts +3 -3
  26. package/es/components/page/index.d.ts +988 -988
  27. package/es/components/page/src/index.vue.d.ts +419 -387
  28. package/es/components/page/src/index.vue2.mjs +10 -3
  29. package/es/components/pagination/index.d.ts +27 -27
  30. package/es/components/pagination/src/index.vue.d.ts +3 -3
  31. package/es/components/popover/index.d.ts +49 -49
  32. package/es/components/popover/src/index.vue.d.ts +3 -3
  33. package/es/components/radio/index.d.ts +10 -10
  34. package/es/components/radio/src/index.vue.d.ts +2 -2
  35. package/es/components/render/index.d.ts +14 -14
  36. package/es/components/render/src/index.vue.d.ts +1 -1
  37. package/es/components/search/index.d.ts +266 -266
  38. package/es/components/search/src/index.vue.d.ts +77 -77
  39. package/es/components/sidebar/index.d.ts +16 -16
  40. package/es/components/steps-form/index.d.ts +23 -23
  41. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  42. package/es/components/table/index.d.ts +164 -164
  43. package/es/components/table/src/index.vue.d.ts +13 -13
  44. package/es/components/table/src/table-column-drag-sort.vue.d.ts +2 -2
  45. package/es/components/table/src/table-column-index.vue.d.ts +1 -1
  46. package/es/components/table/src/table-column.vue.d.ts +25 -43
  47. package/es/components/table/src/table-title-bar.vue.d.ts +1 -1
  48. package/es/index.css +13 -13
  49. package/global.d.ts +29 -29
  50. package/index.js +13 -3
  51. package/index.min.js +2 -2
  52. package/index.min.mjs +2 -2
  53. package/index.mjs +13 -3
  54. package/lib/components/check-card/index.d.ts +4 -4
  55. package/lib/components/check-card/src/index.vue.d.ts +1 -1
  56. package/lib/components/check-card-group/index.d.ts +4 -4
  57. package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
  58. package/lib/components/date-picker/index.d.ts +11 -11
  59. package/lib/components/date-picker/src/index.vue.d.ts +11 -11
  60. package/lib/components/descriptions/index.d.ts +19 -19
  61. package/lib/components/descriptions/src/index.vue.d.ts +1 -1
  62. package/lib/components/dialog/index.d.ts +30 -30
  63. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  64. package/lib/components/dialog-form/index.d.ts +6 -6
  65. package/lib/components/dialog-form/src/index.vue.d.ts +3 -3
  66. package/lib/components/display-item/index.d.ts +25 -25
  67. package/lib/components/display-item/src/index.vue.d.ts +7 -7
  68. package/lib/components/display-item/src/index.vue2.js +3 -0
  69. package/lib/components/drawer-form/index.d.ts +36 -36
  70. package/lib/components/drawer-form/src/index.vue.d.ts +5 -5
  71. package/lib/components/form/index.d.ts +88 -88
  72. package/lib/components/form/src/form-content.vue.d.ts +9 -9
  73. package/lib/components/form/src/index.vue.d.ts +11 -11
  74. package/lib/components/form-item/index.d.ts +84 -84
  75. package/lib/components/form-item/src/index.vue.d.ts +16 -12
  76. package/lib/components/input-tag/index.d.ts +6 -6
  77. package/lib/components/input-tag/src/index.vue.d.ts +3 -3
  78. package/lib/components/page/index.d.ts +988 -988
  79. package/lib/components/page/src/index.vue.d.ts +419 -387
  80. package/lib/components/page/src/index.vue2.js +9 -2
  81. package/lib/components/pagination/index.d.ts +27 -27
  82. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  83. package/lib/components/popover/index.d.ts +49 -49
  84. package/lib/components/popover/src/index.vue.d.ts +3 -3
  85. package/lib/components/radio/index.d.ts +10 -10
  86. package/lib/components/radio/src/index.vue.d.ts +2 -2
  87. package/lib/components/render/index.d.ts +14 -14
  88. package/lib/components/render/src/index.vue.d.ts +1 -1
  89. package/lib/components/search/index.d.ts +266 -266
  90. package/lib/components/search/src/index.vue.d.ts +77 -77
  91. package/lib/components/sidebar/index.d.ts +16 -16
  92. package/lib/components/steps-form/index.d.ts +23 -23
  93. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  94. package/lib/components/table/index.d.ts +164 -164
  95. package/lib/components/table/src/index.vue.d.ts +13 -13
  96. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +2 -2
  97. package/lib/components/table/src/table-column-index.vue.d.ts +1 -1
  98. package/lib/components/table/src/table-column.vue.d.ts +25 -43
  99. package/lib/components/table/src/table-title-bar.vue.d.ts +1 -1
  100. package/lib/index.css +13 -13
  101. package/locale/en.js +1 -1
  102. package/locale/en.min.js +1 -1
  103. package/locale/en.min.mjs +1 -1
  104. package/locale/en.mjs +1 -1
  105. package/locale/ja.js +1 -1
  106. package/locale/ja.min.js +1 -1
  107. package/locale/ja.min.mjs +1 -1
  108. package/locale/ja.mjs +1 -1
  109. package/locale/ko.js +1 -1
  110. package/locale/ko.min.js +1 -1
  111. package/locale/ko.min.mjs +1 -1
  112. package/locale/ko.mjs +1 -1
  113. package/locale/zh-cn.js +1 -1
  114. package/locale/zh-cn.min.js +1 -1
  115. package/locale/zh-cn.min.mjs +1 -1
  116. package/locale/zh-cn.mjs +1 -1
  117. package/locale/zh-tw.js +1 -1
  118. package/locale/zh-tw.min.js +1 -1
  119. package/locale/zh-tw.min.mjs +1 -1
  120. package/locale/zh-tw.mjs +1 -1
  121. package/package.json +1 -1
  122. package/theme-chalk/src/breadcrumb.scss +9 -9
  123. package/theme-chalk/src/date-picker.scss +96 -96
  124. package/theme-chalk/src/descriptions.scss +41 -41
  125. package/theme-chalk/src/display-item.scss +82 -82
  126. package/theme-chalk/src/drawer-form.scss +16 -16
  127. package/theme-chalk/src/form.scss +34 -34
  128. package/theme-chalk/src/input-tag.scss +91 -91
  129. package/theme-chalk/src/layout.scss +36 -36
  130. package/theme-chalk/src/mixins/function.scss +73 -73
  131. package/theme-chalk/src/search.scss +49 -49
  132. package/theme-chalk/src/sidebar.scss +93 -93
  133. package/theme-chalk/src/table.scss +170 -170
  134. package/theme-chalk/src/var/index.scss +6 -6
@@ -239,7 +239,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
239
239
  scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
240
240
  setScrollLeft: (left?: number | undefined) => void;
241
241
  setScrollTop: (top?: number | undefined) => void;
242
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "current-change" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend" | "expand-change" | "cell-click" | "cell-dblclick")[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
242
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change" | "cell-click" | "cell-dblclick")[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
243
243
  data: {
244
244
  type: PropType<any[]>;
245
245
  default: () => never[];
@@ -637,16 +637,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
637
637
  editable: boolean;
638
638
  adaptive: boolean;
639
639
  }>>> & {
640
+ onRefresh?: (() => any) | undefined;
641
+ onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
640
642
  onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
641
643
  onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
644
+ onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
642
645
  onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
646
+ onEdited?: (() => any) | undefined;
643
647
  "onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
644
648
  "onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
645
- onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
646
- onRefresh?: (() => any) | undefined;
647
649
  onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
648
- onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
649
- onEdited?: (() => any) | undefined;
650
650
  onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
651
651
  }, {
652
652
  columns: PlusColumn[];
@@ -658,11 +658,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
658
658
  columnIndex: number;
659
659
  }) => CSSProperties>;
660
660
  rowKey: string | ((row: any[]) => string);
661
+ tableData: RecordType[];
662
+ defaultSize: "" | "default" | "small" | "large";
663
+ pagination: false | Partial<PlusPaginationProps>;
661
664
  actionBar: false | Partial< ActionBarProps>;
662
- editable: boolean | "click" | "dblclick";
663
- indexTableColumnProps: Partial< TableColumnCtx<any>>;
664
- indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
665
- dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
665
+ hasIndexColumn: boolean;
666
666
  titleBar: boolean | Partial<Partial<{
667
667
  title?: string | undefined;
668
668
  refresh?: boolean | undefined;
@@ -673,20 +673,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
673
673
  color?: string | undefined;
674
674
  } | undefined;
675
675
  }>>;
676
- defaultSize: "" | "default" | "small" | "large";
677
- tableData: RecordType[];
678
- pagination: false | Partial<PlusPaginationProps>;
679
- hasIndexColumn: boolean;
680
676
  isSelection: boolean | "radio";
681
677
  isRadio: boolean;
682
678
  hasExpand: boolean;
683
679
  loadingStatus: boolean;
684
680
  dragSortable: false | Partial< Options>;
681
+ dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
682
+ indexTableColumnProps: Partial< TableColumnCtx<any>>;
685
683
  selectionTableColumnProps: Partial< TableColumnCtx<any>>;
686
684
  radioTableColumnProps: Partial< TableColumnCtx<any>>;
687
685
  radioProps: Partial<PlusRadioProps>;
688
686
  defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
689
687
  expandTableColumnProps: Partial< TableColumnCtx<any>>;
688
+ indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
689
+ editable: boolean | "click" | "dblclick";
690
690
  adaptive: boolean | {
691
691
  offsetBottom?: number | undefined;
692
692
  timeout?: number | undefined;
@@ -28,6 +28,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
28
28
  onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
29
29
  }, {
30
30
  sortable: boolean | SortableOptions;
31
+ dragSortableTableColumnProps: RecordType;
31
32
  tableInstance: CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
32
33
  data: {
33
34
  type: PropType<any[]>;
@@ -224,7 +225,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
224
225
  scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
225
226
  setScrollLeft: (left?: number | undefined) => void;
226
227
  setScrollTop: (top?: number | undefined) => void;
227
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "current-change" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend" | "expand-change" | "cell-click" | "cell-dblclick")[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
228
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "current-change" | "header-dragend" | "expand-change" | "cell-click" | "cell-dblclick")[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
228
229
  data: {
229
230
  type: PropType<any[]>;
230
231
  default: () => never[];
@@ -577,7 +578,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
577
578
  indent: number;
578
579
  flexible: boolean;
579
580
  }> | null;
580
- dragSortableTableColumnProps: RecordType;
581
581
  }, {}>, {
582
582
  "drag-sort-icon"?(_: {}): any;
583
583
  }>;
@@ -22,9 +22,9 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
22
22
  indexContentStyle: () => {};
23
23
  indexTableColumnProps: () => {};
24
24
  }>>>, {
25
- pageInfo: PageInfo;
26
25
  indexTableColumnProps: Partial<TableColumnCtx<any>>;
27
26
  indexContentStyle: Partial<CSSProperties> | ((row: RecordType, index: number) => Partial<CSSProperties>);
27
+ pageInfo: PageInfo;
28
28
  }, {}>;
29
29
  export default _default;
30
30
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -28,15 +28,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
28
28
  formProps: PlusFormProps;
29
29
  rest: RecordType;
30
30
  column: PlusColumn;
31
- row: RecordType;
32
31
  editable: boolean | "click" | "dblclick";
32
+ row: RecordType;
33
33
  }> & Omit<{
34
34
  readonly index: number;
35
35
  readonly formProps: PlusFormProps;
36
36
  readonly rest: RecordType;
37
37
  readonly column: PlusColumn;
38
- readonly row: RecordType;
39
38
  readonly editable: boolean | "click" | "dblclick";
39
+ readonly row: RecordType;
40
40
  onChange?: ((data: {
41
41
  value: FieldValueType;
42
42
  prop: string;
@@ -63,22 +63,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
63
63
  label: string;
64
64
  };
65
65
  };
66
+ editable: {
67
+ type: PropType<boolean | "click" | "dblclick">;
68
+ default: boolean;
69
+ };
66
70
  row: {
67
71
  type: PropType<RecordType>;
68
72
  required: true;
69
73
  default: () => {};
70
74
  };
71
- editable: {
72
- type: PropType<boolean | "click" | "dblclick">;
73
- default: boolean;
74
- };
75
75
  }>> & {
76
76
  onChange?: ((data: {
77
77
  value: FieldValueType;
78
78
  prop: string;
79
79
  row: RecordType;
80
80
  }) => any) | undefined;
81
- }, "index" | "formProps" | "rest" | "column" | "row" | "editable">;
81
+ }, "index" | "formProps" | "rest" | "column" | "editable" | "row">;
82
82
  $attrs: {
83
83
  [x: string]: unknown;
84
84
  };
@@ -117,15 +117,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
117
117
  label: string;
118
118
  };
119
119
  };
120
+ editable: {
121
+ type: PropType<boolean | "click" | "dblclick">;
122
+ default: boolean;
123
+ };
120
124
  row: {
121
125
  type: PropType<RecordType>;
122
126
  required: true;
123
127
  default: () => {};
124
128
  };
125
- editable: {
126
- type: PropType<boolean | "click" | "dblclick">;
127
- default: boolean;
128
- };
129
129
  }>> & {
130
130
  onChange?: ((data: {
131
131
  value: FieldValueType;
@@ -154,8 +154,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
154
154
  formProps: PlusFormProps;
155
155
  rest: RecordType;
156
156
  column: PlusColumn;
157
- row: RecordType;
158
157
  editable: boolean | "click" | "dblclick";
158
+ row: RecordType;
159
159
  }, {}, string, {}> & {
160
160
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
161
161
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -197,15 +197,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
197
197
  label: string;
198
198
  };
199
199
  };
200
+ editable: {
201
+ type: PropType<boolean | "click" | "dblclick">;
202
+ default: boolean;
203
+ };
200
204
  row: {
201
205
  type: PropType<RecordType>;
202
206
  required: true;
203
207
  default: () => {};
204
208
  };
205
- editable: {
206
- type: PropType<boolean | "click" | "dblclick">;
207
- default: boolean;
208
- };
209
209
  }>> & {
210
210
  onChange?: ((data: {
211
211
  value: FieldValueType;
@@ -225,7 +225,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
225
225
  };
226
226
  }> & {} & ComponentCustomProperties & {} & {
227
227
  $slots: Partial<Record<string, (_: {
228
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "options" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
228
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
229
229
  readonly label: string | ComputedRef<string>;
230
230
  readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
231
231
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
@@ -239,16 +239,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
239
239
  style: CSSProperties;
240
240
  rows: number;
241
241
  autocomplete: string;
242
- type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
242
+ 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";
243
243
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
244
244
  step: string | number;
245
- format: string | ProgressFn | undefined; /**
246
- * 表单发生变化
247
- * @param data
248
- * @param index
249
- * @param column
250
- * @param item
251
- */
245
+ format: string | ProgressFn | undefined;
252
246
  filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
253
247
  id: string | [string, string];
254
248
  effect: string;
@@ -306,7 +300,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
306
300
  clearable: boolean;
307
301
  index: number;
308
302
  }) => any>> & Partial<Record<string, (_: {
309
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "options" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
303
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
310
304
  readonly label: string | ComputedRef<string>;
311
305
  readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
312
306
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
@@ -320,16 +314,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
320
314
  style: CSSProperties;
321
315
  rows: number;
322
316
  autocomplete: string;
323
- type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
317
+ 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";
324
318
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
325
319
  step: string | number;
326
- format: string | ProgressFn | undefined; /**
327
- * 表单发生变化
328
- * @param data
329
- * @param index
330
- * @param column
331
- * @param item
332
- */
320
+ format: string | ProgressFn | undefined;
333
321
  filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
334
322
  id: string | [string, string];
335
323
  effect: string;
@@ -387,7 +375,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
387
375
  clearable: boolean;
388
376
  index: number;
389
377
  }) => any>> & Partial<Record<string, (_: {
390
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "options" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
378
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
391
379
  readonly label: string | ComputedRef<string>;
392
380
  readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
393
381
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
@@ -401,16 +389,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
401
389
  style: CSSProperties;
402
390
  rows: number;
403
391
  autocomplete: string;
404
- type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
392
+ 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";
405
393
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
406
394
  step: string | number;
407
- format: string | ProgressFn | undefined; /**
408
- * 表单发生变化
409
- * @param data
410
- * @param index
411
- * @param column
412
- * @param item
413
- */
395
+ format: string | ProgressFn | undefined;
414
396
  filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
415
397
  id: string | [string, string];
416
398
  effect: string;
@@ -43,6 +43,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
43
43
  onClickDensity?: ((size: "" | "default" | "small" | "large") => any) | undefined;
44
44
  }, {
45
45
  columns: PlusColumn[];
46
+ defaultSize: "" | "default" | "small" | "large";
46
47
  titleBar: boolean | Partial<Partial<{
47
48
  title?: string | undefined;
48
49
  refresh?: boolean | undefined;
@@ -53,7 +54,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
53
54
  color?: string | undefined;
54
55
  } | undefined;
55
56
  }>>;
56
- defaultSize: "" | "default" | "small" | "large";
57
57
  columnsIsChange: boolean;
58
58
  }, {}>, {
59
59
  title?(_: {}): any;
package/es/index.css CHANGED
@@ -1,22 +1,22 @@
1
- .plus-date-picker{align-items:center;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);display:flex;flex-wrap:nowrap;max-width:100%;width:-moz-fit-content;width:fit-content}.plus-date-picker:hover{border-color:var(--el-border-color-hover)}.plus-date-picker.is-focus{border-color:var(--el-color-primary)}.plus-date-picker.is-disabled{background-color:var(--el-disabled-bg-color)}.plus-date-picker.is-disabled:hover{border-color:var(--el-border-color)}.plus-date-picker .plus-date-picker__middle{color:var(--el-text-color-placeholder)}.plus-date-picker .plus-date-picker__start{flex:1;font-size:14px}.plus-date-picker .plus-date-picker__start.is-disabled .el-input__wrapper{box-shadow:none}.plus-date-picker .plus-date-picker__start .el-input__wrapper{border:none;box-shadow:none}.plus-date-picker .el-input__wrapper{width:100%}.plus-date-picker .el-input__wrapper:hover{box-shadow:none}.plus-date-picker .el-input__wrapper.is-focus{box-shadow:none}.plus-date-picker .plus-date-picker__end{flex:1;font-size:14px}.plus-date-picker .plus-date-picker__end.is-disabled .el-input__wrapper{box-shadow:none}.plus-date-picker .plus-date-picker__end .el-input__wrapper{border:none;box-shadow:none}.el-form-item.is-error .plus-date-picker{border-color:var(--el-color-danger)}.el-form-item.is-error .plus-date-picker .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-date-picker .el-input__wrapper.is-focus{box-shadow:none!important}.el-form-item.is-error .plus-date-picker .el-input__wrapper:hover{box-shadow:none}
2
- .plus-description .plus-description__name{word-wrap:break-word;max-width:200px}.plus-description .plus-description__label{min-width:80px}.plus-description .plus-description__label.is-required:before{color:var(--el-color-danger);content:"*";margin-right:4px}.plus-description.no-border .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:0}.plus-description.no-border .el-descriptions__body .el-descriptions__label.el-descriptions__cell.is-bordered-label{background-color:var(--el-fill-color-blank)}
3
1
  .plus-check-card-group{display:flex;flex-wrap:wrap}.plus-check-card-group .plus-check-card{margin-bottom:16px;margin-right:16px}
4
- .plus-dialog .plus-dialog-footer{align-items:center;display:flex}
2
+ .plus-description .plus-description__name{word-wrap:break-word;max-width:200px}.plus-description .plus-description__label{min-width:80px}.plus-description .plus-description__label.is-required:before{color:var(--el-color-danger);content:"*";margin-right:4px}.plus-description.no-border .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:0}.plus-description.no-border .el-descriptions__body .el-descriptions__label.el-descriptions__cell.is-bordered-label{background-color:var(--el-fill-color-blank)}
5
3
 
6
- .plus-check-card{border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-text-color-regular);cursor:pointer;display:flex;overflow:hidden;padding-block:16px;padding-inline:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-check-card--large{width:440px}.plus-check-card--default{width:320px}.plus-check-card--small{width:200px}.plus-check-card--checked{background-color:rgba(var(--el-color-primary-rgb),.1);border-color:var(--el-color-primary);position:relative}.plus-check-card--checked:after{-webkit-border-after:10px solid transparent;-webkit-border-start:10px solid transparent;border:10px solid var(--el-color-primary);border-block-end:10px solid transparent;border-inline-start:10px solid transparent;border-start-end-radius:6px;content:"";height:0;inset-block-start:2px;inset-inline-end:2px;position:absolute;width:0}.plus-check-card--disabled{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);cursor:not-allowed}.plus-check-card--disabled:after{border-right-color:var(--el-color-info-light-5);border-top-color:var(--el-color-info-light-5)}.plus-check-card .plus-check-card__avatar-wrapper{-webkit-padding-end:8px;padding-inline-end:8px}.plus-check-card .plus-check-card__right-content{overflow:hidden;width:100%}.plus-check-card .plus-check-card__title{-webkit-margin-after:4px;align-items:center;color:var(--el-text-color-primary);display:flex;justify-content:space-between;margin-block-end:4px;width:100%}.plus-check-card .plus-check-card__title-left{align-items:center;display:flex}.plus-check-card .plus-check-card__title-right{align-items:center;display:flex;vertical-align:middle}.plus-check-card .plus-check-card__description{color:var(--el-text-color-regular);width:100%;word-break:break-all}
7
- .plus-pagination{align-items:center;display:flex;justify-content:space-between;padding:16px 0}
8
- .plus-form.no-has-label+.el-form-item__label{padding:0;width:0}.plus-form .plus-form__footer{display:flex;justify-content:flex-end}.plus-form .plus-form__group__item{margin-bottom:20px}.plus-form .plus-form__group__item .plus-form__group__item__icon{align-items:center;display:flex}.plus-form .plus-form__group__item .plus-form__group__item__icon .el-icon{margin-right:5px}.plus-form .plus-form-item-extra{color:var(--el-text-color-placeholder);font-size:var(--el-font-size-base);margin-bottom:18px}
9
4
  .plus-breadcrumb{margin-bottom:8px}.plus-breadcrumb.no-data{margin-bottom:0}
5
+ .plus-dialog .plus-dialog-footer{align-items:center;display:flex}
10
6
  .plus-form-item{width:100%}.plus-form-item .plus-form-item__label{align-items:center;display:inline-flex}.plus-form-item .plus-form-item__label .plus-table-column__label__icon{margin-left:2px}.plus-form-item .plus-form-item-field,.plus-form-item .plus-form-item-field.el-date-editor{width:100%}
7
+ .plus-form.no-has-label+.el-form-item__label{padding:0;width:0}.plus-form .plus-form__footer{display:flex;justify-content:flex-end}.plus-form .plus-form__group__item{margin-bottom:20px}.plus-form .plus-form__group__item .plus-form__group__item__icon{align-items:center;display:flex}.plus-form .plus-form__group__item .plus-form__group__item__icon .el-icon{margin-right:5px}.plus-form .plus-form-item-extra{color:var(--el-text-color-placeholder);font-size:var(--el-font-size-base);margin-bottom:18px}
8
+ .plus-pagination{align-items:center;display:flex;justify-content:space-between;padding:16px 0}
11
9
  .plus-drawer-form .el-drawer__header{border-bottom:1px solid var(--el-border-color);margin-bottom:0;padding-bottom:calc(var(--el-drawer-padding-primary)/2);padding-top:calc(var(--el-drawer-padding-primary)/2)}.plus-drawer-form .el-drawer__footer{border-top:1px solid var(--el-border-color);padding-bottom:calc(var(--el-drawer-padding-primary)/2)}
12
- .plus-input-tag{align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;display:flex;flex-wrap:wrap;max-width:100%;padding:1px 2px;width:-moz-fit-content;width:fit-content}.plus-input-tag:hover{border-color:var(--el-border-color-hover)}.plus-input-tag.is-focus{border-color:var(--el-color-primary)}.plus-input-tag.is-disabled{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.plus-input-tag.is-disabled:hover{border-color:var(--el-border-color)}.plus-input-tag.is-disabled .el-tag__close{cursor:not-allowed}.plus-input-tag.is-disabled .el-tag__close:hover{background-color:transparent;color:var(--el-tag-hover-color)}.plus-input-tag .plus-input-tag__tag{margin-bottom:1px;margin-right:4px;margin-top:1px}.plus-input-tag .plus-input-tag__input{box-sizing:border-box;flex:1;min-width:85px;padding:0}.plus-input-tag .plus-input-tag__input .el-input__wrapper{box-shadow:none;box-sizing:border-box;padding:0 4px}.plus-input-tag .plus-input-tag__input .el-input__inner{height:24px;line-height:24px}.plus-input-tag .el-input.is-disabled .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-input-tag{border-color:var(--el-color-danger)}.el-form-item.is-error .plus-input-tag .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-input-tag .el-input__wrapper.is-focus{box-shadow:none!important}.el-form-item.is-error .plus-input-tag .el-input__wrapper:hover{box-shadow:none}
13
- :root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-header{align-items:center;border-bottom:1px solid var(--el-border-color);display:flex;justify-content:space-around}.plus-header.is-fixed{left:0;position:fixed;top:0;width:100%}.plus-header .plus-header__left{align-items:center;display:flex}.plus-header .plus-header__left .plus-header__logo{height:28px}.plus-header .plus-header__left .plus-header__title{color:var(--el-text-color-regular);font-size:18px;font-weight:600;margin:0 0 0 12px;padding:0}.plus-header .plus-header__placeholder{flex:1 1 0%}.plus-header .plus-header__right{align-items:center;display:flex}.plus-header .plus-header__right .plus-header__dropdown-area{align-items:center;cursor:pointer;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-header .plus-header__right .plus-header__avatar{border-radius:50%;height:24px;margin-right:4px;width:24px}.plus-header-placeholder{height:var(--plus-header-height);width:100%}
14
- .plus-display-item__edit-icon{margin-left:8px}.plus-display-item__image{cursor:pointer;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:30px}.plus-display-item__icon__copy{-webkit-margin-start:4px;color:var(--el-color-primary);cursor:pointer;margin-inline-start:4px;outline:none;text-decoration:none;transition:color .3s;vertical-align:sub}.plus-display-item__pre{background-color:var(--el-color-primary-light-9);border-radius:3px;font-size:85%;line-height:1.45;overflow:auto;padding:0;width:unset}.plus-display-item__badge.is-list .plus-display-item__badge__item+.plus-display-item__badge__item{padding-left:8px}.plus-display-item__badge .plus-display-item__badge__dot{border-radius:50%;display:inline-block;height:6px;position:relative;top:-1px;vertical-align:middle;width:6px}.plus-display-item__badge .plus-display-item__badge__dot--primary{background-color:var(--el-color-primary)}.plus-display-item__badge .plus-display-item__badge__dot--success{background-color:var(--el-color-success)}.plus-display-item__badge .plus-display-item__badge__dot--info{background-color:var(--el-color-info)}.plus-display-item__badge .plus-display-item__badge__dot--warning{background-color:var(--el-color-warning)}.plus-display-item__badge .plus-display-item__badge__dot--danger{background-color:var(--el-color-danger)}.plus-display-item__form .plus-form-item{margin-bottom:0}.plus-display-item__link{max-width:100%}.plus-display-item__link .el-link__inner{display:inline-block;width:100%}
15
- :root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-layout{height:100vh;overflow:hidden}.plus-layout.el-container{flex-direction:column}.plus-layout .plus-sidebar{height:calc(100vh - var(--plus-header-height));min-width:var(--plus-sidebar-min-width)}.plus-layout .plus-layout-main{flex:1;height:calc(100vh - var(--plus-header-height));width:calc(100% - var(--plus-sidebar-width))}.plus-layout.collapse .plus-layout-main{width:calc(100% - var(--plus-sidebar-min-width))}.plus-layout .plus-layout-content{padding:0}
16
-
17
10
  .plus-search .plus-form__row{row-gap:18px;width:100%}.plus-search.el-form--inline .el-form-item{margin-bottom:0;margin-right:0}.plus-search.el-form--label-top .plus-search__button__wrapper .el-form-item__label{opacity:0;visibility:hidden}.plus-search.el-form--label-top .plus-search__button__wrapper .el-form-item__content{justify-content:flex-end}.plus-search .plus-search__unfold{margin-left:12px}.plus-search .plus-search__button__wrapper{align-items:flex-start;display:flex;flex:auto;justify-content:flex-end;margin-bottom:0;max-width:100%}.plus-search .plus-search__button__wrapper.el-form-item{margin-right:10px}.plus-search .plus-search__button__wrapper .el-form-item__content{flex:none;flex-wrap:nowrap}
11
+
12
+ .plus-date-picker{align-items:center;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);display:flex;flex-wrap:nowrap;max-width:100%;width:-moz-fit-content;width:fit-content}.plus-date-picker:hover{border-color:var(--el-border-color-hover)}.plus-date-picker.is-focus{border-color:var(--el-color-primary)}.plus-date-picker.is-disabled{background-color:var(--el-disabled-bg-color)}.plus-date-picker.is-disabled:hover{border-color:var(--el-border-color)}.plus-date-picker .plus-date-picker__middle{color:var(--el-text-color-placeholder)}.plus-date-picker .plus-date-picker__start{flex:1;font-size:14px}.plus-date-picker .plus-date-picker__start.is-disabled .el-input__wrapper{box-shadow:none}.plus-date-picker .plus-date-picker__start .el-input__wrapper{border:none;box-shadow:none}.plus-date-picker .el-input__wrapper{width:100%}.plus-date-picker .el-input__wrapper:hover{box-shadow:none}.plus-date-picker .el-input__wrapper.is-focus{box-shadow:none}.plus-date-picker .plus-date-picker__end{flex:1;font-size:14px}.plus-date-picker .plus-date-picker__end.is-disabled .el-input__wrapper{box-shadow:none}.plus-date-picker .plus-date-picker__end .el-input__wrapper{border:none;box-shadow:none}.el-form-item.is-error .plus-date-picker{border-color:var(--el-color-danger)}.el-form-item.is-error .plus-date-picker .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-date-picker .el-input__wrapper.is-focus{box-shadow:none!important}.el-form-item.is-error .plus-date-picker .el-input__wrapper:hover{box-shadow:none}
18
13
  .plus-page .plus-page__table_wrapper{margin-top:20px}
14
+ :root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-layout{height:100vh;overflow:hidden}.plus-layout.el-container{flex-direction:column}.plus-layout .plus-sidebar{height:calc(100vh - var(--plus-header-height));min-width:var(--plus-sidebar-min-width)}.plus-layout .plus-layout-main{flex:1;height:calc(100vh - var(--plus-header-height));width:calc(100% - var(--plus-sidebar-width))}.plus-layout.collapse .plus-layout-main{width:calc(100% - var(--plus-sidebar-min-width))}.plus-layout .plus-layout-content{padding:0}
15
+ :root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-header{align-items:center;border-bottom:1px solid var(--el-border-color);display:flex;justify-content:space-around}.plus-header.is-fixed{left:0;position:fixed;top:0;width:100%}.plus-header .plus-header__left{align-items:center;display:flex}.plus-header .plus-header__left .plus-header__logo{height:28px}.plus-header .plus-header__left .plus-header__title{color:var(--el-text-color-regular);font-size:18px;font-weight:600;margin:0 0 0 12px;padding:0}.plus-header .plus-header__placeholder{flex:1 1 0%}.plus-header .plus-header__right{align-items:center;display:flex}.plus-header .plus-header__right .plus-header__dropdown-area{align-items:center;cursor:pointer;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-header .plus-header__right .plus-header__avatar{border-radius:50%;height:24px;margin-right:4px;width:24px}.plus-header-placeholder{height:var(--plus-header-height);width:100%}
16
+ .plus-input-tag{align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;display:flex;flex-wrap:wrap;max-width:100%;padding:1px 2px;width:-moz-fit-content;width:fit-content}.plus-input-tag:hover{border-color:var(--el-border-color-hover)}.plus-input-tag.is-focus{border-color:var(--el-color-primary)}.plus-input-tag.is-disabled{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.plus-input-tag.is-disabled:hover{border-color:var(--el-border-color)}.plus-input-tag.is-disabled .el-tag__close{cursor:not-allowed}.plus-input-tag.is-disabled .el-tag__close:hover{background-color:transparent;color:var(--el-tag-hover-color)}.plus-input-tag .plus-input-tag__tag{margin-bottom:1px;margin-right:4px;margin-top:1px}.plus-input-tag .plus-input-tag__input{box-sizing:border-box;flex:1;min-width:85px;padding:0}.plus-input-tag .plus-input-tag__input .el-input__wrapper{box-shadow:none;box-sizing:border-box;padding:0 4px}.plus-input-tag .plus-input-tag__input .el-input__inner{height:24px;line-height:24px}.plus-input-tag .el-input.is-disabled .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-input-tag{border-color:var(--el-color-danger)}.el-form-item.is-error .plus-input-tag .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-input-tag .el-input__wrapper.is-focus{box-shadow:none!important}.el-form-item.is-error .plus-input-tag .el-input__wrapper:hover{box-shadow:none}
17
+ .plus-display-item__edit-icon{margin-left:8px}.plus-display-item__image{cursor:pointer;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:30px}.plus-display-item__icon__copy{-webkit-margin-start:4px;color:var(--el-color-primary);cursor:pointer;margin-inline-start:4px;outline:none;text-decoration:none;transition:color .3s;vertical-align:sub}.plus-display-item__pre{background-color:var(--el-color-primary-light-9);border-radius:3px;font-size:85%;line-height:1.45;overflow:auto;padding:0;width:unset}.plus-display-item__badge.is-list .plus-display-item__badge__item+.plus-display-item__badge__item{padding-left:8px}.plus-display-item__badge .plus-display-item__badge__dot{border-radius:50%;display:inline-block;height:6px;position:relative;top:-1px;vertical-align:middle;width:6px}.plus-display-item__badge .plus-display-item__badge__dot--primary{background-color:var(--el-color-primary)}.plus-display-item__badge .plus-display-item__badge__dot--success{background-color:var(--el-color-success)}.plus-display-item__badge .plus-display-item__badge__dot--info{background-color:var(--el-color-info)}.plus-display-item__badge .plus-display-item__badge__dot--warning{background-color:var(--el-color-warning)}.plus-display-item__badge .plus-display-item__badge__dot--danger{background-color:var(--el-color-danger)}.plus-display-item__form .plus-form-item{margin-bottom:0}.plus-display-item__link{max-width:100%}.plus-display-item__link .el-link__inner{display:inline-block;width:100%}
19
18
  .plus-steps-form .el-steps{margin-bottom:20px}.plus-steps-form-vertical{display:flex}.plus-steps-form-vertical .el-steps--vertical{margin-right:20px}.plus-steps-form-vertical .plus-form{flex:1}
20
- :root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-sidebar{height:100%}.plus-sidebar.is-vertical{min-height:400px}.plus-sidebar.is-vertical:not(.el-menu--collapse){flex-shrink:0;width:var(--plus-sidebar-width)}.plus-sidebar.is-vertical.el-menu--collapse .el-menu-item{width:calc(var(--plus-sidebar-min-width) - 2px)}.plus-sidebar.is-vertical .el-scrollbar__wrap{overflow-x:hidden}.plus-sidebar.is-vertical.el-menu--collapse .plus-sidebar__item-title{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.plus-sidebar.is-vertical.el-menu--collapse .el-sub-menu__icon-arrow{display:none}.plus-sidebar.is-vertical .el-scrollbar{height:calc(100% - var(--plus-sidebar-collapse-height))}.plus-sidebar.is-vertical .plus-sidebar__collapse{align-items:flex-start;background-color:var(--el-menu-bg-color);bottom:0;box-sizing:border-box;height:var(--plus-sidebar-collapse-height);left:0;position:absolute;width:calc(var(--plus-sidebar-width) - 2px)}.plus-sidebar.is-vertical .plus-sidebar__collapse.is-collapse{width:calc(var(--plus-sidebar-min-width) - 2px)}.plus-sidebar.is-vertical .plus-sidebar__collapse.is-active{background-color:var(--el-menu-bg-color)}.plus-sidebar.is-vertical .plus-sidebar__collapse [class*=-icon]{cursor:pointer;font-size:20px;margin-top:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-sidebar.is-horizontal,.plus-sidebar.is-horizontal .el-scrollbar,.plus-sidebar.is-horizontal .el-scrollbar__wrap{width:100%}.plus-sidebar.is-horizontal .el-scrollbar__view{display:flex;flex-wrap:nowrap;height:100%;width:100%}.plus-sidebar .plus-sidebar__item-title{-webkit-user-select:none;-moz-user-select:none;user-select:none}
21
19
 
22
- .plus-table .plus-table-column .plus-table-column__header .plus-table-column__header__icon{margin-left:2px;margin-top:-2px;vertical-align:middle}.plus-table .plus-table-action-bar.is-center .cell{justify-content:center}.plus-table .plus-table-action-bar.is-right .cell{justify-content:flex-end}.plus-table .plus-table-action-bar.el-table-fixed-column--right{background-color:var(--el-bg-color)}.plus-table .plus-table-action-bar .cell{align-items:center;display:flex}.plus-table .plus-table-action-bar .plus-table-action-bar__dropdown__link{cursor:pointer;display:inline-flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-table .plus-table-action-bar .plus-table-action-bar__more-text{margin-right:2px}.plus-table .plus-table-action-bar .plus-table-action-bar__column__link{margin-right:10px}.plus-table .plus-table-action-bar .plus-table-action-bar__dropdown{cursor:pointer;margin-left:12px;vertical-align:baseline}.plus-table .plus-table-action-bar .el-link+.el-link{margin-left:12px}.plus-table .plus-table-action-bar .el-icon{cursor:pointer}.plus-table .plus-table-action-bar .el-icon+.el-icon{margin-left:12px}.plus-table .plus-table-column-drag-sort .plus-table-column-drag-icon{box-sizing:border-box;cursor:move;font-size:18px;padding:4px}.plus-table .plus-table-column-index .plus-table-index-column{align-items:center;display:inline-flex;height:20px;justify-content:center;white-space:nowrap;width:20px;word-break:keep-all}.plus-table .plus-table-column-index .cell .plus-table-column-index__content{align-items:center;display:flex;justify-content:center;overflow:hidden}.plus-table .plus-table-title-bar{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.plus-table .plus-table-title-bar__toolbar{align-items:center;display:flex}.plus-table .el-popper{max-width:200px}.plus-table-title-bar__toolbar__density{align-items:center;display:flex;flex-direction:column}.plus-table-title-bar__toolbar__density .el-button{margin-top:10px;width:80px}.plus-table-title-bar__toolbar__density .el-button+.el-button{margin-left:0}.plus-table-title-bar__toolbar__icon{color:var(--el-text-color-regular);cursor:pointer;margin-left:10px;vertical-align:middle}.plus-table-title-bar__toolbar__checkbox__item{margin-left:6px}.plus-table-checkbox-item{align-items:center;display:flex;margin-left:20px}.plus-table-checkbox-handle{cursor:move;font-size:18px}.plus-table-ghost-class{background-color:#fff;border:1px dashed var(--el-color-primary);padding:0 5px}.plus-table-column__edit{cursor:pointer}.plus-table-checkbox-checkAll{display:flex;justify-content:space-between}
20
+ :root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-sidebar{height:100%}.plus-sidebar.is-vertical{min-height:400px}.plus-sidebar.is-vertical:not(.el-menu--collapse){flex-shrink:0;width:var(--plus-sidebar-width)}.plus-sidebar.is-vertical.el-menu--collapse .el-menu-item{width:calc(var(--plus-sidebar-min-width) - 2px)}.plus-sidebar.is-vertical .el-scrollbar__wrap{overflow-x:hidden}.plus-sidebar.is-vertical.el-menu--collapse .plus-sidebar__item-title{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.plus-sidebar.is-vertical.el-menu--collapse .el-sub-menu__icon-arrow{display:none}.plus-sidebar.is-vertical .el-scrollbar{height:calc(100% - var(--plus-sidebar-collapse-height))}.plus-sidebar.is-vertical .plus-sidebar__collapse{align-items:flex-start;background-color:var(--el-menu-bg-color);bottom:0;box-sizing:border-box;height:var(--plus-sidebar-collapse-height);left:0;position:absolute;width:calc(var(--plus-sidebar-width) - 2px)}.plus-sidebar.is-vertical .plus-sidebar__collapse.is-collapse{width:calc(var(--plus-sidebar-min-width) - 2px)}.plus-sidebar.is-vertical .plus-sidebar__collapse.is-active{background-color:var(--el-menu-bg-color)}.plus-sidebar.is-vertical .plus-sidebar__collapse [class*=-icon]{cursor:pointer;font-size:20px;margin-top:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-sidebar.is-horizontal,.plus-sidebar.is-horizontal .el-scrollbar,.plus-sidebar.is-horizontal .el-scrollbar__wrap{width:100%}.plus-sidebar.is-horizontal .el-scrollbar__view{display:flex;flex-wrap:nowrap;height:100%;width:100%}.plus-sidebar .plus-sidebar__item-title{-webkit-user-select:none;-moz-user-select:none;user-select:none}
21
+ .plus-table .plus-table-column .plus-table-column__header .plus-table-column__header__icon{margin-left:2px;margin-top:-2px;vertical-align:middle}.plus-table .plus-table-action-bar.is-center .cell{justify-content:center}.plus-table .plus-table-action-bar.is-right .cell{justify-content:flex-end}.plus-table .plus-table-action-bar.el-table-fixed-column--right{background-color:var(--el-bg-color)}.plus-table .plus-table-action-bar .cell{align-items:center;display:flex}.plus-table .plus-table-action-bar .plus-table-action-bar__dropdown__link{cursor:pointer;display:inline-flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-table .plus-table-action-bar .plus-table-action-bar__more-text{margin-right:2px}.plus-table .plus-table-action-bar .plus-table-action-bar__column__link{margin-right:10px}.plus-table .plus-table-action-bar .plus-table-action-bar__dropdown{cursor:pointer;margin-left:12px;vertical-align:baseline}.plus-table .plus-table-action-bar .el-link+.el-link{margin-left:12px}.plus-table .plus-table-action-bar .el-icon{cursor:pointer}.plus-table .plus-table-action-bar .el-icon+.el-icon{margin-left:12px}.plus-table .plus-table-column-drag-sort .plus-table-column-drag-icon{box-sizing:border-box;cursor:move;font-size:18px;padding:4px}.plus-table .plus-table-column-index .plus-table-index-column{align-items:center;display:inline-flex;height:20px;justify-content:center;white-space:nowrap;width:20px;word-break:keep-all}.plus-table .plus-table-column-index .cell .plus-table-column-index__content{align-items:center;display:flex;justify-content:center;overflow:hidden}.plus-table .plus-table-title-bar{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.plus-table .plus-table-title-bar__toolbar{align-items:center;display:flex}.plus-table .el-popper{max-width:200px}.plus-table-title-bar__toolbar__density{align-items:center;display:flex;flex-direction:column}.plus-table-title-bar__toolbar__density .el-button{margin-top:10px;width:80px}.plus-table-title-bar__toolbar__density .el-button+.el-button{margin-left:0}.plus-table-title-bar__toolbar__icon{color:var(--el-text-color-regular);cursor:pointer;margin-left:10px;vertical-align:middle}.plus-table-title-bar__toolbar__checkbox__item{margin-left:6px}.plus-table-checkbox-item{align-items:center;display:flex;margin-left:20px}.plus-table-checkbox-handle{cursor:move;font-size:18px}.plus-table-ghost-class{background-color:#fff;border:1px dashed var(--el-color-primary);padding:0 5px}.plus-table-column__edit{cursor:pointer}.plus-table-checkbox-checkAll{display:flex;justify-content:space-between}
22
+ .plus-check-card{border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-text-color-regular);cursor:pointer;display:flex;overflow:hidden;padding-block:16px;padding-inline:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-check-card--large{width:440px}.plus-check-card--default{width:320px}.plus-check-card--small{width:200px}.plus-check-card--checked{background-color:rgba(var(--el-color-primary-rgb),.1);border-color:var(--el-color-primary);position:relative}.plus-check-card--checked:after{-webkit-border-after:10px solid transparent;-webkit-border-start:10px solid transparent;border:10px solid var(--el-color-primary);border-block-end:10px solid transparent;border-inline-start:10px solid transparent;border-start-end-radius:6px;content:"";height:0;inset-block-start:2px;inset-inline-end:2px;position:absolute;width:0}.plus-check-card--disabled{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);cursor:not-allowed}.plus-check-card--disabled:after{border-right-color:var(--el-color-info-light-5);border-top-color:var(--el-color-info-light-5)}.plus-check-card .plus-check-card__avatar-wrapper{-webkit-padding-end:8px;padding-inline-end:8px}.plus-check-card .plus-check-card__right-content{overflow:hidden;width:100%}.plus-check-card .plus-check-card__title{-webkit-margin-after:4px;align-items:center;color:var(--el-text-color-primary);display:flex;justify-content:space-between;margin-block-end:4px;width:100%}.plus-check-card .plus-check-card__title-left{align-items:center;display:flex}.plus-check-card .plus-check-card__title-right{align-items:center;display:flex;vertical-align:middle}.plus-check-card .plus-check-card__description{color:var(--el-text-color-regular);width:100%;word-break:break-all}
package/global.d.ts CHANGED
@@ -1,29 +1,29 @@
1
- // GlobalComponents for Volar
2
- declare module '@vue/runtime-core' {
3
- export interface GlobalComponents {
4
- PlusDialog: typeof import('plus-pro-components')['PlusDialog']
5
- PlusPagination: typeof import('plus-pro-components')['PlusPagination']
6
- PlusTable: typeof import('plus-pro-components')['PlusTable']
7
- PlusRadio: typeof import('plus-pro-components')['PlusRadio']
8
- PlusDatePicker: typeof import('plus-pro-components')['PlusDatePicker']
9
- PlusDescriptions: typeof import('plus-pro-components')['PlusDescriptions']
10
- PlusDisplayItem: typeof import('plus-pro-components')['PlusDisplayItem']
11
- PlusFormItem: typeof import('plus-pro-components')['PlusFormItem']
12
- PlusForm: typeof import('plus-pro-components')['PlusForm']
13
- PlusSearch: typeof import('plus-pro-components')['PlusSearch']
14
- PlusDialogForm: typeof import('plus-pro-components')['PlusDialogForm']
15
- PlusDrawerForm: typeof import('plus-pro-components')['PlusDrawerForm']
16
- PlusPage: typeof import('plus-pro-components')['PlusPage']
17
- PlusPopover: typeof import('plus-pro-components')['PlusPopover']
18
- PlusStepsForm: typeof import('plus-pro-components')['PlusStepsForm']
19
- PlusInputTag: typeof import('plus-pro-components')['PlusInputTag']
20
- PlusBreadcrumb: typeof import('plus-pro-components')['PlusBreadcrumb']
21
- PlusSidebar: typeof import('plus-pro-components')['PlusSidebar']
22
- PlusHeader: typeof import('plus-pro-components')['PlusHeader']
23
- PlusLayout: typeof import('plus-pro-components')['PlusLayout']
24
- PlusCheckCard: typeof import('plus-pro-components')['PlusCheckCard']
25
- PlusCheckCardGroup: typeof import('plus-pro-components')['PlusCheckCardGroup']
26
- }
27
- }
28
-
29
- export {}
1
+ // GlobalComponents for Volar
2
+ declare module '@vue/runtime-core' {
3
+ export interface GlobalComponents {
4
+ PlusDialog: typeof import('plus-pro-components')['PlusDialog']
5
+ PlusPagination: typeof import('plus-pro-components')['PlusPagination']
6
+ PlusTable: typeof import('plus-pro-components')['PlusTable']
7
+ PlusRadio: typeof import('plus-pro-components')['PlusRadio']
8
+ PlusDatePicker: typeof import('plus-pro-components')['PlusDatePicker']
9
+ PlusDescriptions: typeof import('plus-pro-components')['PlusDescriptions']
10
+ PlusDisplayItem: typeof import('plus-pro-components')['PlusDisplayItem']
11
+ PlusFormItem: typeof import('plus-pro-components')['PlusFormItem']
12
+ PlusForm: typeof import('plus-pro-components')['PlusForm']
13
+ PlusSearch: typeof import('plus-pro-components')['PlusSearch']
14
+ PlusDialogForm: typeof import('plus-pro-components')['PlusDialogForm']
15
+ PlusDrawerForm: typeof import('plus-pro-components')['PlusDrawerForm']
16
+ PlusPage: typeof import('plus-pro-components')['PlusPage']
17
+ PlusPopover: typeof import('plus-pro-components')['PlusPopover']
18
+ PlusStepsForm: typeof import('plus-pro-components')['PlusStepsForm']
19
+ PlusInputTag: typeof import('plus-pro-components')['PlusInputTag']
20
+ PlusBreadcrumb: typeof import('plus-pro-components')['PlusBreadcrumb']
21
+ PlusSidebar: typeof import('plus-pro-components')['PlusSidebar']
22
+ PlusHeader: typeof import('plus-pro-components')['PlusHeader']
23
+ PlusLayout: typeof import('plus-pro-components')['PlusLayout']
24
+ PlusCheckCard: typeof import('plus-pro-components')['PlusCheckCard']
25
+ PlusCheckCardGroup: typeof import('plus-pro-components')['PlusCheckCardGroup']
26
+ }
27
+ }
28
+
29
+ export {}
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @wlydfe/pro-ui v0.2.7 */
1
+ /*! @wlydfe/pro-ui v0.2.8 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('element-plus')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vue', 'element-plus'], factory) :
@@ -7097,6 +7097,9 @@
7097
7097
  );
7098
7098
  }
7099
7099
  }
7100
+ if (value === void 0 || value === null || value === "") {
7101
+ return "-";
7102
+ }
7100
7103
  return value;
7101
7104
  });
7102
7105
  const modelValues = vue.computed({
@@ -12835,6 +12838,13 @@
12835
12838
  var _a;
12836
12839
  const props = __props;
12837
12840
  const emit = __emit;
12841
+ const processedColumns = vue.computed(() => {
12842
+ return props.columns.map((column) => ({
12843
+ hideInSearch: true,
12844
+ // 默认为 true
12845
+ ...column
12846
+ }));
12847
+ });
12838
12848
  const formSlotList = [
12839
12849
  getFieldSlotName(),
12840
12850
  getLabelSlotName(),
@@ -12968,7 +12978,7 @@
12968
12978
  }, _ctx.search, {
12969
12979
  modelValue: values.value,
12970
12980
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => values.value = $event),
12971
- columns: _ctx.columns,
12981
+ columns: processedColumns.value,
12972
12982
  "search-loading": vue.unref(loadingStatus),
12973
12983
  onSearch: handleSearch,
12974
12984
  onReset: handleReset
@@ -13016,7 +13026,7 @@
13016
13026
  }, _ctx.table, {
13017
13027
  "table-data": vue.unref(tableData),
13018
13028
  "loading-status": vue.unref(loadingStatus),
13019
- columns: _ctx.columns,
13029
+ columns: processedColumns.value,
13020
13030
  pagination: _ctx.pagination === false ? void 0 : {
13021
13031
  ..._ctx.pagination,
13022
13032
  total: vue.unref(total),