slw 1.0.0-beta.17.8 → 1.0.0-beta.17.9
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.
|
@@ -91884,7 +91884,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
91884
91884
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
91885
91885
|
setup(G, { emit: H }) {
|
|
91886
91886
|
const X = G, Q = defineAsyncComponent(
|
|
91887
|
-
() => import("./index-
|
|
91887
|
+
() => import("./index-52876b73.js")
|
|
91888
91888
|
);
|
|
91889
91889
|
let K = useVModel(X, "type", H), Z = useVModel(X, "rootLayout", H), ee = useVModel(X, "viewData", H), te = useVModel(X, "rowData", H), ne = ref$2(0), re = ref$2(null);
|
|
91890
91890
|
re.value = createDesigner();
|
|
@@ -91969,7 +91969,7 @@ WindowDesigner.name = "slw-window-designer";
|
|
|
91969
91969
|
WindowDesigner.install = (G) => {
|
|
91970
91970
|
G.component(WindowDesigner.name, WindowDesigner);
|
|
91971
91971
|
};
|
|
91972
|
-
const
|
|
91972
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_b6ae4866_lang = "", _withScopeId$1 = (G) => (pushScopeId("data-v-b6ae4866"), G = G(), popScopeId(), G), _hoisted_1$kS = { class: "slw-config-window-container" }, _hoisted_2$kR = { class: "child-table-p" }, _sfc_main$2 = {
|
|
91973
91973
|
__name: "window-index",
|
|
91974
91974
|
props: {
|
|
91975
91975
|
windowId: {
|
|
@@ -92533,7 +92533,9 @@ const windowIndex_vue_vue_type_style_index_0_scoped_61076c31_lang = "", _withSco
|
|
|
92533
92533
|
let Se = {}, be = we.findIndex((Te) => Te.displayGrid);
|
|
92534
92534
|
for (let Te = 0; Te < we.length; Te++) {
|
|
92535
92535
|
let Pe = we[Te].code.toUpperCase(), ke = we[Te].name;
|
|
92536
|
-
const Oe =
|
|
92536
|
+
const Oe = computed(
|
|
92537
|
+
() => we[Te].notUpdate && formConfig.value.openType !== "new"
|
|
92538
|
+
), De = {
|
|
92537
92539
|
props: {
|
|
92538
92540
|
type: "text",
|
|
92539
92541
|
openLabel: "是",
|
|
@@ -92605,7 +92607,9 @@ const windowIndex_vue_vue_type_style_index_0_scoped_61076c31_lang = "", _withSco
|
|
|
92605
92607
|
De.name = "ElInput";
|
|
92606
92608
|
break;
|
|
92607
92609
|
case "LIST":
|
|
92608
|
-
De.name = "VxeSelect", De.attrs.style = "width: 100%;min-width: 80px;", De.props.filterable = !0, De.props.transfer = !0, De.props.disabled =
|
|
92610
|
+
De.name = "VxeSelect", De.attrs.style = "width: 100%;min-width: 80px;", De.props.filterable = !0, De.props.transfer = !0, De.props.disabled = computed(
|
|
92611
|
+
() => (we[Te].notUpdate || we[Te].readOnly) && formConfig.value.openType !== "new"
|
|
92612
|
+
), De.props.size = he, we[Te].selector && we[Te].selector.data && (De.options = we[Te].selector.data.map((xe) => Object.assign(
|
|
92609
92613
|
{
|
|
92610
92614
|
value: xe.VALUE,
|
|
92611
92615
|
label: xe.NAME
|
|
@@ -92622,7 +92626,9 @@ const windowIndex_vue_vue_type_style_index_0_scoped_61076c31_lang = "", _withSco
|
|
|
92622
92626
|
};
|
|
92623
92627
|
break;
|
|
92624
92628
|
case "TABLE":
|
|
92625
|
-
De.name = "VxeSelect", De.attrs.style = "width: 100%;min-width: 80px;", De.props.disabled =
|
|
92629
|
+
De.name = "VxeSelect", De.attrs.style = "width: 100%;min-width: 80px;", De.props.disabled = computed(
|
|
92630
|
+
() => (we[Te].notUpdate || we[Te].readOnly) && formConfig.value.openType !== "new"
|
|
92631
|
+
), De.props.size = he, De.props.filterable = !0, De.props.transfer = !0, ye.selectorId = we[Te].selectorId, ye.formatter = ({ row: xe, column: Ee }) => (!xe["_" + Ee.property + "_NAME"] && Ee.editRender.options && Ee.editRender.options.forEach((Me) => {
|
|
92626
92632
|
if (Me.VALUE == xe[Ee.property]) {
|
|
92627
92633
|
xe["_" + Ee.property + "_NAME"] = Me.NAME;
|
|
92628
92634
|
return;
|
|
@@ -92636,7 +92642,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_61076c31_lang = "", _withSco
|
|
|
92636
92642
|
}, we[Te].remoteSearch && (De.props.loading = !1, De.props.placeholder = $T("请输入") + we[Te].name, De.props.size = de, De.name = "ElSelectV2", De.props.remote = !0);
|
|
92637
92643
|
break;
|
|
92638
92644
|
case "TREE":
|
|
92639
|
-
|
|
92645
|
+
ye.selectorId = we[Te].selectorId, ye.formatter = ({ row: xe, column: Ee }) => xe["_" + Ee.property + "_NAME"] || xe[Ee.property], De.name = "ElTreeSelect", De.props.treeData = [], De.props.treeDefaultExpandAll = we[Te].expand, De.props.filterable = !0, De.props.dropdownStyle = {
|
|
92640
92646
|
"z-index": 5e3
|
|
92641
92647
|
};
|
|
92642
92648
|
break;
|
|
@@ -92644,7 +92650,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_61076c31_lang = "", _withSco
|
|
|
92644
92650
|
De.name = "ElInput", ye.language = "javascript", we[Te].name.toLowerCase().indexOf("sql") > -1 && (ye.language = "sql");
|
|
92645
92651
|
break;
|
|
92646
92652
|
case "BOOL":
|
|
92647
|
-
De.
|
|
92653
|
+
De.name = "ElSwitch";
|
|
92648
92654
|
break;
|
|
92649
92655
|
case "LONG":
|
|
92650
92656
|
De.name = "ElInputNumber", De.props.type = "number", De.props.precision = 0, De.attrs.style = "width: 100%;";
|
|
@@ -93170,7 +93176,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_61076c31_lang = "", _withSco
|
|
|
93170
93176
|
]);
|
|
93171
93177
|
};
|
|
93172
93178
|
}
|
|
93173
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
93179
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-b6ae4866"]]);
|
|
93174
93180
|
WindowIndex.name = "slw-window-index";
|
|
93175
93181
|
WindowIndex.install = (G) => {
|
|
93176
93182
|
G.component(WindowIndex.name, WindowIndex);
|
|
@@ -224502,7 +224508,7 @@ function reConsole() {
|
|
|
224502
224508
|
}
|
|
224503
224509
|
}
|
|
224504
224510
|
console.info(
|
|
224505
|
-
`%cSLW %cVer 1.0.0-beta.17.
|
|
224511
|
+
`%cSLW %cVer 1.0.0-beta.17.9%c
|
|
224506
224512
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
224507
224513
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
224508
224514
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
|
@@ -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-24809342.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const I = {
|
|
5
5
|
computed: {},
|
package/lib/index.js
CHANGED