sun-form-v3 1.0.150 → 1.0.152
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/dist/{index-CQ_Wf9kF.js → index-2wGN4TqD.js} +1 -1
- package/dist/{index-DG7dE9E1.js → index-BJyHcumY.js} +1 -1
- package/dist/{index-BKMy7bG7.js → index-BTYuB1v3.js} +1 -1
- package/dist/{index-Um5e5CgV.js → index-BgX8eCVn.js} +1 -1
- package/dist/{index-D6kPuApM.js → index-Cxzk5fWS.js} +9 -6
- package/dist/{index-Cki0yMgi.js → index-Du3j7-1h.js} +1 -1
- package/dist/{index-BUZ_n1By.js → index-DvC14E_n.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +3 -3
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import { computed as S, ref as C, resolveComponent as u, openBlock as k, createElementBlock as O, Fragment as U, createVNode as e, withCtx as l, createTextVNode as f, unref as i, isRef as J, createElementVNode as c } from "vue";
|
2
|
-
import { _ as E } from "./index-
|
2
|
+
import { _ as E } from "./index-Cxzk5fWS.js";
|
3
3
|
const H = { class: "h-full flex flex-col" }, B = { class: "flex-1 overflow-hidden" }, T = {
|
4
4
|
__name: "dataConfig",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { computed as j, ref as g, onMounted as $, resolveComponent as f, openBlock as v, createElementBlock as h, Fragment as x, createVNode as u, withCtx as o, createTextVNode as C, createElementVNode as a, renderList as B, unref as V, toDisplayString as N, nextTick as U, createBlock as D } from "vue";
|
2
|
-
import { e as E, i as M } from "./index-
|
2
|
+
import { e as E, i as M } from "./index-Cxzk5fWS.js";
|
3
3
|
const R = { class: "flex-wrap flex" }, S = ["onClick"], T = { class: "inner cursor-pointer hover:shadow-md hover:shadow-blue-200 border w-full h-full p-1 flex flex-col overflow-hidden items-center rounded-md shadow-sm" }, z = { class: "lab border-t w-full text-center mt-1 font-bold" }, F = /* @__PURE__ */ Object.assign({ name: "chatChoose" }, {
|
4
4
|
__name: "chartChoose",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as g, resolveComponent as u, openBlock as b, createElementBlock as V, Fragment as w, createVNode as e, withCtx as n, unref as a } from "vue";
|
2
|
-
import { c } from "./index-
|
2
|
+
import { c } from "./index-Cxzk5fWS.js";
|
3
3
|
const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
|
4
4
|
__name: "index",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { computed as S, ref as C, resolveComponent as p, openBlock as U, createElementBlock as k, Fragment as O, createVNode as e, withCtx as l, createTextVNode as g, unref as i, isRef as J, createElementVNode as f } from "vue";
|
2
|
-
import { _ as T } from "./index-
|
2
|
+
import { _ as T } from "./index-Cxzk5fWS.js";
|
3
3
|
const E = { class: "h-full flex flex-col" }, H = { class: "flex-1 overflow-hidden" }, B = {
|
4
4
|
__name: "dataConfig",
|
5
5
|
props: {
|
@@ -4879,7 +4879,7 @@ const pxe = {
|
|
4879
4879
|
], 4);
|
4880
4880
|
};
|
4881
4881
|
}
|
4882
|
-
}), Yxe = /* @__PURE__ */ ls(Uxe, [["__scopeId", "data-v-
|
4882
|
+
}), Yxe = /* @__PURE__ */ ls(Uxe, [["__scopeId", "data-v-de0e8611"]]);
|
4883
4883
|
/**!
|
4884
4884
|
* Sortable 1.15.3
|
4885
4885
|
* @author RubaXa <trash@rubaxa.org>
|
@@ -78566,7 +78566,7 @@ const eQe = {
|
|
78566
78566
|
});
|
78567
78567
|
}, s = (h, y) => {
|
78568
78568
|
h.forEach((_) => {
|
78569
|
-
_.isForm && (_.props.isDetail = y), _.type == "datatable" && s(_.widgetList, y), _.isContainer && s(_.widgetList, y), _.widgetList && _.widgetList.length && a(_.widgetList);
|
78569
|
+
_.isForm && (_.props.isDetail = y, y && _.props.placeholder && (_.props.placeholder = "")), _.type == "datatable" && s(_.widgetList, y), _.isContainer && s(_.widgetList, y), _.widgetList && _.widgetList.length && a(_.widgetList);
|
78570
78570
|
});
|
78571
78571
|
}, l = () => n.designer.getWidgetListResultById(n.widget.id), u = (h = !1) => {
|
78572
78572
|
n.designer.resetWidgetListById(n.widget.id, h);
|
@@ -78722,7 +78722,7 @@ const eQe = {
|
|
78722
78722
|
]);
|
78723
78723
|
};
|
78724
78724
|
}
|
78725
|
-
}), oQe = /* @__PURE__ */ ls(iQe, [["__scopeId", "data-v-
|
78725
|
+
}), oQe = /* @__PURE__ */ ls(iQe, [["__scopeId", "data-v-0baa3bce"]]), aQe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
78726
78726
|
__proto__: null,
|
78727
78727
|
default: oQe
|
78728
78728
|
}, Symbol.toStringTag, { value: "Module" })), sQe = /* @__PURE__ */ Object.assign({ name: "widget-homepage" }, {
|
@@ -79038,7 +79038,9 @@ const eQe = {
|
|
79038
79038
|
const r = ft(!1);
|
79039
79039
|
let i = Le(() => n.widget.props), o = null;
|
79040
79040
|
const a = (f) => {
|
79041
|
-
o = n.designer.$utils.clone(n.widget, !0), r.value = !0,
|
79041
|
+
o = n.designer.$utils.clone(n.widget, !0), r.value = !0, dt(() => {
|
79042
|
+
f && f();
|
79043
|
+
});
|
79042
79044
|
}, s = () => {
|
79043
79045
|
r.value = !1, n.designer.eventHandle({
|
79044
79046
|
eventType: "onHideModel",
|
@@ -90922,7 +90924,8 @@ class sme {
|
|
90922
90924
|
r(this.getWidgetById(t).widgetList);
|
90923
90925
|
}
|
90924
90926
|
getMethodById(t) {
|
90925
|
-
|
90927
|
+
const n = this.getVueInstance(t);
|
90928
|
+
return n ? n.exposed : (console.warn(`组件 ${t} 尚未注册,无法获取其方法`), {});
|
90926
90929
|
}
|
90927
90930
|
getPropsById(t) {
|
90928
90931
|
return this.widgetMap.get(t).props;
|
@@ -95053,7 +95056,7 @@ const v6 = /* @__PURE__ */ Object.assign({ name: "sunForm" }, {
|
|
95053
95056
|
},
|
95054
95057
|
setup(e) {
|
95055
95058
|
const n = Object.fromEntries(
|
95056
|
-
Object.entries(/* @__PURE__ */ Object.assign({ "../widgetConfigComps/config-alert/index.vue": () => import("./index-ZVIqhtUw.js"), "../widgetConfigComps/config-button/index.vue": () => import("./index-CvnfmMTc.js"), "../widgetConfigComps/config-card/index.vue": () => import("./index-BJ0vPF5A.js"), "../widgetConfigComps/config-cascader/index.vue": () => import("./index-BcUJtkEW.js"), "../widgetConfigComps/config-checkCode/index.vue": () => import("./index-kUQct_cM.js"), "../widgetConfigComps/config-checkbox/index.vue": () => import("./index-DM5DPltp.js"), "../widgetConfigComps/config-codeEditor/index.vue": () => import("./index-CzkuANsf.js"), "../widgetConfigComps/config-datatable/index.vue": () => import("./index-
|
95059
|
+
Object.entries(/* @__PURE__ */ Object.assign({ "../widgetConfigComps/config-alert/index.vue": () => import("./index-ZVIqhtUw.js"), "../widgetConfigComps/config-button/index.vue": () => import("./index-CvnfmMTc.js"), "../widgetConfigComps/config-card/index.vue": () => import("./index-BJ0vPF5A.js"), "../widgetConfigComps/config-cascader/index.vue": () => import("./index-BcUJtkEW.js"), "../widgetConfigComps/config-checkCode/index.vue": () => import("./index-kUQct_cM.js"), "../widgetConfigComps/config-checkbox/index.vue": () => import("./index-DM5DPltp.js"), "../widgetConfigComps/config-codeEditor/index.vue": () => import("./index-CzkuANsf.js"), "../widgetConfigComps/config-datatable/index.vue": () => import("./index-Du3j7-1h.js"), "../widgetConfigComps/config-date/index.vue": () => import("./index-C0NmmaE2.js"), "../widgetConfigComps/config-div/index.vue": () => import("./index-BAEL_Fhr.js"), "../widgetConfigComps/config-echarts/index.vue": () => import("./index-BJyHcumY.js"), "../widgetConfigComps/config-editor/index.vue": () => import("./index-CXNYHPLK.js"), "../widgetConfigComps/config-file/index.vue": () => import("./index-BRnMjd7_.js"), "../widgetConfigComps/config-form/index.vue": () => import("./index-CIaeKFCl.js"), "../widgetConfigComps/config-homepage/index.vue": () => import("./index-CifChfEv.js"), "../widgetConfigComps/config-image/index.vue": () => import("./index-dGJDj4ro.js"), "../widgetConfigComps/config-input/index.vue": () => import("./index-kzElMYkk.js"), "../widgetConfigComps/config-modal/index.vue": () => import("./index-CiNAZsvy.js"), "../widgetConfigComps/config-modal2/index.vue": () => import("./index-D7zr1ztZ.js"), "../widgetConfigComps/config-progress/index.vue": () => import("./index-c0zw96Jm.js"), "../widgetConfigComps/config-qrcode/index.vue": () => import("./index-DHjsGntq.js"), "../widgetConfigComps/config-radio/index.vue": () => import("./index-DYFp4hH-.js"), "../widgetConfigComps/config-rate/index.vue": () => import("./index-B0fldwhm.js"), "../widgetConfigComps/config-select/index.vue": () => import("./index-B1b5cejN.js"), "../widgetConfigComps/config-selects/index.vue": () => import("./index-CZZfzYn7.js"), "../widgetConfigComps/config-statistic/index.vue": () => import("./index-DvC14E_n.js"), "../widgetConfigComps/config-steps/index.vue": () => import("./index-2wGN4TqD.js"), "../widgetConfigComps/config-switch/index.vue": () => import("./index-Dag4zSq7.js"), "../widgetConfigComps/config-tag/index.vue": () => import("./index-BTYuB1v3.js"), "../widgetConfigComps/config-text/index.vue": () => import("./index-BYbxnzUx.js"), "../widgetConfigComps/config-time/index.vue": () => import("./index-zkXVDNsL.js"), "../widgetConfigComps/config-timeline/index.vue": () => import("./index-BgX8eCVn.js"), "../widgetConfigComps/config-title/index.vue": () => import("./index-C78PiK5v.js"), "../widgetConfigComps/config-transfer/index.vue": () => import("./index-DQ3y00Pa.js") })).map(([p, h]) => {
|
95057
95060
|
const y = p.match(/\/([^/]+)\/index\.vue$/);
|
95058
95061
|
return [y ? y[1] : null, v_e(h)];
|
95059
95062
|
})
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as C, resolveComponent as g, openBlock as T, createElementBlock as H, Fragment as E, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as A, createElementVNode as f, toDisplayString as k, createCommentVNode as D } from "vue";
|
2
|
-
import { _ as $ } from "./index-
|
2
|
+
import { _ as $ } from "./index-Cxzk5fWS.js";
|
3
3
|
const q = {
|
4
4
|
key: 0,
|
5
5
|
class: "flex h-full flex-col"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { computed as z, ref as x, resolveComponent as p, openBlock as k, createElementBlock as U, Fragment as O, createVNode as e, withCtx as l, createTextVNode as V, unref as u, isRef as J, createElementVNode as m } from "vue";
|
2
|
-
import { _ as E, c as H } from "./index-
|
2
|
+
import { _ as E, c as H } from "./index-Cxzk5fWS.js";
|
3
3
|
const h = { class: "h-full flex flex-col" }, B = { class: "flex-1 overflow-hidden" }, T = /* @__PURE__ */ Object.assign({ name: "commonStyleConfig" }, {
|
4
4
|
__name: "dataConfig",
|
5
5
|
props: {
|