@kengic/vue 0.25.2-beta.0 → 0.25.2-beta.2

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.2-beta.0";
2440
+ }), version = "0.25.2-beta.2";
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,26 @@ 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.`, {
12155
- VarGridConfig: e
12156
- }), e.operation_on_row_click = 1);
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 = a), 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), [t, a, r].includes(Number(e.operation_on_row_click)) || (____ERROR____(
12154
+ `| \u6570\u636E\u6709\u8BEF | var_grid_config.operation_on_row_click \u4E3A\u975E\u6CD5\u503C\u300C${e.operation_on_row_click}\u300D, \u6539\u4E3A\u4F7F\u7528\u9ED8\u8BA4\u503C ${1}. \u5408\u6CD5\u7684\u503C\u4E3A ${t}, ${a}, ${r}.`,
12155
+ { VarGridConfig: e }
12156
+ ), e.operation_on_row_click = a);
12157
12157
  try {
12158
- let a = JSON.parse(e.pg_size_opts);
12158
+ let n = JSON.parse(e.pg_size_opts);
12159
12159
  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): {
12160
+ case !isArray$1(n):
12161
+ case n.length < 1:
12162
+ case n.some((i) => Number.isNaN(Number(i)) || Math.floor(Number(i)) <= 0): {
12163
12163
  ____ERROR____(`| \u6570\u636E\u6709\u8BEF | var_grid_config.pg_size_opts \u975E\u6CD5, \u6539\u4E3A\u4F7F\u7528\u9ED8\u8BA4\u503C ${DEFAULT_PAGE_SIZES}.`, {
12164
12164
  VarGridConfig: e
12165
12165
  }), e.pg_size_opts = DEFAULT_PAGE_SIZES;
12166
12166
  break;
12167
12167
  }
12168
12168
  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) {
12169
+ switch (n = sortBy$1(uniq(n.map((i) => Math.floor(i)))), e.pg_size_opts = JSON.stringify(n), e.pg_size_opt || (e.pg_size_opt = n[0]), e.pg_size_opt = Number(e.pg_size_opt), !0) {
12170
12170
  case Number.isNaN(e.pg_size_opt):
12171
- case !a.includes(e.pg_size_opt): {
12171
+ case !n.includes(e.pg_size_opt): {
12172
12172
  ____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
12173
  break;
12174
12174
  }
@@ -12422,16 +12422,26 @@ const getProps$A = () => ({}), KgVarConfigModalTableVarGridConfig = defineCompon
12422
12422
  response: o,
12423
12423
  varName: u
12424
12424
  }) => {
12425
- var c, _, d, b;
12425
+ var c, _, d, v;
12426
12426
  switch (l) {
12427
12427
  case KG_FORM_CONTEXT.SUBMIT:
12428
12428
  case KG_FORM_CONTEXT.TABLE: {
12429
12429
  switch (u) {
12430
+ case "id_clm": {
12431
+ const g = r.varVariables.value.map((m) => ({
12432
+ value: m.var_nam,
12433
+ label: m.var_nam
12434
+ }));
12435
+ return g.find((m) => m.value === "id") || g.unshift({
12436
+ value: "id",
12437
+ label: "id"
12438
+ }), o.value = g, !0;
12439
+ }
12430
12440
  case "pg_size_opt":
12431
12441
  return isArray$1(n.kgSubmit.formModel.value.pg_size_opts) && (o.value = n.kgSubmit.formModel.value.pg_size_opts.map((g) => ({
12432
12442
  value: g,
12433
12443
  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;
12444
+ })), 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
12445
  }
12436
12446
  break;
12437
12447
  }
@@ -13139,7 +13149,7 @@ function _useTransferColumns(e, t) {
13139
13149
  class: "kg-not-clickable"
13140
13150
  }, {
13141
13151
  default: () => {
13142
- let u, c, _, d, b, g, m, p;
13152
+ let u, c, _, d, v, g, m, p;
13143
13153
  return createVNode(Fragment, null, [createVNode(Select.Option, {
13144
13154
  value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.DESC
13145
13155
  }, _isSlot$a(u = a.t("kg.KgVarConfigModalTableVarGridMaster.DESC")) ? u : {
@@ -13158,8 +13168,8 @@ function _useTransferColumns(e, t) {
13158
13168
  default: () => [d]
13159
13169
  }), createVNode(Select.Option, {
13160
13170
  value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.UPDATE_LINK
13161
- }, _isSlot$a(b = a.t("kg.KgVarConfigModalTableVarGridMaster.UPDATE_LINK")) ? b : {
13162
- default: () => [b]
13171
+ }, _isSlot$a(v = a.t("kg.KgVarConfigModalTableVarGridMaster.UPDATE_LINK")) ? v : {
13172
+ default: () => [v]
13163
13173
  }), createVNode(Select.Option, {
13164
13174
  value: KG__VAR_GRID_DETAIL__DISPLAY_TYPE.ROUTE_LINK
13165
13175
  }, _isSlot$a(g = a.t("kg.KgVarConfigModalTableVarGridMaster.ROUTE_LINK")) ? g : {
@@ -13245,10 +13255,10 @@ function _useDragToSortRow$2(e, t, a) {
13245
13255
  const d = document.createElement("span");
13246
13256
  d.setAttribute("id", "__kg_var_config__modal__table__var_grid_master__kg_submit__fields__drag_image__");
13247
13257
  const {
13248
- width: b,
13258
+ width: v,
13249
13259
  height: g
13250
13260
  } = 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);
13261
+ 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
13262
  const m = await toCanvas(c.parentElement);
13253
13263
  d.appendChild(m), document.body.appendChild(d), (T = _.dataTransfer) == null || T.setDragImage(d, -10, (g + 2) / 2);
13254
13264
  }, c.addEventListener("dragstart", c.__kg__dragstart__), c.__kg__dragend__ = (_) => {
@@ -13263,19 +13273,19 @@ function _useDragToSortRow$2(e, t, a) {
13263
13273
  if (r = filter(document.querySelectorAll(`tr[kg-host-frm_id="${e}"]`), () => !0), r)
13264
13274
  for (let c of r)
13265
13275
  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");
13276
+ var d, v;
13277
+ _.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
13278
  }, 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");
13279
+ var d, v;
13280
+ 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
13281
  }, c.addEventListener("dragenter", c.__kg__dragenter__), c.__kg__dragleave__ = (_) => {
13272
13282
  c.classList.remove("dragover", "dragover-right", "dragover-left");
13273
13283
  }, c.addEventListener("dragleave", c.__kg__dragleave__), c.__kg__drop__ = (_) => {
13274
13284
  _.preventDefault();
13275
13285
  const d = document.querySelector("#__kg_var_config__modal__table__var_grid_master__kg_submit__fields__drag_image__");
13276
13286
  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));
13287
+ const v = i == null ? void 0 : i.getAttribute("kg-var_name"), g = c.getAttribute("kg-var_name");
13288
+ v !== g && (KgUtil.showLoading(), o(v, g));
13279
13289
  }, c.addEventListener("drop", c.__kg__drop__);
13280
13290
  }
13281
13291
  function l() {
@@ -13294,12 +13304,12 @@ function _useDragToSortRow$2(e, t, a) {
13294
13304
  }
13295
13305
  function o(c, _) {
13296
13306
  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)
13307
+ const d = t.value.findIndex((p) => p.var_nam === c), v = t.value.findIndex((p) => p.var_nam === _);
13308
+ if (d === -1 || v === -1)
13299
13309
  return;
13300
13310
  const g = t.value.find((p) => p.var_nam === c), m = [];
13301
13311
  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)));
13312
+ 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
13313
  }), m.forEach((p, T) => {
13304
13314
  p.srtseq = T + 1;
13305
13315
  }), t.value = m, nextTick().finally(() => {
@@ -13463,7 +13473,7 @@ const getProps$z = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
13463
13473
  dataSource: R,
13464
13474
  customRow: (A) => {
13465
13475
  let V = {
13466
- onClick: (y) => b(y, A, p, E)
13476
+ onClick: (y) => v(y, A, p, E)
13467
13477
  };
13468
13478
  return p === "right" && (V["kg-host-frm_id"] = r.formID, V["kg-var_name"] = A.var_nam), V;
13469
13479
  },
@@ -13501,7 +13511,7 @@ const getProps$z = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
13501
13511
  selectedRowKeys: T,
13502
13512
  columnWidth: 32
13503
13513
  });
13504
- function b(p, T, E, k) {
13514
+ function v(p, T, E, k) {
13505
13515
  if (!KgDomUtil.isNotClickable(p.target, ["ant-input"]))
13506
13516
  switch (k.length = 0, p.detail) {
13507
13517
  case 1:
@@ -13622,10 +13632,10 @@ function _useDragToSortRow$1(e) {
13622
13632
  const d = document.createElement("span");
13623
13633
  d.setAttribute("id", "__kg_table__setting__columns__drag_image__");
13624
13634
  const {
13625
- width: b,
13635
+ width: v,
13626
13636
  height: g
13627
13637
  } = 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);
13638
+ 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
13639
  const m = await toCanvas(c.parentElement);
13630
13640
  d.appendChild(m), document.body.appendChild(d), (T = _.dataTransfer) == null || T.setDragImage(d, -10, (g + 2) / 2);
13631
13641
  }, c.addEventListener("dragstart", c.__kg__dragstart__), c.__kg__dragend__ = (_) => {
@@ -13640,19 +13650,19 @@ function _useDragToSortRow$1(e) {
13640
13650
  if (r = filter((u = t.value) == null ? void 0 : u.querySelectorAll("& > li"), () => !0), r)
13641
13651
  for (let c of r)
13642
13652
  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");
13653
+ var d, v;
13654
+ _.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
13655
  }, 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");
13656
+ var d, v;
13657
+ 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
13658
  }, c.addEventListener("dragenter", c.__kg__dragenter__), c.__kg__dragleave__ = (_) => {
13649
13659
  c.classList.remove("dragover", "dragover-right", "dragover-left");
13650
13660
  }, c.addEventListener("dragleave", c.__kg__dragleave__), c.__kg__drop__ = (_) => {
13651
13661
  _.preventDefault(), KgUtil.showLoading();
13652
13662
  const d = document.querySelector("#__kg_table__setting__columns__drag_image__");
13653
13663
  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(() => {
13664
+ const v = i == null ? void 0 : i.getAttribute("kg-var_name"), g = c.getAttribute("kg-var_name");
13665
+ v !== g && (a.store.dragSortCurrentVarGridDetails(a.formID, v, g), nextTick().finally(() => {
13656
13666
  KgUtil.hideLoading();
13657
13667
  }));
13658
13668
  }, c.addEventListener("drop", c.__kg__drop__);
@@ -13687,9 +13697,9 @@ const FORM_ID__VAR_GRID_MASTER__SAVE = "kg-table.VarGridMaster.Save", KgTableSet
13687
13697
  KgUtil.showLoading();
13688
13698
  const r = inject(KG__DI__FORM_ID, null), n = useKg(), i = useKgVar(r), s = useKgVar(FORM_ID__VAR_GRID_MASTER__SAVE);
13689
13699
  return s.kgSubmit.onOpen(async () => {
13690
- var o, u, c, _, d, b, g;
13700
+ var o, u, c, _, d, v, g;
13691
13701
  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;
13702
+ 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
13703
  }), 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
13704
  isForceRequest: !0
13695
13705
  }), !1)), s.kgSubmit.onClose(async () => (a("kgClose"), !1)), s.kgButton.setCurrentButton({
@@ -13722,9 +13732,9 @@ const getProps$w = () => ({
13722
13732
  visible: !1
13723
13733
  }), _ = ref({
13724
13734
  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);
13735
+ }), d = computed(() => isNil(e.kgDisabled) ? !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value : e.kgDisabled), v = ref(null);
13726
13736
  _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
13737
+ columnsRef: v
13728
13738
  }), watch(l, (B) => {
13729
13739
  B || (o.value = "");
13730
13740
  }, {
@@ -13779,7 +13789,7 @@ const getProps$w = () => ({
13779
13789
  "onUpdate:value": (I) => o.value = I,
13780
13790
  allowClear: !0
13781
13791
  }, null), createVNode("ul", {
13782
- ref: b,
13792
+ ref: v,
13783
13793
  class: "ant-dropdown-menu ant-dropdown-menu-vertical"
13784
13794
  }, [(B = n.currentVarGridDetails.value) == null ? void 0 : B.map((I, D) => createVNode("li", {
13785
13795
  class: "ant-dropdown-menu-item ant-dropdown-menu-item-only-child",
@@ -14113,7 +14123,7 @@ const getProps$v = () => ({
14113
14123
  }
14114
14124
  });
14115
14125
  }
14116
- function b() {
14126
+ function v() {
14117
14127
  return createVNode(Menu.Item, {
14118
14128
  key: "fix-to-right"
14119
14129
  }, {
@@ -14208,7 +14218,7 @@ const getProps$v = () => ({
14208
14218
  triggerSubMenuAction: "click",
14209
14219
  selectable: !1
14210
14220
  }, {
14211
- default: () => [o(), u(), c(), _(), d(), b(), g()]
14221
+ default: () => [o(), u(), c(), _(), d(), v(), g()]
14212
14222
  })
14213
14223
  });
14214
14224
  }
@@ -14253,8 +14263,8 @@ const getProps$u = () => ({
14253
14263
  n.kgTable.store.clearDatas(n.formID);
14254
14264
  }
14255
14265
  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)
14266
+ var _, d, v, g;
14267
+ 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
14268
  return;
14259
14269
  const u = document.querySelectorAll(`.kg-table[kg-form_id="${n.formID}"] tr.ant-table-row-selected`);
14260
14270
  i >= u.length && (i = 0);
@@ -14546,8 +14556,8 @@ const getProps$s = () => ({
14546
14556
  src: props.kgValue,
14547
14557
  width: _,
14548
14558
  height: d,
14549
- onClick: (b) => {
14550
- b.preventDefault(), b.stopPropagation();
14559
+ onClick: (v) => {
14560
+ v.preventDefault(), v.stopPropagation();
14551
14561
  }
14552
14562
  }, null);
14553
14563
  }
@@ -14619,7 +14629,7 @@ function _useRenderBodyCell() {
14619
14629
  value: c,
14620
14630
  renderIndex: l
14621
14631
  }) : d = c;
14622
- const b = createVNode(KgTableBodyCell, {
14632
+ const v = createVNode(KgTableBodyCell, {
14623
14633
  kgContext: i,
14624
14634
  kgRow: o,
14625
14635
  kgValue: d,
@@ -14627,7 +14637,7 @@ function _useRenderBodyCell() {
14627
14637
  onKgUpdateLinkClick: () => a(o)
14628
14638
  }, null);
14629
14639
  if (!((m = e == null ? void 0 : e.KgTable) != null && m.bodyCell))
14630
- return b;
14640
+ return v;
14631
14641
  const g = _ ? t.kgTable.getVarGridDetail({
14632
14642
  varName: _
14633
14643
  }) : null;
@@ -14639,7 +14649,7 @@ function _useRenderBodyCell() {
14639
14649
  value: c,
14640
14650
  row: o,
14641
14651
  varGridDetail: g,
14642
- defaultRender: b
14652
+ defaultRender: v
14643
14653
  });
14644
14654
  }
14645
14655
  return {
@@ -14654,7 +14664,7 @@ function _useColumns(e) {
14654
14664
  return ((c = a.store.getVarGridConfig(a.formID)) == null ? void 0 : c.show_check_column_flg) === 1;
14655
14665
  }), l = computed(() => {
14656
14666
  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 = [{
14667
+ 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
14668
  dataIndex: "index",
14659
14669
  width: KG_TABLE_TD_INDEX_WIDTH,
14660
14670
  fixed: "left",
@@ -14756,7 +14766,7 @@ function _useColumns(e) {
14756
14766
  }
14757
14767
  };
14758
14768
  })) != null ? E : []];
14759
- return (b === 0 || d > b && !(g != null && g.find((k) => k.width === "auto"))) && m.push({
14769
+ return (v === 0 || d > v && !(g != null && g.find((k) => k.width === "auto"))) && m.push({
14760
14770
  width: "auto",
14761
14771
  customRender: () => null
14762
14772
  }), m;
@@ -14810,7 +14820,7 @@ function _useDragColumn(e, t) {
14810
14820
  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
14821
  for (let o of r)
14812
14822
  o.__kg__dragstart__ = (u) => {
14813
- var b;
14823
+ var v;
14814
14824
  n = o, o.classList.add("dragging"), o.parentElement.classList.add("dragging");
14815
14825
  const c = document.createElement("span");
14816
14826
  c.setAttribute("id", "__kg_table_header_drag_image__");
@@ -14818,7 +14828,7 @@ function _useDragColumn(e, t) {
14818
14828
  width: _,
14819
14829
  height: d
14820
14830
  } = 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) => {
14831
+ _ && 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
14832
  var m;
14823
14833
  c.appendChild(g), document.body.appendChild(c), (m = u.dataTransfer) == null || m.setDragImage(c, -10, (d + 2) / 2);
14824
14834
  });
@@ -14842,8 +14852,8 @@ function _useDragColumn(e, t) {
14842
14852
  u.preventDefault(), o.classList.remove("dragover", "dragover-right", "dragover-left");
14843
14853
  const c = n == null ? void 0 : n.getAttribute("kg-form_id"), _ = o.getAttribute("kg-form_id");
14844
14854
  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);
14855
+ const d = n == null ? void 0 : n.getAttribute("kg-var_name"), v = o.getAttribute("kg-var_name");
14856
+ d !== v && a.store.dragSortCurrentVarGridDetails(a.formID, d, v);
14847
14857
  }
14848
14858
  }, o.addEventListener("drop", o.__kg__drop__);
14849
14859
  }
@@ -14996,10 +15006,10 @@ const KgTable$1 = "", getProps$r = () => ({
14996
15006
  scrollX: _
14997
15007
  } = _useColumns(e), {
14998
15008
  isLoading: d
14999
- } = _useLoading(), b = ref(null), {
15009
+ } = _useLoading(), v = ref(null), {
15000
15010
  renderBodyCell: g
15001
15011
  } = _useRenderBodyCell();
15002
- _useResizeObserver(b), _useDragColumn(b, o);
15012
+ _useResizeObserver(v), _useDragColumn(v, o);
15003
15013
  const {
15004
15014
  transformDatas: m,
15005
15015
  requestDescriptions: p
@@ -15443,7 +15453,7 @@ const KgTable$1 = "", getProps$r = () => ({
15443
15453
  return createVNode("div", {
15444
15454
  "kg-form_id": i.formID,
15445
15455
  class: F.value,
15446
- ref: b
15456
+ ref: v
15447
15457
  }, [createVNode(Table, {
15448
15458
  class: "kg-flex-table",
15449
15459
  size: "small",
@@ -17213,12 +17223,12 @@ const getProps$q = () => ({}), KgVarConfigModalButtonVarButton = defineComponent
17213
17223
  }) => (_.frm_id = t == null ? void 0 : t.value, !1)), n.kgForm.onChange(async ({
17214
17224
  context: _,
17215
17225
  value: d,
17216
- varName: b
17226
+ varName: v
17217
17227
  }) => {
17218
17228
  switch (_) {
17219
17229
  case KG_FORM_CONTEXT.SUBMIT:
17220
17230
  case KG_FORM_CONTEXT.TABLE: {
17221
- switch (b) {
17231
+ switch (v) {
17222
17232
  case "child_form_id": {
17223
17233
  c(d);
17224
17234
  break;
@@ -17230,10 +17240,10 @@ const getProps$q = () => ({}), KgVarConfigModalButtonVarButton = defineComponent
17230
17240
  return !1;
17231
17241
  }), n.kgSubmit.onOpen(async () => {
17232
17242
  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) => ({
17243
+ 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
17244
  id: String(Date.now() + g),
17235
17245
  parentVarName: d,
17236
- childVarName: b
17246
+ childVarName: v
17237
17247
  })), !0) {
17238
17248
  case n.isUpdating.value: {
17239
17249
  c(n.kgSubmit.formModel.value.child_form_id);
@@ -17595,10 +17605,10 @@ function _useDragToSortRow(e, t, a) {
17595
17605
  const d = document.createElement("span");
17596
17606
  d.setAttribute("id", "__kg_var_config__modal__search__var_profile_master__kg_submit__fields__drag_image__");
17597
17607
  const {
17598
- width: b,
17608
+ width: v,
17599
17609
  height: g
17600
17610
  } = 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);
17611
+ 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
17612
  const m = await toCanvas(c.parentElement);
17603
17613
  d.appendChild(m), document.body.appendChild(d), (T = _.dataTransfer) == null || T.setDragImage(d, -10, (g + 2) / 2);
17604
17614
  }, c.addEventListener("dragstart", c.__kg__dragstart__), c.__kg__dragend__ = (_) => {
@@ -17613,19 +17623,19 @@ function _useDragToSortRow(e, t, a) {
17613
17623
  if (r = filter(document.querySelectorAll(`tr[kg-host-frm_id="${e}"]`), () => !0), r)
17614
17624
  for (let c of r)
17615
17625
  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");
17626
+ var d, v;
17627
+ _.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
17628
  }, 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");
17629
+ var d, v;
17630
+ 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
17631
  }, c.addEventListener("dragenter", c.__kg__dragenter__), c.__kg__dragleave__ = (_) => {
17622
17632
  c.classList.remove("dragover", "dragover-right", "dragover-left");
17623
17633
  }, c.addEventListener("dragleave", c.__kg__dragleave__), c.__kg__drop__ = (_) => {
17624
17634
  _.preventDefault();
17625
17635
  const d = document.querySelector("#__kg_var_config__modal__search__var_profile_master__kg_submit__fields__drag_image__");
17626
17636
  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));
17637
+ const v = i == null ? void 0 : i.getAttribute("kg-var_name"), g = c.getAttribute("kg-var_name");
17638
+ v !== g && (KgUtil.showLoading(), o(v, g));
17629
17639
  }, c.addEventListener("drop", c.__kg__drop__);
17630
17640
  }
17631
17641
  function l() {
@@ -17644,12 +17654,12 @@ function _useDragToSortRow(e, t, a) {
17644
17654
  }
17645
17655
  function o(c, _) {
17646
17656
  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)
17657
+ const d = t.value.findIndex((p) => p.var_nam === c), v = t.value.findIndex((p) => p.var_nam === _);
17658
+ if (d === -1 || v === -1)
17649
17659
  return;
17650
17660
  const g = t.value.find((p) => p.var_nam === c), m = [];
17651
17661
  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)));
17662
+ 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
17663
  }), m.forEach((p, T) => {
17654
17664
  p.srtseq = T + 1;
17655
17665
  }), t.value = m, nextTick().finally(() => {
@@ -17671,8 +17681,8 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17671
17681
  name: "KgVarConfigModalSearchVarProfileMaster",
17672
17682
  props: getProps$l(),
17673
17683
  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);
17684
+ var d, v;
17685
+ 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
17686
  n.kgSearch.onReady(async () => (await n.store.patchVarProfileDetail(n.formID, "frm_id", {
17677
17687
  dft_val: r.formID
17678
17688
  }), !1)), n.kgTable.onBeforeSetDatas(async ({
@@ -17919,17 +17929,32 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17919
17929
  varName: d
17920
17930
  }) => {
17921
17931
  switch (c) {
17932
+ case KG_FORM_CONTEXT.SEARCH: {
17933
+ switch (d) {
17934
+ case "button_var_name":
17935
+ return _.value = r.kgButton.varButtons.value.filter((v) => {
17936
+ var g;
17937
+ 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 : "");
17938
+ }).map((v) => ({
17939
+ value: v.var_nam,
17940
+ label: r.kgButton.getButtonDescription({
17941
+ varName: v.var_nam
17942
+ })
17943
+ })), !0;
17944
+ }
17945
+ break;
17946
+ }
17922
17947
  case KG_FORM_CONTEXT.SUBMIT:
17923
17948
  case KG_FORM_CONTEXT.TABLE: {
17924
17949
  switch (d) {
17925
17950
  case "button_var_name":
17926
- return _.value = r.kgButton.varButtons.value.filter((b) => {
17951
+ return _.value = r.kgButton.varButtons.value.filter((v) => {
17927
17952
  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,
17953
+ 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 : "");
17954
+ }).map((v) => ({
17955
+ value: v.var_nam,
17931
17956
  label: r.kgButton.getButtonDescription({
17932
- varName: b.var_nam
17957
+ varName: v.var_nam
17933
17958
  })
17934
17959
  })), !0;
17935
17960
  }
@@ -17937,6 +17962,30 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17937
17962
  }
17938
17963
  }
17939
17964
  return !1;
17965
+ }), n.kgForm.onSelectBeforeSetDatas(async ({
17966
+ context: c,
17967
+ varName: _,
17968
+ datas: d
17969
+ }) => {
17970
+ switch (c) {
17971
+ case KG_FORM_CONTEXT.SUBMIT:
17972
+ case KG_FORM_CONTEXT.TABLE: {
17973
+ switch (_) {
17974
+ case "button_var_name": {
17975
+ switch (!0) {
17976
+ case n.isCreating.value: {
17977
+ const v = r.kgSubmit.varSubmitConfigs.value;
17978
+ d.value = d.value.filter((g) => !v.find((m) => m.button_var_name === g.value && m.cust_lvl === KG_CUSTOM_LEVEL.L10));
17979
+ break;
17980
+ }
17981
+ }
17982
+ break;
17983
+ }
17984
+ }
17985
+ break;
17986
+ }
17987
+ }
17988
+ return !1;
17940
17989
  }), n.kgForm.onChange(async ({
17941
17990
  varName: c,
17942
17991
  context: _,
@@ -17960,14 +18009,14 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
17960
18009
  }
17961
18010
  return !1;
17962
18011
  }), n.kgSubmit.onOpen(async () => {
17963
- var c, _, d, b;
18012
+ var c, _, d, v;
17964
18013
  switch (!0) {
17965
18014
  case n.isCreating.value: {
17966
18015
  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
18016
  break;
17968
18017
  }
17969
18018
  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);
18019
+ s((d = n.kgSubmit.formModel.value) == null ? void 0 : d.display_type), l((v = n.kgSubmit.formModel.value) == null ? void 0 : v.layout);
17971
18020
  break;
17972
18021
  }
17973
18022
  }
@@ -18238,6 +18287,21 @@ const getProps$l = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
18238
18287
  varName: l
18239
18288
  }) => {
18240
18289
  switch (i) {
18290
+ case KG_FORM_CONTEXT.SEARCH: {
18291
+ switch (l) {
18292
+ case "button_var_name":
18293
+ return s.value = t.kgButton.varButtons.value.filter((o) => {
18294
+ var u;
18295
+ 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 : "");
18296
+ }).map((o) => ({
18297
+ value: o.var_nam,
18298
+ label: t.kgButton.getButtonDescription({
18299
+ varName: o.var_nam
18300
+ })
18301
+ })), !0;
18302
+ }
18303
+ break;
18304
+ }
18241
18305
  case KG_FORM_CONTEXT.SUBMIT:
18242
18306
  case KG_FORM_CONTEXT.TABLE: {
18243
18307
  switch (l) {
@@ -18339,15 +18403,15 @@ function KgVarFactory(e) {
18339
18403
  } = c != null ? c : {};
18340
18404
  if (!(_ != null && _.child_form_id))
18341
18405
  return null;
18342
- const b = useKgVar(_ == null ? void 0 : _.child_form_id);
18343
- return b.requestAll(), createVNode(TabPane, {
18406
+ const v = useKgVar(_ == null ? void 0 : _.child_form_id);
18407
+ return v.requestAll(), createVNode(TabPane, {
18344
18408
  key: String(d),
18345
- tab: b.t((g = b.varDda.value) == null ? void 0 : g.frm_nam).value
18409
+ tab: v.t((g = v.varDda.value) == null ? void 0 : g.frm_nam).value
18346
18410
  }, {
18347
18411
  default: () => {
18348
18412
  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
18413
+ 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), {
18414
+ key: v.formID
18351
18415
  });
18352
18416
  }
18353
18417
  });
@@ -18724,10 +18788,10 @@ const LOCALE = {
18724
18788
  }
18725
18789
  return !1;
18726
18790
  }), r.kgSubmit.onOpen(async () => {
18727
- var o, u, c, _, d, b, g;
18791
+ var o, u, c, _, d, v, g;
18728
18792
  switch (!0) {
18729
18793
  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);
18794
+ 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
18795
  break;
18732
18796
  }
18733
18797
  case r.isUpdating.value: {
@@ -18739,9 +18803,9 @@ const LOCALE = {
18739
18803
  }), r.kgSubmit.onBeforeOk(async () => (r.kgSubmit.formRules.value = {
18740
18804
  max: [{
18741
18805
  validator: (o, u) => {
18742
- var b, g, m, p;
18806
+ var v, g, m, p;
18743
18807
  const c = (g = r.kgSubmit.getVarSubmitDetails({
18744
- buttonVarName: (b = r.kgButton.currentButton.value) == null ? void 0 : b.var_nam,
18808
+ buttonVarName: (v = r.kgButton.currentButton.value) == null ? void 0 : v.var_nam,
18745
18809
  varName: "max"
18746
18810
  })[0]) != null ? g : null;
18747
18811
  if ((c == null ? void 0 : c.visible_flag) !== 1)
@@ -18752,9 +18816,9 @@ const LOCALE = {
18752
18816
  }],
18753
18817
  max_length: [{
18754
18818
  validator: (o, u) => {
18755
- var b, g, m, p;
18819
+ var v, g, m, p;
18756
18820
  const c = (g = r.kgSubmit.getVarSubmitDetails({
18757
- buttonVarName: (b = r.kgButton.currentButton.value) == null ? void 0 : b.var_nam,
18821
+ buttonVarName: (v = r.kgButton.currentButton.value) == null ? void 0 : v.var_nam,
18758
18822
  varName: "max_length"
18759
18823
  })[0]) != null ? g : null;
18760
18824
  if ((c == null ? void 0 : c.visible_flag) !== 1)
@@ -19149,7 +19213,7 @@ const LOCALE = {
19149
19213
  }
19150
19214
  }
19151
19215
  })), l = debounce(async (o) => {
19152
- var c, _, d, b, g, m, p, T, E;
19216
+ var c, _, d, v, g, m, p, T, E;
19153
19217
  const {
19154
19218
  lookupID: u
19155
19219
  } = o != null ? o : {};
@@ -19160,7 +19224,7 @@ const LOCALE = {
19160
19224
  params: {
19161
19225
  frm_id: u
19162
19226
  }
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;
19227
+ }), 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
19228
  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
19229
  var R;
19166
19230
  return (R = O.var_nam) != null ? R : "";
@@ -19664,11 +19728,11 @@ const LOCALE = {
19664
19728
  onSelect: (c) => s(null, c)
19665
19729
  }), i = computed(() => {
19666
19730
  var _, d;
19667
- return (d = (_ = e.formIDs) == null ? void 0 : _.map((b) => {
19731
+ return (d = (_ = e.formIDs) == null ? void 0 : _.map((v) => {
19668
19732
  var m;
19669
- const g = useKgVar(b);
19733
+ const g = useKgVar(v);
19670
19734
  return {
19671
- formID: b,
19735
+ formID: v,
19672
19736
  formName: g.t((m = g.varDda.value) == null ? void 0 : m.frm_nam).value
19673
19737
  };
19674
19738
  })) != null ? d : [];
@@ -19777,7 +19841,7 @@ const KgVarConfig$1 = "", KgVarConfig = defineComponent({
19777
19841
  !o || s();
19778
19842
  }, {
19779
19843
  immediate: !0
19780
- }), watch(e["Alt+Shift+Z"], (o) => {
19844
+ }), watch(e["Ctrl+Alt+S"], (o) => {
19781
19845
  !o || s();
19782
19846
  }, {
19783
19847
  immediate: !0
@@ -20005,7 +20069,7 @@ const KgVarConfig$1 = "", KgVarConfig = defineComponent({
20005
20069
  }
20006
20070
  const l = (u = this.varConfigControlMap.get(e)) != null ? u : [];
20007
20071
  if (s !== void 0)
20008
- return (c = l.find((b) => b.button_var_name === s && b.var_nam === n)) != null ? c : null;
20072
+ return (c = l.find((v) => v.button_var_name === s && v.var_nam === n)) != null ? c : null;
20009
20073
  if (s === void 0 && a === KG__VAR_BUTTON__TYPE.OTHER)
20010
20074
  return ____ERROR____(
20011
20075
  `${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 +20084,8 @@ const KgVarConfig$1 = "", KgVarConfig = defineComponent({
20020
20084
  param: t
20021
20085
  }), null;
20022
20086
  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.`, {
20087
+ const v = (_ = this.varButtonMap.get(e)) == null ? void 0 : _.find((g) => g.typ === a);
20088
+ 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
20089
  formID: e,
20026
20090
  param: t
20027
20091
  }), null);
@@ -20306,7 +20370,7 @@ const KgVarConfig$1 = "", KgVarConfig = defineComponent({
20306
20370
  const {
20307
20371
  varDda: _,
20308
20372
  varButtons: d,
20309
- varButtonConfig: b,
20373
+ varButtonConfig: v,
20310
20374
  varChildDetails: g,
20311
20375
  varConfigControls: m,
20312
20376
  varConfigDescriptions: p,
@@ -20322,7 +20386,7 @@ const KgVarConfig$1 = "", KgVarConfig = defineComponent({
20322
20386
  varSubmitDetails: C,
20323
20387
  varVariables: F
20324
20388
  } = 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, {
20389
+ 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
20390
  varProfileMasters: transformVarProfileMasters(R),
20327
20391
  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
20392
  }), this.varGridConfigMap.set(e, transformVarGridConfig(A)), this.varGridMasterMap.set(e, {
@@ -20443,7 +20507,7 @@ function useKgVar(e, t, a = 0) {
20443
20507
  t && getCurrentInstance() && (provide(KG__DI__FORM_ID, i), onMounted(() => {
20444
20508
  s.init({ formID: i, level: a });
20445
20509
  }));
20446
- let o = null, u = null, c = null, _ = null, d = null, b = null, g = {
20510
+ let o = null, u = null, c = null, _ = null, d = null, v = null, g = {
20447
20511
  currentVarGridDetails: computed(() => s.getCurrentVarGridDetails(i)),
20448
20512
  currentVarGridMasteID: computed(() => s.getCurrentVarGridMasterID(i)),
20449
20513
  currentVarGridMaster: computed(() => s.getCurrentVarGridMaster(i)),
@@ -20508,7 +20572,7 @@ function useKgVar(e, t, a = 0) {
20508
20572
  case "kgTable":
20509
20573
  return d || (d = useKgTable(i)), d;
20510
20574
  case "kgVarConfig":
20511
- return b || (b = useKgVarConfig(i)), b;
20575
+ return v || (v = useKgVarConfig(i)), v;
20512
20576
  }
20513
20577
  return Reflect.get(m, p);
20514
20578
  }
@@ -20541,25 +20605,25 @@ const KgVar = defineComponent({
20541
20605
  }) {
20542
20606
  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
20607
  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);
20608
+ var v;
20609
+ return !(!r.isRequested.value || ((v = n.value) == null ? void 0 : v.available_flg) === 0);
20546
20610
  }), o = computed(() => {
20547
- var b;
20548
- return !(!r.isRequested.value || ((b = r.kgButton.varButtonConfig.value) == null ? void 0 : b.available_flg) === 0);
20611
+ var v;
20612
+ return !(!r.isRequested.value || ((v = r.kgButton.varButtonConfig.value) == null ? void 0 : v.available_flg) === 0);
20549
20613
  }), u = computed(() => {
20550
- var b;
20551
- return !(!r.isRequested.value || ((b = i.value) == null ? void 0 : b.available_flg) === 0);
20614
+ var v;
20615
+ return !(!r.isRequested.value || ((v = i.value) == null ? void 0 : v.available_flg) === 0);
20552
20616
  }), 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;
20617
+ let v = "kg-var";
20618
+ return e.kgBackgroundGray && (v += " kg-var--bg-gray"), !l.value && !o.value && !u.value && (v += " kg-var--empty"), v;
20555
20619
  });
20556
20620
  function d() {
20557
20621
  return createVNode(Spin, {
20558
20622
  spinning: c.value
20559
20623
  }, {
20560
20624
  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)])];
20625
+ var v, g;
20626
+ 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
20627
  }
20564
20628
  });
20565
20629
  }
@@ -20609,8 +20673,8 @@ const KgVar = defineComponent({
20609
20673
  }
20610
20674
  });
20611
20675
  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;
20676
+ var u, c, _, d, v, g, m, p;
20677
+ 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
20678
  });
20615
20679
  async function s() {
20616
20680
  if (e.onKgClick && await e.onKgClick()) {
@@ -20646,13 +20710,13 @@ const KgVar = defineComponent({
20646
20710
  return e.kgText ? e.kgText : a.t("kg.copy");
20647
20711
  }
20648
20712
  return () => {
20649
- var u, c, _, d, b, g;
20713
+ var u, c, _, d, v, g;
20650
20714
  return createVNode(Button, {
20651
20715
  "kg-id": (u = n.value) == null ? void 0 : u.id,
20652
20716
  "kg-form_id": (c = n.value) == null ? void 0 : c.frm_id,
20653
20717
  "kg-var_name": (_ = n.value) == null ? void 0 : _.var_nam,
20654
20718
  "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 : "",
20719
+ "kg-permission": (g = (v = n.value) == null ? void 0 : v.permission_code) != null ? g : "",
20656
20720
  type: "primary",
20657
20721
  disabled: i.value,
20658
20722
  ghost: !e.kgPrimary && !i.value,
@@ -20723,7 +20787,7 @@ const KgVar = defineComponent({
20723
20787
  icon: "ant-design:plus-outlined"
20724
20788
  }, null);
20725
20789
  }
20726
- function b() {
20790
+ function v() {
20727
20791
  return e.kgText ? e.kgText : n.t("kg.create");
20728
20792
  }
20729
20793
  function g() {
@@ -20741,7 +20805,7 @@ const KgVar = defineComponent({
20741
20805
  onClick: u,
20742
20806
  class: r.class
20743
20807
  }, {
20744
- default: () => [d(), b()]
20808
+ default: () => [d(), v()]
20745
20809
  });
20746
20810
  }
20747
20811
  function m() {
@@ -20778,8 +20842,8 @@ const KgVar = defineComponent({
20778
20842
  }
20779
20843
  });
20780
20844
  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;
20845
+ var o, u, c, _, d, v, g, m;
20846
+ 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
20847
  });
20784
20848
  async function i() {
20785
20849
  if (e.onKgClick && await e.onKgClick()) {
@@ -20815,13 +20879,13 @@ const KgVar = defineComponent({
20815
20879
  return e.kgText ? e.kgText : t.t("kg.delete");
20816
20880
  }
20817
20881
  return () => {
20818
- var o, u, c, _, d, b;
20882
+ var o, u, c, _, d, v;
20819
20883
  return createVNode(Button, {
20820
20884
  "kg-id": (o = r.value) == null ? void 0 : o.id,
20821
20885
  "kg-form_id": (u = r.value) == null ? void 0 : u.frm_id,
20822
20886
  "kg-var_name": (c = r.value) == null ? void 0 : c.var_nam,
20823
20887
  "kg-cmd": (_ = r.value) == null ? void 0 : _.cmd,
20824
- "kg-permission": (b = (d = r.value) == null ? void 0 : d.permission_code) != null ? b : "",
20888
+ "kg-permission": (v = (d = r.value) == null ? void 0 : d.permission_code) != null ? v : "",
20825
20889
  type: "primary",
20826
20890
  disabled: n.value,
20827
20891
  danger: e.kgColor === KG__VAR_BUTTON__COLOR.RED || !e.kgColor,
@@ -20838,36 +20902,36 @@ const KgVar = defineComponent({
20838
20902
  setup(e) {
20839
20903
  const t = inject("$dayjs", dayjs), a = useKg(), r = useKgVar();
20840
20904
  r.kgButton.store.$onAction(async ({
20841
- name: b,
20905
+ name: v,
20842
20906
  args: g
20843
20907
  }) => {
20844
- switch (b) {
20908
+ switch (v) {
20845
20909
  case "click":
20846
20910
  g[0] === r.formID && g[1] === KG__VAR_BUTTON__TYPE.EXPORT && await c();
20847
20911
  break;
20848
20912
  }
20849
20913
  });
20850
20914
  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;
20915
+ var v, g;
20916
+ return n.value ? (g = (v = n.value) == null ? void 0 : v.cmd) != null ? g : "" : null;
20853
20917
  }), s = computed(() => {
20854
- var b, g;
20855
- return (g = (b = n.value) == null ? void 0 : b.cmd_method) != null ? g : "GET";
20918
+ var v, g;
20919
+ return (g = (v = n.value) == null ? void 0 : v.cmd_method) != null ? g : "GET";
20856
20920
  }), l = computed(() => {
20857
20921
  var g, m;
20858
- let b = {
20922
+ let v = {
20859
20923
  ...r.kgTable.requestParams.value
20860
20924
  };
20861
- return n.value && (b = {
20862
- ...b,
20925
+ return n.value && (v = {
20926
+ ...v,
20863
20927
  ...KgVarUtil.parseRequestParamsToJSON((m = (g = n.value) == null ? void 0 : g.cmd_prm) != null ? m : "")
20864
- }), b;
20928
+ }), v;
20865
20929
  }), 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;
20930
+ var v, g, m, p, T, E, k, N;
20931
+ 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
20932
  }), u = ref(!1);
20869
20933
  async function c() {
20870
- var b, g, m, p, T;
20934
+ var v, g, m, p, T;
20871
20935
  if (e.onKgClick && await e.onKgClick()) {
20872
20936
  r.kgButton.setIsClickIntercepted({
20873
20937
  type: KG__VAR_BUTTON__TYPE.EXPORT,
@@ -20890,7 +20954,7 @@ const KgVar = defineComponent({
20890
20954
  url: i.value,
20891
20955
  method: s.value,
20892
20956
  params: KgUtil.parseParams(l.value, r.kgTable.kgSearchFormID.value, t),
20893
- data: (b = r.kgTable.selectedRows.value) != null ? b : [],
20957
+ data: (v = r.kgTable.selectedRows.value) != null ? v : [],
20894
20958
  responseType: "blob"
20895
20959
  }, {
20896
20960
  isTransformResponse: !1
@@ -20925,9 +20989,9 @@ const KgVar = defineComponent({
20925
20989
  return e.kgText ? e.kgText : a.t("kg.export");
20926
20990
  }
20927
20991
  return () => {
20928
- var b, g, m, p, T, E;
20992
+ var v, g, m, p, T, E;
20929
20993
  return createVNode(Button, {
20930
- "kg-id": (b = n.value) == null ? void 0 : b.id,
20994
+ "kg-id": (v = n.value) == null ? void 0 : v.id,
20931
20995
  "kg-form_id": (g = n.value) == null ? void 0 : g.frm_id,
20932
20996
  "kg-var_name": (m = n.value) == null ? void 0 : m.var_nam,
20933
20997
  "kg-cmd": (p = n.value) == null ? void 0 : p.cmd,
@@ -21024,7 +21088,7 @@ const KgVar = defineComponent({
21024
21088
  icon: "ant-design:upload-outlined"
21025
21089
  }, null);
21026
21090
  }
21027
- function b() {
21091
+ function v() {
21028
21092
  return e.kgText ? e.kgText : r.t("kg.import");
21029
21093
  }
21030
21094
  return () => createVNode(Upload, {
@@ -21047,7 +21111,7 @@ const KgVar = defineComponent({
21047
21111
  loading: c.value,
21048
21112
  class: a.class
21049
21113
  }, {
21050
- default: () => [d(), b()]
21114
+ default: () => [d(), v()]
21051
21115
  })];
21052
21116
  }
21053
21117
  });
@@ -21059,35 +21123,35 @@ const KgVar = defineComponent({
21059
21123
  const t = useKg(), a = useKgVar();
21060
21124
  a.kgButton.store.$onAction(async ({
21061
21125
  name: d,
21062
- args: b
21126
+ args: v
21063
21127
  }) => {
21064
21128
  switch (d) {
21065
21129
  case "click":
21066
- b[0] === a.formID && (b[1], KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE);
21130
+ v[0] === a.formID && (v[1], KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE);
21067
21131
  break;
21068
21132
  }
21069
21133
  });
21070
21134
  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;
21135
+ var d, v;
21136
+ return r.value ? (v = (d = r.value) == null ? void 0 : d.cmd) != null ? v : "" : null;
21073
21137
  }), i = computed(() => {
21074
- var d, b;
21075
- return (b = (d = r.value) == null ? void 0 : d.cmd_method) != null ? b : "GET";
21138
+ var d, v;
21139
+ return (v = (d = r.value) == null ? void 0 : d.cmd_method) != null ? v : "GET";
21076
21140
  }), s = computed(() => {
21077
- var b, g;
21141
+ var v, g;
21078
21142
  let d = {
21079
21143
  ...a.kgTable.requestParams.value
21080
21144
  };
21081
21145
  return r.value && (d = {
21082
21146
  ...d,
21083
- ...KgVarUtil.parseRequestParamsToJSON((g = (b = r.value) == null ? void 0 : b.cmd_prm) != null ? g : "")
21147
+ ...KgVarUtil.parseRequestParamsToJSON((g = (v = r.value) == null ? void 0 : v.cmd_prm) != null ? g : "")
21084
21148
  }), d;
21085
21149
  }), 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;
21150
+ var d, v, g, m, p, T, E, k;
21151
+ 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
21152
  }), o = ref(!1);
21089
21153
  async function u() {
21090
- var d, b, g;
21154
+ var d, v, g;
21091
21155
  if (e.onKgClick && await e.onKgClick()) {
21092
21156
  a.kgButton.setIsClickIntercepted({
21093
21157
  type: KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE,
@@ -21115,7 +21179,7 @@ const KgVar = defineComponent({
21115
21179
  joinParamsToUrl: !0,
21116
21180
  isTransformResponse: !1
21117
21181
  }), 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()}`);
21182
+ 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
21183
  } catch (m) {
21120
21184
  throw m;
21121
21185
  } finally {
@@ -21135,10 +21199,10 @@ const KgVar = defineComponent({
21135
21199
  return e.kgText ? e.kgText : t.t("kg.import-template");
21136
21200
  }
21137
21201
  return () => {
21138
- var d, b, g, m, p, T;
21202
+ var d, v, g, m, p, T;
21139
21203
  return createVNode(Button, {
21140
21204
  "kg-id": (d = r.value) == null ? void 0 : d.id,
21141
- "kg-form_id": (b = r.value) == null ? void 0 : b.frm_id,
21205
+ "kg-form_id": (v = r.value) == null ? void 0 : v.frm_id,
21142
21206
  "kg-var_name": (g = r.value) == null ? void 0 : g.var_nam,
21143
21207
  "kg-cmd": (m = r.value) == null ? void 0 : m.cmd,
21144
21208
  "kg-permission": (T = (p = r.value) == null ? void 0 : p.permission_code) != null ? T : "",
@@ -21168,11 +21232,11 @@ const KgVar = defineComponent({
21168
21232
  }
21169
21233
  });
21170
21234
  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;
21235
+ var o, u, c, _, d, v, g, m;
21236
+ 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
21237
  });
21174
21238
  async function i() {
21175
- var _, d, b;
21239
+ var _, d, v;
21176
21240
  if (e.onKgClick && await e.onKgClick()) {
21177
21241
  a.kgButton.setIsClickIntercepted({
21178
21242
  varName: e.kgVarName,
@@ -21230,7 +21294,7 @@ const KgVar = defineComponent({
21230
21294
  }
21231
21295
  };
21232
21296
  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);
21297
+ const g = KgUtil.tryParseJSON((v = e.kgButton) == null ? void 0 : v.modal_props);
21234
21298
  typeof g.content == "string" && (g.content = a.t(g.content).value), u = KgUtil.confirm({
21235
21299
  onOk: () => c(),
21236
21300
  ...g
@@ -21251,13 +21315,13 @@ const KgVar = defineComponent({
21251
21315
  return e.kgText ? e.kgText : e.kgVarName;
21252
21316
  }
21253
21317
  return () => {
21254
- var o, u, c, _, d, b;
21318
+ var o, u, c, _, d, v;
21255
21319
  return createVNode(Button, {
21256
21320
  "kg-id": (o = r.value) == null ? void 0 : o.id,
21257
21321
  "kg-form_id": (u = r.value) == null ? void 0 : u.frm_id,
21258
21322
  "kg-var_name": (c = r.value) == null ? void 0 : c.var_nam,
21259
21323
  "kg-cmd": (_ = r.value) == null ? void 0 : _.cmd,
21260
- "kg-permission": (b = (d = r.value) == null ? void 0 : d.permission_code) != null ? b : "",
21324
+ "kg-permission": (v = (d = r.value) == null ? void 0 : d.permission_code) != null ? v : "",
21261
21325
  type: "primary",
21262
21326
  disabled: n.value,
21263
21327
  danger: e.kgColor === KG__VAR_BUTTON__COLOR.RED,
@@ -21313,13 +21377,13 @@ const KgVar = defineComponent({
21313
21377
  return e.kgText ? e.kgText : t.t("kg.query");
21314
21378
  }
21315
21379
  return () => {
21316
- var o, u, c, _, d, b;
21380
+ var o, u, c, _, d, v;
21317
21381
  return createVNode(Button, {
21318
21382
  "kg-id": (o = r.value) == null ? void 0 : o.id,
21319
21383
  "kg-form_id": (u = r.value) == null ? void 0 : u.frm_id,
21320
21384
  "kg-var_name": (c = r.value) == null ? void 0 : c.var_nam,
21321
21385
  "kg-cmd": (_ = r.value) == null ? void 0 : _.cmd,
21322
- "kg-permission": (b = (d = r.value) == null ? void 0 : d.permission_code) != null ? b : "",
21386
+ "kg-permission": (v = (d = r.value) == null ? void 0 : d.permission_code) != null ? v : "",
21323
21387
  type: "primary",
21324
21388
  disabled: n.value,
21325
21389
  danger: e.kgColor === KG__VAR_BUTTON__COLOR.RED,
@@ -21390,7 +21454,7 @@ const KgVar = defineComponent({
21390
21454
  icon: "ant-design:edit-outlined"
21391
21455
  }, null);
21392
21456
  }
21393
- function b() {
21457
+ function v() {
21394
21458
  return e.kgText ? e.kgText : n.t("kg.update");
21395
21459
  }
21396
21460
  function g() {
@@ -21407,7 +21471,7 @@ const KgVar = defineComponent({
21407
21471
  onClick: u,
21408
21472
  class: r.class
21409
21473
  }, {
21410
- default: () => [d(), b()]
21474
+ default: () => [d(), v()]
21411
21475
  });
21412
21476
  }
21413
21477
  function m() {
@@ -21545,7 +21609,7 @@ const getProps$c = () => ({
21545
21609
  case KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE.SELECT:
21546
21610
  return g();
21547
21611
  default:
21548
- return b();
21612
+ return v();
21549
21613
  }
21550
21614
  }
21551
21615
  function d(m) {
@@ -21562,7 +21626,7 @@ const getProps$c = () => ({
21562
21626
  onKgClick: () => s(m)
21563
21627
  }, null);
21564
21628
  }
21565
- function b() {
21629
+ function v() {
21566
21630
  var m, p;
21567
21631
  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
21632
  }
@@ -21841,8 +21905,8 @@ const getProps$c = () => ({
21841
21905
  KG__VAR_BUTTON__TYPE.IMPORT_TEMPLATE,
21842
21906
  KG__VAR_BUTTON__TYPE.EXPORT
21843
21907
  ].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.`, {
21908
+ const v = (c = (u = n.store.varButtonMap.get(e)) == null ? void 0 : u.find((g) => g.typ === r)) != null ? c : null;
21909
+ 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
21910
  formID: e,
21847
21911
  param: t
21848
21912
  }), i());
@@ -21863,7 +21927,7 @@ const getProps$c = () => ({
21863
21927
  param: t
21864
21928
  }
21865
21929
  ), i();
21866
- const o = (d = (_ = n.store.varButtonMap.get(e)) == null ? void 0 : _.find((b) => b.var_nam === a)) != null ? d : null;
21930
+ const o = (d = (_ = n.store.varButtonMap.get(e)) == null ? void 0 : _.find((v) => v.var_nam === a)) != null ? d : null;
21867
21931
  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
21932
  formID: e,
21869
21933
  param: t
@@ -22043,8 +22107,8 @@ function _useFormModel(e) {
22043
22107
  const o = ref({}), u = ref({});
22044
22108
  async function c() {
22045
22109
  n.kgSearch.currentVarProfileDetails.value.forEach((_) => {
22046
- var b, g, m, p, T;
22047
- const d = (b = _.var_nam) != null ? b : "";
22110
+ var v, g, m, p, T;
22111
+ const d = (v = _.var_nam) != null ? v : "";
22048
22112
  o.value[d] = KgVarUtil.transformFormItemDefaultValue({
22049
22113
  $dayjs: r,
22050
22114
  buttonVarName: (m = (g = n.kgButton.searchButton.value) == null ? void 0 : g.var_nam) != null ? m : null,
@@ -22104,7 +22168,7 @@ const getProps$a = () => ({
22104
22168
  minHeight: d
22105
22169
  } = _useHeight({
22106
22170
  formContainerRef: l
22107
- }), b = ref({
22171
+ }), v = ref({
22108
22172
  kgHeight: d.value
22109
22173
  }), g = computed(() => {
22110
22174
  var K, U, W, X;
@@ -22120,7 +22184,7 @@ const getProps$a = () => ({
22120
22184
  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
22185
  }), 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
22186
  visible: !1
22123
- }), N = computed(() => b.value.kgHeight === d.value), O = computed(() => {
22187
+ }), N = computed(() => v.value.kgHeight === d.value), O = computed(() => {
22124
22188
  var W;
22125
22189
  if (!n.kgButton.searchButton.value)
22126
22190
  return;
@@ -22175,7 +22239,7 @@ const getProps$a = () => ({
22175
22239
  }
22176
22240
  });
22177
22241
  watch(c, (K) => {
22178
- b.value.kgHeight = K;
22242
+ v.value.kgHeight = K;
22179
22243
  }, {
22180
22244
  immediate: !0
22181
22245
  });
@@ -22311,15 +22375,15 @@ const getProps$a = () => ({
22311
22375
  });
22312
22376
  }
22313
22377
  function x() {
22314
- N.value ? b.value.kgHeight = c.value : b.value.kgHeight = d.value;
22378
+ N.value ? v.value.kgHeight = c.value : v.value.kgHeight = d.value;
22315
22379
  }
22316
22380
  return onUnmounted(async () => {
22317
22381
  n.kgSearch.store.dispose(n.formID);
22318
22382
  }), () => createVNode(KgResizable, {
22319
22383
  "kg-form_id": n.formID,
22320
22384
  ref: s,
22321
- kgHeight: b.value.kgHeight,
22322
- "onUpdate:kgHeight": (K) => b.value.kgHeight = K,
22385
+ kgHeight: v.value.kgHeight,
22386
+ "onUpdate:kgHeight": (K) => v.value.kgHeight = K,
22323
22387
  kgMinHeight: d.value,
22324
22388
  kgMaxHeight: _.value,
22325
22389
  kgDisabled: m.value,
@@ -22781,15 +22845,15 @@ function createStore(e, t, a) {
22781
22845
  _assignPluginFnProp: function(o, u) {
22782
22846
  var c = this[u];
22783
22847
  this[u] = function() {
22784
- var d = slice(arguments, 0), b = this;
22848
+ var d = slice(arguments, 0), v = this;
22785
22849
  function g() {
22786
22850
  if (!!c)
22787
22851
  return each$6(arguments, function(p, T) {
22788
22852
  d[T] = p;
22789
- }), c.apply(b, d);
22853
+ }), c.apply(v, d);
22790
22854
  }
22791
22855
  var m = [g].concat(d);
22792
- return o.apply(b, m);
22856
+ return o.apply(v, m);
22793
22857
  };
22794
22858
  },
22795
22859
  _serialize: function(o) {
@@ -22826,10 +22890,10 @@ function createStore(e, t, a) {
22826
22890
  var _ = o.call(this);
22827
22891
  if (!isObject(_))
22828
22892
  throw new Error("Plugins must return an object of function properties");
22829
- each$6(_, function(d, b) {
22893
+ each$6(_, function(d, v) {
22830
22894
  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);
22895
+ throw new Error("Bad plugin property: " + v + " from plugin " + o.name + ". Plugins should only return functions.");
22896
+ u._assignPluginFnProp(d, v);
22833
22897
  });
22834
22898
  }
22835
22899
  },
@@ -23305,7 +23369,7 @@ const KgWarehouse$1 = "", getProps$9 = () => ({
23305
23369
  }), onMounted(() => {
23306
23370
  ____DEBUG____("KgWarehouse | onMounted()"), r.store.emit("mounted");
23307
23371
  });
23308
- function b() {
23372
+ function v() {
23309
23373
  !_.value || r.store.setVisible(!0);
23310
23374
  }
23311
23375
  function g() {
@@ -23420,7 +23484,7 @@ const KgWarehouse$1 = "", getProps$9 = () => ({
23420
23484
  }
23421
23485
  return () => createVNode("div", {
23422
23486
  class: n.value,
23423
- onClick: b
23487
+ onClick: v
23424
23488
  }, [k()]);
23425
23489
  }
23426
23490
  });
@@ -23451,11 +23515,11 @@ function createKgWarehouseGuard(e, t) {
23451
23515
  return;
23452
23516
  }
23453
23517
  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}`);
23518
+ const v = (_ = s.getUserWarehouses) == null ? void 0 : _[0];
23519
+ 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
23520
  } 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.`));
23521
+ const v = (d = s == null ? void 0 : s.getUserWarehouses) == null ? void 0 : d.find((g) => g.default_flag === 1);
23522
+ 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
23523
  }
23460
23524
  }), !0;
23461
23525
  });
@@ -23473,7 +23537,7 @@ function httpClient() {
23473
23537
  throw new Error("\u6CA1\u6709\u8BBE\u7F6E httpClient \u5B9E\u4F8B.");
23474
23538
  return _httpClient.request = new Proxy(_httpClient.request, {
23475
23539
  apply(e, t, a) {
23476
- var b, g, m, p;
23540
+ var v, g, m, p;
23477
23541
  const r = useKg(), n = a[0], i = a[1];
23478
23542
  n.headers || (n.headers = {});
23479
23543
  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 +23554,7 @@ function httpClient() {
23490
23554
  params: T
23491
23555
  });
23492
23556
  n.headers = {
23493
- ...(b = n.headers) != null ? b : {},
23557
+ ...(v = n.headers) != null ? v : {},
23494
23558
  [l]: !0,
23495
23559
  [c]: O,
23496
23560
  [d]: R,
@@ -23509,22 +23573,22 @@ function httpClient() {
23509
23573
  }
23510
23574
  class ListQuery$1 {
23511
23575
  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");
23576
+ b(this, "codnam");
23577
+ b(this, "codval");
23578
+ b(this, "grpNam");
23579
+ b(this, "id");
23580
+ b(this, "lngDsc");
23581
+ b(this, "localeId");
23582
+ b(this, "modUsrCod");
23583
+ b(this, "moddte");
23584
+ b(this, "shortDsc");
23585
+ b(this, "srtseq");
23586
+ b(this, "sysDefFlg");
23587
+ b(this, "version");
23588
+ b(this, "column");
23589
+ b(this, "order");
23590
+ b(this, "pageNo");
23591
+ b(this, "pageSize");
23528
23592
  keys(t != null ? t : {}).forEach((a) => {
23529
23593
  switch (a) {
23530
23594
  case "codnam":
@@ -23584,34 +23648,34 @@ const index$a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23584
23648
  }, Symbol.toStringTag, { value: "Module" }));
23585
23649
  class ListQuery {
23586
23650
  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");
23651
+ b(this, "alwaysShow");
23652
+ b(this, "app");
23653
+ b(this, "component");
23654
+ b(this, "componentName");
23655
+ b(this, "createBy");
23656
+ b(this, "createTime");
23657
+ b(this, "delFlag");
23658
+ b(this, "description");
23659
+ b(this, "hidden");
23660
+ b(this, "hideTab");
23661
+ b(this, "icon");
23662
+ b(this, "id");
23663
+ b(this, "internalOrExternal");
23664
+ b(this, "keepAlive");
23665
+ b(this, "leaf");
23666
+ b(this, "menuType");
23667
+ b(this, "name");
23668
+ b(this, "parentId");
23669
+ b(this, "perms");
23670
+ b(this, "permsType");
23671
+ b(this, "redirect");
23672
+ b(this, "route");
23673
+ b(this, "ruleFlag");
23674
+ b(this, "sortNo");
23675
+ b(this, "status");
23676
+ b(this, "updateBy");
23677
+ b(this, "updateTime");
23678
+ b(this, "url");
23615
23679
  keys(t != null ? t : {}).forEach((a) => {
23616
23680
  switch (a) {
23617
23681
  case "alwaysShow":
@@ -23667,7 +23731,7 @@ const index$9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23667
23731
  }, Symbol.toStringTag, { value: "Module" }));
23668
23732
  class GetAllQuery {
23669
23733
  constructor(t) {
23670
- v(this, "frm_id");
23734
+ b(this, "frm_id");
23671
23735
  keys(t != null ? t : {}).forEach((a) => {
23672
23736
  switch (a) {
23673
23737
  case "frm_id":
@@ -23715,7 +23779,7 @@ const index$7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23715
23779
  }, Symbol.toStringTag, { value: "Module" }));
23716
23780
  class ExecuteQueryQuery {
23717
23781
  constructor(t) {
23718
- v(this, "id");
23782
+ b(this, "id");
23719
23783
  keys(t != null ? t : {}).forEach((a) => {
23720
23784
  switch (a) {
23721
23785
  case "id":
@@ -23891,7 +23955,7 @@ const index$5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23891
23955
  }, Symbol.toStringTag, { value: "Module" }));
23892
23956
  class QueryByIDQuery$1 {
23893
23957
  constructor(t) {
23894
- v(this, "id");
23958
+ b(this, "id");
23895
23959
  keys(t != null ? t : {}).forEach((a) => {
23896
23960
  switch (a) {
23897
23961
  case "id":
@@ -23936,7 +24000,7 @@ const index$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23936
24000
  }, Symbol.toStringTag, { value: "Module" }));
23937
24001
  class QueryByIDQuery {
23938
24002
  constructor(t) {
23939
- v(this, "id");
24003
+ b(this, "id");
23940
24004
  keys(t != null ? t : {}).forEach((a) => {
23941
24005
  switch (a) {
23942
24006
  case "id":
@@ -23984,24 +24048,24 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
23984
24048
  }, Symbol.toStringTag, { value: "Module" }));
23985
24049
  class ListVOQuery {
23986
24050
  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");
24051
+ b(this, "activeFlg");
24052
+ b(this, "adrId");
24053
+ b(this, "adrnam");
24054
+ b(this, "comCod");
24055
+ b(this, "defWhFlg");
24056
+ b(this, "id");
24057
+ b(this, "orgcod");
24058
+ b(this, "permAdjLod");
24059
+ b(this, "permAdjSub");
24060
+ b(this, "permCreLod");
24061
+ b(this, "permCreSub");
24062
+ b(this, "version");
24063
+ b(this, "whDsc");
24064
+ b(this, "whId");
24065
+ b(this, "column");
24066
+ b(this, "order");
24067
+ b(this, "pageNo");
24068
+ b(this, "pageSize");
24005
24069
  keys(t != null ? t : {}).forEach((a) => {
24006
24070
  switch (a) {
24007
24071
  case "activeFlg":
@@ -24110,7 +24174,7 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
24110
24174
  function d(C) {
24111
24175
  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
24176
  }
24113
- function b(C) {
24177
+ function v(C) {
24114
24178
  const { properties: F = {} } = C;
24115
24179
  Object.entries(F).forEach(([B, I]) => {
24116
24180
  B in n.value.sysPermissions[0] && n.value.sysPermissions[0][B] !== I && (n.value.sysPermissions[0][B] = I);
@@ -24332,7 +24396,7 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
24332
24396
  getVarText: R,
24333
24397
  initCreateVarDdaQuery: A,
24334
24398
  isLoading: a,
24335
- patchSysPermission: b,
24399
+ patchSysPermission: v,
24336
24400
  patchVarButton: p,
24337
24401
  resultSetMetadataColumns: r,
24338
24402
  setFormID: d,
@@ -24365,7 +24429,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24365
24429
  frmId: [{
24366
24430
  trigger: "blur",
24367
24431
  required: !0,
24368
- validator: (_, d) => new Promise(async (b, g) => {
24432
+ validator: (_, d) => new Promise(async (v, g) => {
24369
24433
  if (!d)
24370
24434
  return g(a.t("kg.required"));
24371
24435
  try {
@@ -24375,7 +24439,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24375
24439
  }
24376
24440
  }, {
24377
24441
  errorMessageMode: "none"
24378
- }), b();
24442
+ }), v();
24379
24443
  } catch (m) {
24380
24444
  m != null && m.message ? g(m == null ? void 0 : m.message) : g(m);
24381
24445
  } finally {
@@ -24390,7 +24454,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24390
24454
  sql: [{
24391
24455
  trigger: "blur",
24392
24456
  required: !0,
24393
- validator: (_, d) => new Promise(async (b, g) => {
24457
+ validator: (_, d) => new Promise(async (v, g) => {
24394
24458
  if (!d)
24395
24459
  return g(a.t("kg.required"));
24396
24460
  try {
@@ -24400,7 +24464,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24400
24464
  }
24401
24465
  }, {
24402
24466
  errorMessageMode: "none"
24403
- }), b();
24467
+ }), v();
24404
24468
  } catch (m) {
24405
24469
  m != null && m.message ? g(m == null ? void 0 : m.message) : g(m);
24406
24470
  } finally {
@@ -24540,7 +24604,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24540
24604
  }), !0)), r.kgForm.onSelectBeforeSetDatas(async ({
24541
24605
  varName: _,
24542
24606
  isCreating: d,
24543
- isUpdating: b,
24607
+ isUpdating: v,
24544
24608
  datas: g
24545
24609
  }) => {
24546
24610
  switch (_) {
@@ -24559,14 +24623,14 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24559
24623
  }), r.kgForm.onSelectChange(async ({
24560
24624
  var_nam: _,
24561
24625
  values: d,
24562
- isCreating: b,
24626
+ isCreating: v,
24563
24627
  isUpdating: g,
24564
24628
  model: m
24565
24629
  }) => {
24566
24630
  switch (_) {
24567
24631
  case "typ": {
24568
24632
  switch (!0) {
24569
- case b: {
24633
+ case v: {
24570
24634
  if (!(m != null && m.value))
24571
24635
  break;
24572
24636
  const p = d == null ? void 0 : d[0];
@@ -24688,18 +24752,18 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24688
24752
  var_nam: [
24689
24753
  {
24690
24754
  trigger: "blur",
24691
- validator: (_, d) => new Promise((b, g) => {
24755
+ validator: (_, d) => new Promise((v, g) => {
24692
24756
  var m;
24693
24757
  if (n.getVarButtons.find((p) => p.var_nam === d))
24694
24758
  return g(a.t("kg.KgPageDdaCreateButton.button-var-name-used"));
24695
24759
  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
24760
  return g(a.t("kg.KgPageDdaCreateButton.button-var-name-reserved"));
24697
- b();
24761
+ v();
24698
24762
  })
24699
24763
  },
24700
24764
  {
24701
24765
  trigger: "blur",
24702
- validator: (_, d) => new Promise(async (b, g) => {
24766
+ validator: (_, d) => new Promise(async (v, g) => {
24703
24767
  try {
24704
24768
  n.setIsLoading(!0), await ValidateVarButtonVarName({
24705
24769
  data: {
@@ -24707,7 +24771,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24707
24771
  }
24708
24772
  }, {
24709
24773
  errorMessageMode: "none"
24710
- }), b();
24774
+ }), v();
24711
24775
  } catch (m) {
24712
24776
  m != null && m.message ? g(m == null ? void 0 : m.message) : g(m);
24713
24777
  } finally {
@@ -24724,7 +24788,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24724
24788
  }), r.kgSubmit.onBeforeRequest(async ({
24725
24789
  isCreating: _,
24726
24790
  isUpdating: d,
24727
- isDeleting: b,
24791
+ isDeleting: v,
24728
24792
  data: g
24729
24793
  }) => {
24730
24794
  var m, p, T, E;
@@ -24754,7 +24818,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24754
24818
  }), r.kgButton.setCurrentButton(null);
24755
24819
  break;
24756
24820
  }
24757
- case b: {
24821
+ case v: {
24758
24822
  (E = g.value) == null || E.forEach(({
24759
24823
  var_nam: k
24760
24824
  }) => {
@@ -24790,14 +24854,14 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
24790
24854
  bodyCell: ({
24791
24855
  row: _,
24792
24856
  column: d,
24793
- defaultRender: b
24857
+ defaultRender: v
24794
24858
  }) => {
24795
24859
  const g = _;
24796
24860
  switch (d.dataIndex) {
24797
24861
  case "var_text":
24798
24862
  return n.getVarText(g.var_nam);
24799
24863
  default:
24800
- return b;
24864
+ return v;
24801
24865
  }
24802
24866
  }
24803
24867
  },
@@ -25129,7 +25193,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25129
25193
  break;
25130
25194
  }
25131
25195
  }
25132
- function b() {
25196
+ function v() {
25133
25197
  r.setVarProfileDetails(s.value.filter((g) => g.id !== __KG__CREATE_ROW_ID__).map((g, m) => new VarProfileDetail({
25134
25198
  ena_flg: 1,
25135
25199
  prf_var_nam: "defaultProfile",
@@ -25145,7 +25209,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25145
25209
  });
25146
25210
  }
25147
25211
  return t({
25148
- onSubmit: b
25212
+ onSubmit: v
25149
25213
  }), () => createVNode("div", null, [createVNode(Transfer, {
25150
25214
  dataSource: n.value,
25151
25215
  targetKeys: i.value,
@@ -25373,7 +25437,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25373
25437
  break;
25374
25438
  }
25375
25439
  }
25376
- function b() {
25440
+ function v() {
25377
25441
  const g = s.value.filter((m) => m.id !== __KG__CREATE_ROW_ID__);
25378
25442
  r.setVarSubmitDetails(g.map((m, p) => new VarSubmitDetail({
25379
25443
  srtseq: p + 1,
@@ -25387,7 +25451,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25387
25451
  });
25388
25452
  }
25389
25453
  return t({
25390
- onSubmit: b
25454
+ onSubmit: v
25391
25455
  }), () => createVNode("div", null, [createVNode(Transfer, {
25392
25456
  dataSource: n.value,
25393
25457
  targetKeys: i.value,
@@ -25613,7 +25677,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25613
25677
  break;
25614
25678
  }
25615
25679
  }
25616
- function b() {
25680
+ function v() {
25617
25681
  r.setVarGridDetails(s.value.filter((g) => g.id !== __KG__CREATE_ROW_ID__).map((g, m) => new VarGridDetail({
25618
25682
  grd_var_nam: "defaultGrid",
25619
25683
  srtseq: m + 1,
@@ -25628,7 +25692,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25628
25692
  });
25629
25693
  }
25630
25694
  return t({
25631
- onSubmit: b
25695
+ onSubmit: v
25632
25696
  }), () => createVNode("div", null, [createVNode(Transfer, {
25633
25697
  dataSource: n.value,
25634
25698
  targetKeys: i.value,
@@ -25697,7 +25761,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25697
25761
  const a = useKg(), r = useKgPageDdaCreateStore(getPinia()), n = ref(1), i = computed(() => {
25698
25762
  let N = "kg-page-dda-create";
25699
25763
  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);
25764
+ }), 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
25765
  function p() {
25702
25766
  n.value !== 1 && (n.value -= 1);
25703
25767
  }
@@ -25724,7 +25788,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25724
25788
  break;
25725
25789
  case 4:
25726
25790
  try {
25727
- await ((A = b.value) == null ? void 0 : A.onSubmit()), n.value += 1;
25791
+ await ((A = v.value) == null ? void 0 : A.onSubmit()), n.value += 1;
25728
25792
  } catch {
25729
25793
  }
25730
25794
  break;
@@ -25819,7 +25883,7 @@ const getProps$7 = () => ({}), KgPageDdaCreateBasic = defineComponent({
25819
25883
  ref: d,
25820
25884
  class: "kg-page-dda-create--table"
25821
25885
  }, null), createVNode(KgPageDdaCreateSubmit, {
25822
- ref: b,
25886
+ ref: v,
25823
25887
  class: "kg-page-dda-create--submit"
25824
25888
  }, null), createVNode(KgPageDdaCreateButton, {
25825
25889
  ref: g,
@@ -25998,6 +26062,7 @@ export {
25998
26062
  KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE,
25999
26063
  KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE,
26000
26064
  KG__VAR_CONFIG_TIP__PLACEMENT,
26065
+ KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK,
26001
26066
  KG__VAR_GRID_DETAIL__ALIGN,
26002
26067
  KG__VAR_GRID_DETAIL__DISPLAY_TYPE,
26003
26068
  KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE,