slw 0.8.46 → 0.8.48

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_91a24e7d_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-91a24e7d"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
8514
+ const windowGrid_vue_vue_type_style_index_0_scoped_516f3b2e_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-516f3b2e"), 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$au = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4U = [
@@ -10038,7 +10038,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_91a24e7d_lang = "", _withScop
10038
10038
  ]);
10039
10039
  };
10040
10040
  }
10041
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-91a24e7d"]]);
10041
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-516f3b2e"]]);
10042
10042
  WindowGrid.name = "slw-window-grid";
10043
10043
  WindowGrid.install = (Q) => {
10044
10044
  Q.component(WindowGrid.name, WindowGrid);
@@ -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_69cc421a_lang = "", _withScopeId$2 = (Q) => (pushScopeId("data-v-69cc421a"), 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_30347b42_lang = "", _withScopeId$2 = (Q) => (pushScopeId("data-v-30347b42"), 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 = {
@@ -39147,13 +39147,19 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
39147
39147
  setData(Q);
39148
39148
  }, setValue = async (Q, H) => {
39149
39149
  let X = formConfig.value.columns.filter(
39150
- (G) => G.field == Q.toUpperCase()
39150
+ (Z) => Z.field == Q.toUpperCase()
39151
39151
  )[0];
39152
39152
  X != null && X.remoteSearch ? (X.itemRender.options = await remoteMethod(
39153
39153
  H,
39154
39154
  X.id,
39155
39155
  X.selectorId
39156
39156
  ), X.itemRender.options.length > 0 ? formData.value[Q.toUpperCase()] = X.itemRender.options[0].VALUE : formData.value[Q.toUpperCase()] = H) : formData.value[Q.toUpperCase()] = H;
39157
+ let G = {
39158
+ data: formData.value,
39159
+ item: X,
39160
+ property: X.field
39161
+ };
39162
+ onFieldChange(G);
39157
39163
  }, getData = () => formData.value, getSelectRecord = () => formData.value, getForm = () => form.value, checkSubmitData = async () => {
39158
39164
  let Q = !1;
39159
39165
  return await form.value.validate().then((H) => {
@@ -39693,7 +39699,7 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
39693
39699
  ]);
39694
39700
  };
39695
39701
  }
39696
- }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-69cc421a"]]);
39702
+ }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-30347b42"]]);
39697
39703
  WindowForm.name = "slw-window-form";
39698
39704
  WindowForm.install = (Q) => {
39699
39705
  Q.component(WindowForm.name, WindowForm);
@@ -124274,7 +124280,7 @@ function reConsole() {
124274
124280
  }
124275
124281
  }
124276
124282
  console.info(
124277
- "%cSLW %cVer 0.8.46",
124283
+ "%cSLW %cVer 0.8.48",
124278
124284
  "color:#409EFF;font-size: 22px;font-weight:bolder",
124279
124285
  "color:#999;font-size: 12px"
124280
124286
  );