slw 0.9.47 → 0.9.49
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-d51bbd94.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const I = {
|
|
5
5
|
computed: {},
|
|
@@ -8525,7 +8525,7 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8525
8525
|
PictureUpload.install = (Q) => {
|
|
8526
8526
|
Q.component(PictureUpload.name, PictureUpload);
|
|
8527
8527
|
};
|
|
8528
|
-
const
|
|
8528
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_e21742bd_lang = "", _withScopeId$8 = (Q) => (pushScopeId("data-v-e21742bd"), Q = Q(), popScopeId(), Q), _hoisted_1$l1 = {
|
|
8529
8529
|
class: "slw-window-grid-container",
|
|
8530
8530
|
style: { height: "100%" }
|
|
8531
8531
|
}, _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 = [
|
|
@@ -9835,9 +9835,12 @@ const windowGrid_vue_vue_type_style_index_0_scoped_9251a03a_lang = "", _withScop
|
|
|
9835
9835
|
return te.forEach((ae) => {
|
|
9836
9836
|
typeof ae[ne] == "string" && ae[ne].includes("%") ? (re += parseFloat(ae[ne]), oe = "%") : re += Number(ae[ne]);
|
|
9837
9837
|
}), (re / te.length).toFixed(G) + oe;
|
|
9838
|
-
}, ee = ({ columns: te, data: ne }) =>
|
|
9839
|
-
te.
|
|
9840
|
-
|
|
9838
|
+
}, ee = ({ columns: te, data: ne }) => {
|
|
9839
|
+
let re = te.findIndex((oe) => oe.type == "checkbox");
|
|
9840
|
+
return re = re < 0 ? 0 : re, [
|
|
9841
|
+
te.map((oe, ae) => ae === re + 1 ? X : Q.includes(oe.field) ? Z(ne, oe.field) : H.includes(oe.field) ? K(ne, oe.field) : "")
|
|
9842
|
+
];
|
|
9843
|
+
};
|
|
9841
9844
|
gridData.value.showFooter = !0, gridData.value.footerMethod = ee;
|
|
9842
9845
|
}, setColumnFixed = (Q, H = "left") => {
|
|
9843
9846
|
let G = getCurRegion();
|
|
@@ -10182,7 +10185,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_9251a03a_lang = "", _withScop
|
|
|
10182
10185
|
]);
|
|
10183
10186
|
};
|
|
10184
10187
|
}
|
|
10185
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
10188
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-e21742bd"]]);
|
|
10186
10189
|
WindowGrid.name = "slw-window-grid";
|
|
10187
10190
|
WindowGrid.install = (Q) => {
|
|
10188
10191
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -59262,7 +59265,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
59262
59265
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
59263
59266
|
setup(Q, { emit: H }) {
|
|
59264
59267
|
const G = Q, X = defineAsyncComponent(
|
|
59265
|
-
() => import("./index-
|
|
59268
|
+
() => import("./index-c6ea4a24.js")
|
|
59266
59269
|
);
|
|
59267
59270
|
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);
|
|
59268
59271
|
re.value = createDesigner();
|
|
@@ -59347,7 +59350,7 @@ WindowDesigner.name = "slw-window-designer";
|
|
|
59347
59350
|
WindowDesigner.install = (Q) => {
|
|
59348
59351
|
Q.component(WindowDesigner.name, WindowDesigner);
|
|
59349
59352
|
};
|
|
59350
|
-
const
|
|
59353
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_e74c82c7_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-e74c82c7"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
|
|
59351
59354
|
__name: "window-index",
|
|
59352
59355
|
props: {
|
|
59353
59356
|
windowId: {
|
|
@@ -60137,7 +60140,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_b44d3d43_lang = "", _withSco
|
|
|
60137
60140
|
X.stripe = !1, X.treeConfig = {
|
|
60138
60141
|
children: "_CHILDS",
|
|
60139
60142
|
accordion: !0,
|
|
60140
|
-
line: !
|
|
60143
|
+
line: !1,
|
|
60141
60144
|
iconOpen: "vxe-icon--caret-right rotate45",
|
|
60142
60145
|
iconClose: "vxe-icon--caret-right"
|
|
60143
60146
|
};
|
|
@@ -60149,7 +60152,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_b44d3d43_lang = "", _withSco
|
|
|
60149
60152
|
props: {
|
|
60150
60153
|
format: se[0].format
|
|
60151
60154
|
}
|
|
60152
|
-
})), Z.type === "TREE_STRUCTURE" && (X.showHeader = !1, X.treeConfig.iconOpen = "vxe-icon-
|
|
60155
|
+
})), Z.type === "TREE_STRUCTURE" && (X.showHeader = !1, X.treeConfig.iconOpen = "vxe-icon-caret-right rotate90", X.treeConfig.iconClose = "vxe-icon-caret-right", X.toolbarConfig.custom = !1, X.treeConfig.accordion = !1, ae = ae.map((ce) => (ce.visible === !0 && (ce.visible = !1), ce)));
|
|
60153
60156
|
}
|
|
60154
60157
|
X.columns = ae, X.editRules = le;
|
|
60155
60158
|
}
|
|
@@ -60547,7 +60550,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_b44d3d43_lang = "", _withSco
|
|
|
60547
60550
|
]);
|
|
60548
60551
|
};
|
|
60549
60552
|
}
|
|
60550
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
60553
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e74c82c7"]]);
|
|
60551
60554
|
WindowIndex.name = "slw-window-index";
|
|
60552
60555
|
WindowIndex.install = (Q) => {
|
|
60553
60556
|
Q.component(WindowIndex.name, WindowIndex);
|
|
@@ -144260,7 +144263,7 @@ function reConsole() {
|
|
|
144260
144263
|
}
|
|
144261
144264
|
}
|
|
144262
144265
|
console.info(
|
|
144263
|
-
`%cSLW %cVer 0.9.
|
|
144266
|
+
`%cSLW %cVer 0.9.49%c
|
|
144264
144267
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
144265
144268
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
144266
144269
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
package/lib/index.js
CHANGED