slw 0.9.47 → 0.9.48
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-daacadb3.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_1ff1f1ab_lang = "", _withScopeId$8 = (Q) => (pushScopeId("data-v-1ff1f1ab"), 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-1ff1f1ab"]]);
|
|
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-08c9a78c.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();
|
|
@@ -144260,7 +144263,7 @@ function reConsole() {
|
|
|
144260
144263
|
}
|
|
144261
144264
|
}
|
|
144262
144265
|
console.info(
|
|
144263
|
-
`%cSLW %cVer 0.9.
|
|
144266
|
+
`%cSLW %cVer 0.9.48%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