@wlydfe/pro-ui 0.2.7 → 0.2.9

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 (150) 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/src/index.vue2.mjs +5 -5
  23. package/es/components/form-item/index.d.ts +84 -84
  24. package/es/components/form-item/src/index.vue.d.ts +16 -12
  25. package/es/components/input-tag/index.d.ts +6 -6
  26. package/es/components/input-tag/src/index.vue.d.ts +3 -3
  27. package/es/components/page/index.d.ts +1039 -994
  28. package/es/components/page/src/index.vue.d.ts +361 -374
  29. package/es/components/page/src/index.vue2.mjs +10 -3
  30. package/es/components/pagination/index.d.ts +27 -27
  31. package/es/components/pagination/src/index.vue.d.ts +3 -3
  32. package/es/components/popover/index.d.ts +49 -49
  33. package/es/components/popover/src/index.vue.d.ts +3 -3
  34. package/es/components/radio/index.d.ts +10 -10
  35. package/es/components/radio/src/index.vue.d.ts +2 -2
  36. package/es/components/render/index.d.ts +14 -14
  37. package/es/components/render/src/index.vue.d.ts +1 -1
  38. package/es/components/search/index.d.ts +266 -266
  39. package/es/components/search/src/index.vue.d.ts +77 -77
  40. package/es/components/search/src/index.vue2.mjs +1 -1
  41. package/es/components/sidebar/index.d.ts +16 -16
  42. package/es/components/steps-form/index.d.ts +23 -23
  43. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  44. package/es/components/table/index.d.ts +183 -164
  45. package/es/components/table/src/index.vue.d.ts +16 -13
  46. package/es/components/table/src/index.vue2.mjs +4 -2
  47. package/es/components/table/src/table-action-bar.vue.d.ts +6 -2
  48. package/es/components/table/src/table-action-bar.vue2.mjs +3 -1
  49. package/es/components/table/src/table-column-drag-sort.vue.d.ts +2 -2
  50. package/es/components/table/src/table-column-index.vue.d.ts +1 -1
  51. package/es/components/table/src/table-column-index.vue2.mjs +1 -1
  52. package/es/components/table/src/table-column.vue.d.ts +25 -43
  53. package/es/components/table/src/table-column.vue2.mjs +8 -1
  54. package/es/components/table/src/table-title-bar.vue.d.ts +1 -1
  55. package/es/components/table/src/type.d.ts +2 -0
  56. package/es/index.css +8 -8
  57. package/global.d.ts +29 -29
  58. package/index.js +35 -14
  59. package/index.min.js +2 -2
  60. package/index.min.mjs +2 -2
  61. package/index.mjs +35 -14
  62. package/lib/components/check-card/index.d.ts +4 -4
  63. package/lib/components/check-card/src/index.vue.d.ts +1 -1
  64. package/lib/components/check-card-group/index.d.ts +4 -4
  65. package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
  66. package/lib/components/date-picker/index.d.ts +11 -11
  67. package/lib/components/date-picker/src/index.vue.d.ts +11 -11
  68. package/lib/components/descriptions/index.d.ts +19 -19
  69. package/lib/components/descriptions/src/index.vue.d.ts +1 -1
  70. package/lib/components/dialog/index.d.ts +30 -30
  71. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  72. package/lib/components/dialog-form/index.d.ts +6 -6
  73. package/lib/components/dialog-form/src/index.vue.d.ts +3 -3
  74. package/lib/components/display-item/index.d.ts +25 -25
  75. package/lib/components/display-item/src/index.vue.d.ts +7 -7
  76. package/lib/components/display-item/src/index.vue2.js +3 -0
  77. package/lib/components/drawer-form/index.d.ts +36 -36
  78. package/lib/components/drawer-form/src/index.vue.d.ts +5 -5
  79. package/lib/components/form/index.d.ts +88 -88
  80. package/lib/components/form/src/form-content.vue.d.ts +9 -9
  81. package/lib/components/form/src/index.vue.d.ts +11 -11
  82. package/lib/components/form/src/index.vue2.js +5 -5
  83. package/lib/components/form-item/index.d.ts +84 -84
  84. package/lib/components/form-item/src/index.vue.d.ts +16 -12
  85. package/lib/components/input-tag/index.d.ts +6 -6
  86. package/lib/components/input-tag/src/index.vue.d.ts +3 -3
  87. package/lib/components/page/index.d.ts +1039 -994
  88. package/lib/components/page/src/index.vue.d.ts +361 -374
  89. package/lib/components/page/src/index.vue2.js +9 -2
  90. package/lib/components/pagination/index.d.ts +27 -27
  91. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  92. package/lib/components/popover/index.d.ts +49 -49
  93. package/lib/components/popover/src/index.vue.d.ts +3 -3
  94. package/lib/components/radio/index.d.ts +10 -10
  95. package/lib/components/radio/src/index.vue.d.ts +2 -2
  96. package/lib/components/render/index.d.ts +14 -14
  97. package/lib/components/render/src/index.vue.d.ts +1 -1
  98. package/lib/components/search/index.d.ts +266 -266
  99. package/lib/components/search/src/index.vue.d.ts +77 -77
  100. package/lib/components/search/src/index.vue2.js +1 -1
  101. package/lib/components/sidebar/index.d.ts +16 -16
  102. package/lib/components/steps-form/index.d.ts +23 -23
  103. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  104. package/lib/components/table/index.d.ts +183 -164
  105. package/lib/components/table/src/index.vue.d.ts +16 -13
  106. package/lib/components/table/src/index.vue2.js +4 -2
  107. package/lib/components/table/src/table-action-bar.vue.d.ts +6 -2
  108. package/lib/components/table/src/table-action-bar.vue2.js +3 -1
  109. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +2 -2
  110. package/lib/components/table/src/table-column-index.vue.d.ts +1 -1
  111. package/lib/components/table/src/table-column-index.vue2.js +1 -1
  112. package/lib/components/table/src/table-column.vue.d.ts +25 -43
  113. package/lib/components/table/src/table-column.vue2.js +8 -1
  114. package/lib/components/table/src/table-title-bar.vue.d.ts +1 -1
  115. package/lib/components/table/src/type.d.ts +2 -0
  116. package/lib/index.css +13 -13
  117. package/locale/en.js +1 -1
  118. package/locale/en.min.js +1 -1
  119. package/locale/en.min.mjs +1 -1
  120. package/locale/en.mjs +1 -1
  121. package/locale/ja.js +1 -1
  122. package/locale/ja.min.js +1 -1
  123. package/locale/ja.min.mjs +1 -1
  124. package/locale/ja.mjs +1 -1
  125. package/locale/ko.js +1 -1
  126. package/locale/ko.min.js +1 -1
  127. package/locale/ko.min.mjs +1 -1
  128. package/locale/ko.mjs +1 -1
  129. package/locale/zh-cn.js +1 -1
  130. package/locale/zh-cn.min.js +1 -1
  131. package/locale/zh-cn.min.mjs +1 -1
  132. package/locale/zh-cn.mjs +1 -1
  133. package/locale/zh-tw.js +1 -1
  134. package/locale/zh-tw.min.js +1 -1
  135. package/locale/zh-tw.min.mjs +1 -1
  136. package/locale/zh-tw.mjs +1 -1
  137. package/package.json +1 -1
  138. package/theme-chalk/src/breadcrumb.scss +9 -9
  139. package/theme-chalk/src/date-picker.scss +96 -96
  140. package/theme-chalk/src/descriptions.scss +41 -41
  141. package/theme-chalk/src/display-item.scss +82 -82
  142. package/theme-chalk/src/drawer-form.scss +16 -16
  143. package/theme-chalk/src/form.scss +34 -34
  144. package/theme-chalk/src/input-tag.scss +91 -91
  145. package/theme-chalk/src/layout.scss +36 -36
  146. package/theme-chalk/src/mixins/function.scss +73 -73
  147. package/theme-chalk/src/search.scss +49 -49
  148. package/theme-chalk/src/sidebar.scss +93 -93
  149. package/theme-chalk/src/table.scss +170 -170
  150. package/theme-chalk/src/var/index.scss +6 -6
@@ -18,6 +18,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
18
18
  isSelection: boolean;
19
19
  isRadio: boolean;
20
20
  hasExpand: boolean;
21
+ showOverflowTooltip: boolean;
21
22
  loadingStatus: boolean;
22
23
  tableData: () => never[];
23
24
  data: () => never[];
@@ -239,7 +240,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
239
240
  scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
240
241
  setScrollLeft: (left?: number | undefined) => void;
241
242
  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<{
243
+ }, 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
244
  data: {
244
245
  type: PropType<any[]>;
245
246
  default: () => never[];
@@ -613,6 +614,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
613
614
  isSelection: boolean;
614
615
  isRadio: boolean;
615
616
  hasExpand: boolean;
617
+ showOverflowTooltip: boolean;
616
618
  loadingStatus: boolean;
617
619
  tableData: () => never[];
618
620
  data: () => never[];
@@ -637,18 +639,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
637
639
  editable: boolean;
638
640
  adaptive: boolean;
639
641
  }>>> & {
642
+ onRefresh?: (() => any) | undefined;
643
+ onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
640
644
  onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
641
645
  onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
646
+ onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
642
647
  onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
648
+ onEdited?: (() => any) | undefined;
643
649
  "onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
644
650
  "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
651
  onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
648
- onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
649
- onEdited?: (() => any) | undefined;
650
652
  onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
651
653
  }, {
654
+ showOverflowTooltip: boolean;
652
655
  columns: PlusColumn[];
653
656
  data: RecordType[];
654
657
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -658,11 +661,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
658
661
  columnIndex: number;
659
662
  }) => CSSProperties>;
660
663
  rowKey: string | ((row: any[]) => string);
664
+ tableData: RecordType[];
665
+ defaultSize: "" | "default" | "small" | "large";
666
+ pagination: false | Partial<PlusPaginationProps>;
661
667
  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>>;
668
+ hasIndexColumn: boolean;
666
669
  titleBar: boolean | Partial<Partial<{
667
670
  title?: string | undefined;
668
671
  refresh?: boolean | undefined;
@@ -673,20 +676,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
673
676
  color?: string | undefined;
674
677
  } | undefined;
675
678
  }>>;
676
- defaultSize: "" | "default" | "small" | "large";
677
- tableData: RecordType[];
678
- pagination: false | Partial<PlusPaginationProps>;
679
- hasIndexColumn: boolean;
680
679
  isSelection: boolean | "radio";
681
680
  isRadio: boolean;
682
681
  hasExpand: boolean;
683
682
  loadingStatus: boolean;
684
683
  dragSortable: false | Partial< Options>;
684
+ dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
685
+ indexTableColumnProps: Partial< TableColumnCtx<any>>;
685
686
  selectionTableColumnProps: Partial< TableColumnCtx<any>>;
686
687
  radioTableColumnProps: Partial< TableColumnCtx<any>>;
687
688
  radioProps: Partial<PlusRadioProps>;
688
689
  defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
689
690
  expandTableColumnProps: Partial< TableColumnCtx<any>>;
691
+ indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
692
+ editable: boolean | "click" | "dblclick";
690
693
  adaptive: boolean | {
691
694
  offsetBottom?: number | undefined;
692
695
  timeout?: number | undefined;
@@ -28,8 +28,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  defaultSize: { default: "default" },
29
29
  pagination: { type: [Boolean, Object], default: false },
30
30
  actionBar: { type: [Boolean, Object], default: false },
31
- hasIndexColumn: { type: Boolean, default: false },
31
+ hasIndexColumn: { type: Boolean, default: true },
32
32
  titleBar: { type: [Boolean, Object], default: true },
33
+ showOverflowTooltip: { type: Boolean, default: true },
33
34
  isSelection: { type: [Boolean, String], default: false },
34
35
  isRadio: { type: Boolean, default: false },
35
36
  hasExpand: { type: Boolean, default: false },
@@ -291,6 +292,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
291
292
  "header-cell-style": _ctx.headerCellStyle,
292
293
  size: unref(size),
293
294
  "row-key": _ctx.rowKey,
295
+ "show-overflow-tooltip": _ctx.showOverflowTooltip,
294
296
  "highlight-current-row": "",
295
297
  "scrollbar-always-on": ""
296
298
  }, _ctx.$attrs, {
@@ -430,7 +432,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
430
432
  ]),
431
433
  _: 3
432
434
  /* FORWARDED */
433
- }, 16, ["data", "height", "header-cell-style", "size", "row-key"])), [
435
+ }, 16, ["data", "height", "header-cell-style", "size", "row-key", "show-overflow-tooltip"])), [
434
436
  [unref(vLoading), _ctx.loadingStatus]
435
437
  ]),
436
438
  createCommentVNode(" \u5206\u9875 "),
@@ -14,7 +14,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
14
14
  buttons: () => never[];
15
15
  width: number;
16
16
  showNumber: number;
17
- actionBarTableColumnProps: () => {};
17
+ actionBarTableColumnProps: () => {
18
+ align: string;
19
+ };
18
20
  confirmType: string;
19
21
  showLimitIncludeMore: boolean;
20
22
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -27,7 +29,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
27
29
  buttons: () => never[];
28
30
  width: number;
29
31
  showNumber: number;
30
- actionBarTableColumnProps: () => {};
32
+ actionBarTableColumnProps: () => {
33
+ align: string;
34
+ };
31
35
  confirmType: string;
32
36
  showLimitIncludeMore: boolean;
33
37
  }>>> & {
@@ -23,7 +23,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
23
23
  type: { default: "link" },
24
24
  buttons: { default: () => [] },
25
25
  width: { default: 200 },
26
- actionBarTableColumnProps: { default: () => ({}) },
26
+ actionBarTableColumnProps: { default: () => ({
27
+ align: "center"
28
+ }) },
27
29
  confirmType: { default: "messageBox" }
28
30
  },
29
31
  emits: ["clickAction", "clickActionConfirmCancel"],
@@ -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;
@@ -42,7 +42,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  return (_ctx, _cache) => {
43
43
  return openBlock(), createBlock(unref(ElTableColumn), mergeProps({
44
44
  key: "index",
45
- label: "#",
45
+ label: "\u5E8F\u53F7",
46
46
  fixed: "left",
47
47
  type: "index",
48
48
  "class-name": "plus-table-column-index",
@@ -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;
@@ -24,6 +24,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  setup(__props, { expose: __expose, emit: __emit }) {
25
25
  const props = __props;
26
26
  const emit = __emit;
27
+ const getDefaultColumnProps = (item) => {
28
+ return {
29
+ align: "center",
30
+ headerAlign: "center",
31
+ ...item.tableColumnProps
32
+ };
33
+ };
27
34
  const plusDisplayItemInstance = ref();
28
35
  const formRefs = inject(TableFormRefInjectionKey);
29
36
  const setFormRef = () => {
@@ -76,7 +83,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
76
83
  key: getKey(item),
77
84
  "class-name": "plus-table-column " + (hasPropsEditIcon.value ? "plus-table-column__edit" : ""),
78
85
  index
79
- }, item.tableColumnProps, {
86
+ }, getDefaultColumnProps(item), {
80
87
  prop: item.prop,
81
88
  width: item.width,
82
89
  "min-width": item.minWidth
@@ -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;
@@ -391,6 +391,8 @@ export type PlusTableSelfProps = {
391
391
  hasIndexColumn?: boolean;
392
392
  /** 是否工具栏*/
393
393
  titleBar?: boolean | Partial<TitleBar>;
394
+ /** 是否需要溢出提示*/
395
+ showOverflowTooltip?: boolean;
394
396
  /**
395
397
  * 是否是多选表格
396
398
  *
package/es/index.css CHANGED
@@ -1,22 +1,22 @@
1
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
2
  .plus-check-card-group{display:flex;flex-wrap:wrap}.plus-check-card-group .plus-check-card{margin-bottom:16px;margin-right:16px}
3
+ .plus-breadcrumb{margin-bottom:8px}.plus-breadcrumb.no-data{margin-bottom:0}
4
4
  .plus-dialog .plus-dialog-footer{align-items:center;display:flex}
5
+ .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%}
6
+ .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
7
 
6
8
  .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
9
  .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
- .plus-breadcrumb{margin-bottom:8px}.plus-breadcrumb.no-data{margin-bottom:0}
10
- .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%}
11
- .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
10
  .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}
11
+ .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)}
13
12
  :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
13
 
14
+ .plus-pagination{align-items:center;display:flex;justify-content:space-between;padding:16px 0}
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}
17
16
  .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}
17
+ .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%}
18
+
18
19
  .plus-page .plus-page__table_wrapper{margin-top:20px}
19
20
  .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
21
  :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
-
22
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}
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 {}