slw 0.9.0 → 0.9.12

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
@@ -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 windowGrid_vue_vue_type_style_index_0_scoped_4c07c40a_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-4c07c40a"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
8527
+ const windowGrid_vue_vue_type_style_index_0_scoped_933b04ff_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-933b04ff"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
8528
8528
  class: "slw-window-grid-container",
8529
8529
  style: { height: "100%" }
8530
8530
  }, _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$av = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4V = [
@@ -9730,7 +9730,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_4c07c40a_lang = "", _withScop
9730
9730
  let ee = K.attributes.rowid.value;
9731
9731
  X.find((te) => te[G.rowId] == ee) && (K.style["background-color"] = H);
9732
9732
  }
9733
- }, 500);
9733
+ }, 400);
9734
9734
  }, setRowCellColor = (Q, H, G, X = "#e6f7ff") => {
9735
9735
  let Z = getCurRegion();
9736
9736
  Q && (Z = getRegion(Q)), setTimeout(() => {
@@ -9740,15 +9740,18 @@ const windowGrid_vue_vue_type_style_index_0_scoped_4c07c40a_lang = "", _withScop
9740
9740
  if (K.children.length > 0) {
9741
9741
  for (let ee of K.children)
9742
9742
  if (ee.attributes.rowid.value == H) {
9743
- for (let te of ee.children)
9744
- if (te.attributes.class.value.includes(G.toUpperCase())) {
9745
- te.style["background-color"] = X;
9746
- return;
9747
- }
9743
+ if (G) {
9744
+ for (let te of ee.children)
9745
+ if (te.attributes.class.value.includes(G.toUpperCase())) {
9746
+ te.style["background-color"] = X;
9747
+ return;
9748
+ }
9749
+ } else
9750
+ ee.style["background-color"] = X;
9748
9751
  return;
9749
9752
  }
9750
9753
  }
9751
- }, 500);
9754
+ }, 400);
9752
9755
  };
9753
9756
  let queryFormScanData = ref({});
9754
9757
  const onScanIconClick = (Q, H) => {
@@ -10120,7 +10123,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_4c07c40a_lang = "", _withScop
10120
10123
  ]);
10121
10124
  };
10122
10125
  }
10123
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-4c07c40a"]]);
10126
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-933b04ff"]]);
10124
10127
  WindowGrid.name = "slw-window-grid";
10125
10128
  WindowGrid.install = (Q) => {
10126
10129
  Q.component(WindowGrid.name, WindowGrid);
@@ -38957,7 +38960,7 @@ var js = js$1.exports;
38957
38960
  })(Q);
38958
38961
  })(js$1);
38959
38962
  var jsExports = js$1.exports;
38960
- const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_6c679cb8_lang = "", _withScopeId$2 = (Q) => (pushScopeId("data-v-6c679cb8"), Q = Q(), popScopeId(), Q), _hoisted_1$kV = { class: "slw-window-form" }, _hoisted_2$kR = {
38963
+ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_94c3b486_lang = "", _withScopeId$2 = (Q) => (pushScopeId("data-v-94c3b486"), Q = Q(), popScopeId(), Q), _hoisted_1$kV = { class: "slw-window-form" }, _hoisted_2$kR = {
38961
38964
  key: 0,
38962
38965
  class: "form-header-box"
38963
38966
  }, _hoisted_3$hS = {
@@ -39698,7 +39701,7 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
39698
39701
  }
39699
39702
  G.focus();
39700
39703
  }, throwFunction = (Q) => {
39701
- Q.getData = () => getData(), Q.submitData = () => submitData(), Q.getValue = (H) => getValue(H), Q.setValue = (H, G) => setValue(H, G);
39704
+ Q.getData = () => getData(), Q.submitData = () => submitData(), Q.getValue = (H) => getValue(H), Q.setValue = (H, G) => setValue(H, G), Q.checkSubmitData = () => checkSubmitData();
39702
39705
  };
39703
39706
  return __expose({ submitData, validateDataChg, getValue, getRegion, getData }), (Q, H) => {
39704
39707
  const G = resolveComponent("el-icon"), X = resolveComponent("el-button"), Z = resolveComponent("el-input"), K = resolveComponent("vxe-form-item"), ee = resolveComponent("vxe-form"), te = resolveComponent("el-dialog");
@@ -39951,7 +39954,7 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
39951
39954
  ]);
39952
39955
  };
39953
39956
  }
39954
- }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-6c679cb8"]]);
39957
+ }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-94c3b486"]]);
39955
39958
  WindowForm.name = "slw-window-form";
39956
39959
  WindowForm.install = (Q) => {
39957
39960
  Q.component(WindowForm.name, WindowForm);
@@ -40463,7 +40466,7 @@ const _hoisted_1$kT = ["src"], _sfc_main$3 = {
40463
40466
  return re.value && (me = "calc(100vh - 75px)"), { height: me };
40464
40467
  });
40465
40468
  function pe() {
40466
- H("close");
40469
+ se.value = 75, le.value = "88%", H("close");
40467
40470
  }
40468
40471
  return (me, ge) => {
40469
40472
  const _e = resolveComponent("el-dialog");
@@ -40574,7 +40577,7 @@ _sfc_main$2.name = "slw-preview-modal";
40574
40577
  _sfc_main$2.install = (Q) => {
40575
40578
  Q.component(_sfc_main$2.name, _sfc_main$2);
40576
40579
  };
40577
- const windowIndex_vue_vue_type_style_index_0_scoped_884e163e_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-884e163e"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
40580
+ const windowIndex_vue_vue_type_style_index_0_scoped_7ff35b5d_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-7ff35b5d"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
40578
40581
  __name: "window-index",
40579
40582
  props: {
40580
40583
  windowId: {
@@ -40597,7 +40600,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_884e163e_lang = "", _withSco
40597
40600
  const axios = inject("$axios"), $components = inject("$components"), $componentsPath = inject("$componentsPath");
40598
40601
  let preRegionMap;
40599
40602
  try {
40600
- if (preRegionMap = inject("$regionMap"), preRegionMap) {
40603
+ if (preRegionMap = inject("$regionMap", ""), preRegionMap) {
40601
40604
  let Q = preRegionMap;
40602
40605
  regionMap.value = Q.value;
40603
40606
  }
@@ -40611,7 +40614,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_884e163e_lang = "", _withSco
40611
40614
  gridClickEvents.value.forEach((G) => G(Q, H));
40612
40615
  };
40613
40616
  provide("$callGridClickEvents", callGridClickEvents);
40614
- const $Modal = inject("$modal"), $modal = $Modal, $Message = inject("$message"), $message = $Message, $qs = inject("$qs"), hiprint = inject("$hiprint"), serverPrint = inject("$serverPrint"), $vxeMessage = inject("$vxeMessage"), $vxeConfirm = inject("$vxeConfirm"), $crypto = inject("$crypto"), base64Encode = inject("$base64Encode"), base64Decode = inject("$base64Decode"), $T = inject("$t"), getOffsetHeight = () => window.document.body.offsetHeight * 0.6 + "px", evalEvent = (curEvent, ...eventParams) => {
40617
+ const $Modal = inject("$modal"), $modal = $Modal, $Message = inject("$message"), $message = $Message, $qs = inject("$qs"), hiprint = inject("$hiprint", ""), serverPrint = inject("$serverPrint", ""), $vxeMessage = inject("$vxeMessage"), $vxeConfirm = inject("$vxeConfirm"), $crypto = inject("$crypto"), base64Encode = inject("$base64Encode"), base64Decode = inject("$base64Decode"), $T = inject("$t"), getOffsetHeight = () => window.document.body.offsetHeight * 0.6 + "px", evalEvent = (curEvent, ...eventParams) => {
40615
40618
  if (curEvent) {
40616
40619
  if (typeof curEvent == "function")
40617
40620
  return curEvent(...eventParams);
@@ -41048,6 +41051,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_884e163e_lang = "", _withSco
41048
41051
  autoInsertSpace: !0,
41049
41052
  content: $T("查询"),
41050
41053
  iconComponent: "Search",
41054
+ icon: "Search",
41051
41055
  nativeType: "submit",
41052
41056
  type: "primary",
41053
41057
  size: "default"
@@ -41058,6 +41062,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_884e163e_lang = "", _withSco
41058
41062
  autoInsertSpace: !0,
41059
41063
  content: $T("重置"),
41060
41064
  iconComponent: "Refresh",
41065
+ icon: "Refresh",
41061
41066
  nativeType: "reset",
41062
41067
  size: "default"
41063
41068
  }
@@ -41749,7 +41754,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_884e163e_lang = "", _withSco
41749
41754
  ]);
41750
41755
  };
41751
41756
  }
41752
- }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-884e163e"]]);
41757
+ }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-7ff35b5d"]]);
41753
41758
  WindowIndex.name = "slw-window-index";
41754
41759
  WindowIndex.install = (Q) => {
41755
41760
  Q.component(WindowIndex.name, WindowIndex);
@@ -108972,14 +108977,6 @@ function initVxeRenderer(Q, H, G) {
108972
108977
  return K(ae, le);
108973
108978
  }
108974
108979
  },
108975
- ElButtons: {
108976
- renderItemContent(ae, le) {
108977
- const {
108978
- children: se
108979
- } = ae;
108980
- return se ? se.map((ce) => K(ce, le)) : [];
108981
- }
108982
- },
108983
108980
  ElDateRangePicker: {
108984
108981
  renderItemContent(ae, le) {
108985
108982
  return ee(ae, le);
@@ -125359,9 +125356,9 @@ function reConsole() {
125359
125356
  }
125360
125357
  }
125361
125358
  console.info(
125362
- `%cSLW %cVer 0.9.00%c
125359
+ `%cSLW %cVer 0.9.12%c
125363
125360
  %c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
125364
- %c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/files/6`,
125361
+ %c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
125365
125362
  "color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
125366
125363
  "color:#fff;font-size: 12px;background-color:#409EFF;padding:2px 4px;border-radius:3px;",
125367
125364
  "color:#fff;font-size: 12px;",