slw 0.9.87 → 0.9.88
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.
|
@@ -8524,7 +8524,7 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8524
8524
|
PictureUpload.install = (H) => {
|
|
8525
8525
|
H.component(PictureUpload.name, PictureUpload);
|
|
8526
8526
|
};
|
|
8527
|
-
const
|
|
8527
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_913b39c0_lang = "", _withScopeId$8 = (H) => (pushScopeId("data-v-913b39c0"), H = H(), popScopeId(), H), _hoisted_1$l1 = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_2$kY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_3$hY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_4$ay = [
|
|
8528
8528
|
_hoisted_1$l1,
|
|
8529
8529
|
_hoisted_2$kY,
|
|
8530
8530
|
_hoisted_3$hY
|
|
@@ -8897,27 +8897,27 @@ const windowGrid_vue_vue_type_style_index_0_scoped_8413aed9_lang = "", _withScop
|
|
|
8897
8897
|
}
|
|
8898
8898
|
}, gridData.value.params.parentRegionId && (gridData.value.proxyConfig.autoLoad = !1);
|
|
8899
8899
|
}, rowClick = (H) => {
|
|
8900
|
-
gridData.value.type === "TREE" || gridData.value.type === "TREE_STRUCTURE"
|
|
8901
|
-
}, rowClickCommon = (H, Q) => {
|
|
8902
|
-
var
|
|
8903
|
-
const
|
|
8900
|
+
gridData.value.type === "TREE" || gridData.value.type === "TREE_STRUCTURE" ? rowClickCommon(H.row, H.rowIndex) : H.rowIndex !== rowIndex.value ? rowClickCommon(H.row, H.rowIndex, H.column.field) : (rowIndex.value = H.rowIndex, gridData.value.type == "EDIT_GRID" && getCurRegion().setEditCell(H.row, H.column.field));
|
|
8901
|
+
}, rowClickCommon = (H, Q, Z) => {
|
|
8902
|
+
var ee;
|
|
8903
|
+
const X = {
|
|
8904
8904
|
rowId: gridData.value.rowId,
|
|
8905
8905
|
// eslint-disable-next-line no-prototype-builtins
|
|
8906
8906
|
rowIdValue: !H || !H.hasOwnProperty(gridData.value.rowId) ? "" : H[gridData.value.rowId],
|
|
8907
8907
|
preTag: preTag.value,
|
|
8908
8908
|
hasData: !(typeof H > "u" || Object.keys(H).length === 0),
|
|
8909
8909
|
...H
|
|
8910
|
-
},
|
|
8911
|
-
if (delete
|
|
8910
|
+
}, G = Object.assign({}, X);
|
|
8911
|
+
if (delete G._region_id, gridData.value.params.parentData = getParentData(), getCheckedData().length <= 0 && emitButtonDisplayLogic(
|
|
8912
8912
|
{ ...H, ...assembleParentData(gridData.value.params.parentData) },
|
|
8913
8913
|
Q
|
|
8914
|
-
), rowIndex.value = Q,
|
|
8915
|
-
for (let
|
|
8916
|
-
let
|
|
8917
|
-
(
|
|
8914
|
+
), rowIndex.value = Q, X.hasData && (evalEvent(gridData.value.params.formEvents.rowClickFunction, H), getCurRegion().setCurrentRow(H)), callGridClickEvents(G, gridData.value.params._region_id), gridData.value.type == "EDIT_GRID") {
|
|
8915
|
+
for (let te in H) {
|
|
8916
|
+
let ne = gridData.value.columns.filter((re) => re.field == te)[0];
|
|
8917
|
+
(ee = ne == null ? void 0 : ne.editRender) != null && ee.props.multiple && typeof H[te] == "string" && (H[te] = H[te].split(","));
|
|
8918
8918
|
}
|
|
8919
8919
|
setTimeout(() => {
|
|
8920
|
-
getCurRegion().setEditRow(H);
|
|
8920
|
+
Z ? getCurRegion().setEditCell(H, Z) : getCurRegion().setEditRow(H);
|
|
8921
8921
|
}, 300);
|
|
8922
8922
|
}
|
|
8923
8923
|
}, emitButtonDisplayLogic = (H, Q) => {
|
|
@@ -10458,7 +10458,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_8413aed9_lang = "", _withScop
|
|
|
10458
10458
|
]);
|
|
10459
10459
|
};
|
|
10460
10460
|
}
|
|
10461
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
10461
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-913b39c0"]]);
|
|
10462
10462
|
WindowGrid.name = "slw-window-grid";
|
|
10463
10463
|
WindowGrid.install = (H) => {
|
|
10464
10464
|
H.component(WindowGrid.name, WindowGrid);
|
|
@@ -62594,7 +62594,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
62594
62594
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
62595
62595
|
setup(H, { emit: Q }) {
|
|
62596
62596
|
const Z = H, X = defineAsyncComponent(
|
|
62597
|
-
() => import("./index-
|
|
62597
|
+
() => import("./index-efdef26c.js")
|
|
62598
62598
|
);
|
|
62599
62599
|
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);
|
|
62600
62600
|
re.value = createDesigner();
|
|
@@ -147635,7 +147635,7 @@ function reConsole() {
|
|
|
147635
147635
|
}
|
|
147636
147636
|
}
|
|
147637
147637
|
console.info(
|
|
147638
|
-
`%cSLW %cVer 0.9.
|
|
147638
|
+
`%cSLW %cVer 0.9.88%c
|
|
147639
147639
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
147640
147640
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
147641
147641
|
"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-87f2930f.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const I = {
|
|
5
5
|
computed: {},
|
package/lib/index.js
CHANGED