slw 0.8.78 → 0.8.79

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_24c44435_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-24c44435"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
8514
+ const windowGrid_vue_vue_type_style_index_0_scoped_ff4e6993_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-ff4e6993"), 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$hU = /* @__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 = [
@@ -8723,7 +8723,10 @@ const windowGrid_vue_vue_type_style_index_0_scoped_24c44435_lang = "", _withScop
8723
8723
  let ve = me.name.match(/[\u4e00-\u9fa5]/g);
8724
8724
  if (ve) {
8725
8725
  let ke = Math.ceil(ve.length / 2);
8726
- pe += ke - 1;
8726
+ pe += ke;
8727
+ } else {
8728
+ let ke = Math.ceil(me.name.length / 6);
8729
+ pe += ke;
8727
8730
  }
8728
8731
  }
8729
8732
  }
@@ -10059,7 +10062,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_24c44435_lang = "", _withScop
10059
10062
  ]);
10060
10063
  };
10061
10064
  }
10062
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-24c44435"]]);
10065
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-ff4e6993"]]);
10063
10066
  WindowGrid.name = "slw-window-grid";
10064
10067
  WindowGrid.install = (Q) => {
10065
10068
  Q.component(WindowGrid.name, WindowGrid);
@@ -38896,7 +38899,7 @@ var js = js$1.exports;
38896
38899
  })(Q);
38897
38900
  })(js$1);
38898
38901
  var jsExports = js$1.exports;
38899
- const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_66ac2faa_lang = "", _withScopeId$2 = (Q) => (pushScopeId("data-v-66ac2faa"), Q = Q(), popScopeId(), Q), _hoisted_1$kV = { class: "slw-window-form" }, _hoisted_2$kR = {
38902
+ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_778f9c06_lang = "", _withScopeId$2 = (Q) => (pushScopeId("data-v-778f9c06"), Q = Q(), popScopeId(), Q), _hoisted_1$kV = { class: "slw-window-form" }, _hoisted_2$kR = {
38900
38903
  key: 0,
38901
38904
  style: { "text-align": "left", "font-size": "18px", "line-height": "30px", "font-weight": "bold", padding: "5px 30px 0 15px" }
38902
38905
  }, _hoisted_3$hT = ["onClick"], _hoisted_4$au = ["onClick"], _hoisted_5$4U = ["onClick"], _hoisted_6$1_ = ["onClick"], _hoisted_7$12 = ["onClick"], _sfc_main$5 = {
@@ -39452,7 +39455,8 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
39452
39455
  }, onIconInputEnter = (Q, H) => {
39453
39456
  H.key === "Enter" && Q.itemRender.props.enterFunction && evalEvent(
39454
39457
  Q.itemRender.props.enterFunction,
39455
- formData.value[Q.field]
39458
+ formData.value[Q.field],
39459
+ Q.field
39456
39460
  );
39457
39461
  }, onIconClick = (Q) => {
39458
39462
  Q.itemRender.props.iconClickFun && evalEvent(
@@ -39669,11 +39673,12 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
39669
39673
  class: "iconfont icon-clear",
39670
39674
  onClick: (re) => onEditorBtnClick(ne, "clear")
39671
39675
  }, null, 8, _hoisted_6$1_),
39672
- createElementVNode("i", {
39676
+ ne.language == "javascript" ? (openBlock(), createElementBlock("i", {
39677
+ key: 1,
39673
39678
  title: "组合式API转换",
39674
39679
  class: "iconfont icon-swap",
39675
39680
  onClick: (re) => onEditorBtnClick(ne, "swap")
39676
- }, null, 8, _hoisted_7$12)
39681
+ }, null, 8, _hoisted_7$12)) : createCommentVNode("", !0)
39677
39682
  ], 4)
39678
39683
  ]),
39679
39684
  key: "0"
@@ -39812,7 +39817,7 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
39812
39817
  ]);
39813
39818
  };
39814
39819
  }
39815
- }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-66ac2faa"]]);
39820
+ }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-778f9c06"]]);
39816
39821
  WindowForm.name = "slw-window-form";
39817
39822
  WindowForm.install = (Q) => {
39818
39823
  Q.component(WindowForm.name, WindowForm);
@@ -124411,7 +124416,7 @@ function reConsole() {
124411
124416
  }
124412
124417
  }
124413
124418
  console.info(
124414
- `%cSLW %cVer 0.8.78%c
124419
+ `%cSLW %cVer 0.8.79%c
124415
124420
  %c文档地址:%chttp://slwdoc.js.sforcecon.com:5900/`,
124416
124421
  "color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
124417
124422
  "color:#fff;font-size: 12px;background-color:#409EFF;padding:2px 4px;border-radius:3px;",