@qin-ui/antd-vue-pro 1.0.29 → 1.0.31
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, provide, renderSlot } from "vue";
|
|
2
2
|
import "ant-design-vue";
|
|
3
|
-
import { I as INJECT_COMPONENT_PROPS_KEYS } from "../form/index-
|
|
3
|
+
import { I as INJECT_COMPONENT_PROPS_KEYS } from "../form/index-393e2199.js";
|
|
4
4
|
import { PRO_TABLE_INJECT_COMPONENT_PROPS_KEYS } from "../table/index.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
|
@@ -16390,7 +16390,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
16390
16390
|
return get$1(formData == null ? void 0 : formData.value, props.path);
|
|
16391
16391
|
},
|
|
16392
16392
|
set(val) {
|
|
16393
|
-
updateFormData == null ? void 0 : updateFormData(
|
|
16393
|
+
updateFormData == null ? void 0 : updateFormData(props.path, val);
|
|
16394
16394
|
}
|
|
16395
16395
|
});
|
|
16396
16396
|
const forceUpdateKey = ref(0);
|
|
@@ -16501,7 +16501,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
16501
16501
|
};
|
|
16502
16502
|
}
|
|
16503
16503
|
});
|
|
16504
|
-
const
|
|
16504
|
+
const index_vue_vue_type_style_index_0_scoped_ae6f9e01_lang = "";
|
|
16505
16505
|
const _export_sfc = (sfc, props) => {
|
|
16506
16506
|
const target = sfc.__vccOpts || sfc;
|
|
16507
16507
|
for (const [key, val] of props) {
|
|
@@ -16509,7 +16509,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
16509
16509
|
}
|
|
16510
16510
|
return target;
|
|
16511
16511
|
};
|
|
16512
|
-
const BaseField = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
16512
|
+
const BaseField = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-ae6f9e01"]]);
|
|
16513
16513
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
16514
16514
|
...{
|
|
16515
16515
|
name: "ContainerFragment",
|
|
@@ -16588,24 +16588,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16588
16588
|
return props.form ? (_a = props.form) == null ? void 0 : _a.formData.value : props.formData;
|
|
16589
16589
|
}
|
|
16590
16590
|
);
|
|
16591
|
-
const updateFormData = (
|
|
16591
|
+
const updateFormData = (path, value) => {
|
|
16592
16592
|
var _a;
|
|
16593
16593
|
if (props.form) {
|
|
16594
16594
|
(_a = props.form) == null ? void 0 : _a.setFormData(path, value);
|
|
16595
16595
|
} else {
|
|
16596
|
-
const
|
|
16597
|
-
|
|
16598
|
-
({ preData, cb }, key, index2, arr) => {
|
|
16599
|
-
if (index2 === arr.length - 1) {
|
|
16600
|
-
return cb({ ...preData, [key]: value });
|
|
16601
|
-
}
|
|
16602
|
-
return {
|
|
16603
|
-
preData: preData[key] || {},
|
|
16604
|
-
cb: (data) => cb({ ...preData, [key]: data })
|
|
16605
|
-
};
|
|
16606
|
-
},
|
|
16607
|
-
{ preData: props.formData, cb: (data) => data }
|
|
16608
|
-
);
|
|
16596
|
+
const newFormData = cloneDeep(_formData);
|
|
16597
|
+
set$1(newFormData, path, value);
|
|
16609
16598
|
emit("update:formData", newFormData);
|
|
16610
16599
|
}
|
|
16611
16600
|
updateActivePath(path);
|
package/es/form/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k, B, d, h, C, b, f, F, j, l, I, P, R, e, i, U, g, _, m, p, n, s, q, u, r, t } from "./index-
|
|
1
|
+
import { k, B, d, h, C, b, f, F, j, l, I, P, R, e, i, U, g, _, m, p, n, s, q, u, r, t } from "./index-393e2199.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "ant-design-vue";
|
|
4
4
|
export {
|
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, l, I, P, R, e, i, U, g, m, p, n, s, q, u, r, t } from "./form/index-
|
|
2
|
+
import { _ as _sfc_main } from "./form/index-393e2199.js";
|
|
3
|
+
import { k, B, d, h, C, b, f, F, j, l, I, P, R, e, i, U, g, m, p, n, s, q, u, r, t } from "./form/index-393e2199.js";
|
|
4
4
|
import BaseTable from "./table/index.js";
|
|
5
5
|
import { PRO_TABLE_INIT_COMPONENT_PROPS_MAP, PRO_TABLE_INJECT_COMPONENT_PROPS_KEYS, useTable } from "./table/index.js";
|
|
6
6
|
import _sfc_main$1 from "./component-provider/index.js";
|
package/es/style.css
CHANGED
package/es/table/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createVNode, defineComponent, ref, onMounted, openBlock, createElementBlock, unref, normalizeStyle, createElementVNode, withCtx, createTextVNode, createBlock, toDisplayString, createCommentVNode, mergeModels, useModel, computed, watch, Fragment, renderList, withModifiers, renderSlot, inject, useAttrs, useSlots, mergeProps, createSlots, normalizeProps, guardReactiveProps, nextTick } from "vue";
|
|
2
2
|
import { Button, Space, Dropdown, Menu, MenuItem, Checkbox, MenuDivider, Table } from "ant-design-vue";
|
|
3
|
-
import { A as AntdIcon, _ as _sfc_main$6, a as _export_sfc, o as omit, b as _sfc_main$7, c as cloneDeep, u as useForm } from "../form/index-
|
|
3
|
+
import { A as AntdIcon, _ as _sfc_main$6, a as _export_sfc, o as omit, b as _sfc_main$7, c as cloneDeep, u as useForm } from "../form/index-393e2199.js";
|
|
4
4
|
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" };
|
|
5
5
|
const ColumnHeightOutlinedSvg = ColumnHeightOutlined$2;
|
|
6
6
|
function _objectSpread$2(target) {
|