sun-form-v3 1.0.82 → 1.0.83
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as x, resolveComponent as s, openBlock as k, createElementBlock as T, Fragment as E, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as L, createElementVNode as g, toDisplayString as y, createCommentVNode as D, pushScopeId as B, popScopeId as J } from "vue";
|
2
|
-
import { _ as R } from "./index-
|
2
|
+
import { _ as R } from "./index-Cvmc5yN9.js";
|
3
3
|
const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(() => /* @__PURE__ */ g("span", null, "复杂表头配置", -1)), q = {
|
4
4
|
key: 0,
|
5
5
|
class: "flex h-full flex-col"
|
@@ -7330,19 +7330,21 @@ const bb = (e) => (ho("data-v-0bb5febe"), e = e(), go(), e), wb = {
|
|
7330
7330
|
default: {}
|
7331
7331
|
}
|
7332
7332
|
},
|
7333
|
-
setup(e) {
|
7334
|
-
let
|
7335
|
-
return
|
7336
|
-
|
7337
|
-
|
7333
|
+
setup(e, { expose: t }) {
|
7334
|
+
let r = e.designer;
|
7335
|
+
return r.widgetConfig, t({
|
7336
|
+
designer: r
|
7337
|
+
}), (a, o) => {
|
7338
|
+
const i = I("widget-homepage"), l = I("commonContainer");
|
7339
|
+
return y(), x(l, {
|
7338
7340
|
class: "h-full w-full",
|
7339
|
-
widget: c(
|
7340
|
-
designer: c(
|
7341
|
+
widget: c(r).widgetConfig,
|
7342
|
+
designer: c(r)
|
7341
7343
|
}, {
|
7342
7344
|
default: b(() => [
|
7343
|
-
_(
|
7344
|
-
widget: c(
|
7345
|
-
designer: c(
|
7345
|
+
_(i, {
|
7346
|
+
widget: c(r).widgetConfig,
|
7347
|
+
designer: c(r)
|
7346
7348
|
}, null, 8, ["widget", "designer"])
|
7347
7349
|
]),
|
7348
7350
|
_: 1
|
@@ -7359,7 +7361,7 @@ const bb = (e) => (ho("data-v-0bb5febe"), e = e(), go(), e), wb = {
|
|
7359
7361
|
},
|
7360
7362
|
setup(e) {
|
7361
7363
|
const n = Object.fromEntries(
|
7362
|
-
Object.entries(/* @__PURE__ */ Object.assign({ "../widgetConfigComps/config-button/index.vue": () => import("./index-CvnfmMTc.js"), "../widgetConfigComps/config-checkbox/index.vue": () => import("./index-DM5DPltp.js"), "../widgetConfigComps/config-datatable/index.vue": () => import("./index-
|
7364
|
+
Object.entries(/* @__PURE__ */ Object.assign({ "../widgetConfigComps/config-button/index.vue": () => import("./index-CvnfmMTc.js"), "../widgetConfigComps/config-checkbox/index.vue": () => import("./index-DM5DPltp.js"), "../widgetConfigComps/config-datatable/index.vue": () => import("./index-BKOp9yTB.js"), "../widgetConfigComps/config-date/index.vue": () => import("./index-C0NmmaE2.js"), "../widgetConfigComps/config-form/index.vue": () => import("./index-CxNAuKj7.js"), "../widgetConfigComps/config-homepage/index.vue": () => import("./index-CITbTrFx.js"), "../widgetConfigComps/config-input/index.vue": () => import("./index-BYSQOsYK.js"), "../widgetConfigComps/config-modal/index.vue": () => import("./index-DIwhu60e.js"), "../widgetConfigComps/config-progress/index.vue": () => import("./index-c0zw96Jm.js"), "../widgetConfigComps/config-radio/index.vue": () => import("./index-DVgKDMax.js"), "../widgetConfigComps/config-rate/index.vue": () => import("./index-XP0bVDnU.js"), "../widgetConfigComps/config-select/index.vue": () => import("./index-Bb57DL9x.js"), "../widgetConfigComps/config-selects/index.vue": () => import("./index-eJQFWCeP.js"), "../widgetConfigComps/config-switch/index.vue": () => import("./index-BVfC-7wG.js"), "../widgetConfigComps/config-time/index.vue": () => import("./index-zkXVDNsL.js") })).map(([s, u]) => {
|
7363
7365
|
const d = s.match(/\/([^/]+)\/index\.vue$/);
|
7364
7366
|
return [d ? d[1] : null, wh(u)];
|
7365
7367
|
})
|
@@ -17699,36 +17701,38 @@ const dh = /* @__PURE__ */ Object.assign({ name: "sunForm" }, {
|
|
17699
17701
|
default: {}
|
17700
17702
|
}
|
17701
17703
|
},
|
17702
|
-
setup(e) {
|
17703
|
-
let
|
17704
|
+
setup(e, { expose: t }) {
|
17705
|
+
let n = e, r = rt(
|
17704
17706
|
new ch({
|
17705
17707
|
showMode: !0,
|
17706
|
-
widgetConfig:
|
17707
|
-
httpSuccessHandle:
|
17708
|
-
httpErrorHandle:
|
17709
|
-
httpBeforeSendHandle:
|
17710
|
-
baseUrl:
|
17711
|
-
headers:
|
17708
|
+
widgetConfig: n.widgetConfig,
|
17709
|
+
httpSuccessHandle: n.httpSuccessHandle,
|
17710
|
+
httpErrorHandle: n.httpErrorHandle,
|
17711
|
+
httpBeforeSendHandle: n.httpBeforeSendHandle,
|
17712
|
+
baseUrl: n.baseUrl,
|
17713
|
+
headers: n.headers
|
17712
17714
|
})
|
17713
17715
|
);
|
17714
|
-
return (
|
17715
|
-
|
17716
|
-
|
17716
|
+
return t({
|
17717
|
+
designer: r
|
17718
|
+
}), (a, o) => {
|
17719
|
+
const i = I("widget-homepage"), l = I("commonContainer");
|
17720
|
+
return y(), x(l, {
|
17717
17721
|
class: "h-full w-full",
|
17718
|
-
widget: c(
|
17719
|
-
designer: c(
|
17722
|
+
widget: c(r).widgetConfig,
|
17723
|
+
designer: c(r)
|
17720
17724
|
}, {
|
17721
17725
|
default: b(() => [
|
17722
|
-
_(
|
17723
|
-
widget: c(
|
17724
|
-
designer: c(
|
17726
|
+
_(i, {
|
17727
|
+
widget: c(r).widgetConfig,
|
17728
|
+
designer: c(r)
|
17725
17729
|
}, null, 8, ["widget", "designer"])
|
17726
17730
|
]),
|
17727
17731
|
_: 1
|
17728
17732
|
}, 8, ["widget", "designer"]);
|
17729
17733
|
};
|
17730
17734
|
}
|
17731
|
-
}), Un = (e) => (ho("data-v-
|
17735
|
+
}), Un = (e) => (ho("data-v-92092ae2"), e = e(), go(), e), DU = { class: "h-full bg-gray-100 flex flex-col" }, AU = { class: "head px-4 py-2 bg-gray-50 flex justify-between items-center" }, RU = /* @__PURE__ */ Un(() => /* @__PURE__ */ T("div", { class: "logo" }, [
|
17732
17736
|
/* @__PURE__ */ T("img", {
|
17733
17737
|
class: "h-[32px]",
|
17734
17738
|
src: vb,
|
@@ -18012,8 +18016,7 @@ const dh = /* @__PURE__ */ Object.assign({ name: "sunForm" }, {
|
|
18012
18016
|
modelValue: c(a),
|
18013
18017
|
"onUpdate:modelValue": C[4] || (C[4] = (k) => qt(a) ? a.value = k : a = k),
|
18014
18018
|
width: "99%",
|
18015
|
-
height: "99%"
|
18016
|
-
"show-footer": ""
|
18019
|
+
height: "99%"
|
18017
18020
|
}, {
|
18018
18021
|
title: b(() => [
|
18019
18022
|
YU
|
@@ -18035,7 +18038,7 @@ const dh = /* @__PURE__ */ Object.assign({ name: "sunForm" }, {
|
|
18035
18038
|
], 64);
|
18036
18039
|
};
|
18037
18040
|
}
|
18038
|
-
}), fh = /* @__PURE__ */ kt(ZU, [["__scopeId", "data-v-
|
18041
|
+
}), fh = /* @__PURE__ */ kt(ZU, [["__scopeId", "data-v-92092ae2"]]);
|
18039
18042
|
fh.install = function(e) {
|
18040
18043
|
e.use(Nd), e.use(Pd);
|
18041
18044
|
};
|