slw 1.0.0-rc.1.3 → 1.0.0-rc.1.4

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.
@@ -53275,7 +53275,7 @@ WindowCharts.name = "slw-window-charts";
53275
53275
  WindowCharts.install = (G) => {
53276
53276
  G.component(WindowCharts.name, WindowCharts);
53277
53277
  };
53278
- const windowGrid_vue_vue_type_style_index_0_scoped_572fd89e_lang = "", _withScopeId$9 = (G) => (pushScopeId("data-v-572fd89e"), G = G(), popScopeId(), G), _hoisted_1$l3 = {
53278
+ const windowGrid_vue_vue_type_style_index_0_scoped_3131b253_lang = "", _withScopeId$9 = (G) => (pushScopeId("data-v-3131b253"), G = G(), popScopeId(), G), _hoisted_1$l3 = {
53279
53279
  class: "slw-window-grid-container",
53280
53280
  style: { height: "100%" }
53281
53281
  }, _hoisted_2$k_ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$h_ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$aA = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4_ = [
@@ -53629,7 +53629,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_572fd89e_lang = "", _withScop
53629
53629
  }, rowClick = (G) => {
53630
53630
  if (gridData.value.type === "TREE" || gridData.value.type === "TREE_STRUCTURE" ? rowClickCommon(G.row, G.rowIndex) : (G.rowIndex == -1 && (G.rowIndex = G._rowIndex), G.rowIndex !== rowIndex.value ? rowClickCommon(G.row, G.rowIndex, G.column.field) : (rowIndex.value = G.rowIndex, gridData.value.type == "EDIT_GRID" && getCurRegion().setEditCell(G.row, G.column.field))), gridData.value.rowConfig.keyField == "SYS_WINDOW_REGION_ID")
53631
53631
  try {
53632
- G.column.field == "CODE" ? navigator.clipboard.writeText(G.row[G.column.field]) : G.column.field == "SYS_DATASOURCE_ID" && navigator.clipboard.writeText(G.row.SYS_DATASOURCE_NAME), $message.success(`已复制${G.column.field == "CODE" ? "区域编码" : "数据源"}到剪贴板`);
53632
+ G.column.field == "CODE" ? (navigator.clipboard.writeText(G.row[G.column.field]), $message.success("已复制区域编码到剪贴板")) : G.column.field == "SYS_DATASOURCE_ID" && (navigator.clipboard.writeText(G.row.SYS_DATASOURCE_NAME), $message.success("已复制数据源到剪贴板"));
53633
53633
  } catch (H) {
53634
53634
  console.error("复制失败!", H);
53635
53635
  }
@@ -55408,7 +55408,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_572fd89e_lang = "", _withScop
55408
55408
  ]);
55409
55409
  };
55410
55410
  }
55411
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-572fd89e"]]);
55411
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-3131b253"]]);
55412
55412
  WindowGrid.name = "slw-window-grid";
55413
55413
  WindowGrid.install = (G) => {
55414
55414
  G.component(WindowGrid.name, WindowGrid);
@@ -91996,7 +91996,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
91996
91996
  emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
91997
91997
  setup(G, { emit: H }) {
91998
91998
  const X = G, Q = defineAsyncComponent(
91999
- () => import("./index-3e64063f.js")
91999
+ () => import("./index-e0598ff6.js")
92000
92000
  );
92001
92001
  let K = useVModel(X, "type", H), Z = useVModel(X, "rootLayout", H), ee = useVModel(X, "viewData", H), te = useVModel(X, "rowData", H), ne = ref$2(0), re = ref$2(null);
92002
92002
  re.value = createDesigner();
@@ -154613,17 +154613,19 @@ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ", toStr = O
154613
154613
  const implementation$2 = /* @__PURE__ */ getDefaultExportFromCjs(implementation$1);
154614
154614
  var implementation = implementation$1, functionBind = Function.prototype.bind || implementation;
154615
154615
  const index$7 = /* @__PURE__ */ getDefaultExportFromCjs(functionBind);
154616
- var functionCall = Function.prototype.call;
154617
- const functionCall$1 = /* @__PURE__ */ getDefaultExportFromCjs(functionCall);
154616
+ var functionCall, hasRequiredFunctionCall;
154617
+ function requireFunctionCall() {
154618
+ return hasRequiredFunctionCall || (hasRequiredFunctionCall = 1, functionCall = Function.prototype.call), functionCall;
154619
+ }
154618
154620
  var functionApply, hasRequiredFunctionApply;
154619
154621
  function requireFunctionApply() {
154620
154622
  return hasRequiredFunctionApply || (hasRequiredFunctionApply = 1, functionApply = Function.prototype.apply), functionApply;
154621
154623
  }
154622
154624
  var reflectApply = typeof Reflect < "u" && Reflect && Reflect.apply;
154623
154625
  const reflectApply$1 = /* @__PURE__ */ getDefaultExportFromCjs(reflectApply);
154624
- var bind$5 = functionBind, $apply$1 = requireFunctionApply(), $call$2 = functionCall, $reflectApply = reflectApply, actualApply = $reflectApply || bind$5.call($call$2, $apply$1);
154626
+ var bind$5 = functionBind, $apply$1 = requireFunctionApply(), $call$2 = requireFunctionCall(), $reflectApply = reflectApply, actualApply = $reflectApply || bind$5.call($call$2, $apply$1);
154625
154627
  const actualApply$1 = /* @__PURE__ */ getDefaultExportFromCjs(actualApply);
154626
- var bind$4 = functionBind, $TypeError$4 = type, $call$1 = functionCall, $actualApply = actualApply, callBindApplyHelpers = function G(H) {
154628
+ var bind$4 = functionBind, $TypeError$4 = type, $call$1 = requireFunctionCall(), $actualApply = actualApply, callBindApplyHelpers = function G(H) {
154627
154629
  if (H.length < 1 || typeof H[0] != "function")
154628
154630
  throw new $TypeError$4("a function is required");
154629
154631
  return $actualApply(bind$4, $call$1, H);
@@ -154695,7 +154697,7 @@ var undefined$1, $Object = esObjectAtoms, $Error = esErrors, $EvalError = _eval,
154695
154697
  return throwTypeError;
154696
154698
  }
154697
154699
  }
154698
- }() : throwTypeError, hasSymbols = requireHasSymbols()(), getProto = requireGetProto(), $ObjectGPO = requireObject_getPrototypeOf(), $ReflectGPO = requireReflect_getPrototypeOf(), $apply = requireFunctionApply(), $call = functionCall, needsEval = {}, TypedArray = typeof Uint8Array > "u" || !getProto ? undefined$1 : getProto(Uint8Array), INTRINSICS = {
154700
+ }() : throwTypeError, hasSymbols = requireHasSymbols()(), getProto = requireGetProto(), $ObjectGPO = requireObject_getPrototypeOf(), $ReflectGPO = requireReflect_getPrototypeOf(), $apply = requireFunctionApply(), $call = requireFunctionCall(), needsEval = {}, TypedArray = typeof Uint8Array > "u" || !getProto ? undefined$1 : getProto(Uint8Array), INTRINSICS = {
154699
154701
  __proto__: null,
154700
154702
  "%AggregateError%": typeof AggregateError > "u" ? undefined$1 : AggregateError,
154701
154703
  "%Array%": Array,
@@ -159833,9 +159835,13 @@ function initVxeRenderer(G, H, X) {
159833
159835
  ..._e,
159834
159836
  data: _e.treeData
159835
159837
  }, {
159836
- onChange: ye.change ? () => {
159837
- ye.change(Ce);
159838
- } : () => {
159838
+ onChange: ($e) => {
159839
+ if (ye.change && typeof $e != "object")
159840
+ return Ce.data[Ee] = $e, ye.change(Ce);
159841
+ },
159842
+ onCheckChange: ($e, Oe, Me) => {
159843
+ if (ye.change)
159844
+ return Oe && (Ce.data[Ee] = Oe ? $e.value : ""), ye.change(Ce);
159839
159845
  }
159840
159846
  }), null);
159841
159847
  }, re = (xe, Te) => {
@@ -159861,9 +159867,11 @@ function initVxeRenderer(G, H, X) {
159861
159867
  ..._e,
159862
159868
  data: _e.treeData
159863
159869
  }, {
159864
- onChange: ye.change ? () => {
159865
- ye.change(Ce, Se[De]);
159866
- } : () => {
159870
+ onChange: ($e) => ye.change && typeof $e != "object" ? (Ce.row[De] = $e, ye.change(Ce, Se[De])) : () => {
159871
+ },
159872
+ onCheckChange: ($e, Oe, Me) => {
159873
+ if (ye.change)
159874
+ return Oe && (Ce.row[De] = Oe ? $e.value : ""), ye.change(Ce, Se[De]);
159867
159875
  }
159868
159876
  }), null);
159869
159877
  };
@@ -224731,7 +224739,7 @@ function reConsole() {
224731
224739
  }
224732
224740
  }
224733
224741
  console.info(
224734
- `%cSLW %cVer 1.0.0-rc.1.3%c
224742
+ `%cSLW %cVer 1.0.0-rc.1.4%c
224735
224743
  %c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
224736
224744
  %c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
224737
224745
  "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-4bc0e844.js";
2
+ import { _ as x, d as S, a as L, u as N } from "./index-dc9614b4.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-4bc0e844.js";
1
+ import { i as m } from "./index-dc9614b4.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {