@kengic/vue 0.11.0 → 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 +518 -467
  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.0", 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 P = String($);
3944
- return !P || P.length >= I ? $ : "" + Array(I + 1 - P.length).join(V) + $;
3945
- }, k = { s: T, z: function($) {
3946
- var I = -$.utcOffset(), V = Math.abs(I), P = Math.floor(V / 60), x = V % 60;
3947
- return (I <= 0 ? "+" : "-") + T(P, 2, "0") + ":" + T(x, 2, "0");
3948
- }, m: function $(I, V) {
3949
- if (I.date() < V.date())
3950
- return -$(V, I);
3951
- var P = 12 * (V.year() - I.year()) + (V.month() - I.month()), x = I.clone().add(P, d), H = V - x < 0, K = I.clone().add(P + (H ? -1 : 1), d);
3952
- return +(-(P + (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, P) {
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 !P && x && (A = x), x || !P && 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) {
3991
+ var M = L.prototype;
3992
+ return M.parse = function(V) {
3993
3993
  this.$d = function(P) {
3994
- var x = P.date, H = P.utc;
3995
- if (x === null)
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, P) {
4018
- var x = M(V);
4019
- return this.startOf(P) <= x && x <= this.endOf(P);
4020
- }, I.isAfter = function(V, P) {
4021
- return M(V) < this.startOf(P);
4022
- }, I.isBefore = function(V, P) {
4023
- return this.endOf(P) < M(V);
4024
- }, I.$g = function(V, P, x) {
4025
- return L.u(V) ? this[P] : 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, P) {
4031
- var x = this, H = !!L.u(P) || P, K = L.p(V), F = function(fe, ae) {
4032
- var N = L.w(x.$u ? Date.UTC(x.$y, ae, fe) : new Date(x.$y, ae, fe), x);
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
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, P) {
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 + (P - this.$W) : P;
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, P) {
4067
+ }, M.set = function(V, P) {
4068
4068
  return this.clone().$set(V, P);
4069
- }, I.get = function(V) {
4070
- return this[L.p(V)]();
4071
- }, I.add = function(V, P) {
4072
- var x, H = this;
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(P), 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,18 +4083,18 @@ 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, P) {
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
4089
  return this.add(-1 * V, P);
4090
- }, I.format = function(V) {
4091
- var P = this, x = this.$locale();
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, N, U, 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
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");
4097
+ return I.s(F % 12 || 12, ae, "0");
4098
4098
  }, fe = te || function(ae, N, U) {
4099
4099
  var Q = ae < 12 ? "AM" : "PM";
4100
4100
  return U ? Q.toLowerCase() : Q;
@@ -4105,31 +4105,31 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
4105
4105
  case "YY":
4106
4106
  return String(P.$y).slice(-2);
4107
4107
  case "YYYY":
4108
- return L.s(P.$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
4118
  return P.$D;
4119
4119
  case "DD":
4120
- return L.s(P.$D, 2, "0");
4120
+ return I.s(P.$D, 2, "0");
4121
4121
  case "d":
4122
4122
  return String(P.$W);
4123
4123
  case "dd":
4124
- return ue(x.weekdaysMin, P.$W, X, 2);
4124
+ return ue(B.weekdaysMin, P.$W, X, 2);
4125
4125
  case "ddd":
4126
- return ue(x.weekdaysShort, P.$W, X, 3);
4126
+ return ue(B.weekdaysShort, P.$W, X, 3);
4127
4127
  case "dddd":
4128
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
4146
  return String(P.$s);
4147
4147
  case "ss":
4148
- return L.s(P.$s, 2, "0");
4148
+ return I.s(P.$s, 2, "0");
4149
4149
  case "SSS":
4150
- return L.s(P.$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, P, x) {
4160
- var H, K = this, F = L.p(P), 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, P) {
4196
+ }, M.locale = function(V, P) {
4197
4197
  if (!V)
4198
4198
  return this.$L;
4199
- var x = this.clone(), H = O(V, P, !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,7 +9483,7 @@ 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)), P = 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
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));
@@ -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
9514
  currentVarProfileMaster: P,
9508
- currentVarProfileDetails: x,
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, P, 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 = (P = d.value) == null ? void 0 : P.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), P = 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(() => {
@@ -11620,7 +11657,9 @@ const getProps$p = () => ({
11620
11657
  isDeleting: s.isDeleting.value,
11621
11658
  row: o.selectedFirstRow.value,
11622
11659
  model: i.model
11623
- }), s.store.setIsCreating(s.formID, !1), c.search(!0);
11660
+ }), s.store.setIsCreating(s.formID, !1), c.search({
11661
+ isSearchFirstPage: !0
11662
+ });
11624
11663
  } catch (ne) {
11625
11664
  console.error(ne), i.store.emit(s.formID, "error", ne);
11626
11665
  } finally {
@@ -11663,7 +11702,9 @@ const getProps$p = () => ({
11663
11702
  isDeleting: s.isDeleting.value,
11664
11703
  row: o.selectedFirstRow.value,
11665
11704
  model: i.model
11666
- }), s.store.setIsUpdating(s.formID, !1), c.search();
11705
+ }), s.store.setIsUpdating(s.formID, !1), c.search({
11706
+ isPreserveSelectedRows: !0
11707
+ });
11667
11708
  } catch (ne) {
11668
11709
  console.error(ne), i.store.emit(s.formID, "error", ne);
11669
11710
  } finally {
@@ -11709,7 +11750,9 @@ const getProps$p = () => ({
11709
11750
  isDeleting: s.isDeleting.value,
11710
11751
  row: o.selectedFirstRow.value,
11711
11752
  model: i.model
11712
- }), s.store.setIsCopying(s.formID, !1), c.search(!0);
11753
+ }), s.store.setIsCopying(s.formID, !1), c.search({
11754
+ isSearchFirstPage: !0
11755
+ });
11713
11756
  } catch (pe) {
11714
11757
  console.error(pe), i.store.emit(s.formID, "error", pe);
11715
11758
  } finally {
@@ -11762,7 +11805,9 @@ const getProps$p = () => ({
11762
11805
  isDeleting: s.isDeleting.value,
11763
11806
  row: o.selectedFirstRow.value,
11764
11807
  model: i.model
11765
- }), s.store.setIsDeleting(s.formID, !1), c.search(!0);
11808
+ }), s.store.setIsDeleting(s.formID, !1), c.search({
11809
+ isSearchFirstPage: !0
11810
+ });
11766
11811
  } catch (ye) {
11767
11812
  console.error(ye), i.store.emit(s.formID, "error", ye);
11768
11813
  } finally {
@@ -11809,7 +11854,7 @@ const getProps$p = () => ({
11809
11854
  kgMinWidth: H.value,
11810
11855
  kgMaxWidth: K.value,
11811
11856
  kgWidth: F.value,
11812
- kgDisabled: x.value,
11857
+ kgDisabled: B.value,
11813
11858
  "onUpdate:kgWidth": (Z) => P.value.kgWidth = Z
11814
11859
  }, {
11815
11860
  default: () => [createVNode(Spin, {
@@ -11824,11 +11869,11 @@ const getProps$p = () => ({
11824
11869
  }, {
11825
11870
  default: () => [createVNode("div", {
11826
11871
  ref: Y
11827
- }, [M.value.length > 0 && createVNode(Row, {
11872
+ }, [$.value.length > 0 && createVNode(Row, {
11828
11873
  gutter: 12
11829
- }, _isSlot$9(G = M.value.map(be)) ? G : {
11874
+ }, _isSlot$9(G = $.value.map(be)) ? G : {
11830
11875
  default: () => [G]
11831
- }), 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, {
11832
11877
  gutter: 12
11833
11878
  }, _isSlot$9(W = R.value.map(be)) ? W : {
11834
11879
  default: () => [W]
@@ -11843,15 +11888,15 @@ const getProps$p = () => ({
11843
11888
  let G, W;
11844
11889
  return createVNode("div", null, [createVNode(Button, {
11845
11890
  type: "primary",
11846
- ghost: !I.value,
11847
- disabled: I.value,
11891
+ ghost: !M.value,
11892
+ disabled: M.value,
11848
11893
  onClick: z
11849
11894
  }, _isSlot$9(G = n.t("kg.cancel")) ? G : {
11850
11895
  default: () => [G]
11851
11896
  }), createVNode(Button, {
11852
11897
  type: "primary",
11853
11898
  disabled: V.value,
11854
- loading: $.value,
11899
+ loading: L.value,
11855
11900
  danger: !!s.isDeleting.value,
11856
11901
  onClick: ee
11857
11902
  }, _isSlot$9(W = n.t(s.isDeleting.value ? "kg.delete" : "kg.save")) ? W : {
@@ -13199,7 +13244,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
13199
13244
  row: A,
13200
13245
  model: C
13201
13246
  }) => {
13202
- var w, O, M, L, R;
13247
+ var w, O, $, I, R;
13203
13248
  const D = a.store.getSystemVarGridDetails(a.formID);
13204
13249
  switch (c.value = D ? cloneDeep(unref(toRaw(D))) : [], !0) {
13205
13250
  case E: {
@@ -13211,24 +13256,24 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
13211
13256
  if (A != null && A.id)
13212
13257
  try {
13213
13258
  o.store.setIsLoading(n.formID, !0);
13214
- const B = await QueryByID$1({
13259
+ const x = await QueryByID$1({
13215
13260
  params: {
13216
13261
  id: A.id
13217
13262
  }
13218
13263
  });
13219
- c.value = c.value.map((I) => {
13264
+ c.value = c.value.map((M) => {
13220
13265
  var P;
13221
- const V = (P = B == null ? void 0 : B.varGridDetails) == null ? void 0 : P.find((x) => x.var_nam === I.var_nam);
13266
+ const V = (P = x == null ? void 0 : x.varGridDetails) == null ? void 0 : P.find((B) => B.var_nam === M.var_nam);
13222
13267
  return V ? {
13223
- ...I,
13268
+ ...M,
13224
13269
  ...V,
13225
- id: I.id
13226
- } : I;
13270
+ id: M.id
13271
+ } : M;
13227
13272
  });
13228
- const $ = (O = (w = B == null ? void 0 : B.varGridDetails) == null ? void 0 : w.map((I) => I.var_nam)) != null ? O : [];
13229
- u.value = c.value.filter((I) => $.includes(I.var_nam)).map((I) => I.id);
13230
- } catch (B) {
13231
- 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;
13232
13277
  } finally {
13233
13278
  o.store.setIsLoading(n.formID, !1);
13234
13279
  }
@@ -13239,7 +13284,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
13239
13284
  }
13240
13285
  switch (!0) {
13241
13286
  case k: {
13242
- 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";
13243
13288
  break;
13244
13289
  }
13245
13290
  }
@@ -13312,9 +13357,9 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
13312
13357
  onItemSelectAll: C,
13313
13358
  onItemSelect: D
13314
13359
  }) => {
13315
- const w = T.sort((O, M) => {
13316
- var L, R;
13317
- 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);
13318
13363
  });
13319
13364
  return d.value = w, createVNode(Table, {
13320
13365
  pagination: !1,
@@ -13328,10 +13373,10 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$m = () => ({
13328
13373
  rowKey: "id",
13329
13374
  dataSource: w,
13330
13375
  customRow: (O) => {
13331
- let M = {
13332
- onClick: (L) => b(L, O, E, k)
13376
+ let $ = {
13377
+ onClick: (I) => b(I, O, E, k)
13333
13378
  };
13334
- 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), $;
13335
13380
  },
13336
13381
  rowSelection: g({
13337
13382
  disabled: A,
@@ -13614,10 +13659,10 @@ const getProps$j = () => ({
13614
13659
  var w;
13615
13660
  let C, D;
13616
13661
  return createVNode(Fragment, null, [(w = n.varGridMasters.value) == null ? void 0 : w.map((O) => {
13617
- var M;
13662
+ var $;
13618
13663
  return createVNode(Menu.Item, {
13619
13664
  key: O.id,
13620
- 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" : "",
13621
13666
  "kg-var_nam": O.grd_var_nam,
13622
13667
  onClick: () => _(O)
13623
13668
  }, {
@@ -13655,7 +13700,7 @@ const getProps$j = () => ({
13655
13700
  popupClassName: "kg-table-setting--submenu-popup--row-height"
13656
13701
  }, {
13657
13702
  default: () => {
13658
- let O, M, L;
13703
+ let O, $, I;
13659
13704
  return createVNode(Fragment, null, [createVNode(Menu.Item, {
13660
13705
  key: "L",
13661
13706
  class: u.value === "L" ? "selected" : "",
@@ -13666,14 +13711,14 @@ const getProps$j = () => ({
13666
13711
  key: "M",
13667
13712
  class: u.value === "M" ? "selected" : "",
13668
13713
  onClick: () => s.store.setRowHeight(n.formID, "M")
13669
- }, _isSlot$6(M = a.t("kg.KgTable.rowHeightM")) ? M : {
13670
- default: () => [M]
13714
+ }, _isSlot$6($ = a.t("kg.KgTable.rowHeightM")) ? $ : {
13715
+ default: () => [$]
13671
13716
  }), createVNode(Menu.Item, {
13672
13717
  key: "H",
13673
13718
  class: u.value === "H" ? "selected" : "",
13674
13719
  onClick: () => s.store.setRowHeight(n.formID, "H")
13675
- }, _isSlot$6(L = a.t("kg.KgTable.rowHeightH")) ? L : {
13676
- default: () => [L]
13720
+ }, _isSlot$6(I = a.t("kg.KgTable.rowHeightH")) ? I : {
13721
+ default: () => [I]
13677
13722
  })]);
13678
13723
  },
13679
13724
  expandIcon: () => createVNode(CaretRightOutlined$1, null, null)
@@ -13785,8 +13830,8 @@ const getProps$h = () => ({
13785
13830
  switch ((A = i.value) == null ? void 0 : A.display_type) {
13786
13831
  case KG_TABLE_CELL_DISPLAY_TYPE.DESC:
13787
13832
  {
13788
- const M = KgUtil.tryParseJSON((C = i.value) == null ? void 0 : C.display_type_properties);
13789
- 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;
13790
13835
  }
13791
13836
  break;
13792
13837
  }
@@ -13843,19 +13888,19 @@ const getProps$h = () => ({
13843
13888
  });
13844
13889
  }
13845
13890
  function E() {
13846
- var k, A, C, D, w, O, M, L, R, B, $;
13891
+ var k, A, C, D, w, O, $, I, R, x, L;
13847
13892
  if (u.value)
13848
13893
  return b();
13849
13894
  switch ((k = i.value) == null ? void 0 : k.display_type) {
13850
13895
  case KG_TABLE_CELL_DISPLAY_TYPE.YN: {
13851
- 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);
13852
13897
  return createVNode(KgYesOrNo, {
13853
- kgValue: isNil(e.kgValue) ? void 0 : e.kgValue === ((C = I.yValue) != null ? C : 1),
13854
- kgNilAsFalse: I.nilAsFalse
13898
+ kgValue: isNil(e.kgValue) ? void 0 : e.kgValue === ((C = M.yValue) != null ? C : 1),
13899
+ kgNilAsFalse: M.nilAsFalse
13855
13900
  }, null);
13856
13901
  }
13857
13902
  case KG_TABLE_CELL_DISPLAY_TYPE.ENUM: {
13858
- const I = KgUtil.tryParseJSON((D = i.value) == null ? void 0 : D.display_type_properties), V = isArrayLike(I) && I.find((P) => P.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);
13859
13904
  if (V) {
13860
13905
  const P = n.t(V.varName).value;
13861
13906
  return P ? createVNode(Tag, {
@@ -13867,11 +13912,11 @@ const getProps$h = () => ({
13867
13912
  return T();
13868
13913
  }
13869
13914
  case KG_TABLE_CELL_DISPLAY_TYPE.DESC: {
13870
- const I = KgUtil.tryParseJSON((O = i.value) == null ? void 0 : O.display_type_properties);
13871
- if (I.isTag && isArrayLike(I.tagColors)) {
13872
- const V = I.tagColors.find((P) => P.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);
13873
13918
  return v.value ? createVNode(Tag, {
13874
- color: (M = V == null ? void 0 : V.color) != null ? M : "default"
13919
+ color: ($ = V == null ? void 0 : V.color) != null ? $ : "default"
13875
13920
  }, {
13876
13921
  default: () => [v.value]
13877
13922
  }) : T();
@@ -13879,15 +13924,15 @@ const getProps$h = () => ({
13879
13924
  return T();
13880
13925
  }
13881
13926
  case KG_TABLE_CELL_DISPLAY_TYPE.PROGRESS: {
13882
- 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;
13883
13928
  switch (e.kgContext) {
13884
13929
  case KG_TABLE_CELL_CONTEXT.TABLE_FILTER:
13885
13930
  return V;
13886
13931
  case KG_TABLE_CELL_CONTEXT.TABLE_CELL:
13887
13932
  return createVNode(KgProgressA, {
13888
- kgTextWidth: I.textWidth,
13933
+ kgTextWidth: M.textWidth,
13889
13934
  kgLeft: V,
13890
- kgRight: ($ = e.kgRow) == null ? void 0 : $[I.rightColumn]
13935
+ kgRight: (L = e.kgRow) == null ? void 0 : L[M.rightColumn]
13891
13936
  }, null);
13892
13937
  }
13893
13938
  break;
@@ -13997,15 +14042,15 @@ function _useColumns(e) {
13997
14042
  index: C
13998
14043
  }) => C + 1
13999
14044
  }, ...(A = b == null ? void 0 : b.map((C, D) => {
14000
- var P, x, H;
14045
+ var P, B, H;
14001
14046
  const w = C.var_nam;
14002
14047
  function O() {
14003
14048
  return C.width === "auto" ? "auto" : Number(C.width) || KG_TABLE_TD_DEFAULT_WIDTH;
14004
14049
  }
14005
- function M() {
14050
+ function $() {
14006
14051
  return r.t(w).value;
14007
14052
  }
14008
- function L() {
14053
+ function I() {
14009
14054
  if (C.fix_left_flg === 1)
14010
14055
  return "left";
14011
14056
  if (C.fix_right_flg === 1)
@@ -14015,7 +14060,7 @@ function _useColumns(e) {
14015
14060
  var K, F, Y, q;
14016
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);
14017
14062
  }
14018
- function B() {
14063
+ function x() {
14019
14064
  var K, F, Y, q, X, J;
14020
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))
14021
14066
  return uniqBy(y.map((te) => {
@@ -14033,11 +14078,11 @@ function _useColumns(e) {
14033
14078
  };
14034
14079
  }), "value");
14035
14080
  }
14036
- function $() {
14081
+ function L() {
14037
14082
  var K, F, Y;
14038
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;
14039
14084
  }
14040
- function I() {
14085
+ function M() {
14041
14086
  return ["left", "center", "right"].includes(C.align || "") ? C.align : "left";
14042
14087
  }
14043
14088
  const V = O();
@@ -14058,17 +14103,17 @@ function _useColumns(e) {
14058
14103
  return {
14059
14104
  key: w,
14060
14105
  dataIndex: w,
14061
- title: M(),
14106
+ title: $(),
14062
14107
  width: V,
14063
14108
  resizable: typeof V == "number",
14064
14109
  minWidth: KG_TABLE_TD_MIN_WIDTH,
14065
14110
  maxWidth: KG_TABLE_TD_MAX_WIDTH,
14066
- align: I(),
14067
- fixed: L(),
14111
+ align: M(),
14112
+ fixed: I(),
14068
14113
  sorter: R(),
14069
- sortOrder: ((P = i.value) == null ? void 0 : P.field) === w && (H = (x = i.value) == null ? void 0 : x.order) != null ? H : null,
14070
- filteredValue: $(),
14071
- 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(),
14072
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,
14073
14118
  customHeaderCell: () => ({
14074
14119
  "kg-frm_id": r.formID,
@@ -14098,7 +14143,9 @@ function _useColumns(e) {
14098
14143
  let p = null;
14099
14144
  return watch(r.currentVarGridMasteID, (v, y) => {
14100
14145
  i.value = {}, p == null || p(), p = watch(i, () => {
14101
- p(), p = null, a.search(!0);
14146
+ p(), p = null, a.search({
14147
+ isSearchFirstPage: !0
14148
+ });
14102
14149
  }, {
14103
14150
  deep: !0
14104
14151
  });
@@ -14255,17 +14302,17 @@ const KgTable$1 = "", getProps$g = () => ({
14255
14302
  if (U[0] === s.formID) {
14256
14303
  const Q = U[1], z = U[2], ee = Q[o.id.value];
14257
14304
  switch (!0) {
14258
- case (z && !$.value.includes(ee)):
14259
- F([...$.value, ee]);
14305
+ case (z && !L.value.includes(ee)):
14306
+ F([...L.value, ee]);
14260
14307
  break;
14261
- case (!z && $.value.includes(ee)):
14262
- F(without$1($.value, ee));
14308
+ case (!z && L.value.includes(ee)):
14309
+ F(without$1(L.value, ee));
14263
14310
  break;
14264
14311
  }
14265
14312
  }
14266
14313
  break;
14267
14314
  case "clearDatas":
14268
- 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 = []);
14269
14316
  break;
14270
14317
  }
14271
14318
  });
@@ -14289,8 +14336,8 @@ const KgTable$1 = "", getProps$g = () => ({
14289
14336
  }), k = computed(() => {
14290
14337
  var U, Q, z, ee, ce, le, oe, me, be;
14291
14338
  let N = {
14292
- pageNo: I.pageIndex,
14293
- pageSize: I.pageSize,
14339
+ pageNo: M.pageIndex,
14340
+ pageSize: M.pageSize,
14294
14341
  column: (Q = (U = p.value) == null ? void 0 : U.field) != null ? Q : void 0,
14295
14342
  order: p.value.order === "ascend" ? "asc" : p.value.order === "descend" ? "desc" : void 0,
14296
14343
  ...(ee = (z = l.model) == null ? void 0 : z.value) != null ? ee : {}
@@ -14314,19 +14361,19 @@ const KgTable$1 = "", getProps$g = () => ({
14314
14361
  return (z = (Q = a == null ? void 0 : a.value) == null ? void 0 : Q.KgTable) == null ? void 0 : z.kgCheckboxDisabled;
14315
14362
  if (!isNil(e.kgCheckboxDisabled))
14316
14363
  return e.kgCheckboxDisabled;
14317
- }), 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(() => {
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(() => {
14318
14365
  var N;
14319
14366
  return !!((N = r == null ? void 0 : r.KgTable) != null && N.expandedRowRender);
14320
- }), M = computed(() => {
14367
+ }), $ = computed(() => {
14321
14368
  var N;
14322
14369
  return ((N = s.varGridConfig.value) == null ? void 0 : N.show_check_column_flg) === 1;
14323
- }), L = computed(() => {
14324
- if (!!M.value)
14370
+ }), I = computed(() => {
14371
+ if (!!$.value)
14325
14372
  return {
14326
14373
  fixed: "left",
14327
14374
  columnWidth: KG_TABLE_TD_CHECK_WIDTH,
14328
14375
  hideSelectAll: !o.isMultiSelect.value,
14329
- selectedRowKeys: $,
14376
+ selectedRowKeys: L,
14330
14377
  preserveSelectedRowKeys: !1,
14331
14378
  getCheckboxProps: (N) => {
14332
14379
  var U;
@@ -14352,21 +14399,21 @@ const KgTable$1 = "", getProps$g = () => ({
14352
14399
  break;
14353
14400
  }
14354
14401
  return N;
14355
- }), B = computed(() => {
14402
+ }), x = computed(() => {
14356
14403
  var U;
14357
14404
  let N = "kg-table-bottom";
14358
14405
  return ((U = s.varGridConfig.value) == null ? void 0 : U.show_bottom_border_flg) === 1 && (N += " kg-table-bottom--border"), N;
14359
- }), $ = (ae = o.store.getSelectedRowKeys(s.formID)) != null ? ae : ref([]), I = reactive({
14406
+ }), L = (ae = o.store.getSelectedRowKeys(s.formID)) != null ? ae : ref([]), M = reactive({
14360
14407
  pageIndex: 1,
14361
14408
  pageSize: 10,
14362
14409
  total: 0
14363
14410
  }), V = watch(o.pageSizeOption, (N) => {
14364
- N && (setTimeout(() => V()), I.pageSize = N, o.store.emit(s.formID, "ready", {}), o.store.setIsReady(s.formID, !0));
14411
+ N && (setTimeout(() => V()), M.pageSize = N, o.store.emit(s.formID, "ready", {}), o.store.setIsReady(s.formID, !0));
14365
14412
  }, {
14366
14413
  immediate: !0
14367
14414
  });
14368
14415
  watch(o.pageSizeOptions, (N) => {
14369
- N.length > 0 && !N.includes(I.pageSize) && (I.pageSize = o.pageSizeOption.value);
14416
+ N.length > 0 && !N.includes(M.pageSize) && (M.pageSize = o.pageSizeOption.value);
14370
14417
  }), watch([T, o.isReadAutomatically, l.isReady], ([N, U, Q]) => {
14371
14418
  N && U && Q && !o.store.getIsRetrieved(s.formID) && K({
14372
14419
  isSearchFirstPage: !0
@@ -14374,7 +14421,7 @@ const KgTable$1 = "", getProps$g = () => ({
14374
14421
  }, {
14375
14422
  immediate: !0
14376
14423
  }), watch(s.isCreating, (N, U) => {
14377
- N === !0 ? P() : N === !1 && U === !0 && x();
14424
+ N === !0 ? P() : N === !1 && U === !0 && B();
14378
14425
  }), onUnmounted(() => {
14379
14426
  o.store.dispose(s.formID);
14380
14427
  });
@@ -14386,13 +14433,13 @@ const KgTable$1 = "", getProps$g = () => ({
14386
14433
  o.store.setDatas(s.formID, [N, ...b.value]), o.store.setSelectedRows(s.formID, [N]);
14387
14434
  }
14388
14435
  }
14389
- function x() {
14436
+ function B() {
14390
14437
  const N = b.value.find((U) => U[o.id.value] === KG_TABLE_TEMP_ID);
14391
14438
  N && (o.store.setDatas(s.formID, without$1(b.value, N)), o.store.setSelectedRows(s.formID, []));
14392
14439
  }
14393
14440
  function H(N, U) {
14394
14441
  var Q;
14395
- 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) {
14396
14443
  if (!U) {
14397
14444
  o.store.setSelectedRows(s.formID, []);
14398
14445
  return;
@@ -14432,7 +14479,7 @@ const KgTable$1 = "", getProps$g = () => ({
14432
14479
  });
14433
14480
  return;
14434
14481
  }
14435
- N.isSearchFirstPage && (I.pageIndex = 1), o.store.setIsRetrieving(s.formID, !0);
14482
+ N.isSearchFirstPage && (M.pageIndex = 1), o.store.setIsRetrieving(s.formID, !0);
14436
14483
  try {
14437
14484
  const ce = KgUtil.parseParams(k.value, o.profileFormID.value, t), le = ref({});
14438
14485
  await o.store.emit(s.formID, "beforeRetrieve", {
@@ -14461,8 +14508,8 @@ const KgTable$1 = "", getProps$g = () => ({
14461
14508
  setDatas(he) {
14462
14509
  o.store.setDatas(s.formID, he);
14463
14510
  }
14464
- }), d.value = {}, o.store.setDatas(s.formID, oe.value), I.total = me.value;
14465
- const be = cloneDeep($.value);
14511
+ }), d.value = {}, o.store.setDatas(s.formID, oe.value), M.total = me.value;
14512
+ const be = cloneDeep(L.value);
14466
14513
  H(), c.value = [], await nextTick(), N.isPreserveSelectedRows ? o.store.setSelectedRows(s.formID, be.map((he) => {
14467
14514
  var Se;
14468
14515
  return (Se = oe.value) == null ? void 0 : Se.find((Ee) => Ee[o.id.value] === he);
@@ -14492,17 +14539,17 @@ const KgTable$1 = "", getProps$g = () => ({
14492
14539
  case !0:
14493
14540
  {
14494
14541
  const z = N[o.id.value];
14495
- $.value.includes(z) ? $.value = without$1($.value, z) : $.value = [...(U = $.value) != null ? U : [], z];
14542
+ L.value.includes(z) ? L.value = without$1(L.value, z) : L.value = [...(U = L.value) != null ? U : [], z];
14496
14543
  }
14497
14544
  break;
14498
14545
  case !1:
14499
14546
  {
14500
14547
  const z = N[o.id.value];
14501
- (Q = $.value) != null && Q.includes(z) ? $.value = [] : $.value = [z];
14548
+ (Q = L.value) != null && Q.includes(z) ? L.value = [] : L.value = [z];
14502
14549
  }
14503
14550
  break;
14504
14551
  }
14505
- o.store.setSelectedRows(s.formID, $.value.map((z) => {
14552
+ o.store.setSelectedRows(s.formID, L.value.map((z) => {
14506
14553
  var ee;
14507
14554
  return (ee = b.value) == null ? void 0 : ee.find((ce) => ce[o.id.value] === z);
14508
14555
  }).filter((z) => !!z));
@@ -14535,7 +14582,7 @@ const KgTable$1 = "", getProps$g = () => ({
14535
14582
  }
14536
14583
  }
14537
14584
  function te(N, U) {
14538
- U !== I.pageSize ? (I.pageIndex = 1, I.pageSize = U) : I.pageIndex = N, K();
14585
+ U !== M.pageSize ? (M.pageIndex = 1, M.pageSize = U) : M.pageIndex = N, K();
14539
14586
  }
14540
14587
  function ue({
14541
14588
  title: N,
@@ -14560,12 +14607,12 @@ const KgTable$1 = "", getProps$g = () => ({
14560
14607
  default: () => [createVNode(TableSummary.Row, null, {
14561
14608
  default: () => [O.value && createVNode(TableSummary.Cell, {
14562
14609
  index: 0
14563
- }, null), M.value && createVNode(TableSummary.Cell, {
14610
+ }, null), $.value && createVNode(TableSummary.Cell, {
14564
14611
  index: O.value ? 1 : 0
14565
14612
  }, null), u.value.map((U, Q) => {
14566
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")();
14567
14614
  let le = Q;
14568
- 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, {
14569
14616
  index: le,
14570
14617
  align: ce
14571
14618
  }, {
@@ -14607,7 +14654,7 @@ const KgTable$1 = "", getProps$g = () => ({
14607
14654
  rowClassName: (U = (N = a == null ? void 0 : a.value) == null ? void 0 : N.KgTable) == null ? void 0 : U.kgRowClassName,
14608
14655
  expandColumnWidth: 28,
14609
14656
  expandedRowKeys: c.value,
14610
- rowSelection: L.value,
14657
+ rowSelection: I.value,
14611
14658
  customRow: (z) => ({
14612
14659
  onClick: (ee) => H(ee, z)
14613
14660
  }),
@@ -14621,23 +14668,23 @@ const KgTable$1 = "", getProps$g = () => ({
14621
14668
  expandedRowRender: (Q = r == null ? void 0 : r.KgTable) == null ? void 0 : Q.expandedRowRender,
14622
14669
  summary: _e
14623
14670
  }), (o.isShowBottomLeft.value || o.isShowBottomRight.value) && createVNode("div", {
14624
- class: B.value
14671
+ class: x.value
14625
14672
  }, [createVNode("div", {
14626
14673
  class: "left"
14627
14674
  }, [o.isShowBottomLeft.value && createVNode(KgTableInfo, {
14628
- kgShowClearCheck: $.value.length > 0,
14629
- kgShowClearTable: I.total > 0,
14630
- kgShowLocate: $.value.length === 1,
14631
- 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,
14632
14679
  kgDisabled: D.value
14633
14680
  }, null)]), createVNode("div", {
14634
14681
  class: "right"
14635
14682
  }, [o.isShowBottomRight.value && createVNode(Pagination, {
14636
14683
  size: "default",
14637
- current: I.pageIndex,
14638
- pageSize: I.pageSize,
14684
+ current: M.pageIndex,
14685
+ pageSize: M.pageSize,
14639
14686
  pageSizeOptions: o.pageSizeOptions.value.map((z) => String(z)),
14640
- total: I.total,
14687
+ total: M.total,
14641
14688
  showSizeChanger: !0,
14642
14689
  showQuickJumper: !1,
14643
14690
  hideOnSinglePage: !1,
@@ -14875,8 +14922,8 @@ const KgButtonCreate = defineComponent({
14875
14922
  attrs: a
14876
14923
  }) {
14877
14924
  const n = useKg(), s = useKgVar(), l = useKgButton(), o = useKgTable(), i = useKgSubmit(), c = computed(() => s.store.getVarButton(s.formID, e.kgVarName)), u = computed(() => {
14878
- var T, k, A, C, D, w, O, M;
14879
- 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;
14880
14927
  }), d = computed(() => !!s.isCreatingRequesting.value);
14881
14928
  async function p() {
14882
14929
  e.onKgClick && await e.onKgClick() || s.store.setIsCreating(s.formID, !0);
@@ -15098,7 +15145,9 @@ const KgButtonCreate = defineComponent({
15098
15145
  ignoreCancelToken: !0
15099
15146
  }
15100
15147
  });
15101
- message.success(a.t("kg.importSuccess")), s.search(!0);
15148
+ message.success(a.t("kg.importSuccess")), s.search({
15149
+ isSearchFirstPage: !0
15150
+ });
15102
15151
  } catch (b) {
15103
15152
  throw b;
15104
15153
  } finally {
@@ -15252,16 +15301,18 @@ const KgButtonCreate = defineComponent({
15252
15301
  });
15253
15302
  if (((C = e.kgButton) == null ? void 0 : C.reload_all_after_done_flg) === 1) {
15254
15303
  if (((D = e.kgButton) == null ? void 0 : D.re_select_after_reload_flg) !== 0 && s.onRetrieve(async ({
15255
- datas: M
15304
+ datas: $
15256
15305
  }) => {
15257
- 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]));
15258
15307
  return R.length > 0 && s.store.setSelectedRows(r.formID, R), !1;
15259
15308
  }, !0), await n.store.emit(r.formID, "otherOk", {
15260
15309
  button: e.kgButton,
15261
15310
  data: w
15262
15311
  }))
15263
15312
  return;
15264
- a.search(!0);
15313
+ a.search({
15314
+ isSearchFirstPage: !0
15315
+ });
15265
15316
  } else if (await n.store.emit(r.formID, "otherOk", {
15266
15317
  button: e.kgButton,
15267
15318
  data: w
@@ -15368,8 +15419,8 @@ const KgButtonCreate = defineComponent({
15368
15419
  }
15369
15420
  });
15370
15421
  const c = computed(() => s.store.getVarButton(s.formID, e.kgVarName)), u = computed(() => {
15371
- var T, k, A, C, D, w, O, M;
15372
- 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;
15373
15424
  }), d = computed(() => !!s.isUpdatingRequesting.value);
15374
15425
  async function p() {
15375
15426
  e.onKgClick && await e.onKgClick() || await o.store.emit(s.formID, "updateBeforeClick", {
@@ -15776,14 +15827,14 @@ const useKgSearchStore = () => (store$2 || (store$2 = defineStore("KgSearch", {
15776
15827
  isReactive(t) || (r = reactive(t)), this.operatorModelMap.set(e, r);
15777
15828
  },
15778
15829
  patchModel(e, t) {
15779
- 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) => {
15780
15831
  const a = watch(
15781
15832
  () => this.modelMap.get(e),
15782
15833
  (n) => {
15783
15834
  n && setTimeout(() => {
15784
15835
  a(), Object.entries(t).forEach(([s, l]) => {
15785
- s in n && (n[s] = l);
15786
- }), 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();
15787
15838
  });
15788
15839
  },
15789
15840
  { immediate: !0 }
@@ -16162,24 +16213,24 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
16162
16213
  if (E != null && E.id)
16163
16214
  try {
16164
16215
  o.store.setIsLoading(a.formID, !0);
16165
- const M = await QueryByID({
16216
+ const $ = await QueryByID({
16166
16217
  params: {
16167
16218
  id: E.id
16168
16219
  }
16169
16220
  });
16170
16221
  i.value = i.value.map((R) => {
16171
- var $;
16172
- const B = ($ = M == null ? void 0 : M.varProfileDetails) == null ? void 0 : $.find((I) => I.var_nam === R.var_nam);
16173
- 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 ? {
16174
16225
  ...R,
16175
- ...B,
16226
+ ...x,
16176
16227
  id: R.id
16177
16228
  } : R;
16178
16229
  });
16179
- const L = (C = (A = M == null ? void 0 : M.varProfileDetails) == null ? void 0 : A.map((R) => R.var_nam)) != null ? C : [];
16180
- c.value = i.value.filter((R) => L.includes(R.var_nam)).map((R) => R.id);
16181
- } catch (M) {
16182
- 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 $;
16183
16234
  } finally {
16184
16235
  o.store.setIsLoading(a.formID, !1);
16185
16236
  }
@@ -16538,7 +16589,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
16538
16589
  default:
16539
16590
  return !0;
16540
16591
  }
16541
- }), 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(() => {
16542
16593
  let K = "kg-search";
16543
16594
  return o.value && (K += " kg-search--visible"), c.value && (K += " kg-search--teleport"), K;
16544
16595
  });
@@ -16565,7 +16616,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
16565
16616
  })) : (KgLogger.debug(`${n.formID} | KgSearch | onSearch() | \u9690\u85CF\u67E5\u8BE2\u6761\u4EF6\u7EC4\u4EF6.`), await s.store.emit(n.formID, "search", K));
16566
16617
  }
16567
16618
  s.store.setSearchFn(n.formID, R);
16568
- async function B() {
16619
+ async function x() {
16569
16620
  g.initFormModel(), o.value ? y.value && y.value.validate().then(async () => {
16570
16621
  await s.store.emit(n.formID, "reset", {});
16571
16622
  }).catch((K) => {
@@ -16574,13 +16625,13 @@ const KgSearch$1 = "", getProps$9 = () => ({
16574
16625
  });
16575
16626
  }) : await s.store.emit(n.formID, "reset", {});
16576
16627
  }
16577
- s.store.setResetFn(n.formID, B);
16578
- function $() {
16628
+ s.store.setResetFn(n.formID, x);
16629
+ function L() {
16579
16630
  return R({
16580
16631
  isSearchFirstPage: !0
16581
16632
  }), Promise.resolve(!0);
16582
16633
  }
16583
- function I() {
16634
+ function M() {
16584
16635
  var K;
16585
16636
  return createVNode("div", {
16586
16637
  class: "title",
@@ -16631,7 +16682,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
16631
16682
  type: "primary",
16632
16683
  ghost: !E.value,
16633
16684
  disabled: E.value,
16634
- onClick: B,
16685
+ onClick: x,
16635
16686
  class: "kg-search-btn-reset"
16636
16687
  }, {
16637
16688
  default: () => [createVNode(ReloadOutlined$1, null, null), a.t("kg.reset")]
@@ -16643,12 +16694,12 @@ const KgSearch$1 = "", getProps$9 = () => ({
16643
16694
  kgColor: (X = n.varButtonSearch.value) == null ? void 0 : X.color,
16644
16695
  kgPrimary: w.value,
16645
16696
  kgLoading: k.value,
16646
- onKgClick: $
16697
+ onKgClick: L
16647
16698
  }, null)]);
16648
16699
  }
16649
- function x() {
16700
+ function B() {
16650
16701
  return createVNode(Spin, {
16651
- spinning: M.value
16702
+ spinning: $.value
16652
16703
  }, {
16653
16704
  default: () => {
16654
16705
  var K;
@@ -16685,7 +16736,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
16685
16736
  kgMinHeight: p.value,
16686
16737
  kgMaxHeight: d.value,
16687
16738
  kgDisabled: !i.value,
16688
- kgClass: L.value,
16739
+ kgClass: I.value,
16689
16740
  "kg-frm_id": n.formID
16690
16741
  }, {
16691
16742
  default: () => [o.value && createVNode("div", {
@@ -16701,7 +16752,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
16701
16752
  }, [createVNode(Spin, {
16702
16753
  spinning: O.value
16703
16754
  }, {
16704
- default: () => [I(), createVNode("div", {
16755
+ default: () => [M(), createVNode("div", {
16705
16756
  class: "ant-collapse-extra"
16706
16757
  }, [P()])]
16707
16758
  })])]
@@ -16709,7 +16760,7 @@ const KgSearch$1 = "", getProps$9 = () => ({
16709
16760
  class: "ant-collapse-content ant-collapse-content-active"
16710
16761
  }, [createVNode("div", {
16711
16762
  class: "ant-collapse-content-box"
16712
- }, [x()])])])])]
16763
+ }, [B()])])])])]
16713
16764
  });
16714
16765
  }
16715
16766
  });
@@ -17192,11 +17243,11 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17192
17243
  }, {
17193
17244
  immediate: !0
17194
17245
  }), watch(() => a.getSelectedVarCatalog, async (R) => {
17195
- var B, $;
17196
- 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();
17197
17248
  });
17198
17249
  async function E(R = !1) {
17199
- var B, $, I;
17250
+ var x, L, M;
17200
17251
  n.value = !0;
17201
17252
  try {
17202
17253
  const {
@@ -17206,19 +17257,19 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17206
17257
  pageNo: 1,
17207
17258
  pageSize: 999,
17208
17259
  frm_id: e == null ? void 0 : e.value,
17209
- var_nam: (B = a.getSelectedVar) == null ? void 0 : B.var_nam,
17260
+ var_nam: (x = a.getSelectedVar) == null ? void 0 : x.var_nam,
17210
17261
  column: "frm_id,locale_id,cust_lvl",
17211
17262
  order: "asc"
17212
17263
  }
17213
17264
  });
17214
17265
  if (u.value = null, c.value = V != null ? V : [], R) {
17215
- const P = c.value.find((x) => {
17266
+ const P = c.value.find((B) => {
17216
17267
  var H;
17217
- return x.id === ((H = a.getSelectedVarCatalog) == null ? void 0 : H.id);
17268
+ return B.id === ((H = a.getSelectedVarCatalog) == null ? void 0 : H.id);
17218
17269
  });
17219
17270
  a.setSelectedVarCatalog(P != null ? P : null), d.value = P != null && P.id ? [P.id] : [];
17220
17271
  } else
17221
- 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] : [];
17222
17273
  } catch (V) {
17223
17274
  KgLogger.debug(V == null ? void 0 : V.message);
17224
17275
  } finally {
@@ -17226,57 +17277,57 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17226
17277
  }
17227
17278
  }
17228
17279
  async function T() {
17229
- var R, B, $;
17280
+ var R, x, L;
17230
17281
  try {
17231
17282
  s.value = !0, await ((R = o.value) == null ? void 0 : R.validate());
17232
- const I = new VarCatalog({
17233
- ...(B = a.getSelectedVarCatalog) != null ? B : {},
17234
- 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
17235
17286
  });
17236
- I.id ? I.cust_lvl === KG_CUSTOM_LEVEL.L0 ? (I.cust_lvl = KG_CUSTOM_LEVEL.L10, Reflect.deleteProperty(I, "id"), await Add({
17237
- 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
17238
17289
  }, {
17239
17290
  successMessageMode: "none"
17240
17291
  }), message.success({
17241
17292
  content: t.t("kg.KgVarConfig.createSuccess")
17242
17293
  }), await E()) : (await Edit({
17243
- data: I
17294
+ data: M
17244
17295
  }, {
17245
17296
  successMessageMode: "none"
17246
17297
  }), message.success({
17247
17298
  content: t.t("kg.KgVarConfig.saveSuccess")
17248
17299
  }), await E(!0)) : (await Add({
17249
- data: I
17300
+ data: M
17250
17301
  }, {
17251
17302
  successMessageMode: "none"
17252
17303
  }), message.success({
17253
17304
  content: t.t("kg.KgVarConfig.createSuccess")
17254
17305
  }), await E()), r.retrieve(e == null ? void 0 : e.value);
17255
- } catch (I) {
17256
- KgUtil.throwIfNotFormError(I);
17306
+ } catch (M) {
17307
+ KgUtil.throwIfNotFormError(M);
17257
17308
  } finally {
17258
17309
  s.value = !1;
17259
17310
  }
17260
17311
  }
17261
17312
  function k({
17262
17313
  isAllForm: R,
17263
- isAllLanguage: B
17314
+ isAllLanguage: x
17264
17315
  }) {
17265
- var $, I, V;
17316
+ var L, M, V;
17266
17317
  u.value = new VarCatalog({
17267
17318
  id: "",
17268
17319
  cust_lvl: KG_CUSTOM_LEVEL.L10,
17269
- grp_nam: ($ = a.getSelectedVar) == null ? void 0 : $.grp_nam,
17270
- 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,
17271
17322
  frm_id: R || !(e != null && e.value) ? "ALL" : e == null ? void 0 : e.value,
17272
- 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,
17273
17324
  var_text: ""
17274
17325
  }), c.value = [...c.value, u.value], a.setSelectedVarCatalog(unref(u)), d.value = [""];
17275
17326
  }
17276
17327
  function A() {
17277
- var B;
17328
+ var x;
17278
17329
  c.value = without$1(c.value, u.value), u.value = null;
17279
- const R = (B = c.value[0]) != null ? B : null;
17330
+ const R = (x = c.value[0]) != null ? x : null;
17280
17331
  a.setSelectedVarCatalog(R), d.value = R ? [R.id] : [];
17281
17332
  }
17282
17333
  function C() {
@@ -17297,8 +17348,8 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17297
17348
  });
17298
17349
  }
17299
17350
  function D(R) {
17300
- var B;
17301
- ((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({
17302
17353
  content: t.t("kg.KgVarConfig.discardConfirmMessage"),
17303
17354
  onOk: () => {
17304
17355
  c.value = without$1(c.value, u.value), u.value = null, a.setSelectedVarCatalog(unref(R)), d.value = [R.id];
@@ -17327,8 +17378,8 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17327
17378
  default: () => [createVNode(DeleteOutlined$1, null, null), t.t("common.delText")]
17328
17379
  })]);
17329
17380
  }
17330
- function M() {
17331
- let R, B;
17381
+ function $() {
17382
+ let R, x;
17332
17383
  return createVNode("div", {
17333
17384
  class: "form"
17334
17385
  }, [createVNode(Form, {
@@ -17345,7 +17396,7 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17345
17396
  }, {
17346
17397
  default: () => [createVNode(Textarea, {
17347
17398
  value: i.value.var_text,
17348
- "onUpdate:value": ($) => i.value.var_text = $,
17399
+ "onUpdate:value": (L) => i.value.var_text = L,
17349
17400
  disabled: !a.getSelectedVarCatalog
17350
17401
  }, null), createVNode("button", {
17351
17402
  hidden: !0
@@ -17363,14 +17414,14 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17363
17414
  disabled: b.value,
17364
17415
  onClick: T,
17365
17416
  type: "primary"
17366
- }, _isSlot(B = t.t("common.save")) ? B : {
17367
- default: () => [B]
17417
+ }, _isSlot(x = t.t("common.save")) ? x : {
17418
+ default: () => [x]
17368
17419
  })])]);
17369
17420
  }
17370
- function L(R) {
17371
- var $;
17372
- let B = "";
17373
- 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;
17374
17425
  }
17375
17426
  return () => createVNode("div", {
17376
17427
  class: "kg-var-config-modal-var-var-catalog"
@@ -17386,12 +17437,12 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
17386
17437
  rowKey: "id",
17387
17438
  dataSource: c.value,
17388
17439
  loading: n.value,
17389
- rowClassName: L,
17440
+ rowClassName: I,
17390
17441
  rowSelection: p.value,
17391
17442
  customRow: (R) => ({
17392
17443
  onClick: () => D(R)
17393
17444
  })
17394
- }, null), M(), createVNode(KgVarConfigModalVarCreateModal, {
17445
+ }, null), $(), createVNode(KgVarConfigModalVarCreateModal, {
17395
17446
  visible: v.value.visible,
17396
17447
  "onUpdate:visible": (R) => v.value.visible = R,
17397
17448
  onKgOk: k
@@ -17727,8 +17778,8 @@ const KgWarehouse$1 = "", getProps = () => ({
17727
17778
  var A;
17728
17779
  const k = (A = s.value) == null ? void 0 : A.toUpperCase();
17729
17780
  return u.value.filter((C) => {
17730
- var D, w, O, M, L, R;
17731
- 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));
17732
17783
  });
17733
17784
  }), p = computed(() => {
17734
17785
  var k;