slw 0.5.971 → 0.5.972

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.
package/lib/index.js CHANGED
@@ -37979,7 +37979,7 @@ _sfc_main$2.name = "slw-preview-modal";
37979
37979
  _sfc_main$2.install = (Q) => {
37980
37980
  Q.component(_sfc_main$2.name, _sfc_main$2);
37981
37981
  };
37982
- const windowIndex_vue_vue_type_style_index_0_scoped_f23e4d22_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-f23e4d22"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
37982
+ const windowIndex_vue_vue_type_style_index_0_scoped_bff99757_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-bff99757"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
37983
37983
  __name: "window-index",
37984
37984
  props: {
37985
37985
  windowId: {
@@ -38325,7 +38325,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_f23e4d22_lang = "", _withSco
38325
38325
  change: function() {
38326
38326
  }
38327
38327
  },
38328
- attrs: {}
38328
+ attrs: { id: "query-" + K[se].columnName }
38329
38329
  },
38330
38330
  visible: !K[se].hide,
38331
38331
  folding: se > 2
@@ -38561,7 +38561,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_f23e4d22_lang = "", _withSco
38561
38561
  notNull: oe[se].notNull,
38562
38562
  maxlength: oe[se].length
38563
38563
  },
38564
- attrs: {}
38564
+ attrs: { id: ce }
38565
38565
  };
38566
38566
  oe[se].filterColumn && oe[se].filterColumn.split(",").forEach((ve) => {
38567
38567
  ve = ve.toUpperCase(), X.params.selectTableField[ve] ? X.params.selectTableField[ve].push({
@@ -38729,7 +38729,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_f23e4d22_lang = "", _withSco
38729
38729
  }, checkColumnMethod = ({ column: Q }) => !(Q.type === "seq" || Q.type === "checkbox"), updateData = (Q, H) => {
38730
38730
  rootLayout.value = H;
38731
38731
  }, showPreView = (Q, H, G, X) => {
38732
- preWindowName.value = H, G && (preQueryParams.value = G), X && (X.preViewFooterShow && (preViewFooterShow.value = X.preViewFooterShow), X.preViewSubmitFun && (preViewSubmitFun.value = X.preViewSubmitFun), X.preViewCloseFun && (preViewCloseFun.value = X.preViewCloseFun), X.preViewCode && (preViewCode.value = X.preViewCode), X.width && (preViewWidth.value = X.width), X.height && (preViewHeight.value = X.height)), preWindowId.value = Q, preViewShow.value = !preViewShow.value, preViewLoading.value = !0;
38732
+ preWindowName.value = H, G && (preQueryParams.value = G), X && (X.preViewFooterShow && (preViewFooterShow.value = X.preViewFooterShow), X.preViewSubmitFun && (preViewSubmitFun.value = X.preViewSubmitFun), X.preViewCloseFun && (preViewCloseFun.value = X.preViewCloseFun), X.preViewCode && (preViewCode.value = X.preViewCode), X.width && (preViewWidth.value = X.width), X.height && (typeof X.height == "number" || X.height.indexOf("px") > 0 ? (preViewHeight.value = parseInt(X.height) / document.documentElement.clientHeight * 100, preViewHeight.value = Math.floor(preViewHeight.value)) : X.height.indexOf("%") > 0 || X.height.indexOf("vh") > 0 ? preViewHeight.value = parseInt(X.height) : preViewHeight.value = 75)), preWindowId.value = Q, preViewShow.value = !preViewShow.value, preViewLoading.value = !0;
38733
38733
  }, preViewLoadSuccess = () => {
38734
38734
  preViewLoading.value = !1;
38735
38735
  }, preViewxModal = ref(), showPreViewClose = () => {
@@ -39031,15 +39031,19 @@ const windowIndex_vue_vue_type_style_index_0_scoped_f23e4d22_lang = "", _withSco
39031
39031
  onZoom: zoomModal
39032
39032
  }, createSlots({
39033
39033
  default: withCtx(() => [
39034
- (openBlock(), createBlock(de, {
39035
- "window-id": unref(preWindowId),
39036
- "query-params": unref(preQueryParams),
39037
- "onUpdate:queryParams": H[7] || (H[7] = (he) => isRef(preQueryParams) ? preQueryParams.value = he : preQueryParams = he),
39038
- key: unref(preWindowId),
39039
- height: unref(preViewHeight) ? unref(preViewHeight) : "80%",
39040
- onOnLoadSuccess: preViewLoadSuccess,
39041
- onClose: showPreViewClose
39042
- }, null, 8, ["window-id", "query-params", "height"]))
39034
+ createElementVNode("div", {
39035
+ style: normalizeStyle({ height: unref(preViewHeight) ? unref(preViewHeight) + "vh" : "75vh" })
39036
+ }, [
39037
+ (openBlock(), createBlock(de, {
39038
+ "window-id": unref(preWindowId),
39039
+ "query-params": unref(preQueryParams),
39040
+ "onUpdate:queryParams": H[7] || (H[7] = (he) => isRef(preQueryParams) ? preQueryParams.value = he : preQueryParams = he),
39041
+ key: unref(preWindowId),
39042
+ height: unref(preViewHeight) ? unref(preViewHeight) + "%" : "80%",
39043
+ onOnLoadSuccess: preViewLoadSuccess,
39044
+ onClose: showPreViewClose
39045
+ }, null, 8, ["window-id", "query-params", "height"]))
39046
+ ], 4)
39043
39047
  ]),
39044
39048
  _: 2
39045
39049
  }, [
@@ -39078,7 +39082,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_f23e4d22_lang = "", _withSco
39078
39082
  ]);
39079
39083
  };
39080
39084
  }
39081
- }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-f23e4d22"]]);
39085
+ }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-bff99757"]]);
39082
39086
  WindowIndex.name = "slw-window-index";
39083
39087
  WindowIndex.install = (Q) => {
39084
39088
  Q.component(WindowIndex.name, WindowIndex);
@@ -44190,10 +44194,10 @@ var SiderCollapsedKey = Symbol("siderCollapsed"), SiderHookProviderKey = Symbol(
44190
44194
  }, H;
44191
44195
  }()
44192
44196
  );
44193
- }(), isBrowser = typeof window < "u" && typeof document < "u" && window.document === document, global$1$1 = function() {
44197
+ }(), isBrowser = typeof window < "u" && typeof document < "u" && window.document === document, global$1 = function() {
44194
44198
  return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
44195
44199
  }(), requestAnimationFrame$1 = function() {
44196
- return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(global$1$1) : function(Q) {
44200
+ return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(global$1) : function(Q) {
44197
44201
  return setTimeout(function() {
44198
44202
  return Q(Date.now());
44199
44203
  }, 1e3 / 60);
@@ -44271,7 +44275,7 @@ var REFRESH_DELAY = 20, transitionKeys = ["top", "right", "bottom", "left", "wid
44271
44275
  return Q;
44272
44276
  }, getWindowOf = function(Q) {
44273
44277
  var H = Q && Q.ownerDocument && Q.ownerDocument.defaultView;
44274
- return H || global$1$1;
44278
+ return H || global$1;
44275
44279
  }, emptyRect = createRectInit(0, 0, 0, 0);
44276
44280
  function toFloat(Q) {
44277
44281
  return parseFloat(Q) || 0;
@@ -44429,7 +44433,7 @@ var ResizeObservation = (
44429
44433
  };
44430
44434
  });
44431
44435
  var index$m = function() {
44432
- return typeof global$1$1.ResizeObserver < "u" ? global$1$1.ResizeObserver : ResizeObserver$2;
44436
+ return typeof global$1.ResizeObserver < "u" ? global$1.ResizeObserver : ResizeObserver$2;
44433
44437
  }();
44434
44438
  const ResizeObserver$1 = defineComponent({
44435
44439
  compatConfig: {
@@ -121766,7 +121770,7 @@ const VXETableExport = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
121766
121770
  t,
121767
121771
  use,
121768
121772
  v
121769
- }, Symbol.toStringTag, { value: "Module" })), style = "", global$1 = "", components = [
121773
+ }, Symbol.toStringTag, { value: "Module" })), style = "", components = [
121770
121774
  WindowIndex,
121771
121775
  _sfc_main,
121772
121776
  WindowLayout,
@@ -121840,6 +121844,11 @@ function reConsole() {
121840
121844
  };
121841
121845
  }
121842
121846
  }
121847
+ console.info(
121848
+ "%cSLW %cVer 0.5.971",
121849
+ "color:#409EFF;font-size: 22px;font-weight:bolder",
121850
+ "color:#999;font-size: 12px"
121851
+ );
121843
121852
  const index = {
121844
121853
  install
121845
121854
  };