slw 0.9.55 → 0.9.57

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 = (Q) => {
8526
8526
  Q.component(PictureUpload.name, PictureUpload);
8527
8527
  };
8528
- const windowGrid_vue_vue_type_style_index_0_scoped_edfa3df5_lang = "", _withScopeId$8 = (Q) => (pushScopeId("data-v-edfa3df5"), Q = Q(), popScopeId(), Q), _hoisted_1$l1 = {
8528
+ const windowGrid_vue_vue_type_style_index_0_scoped_e2ba1b26_lang = "", _withScopeId$8 = (Q) => (pushScopeId("data-v-e2ba1b26"), Q = Q(), popScopeId(), Q), _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 = [
@@ -8773,7 +8773,15 @@ const windowGrid_vue_vue_type_style_index_0_scoped_edfa3df5_lang = "", _withScop
8773
8773
  }
8774
8774
  !isEditGridInitData.value && gridData.value.type === "EDIT_GRID" && editGridInitData(se);
8775
8775
  }
8776
- rowClickCommon(se, rowIndex.value);
8776
+ rowClickCommon(se, rowIndex.value), queryAfterList && queryAfterList.length > 0 && queryAfterList.forEach((ce) => {
8777
+ var de;
8778
+ if (ce && typeof ce == "function")
8779
+ try {
8780
+ ce(((de = le == null ? void 0 : le.data) == null ? void 0 : de.data) || []);
8781
+ } catch (he) {
8782
+ console.error(he);
8783
+ }
8784
+ });
8777
8785
  }), typeof await oe > "u" ? {
8778
8786
  data: {
8779
8787
  data: [],
@@ -9957,6 +9965,8 @@ const windowGrid_vue_vue_type_style_index_0_scoped_edfa3df5_lang = "", _withScop
9957
9965
  console.error(K);
9958
9966
  });
9959
9967
  }
9968
+ }, queryAfterList = [], addProxyQueryAfterFun = (Q) => {
9969
+ queryAfterList.push(Q);
9960
9970
  };
9961
9971
  return onMounted(async () => {
9962
9972
  gridData.value.addListener && getCurRegion() && addListener(), gridData.value.type === "TREE_STRUCTURE" && (gridData.value.menuConfig = {
@@ -10207,7 +10217,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_edfa3df5_lang = "", _withScop
10207
10217
  ]);
10208
10218
  };
10209
10219
  }
10210
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-edfa3df5"]]);
10220
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-e2ba1b26"]]);
10211
10221
  WindowGrid.name = "slw-window-grid";
10212
10222
  WindowGrid.install = (Q) => {
10213
10223
  Q.component(WindowGrid.name, WindowGrid);
@@ -59300,7 +59310,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
59300
59310
  emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
59301
59311
  setup(Q, { emit: H }) {
59302
59312
  const G = Q, X = defineAsyncComponent(
59303
- () => import("./index-6226b232.js")
59313
+ () => import("./index-2c00e43f.js")
59304
59314
  );
59305
59315
  let Z = useVModel(G, "type", H), K = useVModel(G, "rootLayout", H), ee = useVModel(G, "viewData", H), te = useVModel(G, "rowData", H), ne = ref(0), re = ref(null);
59306
59316
  re.value = createDesigner();
@@ -59385,7 +59395,7 @@ WindowDesigner.name = "slw-window-designer";
59385
59395
  WindowDesigner.install = (Q) => {
59386
59396
  Q.component(WindowDesigner.name, WindowDesigner);
59387
59397
  };
59388
- const windowIndex_vue_vue_type_style_index_0_scoped_eccc7177_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-eccc7177"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
59398
+ const windowIndex_vue_vue_type_style_index_0_scoped_eb364052_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-eb364052"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
59389
59399
  __name: "window-index",
59390
59400
  props: {
59391
59401
  windowId: {
@@ -59877,11 +59887,12 @@ const windowIndex_vue_vue_type_style_index_0_scoped_eccc7177_lang = "", _withSco
59877
59887
  ]
59878
59888
  },
59879
59889
  visible: !ae
59880
- }), X.formConfig.items.push({
59881
- span: 24,
59882
- slots: { default: "other_item" }
59883
59890
  });
59884
59891
  }
59892
+ X.formConfig.items.push({
59893
+ span: 24,
59894
+ slots: { default: "other_item" }
59895
+ });
59885
59896
  let ee = Z.buttons, te = !1, ne = !1;
59886
59897
  Z.showTitle && X.toolbarConfig.buttons.push({
59887
59898
  name: $T(Z.name),
@@ -60588,7 +60599,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_eccc7177_lang = "", _withSco
60588
60599
  ]);
60589
60600
  };
60590
60601
  }
60591
- }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-eccc7177"]]);
60602
+ }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-eb364052"]]);
60592
60603
  WindowIndex.name = "slw-window-index";
60593
60604
  WindowIndex.install = (Q) => {
60594
60605
  Q.component(WindowIndex.name, WindowIndex);
@@ -144301,7 +144312,7 @@ function reConsole() {
144301
144312
  }
144302
144313
  }
144303
144314
  console.info(
144304
- `%cSLW %cVer 0.9.55%c
144315
+ `%cSLW %cVer 0.9.57%c
144305
144316
  %c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
144306
144317
  %c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
144307
144318
  "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-7ceb94e3.js";
2
+ import { _ as x, d as S, a as L, u as N } from "./index-1ca39e89.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-7ceb94e3.js";
1
+ import { i as m } from "./index-1ca39e89.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {