slw 0.8.4 → 0.8.41

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
@@ -38875,7 +38875,7 @@ var js = js$1.exports;
38875
38875
  })(Q);
38876
38876
  })(js$1);
38877
38877
  var jsExports = js$1.exports;
38878
- const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_9315c959_lang = "", _withScopeId$2 = (Q) => (pushScopeId("data-v-9315c959"), Q = Q(), popScopeId(), Q), _hoisted_1$kV = { class: "slw-window-form" }, _hoisted_2$kR = {
38878
+ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_cabeb728_lang = "", _withScopeId$2 = (Q) => (pushScopeId("data-v-cabeb728"), Q = Q(), popScopeId(), Q), _hoisted_1$kV = { class: "slw-window-form" }, _hoisted_2$kR = {
38879
38879
  key: 0,
38880
38880
  style: { "text-align": "left", "font-size": "18px", "line-height": "30px", "font-weight": "bold", padding: "5px 30px 0 15px" }
38881
38881
  }, _hoisted_3$hS = ["onClick"], _sfc_main$5 = {
@@ -39005,6 +39005,9 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
39005
39005
  var H;
39006
39006
  if (formConfig.value.openType === "view" && ((H = Q.itemRender) == null ? void 0 : H.name) !== "ElInput")
39007
39007
  return "item-readonly";
39008
+ }), computeItemTitle = computed(() => (Q) => {
39009
+ const H = Q.match(/([^()]+)\(/);
39010
+ return $T(H ? H[1] : Q);
39008
39011
  });
39009
39012
  onMounted(async () => {
39010
39013
  var H, X, G;
@@ -39552,7 +39555,7 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
39552
39555
  ne.colType !== "showInGrid" ? (openBlock(), createBlock(G, {
39553
39556
  key: 0,
39554
39557
  field: ne.field,
39555
- title: unref($T)(ne.title),
39558
+ title: computeItemTitle.value(ne.title),
39556
39559
  "title-overflow": "tooltip",
39557
39560
  span: computeSpan.value(ne),
39558
39561
  "item-render": ne.itemRender,
@@ -39690,7 +39693,7 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
39690
39693
  ]);
39691
39694
  };
39692
39695
  }
39693
- }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-9315c959"]]);
39696
+ }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-cabeb728"]]);
39694
39697
  WindowForm.name = "slw-window-form";
39695
39698
  WindowForm.install = (Q) => {
39696
39699
  Q.component(WindowForm.name, WindowForm);
@@ -124250,7 +124253,7 @@ function reConsole() {
124250
124253
  }
124251
124254
  }
124252
124255
  console.info(
124253
- "%cSLW %cVer 0.8.4",
124256
+ "%cSLW %cVer 0.8.41",
124254
124257
  "color:#409EFF;font-size: 22px;font-weight:bolder",
124255
124258
  "color:#999;font-size: 12px"
124256
124259
  );