slw 0.8.76 → 0.8.77

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_e0d2458a_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-e0d2458a"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
8514
+ const windowGrid_vue_vue_type_style_index_0_scoped_2e2b3b4b_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-2e2b3b4b"), 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$av = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4V = [
@@ -8716,14 +8716,16 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e0d2458a_lang = "", _withScop
8716
8716
  ...ue,
8717
8717
  ...assembleParentData(gridData.value.params.parentData)
8718
8718
  }) : !0, _e = me.showInGrid && ge, we = !me.showInGrid && ge;
8719
- if (me.btnShowInGrid[fe] = _e, me.btnShow[fe] = we, se = se || _e, _e) {
8720
- pe++;
8721
- let ve = me.name.match(/[\u4e00-\u9fa5]/g);
8722
- if (ve) {
8723
- let ke = Math.ceil(ve.length / 2);
8724
- pe += ke - 1;
8719
+ if (me.btnShowInGrid[fe] = _e, me.btnShow[fe] = we, se = se || _e, _e)
8720
+ if (me.iconComponent)
8721
+ pe++;
8722
+ else {
8723
+ let ve = me.name.match(/[\u4e00-\u9fa5]/g);
8724
+ if (ve) {
8725
+ let ke = Math.ceil(ve.length / 2);
8726
+ pe += ke - 1;
8727
+ }
8725
8728
  }
8726
- }
8727
8729
  }
8728
8730
  }), pe > ce && (ce = pe);
8729
8731
  });
@@ -10057,7 +10059,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e0d2458a_lang = "", _withScop
10057
10059
  ]);
10058
10060
  };
10059
10061
  }
10060
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-e0d2458a"]]);
10062
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-2e2b3b4b"]]);
10061
10063
  WindowGrid.name = "slw-window-grid";
10062
10064
  WindowGrid.install = (Q) => {
10063
10065
  Q.component(WindowGrid.name, WindowGrid);
@@ -40461,7 +40463,7 @@ _sfc_main$2.name = "slw-preview-modal";
40461
40463
  _sfc_main$2.install = (Q) => {
40462
40464
  Q.component(_sfc_main$2.name, _sfc_main$2);
40463
40465
  };
40464
- const windowIndex_vue_vue_type_style_index_0_scoped_cff625ea_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-cff625ea"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
40466
+ const windowIndex_vue_vue_type_style_index_0_scoped_4ef375c7_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-4ef375c7"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
40465
40467
  __name: "window-index",
40466
40468
  props: {
40467
40469
  windowId: {
@@ -40934,7 +40936,8 @@ const windowIndex_vue_vue_type_style_index_0_scoped_cff625ea_lang = "", _withSco
40934
40936
  // 在表格中的按钮是否显示的双向绑定对象
40935
40937
  btnShow: {},
40936
40938
  // 按钮在工具栏的显示状态
40937
- icon: ee[ae].icon
40939
+ icon: ee[ae].icon,
40940
+ iconComponent: ee[ae].icon
40938
40941
  };
40939
40942
  if (te = te || ee[ae].showInGrid, ee[ae].showInGrid) {
40940
40943
  re++;
@@ -41102,7 +41105,11 @@ const windowIndex_vue_vue_type_style_index_0_scoped_cff625ea_lang = "", _withSco
41102
41105
  ge["_" + _e.property + "_NAME"] = we.NAME;
41103
41106
  return;
41104
41107
  }
41105
- }), oe[se].format ? formatter({ cellValue: ge["_" + _e.property + "_NAME"] || ge[_e.property], row: ge, column: _e }) : ge["_" + _e.property + "_NAME"] || ge[_e.property]), ue.name = "ElSelect", ue.props.filterable = !0, oe[se].remoteSearch && (ue.props.loading = !1, ue.props.placeholder = $T("请输入") + oe[se].name, ue.props.filterable = !0, ue.props = {
41108
+ }), oe[se].format ? formatter({
41109
+ cellValue: ge["_" + _e.property + "_NAME"] || ge[_e.property],
41110
+ row: ge,
41111
+ column: _e
41112
+ }) : ge["_" + _e.property + "_NAME"] || ge[_e.property]), ue.name = "ElSelect", ue.props.filterable = !0, oe[se].remoteSearch && (ue.props.loading = !1, ue.props.placeholder = $T("请输入") + oe[se].name, ue.props.filterable = !0, ue.props = {
41106
41113
  ...ue.props,
41107
41114
  remote: !0
41108
41115
  }), ue.props.dropdownStyle = {
@@ -41165,7 +41172,11 @@ const windowIndex_vue_vue_type_style_index_0_scoped_cff625ea_lang = "", _withSco
41165
41172
  let me = {
41166
41173
  name: ue.props.unitName ? "unitInput" : ue.name,
41167
41174
  props: ue.props,
41168
- attrs: { placeholder: ue.props.placeholder, id: ce, ...ue.attrs },
41175
+ attrs: {
41176
+ placeholder: ue.props.placeholder,
41177
+ id: ce,
41178
+ ...ue.attrs
41179
+ },
41169
41180
  options: ue.options,
41170
41181
  events: pe.events
41171
41182
  };
@@ -41605,7 +41616,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_cff625ea_lang = "", _withSco
41605
41616
  ]);
41606
41617
  };
41607
41618
  }
41608
- }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-cff625ea"]]);
41619
+ }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-4ef375c7"]]);
41609
41620
  WindowIndex.name = "slw-window-index";
41610
41621
  WindowIndex.install = (Q) => {
41611
41622
  Q.component(WindowIndex.name, WindowIndex);
@@ -124413,7 +124424,7 @@ function reConsole() {
124413
124424
  }
124414
124425
  }
124415
124426
  console.info(
124416
- "%cSLW %cVer 0.8.76",
124427
+ "%cSLW %cVer 0.8.77",
124417
124428
  "color:#409EFF;font-size: 22px;font-weight:bolder",
124418
124429
  "color:#999;font-size: 12px"
124419
124430
  );