slw 0.8.45 → 0.8.46

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.
package/lib/index.js CHANGED
@@ -8511,7 +8511,7 @@ PictureUpload.name = "slw-picture-upload";
8511
8511
  PictureUpload.install = (Q) => {
8512
8512
  Q.component(PictureUpload.name, PictureUpload);
8513
8513
  };
8514
- const windowGrid_vue_vue_type_style_index_0_scoped_4b0fc0f0_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-4b0fc0f0"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
8514
+ const windowGrid_vue_vue_type_style_index_0_scoped_91a24e7d_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-91a24e7d"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
8515
8515
  class: "slw-window-grid-container",
8516
8516
  style: { height: "100%" }
8517
8517
  }, _hoisted_2$kS = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hT = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$au = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4U = [
@@ -9773,16 +9773,16 @@ const windowGrid_vue_vue_type_style_index_0_scoped_4b0fc0f0_lang = "", _withScop
9773
9773
  G = Z.itemRender.options;
9774
9774
  }
9775
9775
  return G;
9776
- }, footerSum = (Q, H = 2) => {
9777
- const X = (Z, K) => {
9778
- let ee = 0;
9779
- return Z.forEach((te) => {
9780
- ee += Number(te[K]);
9781
- }), ee.toFixed(H);
9782
- }, G = ({ columns: Z, data: K }) => [
9783
- Z.map((ee, te) => te === 2 ? "和值" : Q.includes(ee.field) ? X(K, ee.field) : "")
9776
+ }, footerSum = (Q, H = 2, X = "和值") => {
9777
+ const G = (K, ee) => {
9778
+ let te = 0;
9779
+ return K.forEach((ne) => {
9780
+ te += Number(ne[ee]);
9781
+ }), te.toFixed(H);
9782
+ }, Z = ({ columns: K, data: ee }) => [
9783
+ K.map((te, ne) => ne === 2 ? X : Q.includes(te.field) ? G(ee, te.field) : "")
9784
9784
  ];
9785
- gridData.value.showFooter = !0, gridData.value.footerMethod = G;
9785
+ gridData.value.showFooter = !0, gridData.value.footerMethod = Z;
9786
9786
  }, setColumnFixed = (Q, H = "left") => {
9787
9787
  let X = getCurRegion();
9788
9788
  if (X) {
@@ -10038,7 +10038,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_4b0fc0f0_lang = "", _withScop
10038
10038
  ]);
10039
10039
  };
10040
10040
  }
10041
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-4b0fc0f0"]]);
10041
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-91a24e7d"]]);
10042
10042
  WindowGrid.name = "slw-window-grid";
10043
10043
  WindowGrid.install = (Q) => {
10044
10044
  Q.component(WindowGrid.name, WindowGrid);
@@ -40326,7 +40326,7 @@ _sfc_main$2.name = "slw-preview-modal";
40326
40326
  _sfc_main$2.install = (Q) => {
40327
40327
  Q.component(_sfc_main$2.name, _sfc_main$2);
40328
40328
  };
40329
- const windowIndex_vue_vue_type_style_index_0_scoped_3551bc92_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-3551bc92"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
40329
+ const windowIndex_vue_vue_type_style_index_0_scoped_6c273a23_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-6c273a23"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
40330
40330
  __name: "window-index",
40331
40331
  props: {
40332
40332
  windowId: {
@@ -41142,6 +41142,18 @@ const windowIndex_vue_vue_type_style_index_0_scoped_3551bc92_lang = "", _withSco
41142
41142
  Q.apply(G, Z), X = null;
41143
41143
  }, H);
41144
41144
  };
41145
+ }, success = (Q, H) => {
41146
+ $vxeMessage({
41147
+ content: Q,
41148
+ status: H || "success",
41149
+ zIndex: 3e3
41150
+ });
41151
+ }, error = (Q) => {
41152
+ $vxeMessage({
41153
+ content: Q,
41154
+ status: "error",
41155
+ zIndex: 3e3
41156
+ });
41145
41157
  };
41146
41158
  onMounted(() => {
41147
41159
  loadData(), settPageHeight(), document.addEventListener("keydown", ctrlSSave);
@@ -41454,7 +41466,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_3551bc92_lang = "", _withSco
41454
41466
  ]);
41455
41467
  };
41456
41468
  }
41457
- }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-3551bc92"]]);
41469
+ }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-6c273a23"]]);
41458
41470
  WindowIndex.name = "slw-window-index";
41459
41471
  WindowIndex.install = (Q) => {
41460
41472
  Q.component(WindowIndex.name, WindowIndex);
@@ -124262,7 +124274,7 @@ function reConsole() {
124262
124274
  }
124263
124275
  }
124264
124276
  console.info(
124265
- "%cSLW %cVer 0.8.45",
124277
+ "%cSLW %cVer 0.8.46",
124266
124278
  "color:#409EFF;font-size: 22px;font-weight:bolder",
124267
124279
  "color:#999;font-size: 12px"
124268
124280
  );