slw 0.9.33 → 0.9.34
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-65e07495.js";
|
|
3
3
|
const I = {
|
|
4
4
|
computed: {},
|
|
5
5
|
methods: {
|
|
@@ -8524,7 +8524,7 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8524
8524
|
PictureUpload.install = (Q) => {
|
|
8525
8525
|
Q.component(PictureUpload.name, PictureUpload);
|
|
8526
8526
|
};
|
|
8527
|
-
const
|
|
8527
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_7b8904ff_lang = "", _withScopeId$8 = (Q) => (pushScopeId("data-v-7b8904ff"), Q = Q(), popScopeId(), Q), _hoisted_1$l1 = {
|
|
8528
8528
|
class: "slw-window-grid-container",
|
|
8529
8529
|
style: { height: "100%" }
|
|
8530
8530
|
}, _hoisted_2$kY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$ay = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4Y = [
|
|
@@ -9207,7 +9207,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_ebe5a5c2_lang = "", _withScop
|
|
|
9207
9207
|
return Q || regionMap.value[gridData.value.params.parentCode];
|
|
9208
9208
|
}, getParentData = () => {
|
|
9209
9209
|
let Q = getParentRegion();
|
|
9210
|
-
return Q ? Q.getCurrentRecord() : null;
|
|
9210
|
+
return Q ? Q.params.type == "FORM" ? Q.data : Q.getCurrentRecord() : null;
|
|
9211
9211
|
}, removeRow = (Q) => {
|
|
9212
9212
|
getCurRegion().remove(Q);
|
|
9213
9213
|
}, exportCurrentData = async () => {
|
|
@@ -10150,7 +10150,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_ebe5a5c2_lang = "", _withScop
|
|
|
10150
10150
|
]);
|
|
10151
10151
|
};
|
|
10152
10152
|
}
|
|
10153
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
10153
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-7b8904ff"]]);
|
|
10154
10154
|
WindowGrid.name = "slw-window-grid";
|
|
10155
10155
|
WindowGrid.install = (Q) => {
|
|
10156
10156
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -59226,7 +59226,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
59226
59226
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
59227
59227
|
setup(Q, { emit: H }) {
|
|
59228
59228
|
const G = Q, X = defineAsyncComponent(
|
|
59229
|
-
() => import("./index-
|
|
59229
|
+
() => import("./index-4e05637a.js")
|
|
59230
59230
|
);
|
|
59231
59231
|
let Z = useVModel(G, "type", H), K = useVModel(G, "rootLayout", H), ee = useVModel(G, "viewData", H), te = useVModel(G, "rowData", H), ne = ref(0), re = ref(null);
|
|
59232
59232
|
re.value = createDesigner();
|
|
@@ -59311,7 +59311,7 @@ WindowDesigner.name = "slw-window-designer";
|
|
|
59311
59311
|
WindowDesigner.install = (Q) => {
|
|
59312
59312
|
Q.component(WindowDesigner.name, WindowDesigner);
|
|
59313
59313
|
};
|
|
59314
|
-
const
|
|
59314
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_b44d3d43_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-b44d3d43"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
|
|
59315
59315
|
__name: "window-index",
|
|
59316
59316
|
props: {
|
|
59317
59317
|
windowId: {
|
|
@@ -60034,13 +60034,13 @@ const windowIndex_vue_vue_type_style_index_0_scoped_2ca27c61_lang = "", _withSco
|
|
|
60034
60034
|
ue.props.disabled = oe[se].readOnly, ue.attrs.disabled = oe[se].readOnly, ue.name = "ElSwitch";
|
|
60035
60035
|
break;
|
|
60036
60036
|
case "LONG":
|
|
60037
|
-
ue.name = "ElInputNumber", ue.props.type = "number", ue.props.precision = 0;
|
|
60037
|
+
ue.name = "ElInputNumber", ue.props.type = "number", ue.props.precision = 0, ue.attrs.style = "width: 100%;";
|
|
60038
60038
|
break;
|
|
60039
60039
|
case "PLONG":
|
|
60040
|
-
ue.name = "ElInputNumber", ue.props.type = "number", ue.props.precision = 0, ue.props.min = 0;
|
|
60040
|
+
ue.name = "ElInputNumber", ue.props.type = "number", ue.props.precision = 0, ue.props.min = 0, ue.attrs.style = "width: 100%;";
|
|
60041
60041
|
break;
|
|
60042
60042
|
case "DOUBLE":
|
|
60043
|
-
ue.name = "ElInputNumber", ue.props.type = "number";
|
|
60043
|
+
ue.name = "ElInputNumber", ue.props.type = "number", ue.attrs.style = "width: 100%;";
|
|
60044
60044
|
break;
|
|
60045
60045
|
case "DATE":
|
|
60046
60046
|
ue.name = "ElDatePicker", ue.props = {
|
|
@@ -60089,7 +60089,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_2ca27c61_lang = "", _withSco
|
|
|
60089
60089
|
ue.events = pe.events, pe.editRender = ue, pe.itemRender = me, pe.minWidth = 100, oe[se].comments && (pe.titlePrefix = {
|
|
60090
60090
|
content: oe[se].comments,
|
|
60091
60091
|
enterable: !0
|
|
60092
|
-
}), ae.push(pe), oe[se].notNull && (le[ce] || (le[ce] = []), le[ce].push({
|
|
60092
|
+
}), X.type === "EDIT_GRID" && (oe[se].readOnly || ue.props.disabled) && (ue.name = "ElText"), ae.push(pe), oe[se].notNull && (le[ce] || (le[ce] = []), le[ce].push({
|
|
60093
60093
|
required: !0,
|
|
60094
60094
|
message: de + $T("不能为空!")
|
|
60095
60095
|
})), oe[se].length && (le[ce] || (le[ce] = []), le[ce].push({
|
|
@@ -60511,7 +60511,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_2ca27c61_lang = "", _withSco
|
|
|
60511
60511
|
]);
|
|
60512
60512
|
};
|
|
60513
60513
|
}
|
|
60514
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
60514
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-b44d3d43"]]);
|
|
60515
60515
|
WindowIndex.name = "slw-window-index";
|
|
60516
60516
|
WindowIndex.install = (Q) => {
|
|
60517
60517
|
Q.component(WindowIndex.name, WindowIndex);
|
|
@@ -127878,6 +127878,14 @@ function initVxeRenderer(Q, H, G) {
|
|
|
127878
127878
|
renderCell(ve, ge) {
|
|
127879
127879
|
return ge.row[ge.column.field];
|
|
127880
127880
|
}
|
|
127881
|
+
},
|
|
127882
|
+
ElText: {
|
|
127883
|
+
renderEdit(ve, ge) {
|
|
127884
|
+
return ge.row[ge.column.field];
|
|
127885
|
+
},
|
|
127886
|
+
renderCell(ve, ge) {
|
|
127887
|
+
return ge.row[ge.column.field];
|
|
127888
|
+
}
|
|
127881
127889
|
}
|
|
127882
127890
|
} : {},
|
|
127883
127891
|
...H.isDefault() ? {
|
|
@@ -144216,7 +144224,7 @@ function reConsole() {
|
|
|
144216
144224
|
}
|
|
144217
144225
|
}
|
|
144218
144226
|
console.info(
|
|
144219
|
-
`%cSLW %cVer 0.9.
|
|
144227
|
+
`%cSLW %cVer 0.9.34%c
|
|
144220
144228
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
144221
144229
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
144222
144230
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
package/lib/index.js
CHANGED