slw 0.9.53 → 0.9.54

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.
@@ -42521,7 +42521,7 @@ var js = js$1.exports;
42521
42521
  })(Q);
42522
42522
  })(js$1);
42523
42523
  var jsExports = js$1.exports;
42524
- const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_07db5a2f_lang = "", _withScopeId$7 = (Q) => (pushScopeId("data-v-07db5a2f"), Q = Q(), popScopeId(), Q), _hoisted_1$l0 = { class: "slw-window-form" }, _hoisted_2$kX = {
42524
+ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_9295608a_lang = "", _withScopeId$7 = (Q) => (pushScopeId("data-v-9295608a"), Q = Q(), popScopeId(), Q), _hoisted_1$l0 = { class: "slw-window-form" }, _hoisted_2$kX = {
42525
42525
  key: 0,
42526
42526
  class: "form-title"
42527
42527
  }, _hoisted_3$hX = ["onClick"], _hoisted_4$ax = ["onClick"], _hoisted_5$4X = ["onClick"], _hoisted_6$20 = ["onClick"], _hoisted_7$13 = ["onClick"], _sfc_main$c = {
@@ -43324,7 +43324,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
43324
43324
  rules: editRules.value,
43325
43325
  loading: unref(formLoading),
43326
43326
  "title-align": "right",
43327
- "title-width": "120",
43327
+ "title-width": "115",
43328
43328
  class: normalizeClass({ "single-row": unref(formConfig).params.singleRow })
43329
43329
  }, {
43330
43330
  default: withCtx(() => [
@@ -43523,7 +43523,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
43523
43523
  ]);
43524
43524
  };
43525
43525
  }
43526
- }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-07db5a2f"]]);
43526
+ }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-9295608a"]]);
43527
43527
  WindowForm.name = "slw-window-form";
43528
43528
  WindowForm.install = (Q) => {
43529
43529
  Q.component(WindowForm.name, WindowForm);
@@ -43864,7 +43864,7 @@ function P$2(Q, H, G, X, Z, K) {
43864
43864
  renderSlot(Q.$slots, "default")
43865
43865
  ], 4);
43866
43866
  }
43867
- const g$1 = /* @__PURE__ */ S$2(x$2, [["render", P$2]]), splitpanes = "", windowLayout_vue_vue_type_style_index_0_scoped_4e0ad047_lang = "", _withScopeId$6 = (Q) => (pushScopeId("data-v-4e0ad047"), Q = Q(), popScopeId(), Q), _hoisted_1$k$ = { class: "slw-window-layout-container" }, _sfc_main$b = {
43867
+ const g$1 = /* @__PURE__ */ S$2(x$2, [["render", P$2]]), splitpanes = "", windowLayout_vue_vue_type_style_index_0_scoped_4e815669_lang = "", _withScopeId$6 = (Q) => (pushScopeId("data-v-4e815669"), Q = Q(), popScopeId(), Q), _hoisted_1$k$ = { class: "slw-window-layout-container" }, _sfc_main$b = {
43868
43868
  __name: "window-layout",
43869
43869
  props: {
43870
43870
  layoutData: {
@@ -43916,7 +43916,7 @@ const g$1 = /* @__PURE__ */ S$2(x$2, [["render", P$2]]), splitpanes = "", window
43916
43916
  (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(K).child, (fe, pe) => (openBlock(), createBlock(unref(g$1), {
43917
43917
  key: fe.id,
43918
43918
  size: fe.splitRate * 100,
43919
- "min-size": fe.gridData && fe.gridData.type === "FORM" ? 20 : 0
43919
+ "min-size": fe.gridData && fe.gridData.type === "FORM" ? 10 : 0
43920
43920
  }, {
43921
43921
  default: withCtx(() => [
43922
43922
  fe.mode === "tab" ? (openBlock(), createBlock(ue, {
@@ -43999,7 +43999,7 @@ const g$1 = /* @__PURE__ */ S$2(x$2, [["render", P$2]]), splitpanes = "", window
43999
43999
  ]);
44000
44000
  };
44001
44001
  }
44002
- }, WindowLayout = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-4e0ad047"]]);
44002
+ }, WindowLayout = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-4e815669"]]);
44003
44003
  WindowLayout.name = "slw-window-layout";
44004
44004
  WindowLayout.install = (Q) => {
44005
44005
  Q.component(WindowLayout.name, WindowLayout);
@@ -59299,7 +59299,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
59299
59299
  emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
59300
59300
  setup(Q, { emit: H }) {
59301
59301
  const G = Q, X = defineAsyncComponent(
59302
- () => import("./index-e2d7bc6e.js")
59302
+ () => import("./index-3db86d58.js")
59303
59303
  );
59304
59304
  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);
59305
59305
  re.value = createDesigner();
@@ -59384,7 +59384,7 @@ WindowDesigner.name = "slw-window-designer";
59384
59384
  WindowDesigner.install = (Q) => {
59385
59385
  Q.component(WindowDesigner.name, WindowDesigner);
59386
59386
  };
59387
- const windowIndex_vue_vue_type_style_index_0_scoped_f3042971_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-f3042971"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
59387
+ 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 = {
59388
59388
  __name: "window-index",
59389
59389
  props: {
59390
59390
  windowId: {
@@ -59516,7 +59516,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_f3042971_lang = "", _withSco
59516
59516
  for (let ne = 0; ne < Q.length; ne++)
59517
59517
  Z === "TAB" ? ee[ne] = 1 : G === "V" ? Q[ne].height && ne != Q.length - 1 ? (ee[ne] = (Q[ne].height / X).toFixed(2), te = te - ee[ne]) : ne == Q.length - 1 ? ee[ne] = te : (ee[ne] = te / (Q.length - Object.keys(ee).length), te = te - ee[ne]) : ee[ne] = 1 / Q.length;
59518
59518
  for (let ne = 0; ne < Q.length; ne++) {
59519
- G === "H" && ne === 0 && Q[ne].width && Q[ne].width / 12 < 1 && (ee = computeSplitRate(ee, ne, Q[ne].width / 12));
59519
+ G === "H" && Q[ne].width && Q[ne].width / 12 < 1 && (ee = computeSplitRate(ee, ne, Q[ne].width / 12));
59520
59520
  let re = ee[ne], ae = X - 60, le = parentLayoutIdLayoutMap.value[H].length, se = G === "H" ? X : G === "V" ? Q.length === 1 || le === 1 ? X : Q[ne].height ? Q[ne].height : X * re : ae, ce = await joinFieldInfo(
59521
59521
  getParentRegion(Q[ne].id),
59522
59522
  Q[ne].id,
@@ -60587,7 +60587,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_f3042971_lang = "", _withSco
60587
60587
  ]);
60588
60588
  };
60589
60589
  }
60590
- }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-f3042971"]]);
60590
+ }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-eccc7177"]]);
60591
60591
  WindowIndex.name = "slw-window-index";
60592
60592
  WindowIndex.install = (Q) => {
60593
60593
  Q.component(WindowIndex.name, WindowIndex);
@@ -144300,7 +144300,7 @@ function reConsole() {
144300
144300
  }
144301
144301
  }
144302
144302
  console.info(
144303
- `%cSLW %cVer 0.9.53%c
144303
+ `%cSLW %cVer 0.9.54%c
144304
144304
  %c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
144305
144305
  %c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
144306
144306
  "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-4148bd9e.js";
2
+ import { _ as x, d as S, a as L, u as N } from "./index-1a075776.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-4148bd9e.js";
1
+ import { i as m } from "./index-1a075776.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {