@wlydfe/pro-ui 0.2.17 → 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 (69) 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/index.d.ts +48 -3
  5. package/es/components/page/src/index.vue.d.ts +64 -61
  6. package/es/components/page/src/index.vue2.mjs +2 -3
  7. package/es/components/radio/src/index.vue2.mjs +1 -1
  8. package/es/components/render/src/index.vue2.mjs +1 -1
  9. package/es/components/search/index.d.ts +19 -0
  10. package/es/components/search/src/index.vue.d.ts +3 -0
  11. package/es/components/search/src/index.vue2.mjs +3 -2
  12. package/es/components/search/src/type.d.ts +6 -0
  13. package/es/index.css +11 -11
  14. package/es/version.d.ts +1 -1
  15. package/es/version.mjs +1 -1
  16. package/global.d.ts +29 -29
  17. package/index.js +15 -15
  18. package/index.min.js +2 -2
  19. package/index.min.mjs +2 -2
  20. package/index.mjs +15 -15
  21. package/lib/components/form-item/src/index.vue.d.ts +2 -6
  22. package/lib/components/form-item/src/index.vue2.js +6 -6
  23. package/lib/components/page/index.d.ts +48 -3
  24. package/lib/components/page/src/index.vue.d.ts +64 -61
  25. package/lib/components/page/src/index.vue2.js +2 -3
  26. package/lib/components/radio/src/index.vue2.js +1 -1
  27. package/lib/components/render/src/index.vue2.js +1 -1
  28. package/lib/components/search/index.d.ts +19 -0
  29. package/lib/components/search/src/index.vue.d.ts +3 -0
  30. package/lib/components/search/src/index.vue2.js +3 -2
  31. package/lib/components/search/src/type.d.ts +6 -0
  32. package/lib/{index.css → form.css} +12 -12
  33. package/lib/version.d.ts +1 -1
  34. package/lib/version.js +1 -1
  35. package/locale/en.js +1 -1
  36. package/locale/en.min.js +1 -1
  37. package/locale/en.min.mjs +1 -1
  38. package/locale/en.mjs +1 -1
  39. package/locale/ja.js +1 -1
  40. package/locale/ja.min.js +1 -1
  41. package/locale/ja.min.mjs +1 -1
  42. package/locale/ja.mjs +1 -1
  43. package/locale/ko.js +1 -1
  44. package/locale/ko.min.js +1 -1
  45. package/locale/ko.min.mjs +1 -1
  46. package/locale/ko.mjs +1 -1
  47. package/locale/zh-cn.js +1 -1
  48. package/locale/zh-cn.min.js +1 -1
  49. package/locale/zh-cn.min.mjs +1 -1
  50. package/locale/zh-cn.mjs +1 -1
  51. package/locale/zh-tw.js +1 -1
  52. package/locale/zh-tw.min.js +1 -1
  53. package/locale/zh-tw.min.mjs +1 -1
  54. package/locale/zh-tw.mjs +1 -1
  55. package/package.json +1 -1
  56. package/theme-chalk/src/breadcrumb.scss +9 -9
  57. package/theme-chalk/src/date-picker.scss +96 -96
  58. package/theme-chalk/src/descriptions.scss +41 -41
  59. package/theme-chalk/src/display-item.scss +82 -82
  60. package/theme-chalk/src/drawer-form.scss +16 -16
  61. package/theme-chalk/src/form.scss +34 -34
  62. package/theme-chalk/src/input-tag.scss +91 -91
  63. package/theme-chalk/src/layout.scss +36 -36
  64. package/theme-chalk/src/mixins/function.scss +73 -73
  65. package/theme-chalk/src/search.scss +49 -49
  66. package/theme-chalk/src/sidebar.scss +93 -93
  67. package/theme-chalk/src/steps-form.scss +18 -18
  68. package/theme-chalk/src/table.scss +170 -170
  69. package/theme-chalk/src/var/index.scss +6 -6
package/global.d.ts CHANGED
@@ -1,29 +1,29 @@
1
- // GlobalComponents for Volar
2
- declare module '@vue/runtime-core' {
3
- export interface GlobalComponents {
4
- PlusDialog: typeof import('plus-pro-components')['PlusDialog']
5
- PlusPagination: typeof import('plus-pro-components')['PlusPagination']
6
- PlusTable: typeof import('plus-pro-components')['PlusTable']
7
- PlusRadio: typeof import('plus-pro-components')['PlusRadio']
8
- PlusDatePicker: typeof import('plus-pro-components')['PlusDatePicker']
9
- PlusDescriptions: typeof import('plus-pro-components')['PlusDescriptions']
10
- PlusDisplayItem: typeof import('plus-pro-components')['PlusDisplayItem']
11
- PlusFormItem: typeof import('plus-pro-components')['PlusFormItem']
12
- PlusForm: typeof import('plus-pro-components')['PlusForm']
13
- PlusSearch: typeof import('plus-pro-components')['PlusSearch']
14
- PlusDialogForm: typeof import('plus-pro-components')['PlusDialogForm']
15
- PlusDrawerForm: typeof import('plus-pro-components')['PlusDrawerForm']
16
- PlusPage: typeof import('plus-pro-components')['PlusPage']
17
- PlusPopover: typeof import('plus-pro-components')['PlusPopover']
18
- PlusStepsForm: typeof import('plus-pro-components')['PlusStepsForm']
19
- PlusInputTag: typeof import('plus-pro-components')['PlusInputTag']
20
- PlusBreadcrumb: typeof import('plus-pro-components')['PlusBreadcrumb']
21
- PlusSidebar: typeof import('plus-pro-components')['PlusSidebar']
22
- PlusHeader: typeof import('plus-pro-components')['PlusHeader']
23
- PlusLayout: typeof import('plus-pro-components')['PlusLayout']
24
- PlusCheckCard: typeof import('plus-pro-components')['PlusCheckCard']
25
- PlusCheckCardGroup: typeof import('plus-pro-components')['PlusCheckCardGroup']
26
- }
27
- }
28
-
29
- export {}
1
+ // GlobalComponents for Volar
2
+ declare module '@vue/runtime-core' {
3
+ export interface GlobalComponents {
4
+ PlusDialog: typeof import('plus-pro-components')['PlusDialog']
5
+ PlusPagination: typeof import('plus-pro-components')['PlusPagination']
6
+ PlusTable: typeof import('plus-pro-components')['PlusTable']
7
+ PlusRadio: typeof import('plus-pro-components')['PlusRadio']
8
+ PlusDatePicker: typeof import('plus-pro-components')['PlusDatePicker']
9
+ PlusDescriptions: typeof import('plus-pro-components')['PlusDescriptions']
10
+ PlusDisplayItem: typeof import('plus-pro-components')['PlusDisplayItem']
11
+ PlusFormItem: typeof import('plus-pro-components')['PlusFormItem']
12
+ PlusForm: typeof import('plus-pro-components')['PlusForm']
13
+ PlusSearch: typeof import('plus-pro-components')['PlusSearch']
14
+ PlusDialogForm: typeof import('plus-pro-components')['PlusDialogForm']
15
+ PlusDrawerForm: typeof import('plus-pro-components')['PlusDrawerForm']
16
+ PlusPage: typeof import('plus-pro-components')['PlusPage']
17
+ PlusPopover: typeof import('plus-pro-components')['PlusPopover']
18
+ PlusStepsForm: typeof import('plus-pro-components')['PlusStepsForm']
19
+ PlusInputTag: typeof import('plus-pro-components')['PlusInputTag']
20
+ PlusBreadcrumb: typeof import('plus-pro-components')['PlusBreadcrumb']
21
+ PlusSidebar: typeof import('plus-pro-components')['PlusSidebar']
22
+ PlusHeader: typeof import('plus-pro-components')['PlusHeader']
23
+ PlusLayout: typeof import('plus-pro-components')['PlusLayout']
24
+ PlusCheckCard: typeof import('plus-pro-components')['PlusCheckCard']
25
+ PlusCheckCardGroup: typeof import('plus-pro-components')['PlusCheckCardGroup']
26
+ }
27
+ }
28
+
29
+ export {}
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @wlydfe/pro-ui v0.2.17 */
1
+ /*! @wlydfe/pro-ui v0.2.19 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('element-plus')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vue', 'element-plus'], factory) :
@@ -4694,7 +4694,7 @@
4694
4694
  options: { default: () => [] },
4695
4695
  isCancel: { type: Boolean, default: true },
4696
4696
  fieldSlots: { default: void 0 },
4697
- fieldChildrenSlot: { default: void 0 }
4697
+ fieldChildrenSlot: { type: Function, default: void 0 }
4698
4698
  },
4699
4699
  emits: ["change", "update:modelValue"],
4700
4700
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -5450,7 +5450,7 @@
5450
5450
  __name: "index",
5451
5451
  props: {
5452
5452
  renderType: { default: void 0 },
5453
- callbackValue: { default: "" },
5453
+ callbackValue: { type: [String, Number, Boolean, null, Date, Array, Object], default: "" },
5454
5454
  customFieldProps: { default: () => ({}) },
5455
5455
  render: {},
5456
5456
  params: { default: () => ({}) },
@@ -5894,20 +5894,20 @@
5894
5894
  },
5895
5895
  __name: "index",
5896
5896
  props: {
5897
- modelValue: { default: "" },
5898
- hasLabel: { default: true },
5897
+ modelValue: { type: [String, Number, Boolean, null, Date, Array, Object], default: "" },
5898
+ hasLabel: { type: [Boolean, Object], default: true },
5899
5899
  label: { default: "" },
5900
5900
  prop: {},
5901
5901
  fieldProps: { default: () => ({}) },
5902
5902
  valueType: { default: void 0 },
5903
5903
  options: { default: () => [] },
5904
5904
  formItemProps: { default: () => ({}) },
5905
- renderField: { default: void 0 },
5906
- renderLabel: { default: void 0 },
5905
+ renderField: { type: Function, default: void 0 },
5906
+ renderLabel: { type: Function, default: void 0 },
5907
5907
  tooltip: { default: "" },
5908
5908
  fieldSlots: { default: () => ({}) },
5909
- fieldChildrenSlot: { default: void 0 },
5910
- renderErrorMessage: { default: void 0 },
5909
+ fieldChildrenSlot: { type: Function, default: void 0 },
5910
+ renderErrorMessage: { type: Function, default: void 0 },
5911
5911
  optionsMap: { default: void 0 },
5912
5912
  index: { default: 0 },
5913
5913
  clearable: { type: Boolean, default: true }
@@ -12275,6 +12275,7 @@
12275
12275
  defaultValues: { default: () => ({}) },
12276
12276
  columns: { default: () => [] },
12277
12277
  hasFooter: { type: Boolean, default: true },
12278
+ hasSearchIcon: { type: Boolean, default: true },
12278
12279
  hasReset: { type: Boolean, default: true },
12279
12280
  hasUnfold: { type: Boolean, default: true },
12280
12281
  defaultUnfold: { type: Boolean, default: true },
@@ -12400,7 +12401,7 @@
12400
12401
  }, () => [
12401
12402
  _ctx.hasReset ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElButton), {
12402
12403
  key: 0,
12403
- icon: vue.unref(refresh_right_default),
12404
+ icon: _ctx.hasSearchIcon ? vue.unref(refresh_right_default) : void 0,
12404
12405
  onClick: handleReset
12405
12406
  }, {
12406
12407
  default: vue.withCtx(() => [
@@ -12416,7 +12417,7 @@
12416
12417
  vue.createVNode(vue.unref(elementPlus.ElButton), {
12417
12418
  type: "primary",
12418
12419
  loading: _ctx.searchLoading,
12419
- icon: vue.unref(search_default),
12420
+ icon: _ctx.hasSearchIcon ? vue.unref(search_default) : void 0,
12420
12421
  onClick: handleSearch.value
12421
12422
  }, {
12422
12423
  default: vue.withCtx(() => [
@@ -13033,7 +13034,7 @@
13033
13034
  class: "plus-page__table_wrapper"
13034
13035
  }, {
13035
13036
  default: vue.withCtx(() => {
13036
- var _a2, _b, _c, _d;
13037
+ var _a2, _b;
13037
13038
  return [
13038
13039
  vue.createVNode(vue.unref(PlusTable), vue.mergeProps({
13039
13040
  ref_key: "plusTableInstance",
@@ -13041,7 +13042,6 @@
13041
13042
  "title-bar": { refresh: true }
13042
13043
  }, _ctx.table, {
13043
13044
  adaptive: (_b = (_a2 = _ctx.table) == null ? void 0 : _a2.adaptive) != null ? _b : true,
13044
- stripe: (_d = (_c = _ctx.table) == null ? void 0 : _c.stripe) != null ? _d : true,
13045
13045
  "table-data": vue.unref(tableData),
13046
13046
  "loading-status": vue.unref(loadingStatus),
13047
13047
  columns: processedColumns.value,
@@ -13100,7 +13100,7 @@
13100
13100
  ])
13101
13101
  };
13102
13102
  })
13103
- ]), 1040, ["adaptive", "stripe", "table-data", "loading-status", "columns", "pagination"])
13103
+ ]), 1040, ["adaptive", "table-data", "loading-status", "columns", "pagination"])
13104
13104
  ];
13105
13105
  }),
13106
13106
  _: 3
@@ -14652,7 +14652,7 @@
14652
14652
  }
14653
14653
  };
14654
14654
 
14655
- const version = "0.2.17";
14655
+ const version = "0.2.19";
14656
14656
 
14657
14657
  const install = installer.install;
14658
14658