pro-design-vue 1.0.0-rc.4 → 1.0.0-rc.5

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 (35) hide show
  1. package/dist/index.full.js +13 -9
  2. package/dist/index.full.min.js +2 -2
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +2 -2
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +13 -9
  7. package/es/components/table/src/components/Body/Body.vue.mjs +4 -3
  8. package/es/components/table/src/components/Body/Body.vue.mjs.map +1 -1
  9. package/es/components/table/src/components/Body/Body.vue2.mjs.map +1 -1
  10. package/es/components/table/src/components/Form/Form.d.ts +3 -0
  11. package/es/components/table/src/components/Form/Form.mjs +6 -4
  12. package/es/components/table/src/components/Form/Form.mjs.map +1 -1
  13. package/es/components/table/src/components/Table.mjs +1 -0
  14. package/es/components/table/src/components/Table.mjs.map +1 -1
  15. package/es/components/table/src/components/interface.d.ts +1 -0
  16. package/es/components/table/src/components/interface.mjs.map +1 -1
  17. package/es/index.d.ts +1 -0
  18. package/es/version.d.ts +1 -1
  19. package/es/version.mjs +1 -1
  20. package/es/version.mjs.map +1 -1
  21. package/lib/components/table/src/components/Body/Body.vue.js +4 -3
  22. package/lib/components/table/src/components/Body/Body.vue.js.map +1 -1
  23. package/lib/components/table/src/components/Body/Body.vue2.js.map +1 -1
  24. package/lib/components/table/src/components/Form/Form.d.ts +3 -0
  25. package/lib/components/table/src/components/Form/Form.js +6 -4
  26. package/lib/components/table/src/components/Form/Form.js.map +1 -1
  27. package/lib/components/table/src/components/Table.js +1 -0
  28. package/lib/components/table/src/components/Table.js.map +1 -1
  29. package/lib/components/table/src/components/interface.d.ts +1 -0
  30. package/lib/components/table/src/components/interface.js.map +1 -1
  31. package/lib/index.d.ts +1 -0
  32. package/lib/version.d.ts +1 -1
  33. package/lib/version.js +1 -1
  34. package/lib/version.js.map +1 -1
  35. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Pro Design Vue v1.0.0-rc.4 */
1
+ /*! Pro Design Vue v1.0.0-rc.5 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ant-design-vue'), require('vue')) :
@@ -16,7 +16,7 @@
16
16
  const SCROLL_FIXED_CLASS = `_scroll__fixed_`;
17
17
  const DEFAULT_NAMESPACE = "pro";
18
18
 
19
- const version$1 = "1.0.0-rc.4";
19
+ const version$1 = "1.0.0-rc.5";
20
20
 
21
21
  const makeInstaller = (components = []) => {
22
22
  const install = (app) => {
@@ -30824,7 +30824,8 @@
30824
30824
  class: vue.normalizeClass(_ctx.bodyClass),
30825
30825
  style: vue.normalizeStyle(_ctx.bodyStyle),
30826
30826
  onDragstart: _cache[9] || (_cache[9] = (...args) => _ctx.handleDragStart && _ctx.handleDragStart(...args)),
30827
- onKeydown: _cache[10] || (_cache[10] = (...args) => _ctx.handleKeydown && _ctx.handleKeydown(...args))
30827
+ onKeydown: _cache[10] || (_cache[10] = (...args) => _ctx.handleKeydown && _ctx.handleKeydown(...args)),
30828
+ onResize: _cache[11] || (_cache[11] = (...args) => _ctx.handleBodyResize && _ctx.handleBodyResize(...args))
30828
30829
  },
30829
30830
  [
30830
30831
  vue.createElementVNode("div", _hoisted_1$3, [
@@ -31180,7 +31181,7 @@
31180
31181
  38
31181
31182
  /* CLASS, STYLE, NEED_HYDRATION */
31182
31183
  )), [
31183
- [_directive_resize, void 0, "height"]
31184
+ [_directive_resize]
31184
31185
  ]),
31185
31186
  vue.createVNode(_component_RenderSlot, null, {
31186
31187
  default: vue.withCtx(() => [
@@ -31210,7 +31211,7 @@
31210
31211
  vue.withDirectives((vue.openBlock(), vue.createElementBlock(
31211
31212
  "div",
31212
31213
  {
31213
- onResizeheight: _cache[11] || (_cache[11] = (...args) => _ctx.handleResize && _ctx.handleResize(...args))
31214
+ onResizeheight: _cache[12] || (_cache[12] = (...args) => _ctx.handleResize && _ctx.handleResize(...args))
31214
31215
  },
31215
31216
  [
31216
31217
  vue.createVNode(_component_RenderVNode, { vnode: _ctx.summary }, null, 8, ["vnode"])
@@ -33402,6 +33403,7 @@
33402
33403
  },
33403
33404
  loading: Boolean,
33404
33405
  manual: Boolean,
33406
+ tableShowCard: Boolean,
33405
33407
  beforeSearchSubmit: {
33406
33408
  type: Function,
33407
33409
  default: (searchParams) => searchParams
@@ -33456,14 +33458,15 @@
33456
33458
  (_e = (_d = cardProps.value) == null ? void 0 : _d.onTabChange) == null ? void 0 : _e.call(_d, key);
33457
33459
  };
33458
33460
  return () => {
33459
- var _a2, _b2, _c2;
33461
+ var _a2, _b2, _c2, _d;
33460
33462
  const searchDom = vue.createVNode(ProQueryFilter, vue.mergeProps({
33461
33463
  "class": `${props.prefixCls}-form`
33462
33464
  }, omit(props.search || {}, ["cardProps", "tabName"]), {
33463
33465
  "items": props.items,
33464
33466
  "loading": props.loading,
33465
33467
  "style": {
33466
- marginBlockEnd: ((_a2 = props.search) == null ? void 0 : _a2.cardProps) !== false ? 0 : "40px"
33468
+ marginBlockEnd: ((_a2 = props.search) == null ? void 0 : _a2.cardProps) !== false && props.tableShowCard ? 0 : "30px",
33469
+ ...(_b2 = props.search) == null ? void 0 : _b2.style
33467
33470
  },
33468
33471
  "onReset": props.onReset,
33469
33472
  "onFinish": (values) => {
@@ -33480,7 +33483,7 @@
33480
33483
  submit(values, true);
33481
33484
  }
33482
33485
  }), null);
33483
- if (((_b2 = props.search) == null ? void 0 : _b2.cardProps) !== false) {
33486
+ if (((_c2 = props.search) == null ? void 0 : _c2.cardProps) !== false && props.tableShowCard) {
33484
33487
  return vue.createVNode(antDesignVue.Card, vue.mergeProps({
33485
33488
  "class": `${props.prefixCls}-search`,
33486
33489
  "activeTabKey": activeTabKey.value,
@@ -33488,7 +33491,7 @@
33488
33491
  "style": {
33489
33492
  marginBlockEnd: "16px"
33490
33493
  }
33491
- }, omit((_c2 = cardProps.value) != null ? _c2 : {}, ["onTabChange", "activeTabKey"]), {
33494
+ }, omit((_d = cardProps.value) != null ? _d : {}, ["onTabChange", "activeTabKey"]), {
33492
33495
  "onTabChange": onTabChange
33493
33496
  }), _isSlot$3(searchDom) ? searchDom : {
33494
33497
  default: () => [searchDom]
@@ -33841,6 +33844,7 @@
33841
33844
  "items": formItems.value,
33842
33845
  "cardBordered": props.cardBordered,
33843
33846
  "search": props.search,
33847
+ "tableShowCard": props.cardProps !== false,
33844
33848
  "loading": formSubmitLoading.value,
33845
33849
  "beforeSearchSubmit": props.beforeSearchSubmit,
33846
33850
  "manual": props.manual,