slw 1.0.0-beta.17.1 → 1.0.0-beta.17.2

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.
@@ -53257,7 +53257,7 @@ WindowCharts.name = "slw-window-charts";
53257
53257
  WindowCharts.install = (G) => {
53258
53258
  G.component(WindowCharts.name, WindowCharts);
53259
53259
  };
53260
- const windowGrid_vue_vue_type_style_index_0_scoped_97bbd759_lang = "", _withScopeId$9 = (G) => (pushScopeId("data-v-97bbd759"), G = G(), popScopeId(), G), _hoisted_1$l3 = {
53260
+ const windowGrid_vue_vue_type_style_index_0_scoped_72deae66_lang = "", _withScopeId$9 = (G) => (pushScopeId("data-v-72deae66"), G = G(), popScopeId(), G), _hoisted_1$l3 = {
53261
53261
  class: "slw-window-grid-container",
53262
53262
  style: { height: "100%" }
53263
53263
  }, _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_ = [
@@ -53576,7 +53576,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_97bbd759_lang = "", _withScop
53576
53576
  }
53577
53577
  ((he = (de = checkedGridOptions.value) == null ? void 0 : de.data) == null ? void 0 : he.length) > 0 && checkedGridOptions.value.data.forEach((fe) => {
53578
53578
  getCurRegion().setCheckboxRow(fe, !0);
53579
- }), pagerToolChecked.value && gridData.value.params.fullCheckboxLinkage && ce.data.data.forEach((fe) => {
53579
+ }), pagerToolChecked.value && ce.data.data.forEach((fe) => {
53580
53580
  getCurRegion().setCheckboxRow(fe, !0);
53581
53581
  }), rowClickCommon(ue, rowIndex.value), queryAfterList && queryAfterList.length > 0 && queryAfterList.forEach((fe) => {
53582
53582
  if (fe && typeof fe == "function")
@@ -54025,16 +54025,13 @@ const windowGrid_vue_vue_type_style_index_0_scoped_97bbd759_lang = "", _withScop
54025
54025
  });
54026
54026
  }
54027
54027
  if (H)
54028
- G || (removeRowEvent(H), gridData.value.params.fullCheckboxLinkage && (pagerToolChecked.value = !1)), rowClickCommon(H, X);
54028
+ G || removeRowEvent(H), rowClickCommon(H, X);
54029
54029
  else {
54030
- if (!G) {
54031
- if (((Z = (K = checkedGridOptions.value) == null ? void 0 : K.data) == null ? void 0 : Z.length) > 0) {
54032
- const { data: te } = curRegion.value.getProxyInfo();
54033
- te.forEach((ne) => {
54034
- removeRowEvent(ne);
54035
- });
54036
- }
54037
- gridData.value.params.fullCheckboxLinkage && (pagerToolChecked.value = !1);
54030
+ if (!G && ((Z = (K = checkedGridOptions.value) == null ? void 0 : K.data) == null ? void 0 : Z.length) > 0) {
54031
+ const { data: te } = curRegion.value.getProxyInfo();
54032
+ te.forEach((ne) => {
54033
+ removeRowEvent(ne);
54034
+ });
54038
54035
  }
54039
54036
  allCheckboxFunList && allCheckboxFunList.length > 0 && allCheckboxFunList.forEach((te) => {
54040
54037
  if (te && typeof te == "function")
@@ -54815,7 +54812,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_97bbd759_lang = "", _withScop
54815
54812
  }, removeAllRowEvent = () => {
54816
54813
  getCheckedReserveData().forEach((H) => {
54817
54814
  removeRowEvent(H);
54818
- }), pagerToolChecked.value = !1;
54815
+ });
54819
54816
  };
54820
54817
  let checkedGridShowCols = ref$2(null);
54821
54818
  const setCheckedGridShowCols = (G) => {
@@ -54825,15 +54822,13 @@ const windowGrid_vue_vue_type_style_index_0_scoped_97bbd759_lang = "", _withScop
54825
54822
  const H = await axios.post("/window/data/" + gridData.value.params.datasourceCode, G);
54826
54823
  return ((X = H == null ? void 0 : H.data) == null ? void 0 : X.data) || [];
54827
54824
  }, headerPagerToolCheckedChange = async ({ checked: G, $event: H }) => {
54828
- if (gridData.value.params.fullCheckboxLinkage) {
54829
- let X = getCurRegion();
54830
- const { data: Q } = curRegion.value.getProxyInfo();
54831
- G ? Q.forEach((K) => {
54832
- X.setCheckboxRow(K, !0);
54833
- }) : Q.forEach((K) => {
54834
- removeRowEvent(K);
54835
- });
54836
- }
54825
+ let X = getCurRegion();
54826
+ const { data: Q } = curRegion.value.getProxyInfo();
54827
+ G ? Q.forEach((K) => {
54828
+ X.setCheckboxRow(K, !0);
54829
+ }) : Q.forEach((K) => {
54830
+ removeRowEvent(K);
54831
+ });
54837
54832
  }, remoteMethod = async (G, H, X) => {
54838
54833
  let Q = [], K = await axios.post(
54839
54834
  "/window/selector",
@@ -55304,7 +55299,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_97bbd759_lang = "", _withScop
55304
55299
  ]);
55305
55300
  };
55306
55301
  }
55307
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-97bbd759"]]);
55302
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-72deae66"]]);
55308
55303
  WindowGrid.name = "slw-window-grid";
55309
55304
  WindowGrid.install = (G) => {
55310
55305
  G.component(WindowGrid.name, WindowGrid);
@@ -91747,7 +91742,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
91747
91742
  emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
91748
91743
  setup(G, { emit: H }) {
91749
91744
  const X = G, Q = defineAsyncComponent(
91750
- () => import("./index-e2324ebb.js")
91745
+ () => import("./index-c1024c3b.js")
91751
91746
  );
91752
91747
  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);
91753
91748
  re.value = createDesigner();
@@ -224361,7 +224356,7 @@ function reConsole() {
224361
224356
  }
224362
224357
  }
224363
224358
  console.info(
224364
- `%cSLW %cVer 1.0.0-beta.17.1%c
224359
+ `%cSLW %cVer 1.0.0-beta.17.2%c
224365
224360
  %c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
224366
224361
  %c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
224367
224362
  "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-e6d9d97d.js";
2
+ import { _ as x, d as S, a as L, u as N } from "./index-7e0e0ff8.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-e6d9d97d.js";
1
+ import { i as m } from "./index-7e0e0ff8.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {