@kengic/vue 0.28.2-beta.5 → 0.28.2-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -71373,7 +71373,7 @@ function fi(e) {
71373
71373
  })
71374
71374
  );
71375
71375
  }
71376
- const version = "0.28.2-beta.5", en$1 = {
71376
+ const version = "0.28.2-beta.6", en$1 = {
71377
71377
  kg: {
71378
71378
  KgAppSelect: {
71379
71379
  businessManager: "Business Manager",
@@ -76795,54 +76795,55 @@ function requireCore() {
76795
76795
  });
76796
76796
  }(core)), core.exports;
76797
76797
  }
76798
- var encBase64 = { exports: {} };
76799
- (function(e, G) {
76800
- (function(U, te) {
76801
- e.exports = te(requireCore());
76802
- })(commonjsGlobal, function(U) {
76803
- return function() {
76804
- var te = U, ne = te.lib, oe = ne.WordArray, ie = te.enc;
76805
- ie.Base64 = {
76806
- stringify: function(st) {
76807
- var ea = st.words, ta = st.sigBytes, na = this._map;
76808
- st.clamp();
76809
- for (var oa = [], la = 0; la < ta; la += 3)
76810
- for (var ca = ea[la >>> 2] >>> 24 - la % 4 * 8 & 255, da = ea[la + 1 >>> 2] >>> 24 - (la + 1) % 4 * 8 & 255, fa = ea[la + 2 >>> 2] >>> 24 - (la + 2) % 4 * 8 & 255, pa = ca << 16 | da << 8 | fa, ga = 0; ga < 4 && la + ga * 0.75 < ta; ga++)
76811
- oa.push(na.charAt(pa >>> 6 * (3 - ga) & 63));
76812
- var ha = na.charAt(64);
76813
- if (ha)
76814
- for (; oa.length % 4; )
76815
- oa.push(ha);
76816
- return oa.join("");
76817
- },
76818
- parse: function(st) {
76819
- var ea = st.length, ta = this._map, na = this._reverseMap;
76820
- if (!na) {
76821
- na = this._reverseMap = [];
76822
- for (var oa = 0; oa < ta.length; oa++)
76823
- na[ta.charCodeAt(oa)] = oa;
76824
- }
76825
- var la = ta.charAt(64);
76826
- if (la) {
76827
- var ca = st.indexOf(la);
76828
- ca !== -1 && (ea = ca);
76829
- }
76830
- return ue(st, ea, na);
76831
- },
76832
- _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
76833
- };
76834
- function ue(st, ea, ta) {
76835
- for (var na = [], oa = 0, la = 0; la < ea; la++)
76836
- if (la % 4) {
76837
- var ca = ta[st.charCodeAt(la - 1)] << la % 4 * 2, da = ta[st.charCodeAt(la)] >>> 6 - la % 4 * 2, fa = ca | da;
76838
- na[oa >>> 2] |= fa << 24 - oa % 4 * 8, oa++;
76839
- }
76840
- return oe.create(na, oa);
76841
- }
76842
- }(), U.enc.Base64;
76843
- });
76844
- })(encBase64);
76845
- const Base64 = encBase64.exports;
76798
+ var encBase64 = { exports: {} }, hasRequiredEncBase64;
76799
+ function requireEncBase64() {
76800
+ return hasRequiredEncBase64 || (hasRequiredEncBase64 = 1, function(e, G) {
76801
+ (function(U, te) {
76802
+ e.exports = te(requireCore());
76803
+ })(commonjsGlobal, function(U) {
76804
+ return function() {
76805
+ var te = U, ne = te.lib, oe = ne.WordArray, ie = te.enc;
76806
+ ie.Base64 = {
76807
+ stringify: function(st) {
76808
+ var ea = st.words, ta = st.sigBytes, na = this._map;
76809
+ st.clamp();
76810
+ for (var oa = [], la = 0; la < ta; la += 3)
76811
+ for (var ca = ea[la >>> 2] >>> 24 - la % 4 * 8 & 255, da = ea[la + 1 >>> 2] >>> 24 - (la + 1) % 4 * 8 & 255, fa = ea[la + 2 >>> 2] >>> 24 - (la + 2) % 4 * 8 & 255, pa = ca << 16 | da << 8 | fa, ga = 0; ga < 4 && la + ga * 0.75 < ta; ga++)
76812
+ oa.push(na.charAt(pa >>> 6 * (3 - ga) & 63));
76813
+ var ha = na.charAt(64);
76814
+ if (ha)
76815
+ for (; oa.length % 4; )
76816
+ oa.push(ha);
76817
+ return oa.join("");
76818
+ },
76819
+ parse: function(st) {
76820
+ var ea = st.length, ta = this._map, na = this._reverseMap;
76821
+ if (!na) {
76822
+ na = this._reverseMap = [];
76823
+ for (var oa = 0; oa < ta.length; oa++)
76824
+ na[ta.charCodeAt(oa)] = oa;
76825
+ }
76826
+ var la = ta.charAt(64);
76827
+ if (la) {
76828
+ var ca = st.indexOf(la);
76829
+ ca !== -1 && (ea = ca);
76830
+ }
76831
+ return ue(st, ea, na);
76832
+ },
76833
+ _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
76834
+ };
76835
+ function ue(st, ea, ta) {
76836
+ for (var na = [], oa = 0, la = 0; la < ea; la++)
76837
+ if (la % 4) {
76838
+ var ca = ta[st.charCodeAt(la - 1)] << la % 4 * 2, da = ta[st.charCodeAt(la)] >>> 6 - la % 4 * 2, fa = ca | da;
76839
+ na[oa >>> 2] |= fa << 24 - oa % 4 * 8, oa++;
76840
+ }
76841
+ return oe.create(na, oa);
76842
+ }
76843
+ }(), U.enc.Base64;
76844
+ });
76845
+ }(encBase64)), encBase64.exports;
76846
+ }
76846
76847
  var md5$1 = { exports: {} }, hasRequiredMd5;
76847
76848
  function requireMd5() {
76848
76849
  return hasRequiredMd5 || (hasRequiredMd5 = 1, function(e, G) {
@@ -77214,7 +77215,7 @@ function requireCipherCore() {
77214
77215
  }
77215
77216
  (function(e, G) {
77216
77217
  (function(U, te, ne) {
77217
- e.exports = te(requireCore(), encBase64.exports, requireMd5(), requireEvpkdf(), requireCipherCore());
77218
+ e.exports = te(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
77218
77219
  })(commonjsGlobal, function(U) {
77219
77220
  return function() {
77220
77221
  var te = U, ne = te.lib, oe = ne.BlockCipher, ie = te.algo, ue = [], st = [], ea = [], ta = [], na = [], oa = [], la = [], ca = [], da = [], fa = [];
@@ -77269,7 +77270,7 @@ function requireCipherCore() {
77269
77270
  }(), U.AES;
77270
77271
  });
77271
77272
  })(aes);
77272
- var encUtf8 = { exports: {} };
77273
+ var encBase64Exports = requireEncBase64(), encUtf8 = { exports: {} };
77273
77274
  (function(e, G) {
77274
77275
  (function(U, te) {
77275
77276
  e.exports = te(requireCore());
@@ -77331,10 +77332,10 @@ class AesEncryption {
77331
77332
  }
77332
77333
  }
77333
77334
  function encryptByBase64(e) {
77334
- return UTF8.parse(e).toString(Base64);
77335
+ return UTF8.parse(e).toString(encBase64Exports);
77335
77336
  }
77336
77337
  function decodeByBase64(e) {
77337
- return Base64.parse(e).toString(UTF8);
77338
+ return encBase64Exports.parse(e).toString(UTF8);
77338
77339
  }
77339
77340
  function encryptByMd5(e) {
77340
77341
  return md5Exports(e).toString();
@@ -96054,8 +96055,8 @@ const KgFormItem = defineComponent({
96054
96055
  function Va() {
96055
96056
  var Fa, Ba, Ma, Ga;
96056
96057
  return !e.kgShowLabel || na.value.isShowLabelContainer === !1 || na.value.isShowLabel === !1 ? null : createVNode("div", null, [createVNode("div", null, [createVNode("label", {
96057
- "kg-form_id": ne.formID,
96058
- "kg-var_name": e.kgVarName,
96058
+ "kg-form-id": ne.formID,
96059
+ "kg-var-name": e.kgVarName,
96059
96060
  "kg-lkp_id": (Fa = ie.value) == null ? void 0 : Fa.lkp_id,
96060
96061
  "kg-ret_fld": (Ba = ie.value) == null ? void 0 : Ba.ret_fld,
96061
96062
  class: "title",
@@ -96102,8 +96103,8 @@ const KgFormItem = defineComponent({
96102
96103
  var Ba, Ma;
96103
96104
  let Fa;
96104
96105
  return ne.isRetrieving.value ? null : createVNode(Col, {
96105
- "kg-form_id": ne.formID,
96106
- "kg-var_name": e.kgVarName,
96106
+ "kg-form-id": ne.formID,
96107
+ "kg-var-name": e.kgVarName,
96107
96108
  "kg-lkp_id": (Ba = ie.value) == null ? void 0 : Ba.lkp_id,
96108
96109
  "kg-ret_fld": (Ma = ie.value) == null ? void 0 : Ma.ret_fld,
96109
96110
  ref: Na,
@@ -97095,7 +97096,7 @@ const getProps$A = () => ({
97095
97096
  }), () => {
97096
97097
  var xi;
97097
97098
  return createVNode(KgModal, {
97098
- "kg-form_id": ne.formID,
97099
+ "kg-form-id": ne.formID,
97099
97100
  visible: ga.value,
97100
97101
  mask: ne.kgSubmit.currentVarSubmitConfig$DisplayType.value === KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE.MODAL || ne.kgSubmit.currentVarSubmitConfig$DisplayType.value === KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE.DRAWER,
97101
97102
  maskClosable: !1,
@@ -98003,11 +98004,13 @@ class VarDda {
98003
98004
  Za(this, "frm_id");
98004
98005
  Za(this, "frm_nam");
98005
98006
  Za(this, "id");
98007
+ Za(this, "props");
98006
98008
  keys(G != null ? G : {}).forEach((U) => {
98007
98009
  switch (U) {
98008
98010
  case "frm_id":
98009
98011
  case "frm_nam":
98010
98012
  case "id":
98013
+ case "props":
98011
98014
  Reflect.set(this, U, Reflect.get(G != null ? G : {}, U));
98012
98015
  break;
98013
98016
  }
@@ -100567,7 +100570,7 @@ function _useDragToSortRow$2(e, G, U) {
100567
100570
  na.preventDefault();
100568
100571
  const oa = document.querySelector("#__kg_var_config__modal__search__var_profile_master__kg_submit__fields__drag_image__");
100569
100572
  oa && document.body.removeChild(oa), ta.classList.remove("dragover", "dragover-right", "dragover-left");
100570
- const la = oe == null ? void 0 : oe.getAttribute("kg-var_name"), ca = ta.getAttribute("kg-var_name");
100573
+ const la = oe == null ? void 0 : oe.getAttribute("kg-var-name"), ca = ta.getAttribute("kg-var-name");
100571
100574
  la !== ca && (_KgUtil.showLoading(), st(la, ca));
100572
100575
  }, ta.addEventListener("drop", ta.__kg__drop__);
100573
100576
  }
@@ -100815,7 +100818,7 @@ const getProps$u = () => ({}), KgVarConfigModalSearchVarProfileMaster = defineCo
100815
100818
  let ka = {
100816
100819
  onClick: (Na) => na(Na, Ta, ca, fa)
100817
100820
  };
100818
- return ca === "right" && (ka["kg-host-frm_id"] = te.formID, ka["kg-var_name"] = Ta.var_nam), ka;
100821
+ return ca === "right" && (ka["kg-host-frm_id"] = te.formID, ka["kg-var-name"] = Ta.var_nam), ka;
100819
100822
  },
100820
100823
  rowSelection: ta({
100821
100824
  disabled: pa,
@@ -101916,7 +101919,7 @@ function _useDragToSortRow$1(e, G, U) {
101916
101919
  na.preventDefault();
101917
101920
  const oa = document.querySelector("#__kg_var_config__modal__table__var_grid_master__kg_submit__fields__drag_image__");
101918
101921
  oa && document.body.removeChild(oa), ta.classList.remove("dragover", "dragover-right", "dragover-left");
101919
- const la = oe == null ? void 0 : oe.getAttribute("kg-var_name"), ca = ta.getAttribute("kg-var_name");
101922
+ const la = oe == null ? void 0 : oe.getAttribute("kg-var-name"), ca = ta.getAttribute("kg-var-name");
101920
101923
  la !== ca && (_KgUtil.showLoading(), st(la, ca));
101921
101924
  }, ta.addEventListener("drop", ta.__kg__drop__);
101922
101925
  }
@@ -102167,7 +102170,7 @@ const getProps$o = () => ({}), KgVarConfigModalTableVarGridMaster = defineCompon
102167
102170
  let ka = {
102168
102171
  onClick: (Na) => la(Na, Ta, fa, ga)
102169
102172
  };
102170
- return fa === "right" && (ka["kg-host-frm_id"] = te.formID, ka["kg-var_name"] = Ta.var_nam), ka;
102173
+ return fa === "right" && (ka["kg-host-frm_id"] = te.formID, ka["kg-var-name"] = Ta.var_nam), ka;
102171
102174
  },
102172
102175
  rowSelection: oa({
102173
102176
  disabled: ha,
@@ -103518,7 +103521,7 @@ function _useDragToSortRow(e) {
103518
103521
  na.preventDefault(), _KgUtil.showLoading();
103519
103522
  const oa = document.querySelector("#__kg_table__setting__columns__drag_image__");
103520
103523
  oa && document.body.removeChild(oa), ta.classList.remove("dragover", "dragover-right", "dragover-left");
103521
- const la = oe == null ? void 0 : oe.getAttribute("kg-var_name"), ca = ta.getAttribute("kg-var_name");
103524
+ const la = oe == null ? void 0 : oe.getAttribute("kg-var-name"), ca = ta.getAttribute("kg-var-name");
103522
103525
  la !== ca && (U.store.dragSortCurrentVarGridDetails(U.formID, la, ca), nextTick().finally(() => {
103523
103526
  _KgUtil.hideLoading();
103524
103527
  }));
@@ -103659,7 +103662,7 @@ const getProps$l = () => ({
103659
103662
  display: oe(Va, st.value) ? "flex" : "none"
103660
103663
  },
103661
103664
  "kg-index": Ia,
103662
- "kg-var_name": Va.var_nam
103665
+ "kg-var-name": Va.var_nam
103663
103666
  }, [createVNode(Checkbox$3, {
103664
103667
  checked: Va.vis_flg === 1,
103665
103668
  disabled: !0
@@ -103690,7 +103693,7 @@ const getProps$l = () => ({
103690
103693
  return createVNode(Menu$2.Item, {
103691
103694
  key: Pa.id,
103692
103695
  class: Pa.id === ((Ba = ne.currentVarGridMaster.value) == null ? void 0 : Ba.id) ? "selected" : "",
103693
- "kg-var_name": Pa.grd_var_nam,
103696
+ "kg-var-name": Pa.grd_var_nam,
103694
103697
  onClick: () => ca(Pa)
103695
103698
  }, _isSlot$8(Fa = ne.t2(Pa.grd_var_nam)) ? Fa : {
103696
103699
  default: () => [Fa]
@@ -104126,7 +104129,7 @@ const getProps$j = () => ({
104126
104129
  var na, oa, la, ca;
104127
104130
  if (((ca = (la = (oa = (na = te.option.value) == null ? void 0 : na.KgTable) == null ? void 0 : oa.Info) == null ? void 0 : la.locateSelectedRows) == null ? void 0 : ca.isOn) !== !0)
104128
104131
  return;
104129
- const ea = document.querySelectorAll(`.kg-table[kg-form_id="${ne.formID}"] tr.ant-table-row-selected`);
104132
+ const ea = document.querySelectorAll(`.kg-table[kg-form-id="${ne.formID}"] tr.ant-table-row-selected`);
104130
104133
  oe >= ea.length && (oe = 0);
104131
104134
  const ta = ea[oe];
104132
104135
  ta && (ta.scrollIntoView({
@@ -104635,8 +104638,8 @@ function _useColumns(e) {
104635
104638
  filters: Aa(),
104636
104639
  onFilter: (Ma, Ga) => Ma === "" ? isNil(Ga == null ? void 0 : Ga[ya]) || (Ga == null ? void 0 : Ga[ya]) === "" : (Ga == null ? void 0 : Ga[ya]) === Ma,
104637
104640
  customHeaderCell: () => ({
104638
- "kg-form_id": U.formID,
104639
- "kg-var_name": ya,
104641
+ "kg-form-id": U.formID,
104642
+ "kg-var-name": ya,
104640
104643
  draggable: !0
104641
104644
  }),
104642
104645
  customCell: (Ma) => {
@@ -104646,8 +104649,8 @@ function _useColumns(e) {
104646
104649
  varName: ya
104647
104650
  })) == null ? void 0 : di[0]) != null ? wi : null;
104648
104651
  return {
104649
- "kg-form_id": U.formID,
104650
- "kg-var_name": ya,
104652
+ "kg-form-id": U.formID,
104653
+ "kg-var-name": ya,
104651
104654
  class: Ya === KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE.TABLE && Ga === za && !!Ka ? "submitting" : ""
104652
104655
  };
104653
104656
  }
@@ -104729,7 +104732,7 @@ function _useDragColumn(e, G) {
104729
104732
  let te = null, ne = null;
104730
104733
  function oe() {
104731
104734
  var ue;
104732
- if (te = filter$1((ue = e.value) == null ? void 0 : ue.querySelectorAll("div.ant-table-header > table > thead > tr >th"), (st) => st.hasAttribute("kg-var_name")), te)
104735
+ if (te = filter$1((ue = e.value) == null ? void 0 : ue.querySelectorAll("div.ant-table-header > table > thead > tr >th"), (st) => st.hasAttribute("kg-var-name")), te)
104733
104736
  for (let st of te)
104734
104737
  st.__kg__dragstart__ = (ea) => {
104735
104738
  var la;
@@ -104762,9 +104765,9 @@ function _useDragColumn(e, G) {
104762
104765
  st.classList.remove("dragover", "dragover-right", "dragover-left");
104763
104766
  }, st.addEventListener("dragleave", st.__kg__dragleave__), st.__kg__drop__ = (ea) => {
104764
104767
  ea.preventDefault(), st.classList.remove("dragover", "dragover-right", "dragover-left");
104765
- const ta = ne == null ? void 0 : ne.getAttribute("kg-form_id"), na = st.getAttribute("kg-form_id");
104768
+ const ta = ne == null ? void 0 : ne.getAttribute("kg-form-id"), na = st.getAttribute("kg-form-id");
104766
104769
  if (ta === na) {
104767
- const oa = ne == null ? void 0 : ne.getAttribute("kg-var_name"), la = st.getAttribute("kg-var_name");
104770
+ const oa = ne == null ? void 0 : ne.getAttribute("kg-var-name"), la = st.getAttribute("kg-var-name");
104768
104771
  oa !== la && U.store.dragSortCurrentVarGridDetails(U.formID, oa, la);
104769
104772
  }
104770
104773
  }, st.addEventListener("drop", st.__kg__drop__);
@@ -105413,8 +105416,8 @@ const KgTable$1 = "", getProps$g = () => ({
105413
105416
  }), () => {
105414
105417
  var gi, Xa, Ha, _i, ki;
105415
105418
  return createVNode("div", {
105416
- "kg-form_id": oe.formID,
105417
105419
  class: Ra.value,
105420
+ "kg-form-id": oe.formID,
105418
105421
  ref: la
105419
105422
  }, [createVNode(Table$2, {
105420
105423
  class: "kg-flex-table",
@@ -105902,7 +105905,7 @@ function transformVarSubmitConfigs(e) {
105902
105905
  VarSubmitConfig: ea
105903
105906
  }), ea.display_type = ie), [st].includes(ea.display_type)) {
105904
105907
  const oa = h$1.tryParseJSON(ea.props);
105905
- (na = (ta = oa.displayType) == null ? void 0 : ta.INLINE) != null && na.target || (set(oa, "displayType.INLINE.target", `.kg-submit--default-inline-target[kg-form_id="${ea.frm_id}"]`), ea.props = JSON.stringify(oa)), ea.resizable_flg = 0, ea.fullscreen_flg = 0, ea.dft_fullscreen_flg = 1;
105908
+ (na = (ta = oa.displayType) == null ? void 0 : ta.INLINE) != null && na.target || (set(oa, "displayType.INLINE.target", `.kg-submit--default-inline-target[kg-form-id="${ea.frm_id}"]`), ea.props = JSON.stringify(oa)), ea.resizable_flg = 0, ea.fullscreen_flg = 0, ea.dft_fullscreen_flg = 1;
105906
105909
  }
105907
105910
  if (ea.layout === G)
105908
105911
  switch (ea.label_col_unit) {
@@ -107399,6 +107402,10 @@ function useKgVar(e, G, U = 0) {
107399
107402
  varButtons: computed(() => ie.getVarButtons(oe)),
107400
107403
  varChildDetails: computed(() => ie.getVarChildDetails(oe)),
107401
107404
  varDda: computed(() => ie.getVarDda(oe)),
107405
+ varDda$Props$$: computed(() => {
107406
+ var ga;
107407
+ return h$1.tryParseJSON((ga = ie.getVarDda(oe)) == null ? void 0 : ga.props);
107408
+ }),
107402
107409
  varGridConfig: computed(() => ie.getVarGridConfig(oe)),
107403
107410
  varGridConfig$Props$$: computed(() => {
107404
107411
  var ga;
@@ -107484,17 +107491,18 @@ const KgVar = defineComponent({
107484
107491
  spinning: ta.value
107485
107492
  }, {
107486
107493
  default: () => {
107487
- var la, ca, da, fa, pa, ga, ha, Ea, ya, Sa, Ta, ka, Na, Aa, Ra, Va, Ia, Pa, Fa, Ba, Ma, Ga, za;
107494
+ var la, ca, da, fa, pa, ga, ha, Ea, ya, Sa, Ta, ka, Na, Aa, Ra, Va, Ia, Pa, Fa, Ba, Ma, Ga, za, Ya, Ka, Qa;
107488
107495
  return [G.default ? G.default() : createVNode(Fragment, null, [(da = (ca = (la = e.kgSlots) != null ? la : te.slots.value) == null ? void 0 : ca.beforeKgSearch) == null ? void 0 : da.call(ca), ue.value && createVNode(KgSearch, null, null), (ga = (pa = (fa = e.kgSlots) != null ? fa : te.slots.value) == null ? void 0 : pa.afterKgSearch) == null ? void 0 : ga.call(pa), (ya = (Ea = (ha = e.kgSlots) != null ? ha : te.slots.value) == null ? void 0 : Ea.beforeKgButton) == null ? void 0 : ya.call(Ea), st.value && createVNode(KgButton, null, null), (ka = (Ta = (Sa = e.kgSlots) != null ? Sa : te.slots.value) == null ? void 0 : Ta.afterKgButton) == null ? void 0 : ka.call(Ta), (Ra = (Aa = (Na = e.kgSlots) != null ? Na : te.slots.value) == null ? void 0 : Aa.beforeKgTable) == null ? void 0 : Ra.call(Aa), ea.value && createVNode(KgTable, null, null), (Pa = (Ia = (Va = e.kgSlots) != null ? Va : te.slots.value) == null ? void 0 : Ia.afterKgTable) == null ? void 0 : Pa.call(Ia), createVNode("div", {
107489
107496
  class: {
107490
107497
  "kg-submit--default-inline-target": !0,
107491
107498
  "kg-submit--default-inline-target--fullscreen": ((Ba = (Fa = te.kgSubmit.currentVarSubmitConfig$Props.value.displayType) == null ? void 0 : Fa.INLINE) == null ? void 0 : Ba.isFullscreen) === !0
107492
107499
  },
107493
107500
  style: {
107494
- display: ie.value && te.kgSubmit.currentVarSubmitConfig$DisplayType.value === KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE.INLINE ? "block" : "none"
107501
+ display: ie.value && te.kgSubmit.currentVarSubmitConfig$DisplayType.value === KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE.INLINE ? "block" : "none",
107502
+ zIndex: (za = (Ga = (Ma = te.kgSubmit.currentVarSubmitConfig$Props.value.displayType) == null ? void 0 : Ma.INLINE) == null ? void 0 : Ga.zIndex) != null ? za : 3
107495
107503
  },
107496
- "kg-form_id": te.formID
107497
- }, null), ie.value && createVNode(KgSubmit, null, null), (za = (Ga = (Ma = e.kgSlots) != null ? Ma : te.slots.value) == null ? void 0 : Ga.bottom) == null ? void 0 : za.call(Ga)])];
107504
+ "kg-form-id": te.formID
107505
+ }, null), ie.value && createVNode(KgSubmit, null, null), (Qa = (Ka = (Ya = e.kgSlots) != null ? Ya : te.slots.value) == null ? void 0 : Ka.bottom) == null ? void 0 : Qa.call(Ka)])];
107498
107506
  }
107499
107507
  });
107500
107508
  }
@@ -107570,7 +107578,8 @@ function KgVarFactory(e) {
107570
107578
  return () => {
107571
107579
  let ta;
107572
107580
  return createVNode("div", {
107573
- class: "kg-var-factory"
107581
+ class: "kg-var-container",
107582
+ "kg-form-id": ne.formID
107574
107583
  }, [createVNode(KgVar, st.value, null), ne.varChildDetails.value.length > 0 ? createVNode(KgResizable, {
107575
107584
  kgHeight: ie.value.kgHeight,
107576
107585
  "onUpdate:kgHeight": (na) => ie.value.kgHeight = na,
@@ -107678,8 +107687,8 @@ const getProps$d = () => ({
107678
107687
  var ea, ta, na, oa, la, ca;
107679
107688
  return createVNode(Button$2, {
107680
107689
  "kg-id": (ea = ne.value) == null ? void 0 : ea.id,
107681
- "kg-form_id": (ta = ne.value) == null ? void 0 : ta.frm_id,
107682
- "kg-var_name": (na = ne.value) == null ? void 0 : na.var_nam,
107690
+ "kg-form-id": (ta = ne.value) == null ? void 0 : ta.frm_id,
107691
+ "kg-var-name": (na = ne.value) == null ? void 0 : na.var_nam,
107683
107692
  "kg-cmd": (oa = ne.value) == null ? void 0 : oa.cmd,
107684
107693
  "kg-permission": (ca = (la = ne.value) == null ? void 0 : la.permission_code) != null ? ca : "",
107685
107694
  type: "primary",
@@ -107769,8 +107778,8 @@ const getProps$d = () => ({
107769
107778
  var ca, da, fa, pa, ga, ha;
107770
107779
  return createVNode(Button$2, {
107771
107780
  "kg-id": (ca = ne.value) == null ? void 0 : ca.id,
107772
- "kg-form_id": (da = ne.value) == null ? void 0 : da.frm_id,
107773
- "kg-var_name": (fa = ne.value) == null ? void 0 : fa.var_nam,
107781
+ "kg-form-id": (da = ne.value) == null ? void 0 : da.frm_id,
107782
+ "kg-var-name": (fa = ne.value) == null ? void 0 : fa.var_nam,
107774
107783
  "kg-cmd": (pa = ne.value) == null ? void 0 : pa.cmd,
107775
107784
  "kg-permission": (ha = (ga = ne.value) == null ? void 0 : ga.permission_code) != null ? ha : "",
107776
107785
  type: "primary",
@@ -107861,8 +107870,8 @@ const getProps$d = () => ({
107861
107870
  var st, ea, ta, na, oa, la;
107862
107871
  return createVNode(Button$2, {
107863
107872
  "kg-id": (st = te.value) == null ? void 0 : st.id,
107864
- "kg-form_id": (ea = te.value) == null ? void 0 : ea.frm_id,
107865
- "kg-var_name": (ta = te.value) == null ? void 0 : ta.var_nam,
107873
+ "kg-form-id": (ea = te.value) == null ? void 0 : ea.frm_id,
107874
+ "kg-var-name": (ta = te.value) == null ? void 0 : ta.var_nam,
107866
107875
  "kg-cmd": (na = te.value) == null ? void 0 : na.cmd,
107867
107876
  "kg-permission": (la = (oa = te.value) == null ? void 0 : oa.permission_code) != null ? la : "",
107868
107877
  type: "primary",
@@ -108009,8 +108018,8 @@ const getProps$d = () => ({
108009
108018
  var la, ca, da, fa, pa, ga;
108010
108019
  return createVNode(Button$2, {
108011
108020
  "kg-id": (la = ne.value) == null ? void 0 : la.id,
108012
- "kg-form_id": (ca = ne.value) == null ? void 0 : ca.frm_id,
108013
- "kg-var_name": (da = ne.value) == null ? void 0 : da.var_nam,
108021
+ "kg-form-id": (ca = ne.value) == null ? void 0 : ca.frm_id,
108022
+ "kg-var-name": (da = ne.value) == null ? void 0 : da.var_nam,
108014
108023
  "kg-cmd": (fa = ne.value) == null ? void 0 : fa.cmd,
108015
108024
  "kg-permission": (ga = (pa = ne.value) == null ? void 0 : pa.permission_code) != null ? ga : "",
108016
108025
  type: "primary",
@@ -108142,8 +108151,8 @@ const getProps$d = () => ({
108142
108151
  var la, ca, da, fa, pa, ga;
108143
108152
  return [createVNode(Button$2, {
108144
108153
  "kg-id": (la = ne.value) == null ? void 0 : la.id,
108145
- "kg-form_id": (ca = ne.value) == null ? void 0 : ca.frm_id,
108146
- "kg-var_name": (da = ne.value) == null ? void 0 : da.var_nam,
108154
+ "kg-form-id": (ca = ne.value) == null ? void 0 : ca.frm_id,
108155
+ "kg-var-name": (da = ne.value) == null ? void 0 : da.var_nam,
108147
108156
  "kg-cmd": (fa = ne.value) == null ? void 0 : fa.cmd,
108148
108157
  "kg-permission": (ga = (pa = ne.value) == null ? void 0 : pa.permission_code) != null ? ga : "",
108149
108158
  type: "primary",
@@ -108252,8 +108261,8 @@ const getProps$d = () => ({
108252
108261
  var oa, la, ca, da, fa, pa;
108253
108262
  return createVNode(Button$2, {
108254
108263
  "kg-id": (oa = te.value) == null ? void 0 : oa.id,
108255
- "kg-form_id": (la = te.value) == null ? void 0 : la.frm_id,
108256
- "kg-var_name": (ca = te.value) == null ? void 0 : ca.var_nam,
108264
+ "kg-form-id": (la = te.value) == null ? void 0 : la.frm_id,
108265
+ "kg-var-name": (ca = te.value) == null ? void 0 : ca.var_nam,
108257
108266
  "kg-cmd": (da = te.value) == null ? void 0 : da.cmd,
108258
108267
  "kg-permission": (pa = (fa = te.value) == null ? void 0 : fa.permission_code) != null ? pa : "",
108259
108268
  type: "primary",
@@ -108398,8 +108407,8 @@ const getProps$d = () => ({
108398
108407
  var ea, ta, na, oa, la, ca;
108399
108408
  return createVNode(Button$2, {
108400
108409
  "kg-id": (ea = ne.value) == null ? void 0 : ea.id,
108401
- "kg-form_id": (ta = ne.value) == null ? void 0 : ta.frm_id,
108402
- "kg-var_name": (na = ne.value) == null ? void 0 : na.var_nam,
108410
+ "kg-form-id": (ta = ne.value) == null ? void 0 : ta.frm_id,
108411
+ "kg-var-name": (na = ne.value) == null ? void 0 : na.var_nam,
108403
108412
  "kg-cmd": (oa = ne.value) == null ? void 0 : oa.cmd,
108404
108413
  "kg-permission": (ca = (la = ne.value) == null ? void 0 : la.permission_code) != null ? ca : "",
108405
108414
  type: "primary",
@@ -108462,8 +108471,8 @@ const getProps$d = () => ({
108462
108471
  var st, ea, ta, na, oa, la;
108463
108472
  return createVNode(Button$2, {
108464
108473
  "kg-id": (st = te.value) == null ? void 0 : st.id,
108465
- "kg-form_id": (ea = te.value) == null ? void 0 : ea.frm_id,
108466
- "kg-var_name": (ta = te.value) == null ? void 0 : ta.var_nam,
108474
+ "kg-form-id": (ea = te.value) == null ? void 0 : ea.frm_id,
108475
+ "kg-var-name": (ta = te.value) == null ? void 0 : ta.var_nam,
108467
108476
  "kg-cmd": (na = te.value) == null ? void 0 : na.cmd,
108468
108477
  "kg-permission": (la = (oa = te.value) == null ? void 0 : oa.permission_code) != null ? la : "",
108469
108478
  type: "primary",
@@ -108553,8 +108562,8 @@ const getProps$d = () => ({
108553
108562
  var ca, da, fa, pa, ga, ha;
108554
108563
  return createVNode(Button$2, {
108555
108564
  "kg-id": (ca = ne.value) == null ? void 0 : ca.id,
108556
- "kg-form_id": (da = ne.value) == null ? void 0 : da.frm_id,
108557
- "kg-var_name": (fa = ne.value) == null ? void 0 : fa.var_nam,
108565
+ "kg-form-id": (da = ne.value) == null ? void 0 : da.frm_id,
108566
+ "kg-var-name": (fa = ne.value) == null ? void 0 : fa.var_nam,
108558
108567
  "kg-cmd": (pa = ne.value) == null ? void 0 : pa.cmd,
108559
108568
  "kg-permission": (ha = (ga = ne.value) == null ? void 0 : ga.permission_code) != null ? ha : "",
108560
108569
  type: "primary",
@@ -108770,7 +108779,7 @@ const getProps$c = () => ({
108770
108779
  "kg-button": !0,
108771
108780
  "kg-button--invisible": ne.varButtonConfig$Props$$.value.isVisible === !1
108772
108781
  },
108773
- "kg-form_id": ne.formID
108782
+ "kg-form-id": ne.formID
108774
108783
  }, [createVNode(Spin$1, {
108775
108784
  spinning: oe.value
108776
108785
  }, {
@@ -109426,7 +109435,7 @@ const getProps$b = () => ({
109426
109435
  return onUnmounted(async () => {
109427
109436
  ne.kgSearch.store.dispose(ne.formID);
109428
109437
  }), () => createVNode(KgResizable, {
109429
- "kg-form_id": ne.formID,
109438
+ "kg-form-id": ne.formID,
109430
109439
  ref: ie,
109431
109440
  kgHeight: la.value.kgHeight,
109432
109441
  "onUpdate:kgHeight": (za) => la.value.kgHeight = za,
@@ -699,6 +699,8 @@ export declare class VarDda {
699
699
  frm_nam?: string | null;
700
700
  /** 主键. */
701
701
  id?: string | null;
702
+ /** 配置属性. */
703
+ props?: string | null;
702
704
  constructor(obj?: VarDda);
703
705
  }
704
706
  /** 表格配置. */
@@ -1,7 +1,7 @@
1
1
  import { IRemoveEventListener } from '@kengic/core.core';
2
2
  import { ComputedRef } from 'vue';
3
3
  import { VarButton, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigPossibility, VarDda, VarGridConfig, VarGridDetail, VarGridMaster, VarGridMasterDTO, VarProfileConfig, VarProfileMasterDTO, VarVariable } from '../../api/WMS/models';
4
- import { IKgVarButtonConfigProperties, IKgVarGridConfigProperties, KG__VAR_BUTTON__TYPE } from '../../const';
4
+ import { IKgVarButtonConfigProperties, IKgVarDdaProperties, IKgVarGridConfigProperties, KG__VAR_BUTTON__TYPE } from '../../const';
5
5
  import { IUseKgButton } from '../KgButton';
6
6
  import { IUseKgForm } from '../KgForm';
7
7
  import { type IUseKgSearch } from '../KgSearch';
@@ -258,6 +258,7 @@ export declare type IUseKgVar = {
258
258
  varButtons: ComputedRef<Array<VarButton>>;
259
259
  varChildDetails: ComputedRef<Array<VarChildDetail>>;
260
260
  varDda: ComputedRef<VarDda | null>;
261
+ varDda$Props$$: ComputedRef<IKgVarDdaProperties>;
261
262
  varGridConfig: ComputedRef<VarGridConfig | null>;
262
263
  varGridConfig$Props$$: ComputedRef<IKgVarGridConfigProperties>;
263
264
  /**
@@ -629,6 +629,12 @@ export interface IKgVarSubmitConfigProperties {
629
629
  * <p>默认嵌入到表格的底部.</p>
630
630
  */
631
631
  target?: string;
632
+ /**
633
+ * 层级, 默认为 3.
634
+ *
635
+ * @default 3
636
+ */
637
+ zIndex?: number;
632
638
  };
633
639
  };
634
640
  /**
@@ -78,6 +78,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
78
78
  frm_id?: string | null | undefined;
79
79
  frm_nam?: string | null | undefined;
80
80
  id?: string | null | undefined;
81
+ props?: string | null | undefined;
81
82
  } | null | undefined;
82
83
  varGridConfig?: {
83
84
  aut_load_flg?: number | null | undefined;
@@ -287,6 +288,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
287
288
  frm_id?: string | null | undefined;
288
289
  frm_nam?: string | null | undefined;
289
290
  id?: string | null | undefined;
291
+ props?: string | null | undefined;
290
292
  } | null | undefined;
291
293
  varGridConfig?: {
292
294
  aut_load_flg?: number | null | undefined;
@@ -538,6 +540,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
538
540
  frm_id?: string | null | undefined;
539
541
  frm_nam?: string | null | undefined;
540
542
  id?: string | null | undefined;
543
+ props?: string | null | undefined;
541
544
  } | null | undefined;
542
545
  varGridConfig?: {
543
546
  aut_load_flg?: number | null | undefined;
@@ -747,6 +750,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
747
750
  frm_id?: string | null | undefined;
748
751
  frm_nam?: string | null | undefined;
749
752
  id?: string | null | undefined;
753
+ props?: string | null | undefined;
750
754
  } | null | undefined;
751
755
  varGridConfig?: {
752
756
  aut_load_flg?: number | null | undefined;
@@ -998,6 +1002,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
998
1002
  frm_id?: string | null | undefined;
999
1003
  frm_nam?: string | null | undefined;
1000
1004
  id?: string | null | undefined;
1005
+ props?: string | null | undefined;
1001
1006
  } | null | undefined;
1002
1007
  varGridConfig?: {
1003
1008
  aut_load_flg?: number | null | undefined;
@@ -1207,6 +1212,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1207
1212
  frm_id?: string | null | undefined;
1208
1213
  frm_nam?: string | null | undefined;
1209
1214
  id?: string | null | undefined;
1215
+ props?: string | null | undefined;
1210
1216
  } | null | undefined;
1211
1217
  varGridConfig?: {
1212
1218
  aut_load_flg?: number | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.28.2-beta.5",
3
+ "version": "0.28.2-beta.6",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",