@kengic/vue 0.25.1 → 0.25.2-beta.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  var Ce = Object.defineProperty;
2
2
  var Oe = (e, t, a) => t in e ? Ce(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
- var v = (e, t, a) => (Oe(e, typeof t != "symbol" ? t + "" : t, a), a);
3
+ var b = (e, t, a) => (Oe(e, typeof t != "symbol" ? t + "" : t, a), a);
4
4
  import { h, nextTick, createVNode, defineComponent, toRaw, unref, Fragment, createTextVNode, inject, isVNode, getCurrentInstance, markRaw, ref, watch, reactive, effectScope, isRef, isReactive, toRef, computed, onUnmounted, toRefs, onMounted, onBeforeUnmount, onBeforeMount, getCurrentScope, onScopeDispose, mergeProps, provide, onActivated, onDeactivated } from "vue";
5
5
  import { Modal, message, Select, Spin, Tooltip, SelectOption, Image as Image$1, Button, Progress, Form, Checkbox, Divider, Row, Col, DatePicker, Input, InputNumber, Radio, Switch, Textarea, Menu, Transfer, Table, Tabs, Dropdown, Tag, Pagination, TableSummary, TabPane, Upload, ConfigProvider, TreeSelect, Steps } from "ant-design-vue";
6
6
  const index$b = "";
@@ -378,8 +378,8 @@ function generate$1(e) {
378
378
  a.push(u);
379
379
  }
380
380
  return t.theme === "dark" ? darkColorMap.map(function(c) {
381
- var _ = c.index, d = c.opacity, b = toHex(mix(inputToRGB(t.backgroundColor || "#141414"), inputToRGB(a[_]), d * 100));
382
- return b;
381
+ var _ = c.index, d = c.opacity, v = toHex(mix(inputToRGB(t.backgroundColor || "#141414"), inputToRGB(a[_]), d * 100));
382
+ return v;
383
383
  }) : a;
384
384
  }
385
385
  var presetPrimaryColors = {
@@ -735,7 +735,7 @@ function _objectWithoutPropertiesLoose(e, t) {
735
735
  }
736
736
  setTwoToneColor("#1890ff");
737
737
  var Icon$1 = function(t, a) {
738
- var r, n = _objectSpread$k({}, t, a.attrs), i = n.class, s = n.icon, l = n.spin, o = n.rotate, u = n.tabindex, c = n.twoToneColor, _ = n.onClick, d = _objectWithoutProperties(n, _excluded), b = (r = {
738
+ var r, n = _objectSpread$k({}, t, a.attrs), i = n.class, s = n.icon, l = n.spin, o = n.rotate, u = n.tabindex, c = n.twoToneColor, _ = n.onClick, d = _objectWithoutProperties(n, _excluded), v = (r = {
739
739
  anticon: !0
740
740
  }, _defineProperty$k(r, "anticon-".concat(s.name), Boolean(s.name)), _defineProperty$k(r, i, i), r), g = l === "" || !!l || s.name === "loading" ? "anticon-spin" : "", m = u;
741
741
  m === void 0 && _ && (m = -1, d.tabindex = m);
@@ -748,7 +748,7 @@ var Icon$1 = function(t, a) {
748
748
  "aria-label": s.name
749
749
  }, d, {
750
750
  onClick: _,
751
- class: b
751
+ class: v
752
752
  }), [createVNode(VueIcon, {
753
753
  class: g,
754
754
  icon: s,
@@ -1549,10 +1549,10 @@ function iconToSVG(e, t) {
1549
1549
  const s = r.width, l = r.height, o = n.width, u = n.height;
1550
1550
  let c, _;
1551
1551
  s === null ? (_ = l === null ? "1em" : l === "auto" ? u : l, c = calculateSize(_, o / u)) : (c = s === "auto" ? o : s, _ = l === null ? calculateSize(c, u / o) : l === "auto" ? u : l);
1552
- const d = {}, b = (g, m) => {
1552
+ const d = {}, v = (g, m) => {
1553
1553
  isUnsetKeyword(m) || (d[g] = m.toString());
1554
1554
  };
1555
- return b("width", c), b("height", _), d.viewBox = n.left.toString() + " " + n.top.toString() + " " + o.toString() + " " + u.toString(), {
1555
+ return v("width", c), v("height", _), d.viewBox = n.left.toString() + " " + n.top.toString() + " " + o.toString() + " " + u.toString(), {
1556
1556
  attributes: d,
1557
1557
  body: i
1558
1558
  };
@@ -1833,8 +1833,8 @@ function sendQuery(e, t, a, r) {
1833
1833
  } else
1834
1834
  s = e.resources.slice(i).concat(e.resources.slice(0, i));
1835
1835
  const l = Date.now();
1836
- let o = "pending", u = 0, c, _ = null, d = [], b = [];
1837
- typeof r == "function" && b.push(r);
1836
+ let o = "pending", u = 0, c, _ = null, d = [], v = [];
1837
+ typeof r == "function" && v.push(r);
1838
1838
  function g() {
1839
1839
  _ && (clearTimeout(_), _ = null);
1840
1840
  }
@@ -1844,7 +1844,7 @@ function sendQuery(e, t, a, r) {
1844
1844
  }), d = [];
1845
1845
  }
1846
1846
  function p(R, A) {
1847
- A && (b = []), typeof R == "function" && b.push(R);
1847
+ A && (v = []), typeof R == "function" && v.push(R);
1848
1848
  }
1849
1849
  function T() {
1850
1850
  return {
@@ -1858,7 +1858,7 @@ function sendQuery(e, t, a, r) {
1858
1858
  };
1859
1859
  }
1860
1860
  function E() {
1861
- o = "failed", b.forEach((R) => {
1861
+ o = "failed", v.forEach((R) => {
1862
1862
  R(void 0, c);
1863
1863
  });
1864
1864
  }
@@ -1891,7 +1891,7 @@ function sendQuery(e, t, a, r) {
1891
1891
  const C = e.resources.indexOf(R.resource);
1892
1892
  C !== -1 && C !== e.index && (e.index = C);
1893
1893
  }
1894
- o = "completed", b.forEach((C) => {
1894
+ o = "completed", v.forEach((C) => {
1895
1895
  C(V);
1896
1896
  });
1897
1897
  }
@@ -2184,8 +2184,8 @@ const loadIcons = (e, t) => {
2184
2184
  const _ = n[u] || (n[u] = /* @__PURE__ */ Object.create(null));
2185
2185
  _[c] || (_[c] = []);
2186
2186
  }), r.pending.forEach((o) => {
2187
- const { provider: u, prefix: c, name: _ } = o, d = getStorage(u, c), b = d.pendingIcons || (d.pendingIcons = /* @__PURE__ */ new Set());
2188
- b.has(_) || (b.add(_), n[u][c].push(_));
2187
+ const { provider: u, prefix: c, name: _ } = o, d = getStorage(u, c), v = d.pendingIcons || (d.pendingIcons = /* @__PURE__ */ new Set());
2188
+ v.has(_) || (v.add(_), n[u][c].push(_));
2189
2189
  }), i.forEach((o) => {
2190
2190
  const { provider: u, prefix: c } = o;
2191
2191
  n[u][c].length && loadNewIcons(o, n[u][c]);
@@ -2335,7 +2335,7 @@ const render = (e, t) => {
2335
2335
  let m = 0, p = t.id;
2336
2336
  return typeof p == "string" && (p = p.replace(/-/g, "_")), r.innerHTML = replaceIDs(o.body, p ? () => p + "ID" + m++ : "iconifyVue"), h("svg", r);
2337
2337
  }
2338
- const { body: c, width: _, height: d } = e, b = n === "mask" || (n === "bg" ? !1 : c.indexOf("currentColor") !== -1), g = iconToHTML(c, {
2338
+ const { body: c, width: _, height: d } = e, v = n === "mask" || (n === "bg" ? !1 : c.indexOf("currentColor") !== -1), g = iconToHTML(c, {
2339
2339
  ...u,
2340
2340
  width: _ + "",
2341
2341
  height: d + ""
@@ -2346,7 +2346,7 @@ const render = (e, t) => {
2346
2346
  width: fixSize(u.width),
2347
2347
  height: fixSize(u.height),
2348
2348
  ...commonProps,
2349
- ...b ? monotoneProps : coloredProps,
2349
+ ...v ? monotoneProps : coloredProps,
2350
2350
  ...l
2351
2351
  }, h("span", r);
2352
2352
  };
@@ -2437,7 +2437,7 @@ const emptyIcon = {
2437
2437
  ...t.data
2438
2438
  }, a);
2439
2439
  }
2440
- }), version = "0.25.1";
2440
+ }), version = "0.25.2-beta.1";
2441
2441
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
2442
2442
  const freeGlobal$1 = freeGlobal;
2443
2443
  var freeSelf = typeof self == "object" && self && self.Object === Object && self, root = freeGlobal$1 || freeSelf || Function("return this")();
@@ -3485,9 +3485,9 @@ function baseClone(e, t, a, r, n, i) {
3485
3485
  }
3486
3486
  }
3487
3487
  i || (i = new Stack());
3488
- var b = i.get(e);
3489
- if (b)
3490
- return b;
3488
+ var v = i.get(e);
3489
+ if (v)
3490
+ return v;
3491
3491
  i.set(e, s), isSet$1(e) ? e.forEach(function(p) {
3492
3492
  s.add(baseClone(p, t, a, p, e, i));
3493
3493
  }) : isMap$1(e) && e.forEach(function(p, T) {
@@ -3540,7 +3540,7 @@ function equalArrays(e, t, a, r, n, i) {
3540
3540
  var u = i.get(e), c = i.get(t);
3541
3541
  if (u && c)
3542
3542
  return u == t && c == e;
3543
- var _ = -1, d = !0, b = a & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
3543
+ var _ = -1, d = !0, v = a & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
3544
3544
  for (i.set(e, t), i.set(t, e); ++_ < l; ) {
3545
3545
  var g = e[_], m = t[_];
3546
3546
  if (r)
@@ -3551,10 +3551,10 @@ function equalArrays(e, t, a, r, n, i) {
3551
3551
  d = !1;
3552
3552
  break;
3553
3553
  }
3554
- if (b) {
3554
+ if (v) {
3555
3555
  if (!arraySome(t, function(T, E) {
3556
- if (!cacheHas(b, E) && (g === T || n(g, T, a, r, i)))
3557
- return b.push(E);
3556
+ if (!cacheHas(v, E) && (g === T || n(g, T, a, r, i)))
3557
+ return v.push(E);
3558
3558
  })) {
3559
3559
  d = !1;
3560
3560
  break;
@@ -3624,9 +3624,9 @@ function equalObjects(e, t, a, r, n, i) {
3624
3624
  if (!(s ? d in t : hasOwnProperty$3.call(t, d)))
3625
3625
  return !1;
3626
3626
  }
3627
- var b = i.get(e), g = i.get(t);
3628
- if (b && g)
3629
- return b == t && g == e;
3627
+ var v = i.get(e), g = i.get(t);
3628
+ if (v && g)
3629
+ return v == t && g == e;
3630
3630
  var m = !0;
3631
3631
  i.set(e, t), i.set(t, e);
3632
3632
  for (var p = s; ++_ < o; ) {
@@ -3659,9 +3659,9 @@ function baseIsEqualDeep(e, t, a, r, n, i) {
3659
3659
  if (d && !c)
3660
3660
  return i || (i = new Stack()), s || isTypedArray$1(e) ? equalArrays(e, t, a, r, n, i) : equalByTag(e, t, o, a, r, n, i);
3661
3661
  if (!(a & COMPARE_PARTIAL_FLAG$2)) {
3662
- var b = c && hasOwnProperty$2.call(e, "__wrapped__"), g = _ && hasOwnProperty$2.call(t, "__wrapped__");
3663
- if (b || g) {
3664
- var m = b ? e.value() : e, p = g ? t.value() : t;
3662
+ var v = c && hasOwnProperty$2.call(e, "__wrapped__"), g = _ && hasOwnProperty$2.call(t, "__wrapped__");
3663
+ if (v || g) {
3664
+ var m = v ? e.value() : e, p = g ? t.value() : t;
3665
3665
  return i || (i = new Stack()), n(m, p, a, r, i);
3666
3666
  }
3667
3667
  }
@@ -3812,12 +3812,12 @@ function debounce(e, t, a) {
3812
3812
  if (typeof e != "function")
3813
3813
  throw new TypeError(FUNC_ERROR_TEXT);
3814
3814
  t = toNumber(t) || 0, isObject$2(a) && (c = !!a.leading, _ = "maxWait" in a, i = _ ? nativeMax$3(toNumber(a.maxWait) || 0, t) : i, d = "trailing" in a ? !!a.trailing : d);
3815
- function b(R) {
3815
+ function v(R) {
3816
3816
  var A = r, V = n;
3817
3817
  return r = n = void 0, u = R, s = e.apply(V, A), s;
3818
3818
  }
3819
3819
  function g(R) {
3820
- return u = R, l = setTimeout(T, t), c ? b(R) : s;
3820
+ return u = R, l = setTimeout(T, t), c ? v(R) : s;
3821
3821
  }
3822
3822
  function m(R) {
3823
3823
  var A = R - o, V = R - u, y = t - A;
@@ -3834,7 +3834,7 @@ function debounce(e, t, a) {
3834
3834
  l = setTimeout(T, m(R));
3835
3835
  }
3836
3836
  function E(R) {
3837
- return l = void 0, d && r ? b(R) : (r = n = void 0, s);
3837
+ return l = void 0, d && r ? v(R) : (r = n = void 0, s);
3838
3838
  }
3839
3839
  function k() {
3840
3840
  l !== void 0 && clearTimeout(l), u = 0, r = o = n = l = void 0;
@@ -3848,7 +3848,7 @@ function debounce(e, t, a) {
3848
3848
  if (l === void 0)
3849
3849
  return g(o);
3850
3850
  if (_)
3851
- return clearTimeout(l), l = setTimeout(T, t), b(o);
3851
+ return clearTimeout(l), l = setTimeout(T, t), v(o);
3852
3852
  }
3853
3853
  return l === void 0 && (l = setTimeout(T, t)), s;
3854
3854
  }
@@ -3966,14 +3966,14 @@ function baseIntersection(e, t, a) {
3966
3966
  var _ = -1, d = l[0];
3967
3967
  e:
3968
3968
  for (; ++_ < n && u.length < o; ) {
3969
- var b = c[_], g = t ? t(b) : b;
3970
- if (b = a || b !== 0 ? b : 0, !(d ? cacheHas(d, g) : r(u, g, a))) {
3969
+ var v = c[_], g = t ? t(v) : v;
3970
+ if (v = a || v !== 0 ? v : 0, !(d ? cacheHas(d, g) : r(u, g, a))) {
3971
3971
  for (s = i; --s; ) {
3972
3972
  var m = l[s];
3973
3973
  if (!(m ? cacheHas(m, g) : r(e[s], g, a)))
3974
3974
  continue e;
3975
3975
  }
3976
- d && d.push(g), u.push(b);
3976
+ d && d.push(g), u.push(v);
3977
3977
  }
3978
3978
  }
3979
3979
  return u;
@@ -4724,7 +4724,7 @@ const ____DEBUG____ = KgLogger.debug, ____INFO_____ = KgLogger.info, ____WARN___
4724
4724
  }, I18N = { en, zh_CN };
4725
4725
  var KG_APP = /* @__PURE__ */ ((e) => (e.WMS_DATA_MANAGER = "data-manager", e.WMS_BUSINESS_MANAGER = "business-manager", e.WCS = "wcs", e.SYS = "sys", e))(KG_APP || {}), KG_APP_PREFIX = /* @__PURE__ */ ((e) => (e.WMS_DATA_MANAGER = "/wms/data-manager", e.WMS_BUSINESS_MANAGER = "/wms/business-manager", e.WCS = "/wcs", e.SYS = "/sys", e))(KG_APP_PREFIX || {});
4726
4726
  const KG_APPS = ["data-manager", "business-manager", "wcs", "sys"], KG_APP_PREFIXS = ["/wms/data-manager", "/wms/business-manager", "/wcs", "/sys"];
4727
- var KG__VAR_CONFIG_CONTROL__CONTROL_TYPE = /* @__PURE__ */ ((e) => (e.INPUT = "INPUT", e.INPUT_PASSWORD = "INPUT_PASSWORD", e.INPUT_NUMBER = "INPUT_NUMBER", e.TEXT_AREA = "TEXT_AREA", e.CHECKBOX = "CHECKBOX", e.CHECKBOX_GROUP = "CHECKBOX_GROUP", e.RADIO_GROUP = "RADIO_GROUP", e.SWITCH = "SWITCH", e.SELECT = "SELECT", e.SELECT_MULTIPLE = "SELECT_MULTIPLE", e.DATE_DATE = "DATE_DATE", e.DATE_DATE_RANGE = "DATE_DATE_RANGE", e.DATE_TIME = "DATE_TIME", e.DATE_TIME_RANGE = "DATE_TIME_RANGE", e.DATE_DATETIME = "DATE_DATETIME", e.DATE_DATETIME_RANGE = "DATE_DATETIME_RANGE", e.DATE_WEEK = "DATE_WEEK", e.DATE_MONTH = "DATE_MONTH", e.DATE_YEAR = "DATE_YEAR", e.IMAGE = "IMAGE", e.BUTTON_UPLOAD = "BUTTON_UPLOAD", e))(KG__VAR_CONFIG_CONTROL__CONTROL_TYPE || {}), KG_FORM_CONTEXT = /* @__PURE__ */ ((e) => (e.SEARCH = "SEARCH", e.SUBMIT = "SUBMIT", e.TABLE = "TABLE", e))(KG_FORM_CONTEXT || {}), KG_CUSTOM_LEVEL = /* @__PURE__ */ ((e) => (e[e.L0 = 0] = "L0", e[e.L10 = 10] = "L10", e))(KG_CUSTOM_LEVEL || {}), KG__API_METHOD = /* @__PURE__ */ ((e) => (e.GET = "GET", e.POST = "POST", e.DELETE = "DELETE", e.PUT = "PUT", e))(KG__API_METHOD || {}), KG__VAR_GRID_DETAIL__DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.YN = "YN", e.DESC = "DESC", e.ENUM = "ENUM", e.PROGRESS = "PROGRESS", e.FILE_SIZE = "FILE_SIZE", e.UPDATE_LINK = "UPDATE_LINK", e.ROUTE_LINK = "ROUTE_LINK", e.IMAGE = "IMAGE", e.ICON = "ICON", e))(KG__VAR_GRID_DETAIL__DISPLAY_TYPE || {}), KG__VAR_GRID_DETAIL__ALIGN = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.CENTER = "center", e.RIGHT = "right", e))(KG__VAR_GRID_DETAIL__ALIGN || {}), KG_BUTTON_TYPE = /* @__PURE__ */ ((e) => (e.SEARCH = "SEARCH", e.CREATE = "CREATE", e.UPDATE = "UPDATE", e.COPY = "COPY", e.DELETE = "DELETE", e.IMPORT = "IMPORT", e.IMPORT_TEMPLATE = "IMPORT_TEMPLATE", e.EXPORT = "EXPORT", e.OTHER = "OTHER", e))(KG_BUTTON_TYPE || {}), KG__VAR_BUTTON__TYPE = /* @__PURE__ */ ((e) => (e.SEARCH = "SEARCH", e.CREATE = "CREATE", e.UPDATE = "UPDATE", e.COPY = "COPY", e.DELETE = "DELETE", e.IMPORT = "IMPORT", e.IMPORT_TEMPLATE = "IMPORT_TEMPLATE", e.EXPORT = "EXPORT", e.OTHER = "OTHER", e))(KG__VAR_BUTTON__TYPE || {}), KG__VAR_BUTTON__COLOR = /* @__PURE__ */ ((e) => (e.BLUE = "BLUE", e.RED = "RED", e.YELLOW = "YELLOW", e))(KG__VAR_BUTTON__COLOR || {}), KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.DEFAULT = "DEFAULT", e.SELECT = "SELECT", e))(KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE || {}), KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.MODAL = "MODAL", e.DRAWER = "DRAWER", e.TABLE = "TABLE", e))(KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE || {}), KG__VAR_SUBMIT_CONFIG__LAYOUT = /* @__PURE__ */ ((e) => (e.VERTICAL = "vertical", e.HORIZONTAL = "horizontal", e))(KG__VAR_SUBMIT_CONFIG__LAYOUT || {}), KG__VAR_CONFIG_INPUT__DATA_TYPE = /* @__PURE__ */ ((e) => (e.ANY = "ANY", e.INTEGER = "INTEGER", e.FLOAT = "FLOAT", e.LETTER = "LETTER", e.UPPER_CASE_LETTER = "UPPER_CASE_LETTER", e.LOWER_CASE_LETTER = "LOWER_CASE_LETTER", e.JSON = "JSON", e))(KG__VAR_CONFIG_INPUT__DATA_TYPE || {}), KG__VAR_CONFIG_INPUT__VALIDATION_TYPE = /* @__PURE__ */ ((e) => (e.OPTIONS = "OPTIONS", e.REGULAR_EXPRESSION = "REGULAR_EXPRESSION", e))(KG__VAR_CONFIG_INPUT__VALIDATION_TYPE || {}), KG__VAR_CONFIG_TIP__PLACEMENT = /* @__PURE__ */ ((e) => (e.RIGHT = "RIGHT", e.BOTTOM = "BOTTOM", e))(KG__VAR_CONFIG_TIP__PLACEMENT || {}), KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE = /* @__PURE__ */ ((e) => (e.API = "API", e.SQL = "SQL", e))(KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE || {}), KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE = /* @__PURE__ */ ((e) => (e.DEFAULT = "DEFAULT", e.STRING = "STRING", e.NUMBER = "NUMBER", e.BOOLEAN = "BOOLEAN", e))(KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE || {}), KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT = /* @__PURE__ */ ((e) => (e.SPAN = "SPAN", e.PX = "PX", e))(KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT || {}), KG__SPAN = /* @__PURE__ */ ((e) => (e[e._1 = 1] = "_1", e[e._2 = 2] = "_2", e[e._3 = 3] = "_3", e[e._4 = 4] = "_4", e[e._5 = 5] = "_5", e[e._6 = 6] = "_6", e[e._7 = 7] = "_7", e[e._8 = 8] = "_8", e[e._9 = 9] = "_9", e[e._10 = 10] = "_10", e[e._11 = 11] = "_11", e[e._12 = 12] = "_12", e[e._13 = 13] = "_13", e[e._14 = 14] = "_14", e[e._15 = 15] = "_15", e[e._16 = 16] = "_16", e[e._17 = 17] = "_17", e[e._18 = 18] = "_18", e[e._19 = 19] = "_19", e[e._20 = 20] = "_20", e[e._21 = 21] = "_21", e[e._22 = 22] = "_22", e[e._23 = 23] = "_23", e[e._24 = 24] = "_24", e))(KG__SPAN || {}), KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX = /* @__PURE__ */ ((e) => (e.XLS = "XLS", e.XLSX = "XLSX", e))(KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX || {}), KG_DESCRIPTION_CODE_NAME = /* @__PURE__ */ ((e) => (e.YN = "yn", e.VAR_SUBMIT_LAYOUT = "var_submit_layout", e.VAR_SPAN = "var_span", e.VAR_BUTTON_DISPLAY_TYPE = "var_button_display_type", e.VAR_WIDTH_UNIT = "var_width_unit", e))(KG_DESCRIPTION_CODE_NAME || {}), KG_DYNAMIC_QUERY_OPERATOR = /* @__PURE__ */ ((e) => (e.EQ = "EQ", e.NE = "NE", e.GT = "GT", e.LT = "LT", e.GTE = "GTE", e.LTE = "LTE", e.START_WITH = "START", e.END_WITH = "END", e.CONTAIN = "CONTAIN", e.IN = "IN", e.BETWEEN = "BETWEEN", e))(KG_DYNAMIC_QUERY_OPERATOR || {}), KG_HTTP_HEADERS = /* @__PURE__ */ ((e) => (e.KG_FORM_ID = "Kg-Form-Id", e.KG_BUTTON_VAR_NAME = "Kg-Button-Var-Name", e.KG_IS_DYNAMIC_QUERY = "Kg-Is-Dynamic-Query", e.KG_QUERY_WHERE_SQL = "Kg-Query-Where-Sql", e.KG_QUERY_ORDER_BY_SQL = "Kg-Query-Order-By-Sql", e.KG_QUERY_OFFSET_SQL = "Kg-Query-Offset-Sql", e.KG_QUERY_SQL = "Kg-Query-Sql", e.KG_QUERY_OPERATOR = "Kg-Query-Operator", e.KG_WAREHOUSE = "Kg-Warehouse", e))(KG_HTTP_HEADERS || {});
4727
+ var KG__VAR_CONFIG_CONTROL__CONTROL_TYPE = /* @__PURE__ */ ((e) => (e.INPUT = "INPUT", e.INPUT_PASSWORD = "INPUT_PASSWORD", e.INPUT_NUMBER = "INPUT_NUMBER", e.TEXT_AREA = "TEXT_AREA", e.CHECKBOX = "CHECKBOX", e.CHECKBOX_GROUP = "CHECKBOX_GROUP", e.RADIO_GROUP = "RADIO_GROUP", e.SWITCH = "SWITCH", e.SELECT = "SELECT", e.SELECT_MULTIPLE = "SELECT_MULTIPLE", e.DATE_DATE = "DATE_DATE", e.DATE_DATE_RANGE = "DATE_DATE_RANGE", e.DATE_TIME = "DATE_TIME", e.DATE_TIME_RANGE = "DATE_TIME_RANGE", e.DATE_DATETIME = "DATE_DATETIME", e.DATE_DATETIME_RANGE = "DATE_DATETIME_RANGE", e.DATE_WEEK = "DATE_WEEK", e.DATE_MONTH = "DATE_MONTH", e.DATE_YEAR = "DATE_YEAR", e.IMAGE = "IMAGE", e.BUTTON_UPLOAD = "BUTTON_UPLOAD", e))(KG__VAR_CONFIG_CONTROL__CONTROL_TYPE || {}), KG_FORM_CONTEXT = /* @__PURE__ */ ((e) => (e.SEARCH = "SEARCH", e.SUBMIT = "SUBMIT", e.TABLE = "TABLE", e))(KG_FORM_CONTEXT || {}), KG_CUSTOM_LEVEL = /* @__PURE__ */ ((e) => (e[e.L0 = 0] = "L0", e[e.L10 = 10] = "L10", e))(KG_CUSTOM_LEVEL || {}), KG__API_METHOD = /* @__PURE__ */ ((e) => (e.GET = "GET", e.POST = "POST", e.DELETE = "DELETE", e.PUT = "PUT", e))(KG__API_METHOD || {}), KG__VAR_GRID_DETAIL__DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.YN = "YN", e.DESC = "DESC", e.ENUM = "ENUM", e.PROGRESS = "PROGRESS", e.FILE_SIZE = "FILE_SIZE", e.UPDATE_LINK = "UPDATE_LINK", e.ROUTE_LINK = "ROUTE_LINK", e.IMAGE = "IMAGE", e.ICON = "ICON", e))(KG__VAR_GRID_DETAIL__DISPLAY_TYPE || {}), KG__VAR_GRID_DETAIL__ALIGN = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.CENTER = "center", e.RIGHT = "right", e))(KG__VAR_GRID_DETAIL__ALIGN || {}), KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK = /* @__PURE__ */ ((e) => (e[e.A = 0] = "A", e[e.B = 1] = "B", e[e.C = 2] = "C", e))(KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK || {}), KG_BUTTON_TYPE = /* @__PURE__ */ ((e) => (e.SEARCH = "SEARCH", e.CREATE = "CREATE", e.UPDATE = "UPDATE", e.COPY = "COPY", e.DELETE = "DELETE", e.IMPORT = "IMPORT", e.IMPORT_TEMPLATE = "IMPORT_TEMPLATE", e.EXPORT = "EXPORT", e.OTHER = "OTHER", e))(KG_BUTTON_TYPE || {}), KG__VAR_BUTTON__TYPE = /* @__PURE__ */ ((e) => (e.SEARCH = "SEARCH", e.CREATE = "CREATE", e.UPDATE = "UPDATE", e.COPY = "COPY", e.DELETE = "DELETE", e.IMPORT = "IMPORT", e.IMPORT_TEMPLATE = "IMPORT_TEMPLATE", e.EXPORT = "EXPORT", e.OTHER = "OTHER", e))(KG__VAR_BUTTON__TYPE || {}), KG__VAR_BUTTON__COLOR = /* @__PURE__ */ ((e) => (e.BLUE = "BLUE", e.RED = "RED", e.YELLOW = "YELLOW", e))(KG__VAR_BUTTON__COLOR || {}), KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.DEFAULT = "DEFAULT", e.SELECT = "SELECT", e))(KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE || {}), KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.MODAL = "MODAL", e.DRAWER = "DRAWER", e.TABLE = "TABLE", e))(KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE || {}), KG__VAR_SUBMIT_CONFIG__LAYOUT = /* @__PURE__ */ ((e) => (e.VERTICAL = "vertical", e.HORIZONTAL = "horizontal", e))(KG__VAR_SUBMIT_CONFIG__LAYOUT || {}), KG__VAR_CONFIG_INPUT__DATA_TYPE = /* @__PURE__ */ ((e) => (e.ANY = "ANY", e.INTEGER = "INTEGER", e.FLOAT = "FLOAT", e.LETTER = "LETTER", e.UPPER_CASE_LETTER = "UPPER_CASE_LETTER", e.LOWER_CASE_LETTER = "LOWER_CASE_LETTER", e.JSON = "JSON", e))(KG__VAR_CONFIG_INPUT__DATA_TYPE || {}), KG__VAR_CONFIG_INPUT__VALIDATION_TYPE = /* @__PURE__ */ ((e) => (e.OPTIONS = "OPTIONS", e.REGULAR_EXPRESSION = "REGULAR_EXPRESSION", e))(KG__VAR_CONFIG_INPUT__VALIDATION_TYPE || {}), KG__VAR_CONFIG_TIP__PLACEMENT = /* @__PURE__ */ ((e) => (e.RIGHT = "RIGHT", e.BOTTOM = "BOTTOM", e))(KG__VAR_CONFIG_TIP__PLACEMENT || {}), KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE = /* @__PURE__ */ ((e) => (e.API = "API", e.SQL = "SQL", e))(KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE || {}), KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE = /* @__PURE__ */ ((e) => (e.DEFAULT = "DEFAULT", e.STRING = "STRING", e.NUMBER = "NUMBER", e.BOOLEAN = "BOOLEAN", e))(KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE || {}), KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT = /* @__PURE__ */ ((e) => (e.SPAN = "SPAN", e.PX = "PX", e))(KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT || {}), KG__SPAN = /* @__PURE__ */ ((e) => (e[e._1 = 1] = "_1", e[e._2 = 2] = "_2", e[e._3 = 3] = "_3", e[e._4 = 4] = "_4", e[e._5 = 5] = "_5", e[e._6 = 6] = "_6", e[e._7 = 7] = "_7", e[e._8 = 8] = "_8", e[e._9 = 9] = "_9", e[e._10 = 10] = "_10", e[e._11 = 11] = "_11", e[e._12 = 12] = "_12", e[e._13 = 13] = "_13", e[e._14 = 14] = "_14", e[e._15 = 15] = "_15", e[e._16 = 16] = "_16", e[e._17 = 17] = "_17", e[e._18 = 18] = "_18", e[e._19 = 19] = "_19", e[e._20 = 20] = "_20", e[e._21 = 21] = "_21", e[e._22 = 22] = "_22", e[e._23 = 23] = "_23", e[e._24 = 24] = "_24", e))(KG__SPAN || {}), KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX = /* @__PURE__ */ ((e) => (e.XLS = "XLS", e.XLSX = "XLSX", e))(KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX || {}), KG_DESCRIPTION_CODE_NAME = /* @__PURE__ */ ((e) => (e.YN = "yn", e.VAR_SUBMIT_LAYOUT = "var_submit_layout", e.VAR_SPAN = "var_span", e.VAR_BUTTON_DISPLAY_TYPE = "var_button_display_type", e.VAR_WIDTH_UNIT = "var_width_unit", e))(KG_DESCRIPTION_CODE_NAME || {}), KG_DYNAMIC_QUERY_OPERATOR = /* @__PURE__ */ ((e) => (e.EQ = "EQ", e.NE = "NE", e.GT = "GT", e.LT = "LT", e.GTE = "GTE", e.LTE = "LTE", e.START_WITH = "START", e.END_WITH = "END", e.CONTAIN = "CONTAIN", e.IN = "IN", e.BETWEEN = "BETWEEN", e))(KG_DYNAMIC_QUERY_OPERATOR || {}), KG_HTTP_HEADERS = /* @__PURE__ */ ((e) => (e.KG_FORM_ID = "Kg-Form-Id", e.KG_BUTTON_VAR_NAME = "Kg-Button-Var-Name", e.KG_IS_DYNAMIC_QUERY = "Kg-Is-Dynamic-Query", e.KG_QUERY_WHERE_SQL = "Kg-Query-Where-Sql", e.KG_QUERY_ORDER_BY_SQL = "Kg-Query-Order-By-Sql", e.KG_QUERY_OFFSET_SQL = "Kg-Query-Offset-Sql", e.KG_QUERY_SQL = "Kg-Query-Sql", e.KG_QUERY_OPERATOR = "Kg-Query-Operator", e.KG_WAREHOUSE = "Kg-Warehouse", e))(KG_HTTP_HEADERS || {});
4728
4728
  const __KG__RESPONSE__ = "__KG__RESPONSE__", KG_TMP_MENU_ID__DATA_MANAGER = "KG_TMP_MENU_ID__DATA_MANAGER", KG_TMP_MENU_ID__BUSINESS_MANAGER = "KG_TMP_MENU_ID__BUSINESS_MANAGER", KG_TMP_MENU_ID__WCS = "KG_TMP_MENU_ID__WCS", KG_TMP_MENU_ID__SYS = "KG_TMP_MENU_ID__SYS", KG_TMP_MENU_ID__PDA = "KG_TMP_MENU_ID__PDA", KG__DI__FORM_ID = Symbol("KG__DI__FORM_ID"), KG__DI__VAR_CONFIG_LOOKUP__HOST_FORM_ID = Symbol("KG__DI__VAR_CONFIG_LOOKUP__HOST_FORM_ID"), KG__DI__KG_FORM_ITEM__VAR_NAME = Symbol("KG__DI__KG_FORM_ITEM__VAR_NAME"), KG__DI__VAR_CONFIG_LOOKUP__LOOKUP_ID = Symbol("KG__DI__VAR_CONFIG_LOOKUP__LOOKUP_ID");
4729
4729
  class KgRouteUtil {
4730
4730
  static addOnlineRoutesForAllApps(t) {
@@ -4784,7 +4784,7 @@ class KgRouteUtil {
4784
4784
  }), t;
4785
4785
  }
4786
4786
  static transformMenus(t) {
4787
- var d, b, g, m, p, T, E, k, N, O, R, A, V, y, C, F, B, I, D, P, M, L, w, x, K, U, W, X, te, se, le, ue, ce, oe;
4787
+ var d, v, g, m, p, T, E, k, N, O, R, A, V, y, C, F, B, I, D, P, M, L, w, x, K, U, W, X, te, se, le, ue, ce, oe;
4788
4788
  if (!t)
4789
4789
  return [];
4790
4790
  const a = useKg(), r = (q) => {
@@ -4822,7 +4822,7 @@ class KgRouteUtil {
4822
4822
  children: [],
4823
4823
  id: KG_TMP_MENU_ID__DATA_MANAGER,
4824
4824
  key: KG_TMP_MENU_ID__DATA_MANAGER,
4825
- name: (b = (d = a.option.value.appTitle) == null ? void 0 : d[KG_APP.WMS_DATA_MANAGER]) != null ? b : "\u6570\u636E\u7BA1\u7406",
4825
+ name: (v = (d = a.option.value.appTitle) == null ? void 0 : d[KG_APP.WMS_DATA_MANAGER]) != null ? v : "\u6570\u636E\u7BA1\u7406",
4826
4826
  slotTitle: (m = (g = a.option.value.appTitle) == null ? void 0 : g[KG_APP.WMS_DATA_MANAGER]) != null ? m : "\u6570\u636E\u7BA1\u7406",
4827
4827
  sortNo: 1,
4828
4828
  title: (T = (p = a.option.value.appTitle) == null ? void 0 : p[KG_APP.WMS_DATA_MANAGER]) != null ? T : "\u6570\u636E\u7BA1\u7406",
@@ -4987,7 +4987,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
4987
4987
  (function(a, r) {
4988
4988
  e.exports = r();
4989
4989
  })(commonjsGlobal, function() {
4990
- var a = 1e3, r = 6e4, n = 36e5, i = "millisecond", s = "second", l = "minute", o = "hour", u = "day", c = "week", _ = "month", d = "quarter", b = "year", g = "date", m = "Invalid Date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, T = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, E = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(D) {
4990
+ var a = 1e3, r = 6e4, n = 36e5, i = "millisecond", s = "second", l = "minute", o = "hour", u = "day", c = "week", _ = "month", d = "quarter", v = "year", g = "date", m = "Invalid Date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, T = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, E = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(D) {
4991
4991
  var P = ["th", "st", "nd", "rd"], M = D % 100;
4992
4992
  return "[" + D + (P[(M - 20) % 10] || P[M] || P[0]) + "]";
4993
4993
  } }, k = function(D, P, M) {
@@ -5004,7 +5004,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5004
5004
  }, a: function(D) {
5005
5005
  return D < 0 ? Math.ceil(D) || 0 : Math.floor(D);
5006
5006
  }, p: function(D) {
5007
- return { M: _, y: b, w: c, d: u, D: g, h: o, m: l, s, ms: i, Q: d }[D] || String(D || "").toLowerCase().replace(/s$/, "");
5007
+ return { M: _, y: v, w: c, d: u, D: g, h: o, m: l, s, ms: i, Q: d }[D] || String(D || "").toLowerCase().replace(/s$/, "");
5008
5008
  }, u: function(D) {
5009
5009
  return D === void 0;
5010
5010
  } }, O = "en", R = {};
@@ -5086,7 +5086,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5086
5086
  return F.w(w.toDate()[oe].apply(w.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(q)), w);
5087
5087
  }, X = this.$W, te = this.$M, se = this.$D, le = "set" + (this.$u ? "UTC" : "");
5088
5088
  switch (K) {
5089
- case b:
5089
+ case v:
5090
5090
  return x ? U(1, 0) : U(31, 11);
5091
5091
  case _:
5092
5092
  return x ? U(1, te) : U(0, te + 1);
@@ -5108,8 +5108,8 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5108
5108
  }, P.endOf = function(M) {
5109
5109
  return this.startOf(M, !1);
5110
5110
  }, P.$set = function(M, L) {
5111
- var w, x = F.p(M), K = "set" + (this.$u ? "UTC" : ""), U = (w = {}, w[u] = K + "Date", w[g] = K + "Date", w[_] = K + "Month", w[b] = K + "FullYear", w[o] = K + "Hours", w[l] = K + "Minutes", w[s] = K + "Seconds", w[i] = K + "Milliseconds", w)[x], W = x === u ? this.$D + (L - this.$W) : L;
5112
- if (x === _ || x === b) {
5111
+ var w, x = F.p(M), K = "set" + (this.$u ? "UTC" : ""), U = (w = {}, w[u] = K + "Date", w[g] = K + "Date", w[_] = K + "Month", w[v] = K + "FullYear", w[o] = K + "Hours", w[l] = K + "Minutes", w[s] = K + "Seconds", w[i] = K + "Milliseconds", w)[x], W = x === u ? this.$D + (L - this.$W) : L;
5112
+ if (x === _ || x === v) {
5113
5113
  var X = this.clone().set(g, 1);
5114
5114
  X.$d[U](W), X.init(), this.$d = X.set(g, Math.min(this.$D, X.daysInMonth())).$d;
5115
5115
  } else
@@ -5128,8 +5128,8 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5128
5128
  };
5129
5129
  if (K === _)
5130
5130
  return this.set(_, this.$M + M);
5131
- if (K === b)
5132
- return this.set(b, this.$y + M);
5131
+ if (K === v)
5132
+ return this.set(v, this.$y + M);
5133
5133
  if (K === u)
5134
5134
  return U(1);
5135
5135
  if (K === c)
@@ -5212,7 +5212,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5212
5212
  return F.m(K, W);
5213
5213
  };
5214
5214
  switch (U) {
5215
- case b:
5215
+ case v:
5216
5216
  x = se() / 12;
5217
5217
  break;
5218
5218
  case _:
@@ -5261,7 +5261,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
5261
5261
  return this.$d.toUTCString();
5262
5262
  }, D;
5263
5263
  }(), I = B.prototype;
5264
- return C.prototype = I, [["$ms", i], ["$s", s], ["$m", l], ["$H", o], ["$W", u], ["$M", _], ["$y", b], ["$D", g]].forEach(function(D) {
5264
+ return C.prototype = I, [["$ms", i], ["$s", s], ["$m", l], ["$H", o], ["$W", u], ["$M", _], ["$y", v], ["$D", g]].forEach(function(D) {
5265
5265
  I[D[1]] = function(P) {
5266
5266
  return this.$g(P, D[0], D[1]);
5267
5267
  };
@@ -5309,7 +5309,7 @@ function filesize(e, {
5309
5309
  standard: c = EMPTY,
5310
5310
  output: _ = STRING,
5311
5311
  fullform: d = !1,
5312
- fullforms: b = [],
5312
+ fullforms: v = [],
5313
5313
  exponent: g = -1,
5314
5314
  roundingMethod: m = ROUND,
5315
5315
  precision: p = 0
@@ -5334,7 +5334,7 @@ function filesize(e, {
5334
5334
  const C = l || PERIOD, F = k[0].toString().split(C), B = F[1] || EMPTY, I = B.length, D = n - I;
5335
5335
  k[0] = `${F[0]}${C}${B.padEnd(I + D, ZERO)}`;
5336
5336
  }
5337
- return A && (k[1] = b[T] ? b[T] : STRINGS.fullform[c][T] + (t ? BIT : BYTE) + (k[0] === 1 ? EMPTY : S)), _ === ARRAY ? k : _ === OBJECT ? {
5337
+ return A && (k[1] = v[T] ? v[T] : STRINGS.fullform[c][T] + (t ? BIT : BYTE) + (k[0] === 1 ? EMPTY : S)), _ === ARRAY ? k : _ === OBJECT ? {
5338
5338
  value: k[0],
5339
5339
  symbol: k[1],
5340
5340
  exponent: T,
@@ -5614,8 +5614,8 @@ class KgUtil {
5614
5614
  marginRight: "6px"
5615
5615
  }
5616
5616
  }, [(l = r.errorFields) == null ? void 0 : l.map((u) => u.errors.map((c, _) => {
5617
- var d, b;
5618
- return createVNode("div", null, [_ === 0 ? s ? s.t((d = u.name) == null ? void 0 : d[0]).value : (b = u.name) == null ? void 0 : b[0] : " ", createTextVNode(":")]);
5617
+ var d, v;
5618
+ return createVNode("div", null, [_ === 0 ? s ? s.t((d = u.name) == null ? void 0 : d[0]).value : (v = u.name) == null ? void 0 : v[0] : " ", createTextVNode(":")]);
5619
5619
  }))]), createVNode("div", {
5620
5620
  style: {
5621
5621
  flex: "1 1 0%",
@@ -5689,7 +5689,7 @@ class KgVarUtil {
5689
5689
  return a;
5690
5690
  }
5691
5691
  static transformFormItemDefaultValue(t) {
5692
- var b, g, m, p, T;
5692
+ var v, g, m, p, T;
5693
5693
  const {
5694
5694
  formID: a,
5695
5695
  varName: r,
@@ -5705,7 +5705,7 @@ class KgVarUtil {
5705
5705
  u = u.replace("{NOW}", n().format("YYYY-MM-DD HH:mm:ss"));
5706
5706
  break;
5707
5707
  case "{USER}":
5708
- u = u.replace("{USER}", (p = (m = (g = (b = l.store).getUseUserStore) == null ? void 0 : g.call(b)) == null ? void 0 : m.userInfo) == null ? void 0 : p.username);
5708
+ u = u.replace("{USER}", (p = (m = (g = (v = l.store).getUseUserStore) == null ? void 0 : g.call(v)) == null ? void 0 : m.userInfo) == null ? void 0 : p.username);
5709
5709
  break;
5710
5710
  case "{ROW}":
5711
5711
  u = u.replace("{ROW}", (T = o.kgTable.selectedRow.value) == null ? void 0 : T[r]);
@@ -5943,62 +5943,62 @@ class KgVarUtil {
5943
5943
  }
5944
5944
  static getDynamicQueryOperatorSelectOptions(t) {
5945
5945
  let a, r, n, i, s, l, o, u, c, _, d;
5946
- const b = useKg();
5946
+ const v = useKg();
5947
5947
  let g = KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT;
5948
5948
  return t && (g = t), createVNode(Fragment, null, [[KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT_PASSWORD, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT_NUMBER, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.TEXT_AREA, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATE, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_TIME, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATETIME, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_WEEK, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_MONTH, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_YEAR, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.CHECKBOX, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.SWITCH, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.SELECT, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.RADIO_GROUP].includes(g) && createVNode(Fragment, null, [createVNode(Select.Option, {
5949
- title: b.t("kg.KgSearchConfigModal.EQ-desc"),
5949
+ title: v.t("kg.KgSearchConfigModal.EQ-desc"),
5950
5950
  value: KG_DYNAMIC_QUERY_OPERATOR.EQ
5951
- }, _isSlot$g(a = b.t("kg.KgSearchConfigModal.EQ")) ? a : {
5951
+ }, _isSlot$g(a = v.t("kg.KgSearchConfigModal.EQ")) ? a : {
5952
5952
  default: () => [a]
5953
5953
  }), createVNode(Select.Option, {
5954
- title: b.t("kg.KgSearchConfigModal.NE-desc"),
5954
+ title: v.t("kg.KgSearchConfigModal.NE-desc"),
5955
5955
  value: KG_DYNAMIC_QUERY_OPERATOR.NE
5956
- }, _isSlot$g(r = b.t("kg.KgSearchConfigModal.NE")) ? r : {
5956
+ }, _isSlot$g(r = v.t("kg.KgSearchConfigModal.NE")) ? r : {
5957
5957
  default: () => [r]
5958
5958
  })]), [KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT_NUMBER, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATE, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_TIME, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATETIME, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_WEEK, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_MONTH, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_YEAR].includes(g) && createVNode(Fragment, null, [createVNode(Select.Option, {
5959
- title: b.t("kg.KgSearchConfigModal.GT-desc"),
5959
+ title: v.t("kg.KgSearchConfigModal.GT-desc"),
5960
5960
  value: KG_DYNAMIC_QUERY_OPERATOR.GT
5961
- }, _isSlot$g(n = b.t("kg.KgSearchConfigModal.GT")) ? n : {
5961
+ }, _isSlot$g(n = v.t("kg.KgSearchConfigModal.GT")) ? n : {
5962
5962
  default: () => [n]
5963
5963
  }), createVNode(Select.Option, {
5964
- title: b.t("kg.KgSearchConfigModal.GTE-desc"),
5964
+ title: v.t("kg.KgSearchConfigModal.GTE-desc"),
5965
5965
  value: KG_DYNAMIC_QUERY_OPERATOR.GTE
5966
- }, _isSlot$g(i = b.t("kg.KgSearchConfigModal.GTE")) ? i : {
5966
+ }, _isSlot$g(i = v.t("kg.KgSearchConfigModal.GTE")) ? i : {
5967
5967
  default: () => [i]
5968
5968
  }), createVNode(Select.Option, {
5969
- title: b.t("kg.KgSearchConfigModal.LT-desc"),
5969
+ title: v.t("kg.KgSearchConfigModal.LT-desc"),
5970
5970
  value: KG_DYNAMIC_QUERY_OPERATOR.LT
5971
- }, _isSlot$g(s = b.t("kg.KgSearchConfigModal.LT")) ? s : {
5971
+ }, _isSlot$g(s = v.t("kg.KgSearchConfigModal.LT")) ? s : {
5972
5972
  default: () => [s]
5973
5973
  }), createVNode(Select.Option, {
5974
- title: b.t("kg.KgSearchConfigModal.LTE-desc"),
5974
+ title: v.t("kg.KgSearchConfigModal.LTE-desc"),
5975
5975
  value: KG_DYNAMIC_QUERY_OPERATOR.LTE
5976
- }, _isSlot$g(l = b.t("kg.KgSearchConfigModal.LTE")) ? l : {
5976
+ }, _isSlot$g(l = v.t("kg.KgSearchConfigModal.LTE")) ? l : {
5977
5977
  default: () => [l]
5978
5978
  })]), [KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.INPUT_PASSWORD, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.TEXT_AREA].includes(g) && createVNode(Fragment, null, [createVNode(Select.Option, {
5979
- title: b.t("kg.KgSearchConfigModal.START_WITH-desc"),
5979
+ title: v.t("kg.KgSearchConfigModal.START_WITH-desc"),
5980
5980
  value: KG_DYNAMIC_QUERY_OPERATOR.START_WITH
5981
- }, _isSlot$g(o = b.t("kg.KgSearchConfigModal.START_WITH")) ? o : {
5981
+ }, _isSlot$g(o = v.t("kg.KgSearchConfigModal.START_WITH")) ? o : {
5982
5982
  default: () => [o]
5983
5983
  }), createVNode(Select.Option, {
5984
- title: b.t("kg.KgSearchConfigModal.END_WITH-desc"),
5984
+ title: v.t("kg.KgSearchConfigModal.END_WITH-desc"),
5985
5985
  value: KG_DYNAMIC_QUERY_OPERATOR.END_WITH
5986
- }, _isSlot$g(u = b.t("kg.KgSearchConfigModal.END_WITH")) ? u : {
5986
+ }, _isSlot$g(u = v.t("kg.KgSearchConfigModal.END_WITH")) ? u : {
5987
5987
  default: () => [u]
5988
5988
  }), createVNode(Select.Option, {
5989
- title: b.t("kg.KgSearchConfigModal.CONTAIN-desc"),
5989
+ title: v.t("kg.KgSearchConfigModal.CONTAIN-desc"),
5990
5990
  value: KG_DYNAMIC_QUERY_OPERATOR.CONTAIN
5991
- }, _isSlot$g(c = b.t("kg.KgSearchConfigModal.CONTAIN")) ? c : {
5991
+ }, _isSlot$g(c = v.t("kg.KgSearchConfigModal.CONTAIN")) ? c : {
5992
5992
  default: () => [c]
5993
5993
  })]), [KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.CHECKBOX_GROUP, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.SELECT_MULTIPLE].includes(g) && createVNode(Select.Option, {
5994
- title: b.t("kg.KgSearchConfigModal.IN-desc"),
5994
+ title: v.t("kg.KgSearchConfigModal.IN-desc"),
5995
5995
  value: KG_DYNAMIC_QUERY_OPERATOR.IN
5996
- }, _isSlot$g(_ = b.t("kg.KgSearchConfigModal.IN")) ? _ : {
5996
+ }, _isSlot$g(_ = v.t("kg.KgSearchConfigModal.IN")) ? _ : {
5997
5997
  default: () => [_]
5998
5998
  }), [KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATE_RANGE, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_TIME_RANGE, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE.DATE_DATETIME_RANGE].includes(g) && createVNode(Select.Option, {
5999
- title: b.t("kg.KgSearchConfigModal.BETWEEN-desc"),
5999
+ title: v.t("kg.KgSearchConfigModal.BETWEEN-desc"),
6000
6000
  value: KG_DYNAMIC_QUERY_OPERATOR.BETWEEN
6001
- }, _isSlot$g(d = b.t("kg.KgSearchConfigModal.BETWEEN")) ? d : {
6001
+ }, _isSlot$g(d = v.t("kg.KgSearchConfigModal.BETWEEN")) ? d : {
6002
6002
  default: () => [d]
6003
6003
  })]);
6004
6004
  }
@@ -6024,7 +6024,7 @@ class KgVarUtil {
6024
6024
  sql: "",
6025
6025
  whereSql: ""
6026
6026
  };
6027
- const o = ["pageNo", "pageSize", "column", "order"], u = useKg(), c = n ? useKgVar(n) : null, _ = r ? useKgVar(r) : null, d = r ? (E = _ == null ? void 0 : _.kgSearch) == null ? void 0 : E.dynamicQueryOperatorModel.value : i, b = {};
6027
+ const o = ["pageNo", "pageSize", "column", "order"], u = useKg(), c = n ? useKgVar(n) : null, _ = r ? useKgVar(r) : null, d = r ? (E = _ == null ? void 0 : _.kgSearch) == null ? void 0 : E.dynamicQueryOperatorModel.value : i, v = {};
6028
6028
  Object.keys(l).sort().forEach((A) => {
6029
6029
  var B, I, D, P, M, L;
6030
6030
  if (o.includes(A) || A.endsWith("_obj"))
@@ -6166,7 +6166,7 @@ class KgVarUtil {
6166
6166
  break;
6167
6167
  }
6168
6168
  }
6169
- b[A] = x;
6169
+ v[A] = x;
6170
6170
  break;
6171
6171
  }
6172
6172
  case (!!s && isArray$1(C) && C.length === 2 && s.isDayjs(C[0]) && s.isDayjs(C[1])): {
@@ -6199,16 +6199,16 @@ class KgVarUtil {
6199
6199
  break;
6200
6200
  }
6201
6201
  }
6202
- U && (K += ` AND (${y} >= N'${U}')`), W && (K += ` AND (${y} < N'${W}')`), b[A] = K;
6202
+ U && (K += ` AND (${y} >= N'${U}')`), W && (K += ` AND (${y} < N'${W}')`), v[A] = K;
6203
6203
  break;
6204
6204
  }
6205
6205
  case Array.isArray(C): {
6206
6206
  if (C.length === 0) {
6207
- b[A] = void 0;
6207
+ v[A] = void 0;
6208
6208
  break;
6209
6209
  }
6210
6210
  const w = C.map((x) => `N'${String(x)}'`).join(", ");
6211
- b[A] = ` AND (${y} IN (${w}))`;
6211
+ v[A] = ` AND (${y} IN (${w}))`;
6212
6212
  break;
6213
6213
  }
6214
6214
  case isObjectLike(C):
@@ -6217,7 +6217,7 @@ class KgVarUtil {
6217
6217
  }), new Error("\u4E0D\u652F\u6301\u7684\u53C2\u6570\u7C7B\u578B.");
6218
6218
  case typeof C == "string": {
6219
6219
  if (C.trim() === "") {
6220
- b[A] = void 0;
6220
+ v[A] = void 0;
6221
6221
  break;
6222
6222
  }
6223
6223
  let w = KgUtil.parseParamFromString(C);
@@ -6244,7 +6244,7 @@ class KgVarUtil {
6244
6244
  break;
6245
6245
  }
6246
6246
  }
6247
- b[A] = w;
6247
+ v[A] = w;
6248
6248
  break;
6249
6249
  }
6250
6250
  case typeof C == "number": {
@@ -6276,7 +6276,7 @@ class KgVarUtil {
6276
6276
  break;
6277
6277
  }
6278
6278
  }
6279
- b[A] = w;
6279
+ v[A] = w;
6280
6280
  break;
6281
6281
  }
6282
6282
  case typeof C == "boolean": {
@@ -6292,16 +6292,16 @@ class KgVarUtil {
6292
6292
  break;
6293
6293
  }
6294
6294
  }
6295
- b[A] = w;
6295
+ v[A] = w;
6296
6296
  break;
6297
6297
  }
6298
6298
  default: {
6299
- b[A] = C;
6299
+ v[A] = C;
6300
6300
  break;
6301
6301
  }
6302
6302
  }
6303
6303
  });
6304
- let m = `WHERE (1 = 1)${reduce(b, (A, V, y) => {
6304
+ let m = `WHERE (1 = 1)${reduce(v, (A, V, y) => {
6305
6305
  var F, B, I, D;
6306
6306
  const C = r ? (F = _ == null ? void 0 : _.store) == null ? void 0 : F.getVarProfileDetail(r, y) : null;
6307
6307
  return (C == null ? void 0 : C.exclude_from_where_sql_flag) === 1 || !C && Object.keys(KgVarUtil.parseRequestParamsToJSON((D = (I = (B = c == null ? void 0 : c.varGridConfig) == null ? void 0 : B.value) == null ? void 0 : I.cmd_prm) != null ? D : "")).includes(y) || !V ? A : A + V;
@@ -6467,8 +6467,8 @@ function createOptionsStore(e, t, a, r) {
6467
6467
  const c = process.env.NODE_ENV !== "production" && r ? toRefs(ref(n ? n() : {}).value) : toRefs(a.state.value[e]);
6468
6468
  return assign$1(c, i, Object.keys(s || {}).reduce((_, d) => (_[d] = markRaw(computed(() => {
6469
6469
  setActivePinia(a);
6470
- const b = a._s.get(e);
6471
- return s[d].call(b, b);
6470
+ const v = a._s.get(e);
6471
+ return s[d].call(v, v);
6472
6472
  })), _), {}));
6473
6473
  }
6474
6474
  return o = createSetupStore(e, u, t, a, r), o.$reset = function() {
@@ -6487,23 +6487,23 @@ function createSetupStore(e, t, a = {}, r, n) {
6487
6487
  deep: !0
6488
6488
  };
6489
6489
  process.env.NODE_ENV !== "production" && !isVue2 && (o.onTrigger = (V) => {
6490
- u ? b = V : u == !1 && !R._hotUpdating && (Array.isArray(b) ? b.push(V) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
6490
+ u ? v = V : u == !1 && !R._hotUpdating && (Array.isArray(v) ? v.push(V) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
6491
6491
  });
6492
- let u, c, _ = markRaw([]), d = markRaw([]), b;
6492
+ let u, c, _ = markRaw([]), d = markRaw([]), v;
6493
6493
  const g = r.state.value[e];
6494
6494
  !s && !g && (process.env.NODE_ENV === "production" || !n) && (r.state.value[e] = {});
6495
6495
  const m = ref({});
6496
6496
  function p(V) {
6497
6497
  let y;
6498
- u = c = !1, process.env.NODE_ENV !== "production" && (b = []), typeof V == "function" ? (V(r.state.value[e]), y = {
6498
+ u = c = !1, process.env.NODE_ENV !== "production" && (v = []), typeof V == "function" ? (V(r.state.value[e]), y = {
6499
6499
  type: MutationType.patchFunction,
6500
6500
  storeId: e,
6501
- events: b
6501
+ events: v
6502
6502
  }) : (mergeReactiveObjects(r.state.value[e], V), y = {
6503
6503
  type: MutationType.patchObject,
6504
6504
  payload: V,
6505
6505
  storeId: e,
6506
- events: b
6506
+ events: v
6507
6507
  }), nextTick().then(() => {
6508
6508
  u = !0;
6509
6509
  }), c = !0, triggerSubscriptions(_, y, r.state.value[e]);
@@ -6556,7 +6556,7 @@ function createSetupStore(e, t, a = {}, r, n) {
6556
6556
  (y.flush === "sync" ? c : u) && V({
6557
6557
  storeId: e,
6558
6558
  type: MutationType.direct,
6559
- events: b
6559
+ events: v
6560
6560
  }, B);
6561
6561
  }, assign$1({}, o, y)));
6562
6562
  return C;
@@ -7338,7 +7338,7 @@ function useMagicKeys(e = {}) {
7338
7338
  for (const m of c)
7339
7339
  _(m, !1);
7340
7340
  }
7341
- function b(m, p) {
7341
+ function v(m, p) {
7342
7342
  var T, E;
7343
7343
  const k = (T = m.key) == null ? void 0 : T.toLowerCase(), N = (E = m.code) == null ? void 0 : E.toLowerCase(), O = [N, k].filter(Boolean);
7344
7344
  N && (p ? s.add(m.code) : s.delete(m.code));
@@ -7348,7 +7348,7 @@ function useMagicKeys(e = {}) {
7348
7348
  s.delete(R), _(R, !1);
7349
7349
  }), u.clear()) : typeof m.getModifierState == "function" && m.getModifierState("Meta") && p && [...s, ...O].forEach((R) => u.add(R));
7350
7350
  }
7351
- a && (useEventListener(a, "keydown", (m) => (b(m, !0), i(m)), { passive: n }), useEventListener(a, "keyup", (m) => (b(m, !1), i(m)), { passive: n }), useEventListener("blur", d, { passive: !0 }), useEventListener("focus", d, { passive: !0 }));
7351
+ a && (useEventListener(a, "keydown", (m) => (v(m, !0), i(m)), { passive: n }), useEventListener(a, "keyup", (m) => (v(m, !1), i(m)), { passive: n }), useEventListener("blur", d, { passive: !0 }), useEventListener("focus", d, { passive: !0 }));
7352
7352
  const g = new Proxy(o, {
7353
7353
  get(m, p, T) {
7354
7354
  if (typeof p != "string")
@@ -7402,7 +7402,7 @@ function useDragToMove(e) {
7402
7402
  }), o = computed(() => {
7403
7403
  var B, I;
7404
7404
  return (I = (B = s.value) == null ? void 0 : B.querySelector(".ant-modal-header")) != null ? I : null;
7405
- }), u = 0, c = 0, _ = 0, d = 0, b = 0, g = 0, m = 0, p = 0, T = {
7405
+ }), u = 0, c = 0, _ = 0, d = 0, v = 0, g = 0, m = 0, p = 0, T = {
7406
7406
  remove: () => {
7407
7407
  }
7408
7408
  }, E = {
@@ -7428,13 +7428,13 @@ function useDragToMove(e) {
7428
7428
  } = B != null ? B : {};
7429
7429
  if (!l.value)
7430
7430
  return;
7431
- let D = I.clientX - b, P = I.clientY - g;
7431
+ let D = I.clientX - v, P = I.clientY - g;
7432
7432
  -D > u ? D = -u : D > c && (D = c), -P > _ ? P = -_ : P > d && (P = d);
7433
7433
  const M = m + D, L = p + P;
7434
7434
  l.value.style.left = `${M}px`, l.value.style.top = `${L}px`;
7435
7435
  }
7436
7436
  function R(B) {
7437
- !B || !s.value || !l.value || !o.value || (document.body.classList.add("kg-modal-dragging"), b = B.clientX, g = B.clientY, u = l.value.offsetLeft, c = n.value - l.value.offsetLeft - o.value.offsetWidth - KG_MODAL_BORDER_WIDTH * 2, _ = l.value.offsetTop, d = i.value - l.value.offsetTop - o.value.offsetHeight - KG_MODAL_BORDER_WIDTH, m = Number(getComputedStyle(l.value).left.replace(/px/g, "")), p = Number(getComputedStyle(l.value).top.replace(/px/g, "")), T = k(document.documentElement, "mousemove", (I) => A({
7437
+ !B || !s.value || !l.value || !o.value || (document.body.classList.add("kg-modal-dragging"), v = B.clientX, g = B.clientY, u = l.value.offsetLeft, c = n.value - l.value.offsetLeft - o.value.offsetWidth - KG_MODAL_BORDER_WIDTH * 2, _ = l.value.offsetTop, d = i.value - l.value.offsetTop - o.value.offsetHeight - KG_MODAL_BORDER_WIDTH, m = Number(getComputedStyle(l.value).left.replace(/px/g, "")), p = Number(getComputedStyle(l.value).top.replace(/px/g, "")), T = k(document.documentElement, "mousemove", (I) => A({
7438
7438
  event: I
7439
7439
  })), E = k(document.documentElement, "mouseup", (I) => V({
7440
7440
  event: I
@@ -7469,7 +7469,7 @@ function useDragToResize(e) {
7469
7469
  var M, L;
7470
7470
  return (L = (M = u.value) == null ? void 0 : M.querySelector(".ant-modal-footer")) != null ? L : null;
7471
7471
  });
7472
- const d = ref(t.width !== void 0 ? t.width : "80%"), b = computed(() => {
7472
+ const d = ref(t.width !== void 0 ? t.width : "80%"), v = computed(() => {
7473
7473
  var L;
7474
7474
  const M = (L = a.value.kgMinWidth) != null ? L : l;
7475
7475
  return Math.min(M, n.value);
@@ -7523,7 +7523,7 @@ function useDragToResize(e) {
7523
7523
  const {
7524
7524
  event: L
7525
7525
  } = M != null ? M : {}, w = L.pageX;
7526
- let x = Math.min(g.value, Math.max(b.value, T + w - k));
7526
+ let x = Math.min(g.value, Math.max(v.value, T + w - k));
7527
7527
  u.value.offsetLeft + x > n.value && (x = n.value - u.value.offsetLeft);
7528
7528
  const K = u.value.offsetWidth, W = Number(getComputedStyle(u.value).left.replace(/px/g, "")) + (x - K) / 2;
7529
7529
  x !== K && (d.value = `${x}px`, u.value.style.width = `${x}px`, u.value.style.left = `${W}px`);
@@ -7881,7 +7881,7 @@ const getProps$H = () => ({
7881
7881
  width: Math.min(g.value, Math.max(m.value, e.kgHeight)) + "px"
7882
7882
  };
7883
7883
  }
7884
- }), b = computed(() => {
7884
+ }), v = computed(() => {
7885
7885
  let A = "";
7886
7886
  switch (e.kgClass && (A += `${e.kgClass} `), A += "kg-resizable", e.kgDisabled && (A += " kg-resizable--disabled"), e.kgType) {
7887
7887
  case "left":
@@ -7954,7 +7954,7 @@ const getProps$H = () => ({
7954
7954
  var A;
7955
7955
  return createVNode("div", {
7956
7956
  ref: r,
7957
- class: b.value,
7957
+ class: v.value,
7958
7958
  style: d.value
7959
7959
  }, [createVNode("div", {
7960
7960
  class: "kg-resizable-handle",
@@ -8069,7 +8069,7 @@ const getProps$H = () => ({
8069
8069
  var p, T;
8070
8070
  return (T = (p = c == null ? void 0 : c.value) == null ? void 0 : p.ret_fld) != null ? T : "";
8071
8071
  });
8072
- function b() {
8072
+ function v() {
8073
8073
  a("update:visible", !1);
8074
8074
  }
8075
8075
  async function g() {
@@ -8126,7 +8126,7 @@ const getProps$H = () => ({
8126
8126
  disabled: ((T = (p = u.kgTable.selectedRows.value) == null ? void 0 : p.length) != null ? T : 0) === 0
8127
8127
  },
8128
8128
  wrapClassName: "kg-form-item--addon--lookup--modal",
8129
- onCancel: b,
8129
+ onCancel: v,
8130
8130
  onOk: g
8131
8131
  }, {
8132
8132
  default: () => [createVNode(KgVar, {
@@ -8292,7 +8292,7 @@ function _useFormRules(e) {
8292
8292
  }
8293
8293
  case UPPER_CASE_LETTER: {
8294
8294
  y.push({
8295
- validator: b
8295
+ validator: v
8296
8296
  }), y.push({
8297
8297
  validator: E
8298
8298
  }), y.push({
@@ -8345,7 +8345,7 @@ function _useFormRules(e) {
8345
8345
  function d(O, R) {
8346
8346
  return u(R) || /^[A-Za-z]*$/.test(R) ? Promise.resolve() : Promise.reject(t.t("kg.KgFormItem.formValidationMessageForInvalidLetter"));
8347
8347
  }
8348
- function b(O, R) {
8348
+ function v(O, R) {
8349
8349
  return u(R) || /^[A-Z]*$/.test(R) ? Promise.resolve() : Promise.reject(t.t("kg.KgFormItem.formValidationMessageForInvalidUpperLetter"));
8350
8350
  }
8351
8351
  function g(O, R) {
@@ -8448,7 +8448,7 @@ function useKgFormItemSelect(e) {
8448
8448
  }), d = computed(() => {
8449
8449
  var p, T;
8450
8450
  return (T = (p = s.value) == null ? void 0 : p.lbl_clm) != null ? T : "";
8451
- }), b = computed(() => {
8451
+ }), v = computed(() => {
8452
8452
  var T;
8453
8453
  let p = KgVarUtil.parseRequestParamsToJSON((T = s.value) == null ? void 0 : T.cmd_prm);
8454
8454
  return p = mapValues(p, (E) => {
@@ -8471,7 +8471,7 @@ function useKgFormItemSelect(e) {
8471
8471
  const T = (O = s.value) == null ? void 0 : O.data_source_type, E = (A = (R = s.value) == null ? void 0 : R.val_clm) != null ? A : "", k = (y = (V = s.value) == null ? void 0 : V.lbl_clm) != null ? y : "", N = ref({});
8472
8472
  try {
8473
8473
  u.value = !0;
8474
- const w = KgUtil.parseParams(b.value, null, a);
8474
+ const w = KgUtil.parseParams(v.value, null, a);
8475
8475
  if (!await i.kgForm.store.emit(i.formID, "selectBeforeRequest", {
8476
8476
  context: (C = t.kgContext) != null ? C : KG_FORM_CONTEXT.SUBMIT,
8477
8477
  params: w,
@@ -8600,7 +8600,7 @@ function useKgFormItemSelect(e) {
8600
8600
  isDatasRequesting: u,
8601
8601
  lbl_clm: d,
8602
8602
  requestDatas: g,
8603
- requestParams: b,
8603
+ requestParams: v,
8604
8604
  transformDatas: m,
8605
8605
  val_clm: _,
8606
8606
  varConfigPossibility: s
@@ -8627,7 +8627,7 @@ const KgFormItemCheckboxGroup = defineComponent({
8627
8627
  requestDatas: _
8628
8628
  } = useKgFormItemSelect({
8629
8629
  props: e
8630
- }), d = ref(!1), b = ref(!1);
8630
+ }), d = ref(!1), v = ref(!1);
8631
8631
  watch(o, () => g(), {
8632
8632
  immediate: !0
8633
8633
  }), watch([() => e.value, c], ([T, E]) => {
@@ -8641,13 +8641,13 @@ const KgFormItemCheckboxGroup = defineComponent({
8641
8641
  }
8642
8642
  switch (!0) {
8643
8643
  case (k > 0 && k === E.length):
8644
- d.value = !0, b.value = !1;
8644
+ d.value = !0, v.value = !1;
8645
8645
  break;
8646
8646
  case (k > 0 && k !== E.length):
8647
- d.value = !1, b.value = !0;
8647
+ d.value = !1, v.value = !0;
8648
8648
  break;
8649
8649
  default:
8650
- d.value = !1, b.value = !1;
8650
+ d.value = !1, v.value = !1;
8651
8651
  break;
8652
8652
  }
8653
8653
  }, {
@@ -8659,7 +8659,7 @@ const KgFormItemCheckboxGroup = defineComponent({
8659
8659
  }
8660
8660
  function m(T) {
8661
8661
  var E, k, N;
8662
- T.target.checked ? p((k = (E = c.value) == null ? void 0 : E.map((O) => O[u.value])) != null ? k : []) : p([]), b.value = !1, (N = i.value) == null || N.validate(e.kgVarName);
8662
+ T.target.checked ? p((k = (E = c.value) == null ? void 0 : E.map((O) => O[u.value])) != null ? k : []) : p([]), v.value = !1, (N = i.value) == null || N.validate(e.kgVarName);
8663
8663
  }
8664
8664
  function p(T) {
8665
8665
  var E, k, N;
@@ -8682,7 +8682,7 @@ const KgFormItemCheckboxGroup = defineComponent({
8682
8682
  default: () => [createVNode(Checkbox, {
8683
8683
  checked: d.value,
8684
8684
  "onUpdate:checked": (k) => d.value = k,
8685
- indeterminate: b.value,
8685
+ indeterminate: v.value,
8686
8686
  onChange: m
8687
8687
  }, _isSlot$e(T = r.t("kg.selectAll")) ? T : {
8688
8688
  default: () => [T]
@@ -8773,7 +8773,7 @@ const KgFormItemCheckboxGroup = defineComponent({
8773
8773
  return n.isDayjs(_) || (_ = n(_)), n.isDayjs(d) || (d = n(d)), _.isValid() && (c[0] = _), d.isValid() && (c[1] = d), c;
8774
8774
  });
8775
8775
  function o(u) {
8776
- var _, d, b;
8776
+ var _, d, v;
8777
8777
  const c = u ? [n(u[0]), n(u[1])] : void 0;
8778
8778
  a("update:value", c), i.kgForm.store.emit(i.kgForm.formID, "change", {
8779
8779
  context: (_ = e.kgContext) != null ? _ : KG_FORM_CONTEXT.SUBMIT,
@@ -8783,7 +8783,7 @@ const KgFormItemCheckboxGroup = defineComponent({
8783
8783
  isUpdating: i.isUpdating.value,
8784
8784
  value: c,
8785
8785
  varName: (d = e.kgVarName) != null ? d : "",
8786
- variableName: (b = e.kgVarName) != null ? b : ""
8786
+ variableName: (v = e.kgVarName) != null ? v : ""
8787
8787
  });
8788
8788
  }
8789
8789
  return () => {
@@ -8959,12 +8959,12 @@ const KgFormItemRadioGroup = defineComponent({
8959
8959
  });
8960
8960
  async function c() {
8961
8961
  var d;
8962
- !((d = i.value) != null && d.id) || (await u(), o.value.find((b) => b[l.value] === e.value) || a("update:value", void 0));
8962
+ !((d = i.value) != null && d.id) || (await u(), o.value.find((v) => v[l.value] === e.value) || a("update:value", void 0));
8963
8963
  }
8964
8964
  function _(d) {
8965
- var b, g, m;
8965
+ var v, g, m;
8966
8966
  a("update:value", d), r.kgForm.store.emit(r.kgForm.formID, "change", {
8967
- context: (b = e.kgContext) != null ? b : KG_FORM_CONTEXT.SUBMIT,
8967
+ context: (v = e.kgContext) != null ? v : KG_FORM_CONTEXT.SUBMIT,
8968
8968
  isCopying: r.isCopying.value,
8969
8969
  isCreating: r.isCreating.value,
8970
8970
  isDeleting: r.isDeleting.value,
@@ -8984,18 +8984,18 @@ const KgFormItemRadioGroup = defineComponent({
8984
8984
  }, {
8985
8985
  default: () => [createVNode(Row, {
8986
8986
  gutter: 12
8987
- }, _isSlot$d(d = o.value.map((b) => {
8987
+ }, _isSlot$d(d = o.value.map((v) => {
8988
8988
  var g, m;
8989
8989
  return createVNode(Col, {
8990
8990
  span: (m = (g = n.value) == null ? void 0 : g.span) != null ? m : 24
8991
8991
  }, {
8992
8992
  default: () => [createVNode(Radio, {
8993
- "kg-value": b[l.value],
8994
- value: b[l.value]
8993
+ "kg-value": v[l.value],
8994
+ value: v[l.value]
8995
8995
  }, {
8996
8996
  default: () => {
8997
8997
  var p, T;
8998
- return [b[(T = (p = i.value) == null ? void 0 : p.lbl_clm) != null ? T : ""]];
8998
+ return [v[(T = (p = i.value) == null ? void 0 : p.lbl_clm) != null ? T : ""]];
8999
8999
  }
9000
9000
  })]
9001
9001
  });
@@ -9033,7 +9033,7 @@ const KgFormItemRadioGroup = defineComponent({
9033
9033
  isDatasRequesting: c,
9034
9034
  datas: _,
9035
9035
  requestDatas: d,
9036
- requestParams: b
9036
+ requestParams: v
9037
9037
  } = useKgFormItemSelect({
9038
9038
  props: e
9039
9039
  }), g = computed(() => {
@@ -9041,7 +9041,7 @@ const KgFormItemRadioGroup = defineComponent({
9041
9041
  let E = !0;
9042
9042
  return e.kgAllowClear !== void 0 ? E = e.kgAllowClear : isNil((k = s.value) == null ? void 0 : k.allowClear) || (E = (N = s.value) == null ? void 0 : N.allowClear), E;
9043
9043
  });
9044
- watch(b, () => {
9044
+ watch(v, () => {
9045
9045
  m();
9046
9046
  }, {
9047
9047
  immediate: !0
@@ -9308,7 +9308,7 @@ const KgFormItem = defineComponent({
9308
9308
  isFormRulesChange: _
9309
9309
  } = _useFormRules(e), {
9310
9310
  controlType: d
9311
- } = useKgFormItem(e), b = computed(() => {
9311
+ } = useKgFormItem(e), v = computed(() => {
9312
9312
  var D, P;
9313
9313
  if (n.isRetrieving.value)
9314
9314
  return !0;
@@ -9412,7 +9412,7 @@ const KgFormItem = defineComponent({
9412
9412
  a.value && (a.value[e.kgVarName] = P);
9413
9413
  },
9414
9414
  kgPlaceholder: g.value,
9415
- kgDisabled: b.value,
9415
+ kgDisabled: v.value,
9416
9416
  id: R.value
9417
9417
  };
9418
9418
  switch (d.value) {
@@ -9486,11 +9486,10 @@ const KgFormItem = defineComponent({
9486
9486
  return _.value ? null : createVNode(Form.Item, {
9487
9487
  name: e.kgVarName,
9488
9488
  rules: c.value,
9489
- validateFirst: !0,
9490
- htmlFor: R.value
9489
+ validateFirst: !0
9491
9490
  }, {
9492
9491
  default: () => createVNode(Fragment, null, [createVNode(KgFormItemAddonDynamicQueryOperator, {
9493
- kgDisabled: b.value,
9492
+ kgDisabled: v.value,
9494
9493
  kgControlType: d.value
9495
9494
  }, null), y(), F(), B()]),
9496
9495
  label: () => C()
@@ -9547,9 +9546,10 @@ const KgFormItem = defineComponent({
9547
9546
  }
9548
9547
  function C() {
9549
9548
  var I, D;
9550
- return e.kgShowLabel ? createVNode("div", null, [createVNode("div", null, [createVNode("div", {
9549
+ return e.kgShowLabel ? createVNode("div", null, [createVNode("div", null, [createVNode("label", {
9551
9550
  class: "title",
9552
- title: n.t(e.kgVarName).value
9551
+ title: n.t(e.kgVarName).value,
9552
+ for: R.value
9553
9553
  }, [n.t(e.kgVarName).value]), N.value && createVNode(Tooltip, {
9554
9554
  placement: "top",
9555
9555
  overlayClassName: "kg-form-item--tip--tooltip"
@@ -9570,7 +9570,7 @@ const KgFormItem = defineComponent({
9570
9570
  var I;
9571
9571
  return !s.value || !((I = s.value) != null && I.lkp_id) ? null : createVNode(Form.ItemRest, null, {
9572
9572
  default: () => [createVNode(KgFormItemAddonLookup, {
9573
- kgDisabled: b.value,
9573
+ kgDisabled: v.value,
9574
9574
  kgLookupID: s.value.lkp_id
9575
9575
  }, null)]
9576
9576
  });
@@ -9832,7 +9832,7 @@ function _useFormModel$1() {
9832
9832
  }
9833
9833
  const n = t.kgTable.selectedRow.value;
9834
9834
  r.forEach((i) => {
9835
- var l, o, u, c, _, d, b, g, m, p, T, E, k, N;
9835
+ var l, o, u, c, _, d, v, g, m, p, T, E, k, N;
9836
9836
  const s = (l = i.var_nam) != null ? l : "";
9837
9837
  switch (a.value[s] = void 0, !0) {
9838
9838
  case t.isCreating.value: {
@@ -9858,7 +9858,7 @@ function _useFormModel$1() {
9858
9858
  case t.isCopying.value: {
9859
9859
  a.value.id = n == null ? void 0 : n.id, a.value[s] = KgVarUtil.transformFormItemDefaultValue({
9860
9860
  $dayjs: e,
9861
- buttonVarName: (b = t.kgButton.currentButton.value) == null ? void 0 : b.var_nam,
9861
+ buttonVarName: (v = t.kgButton.currentButton.value) == null ? void 0 : v.var_nam,
9862
9862
  formID: t.formID,
9863
9863
  value: (m = (g = i.default_value) != null ? g : n == null ? void 0 : n[s]) != null ? m : void 0,
9864
9864
  varName: s
@@ -10007,7 +10007,7 @@ const getProps$B = () => ({
10007
10007
  const s = computed(() => i.isDeleting.value && i.kgSubmit.currentVarSubmitDetailsForKey.value.length === 0 && i.kgSubmit.currentVarSubmitDetailsForNotKey.value.length === 0), l = computed(() => i.kgSubmit.store.isLoading(i.formID)), o = computed(() => i.kgButton.isCurrentButtonRequesting.value || !!i.store.isCreatingRequesting(i.formID) || !!i.store.isUpdatingRequesting(i.formID) || !!i.store.isCopyingRequesting(i.formID) || !!i.store.isDeletingRequesting(i.formID)), u = computed(() => o.value || l.value), c = computed(() => l.value), _ = ref(!1), d = computed(() => {
10008
10008
  var q;
10009
10009
  return s.value ? SUBMIT_DEFAULT_MIN_WIDTH : (q = i.kgSubmit.currentVarSubmitConfig.value) == null ? void 0 : q.min_width;
10010
- }), b = computed(() => {
10010
+ }), v = computed(() => {
10011
10011
  var q, H;
10012
10012
  return s.value ? SUBMIT_DEFAULT_MIN_WIDTH : (H = (q = i.kgSubmit.currentVarSubmitConfig.value) == null ? void 0 : q.max_width) != null ? H : void 0;
10013
10013
  }), g = computed(() => {
@@ -10526,7 +10526,7 @@ const getProps$B = () => ({
10526
10526
  wrapClassName: R.value,
10527
10527
  kgFullHeight: !1,
10528
10528
  kgMinWidth: d.value,
10529
- kgMaxWidth: b.value,
10529
+ kgMaxWidth: v.value,
10530
10530
  kgMinHeight: g.value,
10531
10531
  kgMaxHeight: m.value,
10532
10532
  kgIsShowFullscreenButton: p.value,
@@ -10619,7 +10619,7 @@ const getProps$B = () => ({
10619
10619
  },
10620
10620
  getVarSubmitDetails() {
10621
10621
  return (e, t) => {
10622
- var u, c, _, d, b;
10622
+ var u, c, _, d, v;
10623
10623
  const { buttonType: a, buttonVarName: r, varName: n, isKey: i, isVisible: s } = t != null ? t : {};
10624
10624
  if (!e)
10625
10625
  return ____ERROR____("formID \u4E3A\u7A7A."), [];
@@ -10633,7 +10633,7 @@ const getProps$B = () => ({
10633
10633
  { formID: e, param: t }
10634
10634
  ), [];
10635
10635
  if (r === void 0 && a !== void 0) {
10636
- const g = (b = (d = (_ = l.store.varButtonMap.get(e)) == null ? void 0 : _.filter((m) => m.typ === a)) == null ? void 0 : d.map((m) => m.var_nam)) != null ? b : [];
10636
+ const g = (v = (d = (_ = l.store.varButtonMap.get(e)) == null ? void 0 : _.filter((m) => m.typ === a)) == null ? void 0 : d.map((m) => m.var_nam)) != null ? v : [];
10637
10637
  o = o.filter((m) => g.includes(m.button_var_name));
10638
10638
  }
10639
10639
  return n !== void 0 && (o = o.filter((g) => g.var_nam === n)), i !== void 0 && (o = o.filter((g) => g.key_flg === i)), s !== void 0 && (o = o.filter((g) => g.visible_flag === s)), o;
@@ -10757,8 +10757,8 @@ const getProps$B = () => ({
10757
10757
  if (c) {
10758
10758
  const d = (_ = this.getVarSubmitDetails(e, { buttonType: a, buttonVarName: l, varName: n })[0]) != null ? _ : null;
10759
10759
  d && setTimeout(() => {
10760
- o(), Object.entries(i).forEach(([b, g]) => {
10761
- b in d && (d[b] = g);
10760
+ o(), Object.entries(i).forEach(([v, g]) => {
10761
+ v in d && (d[v] = g);
10762
10762
  });
10763
10763
  });
10764
10764
  }
@@ -10970,20 +10970,20 @@ function useKgSubmit(e) {
10970
10970
  }
10971
10971
  class CreateVarDdaQuery {
10972
10972
  constructor(t) {
10973
- v(this, "frmId");
10974
- v(this, "sysPermissions");
10975
- v(this, "varButtons");
10976
- v(this, "varConfigDescriptions");
10977
- v(this, "varDda");
10978
- v(this, "varGridConfig");
10979
- v(this, "varGridDetails");
10980
- v(this, "varGridMaster");
10981
- v(this, "varProfileConfig");
10982
- v(this, "varProfileDetails");
10983
- v(this, "varProfileMaster");
10984
- v(this, "varSubmitConfigs");
10985
- v(this, "varSubmitDetails");
10986
- v(this, "varVariables");
10973
+ b(this, "frmId");
10974
+ b(this, "sysPermissions");
10975
+ b(this, "varButtons");
10976
+ b(this, "varConfigDescriptions");
10977
+ b(this, "varDda");
10978
+ b(this, "varGridConfig");
10979
+ b(this, "varGridDetails");
10980
+ b(this, "varGridMaster");
10981
+ b(this, "varProfileConfig");
10982
+ b(this, "varProfileDetails");
10983
+ b(this, "varProfileMaster");
10984
+ b(this, "varSubmitConfigs");
10985
+ b(this, "varSubmitDetails");
10986
+ b(this, "varVariables");
10987
10987
  keys(t != null ? t : {}).forEach((a) => {
10988
10988
  switch (a) {
10989
10989
  case "frmId":
@@ -11008,13 +11008,13 @@ class CreateVarDdaQuery {
11008
11008
  }
11009
11009
  class CreateVarGridMasterQuery {
11010
11010
  constructor(t) {
11011
- v(this, "def_flg");
11012
- v(this, "frm_id");
11013
- v(this, "grd_var_nam");
11014
- v(this, "grd_var_nam_dsc");
11015
- v(this, "grp_nam");
11016
- v(this, "usr_id");
11017
- v(this, "varGridDetails");
11011
+ b(this, "def_flg");
11012
+ b(this, "frm_id");
11013
+ b(this, "grd_var_nam");
11014
+ b(this, "grd_var_nam_dsc");
11015
+ b(this, "grp_nam");
11016
+ b(this, "usr_id");
11017
+ b(this, "varGridDetails");
11018
11018
  keys(t != null ? t : {}).forEach((a) => {
11019
11019
  switch (a) {
11020
11020
  case "def_flg":
@@ -11032,14 +11032,14 @@ class CreateVarGridMasterQuery {
11032
11032
  }
11033
11033
  class CreateVarProfileMasterQuery {
11034
11034
  constructor(t) {
11035
- v(this, "def_flg");
11036
- v(this, "dyn_flg");
11037
- v(this, "frm_id");
11038
- v(this, "grp_nam");
11039
- v(this, "prf_var_nam");
11040
- v(this, "prf_var_nam_dsc");
11041
- v(this, "usr_id");
11042
- v(this, "varProfileDetails");
11035
+ b(this, "def_flg");
11036
+ b(this, "dyn_flg");
11037
+ b(this, "frm_id");
11038
+ b(this, "grp_nam");
11039
+ b(this, "prf_var_nam");
11040
+ b(this, "prf_var_nam_dsc");
11041
+ b(this, "usr_id");
11042
+ b(this, "varProfileDetails");
11043
11043
  keys(t != null ? t : {}).forEach((a) => {
11044
11044
  switch (a) {
11045
11045
  case "def_flg":
@@ -11058,18 +11058,18 @@ class CreateVarProfileMasterQuery {
11058
11058
  }
11059
11059
  class Description {
11060
11060
  constructor(t) {
11061
- v(this, "codnam");
11062
- v(this, "codval");
11063
- v(this, "grpNam");
11064
- v(this, "id");
11065
- v(this, "lngDsc");
11066
- v(this, "localeId");
11067
- v(this, "modUsrCod");
11068
- v(this, "moddte");
11069
- v(this, "shortDsc");
11070
- v(this, "srtseq");
11071
- v(this, "sysDefFlg");
11072
- v(this, "version");
11061
+ b(this, "codnam");
11062
+ b(this, "codval");
11063
+ b(this, "grpNam");
11064
+ b(this, "id");
11065
+ b(this, "lngDsc");
11066
+ b(this, "localeId");
11067
+ b(this, "modUsrCod");
11068
+ b(this, "moddte");
11069
+ b(this, "shortDsc");
11070
+ b(this, "srtseq");
11071
+ b(this, "sysDefFlg");
11072
+ b(this, "version");
11073
11073
  keys(t != null ? t : {}).forEach((a) => {
11074
11074
  switch (a) {
11075
11075
  case "codnam":
@@ -11092,8 +11092,8 @@ class Description {
11092
11092
  }
11093
11093
  class DescriptionBatchQuery {
11094
11094
  constructor(t) {
11095
- v(this, "codeName");
11096
- v(this, "codeValues");
11095
+ b(this, "codeName");
11096
+ b(this, "codeValues");
11097
11097
  keys(t != null ? t : {}).forEach((a) => {
11098
11098
  switch (a) {
11099
11099
  case "codeName":
@@ -11106,7 +11106,7 @@ class DescriptionBatchQuery {
11106
11106
  }
11107
11107
  class GetResultSetMetadataFromSqlQuery$1 {
11108
11108
  constructor(t) {
11109
- v(this, "sql");
11109
+ b(this, "sql");
11110
11110
  keys(t != null ? t : {}).forEach((a) => {
11111
11111
  switch (a) {
11112
11112
  case "sql":
@@ -11118,11 +11118,11 @@ class GetResultSetMetadataFromSqlQuery$1 {
11118
11118
  }
11119
11119
  class IPage {
11120
11120
  constructor(t) {
11121
- v(this, "current");
11122
- v(this, "pages");
11123
- v(this, "records");
11124
- v(this, "size");
11125
- v(this, "total");
11121
+ b(this, "current");
11122
+ b(this, "pages");
11123
+ b(this, "records");
11124
+ b(this, "size");
11125
+ b(this, "total");
11126
11126
  keys(t != null ? t : {}).forEach((a) => {
11127
11127
  switch (a) {
11128
11128
  case "current":
@@ -11138,12 +11138,12 @@ class IPage {
11138
11138
  }
11139
11139
  class ResultSetMetadataColumn {
11140
11140
  constructor(t) {
11141
- v(this, "columnDesc");
11142
- v(this, "columnLabel");
11143
- v(this, "columnName");
11144
- v(this, "columnType");
11145
- v(this, "id");
11146
- v(this, "tableName");
11141
+ b(this, "columnDesc");
11142
+ b(this, "columnLabel");
11143
+ b(this, "columnName");
11144
+ b(this, "columnType");
11145
+ b(this, "id");
11146
+ b(this, "tableName");
11147
11147
  keys(t != null ? t : {}).forEach((a) => {
11148
11148
  switch (a) {
11149
11149
  case "columnDesc":
@@ -11160,7 +11160,7 @@ class ResultSetMetadataColumn {
11160
11160
  }
11161
11161
  class ResultSetMetadataFromSqlDTO {
11162
11162
  constructor(t) {
11163
- v(this, "columns");
11163
+ b(this, "columns");
11164
11164
  keys(t != null ? t : {}).forEach((a) => {
11165
11165
  switch (a) {
11166
11166
  case "columns":
@@ -11172,34 +11172,34 @@ class ResultSetMetadataFromSqlDTO {
11172
11172
  }
11173
11173
  class SysPermission {
11174
11174
  constructor(t) {
11175
- v(this, "alwaysShow");
11176
- v(this, "app");
11177
- v(this, "component");
11178
- v(this, "componentName");
11179
- v(this, "createBy");
11180
- v(this, "createTime");
11181
- v(this, "delFlag");
11182
- v(this, "description");
11183
- v(this, "hidden");
11184
- v(this, "hideTab");
11185
- v(this, "icon");
11186
- v(this, "id");
11187
- v(this, "internalOrExternal");
11188
- v(this, "keepAlive");
11189
- v(this, "leaf");
11190
- v(this, "menuType");
11191
- v(this, "name");
11192
- v(this, "parentId");
11193
- v(this, "perms");
11194
- v(this, "permsType");
11195
- v(this, "redirect");
11196
- v(this, "route");
11197
- v(this, "ruleFlag");
11198
- v(this, "sortNo");
11199
- v(this, "status");
11200
- v(this, "updateBy");
11201
- v(this, "updateTime");
11202
- v(this, "url");
11175
+ b(this, "alwaysShow");
11176
+ b(this, "app");
11177
+ b(this, "component");
11178
+ b(this, "componentName");
11179
+ b(this, "createBy");
11180
+ b(this, "createTime");
11181
+ b(this, "delFlag");
11182
+ b(this, "description");
11183
+ b(this, "hidden");
11184
+ b(this, "hideTab");
11185
+ b(this, "icon");
11186
+ b(this, "id");
11187
+ b(this, "internalOrExternal");
11188
+ b(this, "keepAlive");
11189
+ b(this, "leaf");
11190
+ b(this, "menuType");
11191
+ b(this, "name");
11192
+ b(this, "parentId");
11193
+ b(this, "perms");
11194
+ b(this, "permsType");
11195
+ b(this, "redirect");
11196
+ b(this, "route");
11197
+ b(this, "ruleFlag");
11198
+ b(this, "sortNo");
11199
+ b(this, "status");
11200
+ b(this, "updateBy");
11201
+ b(this, "updateTime");
11202
+ b(this, "url");
11203
11203
  keys(t != null ? t : {}).forEach((a) => {
11204
11204
  switch (a) {
11205
11205
  case "alwaysShow":
@@ -11238,36 +11238,36 @@ class SysPermission {
11238
11238
  }
11239
11239
  class SysPermissionTree {
11240
11240
  constructor(t) {
11241
- v(this, "alwaysShow");
11242
- v(this, "app");
11243
- v(this, "children");
11244
- v(this, "component");
11245
- v(this, "componentName");
11246
- v(this, "createBy");
11247
- v(this, "createTime");
11248
- v(this, "delFlag");
11249
- v(this, "description");
11250
- v(this, "hidden");
11251
- v(this, "icon");
11252
- v(this, "id");
11253
- v(this, "internalOrExternal");
11254
- v(this, "isLeaf");
11255
- v(this, "keepAlive");
11256
- v(this, "key");
11257
- v(this, "leaf");
11258
- v(this, "menuType");
11259
- v(this, "name");
11260
- v(this, "parentId");
11261
- v(this, "perms");
11262
- v(this, "permsType");
11263
- v(this, "redirect");
11264
- v(this, "route");
11265
- v(this, "sortNo");
11266
- v(this, "status");
11267
- v(this, "title");
11268
- v(this, "updateBy");
11269
- v(this, "updateTime");
11270
- v(this, "url");
11241
+ b(this, "alwaysShow");
11242
+ b(this, "app");
11243
+ b(this, "children");
11244
+ b(this, "component");
11245
+ b(this, "componentName");
11246
+ b(this, "createBy");
11247
+ b(this, "createTime");
11248
+ b(this, "delFlag");
11249
+ b(this, "description");
11250
+ b(this, "hidden");
11251
+ b(this, "icon");
11252
+ b(this, "id");
11253
+ b(this, "internalOrExternal");
11254
+ b(this, "isLeaf");
11255
+ b(this, "keepAlive");
11256
+ b(this, "key");
11257
+ b(this, "leaf");
11258
+ b(this, "menuType");
11259
+ b(this, "name");
11260
+ b(this, "parentId");
11261
+ b(this, "perms");
11262
+ b(this, "permsType");
11263
+ b(this, "redirect");
11264
+ b(this, "route");
11265
+ b(this, "sortNo");
11266
+ b(this, "status");
11267
+ b(this, "title");
11268
+ b(this, "updateBy");
11269
+ b(this, "updateTime");
11270
+ b(this, "url");
11271
11271
  keys(t != null ? t : {}).forEach((a) => {
11272
11272
  switch (a) {
11273
11273
  case "alwaysShow":
@@ -11308,15 +11308,15 @@ class SysPermissionTree {
11308
11308
  }
11309
11309
  class SysUserWarehouseDTO {
11310
11310
  constructor(t) {
11311
- v(this, "default_flag");
11312
- v(this, "id");
11313
- v(this, "ins_dt");
11314
- v(this, "ins_usr_id");
11315
- v(this, "mod_usr_id");
11316
- v(this, "moddte");
11317
- v(this, "user_id");
11318
- v(this, "wh_dsc");
11319
- v(this, "wh_id");
11311
+ b(this, "default_flag");
11312
+ b(this, "id");
11313
+ b(this, "ins_dt");
11314
+ b(this, "ins_usr_id");
11315
+ b(this, "mod_usr_id");
11316
+ b(this, "moddte");
11317
+ b(this, "user_id");
11318
+ b(this, "wh_dsc");
11319
+ b(this, "wh_id");
11320
11320
  keys(t != null ? t : {}).forEach((a) => {
11321
11321
  switch (a) {
11322
11322
  case "default_flag":
@@ -11336,14 +11336,14 @@ class SysUserWarehouseDTO {
11336
11336
  }
11337
11337
  class UpdateVarGridMasterQuery {
11338
11338
  constructor(t) {
11339
- v(this, "cust_lvl");
11340
- v(this, "def_flg");
11341
- v(this, "frm_id");
11342
- v(this, "grd_var_nam");
11343
- v(this, "grp_nam");
11344
- v(this, "id");
11345
- v(this, "usr_id");
11346
- v(this, "varGridDetails");
11339
+ b(this, "cust_lvl");
11340
+ b(this, "def_flg");
11341
+ b(this, "frm_id");
11342
+ b(this, "grd_var_nam");
11343
+ b(this, "grp_nam");
11344
+ b(this, "id");
11345
+ b(this, "usr_id");
11346
+ b(this, "varGridDetails");
11347
11347
  keys(t != null ? t : {}).forEach((a) => {
11348
11348
  switch (a) {
11349
11349
  case "cust_lvl":
@@ -11362,7 +11362,7 @@ class UpdateVarGridMasterQuery {
11362
11362
  }
11363
11363
  class ValidateFrmIdQuery$1 {
11364
11364
  constructor(t) {
11365
- v(this, "frmId");
11365
+ b(this, "frmId");
11366
11366
  keys(t != null ? t : {}).forEach((a) => {
11367
11367
  switch (a) {
11368
11368
  case "frmId":
@@ -11374,7 +11374,7 @@ class ValidateFrmIdQuery$1 {
11374
11374
  }
11375
11375
  class ValidateSqlQuery {
11376
11376
  constructor(t) {
11377
- v(this, "sql");
11377
+ b(this, "sql");
11378
11378
  keys(t != null ? t : {}).forEach((a) => {
11379
11379
  switch (a) {
11380
11380
  case "sql":
@@ -11386,7 +11386,7 @@ class ValidateSqlQuery {
11386
11386
  }
11387
11387
  class ValidateVarButtonVarNameQuery$1 {
11388
11388
  constructor(t) {
11389
- v(this, "varName");
11389
+ b(this, "varName");
11390
11390
  keys(t != null ? t : {}).forEach((a) => {
11391
11391
  switch (a) {
11392
11392
  case "varName":
@@ -11398,30 +11398,30 @@ class ValidateVarButtonVarNameQuery$1 {
11398
11398
  }
11399
11399
  class VarButton {
11400
11400
  constructor(t) {
11401
- v(this, "available_flag");
11402
- v(this, "cmd");
11403
- v(this, "cmd_method");
11404
- v(this, "cmd_prm");
11405
- v(this, "color");
11406
- v(this, "del_param_clm");
11407
- v(this, "dis_mult_select_flg");
11408
- v(this, "dis_no_select_flg");
11409
- v(this, "export_excel_filename");
11410
- v(this, "export_excel_suffix");
11411
- v(this, "frm_id");
11412
- v(this, "icon");
11413
- v(this, "id");
11414
- v(this, "modal_props");
11415
- v(this, "permission_code");
11416
- v(this, "primary_flg");
11417
- v(this, "re_select_after_reload_flg");
11418
- v(this, "reload_all_after_done_flg");
11419
- v(this, "show_modal_flg");
11420
- v(this, "show_success_message_flg");
11421
- v(this, "sql");
11422
- v(this, "srtseq");
11423
- v(this, "typ");
11424
- v(this, "var_nam");
11401
+ b(this, "available_flag");
11402
+ b(this, "cmd");
11403
+ b(this, "cmd_method");
11404
+ b(this, "cmd_prm");
11405
+ b(this, "color");
11406
+ b(this, "del_param_clm");
11407
+ b(this, "dis_mult_select_flg");
11408
+ b(this, "dis_no_select_flg");
11409
+ b(this, "export_excel_filename");
11410
+ b(this, "export_excel_suffix");
11411
+ b(this, "frm_id");
11412
+ b(this, "icon");
11413
+ b(this, "id");
11414
+ b(this, "modal_props");
11415
+ b(this, "permission_code");
11416
+ b(this, "primary_flg");
11417
+ b(this, "re_select_after_reload_flg");
11418
+ b(this, "reload_all_after_done_flg");
11419
+ b(this, "show_modal_flg");
11420
+ b(this, "show_success_message_flg");
11421
+ b(this, "sql");
11422
+ b(this, "srtseq");
11423
+ b(this, "typ");
11424
+ b(this, "var_nam");
11425
11425
  keys(t != null ? t : {}).forEach((a) => {
11426
11426
  switch (a) {
11427
11427
  case "available_flag":
@@ -11456,10 +11456,10 @@ class VarButton {
11456
11456
  }
11457
11457
  class VarButtonConfig {
11458
11458
  constructor(t) {
11459
- v(this, "available_flg");
11460
- v(this, "display_type");
11461
- v(this, "frm_id");
11462
- v(this, "id");
11459
+ b(this, "available_flg");
11460
+ b(this, "display_type");
11461
+ b(this, "frm_id");
11462
+ b(this, "id");
11463
11463
  keys(t != null ? t : {}).forEach((a) => {
11464
11464
  switch (a) {
11465
11465
  case "available_flg":
@@ -11474,12 +11474,12 @@ class VarButtonConfig {
11474
11474
  }
11475
11475
  class VarChildDetail {
11476
11476
  constructor(t) {
11477
- v(this, "available_flag");
11478
- v(this, "child_form_id");
11479
- v(this, "foreign_keys");
11480
- v(this, "frm_id");
11481
- v(this, "id");
11482
- v(this, "sort");
11477
+ b(this, "available_flag");
11478
+ b(this, "child_form_id");
11479
+ b(this, "foreign_keys");
11480
+ b(this, "frm_id");
11481
+ b(this, "id");
11482
+ b(this, "sort");
11483
11483
  keys(t != null ? t : {}).forEach((a) => {
11484
11484
  switch (a) {
11485
11485
  case "available_flag":
@@ -11496,15 +11496,15 @@ class VarChildDetail {
11496
11496
  }
11497
11497
  class VarConfigControl {
11498
11498
  constructor(t) {
11499
- v(this, "button_var_name");
11500
- v(this, "ctrl_prop");
11501
- v(this, "ctrl_typ");
11502
- v(this, "cust_lvl");
11503
- v(this, "frm_id");
11504
- v(this, "grp_nam");
11505
- v(this, "id");
11506
- v(this, "locale_id");
11507
- v(this, "var_nam");
11499
+ b(this, "button_var_name");
11500
+ b(this, "ctrl_prop");
11501
+ b(this, "ctrl_typ");
11502
+ b(this, "cust_lvl");
11503
+ b(this, "frm_id");
11504
+ b(this, "grp_nam");
11505
+ b(this, "id");
11506
+ b(this, "locale_id");
11507
+ b(this, "var_nam");
11508
11508
  keys(t != null ? t : {}).forEach((a) => {
11509
11509
  switch (a) {
11510
11510
  case "button_var_name":
@@ -11524,13 +11524,13 @@ class VarConfigControl {
11524
11524
  }
11525
11525
  class VarConfigDescription {
11526
11526
  constructor(t) {
11527
- v(this, "cust_lvl");
11528
- v(this, "frm_id");
11529
- v(this, "grp_nam");
11530
- v(this, "id");
11531
- v(this, "locale_id");
11532
- v(this, "var_nam");
11533
- v(this, "var_text");
11527
+ b(this, "cust_lvl");
11528
+ b(this, "frm_id");
11529
+ b(this, "grp_nam");
11530
+ b(this, "id");
11531
+ b(this, "locale_id");
11532
+ b(this, "var_nam");
11533
+ b(this, "var_text");
11534
11534
  keys(t != null ? t : {}).forEach((a) => {
11535
11535
  switch (a) {
11536
11536
  case "cust_lvl":
@@ -11548,21 +11548,21 @@ class VarConfigDescription {
11548
11548
  }
11549
11549
  class VarConfigInput {
11550
11550
  constructor(t) {
11551
- v(this, "cust_lvl");
11552
- v(this, "data_type");
11553
- v(this, "frm_id");
11554
- v(this, "grp_nam");
11555
- v(this, "id");
11556
- v(this, "locale_id");
11557
- v(this, "max");
11558
- v(this, "max_include_flg");
11559
- v(this, "max_length");
11560
- v(this, "min");
11561
- v(this, "min_include_flg");
11562
- v(this, "min_length");
11563
- v(this, "regular_expression");
11564
- v(this, "validation_type");
11565
- v(this, "var_nam");
11551
+ b(this, "cust_lvl");
11552
+ b(this, "data_type");
11553
+ b(this, "frm_id");
11554
+ b(this, "grp_nam");
11555
+ b(this, "id");
11556
+ b(this, "locale_id");
11557
+ b(this, "max");
11558
+ b(this, "max_include_flg");
11559
+ b(this, "max_length");
11560
+ b(this, "min");
11561
+ b(this, "min_include_flg");
11562
+ b(this, "min_length");
11563
+ b(this, "regular_expression");
11564
+ b(this, "validation_type");
11565
+ b(this, "var_nam");
11566
11566
  keys(t != null ? t : {}).forEach((a) => {
11567
11567
  switch (a) {
11568
11568
  case "cust_lvl":
@@ -11588,15 +11588,15 @@ class VarConfigInput {
11588
11588
  }
11589
11589
  class VarConfigLookup {
11590
11590
  constructor(t) {
11591
- v(this, "cust_lvl");
11592
- v(this, "frm_id");
11593
- v(this, "grp_nam");
11594
- v(this, "id");
11595
- v(this, "lkp_id");
11596
- v(this, "locale_id");
11597
- v(this, "mult_flg");
11598
- v(this, "ret_fld");
11599
- v(this, "var_nam");
11591
+ b(this, "cust_lvl");
11592
+ b(this, "frm_id");
11593
+ b(this, "grp_nam");
11594
+ b(this, "id");
11595
+ b(this, "lkp_id");
11596
+ b(this, "locale_id");
11597
+ b(this, "mult_flg");
11598
+ b(this, "ret_fld");
11599
+ b(this, "var_nam");
11600
11600
  keys(t != null ? t : {}).forEach((a) => {
11601
11601
  switch (a) {
11602
11602
  case "cust_lvl":
@@ -11616,20 +11616,20 @@ class VarConfigLookup {
11616
11616
  }
11617
11617
  class VarConfigPossibility {
11618
11618
  constructor(t) {
11619
- v(this, "cmd");
11620
- v(this, "cmd_method");
11621
- v(this, "cmd_prm");
11622
- v(this, "cust_lvl");
11623
- v(this, "data_source_type");
11624
- v(this, "frm_id");
11625
- v(this, "grp_nam");
11626
- v(this, "id");
11627
- v(this, "lbl_clm");
11628
- v(this, "locale_id");
11629
- v(this, "sql");
11630
- v(this, "val_clm");
11631
- v(this, "val_data_type");
11632
- v(this, "var_nam");
11619
+ b(this, "cmd");
11620
+ b(this, "cmd_method");
11621
+ b(this, "cmd_prm");
11622
+ b(this, "cust_lvl");
11623
+ b(this, "data_source_type");
11624
+ b(this, "frm_id");
11625
+ b(this, "grp_nam");
11626
+ b(this, "id");
11627
+ b(this, "lbl_clm");
11628
+ b(this, "locale_id");
11629
+ b(this, "sql");
11630
+ b(this, "val_clm");
11631
+ b(this, "val_data_type");
11632
+ b(this, "var_nam");
11633
11633
  keys(t != null ? t : {}).forEach((a) => {
11634
11634
  switch (a) {
11635
11635
  case "cmd":
@@ -11654,13 +11654,13 @@ class VarConfigPossibility {
11654
11654
  }
11655
11655
  class VarConfigTip {
11656
11656
  constructor(t) {
11657
- v(this, "cust_lvl");
11658
- v(this, "frm_id");
11659
- v(this, "id");
11660
- v(this, "locale_id");
11661
- v(this, "placement");
11662
- v(this, "tip");
11663
- v(this, "var_nam");
11657
+ b(this, "cust_lvl");
11658
+ b(this, "frm_id");
11659
+ b(this, "id");
11660
+ b(this, "locale_id");
11661
+ b(this, "placement");
11662
+ b(this, "tip");
11663
+ b(this, "var_nam");
11664
11664
  keys(t != null ? t : {}).forEach((a) => {
11665
11665
  switch (a) {
11666
11666
  case "cust_lvl":
@@ -11678,23 +11678,23 @@ class VarConfigTip {
11678
11678
  }
11679
11679
  class VarDTO {
11680
11680
  constructor(t) {
11681
- v(this, "varButtonConfig");
11682
- v(this, "varButtons");
11683
- v(this, "varChildDetails");
11684
- v(this, "varConfigControls");
11685
- v(this, "varConfigDescriptions");
11686
- v(this, "varConfigInputs");
11687
- v(this, "varConfigLookups");
11688
- v(this, "varConfigPossibilities");
11689
- v(this, "varConfigTips");
11690
- v(this, "varDda");
11691
- v(this, "varGridConfig");
11692
- v(this, "varGridMasters");
11693
- v(this, "varProfileConfig");
11694
- v(this, "varProfileMasters");
11695
- v(this, "varSubmitConfigs");
11696
- v(this, "varSubmitDetails");
11697
- v(this, "varVariables");
11681
+ b(this, "varButtonConfig");
11682
+ b(this, "varButtons");
11683
+ b(this, "varChildDetails");
11684
+ b(this, "varConfigControls");
11685
+ b(this, "varConfigDescriptions");
11686
+ b(this, "varConfigInputs");
11687
+ b(this, "varConfigLookups");
11688
+ b(this, "varConfigPossibilities");
11689
+ b(this, "varConfigTips");
11690
+ b(this, "varDda");
11691
+ b(this, "varGridConfig");
11692
+ b(this, "varGridMasters");
11693
+ b(this, "varProfileConfig");
11694
+ b(this, "varProfileMasters");
11695
+ b(this, "varSubmitConfigs");
11696
+ b(this, "varSubmitDetails");
11697
+ b(this, "varVariables");
11698
11698
  keys(t != null ? t : {}).forEach((a) => {
11699
11699
  switch (a) {
11700
11700
  case "varButtonConfig":
@@ -11722,9 +11722,9 @@ class VarDTO {
11722
11722
  }
11723
11723
  class VarDda {
11724
11724
  constructor(t) {
11725
- v(this, "frm_id");
11726
- v(this, "frm_nam");
11727
- v(this, "id");
11725
+ b(this, "frm_id");
11726
+ b(this, "frm_nam");
11727
+ b(this, "id");
11728
11728
  keys(t != null ? t : {}).forEach((a) => {
11729
11729
  switch (a) {
11730
11730
  case "frm_id":
@@ -11738,25 +11738,25 @@ class VarDda {
11738
11738
  }
11739
11739
  class VarGridConfig {
11740
11740
  constructor(t) {
11741
- v(this, "aut_load_flg");
11742
- v(this, "available_flg");
11743
- v(this, "button_display_type");
11744
- v(this, "check_first_row_after_retrieve");
11745
- v(this, "cmd_prm");
11746
- v(this, "convert_sort_field_to_under_score_flg");
11747
- v(this, "expand_accordion_flg");
11748
- v(this, "frm_id");
11749
- v(this, "id");
11750
- v(this, "id_clm");
11751
- v(this, "mult_flg");
11752
- v(this, "operation_on_row_click");
11753
- v(this, "pg_size_opt");
11754
- v(this, "pg_size_opts");
11755
- v(this, "prf_frm_id");
11756
- v(this, "show_bottom_border_flg");
11757
- v(this, "show_bottom_left_flg");
11758
- v(this, "show_bottom_right_flg");
11759
- v(this, "show_check_column_flg");
11741
+ b(this, "aut_load_flg");
11742
+ b(this, "available_flg");
11743
+ b(this, "button_display_type");
11744
+ b(this, "check_first_row_after_retrieve");
11745
+ b(this, "cmd_prm");
11746
+ b(this, "convert_sort_field_to_under_score_flg");
11747
+ b(this, "expand_accordion_flg");
11748
+ b(this, "frm_id");
11749
+ b(this, "id");
11750
+ b(this, "id_clm");
11751
+ b(this, "mult_flg");
11752
+ b(this, "operation_on_row_click");
11753
+ b(this, "pg_size_opt");
11754
+ b(this, "pg_size_opts");
11755
+ b(this, "prf_frm_id");
11756
+ b(this, "show_bottom_border_flg");
11757
+ b(this, "show_bottom_left_flg");
11758
+ b(this, "show_bottom_right_flg");
11759
+ b(this, "show_check_column_flg");
11760
11760
  keys(t != null ? t : {}).forEach((a) => {
11761
11761
  switch (a) {
11762
11762
  case "aut_load_flg":
@@ -11786,23 +11786,23 @@ class VarGridConfig {
11786
11786
  }
11787
11787
  class VarGridDetail {
11788
11788
  constructor(t) {
11789
- v(this, "align");
11790
- v(this, "display_type");
11791
- v(this, "display_type_properties");
11792
- v(this, "ellipsis_flg");
11793
- v(this, "filter_flag");
11794
- v(this, "fix_left_flg");
11795
- v(this, "fix_right_flg");
11796
- v(this, "frm_id");
11797
- v(this, "grd_var_nam");
11798
- v(this, "grp_nam");
11799
- v(this, "id");
11800
- v(this, "ord");
11801
- v(this, "ord_flg");
11802
- v(this, "srtseq");
11803
- v(this, "var_nam");
11804
- v(this, "vis_flg");
11805
- v(this, "width");
11789
+ b(this, "align");
11790
+ b(this, "display_type");
11791
+ b(this, "display_type_properties");
11792
+ b(this, "ellipsis_flg");
11793
+ b(this, "filter_flag");
11794
+ b(this, "fix_left_flg");
11795
+ b(this, "fix_right_flg");
11796
+ b(this, "frm_id");
11797
+ b(this, "grd_var_nam");
11798
+ b(this, "grp_nam");
11799
+ b(this, "id");
11800
+ b(this, "ord");
11801
+ b(this, "ord_flg");
11802
+ b(this, "srtseq");
11803
+ b(this, "var_nam");
11804
+ b(this, "vis_flg");
11805
+ b(this, "width");
11806
11806
  keys(t != null ? t : {}).forEach((a) => {
11807
11807
  switch (a) {
11808
11808
  case "align":
@@ -11830,13 +11830,13 @@ class VarGridDetail {
11830
11830
  }
11831
11831
  class VarGridMaster {
11832
11832
  constructor(t) {
11833
- v(this, "cust_lvl");
11834
- v(this, "def_flg");
11835
- v(this, "frm_id");
11836
- v(this, "grd_var_nam");
11837
- v(this, "grp_nam");
11838
- v(this, "id");
11839
- v(this, "usr_id");
11833
+ b(this, "cust_lvl");
11834
+ b(this, "def_flg");
11835
+ b(this, "frm_id");
11836
+ b(this, "grd_var_nam");
11837
+ b(this, "grp_nam");
11838
+ b(this, "id");
11839
+ b(this, "usr_id");
11840
11840
  keys(t != null ? t : {}).forEach((a) => {
11841
11841
  switch (a) {
11842
11842
  case "cust_lvl":
@@ -11854,15 +11854,15 @@ class VarGridMaster {
11854
11854
  }
11855
11855
  class VarGridMasterDTO {
11856
11856
  constructor(t) {
11857
- v(this, "cust_lvl");
11858
- v(this, "def_flg");
11859
- v(this, "frm_id");
11860
- v(this, "grd_var_nam");
11861
- v(this, "grd_var_nam_dsc");
11862
- v(this, "grp_nam");
11863
- v(this, "id");
11864
- v(this, "usr_id");
11865
- v(this, "varGridDetails");
11857
+ b(this, "cust_lvl");
11858
+ b(this, "def_flg");
11859
+ b(this, "frm_id");
11860
+ b(this, "grd_var_nam");
11861
+ b(this, "grd_var_nam_dsc");
11862
+ b(this, "grp_nam");
11863
+ b(this, "id");
11864
+ b(this, "usr_id");
11865
+ b(this, "varGridDetails");
11866
11866
  keys(t != null ? t : {}).forEach((a) => {
11867
11867
  switch (a) {
11868
11868
  case "cust_lvl":
@@ -11882,13 +11882,13 @@ class VarGridMasterDTO {
11882
11882
  }
11883
11883
  class VarProfileConfig {
11884
11884
  constructor(t) {
11885
- v(this, "available_flg");
11886
- v(this, "frm_id");
11887
- v(this, "header_teleport_flg");
11888
- v(this, "id");
11889
- v(this, "resizable_flg");
11890
- v(this, "show_config_button_flag");
11891
- v(this, "vis_flg");
11885
+ b(this, "available_flg");
11886
+ b(this, "frm_id");
11887
+ b(this, "header_teleport_flg");
11888
+ b(this, "id");
11889
+ b(this, "resizable_flg");
11890
+ b(this, "show_config_button_flag");
11891
+ b(this, "vis_flg");
11892
11892
  keys(t != null ? t : {}).forEach((a) => {
11893
11893
  switch (a) {
11894
11894
  case "available_flg":
@@ -11906,21 +11906,21 @@ class VarProfileConfig {
11906
11906
  }
11907
11907
  class VarProfileDetail {
11908
11908
  constructor(t) {
11909
- v(this, "dft_dyn_op");
11910
- v(this, "dft_val");
11911
- v(this, "ena_flg");
11912
- v(this, "exclude_from_where_sql_flag");
11913
- v(this, "frm_id");
11914
- v(this, "grp_nam");
11915
- v(this, "id");
11916
- v(this, "placeholder");
11917
- v(this, "prf_var_nam");
11918
- v(this, "rqr_flg");
11919
- v(this, "srtseq");
11920
- v(this, "use_underscore_when_dynamic_query_flag");
11921
- v(this, "var_nam");
11922
- v(this, "vis_flg");
11923
- v(this, "width");
11909
+ b(this, "dft_dyn_op");
11910
+ b(this, "dft_val");
11911
+ b(this, "ena_flg");
11912
+ b(this, "exclude_from_where_sql_flag");
11913
+ b(this, "frm_id");
11914
+ b(this, "grp_nam");
11915
+ b(this, "id");
11916
+ b(this, "placeholder");
11917
+ b(this, "prf_var_nam");
11918
+ b(this, "rqr_flg");
11919
+ b(this, "srtseq");
11920
+ b(this, "use_underscore_when_dynamic_query_flag");
11921
+ b(this, "var_nam");
11922
+ b(this, "vis_flg");
11923
+ b(this, "width");
11924
11924
  keys(t != null ? t : {}).forEach((a) => {
11925
11925
  switch (a) {
11926
11926
  case "dft_dyn_op":
@@ -11946,14 +11946,14 @@ class VarProfileDetail {
11946
11946
  }
11947
11947
  class VarProfileMaster {
11948
11948
  constructor(t) {
11949
- v(this, "cust_lvl");
11950
- v(this, "def_flg");
11951
- v(this, "dyn_flg");
11952
- v(this, "frm_id");
11953
- v(this, "grp_nam");
11954
- v(this, "id");
11955
- v(this, "prf_var_nam");
11956
- v(this, "usr_id");
11949
+ b(this, "cust_lvl");
11950
+ b(this, "def_flg");
11951
+ b(this, "dyn_flg");
11952
+ b(this, "frm_id");
11953
+ b(this, "grp_nam");
11954
+ b(this, "id");
11955
+ b(this, "prf_var_nam");
11956
+ b(this, "usr_id");
11957
11957
  keys(t != null ? t : {}).forEach((a) => {
11958
11958
  switch (a) {
11959
11959
  case "cust_lvl":
@@ -11972,15 +11972,15 @@ class VarProfileMaster {
11972
11972
  }
11973
11973
  class VarProfileMasterDTO {
11974
11974
  constructor(t) {
11975
- v(this, "cust_lvl");
11976
- v(this, "def_flg");
11977
- v(this, "dyn_flg");
11978
- v(this, "frm_id");
11979
- v(this, "grp_nam");
11980
- v(this, "id");
11981
- v(this, "prf_var_nam");
11982
- v(this, "usr_id");
11983
- v(this, "varProfileDetails");
11975
+ b(this, "cust_lvl");
11976
+ b(this, "def_flg");
11977
+ b(this, "dyn_flg");
11978
+ b(this, "frm_id");
11979
+ b(this, "grp_nam");
11980
+ b(this, "id");
11981
+ b(this, "prf_var_nam");
11982
+ b(this, "usr_id");
11983
+ b(this, "varProfileDetails");
11984
11984
  keys(t != null ? t : {}).forEach((a) => {
11985
11985
  switch (a) {
11986
11986
  case "cust_lvl":
@@ -12000,23 +12000,23 @@ class VarProfileMasterDTO {
12000
12000
  }
12001
12001
  class VarSubmitConfig {
12002
12002
  constructor(t) {
12003
- v(this, "button_var_name");
12004
- v(this, "cust_lvl");
12005
- v(this, "dft_fullscreen_flg");
12006
- v(this, "dft_width");
12007
- v(this, "display_type");
12008
- v(this, "frm_id");
12009
- v(this, "fullscreen_flg");
12010
- v(this, "id");
12011
- v(this, "label_col");
12012
- v(this, "label_col_unit");
12013
- v(this, "layout");
12014
- v(this, "max_width");
12015
- v(this, "min_width");
12016
- v(this, "props");
12017
- v(this, "resizable_flg");
12018
- v(this, "responsive_flg");
12019
- v(this, "set_id_to_null_flag");
12003
+ b(this, "button_var_name");
12004
+ b(this, "cust_lvl");
12005
+ b(this, "dft_fullscreen_flg");
12006
+ b(this, "dft_width");
12007
+ b(this, "display_type");
12008
+ b(this, "frm_id");
12009
+ b(this, "fullscreen_flg");
12010
+ b(this, "id");
12011
+ b(this, "label_col");
12012
+ b(this, "label_col_unit");
12013
+ b(this, "layout");
12014
+ b(this, "max_width");
12015
+ b(this, "min_width");
12016
+ b(this, "props");
12017
+ b(this, "resizable_flg");
12018
+ b(this, "responsive_flg");
12019
+ b(this, "set_id_to_null_flag");
12020
12020
  keys(t != null ? t : {}).forEach((a) => {
12021
12021
  switch (a) {
12022
12022
  case "button_var_name":
@@ -12044,21 +12044,21 @@ class VarSubmitConfig {
12044
12044
  }
12045
12045
  class VarSubmitDetail {
12046
12046
  constructor(t) {
12047
- v(this, "button_var_name");
12048
- v(this, "cust_lvl");
12049
- v(this, "default_value");
12050
- v(this, "enable_flag");
12051
- v(this, "frm_id");
12052
- v(this, "grp_nam");
12053
- v(this, "id");
12054
- v(this, "key_flg");
12055
- v(this, "placeholder");
12056
- v(this, "required_flag");
12057
- v(this, "section");
12058
- v(this, "srtseq");
12059
- v(this, "var_nam");
12060
- v(this, "visible_flag");
12061
- v(this, "width");
12047
+ b(this, "button_var_name");
12048
+ b(this, "cust_lvl");
12049
+ b(this, "default_value");
12050
+ b(this, "enable_flag");
12051
+ b(this, "frm_id");
12052
+ b(this, "grp_nam");
12053
+ b(this, "id");
12054
+ b(this, "key_flg");
12055
+ b(this, "placeholder");
12056
+ b(this, "required_flag");
12057
+ b(this, "section");
12058
+ b(this, "srtseq");
12059
+ b(this, "var_nam");
12060
+ b(this, "visible_flag");
12061
+ b(this, "width");
12062
12062
  keys(t != null ? t : {}).forEach((a) => {
12063
12063
  switch (a) {
12064
12064
  case "button_var_name":
@@ -12084,10 +12084,10 @@ class VarSubmitDetail {
12084
12084
  }
12085
12085
  class VarVariable {
12086
12086
  constructor(t) {
12087
- v(this, "frm_id");
12088
- v(this, "grp_nam");
12089
- v(this, "id");
12090
- v(this, "var_nam");
12087
+ b(this, "frm_id");
12088
+ b(this, "grp_nam");
12089
+ b(this, "id");
12090
+ b(this, "var_nam");
12091
12091
  keys(t != null ? t : {}).forEach((a) => {
12092
12092
  switch (a) {
12093
12093
  case "frm_id":
@@ -12102,20 +12102,20 @@ class VarVariable {
12102
12102
  }
12103
12103
  class WhDTO {
12104
12104
  constructor(t) {
12105
- v(this, "activeFlg");
12106
- v(this, "adrId");
12107
- v(this, "adrnam");
12108
- v(this, "comCod");
12109
- v(this, "defWhFlg");
12110
- v(this, "id");
12111
- v(this, "orgcod");
12112
- v(this, "permAdjLod");
12113
- v(this, "permAdjSub");
12114
- v(this, "permCreLod");
12115
- v(this, "permCreSub");
12116
- v(this, "version");
12117
- v(this, "whDsc");
12118
- v(this, "whId");
12105
+ b(this, "activeFlg");
12106
+ b(this, "adrId");
12107
+ b(this, "adrnam");
12108
+ b(this, "comCod");
12109
+ b(this, "defWhFlg");
12110
+ b(this, "id");
12111
+ b(this, "orgcod");
12112
+ b(this, "permAdjLod");
12113
+ b(this, "permAdjSub");
12114
+ b(this, "permCreLod");
12115
+ b(this, "permCreSub");
12116
+ b(this, "version");
12117
+ b(this, "whDsc");
12118
+ b(this, "whId");
12119
12119
  keys(t != null ? t : {}).forEach((a) => {
12120
12120
  switch (a) {
12121
12121
  case "activeFlg":
@@ -12149,26 +12149,27 @@ function transformVarProfileConfig(e) {
12149
12149
  function transformVarGridConfig(e) {
12150
12150
  if (!e)
12151
12151
  return null;
12152
- isNil(e.available_flg) && (e.available_flg = 1), isNil(e.aut_load_flg) && (e.aut_load_flg = 0), isNil(e.mult_flg) && (e.mult_flg = 0), isNil(e.show_check_column_flg) && (e.show_check_column_flg = 0), isNil(e.check_first_row_after_retrieve) && (e.check_first_row_after_retrieve = 0), isNil(e.show_bottom_border_flg) && (e.show_bottom_border_flg = 0), isNil(e.show_bottom_left_flg) && (e.show_bottom_left_flg = 1), isNil(e.show_bottom_right_flg) && (e.show_bottom_right_flg = 1), isNil(e.operation_on_row_click) && (e.operation_on_row_click = 1), isNil(e.convert_sort_field_to_under_score_flg) && (e.convert_sort_field_to_under_score_flg = 0), isNil(e.id_clm) && (e.id_clm = "id"), isNil(e.pg_size_opts) && (e.pg_size_opts = DEFAULT_PAGE_SIZES), isNil(e.pg_size_opt) && (e.pg_size_opt = 10), isNil(e.expand_accordion_flg) && (e.expand_accordion_flg = 1), isNil(e.operation_on_row_click) && (e.operation_on_row_click = 1);
12153
- let t = Number(e.operation_on_row_click);
12154
- [0, 1, 2].includes(t) || (____ERROR____(`| \u6570\u636E\u6709\u8BEF | var_grid_config.min_width \u975E\u6CD5, \u6539\u4E3A\u4F7F\u7528\u9ED8\u8BA4\u503C ${1}. \u5408\u6CD5\u7684\u503C\u4E3A 0, 1, 2.`, {
12152
+ const t = KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK.A, a = KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK.B, r = KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK.C;
12153
+ isNil(e.available_flg) && (e.available_flg = 1), isNil(e.aut_load_flg) && (e.aut_load_flg = 0), isNil(e.mult_flg) && (e.mult_flg = 0), isNil(e.show_check_column_flg) && (e.show_check_column_flg = 0), isNil(e.check_first_row_after_retrieve) && (e.check_first_row_after_retrieve = 0), isNil(e.show_bottom_border_flg) && (e.show_bottom_border_flg = 0), isNil(e.show_bottom_left_flg) && (e.show_bottom_left_flg = 1), isNil(e.show_bottom_right_flg) && (e.show_bottom_right_flg = 1), isNil(e.operation_on_row_click) && (e.operation_on_row_click = t), isNil(e.convert_sort_field_to_under_score_flg) && (e.convert_sort_field_to_under_score_flg = 0), isNil(e.id_clm) && (e.id_clm = "id"), isNil(e.pg_size_opts) && (e.pg_size_opts = DEFAULT_PAGE_SIZES), isNil(e.pg_size_opt) && (e.pg_size_opt = 10), isNil(e.expand_accordion_flg) && (e.expand_accordion_flg = 1);
12154
+ let n = Number(e.operation_on_row_click);
12155
+ [t, a, r].includes(n) || (____ERROR____(`| \u6570\u636E\u6709\u8BEF | var_grid_config.min_width \u975E\u6CD5, \u6539\u4E3A\u4F7F\u7528\u9ED8\u8BA4\u503C ${1}. \u5408\u6CD5\u7684\u503C\u4E3A ${t}, ${a}, ${r}.`, {
12155
12156
  VarGridConfig: e
12156
- }), e.operation_on_row_click = 1);
12157
+ }), e.operation_on_row_click = t);
12157
12158
  try {
12158
- let a = JSON.parse(e.pg_size_opts);
12159
+ let i = JSON.parse(e.pg_size_opts);
12159
12160
  switch (!0) {
12160
- case !isArray$1(a):
12161
- case a.length < 1:
12162
- case a.some((r) => Number.isNaN(Number(r)) || Math.floor(Number(r)) <= 0): {
12161
+ case !isArray$1(i):
12162
+ case i.length < 1:
12163
+ case i.some((s) => Number.isNaN(Number(s)) || Math.floor(Number(s)) <= 0): {
12163
12164
  ____ERROR____(`| \u6570\u636E\u6709\u8BEF | var_grid_config.pg_size_opts \u975E\u6CD5, \u6539\u4E3A\u4F7F\u7528\u9ED8\u8BA4\u503C ${DEFAULT_PAGE_SIZES}.`, {
12164
12165
  VarGridConfig: e
12165
12166
  }), e.pg_size_opts = DEFAULT_PAGE_SIZES;
12166
12167
  break;
12167
12168
  }
12168
12169
  default:
12169
- switch (a = sortBy$1(uniq(a.map((r) => Math.floor(r)))), e.pg_size_opts = JSON.stringify(a), e.pg_size_opt || (e.pg_size_opt = a[0]), e.pg_size_opt = Number(e.pg_size_opt), !0) {
12170
+ switch (i = sortBy$1(uniq(i.map((s) => Math.floor(s)))), e.pg_size_opts = JSON.stringify(i), e.pg_size_opt || (e.pg_size_opt = i[0]), e.pg_size_opt = Number(e.pg_size_opt), !0) {
12170
12171
  case Number.isNaN(e.pg_size_opt):
12171
- case !a.includes(e.pg_size_opt): {
12172
+ case !i.includes(e.pg_size_opt): {
12172
12173
  ____ERROR____(`| \u6570\u636E\u6709\u8BEF | var_grid_config.pg_size_opt \u975E\u6CD5, \u6539\u4E3A\u4F7F\u7528\u9ED8\u8BA4\u503C ${DEFAULT_PAGE_SIZE}.`, { VarGridConfig: e }), e.pg_size_opt = DEFAULT_PAGE_SIZE;
12173
12174
  break;
12174
12175
  }
@@ -12422,16 +12423,26 @@ const getProps$A = () => ({}), KgVarConfigModalTableVarGridConfig = defineCompon
12422
12423
  response: o,
12423
12424
  varName: u
12424
12425
  }) => {
12425
- var c, _, d, b;
12426
+ var c, _, d, v;
12426
12427
  switch (l) {
12427
12428
  case KG_FORM_CONTEXT.SUBMIT:
12428
12429
  case KG_FORM_CONTEXT.TABLE: {
12429
12430
  switch (u) {
12431
+ case "id_clm": {
12432
+ const g = r.varVariables.value.map((m) => ({
12433
+ value: m.var_nam,
12434
+ label: m.var_nam
12435
+ }));
12436
+ return g.find((m) => m.value === "id") || g.unshift({
12437
+ value: "id",
12438
+ label: "id"
12439
+ }), o.value = g, !0;
12440
+ }
12430
12441
  case "pg_size_opt":
12431
12442
  return isArray$1(n.kgSubmit.formModel.value.pg_size_opts) && (o.value = n.kgSubmit.formModel.value.pg_size_opts.map((g) => ({
12432
12443
  value: g,
12433
12444
  label: g
12434
- })), n.kgSubmit.formModel.value.pg_size_opt || (n.kgSubmit.formModel.value.pg_size_opt = (_ = (c = o.value[0]) == null ? void 0 : c.value) != null ? _ : 10), o.value.map((g) => g.value).includes(n.kgSubmit.formModel.value.pg_size_opt) || (n.kgSubmit.formModel.value.pg_size_opt = (b = (d = o.value[0]) == null ? void 0 : d.value) != null ? b : 10)), !0;
12445
+ })), n.kgSubmit.formModel.value.pg_size_opt || (n.kgSubmit.formModel.value.pg_size_opt = (_ = (c = o.value[0]) == null ? void 0 : c.value) != null ? _ : 10), o.value.map((g) => g.value).includes(n.kgSubmit.formModel.value.pg_size_opt) || (n.kgSubmit.formModel.value.pg_size_opt = (v = (d = o.value[0]) == null ? void 0 : d.value) != null ? v : 10)), !0;
12435
12446
  }
12436
12447
  break;
12437
12448
  }
@@ -13139,7 +13150,7 @@ function _useTransferColumns(e, t) {
13139
13150
  class: "kg-not-clickable"
13140
13151
  }, {
13141
13152
  default: () => {
13142
- let u, c, _, d, b, g, m, p;
13153
+ let u, c, _, d, v, g, m, p;
13143
13154
  return createVNode(Fragment, null, [createVNode(Select.Option, {
13144
13155
  value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.DESC
13145
13156
  }, _isSlot$a(u = a.t("kg.KgVarConfigModalTableVarGridMaster.DESC")) ? u : {
@@ -13158,8 +13169,8 @@ function _useTransferColumns(e, t) {
13158
13169
  default: () => [d]
13159
13170
  }), createVNode(Select.Option, {
13160
13171
  value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.UPDATE_LINK
13161
- }, _isSlot$a(b = a.t("kg.KgVarConfigModalTableVarGridMaster.UPDATE_LINK")) ? b : {
13162
- default: () => [b]
13172
+ }, _isSlot$a(v = a.t("kg.KgVarConfigModalTableVarGridMaster.UPDATE_LINK")) ? v : {
13173
+ default: () => [v]
13163
13174
  }), createVNode(Select.Option, {
13164
13175
  value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.ROUTE_LINK
13165
13176
  }, _isSlot$a(g = a.t("kg.KgVarConfigModalTableVarGridMaster.ROUTE_LINK")) ? g : {
@@ -13245,10 +13256,10 @@ function _useDragToSortRow$2(e, t, a) {
13245
13256
  const d = document.createElement("span");
13246
13257
  d.setAttribute("id", "__kg_var_config__modal__table__var_grid_master__kg_submit__fields__drag_image__");
13247
13258
  const {
13248
- width: b,
13259
+ width: v,
13249
13260
  height: g
13250
13261
  } = c.parentElement.getBoundingClientRect();
13251
- b && g && (d.style.width = `${b + 2}px`, d.style.height = `${g + 2}px`), (p = _.dataTransfer) == null || p.setDragImage(d, -10, (g + 2) / 2);
13262
+ v && g && (d.style.width = `${v + 2}px`, d.style.height = `${g + 2}px`), (p = _.dataTransfer) == null || p.setDragImage(d, -10, (g + 2) / 2);
13252
13263
  const m = await toCanvas(c.parentElement);
13253
13264
  d.appendChild(m), document.body.appendChild(d), (T = _.dataTransfer) == null || T.setDragImage(d, -10, (g + 2) / 2);
13254
13265
  }, c.addEventListener("dragstart", c.__kg__dragstart__), c.__kg__dragend__ = (_) => {
@@ -13263,19 +13274,19 @@ function _useDragToSortRow$2(e, t, a) {
13263
13274
  if (r = filter(document.querySelectorAll(`tr[kg-host-frm_id="${e}"]`), () => !0), r)
13264
13275
  for (let c of r)
13265
13276
  c.__kg__dragover__ = (_) => {
13266
- var d, b;
13267
- _.preventDefault(), c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((b = i == null ? void 0 : i.rowIndex) != null ? b : -1) && c.classList.add("dragover", "dragover-left");
13277
+ var d, v;
13278
+ _.preventDefault(), c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((v = i == null ? void 0 : i.rowIndex) != null ? v : -1) && c.classList.add("dragover", "dragover-left");
13268
13279
  }, c.addEventListener("dragover", c.__kg__dragover__, !1), c.__kg__dragenter__ = (_) => {
13269
- var d, b;
13270
- c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((b = i == null ? void 0 : i.rowIndex) != null ? b : -1) && c.classList.add("dragover", "dragover-left");
13280
+ var d, v;
13281
+ c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((v = i == null ? void 0 : i.rowIndex) != null ? v : -1) && c.classList.add("dragover", "dragover-left");
13271
13282
  }, c.addEventListener("dragenter", c.__kg__dragenter__), c.__kg__dragleave__ = (_) => {
13272
13283
  c.classList.remove("dragover", "dragover-right", "dragover-left");
13273
13284
  }, c.addEventListener("dragleave", c.__kg__dragleave__), c.__kg__drop__ = (_) => {
13274
13285
  _.preventDefault();
13275
13286
  const d = document.querySelector("#__kg_var_config__modal__table__var_grid_master__kg_submit__fields__drag_image__");
13276
13287
  d && document.body.removeChild(d), c.classList.remove("dragover", "dragover-right", "dragover-left");
13277
- const b = i == null ? void 0 : i.getAttribute("kg-var_name"), g = c.getAttribute("kg-var_name");
13278
- b !== g && (KgUtil.showLoading(), o(b, g));
13288
+ const v = i == null ? void 0 : i.getAttribute("kg-var_name"), g = c.getAttribute("kg-var_name");
13289
+ v !== g && (KgUtil.showLoading(), o(v, g));
13279
13290
  }, c.addEventListener("drop", c.__kg__drop__);
13280
13291
  }
13281
13292
  function l() {
@@ -13294,12 +13305,12 @@ function _useDragToSortRow$2(e, t, a) {
13294
13305
  }
13295
13306
  function o(c, _) {
13296
13307
  setTimeout(() => {
13297
- const d = t.value.findIndex((p) => p.var_nam === c), b = t.value.findIndex((p) => p.var_nam === _);
13298
- if (d === -1 || b === -1)
13308
+ const d = t.value.findIndex((p) => p.var_nam === c), v = t.value.findIndex((p) => p.var_nam === _);
13309
+ if (d === -1 || v === -1)
13299
13310
  return;
13300
13311
  const g = t.value.find((p) => p.var_nam === c), m = [];
13301
13312
  t.value.forEach((p, T) => {
13302
- d > b ? T < b ? m.push(p) : T === b ? (m.push(g), m.push(p)) : T > b && T !== d && m.push(p) : d < b && (T < d ? m.push(p) : T === d || (T === b ? (m.push(p), m.push(g)) : m.push(p)));
13313
+ d > v ? T < v ? m.push(p) : T === v ? (m.push(g), m.push(p)) : T > v && T !== d && m.push(p) : d < v && (T < d ? m.push(p) : T === d || (T === v ? (m.push(p), m.push(g)) : m.push(p)));
13303
13314
  }), m.forEach((p, T) => {
13304
13315
  p.srtseq = T + 1;
13305
13316
  }), t.value = m, nextTick().finally(() => {
@@ -13463,7 +13474,7 @@ const getProps$z = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
13463
13474
  dataSource: R,
13464
13475
  customRow: (A) => {
13465
13476
  let V = {
13466
- onClick: (y) => b(y, A, p, E)
13477
+ onClick: (y) => v(y, A, p, E)
13467
13478
  };
13468
13479
  return p === "right" && (V["kg-host-frm_id"] = r.formID, V["kg-var_name"] = A.var_nam), V;
13469
13480
  },
@@ -13501,7 +13512,7 @@ const getProps$z = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
13501
13512
  selectedRowKeys: T,
13502
13513
  columnWidth: 32
13503
13514
  });
13504
- function b(p, T, E, k) {
13515
+ function v(p, T, E, k) {
13505
13516
  if (!KgDomUtil.isNotClickable(p.target, ["ant-input"]))
13506
13517
  switch (k.length = 0, p.detail) {
13507
13518
  case 1:
@@ -13622,10 +13633,10 @@ function _useDragToSortRow$1(e) {
13622
13633
  const d = document.createElement("span");
13623
13634
  d.setAttribute("id", "__kg_table__setting__columns__drag_image__");
13624
13635
  const {
13625
- width: b,
13636
+ width: v,
13626
13637
  height: g
13627
13638
  } = c.parentElement.getBoundingClientRect();
13628
- b && g && (d.style.width = `${b + 2}px`, d.style.height = `${g + 2}px`), (p = _.dataTransfer) == null || p.setDragImage(d, -10, (g + 2) / 2);
13639
+ v && g && (d.style.width = `${v + 2}px`, d.style.height = `${g + 2}px`), (p = _.dataTransfer) == null || p.setDragImage(d, -10, (g + 2) / 2);
13629
13640
  const m = await toCanvas(c.parentElement);
13630
13641
  d.appendChild(m), document.body.appendChild(d), (T = _.dataTransfer) == null || T.setDragImage(d, -10, (g + 2) / 2);
13631
13642
  }, c.addEventListener("dragstart", c.__kg__dragstart__), c.__kg__dragend__ = (_) => {
@@ -13640,19 +13651,19 @@ function _useDragToSortRow$1(e) {
13640
13651
  if (r = filter((u = t.value) == null ? void 0 : u.querySelectorAll("& > li"), () => !0), r)
13641
13652
  for (let c of r)
13642
13653
  c.__kg__dragover__ = (_) => {
13643
- var d, b;
13644
- _.preventDefault(), Number(c.getAttribute("kg-index")) > ((d = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : Number(c.getAttribute("kg-index")) < ((b = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? b : -1) && c.classList.add("dragover", "dragover-left");
13654
+ var d, v;
13655
+ _.preventDefault(), Number(c.getAttribute("kg-index")) > ((d = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : Number(c.getAttribute("kg-index")) < ((v = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? v : -1) && c.classList.add("dragover", "dragover-left");
13645
13656
  }, c.addEventListener("dragover", c.__kg__dragover__, !1), c.__kg__dragenter__ = (_) => {
13646
- var d, b;
13647
- Number(c.getAttribute("kg-index")) > ((d = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : Number(c.getAttribute("kg-index")) < ((b = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? b : -1) && c.classList.add("dragover", "dragover-left");
13657
+ var d, v;
13658
+ Number(c.getAttribute("kg-index")) > ((d = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : Number(c.getAttribute("kg-index")) < ((v = Number(i == null ? void 0 : i.getAttribute("kg-index"))) != null ? v : -1) && c.classList.add("dragover", "dragover-left");
13648
13659
  }, c.addEventListener("dragenter", c.__kg__dragenter__), c.__kg__dragleave__ = (_) => {
13649
13660
  c.classList.remove("dragover", "dragover-right", "dragover-left");
13650
13661
  }, c.addEventListener("dragleave", c.__kg__dragleave__), c.__kg__drop__ = (_) => {
13651
13662
  _.preventDefault(), KgUtil.showLoading();
13652
13663
  const d = document.querySelector("#__kg_table__setting__columns__drag_image__");
13653
13664
  d && document.body.removeChild(d), c.classList.remove("dragover", "dragover-right", "dragover-left");
13654
- const b = i == null ? void 0 : i.getAttribute("kg-var_name"), g = c.getAttribute("kg-var_name");
13655
- b !== g && (a.store.dragSortCurrentVarGridDetails(a.formID, b, g), nextTick().finally(() => {
13665
+ const v = i == null ? void 0 : i.getAttribute("kg-var_name"), g = c.getAttribute("kg-var_name");
13666
+ v !== g && (a.store.dragSortCurrentVarGridDetails(a.formID, v, g), nextTick().finally(() => {
13656
13667
  KgUtil.hideLoading();
13657
13668
  }));
13658
13669
  }, c.addEventListener("drop", c.__kg__drop__);
@@ -13687,9 +13698,9 @@ const FORM_ID__VAR_GRID_MASTER__SAVE = "kg-table.VarGridMaster.Save", KgTableSet
13687
13698
  KgUtil.showLoading();
13688
13699
  const r = inject(KG__DI__FORM_ID, null), n = useKg(), i = useKgVar(r), s = useKgVar(FORM_ID__VAR_GRID_MASTER__SAVE);
13689
13700
  return s.kgSubmit.onOpen(async () => {
13690
- var o, u, c, _, d, b, g;
13701
+ var o, u, c, _, d, v, g;
13691
13702
  const l = i.currentVarGridMaster.value;
13692
- return s.kgSubmit.formModel.value.grd_var_nam = `${(o = l == null ? void 0 : l.grd_var_nam) != null ? o : ""}_COPY`, s.kgSubmit.formModel.value.grd_var_nam_dsc = `${(c = (u = l == null ? void 0 : l.grd_var_nam_dsc) != null ? u : l == null ? void 0 : l.grd_var_nam) != null ? c : ""}_COPY`, s.kgSubmit.formModel.value.frm_id = (_ = l == null ? void 0 : l.frm_id) != null ? _ : "", s.kgSubmit.formModel.value.usr_id = (d = l == null ? void 0 : l.usr_id) != null ? d : "", s.kgSubmit.formModel.value.grp_nam = (b = l == null ? void 0 : l.grp_nam) != null ? b : "", s.kgSubmit.formModel.value.varGridDetails = (g = l == null ? void 0 : l.varGridDetails) != null ? g : [], KgUtil.hideLoading(), !1;
13703
+ return s.kgSubmit.formModel.value.grd_var_nam = `${(o = l == null ? void 0 : l.grd_var_nam) != null ? o : ""}_COPY`, s.kgSubmit.formModel.value.grd_var_nam_dsc = `${(c = (u = l == null ? void 0 : l.grd_var_nam_dsc) != null ? u : l == null ? void 0 : l.grd_var_nam) != null ? c : ""}_COPY`, s.kgSubmit.formModel.value.frm_id = (_ = l == null ? void 0 : l.frm_id) != null ? _ : "", s.kgSubmit.formModel.value.usr_id = (d = l == null ? void 0 : l.usr_id) != null ? d : "", s.kgSubmit.formModel.value.grp_nam = (v = l == null ? void 0 : l.grp_nam) != null ? v : "", s.kgSubmit.formModel.value.varGridDetails = (g = l == null ? void 0 : l.varGridDetails) != null ? g : [], KgUtil.hideLoading(), !1;
13693
13704
  }), s.kgSubmit.onBeforeOk(async () => (s.kgSubmit.formModel.value, !1)), s.kgSubmit.onOk(async () => (message.success(n.t("kg.KgTable.save-var-grid-master-as-success-message")), i.requestAll({
13694
13705
  isForceRequest: !0
13695
13706
  }), !1)), s.kgSubmit.onClose(async () => (a("kgClose"), !1)), s.kgButton.setCurrentButton({
@@ -13722,9 +13733,9 @@ const getProps$w = () => ({
13722
13733
  visible: !1
13723
13734
  }), _ = ref({
13724
13735
  visible: !1
13725
- }), d = computed(() => isNil(e.kgDisabled) ? !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value : e.kgDisabled), b = ref(null);
13736
+ }), d = computed(() => isNil(e.kgDisabled) ? !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value : e.kgDisabled), v = ref(null);
13726
13737
  _useObserveMenuItemColumns(l), ((F = (C = (y = (V = (A = r.option.value) == null ? void 0 : A.KgTable) == null ? void 0 : V.Setting) == null ? void 0 : y.columns) == null ? void 0 : C.dragToSort) == null ? void 0 : F.isOn) === !0 && _useDragToSortRow$1({
13727
- columnsRef: b
13738
+ columnsRef: v
13728
13739
  }), watch(l, (B) => {
13729
13740
  B || (o.value = "");
13730
13741
  }, {
@@ -13779,7 +13790,7 @@ const getProps$w = () => ({
13779
13790
  "onUpdate:value": (I) => o.value = I,
13780
13791
  allowClear: !0
13781
13792
  }, null), createVNode("ul", {
13782
- ref: b,
13793
+ ref: v,
13783
13794
  class: "ant-dropdown-menu ant-dropdown-menu-vertical"
13784
13795
  }, [(B = n.currentVarGridDetails.value) == null ? void 0 : B.map((I, D) => createVNode("li", {
13785
13796
  class: "ant-dropdown-menu-item ant-dropdown-menu-item-only-child",
@@ -14113,7 +14124,7 @@ const getProps$v = () => ({
14113
14124
  }
14114
14125
  });
14115
14126
  }
14116
- function b() {
14127
+ function v() {
14117
14128
  return createVNode(Menu.Item, {
14118
14129
  key: "fix-to-right"
14119
14130
  }, {
@@ -14208,7 +14219,7 @@ const getProps$v = () => ({
14208
14219
  triggerSubMenuAction: "click",
14209
14220
  selectable: !1
14210
14221
  }, {
14211
- default: () => [o(), u(), c(), _(), d(), b(), g()]
14222
+ default: () => [o(), u(), c(), _(), d(), v(), g()]
14212
14223
  })
14213
14224
  });
14214
14225
  }
@@ -14253,8 +14264,8 @@ const getProps$u = () => ({
14253
14264
  n.kgTable.store.clearDatas(n.formID);
14254
14265
  }
14255
14266
  function o() {
14256
- var _, d, b, g;
14257
- if (((g = (b = (d = (_ = r.option.value) == null ? void 0 : _.KgTable) == null ? void 0 : d.Info) == null ? void 0 : b.locateSelectedRows) == null ? void 0 : g.isOn) !== !0)
14267
+ var _, d, v, g;
14268
+ if (((g = (v = (d = (_ = r.option.value) == null ? void 0 : _.KgTable) == null ? void 0 : d.Info) == null ? void 0 : v.locateSelectedRows) == null ? void 0 : g.isOn) !== !0)
14258
14269
  return;
14259
14270
  const u = document.querySelectorAll(`.kg-table[kg-form_id="${n.formID}"] tr.ant-table-row-selected`);
14260
14271
  i >= u.length && (i = 0);
@@ -14546,8 +14557,8 @@ const getProps$s = () => ({
14546
14557
  src: props.kgValue,
14547
14558
  width: _,
14548
14559
  height: d,
14549
- onClick: (b) => {
14550
- b.preventDefault(), b.stopPropagation();
14560
+ onClick: (v) => {
14561
+ v.preventDefault(), v.stopPropagation();
14551
14562
  }
14552
14563
  }, null);
14553
14564
  }
@@ -14619,7 +14630,7 @@ function _useRenderBodyCell() {
14619
14630
  value: c,
14620
14631
  renderIndex: l
14621
14632
  }) : d = c;
14622
- const b = createVNode(KgTableBodyCell, {
14633
+ const v = createVNode(KgTableBodyCell, {
14623
14634
  kgContext: i,
14624
14635
  kgRow: o,
14625
14636
  kgValue: d,
@@ -14627,7 +14638,7 @@ function _useRenderBodyCell() {
14627
14638
  onKgUpdateLinkClick: () => a(o)
14628
14639
  }, null);
14629
14640
  if (!((m = e == null ? void 0 : e.KgTable) != null && m.bodyCell))
14630
- return b;
14641
+ return v;
14631
14642
  const g = _ ? t.kgTable.getVarGridDetail({
14632
14643
  varName: _
14633
14644
  }) : null;
@@ -14639,7 +14650,7 @@ function _useRenderBodyCell() {
14639
14650
  value: c,
14640
14651
  row: o,
14641
14652
  varGridDetail: g,
14642
- defaultRender: b
14653
+ defaultRender: v
14643
14654
  });
14644
14655
  }
14645
14656
  return {
@@ -14654,7 +14665,7 @@ function _useColumns(e) {
14654
14665
  return ((c = a.store.getVarGridConfig(a.formID)) == null ? void 0 : c.show_check_column_flg) === 1;
14655
14666
  }), l = computed(() => {
14656
14667
  var p, T, E;
14657
- const c = useKg(), _ = a.kgTable.datas.value, d = (p = a.kgTable.store.getTableWidth(a.formID)) != null ? p : 0, b = (T = a.store.getCurrentVisibleVarGridDetailsTotalWidth(a.formID)) != null ? T : 0, g = a.store.getCurrentVisibleVarGridDetails(a.formID), m = [{
14668
+ const c = useKg(), _ = a.kgTable.datas.value, d = (p = a.kgTable.store.getTableWidth(a.formID)) != null ? p : 0, v = (T = a.store.getCurrentVisibleVarGridDetailsTotalWidth(a.formID)) != null ? T : 0, g = a.store.getCurrentVisibleVarGridDetails(a.formID), m = [{
14658
14669
  dataIndex: "index",
14659
14670
  width: KG_TABLE_TD_INDEX_WIDTH,
14660
14671
  fixed: "left",
@@ -14756,7 +14767,7 @@ function _useColumns(e) {
14756
14767
  }
14757
14768
  };
14758
14769
  })) != null ? E : []];
14759
- return (b === 0 || d > b && !(g != null && g.find((k) => k.width === "auto"))) && m.push({
14770
+ return (v === 0 || d > v && !(g != null && g.find((k) => k.width === "auto"))) && m.push({
14760
14771
  width: "auto",
14761
14772
  customRender: () => null
14762
14773
  }), m;
@@ -14810,7 +14821,7 @@ function _useDragColumn(e, t) {
14810
14821
  if (r = filter((l = e.value) == null ? void 0 : l.querySelectorAll("div.ant-table-header > table > thead > tr >th"), (o) => o.hasAttribute("kg-var_name")), r)
14811
14822
  for (let o of r)
14812
14823
  o.__kg__dragstart__ = (u) => {
14813
- var b;
14824
+ var v;
14814
14825
  n = o, o.classList.add("dragging"), o.parentElement.classList.add("dragging");
14815
14826
  const c = document.createElement("span");
14816
14827
  c.setAttribute("id", "__kg_table_header_drag_image__");
@@ -14818,7 +14829,7 @@ function _useDragColumn(e, t) {
14818
14829
  width: _,
14819
14830
  height: d
14820
14831
  } = o.getBoundingClientRect();
14821
- _ && d && (c.style.width = `${_ + 2}px`, c.style.height = `${d + 2}px`), (b = u.dataTransfer) == null || b.setDragImage(c, -10, (d + 2) / 2), toCanvas(o).then((g) => {
14832
+ _ && d && (c.style.width = `${_ + 2}px`, c.style.height = `${d + 2}px`), (v = u.dataTransfer) == null || v.setDragImage(c, -10, (d + 2) / 2), toCanvas(o).then((g) => {
14822
14833
  var m;
14823
14834
  c.appendChild(g), document.body.appendChild(c), (m = u.dataTransfer) == null || m.setDragImage(c, -10, (d + 2) / 2);
14824
14835
  });
@@ -14842,8 +14853,8 @@ function _useDragColumn(e, t) {
14842
14853
  u.preventDefault(), o.classList.remove("dragover", "dragover-right", "dragover-left");
14843
14854
  const c = n == null ? void 0 : n.getAttribute("kg-form_id"), _ = o.getAttribute("kg-form_id");
14844
14855
  if (c === _) {
14845
- const d = n == null ? void 0 : n.getAttribute("kg-var_name"), b = o.getAttribute("kg-var_name");
14846
- d !== b && a.store.dragSortCurrentVarGridDetails(a.formID, d, b);
14856
+ const d = n == null ? void 0 : n.getAttribute("kg-var_name"), v = o.getAttribute("kg-var_name");
14857
+ d !== v && a.store.dragSortCurrentVarGridDetails(a.formID, d, v);
14847
14858
  }
14848
14859
  }, o.addEventListener("drop", o.__kg__drop__);
14849
14860
  }
@@ -14996,10 +15007,10 @@ const KgTable$1 = "", getProps$r = () => ({
14996
15007
  scrollX: _
14997
15008
  } = _useColumns(e), {
14998
15009
  isLoading: d
14999
- } = _useLoading(), b = ref(null), {
15010
+ } = _useLoading(), v = ref(null), {
15000
15011
  renderBodyCell: g
15001
15012
  } = _useRenderBodyCell();
15002
- _useResizeObserver(b), _useDragColumn(b, o);
15013
+ _useResizeObserver(v), _useDragColumn(v, o);
15003
15014
  const {
15004
15015
  transformDatas: m,
15005
15016
  requestDescriptions: p
@@ -15443,7 +15454,7 @@ const KgTable$1 = "", getProps$r = () => ({
15443
15454
  return createVNode("div", {
15444
15455
  "kg-form_id": i.formID,
15445
15456
  class: F.value,
15446
- ref: b
15457
+ ref: v
15447
15458
  }, [createVNode(Table, {
15448
15459
  class: "kg-flex-table",
15449
15460
  size: "small",
@@ -17213,12 +17224,12 @@ const getProps$q = () => ({}), KgVarConfigModalButtonVarButton = defineComponent
17213
17224
  }) => (_.frm_id = t == null ? void 0 : t.value, !1)), n.kgForm.onChange(async ({
17214
17225
  context: _,
17215
17226
  value: d,
17216
- varName: b
17227
+ varName: v
17217
17228
  }) => {
17218
17229
  switch (_) {
17219
17230
  case KG_FORM_CONTEXT.SUBMIT:
17220
17231
  case KG_FORM_CONTEXT.TABLE: {
17221
- switch (b) {
17232
+ switch (v) {
17222
17233
  case "child_form_id": {
17223
17234
  c(d);
17224
17235
  break;
@@ -17230,10 +17241,10 @@ const getProps$q = () => ({}), KgVarConfigModalButtonVarButton = defineComponent
17230
17241
  return !1;
17231
17242
  }), n.kgSubmit.onOpen(async () => {
17232
17243
  var _;
17233
- switch (n.kgSubmit.formModel.value.frm_id = t == null ? void 0 : t.value, n.kgSubmit.formModel.value.foreign_keys || (n.kgSubmit.formModel.value.foreign_keys = "{}"), i.value = Object.entries(KgUtil.tryParseJSON((_ = n.kgSubmit.formModel.value) == null ? void 0 : _.foreign_keys)).map(([d, b], g) => ({
17244
+ switch (n.kgSubmit.formModel.value.frm_id = t == null ? void 0 : t.value, n.kgSubmit.formModel.value.foreign_keys || (n.kgSubmit.formModel.value.foreign_keys = "{}"), i.value = Object.entries(KgUtil.tryParseJSON((_ = n.kgSubmit.formModel.value) == null ? void 0 : _.foreign_keys)).map(([d, v], g) => ({
17234
17245
  id: String(Date.now() + g),
17235
17246
  parentVarName: d,
17236
- childVarName: b
17247
+ childVarName: v
17237
17248
  })), !0) {
17238
17249
  case n.isUpdating.value: {
17239
17250
  c(n.kgSubmit.formModel.value.child_form_id);
@@ -17595,10 +17606,10 @@ function _useDragToSortRow(e, t, a) {
17595
17606
  const d = document.createElement("span");
17596
17607
  d.setAttribute("id", "__kg_var_config__modal__search__var_profile_master__kg_submit__fields__drag_image__");
17597
17608
  const {
17598
- width: b,
17609
+ width: v,
17599
17610
  height: g
17600
17611
  } = c.parentElement.getBoundingClientRect();
17601
- b && g && (d.style.width = `${b + 2}px`, d.style.height = `${g + 2}px`), (p = _.dataTransfer) == null || p.setDragImage(d, -10, (g + 2) / 2);
17612
+ v && g && (d.style.width = `${v + 2}px`, d.style.height = `${g + 2}px`), (p = _.dataTransfer) == null || p.setDragImage(d, -10, (g + 2) / 2);
17602
17613
  const m = await toCanvas(c.parentElement);
17603
17614
  d.appendChild(m), document.body.appendChild(d), (T = _.dataTransfer) == null || T.setDragImage(d, -10, (g + 2) / 2);
17604
17615
  }, c.addEventListener("dragstart", c.__kg__dragstart__), c.__kg__dragend__ = (_) => {
@@ -17613,19 +17624,19 @@ function _useDragToSortRow(e, t, a) {
17613
17624
  if (r = filter(document.querySelectorAll(`tr[kg-host-frm_id="${e}"]`), () => !0), r)
17614
17625
  for (let c of r)
17615
17626
  c.__kg__dragover__ = (_) => {
17616
- var d, b;
17617
- _.preventDefault(), c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((b = i == null ? void 0 : i.rowIndex) != null ? b : -1) && c.classList.add("dragover", "dragover-left");
17627
+ var d, v;
17628
+ _.preventDefault(), c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((v = i == null ? void 0 : i.rowIndex) != null ? v : -1) && c.classList.add("dragover", "dragover-left");
17618
17629
  }, c.addEventListener("dragover", c.__kg__dragover__, !1), c.__kg__dragenter__ = (_) => {
17619
- var d, b;
17620
- c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((b = i == null ? void 0 : i.rowIndex) != null ? b : -1) && c.classList.add("dragover", "dragover-left");
17630
+ var d, v;
17631
+ c.rowIndex > ((d = i == null ? void 0 : i.rowIndex) != null ? d : -1) ? c.classList.add("dragover", "dragover-right") : c.rowIndex < ((v = i == null ? void 0 : i.rowIndex) != null ? v : -1) && c.classList.add("dragover", "dragover-left");
17621
17632
  }, c.addEventListener("dragenter", c.__kg__dragenter__), c.__kg__dragleave__ = (_) => {
17622
17633
  c.classList.remove("dragover", "dragover-right", "dragover-left");
17623
17634
  }, c.addEventListener("dragleave", c.__kg__dragleave__), c.__kg__drop__ = (_) => {
17624
17635
  _.preventDefault();
17625
17636
  const d = document.querySelector("#__kg_var_config__modal__search__var_profile_master__kg_submit__fields__drag_image__");
17626
17637
  d && document.body.removeChild(d), c.classList.remove("dragover", "dragover-right", "dragover-left");
17627
- const b = i == null ? void 0 : i.getAttribute("kg-var_name"), g = c.getAttribute("kg-var_name");
17628
- b !== g && (KgUtil.showLoading(), o(b, g));
17638
+ const v = i == null ? void 0 : i.getAttribute("kg-var_name"), g = c.getAttribute("kg-var_name");
17639
+ v !== g && (KgUtil.showLoading(), o(v, g));
17629
17640
  }, c.addEventListener("drop", c.__kg__drop__);
17630
17641
  }
17631
17642
  function l() {
@@ -17644,12 +17655,12 @@ function _useDragToSortRow(e, t, a) {
17644
17655
  }
17645
17656
  function o(c, _) {
17646
17657
  setTimeout(() => {
17647
- const d = t.value.findIndex((p) => p.var_nam === c), b = t.value.findIndex((p) => p.var_nam === _);
17648
- if (d === -1 || b === -1)
17658
+ const d = t.value.findIndex((p) => p.var_nam === c), v = t.value.findIndex((p) => p.var_nam === _);
17659
+ if (d === -1 || v === -1)
17649
17660
  return;
17650
17661
  const g = t.value.find((p) => p.var_nam === c), m = [];
17651
17662
  t.value.forEach((p, T) => {
17652
- d > b ? T < b ? m.push(p) : T === b ? (m.push(g), m.push(p)) : T > b && T !== d && m.push(p) : d < b && (T < d ? m.push(p) : T === d || (T === b ? (m.push(p), m.push(g)) : m.push(p)));
17663
+ d > v ? T < v ? m.push(p) : T === v ? (m.push(g), m.push(p)) : T > v && T !== d && m.push(p) : d < v && (T < d ? m.push(p) : T === d || (T === v ? (m.push(p), m.push(g)) : m.push(p)));
17653
17664
  }), m.forEach((p, T) => {
17654
17665
  p.srtseq = T + 1;
17655
17666
  }), t.value = m, nextTick().finally(() => {
@@ -17671,8 +17682,8 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17671
17682
  name: "KgVarConfigModalSearchVarProfileMaster",
17672
17683
  props: getProps$l(),
17673
17684
  setup(e) {
17674
- var d, b;
17675
- const t = (b = inject(KG__DI__FORM_ID, null)) != null ? b : (d = inject(KG__DI__KG_VAR_CONFIG__HOST_FORM_ID, null)) == null ? void 0 : d.value, a = useKg(), r = useKgVar(t), n = useKgVar(FORM_ID__SEARCH__VAR_PROFILE_MASTER);
17685
+ var d, v;
17686
+ const t = (v = inject(KG__DI__FORM_ID, null)) != null ? v : (d = inject(KG__DI__KG_VAR_CONFIG__HOST_FORM_ID, null)) == null ? void 0 : d.value, a = useKg(), r = useKgVar(t), n = useKgVar(FORM_ID__SEARCH__VAR_PROFILE_MASTER);
17676
17687
  n.kgSearch.onReady(async () => (await n.store.patchVarProfileDetail(n.formID, "frm_id", {
17677
17688
  dft_val: r.formID
17678
17689
  }), !1)), n.kgTable.onBeforeSetDatas(async ({
@@ -17919,17 +17930,32 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17919
17930
  varName: d
17920
17931
  }) => {
17921
17932
  switch (c) {
17933
+ case KG_FORM_CONTEXT.SEARCH: {
17934
+ switch (d) {
17935
+ case "button_var_name":
17936
+ return _.value = r.kgButton.varButtons.value.filter((v) => {
17937
+ var g;
17938
+ return [KG__VAR_BUTTON__TYPE.SEARCH, KG__VAR_BUTTON__TYPE.CREATE, KG__VAR_BUTTON__TYPE.UPDATE, KG__VAR_BUTTON__TYPE.COPY, KG__VAR_BUTTON__TYPE.DELETE, KG__VAR_BUTTON__TYPE.OTHER].includes((g = v.typ) != null ? g : "");
17939
+ }).map((v) => ({
17940
+ value: v.var_nam,
17941
+ label: r.kgButton.getButtonDescription({
17942
+ varName: v.var_nam
17943
+ })
17944
+ })), !0;
17945
+ }
17946
+ break;
17947
+ }
17922
17948
  case KG_FORM_CONTEXT.SUBMIT:
17923
17949
  case KG_FORM_CONTEXT.TABLE: {
17924
17950
  switch (d) {
17925
17951
  case "button_var_name":
17926
- return _.value = r.kgButton.varButtons.value.filter((b) => {
17952
+ return _.value = r.kgButton.varButtons.value.filter((v) => {
17927
17953
  var g;
17928
- return [KG__VAR_BUTTON__TYPE.SEARCH, KG__VAR_BUTTON__TYPE.CREATE, KG__VAR_BUTTON__TYPE.UPDATE, KG__VAR_BUTTON__TYPE.COPY, KG__VAR_BUTTON__TYPE.DELETE, KG__VAR_BUTTON__TYPE.OTHER].includes((g = b.typ) != null ? g : "");
17929
- }).map((b) => ({
17930
- value: b.var_nam,
17954
+ return [KG__VAR_BUTTON__TYPE.SEARCH, KG__VAR_BUTTON__TYPE.CREATE, KG__VAR_BUTTON__TYPE.UPDATE, KG__VAR_BUTTON__TYPE.COPY, KG__VAR_BUTTON__TYPE.DELETE, KG__VAR_BUTTON__TYPE.OTHER].includes((g = v.typ) != null ? g : "");
17955
+ }).map((v) => ({
17956
+ value: v.var_nam,
17931
17957
  label: r.kgButton.getButtonDescription({
17932
- varName: b.var_nam
17958
+ varName: v.var_nam
17933
17959
  })
17934
17960
  })), !0;
17935
17961
  }
@@ -17937,6 +17963,30 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17937
17963
  }
17938
17964
  }
17939
17965
  return !1;
17966
+ }), n.kgForm.onSelectBeforeSetDatas(async ({
17967
+ context: c,
17968
+ varName: _,
17969
+ datas: d
17970
+ }) => {
17971
+ switch (c) {
17972
+ case KG_FORM_CONTEXT.SUBMIT:
17973
+ case KG_FORM_CONTEXT.TABLE: {
17974
+ switch (_) {
17975
+ case "button_var_name": {
17976
+ switch (!0) {
17977
+ case n.isCreating.value: {
17978
+ const v = r.kgSubmit.varSubmitConfigs.value;
17979
+ d.value = d.value.filter((g) => !v.find((m) => m.button_var_name === g.value && m.cust_lvl === KG_CUSTOM_LEVEL.L10));
17980
+ break;
17981
+ }
17982
+ }
17983
+ break;
17984
+ }
17985
+ }
17986
+ break;
17987
+ }
17988
+ }
17989
+ return !1;
17940
17990
  }), n.kgForm.onChange(async ({
17941
17991
  varName: c,
17942
17992
  context: _,
@@ -17960,14 +18010,14 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17960
18010
  }
17961
18011
  return !1;
17962
18012
  }), n.kgSubmit.onOpen(async () => {
17963
- var c, _, d, b;
18013
+ var c, _, d, v;
17964
18014
  switch (!0) {
17965
18015
  case n.isCreating.value: {
17966
18016
  n.kgSubmit.formModel.value.frm_id = t, s((c = n.kgSubmit.formModel.value) == null ? void 0 : c.display_type), l((_ = n.kgSubmit.formModel.value) == null ? void 0 : _.layout);
17967
18017
  break;
17968
18018
  }
17969
18019
  case n.isUpdating.value: {
17970
- s((d = n.kgSubmit.formModel.value) == null ? void 0 : d.display_type), l((b = n.kgSubmit.formModel.value) == null ? void 0 : b.layout);
18020
+ s((d = n.kgSubmit.formModel.value) == null ? void 0 : d.display_type), l((v = n.kgSubmit.formModel.value) == null ? void 0 : v.layout);
17971
18021
  break;
17972
18022
  }
17973
18023
  }
@@ -18238,6 +18288,21 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18238
18288
  varName: l
18239
18289
  }) => {
18240
18290
  switch (i) {
18291
+ case KG_FORM_CONTEXT.SEARCH: {
18292
+ switch (l) {
18293
+ case "button_var_name":
18294
+ return s.value = t.kgButton.varButtons.value.filter((o) => {
18295
+ var u;
18296
+ return [KG__VAR_BUTTON__TYPE.CREATE, KG__VAR_BUTTON__TYPE.UPDATE, KG__VAR_BUTTON__TYPE.COPY, KG__VAR_BUTTON__TYPE.DELETE, KG__VAR_BUTTON__TYPE.OTHER].includes((u = o.typ) != null ? u : "");
18297
+ }).map((o) => ({
18298
+ value: o.var_nam,
18299
+ label: t.kgButton.getButtonDescription({
18300
+ varName: o.var_nam
18301
+ })
18302
+ })), !0;
18303
+ }
18304
+ break;
18305
+ }
18241
18306
  case KG_FORM_CONTEXT.SUBMIT:
18242
18307
  case KG_FORM_CONTEXT.TABLE: {
18243
18308
  switch (l) {
@@ -18339,15 +18404,15 @@ function KgVarFactory(e) {
18339
18404
  } = c != null ? c : {};
18340
18405
  if (!(_ != null && _.child_form_id))
18341
18406
  return null;
18342
- const b = useKgVar(_ == null ? void 0 : _.child_form_id);
18343
- return b.requestAll(), createVNode(TabPane, {
18407
+ const v = useKgVar(_ == null ? void 0 : _.child_form_id);
18408
+ return v.requestAll(), createVNode(TabPane, {
18344
18409
  key: String(d),
18345
- tab: b.t((g = b.varDda.value) == null ? void 0 : g.frm_nam).value
18410
+ tab: v.t((g = v.varDda.value) == null ? void 0 : g.frm_nam).value
18346
18411
  }, {
18347
18412
  default: () => {
18348
18413
  var m, p, T, E, k;
18349
- return (p = (m = a.kgSlots) == null ? void 0 : m.children) != null && p[b.formID] ? (k = (E = (T = a.kgSlots) == null ? void 0 : T.children) == null ? void 0 : E[b.formID]) == null ? void 0 : k.call(E) : h(l.value.get(b.formID), {
18350
- key: b.formID
18414
+ return (p = (m = a.kgSlots) == null ? void 0 : m.children) != null && p[v.formID] ? (k = (E = (T = a.kgSlots) == null ? void 0 : T.children) == null ? void 0 : E[v.formID]) == null ? void 0 : k.call(E) : h(l.value.get(v.formID), {
18415
+ key: v.formID
18351
18416
  });
18352
18417
  }
18353
18418
  });
@@ -18724,10 +18789,10 @@ const LOCALE = {
18724
18789
  }
18725
18790
  return !1;
18726
18791
  }), r.kgSubmit.onOpen(async () => {
18727
- var o, u, c, _, d, b, g;
18792
+ var o, u, c, _, d, v, g;
18728
18793
  switch (!0) {
18729
18794
  case r.isCreating.value: {
18730
- r.kgSubmit.formModel.value.var_nam = (_ = (c = (u = (o = r.parent.value) == null ? void 0 : o.kgTable) == null ? void 0 : u.selectedRow) == null ? void 0 : c.value) == null ? void 0 : _.var_nam, r.kgSubmit.formModel.value.frm_id = e == null ? void 0 : e.value, r.kgSubmit.formModel.value.locale_id = (d = t.locale) == null ? void 0 : d.value, s((b = r.kgSubmit.formModel.value) == null ? void 0 : b.validation_type);
18795
+ r.kgSubmit.formModel.value.var_nam = (_ = (c = (u = (o = r.parent.value) == null ? void 0 : o.kgTable) == null ? void 0 : u.selectedRow) == null ? void 0 : c.value) == null ? void 0 : _.var_nam, r.kgSubmit.formModel.value.frm_id = e == null ? void 0 : e.value, r.kgSubmit.formModel.value.locale_id = (d = t.locale) == null ? void 0 : d.value, s((v = r.kgSubmit.formModel.value) == null ? void 0 : v.validation_type);
18731
18796
  break;
18732
18797
  }
18733
18798
  case r.isUpdating.value: {
@@ -18739,9 +18804,9 @@ const LOCALE = {
18739
18804
  }), r.kgSubmit.onBeforeOk(async () => (r.kgSubmit.formRules.value = {
18740
18805
  max: [{
18741
18806
  validator: (o, u) => {
18742
- var b, g, m, p;
18807
+ var v, g, m, p;
18743
18808
  const c = (g = r.kgSubmit.getVarSubmitDetails({
18744
- buttonVarName: (b = r.kgButton.currentButton.value) == null ? void 0 : b.var_nam,
18809
+ buttonVarName: (v = r.kgButton.currentButton.value) == null ? void 0 : v.var_nam,
18745
18810
  varName: "max"
18746
18811
  })[0]) != null ? g : null;
18747
18812
  if ((c == null ? void 0 : c.visible_flag) !== 1)
@@ -18752,9 +18817,9 @@ const LOCALE = {
18752
18817
  }],
18753
18818
  max_length: [{
18754
18819
  validator: (o, u) => {
18755
- var b, g, m, p;
18820
+ var v, g, m, p;
18756
18821
  const c = (g = r.kgSubmit.getVarSubmitDetails({
18757
- buttonVarName: (b = r.kgButton.currentButton.value) == null ? void 0 : b.var_nam,
18822
+ buttonVarName: (v = r.kgButton.currentButton.value) == null ? void 0 : v.var_nam,
18758
18823
  varName: "max_length"
18759
18824
  })[0]) != null ? g : null;
18760
18825
  if ((c == null ? void 0 : c.visible_flag) !== 1)
@@ -19149,7 +19214,7 @@ const LOCALE = {
19149
19214
  }
19150
19215
  }
19151
19216
  })), l = debounce(async (o) => {
19152
- var c, _, d, b, g, m, p, T, E;
19217
+ var c, _, d, v, g, m, p, T, E;
19153
19218
  const {
19154
19219
  lookupID: u
19155
19220
  } = o != null ? o : {};
@@ -19160,7 +19225,7 @@ const LOCALE = {
19160
19225
  params: {
19161
19226
  frm_id: u
19162
19227
  }
19163
- }), N = (g = (b = ((c = k.varGridMasters) == null ? void 0 : c.find((O) => O.def_flg === 1)) || ((_ = k.varGridMasters) == null ? void 0 : _.find((O) => O.cust_lvl === KG_CUSTOM_LEVEL.L0)) || ((d = k.varGridMasters) == null ? void 0 : d.find(() => !0))) == null ? void 0 : b.id) != null ? g : null;
19228
+ }), N = (g = (v = ((c = k.varGridMasters) == null ? void 0 : c.find((O) => O.def_flg === 1)) || ((_ = k.varGridMasters) == null ? void 0 : _.find((O) => O.cust_lvl === KG_CUSTOM_LEVEL.L0)) || ((d = k.varGridMasters) == null ? void 0 : d.find(() => !0))) == null ? void 0 : v.id) != null ? g : null;
19164
19229
  i.value = uniq(compact((E = (T = (p = (m = k.varGridMasters) == null ? void 0 : m.find((O) => O.id === N)) == null ? void 0 : p.varGridDetails) == null ? void 0 : T.map((O) => {
19165
19230
  var R;
19166
19231
  return (R = O.var_nam) != null ? R : "";
@@ -19664,11 +19729,11 @@ const LOCALE = {
19664
19729
  onSelect: (c) => s(null, c)
19665
19730
  }), i = computed(() => {
19666
19731
  var _, d;
19667
- return (d = (_ = e.formIDs) == null ? void 0 : _.map((b) => {
19732
+ return (d = (_ = e.formIDs) == null ? void 0 : _.map((v) => {
19668
19733
  var m;
19669
- const g = useKgVar(b);
19734
+ const g = useKgVar(v);
19670
19735
  return {
19671
- formID: b,
19736
+ formID: v,
19672
19737
  formName: g.t((m = g.varDda.value) == null ? void 0 : m.frm_nam).value
19673
19738
  };
19674
19739
  })) != null ? d : [];
@@ -19777,7 +19842,7 @@ const KgVarConfig$1 = "", KgVarConfig = defineComponent({
19777
19842
  !o || s();
19778
19843
  }, {
19779
19844
  immediate: !0
19780
- }), watch(e["Alt+Shift+Z"], (o) => {
19845
+ }), watch(e["Ctrl+Alt+S"], (o) => {
19781
19846
  !o || s();
19782
19847
  }, {
19783
19848
  immediate: !0
@@ -20005,7 +20070,7 @@ const KgVarConfig$1 = "", KgVarConfig = defineComponent({
20005
20070
  }
20006
20071
  const l = (u = this.varConfigControlMap.get(e)) != null ? u : [];
20007
20072
  if (s !== void 0)
20008
- return (c = l.find((b) => b.button_var_name === s && b.var_nam === n)) != null ? c : null;
20073
+ return (c = l.find((v) => v.button_var_name === s && v.var_nam === n)) != null ? c : null;
20009
20074
  if (s === void 0 && a === KG__VAR_BUTTON__TYPE.OTHER)
20010
20075
  return ____ERROR____(
20011
20076
  `${e} | KgVar.store.getVarConfigControl() | \u53C2\u6570 param.buttonType \u4E3A KG__VAR_BUTTON__TYPE.OTHER \u65F6, \u53C2\u6570 param.buttonVarName \u4E0D\u80FD\u4E3A\u7A7A.`,
@@ -20020,8 +20085,8 @@ const KgVarConfig$1 = "", KgVarConfig = defineComponent({
20020
20085
  param: t
20021
20086
  }), null;
20022
20087
  if (s === void 0 && a !== void 0) {
20023
- const b = (_ = this.varButtonMap.get(e)) == null ? void 0 : _.find((g) => g.typ === a);
20024
- return b ? (d = l.find((g) => g.button_var_name === (b == null ? void 0 : b.var_nam) && g.var_nam === n)) != null ? d : null : (____ERROR____(`${e} | KgVar.store.getVarConfigControl() | \u7C7B\u578B\u4E3A\u300C${a}\u300D\u7684\u6309\u94AE\u4E0D\u5B58\u5728.`, {
20088
+ const v = (_ = this.varButtonMap.get(e)) == null ? void 0 : _.find((g) => g.typ === a);
20089
+ return v ? (d = l.find((g) => g.button_var_name === (v == null ? void 0 : v.var_nam) && g.var_nam === n)) != null ? d : null : (____ERROR____(`${e} | KgVar.store.getVarConfigControl() | \u7C7B\u578B\u4E3A\u300C${a}\u300D\u7684\u6309\u94AE\u4E0D\u5B58\u5728.`, {
20025
20090
  formID: e,
20026
20091
  param: t
20027
20092
  }), null);
@@ -20306,7 +20371,7 @@ const KgVarConfig$1 = "", KgVarConfig = defineComponent({
20306
20371
  const {
20307
20372
  varDda: _,
20308
20373
  varButtons: d,
20309
- varButtonConfig: b,
20374
+ varButtonConfig: v,
20310
20375
  varChildDetails: g,
20311
20376
  varConfigControls: m,
20312
20377
  varConfigDescriptions: p,
@@ -20322,7 +20387,7 @@ const KgVarConfig$1 = "", KgVarConfig = defineComponent({
20322
20387
  varSubmitDetails: C,
20323
20388
  varVariables: F
20324
20389
  } = await GetAll({ params: { frm_id: e } });
20325
- this.varDdaMap.set(e, _ != null ? _ : null), this.varVariableMap.set(e, F != null ? F : []), this.varConfigControlMap.set(e, transformVarConfigControls(m)), this.varConfigDescriptionMap.set(e, p != null ? p : []), this.varConfigInputMap.set(e, transformVarConfigInputs(T)), this.varConfigLookupMap.set(e, transformVarConfigLookups(E)), this.varConfigPossibilityMap.set(e, transformVarConfigPossibilities(k)), this.varConfigTipMap.set(e, transformVarConfigTips(N)), this.varButtonMap.set(e, transformVarButtons(d)), this.varButtonConfigMap.set(e, transformVarButtonConfig(b)), this.varSubmitConfigMap.set(e, transformVarSubmitConfigs(y)), this.varSubmitDetailMap.set(e, transformVarSubmitDetails(C)), this.varProfileConfigMap.set(e, transformVarProfileConfig(O)), this.varProfileMasterMap.set(e, {
20390
+ this.varDdaMap.set(e, _ != null ? _ : null), this.varVariableMap.set(e, F != null ? F : []), this.varConfigControlMap.set(e, transformVarConfigControls(m)), this.varConfigDescriptionMap.set(e, p != null ? p : []), this.varConfigInputMap.set(e, transformVarConfigInputs(T)), this.varConfigLookupMap.set(e, transformVarConfigLookups(E)), this.varConfigPossibilityMap.set(e, transformVarConfigPossibilities(k)), this.varConfigTipMap.set(e, transformVarConfigTips(N)), this.varButtonMap.set(e, transformVarButtons(d)), this.varButtonConfigMap.set(e, transformVarButtonConfig(v)), this.varSubmitConfigMap.set(e, transformVarSubmitConfigs(y)), this.varSubmitDetailMap.set(e, transformVarSubmitDetails(C)), this.varProfileConfigMap.set(e, transformVarProfileConfig(O)), this.varProfileMasterMap.set(e, {
20326
20391
  varProfileMasters: transformVarProfileMasters(R),
20327
20392
  currentVarProfileMasterID: (i = (n = (R == null ? void 0 : R.find((I) => I.id === this.getCurrentVarProfileMasterID(e))) || (R == null ? void 0 : R.find((I) => I.def_flg === 1)) || (R == null ? void 0 : R.find((I) => I.cust_lvl === KG_CUSTOM_LEVEL.L0)) || (R == null ? void 0 : R.find(() => !0))) == null ? void 0 : n.id) != null ? i : null
20328
20393
  }), this.varGridConfigMap.set(e, transformVarGridConfig(A)), this.varGridMasterMap.set(e, {
@@ -20443,7 +20508,7 @@ function useKgVar(e, t, a = 0) {
20443
20508
  t && getCurrentInstance() && (provide(KG__DI__FORM_ID, i), onMounted(() => {
20444
20509
  s.init({ formID: i, level: a });
20445
20510
  }));
20446
- let o = null, u = null, c = null, _ = null, d = null, b = null, g = {
20511
+ let o = null, u = null, c = null, _ = null, d = null, v = null, g = {
20447
20512
  currentVarGridDetails: computed(() => s.getCurrentVarGridDetails(i)),
20448
20513
  currentVarGridMasteID: computed(() => s.getCurrentVarGridMasterID(i)),
20449
20514
  currentVarGridMaster: computed(() => s.getCurrentVarGridMaster(i)),
@@ -20508,7 +20573,7 @@ function useKgVar(e, t, a = 0) {
20508
20573
  case "kgTable":
20509
20574
  return d || (d = useKgTable(i)), d;
20510
20575
  case "kgVarConfig":
20511
- return b || (b = useKgVarConfig(i)), b;
20576
+ return v || (v = useKgVarConfig(i)), v;
20512
20577
  }
20513
20578
  return Reflect.get(m, p);
20514
20579
  }
@@ -20541,25 +20606,25 @@ const KgVar = defineComponent({
20541
20606
  }) {
20542
20607
  e.kgFormID && provide(KG__DI__FORM_ID, e.kgFormID), provide(KG__DI__KG_VAR__KG_PROPS, computed(() => e.kgProps)), provide(KG__DI__KG_VAR__KG_SLOTS, e.kgSlots);
20543
20608
  const a = useKg(), r = useKgVar(e.kgFormID), n = computed(() => r.store.getVarProfileConfig(r.formID)), i = computed(() => r.store.getVarGridConfig(r.formID)), s = computed(() => !r.isRequested.value || r.kgButton.isCurrentButtonClickIntercepted.value ? !1 : !!r.kgButton.currentButton.value && !!r.kgSubmit.currentVarSubmitConfig.value ? !0 : (!!r.kgButton.currentButton.value && !r.kgSubmit.currentVarSubmitConfig.value && (r.kgButton.setCurrentButton(null), message.error(a.t("kg.KgButton.noVarSubmitConfig"))), !1)), l = computed(() => {
20544
- var b;
20545
- return !(!r.isRequested.value || ((b = n.value) == null ? void 0 : b.available_flg) === 0);
20609
+ var v;
20610
+ return !(!r.isRequested.value || ((v = n.value) == null ? void 0 : v.available_flg) === 0);
20546
20611
  }), o = computed(() => {
20547
- var b;
20548
- return !(!r.isRequested.value || ((b = r.kgButton.varButtonConfig.value) == null ? void 0 : b.available_flg) === 0);
20612
+ var v;
20613
+ return !(!r.isRequested.value || ((v = r.kgButton.varButtonConfig.value) == null ? void 0 : v.available_flg) === 0);
20549
20614
  }), u = computed(() => {
20550
- var b;
20551
- return !(!r.isRequested.value || ((b = i.value) == null ? void 0 : b.available_flg) === 0);
20615
+ var v;
20616
+ return !(!r.isRequested.value || ((v = i.value) == null ? void 0 : v.available_flg) === 0);
20552
20617
  }), c = computed(() => !!r.isOtherRequesting.value), _ = computed(() => {
20553
- let b = "kg-var";
20554
- return e.kgBackgroundGray && (b += " kg-var--bg-gray"), !l.value && !o.value && !u.value && (b += " kg-var--empty"), b;
20618
+ let v = "kg-var";
20619
+ return e.kgBackgroundGray && (v += " kg-var--bg-gray"), !l.value && !o.value && !u.value && (v += " kg-var--empty"), v;
20555
20620
  });
20556
20621
  function d() {
20557
20622
  return createVNode(Spin, {
20558
20623
  spinning: c.value
20559
20624
  }, {
20560
20625
  default: () => {
20561
- var b, g;
20562
- return [t.default ? t.default() : createVNode(Fragment, null, [l.value && createVNode(KgSearch, null, null), o.value && createVNode(KgButton, null, null), u.value && createVNode(KgTable, null, null), (g = (b = e.kgSlots) == null ? void 0 : b.afterKgTable) == null ? void 0 : g.call(b), s.value && createVNode(KgSubmit, null, null)])];
20626
+ var v, g;
20627
+ return [t.default ? t.default() : createVNode(Fragment, null, [l.value && createVNode(KgSearch, null, null), o.value && createVNode(KgButton, null, null), u.value && createVNode(KgTable, null, null), (g = (v = e.kgSlots) == null ? void 0 : v.afterKgTable) == null ? void 0 : g.call(v), s.value && createVNode(KgSubmit, null, null)])];
20563
20628
  }
20564
20629
  });
20565
20630
  }
@@ -20609,8 +20674,8 @@ const KgVar = defineComponent({
20609
20674
  }
20610
20675
  });
20611
20676
  const n = computed(() => r.store.getVarButton(r.formID, e.kgVarName)), i = computed(() => {
20612
- var u, c, _, d, b, g, m, p;
20613
- return isNil(e.kgDisabled) ? !!(r.isCreating.value || r.isUpdating.value || r.isDeleting.value || r.kgTable.isRetrieving.value || ((u = n.value) == null ? void 0 : u.dis_no_select_flg) === 1 && ((_ = (c = r.kgTable.selectedRows.value) == null ? void 0 : c.length) != null ? _ : 0) === 0 || ((d = n.value) == null ? void 0 : d.dis_mult_select_flg) === 1 && ((g = (b = r.kgTable.selectedRows.value) == null ? void 0 : b.length) != null ? g : 0) > 1 || KgAuthUtil.getPermissionType((m = n.value) == null ? void 0 : m.permission_code) === 2 && !a.p((p = n.value) == null ? void 0 : p.permission_code)) : e.kgDisabled;
20677
+ var u, c, _, d, v, g, m, p;
20678
+ return isNil(e.kgDisabled) ? !!(r.isCreating.value || r.isUpdating.value || r.isDeleting.value || r.kgTable.isRetrieving.value || ((u = n.value) == null ? void 0 : u.dis_no_select_flg) === 1 && ((_ = (c = r.kgTable.selectedRows.value) == null ? void 0 : c.length) != null ? _ : 0) === 0 || ((d = n.value) == null ? void 0 : d.dis_mult_select_flg) === 1 && ((g = (v = r.kgTable.selectedRows.value) == null ? void 0 : v.length) != null ? g : 0) > 1 || KgAuthUtil.getPermissionType((m = n.value) == null ? void 0 : m.permission_code) === 2 && !a.p((p = n.value) == null ? void 0 : p.permission_code)) : e.kgDisabled;
20614
20679
  });
20615
20680
  async function s() {
20616
20681
  if (e.onKgClick && await e.onKgClick()) {
@@ -20646,13 +20711,13 @@ const KgVar = defineComponent({
20646
20711
  return e.kgText ? e.kgText : a.t("kg.copy");
20647
20712
  }
20648
20713
  return () => {
20649
- var u, c, _, d, b, g;
20714
+ var u, c, _, d, v, g;
20650
20715
  return createVNode(Button, {
20651
20716
  "kg-id": (u = n.value) == null ? void 0 : u.id,
20652
20717
  "kg-form_id": (c = n.value) == null ? void 0 : c.frm_id,
20653
20718
  "kg-var_name": (_ = n.value) == null ? void 0 : _.var_nam,
20654
20719
  "kg-cmd": (d = n.value) == null ? void 0 : d.cmd,
20655
- "kg-permission": (g = (b = n.value) == null ? void 0 : b.permission_code) != null ? g : "",
20720
+ "kg-permission": (g = (v = n.value) == null ? void 0 : v.permission_code) != null ? g : "",
20656
20721
  type: "primary",
20657
20722
  disabled: i.value,
20658
20723
  ghost: !e.kgPrimary && !i.value,
@@ -20723,7 +20788,7 @@ const KgVar = defineComponent({
20723
20788
  icon: "ant-design:plus-outlined"
20724
20789
  }, null);
20725
20790
  }
20726
- function b() {
20791
+ function v() {
20727
20792
  return e.kgText ? e.kgText : n.t("kg.create");
20728
20793
  }
20729
20794
  function g() {
@@ -20741,7 +20806,7 @@ const KgVar = defineComponent({
20741
20806
  onClick: u,
20742
20807
  class: r.class
20743
20808
  }, {
20744
- default: () => [d(), b()]
20809
+ default: () => [d(), v()]
20745
20810
  });
20746
20811
  }
20747
20812
  function m() {
@@ -20778,8 +20843,8 @@ const KgVar = defineComponent({
20778
20843
  }
20779
20844
  });
20780
20845
  const r = computed(() => a.store.getVarButton(a.formID, e.kgVarName)), n = computed(() => {
20781
- var o, u, c, _, d, b, g, m;
20782
- return isNil(e.kgDisabled) ? !!(a.isCreating.value || a.isUpdating.value || a.isCopying.value || a.kgTable.isRetrieving.value || ((o = r.value) == null ? void 0 : o.dis_no_select_flg) === 1 && ((c = (u = a.kgTable.selectedRows.value) == null ? void 0 : u.length) != null ? c : 0) === 0 || ((_ = r.value) == null ? void 0 : _.dis_mult_select_flg) === 1 && ((b = (d = a.kgTable.selectedRows.value) == null ? void 0 : d.length) != null ? b : 0) > 1 || KgAuthUtil.getPermissionType((g = r.value) == null ? void 0 : g.permission_code) === 2 && !t.p((m = r.value) == null ? void 0 : m.permission_code)) : e.kgDisabled;
20846
+ var o, u, c, _, d, v, g, m;
20847
+ return isNil(e.kgDisabled) ? !!(a.isCreating.value || a.isUpdating.value || a.isCopying.value || a.kgTable.isRetrieving.value || ((o = r.value) == null ? void 0 : o.dis_no_select_flg) === 1 && ((c = (u = a.kgTable.selectedRows.value) == null ? void 0 : u.length) != null ? c : 0) === 0 || ((_ = r.value) == null ? void 0 : _.dis_mult_select_flg) === 1 && ((v = (d = a.kgTable.selectedRows.value) == null ? void 0 : d.length) != null ? v : 0) > 1 || KgAuthUtil.getPermissionType((g = r.value) == null ? void 0 : g.permission_code) === 2 && !t.p((m = r.value) == null ? void 0 : m.permission_code)) : e.kgDisabled;
20783
20848
  });
20784
20849
  async function i() {
20785
20850
  if (e.onKgClick && await e.onKgClick()) {
@@ -20815,13 +20880,13 @@ const KgVar = defineComponent({
20815
20880
  return e.kgText ? e.kgText : t.t("kg.delete");
20816
20881
  }
20817
20882
  return () => {
20818
- var o, u, c, _, d, b;
20883
+ var o, u, c, _, d, v;
20819
20884
  return createVNode(Button, {
20820
20885
  "kg-id": (o = r.value) == null ? void 0 : o.id,
20821
20886
  "kg-form_id": (u = r.value) == null ? void 0 : u.frm_id,
20822
20887
  "kg-var_name": (c = r.value) == null ? void 0 : c.var_nam,
20823
20888
  "kg-cmd": (_ = r.value) == null ? void 0 : _.cmd,
20824
- "kg-permission": (b = (d = r.value) == null ? void 0 : d.permission_code) != null ? b : "",
20889
+ "kg-permission": (v = (d = r.value) == null ? void 0 : d.permission_code) != null ? v : "",
20825
20890
  type: "primary",
20826
20891
  disabled: n.value,
20827
20892
  danger: e.kgColor === KG__VAR_BUTTON__COLOR.RED || !e.kgColor,
@@ -20838,36 +20903,36 @@ const KgVar = defineComponent({
20838
20903
  setup(e) {
20839
20904
  const t = inject("$dayjs", dayjs), a = useKg(), r = useKgVar();
20840
20905
  r.kgButton.store.$onAction(async ({
20841
- name: b,
20906
+ name: v,
20842
20907
  args: g
20843
20908
  }) => {
20844
- switch (b) {
20909
+ switch (v) {
20845
20910
  case "click":
20846
20911
  g[0] === r.formID && g[1] === KG__VAR_BUTTON__TYPE.EXPORT && await c();
20847
20912
  break;
20848
20913
  }
20849
20914
  });
20850
20915
  const n = computed(() => r.store.getVarButton(r.formID, e.kgVarName)), i = computed(() => {
20851
- var b, g;
20852
- return n.value ? (g = (b = n.value) == null ? void 0 : b.cmd) != null ? g : "" : null;
20916
+ var v, g;
20917
+ return n.value ? (g = (v = n.value) == null ? void 0 : v.cmd) != null ? g : "" : null;
20853
20918
  }), s = computed(() => {
20854
- var b, g;
20855
- return (g = (b = n.value) == null ? void 0 : b.cmd_method) != null ? g : "GET";
20919
+ var v, g;
20920
+ return (g = (v = n.value) == null ? void 0 : v.cmd_method) != null ? g : "GET";
20856
20921
  }), l = computed(() => {
20857
20922
  var g, m;
20858
- let b = {
20923
+ let v = {
20859
20924
  ...r.kgTable.requestParams.value
20860
20925
  };
20861
- return n.value && (b = {
20862
- ...b,
20926
+ return n.value && (v = {
20927
+ ...v,
20863
20928
  ...KgVarUtil.parseRequestParamsToJSON((m = (g = n.value) == null ? void 0 : g.cmd_prm) != null ? m : "")
20864
- }), b;
20929
+ }), v;
20865
20930
  }), o = computed(() => {
20866
- var b, g, m, p, T, E, k, N;
20867
- return isNil(e.kgDisabled) ? !!(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || r.kgTable.isRetrieving.value || ((b = n.value) == null ? void 0 : b.dis_no_select_flg) === 1 && ((m = (g = r.kgTable.selectedRows.value) == null ? void 0 : g.length) != null ? m : 0) === 0 || ((p = n.value) == null ? void 0 : p.dis_mult_select_flg) === 1 && ((E = (T = r.kgTable.selectedRows.value) == null ? void 0 : T.length) != null ? E : 0) > 1 || KgAuthUtil.getPermissionType((k = n.value) == null ? void 0 : k.permission_code) === 2 && !a.p((N = n.value) == null ? void 0 : N.permission_code)) : e.kgDisabled;
20931
+ var v, g, m, p, T, E, k, N;
20932
+ return isNil(e.kgDisabled) ? !!(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || r.kgTable.isRetrieving.value || ((v = n.value) == null ? void 0 : v.dis_no_select_flg) === 1 && ((m = (g = r.kgTable.selectedRows.value) == null ? void 0 : g.length) != null ? m : 0) === 0 || ((p = n.value) == null ? void 0 : p.dis_mult_select_flg) === 1 && ((E = (T = r.kgTable.selectedRows.value) == null ? void 0 : T.length) != null ? E : 0) > 1 || KgAuthUtil.getPermissionType((k = n.value) == null ? void 0 : k.permission_code) === 2 && !a.p((N = n.value) == null ? void 0 : N.permission_code)) : e.kgDisabled;
20868
20933
  }), u = ref(!1);
20869
20934
  async function c() {
20870
- var b, g, m, p, T;
20935
+ var v, g, m, p, T;
20871
20936
  if (e.onKgClick && await e.onKgClick()) {
20872
20937
  r.kgButton.setIsClickIntercepted({
20873
20938
  type: KG__VAR_BUTTON__TYPE.EXPORT,
@@ -20890,7 +20955,7 @@ const KgVar = defineComponent({
20890
20955
  url: i.value,
20891
20956
  method: s.value,
20892
20957
  params: KgUtil.parseParams(l.value, r.kgTable.kgSearchFormID.value, t),
20893
- data: (b = r.kgTable.selectedRows.value) != null ? b : [],
20958
+ data: (v = r.kgTable.selectedRows.value) != null ? v : [],
20894
20959
  responseType: "blob"
20895
20960
  }, {
20896
20961
  isTransformResponse: !1
@@ -20925,9 +20990,9 @@ const KgVar = defineComponent({
20925
20990
  return e.kgText ? e.kgText : a.t("kg.export");
20926
20991
  }
20927
20992
  return () => {
20928
- var b, g, m, p, T, E;
20993
+ var v, g, m, p, T, E;
20929
20994
  return createVNode(Button, {
20930
- "kg-id": (b = n.value) == null ? void 0 : b.id,
20995
+ "kg-id": (v = n.value) == null ? void 0 : v.id,
20931
20996
  "kg-form_id": (g = n.value) == null ? void 0 : g.frm_id,
20932
20997
  "kg-var_name": (m = n.value) == null ? void 0 : m.var_nam,
20933
20998
  "kg-cmd": (p = n.value) == null ? void 0 : p.cmd,
@@ -21024,7 +21089,7 @@ const KgVar = defineComponent({
21024
21089
  icon: "ant-design:upload-outlined"
21025
21090
  }, null);
21026
21091
  }
21027
- function b() {
21092
+ function v() {
21028
21093
  return e.kgText ? e.kgText : r.t("kg.import");
21029
21094
  }
21030
21095
  return () => createVNode(Upload, {
@@ -21047,7 +21112,7 @@ const KgVar = defineComponent({
21047
21112
  loading: c.value,
21048
21113
  class: a.class
21049
21114
  }, {
21050
- default: () => [d(), b()]
21115
+ default: () => [d(), v()]
21051
21116
  })];
21052
21117
  }
21053
21118
  });
@@ -21059,35 +21124,35 @@ const KgVar = defineComponent({
21059
21124
  const t = useKg(), a = useKgVar();
21060
21125
  a.kgButton.store.$onAction(async ({
21061
21126
  name: d,
21062
- args: b
21127
+ args: v
21063
21128
  }) => {
21064
21129
  switch (d) {
21065
21130
  case "click":
21066
- b[0] === a.formID && (b[1], KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE);
21131
+ v[0] === a.formID && (v[1], KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE);
21067
21132
  break;
21068
21133
  }
21069
21134
  });
21070
21135
  const r = computed(() => a.store.getVarButton(a.formID, e.kgVarName)), n = computed(() => {
21071
- var d, b;
21072
- return r.value ? (b = (d = r.value) == null ? void 0 : d.cmd) != null ? b : "" : null;
21136
+ var d, v;
21137
+ return r.value ? (v = (d = r.value) == null ? void 0 : d.cmd) != null ? v : "" : null;
21073
21138
  }), i = computed(() => {
21074
- var d, b;
21075
- return (b = (d = r.value) == null ? void 0 : d.cmd_method) != null ? b : "GET";
21139
+ var d, v;
21140
+ return (v = (d = r.value) == null ? void 0 : d.cmd_method) != null ? v : "GET";
21076
21141
  }), s = computed(() => {
21077
- var b, g;
21142
+ var v, g;
21078
21143
  let d = {
21079
21144
  ...a.kgTable.requestParams.value
21080
21145
  };
21081
21146
  return r.value && (d = {
21082
21147
  ...d,
21083
- ...KgVarUtil.parseRequestParamsToJSON((g = (b = r.value) == null ? void 0 : b.cmd_prm) != null ? g : "")
21148
+ ...KgVarUtil.parseRequestParamsToJSON((g = (v = r.value) == null ? void 0 : v.cmd_prm) != null ? g : "")
21084
21149
  }), d;
21085
21150
  }), l = computed(() => {
21086
- var d, b, g, m, p, T, E, k;
21087
- return isNil(e.kgDisabled) ? !!(a.isCreating.value || a.isUpdating.value || a.isCopying.value || a.isDeleting.value || a.kgTable.isRetrieving.value || ((d = r.value) == null ? void 0 : d.dis_no_select_flg) === 1 && ((g = (b = a.kgTable.selectedRows.value) == null ? void 0 : b.length) != null ? g : 0) === 0 || ((m = r.value) == null ? void 0 : m.dis_mult_select_flg) === 1 && ((T = (p = a.kgTable.selectedRows.value) == null ? void 0 : p.length) != null ? T : 0) > 1 || KgAuthUtil.getPermissionType((E = r.value) == null ? void 0 : E.permission_code) === 2 && !t.p((k = r.value) == null ? void 0 : k.permission_code)) : e.kgDisabled;
21151
+ var d, v, g, m, p, T, E, k;
21152
+ return isNil(e.kgDisabled) ? !!(a.isCreating.value || a.isUpdating.value || a.isCopying.value || a.isDeleting.value || a.kgTable.isRetrieving.value || ((d = r.value) == null ? void 0 : d.dis_no_select_flg) === 1 && ((g = (v = a.kgTable.selectedRows.value) == null ? void 0 : v.length) != null ? g : 0) === 0 || ((m = r.value) == null ? void 0 : m.dis_mult_select_flg) === 1 && ((T = (p = a.kgTable.selectedRows.value) == null ? void 0 : p.length) != null ? T : 0) > 1 || KgAuthUtil.getPermissionType((E = r.value) == null ? void 0 : E.permission_code) === 2 && !t.p((k = r.value) == null ? void 0 : k.permission_code)) : e.kgDisabled;
21088
21153
  }), o = ref(!1);
21089
21154
  async function u() {
21090
- var d, b, g;
21155
+ var d, v, g;
21091
21156
  if (e.onKgClick && await e.onKgClick()) {
21092
21157
  a.kgButton.setIsClickIntercepted({
21093
21158
  type: KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE,
@@ -21115,7 +21180,7 @@ const KgVar = defineComponent({
21115
21180
  joinParamsToUrl: !0,
21116
21181
  isTransformResponse: !1
21117
21182
  }), p = (d = r.value) == null ? void 0 : d.export_excel_filename;
21118
- KgUtil.downloadFile(m, `${p ? a.t(p).value : t.t("kg.importTemplate")}.${(g = (b = r.value) == null ? void 0 : b.export_excel_suffix) == null ? void 0 : g.toLowerCase()}`);
21183
+ KgUtil.downloadFile(m, `${p ? a.t(p).value : t.t("kg.importTemplate")}.${(g = (v = r.value) == null ? void 0 : v.export_excel_suffix) == null ? void 0 : g.toLowerCase()}`);
21119
21184
  } catch (m) {
21120
21185
  throw m;
21121
21186
  } finally {
@@ -21135,10 +21200,10 @@ const KgVar = defineComponent({
21135
21200
  return e.kgText ? e.kgText : t.t("kg.import-template");
21136
21201
  }
21137
21202
  return () => {
21138
- var d, b, g, m, p, T;
21203
+ var d, v, g, m, p, T;
21139
21204
  return createVNode(Button, {
21140
21205
  "kg-id": (d = r.value) == null ? void 0 : d.id,
21141
- "kg-form_id": (b = r.value) == null ? void 0 : b.frm_id,
21206
+ "kg-form_id": (v = r.value) == null ? void 0 : v.frm_id,
21142
21207
  "kg-var_name": (g = r.value) == null ? void 0 : g.var_nam,
21143
21208
  "kg-cmd": (m = r.value) == null ? void 0 : m.cmd,
21144
21209
  "kg-permission": (T = (p = r.value) == null ? void 0 : p.permission_code) != null ? T : "",
@@ -21168,11 +21233,11 @@ const KgVar = defineComponent({
21168
21233
  }
21169
21234
  });
21170
21235
  const r = computed(() => a.store.getVarButton(a.formID, e.kgVarName)), n = computed(() => {
21171
- var o, u, c, _, d, b, g, m;
21172
- return isNil(e.kgDisabled) ? !!(e.kgLoading || a.kgTable.isRetrieving.value || ((o = r.value) == null ? void 0 : o.dis_no_select_flg) === 1 && ((c = (u = a.kgTable.selectedRows.value) == null ? void 0 : u.length) != null ? c : 0) === 0 || ((_ = r.value) == null ? void 0 : _.dis_mult_select_flg) === 1 && ((b = (d = a.kgTable.selectedRows.value) == null ? void 0 : d.length) != null ? b : 0) > 1 || KgAuthUtil.getPermissionType((g = r.value) == null ? void 0 : g.permission_code) === 2 && !t.p((m = r.value) == null ? void 0 : m.permission_code) || a.isCreating.value || a.isUpdating.value || a.isCopying.value || a.isDeleting.value) : e.kgDisabled;
21236
+ var o, u, c, _, d, v, g, m;
21237
+ return isNil(e.kgDisabled) ? !!(e.kgLoading || a.kgTable.isRetrieving.value || ((o = r.value) == null ? void 0 : o.dis_no_select_flg) === 1 && ((c = (u = a.kgTable.selectedRows.value) == null ? void 0 : u.length) != null ? c : 0) === 0 || ((_ = r.value) == null ? void 0 : _.dis_mult_select_flg) === 1 && ((v = (d = a.kgTable.selectedRows.value) == null ? void 0 : d.length) != null ? v : 0) > 1 || KgAuthUtil.getPermissionType((g = r.value) == null ? void 0 : g.permission_code) === 2 && !t.p((m = r.value) == null ? void 0 : m.permission_code) || a.isCreating.value || a.isUpdating.value || a.isCopying.value || a.isDeleting.value) : e.kgDisabled;
21173
21238
  });
21174
21239
  async function i() {
21175
- var _, d, b;
21240
+ var _, d, v;
21176
21241
  if (e.onKgClick && await e.onKgClick()) {
21177
21242
  a.kgButton.setIsClickIntercepted({
21178
21243
  varName: e.kgVarName,
@@ -21230,7 +21295,7 @@ const KgVar = defineComponent({
21230
21295
  }
21231
21296
  };
21232
21297
  if (((d = e.kgButton) == null ? void 0 : d.show_modal_flg) === 1) {
21233
- const g = KgUtil.tryParseJSON((b = e.kgButton) == null ? void 0 : b.modal_props);
21298
+ const g = KgUtil.tryParseJSON((v = e.kgButton) == null ? void 0 : v.modal_props);
21234
21299
  typeof g.content == "string" && (g.content = a.t(g.content).value), u = KgUtil.confirm({
21235
21300
  onOk: () => c(),
21236
21301
  ...g
@@ -21251,13 +21316,13 @@ const KgVar = defineComponent({
21251
21316
  return e.kgText ? e.kgText : e.kgVarName;
21252
21317
  }
21253
21318
  return () => {
21254
- var o, u, c, _, d, b;
21319
+ var o, u, c, _, d, v;
21255
21320
  return createVNode(Button, {
21256
21321
  "kg-id": (o = r.value) == null ? void 0 : o.id,
21257
21322
  "kg-form_id": (u = r.value) == null ? void 0 : u.frm_id,
21258
21323
  "kg-var_name": (c = r.value) == null ? void 0 : c.var_nam,
21259
21324
  "kg-cmd": (_ = r.value) == null ? void 0 : _.cmd,
21260
- "kg-permission": (b = (d = r.value) == null ? void 0 : d.permission_code) != null ? b : "",
21325
+ "kg-permission": (v = (d = r.value) == null ? void 0 : d.permission_code) != null ? v : "",
21261
21326
  type: "primary",
21262
21327
  disabled: n.value,
21263
21328
  danger: e.kgColor === KG__VAR_BUTTON__COLOR.RED,
@@ -21313,13 +21378,13 @@ const KgVar = defineComponent({
21313
21378
  return e.kgText ? e.kgText : t.t("kg.query");
21314
21379
  }
21315
21380
  return () => {
21316
- var o, u, c, _, d, b;
21381
+ var o, u, c, _, d, v;
21317
21382
  return createVNode(Button, {
21318
21383
  "kg-id": (o = r.value) == null ? void 0 : o.id,
21319
21384
  "kg-form_id": (u = r.value) == null ? void 0 : u.frm_id,
21320
21385
  "kg-var_name": (c = r.value) == null ? void 0 : c.var_nam,
21321
21386
  "kg-cmd": (_ = r.value) == null ? void 0 : _.cmd,
21322
- "kg-permission": (b = (d = r.value) == null ? void 0 : d.permission_code) != null ? b : "",
21387
+ "kg-permission": (v = (d = r.value) == null ? void 0 : d.permission_code) != null ? v : "",
21323
21388
  type: "primary",
21324
21389
  disabled: n.value,
21325
21390
  danger: e.kgColor === KG__VAR_BUTTON__COLOR.RED,
@@ -21390,7 +21455,7 @@ const KgVar = defineComponent({
21390
21455
  icon: "ant-design:edit-outlined"
21391
21456
  }, null);
21392
21457
  }
21393
- function b() {
21458
+ function v() {
21394
21459
  return e.kgText ? e.kgText : n.t("kg.update");
21395
21460
  }
21396
21461
  function g() {
@@ -21407,7 +21472,7 @@ const KgVar = defineComponent({
21407
21472
  onClick: u,
21408
21473
  class: r.class
21409
21474
  }, {
21410
- default: () => [d(), b()]
21475
+ default: () => [d(), v()]
21411
21476
  });
21412
21477
  }
21413
21478
  function m() {
@@ -21545,7 +21610,7 @@ const getProps$c = () => ({
21545
21610
  case KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE.SELECT:
21546
21611
  return g();
21547
21612
  default:
21548
- return b();
21613
+ return v();
21549
21614
  }
21550
21615
  }
21551
21616
  function d(m) {
@@ -21562,7 +21627,7 @@ const getProps$c = () => ({
21562
21627
  onKgClick: () => s(m)
21563
21628
  }, null);
21564
21629
  }
21565
- function b() {
21630
+ function v() {
21566
21631
  var m, p;
21567
21632
  return (p = (m = n.kgButton.varButtons.value) == null ? void 0 : m.filter((T) => T.typ !== KG__VAR_BUTTON__TYPE.SEARCH)) == null ? void 0 : p.filter((T) => T.available_flag !== 0).map((T) => d(T));
21568
21633
  }
@@ -21841,8 +21906,8 @@ const getProps$c = () => ({
21841
21906
  KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE,
21842
21907
  KG__VAR_BUTTON__TYPE.EXPORT
21843
21908
  ].includes(r)) {
21844
- const b = (c = (u = n.store.varButtonMap.get(e)) == null ? void 0 : u.find((g) => g.typ === r)) != null ? c : null;
21845
- return b ? (this.currentButtonMap.set(e, b), i()) : (____ERROR____(`${e} | KgButton.store.setCurrentButton() | \u627E\u4E0D\u5230\u7C7B\u578B\u4E3A\u300C${r}\u300D\u7684\u6309\u94AE.`, {
21909
+ const v = (c = (u = n.store.varButtonMap.get(e)) == null ? void 0 : u.find((g) => g.typ === r)) != null ? c : null;
21910
+ return v ? (this.currentButtonMap.set(e, v), i()) : (____ERROR____(`${e} | KgButton.store.setCurrentButton() | \u627E\u4E0D\u5230\u7C7B\u578B\u4E3A\u300C${r}\u300D\u7684\u6309\u94AE.`, {
21846
21911
  formID: e,
21847
21912
  param: t
21848
21913
  }), i());
@@ -21863,7 +21928,7 @@ const getProps$c = () => ({
21863
21928
  param: t
21864
21929
  }
21865
21930
  ), i();
21866
- const o = (d = (_ = n.store.varButtonMap.get(e)) == null ? void 0 : _.find((b) => b.var_nam === a)) != null ? d : null;
21931
+ const o = (d = (_ = n.store.varButtonMap.get(e)) == null ? void 0 : _.find((v) => v.var_nam === a)) != null ? d : null;
21867
21932
  return o ? (this.currentButtonMap.set(e, o), i()) : (____ERROR____(`${e} | KgButton.store.setCurrentButton() | \u627E\u4E0D\u5230\u53D8\u91CF\u540D\u4E3A\u300C${a}\u300D\u7684\u6309\u94AE.`, {
21868
21933
  formID: e,
21869
21934
  param: t
@@ -22043,8 +22108,8 @@ function _useFormModel(e) {
22043
22108
  const o = ref({}), u = ref({});
22044
22109
  async function c() {
22045
22110
  n.kgSearch.currentVarProfileDetails.value.forEach((_) => {
22046
- var b, g, m, p, T;
22047
- const d = (b = _.var_nam) != null ? b : "";
22111
+ var v, g, m, p, T;
22112
+ const d = (v = _.var_nam) != null ? v : "";
22048
22113
  o.value[d] = KgVarUtil.transformFormItemDefaultValue({
22049
22114
  $dayjs: r,
22050
22115
  buttonVarName: (m = (g = n.kgButton.searchButton.value) == null ? void 0 : g.var_nam) != null ? m : null,
@@ -22104,7 +22169,7 @@ const getProps$a = () => ({
22104
22169
  minHeight: d
22105
22170
  } = _useHeight({
22106
22171
  formContainerRef: l
22107
- }), b = ref({
22172
+ }), v = ref({
22108
22173
  kgHeight: d.value
22109
22174
  }), g = computed(() => {
22110
22175
  var K, U, W, X;
@@ -22120,7 +22185,7 @@ const getProps$a = () => ({
22120
22185
  return !!(g.value || n.kgTable.isRetrieving.value || KgAuthUtil.getPermissionType((K = n.kgButton.searchButton.value) == null ? void 0 : K.permission_code) === 2 && !r.p((U = n.kgButton.searchButton.value) == null ? void 0 : U.permission_code) || n.isCreating.value || n.isUpdating.value || n.isCopying.value || n.isDeleting.value);
22121
22186
  }), T = computed(() => !!(g.value || n.kgTable.isRetrieving.value || n.isCreating.value || n.isUpdating.value || n.isCopying.value || n.isDeleting.value)), E = computed(() => !!n.kgTable.isRetrieving.value), k = ref({
22122
22187
  visible: !1
22123
- }), N = computed(() => b.value.kgHeight === d.value), O = computed(() => {
22188
+ }), N = computed(() => v.value.kgHeight === d.value), O = computed(() => {
22124
22189
  var W;
22125
22190
  if (!n.kgButton.searchButton.value)
22126
22191
  return;
@@ -22175,7 +22240,7 @@ const getProps$a = () => ({
22175
22240
  }
22176
22241
  });
22177
22242
  watch(c, (K) => {
22178
- b.value.kgHeight = K;
22243
+ v.value.kgHeight = K;
22179
22244
  }, {
22180
22245
  immediate: !0
22181
22246
  });
@@ -22311,15 +22376,15 @@ const getProps$a = () => ({
22311
22376
  });
22312
22377
  }
22313
22378
  function x() {
22314
- N.value ? b.value.kgHeight = c.value : b.value.kgHeight = d.value;
22379
+ N.value ? v.value.kgHeight = c.value : v.value.kgHeight = d.value;
22315
22380
  }
22316
22381
  return onUnmounted(async () => {
22317
22382
  n.kgSearch.store.dispose(n.formID);
22318
22383
  }), () => createVNode(KgResizable, {
22319
22384
  "kg-form_id": n.formID,
22320
22385
  ref: s,
22321
- kgHeight: b.value.kgHeight,
22322
- "onUpdate:kgHeight": (K) => b.value.kgHeight = K,
22386
+ kgHeight: v.value.kgHeight,
22387
+ "onUpdate:kgHeight": (K) => v.value.kgHeight = K,
22323
22388
  kgMinHeight: d.value,
22324
22389
  kgMaxHeight: _.value,
22325
22390
  kgDisabled: m.value,
@@ -22781,15 +22846,15 @@ function createStore(e, t, a) {
22781
22846
  _assignPluginFnProp: function(o, u) {
22782
22847
  var c = this[u];
22783
22848
  this[u] = function() {
22784
- var d = slice(arguments, 0), b = this;
22849
+ var d = slice(arguments, 0), v = this;
22785
22850
  function g() {
22786
22851
  if (!!c)
22787
22852
  return each$6(arguments, function(p, T) {
22788
22853
  d[T] = p;
22789
- }), c.apply(b, d);
22854
+ }), c.apply(v, d);
22790
22855
  }
22791
22856
  var m = [g].concat(d);
22792
- return o.apply(b, m);
22857
+ return o.apply(v, m);
22793
22858
  };
22794
22859
  },
22795
22860
  _serialize: function(o) {
@@ -22826,10 +22891,10 @@ function createStore(e, t, a) {
22826
22891
  var _ = o.call(this);
22827
22892
  if (!isObject(_))
22828
22893
  throw new Error("Plugins must return an object of function properties");
22829
- each$6(_, function(d, b) {
22894
+ each$6(_, function(d, v) {
22830
22895
  if (!isFunction(d))
22831
- throw new Error("Bad plugin property: " + b + " from plugin " + o.name + ". Plugins should only return functions.");
22832
- u._assignPluginFnProp(d, b);
22896
+ throw new Error("Bad plugin property: " + v + " from plugin " + o.name + ". Plugins should only return functions.");
22897
+ u._assignPluginFnProp(d, v);
22833
22898
  });
22834
22899
  }
22835
22900
  },
@@ -23305,7 +23370,7 @@ const KgWarehouse$1 = "", getProps$9 = () => ({
23305
23370
  }), onMounted(() => {
23306
23371
  ____DEBUG____("KgWarehouse | onMounted()"), r.store.emit("mounted");
23307
23372
  });
23308
- function b() {
23373
+ function v() {
23309
23374
  !_.value || r.store.setVisible(!0);
23310
23375
  }
23311
23376
  function g() {
@@ -23420,7 +23485,7 @@ const KgWarehouse$1 = "", getProps$9 = () => ({
23420
23485
  }
23421
23486
  return () => createVNode("div", {
23422
23487
  class: n.value,
23423
- onClick: b
23488
+ onClick: v
23424
23489
  }, [k()]);
23425
23490
  }
23426
23491
  });
@@ -23451,11 +23516,11 @@ function createKgWarehouseGuard(e, t) {
23451
23516
  return;
23452
23517
  }
23453
23518
  if (((c = s == null ? void 0 : s.getUserWarehouses) == null ? void 0 : c.length) === 1) {
23454
- const b = (_ = s.getUserWarehouses) == null ? void 0 : _[0];
23455
- n.store.setWarehouse(new WhDTO({ whId: b.wh_id, whDsc: b.wh_dsc })), ____DEBUG____(`createKgWarehouseGuard() | ${a.path} | \u9009\u62E9\u552F\u4E00\u4ED3\u5E93: ${b.wh_id}`);
23519
+ const v = (_ = s.getUserWarehouses) == null ? void 0 : _[0];
23520
+ n.store.setWarehouse(new WhDTO({ whId: v.wh_id, whDsc: v.wh_dsc })), ____DEBUG____(`createKgWarehouseGuard() | ${a.path} | \u9009\u62E9\u552F\u4E00\u4ED3\u5E93: ${v.wh_id}`);
23456
23521
  } else {
23457
- const b = (d = s == null ? void 0 : s.getUserWarehouses) == null ? void 0 : d.find((g) => g.default_flag === 1);
23458
- b ? (n.store.setWarehouse(new WhDTO({ whId: b.wh_id, whDsc: b.wh_dsc })), ____DEBUG____(`createKgWarehouseGuard() | ${a.path} | \u9009\u62E9\u9ED8\u8BA4\u4ED3\u5E93: ${b.wh_id}`)) : (n.store.setVisible(!0), ____DEBUG____(`createKgWarehouseGuard() | ${a.path} | \u6253\u5F00\u4ED3\u5E93\u9009\u62E9\u5F39\u7A97.`));
23522
+ const v = (d = s == null ? void 0 : s.getUserWarehouses) == null ? void 0 : d.find((g) => g.default_flag === 1);
23523
+ v ? (n.store.setWarehouse(new WhDTO({ whId: v.wh_id, whDsc: v.wh_dsc })), ____DEBUG____(`createKgWarehouseGuard() | ${a.path} | \u9009\u62E9\u9ED8\u8BA4\u4ED3\u5E93: ${v.wh_id}`)) : (n.store.setVisible(!0), ____DEBUG____(`createKgWarehouseGuard() | ${a.path} | \u6253\u5F00\u4ED3\u5E93\u9009\u62E9\u5F39\u7A97.`));
23459
23524
  }
23460
23525
  }), !0;
23461
23526
  });
@@ -23473,7 +23538,7 @@ function httpClient() {
23473
23538
  throw new Error("\u6CA1\u6709\u8BBE\u7F6E httpClient \u5B9E\u4F8B.");
23474
23539
  return _httpClient.request = new Proxy(_httpClient.request, {
23475
23540
  apply(e, t, a) {
23476
- var b, g, m, p;
23541
+ var v, g, m, p;
23477
23542
  const r = useKg(), n = a[0], i = a[1];
23478
23543
  n.headers || (n.headers = {});
23479
23544
  const s = KG_HTTP_HEADERS.KG_FORM_ID, l = KG_HTTP_HEADERS.KG_IS_DYNAMIC_QUERY, o = KG_HTTP_HEADERS.KG_QUERY_WHERE_SQL, u = KG_HTTP_HEADERS.KG_QUERY_ORDER_BY_SQL, c = KG_HTTP_HEADERS.KG_QUERY_OFFSET_SQL, _ = KG_HTTP_HEADERS.KG_QUERY_SQL, d = KG_HTTP_HEADERS.KG_QUERY_OPERATOR;
@@ -23490,7 +23555,7 @@ function httpClient() {
23490
23555
  params: T
23491
23556
  });
23492
23557
  n.headers = {
23493
- ...(b = n.headers) != null ? b : {},
23558
+ ...(v = n.headers) != null ? v : {},
23494
23559
  [l]: !0,
23495
23560
  [c]: O,
23496
23561
  [d]: R,
@@ -23509,22 +23574,22 @@ function httpClient() {
23509
23574
  }
23510
23575
  class ListQuery$1 {
23511
23576
  constructor(t) {
23512
- v(this, "codnam");
23513
- v(this, "codval");
23514
- v(this, "grpNam");
23515
- v(this, "id");
23516
- v(this, "lngDsc");
23517
- v(this, "localeId");
23518
- v(this, "modUsrCod");
23519
- v(this, "moddte");
23520
- v(this, "shortDsc");
23521
- v(this, "srtseq");
23522
- v(this, "sysDefFlg");
23523
- v(this, "version");
23524
- v(this, "column");
23525
- v(this, "order");
23526
- v(this, "pageNo");
23527
- v(this, "pageSize");
23577
+ b(this, "codnam");
23578
+ b(this, "codval");
23579
+ b(this, "grpNam");
23580
+ b(this, "id");
23581
+ b(this, "lngDsc");
23582
+ b(this, "localeId");
23583
+ b(this, "modUsrCod");
23584
+ b(this, "moddte");
23585
+ b(this, "shortDsc");
23586
+ b(this, "srtseq");
23587
+ b(this, "sysDefFlg");
23588
+ b(this, "version");
23589
+ b(this, "column");
23590
+ b(this, "order");
23591
+ b(this, "pageNo");
23592
+ b(this, "pageSize");
23528
23593
  keys(t != null ? t : {}).forEach((a) => {
23529
23594
  switch (a) {
23530
23595
  case "codnam":
@@ -23584,34 +23649,34 @@ const index$a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23584
23649
  }, Symbol.toStringTag, { value: "Module" }));
23585
23650
  class ListQuery {
23586
23651
  constructor(t) {
23587
- v(this, "alwaysShow");
23588
- v(this, "app");
23589
- v(this, "component");
23590
- v(this, "componentName");
23591
- v(this, "createBy");
23592
- v(this, "createTime");
23593
- v(this, "delFlag");
23594
- v(this, "description");
23595
- v(this, "hidden");
23596
- v(this, "hideTab");
23597
- v(this, "icon");
23598
- v(this, "id");
23599
- v(this, "internalOrExternal");
23600
- v(this, "keepAlive");
23601
- v(this, "leaf");
23602
- v(this, "menuType");
23603
- v(this, "name");
23604
- v(this, "parentId");
23605
- v(this, "perms");
23606
- v(this, "permsType");
23607
- v(this, "redirect");
23608
- v(this, "route");
23609
- v(this, "ruleFlag");
23610
- v(this, "sortNo");
23611
- v(this, "status");
23612
- v(this, "updateBy");
23613
- v(this, "updateTime");
23614
- v(this, "url");
23652
+ b(this, "alwaysShow");
23653
+ b(this, "app");
23654
+ b(this, "component");
23655
+ b(this, "componentName");
23656
+ b(this, "createBy");
23657
+ b(this, "createTime");
23658
+ b(this, "delFlag");
23659
+ b(this, "description");
23660
+ b(this, "hidden");
23661
+ b(this, "hideTab");
23662
+ b(this, "icon");
23663
+ b(this, "id");
23664
+ b(this, "internalOrExternal");
23665
+ b(this, "keepAlive");
23666
+ b(this, "leaf");
23667
+ b(this, "menuType");
23668
+ b(this, "name");
23669
+ b(this, "parentId");
23670
+ b(this, "perms");
23671
+ b(this, "permsType");
23672
+ b(this, "redirect");
23673
+ b(this, "route");
23674
+ b(this, "ruleFlag");
23675
+ b(this, "sortNo");
23676
+ b(this, "status");
23677
+ b(this, "updateBy");
23678
+ b(this, "updateTime");
23679
+ b(this, "url");
23615
23680
  keys(t != null ? t : {}).forEach((a) => {
23616
23681
  switch (a) {
23617
23682
  case "alwaysShow":
@@ -23667,7 +23732,7 @@ const index$9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23667
23732
  }, Symbol.toStringTag, { value: "Module" }));
23668
23733
  class GetAllQuery {
23669
23734
  constructor(t) {
23670
- v(this, "frm_id");
23735
+ b(this, "frm_id");
23671
23736
  keys(t != null ? t : {}).forEach((a) => {
23672
23737
  switch (a) {
23673
23738
  case "frm_id":
@@ -23715,7 +23780,7 @@ const index$7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23715
23780
  }, Symbol.toStringTag, { value: "Module" }));
23716
23781
  class ExecuteQueryQuery {
23717
23782
  constructor(t) {
23718
- v(this, "id");
23783
+ b(this, "id");
23719
23784
  keys(t != null ? t : {}).forEach((a) => {
23720
23785
  switch (a) {
23721
23786
  case "id":
@@ -23891,7 +23956,7 @@ const index$5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23891
23956
  }, Symbol.toStringTag, { value: "Module" }));
23892
23957
  class QueryByIDQuery$1 {
23893
23958
  constructor(t) {
23894
- v(this, "id");
23959
+ b(this, "id");
23895
23960
  keys(t != null ? t : {}).forEach((a) => {
23896
23961
  switch (a) {
23897
23962
  case "id":
@@ -23936,7 +24001,7 @@ const index$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23936
24001
  }, Symbol.toStringTag, { value: "Module" }));
23937
24002
  class QueryByIDQuery {
23938
24003
  constructor(t) {
23939
- v(this, "id");
24004
+ b(this, "id");
23940
24005
  keys(t != null ? t : {}).forEach((a) => {
23941
24006
  switch (a) {
23942
24007
  case "id":
@@ -23984,24 +24049,24 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23984
24049
  }, Symbol.toStringTag, { value: "Module" }));
23985
24050
  class ListVOQuery {
23986
24051
  constructor(t) {
23987
- v(this, "activeFlg");
23988
- v(this, "adrId");
23989
- v(this, "adrnam");
23990
- v(this, "comCod");
23991
- v(this, "defWhFlg");
23992
- v(this, "id");
23993
- v(this, "orgcod");
23994
- v(this, "permAdjLod");
23995
- v(this, "permAdjSub");
23996
- v(this, "permCreLod");
23997
- v(this, "permCreSub");
23998
- v(this, "version");
23999
- v(this, "whDsc");
24000
- v(this, "whId");
24001
- v(this, "column");
24002
- v(this, "order");
24003
- v(this, "pageNo");
24004
- v(this, "pageSize");
24052
+ b(this, "activeFlg");
24053
+ b(this, "adrId");
24054
+ b(this, "adrnam");
24055
+ b(this, "comCod");
24056
+ b(this, "defWhFlg");
24057
+ b(this, "id");
24058
+ b(this, "orgcod");
24059
+ b(this, "permAdjLod");
24060
+ b(this, "permAdjSub");
24061
+ b(this, "permCreLod");
24062
+ b(this, "permCreSub");
24063
+ b(this, "version");
24064
+ b(this, "whDsc");
24065
+ b(this, "whId");
24066
+ b(this, "column");
24067
+ b(this, "order");
24068
+ b(this, "pageNo");
24069
+ b(this, "pageSize");
24005
24070
  keys(t != null ? t : {}).forEach((a) => {
24006
24071
  switch (a) {
24007
24072
  case "activeFlg":
@@ -24110,7 +24175,7 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
24110
24175
  function d(C) {
24111
24176
  n.value.frmId = C != null ? C : "", n.value.varButtons.forEach((F) => F.frm_id = C), n.value.varVariables.forEach((F) => F.frm_id = C), n.value.varDda.frm_id = C != null ? C : "", n.value.varGridConfig.frm_id = C != null ? C : "", n.value.varGridDetails.forEach((F) => F.frm_id = C), n.value.varGridMaster.frm_id = C != null ? C : "", n.value.varProfileConfig.frm_id = C != null ? C : "", n.value.varProfileDetails.forEach((F) => F.frm_id = C), n.value.varProfileMaster.frm_id = C != null ? C : "", n.value.varSubmitConfigs.forEach((F) => F.frm_id = C), n.value.varSubmitDetails.forEach((F) => F.frm_id = C), n.value.varConfigDescriptions.forEach((F) => F.frm_id = C);
24112
24177
  }
24113
- function b(C) {
24178
+ function v(C) {
24114
24179
  const { properties: F = {} } = C;
24115
24180
  Object.entries(F).forEach(([B, I]) => {
24116
24181
  B in n.value.sysPermissions[0] && n.value.sysPermissions[0][B] !== I && (n.value.sysPermissions[0][B] = I);
@@ -24332,7 +24397,7 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
24332
24397
  getVarText: R,
24333
24398
  initCreateVarDdaQuery: A,
24334
24399
  isLoading: a,
24335
- patchSysPermission: b,
24400
+ patchSysPermission: v,
24336
24401
  patchVarButton: p,
24337
24402
  resultSetMetadataColumns: r,
24338
24403
  setFormID: d,
@@ -24365,7 +24430,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24365
24430
  frmId: [{
24366
24431
  trigger: "blur",
24367
24432
  required: !0,
24368
- validator: (_, d) => new Promise(async (b, g) => {
24433
+ validator: (_, d) => new Promise(async (v, g) => {
24369
24434
  if (!d)
24370
24435
  return g(a.t("kg.required"));
24371
24436
  try {
@@ -24375,7 +24440,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24375
24440
  }
24376
24441
  }, {
24377
24442
  errorMessageMode: "none"
24378
- }), b();
24443
+ }), v();
24379
24444
  } catch (m) {
24380
24445
  m != null && m.message ? g(m == null ? void 0 : m.message) : g(m);
24381
24446
  } finally {
@@ -24390,7 +24455,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24390
24455
  sql: [{
24391
24456
  trigger: "blur",
24392
24457
  required: !0,
24393
- validator: (_, d) => new Promise(async (b, g) => {
24458
+ validator: (_, d) => new Promise(async (v, g) => {
24394
24459
  if (!d)
24395
24460
  return g(a.t("kg.required"));
24396
24461
  try {
@@ -24400,7 +24465,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24400
24465
  }
24401
24466
  }, {
24402
24467
  errorMessageMode: "none"
24403
- }), b();
24468
+ }), v();
24404
24469
  } catch (m) {
24405
24470
  m != null && m.message ? g(m == null ? void 0 : m.message) : g(m);
24406
24471
  } finally {
@@ -24540,7 +24605,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24540
24605
  }), !0)), r.kgForm.onSelectBeforeSetDatas(async ({
24541
24606
  varName: _,
24542
24607
  isCreating: d,
24543
- isUpdating: b,
24608
+ isUpdating: v,
24544
24609
  datas: g
24545
24610
  }) => {
24546
24611
  switch (_) {
@@ -24559,14 +24624,14 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24559
24624
  }), r.kgForm.onSelectChange(async ({
24560
24625
  var_nam: _,
24561
24626
  values: d,
24562
- isCreating: b,
24627
+ isCreating: v,
24563
24628
  isUpdating: g,
24564
24629
  model: m
24565
24630
  }) => {
24566
24631
  switch (_) {
24567
24632
  case "typ": {
24568
24633
  switch (!0) {
24569
- case b: {
24634
+ case v: {
24570
24635
  if (!(m != null && m.value))
24571
24636
  break;
24572
24637
  const p = d == null ? void 0 : d[0];
@@ -24688,18 +24753,18 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24688
24753
  var_nam: [
24689
24754
  {
24690
24755
  trigger: "blur",
24691
- validator: (_, d) => new Promise((b, g) => {
24756
+ validator: (_, d) => new Promise((v, g) => {
24692
24757
  var m;
24693
24758
  if (n.getVarButtons.find((p) => p.var_nam === d))
24694
24759
  return g(a.t("kg.KgPageDdaCreateButton.button-var-name-used"));
24695
24760
  if (((m = r.kgSubmit.formModel.value) == null ? void 0 : m.typ) === KG__VAR_BUTTON__TYPE.OTHER && [KG__VAR_BUTTON__TYPE.SEARCH, KG__VAR_BUTTON__TYPE.CREATE, KG__VAR_BUTTON__TYPE.UPDATE, KG__VAR_BUTTON__TYPE.COPY, KG__VAR_BUTTON__TYPE.DELETE, KG__VAR_BUTTON__TYPE.IMPORT, KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE, KG__VAR_BUTTON__TYPE.EXPORT].includes(d))
24696
24761
  return g(a.t("kg.KgPageDdaCreateButton.button-var-name-reserved"));
24697
- b();
24762
+ v();
24698
24763
  })
24699
24764
  },
24700
24765
  {
24701
24766
  trigger: "blur",
24702
- validator: (_, d) => new Promise(async (b, g) => {
24767
+ validator: (_, d) => new Promise(async (v, g) => {
24703
24768
  try {
24704
24769
  n.setIsLoading(!0), await ValidateVarButtonVarName({
24705
24770
  data: {
@@ -24707,7 +24772,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24707
24772
  }
24708
24773
  }, {
24709
24774
  errorMessageMode: "none"
24710
- }), b();
24775
+ }), v();
24711
24776
  } catch (m) {
24712
24777
  m != null && m.message ? g(m == null ? void 0 : m.message) : g(m);
24713
24778
  } finally {
@@ -24724,7 +24789,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24724
24789
  }), r.kgSubmit.onBeforeRequest(async ({
24725
24790
  isCreating: _,
24726
24791
  isUpdating: d,
24727
- isDeleting: b,
24792
+ isDeleting: v,
24728
24793
  data: g
24729
24794
  }) => {
24730
24795
  var m, p, T, E;
@@ -24754,7 +24819,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24754
24819
  }), r.kgButton.setCurrentButton(null);
24755
24820
  break;
24756
24821
  }
24757
- case b: {
24822
+ case v: {
24758
24823
  (E = g.value) == null || E.forEach(({
24759
24824
  var_nam: k
24760
24825
  }) => {
@@ -24790,14 +24855,14 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24790
24855
  bodyCell: ({
24791
24856
  row: _,
24792
24857
  column: d,
24793
- defaultRender: b
24858
+ defaultRender: v
24794
24859
  }) => {
24795
24860
  const g = _;
24796
24861
  switch (d.dataIndex) {
24797
24862
  case "var_text":
24798
24863
  return n.getVarText(g.var_nam);
24799
24864
  default:
24800
- return b;
24865
+ return v;
24801
24866
  }
24802
24867
  }
24803
24868
  },
@@ -25129,7 +25194,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25129
25194
  break;
25130
25195
  }
25131
25196
  }
25132
- function b() {
25197
+ function v() {
25133
25198
  r.setVarProfileDetails(s.value.filter((g) => g.id !== __KG__CREATE_ROW_ID__).map((g, m) => new VarProfileDetail({
25134
25199
  ena_flg: 1,
25135
25200
  prf_var_nam: "defaultProfile",
@@ -25145,7 +25210,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25145
25210
  });
25146
25211
  }
25147
25212
  return t({
25148
- onSubmit: b
25213
+ onSubmit: v
25149
25214
  }), () => createVNode("div", null, [createVNode(Transfer, {
25150
25215
  dataSource: n.value,
25151
25216
  targetKeys: i.value,
@@ -25373,7 +25438,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25373
25438
  break;
25374
25439
  }
25375
25440
  }
25376
- function b() {
25441
+ function v() {
25377
25442
  const g = s.value.filter((m) => m.id !== __KG__CREATE_ROW_ID__);
25378
25443
  r.setVarSubmitDetails(g.map((m, p) => new VarSubmitDetail({
25379
25444
  srtseq: p + 1,
@@ -25387,7 +25452,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25387
25452
  });
25388
25453
  }
25389
25454
  return t({
25390
- onSubmit: b
25455
+ onSubmit: v
25391
25456
  }), () => createVNode("div", null, [createVNode(Transfer, {
25392
25457
  dataSource: n.value,
25393
25458
  targetKeys: i.value,
@@ -25613,7 +25678,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25613
25678
  break;
25614
25679
  }
25615
25680
  }
25616
- function b() {
25681
+ function v() {
25617
25682
  r.setVarGridDetails(s.value.filter((g) => g.id !== __KG__CREATE_ROW_ID__).map((g, m) => new VarGridDetail({
25618
25683
  grd_var_nam: "defaultGrid",
25619
25684
  srtseq: m + 1,
@@ -25628,7 +25693,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25628
25693
  });
25629
25694
  }
25630
25695
  return t({
25631
- onSubmit: b
25696
+ onSubmit: v
25632
25697
  }), () => createVNode("div", null, [createVNode(Transfer, {
25633
25698
  dataSource: n.value,
25634
25699
  targetKeys: i.value,
@@ -25697,7 +25762,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25697
25762
  const a = useKg(), r = useKgPageDdaCreateStore(getPinia()), n = ref(1), i = computed(() => {
25698
25763
  let N = "kg-page-dda-create";
25699
25764
  return N += ` kg-page-dda-create--step-${n.value}`, N;
25700
- }), s = computed(() => !!r.getIsLoading), l = computed(() => !!r.getIsLoading), o = computed(() => !!r.getIsLoading), u = computed(() => !1), c = ref(null), _ = ref(null), d = ref(null), b = ref(null), g = ref(null), m = ref(null);
25765
+ }), s = computed(() => !!r.getIsLoading), l = computed(() => !!r.getIsLoading), o = computed(() => !!r.getIsLoading), u = computed(() => !1), c = ref(null), _ = ref(null), d = ref(null), v = ref(null), g = ref(null), m = ref(null);
25701
25766
  function p() {
25702
25767
  n.value !== 1 && (n.value -= 1);
25703
25768
  }
@@ -25724,7 +25789,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25724
25789
  break;
25725
25790
  case 4:
25726
25791
  try {
25727
- await ((A = b.value) == null ? void 0 : A.onSubmit()), n.value += 1;
25792
+ await ((A = v.value) == null ? void 0 : A.onSubmit()), n.value += 1;
25728
25793
  } catch {
25729
25794
  }
25730
25795
  break;
@@ -25819,7 +25884,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25819
25884
  ref: d,
25820
25885
  class: "kg-page-dda-create--table"
25821
25886
  }, null), createVNode(KgPageDdaCreateSubmit, {
25822
- ref: b,
25887
+ ref: v,
25823
25888
  class: "kg-page-dda-create--submit"
25824
25889
  }, null), createVNode(KgPageDdaCreateButton, {
25825
25890
  ref: g,
@@ -25998,6 +26063,7 @@ export {
25998
26063
  KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE,
25999
26064
  KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE,
26000
26065
  KG__VAR_CONFIG_TIP__PLACEMENT,
26066
+ KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK,
26001
26067
  KG__VAR_GRID_DETAIL__ALIGN,
26002
26068
  KG__VAR_GRID_DETAIL__DISPLAY_TYPE,
26003
26069
  KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE,