slw 0.10.2 → 0.10.3
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,5 +1,5 @@
|
|
|
1
1
|
import { pushScopeId as P, popScopeId as V, createElementVNode as h, resolveComponent as g, openBlock as o, createElementBlock as p, createBlock as f, normalizeClass as T, normalizeStyle as A, withModifiers as R, withCtx as r, renderSlot as q, createCommentVNode as _, Fragment as B, createVNode as s, mergeProps as k, renderList as j, toDisplayString as E, normalizeProps as K, guardReactiveProps as Q, resolveDynamicComponent as Z, defineAsyncComponent as $, computed as F, unref as D, withDirectives as ee, vShow as te } from "vue";
|
|
2
|
-
import { _ as x, d as S, a as L, u as N } from "./index-
|
|
2
|
+
import { _ as x, d as S, a as L, u as N } from "./index-994c4a71.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const I = {
|
|
5
5
|
computed: {},
|
|
@@ -44458,7 +44458,7 @@ var js = js$1.exports;
|
|
|
44458
44458
|
})(H);
|
|
44459
44459
|
})(js$1);
|
|
44460
44460
|
var jsExports = js$1.exports;
|
|
44461
|
-
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports),
|
|
44461
|
+
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_db91f779_lang = "", _withScopeId$7 = (H) => (pushScopeId("data-v-db91f779"), H = H(), popScopeId(), H), _hoisted_1$l0 = { class: "slw-window-form" }, _hoisted_2$kX = {
|
|
44462
44462
|
key: 0,
|
|
44463
44463
|
class: "form-title"
|
|
44464
44464
|
}, _hoisted_3$hX = ["onClick"], _hoisted_4$ax = ["onClick"], _hoisted_5$4X = ["onClick"], _hoisted_6$20 = ["onClick"], _hoisted_7$13 = ["onClick"], _sfc_main$c = {
|
|
@@ -44644,7 +44644,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
44644
44644
|
formConfig.value.openType === "view" && ((Q = G.itemRender) == null ? void 0 : Q.name) == "ElInput" && (G.itemRender.props.readonly = !0), G.dataType === "EDITOR" ? formData.value[G.field] == null ? formData.value[G.field] = "" : G.language == "javascript" && (formData.value[G.field] = jsExports.js_beautify(
|
|
44645
44645
|
formData.value[G.field],
|
|
44646
44646
|
codeBeautifyConfig
|
|
44647
|
-
)) : ((Z = G.itemRender) == null ? void 0 : Z.name) == "ElSelect" && G.itemRender.props.multiple ? formData.value[G.field] = (X = formData.value[G.field]) == null ? void 0 : X.split(",") : (G.dataType === "FILE" || G.dataType === "IMG") && (formData.value[G.field] = []);
|
|
44647
|
+
)) : ((Z = G.itemRender) == null ? void 0 : Z.name) == "ElSelect" && G.itemRender.props.multiple ? formData.value[G.field] = formData.value[G.field] == "" ? [] : (X = formData.value[G.field]) == null ? void 0 : X.split(",") : (G.dataType === "FILE" || G.dataType === "IMG") && (formData.value[G.field] = []);
|
|
44648
44648
|
} else
|
|
44649
44649
|
for (const G of formConfig.value.columns)
|
|
44650
44650
|
G.type !== "seq" && G.type !== "checkbox" ? formData.value[G.field] = "" : (G.dataType === "FILE" || G.dataType === "IMG") && (formData.value[G.field] = []);
|
|
@@ -45488,7 +45488,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
45488
45488
|
]);
|
|
45489
45489
|
};
|
|
45490
45490
|
}
|
|
45491
|
-
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
45491
|
+
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-db91f779"]]);
|
|
45492
45492
|
WindowForm.name = "slw-window-form";
|
|
45493
45493
|
WindowForm.install = (H) => {
|
|
45494
45494
|
H.component(WindowForm.name, WindowForm);
|
|
@@ -62632,7 +62632,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
62632
62632
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
62633
62633
|
setup(H, { emit: Q }) {
|
|
62634
62634
|
const Z = H, X = defineAsyncComponent(
|
|
62635
|
-
() => import("./index-
|
|
62635
|
+
() => import("./index-23277db0.js")
|
|
62636
62636
|
);
|
|
62637
62637
|
let G = useVModel(Z, "type", Q), K = useVModel(Z, "rootLayout", Q), ee = useVModel(Z, "viewData", Q), te = useVModel(Z, "rowData", Q), ne = ref(0), re = ref(null);
|
|
62638
62638
|
re.value = createDesigner();
|
|
@@ -147761,7 +147761,7 @@ function reConsole() {
|
|
|
147761
147761
|
}
|
|
147762
147762
|
}
|
|
147763
147763
|
console.info(
|
|
147764
|
-
`%cSLW %cVer 0.10.
|
|
147764
|
+
`%cSLW %cVer 0.10.03%c
|
|
147765
147765
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
147766
147766
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
147767
147767
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
package/lib/index.js
CHANGED