slw 0.8.97 → 0.8.99

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_80a31bff_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-80a31bff"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
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 = {
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 = [
@@ -9154,7 +9154,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_80a31bff_lang = "", _withScop
9154
9154
  }) : !0, !Z.visible)
9155
9155
  return !0;
9156
9156
  });
9157
- }), H && Q && rowClickCommon(H, G);
9157
+ });
9158
9158
  else {
9159
9159
  const Z = getSelectRecord();
9160
9160
  gridData.value.toolbarConfig.buttons.forEach((K) => {
@@ -9164,6 +9164,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_80a31bff_lang = "", _withScop
9164
9164
  }));
9165
9165
  });
9166
9166
  }
9167
+ H && rowClickCommon(H, G);
9167
9168
  }, getSelectRecord = () => {
9168
9169
  const Q = getCurRegion();
9169
9170
  return Q ? Q.getCurrentRecord() : null;
@@ -10119,7 +10120,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_80a31bff_lang = "", _withScop
10119
10120
  ]);
10120
10121
  };
10121
10122
  }
10122
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-80a31bff"]]);
10123
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-4c07c40a"]]);
10123
10124
  WindowGrid.name = "slw-window-grid";
10124
10125
  WindowGrid.install = (Q) => {
10125
10126
  Q.component(WindowGrid.name, WindowGrid);
@@ -40507,7 +40508,7 @@ _sfc_main$2.name = "slw-preview-modal";
40507
40508
  _sfc_main$2.install = (Q) => {
40508
40509
  Q.component(_sfc_main$2.name, _sfc_main$2);
40509
40510
  };
40510
- const windowIndex_vue_vue_type_style_index_0_scoped_6b79eda7_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-6b79eda7"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
40511
+ const windowIndex_vue_vue_type_style_index_0_scoped_c70f9ed4_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-c70f9ed4"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
40511
40512
  __name: "window-index",
40512
40513
  props: {
40513
40514
  windowId: {
@@ -40904,7 +40905,9 @@ const windowIndex_vue_vue_type_style_index_0_scoped_6b79eda7_lang = "", _withSco
40904
40905
  case "DATE":
40905
40906
  if (ue.itemRender.attrs.style = "width: 100%;", K[se].type === "LT_GT_EQ") {
40906
40907
  if (K[se].defaultValue) {
40907
- const fe = await getQueryFormDefaultValue(Z.id);
40908
+ const fe = await getQueryFormDefaultValue(
40909
+ Z.id
40910
+ );
40908
40911
  fe[K[se].columnName.toUpperCase()] && (ue.itemRender.defaultValue = [
40909
40912
  fe[K[se].columnName.toUpperCase()],
40910
40913
  fe["END_" + K[se].columnName.toUpperCase()]
@@ -40926,7 +40929,9 @@ const windowIndex_vue_vue_type_style_index_0_scoped_6b79eda7_lang = "", _withSco
40926
40929
  case "DATETIME":
40927
40930
  if (ue.itemRender.attrs.style = "width: 100%;", K[se].type === "LT_GT_EQ") {
40928
40931
  if (K[se].defaultValue) {
40929
- const fe = await getQueryFormDefaultValue(Z.id);
40932
+ const fe = await getQueryFormDefaultValue(
40933
+ Z.id
40934
+ );
40930
40935
  fe[K[se].columnName.toUpperCase()] && (ue.itemRender.defaultValue = [
40931
40936
  fe[K[se].columnName.toUpperCase()],
40932
40937
  fe["END_" + K[se].columnName.toUpperCase()]
@@ -41182,7 +41187,10 @@ const windowIndex_vue_vue_type_style_index_0_scoped_6b79eda7_lang = "", _withSco
41182
41187
  label: ge.NAME
41183
41188
  },
41184
41189
  ge
41185
- ))), ue.props.dropdownStyle = {
41190
+ ))), oe[se].multiRecord && (pe.formatter = ({ row: ge, column: _e }) => ge[_e.field].split(",").map((ke) => {
41191
+ var we;
41192
+ return (we = ue.options.filter((Ce) => Ce.value == ke)[0]) == null ? void 0 : we.label;
41193
+ }).toString()), ue.props.dropdownStyle = {
41186
41194
  "z-index": 5e3
41187
41195
  };
41188
41196
  break;
@@ -41673,7 +41681,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_6b79eda7_lang = "", _withSco
41673
41681
  ]);
41674
41682
  };
41675
41683
  }
41676
- }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-6b79eda7"]]);
41684
+ }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-c70f9ed4"]]);
41677
41685
  WindowIndex.name = "slw-window-index";
41678
41686
  WindowIndex.install = (Q) => {
41679
41687
  Q.component(WindowIndex.name, WindowIndex);
@@ -125283,7 +125291,7 @@ function reConsole() {
125283
125291
  }
125284
125292
  }
125285
125293
  console.info(
125286
- `%cSLW %cVer 0.8.97%c
125294
+ `%cSLW %cVer 0.8.99%c
125287
125295
  %c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
125288
125296
  %c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/files/6`,
125289
125297
  "color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",