@byteluck-fe/runtime-desktop-controls 3.0.30 → 3.0.32

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,10 +1,10 @@
1
1
  import { ref as z, reactive as Ss, readonly as SW, provide as xi, inject as je, unref as c, onUnmounted as Js, shallowRef as In, onBeforeUnmount as Vl, toRaw as ni, nextTick as ot, computed as V, watch as qe, getCurrentInstance as Gl, isRef as an, isProxy as HO, watchEffect as na, h as cn, onBeforeUpdate as TW, toRefs as Pl, onMounted as Cn, onBeforeMount as lC, createVNode as W, defineComponent as Ce, isReactive as mf, isVNode as Cg, createApp as hT, resolveComponent as he, openBlock as O, createElementBlock as Y, normalizeClass as Oe, mergeProps as Nt, createCommentVNode as me, createElementVNode as X, resolveDirective as mi, withDirectives as st, createTextVNode as et, toDisplayString as de, createBlock as ae, vShow as kt, createSlots as Er, renderList as Xe, withCtx as re, renderSlot as on, normalizeProps as Mn, guardReactiveProps as Gn, resolveDynamicComponent as ct, mergeDefaults as pt, Fragment as Ae, pushScopeId as Bn, popScopeId as Hn, Teleport as _W, withModifiers as Kt, normalizeStyle as Bt, useCssVars as du, createStaticVNode as EW, toRef as wl, effectScope as QL, markRaw as Tc, hasInjectionContext as PW, getCurrentScope as IW, onScopeDispose as DW, shallowReactive as OW, useAttrs as wg, cloneVNode as RW, onActivated as qE, withKeys as AW, onDeactivated as MW, defineProps as LW } from "vue";
2
- import { cloneDeep as vn, isUndefined as xW, omit as fT, keyBy as Ks, map as Il, isNil as ki, isEqual as Bc, debounce as rs, isArray as hs, isString as vf, throttle as kW, uniqBy as Hc, isEmpty as cC, toLower as NW, toUpper as FW, uniq as YE, flatten as VW, once as GW, get as ny, mapValues as BW, keys as Pm, merge as HW, set as UW, difference as mv, pick as jW, isNull as ZL, concat as zW, compact as WW, isNumber as $W, findIndex as qW, invert as YW } from "lodash";
2
+ import { cloneDeep as vn, isUndefined as xW, omit as fT, keyBy as Ks, map as Il, isNil as ki, isEqual as Bc, debounce as as, isArray as hs, isString as vf, throttle as kW, uniqBy as Hc, isEmpty as cC, toLower as NW, toUpper as FW, uniq as YE, flatten as VW, once as GW, get as ny, mapValues as BW, keys as Pm, merge as HW, set as UW, difference as mv, pick as jW, isNull as ZL, concat as zW, compact as WW, isNumber as $W, findIndex as qW, invert as YW } from "lodash";
3
3
  import { message as We, Modal as Fn, Input as KE, Select as dr, Switch as KW, Checkbox as QW, Popover as ZW, Table as XW, Spin as md, notification as JW, Steps as uC, Space as _c, Button as Os, Badge as iy, Upload as gT, TreeSelect as UO, Tag as QE, Radio as yo, Typography as yf, Row as vv, Col as cc, Tabs as jO, Tooltip as sh, RadioGroup as e$ } from "ant-design-vue";
4
4
  import { useStore as en, createStore as t$ } from "vuex";
5
5
  import { getLocaleText as L, LocaleEnum as $h, getPlaceholder as Cf, updateLocalMessage as n$, getLabel as ed } from "@byteluck-fe/locale-message";
6
6
  import Ee from "moment";
7
- import { client as rt, isDef as ys, getCustomRequestHeader as bg, getFetch as cr, HttpCodes as Uc, isArray as Ki, isString as Ti, ModelFieldTypes as nt, buildUUID as Dd, cacheManager as is, isEmpty as ss, isNumber as Ra, isObject as ZE, path as fi, getIframeUrl as i$, Postmate as XE, customOpenOperate as xa, isBoolean as oh, isFunction as wf, getBrowserType as s$, customClose as XL, CustomUtilsMounted as o$, formatDisplayData as r$, VoBizModel as zO, customUpdateCurrentTab as a$, parseHeadersValue as l$ } from "@byteluck-fe/global-shared";
7
+ import { client as rt, isDef as ys, getCustomRequestHeader as bg, getFetch as cr, HttpCodes as Uc, isArray as Ki, isString as Ti, ModelFieldTypes as nt, buildUUID as Dd, cacheManager as ss, isEmpty as os, isNumber as Ra, isObject as ZE, path as fi, getIframeUrl as i$, Postmate as XE, customOpenOperate as xa, isBoolean as oh, isFunction as wf, getBrowserType as s$, customClose as XL, CustomUtilsMounted as o$, formatDisplayData as r$, VoBizModel as zO, customUpdateCurrentTab as a$, parseHeadersValue as l$ } from "@byteluck-fe/global-shared";
8
8
  import { camelizeKeys as Ls, CONTROL_TYPE as q, CONTROL_BASE_TYPE as Ia, isArray as bf, isDataBind as eo, JSONCopy as dt, decamelizeKeys as xt, OperationButton as c$, DATE_CONFIG_TYPE as WO, DATE_LIMIT_TYPE as hl, FieldTypes as di, PAGE_STATUS as ai, FORM_TYPE as pr, isPlainObject as JE, DataSourceBind as u$, FieldFilterConditions as d$, AddressValue as p$, OrganizeType as jc, DepartmentType as Sg, TitleConfigEnum as vo, logerror as h$, log as JL, error as f$, EventLogic as mT, DataSourceParamItem as g$, DataSourceOrderItem as m$, genNonDuplicateId as v$, CALC_TOKEN_TYPE as ba, CALC_AGGREGATE_TYPE as Im, MultistageFillingItem as y$, DisplayBoListItem as C$, baseControls as w$, formControls as b$, layoutControls as S$, listControls as T$, columnControls as _$, searchControls as E$, wrapControls as P$, loadRemoteControl as I$, registerCustomControls as $O, registerByteluckControls as D$, nativeFetch as O$, VersionBuilder as ex, upgradeCustomControlSchema as R$, RulesMessage as A$, ImageCompressType as M$, ViewOperationItem as lb, SCORE_TYPE as uc } from "@byteluck-fe/model-driven-core-all";
9
9
  import { loopDataViewControl as L$, buildUUID as cb, parseModule as qO, Engine as sy, ES6ModulePlugin as x$, LifecycleEventPlugin as k$, ControlsEventPlugin as N$, StylePlugin as F$ } from "@byteluck-fe/model-driven-engine";
10
10
  import "@byteluck-fe/model-driven-settings";
@@ -177,7 +177,7 @@ const Rd = function(t, e) {
177
177
  const i = (Rd.canvas || (Rd.canvas = document.createElement("canvas"))).getContext("2d");
178
178
  return i.font = e, i.measureText(t).width;
179
179
  };
180
- function as(t, e, n) {
180
+ function Ji(t, e, n) {
181
181
  let i;
182
182
  const s = Ke.config.globalProperties, o = s.BYTELUCK_LAYOUT_MODE, r = s.BYTELUCK_LAYOUT_VARIABLES;
183
183
  if (r && o)
@@ -12808,9 +12808,9 @@ let Uu = null;
12808
12808
  async function yd() {
12809
12809
  Uu || (Uu = document.createElement("input"), Uu.style.display = "none", document.body.appendChild(Uu)), document.activeElement?.blur?.(), window.tinyMCE?.activeEditor && window.tinyMCE?.activeEditor.save?.(), document.body.click(), Uu.focus(), Uu.blur(), await ux();
12810
12810
  }
12811
- var ts = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.HIDDEN = 1] = "HIDDEN", t[t.READONLY = 2] = "READONLY", t[t.EDIT = 6] = "EDIT", t[t.READONLY_NOT_REQUIRED = 8] = "READONLY_NOT_REQUIRED", t[t.EDIT_NOT_REQUIRED = 24] = "EDIT_NOT_REQUIRED", t[t.EDIT_REQUIRE = 56] = "EDIT_REQUIRE", t))(ts || {});
12811
+ var ns = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.HIDDEN = 1] = "HIDDEN", t[t.READONLY = 2] = "READONLY", t[t.EDIT = 6] = "EDIT", t[t.READONLY_NOT_REQUIRED = 8] = "READONLY_NOT_REQUIRED", t[t.EDIT_NOT_REQUIRED = 24] = "EDIT_NOT_REQUIRED", t[t.EDIT_REQUIRE = 56] = "EDIT_REQUIRE", t))(ns || {});
12812
12812
  function bC(t, e) {
12813
- return e?.length ? e.find((n) => n.ctrl_id === t)?.ctrl_behavior !== ts.HIDDEN : !0;
12813
+ return e?.length ? e.find((n) => n.ctrl_id === t)?.ctrl_behavior !== ns.HIDDEN : !0;
12814
12814
  }
12815
12815
  function Pf(t, e, n, i) {
12816
12816
  return t.assertInstance(n, q.SCORE) && e === n.props.defaultValue ? !0 : t.assertInstance(n, q.CALC) ? i === "unit" || i === "result" && e === 0 : t.assertInstance(n, q.AMOUNT) && i === "currency" ? !0 : Ki(e) || Ti(e) ? e.length === 0 : !1;
@@ -13659,11 +13659,11 @@ async function QX(t) {
13659
13659
  } : void 0,
13660
13660
  n
13661
13661
  ]);
13662
- i && i.data_set && is.handleAllDisplayData(
13662
+ i && i.data_set && ss.handleAllDisplayData(
13663
13663
  i?.data_set.values,
13664
13664
  i?.data_set.data_code
13665
13665
  ), i?.extend_data_set && i?.extend_data_set.forEach((u) => {
13666
- is.handleAllDisplayData(u.values, u.data_code);
13666
+ ss.handleAllDisplayData(u.values, u.data_code);
13667
13667
  }), s && s.subDataDisplay && s.orginData && SC(s);
13668
13668
  const o = i ?? {
13669
13669
  data_set: {}
@@ -13716,11 +13716,11 @@ async function ZX(t) {
13716
13716
  data_set: c(e).externalParams.data.data_set,
13717
13717
  header_data: c(e).externalParams.data.header_data
13718
13718
  });
13719
- n && n.data_set && is.handleAllDisplayData(
13719
+ n && n.data_set && ss.handleAllDisplayData(
13720
13720
  n?.data_set.values,
13721
13721
  n?.data_set.data_code
13722
13722
  ), n?.extend_data_set && n?.extend_data_set.forEach((a) => {
13723
- is.handleAllDisplayData(a.values, a.data_code);
13723
+ ss.handleAllDisplayData(a.values, a.data_code);
13724
13724
  }), ys(t.uId) && t.uId !== "" && Yx({
13725
13725
  context: e,
13726
13726
  uId: t.uId,
@@ -16176,7 +16176,7 @@ function Hee(t, e) {
16176
16176
  const SC = (t) => {
16177
16177
  for (const e in t.subDataDisplay) {
16178
16178
  const n = t.subDataDisplay[e];
16179
- is.batchSetMapCache({
16179
+ ss.batchSetMapCache({
16180
16180
  dic_map: n.dic_map,
16181
16181
  display_map: { [e]: n.display_map }
16182
16182
  });
@@ -16285,7 +16285,7 @@ const vi = (t) => {
16285
16285
  return;
16286
16286
  }
16287
16287
  a?.forEach((u, d) => {
16288
- l[d] && is.setStorageCache(
16288
+ l[d] && ss.setStorageCache(
16289
16289
  i.fieldType,
16290
16290
  u,
16291
16291
  l[d]
@@ -16296,10 +16296,10 @@ const vi = (t) => {
16296
16296
  if (!a)
16297
16297
  return [];
16298
16298
  const l = typeof a == "string" && a ? [a] : a;
16299
- return is.getCacheDisplay(i, l);
16299
+ return ss.getCacheDisplay(i, l);
16300
16300
  },
16301
16301
  updateCacheDisplay: (a, l, u) => {
16302
- is.updateDisplayCache(
16302
+ ss.updateDisplayCache(
16303
16303
  i,
16304
16304
  a,
16305
16305
  l || "value",
@@ -18880,7 +18880,7 @@ function Cne(t) {
18880
18880
  o,
18881
18881
  t.modelWidth
18882
18882
  ), P = (k, F) => {
18883
- const U = (Ti(c(r)) ? [c(r)] : c(r)?.slice(0))?.filter((H) => !ss(H))?.map((H) => ["bigint", "int"].includes(h.value.field_type ?? "") ? Number(H) : h.value.field_type === "varchar" ? String(H) : H);
18883
+ const U = (Ti(c(r)) ? [c(r)] : c(r)?.slice(0))?.filter((H) => !os(H))?.map((H) => ["bigint", "int"].includes(h.value.field_type ?? "") ? Number(H) : h.value.field_type === "varchar" ? String(H) : H);
18884
18884
  if (y.value = F, c(r) !== void 0) {
18885
18885
  const H = k.getState(F.id) || {};
18886
18886
  k.setState(F?.id, {
@@ -19443,7 +19443,7 @@ function hu(t) {
19443
19443
  _.value = !0, o(Z), ot(() => {
19444
19444
  _.value = !1;
19445
19445
  });
19446
- }, x = z(!0), k = rs(async (J) => {
19446
+ }, x = z(!0), k = as(async (J) => {
19447
19447
  if (c(T)) {
19448
19448
  x.value = !1;
19449
19449
  return;
@@ -19991,7 +19991,7 @@ function Rg({
19991
19991
  };
19992
19992
  const u = z(!1);
19993
19993
  if (t) {
19994
- const d = z(t), p = s ? r ? rs(n, a) : kW(n, a) : n, h = a ? p : n, g = (v) => {
19994
+ const d = z(t), p = s ? r ? as(n, a) : kW(n, a) : n, h = a ? p : n, g = (v) => {
19995
19995
  u.value = !0, v.removeEventListener(e, h, i);
19996
19996
  }, f = (v) => v.addEventListener(e, h, i), m = qe(
19997
19997
  d,
@@ -20669,7 +20669,7 @@ function Ek(t, e) {
20669
20669
  () => ["icon", "iconText"].includes(i.value.showType)
20670
20670
  ), l = V(
20671
20671
  () => ["text", "iconText"].includes(i.value.showType)
20672
- ), u = rs(async (g) => {
20672
+ ), u = as(async (g) => {
20673
20673
  if (!t.noClickEvent && (t?.preventEngineEvent === void 0 || t?.preventEngineEvent === !1)) {
20674
20674
  const f = await n?.value.emit("click", {
20675
20675
  instance: t.instance,
@@ -20889,7 +20889,7 @@ function Pk(t, e = !0) {
20889
20889
  He.level = be, He.label || (He.label = "--"), x.value && (He.children?.length ? He.isLeaf = !1 : He.isLeaf = !0), Z(He), De && (He.level < k.value && c(o)?.defaultCollapse === "specified" || x.value) && Q.value.push(He.value), He?.children?.length && $e.push(...pe[Fe]?.children);
20890
20890
  }
20891
20891
  $e.length && ee($e, De, be + 1);
20892
- }, te = rs(
20892
+ }, te = as(
20893
20893
  async (pe, De) => {
20894
20894
  if (c(x)) {
20895
20895
  if (pe) {
@@ -21199,7 +21199,7 @@ function Qne(t) {
21199
21199
  else if (x.right_variable_bo.type === "form" && x.right_variable_bo.value[0] === n && t.includeSubValue?.value && (x.symbol = "contains_children"), x.right_variable_bo.value[0] !== n) {
21200
21200
  const { type: k, value: F } = x.right_variable_bo, U = t.context?.parent;
21201
21201
  let H = "";
21202
- F?.[0] && (U ? ss(U?.getState(F[0])) ? H = t.context?.getState(F[0]) : H = U?.getState(F[0]) : H = t.context?.getState(F[0]));
21202
+ F?.[0] && (U ? os(U?.getState(F[0])) ? H = t.context?.getState(F[0]) : H = U?.getState(F[0]) : H = t.context?.getState(F[0]));
21203
21203
  const j = k === "form" ? H : F;
21204
21204
  x.right_variable_bo.type = k === "form" ? "custom" : k, x.right_variable_bo.value = k === "form" ? hs(j) ? j : [j] : F;
21205
21205
  }
@@ -23007,7 +23007,7 @@ function Wk(t, e) {
23007
23007
  getInfoById: !0
23008
23008
  }
23009
23009
  });
23010
- return is.updateDisplayCache(
23010
+ return ss.updateDisplayCache(
23011
23011
  t.instance.props?.dataBind,
23012
23012
  pe(ke).data,
23013
23013
  "department_id",
@@ -23901,7 +23901,7 @@ function uue(...t) {
23901
23901
  function due(t) {
23902
23902
  const e = je("context"), n = In(c(e)?.getRules(t.instance.id));
23903
23903
  let i = n;
23904
- const s = V(() => c(e)?.getState(t.instance.id)), o = rs(() => {
23904
+ const s = V(() => c(e)?.getState(t.instance.id)), o = as(() => {
23905
23905
  n.value = c(e)?.getRules(t.instance.id), i = n;
23906
23906
  });
23907
23907
  return Tg(o), _t("list-change", () => {
@@ -24842,7 +24842,7 @@ function bue(t) {
24842
24842
  y();
24843
24843
  });
24844
24844
  const l = z(), u = z(), d = je("lockmap"), { getState: p, children: h, getInstanceProps: g } = Ul(t.instance), f = () => {
24845
- const R = as(
24845
+ const R = Ji(
24846
24846
  "--layout-button-group-padding",
24847
24847
  "string"
24848
24848
  ).split(" ");
@@ -24858,7 +24858,7 @@ function bue(t) {
24858
24858
  }
24859
24859
  const A = f(), R = (c(u)?.width || 0) - A * 2, x = c(l)?.width || 0, k = c(u).querySelectorAll(
24860
24860
  ".ac-bar-button-item"
24861
- ), F = as("--layout-button-gap", "number");
24861
+ ), F = Ji("--layout-button-gap", "number");
24862
24862
  let U = 0;
24863
24863
  for (const H of k)
24864
24864
  U += H.width + F;
@@ -24940,12 +24940,12 @@ function Sue(t) {
24940
24940
  }
24941
24941
  function Qk(t) {
24942
24942
  const e = en(), n = z(
24943
- as("--layout-table-cell-height", "number")
24943
+ Ji("--layout-table-cell-height", "number")
24944
24944
  );
24945
24945
  return qe(
24946
24946
  () => e.state.byteluckLayoutChange,
24947
24947
  (i) => {
24948
- n.value = as(
24948
+ n.value = Ji(
24949
24949
  "--layout-table-cell-height",
24950
24950
  "number"
24951
24951
  ), c(t)?.forEachNode(function(s) {
@@ -32750,11 +32750,11 @@ const dCe = ["onClick"], pCe = {
32750
32750
  }
32751
32751
  let D = 1;
32752
32752
  if (Ra(T)) {
32753
- const A = as(
32753
+ const A = Ji(
32754
32754
  "--layout-common-font-size",
32755
32755
  "string",
32756
32756
  "14px"
32757
- ), R = as(
32757
+ ), R = Ji(
32758
32758
  "--ag-font-family",
32759
32759
  "string",
32760
32760
  "Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, STHeiti, SimHei, sans-serif"
@@ -32792,7 +32792,7 @@ const dCe = ["onClick"], pCe = {
32792
32792
  }
32793
32793
  let P = r.listTotal;
32794
32794
  g.value = P.slice(0, c(D)), f.value = P.slice(c(D));
32795
- }, S = V(() => !(c(o)?.inList(r.instance?.id) && ss(r.value) || c(o)?.externalParams?.formType === pr.LIST && (ss(r.listTotal) || r.listTotal == null)));
32795
+ }, S = V(() => !(c(o)?.inList(r.instance?.id) && os(r.value) || c(o)?.externalParams?.formType === pr.LIST && (os(r.listTotal) || r.listTotal == null)));
32796
32796
  na(() => {
32797
32797
  c(S) !== !1 && y(r.listTotal, r.width);
32798
32798
  }), qe(p, () => {
@@ -33579,7 +33579,7 @@ const NCe = /* @__PURE__ */ Ue(kCe, [["__scopeId", "data-v-34a7ba55"]]), FCe = {
33579
33579
  setup(t) {
33580
33580
  const e = je("context"), n = t, i = gt(), s = V(() => n.value || []), o = z(1), r = z(), a = z([]), l = V(() => a.value.slice(0, o.value)), u = V(() => a.value.slice(o.value)), d = (R) => {
33581
33581
  R && (o.value = R > 60 ? Math.floor((R - 30) / 30) : 1);
33582
- }, p = V(() => !(ss(n.value) || n.value == null));
33582
+ }, p = V(() => !(os(n.value) || n.value == null));
33583
33583
  qe(r, () => {
33584
33584
  if (c(p) === !1)
33585
33585
  return;
@@ -36753,7 +36753,7 @@ const ZTe = /* @__PURE__ */ Ue(QTe, [["__scopeId", "data-v-7785c88a"]]), XTe = /
36753
36753
  }, Symbol.toStringTag, { value: "Module" }));
36754
36754
  function JTe(t) {
36755
36755
  const e = z([]), n = je("context"), i = V(
36756
- () => is.getCacheDisplay(t.instance.props.dataBind, t.value)
36756
+ () => ss.getCacheDisplay(t.instance.props.dataBind, t.value)
36757
36757
  ), s = async (r = []) => {
36758
36758
  const a = Array.isArray(r) ? r : [r];
36759
36759
  if (!a.length)
@@ -37771,7 +37771,7 @@ const C_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
37771
37771
  };
37772
37772
  qe(s, async () => {
37773
37773
  new ResizeObserver(
37774
- rs(function(h) {
37774
+ as(function(h) {
37775
37775
  const g = h[0];
37776
37776
  u(g);
37777
37777
  }, 300)
@@ -37903,7 +37903,7 @@ function R1(t) {
37903
37903
  t.instance
37904
37904
  ), h = V(() => e?.value.multiple), g = V(() => e?.value.rangeOptions), f = V(() => e?.value.showType || "default"), m = (E) => {
37905
37905
  a(E), u();
37906
- }, v = en(), y = V(() => v.state.tenant.secrecy), S = V(() => v.state.tenant.person_format), C = V(() => is.getCacheDisplay(
37906
+ }, v = en(), y = V(() => v.state.tenant.secrecy), S = V(() => v.state.tenant.person_format), C = V(() => ss.getCacheDisplay(
37907
37907
  {
37908
37908
  ...e?.value.dataBind,
37909
37909
  fieldType: t.instance.fieldType
@@ -38320,7 +38320,7 @@ const z_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
38320
38320
  i.value ? r.value : r.value?.slice(0, 1),
38321
38321
  "employee_id"
38322
38322
  )), l = V(() => a.value?.slice(0, s.value) || []), u = V(() => a.value?.slice(s.value)), d = (f, m) => {
38323
- const v = as("--layout-common-font-size", "number"), y = 8, S = 20, C = 5, b = v * f.length, E = 10;
38323
+ const v = Ji("--layout-common-font-size", "number"), y = 8, S = 20, C = 5, b = v * f.length, E = 10;
38324
38324
  let T;
38325
38325
  return m ? T = b + E : T = b + S + C + y + E, T;
38326
38326
  }, p = (f) => {
@@ -38349,7 +38349,7 @@ const z_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
38349
38349
  };
38350
38350
  qe(o, async () => {
38351
38351
  new ResizeObserver(
38352
- rs(function(m) {
38352
+ as(function(m) {
38353
38353
  const y = m[0].contentRect;
38354
38354
  h(y?.width);
38355
38355
  }, 300)
@@ -43629,7 +43629,7 @@ class zF {
43629
43629
  });
43630
43630
  const i = e.instance.props;
43631
43631
  n.filter((o) => {
43632
- const r = i.optionConfig === "custom" ? i.options : is.getCacheDisplay(i.dataBind, o.option_ids).map((a, l) => ({
43632
+ const r = i.optionConfig === "custom" ? i.options : ss.getCacheDisplay(i.dataBind, o.option_ids).map((a, l) => ({
43633
43633
  value: o.option_ids[l],
43634
43634
  label: a,
43635
43635
  id: o.option_ids[l]
@@ -43716,7 +43716,7 @@ class zF {
43716
43716
  const s = this.behaviors.find(
43717
43717
  (o) => o.ctrl_id === e.id
43718
43718
  );
43719
- if (!(s && s.ctrl_behavior === ts.HIDDEN) && e.props.isHide !== n && (this.engine.setInstance(e, "isHide", n, i), document.activeElement)) {
43719
+ if (!(s && s.ctrl_behavior === ns.HIDDEN) && e.props.isHide !== n && (this.engine.setInstance(e, "isHide", n, i), document.activeElement)) {
43720
43720
  const o = document.activeElement;
43721
43721
  document.activeElement?.blur(), ii(() => {
43722
43722
  o.focus();
@@ -43877,32 +43877,32 @@ class WF {
43877
43877
  if (e.type === "operation-column") {
43878
43878
  const u = r.ctrl_id;
43879
43879
  let d = !1;
43880
- return l.includes(u) && r.ctrl_behavior === ts.HIDDEN ? d = !1 : d = !0, a[u] && this.engine.setInstance(e, `${a[u]}.isShow`, d), !1;
43880
+ return l.includes(u) && r.ctrl_behavior === ns.HIDDEN ? d = !1 : d = !0, a[u] && this.engine.setInstance(e, `${a[u]}.isShow`, d), !1;
43881
43881
  }
43882
43882
  if (e.type === "custom-column")
43883
43883
  for (let u = 0; u < e.children.length; u++)
43884
- return !!e.children[u].props.permissions.find((p) => r.ctrl_id == p.key && r.ctrl_behavior == ts.HIDDEN);
43884
+ return !!e.children[u].props.permissions.find((p) => r.ctrl_id == p.key && r.ctrl_behavior == ns.HIDDEN);
43885
43885
  });
43886
43886
  if (e.type === "operation-column" && e.children.forEach(
43887
43887
  (r) => {
43888
43888
  const a = this.behaviors.find(
43889
43889
  (l) => l.ctrl_id === r.id
43890
43890
  )?.ctrl_behavior;
43891
- a !== ts.NONE && (r.props.isHide = typeof a == "number" ? a !== ts.EDIT : !1);
43891
+ a !== ns.NONE && (r.props.isHide = typeof a == "number" ? a !== ns.EDIT : !1);
43892
43892
  }
43893
43893
  ), !!o) {
43894
- if (o.ctrl_behavior === ts.HIDDEN) {
43894
+ if (o.ctrl_behavior === ns.HIDDEN) {
43895
43895
  this.engine.setInstance(e, "isHide", !0);
43896
43896
  return;
43897
43897
  }
43898
- if (o.ctrl_behavior === ts.READONLY || o.ctrl_behavior === ts.READONLY_NOT_REQUIRED) {
43899
- if (e?.props?.defaultState && (o.ctrl_behavior === ts.READONLY && (e.processReadonly = !0), this.engine.setInstance(e, "defaultState", "readonly")), o.ctrl_behavior === ts.READONLY_NOT_REQUIRED && e?.props?.required && this.engine.setInstance(e, "required", !1), this.hasDisplayConfig(e))
43898
+ if (o.ctrl_behavior === ns.READONLY || o.ctrl_behavior === ns.READONLY_NOT_REQUIRED) {
43899
+ if (e?.props?.defaultState && (o.ctrl_behavior === ns.READONLY && (e.processReadonly = !0), this.engine.setInstance(e, "defaultState", "readonly")), o.ctrl_behavior === ns.READONLY_NOT_REQUIRED && e?.props?.required && this.engine.setInstance(e, "required", !1), this.hasDisplayConfig(e))
43900
43900
  return;
43901
43901
  this.engine.setInstance(e, "isHide", !1);
43902
43902
  return;
43903
43903
  }
43904
- if (o.ctrl_behavior === ts.EDIT || o.ctrl_behavior === ts.EDIT_NOT_REQUIRED || o.ctrl_behavior === ts.EDIT_REQUIRE) {
43905
- if (e?.props?.defaultState && this.engine.setInstance(e, "defaultState", "default"), o.ctrl_behavior === ts.EDIT_NOT_REQUIRED && e?.props?.required && this.engine.setInstance(e, "required", !1), o.ctrl_behavior === ts.EDIT_REQUIRE && !e?.props?.required && this.engine.setInstance(e, "required", !0), this.hasDisplayConfig(e))
43904
+ if (o.ctrl_behavior === ns.EDIT || o.ctrl_behavior === ns.EDIT_NOT_REQUIRED || o.ctrl_behavior === ns.EDIT_REQUIRE) {
43905
+ if (e?.props?.defaultState && this.engine.setInstance(e, "defaultState", "default"), o.ctrl_behavior === ns.EDIT_NOT_REQUIRED && e?.props?.required && this.engine.setInstance(e, "required", !1), o.ctrl_behavior === ns.EDIT_REQUIRE && !e?.props?.required && this.engine.setInstance(e, "required", !0), this.hasDisplayConfig(e))
43906
43906
  return;
43907
43907
  this.engine.setInstance(e, "isHide", !1);
43908
43908
  }
@@ -44611,7 +44611,7 @@ class YF {
44611
44611
  );
44612
44612
  let o;
44613
44613
  const r = V(
44614
- () => is.getCacheDisplay(e.props?.dataBind, s)
44614
+ () => ss.getCacheDisplay(e.props?.dataBind, s)
44615
44615
  );
44616
44616
  if (r.value.length > 0)
44617
44617
  return o = r.value, o;
@@ -44624,7 +44624,7 @@ class YF {
44624
44624
  dic_map: e,
44625
44625
  display_map: n
44626
44626
  }) {
44627
- is.batchSetMapCache({
44627
+ ss.batchSetMapCache({
44628
44628
  dic_map: e,
44629
44629
  display_map: n
44630
44630
  });
@@ -45964,7 +45964,7 @@ async function SOe(t) {
45964
45964
  di.IMAGE,
45965
45965
  di.ARRAY
45966
45966
  ].includes(R?.fieldType), k = P[D][A]?.value ?? P[D][A];
45967
- return x && !hs(k) ? ss(k) ? [] : k?.split(",") : k;
45967
+ return x && !hs(k) ? os(k) ? [] : k?.split(",") : k;
45968
45968
  };
45969
45969
  try {
45970
45970
  h.element_id = t.instance?.id, h.element_name = t.instance?.props?.caption;
@@ -47324,7 +47324,7 @@ class nV {
47324
47324
  if (e.rowIndex === -1)
47325
47325
  return [];
47326
47326
  const a = Ti(e.value) ? e.value?.trim() : e.value;
47327
- if ((ss(a) || a == null) && (this.engine.assertInstance(i, q.EMPLOYEE2) || this.engine.assertInstance(i, q.EMPLOYEE)))
47327
+ if ((os(a) || a == null) && (this.engine.assertInstance(i, q.EMPLOYEE2) || this.engine.assertInstance(i, q.EMPLOYEE)))
47328
47328
  return;
47329
47329
  const l = i.id, u = i.props?.datasourceBind;
47330
47330
  if (!u)
@@ -47636,7 +47636,7 @@ class iV {
47636
47636
  value: this.engine.getState(r.id, a),
47637
47637
  options: {
47638
47638
  params: {
47639
- isFilter: !ss(this.engine.getState(r.id, a))
47639
+ isFilter: !os(this.engine.getState(r.id, a))
47640
47640
  }
47641
47641
  }
47642
47642
  });
@@ -47690,9 +47690,9 @@ class iV {
47690
47690
  a(n[0], r, s);
47691
47691
  }
47692
47692
  } else
47693
- this.engine.assertInstance(e, q.SELECT_RELATION) ? n?.[0] && !ss(o) && ((n?.[0]?.field_value_list?.filter(
47693
+ this.engine.assertInstance(e, q.SELECT_RELATION) ? n?.[0] && !os(o) && ((n?.[0]?.field_value_list?.filter(
47694
47694
  (a) => o.includes(a.value)
47695
- )).length || (s = Array.isArray(o) ? [] : "")) : n?.[0]?.length && !ss(o) && ((n?.[0]?.filter(
47695
+ )).length || (s = Array.isArray(o) ? [] : "")) : n?.[0]?.length && !os(o) && ((n?.[0]?.filter(
47696
47696
  (a) => o.includes(a.value)
47697
47697
  )).length || (s = Array.isArray(o) ? [] : ""));
47698
47698
  s !== void 0 && o?.length !== 0 && e.controlType === "form" && this.engine.setState(e.id, s, i);
@@ -48714,7 +48714,7 @@ class cV {
48714
48714
  }
48715
48715
  // 格式化事件数据,eg. sLvHxjkRTN: {on_blur: ControlsEvent}
48716
48716
  formatConfig(e) {
48717
- return ss(e) ? {} : BW(
48717
+ return os(e) ? {} : BW(
48718
48718
  e,
48719
48719
  (n) => Ks(n, "eventKey")
48720
48720
  );
@@ -53431,24 +53431,28 @@ const XAe = /* @__PURE__ */ Ue(ZAe, [["__scopeId", "data-v-ab7f5824"]]), JAe = /
53431
53431
  }, e0e),
53432
53432
  setup(t) {
53433
53433
  const n = Hl(t.instance), i = c(n).some(
53434
- (s) => s?.children?.[0]?.props?.labelPosition === "top"
53434
+ (o) => o?.children?.[0]?.props?.labelPosition === "top"
53435
+ ), s = z(
53436
+ Ji("--layout-rok-grid-padding", "number") * 2
53435
53437
  );
53436
- return (s, o) => s.isStatic ? (O(), ae(ct("rok-row"), {
53438
+ return (o, r) => o.isStatic ? (O(), ae(ct("rok-row"), {
53437
53439
  key: 1,
53438
53440
  "is-static": !0,
53439
53441
  class: Oe(["rok-grid-row", { "row-have-vertical": c(i) }]),
53440
- instance: s.instance,
53441
- name: s.instance.id
53442
+ instance: o.instance,
53443
+ name: o.instance.id
53442
53444
  }, {
53443
53445
  default: re(() => [
53444
- on(s.$slots, "default")
53446
+ on(o.$slots, "default", {
53447
+ gutter: s.value || 32
53448
+ })
53445
53449
  ]),
53446
53450
  _: 3
53447
53451
  }, 8, ["class", "instance", "name"])) : (O(), ae(ct("rok-row"), {
53448
53452
  key: 0,
53449
53453
  class: Oe(["rok-grid-row", { "row-have-vertical": c(i) }]),
53450
- instance: s.instance,
53451
- name: s.instance.id
53454
+ instance: o.instance,
53455
+ name: o.instance.id
53452
53456
  }, null, 8, ["class", "instance", "name"]));
53453
53457
  }
53454
53458
  });
@@ -54377,7 +54381,7 @@ function m0e(t, {
54377
54381
  }, e("onGetList", c(y));
54378
54382
  }, _ = () => {
54379
54383
  y.value = {};
54380
- }, D = rs(
54384
+ }, D = as(
54381
54385
  () => We.warning(L("LRT.message.leastOne")),
54382
54386
  300
54383
54387
  ), P = (Te, ge = 0) => {
@@ -54611,7 +54615,7 @@ function m0e(t, {
54611
54615
  ).closeIframe()) : (m.value = !0, c(r)?.off("custom:iframeData", {}));
54612
54616
  }, ue = z(null), fe = (Te) => t.control?.props.showType === "shrink" ? ue.value ?? document.body : Te.parentNode, { children: Se, getInstanceProps: pe } = Ul(t.instance), De = V(
54613
54617
  () => c(Se).every((Te) => Te.props.isHide)
54614
- ), be = as("--layout-button-gap", "number"), $e = V(() => {
54618
+ ), be = Ji("--layout-button-gap", "number"), $e = V(() => {
54615
54619
  const Te = t.state?.data?.content?.model_bind_info_list;
54616
54620
  let ge;
54617
54621
  return Array.isArray(Te) && (ge = Te.find((we) => we.type === "list-view")), ge.datasource_bind.svc_code.includes("_selectMoreTurbo");
@@ -55206,7 +55210,7 @@ function S0e(t) {
55206
55210
  valueGetter: (Be) => {
55207
55211
  const ze = Be.data?.[Be.colDef.field];
55208
55212
  return Be.data?.uid === c(u)?.rawStore.srpk ? ze === "bt_custom_statistical_uid" ? null : ze : Be.data?.rowSpanFields?.curRowIndex != null && Be.data?.rowSpanFields?.curRowIndex !== 0 && // params.colDef!.field!.indexOf('$') < 0
55209
- !vc(Be) ? null : ss(ze) || ze === void 0 || ZL(ze) || Ad(typeof ze) === "object" && !Object.keys(ze).length ? [
55213
+ !vc(Be) ? null : os(ze) || ze === void 0 || ZL(ze) || Ad(typeof ze) === "object" && !Object.keys(ze).length ? [
55210
55214
  q.OPERATION_COLUMN,
55211
55215
  q.CUSTOM_COLUMN,
55212
55216
  q.VUE_FORM_ITEM
@@ -55815,7 +55819,7 @@ var zI = Object.defineProperty, P0e = Object.defineProperties, I0e = Object.getO
55815
55819
  for (var i of Py(t))
55816
55820
  e.indexOf(i) < 0 && WV.call(t, i) && (n[i] = t[i]);
55817
55821
  return n;
55818
- }, Ji = (t, e) => {
55822
+ }, es = (t, e) => {
55819
55823
  for (var n in e)
55820
55824
  zI(t, n, { get: e[n], enumerable: !0 });
55821
55825
  }, M = (t, e, n, i) => {
@@ -55823,7 +55827,7 @@ var zI = Object.defineProperty, P0e = Object.defineProperties, I0e = Object.getO
55823
55827
  (r = t[o]) && (s = (i ? r(e, n, s) : r(s)) || s);
55824
55828
  return i && s && zI(e, n, s), s;
55825
55829
  }, gr = (t, e) => (n, i) => e(n, i, t), $V = {};
55826
- Ji($V, {
55830
+ es($V, {
55827
55831
  attrToBoolean: () => Iy,
55828
55832
  attrToNumber: () => El,
55829
55833
  attrToString: () => R0e,
@@ -55918,7 +55922,7 @@ var M0e = class {
55918
55922
  }
55919
55923
  }
55920
55924
  }, qV = {};
55921
- Ji(qV, {
55925
+ es(qV, {
55922
55926
  cloneObject: () => WI,
55923
55927
  deepCloneDefinition: () => Dy,
55924
55928
  getAllValuesInObject: () => Al,
@@ -56009,7 +56013,7 @@ function Oy(t) {
56009
56013
  return typeof t == "object" && t !== null;
56010
56014
  }
56011
56015
  var KV = {};
56012
- Ji(KV, {
56016
+ es(KV, {
56013
56017
  compose: () => L0e,
56014
56018
  debounce: () => Ms,
56015
56019
  doOnce: () => xc,
@@ -57127,7 +57131,7 @@ var xn = ow, V0e = {
57127
57131
  cellClass: "ag-right-aligned-cell"
57128
57132
  }
57129
57133
  }, tG = {};
57130
- Ji(tG, {
57134
+ es(tG, {
57131
57135
  addSafePassiveEventListener: () => dG,
57132
57136
  createEventPath: () => cG,
57133
57137
  getCtrlForEventTarget: () => Ry,
@@ -57138,7 +57142,7 @@ Ji(tG, {
57138
57142
  stopPropagationForAgGrid: () => Sr
57139
57143
  });
57140
57144
  var nG = {};
57141
- Ji(nG, {
57145
+ es(nG, {
57142
57146
  areEqual: () => qr,
57143
57147
  existsAndNotEmpty: () => iG,
57144
57148
  flatten: () => aG,
@@ -58010,7 +58014,7 @@ Yf = M([
58010
58014
  Ye("autoGroupColService")
58011
58015
  ], Yf);
58012
58016
  var hG = {};
58013
- Ji(hG, {
58017
+ es(hG, {
58014
58018
  camelCaseToHumanText: () => fG,
58015
58019
  camelCaseToHyphenated: () => gG,
58016
58020
  capitalise: () => Y0e,
@@ -58078,7 +58082,7 @@ function gG(t) {
58078
58082
  return t.replace(/[A-Z]/g, (e) => `-${e.toLocaleLowerCase()}`);
58079
58083
  }
58080
58084
  var mG = {};
58081
- Ji(mG, {
58085
+ es(mG, {
58082
58086
  convertToMap: () => dl,
58083
58087
  keys: () => Q0e,
58084
58088
  mapById: () => K0e
@@ -60801,7 +60805,7 @@ uE = M([
60801
60805
  Ye("agStackComponentsRegistry")
60802
60806
  ], uE);
60803
60807
  var yG = {};
60804
- Ji(yG, {
60808
+ es(yG, {
60805
60809
  getAriaCheckboxStateName: () => cw,
60806
60810
  getAriaLabel: () => SG,
60807
60811
  getAriaLevel: () => X0e,
@@ -60941,7 +60945,7 @@ function cw(t, e) {
60941
60945
  return e === void 0 ? t("ariaIndeterminate", "indeterminate") : e === !0 ? t("ariaChecked", "checked") : t("ariaUnchecked", "unchecked");
60942
60946
  }
60943
60947
  var LG = {};
60944
- Ji(LG, {
60948
+ es(LG, {
60945
60949
  browserSupportsPreventScroll: () => rD,
60946
60950
  getBodyHeight: () => NG,
60947
60951
  getBodyWidth: () => kG,
@@ -61029,13 +61033,13 @@ function aD() {
61029
61033
  return dE == null && VG(), dE;
61030
61034
  }
61031
61035
  var GG = {};
61032
- Ji(GG, {
61036
+ es(GG, {
61033
61037
  dateToFormattedString: () => Td,
61034
61038
  parseDateTimeFromString: () => Ws,
61035
61039
  serialiseDate: () => Uo
61036
61040
  });
61037
61041
  var BG = {};
61038
- Ji(BG, {
61042
+ es(BG, {
61039
61043
  cleanNumber: () => tMe,
61040
61044
  createArrayOfNumbers: () => HG,
61041
61045
  decToHex: () => nMe,
@@ -61150,7 +61154,7 @@ function Ws(t) {
61150
61154
  return l >= 0 && l < 24 && a.setHours(l), u >= 0 && u < 60 && a.setMinutes(u), d >= 0 && d < 60 && a.setSeconds(d), a;
61151
61155
  }
61152
61156
  var UG = {};
61153
- Ji(UG, {
61157
+ es(UG, {
61154
61158
  FOCUSABLE_EXCLUDE: () => cD,
61155
61159
  FOCUSABLE_SELECTOR: () => jG,
61156
61160
  addOrRemoveAttribute: () => ea,
@@ -61397,7 +61401,7 @@ function yD(t, e) {
61397
61401
  });
61398
61402
  }
61399
61403
  var QG = {};
61400
- Ji(QG, {
61404
+ es(QG, {
61401
61405
  fuzzyCheckStrings: () => ZG,
61402
61406
  fuzzySuggestions: () => $g
61403
61407
  });
@@ -61436,7 +61440,7 @@ function rMe(t, e) {
61436
61440
  return s;
61437
61441
  }
61438
61442
  var XG = {};
61439
- Ji(XG, {
61443
+ es(XG, {
61440
61444
  createIcon: () => No,
61441
61445
  createIconNoSpan: () => $n,
61442
61446
  iconNameClassMap: () => JG
@@ -61619,7 +61623,7 @@ function $n(t, e, n, i) {
61619
61623
  }
61620
61624
  }
61621
61625
  var eB = {};
61622
- Ji(eB, {
61626
+ es(eB, {
61623
61627
  isDeleteKey: () => iB,
61624
61628
  isEventFromPrintableCharacter: () => pw,
61625
61629
  isUserSuppressingHeaderKeyboardEvent: () => tB,
@@ -61711,7 +61715,7 @@ function iB(t, e = !1) {
61711
61715
  return t === ye.DELETE ? !0 : !e && t === ye.BACKSPACE ? oD() : !1;
61712
61716
  }
61713
61717
  var sB = {};
61714
- Ji(sB, {
61718
+ es(sB, {
61715
61719
  areEventsNear: () => CD
61716
61720
  });
61717
61721
  function CD(t, e, n) {
@@ -61721,7 +61725,7 @@ function CD(t, e, n) {
61721
61725
  return Math.max(i, s) <= n;
61722
61726
  }
61723
61727
  var oB = {};
61724
- Ji(oB, {
61728
+ es(oB, {
61725
61729
  sortRowNodesByOrder: () => hMe
61726
61730
  });
61727
61731
  function hMe(t, e) {
@@ -61740,7 +61744,7 @@ function hMe(t, e) {
61740
61744
  return o ? (t.sort(n), !0) : !1;
61741
61745
  }
61742
61746
  var rB = {};
61743
- Ji(rB, {
61747
+ es(rB, {
61744
61748
  convertToSet: () => wD
61745
61749
  });
61746
61750
  function wD(t) {
@@ -96388,7 +96392,7 @@ const NNe = /* @__PURE__ */ Ue(kNe, [["__scopeId", "data-v-4cb9ae97"]]), FNe = /
96388
96392
  setup(t) {
96389
96393
  const e = t, n = gt(), i = V(() => e.value || []), s = z(1), o = z(), r = z([]), a = V(() => r.value.slice(0, s.value)), l = V(() => r.value.slice(s.value)), u = (C) => {
96390
96394
  C && (s.value = C > 60 ? Math.floor((C - 30) / 30) : 1);
96391
- }, d = V(() => !(ss(e.value) || e.value == null));
96395
+ }, d = V(() => !(os(e.value) || e.value == null));
96392
96396
  qe(o, () => {
96393
96397
  if (c(d) === !1)
96394
96398
  return;
@@ -96706,7 +96710,7 @@ const f1e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
96706
96710
  const m = (y) => {
96707
96711
  if (y.fileLists.every((C) => C.response)) {
96708
96712
  const C = y.fileLists.map((b) => b.response.data[0]);
96709
- is.updateDisplayCache(
96713
+ ss.updateDisplayCache(
96710
96714
  n.instance.props.dataBind,
96711
96715
  C,
96712
96716
  "file_id"
@@ -96878,7 +96882,7 @@ const E1e = /* @__PURE__ */ Ue(_1e, [["__scopeId", "data-v-70c002e6"]]), P1e = (
96878
96882
  instanceProps: y,
96879
96883
  data: S
96880
96884
  } = ZD(e), C = V(
96881
- () => is.getCacheDisplay(e.instance.props.dataBind, e.value)
96885
+ () => ss.getCacheDisplay(e.instance.props.dataBind, e.value)
96882
96886
  ), b = z(null), E = z(), T = (P) => {
96883
96887
  E.value = [...P];
96884
96888
  }, _ = (P) => {
@@ -98064,7 +98068,7 @@ function YFe(t, e, n, i, s) {
98064
98068
  return !1;
98065
98069
  const g = [];
98066
98070
  return t.children.filter(
98067
- (f) => !(ss(n.value?.[f.id]) || Ki(n.value?.[f.id]) && n.value?.[f.id].toString() === ",")
98071
+ (f) => !(os(n.value?.[f.id]) || Ki(n.value?.[f.id]) && n.value?.[f.id].toString() === ",")
98068
98072
  )?.forEach((f) => {
98069
98073
  const m = qFe(n.value?.[f.id]);
98070
98074
  if (m || m === 0)
@@ -98209,7 +98213,7 @@ function XH(t) {
98209
98213
  g += d, g <= a && h++, g += p;
98210
98214
  return h;
98211
98215
  }, i = () => {
98212
- const r = (as(
98216
+ const r = (Ji(
98213
98217
  "--layout-rok-form-item-label-padding",
98214
98218
  "string"
98215
98219
  ) || "").split(" ");
@@ -98217,7 +98221,7 @@ function XH(t) {
98217
98221
  }, s = () => {
98218
98222
  if (!t.searchRef.value)
98219
98223
  return;
98220
- const o = t.props.instance, r = o.props.labelPosition, a = o.children.length + 1, l = as(
98224
+ const o = t.props.instance, r = o.props.labelPosition, a = o.children.length + 1, l = Ji(
98221
98225
  "--layout-rok-form-item-margin-bottom",
98222
98226
  "number"
98223
98227
  ), u = 20, d = i(), p = 32, h = 12, g = 8, f = n(h, g);
@@ -98290,7 +98294,7 @@ const QFe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
98290
98294
  }), _t("custom:update-search-list", () => {
98291
98295
  T();
98292
98296
  });
98293
- const T = rs(async () => {
98297
+ const T = as(async () => {
98294
98298
  let U = await f.handleFormData();
98295
98299
  await f.handleSubmit(), await s?.value.emit("custom:fold-change", U), t.clearSelectedRows === !0 && c(s)?.setState(t.tableId, {});
98296
98300
  }, 100), _ = async () => {
@@ -98341,7 +98345,7 @@ const QFe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
98341
98345
  x[t.instanceProps.value.viewType] ? (U = x[t.instanceProps.value.viewType], p(U)) : ii(() => {
98342
98346
  U = c(r)?.offsetHeight ? c(r).offsetHeight + (t.instance.children?.length > l.value ? 1 : 16) : 0, x[t.instanceProps.value.viewType] = U, p(U);
98343
98347
  });
98344
- }, F = rs(async () => {
98348
+ }, F = as(async () => {
98345
98349
  const U = await f.handleFormData();
98346
98350
  c(s)?.emit("custom:save-view", U);
98347
98351
  }, 500);
@@ -99240,7 +99244,7 @@ var MVe = ["evt"], Hs = function(e, n) {
99240
99244
  cloneEl: ui,
99241
99245
  cloneHidden: pl,
99242
99246
  dragStarted: Hh,
99243
- putSortable: es,
99247
+ putSortable: ts,
99244
99248
  activeSortable: At.active,
99245
99249
  originalEvent: s,
99246
99250
  oldIndex: gd,
@@ -99266,7 +99270,7 @@ var MVe = ["evt"], Hs = function(e, n) {
99266
99270
  };
99267
99271
  function Ds(t) {
99268
99272
  AVe(ua({
99269
- putSortable: es,
99273
+ putSortable: ts,
99270
99274
  cloneEl: ui,
99271
99275
  targetEl: tt,
99272
99276
  rootEl: Zn,
@@ -99276,7 +99280,7 @@ function Ds(t) {
99276
99280
  newDraggableIndex: cl
99277
99281
  }, t));
99278
99282
  }
99279
- var tt, ci, Gt, Zn, mc, Qv, ui, pl, gd, fo, pf, cl, sv, es, ad = !1, Jy = !1, eC = [], ac, rr, qS, YS, SL, TL, Hh, Qu, hf, ff = !1, ov = !1, Zv, ps, KS = [], kE = !1, tC = [], Vw = typeof document < "u", rv = e2, _L = um || el ? "cssFloat" : "float", LVe = Vw && !TVe && !e2 && "draggable" in document.createElement("div"), r2 = function() {
99283
+ var tt, ci, Gt, Zn, mc, Qv, ui, pl, gd, fo, pf, cl, sv, ts, ad = !1, Jy = !1, eC = [], ac, rr, qS, YS, SL, TL, Hh, Qu, hf, ff = !1, ov = !1, Zv, ps, KS = [], kE = !1, tC = [], Vw = typeof document < "u", rv = e2, _L = um || el ? "cssFloat" : "float", LVe = Vw && !TVe && !e2 && "draggable" in document.createElement("div"), r2 = function() {
99280
99284
  if (Vw) {
99281
99285
  if (el)
99282
99286
  return !1;
@@ -99595,7 +99599,7 @@ At.prototype = /** @lends Sortable.prototype */
99595
99599
  },
99596
99600
  // Returns true - if no further action is needed (either inserted or another condition)
99597
99601
  _onDragOver: function(e) {
99598
- var n = this.el, i = e.target, s, o, r, a = this.options, l = a.group, u = At.active, d = sv === l, p = a.sort, h = es || u, g, f = this, m = !1;
99602
+ var n = this.el, i = e.target, s, o, r, a = this.options, l = a.group, u = At.active, d = sv === l, p = a.sort, h = ts || u, g, f = this, m = !1;
99599
99603
  if (kE)
99600
99604
  return;
99601
99605
  function v(N, ie) {
@@ -99622,7 +99626,7 @@ At.prototype = /** @lends Sortable.prototype */
99622
99626
  function S(N) {
99623
99627
  return v("dragOverCompleted", {
99624
99628
  insertion: N
99625
- }), N && (d ? u._hideClone() : u._showClone(f), f !== h && (ho(tt, es ? es.options.ghostClass : u.options.ghostClass, !1), ho(tt, a.ghostClass, !0)), es !== f && f !== At.active ? es = f : f === At.active && es && (es = null), h === f && (f._ignoreWhileAnimating = i), f.animateAll(function() {
99629
+ }), N && (d ? u._hideClone() : u._showClone(f), f !== h && (ho(tt, ts ? ts.options.ghostClass : u.options.ghostClass, !1), ho(tt, a.ghostClass, !0)), ts !== f && f !== At.active ? ts = f : f === At.active && ts && (ts = null), h === f && (f._ignoreWhileAnimating = i), f.animateAll(function() {
99626
99630
  v("dragOverAnimationComplete"), f._ignoreWhileAnimating = null;
99627
99631
  }), f !== h && (h.animateAll(), h._ignoreWhileAnimating = null)), (i === tt && !tt.animated || i === n && !i.animated) && (Qu = null), !a.dragoverBubble && !e.rootEl && i !== document && (tt.parentNode[wo]._isOutsideThisEl(e.target), !N && lc(e)), !a.dragoverBubble && e.stopPropagation && e.stopPropagation(), m = !0;
99628
99632
  }
@@ -99640,7 +99644,7 @@ At.prototype = /** @lends Sortable.prototype */
99640
99644
  return m;
99641
99645
  if (tt.contains(e.target) || i.animated && i.animatingX && i.animatingY || f._ignoreWhileAnimating === i)
99642
99646
  return S(!1);
99643
- if (Jy = !1, u && !a.disabled && (d ? p || (r = ci !== Zn) : es === this || (this.lastPutMode = sv.checkPull(this, u, tt, e)) && l.checkPut(this, u, tt, e))) {
99647
+ if (Jy = !1, u && !a.disabled && (d ? p || (r = ci !== Zn) : ts === this || (this.lastPutMode = sv.checkPull(this, u, tt, e)) && l.checkPut(this, u, tt, e))) {
99644
99648
  if (g = this._getDirection(e, i) === "vertical", s = Hi(tt), v("dragOverValid"), At.eventCanceled)
99645
99649
  return m;
99646
99650
  if (r)
@@ -99698,7 +99702,7 @@ At.prototype = /** @lends Sortable.prototype */
99698
99702
  this._nulling();
99699
99703
  return;
99700
99704
  }
99701
- ad = !1, ov = !1, ff = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), NE(this.cloneId), NE(this._dragStartId), this.nativeDraggable && (gn(document, "drop", this), gn(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), uf && Rt(document.body, "user-select", ""), Rt(tt, "transform", ""), e && (Hh && (e.cancelable && e.preventDefault(), !i.dropBubble && e.stopPropagation()), Gt && Gt.parentNode && Gt.parentNode.removeChild(Gt), (Zn === ci || es && es.lastPutMode !== "clone") && ui && ui.parentNode && ui.parentNode.removeChild(ui), tt && (this.nativeDraggable && gn(tt, "dragend", this), QS(tt), tt.style["will-change"] = "", Hh && !ad && ho(tt, es ? es.options.ghostClass : this.options.ghostClass, !1), ho(tt, this.options.chosenClass, !1), Ds({
99705
+ ad = !1, ov = !1, ff = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), NE(this.cloneId), NE(this._dragStartId), this.nativeDraggable && (gn(document, "drop", this), gn(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), uf && Rt(document.body, "user-select", ""), Rt(tt, "transform", ""), e && (Hh && (e.cancelable && e.preventDefault(), !i.dropBubble && e.stopPropagation()), Gt && Gt.parentNode && Gt.parentNode.removeChild(Gt), (Zn === ci || ts && ts.lastPutMode !== "clone") && ui && ui.parentNode && ui.parentNode.removeChild(ui), tt && (this.nativeDraggable && gn(tt, "dragend", this), QS(tt), tt.style["will-change"] = "", Hh && !ad && ho(tt, ts ? ts.options.ghostClass : this.options.ghostClass, !1), ho(tt, this.options.chosenClass, !1), Ds({
99702
99706
  sortable: this,
99703
99707
  name: "unchoose",
99704
99708
  toEl: ci,
@@ -99727,7 +99731,7 @@ At.prototype = /** @lends Sortable.prototype */
99727
99731
  name: "sort",
99728
99732
  toEl: ci,
99729
99733
  originalEvent: e
99730
- })), es && es.save()) : fo !== gd && fo >= 0 && (Ds({
99734
+ })), ts && ts.save()) : fo !== gd && fo >= 0 && (Ds({
99731
99735
  sortable: this,
99732
99736
  name: "update",
99733
99737
  toEl: ci,
@@ -99745,7 +99749,7 @@ At.prototype = /** @lends Sortable.prototype */
99745
99749
  }), this.save()))), this._nulling();
99746
99750
  },
99747
99751
  _nulling: function() {
99748
- Hs("nulling", this), Zn = tt = ci = Gt = mc = ui = Qv = pl = ac = rr = Hh = fo = cl = gd = pf = Qu = hf = es = sv = At.dragged = At.ghost = At.clone = At.active = null, tC.forEach(function(e) {
99752
+ Hs("nulling", this), Zn = tt = ci = Gt = mc = ui = Qv = pl = ac = rr = Hh = fo = cl = gd = pf = Qu = hf = ts = sv = At.dragged = At.ghost = At.clone = At.active = null, tC.forEach(function(e) {
99749
99753
  e.checked = !0;
99750
99754
  }), tC.length = qS = YS = 0;
99751
99755
  },
@@ -101345,7 +101349,7 @@ const VGe = /* @__PURE__ */ Ue(NGe, [["render", FGe]]), GGe = Ce({
101345
101349
  return h || g;
101346
101350
  }), a = (d) => {
101347
101351
  e("setRightValue", r.value ? d : [d]);
101348
- }, l = () => document.body, u = rs((d) => {
101352
+ }, l = () => document.body, u = as((d) => {
101349
101353
  o(d);
101350
101354
  }, 200);
101351
101355
  return Cn(async () => {
@@ -103747,7 +103751,7 @@ const ZHe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
103747
103751
  function XHe(t, e, n) {
103748
103752
  const i = je("context"), s = en(), o = pu(c(i)), r = z(), a = n?.data_value_map?.[o], l = ls(), u = yn();
103749
103753
  je("formVisible");
103750
- const d = z({ loading: !1 }), p = z(!1), { getActionsPayload: h } = IC(t), g = gt(), { getLoading: f, setLoading: m } = Cs(d), { getLoading: v, setLoading: y } = Cs(d), S = rs(
103754
+ const d = z({ loading: !1 }), p = z(!1), { getActionsPayload: h } = IC(t), g = gt(), { getLoading: f, setLoading: m } = Cs(d), { getLoading: v, setLoading: y } = Cs(d), S = as(
103751
103755
  (j, N) => {
103752
103756
  p.value = !1, N.props.needConfirm ? Fn.confirm({
103753
103757
  // appContext: vueInstance,
@@ -104599,7 +104603,7 @@ const D2e = /* @__PURE__ */ Ue(I2e, [["__scopeId", "data-v-f5108c4b"]]), O2e = /
104599
104603
  }, Symbol.toStringTag, { value: "Module" })), R2e = {
104600
104604
  name: "rok-reference-list"
104601
104605
  }, A2e = (t) => {
104602
- const e = je("context"), n = as(
104606
+ const e = je("context"), n = Ji(
104603
104607
  "--layout-table-cell-height",
104604
104608
  "number"
104605
104609
  ), i = Ot(t), s = z(!1), o = z(0), { state: r, hasPermission: a } = ck(
@@ -104640,7 +104644,7 @@ const D2e = /* @__PURE__ */ Ue(I2e, [["__scopeId", "data-v-f5108c4b"]]), O2e = /
104640
104644
  ), await Zne(f), await c(e)?.emit("engine-children-mounted", {
104641
104645
  value: f
104642
104646
  });
104643
- const S = rs(async (C) => {
104647
+ const S = as(async (C) => {
104644
104648
  await c(e)?.emit?.("list-rowclick", {
104645
104649
  instance: t.instance,
104646
104650
  value: C
@@ -105593,7 +105597,7 @@ const HUe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
105593
105597
  const e = t, n = en();
105594
105598
  cs();
105595
105599
  const i = Hl(e.instance), s = z(
105596
- as("--layout-rok-grid-padding", "number") * 2
105600
+ Ji("--layout-rok-grid-padding", "number") * 2
105597
105601
  ), o = V(() => {
105598
105602
  let r = !1;
105599
105603
  for (let l of i.value)
@@ -105611,17 +105615,14 @@ const HUe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
105611
105615
  return qe(
105612
105616
  () => n.state.byteluckLayoutChange,
105613
105617
  (r) => {
105614
- s.value = as("--layout-rok-grid-row-gutter", "number") * 2;
105618
+ s.value = Ji("--layout-rok-grid-row-gutter", "number") * 2;
105615
105619
  }
105616
105620
  ), (r, a) => r.isHide ? me("", !0) : (O(), Y("div", {
105617
105621
  key: 0,
105618
105622
  class: "rok-row a1",
105619
105623
  style: Bt(o.value)
105620
105624
  }, [
105621
- r.isStatic ? on(r.$slots, "default", {
105622
- key: 1,
105623
- gutter: 32
105624
- }, void 0, !0) : (O(), Y(Ae, { key: 0 }, [
105625
+ r.isStatic ? on(r.$slots, "default", { key: 1 }, void 0, !0) : (O(), Y(Ae, { key: 0 }, [
105625
105626
  (O(!0), Y(Ae, null, Xe(c(i), (l) => (O(), ae(ct(`rok-${l.type}`), Nt({
105626
105627
  key: l.id,
105627
105628
  instance: l,
@@ -105635,7 +105636,7 @@ const HUe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
105635
105636
  ], 4));
105636
105637
  }
105637
105638
  });
105638
- const WUe = /* @__PURE__ */ Ue(zUe, [["__scopeId", "data-v-d2f02193"]]), $Ue = {
105639
+ const WUe = /* @__PURE__ */ Ue(zUe, [["__scopeId", "data-v-7fb34aaf"]]), $Ue = {
105639
105640
  gutter: 0
105640
105641
  }, qUe = {
105641
105642
  name: "RokCol"
@@ -108838,7 +108839,7 @@ const zje = (t) => (Bn("data-v-20900723"), t = t(), Hn(), t), Wje = { class: "gl
108838
108839
  ), x = z([]), k = (ne = !1) => {
108839
108840
  (!!!c(D)?.getElementsByClassName?.("ant-select-open").length || ne || ys(e.rowIndex)) && (a(c(x)), v());
108840
108841
  }, F = (ne, J) => {
108841
- is.updateDisplayCache(
108842
+ ss.updateDisplayCache(
108842
108843
  c(y).dataBind,
108843
108844
  J,
108844
108845
  "value",
@@ -109164,7 +109165,7 @@ function sze(t) {
109164
109165
  }
109165
109166
  } else
109166
109167
  return "";
109167
- }), b = z(!1), E = rs(
109168
+ }), b = z(!1), E = as(
109168
109169
  async (U, H = !1) => {
109169
109170
  b.value = !0;
109170
109171
  const j = async (N) => {
@@ -110340,7 +110341,7 @@ function tWe(t, e) {
110340
110341
  ), h = V(() => t.isPrintMode || p.value ? "autoHeight" : void 0), g = V(
110341
110342
  () => t.instance?.props.useCustomHeight && !t.isPrintMode ? t.instance?.props.maxHeight + "px" : void 0
110342
110343
  ), f = V(() => {
110343
- const ie = as(
110344
+ const ie = Ji(
110344
110345
  "--layout-table-cell-height",
110345
110346
  "number"
110346
110347
  ) * 3 - 3 + "px";
@@ -111377,7 +111378,7 @@ function AWe(t) {
111377
111378
  return;
111378
111379
  let Z = 0;
111379
111380
  c(e)?.serverPagination === !0 ? Z = t.value.length > J ? J : t.value.length : t.value.length > J ? Z = J : Z = t.value.length;
111380
- const Q = as(
111381
+ const Q = Ji(
111381
111382
  "--layout-table-cell-height",
111382
111383
  "number"
111383
111384
  );
@@ -111452,7 +111453,7 @@ function AWe(t) {
111452
111453
  };
111453
111454
  }
111454
111455
  );
111455
- const J = as("--layout-table-order-column-width", "string") ?? "48px", Z = await c(i)?.emit("custom:subtable-setcolumns", {
111456
+ const J = Ji("--layout-table-order-column-width", "string") ?? "48px", Z = await c(i)?.emit("custom:subtable-setcolumns", {
111456
111457
  instance: t.instance,
111457
111458
  value: ne
111458
111459
  });
@@ -111785,7 +111786,7 @@ function LWe(t, e) {
111785
111786
  let pe = Se;
111786
111787
  if (Se)
111787
111788
  for (let De = Se - 1; De >= 0 && fe[De]?.uid?.startsWith("new:uid"); De--) {
111788
- if (!Object.values(fT(fe[De], "uid")).every((be) => ss(be))) {
111789
+ if (!Object.values(fT(fe[De], "uid")).every((be) => os(be))) {
111789
111790
  pe = De + 1;
111790
111791
  break;
111791
111792
  }
@@ -112049,7 +112050,7 @@ function LWe(t, e) {
112049
112050
  o?.value.emit("custom:setSearchCache", { value: !1 });
112050
112051
  });
112051
112052
  }, 1e3);
112052
- }, ie = rs(async () => {
112053
+ }, ie = as(async () => {
112053
112054
  if (c(k).selectedRowKeys.length > 0) {
112054
112055
  if (!E(c(k).selectedRowKeys.length)) {
112055
112056
  const ce = t.instance.props.maxRows ?? -1;
@@ -112315,7 +112316,7 @@ const kWe = uC.Step, NWe = /* @__PURE__ */ Ce({
112315
112316
  dataCode: f,
112316
112317
  external: g,
112317
112318
  onDealData: t.onDealData ?? (() => ({}))
112318
- }), P = V(() => ss(c(h)) ? null : {
112319
+ }), P = V(() => os(c(h)) ? null : {
112319
112320
  options: [...qX(dt(ni(c(S))), Dh)?.map((ie) => ({
112320
112321
  ...ie,
112321
112322
  disabled: Object.values(c(h)).includes(ie.value)
@@ -112367,7 +112368,7 @@ const kWe = uC.Step, NWe = /* @__PURE__ */ Ce({
112367
112368
  };
112368
112369
  }, x = () => {
112369
112370
  s.value -= 1;
112370
- }, k = rs(async () => {
112371
+ }, k = as(async () => {
112371
112372
  let j = "[]";
112372
112373
  if (c(s) === 1)
112373
112374
  if (Object.values(c(h)).every((N) => N === "symbol_no")) {
@@ -114604,7 +114605,7 @@ const Yqe = {}, Kqe = { class: "rok-title-left flex-wrap" }, Qqe = { class: "rok
114604
114605
  const _ = () => {
114605
114606
  q$(d.value), We.success(L("LRT.common.copySuccessful"));
114606
114607
  }, D = z("inline"), P = () => {
114607
- const R = as("--layout-rok-title-layout", "string");
114608
+ const R = Ji("--layout-rok-title-layout", "string");
114608
114609
  D.value = R;
114609
114610
  }, A = () => document.body;
114610
114611
  return qe(
@@ -116106,7 +116107,7 @@ function Si(t, e) {
116106
116107
  };
116107
116108
  }
116108
116109
  }
116109
- var os = function() {
116110
+ var rs = function() {
116110
116111
  function t() {
116111
116112
  }
116112
116113
  return t.add = function(e) {
@@ -116227,25 +116228,25 @@ function Q2(t, e, n) {
116227
116228
  return new Promise(function(i) {
116228
116229
  var s = rC(), o = function(r) {
116229
116230
  if (!Qp(r)) {
116230
- var a = os.parse(r.data);
116231
- a.eventName === n && a.msgId === s && (i(a.data), os.remove(o));
116231
+ var a = rs.parse(r.data);
116232
+ a.eventName === n && a.msgId === s && (i(a.data), rs.remove(o));
116232
116233
  }
116233
116234
  };
116234
- os.add(o), Po({ data: t, msgId: s, eventName: e });
116235
+ rs.add(o), Po({ data: t, msgId: s, eventName: e });
116235
116236
  });
116236
116237
  }
116237
116238
  var Q3e = function(t) {
116238
116239
  return Q2(t, "wps.jssdk.api", "wps.api.reply");
116239
116240
  }, lT = function(t) {
116240
116241
  return Q2(t, "api.basic", "api.basic.reply");
116241
- }, ns = { idMap: {} };
116242
+ }, is = { idMap: {} };
116242
116243
  function jL(t) {
116243
116244
  return bi(this, void 0, void 0, function() {
116244
116245
  var e, n, i, s, o, r, a, l, u, d;
116245
116246
  return Si(this, function(p) {
116246
116247
  switch (p.label) {
116247
116248
  case 0:
116248
- return Qp(t) ? [2] : (e = os.parse(t.data), n = e.eventName, i = e.callbackId, s = e.data, i && (o = ns.idMap[i]) ? (r = o.split(":"), a = r[0], l = r[1], n === "api.callback" && ns[a] && ns[a][l] ? [4, (d = ns[a][l]).callback.apply(d, s.args)] : [3, 2]) : [3, 2]);
116249
+ return Qp(t) ? [2] : (e = rs.parse(t.data), n = e.eventName, i = e.callbackId, s = e.data, i && (o = is.idMap[i]) ? (r = o.split(":"), a = r[0], l = r[1], n === "api.callback" && is[a] && is[a][l] ? [4, (d = is[a][l]).callback.apply(d, s.args)] : [3, 2]) : [3, 2]);
116249
116250
  case 1:
116250
116251
  u = p.sent(), Po({ result: u, callbackId: i, eventName: "api.callback.reply" }), p.label = 2;
116251
116252
  case 2:
@@ -116257,8 +116258,8 @@ function jL(t) {
116257
116258
  var Z3e = function(t) {
116258
116259
  return bi(void 0, void 0, void 0, function() {
116259
116260
  function e() {
116260
- return Object.keys(ns.idMap).find(function(p) {
116261
- return ns.idMap[p] === i + ":" + n;
116261
+ return Object.keys(is.idMap).find(function(p) {
116262
+ return is.idMap[p] === i + ":" + n;
116262
116263
  });
116263
116264
  }
116264
116265
  var n, i, s, o, r, a, l, u, d;
@@ -116267,7 +116268,7 @@ var Z3e = function(t) {
116267
116268
  case 0:
116268
116269
  return n = t.prop, i = t.parentObjId, [4, Z2([s = t.value])];
116269
116270
  case 1:
116270
- return o = p.sent(), r = o[0], a = o[1], t.value = r[0], l = Object.keys(a)[0], u = ns[i], s === null && u && u[n] && ((d = e()) && delete ns.idMap[d], delete u[n], Object.keys(u).length || delete ns[i], Object.keys(ns.idMap).length || os.remove(jL)), l && (Object.keys(ns.idMap).length || os.add(jL), ns[i] || (ns[i] = {}), ns[i][n] = { callbackId: l, callback: a[l] }, (d = e()) && delete ns.idMap[d], ns.idMap[l] = i + ":" + n), [2];
116271
+ return o = p.sent(), r = o[0], a = o[1], t.value = r[0], l = Object.keys(a)[0], u = is[i], s === null && u && u[n] && ((d = e()) && delete is.idMap[d], delete u[n], Object.keys(u).length || delete is[i], Object.keys(is.idMap).length || rs.remove(jL)), l && (Object.keys(is.idMap).length || rs.add(jL), is[i] || (is[i] = {}), is[i][n] = { callbackId: l, callback: a[l] }, (d = e()) && delete is.idMap[d], is.idMap[l] = i + ":" + n), [2];
116271
116272
  }
116272
116273
  });
116273
116274
  });
@@ -116297,17 +116298,17 @@ var Z3e = function(t) {
116297
116298
  return Si(this, function(C) {
116298
116299
  switch (C.label) {
116299
116300
  case 0:
116300
- return Qp(m) ? [2] : (v = os.parse(m.data)).eventName === "api.callback" && v.callbackId && l[v.callbackId] ? [4, l[v.callbackId].apply(l, v.data.args)] : [3, 2];
116301
+ return Qp(m) ? [2] : (v = rs.parse(m.data)).eventName === "api.callback" && v.callbackId && l[v.callbackId] ? [4, l[v.callbackId].apply(l, v.data.args)] : [3, 2];
116301
116302
  case 1:
116302
116303
  y = C.sent(), Po({ result: y, eventName: "api.callback.reply", callbackId: v.callbackId }), C.label = 2;
116303
116304
  case 2:
116304
116305
  return v.eventName === t + ".reply" && v.msgId === s && (v.error ? ((S = new Error("")).stack = v.error + `
116305
- ` + n, i && i(), r(S)) : o(v.result), os.remove(f)), [2];
116306
+ ` + n, i && i(), r(S)) : o(v.result), rs.remove(f)), [2];
116306
116307
  }
116307
116308
  });
116308
116309
  });
116309
116310
  };
116310
- return os.add(f), a;
116311
+ return rs.add(f), a;
116311
116312
  }]), [2, a];
116312
116313
  }
116313
116314
  });
@@ -116453,7 +116454,7 @@ function Pd() {
116453
116454
  t.status = n ? gf.requestFullscreen : gf.exitFullscreen, Po({ data: t, eventName: "fullscreenchange" });
116454
116455
  }
116455
116456
  var s5e = function() {
116456
- ns.idMap = {};
116457
+ is.idMap = {};
116457
116458
  };
116458
116459
  function X2() {
116459
116460
  console.group("JSSDK 事件机制调整说明"), console.warn("jssdk.on、jssdk.off 和 jssdk.Application.Sub 将在后续版本中被弃用,建议使用改进后的 ApiEvent"), console.warn("具体请参考:https://wwo.wps.cn/docs/front-end/basic-usage/events/intro/"), console.groupEnd();
@@ -116564,13 +116565,13 @@ function o5e(t, e) {
116564
116565
  } };
116565
116566
  });
116566
116567
  var d = {};
116567
- os.add(function(g) {
116568
+ rs.add(function(g) {
116568
116569
  return bi(n, void 0, void 0, function() {
116569
116570
  var f, m, v, y, S;
116570
116571
  return Si(this, function(C) {
116571
116572
  switch (C.label) {
116572
116573
  case 0:
116573
- return Qp(g) ? [2] : (f = os.parse(g.data)).eventName === "api.event" && f.data ? (m = f.data, v = m.eventName, y = m.data, (S = d[v]) ? [4, S(y)] : [3, 2]) : [3, 2];
116574
+ return Qp(g) ? [2] : (f = rs.parse(g.data)).eventName === "api.event" && f.data ? (m = f.data, v = m.eventName, y = m.data, (S = d[v]) ? [4, S(y)] : [3, 2]) : [3, 2];
116574
116575
  case 1:
116575
116576
  C.sent(), C.label = 2;
116576
116577
  case 2:
@@ -116610,13 +116611,13 @@ function Ju(t, e, n, i, s, o) {
116610
116611
  var mo = {}, go = null, Sc = { fileOpen: "fileOpen", tabSwitch: "tabSwitch", fileSaved: "fileSaved", fileStatus: "fileStatus", fullscreenChange: "fullscreenChange", error: "error", stage: "stage" }, jr = { getToken: "api.getToken", onToast: "event.toast", onHyperLinkOpen: "event.hyperLinkOpen", getClipboardData: "api.getClipboardData" };
116611
116612
  function J2(t, e, n, i, s, o, r) {
116612
116613
  var a = this;
116613
- n === void 0 && (n = {}), os.add(function(l) {
116614
+ n === void 0 && (n = {}), rs.add(function(l) {
116614
116615
  return bi(a, void 0, void 0, function() {
116615
116616
  var u, d, p, h, g, f, m, v, y, S, C, b, E, T, _, D, P, A, R;
116616
116617
  return Si(this, function(x) {
116617
116618
  switch (x.label) {
116618
116619
  case 0:
116619
- return Qp(l) ? [2] : (u = os.parse(l.data), d = u.eventName, p = d === void 0 ? "" : d, h = u.data, g = h === void 0 ? null : h, f = u.url, m = f === void 0 ? null : f, ["wps.jssdk.api"].indexOf(p) !== -1 ? [2] : p !== "ready" ? [3, 1] : (s.apiReadySended && function(k) {
116620
+ return Qp(l) ? [2] : (u = rs.parse(l.data), d = u.eventName, p = d === void 0 ? "" : d, h = u.data, g = h === void 0 ? null : h, f = u.url, m = f === void 0 ? null : f, ["wps.jssdk.api"].indexOf(p) !== -1 ? [2] : p !== "ready" ? [3, 1] : (s.apiReadySended && function(k) {
116620
116621
  var F = [];
116621
116622
  Object.keys(mo).forEach(function(U) {
116622
116623
  mo[U].forEach(function(H) {
@@ -116696,9 +116697,9 @@ function J2(t, e, n, i, s, o, r) {
116696
116697
  function cT(t) {
116697
116698
  return new Promise(function(e) {
116698
116699
  var n = function(i) {
116699
- Qp(i) || os.parse(i.data).eventName === t && (e(), os.remove(n));
116700
+ Qp(i) || rs.parse(i.data).eventName === t && (e(), rs.remove(n));
116700
116701
  };
116701
- os.add(n);
116702
+ rs.add(n);
116702
116703
  });
116703
116704
  }
116704
116705
  function sO(t) {
@@ -116824,7 +116825,7 @@ function sO(t) {
116824
116825
  });
116825
116826
  });
116826
116827
  }, destroy: function() {
116827
- mo = {}, m.destroy(), os.empty(), go = null, aC = /* @__PURE__ */ new Set(), Id = 0, ld = !0, document.removeEventListener("fullscreenchange", Pd), document.removeEventListener("webkitfullscreenchange", Pd), document.removeEventListener("mozfullscreenchange", Pd), s5e();
116828
+ mo = {}, m.destroy(), rs.empty(), go = null, aC = /* @__PURE__ */ new Set(), Id = 0, ld = !0, document.removeEventListener("fullscreenchange", Pd), document.removeEventListener("webkitfullscreenchange", Pd), document.removeEventListener("mozfullscreenchange", Pd), s5e();
116828
116829
  }, save: function() {
116829
116830
  return bi(this, void 0, void 0, function() {
116830
116831
  return Si(this, function(T) {
@@ -118358,7 +118359,7 @@ const q5e = uC.Step, Y5e = gt(), K5e = /* @__PURE__ */ Ce({
118358
118359
  }],
118359
118360
  popupClassName: "import-record__hide-disabled",
118360
118361
  transitionName: ""
118361
- })), Q = V(() => c(k)?.find((ge) => ge.template?.uid === c(v)) || {}), ee = V(() => Object.keys(c(d)).filter((ge) => c(d)[ge] !== "symbol_no")), te = V(() => x.value.filter((ge) => ge.type !== "encrypted_field")), se = V(() => ss(c(h)) ? null : {
118362
+ })), Q = V(() => c(k)?.find((ge) => ge.template?.uid === c(v)) || {}), ee = V(() => Object.keys(c(d)).filter((ge) => c(d)[ge] !== "symbol_no")), te = V(() => x.value.filter((ge) => ge.type !== "encrypted_field")), se = V(() => os(c(h)) ? null : {
118362
118363
  options: [...c(x).map((we) => ({
118363
118364
  ...we,
118364
118365
  disabled: Object.values(c(h)).includes(we.value)
@@ -118416,7 +118417,7 @@ const q5e = uC.Step, Y5e = gt(), K5e = /* @__PURE__ */ Ce({
118416
118417
  sheet: ge,
118417
118418
  model: c(d)[ge]
118418
118419
  }))), r.value -= 1;
118419
- }, De = rs(async () => {
118420
+ }, De = as(async () => {
118420
118421
  let ge = "[]";
118421
118422
  if (c(r) === 1) {
118422
118423
  const we = Object.values(c(d)).indexOf(c(U)?.value) > -1;