@kengic/vue 0.11.1 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/kengic-vue.js +592 -555
  3. package/dist/src/{src/utils → utils}/logger.util.d.ts +11 -0
  4. package/package.json +1 -1
  5. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/Add.d.ts +0 -0
  6. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/Delete.d.ts +0 -0
  7. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/DeleteBatch.d.ts +0 -0
  8. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/Edit.d.ts +0 -0
  9. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/ExportXls.d.ts +0 -0
  10. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/ImportExcel.d.ts +0 -0
  11. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/List.d.ts +0 -0
  12. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/QueryById.d.ts +0 -0
  13. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarContextController/index.d.ts +0 -0
  14. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarController/GetAll.d.ts +0 -0
  15. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarController/index.d.ts +0 -0
  16. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +0 -0
  17. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarGridMasterController/Update.d.ts +0 -0
  18. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarGridMasterController/index.d.ts +0 -0
  19. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +0 -0
  20. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarProfileMasterController/index.d.ts +0 -0
  21. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/Add.d.ts +0 -0
  22. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/Delete.d.ts +0 -0
  23. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/DeleteBatch.d.ts +0 -0
  24. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/Edit.d.ts +0 -0
  25. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/ExportXls.d.ts +0 -0
  26. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/ImportExcel.d.ts +0 -0
  27. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/List.d.ts +0 -0
  28. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/QueryById.d.ts +0 -0
  29. /package/dist/src/{src/apis → apis}/WMS/Controllers/VarVariableCatalogController/index.d.ts +0 -0
  30. /package/dist/src/{src/apis → apis}/WMS/Controllers/WhController/ListVO.d.ts +0 -0
  31. /package/dist/src/{src/apis → apis}/WMS/Controllers/WhController/index.d.ts +0 -0
  32. /package/dist/src/{src/apis → apis}/WMS/Controllers/index.d.ts +0 -0
  33. /package/dist/src/{src/apis → apis}/WMS/index.d.ts +0 -0
  34. /package/dist/src/{src/apis → apis}/WMS/models.d.ts +0 -0
  35. /package/dist/src/{src/apis → apis}/api.d.ts +0 -0
  36. /package/dist/src/{src/apis → apis}/def.d.ts +0 -0
  37. /package/dist/src/{src/apis → apis}/index.d.ts +0 -0
  38. /package/dist/src/{src/assets → assets}/icons/material-symbols.save-as-outline-rounded.d.ts +0 -0
  39. /package/dist/src/{src/assets → assets}/icons/material-symbols.save-outline-rounded.d.ts +0 -0
  40. /package/dist/src/{src/components → components}/KgAppSelect/KgAppSelect.d.ts +0 -0
  41. /package/dist/src/{src/components → components}/KgAppSelect/index.d.ts +0 -0
  42. /package/dist/src/{src/components → components}/KgAppSelect/index.hooks.d.ts +0 -0
  43. /package/dist/src/{src/components → components}/KgAppSelect/index.store.d.ts +0 -0
  44. /package/dist/src/{src/components → components}/KgButton/KgButton.Item.d.ts +0 -0
  45. /package/dist/src/{src/components → components}/KgButton/KgButton.Item.data.d.ts +0 -0
  46. /package/dist/src/{src/components → components}/KgButton/KgButton.d.ts +0 -0
  47. /package/dist/src/{src/components → components}/KgButton/components/KgButton.Copy.d.ts +0 -0
  48. /package/dist/src/{src/components → components}/KgButton/components/KgButton.Create.d.ts +0 -0
  49. /package/dist/src/{src/components → components}/KgButton/components/KgButton.Delete.d.ts +0 -0
  50. /package/dist/src/{src/components → components}/KgButton/components/KgButton.Export.d.ts +0 -0
  51. /package/dist/src/{src/components → components}/KgButton/components/KgButton.Import.d.ts +0 -0
  52. /package/dist/src/{src/components → components}/KgButton/components/KgButton.ImportTemplate.d.ts +0 -0
  53. /package/dist/src/{src/components → components}/KgButton/components/KgButton.Other.d.ts +0 -0
  54. /package/dist/src/{src/components → components}/KgButton/components/KgButton.Search.d.ts +0 -0
  55. /package/dist/src/{src/components → components}/KgButton/components/KgButton.Update.d.ts +0 -0
  56. /package/dist/src/{src/components → components}/KgButton/index.d.ts +0 -0
  57. /package/dist/src/{src/components → components}/KgButton/index.hooks.d.ts +0 -0
  58. /package/dist/src/{src/components → components}/KgButton/index.store.d.ts +0 -0
  59. /package/dist/src/{src/components → components}/KgForm/KgForm.d.ts +0 -0
  60. /package/dist/src/{src/components → components}/KgForm/index.d.ts +0 -0
  61. /package/dist/src/{src/components → components}/KgForm/index.hooks.d.ts +0 -0
  62. /package/dist/src/{src/components → components}/KgForm/index.store.d.ts +0 -0
  63. /package/dist/src/{src/components → components}/KgForm/index.vm.d.ts +0 -0
  64. /package/dist/src/{src/components → components}/KgForm.Item/KgForm.Item.d.ts +0 -0
  65. /package/dist/src/{src/components → components}/KgForm.Item/KgForm.Item.hooks.d.ts +0 -0
  66. /package/dist/src/{src/components → components}/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -0
  67. /package/dist/src/{src/components → components}/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +0 -0
  68. /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +0 -0
  69. /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +0 -0
  70. /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.Date.d.ts +0 -0
  71. /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.DateRange.d.ts +0 -0
  72. /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.Input.d.ts +0 -0
  73. /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +0 -0
  74. /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +0 -0
  75. /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.Select.d.ts +0 -0
  76. /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.Select.hooks.d.ts +0 -0
  77. /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.Switch.d.ts +0 -0
  78. /package/dist/src/{src/components → components}/KgForm.Item/components/KgForm.Item.TextArea.d.ts +0 -0
  79. /package/dist/src/{src/components → components}/KgForm.Item/index.d.ts +0 -0
  80. /package/dist/src/{src/components → components}/KgForm.Item/index.vm.d.ts +0 -0
  81. /package/dist/src/{src/components → components}/KgModal/KgModal.d.ts +0 -0
  82. /package/dist/src/{src/components → components}/KgModal/components/KgModal.Close.d.ts +0 -0
  83. /package/dist/src/{src/components → components}/KgModal/index.d.ts +0 -0
  84. /package/dist/src/{src/components → components}/KgModal/index.vm.d.ts +0 -0
  85. /package/dist/src/{src/components → components}/KgProgressA/KgProgressA.d.ts +0 -0
  86. /package/dist/src/{src/components → components}/KgProgressA/index.d.ts +0 -0
  87. /package/dist/src/{src/components → components}/KgResizable/KgResizable.d.ts +0 -0
  88. /package/dist/src/{src/components → components}/KgResizable/index.d.ts +0 -0
  89. /package/dist/src/{src/components → components}/KgSearch/KgSearch.d.ts +0 -0
  90. /package/dist/src/{src/components → components}/KgSearch/KgSearch.hooks.d.ts +0 -0
  91. /package/dist/src/{src/components → components}/KgSearch/components/KgSearch.ConfigModal.Body.d.ts +0 -0
  92. /package/dist/src/{src/components → components}/KgSearch/components/KgSearch.ConfigModal.VarProfileConfig.d.ts +0 -0
  93. /package/dist/src/{src/components → components}/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.d.ts +0 -0
  94. /package/dist/src/{src/components → components}/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.hooks.d.ts +0 -0
  95. /package/dist/src/{src/components → components}/KgSearch/components/KgSearch.ConfigModal.d.ts +0 -0
  96. /package/dist/src/{src/components → components}/KgSearch/index.d.ts +0 -0
  97. /package/dist/src/{src/components → components}/KgSearch/index.hooks.d.ts +0 -0
  98. /package/dist/src/{src/components → components}/KgSearch/index.store.d.ts +0 -0
  99. /package/dist/src/{src/components → components}/KgSearch/index.vm.d.ts +0 -0
  100. /package/dist/src/{src/components → components}/KgSubmit/KgSubmit.d.ts +0 -0
  101. /package/dist/src/{src/components → components}/KgSubmit/KgSubmit.hooks.d.ts +0 -0
  102. /package/dist/src/{src/components → components}/KgSubmit/components/KgSubmit.Header.VarSubmitConfig.d.ts +0 -0
  103. /package/dist/src/{src/components → components}/KgSubmit/components/KgSubmit.Header.d.ts +0 -0
  104. /package/dist/src/{src/components → components}/KgSubmit/index.d.ts +0 -0
  105. /package/dist/src/{src/components → components}/KgSubmit/index.hooks.d.ts +0 -0
  106. /package/dist/src/{src/components → components}/KgSubmit/index.store.d.ts +0 -0
  107. /package/dist/src/{src/components → components}/KgSubmit/index.vm.d.ts +0 -0
  108. /package/dist/src/{src/components → components}/KgTable/KgTable.d.ts +0 -0
  109. /package/dist/src/{src/components → components}/KgTable/KgTable.hooks.d.ts +0 -0
  110. /package/dist/src/{src/components → components}/KgTable/components/KgTable.Cell.d.ts +0 -0
  111. /package/dist/src/{src/components → components}/KgTable/components/KgTable.Info.d.ts +0 -0
  112. /package/dist/src/{src/components → components}/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -0
  113. /package/dist/src/{src/components → components}/KgTable/components/setting/KgTable.Setting.d.ts +0 -0
  114. /package/dist/src/{src/components → components}/KgTable/components/setting/KgTable.Setting.hooks.d.ts +0 -0
  115. /package/dist/src/{src/components → components}/KgTable/components/setting/config/KgTable.Setting.ConfigModal.Body.d.ts +0 -0
  116. /package/dist/src/{src/components → components}/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridConfig.d.ts +0 -0
  117. /package/dist/src/{src/components → components}/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.d.ts +0 -0
  118. /package/dist/src/{src/components → components}/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts +0 -0
  119. /package/dist/src/{src/components → components}/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -0
  120. /package/dist/src/{src/components → components}/KgTable/index.d.ts +0 -0
  121. /package/dist/src/{src/components → components}/KgTable/index.hooks.d.ts +0 -0
  122. /package/dist/src/{src/components → components}/KgTable/index.store.d.ts +0 -0
  123. /package/dist/src/{src/components → components}/KgTable/index.vm.d.ts +0 -0
  124. /package/dist/src/{src/components → components}/KgVar/KgVar.d.ts +0 -0
  125. /package/dist/src/{src/components → components}/KgVar/index.d.ts +0 -0
  126. /package/dist/src/{src/components → components}/KgVar/index.hooks.d.ts +0 -0
  127. /package/dist/src/{src/components → components}/KgVar/index.store.d.ts +0 -0
  128. /package/dist/src/{src/components → components}/KgVar/index.store.service.d.ts +0 -0
  129. /package/dist/src/{src/components → components}/KgVar/index.vm.d.ts +0 -0
  130. /package/dist/src/{src/components → components}/KgVarConfig/KgVarConfig.d.ts +0 -0
  131. /package/dist/src/{src/components → components}/KgVarConfig/components/KgVarConfig.FormIDsModal.d.ts +0 -0
  132. /package/dist/src/{src/components → components}/KgVarConfig/components/KgVarConfig.Modal.d.ts +0 -0
  133. /package/dist/src/{src/components → components}/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -0
  134. /package/dist/src/{src/components → components}/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -0
  135. /package/dist/src/{src/components → components}/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +0 -0
  136. /package/dist/src/{src/components → components}/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitField.d.ts +0 -0
  137. /package/dist/src/{src/components → components}/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +0 -0
  138. /package/dist/src/{src/components → components}/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -0
  139. /package/dist/src/{src/components → components}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.d.ts +0 -0
  140. /package/dist/src/{src/components → components}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.data.d.ts +0 -0
  141. /package/dist/src/{src/components → components}/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.d.ts +0 -0
  142. /package/dist/src/{src/components → components}/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.data.d.ts +0 -0
  143. /package/dist/src/{src/components → components}/KgVarConfig/components/var/KgVarConfig.Modal.Var.d.ts +0 -0
  144. /package/dist/src/{src/components → components}/KgVarConfig/index.d.ts +0 -0
  145. /package/dist/src/{src/components → components}/KgVarConfig/index.store.d.ts +0 -0
  146. /package/dist/src/{src/components → components}/KgVarConfig/index.vm.d.ts +0 -0
  147. /package/dist/src/{src/components → components}/KgWarehouse/KgWarehouse.d.ts +0 -0
  148. /package/dist/src/{src/components → components}/KgWarehouse/index.d.ts +0 -0
  149. /package/dist/src/{src/components → components}/KgWarehouse/index.guard.d.ts +0 -0
  150. /package/dist/src/{src/components → components}/KgWarehouse/index.hooks.d.ts +0 -0
  151. /package/dist/src/{src/components → components}/KgWarehouse/index.store.d.ts +0 -0
  152. /package/dist/src/{src/components → components}/KgYesOrNo/KgYesOrNo.d.ts +0 -0
  153. /package/dist/src/{src/components → components}/KgYesOrNo/index.d.ts +0 -0
  154. /package/dist/src/{src/components → components}/index.d.ts +0 -0
  155. /package/dist/src/{src/components → components}/util.d.ts +0 -0
  156. /package/dist/src/{src/config → config}/index.d.ts +0 -0
  157. /package/dist/src/{src/config → config}/index.hooks.d.ts +0 -0
  158. /package/dist/src/{src/config → config}/index.store.d.ts +0 -0
  159. /package/dist/src/{src/config → config}/setup.d.ts +0 -0
  160. /package/dist/src/{src/consts → consts}/i18n/en.d.ts +0 -0
  161. /package/dist/src/{src/consts → consts}/i18n/index.d.ts +0 -0
  162. /package/dist/src/{src/consts → consts}/i18n/zh_CN.d.ts +0 -0
  163. /package/dist/src/{src/consts → consts}/index.d.ts +0 -0
  164. /package/dist/src/{src/consts → consts}/index.vm.d.ts +0 -0
  165. /package/dist/src/{src/consts → consts}/injection-keys.const.d.ts +0 -0
  166. /package/dist/src/{src/helpers → helpers}/ant-design-vue.d.ts +0 -0
  167. /package/dist/src/{src/helpers → helpers}/tsx.helper.d.ts +0 -0
  168. /package/dist/src/{src/index.d.ts → index.d.ts} +0 -0
  169. /package/dist/src/{src/services → services}/http-client.d.ts +0 -0
  170. /package/dist/src/{src/services → services}/index.d.ts +0 -0
  171. /package/dist/src/{src/utils → utils}/dom.util.d.ts +0 -0
  172. /package/dist/src/{src/utils → utils}/index.d.ts +0 -0
  173. /package/dist/src/{src/utils → utils}/kg.util.d.ts +0 -0
  174. /package/dist/src/{src/utils → utils}/route.util.d.ts +0 -0
  175. /package/dist/src/{src/utils → utils}/var.util.d.ts +0 -0
@@ -3349,7 +3349,7 @@ function sendQuery(e, t, r, a) {
3349
3349
  }
3350
3350
  function k(C, D, w) {
3351
3351
  const O = D !== "success";
3352
- switch (p = p.filter((M) => M !== C), i) {
3352
+ switch (p = p.filter(($) => $ !== C), i) {
3353
3353
  case "pending":
3354
3354
  break;
3355
3355
  case "failed":
@@ -3368,11 +3368,11 @@ function sendQuery(e, t, r, a) {
3368
3368
  return;
3369
3369
  }
3370
3370
  if (y(), T(), !e.random) {
3371
- const M = e.resources.indexOf(C.resource);
3372
- M !== -1 && M !== e.index && (e.index = M);
3371
+ const $ = e.resources.indexOf(C.resource);
3372
+ $ !== -1 && $ !== e.index && (e.index = $);
3373
3373
  }
3374
- i = "completed", v.forEach((M) => {
3375
- M(w);
3374
+ i = "completed", v.forEach(($) => {
3375
+ $(w);
3376
3376
  });
3377
3377
  }
3378
3378
  function A() {
@@ -3917,7 +3917,7 @@ const emptyIcon = {
3917
3917
  ...t.data
3918
3918
  }, r);
3919
3919
  }
3920
- }), name = "@kengic/vue", version = "0.11.1", data$1 = {
3920
+ }), name = "@kengic/vue", version = "0.12.0", data$1 = {
3921
3921
  width: 24,
3922
3922
  height: 24,
3923
3923
  body: '<path fill="currentColor" d="M5 21q-.825 0-1.413-.588T3 19V5q0-.825.588-1.413T5 3h11.175q.4 0 .763.15t.637.425l2.85 2.85q.275.275.425.638t.15.762V12.3q-.475-.2-.988-.263T19 12.05V7.825L16.175 5H5v14h6v2H5ZM5 5v14V5Zm8 17v-1.65q0-.2.075-.388t.225-.337l5.225-5.2q.225-.225.5-.325t.55-.1q.3 0 .575.113t.5.337l.925.925q.2.225.313.5t.112.55q0 .275-.1.563t-.325.512l-5.2 5.2q-.15.15-.338.225T15.65 23H14q-.425 0-.712-.287T13 22Zm7.5-5.575l-.925-.925l.925.925Zm-6 5.075h.95l3.025-3.05l-.45-.475l-.475-.45l-3.05 3.025v.95Zm3.525-3.525l-.475-.45l.925.925l-.45-.475ZM7 10h7q.425 0 .713-.288T15 9V7q0-.425-.288-.713T14 6H7q-.425 0-.713.288T6 7v2q0 .425.288.713T7 10Zm5 8h.1l2.9-2.875V15q0-1.25-.875-2.125T12 12q-1.25 0-2.125.875T9 15q0 1.25.875 2.125T12 18Z"/>'
@@ -3936,103 +3936,103 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
3936
3936
  (function(r, a) {
3937
3937
  e.exports = a();
3938
3938
  })(commonjsGlobal, function() {
3939
- var r = 1e3, a = 6e4, n = 36e5, s = "millisecond", l = "second", o = "minute", i = "hour", c = "day", u = "week", d = "month", p = "quarter", v = "year", y = "date", _ = "Invalid Date", g = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, b = /\[([^\]]+)]|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($) {
3940
- var I = ["th", "st", "nd", "rd"], V = $ % 100;
3941
- return "[" + $ + (I[(V - 20) % 10] || I[V] || I[0]) + "]";
3942
- } }, T = function($, I, V) {
3943
- var N = String($);
3944
- return !N || N.length >= I ? $ : "" + Array(I + 1 - N.length).join(V) + $;
3945
- }, k = { s: T, z: function($) {
3946
- var I = -$.utcOffset(), V = Math.abs(I), N = Math.floor(V / 60), x = V % 60;
3947
- return (I <= 0 ? "+" : "-") + T(N, 2, "0") + ":" + T(x, 2, "0");
3948
- }, m: function $(I, V) {
3949
- if (I.date() < V.date())
3950
- return -$(V, I);
3951
- var N = 12 * (V.year() - I.year()) + (V.month() - I.month()), x = I.clone().add(N, d), H = V - x < 0, K = I.clone().add(N + (H ? -1 : 1), d);
3952
- return +(-(N + (V - x) / (H ? x - K : K - x)) || 0);
3953
- }, a: function($) {
3954
- return $ < 0 ? Math.ceil($) || 0 : Math.floor($);
3955
- }, p: function($) {
3956
- return { M: d, y: v, w: u, d: c, D: y, h: i, m: o, s: l, ms: s, Q: p }[$] || String($ || "").toLowerCase().replace(/s$/, "");
3957
- }, u: function($) {
3958
- return $ === void 0;
3939
+ var r = 1e3, a = 6e4, n = 36e5, s = "millisecond", l = "second", o = "minute", i = "hour", c = "day", u = "week", d = "month", p = "quarter", v = "year", y = "date", _ = "Invalid Date", g = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, b = /\[([^\]]+)]|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(L) {
3940
+ var M = ["th", "st", "nd", "rd"], V = L % 100;
3941
+ return "[" + L + (M[(V - 20) % 10] || M[V] || M[0]) + "]";
3942
+ } }, T = function(L, M, V) {
3943
+ var P = String(L);
3944
+ return !P || P.length >= M ? L : "" + Array(M + 1 - P.length).join(V) + L;
3945
+ }, k = { s: T, z: function(L) {
3946
+ var M = -L.utcOffset(), V = Math.abs(M), P = Math.floor(V / 60), B = V % 60;
3947
+ return (M <= 0 ? "+" : "-") + T(P, 2, "0") + ":" + T(B, 2, "0");
3948
+ }, m: function L(M, V) {
3949
+ if (M.date() < V.date())
3950
+ return -L(V, M);
3951
+ var P = 12 * (V.year() - M.year()) + (V.month() - M.month()), B = M.clone().add(P, d), H = V - B < 0, K = M.clone().add(P + (H ? -1 : 1), d);
3952
+ return +(-(P + (V - B) / (H ? B - K : K - B)) || 0);
3953
+ }, a: function(L) {
3954
+ return L < 0 ? Math.ceil(L) || 0 : Math.floor(L);
3955
+ }, p: function(L) {
3956
+ return { M: d, y: v, w: u, d: c, D: y, h: i, m: o, s: l, ms: s, Q: p }[L] || String(L || "").toLowerCase().replace(/s$/, "");
3957
+ }, u: function(L) {
3958
+ return L === void 0;
3959
3959
  } }, A = "en", C = {};
3960
3960
  C[A] = E;
3961
- var D = "$isDayjsObject", w = function($) {
3962
- return $ instanceof R || !(!$ || !$[D]);
3963
- }, O = function $(I, V, N) {
3964
- var x;
3965
- if (!I)
3961
+ var D = "$isDayjsObject", w = function(L) {
3962
+ return L instanceof R || !(!L || !L[D]);
3963
+ }, O = function L(M, V, P) {
3964
+ var B;
3965
+ if (!M)
3966
3966
  return A;
3967
- if (typeof I == "string") {
3968
- var H = I.toLowerCase();
3969
- C[H] && (x = H), V && (C[H] = V, x = H);
3970
- var K = I.split("-");
3971
- if (!x && K.length > 1)
3972
- return $(K[0]);
3967
+ if (typeof M == "string") {
3968
+ var H = M.toLowerCase();
3969
+ C[H] && (B = H), V && (C[H] = V, B = H);
3970
+ var K = M.split("-");
3971
+ if (!B && K.length > 1)
3972
+ return L(K[0]);
3973
3973
  } else {
3974
- var F = I.name;
3975
- C[F] = I, x = F;
3974
+ var F = M.name;
3975
+ C[F] = M, B = F;
3976
3976
  }
3977
- return !N && x && (A = x), x || !N && A;
3978
- }, M = function($, I) {
3979
- if (w($))
3980
- return $.clone();
3981
- var V = typeof I == "object" ? I : {};
3982
- return V.date = $, V.args = arguments, new R(V);
3983
- }, L = k;
3984
- L.l = O, L.i = w, L.w = function($, I) {
3985
- return M($, { locale: I.$L, utc: I.$u, x: I.$x, $offset: I.$offset });
3977
+ return !P && B && (A = B), B || !P && A;
3978
+ }, $ = function(L, M) {
3979
+ if (w(L))
3980
+ return L.clone();
3981
+ var V = typeof M == "object" ? M : {};
3982
+ return V.date = L, V.args = arguments, new R(V);
3983
+ }, I = k;
3984
+ I.l = O, I.i = w, I.w = function(L, M) {
3985
+ return $(L, { locale: M.$L, utc: M.$u, x: M.$x, $offset: M.$offset });
3986
3986
  };
3987
3987
  var R = function() {
3988
- function $(V) {
3988
+ function L(V) {
3989
3989
  this.$L = O(V.locale, null, !0), this.parse(V), this.$x = this.$x || V.x || {}, this[D] = !0;
3990
3990
  }
3991
- var I = $.prototype;
3992
- return I.parse = function(V) {
3993
- this.$d = function(N) {
3994
- var x = N.date, H = N.utc;
3995
- if (x === null)
3991
+ var M = L.prototype;
3992
+ return M.parse = function(V) {
3993
+ this.$d = function(P) {
3994
+ var B = P.date, H = P.utc;
3995
+ if (B === null)
3996
3996
  return new Date(NaN);
3997
- if (L.u(x))
3997
+ if (I.u(B))
3998
3998
  return new Date();
3999
- if (x instanceof Date)
4000
- return new Date(x);
4001
- if (typeof x == "string" && !/Z$/i.test(x)) {
4002
- var K = x.match(g);
3999
+ if (B instanceof Date)
4000
+ return new Date(B);
4001
+ if (typeof B == "string" && !/Z$/i.test(B)) {
4002
+ var K = B.match(g);
4003
4003
  if (K) {
4004
4004
  var F = K[2] - 1 || 0, Y = (K[7] || "0").substring(0, 3);
4005
4005
  return H ? new Date(Date.UTC(K[1], F, K[3] || 1, K[4] || 0, K[5] || 0, K[6] || 0, Y)) : new Date(K[1], F, K[3] || 1, K[4] || 0, K[5] || 0, K[6] || 0, Y);
4006
4006
  }
4007
4007
  }
4008
- return new Date(x);
4008
+ return new Date(B);
4009
4009
  }(V), this.init();
4010
- }, I.init = function() {
4010
+ }, M.init = function() {
4011
4011
  var V = this.$d;
4012
4012
  this.$y = V.getFullYear(), this.$M = V.getMonth(), this.$D = V.getDate(), this.$W = V.getDay(), this.$H = V.getHours(), this.$m = V.getMinutes(), this.$s = V.getSeconds(), this.$ms = V.getMilliseconds();
4013
- }, I.$utils = function() {
4014
- return L;
4015
- }, I.isValid = function() {
4013
+ }, M.$utils = function() {
4014
+ return I;
4015
+ }, M.isValid = function() {
4016
4016
  return this.$d.toString() !== _;
4017
- }, I.isSame = function(V, N) {
4018
- var x = M(V);
4019
- return this.startOf(N) <= x && x <= this.endOf(N);
4020
- }, I.isAfter = function(V, N) {
4021
- return M(V) < this.startOf(N);
4022
- }, I.isBefore = function(V, N) {
4023
- return this.endOf(N) < M(V);
4024
- }, I.$g = function(V, N, x) {
4025
- return L.u(V) ? this[N] : this.set(x, V);
4026
- }, I.unix = function() {
4017
+ }, M.isSame = function(V, P) {
4018
+ var B = $(V);
4019
+ return this.startOf(P) <= B && B <= this.endOf(P);
4020
+ }, M.isAfter = function(V, P) {
4021
+ return $(V) < this.startOf(P);
4022
+ }, M.isBefore = function(V, P) {
4023
+ return this.endOf(P) < $(V);
4024
+ }, M.$g = function(V, P, B) {
4025
+ return I.u(V) ? this[P] : this.set(B, V);
4026
+ }, M.unix = function() {
4027
4027
  return Math.floor(this.valueOf() / 1e3);
4028
- }, I.valueOf = function() {
4028
+ }, M.valueOf = function() {
4029
4029
  return this.$d.getTime();
4030
- }, I.startOf = function(V, N) {
4031
- var x = this, H = !!L.u(N) || N, K = L.p(V), F = function(fe, ae) {
4032
- var P = L.w(x.$u ? Date.UTC(x.$y, ae, fe) : new Date(x.$y, ae, fe), x);
4033
- return H ? P : P.endOf(c);
4030
+ }, M.startOf = function(V, P) {
4031
+ var B = this, H = !!I.u(P) || P, K = I.p(V), F = function(fe, ae) {
4032
+ var N = I.w(B.$u ? Date.UTC(B.$y, ae, fe) : new Date(B.$y, ae, fe), B);
4033
+ return H ? N : N.endOf(c);
4034
4034
  }, Y = function(fe, ae) {
4035
- return L.w(x.toDate()[fe].apply(x.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), x);
4035
+ return I.w(B.toDate()[fe].apply(B.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), B);
4036
4036
  }, q = this.$W, X = this.$M, J = this.$D, te = "set" + (this.$u ? "UTC" : "");
4037
4037
  switch (K) {
4038
4038
  case v:
@@ -4054,26 +4054,26 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
4054
4054
  default:
4055
4055
  return this.clone();
4056
4056
  }
4057
- }, I.endOf = function(V) {
4057
+ }, M.endOf = function(V) {
4058
4058
  return this.startOf(V, !1);
4059
- }, I.$set = function(V, N) {
4060
- var x, H = L.p(V), K = "set" + (this.$u ? "UTC" : ""), F = (x = {}, x[c] = K + "Date", x[y] = K + "Date", x[d] = K + "Month", x[v] = K + "FullYear", x[i] = K + "Hours", x[o] = K + "Minutes", x[l] = K + "Seconds", x[s] = K + "Milliseconds", x)[H], Y = H === c ? this.$D + (N - this.$W) : N;
4059
+ }, M.$set = function(V, P) {
4060
+ var B, H = I.p(V), K = "set" + (this.$u ? "UTC" : ""), F = (B = {}, B[c] = K + "Date", B[y] = K + "Date", B[d] = K + "Month", B[v] = K + "FullYear", B[i] = K + "Hours", B[o] = K + "Minutes", B[l] = K + "Seconds", B[s] = K + "Milliseconds", B)[H], Y = H === c ? this.$D + (P - this.$W) : P;
4061
4061
  if (H === d || H === v) {
4062
4062
  var q = this.clone().set(y, 1);
4063
4063
  q.$d[F](Y), q.init(), this.$d = q.set(y, Math.min(this.$D, q.daysInMonth())).$d;
4064
4064
  } else
4065
4065
  F && this.$d[F](Y);
4066
4066
  return this.init(), this;
4067
- }, I.set = function(V, N) {
4068
- return this.clone().$set(V, N);
4069
- }, I.get = function(V) {
4070
- return this[L.p(V)]();
4071
- }, I.add = function(V, N) {
4072
- var x, H = this;
4067
+ }, M.set = function(V, P) {
4068
+ return this.clone().$set(V, P);
4069
+ }, M.get = function(V) {
4070
+ return this[I.p(V)]();
4071
+ }, M.add = function(V, P) {
4072
+ var B, H = this;
4073
4073
  V = Number(V);
4074
- var K = L.p(N), F = function(X) {
4075
- var J = M(H);
4076
- return L.w(J.date(J.date() + Math.round(X * V)), H);
4074
+ var K = I.p(P), F = function(X) {
4075
+ var J = $(H);
4076
+ return I.w(J.date(J.date() + Math.round(X * V)), H);
4077
4077
  };
4078
4078
  if (K === d)
4079
4079
  return this.set(d, this.$M + V);
@@ -4083,53 +4083,53 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
4083
4083
  return F(1);
4084
4084
  if (K === u)
4085
4085
  return F(7);
4086
- var Y = (x = {}, x[o] = a, x[i] = n, x[l] = r, x)[K] || 1, q = this.$d.getTime() + V * Y;
4087
- return L.w(q, this);
4088
- }, I.subtract = function(V, N) {
4089
- return this.add(-1 * V, N);
4090
- }, I.format = function(V) {
4091
- var N = this, x = this.$locale();
4086
+ var Y = (B = {}, B[o] = a, B[i] = n, B[l] = r, B)[K] || 1, q = this.$d.getTime() + V * Y;
4087
+ return I.w(q, this);
4088
+ }, M.subtract = function(V, P) {
4089
+ return this.add(-1 * V, P);
4090
+ }, M.format = function(V) {
4091
+ var P = this, B = this.$locale();
4092
4092
  if (!this.isValid())
4093
- return x.invalidDate || _;
4094
- var H = V || "YYYY-MM-DDTHH:mm:ssZ", K = L.z(this), F = this.$H, Y = this.$m, q = this.$M, X = x.weekdays, J = x.months, te = x.meridiem, ue = function(ae, P, U, Q) {
4095
- return ae && (ae[P] || ae(N, H)) || U[P].slice(0, Q);
4093
+ return B.invalidDate || _;
4094
+ var H = V || "YYYY-MM-DDTHH:mm:ssZ", K = I.z(this), F = this.$H, Y = this.$m, q = this.$M, X = B.weekdays, J = B.months, te = B.meridiem, ue = function(ae, N, U, Q) {
4095
+ return ae && (ae[N] || ae(P, H)) || U[N].slice(0, Q);
4096
4096
  }, _e = function(ae) {
4097
- return L.s(F % 12 || 12, ae, "0");
4098
- }, fe = te || function(ae, P, U) {
4097
+ return I.s(F % 12 || 12, ae, "0");
4098
+ }, fe = te || function(ae, N, U) {
4099
4099
  var Q = ae < 12 ? "AM" : "PM";
4100
4100
  return U ? Q.toLowerCase() : Q;
4101
4101
  };
4102
- return H.replace(b, function(ae, P) {
4103
- return P || function(U) {
4102
+ return H.replace(b, function(ae, N) {
4103
+ return N || function(U) {
4104
4104
  switch (U) {
4105
4105
  case "YY":
4106
- return String(N.$y).slice(-2);
4106
+ return String(P.$y).slice(-2);
4107
4107
  case "YYYY":
4108
- return L.s(N.$y, 4, "0");
4108
+ return I.s(P.$y, 4, "0");
4109
4109
  case "M":
4110
4110
  return q + 1;
4111
4111
  case "MM":
4112
- return L.s(q + 1, 2, "0");
4112
+ return I.s(q + 1, 2, "0");
4113
4113
  case "MMM":
4114
- return ue(x.monthsShort, q, J, 3);
4114
+ return ue(B.monthsShort, q, J, 3);
4115
4115
  case "MMMM":
4116
4116
  return ue(J, q);
4117
4117
  case "D":
4118
- return N.$D;
4118
+ return P.$D;
4119
4119
  case "DD":
4120
- return L.s(N.$D, 2, "0");
4120
+ return I.s(P.$D, 2, "0");
4121
4121
  case "d":
4122
- return String(N.$W);
4122
+ return String(P.$W);
4123
4123
  case "dd":
4124
- return ue(x.weekdaysMin, N.$W, X, 2);
4124
+ return ue(B.weekdaysMin, P.$W, X, 2);
4125
4125
  case "ddd":
4126
- return ue(x.weekdaysShort, N.$W, X, 3);
4126
+ return ue(B.weekdaysShort, P.$W, X, 3);
4127
4127
  case "dddd":
4128
- return X[N.$W];
4128
+ return X[P.$W];
4129
4129
  case "H":
4130
4130
  return String(F);
4131
4131
  case "HH":
4132
- return L.s(F, 2, "0");
4132
+ return I.s(F, 2, "0");
4133
4133
  case "h":
4134
4134
  return _e(1);
4135
4135
  case "hh":
@@ -4141,24 +4141,24 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
4141
4141
  case "m":
4142
4142
  return String(Y);
4143
4143
  case "mm":
4144
- return L.s(Y, 2, "0");
4144
+ return I.s(Y, 2, "0");
4145
4145
  case "s":
4146
- return String(N.$s);
4146
+ return String(P.$s);
4147
4147
  case "ss":
4148
- return L.s(N.$s, 2, "0");
4148
+ return I.s(P.$s, 2, "0");
4149
4149
  case "SSS":
4150
- return L.s(N.$ms, 3, "0");
4150
+ return I.s(P.$ms, 3, "0");
4151
4151
  case "Z":
4152
4152
  return K;
4153
4153
  }
4154
4154
  return null;
4155
4155
  }(ae) || K.replace(":", "");
4156
4156
  });
4157
- }, I.utcOffset = function() {
4157
+ }, M.utcOffset = function() {
4158
4158
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4159
- }, I.diff = function(V, N, x) {
4160
- var H, K = this, F = L.p(N), Y = M(V), q = (Y.utcOffset() - this.utcOffset()) * a, X = this - Y, J = function() {
4161
- return L.m(K, Y);
4159
+ }, M.diff = function(V, P, B) {
4160
+ var H, K = this, F = I.p(P), Y = $(V), q = (Y.utcOffset() - this.utcOffset()) * a, X = this - Y, J = function() {
4161
+ return I.m(K, Y);
4162
4162
  };
4163
4163
  switch (F) {
4164
4164
  case v:
@@ -4188,37 +4188,37 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
4188
4188
  default:
4189
4189
  H = X;
4190
4190
  }
4191
- return x ? H : L.a(H);
4192
- }, I.daysInMonth = function() {
4191
+ return B ? H : I.a(H);
4192
+ }, M.daysInMonth = function() {
4193
4193
  return this.endOf(d).$D;
4194
- }, I.$locale = function() {
4194
+ }, M.$locale = function() {
4195
4195
  return C[this.$L];
4196
- }, I.locale = function(V, N) {
4196
+ }, M.locale = function(V, P) {
4197
4197
  if (!V)
4198
4198
  return this.$L;
4199
- var x = this.clone(), H = O(V, N, !0);
4200
- return H && (x.$L = H), x;
4201
- }, I.clone = function() {
4202
- return L.w(this.$d, this);
4203
- }, I.toDate = function() {
4199
+ var B = this.clone(), H = O(V, P, !0);
4200
+ return H && (B.$L = H), B;
4201
+ }, M.clone = function() {
4202
+ return I.w(this.$d, this);
4203
+ }, M.toDate = function() {
4204
4204
  return new Date(this.valueOf());
4205
- }, I.toJSON = function() {
4205
+ }, M.toJSON = function() {
4206
4206
  return this.isValid() ? this.toISOString() : null;
4207
- }, I.toISOString = function() {
4207
+ }, M.toISOString = function() {
4208
4208
  return this.$d.toISOString();
4209
- }, I.toString = function() {
4209
+ }, M.toString = function() {
4210
4210
  return this.$d.toUTCString();
4211
- }, $;
4212
- }(), B = R.prototype;
4213
- return M.prototype = B, [["$ms", s], ["$s", l], ["$m", o], ["$H", i], ["$W", c], ["$M", d], ["$y", v], ["$D", y]].forEach(function($) {
4214
- B[$[1]] = function(I) {
4215
- return this.$g(I, $[0], $[1]);
4211
+ }, L;
4212
+ }(), x = R.prototype;
4213
+ return $.prototype = x, [["$ms", s], ["$s", l], ["$m", o], ["$H", i], ["$W", c], ["$M", d], ["$y", v], ["$D", y]].forEach(function(L) {
4214
+ x[L[1]] = function(M) {
4215
+ return this.$g(M, L[0], L[1]);
4216
4216
  };
4217
- }), M.extend = function($, I) {
4218
- return $.$i || ($(I, R, M), $.$i = !0), M;
4219
- }, M.locale = O, M.isDayjs = w, M.unix = function($) {
4220
- return M(1e3 * $);
4221
- }, M.en = C[A], M.Ls = C, M.p = {}, M;
4217
+ }), $.extend = function(L, M) {
4218
+ return L.$i || (L(M, R, $), L.$i = !0), $;
4219
+ }, $.locale = O, $.isDayjs = w, $.unix = function(L) {
4220
+ return $(1e3 * L);
4221
+ }, $.en = C[A], $.Ls = C, $.p = {}, $;
4222
4222
  });
4223
4223
  })(dayjs_min);
4224
4224
  const dayjs = dayjs_min.exports;
@@ -4276,12 +4276,12 @@ function filesize(e, {
4276
4276
  T[0] = 0, A = T[1] = STRINGS.symbol[u][t ? BITS : BYTES][b];
4277
4277
  else {
4278
4278
  k = E / (a === 2 ? Math.pow(2, b * 10) : Math.pow(1e3, b)), t && (k = k * 8, k >= C && b < 8 && (k = k / C, b++));
4279
- const M = Math.pow(10, b > 0 ? n : 0);
4280
- T[0] = O(k * M) / M, T[0] === C && b < 8 && y === -1 && (T[0] = 1, b++), A = T[1] = a === 10 && b === 1 ? t ? SI_KBIT : SI_KBYTE : STRINGS.symbol[u][t ? BITS : BYTES][b];
4279
+ const $ = Math.pow(10, b > 0 ? n : 0);
4280
+ T[0] = O(k * $) / $, T[0] === C && b < 8 && y === -1 && (T[0] = 1, b++), A = T[1] = a === 10 && b === 1 ? t ? SI_KBIT : SI_KBYTE : STRINGS.symbol[u][t ? BITS : BYTES][b];
4281
4281
  }
4282
4282
  if (w && (T[0] = -T[0]), g > 0 && (T[0] = T[0].toPrecision(g)), T[1] = c[T[1]] || T[1], s === !0 ? T[0] = T[0].toLocaleString() : s.length > 0 ? T[0] = T[0].toLocaleString(s, l) : o.length > 0 && (T[0] = T[0].toString().replace(PERIOD, o)), r && Number.isInteger(T[0]) === !1 && n > 0) {
4283
- const M = o || PERIOD, L = T[0].toString().split(M), R = L[1] || EMPTY, B = R.length, $ = n - B;
4284
- T[0] = `${L[0]}${M}${R.padEnd(B + $, ZERO)}`;
4283
+ const $ = o || PERIOD, I = T[0].toString().split($), R = I[1] || EMPTY, x = R.length, L = n - x;
4284
+ T[0] = `${I[0]}${$}${R.padEnd(x + L, ZERO)}`;
4285
4285
  }
4286
4286
  return D && (T[1] = v[b] ? v[b] : STRINGS.fullform[u][b] + (t ? BIT : BYTE) + (T[0] === 1 ? EMPTY : S)), d === ARRAY ? T : d === OBJECT ? {
4287
4287
  value: T[0],
@@ -6333,6 +6333,13 @@ class KgLogger {
6333
6333
  static debug(t, r = {}, a = !0) {
6334
6334
  window.__KG_DEBUG__ && KgLogger.log("debug", t, r, a);
6335
6335
  }
6336
+ static debugDDA(t, r, a, n, s = {}, l = !0) {
6337
+ KgLogger.debug(
6338
+ `${(t != null ? t : "").padEnd(100, " ")} | ${(r != null ? r : "").padEnd(32, " ")} | ${(a != null ? a : "").padEnd(32, " ")} | ${n}.`,
6339
+ s,
6340
+ l
6341
+ );
6342
+ }
6336
6343
  }
6337
6344
  class KgUtil {
6338
6345
  static getFileSize(t) {
@@ -7255,27 +7262,27 @@ function createSetupStore(e, t, r = {}, a, n) {
7255
7262
  function T(w, O) {
7256
7263
  return function() {
7257
7264
  setActivePinia(a);
7258
- const M = Array.from(arguments), L = [], R = [];
7259
- function B(V) {
7260
- L.push(V);
7265
+ const $ = Array.from(arguments), I = [], R = [];
7266
+ function x(V) {
7267
+ I.push(V);
7261
7268
  }
7262
- function $(V) {
7269
+ function L(V) {
7263
7270
  R.push(V);
7264
7271
  }
7265
7272
  triggerSubscriptions(p, {
7266
- args: M,
7273
+ args: $,
7267
7274
  name: w,
7268
7275
  store: C,
7269
- after: B,
7270
- onError: $
7276
+ after: x,
7277
+ onError: L
7271
7278
  });
7272
- let I;
7279
+ let M;
7273
7280
  try {
7274
- I = O.apply(this && this.$id === e ? this : C, M);
7281
+ M = O.apply(this && this.$id === e ? this : C, $);
7275
7282
  } catch (V) {
7276
7283
  throw triggerSubscriptions(R, V), V;
7277
7284
  }
7278
- return I instanceof Promise ? I.then((V) => (triggerSubscriptions(L, V), V)).catch((V) => (triggerSubscriptions(R, V), Promise.reject(V))) : (triggerSubscriptions(L, I), I);
7285
+ return M instanceof Promise ? M.then((V) => (triggerSubscriptions(I, V), V)).catch((V) => (triggerSubscriptions(R, V), Promise.reject(V))) : (triggerSubscriptions(I, M), M);
7279
7286
  };
7280
7287
  }
7281
7288
  const k = /* @__PURE__ */ markRaw({
@@ -7290,14 +7297,14 @@ function createSetupStore(e, t, r = {}, a, n) {
7290
7297
  $patch: g,
7291
7298
  $reset: b,
7292
7299
  $subscribe(w, O = {}) {
7293
- const M = addSubscription(d, w, O.detached, () => L()), L = s.run(() => watch(() => a.state.value[e], (R) => {
7300
+ const $ = addSubscription(d, w, O.detached, () => I()), I = s.run(() => watch(() => a.state.value[e], (R) => {
7294
7301
  (O.flush === "sync" ? u : c) && w({
7295
7302
  storeId: e,
7296
7303
  type: MutationType.direct,
7297
7304
  events: v
7298
7305
  }, R);
7299
7306
  }, assign$1({}, i, O)));
7300
- return M;
7307
+ return $;
7301
7308
  },
7302
7309
  $dispose: E
7303
7310
  }, C = reactive(assign$1(
@@ -7314,8 +7321,8 @@ function createSetupStore(e, t, r = {}, a, n) {
7314
7321
  if (isRef(O) && !isComputed(O) || isReactive(O))
7315
7322
  process.env.NODE_ENV !== "production" && n ? set(_.value, w, toRef(D, w)) : l || (y && shouldHydrate(O) && (isRef(O) ? O.value = y[w] : mergeReactiveObjects(O, y[w])), a.state.value[e][w] = O), process.env.NODE_ENV !== "production" && k.state.push(w);
7316
7323
  else if (typeof O == "function") {
7317
- const M = process.env.NODE_ENV !== "production" && n ? O : T(w, O);
7318
- D[w] = M, process.env.NODE_ENV !== "production" && (k.actions[w] = O), o.actions[w] = O;
7324
+ const $ = process.env.NODE_ENV !== "production" && n ? O : T(w, O);
7325
+ D[w] = $, process.env.NODE_ENV !== "production" && (k.actions[w] = O), o.actions[w] = O;
7319
7326
  } else
7320
7327
  process.env.NODE_ENV !== "production" && isComputed(O) && (k.getters[w] = l ? r.getters[w] : O, IS_CLIENT && (D._getters || (D._getters = markRaw([]))).push(w));
7321
7328
  }
@@ -7330,29 +7337,29 @@ function createSetupStore(e, t, r = {}, a, n) {
7330
7337
  }
7331
7338
  }), process.env.NODE_ENV !== "production") {
7332
7339
  C._hotUpdate = markRaw((O) => {
7333
- C._hotUpdating = !0, O._hmrPayload.state.forEach((M) => {
7334
- if (M in C.$state) {
7335
- const L = O.$state[M], R = C.$state[M];
7336
- typeof L == "object" && isPlainObject(L) && isPlainObject(R) ? patchObject(L, R) : O.$state[M] = R;
7340
+ C._hotUpdating = !0, O._hmrPayload.state.forEach(($) => {
7341
+ if ($ in C.$state) {
7342
+ const I = O.$state[$], R = C.$state[$];
7343
+ typeof I == "object" && isPlainObject(I) && isPlainObject(R) ? patchObject(I, R) : O.$state[$] = R;
7337
7344
  }
7338
- set(C, M, toRef(O.$state, M));
7339
- }), Object.keys(C.$state).forEach((M) => {
7340
- M in O.$state || del(C, M);
7345
+ set(C, $, toRef(O.$state, $));
7346
+ }), Object.keys(C.$state).forEach(($) => {
7347
+ $ in O.$state || del(C, $);
7341
7348
  }), c = !1, u = !1, a.state.value[e] = toRef(O._hmrPayload, "hotState"), u = !0, nextTick().then(() => {
7342
7349
  c = !0;
7343
7350
  });
7344
- for (const M in O._hmrPayload.actions) {
7345
- const L = O[M];
7346
- set(C, M, T(M, L));
7351
+ for (const $ in O._hmrPayload.actions) {
7352
+ const I = O[$];
7353
+ set(C, $, T($, I));
7347
7354
  }
7348
- for (const M in O._hmrPayload.getters) {
7349
- const L = O._hmrPayload.getters[M], R = l ? computed(() => (setActivePinia(a), L.call(C, C))) : L;
7350
- set(C, M, R);
7355
+ for (const $ in O._hmrPayload.getters) {
7356
+ const I = O._hmrPayload.getters[$], R = l ? computed(() => (setActivePinia(a), I.call(C, C))) : I;
7357
+ set(C, $, R);
7351
7358
  }
7352
- Object.keys(C._hmrPayload.getters).forEach((M) => {
7353
- M in O._hmrPayload.getters || del(C, M);
7354
- }), Object.keys(C._hmrPayload.actions).forEach((M) => {
7355
- M in O._hmrPayload.actions || del(C, M);
7359
+ Object.keys(C._hmrPayload.getters).forEach(($) => {
7360
+ $ in O._hmrPayload.getters || del(C, $);
7361
+ }), Object.keys(C._hmrPayload.actions).forEach(($) => {
7362
+ $ in O._hmrPayload.actions || del(C, $);
7356
7363
  }), C._hmrPayload = O._hmrPayload, C._getters = O._getters, C._hotUpdating = !1;
7357
7364
  });
7358
7365
  const w = {
@@ -7375,7 +7382,7 @@ function createSetupStore(e, t, r = {}, a, n) {
7375
7382
  pinia: a,
7376
7383
  options: o
7377
7384
  }));
7378
- Object.keys(O || {}).forEach((M) => C._customProperties.add(M)), assign$1(C, O);
7385
+ Object.keys(O || {}).forEach(($) => C._customProperties.add($)), assign$1(C, O);
7379
7386
  } else
7380
7387
  assign$1(C, s.run(() => w({
7381
7388
  store: C,
@@ -9476,9 +9483,9 @@ function useKgVar(e, t, r = 0) {
9476
9483
  }), onUnmounted(() => {
9477
9484
  u.dispose(c);
9478
9485
  }));
9479
- const d = (J) => computed(() => u.t(c, J)), p = computed(() => u.isRetrieving(c)), v = computed(() => u.isRetrievingVarProfileMaster(c)), y = computed(() => u.isRetrievingVarGridMaster(c)), _ = computed(() => u.isRetrieved(c)), g = computed(() => u.isCreating(c)), b = computed(() => u.isCreatingRequesting(c)), E = computed(() => u.isUpdating(c)), T = computed(() => u.isUpdatingRequesting(c)), k = computed(() => u.isCopying(c)), A = computed(() => u.isCopyingRequesting(c)), C = computed(() => u.isDeleting(c)), D = computed(() => u.isDeletingRequesting(c)), w = computed(() => u.isOtherRequesting(c)), O = computed(() => u.getVarButtons(c)), M = computed(() => u.getVarButtonSearch(c)), L = computed(() => u.getVarButtonCreate(c)), R = computed(() => u.getVarButtonUpdate(c)), B = computed(() => u.getVarButtonCopy(c)), $ = computed(() => u.getVarButtonDelete(c)), I = computed(() => u.getVarProfileMasters(c)), V = computed(() => u.getCurrentVarProfileMasterID(c)), N = computed(() => u.getCurrentVarProfileMaster(c)), x = computed(() => {
9486
+ const d = (J) => computed(() => u.t(c, J)), p = computed(() => u.isRetrieving(c)), v = computed(() => u.isRetrievingVarProfileMaster(c)), y = computed(() => u.isRetrievingVarGridMaster(c)), _ = computed(() => u.isRetrieved(c)), g = computed(() => u.isCreating(c)), b = computed(() => u.isCreatingRequesting(c)), E = computed(() => u.isUpdating(c)), T = computed(() => u.isUpdatingRequesting(c)), k = computed(() => u.isCopying(c)), A = computed(() => u.isCopyingRequesting(c)), C = computed(() => u.isDeleting(c)), D = computed(() => u.isDeletingRequesting(c)), w = computed(() => u.isOtherRequesting(c)), O = computed(() => u.getVarButtons(c)), $ = computed(() => u.getVarButtonSearch(c)), I = computed(() => u.getVarButtonCreate(c)), R = computed(() => u.getVarButtonUpdate(c)), x = computed(() => u.getVarButtonCopy(c)), L = computed(() => u.getVarButtonDelete(c)), M = computed(() => u.getVarProfileMasters(c)), V = computed(() => u.getCurrentVarProfileMasterID(c)), P = computed(() => u.getCurrentVarProfileMaster(c)), B = computed(() => {
9480
9487
  var J, te;
9481
- return (te = (J = N.value) == null ? void 0 : J.varProfileDetails) != null ? te : null;
9488
+ return (te = (J = P.value) == null ? void 0 : J.varProfileDetails) != null ? te : null;
9482
9489
  }), H = computed(() => u.getVarGridConfig(c)), K = computed(() => u.getVarGridMasters(c)), F = computed(() => u.getCurrentVarGridMasterID(c)), Y = computed(() => u.getCurrentVarGridMaster(c)), q = computed(() => u.getSystemVarGridDetails(c)), X = computed(() => u.getCurrentVarGridDetails(c));
9483
9490
  return {
9484
9491
  formID: c,
@@ -9497,15 +9504,15 @@ function useKgVar(e, t, r = 0) {
9497
9504
  isDeletingRequesting: D,
9498
9505
  isOtherRequesting: w,
9499
9506
  varButtons: O,
9500
- varButtonSearch: M,
9501
- varButtonCreate: L,
9507
+ varButtonSearch: $,
9508
+ varButtonCreate: I,
9502
9509
  varButtonUpdate: R,
9503
- varButtonCopy: B,
9504
- varButtonDelete: $,
9505
- varProfileMasters: I,
9510
+ varButtonCopy: x,
9511
+ varButtonDelete: L,
9512
+ varProfileMasters: M,
9506
9513
  currentVarProfileMasterID: V,
9507
- currentVarProfileMaster: N,
9508
- currentVarProfileDetails: x,
9514
+ currentVarProfileMaster: P,
9515
+ currentVarProfileDetails: B,
9509
9516
  varGridConfig: H,
9510
9517
  varGridMasters: K,
9511
9518
  currentVarGridMasteID: F,
@@ -9601,7 +9608,7 @@ const DI_KG_VAR__KG_SLOTS = Symbol("DI_KG_VAR__KG_SLOTS"), DI_KG_VAR__KG_PROPS =
9601
9608
  async function _() {
9602
9609
  var g, b, E, T, k, A, C;
9603
9610
  if (p.value) {
9604
- const D = (b = (g = u.selectedRows) == null ? void 0 : g.value) != null ? b : [], w = (E = D.map((M) => M[v.value])) != null ? E : [];
9611
+ const D = (b = (g = u.selectedRows) == null ? void 0 : g.value) != null ? b : [], w = (E = D.map(($) => $[v.value])) != null ? E : [];
9605
9612
  await s.store.emit(s.formID, "lookupBeforeOk", {
9606
9613
  var_nam: l,
9607
9614
  isMultiple: !0,
@@ -9874,7 +9881,7 @@ function useKgFormItemSelect() {
9874
9881
  }), v;
9875
9882
  });
9876
9883
  async function d() {
9877
- var T, k, A, C, D, w, O, M;
9884
+ var T, k, A, C, D, w, O, $;
9878
9885
  let v = [];
9879
9886
  const y = (T = a.value) == null ? void 0 : T.cmd, _ = (A = (k = a.value) == null ? void 0 : k.cmd_method) != null ? A : "GET", g = (D = (C = a.value) == null ? void 0 : C.val_clm) != null ? D : "", b = (O = (w = a.value) == null ? void 0 : w.lbl_clm) != null ? O : "";
9880
9887
  if (!y || !g || !b) {
@@ -9889,7 +9896,7 @@ function useKgFormItemSelect() {
9889
9896
  }
9890
9897
  let E = null;
9891
9898
  try {
9892
- l.value = !0, E = await ((M = httpClient()) == null ? void 0 : M.request({
9899
+ l.value = !0, E = await (($ = httpClient()) == null ? void 0 : $.request({
9893
9900
  url: y,
9894
9901
  method: _,
9895
9902
  params: u.value
@@ -9910,14 +9917,14 @@ function useKgFormItemSelect() {
9910
9917
  break;
9911
9918
  }
9912
9919
  if (v.length > 0) {
9913
- const L = v[0];
9914
- (!(g in L) || !(b in L)) && KgLogger.error("\u4E0B\u62C9\u5217\u8868\u914D\u7F6E\u6709\u8BEF, \u6570\u636E\u5217(val_clm)\u6216\u663E\u793A\u5217(lbl_clm)\u6709\u8BEF.", {
9920
+ const I = v[0];
9921
+ (!(g in I) || !(b in I)) && KgLogger.error("\u4E0B\u62C9\u5217\u8868\u914D\u7F6E\u6709\u8BEF, \u6570\u636E\u5217(val_clm)\u6216\u663E\u793A\u5217(lbl_clm)\u6709\u8BEF.", {
9915
9922
  frm_id: r.formID,
9916
9923
  var_nam: e,
9917
9924
  cmd: y,
9918
9925
  val_clm: g,
9919
9926
  lbl_clm: b,
9920
- \u6240\u6709\u5217: Object.keys(L)
9927
+ \u6240\u6709\u5217: Object.keys(I)
9921
9928
  });
9922
9929
  }
9923
9930
  o.value = v;
@@ -10402,16 +10409,16 @@ const KgFormItemRadioGroup = defineComponent({
10402
10409
  useKg();
10403
10410
  const s = useKgVar(), l = useKgForm(s.formID), o = useKgSearch(s.formID);
10404
10411
  l.onLookupOk(async ({
10405
- var_nam: M,
10406
- model: L,
10407
- isMultiple: R,
10408
- value: B,
10409
- values: $
10412
+ var_nam: I,
10413
+ model: R,
10414
+ isMultiple: x,
10415
+ value: L,
10416
+ values: M
10410
10417
  }) => {
10411
- var I;
10412
- switch (M) {
10418
+ var V;
10419
+ switch (I) {
10413
10420
  case e.kgVarName:
10414
- L.value && (R ? L.value[e.kgVarName] = $ : L.value[e.kgVarName] = B), (I = n.value) == null || I.validate([e.kgVarName]);
10421
+ R.value && (x ? R.value[e.kgVarName] = M : R.value[e.kgVarName] = L), (V = n.value) == null || V.validate([e.kgVarName]);
10415
10422
  break;
10416
10423
  }
10417
10424
  return !1;
@@ -10421,121 +10428,151 @@ const KgFormItemRadioGroup = defineComponent({
10421
10428
  } = _useRules(e), {
10422
10429
  controlType: v
10423
10430
  } = useKgFormItem(e), y = computed(() => {
10424
- var L, R, B, $, I;
10431
+ var R, x, L, M, V;
10425
10432
  if (s.isRetrieving.value)
10426
10433
  return !0;
10427
- let M = !1;
10434
+ let I = !1;
10428
10435
  if (e.kgDisabled !== void 0)
10429
- M = e.kgDisabled;
10436
+ I = e.kgDisabled;
10430
10437
  else
10431
10438
  switch (e.kgContext) {
10432
10439
  case KG_FORM_CONTEXT.SEARCH:
10433
- M = ((L = u.value) == null ? void 0 : L.ena_flg) === 0;
10440
+ I = ((R = u.value) == null ? void 0 : R.ena_flg) === 0;
10434
10441
  break;
10435
10442
  case KG_FORM_CONTEXT.SUBMIT:
10436
10443
  switch (!0) {
10437
10444
  case s.isCreating.value:
10438
- M = ((R = d.value) == null ? void 0 : R.crt_ena_flg) === 0;
10445
+ I = ((x = d.value) == null ? void 0 : x.crt_ena_flg) === 0;
10439
10446
  break;
10440
10447
  case s.isUpdating.value:
10441
- M = ((B = d.value) == null ? void 0 : B.upt_ena_flg) === 0;
10448
+ I = ((L = d.value) == null ? void 0 : L.upt_ena_flg) === 0;
10442
10449
  break;
10443
10450
  case s.isCopying.value:
10444
- M = (($ = d.value) == null ? void 0 : $.cpy_ena_flg) === 0;
10451
+ I = ((M = d.value) == null ? void 0 : M.cpy_ena_flg) === 0;
10445
10452
  break;
10446
10453
  case s.isDeleting.value:
10447
- M = ((I = d.value) == null ? void 0 : I.del_ena_flg) === 0;
10454
+ I = ((V = d.value) == null ? void 0 : V.del_ena_flg) === 0;
10448
10455
  break;
10449
10456
  }
10450
10457
  break;
10451
10458
  }
10452
- return M;
10459
+ return I;
10453
10460
  }), _ = computed(() => {
10454
- var L, R, B, $;
10455
- let M = " ";
10461
+ var R, x, L, M;
10462
+ let I = " ";
10456
10463
  if (e.kgPlaceholder)
10457
- M = e.kgPlaceholder;
10464
+ I = e.kgPlaceholder;
10458
10465
  else
10459
10466
  switch (e.kgContext) {
10460
10467
  case KG_FORM_CONTEXT.SEARCH:
10461
- M = s.t((R = (L = u.value) == null ? void 0 : L.placeholder) != null ? R : " ").value;
10468
+ I = s.t((x = (R = u.value) == null ? void 0 : R.placeholder) != null ? x : " ").value;
10462
10469
  break;
10463
10470
  case KG_FORM_CONTEXT.SUBMIT:
10464
- M = s.t(($ = (B = d.value) == null ? void 0 : B.placeholder) != null ? $ : " ").value;
10471
+ I = s.t((M = (L = d.value) == null ? void 0 : L.placeholder) != null ? M : " ").value;
10465
10472
  break;
10466
10473
  }
10467
- return M;
10474
+ return I;
10468
10475
  }), g = computed(() => {
10469
- var L, R, B, $, I, V, N, x, H, K;
10470
- let M = 6;
10476
+ var R, x, L, M, V, P, B, H, K, F;
10477
+ let I = 6;
10471
10478
  if (e.kgSpan !== void 0)
10472
- M = e.kgSpan;
10479
+ I = e.kgSpan;
10473
10480
  else
10474
10481
  switch (e.kgContext) {
10475
10482
  case KG_FORM_CONTEXT.SEARCH:
10476
- M = (R = (L = u.value) == null ? void 0 : L.width) != null ? R : 6;
10483
+ I = (x = (R = u.value) == null ? void 0 : R.width) != null ? x : 6;
10477
10484
  break;
10478
10485
  case KG_FORM_CONTEXT.SUBMIT:
10479
10486
  switch (!0) {
10480
10487
  case s.isCreating.value:
10481
- M = ($ = (B = d.value) == null ? void 0 : B.crt_width) != null ? $ : 6;
10488
+ I = (M = (L = d.value) == null ? void 0 : L.crt_width) != null ? M : 6;
10482
10489
  break;
10483
10490
  case s.isUpdating.value:
10484
- M = (V = (I = d.value) == null ? void 0 : I.upt_width) != null ? V : 6;
10491
+ I = (P = (V = d.value) == null ? void 0 : V.upt_width) != null ? P : 6;
10485
10492
  break;
10486
10493
  case s.isCopying.value:
10487
- M = (x = (N = d.value) == null ? void 0 : N.cpy_width) != null ? x : 6;
10494
+ I = (H = (B = d.value) == null ? void 0 : B.cpy_width) != null ? H : 6;
10488
10495
  break;
10489
10496
  case s.isDeleting.value:
10490
- M = (K = (H = d.value) == null ? void 0 : H.del_width) != null ? K : 6;
10497
+ I = (F = (K = d.value) == null ? void 0 : K.del_width) != null ? F : 6;
10491
10498
  break;
10492
10499
  }
10493
10500
  }
10494
- return Math.min(24, Math.max(1, M));
10501
+ return I = Number(I), new Array(24).fill(0).map((Y, q) => q + 1).includes(I) ? I : (KgLogger.error("| \u6570\u636E\u6709\u8BEF | \u5BBD\u5EA6\u5FC5\u987B\u4E3A [1, 24] \u4E4B\u95F4\u7684\u6574\u6570.", {
10502
+ VarProfileDetail: u.value,
10503
+ VarSubmitField: d.value
10504
+ }), 6);
10495
10505
  }), b = computed(() => {
10496
- var B, $;
10497
- const M = get(A.value, "$el.parentElement");
10498
- if (M && !((B = M.classList) != null && B.contains("ant-row")))
10499
- throw new Error("<KgForm.Item> \u7684\u7236\u5143\u7D20\u5FC5\u987B\u662F <Row> \u6216\u8005 <a-row>.");
10500
- let L = {};
10501
- const R = Math.abs(Number.parseInt(($ = get(A.value, "$el.parentElement.style.marginLeft")) != null ? $ : "0px"));
10502
- return Number.isNaN(R) || (L = {
10503
- paddingLeft: `${R}px !important`,
10504
- paddingRight: `${R}px !important`
10505
- }), L;
10506
+ var R, x, L, M, V;
10507
+ let I = null;
10508
+ if (e.kgSpan !== void 0)
10509
+ I = e.kgSpan;
10510
+ else
10511
+ switch (e.kgContext) {
10512
+ case KG_FORM_CONTEXT.SEARCH:
10513
+ I = (R = u.value) == null ? void 0 : R.width;
10514
+ break;
10515
+ case KG_FORM_CONTEXT.SUBMIT:
10516
+ switch (!0) {
10517
+ case s.isCreating.value:
10518
+ I = (x = d.value) == null ? void 0 : x.crt_width;
10519
+ break;
10520
+ case s.isUpdating.value:
10521
+ I = (L = d.value) == null ? void 0 : L.upt_width;
10522
+ break;
10523
+ case s.isCopying.value:
10524
+ I = (M = d.value) == null ? void 0 : M.cpy_width;
10525
+ break;
10526
+ case s.isDeleting.value:
10527
+ I = (V = d.value) == null ? void 0 : V.del_width;
10528
+ break;
10529
+ }
10530
+ }
10531
+ return I = Number(I), new Array(24).fill(0).map((P, B) => B + 1).includes(I) ? I : null;
10506
10532
  }), E = computed(() => {
10507
- var L, R, B, $;
10508
- let M = "kg-form-item";
10509
- switch (i.value && (M += " kg-form-item-lookup"), e.kgContext) {
10533
+ var L, M;
10534
+ const I = get(C.value, "$el.parentElement");
10535
+ if (I && !((L = I.classList) != null && L.contains("ant-row")))
10536
+ throw new Error("<KgForm.Item> \u7684\u7236\u5143\u7D20\u5FC5\u987B\u662F <Row> \u6216\u8005 <a-row>.");
10537
+ let R = {};
10538
+ const x = Math.abs(Number.parseInt((M = get(C.value, "$el.parentElement.style.marginLeft")) != null ? M : "0px"));
10539
+ return Number.isNaN(x) || (R = {
10540
+ paddingLeft: `${x}px !important`,
10541
+ paddingRight: `${x}px !important`
10542
+ }), R;
10543
+ }), T = computed(() => {
10544
+ var R, x, L, M;
10545
+ let I = "kg-form-item";
10546
+ switch (i.value && (I += " kg-form-item-lookup"), b.value !== null && (I += " kg-form-item--col-fixed"), e.kgContext) {
10510
10547
  case KG_FORM_CONTEXT.SEARCH:
10511
10548
  switch (!0) {
10512
- case ((L = u.value) == null ? void 0 : L.vis_flg) === 0:
10513
- M += " kg-form-item--invisible";
10549
+ case ((R = u.value) == null ? void 0 : R.vis_flg) === 0:
10550
+ I += " kg-form-item--invisible";
10514
10551
  break;
10515
10552
  }
10516
10553
  break;
10517
10554
  case KG_FORM_CONTEXT.SUBMIT:
10518
10555
  switch (!0) {
10519
- case (s.isCreating.value && ((R = d.value) == null ? void 0 : R.crt_vis_flg) === 0):
10520
- case (s.isUpdating.value && ((B = d.value) == null ? void 0 : B.upt_vis_flg) === 0):
10521
- case (s.isCopying.value && (($ = d.value) == null ? void 0 : $.cpy_vis_flg) === 0):
10522
- M += " kg-form-item--invisible";
10556
+ case (s.isCreating.value && ((x = d.value) == null ? void 0 : x.crt_vis_flg) === 0):
10557
+ case (s.isUpdating.value && ((L = d.value) == null ? void 0 : L.upt_vis_flg) === 0):
10558
+ case (s.isCopying.value && ((M = d.value) == null ? void 0 : M.cpy_vis_flg) === 0):
10559
+ I += " kg-form-item--invisible";
10523
10560
  break;
10524
10561
  }
10525
10562
  break;
10526
10563
  }
10527
- return M;
10528
- }), T = computed(() => {
10529
- var L;
10530
- const M = {
10564
+ return I;
10565
+ }), k = computed(() => {
10566
+ var R;
10567
+ const I = {
10531
10568
  ...e,
10532
- value: (L = a.value) == null ? void 0 : L[e.kgVarName],
10533
- "onUpdate:value": (R) => {
10534
- a.value && (a.value[e.kgVarName] = R);
10569
+ value: (R = a.value) == null ? void 0 : R[e.kgVarName],
10570
+ "onUpdate:value": (x) => {
10571
+ a.value && (a.value[e.kgVarName] = x);
10535
10572
  },
10536
10573
  kgPlaceholder: _.value,
10537
10574
  kgDisabled: y.value,
10538
- id: k.value
10575
+ id: A.value
10539
10576
  };
10540
10577
  switch (v.value) {
10541
10578
  case KG_FORM_ITEM_TYPE.INPUT_NUMBER:
@@ -10543,87 +10580,87 @@ const KgFormItemRadioGroup = defineComponent({
10543
10580
  case KG_FORM_ITEM_TYPE.SELECT:
10544
10581
  break;
10545
10582
  case KG_FORM_ITEM_TYPE.SELECT_MULTIPLE:
10546
- M.kgMode = "multiple";
10583
+ I.kgMode = "multiple";
10547
10584
  break;
10548
10585
  case KG_FORM_ITEM_TYPE.SWITCH:
10549
10586
  break;
10550
10587
  case KG_FORM_ITEM_TYPE.DATE_DATE:
10551
- M.kgShowTime = !1;
10588
+ I.kgShowTime = !1;
10552
10589
  break;
10553
10590
  case KG_FORM_ITEM_TYPE.DATE_DATE_RANGE:
10554
- M.kgShowTime = !1;
10591
+ I.kgShowTime = !1;
10555
10592
  break;
10556
10593
  case KG_FORM_ITEM_TYPE.DATE_TIME:
10557
- M.kgPicker = "time";
10594
+ I.kgPicker = "time";
10558
10595
  break;
10559
10596
  case KG_FORM_ITEM_TYPE.DATE_TIME_RANGE:
10560
- M.kgPicker = "time";
10597
+ I.kgPicker = "time";
10561
10598
  break;
10562
10599
  case KG_FORM_ITEM_TYPE.DATE_DATETIME:
10563
- M.kgShowTime = e.kgShowTime === void 0 ? !0 : e.kgShowTime;
10600
+ I.kgShowTime = e.kgShowTime === void 0 ? !0 : e.kgShowTime;
10564
10601
  break;
10565
10602
  case KG_FORM_ITEM_TYPE.DATE_DATETIME_RANGE:
10566
- M.kgShowTime = e.kgShowTime === void 0 ? !0 : e.kgShowTime;
10603
+ I.kgShowTime = e.kgShowTime === void 0 ? !0 : e.kgShowTime;
10567
10604
  break;
10568
10605
  }
10569
- return M;
10570
- }), k = computed(() => encodeURIComponent(`${e.kgContext}~${s.formID}~${e.kgVarName}`)), A = ref(null);
10571
- function C() {
10606
+ return I;
10607
+ }), A = computed(() => encodeURIComponent(`${e.kgContext}~${s.formID}~${e.kgVarName}`)), C = ref(null);
10608
+ function D() {
10572
10609
  if (t.control) {
10573
- const M = {
10610
+ const I = {
10574
10611
  frm_id: s.formID,
10575
10612
  varName: e.kgVarName,
10576
- props: T,
10613
+ props: k,
10577
10614
  model: a,
10578
10615
  varVariableConfig: c,
10579
10616
  varProfileDetail: u,
10580
10617
  varSubmitField: d
10581
10618
  };
10582
- return t.control(M);
10619
+ return t.control(I);
10583
10620
  }
10584
10621
  switch (v.value) {
10585
10622
  case KG_FORM_ITEM_TYPE.INPUT_NUMBER:
10586
- return createVNode(KgFormItemInputNumber, T.value, null);
10623
+ return createVNode(KgFormItemInputNumber, k.value, null);
10587
10624
  case KG_FORM_ITEM_TYPE.TEXT_AREA:
10588
- return createVNode(KgFormItemTextArea, T.value, null);
10625
+ return createVNode(KgFormItemTextArea, k.value, null);
10589
10626
  case KG_FORM_ITEM_TYPE.SELECT:
10590
- return createVNode(KgFormItemSelect, T.value, null);
10627
+ return createVNode(KgFormItemSelect, k.value, null);
10591
10628
  case KG_FORM_ITEM_TYPE.SELECT_MULTIPLE:
10592
- return createVNode(KgFormItemSelect, T.value, null);
10629
+ return createVNode(KgFormItemSelect, k.value, null);
10593
10630
  case KG_FORM_ITEM_TYPE.SWITCH:
10594
- return createVNode(KgFormItemSwitch, T.value, null);
10631
+ return createVNode(KgFormItemSwitch, k.value, null);
10595
10632
  case KG_FORM_ITEM_TYPE.CHECKBOX:
10596
- return createVNode(KgFormItemCheckbox, T.value, null);
10633
+ return createVNode(KgFormItemCheckbox, k.value, null);
10597
10634
  case KG_FORM_ITEM_TYPE.CHECKBOX_GROUP:
10598
- return createVNode(KgFormItemCheckboxGroup, T.value, null);
10635
+ return createVNode(KgFormItemCheckboxGroup, k.value, null);
10599
10636
  case KG_FORM_ITEM_TYPE.RADIO_GROUP:
10600
- return createVNode(KgFormItemRadioGroup, T.value, null);
10637
+ return createVNode(KgFormItemRadioGroup, k.value, null);
10601
10638
  case KG_FORM_ITEM_TYPE.DATE_DATE:
10602
- return createVNode(KgFormItemDate, T.value, null);
10639
+ return createVNode(KgFormItemDate, k.value, null);
10603
10640
  case KG_FORM_ITEM_TYPE.DATE_DATE_RANGE:
10604
- return createVNode(KgFormItemDateRange, T.value, null);
10641
+ return createVNode(KgFormItemDateRange, k.value, null);
10605
10642
  case KG_FORM_ITEM_TYPE.DATE_TIME:
10606
- return createVNode(KgFormItemDate, T.value, null);
10643
+ return createVNode(KgFormItemDate, k.value, null);
10607
10644
  case KG_FORM_ITEM_TYPE.DATE_TIME_RANGE:
10608
- return createVNode(KgFormItemDateRange, T.value, null);
10645
+ return createVNode(KgFormItemDateRange, k.value, null);
10609
10646
  case KG_FORM_ITEM_TYPE.DATE_DATETIME:
10610
- return createVNode(KgFormItemDate, T.value, null);
10647
+ return createVNode(KgFormItemDate, k.value, null);
10611
10648
  case KG_FORM_ITEM_TYPE.DATE_DATETIME_RANGE:
10612
- return createVNode(KgFormItemDateRange, T.value, null);
10649
+ return createVNode(KgFormItemDateRange, k.value, null);
10613
10650
  default:
10614
- return createVNode(KgFormItemInput, T.value, null);
10651
+ return createVNode(KgFormItemInput, k.value, null);
10615
10652
  }
10616
10653
  }
10617
- function D() {
10618
- var M;
10619
- return ((M = s.currentVarProfileMaster.value) == null ? void 0 : M.dyn_flg) !== 1 ? null : createVNode(Form.ItemRest, null, {
10654
+ function w() {
10655
+ var I;
10656
+ return ((I = s.currentVarProfileMaster.value) == null ? void 0 : I.dyn_flg) !== 1 ? null : createVNode(Form.ItemRest, null, {
10620
10657
  default: () => {
10621
- var L;
10658
+ var R;
10622
10659
  return [createVNode(Select, {
10623
- value: (L = o.operatorModel.value) == null ? void 0 : L[e.kgVarName],
10624
- "onUpdate:value": (R) => {
10660
+ value: (R = o.operatorModel.value) == null ? void 0 : R[e.kgVarName],
10661
+ "onUpdate:value": (x) => {
10625
10662
  o.store.patchOperatorModel(s.formID, {
10626
- [e.kgVarName]: R
10663
+ [e.kgVarName]: x
10627
10664
  });
10628
10665
  },
10629
10666
  disabled: y.value,
@@ -10631,8 +10668,8 @@ const KgFormItemRadioGroup = defineComponent({
10631
10668
  dropdownClassName: "kg-form-item-operator-select-dropdown"
10632
10669
  }, {
10633
10670
  default: () => {
10634
- var R;
10635
- return KgVarUtil.getDynamicQueryOperatorSelectOptions((R = v.value) != null ? R : "");
10671
+ var x;
10672
+ return KgVarUtil.getDynamicQueryOperatorSelectOptions((x = v.value) != null ? x : "");
10636
10673
  },
10637
10674
  suffixIcon: () => createVNode(CaretDownOutlined$1, {
10638
10675
  class: "ant-select-suffix"
@@ -10641,14 +10678,14 @@ const KgFormItemRadioGroup = defineComponent({
10641
10678
  }
10642
10679
  });
10643
10680
  }
10644
- function w() {
10681
+ function O() {
10645
10682
  return e.kgShowLabel ? createVNode("span", {
10646
10683
  title: s.t(e.kgVarName).value
10647
10684
  }, [s.t(e.kgVarName).value]) : null;
10648
10685
  }
10649
- function O() {
10650
- var M;
10651
- return !i.value || !((M = i.value) != null && M.lkp_id) ? null : createVNode(Form.ItemRest, null, {
10686
+ function $() {
10687
+ var I;
10688
+ return !i.value || !((I = i.value) != null && I.lkp_id) ? null : createVNode(Form.ItemRest, null, {
10652
10689
  default: () => [createVNode(KgFormItemAddonLookup, {
10653
10690
  kgDisabled: y.value,
10654
10691
  kgLookupID: i.value.lkp_id
@@ -10656,25 +10693,25 @@ const KgFormItemRadioGroup = defineComponent({
10656
10693
  });
10657
10694
  }
10658
10695
  return () => {
10659
- var M, L;
10696
+ var I, R;
10660
10697
  return s.isRetrieving.value ? null : createVNode(Col, {
10661
- ref: A,
10698
+ ref: C,
10662
10699
  span: g.value,
10663
- class: E.value,
10664
- style: b.value,
10700
+ class: T.value,
10701
+ style: E.value,
10665
10702
  "kg-frm_id": s.formID,
10666
10703
  "kg-var_nam": e.kgVarName,
10667
- "kg-lkp_id": (M = i.value) == null ? void 0 : M.lkp_id,
10668
- "kg-ret_fld": (L = i.value) == null ? void 0 : L.ret_fld
10704
+ "kg-lkp_id": (I = i.value) == null ? void 0 : I.lkp_id,
10705
+ "kg-ret_fld": (R = i.value) == null ? void 0 : R.ret_fld
10669
10706
  }, {
10670
10707
  default: () => [createVNode(Form.Item, {
10671
10708
  name: e.kgVarName,
10672
10709
  rules: p.value,
10673
10710
  validateFirst: !0,
10674
- htmlFor: k.value
10711
+ htmlFor: A.value
10675
10712
  }, {
10676
- default: () => createVNode(Fragment, null, [D(), C(), O()]),
10677
- label: () => w()
10713
+ default: () => createVNode(Fragment, null, [w(), D(), $()]),
10714
+ label: () => O()
10678
10715
  })]
10679
10716
  });
10680
10717
  };
@@ -11377,7 +11414,7 @@ const getProps$p = () => ({
11377
11414
  inject(DI_KG_VAR__KG_PROPS, null);
11378
11415
  const n = useKg(), s = useKgVar(), l = useKgButton(), o = useKgTable(), i = useKgSubmit(), c = useKgSearch();
11379
11416
  l.onSubmitSave(async () => (await ee(), !1)), l.onSubmitCancel(async () => (await z(), !1)), _useFormModel$1();
11380
- const u = computed(() => s.isDeleting.value && M.value.length === 0 && R.value.length === 0), d = computed(() => i.store.isLoading(s.formID)), p = computed(() => s.store.getVarSubmitConfig(s.formID)), v = computed(() => s.store.getVarSubmitFieldsForCreateKey(s.formID)), y = computed(() => s.store.getVarSubmitFieldsForCreateNotKey(s.formID)), _ = computed(() => s.store.getVarSubmitFieldsForUpdateKey(s.formID)), g = computed(() => s.store.getVarSubmitFieldsForUpdateNotKey(s.formID)), b = computed(() => s.store.getVarSubmitFieldsForCopyKey(s.formID)), E = computed(() => s.store.getVarSubmitFieldsForCopyNotKey(s.formID)), T = computed(() => s.store.getVarSubmitFieldsForCreateKeyVisible(s.formID)), k = computed(() => s.store.getVarSubmitFieldsForCreateNotKeyVisible(s.formID)), A = computed(() => s.store.getVarSubmitFieldsForUpdateKeyVisible(s.formID)), C = computed(() => s.store.getVarSubmitFieldsForUpdateNotKeyVisible(s.formID)), D = computed(() => s.store.getVarSubmitFieldsForCopyKeyVisible(s.formID)), w = computed(() => s.store.getVarSubmitFieldsForCopyNotKeyVisible(s.formID)), O = computed(() => s.store.getVarSubmitFieldsForDelete(s.formID)), M = computed(() => {
11417
+ const u = computed(() => s.isDeleting.value && $.value.length === 0 && R.value.length === 0), d = computed(() => i.store.isLoading(s.formID)), p = computed(() => s.store.getVarSubmitConfig(s.formID)), v = computed(() => s.store.getVarSubmitFieldsForCreateKey(s.formID)), y = computed(() => s.store.getVarSubmitFieldsForCreateNotKey(s.formID)), _ = computed(() => s.store.getVarSubmitFieldsForUpdateKey(s.formID)), g = computed(() => s.store.getVarSubmitFieldsForUpdateNotKey(s.formID)), b = computed(() => s.store.getVarSubmitFieldsForCopyKey(s.formID)), E = computed(() => s.store.getVarSubmitFieldsForCopyNotKey(s.formID)), T = computed(() => s.store.getVarSubmitFieldsForCreateKeyVisible(s.formID)), k = computed(() => s.store.getVarSubmitFieldsForCreateNotKeyVisible(s.formID)), A = computed(() => s.store.getVarSubmitFieldsForUpdateKeyVisible(s.formID)), C = computed(() => s.store.getVarSubmitFieldsForUpdateNotKeyVisible(s.formID)), D = computed(() => s.store.getVarSubmitFieldsForCopyKeyVisible(s.formID)), w = computed(() => s.store.getVarSubmitFieldsForCopyNotKeyVisible(s.formID)), O = computed(() => s.store.getVarSubmitFieldsForDelete(s.formID)), $ = computed(() => {
11381
11418
  var G, W, Z;
11382
11419
  switch (!0) {
11383
11420
  case s.isCreating.value:
@@ -11390,7 +11427,7 @@ const getProps$p = () => ({
11390
11427
  return [];
11391
11428
  }
11392
11429
  return [];
11393
- }), L = computed(() => {
11430
+ }), I = computed(() => {
11394
11431
  var G, W, Z;
11395
11432
  switch (!0) {
11396
11433
  case s.isCreating.value:
@@ -11416,7 +11453,7 @@ const getProps$p = () => ({
11416
11453
  return (re = O.value) != null ? re : [];
11417
11454
  }
11418
11455
  return [];
11419
- }), B = computed(() => {
11456
+ }), x = computed(() => {
11420
11457
  var G, W, Z, re;
11421
11458
  switch (!0) {
11422
11459
  case s.isCreating.value:
@@ -11429,9 +11466,9 @@ const getProps$p = () => ({
11429
11466
  return (re = O.value) != null ? re : [];
11430
11467
  }
11431
11468
  return [];
11432
- }), $ = computed(() => !!s.store.isCreatingRequesting(s.formID) || !!s.store.isUpdatingRequesting(s.formID) || !!s.store.isCopyingRequesting(s.formID) || !!s.store.isDeletingRequesting(s.formID)), I = computed(() => $.value || d.value), V = computed(() => d.value), N = ref({
11469
+ }), L = computed(() => !!s.store.isCreatingRequesting(s.formID) || !!s.store.isUpdatingRequesting(s.formID) || !!s.store.isCopyingRequesting(s.formID) || !!s.store.isDeletingRequesting(s.formID)), M = computed(() => L.value || d.value), V = computed(() => d.value), P = ref({
11433
11470
  kgWidth: 0
11434
- }), x = computed(() => {
11471
+ }), B = computed(() => {
11435
11472
  var G;
11436
11473
  return !!(u.value || te.isFullscreen || ((G = p.value) == null ? void 0 : G.resizable_flg) === 0);
11437
11474
  }), H = computed(() => {
@@ -11440,9 +11477,9 @@ const getProps$p = () => ({
11440
11477
  }), K = computed(() => {
11441
11478
  var G, W;
11442
11479
  return u.value ? 398 : (W = (G = p.value) == null ? void 0 : G.max_width) != null ? W : DEFAULT_MAX_WIDTH;
11443
- }), F = computed(() => u.value ? 398 : N.value.kgWidth), Y = ref(null);
11480
+ }), F = computed(() => u.value ? 398 : P.value.kgWidth), Y = ref(null);
11444
11481
  _useResizeObserver$1(Y);
11445
- const q = _useTitle(), X = computed(() => u.value ? 400 : N.value.kgWidth && N.value.kgWidth > 0 ? "auto" : 0), J = computed(() => X.value === 0 ? !1 : !!(s.isCreating.value || s.isUpdating.value || s.isCopying.value || s.isDeleting.value)), te = reactive({
11482
+ const q = _useTitle(), X = computed(() => u.value ? 400 : P.value.kgWidth && P.value.kgWidth > 0 ? "auto" : 0), J = computed(() => X.value === 0 ? !1 : !!(s.isCreating.value || s.isUpdating.value || s.isCopying.value || s.isDeleting.value)), te = reactive({
11446
11483
  isFullscreen: !1
11447
11484
  }), {
11448
11485
  getClass: ue
@@ -11469,7 +11506,7 @@ const getProps$p = () => ({
11469
11506
  default:
11470
11507
  return;
11471
11508
  }
11472
- }), P = computed(() => {
11509
+ }), N = computed(() => {
11473
11510
  var G, W;
11474
11511
  switch (_e.value) {
11475
11512
  case "horizontal":
@@ -11490,7 +11527,7 @@ const getProps$p = () => ({
11490
11527
  }, {
11491
11528
  immediate: !0
11492
11529
  }), watch(fe, (G) => {
11493
- G && (N.value.kgWidth = G);
11530
+ G && (P.value.kgWidth = G);
11494
11531
  }, {
11495
11532
  immediate: !0
11496
11533
  });
@@ -11520,7 +11557,7 @@ const getProps$p = () => ({
11520
11557
  });
11521
11558
  }
11522
11559
  async function Q() {
11523
- N.value.kgWidth = fe.value, te.isFullscreen = !1, await i.store.emit(s.formID, "close", null);
11560
+ P.value.kgWidth = fe.value, te.isFullscreen = !1, await i.store.emit(s.formID, "close", null);
11524
11561
  }
11525
11562
  function z() {
11526
11563
  switch (!0) {
@@ -11817,8 +11854,8 @@ const getProps$p = () => ({
11817
11854
  kgMinWidth: H.value,
11818
11855
  kgMaxWidth: K.value,
11819
11856
  kgWidth: F.value,
11820
- kgDisabled: x.value,
11821
- "onUpdate:kgWidth": (Z) => N.value.kgWidth = Z
11857
+ kgDisabled: B.value,
11858
+ "onUpdate:kgWidth": (Z) => P.value.kgWidth = Z
11822
11859
  }, {
11823
11860
  default: () => [createVNode(Spin, {
11824
11861
  spinning: d.value
@@ -11828,15 +11865,15 @@ const getProps$p = () => ({
11828
11865
  model: i.model.value,
11829
11866
  layout: _e.value,
11830
11867
  labelCol: ae.value,
11831
- wrapperCol: P.value
11868
+ wrapperCol: N.value
11832
11869
  }, {
11833
11870
  default: () => [createVNode("div", {
11834
11871
  ref: Y
11835
- }, [M.value.length > 0 && createVNode(Row, {
11872
+ }, [$.value.length > 0 && createVNode(Row, {
11836
11873
  gutter: 12
11837
- }, _isSlot$9(G = M.value.map(be)) ? G : {
11874
+ }, _isSlot$9(G = $.value.map(be)) ? G : {
11838
11875
  default: () => [G]
11839
- }), L.value.length > 0 && B.value.length > 0 && createVNode(Divider, null, null), R.value.length > 0 && createVNode(Row, {
11876
+ }), I.value.length > 0 && x.value.length > 0 && createVNode(Divider, null, null), R.value.length > 0 && createVNode(Row, {
11840
11877
  gutter: 12
11841
11878
  }, _isSlot$9(W = R.value.map(be)) ? W : {
11842
11879
  default: () => [W]
@@ -11851,15 +11888,15 @@ const getProps$p = () => ({
11851
11888
  let G, W;
11852
11889
  return createVNode("div", null, [createVNode(Button, {
11853
11890
  type: "primary",
11854
- ghost: !I.value,
11855
- disabled: I.value,
11891
+ ghost: !M.value,
11892
+ disabled: M.value,
11856
11893
  onClick: z
11857
11894
  }, _isSlot$9(G = n.t("kg.cancel")) ? G : {
11858
11895
  default: () => [G]
11859
11896
  }), createVNode(Button, {
11860
11897
  type: "primary",
11861
11898
  disabled: V.value,
11862
- loading: $.value,
11899
+ loading: L.value,
11863
11900
  danger: !!s.isDeleting.value,
11864
11901
  onClick: ee
11865
11902
  }, _isSlot$9(W = n.t(s.isDeleting.value ? "kg.delete" : "kg.save")) ? W : {
@@ -13207,7 +13244,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
13207
13244
  row: A,
13208
13245
  model: C
13209
13246
  }) => {
13210
- var w, O, M, L, R;
13247
+ var w, O, $, I, R;
13211
13248
  const D = a.store.getSystemVarGridDetails(a.formID);
13212
13249
  switch (c.value = D ? cloneDeep(unref(toRaw(D))) : [], !0) {
13213
13250
  case E: {
@@ -13219,24 +13256,24 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
13219
13256
  if (A != null && A.id)
13220
13257
  try {
13221
13258
  o.store.setIsLoading(n.formID, !0);
13222
- const B = await QueryByID$1({
13259
+ const x = await QueryByID$1({
13223
13260
  params: {
13224
13261
  id: A.id
13225
13262
  }
13226
13263
  });
13227
- c.value = c.value.map((I) => {
13228
- var N;
13229
- const V = (N = B == null ? void 0 : B.varGridDetails) == null ? void 0 : N.find((x) => x.var_nam === I.var_nam);
13264
+ c.value = c.value.map((M) => {
13265
+ var P;
13266
+ const V = (P = x == null ? void 0 : x.varGridDetails) == null ? void 0 : P.find((B) => B.var_nam === M.var_nam);
13230
13267
  return V ? {
13231
- ...I,
13268
+ ...M,
13232
13269
  ...V,
13233
- id: I.id
13234
- } : I;
13270
+ id: M.id
13271
+ } : M;
13235
13272
  });
13236
- const $ = (O = (w = B == null ? void 0 : B.varGridDetails) == null ? void 0 : w.map((I) => I.var_nam)) != null ? O : [];
13237
- u.value = c.value.filter((I) => $.includes(I.var_nam)).map((I) => I.id);
13238
- } catch (B) {
13239
- throw B;
13273
+ const L = (O = (w = x == null ? void 0 : x.varGridDetails) == null ? void 0 : w.map((M) => M.var_nam)) != null ? O : [];
13274
+ u.value = c.value.filter((M) => L.includes(M.var_nam)).map((M) => M.id);
13275
+ } catch (x) {
13276
+ throw x;
13240
13277
  } finally {
13241
13278
  o.store.setIsLoading(n.formID, !1);
13242
13279
  }
@@ -13247,7 +13284,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
13247
13284
  }
13248
13285
  switch (!0) {
13249
13286
  case k: {
13250
- C.value.grd_var_nam = ((M = C.value.grd_var_nam) != null ? M : "") + "_COPY", C.value.grd_var_nam_dsc = ((R = (L = C.value.grd_var_nam_dsc) != null ? L : C.value.grd_var_nam) != null ? R : "") + "_COPY";
13287
+ C.value.grd_var_nam = (($ = C.value.grd_var_nam) != null ? $ : "") + "_COPY", C.value.grd_var_nam_dsc = ((R = (I = C.value.grd_var_nam_dsc) != null ? I : C.value.grd_var_nam) != null ? R : "") + "_COPY";
13251
13288
  break;
13252
13289
  }
13253
13290
  }
@@ -13320,9 +13357,9 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
13320
13357
  onItemSelectAll: C,
13321
13358
  onItemSelect: D
13322
13359
  }) => {
13323
- const w = T.sort((O, M) => {
13324
- var L, R;
13325
- return ((L = O.srtseq) != null ? L : 0) - ((R = M.srtseq) != null ? R : 0);
13360
+ const w = T.sort((O, $) => {
13361
+ var I, R;
13362
+ return ((I = O.srtseq) != null ? I : 0) - ((R = $.srtseq) != null ? R : 0);
13326
13363
  });
13327
13364
  return d.value = w, createVNode(Table, {
13328
13365
  pagination: !1,
@@ -13336,10 +13373,10 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
13336
13373
  rowKey: "id",
13337
13374
  dataSource: w,
13338
13375
  customRow: (O) => {
13339
- let M = {
13340
- onClick: (L) => b(L, O, E, k)
13376
+ let $ = {
13377
+ onClick: (I) => b(I, O, E, k)
13341
13378
  };
13342
- return E === "right" && (M["kg-host-frm_id"] = a.formID, M["kg-var_nam"] = O.var_nam), M;
13379
+ return E === "right" && ($["kg-host-frm_id"] = a.formID, $["kg-var_nam"] = O.var_nam), $;
13343
13380
  },
13344
13381
  rowSelection: g({
13345
13382
  disabled: A,
@@ -13622,10 +13659,10 @@ const getProps$j = () => ({
13622
13659
  var w;
13623
13660
  let C, D;
13624
13661
  return createVNode(Fragment, null, [(w = n.varGridMasters.value) == null ? void 0 : w.map((O) => {
13625
- var M;
13662
+ var $;
13626
13663
  return createVNode(Menu.Item, {
13627
13664
  key: O.id,
13628
- class: O.id === ((M = n.currentVarGridMaster.value) == null ? void 0 : M.id) ? "selected" : "",
13665
+ class: O.id === (($ = n.currentVarGridMaster.value) == null ? void 0 : $.id) ? "selected" : "",
13629
13666
  "kg-var_nam": O.grd_var_nam,
13630
13667
  onClick: () => _(O)
13631
13668
  }, {
@@ -13663,7 +13700,7 @@ const getProps$j = () => ({
13663
13700
  popupClassName: "kg-table-setting--submenu-popup--row-height"
13664
13701
  }, {
13665
13702
  default: () => {
13666
- let O, M, L;
13703
+ let O, $, I;
13667
13704
  return createVNode(Fragment, null, [createVNode(Menu.Item, {
13668
13705
  key: "L",
13669
13706
  class: u.value === "L" ? "selected" : "",
@@ -13674,14 +13711,14 @@ const getProps$j = () => ({
13674
13711
  key: "M",
13675
13712
  class: u.value === "M" ? "selected" : "",
13676
13713
  onClick: () => s.store.setRowHeight(n.formID, "M")
13677
- }, _isSlot$6(M = a.t("kg.KgTable.rowHeightM")) ? M : {
13678
- default: () => [M]
13714
+ }, _isSlot$6($ = a.t("kg.KgTable.rowHeightM")) ? $ : {
13715
+ default: () => [$]
13679
13716
  }), createVNode(Menu.Item, {
13680
13717
  key: "H",
13681
13718
  class: u.value === "H" ? "selected" : "",
13682
13719
  onClick: () => s.store.setRowHeight(n.formID, "H")
13683
- }, _isSlot$6(L = a.t("kg.KgTable.rowHeightH")) ? L : {
13684
- default: () => [L]
13720
+ }, _isSlot$6(I = a.t("kg.KgTable.rowHeightH")) ? I : {
13721
+ default: () => [I]
13685
13722
  })]);
13686
13723
  },
13687
13724
  expandIcon: () => createVNode(CaretRightOutlined$1, null, null)
@@ -13793,8 +13830,8 @@ const getProps$h = () => ({
13793
13830
  switch ((A = i.value) == null ? void 0 : A.display_type) {
13794
13831
  case KG_TABLE_CELL_DISPLAY_TYPE.DESC:
13795
13832
  {
13796
- const M = KgUtil.tryParseJSON((C = i.value) == null ? void 0 : C.display_type_properties);
13797
- M.dscFieldName ? k = ((D = e.kgRow) == null ? void 0 : D[M.dscFieldName]) || e.kgValue : k = ((w = e.kgRow) == null ? void 0 : w[`${e.kgVarName}_dsc`]) || ((O = e.kgRow) == null ? void 0 : O[`${e.kgVarName}Dsc`]) || e.kgValue;
13833
+ const $ = KgUtil.tryParseJSON((C = i.value) == null ? void 0 : C.display_type_properties);
13834
+ $.dscFieldName ? k = ((D = e.kgRow) == null ? void 0 : D[$.dscFieldName]) || e.kgValue : k = ((w = e.kgRow) == null ? void 0 : w[`${e.kgVarName}_dsc`]) || ((O = e.kgRow) == null ? void 0 : O[`${e.kgVarName}Dsc`]) || e.kgValue;
13798
13835
  }
13799
13836
  break;
13800
13837
  }
@@ -13851,35 +13888,35 @@ const getProps$h = () => ({
13851
13888
  });
13852
13889
  }
13853
13890
  function E() {
13854
- var k, A, C, D, w, O, M, L, R, B, $;
13891
+ var k, A, C, D, w, O, $, I, R, x, L;
13855
13892
  if (u.value)
13856
13893
  return b();
13857
13894
  switch ((k = i.value) == null ? void 0 : k.display_type) {
13858
13895
  case KG_TABLE_CELL_DISPLAY_TYPE.YN: {
13859
- const I = KgUtil.tryParseJSON((A = i.value) == null ? void 0 : A.display_type_properties);
13896
+ const M = KgUtil.tryParseJSON((A = i.value) == null ? void 0 : A.display_type_properties);
13860
13897
  return createVNode(KgYesOrNo, {
13861
- kgValue: isNil(e.kgValue) ? void 0 : e.kgValue === ((C = I.yValue) != null ? C : 1),
13862
- kgNilAsFalse: I.nilAsFalse
13898
+ kgValue: isNil(e.kgValue) ? void 0 : e.kgValue === ((C = M.yValue) != null ? C : 1),
13899
+ kgNilAsFalse: M.nilAsFalse
13863
13900
  }, null);
13864
13901
  }
13865
13902
  case KG_TABLE_CELL_DISPLAY_TYPE.ENUM: {
13866
- const I = KgUtil.tryParseJSON((D = i.value) == null ? void 0 : D.display_type_properties), V = isArrayLike(I) && I.find((N) => N.value === e.kgValue);
13903
+ const M = KgUtil.tryParseJSON((D = i.value) == null ? void 0 : D.display_type_properties), V = isArrayLike(M) && M.find((P) => P.value === e.kgValue);
13867
13904
  if (V) {
13868
- const N = n.t(V.varName).value;
13869
- return N ? createVNode(Tag, {
13905
+ const P = n.t(V.varName).value;
13906
+ return P ? createVNode(Tag, {
13870
13907
  color: (w = V.color) != null ? w : "default"
13871
- }, _isSlot$5(N) ? N : {
13872
- default: () => [N]
13908
+ }, _isSlot$5(P) ? P : {
13909
+ default: () => [P]
13873
13910
  }) : T();
13874
13911
  } else
13875
13912
  return T();
13876
13913
  }
13877
13914
  case KG_TABLE_CELL_DISPLAY_TYPE.DESC: {
13878
- const I = KgUtil.tryParseJSON((O = i.value) == null ? void 0 : O.display_type_properties);
13879
- if (I.isTag && isArrayLike(I.tagColors)) {
13880
- const V = I.tagColors.find((N) => N.value === e.kgValue);
13915
+ const M = KgUtil.tryParseJSON((O = i.value) == null ? void 0 : O.display_type_properties);
13916
+ if (M.isTag && isArrayLike(M.tagColors)) {
13917
+ const V = M.tagColors.find((P) => P.value === e.kgValue);
13881
13918
  return v.value ? createVNode(Tag, {
13882
- color: (M = V == null ? void 0 : V.color) != null ? M : "default"
13919
+ color: ($ = V == null ? void 0 : V.color) != null ? $ : "default"
13883
13920
  }, {
13884
13921
  default: () => [v.value]
13885
13922
  }) : T();
@@ -13887,15 +13924,15 @@ const getProps$h = () => ({
13887
13924
  return T();
13888
13925
  }
13889
13926
  case KG_TABLE_CELL_DISPLAY_TYPE.PROGRESS: {
13890
- const I = KgUtil.tryParseJSON((L = i.value) == null ? void 0 : L.display_type_properties), V = (B = (R = e.kgRow) == null ? void 0 : R[I.leftColumn]) != null ? B : 0;
13927
+ const M = KgUtil.tryParseJSON((I = i.value) == null ? void 0 : I.display_type_properties), V = (x = (R = e.kgRow) == null ? void 0 : R[M.leftColumn]) != null ? x : 0;
13891
13928
  switch (e.kgContext) {
13892
13929
  case KG_TABLE_CELL_CONTEXT.TABLE_FILTER:
13893
13930
  return V;
13894
13931
  case KG_TABLE_CELL_CONTEXT.TABLE_CELL:
13895
13932
  return createVNode(KgProgressA, {
13896
- kgTextWidth: I.textWidth,
13933
+ kgTextWidth: M.textWidth,
13897
13934
  kgLeft: V,
13898
- kgRight: ($ = e.kgRow) == null ? void 0 : $[I.rightColumn]
13935
+ kgRight: (L = e.kgRow) == null ? void 0 : L[M.rightColumn]
13899
13936
  }, null);
13900
13937
  }
13901
13938
  break;
@@ -14005,15 +14042,15 @@ function _useColumns(e) {
14005
14042
  index: C
14006
14043
  }) => C + 1
14007
14044
  }, ...(A = b == null ? void 0 : b.map((C, D) => {
14008
- var N, x, H;
14045
+ var P, B, H;
14009
14046
  const w = C.var_nam;
14010
14047
  function O() {
14011
14048
  return C.width === "auto" ? "auto" : Number(C.width) || KG_TABLE_TD_DEFAULT_WIDTH;
14012
14049
  }
14013
- function M() {
14050
+ function $() {
14014
14051
  return r.t(w).value;
14015
14052
  }
14016
- function L() {
14053
+ function I() {
14017
14054
  if (C.fix_left_flg === 1)
14018
14055
  return "left";
14019
14056
  if (C.fix_right_flg === 1)
@@ -14023,7 +14060,7 @@ function _useColumns(e) {
14023
14060
  var K, F, Y, q;
14024
14061
  return !(C.ord_flg !== 1 || (F = (K = t == null ? void 0 : t.value) == null ? void 0 : K.KgTable) != null && F.kgDisabled || isNil((q = (Y = t == null ? void 0 : t.value) == null ? void 0 : Y.KgTable) == null ? void 0 : q.kgDisabled) && e.kgDisabled || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || y.length <= 0);
14025
14062
  }
14026
- function B() {
14063
+ function x() {
14027
14064
  var K, F, Y, q, X, J;
14028
14065
  if (((F = (K = v.option.value.KgTable) == null ? void 0 : K.filter) == null ? void 0 : F.on) === !0 && C.filter_flag === 1 && !((q = (Y = t == null ? void 0 : t.value) == null ? void 0 : Y.KgTable) != null && q.kgDisabled) && !(isNil((J = (X = t == null ? void 0 : t.value) == null ? void 0 : X.KgTable) == null ? void 0 : J.kgDisabled) && e.kgDisabled) && !(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value) && !(y.length <= 0))
14029
14066
  return uniqBy(y.map((te) => {
@@ -14041,11 +14078,11 @@ function _useColumns(e) {
14041
14078
  };
14042
14079
  }), "value");
14043
14080
  }
14044
- function $() {
14081
+ function L() {
14045
14082
  var K, F, Y;
14046
14083
  return ((F = (K = v.option.value.KgTable) == null ? void 0 : K.filter) == null ? void 0 : F.on) !== !0 ? null : ((Y = o.value) == null ? void 0 : Y[w]) || null;
14047
14084
  }
14048
- function I() {
14085
+ function M() {
14049
14086
  return ["left", "center", "right"].includes(C.align || "") ? C.align : "left";
14050
14087
  }
14051
14088
  const V = O();
@@ -14066,17 +14103,17 @@ function _useColumns(e) {
14066
14103
  return {
14067
14104
  key: w,
14068
14105
  dataIndex: w,
14069
- title: M(),
14106
+ title: $(),
14070
14107
  width: V,
14071
14108
  resizable: typeof V == "number",
14072
14109
  minWidth: KG_TABLE_TD_MIN_WIDTH,
14073
14110
  maxWidth: KG_TABLE_TD_MAX_WIDTH,
14074
- align: I(),
14075
- fixed: L(),
14111
+ align: M(),
14112
+ fixed: I(),
14076
14113
  sorter: R(),
14077
- sortOrder: ((N = i.value) == null ? void 0 : N.field) === w && (H = (x = i.value) == null ? void 0 : x.order) != null ? H : null,
14078
- filteredValue: $(),
14079
- filters: B(),
14114
+ sortOrder: ((P = i.value) == null ? void 0 : P.field) === w && (H = (B = i.value) == null ? void 0 : B.order) != null ? H : null,
14115
+ filteredValue: L(),
14116
+ filters: x(),
14080
14117
  onFilter: (K, F) => K === "" ? isNil(F == null ? void 0 : F[w]) || (F == null ? void 0 : F[w]) === "" : (F == null ? void 0 : F[w]) === K,
14081
14118
  customHeaderCell: () => ({
14082
14119
  "kg-frm_id": r.formID,
@@ -14254,28 +14291,28 @@ const KgTable$1 = "", getProps$g = () => ({
14254
14291
  setup: function(e) {
14255
14292
  var ae;
14256
14293
  const t = inject("$dayjs", dayjs), r = inject(DI_KG_VAR__KG_SLOTS, null), a = inject(DI_KG_VAR__KG_PROPS, null), n = useKg(), s = useKgVar(), l = useKgSearch(), o = useKgTable(), i = useKgSubmit();
14257
- l.onSearch(async (P) => (K(P), !1)), l.onReset(async () => (p.value = {}, K({
14294
+ l.onSearch(async (N) => (K(N), !1)), l.onReset(async () => (p.value = {}, K({
14258
14295
  isSearchFirstPage: !0
14259
14296
  }), !1)), o.store.$onAction(async ({
14260
- name: P,
14297
+ name: N,
14261
14298
  args: U
14262
14299
  }) => {
14263
- switch (P) {
14300
+ switch (N) {
14264
14301
  case "setRowSelect":
14265
14302
  if (U[0] === s.formID) {
14266
14303
  const Q = U[1], z = U[2], ee = Q[o.id.value];
14267
14304
  switch (!0) {
14268
- case (z && !$.value.includes(ee)):
14269
- F([...$.value, ee]);
14305
+ case (z && !L.value.includes(ee)):
14306
+ F([...L.value, ee]);
14270
14307
  break;
14271
- case (!z && $.value.includes(ee)):
14272
- F(without$1($.value, ee));
14308
+ case (!z && L.value.includes(ee)):
14309
+ F(without$1(L.value, ee));
14273
14310
  break;
14274
14311
  }
14275
14312
  }
14276
14313
  break;
14277
14314
  case "clearDatas":
14278
- U[0] === s.formID && (o.store.setDatas(s.formID, []), I.total = 0, H(), c.value = []);
14315
+ U[0] === s.formID && (o.store.setDatas(s.formID, []), M.total = 0, H(), c.value = []);
14279
14316
  break;
14280
14317
  }
14281
14318
  });
@@ -14294,120 +14331,120 @@ const KgTable$1 = "", getProps$g = () => ({
14294
14331
  datas: b,
14295
14332
  transformDatas: E
14296
14333
  } = _useDatas(), T = computed(() => {
14297
- var P, U;
14298
- return (U = (P = s.varButtonSearch.value) == null ? void 0 : P.cmd) != null ? U : null;
14334
+ var N, U;
14335
+ return (U = (N = s.varButtonSearch.value) == null ? void 0 : N.cmd) != null ? U : null;
14299
14336
  }), k = computed(() => {
14300
14337
  var U, Q, z, ee, ce, le, oe, me, be;
14301
- let P = {
14302
- pageNo: I.pageIndex,
14303
- pageSize: I.pageSize,
14338
+ let N = {
14339
+ pageNo: M.pageIndex,
14340
+ pageSize: M.pageSize,
14304
14341
  column: (Q = (U = p.value) == null ? void 0 : U.field) != null ? Q : void 0,
14305
14342
  order: p.value.order === "ascend" ? "asc" : p.value.order === "descend" ? "desc" : void 0,
14306
14343
  ...(ee = (z = l.model) == null ? void 0 : z.value) != null ? ee : {}
14307
14344
  };
14308
- return s.varButtonSearch.value && (P = {
14309
- ...P,
14345
+ return s.varButtonSearch.value && (N = {
14346
+ ...N,
14310
14347
  ...KgVarUtil.parseCommandParameter((le = (ce = s.varButtonSearch.value) == null ? void 0 : ce.cmd_prm) != null ? le : "")
14311
- }), (oe = s.varGridConfig.value) != null && oe.cmd_prm && (P = {
14312
- ...P,
14348
+ }), (oe = s.varGridConfig.value) != null && oe.cmd_prm && (N = {
14349
+ ...N,
14313
14350
  ...KgVarUtil.parseCommandParameter((me = s.varGridConfig.value.cmd_prm) != null ? me : "")
14314
- }), ((be = s.varGridConfig.value) == null ? void 0 : be.convert_sort_field_to_under_score_flg) === 1 && P.column && (P.column = snakeCase$1(P.column)), P;
14351
+ }), ((be = s.varGridConfig.value) == null ? void 0 : be.convert_sort_field_to_under_score_flg) === 1 && N.column && (N.column = snakeCase$1(N.column)), N;
14315
14352
  }), A = computed(() => {
14316
- var P, U, Q, z;
14317
- if (!isNil((U = (P = a == null ? void 0 : a.value) == null ? void 0 : P.KgTable) == null ? void 0 : U.kgDisabled))
14353
+ var N, U, Q, z;
14354
+ if (!isNil((U = (N = a == null ? void 0 : a.value) == null ? void 0 : N.KgTable) == null ? void 0 : U.kgDisabled))
14318
14355
  return (z = (Q = a == null ? void 0 : a.value) == null ? void 0 : Q.KgTable) == null ? void 0 : z.kgDisabled;
14319
14356
  if (!isNil(e.kgDisabled))
14320
14357
  return e.kgDisabled;
14321
14358
  }), C = computed(() => {
14322
- var P, U, Q, z;
14323
- if (!isNil((U = (P = a == null ? void 0 : a.value) == null ? void 0 : P.KgTable) == null ? void 0 : U.kgCheckboxDisabled))
14359
+ var N, U, Q, z;
14360
+ if (!isNil((U = (N = a == null ? void 0 : a.value) == null ? void 0 : N.KgTable) == null ? void 0 : U.kgCheckboxDisabled))
14324
14361
  return (z = (Q = a == null ? void 0 : a.value) == null ? void 0 : Q.KgTable) == null ? void 0 : z.kgCheckboxDisabled;
14325
14362
  if (!isNil(e.kgCheckboxDisabled))
14326
14363
  return e.kgCheckboxDisabled;
14327
- }), D = computed(() => !!A.value || y.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value), w = computed(() => !!A.value || y.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value || I.total === 0), O = computed(() => {
14328
- var P;
14329
- return !!((P = r == null ? void 0 : r.KgTable) != null && P.expandedRowRender);
14330
- }), M = computed(() => {
14331
- var P;
14332
- return ((P = s.varGridConfig.value) == null ? void 0 : P.show_check_column_flg) === 1;
14333
- }), L = computed(() => {
14334
- if (!!M.value)
14364
+ }), D = computed(() => !!A.value || y.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value), w = computed(() => !!A.value || y.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value || M.total === 0), O = computed(() => {
14365
+ var N;
14366
+ return !!((N = r == null ? void 0 : r.KgTable) != null && N.expandedRowRender);
14367
+ }), $ = computed(() => {
14368
+ var N;
14369
+ return ((N = s.varGridConfig.value) == null ? void 0 : N.show_check_column_flg) === 1;
14370
+ }), I = computed(() => {
14371
+ if (!!$.value)
14335
14372
  return {
14336
14373
  fixed: "left",
14337
14374
  columnWidth: KG_TABLE_TD_CHECK_WIDTH,
14338
14375
  hideSelectAll: !o.isMultiSelect.value,
14339
- selectedRowKeys: $,
14376
+ selectedRowKeys: L,
14340
14377
  preserveSelectedRowKeys: !1,
14341
- getCheckboxProps: (P) => {
14378
+ getCheckboxProps: (N) => {
14342
14379
  var U;
14343
14380
  return {
14344
- disabled: !!A.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value || !!((U = C.value) != null && U.call(C, P))
14381
+ disabled: !!A.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value || !!((U = C.value) != null && U.call(C, N))
14345
14382
  };
14346
14383
  },
14347
- onSelect: (P) => Y(P),
14348
- onChange: (P) => o.isMultiSelect.value && F(P)
14384
+ onSelect: (N) => Y(N),
14385
+ onChange: (N) => o.isMultiSelect.value && F(N)
14349
14386
  };
14350
14387
  }), R = computed(() => {
14351
14388
  var U;
14352
- let P = "kg-table";
14353
- switch (((U = s.varGridConfig.value) == null ? void 0 : U.show_bottom_border_flg) === 1 && (P += " kg-table--bottom-border"), !o.isShowBottomLeft.value && !o.isShowBottomRight.value && (P += " kg-table--no-bottom"), i.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.TABLE && (s.isCreating.value || s.isUpdating.value || s.isCopying.value || s.isDeleting.value) && (P += " kg-table--submitting"), o.store.getRowHeight(s.formID)) {
14389
+ let N = "kg-table";
14390
+ switch (((U = s.varGridConfig.value) == null ? void 0 : U.show_bottom_border_flg) === 1 && (N += " kg-table--bottom-border"), !o.isShowBottomLeft.value && !o.isShowBottomRight.value && (N += " kg-table--no-bottom"), i.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.TABLE && (s.isCreating.value || s.isUpdating.value || s.isCopying.value || s.isDeleting.value) && (N += " kg-table--submitting"), o.store.getRowHeight(s.formID)) {
14354
14391
  case "L":
14355
- P += " kg-table--row-l";
14392
+ N += " kg-table--row-l";
14356
14393
  break;
14357
14394
  case "M":
14358
- P += " kg-table--row-m";
14395
+ N += " kg-table--row-m";
14359
14396
  break;
14360
14397
  case "H":
14361
- P += " kg-table--row-h";
14398
+ N += " kg-table--row-h";
14362
14399
  break;
14363
14400
  }
14364
- return P;
14365
- }), B = computed(() => {
14401
+ return N;
14402
+ }), x = computed(() => {
14366
14403
  var U;
14367
- let P = "kg-table-bottom";
14368
- return ((U = s.varGridConfig.value) == null ? void 0 : U.show_bottom_border_flg) === 1 && (P += " kg-table-bottom--border"), P;
14369
- }), $ = (ae = o.store.getSelectedRowKeys(s.formID)) != null ? ae : ref([]), I = reactive({
14404
+ let N = "kg-table-bottom";
14405
+ return ((U = s.varGridConfig.value) == null ? void 0 : U.show_bottom_border_flg) === 1 && (N += " kg-table-bottom--border"), N;
14406
+ }), L = (ae = o.store.getSelectedRowKeys(s.formID)) != null ? ae : ref([]), M = reactive({
14370
14407
  pageIndex: 1,
14371
14408
  pageSize: 10,
14372
14409
  total: 0
14373
- }), V = watch(o.pageSizeOption, (P) => {
14374
- P && (setTimeout(() => V()), I.pageSize = P, o.store.emit(s.formID, "ready", {}), o.store.setIsReady(s.formID, !0));
14410
+ }), V = watch(o.pageSizeOption, (N) => {
14411
+ N && (setTimeout(() => V()), M.pageSize = N, o.store.emit(s.formID, "ready", {}), o.store.setIsReady(s.formID, !0));
14375
14412
  }, {
14376
14413
  immediate: !0
14377
14414
  });
14378
- watch(o.pageSizeOptions, (P) => {
14379
- P.length > 0 && !P.includes(I.pageSize) && (I.pageSize = o.pageSizeOption.value);
14380
- }), watch([T, o.isReadAutomatically, l.isReady], ([P, U, Q]) => {
14381
- P && U && Q && !o.store.getIsRetrieved(s.formID) && K({
14415
+ watch(o.pageSizeOptions, (N) => {
14416
+ N.length > 0 && !N.includes(M.pageSize) && (M.pageSize = o.pageSizeOption.value);
14417
+ }), watch([T, o.isReadAutomatically, l.isReady], ([N, U, Q]) => {
14418
+ N && U && Q && !o.store.getIsRetrieved(s.formID) && K({
14382
14419
  isSearchFirstPage: !0
14383
14420
  });
14384
14421
  }, {
14385
14422
  immediate: !0
14386
- }), watch(s.isCreating, (P, U) => {
14387
- P === !0 ? N() : P === !1 && U === !0 && x();
14423
+ }), watch(s.isCreating, (N, U) => {
14424
+ N === !0 ? P() : N === !1 && U === !0 && B();
14388
14425
  }), onUnmounted(() => {
14389
14426
  o.store.dispose(s.formID);
14390
14427
  });
14391
- function N() {
14428
+ function P() {
14392
14429
  if (i.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.TABLE) {
14393
- const P = {
14430
+ const N = {
14394
14431
  [o.id.value]: KG_TABLE_TEMP_ID
14395
14432
  };
14396
- o.store.setDatas(s.formID, [P, ...b.value]), o.store.setSelectedRows(s.formID, [P]);
14433
+ o.store.setDatas(s.formID, [N, ...b.value]), o.store.setSelectedRows(s.formID, [N]);
14397
14434
  }
14398
14435
  }
14399
- function x() {
14400
- const P = b.value.find((U) => U[o.id.value] === KG_TABLE_TEMP_ID);
14401
- P && (o.store.setDatas(s.formID, without$1(b.value, P)), o.store.setSelectedRows(s.formID, []));
14436
+ function B() {
14437
+ const N = b.value.find((U) => U[o.id.value] === KG_TABLE_TEMP_ID);
14438
+ N && (o.store.setDatas(s.formID, without$1(b.value, N)), o.store.setSelectedRows(s.formID, []));
14402
14439
  }
14403
- function H(P, U) {
14440
+ function H(N, U) {
14404
14441
  var Q;
14405
- if (!(!!A.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value) && !!L.value) {
14442
+ if (!(!!A.value || !!s.isCreating.value || !!s.isUpdating.value || !!s.isCopying.value || !!s.isDeleting.value) && !!I.value) {
14406
14443
  if (!U) {
14407
14444
  o.store.setSelectedRows(s.formID, []);
14408
14445
  return;
14409
14446
  }
14410
- switch (P == null ? void 0 : P.detail) {
14447
+ switch (N == null ? void 0 : N.detail) {
14411
14448
  case 1:
14412
14449
  switch ((Q = s.varGridConfig.value) == null ? void 0 : Q.operation_on_row_click) {
14413
14450
  case 0:
@@ -14425,9 +14462,9 @@ const KgTable$1 = "", getProps$g = () => ({
14425
14462
  }
14426
14463
  }
14427
14464
  }
14428
- function K(P = {}) {
14465
+ function K(N = {}) {
14429
14466
  KgLogger.debug(`${s.formID} | KgTable | retrieve() | \u6267\u884C\u5F00\u59CB.`, {
14430
- param: P
14467
+ param: N
14431
14468
  });
14432
14469
  const U = watch(o.isReady, (z) => {
14433
14470
  z && (setTimeout(() => U()), Q());
@@ -14442,7 +14479,7 @@ const KgTable$1 = "", getProps$g = () => ({
14442
14479
  });
14443
14480
  return;
14444
14481
  }
14445
- P.isSearchFirstPage && (I.pageIndex = 1), o.store.setIsRetrieving(s.formID, !0);
14482
+ N.isSearchFirstPage && (M.pageIndex = 1), o.store.setIsRetrieving(s.formID, !0);
14446
14483
  try {
14447
14484
  const ce = KgUtil.parseParams(k.value, o.profileFormID.value, t), le = ref({});
14448
14485
  await o.store.emit(s.formID, "beforeRetrieve", {
@@ -14471,9 +14508,9 @@ const KgTable$1 = "", getProps$g = () => ({
14471
14508
  setDatas(he) {
14472
14509
  o.store.setDatas(s.formID, he);
14473
14510
  }
14474
- }), d.value = {}, o.store.setDatas(s.formID, oe.value), I.total = me.value;
14475
- const be = cloneDeep($.value);
14476
- H(), c.value = [], await nextTick(), P.isPreserveSelectedRows ? o.store.setSelectedRows(s.formID, be.map((he) => {
14511
+ }), d.value = {}, o.store.setDatas(s.formID, oe.value), M.total = me.value;
14512
+ const be = cloneDeep(L.value);
14513
+ H(), c.value = [], await nextTick(), N.isPreserveSelectedRows ? o.store.setSelectedRows(s.formID, be.map((he) => {
14477
14514
  var Se;
14478
14515
  return (Se = oe.value) == null ? void 0 : Se.find((Ee) => Ee[o.id.value] === he);
14479
14516
  }).filter((he) => !!he)) : ((ee = s.varGridConfig.value) == null ? void 0 : ee.check_first_row_after_retrieve) === 1 && oe.value.length > 0 && o.store.setSelectedRows(s.formID, [oe.value[0]]), await o.store.emit(s.formID, "retrieve", {
@@ -14490,37 +14527,37 @@ const KgTable$1 = "", getProps$g = () => ({
14490
14527
  }
14491
14528
  }
14492
14529
  }
14493
- function F(P) {
14494
- o.store.setSelectedRows(s.formID, P.map((U) => {
14530
+ function F(N) {
14531
+ o.store.setSelectedRows(s.formID, N.map((U) => {
14495
14532
  var Q;
14496
14533
  return (Q = b.value) == null ? void 0 : Q.find((z) => z[o.id.value] === U);
14497
14534
  }).filter((U) => !!U));
14498
14535
  }
14499
- function Y(P) {
14536
+ function Y(N) {
14500
14537
  var U, Q;
14501
14538
  switch (o.isMultiSelect.value) {
14502
14539
  case !0:
14503
14540
  {
14504
- const z = P[o.id.value];
14505
- $.value.includes(z) ? $.value = without$1($.value, z) : $.value = [...(U = $.value) != null ? U : [], z];
14541
+ const z = N[o.id.value];
14542
+ L.value.includes(z) ? L.value = without$1(L.value, z) : L.value = [...(U = L.value) != null ? U : [], z];
14506
14543
  }
14507
14544
  break;
14508
14545
  case !1:
14509
14546
  {
14510
- const z = P[o.id.value];
14511
- (Q = $.value) != null && Q.includes(z) ? $.value = [] : $.value = [z];
14547
+ const z = N[o.id.value];
14548
+ (Q = L.value) != null && Q.includes(z) ? L.value = [] : L.value = [z];
14512
14549
  }
14513
14550
  break;
14514
14551
  }
14515
- o.store.setSelectedRows(s.formID, $.value.map((z) => {
14552
+ o.store.setSelectedRows(s.formID, L.value.map((z) => {
14516
14553
  var ee;
14517
14554
  return (ee = b.value) == null ? void 0 : ee.find((ce) => ce[o.id.value] === z);
14518
14555
  }).filter((z) => !!z));
14519
14556
  }
14520
- function q(P, U) {
14521
- U.width = P, s.store.setVarGridDetailWidth(s.formID, U.dataIndex, P);
14557
+ function q(N, U) {
14558
+ U.width = N, s.store.setVarGridDetailWidth(s.formID, U.dataIndex, N);
14522
14559
  }
14523
- async function X(P, U, Q, z) {
14560
+ async function X(N, U, Q, z) {
14524
14561
  switch (z.action) {
14525
14562
  case "sort": {
14526
14563
  p.value = Q, await nextTick(), K({
@@ -14532,23 +14569,23 @@ const KgTable$1 = "", getProps$g = () => ({
14532
14569
  d.value = U;
14533
14570
  }
14534
14571
  }
14535
- function J(P, U) {
14572
+ function J(N, U) {
14536
14573
  var z;
14537
14574
  const Q = U[o.id.value];
14538
14575
  switch ((z = s.varGridConfig.value) == null ? void 0 : z.expand_accordion_flg) {
14539
14576
  case 0:
14540
- P ? c.value = uniq([...c.value, Q]) : c.value = without$1(c.value, Q);
14577
+ N ? c.value = uniq([...c.value, Q]) : c.value = without$1(c.value, Q);
14541
14578
  break;
14542
14579
  default:
14543
- P ? c.value = [Q] : c.value = [];
14580
+ N ? c.value = [Q] : c.value = [];
14544
14581
  break;
14545
14582
  }
14546
14583
  }
14547
- function te(P, U) {
14548
- U !== I.pageSize ? (I.pageIndex = 1, I.pageSize = U) : I.pageIndex = P, K();
14584
+ function te(N, U) {
14585
+ U !== M.pageSize ? (M.pageIndex = 1, M.pageSize = U) : M.pageIndex = N, K();
14549
14586
  }
14550
14587
  function ue({
14551
- title: P,
14588
+ title: N,
14552
14589
  column: U
14553
14590
  }) {
14554
14591
  switch (U.dataIndex) {
@@ -14558,24 +14595,24 @@ const KgTable$1 = "", getProps$g = () => ({
14558
14595
  }, null);
14559
14596
  default:
14560
14597
  return createVNode("pre", {
14561
- title: P
14562
- }, [P]);
14598
+ title: N
14599
+ }, [N]);
14563
14600
  }
14564
14601
  }
14565
14602
  function _e() {
14566
- var P;
14567
- return (P = r == null ? void 0 : r.KgTable) != null && P["summary.bodyCell"] ? createVNode(TableSummary, {
14603
+ var N;
14604
+ return (N = r == null ? void 0 : r.KgTable) != null && N["summary.bodyCell"] ? createVNode(TableSummary, {
14568
14605
  fixed: "bottom"
14569
14606
  }, {
14570
14607
  default: () => [createVNode(TableSummary.Row, null, {
14571
14608
  default: () => [O.value && createVNode(TableSummary.Cell, {
14572
14609
  index: 0
14573
- }, null), M.value && createVNode(TableSummary.Cell, {
14610
+ }, null), $.value && createVNode(TableSummary.Cell, {
14574
14611
  index: O.value ? 1 : 0
14575
14612
  }, null), u.value.map((U, Q) => {
14576
14613
  const z = String(U.dataIndex), ee = z ? s.store.getVarGridDetail(s.formID, z) : null, ce = (() => ["left", "center", "right"].includes((ee == null ? void 0 : ee.align) || "") ? ee == null ? void 0 : ee.align : "left")();
14577
14614
  let le = Q;
14578
- return O.value && M.value ? le += 2 : (O.value || M.value) && (le += 1), createVNode(TableSummary.Cell, {
14615
+ return O.value && $.value ? le += 2 : (O.value || $.value) && (le += 1), createVNode(TableSummary.Cell, {
14579
14616
  index: le,
14580
14617
  align: ce
14581
14618
  }, {
@@ -14596,7 +14633,7 @@ const KgTable$1 = "", getProps$g = () => ({
14596
14633
  return !o.isReadAutomatically.value && !o.store.getIsRetrieved(s.formID) ? n.t("kg.KgTable.emptyText") : n.t("kg.emptyText");
14597
14634
  }
14598
14635
  return () => {
14599
- var P, U, Q;
14636
+ var N, U, Q;
14600
14637
  return createVNode("div", {
14601
14638
  class: R.value,
14602
14639
  "kg-frm_id": s.formID,
@@ -14614,10 +14651,10 @@ const KgTable$1 = "", getProps$g = () => ({
14614
14651
  dataSource: b.value,
14615
14652
  loading: y.value,
14616
14653
  rowKey: o.id.value,
14617
- rowClassName: (U = (P = a == null ? void 0 : a.value) == null ? void 0 : P.KgTable) == null ? void 0 : U.kgRowClassName,
14654
+ rowClassName: (U = (N = a == null ? void 0 : a.value) == null ? void 0 : N.KgTable) == null ? void 0 : U.kgRowClassName,
14618
14655
  expandColumnWidth: 28,
14619
14656
  expandedRowKeys: c.value,
14620
- rowSelection: L.value,
14657
+ rowSelection: I.value,
14621
14658
  customRow: (z) => ({
14622
14659
  onClick: (ee) => H(ee, z)
14623
14660
  }),
@@ -14631,23 +14668,23 @@ const KgTable$1 = "", getProps$g = () => ({
14631
14668
  expandedRowRender: (Q = r == null ? void 0 : r.KgTable) == null ? void 0 : Q.expandedRowRender,
14632
14669
  summary: _e
14633
14670
  }), (o.isShowBottomLeft.value || o.isShowBottomRight.value) && createVNode("div", {
14634
- class: B.value
14671
+ class: x.value
14635
14672
  }, [createVNode("div", {
14636
14673
  class: "left"
14637
14674
  }, [o.isShowBottomLeft.value && createVNode(KgTableInfo, {
14638
- kgShowClearCheck: $.value.length > 0,
14639
- kgShowClearTable: I.total > 0,
14640
- kgShowLocate: $.value.length === 1,
14641
- kgTotal: $.value.length,
14675
+ kgShowClearCheck: L.value.length > 0,
14676
+ kgShowClearTable: M.total > 0,
14677
+ kgShowLocate: L.value.length === 1,
14678
+ kgTotal: L.value.length,
14642
14679
  kgDisabled: D.value
14643
14680
  }, null)]), createVNode("div", {
14644
14681
  class: "right"
14645
14682
  }, [o.isShowBottomRight.value && createVNode(Pagination, {
14646
14683
  size: "default",
14647
- current: I.pageIndex,
14648
- pageSize: I.pageSize,
14684
+ current: M.pageIndex,
14685
+ pageSize: M.pageSize,
14649
14686
  pageSizeOptions: o.pageSizeOptions.value.map((z) => String(z)),
14650
- total: I.total,
14687
+ total: M.total,
14651
14688
  showSizeChanger: !0,
14652
14689
  showQuickJumper: !1,
14653
14690
  hideOnSinglePage: !1,
@@ -14885,8 +14922,8 @@ const KgButtonCreate = defineComponent({
14885
14922
  attrs: a
14886
14923
  }) {
14887
14924
  const n = useKg(), s = useKgVar(), l = useKgButton(), o = useKgTable(), i = useKgSubmit(), c = computed(() => s.store.getVarButton(s.formID, e.kgVarName)), u = computed(() => {
14888
- var T, k, A, C, D, w, O, M;
14889
- return s.isUpdating.value || s.isCopying.value || s.isDeleting.value || o.isRetrieving.value || ((T = c.value) == null ? void 0 : T.dis_no_select_flg) === 1 && ((A = (k = o.selectedRows.value) == null ? void 0 : k.length) != null ? A : 0) === 0 || ((C = c.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((w = (D = o.selectedRows.value) == null ? void 0 : D.length) != null ? w : 0) > 1 || ((O = c.value) == null ? void 0 : O.permission_type) === 2 && !n.p((M = c.value) == null ? void 0 : M.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14925
+ var T, k, A, C, D, w, O, $;
14926
+ return s.isUpdating.value || s.isCopying.value || s.isDeleting.value || o.isRetrieving.value || ((T = c.value) == null ? void 0 : T.dis_no_select_flg) === 1 && ((A = (k = o.selectedRows.value) == null ? void 0 : k.length) != null ? A : 0) === 0 || ((C = c.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((w = (D = o.selectedRows.value) == null ? void 0 : D.length) != null ? w : 0) > 1 || ((O = c.value) == null ? void 0 : O.permission_type) === 2 && !n.p(($ = c.value) == null ? void 0 : $.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14890
14927
  }), d = computed(() => !!s.isCreatingRequesting.value);
14891
14928
  async function p() {
14892
14929
  e.onKgClick && await e.onKgClick() || s.store.setIsCreating(s.formID, !0);
@@ -15264,9 +15301,9 @@ const KgButtonCreate = defineComponent({
15264
15301
  });
15265
15302
  if (((C = e.kgButton) == null ? void 0 : C.reload_all_after_done_flg) === 1) {
15266
15303
  if (((D = e.kgButton) == null ? void 0 : D.re_select_after_reload_flg) !== 0 && s.onRetrieve(async ({
15267
- datas: M
15304
+ datas: $
15268
15305
  }) => {
15269
- const L = M.value, R = intersectionWith$1(L, b != null ? b : [], (B, $) => (B == null ? void 0 : B[s.id.value]) === ($ == null ? void 0 : $[s.id.value]));
15306
+ const I = $.value, R = intersectionWith$1(I, b != null ? b : [], (x, L) => (x == null ? void 0 : x[s.id.value]) === (L == null ? void 0 : L[s.id.value]));
15270
15307
  return R.length > 0 && s.store.setSelectedRows(r.formID, R), !1;
15271
15308
  }, !0), await n.store.emit(r.formID, "otherOk", {
15272
15309
  button: e.kgButton,
@@ -15382,8 +15419,8 @@ const KgButtonCreate = defineComponent({
15382
15419
  }
15383
15420
  });
15384
15421
  const c = computed(() => s.store.getVarButton(s.formID, e.kgVarName)), u = computed(() => {
15385
- var T, k, A, C, D, w, O, M;
15386
- return s.isCreating.value || s.isCopying.value || s.isDeleting.value || l.isRetrieving.value || ((T = c.value) == null ? void 0 : T.dis_no_select_flg) === 1 && ((A = (k = l.selectedRows.value) == null ? void 0 : k.length) != null ? A : 0) === 0 || ((C = c.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((w = (D = l.selectedRows.value) == null ? void 0 : D.length) != null ? w : 0) > 1 || ((O = c.value) == null ? void 0 : O.permission_type) === 2 && !n.p((M = c.value) == null ? void 0 : M.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
15422
+ var T, k, A, C, D, w, O, $;
15423
+ return s.isCreating.value || s.isCopying.value || s.isDeleting.value || l.isRetrieving.value || ((T = c.value) == null ? void 0 : T.dis_no_select_flg) === 1 && ((A = (k = l.selectedRows.value) == null ? void 0 : k.length) != null ? A : 0) === 0 || ((C = c.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((w = (D = l.selectedRows.value) == null ? void 0 : D.length) != null ? w : 0) > 1 || ((O = c.value) == null ? void 0 : O.permission_type) === 2 && !n.p(($ = c.value) == null ? void 0 : $.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
15387
15424
  }), d = computed(() => !!s.isUpdatingRequesting.value);
15388
15425
  async function p() {
15389
15426
  e.onKgClick && await e.onKgClick() || await o.store.emit(s.formID, "updateBeforeClick", {
@@ -15790,14 +15827,14 @@ const useKgSearchStore = () => (store$2 || (store$2 = defineStore("KgSearch", {
15790
15827
  isReactive(t) || (r = reactive(t)), this.operatorModelMap.set(e, r);
15791
15828
  },
15792
15829
  patchModel(e, t) {
15793
- return KgLogger.debug(`${e} | KgSearchStore | patchModel() | \u6267\u884C\u5F00\u59CB.`), !e || !t ? Promise.resolve() : new Promise((r) => {
15830
+ return KgLogger.debugDDA(e, "KgSearchStore", "patchModel()", "\u6267\u884C\u5F00\u59CB", { model: t }), !e || !t ? Promise.resolve() : new Promise((r) => {
15794
15831
  const a = watch(
15795
15832
  () => this.modelMap.get(e),
15796
15833
  (n) => {
15797
15834
  n && setTimeout(() => {
15798
15835
  a(), Object.entries(t).forEach(([s, l]) => {
15799
- s in n && (n[s] = l);
15800
- }), KgLogger.debug(`${e} | KgSearchStore | patchModel() | \u6267\u884C\u6210\u529F.`, { model: n }), r();
15836
+ KgLogger.debugDDA(e, "KgSearchStore", "patchModel()", `\u8BBE\u7F6E\u5B57\u6BB5\u7684\u503C: ${s}`, { model: n, key: s, value: l }), s in n && (n[s] = l);
15837
+ }), KgLogger.debugDDA(e, "KgSearchStore", "patchModel()", "\u6267\u884C\u6210\u529F", { model: n }), r();
15801
15838
  });
15802
15839
  },
15803
15840
  { immediate: !0 }
@@ -16176,24 +16213,24 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
16176
16213
  if (E != null && E.id)
16177
16214
  try {
16178
16215
  o.store.setIsLoading(a.formID, !0);
16179
- const M = await QueryByID({
16216
+ const $ = await QueryByID({
16180
16217
  params: {
16181
16218
  id: E.id
16182
16219
  }
16183
16220
  });
16184
16221
  i.value = i.value.map((R) => {
16185
- var $;
16186
- const B = ($ = M == null ? void 0 : M.varProfileDetails) == null ? void 0 : $.find((I) => I.var_nam === R.var_nam);
16187
- return B ? {
16222
+ var L;
16223
+ const x = (L = $ == null ? void 0 : $.varProfileDetails) == null ? void 0 : L.find((M) => M.var_nam === R.var_nam);
16224
+ return x ? {
16188
16225
  ...R,
16189
- ...B,
16226
+ ...x,
16190
16227
  id: R.id
16191
16228
  } : R;
16192
16229
  });
16193
- const L = (C = (A = M == null ? void 0 : M.varProfileDetails) == null ? void 0 : A.map((R) => R.var_nam)) != null ? C : [];
16194
- c.value = i.value.filter((R) => L.includes(R.var_nam)).map((R) => R.id);
16195
- } catch (M) {
16196
- throw M;
16230
+ const I = (C = (A = $ == null ? void 0 : $.varProfileDetails) == null ? void 0 : A.map((R) => R.var_nam)) != null ? C : [];
16231
+ c.value = i.value.filter((R) => I.includes(R.var_nam)).map((R) => R.id);
16232
+ } catch ($) {
16233
+ throw $;
16197
16234
  } finally {
16198
16235
  o.store.setIsLoading(a.formID, !1);
16199
16236
  }
@@ -16552,7 +16589,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
16552
16589
  default:
16553
16590
  return !0;
16554
16591
  }
16555
- }), O = computed(() => !!(n.isRetrieving.value || n.isRetrievingVarProfileMaster.value || c.value && !!n.isOtherRequesting.value)), M = computed(() => !!n.isRetrieving.value || !!n.isRetrievingVarProfileMaster.value), L = computed(() => {
16592
+ }), O = computed(() => !!(n.isRetrieving.value || n.isRetrievingVarProfileMaster.value || c.value && !!n.isOtherRequesting.value)), $ = computed(() => !!n.isRetrieving.value || !!n.isRetrievingVarProfileMaster.value), I = computed(() => {
16556
16593
  let K = "kg-search";
16557
16594
  return o.value && (K += " kg-search--visible"), c.value && (K += " kg-search--teleport"), K;
16558
16595
  });
@@ -16579,7 +16616,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
16579
16616
  })) : (KgLogger.debug(`${n.formID} | KgSearch | onSearch() | \u9690\u85CF\u67E5\u8BE2\u6761\u4EF6\u7EC4\u4EF6.`), await s.store.emit(n.formID, "search", K));
16580
16617
  }
16581
16618
  s.store.setSearchFn(n.formID, R);
16582
- async function B() {
16619
+ async function x() {
16583
16620
  g.initFormModel(), o.value ? y.value && y.value.validate().then(async () => {
16584
16621
  await s.store.emit(n.formID, "reset", {});
16585
16622
  }).catch((K) => {
@@ -16588,13 +16625,13 @@ const KgSearch$1 = "", getProps$9 = () => ({
16588
16625
  });
16589
16626
  }) : await s.store.emit(n.formID, "reset", {});
16590
16627
  }
16591
- s.store.setResetFn(n.formID, B);
16592
- function $() {
16628
+ s.store.setResetFn(n.formID, x);
16629
+ function L() {
16593
16630
  return R({
16594
16631
  isSearchFirstPage: !0
16595
16632
  }), Promise.resolve(!0);
16596
16633
  }
16597
- function I() {
16634
+ function M() {
16598
16635
  var K;
16599
16636
  return createVNode("div", {
16600
16637
  class: "title",
@@ -16639,13 +16676,13 @@ const KgSearch$1 = "", getProps$9 = () => ({
16639
16676
  hostFormID: n.formID
16640
16677
  }, null)]);
16641
16678
  }
16642
- function N() {
16679
+ function P() {
16643
16680
  var K, F, Y, q, X;
16644
16681
  return createVNode(Fragment, null, [V(), !(((K = n.varButtonSearch.value) == null ? void 0 : K.permission_type) !== 2 && !a.p((F = n.varButtonSearch.value) == null ? void 0 : F.permission_code)) && createVNode(Button, {
16645
16682
  type: "primary",
16646
16683
  ghost: !E.value,
16647
16684
  disabled: E.value,
16648
- onClick: B,
16685
+ onClick: x,
16649
16686
  class: "kg-search-btn-reset"
16650
16687
  }, {
16651
16688
  default: () => [createVNode(ReloadOutlined$1, null, null), a.t("kg.reset")]
@@ -16657,12 +16694,12 @@ const KgSearch$1 = "", getProps$9 = () => ({
16657
16694
  kgColor: (X = n.varButtonSearch.value) == null ? void 0 : X.color,
16658
16695
  kgPrimary: w.value,
16659
16696
  kgLoading: k.value,
16660
- onKgClick: $
16697
+ onKgClick: L
16661
16698
  }, null)]);
16662
16699
  }
16663
- function x() {
16700
+ function B() {
16664
16701
  return createVNode(Spin, {
16665
- spinning: M.value
16702
+ spinning: $.value
16666
16703
  }, {
16667
16704
  default: () => {
16668
16705
  var K;
@@ -16699,7 +16736,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
16699
16736
  kgMinHeight: p.value,
16700
16737
  kgMaxHeight: d.value,
16701
16738
  kgDisabled: !i.value,
16702
- kgClass: L.value,
16739
+ kgClass: I.value,
16703
16740
  "kg-frm_id": n.formID
16704
16741
  }, {
16705
16742
  default: () => [o.value && createVNode("div", {
@@ -16715,15 +16752,15 @@ const KgSearch$1 = "", getProps$9 = () => ({
16715
16752
  }, [createVNode(Spin, {
16716
16753
  spinning: O.value
16717
16754
  }, {
16718
- default: () => [I(), createVNode("div", {
16755
+ default: () => [M(), createVNode("div", {
16719
16756
  class: "ant-collapse-extra"
16720
- }, [N()])]
16757
+ }, [P()])]
16721
16758
  })])]
16722
16759
  }), createVNode("div", {
16723
16760
  class: "ant-collapse-content ant-collapse-content-active"
16724
16761
  }, [createVNode("div", {
16725
16762
  class: "ant-collapse-content-box"
16726
- }, [x()])])])])]
16763
+ }, [B()])])])])]
16727
16764
  });
16728
16765
  }
16729
16766
  });
@@ -17206,11 +17243,11 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17206
17243
  }, {
17207
17244
  immediate: !0
17208
17245
  }), watch(() => a.getSelectedVarCatalog, async (R) => {
17209
- var B, $;
17210
- i.value.var_text = (B = R == null ? void 0 : R.var_text) != null ? B : "", ($ = o.value) == null || $.clearValidate();
17246
+ var x, L;
17247
+ i.value.var_text = (x = R == null ? void 0 : R.var_text) != null ? x : "", (L = o.value) == null || L.clearValidate();
17211
17248
  });
17212
17249
  async function E(R = !1) {
17213
- var B, $, I;
17250
+ var x, L, M;
17214
17251
  n.value = !0;
17215
17252
  try {
17216
17253
  const {
@@ -17220,19 +17257,19 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17220
17257
  pageNo: 1,
17221
17258
  pageSize: 999,
17222
17259
  frm_id: e == null ? void 0 : e.value,
17223
- var_nam: (B = a.getSelectedVar) == null ? void 0 : B.var_nam,
17260
+ var_nam: (x = a.getSelectedVar) == null ? void 0 : x.var_nam,
17224
17261
  column: "frm_id,locale_id,cust_lvl",
17225
17262
  order: "asc"
17226
17263
  }
17227
17264
  });
17228
17265
  if (u.value = null, c.value = V != null ? V : [], R) {
17229
- const N = c.value.find((x) => {
17266
+ const P = c.value.find((B) => {
17230
17267
  var H;
17231
- return x.id === ((H = a.getSelectedVarCatalog) == null ? void 0 : H.id);
17268
+ return B.id === ((H = a.getSelectedVarCatalog) == null ? void 0 : H.id);
17232
17269
  });
17233
- a.setSelectedVarCatalog(N != null ? N : null), d.value = N != null && N.id ? [N.id] : [];
17270
+ a.setSelectedVarCatalog(P != null ? P : null), d.value = P != null && P.id ? [P.id] : [];
17234
17271
  } else
17235
- a.setSelectedVarCatalog(($ = c.value[0]) != null ? $ : null), d.value = (I = c.value[0]) != null && I.id ? [c.value[0].id] : [];
17272
+ a.setSelectedVarCatalog((L = c.value[0]) != null ? L : null), d.value = (M = c.value[0]) != null && M.id ? [c.value[0].id] : [];
17236
17273
  } catch (V) {
17237
17274
  KgLogger.debug(V == null ? void 0 : V.message);
17238
17275
  } finally {
@@ -17240,57 +17277,57 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17240
17277
  }
17241
17278
  }
17242
17279
  async function T() {
17243
- var R, B, $;
17280
+ var R, x, L;
17244
17281
  try {
17245
17282
  s.value = !0, await ((R = o.value) == null ? void 0 : R.validate());
17246
- const I = new VarCatalog({
17247
- ...(B = a.getSelectedVarCatalog) != null ? B : {},
17248
- var_text: ($ = i.value) == null ? void 0 : $.var_text
17283
+ const M = new VarCatalog({
17284
+ ...(x = a.getSelectedVarCatalog) != null ? x : {},
17285
+ var_text: (L = i.value) == null ? void 0 : L.var_text
17249
17286
  });
17250
- I.id ? I.cust_lvl === KG_CUSTOM_LEVEL.L0 ? (I.cust_lvl = KG_CUSTOM_LEVEL.L10, Reflect.deleteProperty(I, "id"), await Add({
17251
- data: I
17287
+ M.id ? M.cust_lvl === KG_CUSTOM_LEVEL.L0 ? (M.cust_lvl = KG_CUSTOM_LEVEL.L10, Reflect.deleteProperty(M, "id"), await Add({
17288
+ data: M
17252
17289
  }, {
17253
17290
  successMessageMode: "none"
17254
17291
  }), message.success({
17255
17292
  content: t.t("kg.KgVarConfig.createSuccess")
17256
17293
  }), await E()) : (await Edit({
17257
- data: I
17294
+ data: M
17258
17295
  }, {
17259
17296
  successMessageMode: "none"
17260
17297
  }), message.success({
17261
17298
  content: t.t("kg.KgVarConfig.saveSuccess")
17262
17299
  }), await E(!0)) : (await Add({
17263
- data: I
17300
+ data: M
17264
17301
  }, {
17265
17302
  successMessageMode: "none"
17266
17303
  }), message.success({
17267
17304
  content: t.t("kg.KgVarConfig.createSuccess")
17268
17305
  }), await E()), r.retrieve(e == null ? void 0 : e.value);
17269
- } catch (I) {
17270
- KgUtil.throwIfNotFormError(I);
17306
+ } catch (M) {
17307
+ KgUtil.throwIfNotFormError(M);
17271
17308
  } finally {
17272
17309
  s.value = !1;
17273
17310
  }
17274
17311
  }
17275
17312
  function k({
17276
17313
  isAllForm: R,
17277
- isAllLanguage: B
17314
+ isAllLanguage: x
17278
17315
  }) {
17279
- var $, I, V;
17316
+ var L, M, V;
17280
17317
  u.value = new VarCatalog({
17281
17318
  id: "",
17282
17319
  cust_lvl: KG_CUSTOM_LEVEL.L10,
17283
- grp_nam: ($ = a.getSelectedVar) == null ? void 0 : $.grp_nam,
17284
- var_nam: (I = a.getSelectedVar) == null ? void 0 : I.var_nam,
17320
+ grp_nam: (L = a.getSelectedVar) == null ? void 0 : L.grp_nam,
17321
+ var_nam: (M = a.getSelectedVar) == null ? void 0 : M.var_nam,
17285
17322
  frm_id: R || !(e != null && e.value) ? "ALL" : e == null ? void 0 : e.value,
17286
- locale_id: B ? "ALL" : (V = t.locale) == null ? void 0 : V.value,
17323
+ locale_id: x ? "ALL" : (V = t.locale) == null ? void 0 : V.value,
17287
17324
  var_text: ""
17288
17325
  }), c.value = [...c.value, u.value], a.setSelectedVarCatalog(unref(u)), d.value = [""];
17289
17326
  }
17290
17327
  function A() {
17291
- var B;
17328
+ var x;
17292
17329
  c.value = without$1(c.value, u.value), u.value = null;
17293
- const R = (B = c.value[0]) != null ? B : null;
17330
+ const R = (x = c.value[0]) != null ? x : null;
17294
17331
  a.setSelectedVarCatalog(R), d.value = R ? [R.id] : [];
17295
17332
  }
17296
17333
  function C() {
@@ -17311,8 +17348,8 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17311
17348
  });
17312
17349
  }
17313
17350
  function D(R) {
17314
- var B;
17315
- ((B = a.getSelectedVarCatalog) == null ? void 0 : B.id) !== R.id && (unref(u) ? KgUtil.confirm({
17351
+ var x;
17352
+ ((x = a.getSelectedVarCatalog) == null ? void 0 : x.id) !== R.id && (unref(u) ? KgUtil.confirm({
17316
17353
  content: t.t("kg.KgVarConfig.discardConfirmMessage"),
17317
17354
  onOk: () => {
17318
17355
  c.value = without$1(c.value, u.value), u.value = null, a.setSelectedVarCatalog(unref(R)), d.value = [R.id];
@@ -17341,8 +17378,8 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17341
17378
  default: () => [createVNode(DeleteOutlined$1, null, null), t.t("common.delText")]
17342
17379
  })]);
17343
17380
  }
17344
- function M() {
17345
- let R, B;
17381
+ function $() {
17382
+ let R, x;
17346
17383
  return createVNode("div", {
17347
17384
  class: "form"
17348
17385
  }, [createVNode(Form, {
@@ -17359,7 +17396,7 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17359
17396
  }, {
17360
17397
  default: () => [createVNode(Textarea, {
17361
17398
  value: i.value.var_text,
17362
- "onUpdate:value": ($) => i.value.var_text = $,
17399
+ "onUpdate:value": (L) => i.value.var_text = L,
17363
17400
  disabled: !a.getSelectedVarCatalog
17364
17401
  }, null), createVNode("button", {
17365
17402
  hidden: !0
@@ -17377,14 +17414,14 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17377
17414
  disabled: b.value,
17378
17415
  onClick: T,
17379
17416
  type: "primary"
17380
- }, _isSlot(B = t.t("common.save")) ? B : {
17381
- default: () => [B]
17417
+ }, _isSlot(x = t.t("common.save")) ? x : {
17418
+ default: () => [x]
17382
17419
  })])]);
17383
17420
  }
17384
- function L(R) {
17385
- var $;
17386
- let B = "";
17387
- return R.id || (B += " ant-table-row-create"), R.id === (($ = a.getSelectedVarCatalog) == null ? void 0 : $.id) && (B += " ant-table-row-selected "), B;
17421
+ function I(R) {
17422
+ var L;
17423
+ let x = "";
17424
+ return R.id || (x += " ant-table-row-create"), R.id === ((L = a.getSelectedVarCatalog) == null ? void 0 : L.id) && (x += " ant-table-row-selected "), x;
17388
17425
  }
17389
17426
  return () => createVNode("div", {
17390
17427
  class: "kg-var-config-modal-var-var-catalog"
@@ -17400,12 +17437,12 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17400
17437
  rowKey: "id",
17401
17438
  dataSource: c.value,
17402
17439
  loading: n.value,
17403
- rowClassName: L,
17440
+ rowClassName: I,
17404
17441
  rowSelection: p.value,
17405
17442
  customRow: (R) => ({
17406
17443
  onClick: () => D(R)
17407
17444
  })
17408
- }, null), M(), createVNode(KgVarConfigModalVarCreateModal, {
17445
+ }, null), $(), createVNode(KgVarConfigModalVarCreateModal, {
17409
17446
  visible: v.value.visible,
17410
17447
  "onUpdate:visible": (R) => v.value.visible = R,
17411
17448
  onKgOk: k
@@ -17741,8 +17778,8 @@ const KgWarehouse$1 = "", getProps = () => ({
17741
17778
  var A;
17742
17779
  const k = (A = s.value) == null ? void 0 : A.toUpperCase();
17743
17780
  return u.value.filter((C) => {
17744
- var D, w, O, M, L, R;
17745
- return ((w = (D = C.whDsc) == null ? void 0 : D.toUpperCase()) == null ? void 0 : w.includes(k)) || ((M = (O = C.whId) == null ? void 0 : O.toUpperCase()) == null ? void 0 : M.includes(k)) || ((R = (L = C.adrId) == null ? void 0 : L.toUpperCase()) == null ? void 0 : R.includes(k));
17781
+ var D, w, O, $, I, R;
17782
+ return ((w = (D = C.whDsc) == null ? void 0 : D.toUpperCase()) == null ? void 0 : w.includes(k)) || (($ = (O = C.whId) == null ? void 0 : O.toUpperCase()) == null ? void 0 : $.includes(k)) || ((R = (I = C.adrId) == null ? void 0 : I.toUpperCase()) == null ? void 0 : R.includes(k));
17746
17783
  });
17747
17784
  }), p = computed(() => {
17748
17785
  var k;