slw 1.0.0-beta.14 → 1.0.0-beta.14.1

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.
@@ -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-576a6edb.js";
2
+ import { _ as x, d as S, a as L, u as N } from "./index-cbbf79fd.js";
3
3
  import "vue-router";
4
4
  const I = {
5
5
  computed: {},
@@ -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_472f466c_lang = "", _withScopeId$9 = (Q) => (pushScopeId("data-v-472f466c"), Q = Q(), popScopeId(), Q), _hoisted_1$l2 = {
8528
+ const windowGrid_vue_vue_type_style_index_0_scoped_81900fbc_lang = "", _withScopeId$9 = (Q) => (pushScopeId("data-v-81900fbc"), Q = Q(), popScopeId(), Q), _hoisted_1$l2 = {
8529
8529
  class: "slw-window-grid-container",
8530
8530
  style: { height: "100%" }
8531
8531
  }, _hoisted_2$kZ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hZ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$az = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4Z = [
@@ -9217,13 +9217,15 @@ const windowGrid_vue_vue_type_style_index_0_scoped_472f466c_lang = "", _withScop
9217
9217
  var Q;
9218
9218
  for (let H in queryFormData.value)
9219
9219
  queryFormData.value[H] = null;
9220
- (Q = getCurRegion()) == null || Q.commitProxy("reload");
9220
+ clearCheckedReserveData(), (Q = getCurRegion()) == null || Q.commitProxy("reload");
9221
9221
  }, getCheckedData = () => {
9222
9222
  const Q = getCurRegion();
9223
9223
  return Q ? Q.getCheckboxRecords() : null;
9224
9224
  }, getCheckedReserveData = () => {
9225
9225
  const Q = getCurRegion();
9226
9226
  return Q ? Q.getCheckboxRecords().concat(Q.getCheckboxReserveRecords()) : null;
9227
+ }, clearCheckedReserveData = () => {
9228
+ getCurRegion().clearCheckboxReserve(), checkedGridOptions.value && (checkedGridOptions.value.data = []);
9227
9229
  }, headerCheckboxChange = ({ checked: Q, row: H, rowIndex: X }) => {
9228
9230
  let G = getCheckedReserveData();
9229
9231
  if (G.length > 0)
@@ -10017,7 +10019,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_472f466c_lang = "", _withScop
10017
10019
  search(Q);
10018
10020
  }, curRegion.value.getCheckedData = () => getCheckedData(), curRegion.value.getCheckedReserveData = () => getCheckedReserveData(), curRegion.value.getSelectRecord = () => getSelectRecord(), curRegion.value.setChecked = (Q) => {
10019
10021
  setChecked(Q);
10020
- }, curRegion.value.getParentRegion = () => getParentRegion(), curRegion.value.exportData = () => exportData(), curRegion.value.getRegion = (Q) => getRegion(Q), curRegion.value.removeRow = (Q) => removeRow(Q), curRegion.value.clearGrid = () => clearGrid(), curRegion.value.setCheckboxRowColor = (Q, H) => setCheckboxRowColor(Q, H), curRegion.value.setFormValue = (Q, H) => setFormValue(Q, H), curRegion.value.setRowCellColor = (Q, H, X, G) => setRowCellColor(Q, H, X, G), curRegion.value.setFormSelectOption = (Q, H, X) => setFormSelectOption(Q, H, X), curRegion.value.getFormSelectOption = (Q, H) => getFormSelectOption(Q, H), curRegion.value.setColumnFixed = (Q, H) => setColumnFixed(Q, H), curRegion.value.getQueryForm = (Q) => getQueryForm(Q), curRegion.value.setCurrentRowByRowIndex = (Q, H) => setCurrentRowByRowIndex(Q, H), curRegion.value.setUploadData = (Q) => setUploadData(Q), curRegion.value.setQueryFieldChangeFun = (Q, H) => setQueryFieldChangeFun(Q, H), curRegion.value.setQueryFormItemDisplay = (Q, H) => setQueryFormItemDisplay(Q, H), curRegion.value.setQueryFormItemProperty = (Q, H, X) => setQueryFormItemProperty(Q, H, X), curRegion.value.setCheckMethod = (Q) => setCheckMethod(Q), curRegion.value.setButtonDisplay = (Q, H) => setButtonDisplay(Q, H), curRegion.value.addColumn = (Q) => addColumn(Q);
10022
+ }, curRegion.value.getParentRegion = () => getParentRegion(), curRegion.value.exportData = () => exportData(), curRegion.value.getRegion = (Q) => getRegion(Q), curRegion.value.removeRow = (Q) => removeRow(Q), curRegion.value.clearGrid = () => clearGrid(), curRegion.value.setCheckboxRowColor = (Q, H) => setCheckboxRowColor(Q, H), curRegion.value.setFormValue = (Q, H) => setFormValue(Q, H), curRegion.value.setRowCellColor = (Q, H, X, G) => setRowCellColor(Q, H, X, G), curRegion.value.setFormSelectOption = (Q, H, X) => setFormSelectOption(Q, H, X), curRegion.value.getFormSelectOption = (Q, H) => getFormSelectOption(Q, H), curRegion.value.setColumnFixed = (Q, H) => setColumnFixed(Q, H), curRegion.value.getQueryForm = (Q) => getQueryForm(Q), curRegion.value.setCurrentRowByRowIndex = (Q, H) => setCurrentRowByRowIndex(Q, H), curRegion.value.setUploadData = (Q) => setUploadData(Q), curRegion.value.setQueryFieldChangeFun = (Q, H) => setQueryFieldChangeFun(Q, H), curRegion.value.setQueryFormItemDisplay = (Q, H) => setQueryFormItemDisplay(Q, H), curRegion.value.setQueryFormItemProperty = (Q, H, X) => setQueryFormItemProperty(Q, H, X), curRegion.value.setCheckMethod = (Q) => setCheckMethod(Q), curRegion.value.setButtonDisplay = (Q, H) => setButtonDisplay(Q, H), curRegion.value.addColumn = (Q) => addColumn(Q), curRegion.value.resetGrid = () => resetGrid(), curRegion.value.clearCheckedReserveData = () => clearCheckedReserveData();
10021
10023
  }), onUnmounted(() => {
10022
10024
  document.removeEventListener("mousedown", tableOutDestroyAreaBox), document.removeEventListener("mouseup", tbodymouseup), document.removeEventListener("paste", ctrlVPaste), document.removeEventListener("copy", ctrlCopyAndCut), document.removeEventListener("cut", ctrlCopyAndCut);
10023
10025
  }), __expose({ gridReload, reload }), (Q, H) => {
@@ -10351,7 +10353,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_472f466c_lang = "", _withScop
10351
10353
  ]);
10352
10354
  };
10353
10355
  }
10354
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-472f466c"]]);
10356
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-81900fbc"]]);
10355
10357
  WindowGrid.name = "slw-window-grid";
10356
10358
  WindowGrid.install = (Q) => {
10357
10359
  Q.component(WindowGrid.name, WindowGrid);
@@ -59399,7 +59401,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
59399
59401
  emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
59400
59402
  setup(Q, { emit: H }) {
59401
59403
  const X = Q, G = defineAsyncComponent(
59402
- () => import("./index-d6c25695.js")
59404
+ () => import("./index-430f5e83.js")
59403
59405
  );
59404
59406
  let K = useVModel(X, "type", H), Z = useVModel(X, "rootLayout", H), ee = useVModel(X, "viewData", H), te = useVModel(X, "rowData", H), ne = ref(0), oe = ref(null);
59405
59407
  oe.value = createDesigner();
@@ -165899,7 +165901,7 @@ function reConsole() {
165899
165901
  }
165900
165902
  }
165901
165903
  console.info(
165902
- `%cSLW %cVer 1.0.0-beta.14%c
165904
+ `%cSLW %cVer 1.0.0-beta.14.1%c
165903
165905
  %c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
165904
165906
  %c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
165905
165907
  "color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as m } from "./index-576a6edb.js";
1
+ import { i as m } from "./index-cbbf79fd.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {