@wlydfe/pro-ui 0.2.18 → 0.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/README.md +119 -119
  2. package/es/components/form-item/src/index.vue.d.ts +2 -6
  3. package/es/components/form-item/src/index.vue2.mjs +6 -6
  4. package/es/components/page/src/index.vue.d.ts +48 -60
  5. package/es/components/page/src/index.vue2.mjs +2 -3
  6. package/es/components/radio/src/index.vue2.mjs +1 -1
  7. package/es/components/render/src/index.vue2.mjs +1 -1
  8. package/es/index.css +11 -11
  9. package/es/version.d.ts +1 -1
  10. package/es/version.mjs +1 -1
  11. package/global.d.ts +29 -29
  12. package/index.js +12 -13
  13. package/index.min.js +2 -2
  14. package/index.min.mjs +2 -2
  15. package/index.mjs +12 -13
  16. package/lib/components/form-item/src/index.vue.d.ts +2 -6
  17. package/lib/components/form-item/src/index.vue2.js +6 -6
  18. package/lib/components/page/src/index.vue.d.ts +48 -60
  19. package/lib/components/page/src/index.vue2.js +2 -3
  20. package/lib/components/radio/src/index.vue2.js +1 -1
  21. package/lib/components/render/src/index.vue2.js +1 -1
  22. package/lib/{page.css → form.css} +13 -13
  23. package/lib/version.d.ts +1 -1
  24. package/lib/version.js +1 -1
  25. package/locale/en.js +1 -1
  26. package/locale/en.min.js +1 -1
  27. package/locale/en.min.mjs +1 -1
  28. package/locale/en.mjs +1 -1
  29. package/locale/ja.js +1 -1
  30. package/locale/ja.min.js +1 -1
  31. package/locale/ja.min.mjs +1 -1
  32. package/locale/ja.mjs +1 -1
  33. package/locale/ko.js +1 -1
  34. package/locale/ko.min.js +1 -1
  35. package/locale/ko.min.mjs +1 -1
  36. package/locale/ko.mjs +1 -1
  37. package/locale/zh-cn.js +1 -1
  38. package/locale/zh-cn.min.js +1 -1
  39. package/locale/zh-cn.min.mjs +1 -1
  40. package/locale/zh-cn.mjs +1 -1
  41. package/locale/zh-tw.js +1 -1
  42. package/locale/zh-tw.min.js +1 -1
  43. package/locale/zh-tw.min.mjs +1 -1
  44. package/locale/zh-tw.mjs +1 -1
  45. package/package.json +1 -1
  46. package/theme-chalk/src/breadcrumb.scss +9 -9
  47. package/theme-chalk/src/date-picker.scss +96 -96
  48. package/theme-chalk/src/descriptions.scss +41 -41
  49. package/theme-chalk/src/display-item.scss +82 -82
  50. package/theme-chalk/src/drawer-form.scss +16 -16
  51. package/theme-chalk/src/form.scss +34 -34
  52. package/theme-chalk/src/input-tag.scss +91 -91
  53. package/theme-chalk/src/layout.scss +36 -36
  54. package/theme-chalk/src/mixins/function.scss +73 -73
  55. package/theme-chalk/src/search.scss +49 -49
  56. package/theme-chalk/src/sidebar.scss +93 -93
  57. package/theme-chalk/src/steps-form.scss +18 -18
  58. package/theme-chalk/src/table.scss +170 -170
  59. package/theme-chalk/src/var/index.scss +6 -6
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @wlydfe/pro-ui v0.2.18 */
1
+ /*! @wlydfe/pro-ui v0.2.19 */
2
2
  import { unref, isRef, ref, isReactive, watch, computed, inject, shallowRef, defineComponent, watchEffect, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, renderSlot, normalizeStyle, createVNode, createTextVNode, toDisplayString, createElementBlock, createCommentVNode, reactive, useAttrs, Fragment, renderList, resolveDynamicComponent, normalizeProps, guardReactiveProps, h, withDirectives, isVNode, normalizeClass, withKeys, withModifiers, TransitionGroup, toHandlers, provide, resolveComponent, onMounted, onBeforeUnmount, toRefs, nextTick, useSlots, getCurrentInstance } from 'vue';
3
3
  import { dayjs, localeContextKey, ElDialog, ElButton, ElPagination, ElRadioGroup, ElRadio, ElTableColumn, ElDropdown, ElDropdownMenu, ElDropdownItem, ElIcon, ElTooltip, ElPopconfirm, ElLink, ElMessageBox, useFormDisabled, ElDatePicker, ClickOutside, ElTag, ElInput, ElAutocomplete, ElCascader, ElCheckboxGroup, ElCheckbox, ElColorPicker, ElInputNumber, ElRate, ElSelect, ElOption, ElSlider, ElSwitch, ElTimePicker, ElTimeSelect, ElTransfer, ElTreeSelect, ElSelectV2, ElText, ElDivider, ElFormItem, ElRow, ElCol, ElForm, ElCard, ElMessage, ElImage, ElProgress, ElAvatar, ElPopover, ElTable, vLoading, ElDescriptions, ElDescriptionsItem, ElDrawer, ElSteps, ElStep, ElBreadcrumb, ElBreadcrumbItem, ElMenuItem, ElSubMenu, ElMenu, ElScrollbar, ElHeader, ElContainer, ElMain, ElBacktop } from 'element-plus';
4
4
 
@@ -4691,7 +4691,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
4691
4691
  options: { default: () => [] },
4692
4692
  isCancel: { type: Boolean, default: true },
4693
4693
  fieldSlots: { default: void 0 },
4694
- fieldChildrenSlot: { default: void 0 }
4694
+ fieldChildrenSlot: { type: Function, default: void 0 }
4695
4695
  },
4696
4696
  emits: ["change", "update:modelValue"],
4697
4697
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -5447,7 +5447,7 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
5447
5447
  __name: "index",
5448
5448
  props: {
5449
5449
  renderType: { default: void 0 },
5450
- callbackValue: { default: "" },
5450
+ callbackValue: { type: [String, Number, Boolean, null, Date, Array, Object], default: "" },
5451
5451
  customFieldProps: { default: () => ({}) },
5452
5452
  render: {},
5453
5453
  params: { default: () => ({}) },
@@ -5891,20 +5891,20 @@ var _sfc_main$n = /* @__PURE__ */ defineComponent({
5891
5891
  },
5892
5892
  __name: "index",
5893
5893
  props: {
5894
- modelValue: { default: "" },
5895
- hasLabel: { default: true },
5894
+ modelValue: { type: [String, Number, Boolean, null, Date, Array, Object], default: "" },
5895
+ hasLabel: { type: [Boolean, Object], default: true },
5896
5896
  label: { default: "" },
5897
5897
  prop: {},
5898
5898
  fieldProps: { default: () => ({}) },
5899
5899
  valueType: { default: void 0 },
5900
5900
  options: { default: () => [] },
5901
5901
  formItemProps: { default: () => ({}) },
5902
- renderField: { default: void 0 },
5903
- renderLabel: { default: void 0 },
5902
+ renderField: { type: Function, default: void 0 },
5903
+ renderLabel: { type: Function, default: void 0 },
5904
5904
  tooltip: { default: "" },
5905
5905
  fieldSlots: { default: () => ({}) },
5906
- fieldChildrenSlot: { default: void 0 },
5907
- renderErrorMessage: { default: void 0 },
5906
+ fieldChildrenSlot: { type: Function, default: void 0 },
5907
+ renderErrorMessage: { type: Function, default: void 0 },
5908
5908
  optionsMap: { default: void 0 },
5909
5909
  index: { default: 0 },
5910
5910
  clearable: { type: Boolean, default: true }
@@ -13031,7 +13031,7 @@ var _sfc_main$8 = /* @__PURE__ */ defineComponent({
13031
13031
  class: "plus-page__table_wrapper"
13032
13032
  }, {
13033
13033
  default: withCtx(() => {
13034
- var _a2, _b, _c, _d;
13034
+ var _a2, _b;
13035
13035
  return [
13036
13036
  createVNode(unref(PlusTable), mergeProps({
13037
13037
  ref_key: "plusTableInstance",
@@ -13039,7 +13039,6 @@ var _sfc_main$8 = /* @__PURE__ */ defineComponent({
13039
13039
  "title-bar": { refresh: true }
13040
13040
  }, _ctx.table, {
13041
13041
  adaptive: (_b = (_a2 = _ctx.table) == null ? void 0 : _a2.adaptive) != null ? _b : true,
13042
- stripe: (_d = (_c = _ctx.table) == null ? void 0 : _c.stripe) != null ? _d : true,
13043
13042
  "table-data": unref(tableData),
13044
13043
  "loading-status": unref(loadingStatus),
13045
13044
  columns: processedColumns.value,
@@ -13098,7 +13097,7 @@ var _sfc_main$8 = /* @__PURE__ */ defineComponent({
13098
13097
  ])
13099
13098
  };
13100
13099
  })
13101
- ]), 1040, ["adaptive", "stripe", "table-data", "loading-status", "columns", "pagination"])
13100
+ ]), 1040, ["adaptive", "table-data", "loading-status", "columns", "pagination"])
13102
13101
  ];
13103
13102
  }),
13104
13103
  _: 3
@@ -14650,7 +14649,7 @@ const click = {
14650
14649
  }
14651
14650
  };
14652
14651
 
14653
- const version = "0.2.18";
14652
+ const version = "0.2.19";
14654
14653
 
14655
14654
  const install = installer.install;
14656
14655
 
@@ -423,9 +423,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
423
423
  fieldProps: PropsItemType<Partial<{
424
424
  [key: string]: any;
425
425
  style: CSSProperties;
426
- rows: number; /**
427
- * @version v0.1.18
428
- */
426
+ rows: number;
429
427
  autocomplete: string;
430
428
  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";
431
429
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
@@ -499,9 +497,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
499
497
  readonly fieldProps: PropsItemType<Partial<{
500
498
  [key: string]: any;
501
499
  style: CSSProperties;
502
- rows: number; /**
503
- * @version v0.1.18
504
- */
500
+ rows: number;
505
501
  autocomplete: string;
506
502
  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";
507
503
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
@@ -23,20 +23,20 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
23
23
  },
24
24
  __name: "index",
25
25
  props: {
26
- modelValue: { default: "" },
27
- hasLabel: { default: true },
26
+ modelValue: { type: [String, Number, Boolean, null, Date, Array, Object], default: "" },
27
+ hasLabel: { type: [Boolean, Object], default: true },
28
28
  label: { default: "" },
29
29
  prop: {},
30
30
  fieldProps: { default: () => ({}) },
31
31
  valueType: { default: void 0 },
32
32
  options: { default: () => [] },
33
33
  formItemProps: { default: () => ({}) },
34
- renderField: { default: void 0 },
35
- renderLabel: { default: void 0 },
34
+ renderField: { type: Function, default: void 0 },
35
+ renderLabel: { type: Function, default: void 0 },
36
36
  tooltip: { default: "" },
37
37
  fieldSlots: { default: () => ({}) },
38
- fieldChildrenSlot: { default: void 0 },
39
- renderErrorMessage: { default: void 0 },
38
+ fieldChildrenSlot: { type: Function, default: void 0 },
39
+ renderErrorMessage: { type: Function, default: void 0 },
40
40
  optionsMap: { default: void 0 },
41
41
  index: { default: 0 },
42
42
  clearable: { type: Boolean, default: true }
@@ -652,9 +652,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
652
652
  readonly validator: ((val: unknown) => boolean) | undefined;
653
653
  __epPropKey: true;
654
654
  };
655
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>; /**
656
- * TODO: 将会在v0.2.0中移除
657
- */
655
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
658
656
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
659
657
  readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
660
658
  readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -762,9 +760,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
762
760
  readonly validator: ((val: unknown) => boolean) | undefined;
763
761
  __epPropKey: true;
764
762
  };
765
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>; /**
766
- * TODO: 将会在v0.2.0中移除
767
- */
763
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
768
764
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
769
765
  readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
770
766
  readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -818,9 +814,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
818
814
  readonly validator: ((val: unknown) => boolean) | undefined;
819
815
  __epPropKey: true;
820
816
  };
821
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>; /**
822
- * TODO: 将会在v0.2.0中移除
823
- */
817
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
824
818
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
825
819
  readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
826
820
  readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -1094,9 +1088,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1094
1088
  readonly validator: ((val: unknown) => boolean) | undefined;
1095
1089
  __epPropKey: true;
1096
1090
  };
1097
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>; /**
1098
- * TODO: 将会在v0.2.0中移除
1099
- */
1091
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
1100
1092
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
1101
1093
  readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
1102
1094
  readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -1204,9 +1196,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1204
1196
  readonly validator: ((val: unknown) => boolean) | undefined;
1205
1197
  __epPropKey: true;
1206
1198
  };
1207
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>; /**
1208
- * TODO: 将会在v0.2.0中移除
1209
- */
1199
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
1210
1200
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
1211
1201
  readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
1212
1202
  readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -1260,9 +1250,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1260
1250
  readonly validator: ((val: unknown) => boolean) | undefined;
1261
1251
  __epPropKey: true;
1262
1252
  };
1263
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>; /**
1264
- * TODO: 将会在v0.2.0中移除
1265
- */
1253
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
1266
1254
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
1267
1255
  readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
1268
1256
  readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -1397,14 +1385,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1397
1385
  }>;
1398
1386
  readonly fieldProps: PropsItemType<Partial<{
1399
1387
  [key: string]: any;
1400
- style: CSSProperties; /**
1401
- * 表格和搜索是否需要el-card 包裹 默认true
1402
- */
1388
+ style: CSSProperties;
1403
1389
  rows: number;
1404
1390
  autocomplete: string;
1405
1391
  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";
1406
1392
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1407
- step: string | number;
1393
+ step: string | number; /**
1394
+ * 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
1395
+ * @version v0.1.25
1396
+ * @default false
1397
+ */
1408
1398
  format: string | ProgressFn | undefined;
1409
1399
  filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
1410
1400
  id: string | [string, string];
@@ -1474,14 +1464,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1474
1464
  }>;
1475
1465
  readonly fieldProps: PropsItemType<Partial<{
1476
1466
  [key: string]: any;
1477
- style: CSSProperties; /**
1478
- * 表格和搜索是否需要el-card 包裹 默认true
1479
- */
1467
+ style: CSSProperties;
1480
1468
  rows: number;
1481
1469
  autocomplete: string;
1482
1470
  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";
1483
1471
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1484
- step: string | number;
1472
+ step: string | number; /**
1473
+ * 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
1474
+ * @version v0.1.25
1475
+ * @default false
1476
+ */
1485
1477
  format: string | ProgressFn | undefined;
1486
1478
  filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
1487
1479
  id: string | [string, string];
@@ -1974,9 +1966,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1974
1966
  readonly validator: ((val: unknown) => boolean) | undefined;
1975
1967
  __epPropKey: true;
1976
1968
  };
1977
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>; /**
1978
- * TODO: 将会在v0.2.0中移除
1979
- */
1969
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
1980
1970
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
1981
1971
  readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
1982
1972
  readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -2084,9 +2074,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2084
2074
  readonly validator: ((val: unknown) => boolean) | undefined;
2085
2075
  __epPropKey: true;
2086
2076
  };
2087
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>; /**
2088
- * TODO: 将会在v0.2.0中移除
2089
- */
2077
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
2090
2078
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
2091
2079
  readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
2092
2080
  readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -2140,9 +2128,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2140
2128
  readonly validator: ((val: unknown) => boolean) | undefined;
2141
2129
  __epPropKey: true;
2142
2130
  };
2143
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>; /**
2144
- * TODO: 将会在v0.2.0中移除
2145
- */
2131
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
2146
2132
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
2147
2133
  readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
2148
2134
  readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -2416,9 +2402,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2416
2402
  readonly validator: ((val: unknown) => boolean) | undefined;
2417
2403
  __epPropKey: true;
2418
2404
  };
2419
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>; /**
2420
- * TODO: 将会在v0.2.0中移除
2421
- */
2405
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
2422
2406
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
2423
2407
  readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
2424
2408
  readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -2526,9 +2510,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2526
2510
  readonly validator: ((val: unknown) => boolean) | undefined;
2527
2511
  __epPropKey: true;
2528
2512
  };
2529
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>; /**
2530
- * TODO: 将会在v0.2.0中移除
2531
- */
2513
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
2532
2514
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
2533
2515
  readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
2534
2516
  readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -2582,9 +2564,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2582
2564
  readonly validator: ((val: unknown) => boolean) | undefined;
2583
2565
  __epPropKey: true;
2584
2566
  };
2585
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>; /**
2586
- * TODO: 将会在v0.2.0中移除
2587
- */
2567
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
2588
2568
  readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
2589
2569
  readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
2590
2570
  readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -2719,14 +2699,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2719
2699
  }>;
2720
2700
  readonly fieldProps: PropsItemType<Partial<{
2721
2701
  [key: string]: any;
2722
- style: CSSProperties; /**
2723
- * 表格和搜索是否需要el-card 包裹 默认true
2724
- */
2702
+ style: CSSProperties;
2725
2703
  rows: number;
2726
2704
  autocomplete: string;
2727
2705
  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";
2728
2706
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
2729
- step: string | number;
2707
+ step: string | number; /**
2708
+ * 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
2709
+ * @version v0.1.25
2710
+ * @default false
2711
+ */
2730
2712
  format: string | ProgressFn | undefined;
2731
2713
  filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
2732
2714
  id: string | [string, string];
@@ -2796,14 +2778,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2796
2778
  }>;
2797
2779
  readonly fieldProps: PropsItemType<Partial<{
2798
2780
  [key: string]: any;
2799
- style: CSSProperties; /**
2800
- * 表格和搜索是否需要el-card 包裹 默认true
2801
- */
2781
+ style: CSSProperties;
2802
2782
  rows: number;
2803
2783
  autocomplete: string;
2804
2784
  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";
2805
2785
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
2806
- step: string | number;
2786
+ step: string | number; /**
2787
+ * 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
2788
+ * @version v0.1.25
2789
+ * @default false
2790
+ */
2807
2791
  format: string | ProgressFn | undefined;
2808
2792
  filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
2809
2793
  id: string | [string, string];
@@ -2891,14 +2875,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
2891
2875
  }>;
2892
2876
  readonly fieldProps: PropsItemType<Partial<{
2893
2877
  [key: string]: any;
2894
- style: CSSProperties; /**
2895
- * 表格和搜索是否需要el-card 包裹 默认true
2896
- */
2878
+ style: CSSProperties;
2897
2879
  rows: number;
2898
2880
  autocomplete: string;
2899
2881
  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";
2900
2882
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
2901
- step: string | number;
2883
+ step: string | number; /**
2884
+ * 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
2885
+ * @version v0.1.25
2886
+ * @default false
2887
+ */
2902
2888
  format: string | ProgressFn | undefined;
2903
2889
  filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
2904
2890
  id: string | [string, string];
@@ -4809,14 +4795,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
4809
4795
  }>;
4810
4796
  readonly fieldProps: PropsItemType<Partial<{
4811
4797
  [key: string]: any;
4812
- style: CSSProperties; /**
4813
- * 表格和搜索是否需要el-card 包裹 默认true
4814
- */
4798
+ style: CSSProperties;
4815
4799
  rows: number;
4816
4800
  autocomplete: string;
4817
4801
  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";
4818
4802
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
4819
- step: string | number;
4803
+ step: string | number; /**
4804
+ * 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
4805
+ * @version v0.1.25
4806
+ * @default false
4807
+ */
4820
4808
  format: string | ProgressFn | undefined;
4821
4809
  filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
4822
4810
  id: string | [string, string];
@@ -230,7 +230,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
230
230
  class: "plus-page__table_wrapper"
231
231
  }, {
232
232
  default: vue.withCtx(() => {
233
- var _a2, _b, _c, _d;
233
+ var _a2, _b;
234
234
  return [
235
235
  vue.createVNode(vue.unref(index$2.PlusTable), vue.mergeProps({
236
236
  ref_key: "plusTableInstance",
@@ -238,7 +238,6 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
238
238
  "title-bar": { refresh: true }
239
239
  }, _ctx.table, {
240
240
  adaptive: (_b = (_a2 = _ctx.table) == null ? void 0 : _a2.adaptive) != null ? _b : true,
241
- stripe: (_d = (_c = _ctx.table) == null ? void 0 : _c.stripe) != null ? _d : true,
242
241
  "table-data": vue.unref(tableData),
243
242
  "loading-status": vue.unref(loadingStatus),
244
243
  columns: processedColumns.value,
@@ -297,7 +296,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
297
296
  ])
298
297
  };
299
298
  })
300
- ]), 1040, ["adaptive", "stripe", "table-data", "loading-status", "columns", "pagination"])
299
+ ]), 1040, ["adaptive", "table-data", "loading-status", "columns", "pagination"])
301
300
  ];
302
301
  }),
303
302
  _: 3
@@ -17,7 +17,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
17
17
  options: { default: () => [] },
18
18
  isCancel: { type: Boolean, default: true },
19
19
  fieldSlots: { default: void 0 },
20
- fieldChildrenSlot: { default: void 0 }
20
+ fieldChildrenSlot: { type: Function, default: void 0 }
21
21
  },
22
22
  emits: ["change", "update:modelValue"],
23
23
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -13,7 +13,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
13
13
  __name: "index",
14
14
  props: {
15
15
  renderType: { default: void 0 },
16
- callbackValue: { default: "" },
16
+ callbackValue: { type: [String, Number, Boolean, null, Date, Array, Object], default: "" },
17
17
  customFieldProps: { default: () => ({}) },
18
18
  render: {},
19
19
  params: { default: () => ({}) },
@@ -1,22 +1,22 @@
1
- .plus-breadcrumb{margin-bottom:8px}.plus-breadcrumb.no-data{margin-bottom:0}
2
- .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}
3
- .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)}
4
- .plus-dialog .plus-dialog-footer{align-items:center;display:flex}
5
1
  .plus-check-card-group{display:flex;flex-wrap:wrap}.plus-check-card-group .plus-check-card{margin-bottom:16px;margin-right:16px}
6
- .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}
7
2
 
8
- .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%}
9
3
  .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}
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
- :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}
4
+ .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)}
12
5
  .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
- .plus-page .plus-page__table_wrapper{margin-top:20px}
6
+ .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}
7
+ .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}
8
+ .plus-breadcrumb{margin-bottom:8px}.plus-breadcrumb.no-data{margin-bottom:0}
9
+ .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}
14
10
 
15
11
  :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}
12
+ .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%}
17
13
  .plus-pagination{align-items:center;display:flex;justify-content:space-between;padding:16px 0}
14
+ .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}
18
15
 
19
16
  :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}
20
- .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}
21
- .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}
22
- .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}
17
+ :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}
18
+ .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
+ .plus-dialog .plus-dialog-footer{align-items:center;display:flex}
20
+ .plus-page .plus-page__table_wrapper{margin-top:20px}
21
+ .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}
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/lib/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.2.18";
1
+ export declare const version = "0.2.19";
package/lib/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const version = "0.2.18";
3
+ const version = "0.2.19";
4
4
 
5
5
  exports.version = version;
package/locale/en.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @wlydfe/pro-ui v0.2.18 */
1
+ /*! @wlydfe/pro-ui v0.2.19 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
package/locale/en.min.js CHANGED
@@ -1 +1 @@
1
- /*! @wlydfe/pro-ui v0.2.18 */(function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.PlusProComponentsLocaleEn=t())})(this,function(){"use strict";var e={name:"en",plus:{dialog:{confirmText:"Yes",cancelText:"No",title:"Dialog"},datepicker:{startPlaceholder:"Please select start time",endPlaceholder:"Please select end time"},dialogForm:{title:"Dialog form"},drawerForm:{title:"Drawer form",confirmText:"Yes",cancelText:"No"},form:{submitText:"Submit",resetText:"Reset",errorTip:"Please complete the form and submit again!"},field:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},popover:{confirmText:"Yes",cancelText:"No"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract"},table:{title:"Table",density:"Density",refresh:"Refresh",columnSettings:"Column settings",selectAll:"Select all",default:"Default",loose:"Loose",compact:"Compact",action:"Action",more:"More",confirmToPerformThisOperation:"Confirm to perform this operation?",prompt:"Prompt",sort:"Sort",resetText:"Reset"},stepsForm:{nextText:"Next step",preText:"Previous step",submitText:"Submit"},inputTag:{placeholder:"Please enter keywords and press enter or space key"},header:{logout:"logout"}}};return e});
1
+ /*! @wlydfe/pro-ui v0.2.19 */(function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.PlusProComponentsLocaleEn=t())})(this,function(){"use strict";var e={name:"en",plus:{dialog:{confirmText:"Yes",cancelText:"No",title:"Dialog"},datepicker:{startPlaceholder:"Please select start time",endPlaceholder:"Please select end time"},dialogForm:{title:"Dialog form"},drawerForm:{title:"Drawer form",confirmText:"Yes",cancelText:"No"},form:{submitText:"Submit",resetText:"Reset",errorTip:"Please complete the form and submit again!"},field:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},popover:{confirmText:"Yes",cancelText:"No"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract"},table:{title:"Table",density:"Density",refresh:"Refresh",columnSettings:"Column settings",selectAll:"Select all",default:"Default",loose:"Loose",compact:"Compact",action:"Action",more:"More",confirmToPerformThisOperation:"Confirm to perform this operation?",prompt:"Prompt",sort:"Sort",resetText:"Reset"},stepsForm:{nextText:"Next step",preText:"Previous step",submitText:"Submit"},inputTag:{placeholder:"Please enter keywords and press enter or space key"},header:{logout:"logout"}}};return e});
package/locale/en.min.mjs CHANGED
@@ -1 +1 @@
1
- /*! @wlydfe/pro-ui v0.2.18 */var e={name:"en",plus:{dialog:{confirmText:"Yes",cancelText:"No",title:"Dialog"},datepicker:{startPlaceholder:"Please select start time",endPlaceholder:"Please select end time"},dialogForm:{title:"Dialog form"},drawerForm:{title:"Drawer form",confirmText:"Yes",cancelText:"No"},form:{submitText:"Submit",resetText:"Reset",errorTip:"Please complete the form and submit again!"},field:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},popover:{confirmText:"Yes",cancelText:"No"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract"},table:{title:"Table",density:"Density",refresh:"Refresh",columnSettings:"Column settings",selectAll:"Select all",default:"Default",loose:"Loose",compact:"Compact",action:"Action",more:"More",confirmToPerformThisOperation:"Confirm to perform this operation?",prompt:"Prompt",sort:"Sort",resetText:"Reset"},stepsForm:{nextText:"Next step",preText:"Previous step",submitText:"Submit"},inputTag:{placeholder:"Please enter keywords and press enter or space key"},header:{logout:"logout"}}};export{e as default};
1
+ /*! @wlydfe/pro-ui v0.2.19 */var e={name:"en",plus:{dialog:{confirmText:"Yes",cancelText:"No",title:"Dialog"},datepicker:{startPlaceholder:"Please select start time",endPlaceholder:"Please select end time"},dialogForm:{title:"Dialog form"},drawerForm:{title:"Drawer form",confirmText:"Yes",cancelText:"No"},form:{submitText:"Submit",resetText:"Reset",errorTip:"Please complete the form and submit again!"},field:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},popover:{confirmText:"Yes",cancelText:"No"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract"},table:{title:"Table",density:"Density",refresh:"Refresh",columnSettings:"Column settings",selectAll:"Select all",default:"Default",loose:"Loose",compact:"Compact",action:"Action",more:"More",confirmToPerformThisOperation:"Confirm to perform this operation?",prompt:"Prompt",sort:"Sort",resetText:"Reset"},stepsForm:{nextText:"Next step",preText:"Previous step",submitText:"Submit"},inputTag:{placeholder:"Please enter keywords and press enter or space key"},header:{logout:"logout"}}};export{e as default};
package/locale/en.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @wlydfe/pro-ui v0.2.18 */
1
+ /*! @wlydfe/pro-ui v0.2.19 */
2
2
 
3
3
  var en = {
4
4
  name: "en",
package/locale/ja.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @wlydfe/pro-ui v0.2.18 */
1
+ /*! @wlydfe/pro-ui v0.2.19 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :