@qin-ui/antd-vue-pro 1.1.19 → 1.1.21
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.
- package/es/form/{index-e6fc6e90.js → index-ef98f1fd.js} +16 -17
- package/es/form/index.js +1 -1
- package/es/index.js +2 -2
- package/es/table/index.js +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
15864
|
-
|
|
15865
|
-
|
|
15866
|
-
|
|
15867
|
-
|
|
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
|
|
15889
|
-
return setFormItemRef((
|
|
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
|
|
15910
|
-
return (
|
|
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
|
|
15914
|
-
return (
|
|
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"])
|
|
15940
|
-
|
|
15941
|
-
|
|
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-
|
|
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-
|
|
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-
|
|
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/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-
|
|
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) {
|