@wlydfe/pro-ui 0.2.16 → 0.2.18

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 (45) hide show
  1. package/es/components/page/index.d.ts +48 -3
  2. package/es/components/page/src/index.vue.d.ts +52 -13
  3. package/es/components/page/src/index.vue2.mjs +6 -3
  4. package/es/components/search/index.d.ts +19 -0
  5. package/es/components/search/src/index.vue.d.ts +3 -0
  6. package/es/components/search/src/index.vue2.mjs +3 -2
  7. package/es/components/search/src/type.d.ts +6 -0
  8. package/es/index.css +12 -12
  9. package/es/version.d.ts +1 -1
  10. package/es/version.mjs +1 -1
  11. package/index.js +11 -7
  12. package/index.min.js +2 -2
  13. package/index.min.mjs +2 -2
  14. package/index.mjs +11 -7
  15. package/lib/components/page/index.d.ts +48 -3
  16. package/lib/components/page/src/index.vue.d.ts +52 -13
  17. package/lib/components/page/src/index.vue2.js +6 -3
  18. package/lib/components/search/index.d.ts +19 -0
  19. package/lib/components/search/src/index.vue.d.ts +3 -0
  20. package/lib/components/search/src/index.vue2.js +3 -2
  21. package/lib/components/search/src/type.d.ts +6 -0
  22. package/lib/{index.css → page.css} +12 -12
  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
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @wlydfe/pro-ui v0.2.16 */
1
+ /*! @wlydfe/pro-ui v0.2.18 */
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) :
@@ -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(() => [
@@ -12887,11 +12888,14 @@
12887
12888
  const renderWrapper = () => {
12888
12889
  if (props.isCard) {
12889
12890
  return {
12890
- search: vue.h(elementPlus.ElCard, props.searchCardProps),
12891
- table: vue.h(elementPlus.ElCard, props.tableCardProps)
12891
+ search: vue.h(elementPlus.ElCard, { ...props.searchCardProps, class: "plus-page__search" }),
12892
+ table: vue.h(elementPlus.ElCard, { ...props.tableCardProps, class: "plus-page__table" })
12892
12893
  };
12893
12894
  }
12894
- return { search: vue.h("div"), table: vue.h("div") };
12895
+ return {
12896
+ search: vue.h("div", { class: "plus-page__search" }),
12897
+ table: vue.h("div", { class: "plus-page__table" })
12898
+ };
12895
12899
  };
12896
12900
  const getList = async () => {
12897
12901
  var _a2, _b;
@@ -14649,7 +14653,7 @@
14649
14653
  }
14650
14654
  };
14651
14655
 
14652
- const version = "0.2.14";
14656
+ const version = "0.2.18";
14653
14657
 
14654
14658
  const install = installer.install;
14655
14659