slw 0.9.61 → 0.9.63

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.
@@ -8525,7 +8525,7 @@ PictureUpload.name = "slw-picture-upload";
8525
8525
  PictureUpload.install = (H) => {
8526
8526
  H.component(PictureUpload.name, PictureUpload);
8527
8527
  };
8528
- const windowGrid_vue_vue_type_style_index_0_scoped_21211213_lang = "", _withScopeId$8 = (H) => (pushScopeId("data-v-21211213"), H = H(), popScopeId(), H), _hoisted_1$l1 = {
8528
+ const windowGrid_vue_vue_type_style_index_0_scoped_6e5c6392_lang = "", _withScopeId$8 = (H) => (pushScopeId("data-v-6e5c6392"), H = H(), popScopeId(), H), _hoisted_1$l1 = {
8529
8529
  class: "slw-window-grid-container",
8530
8530
  style: { height: "100%" }
8531
8531
  }, _hoisted_2$kY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$ay = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4Y = [
@@ -9094,7 +9094,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_21211213_lang = "", _withScop
9094
9094
  width: "800px",
9095
9095
  height: "500px",
9096
9096
  title: $T("预览[") + Q.NAME + $T("]的数据"),
9097
- content: ne.data.result ? JSON.stringify(ne.data.data) : ne.data.msg
9097
+ content: ne.data.result ? JSON.stringify(ne.data.data, null, " ") : ne.data.msg
9098
9098
  }), H.loading = !1;
9099
9099
  });
9100
9100
  else if (te === "GENERATETABLE")
@@ -10230,7 +10230,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_21211213_lang = "", _withScop
10230
10230
  ]);
10231
10231
  };
10232
10232
  }
10233
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-21211213"]]);
10233
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-6e5c6392"]]);
10234
10234
  WindowGrid.name = "slw-window-grid";
10235
10235
  WindowGrid.install = (H) => {
10236
10236
  H.component(WindowGrid.name, WindowGrid);
@@ -44194,7 +44194,7 @@ var js = js$1.exports;
44194
44194
  })(H);
44195
44195
  })(js$1);
44196
44196
  var jsExports = js$1.exports;
44197
- const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_23a4f447_lang = "", _withScopeId$7 = (H) => (pushScopeId("data-v-23a4f447"), H = H(), popScopeId(), H), _hoisted_1$l0 = { class: "slw-window-form" }, _hoisted_2$kX = {
44197
+ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_7e2a0a18_lang = "", _withScopeId$7 = (H) => (pushScopeId("data-v-7e2a0a18"), H = H(), popScopeId(), H), _hoisted_1$l0 = { class: "slw-window-form" }, _hoisted_2$kX = {
44198
44198
  key: 0,
44199
44199
  class: "form-title"
44200
44200
  }, _hoisted_3$hX = ["onClick"], _hoisted_4$ax = ["onClick"], _hoisted_5$4X = ["onClick"], _hoisted_6$20 = ["onClick"], _hoisted_7$13 = ["onClick"], _sfc_main$c = {
@@ -45068,12 +45068,13 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
45068
45068
  } : ne.dataType === "STRING" && ne.canScan === !0 ? {
45069
45069
  name: "default",
45070
45070
  fn: withCtx(() => [
45071
- createVNode(G, {
45071
+ createVNode(G, mergeProps$1({
45072
45072
  modelValue: unref(formData)[ne.field],
45073
- "onUpdate:modelValue": (re) => unref(formData)[ne.field] = re,
45073
+ "onUpdate:modelValue": (re) => unref(formData)[ne.field] = re
45074
+ }, ne.itemRender.props, {
45074
45075
  onKeyup: (re) => onIconInputEnter(ne, re),
45075
45076
  onChange: (re) => onIconInputChange(ne)
45076
- }, {
45077
+ }), {
45077
45078
  suffix: withCtx(() => [
45078
45079
  createElementVNode("i", {
45079
45080
  class: "iconfont icon-scan1",
@@ -45082,19 +45083,20 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
45082
45083
  }, null, 8, ["onClick"])
45083
45084
  ]),
45084
45085
  _: 2
45085
- }, 1032, ["modelValue", "onUpdate:modelValue", "onKeyup", "onChange"])
45086
+ }, 1040, ["modelValue", "onUpdate:modelValue", "onKeyup", "onChange"])
45086
45087
  ]),
45087
45088
  key: "1"
45088
45089
  } : ne.itemRender.props.suffixIconfont || ne.itemRender.props.prefixIconfont ? {
45089
45090
  name: "default",
45090
45091
  fn: withCtx(() => [
45091
- createVNode(G, {
45092
+ createVNode(G, mergeProps$1({
45092
45093
  modelValue: unref(formData)[ne.field],
45093
45094
  "onUpdate:modelValue": (re) => unref(formData)[ne.field] = re,
45094
- clearable: !1,
45095
+ clearable: !1
45096
+ }, ne.itemRender.props, {
45095
45097
  onKeyup: (re) => onIconInputEnter(ne, re),
45096
45098
  onChange: (re) => onIconInputChange(ne)
45097
- }, createSlots({ _: 2 }, [
45099
+ }), createSlots({ _: 2 }, [
45098
45100
  ne.itemRender.props.suffixIconfont ? {
45099
45101
  name: "suffix",
45100
45102
  fn: withCtx(() => [
@@ -45120,7 +45122,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
45120
45122
  ]),
45121
45123
  key: "1"
45122
45124
  } : void 0
45123
- ]), 1032, ["modelValue", "onUpdate:modelValue", "onKeyup", "onChange"])
45125
+ ]), 1040, ["modelValue", "onUpdate:modelValue", "onKeyup", "onChange"])
45124
45126
  ]),
45125
45127
  key: "2"
45126
45128
  } : ne.dataType === "IMG" ? {
@@ -45197,7 +45199,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
45197
45199
  ]);
45198
45200
  };
45199
45201
  }
45200
- }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-23a4f447"]]);
45202
+ }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-7e2a0a18"]]);
45201
45203
  WindowForm.name = "slw-window-form";
45202
45204
  WindowForm.install = (H) => {
45203
45205
  H.component(WindowForm.name, WindowForm);
@@ -45538,7 +45540,7 @@ function P$2(H, Q, Z, X, G, K) {
45538
45540
  renderSlot(H.$slots, "default")
45539
45541
  ], 4);
45540
45542
  }
45541
- const g$1 = /* @__PURE__ */ S$2(x$2, [["render", P$2]]), splitpanes = "", windowLayout_vue_vue_type_style_index_0_scoped_bfe94e8e_lang = "", _withScopeId$6 = (H) => (pushScopeId("data-v-bfe94e8e"), H = H(), popScopeId(), H), _hoisted_1$k$ = { class: "slw-window-layout-container" }, _sfc_main$b = {
45543
+ const g$1 = /* @__PURE__ */ S$2(x$2, [["render", P$2]]), splitpanes = "", windowLayout_vue_vue_type_style_index_0_scoped_815ac2fa_lang = "", _withScopeId$6 = (H) => (pushScopeId("data-v-815ac2fa"), H = H(), popScopeId(), H), _hoisted_1$k$ = { class: "slw-window-layout-container" }, _sfc_main$b = {
45542
45544
  __name: "window-layout",
45543
45545
  props: {
45544
45546
  layoutData: {
@@ -45590,6 +45592,7 @@ const g$1 = /* @__PURE__ */ S$2(x$2, [["render", P$2]]), splitpanes = "", window
45590
45592
  default: withCtx(() => [
45591
45593
  (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(ee).child, (ge, ve) => (openBlock(), createBlock(unref(g$1), {
45592
45594
  key: ge.id,
45595
+ style: normalizeStyle(ge.css),
45593
45596
  size: ge.splitRate * 100,
45594
45597
  "min-size": ge.gridData && ge.gridData.type === "FORM" ? 10 : 0
45595
45598
  }, {
@@ -45624,7 +45627,7 @@ const g$1 = /* @__PURE__ */ S$2(x$2, [["render", P$2]]), splitpanes = "", window
45624
45627
  }, de.$attrs), null, 16, ["layout-data", "onUpdate:layoutData"])) : createCommentVNode("", !0)
45625
45628
  ]),
45626
45629
  _: 2
45627
- }, 1032, ["size", "min-size"]))), 128))
45630
+ }, 1032, ["style", "size", "min-size"]))), 128))
45628
45631
  ]),
45629
45632
  _: 1
45630
45633
  }, 8, ["horizontal", "onResize"])) : createCommentVNode("", !0),
@@ -45676,7 +45679,7 @@ const g$1 = /* @__PURE__ */ S$2(x$2, [["render", P$2]]), splitpanes = "", window
45676
45679
  ]);
45677
45680
  };
45678
45681
  }
45679
- }, WindowLayout = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-bfe94e8e"]]);
45682
+ }, WindowLayout = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-815ac2fa"]]);
45680
45683
  WindowLayout.name = "slw-window-layout";
45681
45684
  WindowLayout.install = (H) => {
45682
45685
  H.component(WindowLayout.name, WindowLayout);
@@ -62340,7 +62343,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
62340
62343
  emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
62341
62344
  setup(H, { emit: Q }) {
62342
62345
  const Z = H, X = defineAsyncComponent(
62343
- () => import("./index-6349518e.js")
62346
+ () => import("./index-c013160a.js")
62344
62347
  );
62345
62348
  let G = useVModel(Z, "type", Q), K = useVModel(Z, "rootLayout", Q), ee = useVModel(Z, "viewData", Q), te = useVModel(Z, "rowData", Q), ne = ref(0), re = ref(null);
62346
62349
  re.value = createDesigner();
@@ -62425,7 +62428,7 @@ WindowDesigner.name = "slw-window-designer";
62425
62428
  WindowDesigner.install = (H) => {
62426
62429
  H.component(WindowDesigner.name, WindowDesigner);
62427
62430
  };
62428
- const windowIndex_vue_vue_type_style_index_0_scoped_803c058e_lang = "", _withScopeId = (H) => (pushScopeId("data-v-803c058e"), H = H(), popScopeId(), H), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
62431
+ const windowIndex_vue_vue_type_style_index_0_scoped_3580f855_lang = "", _withScopeId = (H) => (pushScopeId("data-v-3580f855"), H = H(), popScopeId(), H), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
62429
62432
  __name: "window-index",
62430
62433
  props: {
62431
62434
  windowId: {
@@ -62578,7 +62581,8 @@ const windowIndex_vue_vue_type_style_index_0_scoped_803c058e_lang = "", _withSco
62578
62581
  mode: H[ne].position === "H" ? "horizontal" : H[ne].position === "V" ? "vertical" : "tab",
62579
62582
  child: de,
62580
62583
  gridData: ce,
62581
- height: se
62584
+ height: se,
62585
+ css: H[ne].css
62582
62586
  });
62583
62587
  }
62584
62588
  }
@@ -62805,7 +62809,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_803c058e_lang = "", _withSco
62805
62809
  ));
62806
62810
  break;
62807
62811
  case "TABLE":
62808
- ue.itemRender.name = "ElSelect", ue.itemRender.props.filterable = !0, ue.querys = K[se], K[se].remoteSearch && (ue.remoteSearch = K[se].remoteSearch, ue.itemRender.props.loading = !1, ue.itemRender.props.filterable = !0, ue.itemRender.props = {
62812
+ ue.itemRender.name = "ElSelectV2", ue.itemRender.props.filterable = !0, ue.querys = K[se], K[se].remoteSearch && (ue.remoteSearch = K[se].remoteSearch, ue.itemRender.props.loading = !1, ue.itemRender.props.filterable = !0, ue.itemRender.props = {
62809
62813
  ...ue.itemRender.props,
62810
62814
  remote: !0
62811
62815
  });
@@ -63631,7 +63635,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_803c058e_lang = "", _withSco
63631
63635
  ]);
63632
63636
  };
63633
63637
  }
63634
- }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-803c058e"]]);
63638
+ }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-3580f855"]]);
63635
63639
  WindowIndex.name = "slw-window-index";
63636
63640
  WindowIndex.install = (H) => {
63637
63641
  H.component(WindowIndex.name, WindowIndex);
@@ -147344,7 +147348,7 @@ function reConsole() {
147344
147348
  }
147345
147349
  }
147346
147350
  console.info(
147347
- `%cSLW %cVer 0.9.61%c
147351
+ `%cSLW %cVer 0.9.63%c
147348
147352
  %c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
147349
147353
  %c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
147350
147354
  "color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
@@ -1,5 +1,5 @@
1
1
  import { pushScopeId as P, popScopeId as V, createElementVNode as h, resolveComponent as g, openBlock as o, createElementBlock as p, createBlock as f, normalizeClass as T, normalizeStyle as A, withModifiers as R, withCtx as r, renderSlot as q, createCommentVNode as _, Fragment as B, createVNode as s, mergeProps as k, renderList as j, toDisplayString as E, normalizeProps as K, guardReactiveProps as Q, resolveDynamicComponent as Z, defineAsyncComponent as $, computed as F, unref as D, withDirectives as ee, vShow as te } from "vue";
2
- import { _ as x, d as S, a as L, u as N } from "./index-3eaad837.js";
2
+ import { _ as x, d as S, a as L, u as N } from "./index-3dc2d214.js";
3
3
  import "vue-router";
4
4
  const I = {
5
5
  computed: {},
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as m } from "./index-3eaad837.js";
1
+ import { i as m } from "./index-3dc2d214.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {