slw 1.0.0-beta.18 → 1.0.0-beta.18.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.
@@ -53258,7 +53258,7 @@ WindowCharts.name = "slw-window-charts";
53258
53258
  WindowCharts.install = (G) => {
53259
53259
  G.component(WindowCharts.name, WindowCharts);
53260
53260
  };
53261
- const windowGrid_vue_vue_type_style_index_0_scoped_4aa474bd_lang = "", _withScopeId$9 = (G) => (pushScopeId("data-v-4aa474bd"), G = G(), popScopeId(), G), _hoisted_1$l3 = {
53261
+ const windowGrid_vue_vue_type_style_index_0_scoped_74cb9f5b_lang = "", _withScopeId$9 = (G) => (pushScopeId("data-v-74cb9f5b"), G = G(), popScopeId(), G), _hoisted_1$l3 = {
53262
53262
  class: "slw-window-grid-container",
53263
53263
  style: { height: "100%" }
53264
53264
  }, _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_ = [
@@ -54868,6 +54868,12 @@ const windowGrid_vue_vue_type_style_index_0_scoped_4aa474bd_lang = "", _withScop
54868
54868
  });
54869
54869
  }, setPictureUploadConfig = (G) => {
54870
54870
  gridData.value.params.pictureUploadConfig = G;
54871
+ }, setOperationColumnFixed = (G = "left") => {
54872
+ let H = getCurRegion();
54873
+ if (H) {
54874
+ let X = H.columns.filter((Q) => Q.colId == "_operation_")[0];
54875
+ X.fixed = G;
54876
+ }
54871
54877
  };
54872
54878
  return onMounted(async () => {
54873
54879
  gridData.value.addListener && getCurRegion() && addListener(), gridData.value.type === "TREE_STRUCTURE" && (gridData.value.menuConfig = {
@@ -55328,7 +55334,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_4aa474bd_lang = "", _withScop
55328
55334
  ]);
55329
55335
  };
55330
55336
  }
55331
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-4aa474bd"]]);
55337
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-74cb9f5b"]]);
55332
55338
  WindowGrid.name = "slw-window-grid";
55333
55339
  WindowGrid.install = (G) => {
55334
55340
  G.component(WindowGrid.name, WindowGrid);
@@ -77758,7 +77764,7 @@ var js = js$1.exports;
77758
77764
  })(G);
77759
77765
  })(js$1);
77760
77766
  var jsExports = js$1.exports;
77761
- const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_45e417b3_lang = "", _withScopeId$7 = (G) => (pushScopeId("data-v-45e417b3"), G = G(), popScopeId(), G), _hoisted_1$l1 = { class: "slw-window-form" }, _hoisted_2$kY = {
77767
+ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_167aa5e7_lang = "", _withScopeId$7 = (G) => (pushScopeId("data-v-167aa5e7"), G = G(), popScopeId(), G), _hoisted_1$l1 = { class: "slw-window-form" }, _hoisted_2$kY = {
77762
77768
  key: 0,
77763
77769
  class: "form-title"
77764
77770
  }, _hoisted_3$hY = ["onClick"], _hoisted_4$ay = ["onClick"], _hoisted_5$4Y = ["onClick"], _hoisted_6$20 = ["onClick"], _hoisted_7$13 = ["onClick"], _hoisted_8$G = ["onClick"], _sfc_main$e = {
@@ -78512,7 +78518,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
78512
78518
  }, onloadFile = () => {
78513
78519
  formDataClone.value = XEUtils$4.clone(toRaw(formData.value), !0);
78514
78520
  }, throwFunction = (G) => {
78515
- G.getData = () => getData(), G.submitData = () => submitData(), G.getValue = (H) => getValue(H), G.setValue = (H, X, Q) => setValue(H, X, Q), G.checkSubmitData = () => checkSubmitData(), G.searchData = (H) => searchData(H), G.displayFormItem = (H, X) => displayFormItem(H, X), G.resetForm = () => resetForm(), G.clearData = () => clearData(), G.setFieldName = (H, X) => setFieldName(H, X), G.setFormItemProperty = (H, X, Q) => setFormItemProperty(H, X, Q), G.getTableFieldSelectData = (H) => getTableFieldSelectData(H), G.setFormSelectOption = (H, X) => setFormSelectOption(H, X), G.closeDrawer = () => {
78521
+ G.getData = () => getData(), G.submitData = () => submitData(), G.getValue = (H) => getValue(H), G.setValue = (H, X, Q) => setValue(H, X, Q), G.checkSubmitData = () => checkSubmitData(), G.searchData = (H) => searchData(H), G.search = (H) => searchData(H), G.displayFormItem = (H, X) => displayFormItem(H, X), G.resetForm = () => resetForm(), G.clearData = () => clearData(), G.setFieldName = (H, X) => setFieldName(H, X), G.setFormItemProperty = (H, X, Q) => setFormItemProperty(H, X, Q), G.getTableFieldSelectData = (H) => getTableFieldSelectData(H), G.setFormSelectOption = (H, X) => setFormSelectOption(H, X), G.closeDrawer = () => {
78516
78522
  closeDrawer();
78517
78523
  };
78518
78524
  };
@@ -78824,7 +78830,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
78824
78830
  ]);
78825
78831
  };
78826
78832
  }
78827
- }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-45e417b3"]]);
78833
+ }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-167aa5e7"]]);
78828
78834
  WindowForm.name = "slw-window-form";
78829
78835
  WindowForm.install = (G) => {
78830
78836
  G.component(WindowForm.name, WindowForm);
@@ -91895,7 +91901,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
91895
91901
  emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
91896
91902
  setup(G, { emit: H }) {
91897
91903
  const X = G, Q = defineAsyncComponent(
91898
- () => import("./index-1461c34d.js")
91904
+ () => import("./index-8690a454.js")
91899
91905
  );
91900
91906
  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);
91901
91907
  re.value = createDesigner();
@@ -91980,7 +91986,7 @@ WindowDesigner.name = "slw-window-designer";
91980
91986
  WindowDesigner.install = (G) => {
91981
91987
  G.component(WindowDesigner.name, WindowDesigner);
91982
91988
  };
91983
- const windowIndex_vue_vue_type_style_index_0_scoped_132cfc0e_lang = "", _withScopeId$1 = (G) => (pushScopeId("data-v-132cfc0e"), G = G(), popScopeId(), G), _hoisted_1$kS = { class: "slw-config-window-container" }, _hoisted_2$kR = { class: "child-table-p" }, _sfc_main$2 = {
91989
+ const windowIndex_vue_vue_type_style_index_0_scoped_e14b1032_lang = "", _withScopeId$1 = (G) => (pushScopeId("data-v-e14b1032"), G = G(), popScopeId(), G), _hoisted_1$kS = { class: "slw-config-window-container" }, _hoisted_2$kR = { class: "child-table-p" }, _sfc_main$2 = {
91984
91990
  __name: "window-index",
91985
91991
  props: {
91986
91992
  windowId: {
@@ -92613,7 +92619,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_132cfc0e_lang = "", _withSco
92613
92619
  canScan: we[Te].canScan
92614
92620
  // 支持扫码
92615
92621
  };
92616
- switch ((ue.showTableQueryTool || (ce = $VXETableConfig == null ? void 0 : $VXETableConfig.grid) != null && ce.showTableQueryTool) && (ye.filters = [{ data: "" }], ye.filterRender = {
92622
+ switch ((ue.showTableQueryTool || (ce = $VXETableConfig == null ? void 0 : $VXETableConfig.grid) != null && ce.showTableQueryTool) && we[Te].dataType != "SQL" && (ye.filters = [{ data: "" }], ye.filterRender = {
92617
92623
  name: "TableFilterInput"
92618
92624
  }), we[Te].format && (ye.formatter = formatter, ye.type = "html"), ye.id = we[Te].id, we[Te].dataType) {
92619
92625
  case "ID":
@@ -93204,7 +93210,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_132cfc0e_lang = "", _withSco
93204
93210
  ]);
93205
93211
  };
93206
93212
  }
93207
- }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-132cfc0e"]]);
93213
+ }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-e14b1032"]]);
93208
93214
  WindowIndex.name = "slw-window-index";
93209
93215
  WindowIndex.install = (G) => {
93210
93216
  G.component(WindowIndex.name, WindowIndex);
@@ -224569,7 +224575,7 @@ function reConsole() {
224569
224575
  }
224570
224576
  }
224571
224577
  console.info(
224572
- `%cSLW %cVer 1.0.0-beta.18%c
224578
+ `%cSLW %cVer 1.0.0-beta.18.1%c
224573
224579
  %c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
224574
224580
  %c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
224575
224581
  "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-2b58697f.js";
2
+ import { _ as x, d as S, a as L, u as N } from "./index-79ef5b61.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-2b58697f.js";
1
+ import { i as m } from "./index-79ef5b61.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {