@qin-ui/antd-vue-pro 1.1.20 → 1.1.22

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.
@@ -15859,13 +15859,12 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
15859
15859
  return openBlock(), createBlock(unref(_sfc_main$2), mergeProps({
15860
15860
  component: _ctx.grid ? unref(Row$1) : void 0
15861
15861
  }, withDefaultGrid.value), {
15862
- default: withCtx(() => [
15863
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.fields, (field, index2) => {
15864
- return openBlock(), createElementBlock(Fragment, {
15865
- key: getPath(field) || index2
15866
- }, [
15867
- field && !field.hidden ? (openBlock(), createBlock(unref(_sfc_main$2), mergeProps({
15868
- key: 0,
15862
+ default: withCtx(() => {
15863
+ var _a;
15864
+ return [
15865
+ (openBlock(true), createElementBlock(Fragment, null, renderList((_a = _ctx.fields) == null ? void 0 : _a.filter((i2) => i2 && !i2.hidden), (field, index2) => {
15866
+ return openBlock(), createBlock(unref(_sfc_main$2), mergeProps({
15867
+ key: getPath(field) || index2,
15869
15868
  component: _ctx.grid ? unref(Col$1) : void 0,
15870
15869
  ref_for: true
15871
15870
  }, unref(withDefaultGridItem)(field)), {
@@ -15885,8 +15884,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
15885
15884
  name: unref(toPath)(getPath(field)),
15886
15885
  path: getPath(field),
15887
15886
  onVnodeMounted: () => {
15888
- var _a;
15889
- return setFormItemRef((_a = formItemRefs.value) == null ? void 0 : _a[index2], field);
15887
+ var _a2;
15888
+ return setFormItemRef((_a2 = formItemRefs.value) == null ? void 0 : _a2[index2], field);
15890
15889
  }
15891
15890
  }), createSlots({
15892
15891
  default: withCtx(() => [
@@ -15906,12 +15905,12 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
15906
15905
  path: getPath(field),
15907
15906
  onSetComponentRef: (el) => setComponentRef(el, field),
15908
15907
  onFieldChange: () => {
15909
- var _a, _b, _c;
15910
- return (_c = (_b = (_a = formItemRefs.value) == null ? void 0 : _a[index2]) == null ? void 0 : _b.onFieldChange) == null ? void 0 : _c.call(_b);
15908
+ var _a2, _b, _c;
15909
+ return (_c = (_b = (_a2 = formItemRefs.value) == null ? void 0 : _a2[index2]) == null ? void 0 : _b.onFieldChange) == null ? void 0 : _c.call(_b);
15911
15910
  },
15912
15911
  onFieldBlur: () => {
15913
- var _a, _b, _c;
15914
- return (_c = (_b = (_a = formItemRefs.value) == null ? void 0 : _a[index2]) == null ? void 0 : _b.onFieldBlur) == null ? void 0 : _c.call(_b);
15912
+ var _a2, _b, _c;
15913
+ return (_c = (_b = (_a2 = formItemRefs.value) == null ? void 0 : _a2[index2]) == null ? void 0 : _b.onFieldBlur) == null ? void 0 : _c.call(_b);
15915
15914
  }
15916
15915
  }), null, 16, ["label", "path", "onSetComponentRef", "onFieldChange", "onFieldBlur"]))
15917
15916
  ]),
@@ -15936,10 +15935,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
15936
15935
  }, 1032, ["component", "path"])
15937
15936
  ]),
15938
15937
  _: 2
15939
- }, 1040, ["component"])) : createCommentVNode("", true)
15940
- ], 64);
15941
- }), 128))
15942
- ]),
15938
+ }, 1040, ["component"]);
15939
+ }), 128))
15940
+ ];
15941
+ }),
15943
15942
  _: 1
15944
15943
  }, 16, ["component"]);
15945
15944
  };
package/es/form/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { k, B, d, h, C, b, f, F, j, R, e, i, U, _, l, n, m, r, p, u, q, s } from "./index-aa99973a.js";
1
+ import { k, B, d, h, C, b, f, F, j, R, e, i, U, _, l, n, m, r, p, u, q, s } from "./index-ef98f1fd.js";
2
2
  import "vue";
3
3
  import "ant-design-vue";
4
4
  import "../component-provider/index.js";
package/es/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./style.css";
2
- import { _ as _sfc_main } from "./form/index-aa99973a.js";
3
- import { k, B, d, h, C, b, f, F, j, R, e, i, U, l, n, m, r, p, u, q, s } from "./form/index-aa99973a.js";
2
+ import { _ as _sfc_main } from "./form/index-ef98f1fd.js";
3
+ import { k, B, d, h, C, b, f, F, j, R, e, i, U, l, n, m, r, p, u, q, s } from "./form/index-ef98f1fd.js";
4
4
  import BaseTable from "./table/index.js";
5
5
  import { useTable } from "./table/index.js";
6
6
  import _sfc_main$1 from "./component-provider/index.js";
package/es/style.css CHANGED
@@ -5,10 +5,10 @@
5
5
  width: 100%;
6
6
  min-width: 120px;
7
7
  }
8
- .pro-form[data-v-3c1c2aab] .ant-form-item {
8
+ .pro-form[data-v-8b53b64f] .ant-form-item {
9
9
  margin: 0;
10
10
  }
11
- .expand-transition[data-v-3c1c2aab] {
11
+ .expand-transition[data-v-8b53b64f] {
12
12
  transition: all 0.25s;
13
13
  }
14
14
  .control-icon[data-v-4f46d39e] {
package/es/table/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { createVNode, defineComponent, ref, onMounted, computed, openBlock, createBlock, unref, mergeProps, withCtx, createTextVNode, toDisplayString, normalizeStyle, createCommentVNode, mergeModels, useModel, watch, createElementVNode, createElementBlock, Fragment, renderList, withModifiers, renderSlot, useAttrs, useSlots, toValue, createSlots, normalizeProps, guardReactiveProps, nextTick } from "vue";
2
2
  import { Space, Button, Dropdown, Menu, MenuItem, Checkbox, MenuDivider, Table } from "ant-design-vue";
3
3
  import { useInjectProps, INJECT_KEYS } from "../component-provider/index.js";
4
- import { A as AntdIcon, _ as _sfc_main$6, g as get, a as _export_sfc, o as omit, b as _sfc_main$7, c as cloneDeep, u as useForm } from "../form/index-aa99973a.js";
4
+ import { A as AntdIcon, _ as _sfc_main$6, g as get, a as _export_sfc, o as omit, b as _sfc_main$7, c as cloneDeep, u as useForm } from "../form/index-ef98f1fd.js";
5
5
  var ColumnHeightOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" } }] }, "name": "column-height", "theme": "outlined" };
6
6
  const ColumnHeightOutlinedSvg = ColumnHeightOutlined$2;
7
7
  function _objectSpread$2(target) {
@@ -170,10 +170,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
170
170
  });
171
171
  const layoutProps = computed(
172
172
  () => props.layout === "grid" ? {
173
- grid: { gutter: [columnGap, rowGap], style: { flex: 1 } },
173
+ grid: {
174
+ gutter: [columnGap, rowGap],
175
+ style: { flex: 1, marginRight: "12px" }
176
+ },
174
177
  style: {
175
178
  display: "flex",
176
- gap: "24px",
177
179
  overflow: "hidden",
178
180
  height: `${expandStatus.value ? proFormHeight : collapseHeight}px`
179
181
  }
@@ -231,8 +233,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
231
233
  };
232
234
  }
233
235
  });
234
- const SearchForm_vue_vue_type_style_index_0_scoped_3c1c2aab_lang = "";
235
- const SearchForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-3c1c2aab"]]);
236
+ const SearchForm_vue_vue_type_style_index_0_scoped_8b53b64f_lang = "";
237
+ const SearchForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-8b53b64f"]]);
236
238
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
237
239
  __name: "Control",
238
240
  props: /* @__PURE__ */ mergeModels({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qin-ui/antd-vue-pro",
3
- "version": "1.1.20",
3
+ "version": "1.1.22",
4
4
  "description": "二次封装antd vue组件",
5
5
  "type": "module",
6
6
  "main": "es/index.js",