@kengic/vue 0.16.2 → 0.16.3

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/kengic-vue.js +584 -580
  2. package/package.json +8 -8
  3. package/dist/src/apis/WMS/Controllers/VarContextController/Add.d.ts +0 -16
  4. package/dist/src/apis/WMS/Controllers/VarContextController/Delete.d.ts +0 -18
  5. package/dist/src/apis/WMS/Controllers/VarContextController/DeleteBatch.d.ts +0 -18
  6. package/dist/src/apis/WMS/Controllers/VarContextController/Edit.d.ts +0 -16
  7. package/dist/src/apis/WMS/Controllers/VarContextController/ExportXls.d.ts +0 -24
  8. package/dist/src/apis/WMS/Controllers/VarContextController/ImportExcel.d.ts +0 -15
  9. package/dist/src/apis/WMS/Controllers/VarContextController/List.d.ts +0 -31
  10. package/dist/src/apis/WMS/Controllers/VarContextController/QueryById.d.ts +0 -19
  11. package/dist/src/apis/WMS/Controllers/VarContextController/index.d.ts +0 -8
  12. package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +0 -19
  13. package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +0 -1
  14. package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +0 -19
  15. package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +0 -16
  16. package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +0 -2
  17. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +0 -19
  18. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +0 -1
  19. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Add.d.ts +0 -16
  20. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Delete.d.ts +0 -18
  21. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/DeleteBatch.d.ts +0 -18
  22. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Edit.d.ts +0 -16
  23. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ExportXls.d.ts +0 -30
  24. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ImportExcel.d.ts +0 -15
  25. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/List.d.ts +0 -37
  26. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/QueryById.d.ts +0 -19
  27. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/index.d.ts +0 -8
  28. package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +0 -52
  29. package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +0 -1
  30. package/dist/src/apis/WMS/Controllers/index.d.ts +0 -6
  31. package/dist/src/apis/WMS/index.d.ts +0 -2
  32. package/dist/src/apis/WMS/models.d.ts +0 -726
  33. package/dist/src/apis/api.d.ts +0 -1
  34. package/dist/src/apis/def.d.ts +0 -1
  35. package/dist/src/apis/index.d.ts +0 -2
  36. package/dist/src/assets/icons/material-symbols.save-as-outline-rounded.d.ts +0 -6
  37. package/dist/src/assets/icons/material-symbols.save-outline-rounded.d.ts +0 -6
  38. package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +0 -47
  39. package/dist/src/components/KgAppSelect/index.d.ts +0 -3
  40. package/dist/src/components/KgAppSelect/index.hooks.d.ts +0 -19
  41. package/dist/src/components/KgAppSelect/index.store.d.ts +0 -59
  42. package/dist/src/components/KgButton/KgButton.Item.d.ts +0 -41
  43. package/dist/src/components/KgButton/KgButton.Item.data.d.ts +0 -31
  44. package/dist/src/components/KgButton/KgButton.d.ts +0 -34
  45. package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +0 -39
  46. package/dist/src/components/KgButton/components/KgButton.Create.d.ts +0 -39
  47. package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +0 -40
  48. package/dist/src/components/KgButton/components/KgButton.Export.d.ts +0 -39
  49. package/dist/src/components/KgButton/components/KgButton.Import.d.ts +0 -39
  50. package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +0 -39
  51. package/dist/src/components/KgButton/components/KgButton.Other.d.ts +0 -40
  52. package/dist/src/components/KgButton/components/KgButton.Search.d.ts +0 -40
  53. package/dist/src/components/KgButton/components/KgButton.Update.d.ts +0 -39
  54. package/dist/src/components/KgButton/index.d.ts +0 -62
  55. package/dist/src/components/KgButton/index.hooks.d.ts +0 -61
  56. package/dist/src/components/KgButton/index.store.d.ts +0 -89
  57. package/dist/src/components/KgForm/KgForm.d.ts +0 -414
  58. package/dist/src/components/KgForm/index.d.ts +0 -604
  59. package/dist/src/components/KgForm/index.hooks.d.ts +0 -34
  60. package/dist/src/components/KgForm/index.store.d.ts +0 -83
  61. package/dist/src/components/KgForm/index.vm.d.ts +0 -9
  62. package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +0 -95
  63. package/dist/src/components/KgForm.Item/KgForm.Item.hooks.d.ts +0 -17
  64. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -17
  65. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +0 -32
  66. package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +0 -94
  67. package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +0 -96
  68. package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +0 -95
  69. package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +0 -95
  70. package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +0 -94
  71. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +0 -94
  72. package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +0 -95
  73. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +0 -98
  74. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.hooks.d.ts +0 -26
  75. package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +0 -94
  76. package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +0 -94
  77. package/dist/src/components/KgForm.Item/index.d.ts +0 -2
  78. package/dist/src/components/KgForm.Item/index.vm.d.ts +0 -116
  79. package/dist/src/components/KgModal/KgModal.d.ts +0 -395
  80. package/dist/src/components/KgModal/components/KgModal.Close.d.ts +0 -41
  81. package/dist/src/components/KgModal/index.d.ts +0 -2
  82. package/dist/src/components/KgModal/index.vm.d.ts +0 -194
  83. package/dist/src/components/KgProgressA/KgProgressA.d.ts +0 -85
  84. package/dist/src/components/KgProgressA/index.d.ts +0 -1
  85. package/dist/src/components/KgResizable/KgResizable.d.ts +0 -143
  86. package/dist/src/components/KgResizable/index.d.ts +0 -1
  87. package/dist/src/components/KgSearch/KgSearch.d.ts +0 -42
  88. package/dist/src/components/KgSearch/KgSearch.hooks.d.ts +0 -39
  89. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.Body.d.ts +0 -22
  90. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileConfig.d.ts +0 -14
  91. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.d.ts +0 -24
  92. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.hooks.d.ts +0 -7
  93. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +0 -31
  94. package/dist/src/components/KgSearch/index.d.ts +0 -3
  95. package/dist/src/components/KgSearch/index.hooks.d.ts +0 -41
  96. package/dist/src/components/KgSearch/index.store.d.ts +0 -86
  97. package/dist/src/components/KgSearch/index.vm.d.ts +0 -1
  98. package/dist/src/components/KgSubmit/KgSubmit.d.ts +0 -41
  99. package/dist/src/components/KgSubmit/KgSubmit.hooks.d.ts +0 -20
  100. package/dist/src/components/KgSubmit/components/KgSubmit.Header.VarSubmitConfig.d.ts +0 -28
  101. package/dist/src/components/KgSubmit/components/KgSubmit.Header.d.ts +0 -82
  102. package/dist/src/components/KgSubmit/index.d.ts +0 -4
  103. package/dist/src/components/KgSubmit/index.hooks.d.ts +0 -63
  104. package/dist/src/components/KgSubmit/index.store.d.ts +0 -129
  105. package/dist/src/components/KgSubmit/index.vm.d.ts +0 -10
  106. package/dist/src/components/KgTable/KgTable.d.ts +0 -39
  107. package/dist/src/components/KgTable/KgTable.hooks.d.ts +0 -43
  108. package/dist/src/components/KgTable/components/KgTable.Cell.d.ts +0 -61
  109. package/dist/src/components/KgTable/components/KgTable.Info.d.ts +0 -58
  110. package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -5
  111. package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +0 -22
  112. package/dist/src/components/KgTable/components/setting/KgTable.Setting.hooks.d.ts +0 -14
  113. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.Body.d.ts +0 -22
  114. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridConfig.d.ts +0 -26
  115. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.d.ts +0 -24
  116. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts +0 -23
  117. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -32
  118. package/dist/src/components/KgTable/index.d.ts +0 -4
  119. package/dist/src/components/KgTable/index.hooks.d.ts +0 -68
  120. package/dist/src/components/KgTable/index.store.d.ts +0 -153
  121. package/dist/src/components/KgTable/index.vm.d.ts +0 -146
  122. package/dist/src/components/KgVar/KgVar.d.ts +0 -28
  123. package/dist/src/components/KgVar/index.d.ts +0 -4
  124. package/dist/src/components/KgVar/index.hooks.d.ts +0 -88
  125. package/dist/src/components/KgVar/index.store.d.ts +0 -315
  126. package/dist/src/components/KgVar/index.store.service.d.ts +0 -21
  127. package/dist/src/components/KgVar/index.vm.d.ts +0 -43
  128. package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +0 -2
  129. package/dist/src/components/KgVarConfig/components/KgVarConfig.FormIDsModal.d.ts +0 -24
  130. package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +0 -17
  131. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -25
  132. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -29
  133. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +0 -22
  134. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitField.d.ts +0 -25
  135. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +0 -22
  136. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -33
  137. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.d.ts +0 -3
  138. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.data.d.ts +0 -3
  139. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.d.ts +0 -3
  140. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.data.d.ts +0 -3
  141. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.d.ts +0 -3
  142. package/dist/src/components/KgVarConfig/index.d.ts +0 -2
  143. package/dist/src/components/KgVarConfig/index.store.d.ts +0 -20
  144. package/dist/src/components/KgVarConfig/index.vm.d.ts +0 -3
  145. package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +0 -38
  146. package/dist/src/components/KgWarehouse/index.d.ts +0 -4
  147. package/dist/src/components/KgWarehouse/index.guard.d.ts +0 -8
  148. package/dist/src/components/KgWarehouse/index.hooks.d.ts +0 -22
  149. package/dist/src/components/KgWarehouse/index.store.d.ts +0 -53
  150. package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +0 -60
  151. package/dist/src/components/KgYesOrNo/index.d.ts +0 -1
  152. package/dist/src/components/index.d.ts +0 -16
  153. package/dist/src/components/util.d.ts +0 -14
  154. package/dist/src/config/index.d.ts +0 -3
  155. package/dist/src/config/index.hooks.d.ts +0 -43
  156. package/dist/src/config/index.store.d.ts +0 -184
  157. package/dist/src/config/setup.d.ts +0 -43
  158. package/dist/src/consts/i18n/en.d.ts +0 -194
  159. package/dist/src/consts/i18n/index.d.ts +0 -2
  160. package/dist/src/consts/i18n/zh_CN.d.ts +0 -193
  161. package/dist/src/consts/index.d.ts +0 -244
  162. package/dist/src/consts/index.vm.d.ts +0 -45
  163. package/dist/src/consts/injection-keys.const.d.ts +0 -9
  164. package/dist/src/helpers/ant-design-vue.d.ts +0 -316
  165. package/dist/src/helpers/tsx.helper.d.ts +0 -13
  166. package/dist/src/index.d.ts +0 -8
  167. package/dist/src/services/http-client.d.ts +0 -46
  168. package/dist/src/services/index.d.ts +0 -1
  169. package/dist/src/utils/index.d.ts +0 -6
  170. package/dist/src/utils/kg-auth.util.d.ts +0 -14
  171. package/dist/src/utils/kg-dom.util.d.ts +0 -12
  172. package/dist/src/utils/kg-logger.util.d.ts +0 -67
  173. package/dist/src/utils/kg-route.util.d.ts +0 -43
  174. package/dist/src/utils/kg-var.util.d.ts +0 -36
  175. package/dist/src/utils/kg.util.d.ts +0 -113
@@ -391,7 +391,7 @@ var KG_APP = /* @__PURE__ */ ((e) => (e.WMS_DATA_MANAGER = "data-manager", e.WMS
391
391
  const KG_APPS = ["data-manager", "business-manager", "wcs", "sys"];
392
392
  var KG_APP_PREFIX = /* @__PURE__ */ ((e) => (e.WMS_DATA_MANAGER = "/wms/data-manager", e.WMS_BUSINESS_MANAGER = "/wms/business-manager", e.WCS = "/wcs", e.SYS = "/sys", e))(KG_APP_PREFIX || {});
393
393
  const KG_APP_PREFIXS = ["/wms/data-manager", "/wms/business-manager", "/wcs", "/sys"];
394
- var KG_FORM_ITEM_TYPE = /* @__PURE__ */ ((e) => (e.INPUT = "INPUT", e.INPUT_PASSWORD = "INPUT_PASSWORD", e.INPUT_NUMBER = "INPUT_NUMBER", e.TEXT_AREA = "TEXT_AREA", e.CHECKBOX = "CHECKBOX", e.CHECKBOX_GROUP = "CHECKBOX_GROUP", e.RADIO_GROUP = "RADIO_GROUP", e.SWITCH = "SWITCH", e.SELECT = "SELECT", e.SELECT_MULTIPLE = "SELECT_MULTIPLE", e.DATE_DATE = "DATE_DATE", e.DATE_DATE_RANGE = "DATE_DATE_RANGE", e.DATE_TIME = "DATE_TIME", e.DATE_TIME_RANGE = "DATE_TIME_RANGE", e.DATE_DATETIME = "DATE_DATETIME", e.DATE_DATETIME_RANGE = "DATE_DATETIME_RANGE", e.DATE_WEEK = "DATE_WEEK", e.DATE_MONTH = "DATE_MONTH", e.DATE_YEAR = "DATE_YEAR", e.BUTTON_UPLOAD = "BUTTON_UPLOAD", e))(KG_FORM_ITEM_TYPE || {}), KG_FORM_CONTEXT = /* @__PURE__ */ ((e) => (e.SEARCH = "SEARCH", e.SUBMIT = "SUBMIT", e.TABLE = "TABLE", e))(KG_FORM_CONTEXT || {}), KG_TABLE_CELL_DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.YN = "YN", e.ENUM = "ENUM", e.PROGRESS = "PROGRESS", e.FILE_SIZE = "FILE_SIZE", e.UPDATE_LINK = "UPDATE_LINK", e.ROUTE_LINK = "ROUTE_LINK", e.DESC = "DESC", e))(KG_TABLE_CELL_DISPLAY_TYPE || {}), KG_BUTTON_TYPE = /* @__PURE__ */ ((e) => (e.CREATE = "CREATE", e.UPDATE = "UPDATE", e.COPY = "COPY", e.DELETE = "DELETE", e.IMPORT = "IMPORT", e.IMPORT_TEMPLATE = "IMPORT_TEMPLATE", e.EXPORT = "EXPORT", e.SEARCH = "SEARCH", e.REFRESH = "REFRESH", e.OTHER = "OTHER", e))(KG_BUTTON_TYPE || {}), KG_BUTTON_COLOR = /* @__PURE__ */ ((e) => (e.DANGER = "DANGER", e.WARN = "WARN", e))(KG_BUTTON_COLOR || {}), KG_BUTTON_DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.DEFAULT = "DEFAULT", e.SELECT = "SELECT", e))(KG_BUTTON_DISPLAY_TYPE || {}), KG_VAR_SUBMIT__DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.MODAL = "MODAL", e.DRAWER = "DRAWER", e.TABLE = "TABLE", e))(KG_VAR_SUBMIT__DISPLAY_TYPE || {}), KG_VAR_SUBMIT__LAYOUT = /* @__PURE__ */ ((e) => (e.VERTICAL = "vertical", e.HORIZONTAL = "horizontal", e))(KG_VAR_SUBMIT__LAYOUT || {}), KG_VAR_INPUT__DATA_TYPE = /* @__PURE__ */ ((e) => (e.NUMBER = "NUMBER", e))(KG_VAR_INPUT__DATA_TYPE || {}), KG_CUSTOM_LEVEL = /* @__PURE__ */ ((e) => (e[e.L0 = 0] = "L0", e[e.L10 = 10] = "L10", e))(KG_CUSTOM_LEVEL || {}), KG_POSSIBILITY_DATA_TYPE = /* @__PURE__ */ ((e) => (e.STRING = "string", e.NUMBER = "number", e.BOOLEAN = "boolean", e))(KG_POSSIBILITY_DATA_TYPE || {}), KG_WIDTH_UNIT = /* @__PURE__ */ ((e) => (e.SPAN = "SPAN", e.PX = "PX", e))(KG_WIDTH_UNIT || {}), KG_EXCEL_SUFFIX = /* @__PURE__ */ ((e) => (e.XLS = "xls", e.XLSX = "xlsx", e))(KG_EXCEL_SUFFIX || {}), KG_DESCRIPTION_CODE_NAME = /* @__PURE__ */ ((e) => (e.YN = "yn", e.VAR_SUBMIT_LAYOUT = "var_submit_layout", e.VAR_SPAN = "var_span", e.VAR_BUTTON_DISPLAY_TYPE = "var_button_display_type", e.VAR_WIDTH_UNIT = "var_width_unit", e))(KG_DESCRIPTION_CODE_NAME || {}), KG_DYNAMIC_QUERY_OPERATOR = /* @__PURE__ */ ((e) => (e.EQ = "eq", e.NE = "ne", e.GT = "gt", e.LT = "lt", e.GTE = "gte", e.LTE = "lte", e.START_WITH = "start", e.END_WITH = "end", e.CONTAIN = "contain", e.IN = "in", e.BETWEEN = "between", e))(KG_DYNAMIC_QUERY_OPERATOR || {}), KG_HTTP_HEADERS = /* @__PURE__ */ ((e) => (e.KG_DYNAMIC_QUERY = "Kg-Dynamic-Query", e.KG_QUERY_SQL = "Kg-Query-Sql", e.KG_QUERY_WHERE_SQL = "Kg-Query-Where-Sql", e.KG_QUERY_ORDER_BY_SQL = "Kg-Query-Order-By-Sql", e))(KG_HTTP_HEADERS || {});
394
+ var KG_FORM_ITEM_TYPE = /* @__PURE__ */ ((e) => (e.INPUT = "INPUT", e.INPUT_PASSWORD = "INPUT_PASSWORD", e.INPUT_NUMBER = "INPUT_NUMBER", e.TEXT_AREA = "TEXT_AREA", e.CHECKBOX = "CHECKBOX", e.CHECKBOX_GROUP = "CHECKBOX_GROUP", e.RADIO_GROUP = "RADIO_GROUP", e.SWITCH = "SWITCH", e.SELECT = "SELECT", e.SELECT_MULTIPLE = "SELECT_MULTIPLE", e.DATE_DATE = "DATE_DATE", e.DATE_DATE_RANGE = "DATE_DATE_RANGE", e.DATE_TIME = "DATE_TIME", e.DATE_TIME_RANGE = "DATE_TIME_RANGE", e.DATE_DATETIME = "DATE_DATETIME", e.DATE_DATETIME_RANGE = "DATE_DATETIME_RANGE", e.DATE_WEEK = "DATE_WEEK", e.DATE_MONTH = "DATE_MONTH", e.DATE_YEAR = "DATE_YEAR", e.BUTTON_UPLOAD = "BUTTON_UPLOAD", e))(KG_FORM_ITEM_TYPE || {}), KG_FORM_CONTEXT = /* @__PURE__ */ ((e) => (e.SEARCH = "SEARCH", e.SUBMIT = "SUBMIT", e.TABLE = "TABLE", e))(KG_FORM_CONTEXT || {}), KG_TABLE_CELL_DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.YN = "YN", e.ENUM = "ENUM", e.PROGRESS = "PROGRESS", e.FILE_SIZE = "FILE_SIZE", e.UPDATE_LINK = "UPDATE_LINK", e.ROUTE_LINK = "ROUTE_LINK", e.DESC = "DESC", e))(KG_TABLE_CELL_DISPLAY_TYPE || {}), KG_BUTTON_TYPE = /* @__PURE__ */ ((e) => (e.CREATE = "CREATE", e.UPDATE = "UPDATE", e.COPY = "COPY", e.DELETE = "DELETE", e.IMPORT = "IMPORT", e.IMPORT_TEMPLATE = "IMPORT_TEMPLATE", e.EXPORT = "EXPORT", e.SEARCH = "SEARCH", e.REFRESH = "REFRESH", e.OTHER = "OTHER", e))(KG_BUTTON_TYPE || {}), KG_BUTTON_COLOR = /* @__PURE__ */ ((e) => (e.DANGER = "DANGER", e.WARN = "WARN", e))(KG_BUTTON_COLOR || {}), KG_BUTTON_DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.DEFAULT = "DEFAULT", e.SELECT = "SELECT", e))(KG_BUTTON_DISPLAY_TYPE || {}), KG_VAR_SUBMIT__DISPLAY_TYPE = /* @__PURE__ */ ((e) => (e.MODAL = "MODAL", e.DRAWER = "DRAWER", e.TABLE = "TABLE", e))(KG_VAR_SUBMIT__DISPLAY_TYPE || {}), KG_VAR_SUBMIT__LAYOUT = /* @__PURE__ */ ((e) => (e.VERTICAL = "vertical", e.HORIZONTAL = "horizontal", e))(KG_VAR_SUBMIT__LAYOUT || {}), KG_VAR_INPUT__DATA_TYPE = /* @__PURE__ */ ((e) => (e.NUMBER = "NUMBER", e))(KG_VAR_INPUT__DATA_TYPE || {}), KG_CUSTOM_LEVEL = /* @__PURE__ */ ((e) => (e[e.L0 = 0] = "L0", e[e.L10 = 10] = "L10", e))(KG_CUSTOM_LEVEL || {}), KG_POSSIBILITY_DATA_TYPE = /* @__PURE__ */ ((e) => (e.STRING = "string", e.NUMBER = "number", e.BOOLEAN = "boolean", e))(KG_POSSIBILITY_DATA_TYPE || {}), KG_WIDTH_UNIT = /* @__PURE__ */ ((e) => (e.SPAN = "SPAN", e.PX = "PX", e))(KG_WIDTH_UNIT || {}), KG_EXCEL_SUFFIX = /* @__PURE__ */ ((e) => (e.XLS = "xls", e.XLSX = "xlsx", e))(KG_EXCEL_SUFFIX || {}), KG_DESCRIPTION_CODE_NAME = /* @__PURE__ */ ((e) => (e.YN = "yn", e.VAR_SUBMIT_LAYOUT = "var_submit_layout", e.VAR_SPAN = "var_span", e.VAR_BUTTON_DISPLAY_TYPE = "var_button_display_type", e.VAR_WIDTH_UNIT = "var_width_unit", e))(KG_DESCRIPTION_CODE_NAME || {}), KG_DYNAMIC_QUERY_OPERATOR = /* @__PURE__ */ ((e) => (e.EQ = "eq", e.NE = "ne", e.GT = "gt", e.LT = "lt", e.GTE = "gte", e.LTE = "lte", e.START_WITH = "start", e.END_WITH = "end", e.CONTAIN = "contain", e.IN = "in", e.BETWEEN = "between", e))(KG_DYNAMIC_QUERY_OPERATOR || {}), KG_HTTP_HEADERS = /* @__PURE__ */ ((e) => (e.KG_DYNAMIC_QUERY = "Kg-Dynamic-Query", e.KG_QUERY_SQL = "Kg-Query-Sql", e.KG_QUERY_WHERE_SQL = "Kg-Query-Where-Sql", e.KG_QUERY_ORDER_BY_SQL = "Kg-Query-Order-By-Sql", e.KG_QUERY_OPERATOR = "Kg-Query-Operator", e))(KG_HTTP_HEADERS || {});
395
395
  const __KG__RESPONSE__ = "__KG__RESPONSE__", KG_TMP_MENU_ID__DATA_MANAGER = "KG_TMP_MENU_ID__DATA_MANAGER", KG_TMP_MENU_ID__BUSINESS_MANAGER = "KG_TMP_MENU_ID__BUSINESS_MANAGER", KG_TMP_MENU_ID__WCS = "KG_TMP_MENU_ID__WCS", KG_TMP_MENU_ID__SYS = "KG_TMP_MENU_ID__SYS", KG_TMP_MENU_ID__PDA = "KG_TMP_MENU_ID__PDA";
396
396
  function bound01(e, t) {
397
397
  isOnePointZero(e) && (e = "100%");
@@ -767,7 +767,7 @@ function generate$1(e) {
767
767
  r.push(c);
768
768
  }
769
769
  return t.theme === "dark" ? darkColorMap.map(function(u) {
770
- var d = u.index, p = u.opacity, E = toHex(mix(inputToRGB(t.backgroundColor || "#141414"), inputToRGB(r[d]), p * 100));
770
+ var d = u.index, _ = u.opacity, E = toHex(mix(inputToRGB(t.backgroundColor || "#141414"), inputToRGB(r[d]), _ * 100));
771
771
  return E;
772
772
  }) : r;
773
773
  }
@@ -1124,18 +1124,18 @@ function _objectWithoutPropertiesLoose(e, t) {
1124
1124
  }
1125
1125
  setTwoToneColor("#1890ff");
1126
1126
  var Icon$1 = function(t, r) {
1127
- var a, n = _objectSpread$k({}, t, r.attrs), s = n.class, l = n.icon, o = n.spin, i = n.rotate, c = n.tabindex, u = n.twoToneColor, d = n.onClick, p = _objectWithoutProperties(n, _excluded), E = (a = {
1127
+ var a, n = _objectSpread$k({}, t, r.attrs), s = n.class, l = n.icon, o = n.spin, i = n.rotate, c = n.tabindex, u = n.twoToneColor, d = n.onClick, _ = _objectWithoutProperties(n, _excluded), E = (a = {
1128
1128
  anticon: !0
1129
1129
  }, _defineProperty$k(a, "anticon-".concat(l.name), Boolean(l.name)), _defineProperty$k(a, s, s), a), b = o === "" || !!o || l.name === "loading" ? "anticon-spin" : "", y = c;
1130
- y === void 0 && d && (y = -1, p.tabindex = y);
1130
+ y === void 0 && d && (y = -1, _.tabindex = y);
1131
1131
  var g = i ? {
1132
1132
  msTransform: "rotate(".concat(i, "deg)"),
1133
1133
  transform: "rotate(".concat(i, "deg)")
1134
- } : void 0, _ = normalizeTwoToneColors(u), m = _slicedToArray(_, 2), T = m[0], k = m[1];
1134
+ } : void 0, p = normalizeTwoToneColors(u), m = _slicedToArray(p, 2), T = m[0], k = m[1];
1135
1135
  return createVNode("span", _objectSpread$k({
1136
1136
  role: "img",
1137
1137
  "aria-label": l.name
1138
- }, p, {
1138
+ }, _, {
1139
1139
  onClick: d,
1140
1140
  class: E
1141
1141
  }), [createVNode(VueIcon, {
@@ -1952,11 +1952,11 @@ function iconToSVG(e, t) {
1952
1952
  };
1953
1953
  let s = r.body;
1954
1954
  [r, a].forEach((b) => {
1955
- const y = [], g = b.hFlip, _ = b.vFlip;
1955
+ const y = [], g = b.hFlip, p = b.vFlip;
1956
1956
  let m = b.rotate;
1957
- g ? _ ? m += 2 : (y.push(
1957
+ g ? p ? m += 2 : (y.push(
1958
1958
  "translate(" + (n.width + n.left).toString() + " " + (0 - n.top).toString() + ")"
1959
- ), y.push("scale(-1 1)"), n.top = n.left = 0) : _ && (y.push(
1959
+ ), y.push("scale(-1 1)"), n.top = n.left = 0) : p && (y.push(
1960
1960
  "translate(" + (0 - n.left).toString() + " " + (n.height + n.top).toString() + ")"
1961
1961
  ), y.push("scale(1 -1)"), n.top = n.left = 0);
1962
1962
  let T;
@@ -1982,11 +1982,11 @@ function iconToSVG(e, t) {
1982
1982
  const l = a.width, o = a.height, i = n.width, c = n.height;
1983
1983
  let u, d;
1984
1984
  l === null ? (d = o === null ? "1em" : o === "auto" ? c : o, u = calculateSize(d, i / c)) : (u = l === "auto" ? i : l, d = o === null ? calculateSize(u, c / i) : o === "auto" ? c : o);
1985
- const p = {}, E = (b, y) => {
1986
- isUnsetKeyword(y) || (p[b] = y.toString());
1985
+ const _ = {}, E = (b, y) => {
1986
+ isUnsetKeyword(y) || (_[b] = y.toString());
1987
1987
  };
1988
- return E("width", u), E("height", d), p.viewBox = n.left.toString() + " " + n.top.toString() + " " + i.toString() + " " + c.toString(), {
1989
- attributes: p,
1988
+ return E("width", u), E("height", d), _.viewBox = n.left.toString() + " " + n.top.toString() + " " + i.toString() + " " + c.toString(), {
1989
+ attributes: _,
1990
1990
  body: s
1991
1991
  };
1992
1992
  }
@@ -2266,26 +2266,26 @@ function sendQuery(e, t, r, a) {
2266
2266
  } else
2267
2267
  l = e.resources.slice(s).concat(e.resources.slice(0, s));
2268
2268
  const o = Date.now();
2269
- let i = "pending", c = 0, u, d = null, p = [], E = [];
2269
+ let i = "pending", c = 0, u, d = null, _ = [], E = [];
2270
2270
  typeof a == "function" && E.push(a);
2271
2271
  function b() {
2272
2272
  d && (clearTimeout(d), d = null);
2273
2273
  }
2274
2274
  function y() {
2275
- i === "pending" && (i = "aborted"), b(), p.forEach((C) => {
2275
+ i === "pending" && (i = "aborted"), b(), _.forEach((C) => {
2276
2276
  C.status === "pending" && (C.status = "aborted");
2277
- }), p = [];
2277
+ }), _ = [];
2278
2278
  }
2279
2279
  function g(C, R) {
2280
2280
  R && (E = []), typeof C == "function" && E.push(C);
2281
2281
  }
2282
- function _() {
2282
+ function p() {
2283
2283
  return {
2284
2284
  startTime: o,
2285
2285
  payload: t,
2286
2286
  status: i,
2287
2287
  queriesSent: c,
2288
- queriesPending: p.length,
2288
+ queriesPending: _.length,
2289
2289
  subscribe: g,
2290
2290
  abort: y
2291
2291
  };
@@ -2296,13 +2296,13 @@ function sendQuery(e, t, r, a) {
2296
2296
  });
2297
2297
  }
2298
2298
  function T() {
2299
- p.forEach((C) => {
2299
+ _.forEach((C) => {
2300
2300
  C.status === "pending" && (C.status = "aborted");
2301
- }), p = [];
2301
+ }), _ = [];
2302
2302
  }
2303
2303
  function k(C, R, A) {
2304
2304
  const O = R !== "success";
2305
- switch (p = p.filter((M) => M !== C), i) {
2305
+ switch (_ = _.filter((M) => M !== C), i) {
2306
2306
  case "pending":
2307
2307
  break;
2308
2308
  case "failed":
@@ -2317,7 +2317,7 @@ function sendQuery(e, t, r, a) {
2317
2317
  return;
2318
2318
  }
2319
2319
  if (O) {
2320
- u = A, p.length || (l.length ? I() : m());
2320
+ u = A, _.length || (l.length ? I() : m());
2321
2321
  return;
2322
2322
  }
2323
2323
  if (b(), T(), !e.random) {
@@ -2334,7 +2334,7 @@ function sendQuery(e, t, r, a) {
2334
2334
  b();
2335
2335
  const C = l.shift();
2336
2336
  if (C === void 0) {
2337
- if (p.length) {
2337
+ if (_.length) {
2338
2338
  d = setTimeout(() => {
2339
2339
  b(), i === "pending" && (T(), m());
2340
2340
  }, e.timeout);
@@ -2350,9 +2350,9 @@ function sendQuery(e, t, r, a) {
2350
2350
  k(R, A, O);
2351
2351
  }
2352
2352
  };
2353
- p.push(R), c++, d = setTimeout(I, e.rotate), r(C, t, R.callback);
2353
+ _.push(R), c++, d = setTimeout(I, e.rotate), r(C, t, R.callback);
2354
2354
  }
2355
- return setTimeout(I), _;
2355
+ return setTimeout(I), p;
2356
2356
  }
2357
2357
  function initRedundancy(e) {
2358
2358
  const t = {
@@ -2368,8 +2368,8 @@ function initRedundancy(e) {
2368
2368
  t,
2369
2369
  o,
2370
2370
  i,
2371
- (d, p) => {
2372
- a(), c && c(d, p);
2371
+ (d, _) => {
2372
+ a(), c && c(d, _);
2373
2373
  }
2374
2374
  );
2375
2375
  return r.push(u), u;
@@ -2617,7 +2617,7 @@ const loadIcons = (e, t) => {
2617
2617
  const d = n[c] || (n[c] = /* @__PURE__ */ Object.create(null));
2618
2618
  d[u] || (d[u] = []);
2619
2619
  }), a.pending.forEach((i) => {
2620
- const { provider: c, prefix: u, name: d } = i, p = getStorage(c, u), E = p.pendingIcons || (p.pendingIcons = /* @__PURE__ */ new Set());
2620
+ const { provider: c, prefix: u, name: d } = i, _ = getStorage(c, u), E = _.pendingIcons || (_.pendingIcons = /* @__PURE__ */ new Set());
2621
2621
  E.has(d) || (E.add(d), n[c][u].push(d));
2622
2622
  }), s.forEach((i) => {
2623
2623
  const { provider: c, prefix: u } = i;
@@ -2754,8 +2754,8 @@ const render = (e, t) => {
2754
2754
  g !== !0 && g !== "true" && delete a["aria-hidden"];
2755
2755
  break;
2756
2756
  default: {
2757
- const _ = customisationAliases[y];
2758
- _ ? (g === !0 || g === "true" || g === 1) && (r[_] = !0) : defaultExtendedIconCustomisations[y] === void 0 && (a[y] = g);
2757
+ const p = customisationAliases[y];
2758
+ p ? (g === !0 || g === "true" || g === 1) && (r[p] = !0) : defaultExtendedIconCustomisations[y] === void 0 && (a[y] = g);
2759
2759
  }
2760
2760
  }
2761
2761
  }
@@ -2768,10 +2768,10 @@ const render = (e, t) => {
2768
2768
  let y = 0, g = t.id;
2769
2769
  return typeof g == "string" && (g = g.replace(/-/g, "_")), a.innerHTML = replaceIDs(i.body, g ? () => g + "ID" + y++ : "iconifyVue"), h("svg", a);
2770
2770
  }
2771
- const { body: u, width: d, height: p } = e, E = n === "mask" || (n === "bg" ? !1 : u.indexOf("currentColor") !== -1), b = iconToHTML(u, {
2771
+ const { body: u, width: d, height: _ } = e, E = n === "mask" || (n === "bg" ? !1 : u.indexOf("currentColor") !== -1), b = iconToHTML(u, {
2772
2772
  ...c,
2773
2773
  width: d + "",
2774
- height: p + ""
2774
+ height: _ + ""
2775
2775
  });
2776
2776
  return a.style = {
2777
2777
  ...s,
@@ -2870,7 +2870,7 @@ const emptyIcon = {
2870
2870
  ...t.data
2871
2871
  }, r);
2872
2872
  }
2873
- }), name = "@kengic/vue", version = "0.16.2", data$1 = {
2873
+ }), name = "@kengic/vue", version = "0.16.3", data$1 = {
2874
2874
  width: 24,
2875
2875
  height: 24,
2876
2876
  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"/>'
@@ -2951,16 +2951,16 @@ function createOptionsStore(e, t, r, a) {
2951
2951
  function c() {
2952
2952
  !o && (process.env.NODE_ENV === "production" || !a) && (r.state.value[e] = n ? n() : {});
2953
2953
  const u = process.env.NODE_ENV !== "production" && a ? toRefs(ref(n ? n() : {}).value) : toRefs(r.state.value[e]);
2954
- return assign$1(u, s, Object.keys(l || {}).reduce((d, p) => (d[p] = markRaw(computed(() => {
2954
+ return assign$1(u, s, Object.keys(l || {}).reduce((d, _) => (d[_] = markRaw(computed(() => {
2955
2955
  setActivePinia(r);
2956
2956
  const E = r._s.get(e);
2957
- return l[p].call(E, E);
2957
+ return l[_].call(E, E);
2958
2958
  })), d), {}));
2959
2959
  }
2960
2960
  return i = createSetupStore(e, c, t, r, a), i.$reset = function() {
2961
2961
  const d = n ? n() : {};
2962
- this.$patch((p) => {
2963
- assign$1(p, d);
2962
+ this.$patch((_) => {
2963
+ assign$1(_, d);
2964
2964
  });
2965
2965
  }, i;
2966
2966
  }
@@ -2975,7 +2975,7 @@ function createSetupStore(e, t, r = {}, a, n) {
2975
2975
  process.env.NODE_ENV !== "production" && !isVue2 && (i.onTrigger = (A) => {
2976
2976
  c ? E = A : c == !1 && !C._hotUpdating && (Array.isArray(E) ? E.push(A) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
2977
2977
  });
2978
- let c, u, d = markRaw([]), p = markRaw([]), E;
2978
+ let c, u, d = markRaw([]), _ = markRaw([]), E;
2979
2979
  const b = a.state.value[e];
2980
2980
  !l && !b && (process.env.NODE_ENV === "production" || !n) && (a.state.value[e] = {});
2981
2981
  const y = ref({});
@@ -2994,11 +2994,11 @@ function createSetupStore(e, t, r = {}, a, n) {
2994
2994
  c = !0;
2995
2995
  }), u = !0, triggerSubscriptions(d, O, a.state.value[e]);
2996
2996
  }
2997
- const _ = process.env.NODE_ENV !== "production" ? () => {
2997
+ const p = process.env.NODE_ENV !== "production" ? () => {
2998
2998
  throw new Error(`\u{1F34D}: Store "${e}" is build using the setup syntax and does not implement $reset().`);
2999
2999
  } : noop$2;
3000
3000
  function m() {
3001
- s.stop(), d = [], p = [], a._s.delete(e);
3001
+ s.stop(), d = [], _ = [], a._s.delete(e);
3002
3002
  }
3003
3003
  function T(A, O) {
3004
3004
  return function() {
@@ -3010,7 +3010,7 @@ function createSetupStore(e, t, r = {}, a, n) {
3010
3010
  function w(K) {
3011
3011
  L.push(K);
3012
3012
  }
3013
- triggerSubscriptions(p, {
3013
+ triggerSubscriptions(_, {
3014
3014
  args: M,
3015
3015
  name: A,
3016
3016
  store: C,
@@ -3034,9 +3034,9 @@ function createSetupStore(e, t, r = {}, a, n) {
3034
3034
  }), I = {
3035
3035
  _p: a,
3036
3036
  $id: e,
3037
- $onAction: addSubscription.bind(null, p),
3037
+ $onAction: addSubscription.bind(null, _),
3038
3038
  $patch: g,
3039
- $reset: _,
3039
+ $reset: p,
3040
3040
  $subscribe(A, O = {}) {
3041
3041
  const M = addSubscription(d, A, O.detached, () => P()), P = s.run(() => watch(() => a.state.value[e], (L) => {
3042
3042
  (O.flush === "sync" ? u : c) && A({
@@ -3149,12 +3149,12 @@ This will fail in production.`);
3149
3149
  o = activePinia, o._s.has(a) || (s ? createSetupStore(a, t, n, o) : createOptionsStore(a, n, o), process.env.NODE_ENV !== "production" && (l._pinia = o));
3150
3150
  const u = o._s.get(a);
3151
3151
  if (process.env.NODE_ENV !== "production" && i) {
3152
- const d = "__hot:" + a, p = s ? createSetupStore(d, t, n, o, !0) : createOptionsStore(d, assign$1({}, n), o, !0);
3153
- i._hotUpdate(p), delete o.state.value[d], o._s.delete(d);
3152
+ const d = "__hot:" + a, _ = s ? createSetupStore(d, t, n, o, !0) : createOptionsStore(d, assign$1({}, n), o, !0);
3153
+ i._hotUpdate(_), delete o.state.value[d], o._s.delete(d);
3154
3154
  }
3155
3155
  if (process.env.NODE_ENV !== "production" && IS_CLIENT && c && c.proxy && !i) {
3156
- const d = c.proxy, p = "_pStores" in d ? d._pStores : d._pStores = {};
3157
- p[a] = u;
3156
+ const d = c.proxy, _ = "_pStores" in d ? d._pStores : d._pStores = {};
3157
+ _[a] = u;
3158
3158
  }
3159
3159
  return u;
3160
3160
  }
@@ -3250,11 +3250,11 @@ function useKgDragModal(e) {
3250
3250
  if (!o)
3251
3251
  return;
3252
3252
  document.body.classList.add("kg-modal-dragging");
3253
- const i = o.clientX, c = o.clientY, u = document.body.clientWidth, d = document.documentElement.clientHeight, p = l.offsetWidth, E = l.offsetHeight, b = l.offsetLeft, y = u - l.offsetLeft - p, g = l.offsetTop, _ = d - l.offsetTop - E, m = t(l, "left"), T = t(l, "top");
3253
+ const i = o.clientX, c = o.clientY, u = document.body.clientWidth, d = document.documentElement.clientHeight, _ = l.offsetWidth, E = l.offsetHeight, b = l.offsetLeft, y = u - l.offsetLeft - _, g = l.offsetTop, p = d - l.offsetTop - E, m = t(l, "left"), T = t(l, "top");
3254
3254
  let k = +m, I = +T;
3255
3255
  m.includes("%") ? (k = +document.body.clientWidth * (+m.replace(/%/g, "") / 100), I = +document.body.clientHeight * (+T.replace(/%/g, "") / 100)) : (k = +m.replace(/px/g, ""), I = +T.replace(/px/g, "")), document.onmousemove = function(C) {
3256
3256
  let R = C.clientX - i, A = C.clientY - c;
3257
- -R > b ? R = -b : R > y && (R = y), -A > g ? A = -g : A > _ && (A = _), l.style.cssText += `;left:${R + k}px;top:${A + I}px;`;
3257
+ -R > b ? R = -b : R > y && (R = y), -A > g ? A = -g : A > p && (A = p), l.style.cssText += `;left:${R + k}px;top:${A + I}px;`;
3258
3258
  }, document.onmouseup = () => {
3259
3259
  document.body.classList.remove("kg-modal-dragging"), document.onmousemove = null, document.onmouseup = null;
3260
3260
  };
@@ -3354,7 +3354,7 @@ class KgRouteUtil {
3354
3354
  }), t;
3355
3355
  }
3356
3356
  static transformMenus(t) {
3357
- var c, u, d, p, E, b, y, g, _, m, T, k, I, C, R, A, O, M, P, L, H, w, D, K;
3357
+ var c, u, d, _, E, b, y, g, p, m, T, k, I, C, R, A, O, M, P, L, H, w, D, K;
3358
3358
  if (!t)
3359
3359
  return [];
3360
3360
  const r = useKg(), a = {
@@ -3386,7 +3386,7 @@ class KgRouteUtil {
3386
3386
  id: KG_TMP_MENU_ID__DATA_MANAGER,
3387
3387
  key: KG_TMP_MENU_ID__DATA_MANAGER,
3388
3388
  title: (u = (c = r.option.value.appTitle) == null ? void 0 : c[KG_APP.WMS_DATA_MANAGER]) != null ? u : "\u6570\u636E\u7BA1\u7406",
3389
- name: (p = (d = r.option.value.appTitle) == null ? void 0 : d[KG_APP.WMS_DATA_MANAGER]) != null ? p : "\u6570\u636E\u7BA1\u7406",
3389
+ name: (_ = (d = r.option.value.appTitle) == null ? void 0 : d[KG_APP.WMS_DATA_MANAGER]) != null ? _ : "\u6570\u636E\u7BA1\u7406",
3390
3390
  slotTitle: (b = (E = r.option.value.appTitle) == null ? void 0 : E[KG_APP.WMS_DATA_MANAGER]) != null ? b : "\u6570\u636E\u7BA1\u7406",
3391
3391
  sortNo: 1,
3392
3392
  children: [],
@@ -3395,7 +3395,7 @@ class KgRouteUtil {
3395
3395
  id: KG_TMP_MENU_ID__BUSINESS_MANAGER,
3396
3396
  key: KG_TMP_MENU_ID__BUSINESS_MANAGER,
3397
3397
  title: (g = (y = r.option.value.appTitle) == null ? void 0 : y[KG_APP.WMS_BUSINESS_MANAGER]) != null ? g : "\u4ED3\u5E93\u7BA1\u7406",
3398
- name: (m = (_ = r.option.value.appTitle) == null ? void 0 : _[KG_APP.WMS_BUSINESS_MANAGER]) != null ? m : "\u4ED3\u5E93\u7BA1\u7406",
3398
+ name: (m = (p = r.option.value.appTitle) == null ? void 0 : p[KG_APP.WMS_BUSINESS_MANAGER]) != null ? m : "\u4ED3\u5E93\u7BA1\u7406",
3399
3399
  slotTitle: (k = (T = r.option.value.appTitle) == null ? void 0 : T[KG_APP.WMS_BUSINESS_MANAGER]) != null ? k : "\u4ED3\u5E93\u7BA1\u7406",
3400
3400
  sortNo: 2,
3401
3401
  children: [],
@@ -3518,7 +3518,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
3518
3518
  (function(r, a) {
3519
3519
  e.exports = a();
3520
3520
  })(commonjsGlobal, function() {
3521
- var r = 1e3, a = 6e4, n = 36e5, s = "millisecond", l = "second", o = "minute", i = "hour", c = "day", u = "week", d = "month", p = "quarter", E = "year", b = "date", y = "Invalid Date", g = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, _ = /\[([^\]]+)]|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, m = { 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(w) {
3521
+ var r = 1e3, a = 6e4, n = 36e5, s = "millisecond", l = "second", o = "minute", i = "hour", c = "day", u = "week", d = "month", _ = "quarter", E = "year", b = "date", y = "Invalid Date", g = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, p = /\[([^\]]+)]|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, m = { 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(w) {
3522
3522
  var D = ["th", "st", "nd", "rd"], K = w % 100;
3523
3523
  return "[" + w + (D[(K - 20) % 10] || D[K] || D[0]) + "]";
3524
3524
  } }, T = function(w, D, K) {
@@ -3535,7 +3535,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
3535
3535
  }, a: function(w) {
3536
3536
  return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
3537
3537
  }, p: function(w) {
3538
- return { M: d, y: E, w: u, d: c, D: b, h: i, m: o, s: l, ms: s, Q: p }[w] || String(w || "").toLowerCase().replace(/s$/, "");
3538
+ return { M: d, y: E, w: u, d: c, D: b, h: i, m: o, s: l, ms: s, Q: _ }[w] || String(w || "").toLowerCase().replace(/s$/, "");
3539
3539
  }, u: function(w) {
3540
3540
  return w === void 0;
3541
3541
  } }, I = "en", C = {};
@@ -3610,11 +3610,11 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
3610
3610
  }, D.valueOf = function() {
3611
3611
  return this.$d.getTime();
3612
3612
  }, D.startOf = function(K, V) {
3613
- var N = this, G = !!P.u(V) || V, $ = P.p(K), B = function(pe, ae) {
3614
- var F = P.w(N.$u ? Date.UTC(N.$y, ae, pe) : new Date(N.$y, ae, pe), N);
3613
+ var N = this, G = !!P.u(V) || V, $ = P.p(K), B = function(_e, ae) {
3614
+ var F = P.w(N.$u ? Date.UTC(N.$y, ae, _e) : new Date(N.$y, ae, _e), N);
3615
3615
  return G ? F : F.endOf(c);
3616
- }, Y = function(pe, ae) {
3617
- return P.w(N.toDate()[pe].apply(N.toDate("s"), (G ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), N);
3616
+ }, Y = function(_e, ae) {
3617
+ return P.w(N.toDate()[_e].apply(N.toDate("s"), (G ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), N);
3618
3618
  }, q = this.$W, J = this.$M, X = this.$D, ee = "set" + (this.$u ? "UTC" : "");
3619
3619
  switch ($) {
3620
3620
  case E:
@@ -3677,11 +3677,11 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
3677
3677
  return ae && (ae[F] || ae(V, G)) || U[F].slice(0, Q);
3678
3678
  }, he = function(ae) {
3679
3679
  return P.s(B % 12 || 12, ae, "0");
3680
- }, pe = ee || function(ae, F, U) {
3680
+ }, _e = ee || function(ae, F, U) {
3681
3681
  var Q = ae < 12 ? "AM" : "PM";
3682
3682
  return U ? Q.toLowerCase() : Q;
3683
3683
  };
3684
- return G.replace(_, function(ae, F) {
3684
+ return G.replace(p, function(ae, F) {
3685
3685
  return F || function(U) {
3686
3686
  switch (U) {
3687
3687
  case "YY":
@@ -3717,9 +3717,9 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
3717
3717
  case "hh":
3718
3718
  return he(2);
3719
3719
  case "a":
3720
- return pe(B, Y, !0);
3720
+ return _e(B, Y, !0);
3721
3721
  case "A":
3722
- return pe(B, Y, !1);
3722
+ return _e(B, Y, !1);
3723
3723
  case "m":
3724
3724
  return String(Y);
3725
3725
  case "mm":
@@ -3749,7 +3749,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
3749
3749
  case d:
3750
3750
  G = X();
3751
3751
  break;
3752
- case p:
3752
+ case _:
3753
3753
  G = X() / 3;
3754
3754
  break;
3755
3755
  case u:
@@ -3839,36 +3839,36 @@ function filesize(e, {
3839
3839
  symbols: c = {},
3840
3840
  standard: u = EMPTY,
3841
3841
  output: d = STRING,
3842
- fullform: p = !1,
3842
+ fullform: _ = !1,
3843
3843
  fullforms: E = [],
3844
3844
  exponent: b = -1,
3845
3845
  roundingMethod: y = ROUND,
3846
3846
  precision: g = 0
3847
3847
  } = {}) {
3848
- let _ = b, m = Number(e), T = [], k = 0, I = EMPTY;
3848
+ let p = b, m = Number(e), T = [], k = 0, I = EMPTY;
3849
3849
  u === SI ? (a = 10, u = JEDEC) : u === IEC || u === JEDEC ? a = 2 : a === 2 ? u = IEC : (a = 10, u = JEDEC);
3850
- const C = a === 10 ? 1e3 : 1024, R = p === !0, A = m < 0, O = Math[y];
3850
+ const C = a === 10 ? 1e3 : 1024, R = _ === !0, A = m < 0, O = Math[y];
3851
3851
  if (typeof e != "bigint" && isNaN(e))
3852
3852
  throw new TypeError(INVALID_NUMBER);
3853
3853
  if (typeof O !== FUNCTION)
3854
3854
  throw new TypeError(INVALID_ROUND);
3855
- if (A && (m = -m), (_ === -1 || isNaN(_)) && (_ = Math.floor(Math.log(m) / Math.log(C)), _ < 0 && (_ = 0)), _ > 8 && (g > 0 && (g += 8 - _), _ = 8), d === EXPONENT)
3856
- return _;
3855
+ if (A && (m = -m), (p === -1 || isNaN(p)) && (p = Math.floor(Math.log(m) / Math.log(C)), p < 0 && (p = 0)), p > 8 && (g > 0 && (g += 8 - p), p = 8), d === EXPONENT)
3856
+ return p;
3857
3857
  if (m === 0)
3858
- T[0] = 0, I = T[1] = STRINGS.symbol[u][t ? BITS : BYTES][_];
3858
+ T[0] = 0, I = T[1] = STRINGS.symbol[u][t ? BITS : BYTES][p];
3859
3859
  else {
3860
- k = m / (a === 2 ? Math.pow(2, _ * 10) : Math.pow(1e3, _)), t && (k = k * 8, k >= C && _ < 8 && (k = k / C, _++));
3861
- const M = Math.pow(10, _ > 0 ? n : 0);
3862
- T[0] = O(k * M) / M, T[0] === C && _ < 8 && b === -1 && (T[0] = 1, _++), I = T[1] = a === 10 && _ === 1 ? t ? SI_KBIT : SI_KBYTE : STRINGS.symbol[u][t ? BITS : BYTES][_];
3860
+ k = m / (a === 2 ? Math.pow(2, p * 10) : Math.pow(1e3, p)), t && (k = k * 8, k >= C && p < 8 && (k = k / C, p++));
3861
+ const M = Math.pow(10, p > 0 ? n : 0);
3862
+ T[0] = O(k * M) / M, T[0] === C && p < 8 && b === -1 && (T[0] = 1, p++), I = T[1] = a === 10 && p === 1 ? t ? SI_KBIT : SI_KBYTE : STRINGS.symbol[u][t ? BITS : BYTES][p];
3863
3863
  }
3864
3864
  if (A && (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) {
3865
3865
  const M = o || PERIOD, P = T[0].toString().split(M), L = P[1] || EMPTY, H = L.length, w = n - H;
3866
3866
  T[0] = `${P[0]}${M}${L.padEnd(H + w, ZERO)}`;
3867
3867
  }
3868
- return R && (T[1] = E[_] ? E[_] : STRINGS.fullform[u][_] + (t ? BIT : BYTE) + (T[0] === 1 ? EMPTY : S)), d === ARRAY ? T : d === OBJECT ? {
3868
+ return R && (T[1] = E[p] ? E[p] : STRINGS.fullform[u][p] + (t ? BIT : BYTE) + (T[0] === 1 ? EMPTY : S)), d === ARRAY ? T : d === OBJECT ? {
3869
3869
  value: T[0],
3870
3870
  symbol: T[1],
3871
- exponent: _,
3871
+ exponent: p,
3872
3872
  unit: I
3873
3873
  } : T.join(i);
3874
3874
  }
@@ -4898,11 +4898,11 @@ function baseClone(e, t, r, a, n, s) {
4898
4898
  if (l = initCloneArray(e), !o)
4899
4899
  return copyArray(e, l);
4900
4900
  } else {
4901
- var d = getTag$1(e), p = d == funcTag || d == genTag;
4901
+ var d = getTag$1(e), _ = d == funcTag || d == genTag;
4902
4902
  if (isBuffer$1(e))
4903
4903
  return cloneBuffer(e, o);
4904
- if (d == objectTag$1 || d == argsTag$1 || p && !n) {
4905
- if (l = i || p ? {} : initCloneObject(e), !o)
4904
+ if (d == objectTag$1 || d == argsTag$1 || _ && !n) {
4905
+ if (l = i || _ ? {} : initCloneObject(e), !o)
4906
4906
  return i ? copySymbolsIn(e, baseAssignIn(l, e)) : copySymbols(e, baseAssign(l, e));
4907
4907
  } else {
4908
4908
  if (!cloneableTags[d])
@@ -4916,12 +4916,12 @@ function baseClone(e, t, r, a, n, s) {
4916
4916
  return E;
4917
4917
  s.set(e, l), isSet$1(e) ? e.forEach(function(g) {
4918
4918
  l.add(baseClone(g, t, r, g, e, s));
4919
- }) : isMap$1(e) && e.forEach(function(g, _) {
4920
- l.set(_, baseClone(g, t, r, _, e, s));
4919
+ }) : isMap$1(e) && e.forEach(function(g, p) {
4920
+ l.set(p, baseClone(g, t, r, p, e, s));
4921
4921
  });
4922
4922
  var b = c ? i ? getAllKeysIn : getAllKeys : i ? keysIn : keys$1, y = u ? void 0 : b(e);
4923
- return arrayEach(y || e, function(g, _) {
4924
- y && (_ = g, g = e[_]), assignValue(l, _, baseClone(g, t, r, _, e, s));
4923
+ return arrayEach(y || e, function(g, p) {
4924
+ y && (p = g, g = e[p]), assignValue(l, p, baseClone(g, t, r, p, e, s));
4925
4925
  }), l;
4926
4926
  }
4927
4927
  var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
@@ -4966,7 +4966,7 @@ function equalArrays(e, t, r, a, n, s) {
4966
4966
  var c = s.get(e), u = s.get(t);
4967
4967
  if (c && u)
4968
4968
  return c == t && u == e;
4969
- var d = -1, p = !0, E = r & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
4969
+ var d = -1, _ = !0, E = r & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
4970
4970
  for (s.set(e, t), s.set(t, e); ++d < o; ) {
4971
4971
  var b = e[d], y = t[d];
4972
4972
  if (a)
@@ -4974,23 +4974,23 @@ function equalArrays(e, t, r, a, n, s) {
4974
4974
  if (g !== void 0) {
4975
4975
  if (g)
4976
4976
  continue;
4977
- p = !1;
4977
+ _ = !1;
4978
4978
  break;
4979
4979
  }
4980
4980
  if (E) {
4981
- if (!arraySome(t, function(_, m) {
4982
- if (!cacheHas(E, m) && (b === _ || n(b, _, r, a, s)))
4981
+ if (!arraySome(t, function(p, m) {
4982
+ if (!cacheHas(E, m) && (b === p || n(b, p, r, a, s)))
4983
4983
  return E.push(m);
4984
4984
  })) {
4985
- p = !1;
4985
+ _ = !1;
4986
4986
  break;
4987
4987
  }
4988
4988
  } else if (!(b === y || n(b, y, r, a, s))) {
4989
- p = !1;
4989
+ _ = !1;
4990
4990
  break;
4991
4991
  }
4992
4992
  }
4993
- return s.delete(e), s.delete(t), p;
4993
+ return s.delete(e), s.delete(t), _;
4994
4994
  }
4995
4995
  function mapToArray(e) {
4996
4996
  var t = -1, r = Array(e.size);
@@ -5046,8 +5046,8 @@ function equalObjects(e, t, r, a, n, s) {
5046
5046
  if (i != u && !l)
5047
5047
  return !1;
5048
5048
  for (var d = i; d--; ) {
5049
- var p = o[d];
5050
- if (!(l ? p in t : hasOwnProperty$1.call(t, p)))
5049
+ var _ = o[d];
5050
+ if (!(l ? _ in t : hasOwnProperty$1.call(t, _)))
5051
5051
  return !1;
5052
5052
  }
5053
5053
  var E = s.get(e), b = s.get(t);
@@ -5056,15 +5056,15 @@ function equalObjects(e, t, r, a, n, s) {
5056
5056
  var y = !0;
5057
5057
  s.set(e, t), s.set(t, e);
5058
5058
  for (var g = l; ++d < i; ) {
5059
- p = o[d];
5060
- var _ = e[p], m = t[p];
5059
+ _ = o[d];
5060
+ var p = e[_], m = t[_];
5061
5061
  if (a)
5062
- var T = l ? a(m, _, p, t, e, s) : a(_, m, p, e, t, s);
5063
- if (!(T === void 0 ? _ === m || n(_, m, r, a, s) : T)) {
5062
+ var T = l ? a(m, p, _, t, e, s) : a(p, m, _, e, t, s);
5063
+ if (!(T === void 0 ? p === m || n(p, m, r, a, s) : T)) {
5064
5064
  y = !1;
5065
5065
  break;
5066
5066
  }
5067
- g || (g = p == "constructor");
5067
+ g || (g = _ == "constructor");
5068
5068
  }
5069
5069
  if (y && !g) {
5070
5070
  var k = e.constructor, I = t.constructor;
@@ -5076,13 +5076,13 @@ var COMPARE_PARTIAL_FLAG$2 = 1, argsTag = "[object Arguments]", arrayTag = "[obj
5076
5076
  function baseIsEqualDeep(e, t, r, a, n, s) {
5077
5077
  var l = isArray$1(e), o = isArray$1(t), i = l ? arrayTag : getTag$1(e), c = o ? arrayTag : getTag$1(t);
5078
5078
  i = i == argsTag ? objectTag : i, c = c == argsTag ? objectTag : c;
5079
- var u = i == objectTag, d = c == objectTag, p = i == c;
5080
- if (p && isBuffer$1(e)) {
5079
+ var u = i == objectTag, d = c == objectTag, _ = i == c;
5080
+ if (_ && isBuffer$1(e)) {
5081
5081
  if (!isBuffer$1(t))
5082
5082
  return !1;
5083
5083
  l = !0, u = !1;
5084
5084
  }
5085
- if (p && !u)
5085
+ if (_ && !u)
5086
5086
  return s || (s = new Stack()), l || isTypedArray$1(e) ? equalArrays(e, t, r, a, n, s) : equalByTag(e, t, i, r, a, n, s);
5087
5087
  if (!(r & COMPARE_PARTIAL_FLAG$2)) {
5088
5088
  var E = u && hasOwnProperty.call(e, "__wrapped__"), b = d && hasOwnProperty.call(t, "__wrapped__");
@@ -5091,7 +5091,7 @@ function baseIsEqualDeep(e, t, r, a, n, s) {
5091
5091
  return s || (s = new Stack()), n(y, g, r, a, s);
5092
5092
  }
5093
5093
  }
5094
- return p ? (s || (s = new Stack()), equalObjects(e, t, r, a, n, s)) : !1;
5094
+ return _ ? (s || (s = new Stack()), equalObjects(e, t, r, a, n, s)) : !1;
5095
5095
  }
5096
5096
  function baseIsEqual(e, t, r, a, n) {
5097
5097
  return e === t ? !0 : e == null || t == null || !isObjectLike(e) && !isObjectLike(t) ? e !== e && t !== t : baseIsEqualDeep(e, t, r, a, baseIsEqual, n);
@@ -5115,8 +5115,8 @@ function baseIsMatch(e, t, r, a) {
5115
5115
  } else {
5116
5116
  var d = new Stack();
5117
5117
  if (a)
5118
- var p = a(c, u, i, e, t, d);
5119
- if (!(p === void 0 ? baseIsEqual(u, c, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, a, d) : p))
5118
+ var _ = a(c, u, i, e, t, d);
5119
+ if (!(_ === void 0 ? baseIsEqual(u, c, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, a, d) : _))
5120
5120
  return !1;
5121
5121
  }
5122
5122
  }
@@ -5216,16 +5216,16 @@ var now = function() {
5216
5216
  const now$1 = now;
5217
5217
  var FUNC_ERROR_TEXT = "Expected a function", nativeMax$1 = Math.max, nativeMin$1 = Math.min;
5218
5218
  function debounce(e, t, r) {
5219
- var a, n, s, l, o, i, c = 0, u = !1, d = !1, p = !0;
5219
+ var a, n, s, l, o, i, c = 0, u = !1, d = !1, _ = !0;
5220
5220
  if (typeof e != "function")
5221
5221
  throw new TypeError(FUNC_ERROR_TEXT);
5222
- t = toNumber(t) || 0, isObject$2(r) && (u = !!r.leading, d = "maxWait" in r, s = d ? nativeMax$1(toNumber(r.maxWait) || 0, t) : s, p = "trailing" in r ? !!r.trailing : p);
5222
+ t = toNumber(t) || 0, isObject$2(r) && (u = !!r.leading, d = "maxWait" in r, s = d ? nativeMax$1(toNumber(r.maxWait) || 0, t) : s, _ = "trailing" in r ? !!r.trailing : _);
5223
5223
  function E(C) {
5224
5224
  var R = a, A = n;
5225
5225
  return a = n = void 0, c = C, l = e.apply(A, R), l;
5226
5226
  }
5227
5227
  function b(C) {
5228
- return c = C, o = setTimeout(_, t), u ? E(C) : l;
5228
+ return c = C, o = setTimeout(p, t), u ? E(C) : l;
5229
5229
  }
5230
5230
  function y(C) {
5231
5231
  var R = C - i, A = C - c, O = t - R;
@@ -5235,14 +5235,14 @@ function debounce(e, t, r) {
5235
5235
  var R = C - i, A = C - c;
5236
5236
  return i === void 0 || R >= t || R < 0 || d && A >= s;
5237
5237
  }
5238
- function _() {
5238
+ function p() {
5239
5239
  var C = now$1();
5240
5240
  if (g(C))
5241
5241
  return m(C);
5242
- o = setTimeout(_, y(C));
5242
+ o = setTimeout(p, y(C));
5243
5243
  }
5244
5244
  function m(C) {
5245
- return o = void 0, p && a ? E(C) : (a = n = void 0, l);
5245
+ return o = void 0, _ && a ? E(C) : (a = n = void 0, l);
5246
5246
  }
5247
5247
  function T() {
5248
5248
  o !== void 0 && clearTimeout(o), c = 0, a = i = n = o = void 0;
@@ -5256,9 +5256,9 @@ function debounce(e, t, r) {
5256
5256
  if (o === void 0)
5257
5257
  return b(i);
5258
5258
  if (d)
5259
- return clearTimeout(o), o = setTimeout(_, t), E(i);
5259
+ return clearTimeout(o), o = setTimeout(p, t), E(i);
5260
5260
  }
5261
- return o === void 0 && (o = setTimeout(_, t)), l;
5261
+ return o === void 0 && (o = setTimeout(p, t)), l;
5262
5262
  }
5263
5263
  return I.cancel = T, I.flush = k, I;
5264
5264
  }
@@ -5281,8 +5281,8 @@ function baseDifference(e, t, r, a) {
5281
5281
  for (; ++n < o; ) {
5282
5282
  var u = e[n], d = r == null ? u : r(u);
5283
5283
  if (u = a || u !== 0 ? u : 0, l && d === d) {
5284
- for (var p = c; p--; )
5285
- if (t[p] === d)
5284
+ for (var _ = c; _--; )
5285
+ if (t[_] === d)
5286
5286
  continue e;
5287
5287
  i.push(u);
5288
5288
  } else
@@ -5344,17 +5344,17 @@ function baseIntersection(e, t, r) {
5344
5344
  l && t && (u = arrayMap(u, baseUnary(t))), i = nativeMin(u.length, i), o[l] = !r && (t || n >= 120 && u.length >= 120) ? new SetCache(l && u) : void 0;
5345
5345
  }
5346
5346
  u = e[0];
5347
- var d = -1, p = o[0];
5347
+ var d = -1, _ = o[0];
5348
5348
  e:
5349
5349
  for (; ++d < n && c.length < i; ) {
5350
5350
  var E = u[d], b = t ? t(E) : E;
5351
- if (E = r || E !== 0 ? E : 0, !(p ? cacheHas(p, b) : a(c, b, r))) {
5351
+ if (E = r || E !== 0 ? E : 0, !(_ ? cacheHas(_, b) : a(c, b, r))) {
5352
5352
  for (l = s; --l; ) {
5353
5353
  var y = o[l];
5354
5354
  if (!(y ? cacheHas(y, b) : a(e[l], b, r)))
5355
5355
  continue e;
5356
5356
  }
5357
- p && p.push(b), c.push(E);
5357
+ _ && _.push(b), c.push(E);
5358
5358
  }
5359
5359
  }
5360
5360
  return c;
@@ -5491,8 +5491,8 @@ function baseUniq(e, t, r) {
5491
5491
  for (; ++a < s; ) {
5492
5492
  var u = e[a], d = t ? t(u) : u;
5493
5493
  if (u = r || u !== 0 ? u : 0, l && d === d) {
5494
- for (var p = i.length; p--; )
5495
- if (i[p] === d)
5494
+ for (var _ = i.length; _--; )
5495
+ if (i[_] === d)
5496
5496
  continue e;
5497
5497
  t && i.push(d), o.push(u);
5498
5498
  } else
@@ -5980,7 +5980,7 @@ const KgModal_Close = "", getProps$A = () => ({
5980
5980
  onUnmounted(() => {
5981
5981
  d();
5982
5982
  });
5983
- const p = (m) => {
5983
+ const _ = (m) => {
5984
5984
  switch (e.kgType) {
5985
5985
  case "top":
5986
5986
  t("update:kgHeight", Math.min(e.kgMaxHeight, Math.max(e.kgMinHeight, n - (m.pageY - l))));
@@ -5997,10 +5997,10 @@ const KgModal_Close = "", getProps$A = () => ({
5997
5997
  }
5998
5998
  };
5999
5999
  function E(m) {
6000
- p(m);
6000
+ _(m);
6001
6001
  }
6002
6002
  function b(m) {
6003
- p(m), d();
6003
+ _(m), d();
6004
6004
  }
6005
6005
  function y(m) {
6006
6006
  m.stopPropagation(), m.preventDefault(), d(), !(m instanceof MouseEvent && m.which !== 1) && (s = m.pageX, l = m.pageY, a = e.kgWidth, n = e.kgHeight, o = g(document.documentElement, "mousemove", E), i = g(document.documentElement, "mouseup", b));
@@ -6010,7 +6010,7 @@ const KgModal_Close = "", getProps$A = () => ({
6010
6010
  remove: () => m.removeEventListener(T, k)
6011
6011
  };
6012
6012
  }
6013
- function _(m) {
6013
+ function p(m) {
6014
6014
  m.stopPropagation(), m.preventDefault();
6015
6015
  }
6016
6016
  return () => {
@@ -6020,7 +6020,7 @@ const KgModal_Close = "", getProps$A = () => ({
6020
6020
  style: c.value
6021
6021
  }, [createVNode("div", {
6022
6022
  class: "kg-resizable-handle",
6023
- onClick: _,
6023
+ onClick: p,
6024
6024
  onMousedown: y
6025
6025
  }, [createVNode("div", {
6026
6026
  class: "kg-resizable-handle-line"
@@ -6094,7 +6094,7 @@ class KgVarUtil {
6094
6094
  return r;
6095
6095
  }
6096
6096
  static transformFormItemValue(t, r, a, n, s) {
6097
- var p, E, b, y;
6097
+ var _, E, b, y;
6098
6098
  const l = useKg(), o = useKgVar(t);
6099
6099
  let i = n;
6100
6100
  const c = /(.*)?({(.*)?})(.*)?/.exec(i);
@@ -6105,7 +6105,7 @@ class KgVarUtil {
6105
6105
  i = i.replace("{NOW}", a().format("YYYY-MM-DD HH:mm:ss"));
6106
6106
  break;
6107
6107
  case "{USER.username}":
6108
- i = i.replace("{USER.username}", (y = (b = (E = (p = l.store).getUseUserStore) == null ? void 0 : E.call(p)) == null ? void 0 : b.userInfo) == null ? void 0 : y.username);
6108
+ i = i.replace("{USER.username}", (y = (b = (E = (_ = l.store).getUseUserStore) == null ? void 0 : E.call(_)) == null ? void 0 : b.userInfo) == null ? void 0 : y.username);
6109
6109
  break;
6110
6110
  }
6111
6111
  }
@@ -6113,10 +6113,10 @@ class KgVarUtil {
6113
6113
  if (!u)
6114
6114
  return i;
6115
6115
  const d = (() => {
6116
- const g = u.ctrl_typ, _ = u.prf_ctrl_typ, m = u.crt_ctrl_typ, T = u.upt_ctrl_typ, k = u.cpy_ctrl_typ, I = u.del_ctrl_typ;
6116
+ const g = u.ctrl_typ, p = u.prf_ctrl_typ, m = u.crt_ctrl_typ, T = u.upt_ctrl_typ, k = u.cpy_ctrl_typ, I = u.del_ctrl_typ;
6117
6117
  switch (s) {
6118
6118
  case "R":
6119
- return _ || g;
6119
+ return p || g;
6120
6120
  case "C":
6121
6121
  return m || g;
6122
6122
  case "U":
@@ -6214,8 +6214,8 @@ class KgVarUtil {
6214
6214
  });
6215
6215
  return;
6216
6216
  }
6217
- const _ = o.store.getVarPossibility(t, r);
6218
- switch (_ == null ? void 0 : _.val_data_type) {
6217
+ const p = o.store.getVarPossibility(t, r);
6218
+ switch (p == null ? void 0 : p.val_data_type) {
6219
6219
  case KG_POSSIBILITY_DATA_TYPE.NUMBER: {
6220
6220
  const m = g.map((T) => Number(T));
6221
6221
  if (m.some((T) => Number.isNaN(m))) {
@@ -6223,7 +6223,7 @@ class KgVarUtil {
6223
6223
  frm_id: t,
6224
6224
  var_nam: r,
6225
6225
  value: i,
6226
- VarPossibility: _
6226
+ VarPossibility: p
6227
6227
  });
6228
6228
  return;
6229
6229
  }
@@ -6250,8 +6250,8 @@ class KgVarUtil {
6250
6250
  const g = o.store.getVarPossibility(t, r);
6251
6251
  switch (g == null ? void 0 : g.val_data_type) {
6252
6252
  case KG_POSSIBILITY_DATA_TYPE.NUMBER: {
6253
- const _ = Number(i);
6254
- if (Number.isNaN(_)) {
6253
+ const p = Number(i);
6254
+ if (Number.isNaN(p)) {
6255
6255
  KgLogger.error(`| \u63A7\u4EF6\u7684\u503C\u975E\u6CD5 | ${d} \u63A7\u4EF6\u7684\u503C\u5FC5\u987B\u4E3A\u6570\u5B57\u7C7B\u578B.`, {
6256
6256
  frm_id: t,
6257
6257
  var_nam: r,
@@ -6260,7 +6260,7 @@ class KgVarUtil {
6260
6260
  });
6261
6261
  return;
6262
6262
  }
6263
- return _;
6263
+ return p;
6264
6264
  }
6265
6265
  case KG_POSSIBILITY_DATA_TYPE.BOOLEAN:
6266
6266
  return Boolean(i);
@@ -6340,7 +6340,7 @@ class KgVarUtil {
6340
6340
  }
6341
6341
  }
6342
6342
  static getDynamicQueryOperatorSelectOptions(t) {
6343
- let r, a, n, s, l, o, i, c, u, d, p;
6343
+ let r, a, n, s, l, o, i, c, u, d, _;
6344
6344
  const E = useKg();
6345
6345
  return createVNode(Fragment, null, [[KG_FORM_ITEM_TYPE.INPUT, KG_FORM_ITEM_TYPE.TEXT_AREA, KG_FORM_ITEM_TYPE.INPUT_NUMBER, KG_FORM_ITEM_TYPE.DATE_DATE, KG_FORM_ITEM_TYPE.DATE_TIME, KG_FORM_ITEM_TYPE.DATE_DATETIME, KG_FORM_ITEM_TYPE.DATE_WEEK, KG_FORM_ITEM_TYPE.DATE_MONTH, KG_FORM_ITEM_TYPE.DATE_YEAR, KG_FORM_ITEM_TYPE.CHECKBOX, KG_FORM_ITEM_TYPE.SWITCH, KG_FORM_ITEM_TYPE.SELECT, KG_FORM_ITEM_TYPE.RADIO_GROUP].includes(t) && createVNode(Fragment, null, [createVNode(Select.Option, {
6346
6346
  title: E.t("kg.KgSearchConfigModal.EQ-desc"),
@@ -6395,8 +6395,8 @@ class KgVarUtil {
6395
6395
  }), [KG_FORM_ITEM_TYPE.DATE_DATE_RANGE, KG_FORM_ITEM_TYPE.DATE_TIME_RANGE, KG_FORM_ITEM_TYPE.DATE_DATETIME_RANGE].includes(t) && createVNode(Select.Option, {
6396
6396
  title: E.t("kg.KgSearchConfigModal.BETWEEN-desc"),
6397
6397
  value: KG_DYNAMIC_QUERY_OPERATOR.BETWEEN
6398
- }, _isSlot$d(p = E.t("kg.KgSearchConfigModal.BETWEEN")) ? p : {
6399
- default: () => [p]
6398
+ }, _isSlot$d(_ = E.t("kg.KgSearchConfigModal.BETWEEN")) ? _ : {
6399
+ default: () => [_]
6400
6400
  })]);
6401
6401
  }
6402
6402
  }
@@ -6674,17 +6674,17 @@ function useKgTable(e) {
6674
6674
  var g;
6675
6675
  return ((g = t.varGridConfig.value) == null ? void 0 : g.aut_load_flg) === 1;
6676
6676
  }), u = computed(() => {
6677
- var g, _;
6678
- return !!((g = t.varGridConfig.value) != null && g.id) && ((_ = t.varGridConfig.value) == null ? void 0 : _.show_bottom_left_flg) !== 0;
6677
+ var g, p;
6678
+ return !!((g = t.varGridConfig.value) != null && g.id) && ((p = t.varGridConfig.value) == null ? void 0 : p.show_bottom_left_flg) !== 0;
6679
6679
  }), d = computed(() => {
6680
- var g, _;
6681
- return !!((g = t.varGridConfig.value) != null && g.id) && ((_ = t.varGridConfig.value) == null ? void 0 : _.show_bottom_right_flg) !== 0;
6682
- }), p = computed(() => {
6683
- var g, _;
6684
- return (_ = (g = t.varGridConfig.value) == null ? void 0 : g.id_clm) != null ? _ : "id";
6680
+ var g, p;
6681
+ return !!((g = t.varGridConfig.value) != null && g.id) && ((p = t.varGridConfig.value) == null ? void 0 : p.show_bottom_right_flg) !== 0;
6682
+ }), _ = computed(() => {
6683
+ var g, p;
6684
+ return (p = (g = t.varGridConfig.value) == null ? void 0 : g.id_clm) != null ? p : "id";
6685
6685
  }), E = computed(() => {
6686
- var g, _;
6687
- return JSON.parse((_ = (g = t.varGridConfig.value) == null ? void 0 : g.pg_size_opts) != null ? _ : "[]");
6686
+ var g, p;
6687
+ return JSON.parse((p = (g = t.varGridConfig.value) == null ? void 0 : g.pg_size_opts) != null ? p : "[]");
6688
6688
  }), b = computed(() => {
6689
6689
  var g;
6690
6690
  return (g = t.varGridConfig.value) == null ? void 0 : g.pg_size_opt;
@@ -6704,7 +6704,7 @@ function useKgTable(e) {
6704
6704
  isReadAutomatically: c,
6705
6705
  isShowBottomLeft: u,
6706
6706
  isShowBottomRight: d,
6707
- id: p,
6707
+ id: _,
6708
6708
  pageSizeOptions: E,
6709
6709
  pageSizeOption: b,
6710
6710
  profileFormID: y,
@@ -6859,6 +6859,7 @@ class SysUserWarehouseDTO {
6859
6859
  v(this, "mod_usr_id");
6860
6860
  v(this, "moddte");
6861
6861
  v(this, "user_id");
6862
+ v(this, "wh_dsc");
6862
6863
  v(this, "wh_id");
6863
6864
  keys(t != null ? t : {}).forEach((r) => {
6864
6865
  switch (r) {
@@ -6869,6 +6870,7 @@ class SysUserWarehouseDTO {
6869
6870
  case "mod_usr_id":
6870
6871
  case "moddte":
6871
6872
  case "user_id":
6873
+ case "wh_dsc":
6872
6874
  case "wh_id":
6873
6875
  Reflect.set(this, r, Reflect.get(t != null ? t : {}, r));
6874
6876
  break;
@@ -7679,8 +7681,8 @@ const KgTable_Setting = "", FORM_ID__VAR_GRID_CONFIG = "kg-table.VarGridConfig",
7679
7681
  }) => {
7680
7682
  const c = a == null ? void 0 : a.store.getVarGridConfig(a.formID);
7681
7683
  return l = watch(i, (u) => {
7682
- var d, p, E, b, y, g, _, m, T, k, I;
7683
- u && (u.id = (d = c == null ? void 0 : c.id) != null ? d : null, u.frm_id = a == null ? void 0 : a.formID, u.aut_load_flg = (p = c == null ? void 0 : c.aut_load_flg) != null ? p : 0, u.mult_flg = (E = c == null ? void 0 : c.mult_flg) != null ? E : 0, u.show_check_column_flg = (b = c == null ? void 0 : c.show_check_column_flg) != null ? b : 0, u.show_bottom_left_flg = (y = c == null ? void 0 : c.show_bottom_left_flg) != null ? y : 1, u.show_bottom_right_flg = (g = c == null ? void 0 : c.show_bottom_right_flg) != null ? g : 1, u.convert_sort_field_to_under_score_flg = (_ = c == null ? void 0 : c.convert_sort_field_to_under_score_flg) != null ? _ : 0, u.pg_size_opts = (m = c == null ? void 0 : c.pg_size_opts) != null ? m : "[10, 20, 50, 100]", u.pg_size_opt = (T = c == null ? void 0 : c.pg_size_opt) != null ? T : 10, u.cmd_prm = (k = c == null ? void 0 : c.cmd_prm) != null ? k : void 0, u.button_display_type = (I = c == null ? void 0 : c.button_display_type) != null ? I : KG_BUTTON_DISPLAY_TYPE.DEFAULT);
7684
+ var d, _, E, b, y, g, p, m, T, k, I;
7685
+ u && (u.id = (d = c == null ? void 0 : c.id) != null ? d : null, u.frm_id = a == null ? void 0 : a.formID, u.aut_load_flg = (_ = c == null ? void 0 : c.aut_load_flg) != null ? _ : 0, u.mult_flg = (E = c == null ? void 0 : c.mult_flg) != null ? E : 0, u.show_check_column_flg = (b = c == null ? void 0 : c.show_check_column_flg) != null ? b : 0, u.show_bottom_left_flg = (y = c == null ? void 0 : c.show_bottom_left_flg) != null ? y : 1, u.show_bottom_right_flg = (g = c == null ? void 0 : c.show_bottom_right_flg) != null ? g : 1, u.convert_sort_field_to_under_score_flg = (p = c == null ? void 0 : c.convert_sort_field_to_under_score_flg) != null ? p : 0, u.pg_size_opts = (m = c == null ? void 0 : c.pg_size_opts) != null ? m : "[10, 20, 50, 100]", u.pg_size_opt = (T = c == null ? void 0 : c.pg_size_opt) != null ? T : 10, u.cmd_prm = (k = c == null ? void 0 : c.cmd_prm) != null ? k : void 0, u.button_display_type = (I = c == null ? void 0 : c.button_display_type) != null ? I : KG_BUTTON_DISPLAY_TYPE.DEFAULT);
7684
7686
  }, {
7685
7687
  immediate: !0
7686
7688
  }), KgUtil.hideLoading(), !1;
@@ -8126,10 +8128,10 @@ async function getCSSRules(e, t) {
8126
8128
  const i = s.href, c = fetchCSS(i).then((u) => embedFonts(u, t)).then((u) => parseCSS(u).forEach((d) => {
8127
8129
  try {
8128
8130
  n.insertRule(d, d.startsWith("@import") ? o += 1 : n.cssRules.length);
8129
- } catch (p) {
8131
+ } catch (_) {
8130
8132
  console.error("Error inserting rule from remote css", {
8131
8133
  rule: d,
8132
- error: p
8134
+ error: _
8133
8135
  });
8134
8136
  }
8135
8137
  })).catch((u) => {
@@ -8390,7 +8392,7 @@ function _useTransferColumns(e, t) {
8390
8392
  class: "kg-not-clickable"
8391
8393
  }, {
8392
8394
  default: () => {
8393
- let c, u, d, p, E, b, y;
8395
+ let c, u, d, _, E, b, y;
8394
8396
  return createVNode(Fragment, null, [createVNode(Select.Option, {
8395
8397
  value: "DESC"
8396
8398
  }, _isSlot$b(c = r.t("kg.KgTableSettingConfigModalVarGridMaster.DESC")) ? c : {
@@ -8405,8 +8407,8 @@ function _useTransferColumns(e, t) {
8405
8407
  default: () => [d]
8406
8408
  }), createVNode(Select.Option, {
8407
8409
  value: "PROGRESS"
8408
- }, _isSlot$b(p = r.t("kg.KgTableSettingConfigModalVarGridMaster.PROGRESS")) ? p : {
8409
- default: () => [p]
8410
+ }, _isSlot$b(_ = r.t("kg.KgTableSettingConfigModalVarGridMaster.PROGRESS")) ? _ : {
8411
+ default: () => [_]
8410
8412
  }), createVNode(Select.Option, {
8411
8413
  value: "FILE_SIZE"
8412
8414
  }, _isSlot$b(E = r.t("kg.KgTableSettingConfigModalVarGridMaster.FILE_SIZE")) ? E : {
@@ -8487,40 +8489,40 @@ function _useDragRow$1(e, t, r) {
8487
8489
  if (n = filter(document.querySelectorAll(`tr[kg-host-frm_id="${e}"] > td.handler`), () => !0), n)
8488
8490
  for (let u of n)
8489
8491
  u.__kg__dragstart__ = async (d) => {
8490
- var g, _;
8492
+ var g, p;
8491
8493
  s = u.parentElement, u.classList.add("dragging"), u.parentElement.classList.add("dragging");
8492
- const p = document.createElement("span");
8493
- p.setAttribute("id", "__kg_table_config_fields_drag_image__");
8494
+ const _ = document.createElement("span");
8495
+ _.setAttribute("id", "__kg_table_config_fields_drag_image__");
8494
8496
  const {
8495
8497
  width: E,
8496
8498
  height: b
8497
8499
  } = u.parentElement.getBoundingClientRect();
8498
- E && b && (p.style.width = `${E + 2}px`, p.style.height = `${b + 2}px`), (g = d.dataTransfer) == null || g.setDragImage(p, -10, (b + 2) / 2);
8500
+ E && b && (_.style.width = `${E + 2}px`, _.style.height = `${b + 2}px`), (g = d.dataTransfer) == null || g.setDragImage(_, -10, (b + 2) / 2);
8499
8501
  const y = await toCanvas(u.parentElement);
8500
- p.appendChild(y), document.body.appendChild(p), (_ = d.dataTransfer) == null || _.setDragImage(p, -10, (b + 2) / 2);
8502
+ _.appendChild(y), document.body.appendChild(_), (p = d.dataTransfer) == null || p.setDragImage(_, -10, (b + 2) / 2);
8501
8503
  }, u.addEventListener("dragstart", u.__kg__dragstart__), u.__kg__dragend__ = (d) => {
8502
8504
  u.classList.remove("dragging"), u.parentElement.classList.remove("dragging");
8503
- const p = document.querySelector("#__kg_table_config_fields_drag_image__");
8504
- p && document.body.removeChild(p);
8505
+ const _ = document.querySelector("#__kg_table_config_fields_drag_image__");
8506
+ _ && document.body.removeChild(_);
8505
8507
  }, u.addEventListener("dragend", u.__kg__dragend__), u.__kg__drag__ = (d) => {
8506
8508
  d.preventDefault();
8507
- const p = document.querySelector("#__kg_table_config_fields_drag_image__");
8508
- p && (p.style.left = `${d.clientX + 10}px`, p.style.top = `${d.clientY - p.getBoundingClientRect().height / 2}px`);
8509
+ const _ = document.querySelector("#__kg_table_config_fields_drag_image__");
8510
+ _ && (_.style.left = `${d.clientX + 10}px`, _.style.top = `${d.clientY - _.getBoundingClientRect().height / 2}px`);
8509
8511
  }, u.addEventListener("drag", u.__kg__drag__, !1);
8510
8512
  if (a = filter(document.querySelectorAll(`tr[kg-host-frm_id="${e}"]`), () => !0), a)
8511
8513
  for (let u of a)
8512
8514
  u.__kg__dragover__ = (d) => {
8513
- var p, E;
8514
- d.preventDefault(), u.rowIndex > ((p = s == null ? void 0 : s.rowIndex) != null ? p : -1) ? u.classList.add("dragover", "dragover-right") : u.rowIndex < ((E = s == null ? void 0 : s.rowIndex) != null ? E : -1) && u.classList.add("dragover", "dragover-left");
8515
+ var _, E;
8516
+ d.preventDefault(), u.rowIndex > ((_ = s == null ? void 0 : s.rowIndex) != null ? _ : -1) ? u.classList.add("dragover", "dragover-right") : u.rowIndex < ((E = s == null ? void 0 : s.rowIndex) != null ? E : -1) && u.classList.add("dragover", "dragover-left");
8515
8517
  }, u.addEventListener("dragover", u.__kg__dragover__, !1), u.__kg__dragenter__ = (d) => {
8516
- var p, E;
8517
- u.rowIndex > ((p = s == null ? void 0 : s.rowIndex) != null ? p : -1) ? u.classList.add("dragover", "dragover-right") : u.rowIndex < ((E = s == null ? void 0 : s.rowIndex) != null ? E : -1) && u.classList.add("dragover", "dragover-left");
8518
+ var _, E;
8519
+ u.rowIndex > ((_ = s == null ? void 0 : s.rowIndex) != null ? _ : -1) ? u.classList.add("dragover", "dragover-right") : u.rowIndex < ((E = s == null ? void 0 : s.rowIndex) != null ? E : -1) && u.classList.add("dragover", "dragover-left");
8518
8520
  }, u.addEventListener("dragenter", u.__kg__dragenter__), u.__kg__dragleave__ = (d) => {
8519
8521
  u.classList.remove("dragover", "dragover-right", "dragover-left");
8520
8522
  }, u.addEventListener("dragleave", u.__kg__dragleave__), u.__kg__drop__ = (d) => {
8521
8523
  d.preventDefault(), KgUtil.showLoading();
8522
- const p = document.querySelector("#__kg_table_config_fields_drag_image__");
8523
- p && document.body.removeChild(p), u.classList.remove("dragover", "dragover-right", "dragover-left");
8524
+ const _ = document.querySelector("#__kg_table_config_fields_drag_image__");
8525
+ _ && document.body.removeChild(_), u.classList.remove("dragover", "dragover-right", "dragover-left");
8524
8526
  const E = s == null ? void 0 : s.getAttribute("kg-var_nam"), b = u.getAttribute("kg-var_nam");
8525
8527
  E !== b && i(E, b);
8526
8528
  }, u.addEventListener("drop", u.__kg__drop__);
@@ -8529,26 +8531,26 @@ function _useDragRow$1(e, t, r) {
8529
8531
  if (n)
8530
8532
  for (let u of n)
8531
8533
  ["dragstart", "dragend", "drag"].forEach((d) => {
8532
- const p = `__kg__${d}__`;
8533
- u[p] && (u.removeEventListener(d, u[p]), delete u[p]);
8534
+ const _ = `__kg__${d}__`;
8535
+ u[_] && (u.removeEventListener(d, u[_]), delete u[_]);
8534
8536
  });
8535
8537
  if (a)
8536
8538
  for (let u of a)
8537
8539
  ["dragover", "dragenter", "dragleave", "drop"].forEach((d) => {
8538
- const p = `__kg__${d}__`;
8539
- u[p] && (u.removeEventListener(d, u[p]), delete u[p]);
8540
+ const _ = `__kg__${d}__`;
8541
+ u[_] && (u.removeEventListener(d, u[_]), delete u[_]);
8540
8542
  });
8541
8543
  }
8542
8544
  function i(u, d) {
8543
8545
  setTimeout(() => {
8544
- const p = t.value.findIndex((g) => g.var_nam === u), E = t.value.findIndex((g) => g.var_nam === d);
8545
- if (p === -1 || E === -1)
8546
+ const _ = t.value.findIndex((g) => g.var_nam === u), E = t.value.findIndex((g) => g.var_nam === d);
8547
+ if (_ === -1 || E === -1)
8546
8548
  return;
8547
8549
  const b = t.value.find((g) => g.var_nam === u), y = [];
8548
- t.value.forEach((g, _) => {
8549
- p > E ? _ < E ? y.push(g) : _ === E ? (y.push(b), y.push(g)) : _ > E && _ !== p && y.push(g) : p < E && (_ < p ? y.push(g) : _ === p || (_ === E ? (y.push(g), y.push(b)) : y.push(g)));
8550
- }), y.forEach((g, _) => {
8551
- g.srtseq = _ + 1;
8550
+ t.value.forEach((g, p) => {
8551
+ _ > E ? p < E ? y.push(g) : p === E ? (y.push(b), y.push(g)) : p > E && p !== _ && y.push(g) : _ < E && (p < _ ? y.push(g) : p === _ || (p === E ? (y.push(g), y.push(b)) : y.push(g)));
8552
+ }), y.forEach((g, p) => {
8553
+ g.srtseq = p + 1;
8552
8554
  }), t.value = y, nextTick().finally(() => {
8553
8555
  KgUtil.hideLoading();
8554
8556
  });
@@ -8653,7 +8655,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$u = () => ({
8653
8655
  });
8654
8656
  }) : Promise.resolve(!1));
8655
8657
  const c = ref([]), u = ref([]), d = ref([]), {
8656
- leftColumns: p,
8658
+ leftColumns: _,
8657
8659
  rightColumns: E
8658
8660
  } = _useTransferColumns(e.hostFormID, c);
8659
8661
  _useDragRow$1(e.hostFormID, c, d);
@@ -8710,12 +8712,12 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$u = () => ({
8710
8712
  x: m === "left" ? "370px" : `${1552 + 32}px`,
8711
8713
  y: "auto"
8712
8714
  },
8713
- columns: m === "left" ? p() : E(),
8715
+ columns: m === "left" ? _() : E(),
8714
8716
  rowKey: "id",
8715
8717
  dataSource: A,
8716
8718
  customRow: (O) => {
8717
8719
  let M = {
8718
- onClick: (P) => _(P, O, m, k)
8720
+ onClick: (P) => p(P, O, m, k)
8719
8721
  };
8720
8722
  return m === "right" && (M["kg-host-frm_id"] = a.formID, M["kg-var_nam"] = O.var_nam), M;
8721
8723
  },
@@ -8753,7 +8755,7 @@ const KgTable_Setting_ConfigModal_VarGridMaster = "", getProps$u = () => ({
8753
8755
  selectedRowKeys: T,
8754
8756
  columnWidth: 32
8755
8757
  });
8756
- function _(m, T, k, I) {
8758
+ function p(m, T, k, I) {
8757
8759
  if (!KgDomUtil.isNotClickable(m.target, ["ant-input"]))
8758
8760
  switch (I.length = 0, m.detail) {
8759
8761
  case 1:
@@ -8885,9 +8887,9 @@ const FORM_ID__VAR_GRID_MASTER__SAVE = "kg-table.VarGridMaster.Save", KgTableSet
8885
8887
  return o.onOpen(async ({
8886
8888
  model: i
8887
8889
  }) => {
8888
- var u, d, p, E, b, y, g;
8890
+ var u, d, _, E, b, y, g;
8889
8891
  const c = s.currentVarGridMaster.value;
8890
- return i.value.grd_var_nam = `${(u = c == null ? void 0 : c.grd_var_nam) != null ? u : ""}_COPY`, i.value.grd_var_nam_dsc = `${(p = (d = c == null ? void 0 : c.grd_var_nam_dsc) != null ? d : c == null ? void 0 : c.grd_var_nam) != null ? p : ""}_COPY`, i.value.frm_id = (E = c == null ? void 0 : c.frm_id) != null ? E : "", i.value.usr_id = (b = c == null ? void 0 : c.usr_id) != null ? b : "", i.value.grp_nam = (y = c == null ? void 0 : c.grp_nam) != null ? y : "", i.value.varGridDetails = (g = c == null ? void 0 : c.varGridDetails) != null ? g : [], KgUtil.hideLoading(), !1;
8892
+ return i.value.grd_var_nam = `${(u = c == null ? void 0 : c.grd_var_nam) != null ? u : ""}_COPY`, i.value.grd_var_nam_dsc = `${(_ = (d = c == null ? void 0 : c.grd_var_nam_dsc) != null ? d : c == null ? void 0 : c.grd_var_nam) != null ? _ : ""}_COPY`, i.value.frm_id = (E = c == null ? void 0 : c.frm_id) != null ? E : "", i.value.usr_id = (b = c == null ? void 0 : c.usr_id) != null ? b : "", i.value.grp_nam = (y = c == null ? void 0 : c.grp_nam) != null ? y : "", i.value.varGridDetails = (g = c == null ? void 0 : c.varGridDetails) != null ? g : [], KgUtil.hideLoading(), !1;
8891
8893
  }), o.onBeforeOk(async ({
8892
8894
  model: i
8893
8895
  }) => (i.value, !1)), o.onOk(async () => (message.success(a.t("kg.KgTable.save-var-grid-master-as-success-message")), s.store.retrieve(s.formID), !1)), o.onClose(async () => (r("kgClose"), !1)), l.store.setIsCopying(l.formID, !0), () => createVNode(KgVar, null, null);
@@ -8912,7 +8914,7 @@ const getProps$r = () => ({
8912
8914
  filterVarGridDetailByKey: l
8913
8915
  } = _useServices(), o = ref([]), i = computed(() => o.value.includes("1")), c = ref(""), u = computed(() => s.store.getRowHeight(n.formID)), d = ref({
8914
8916
  visible: !1
8915
- }), p = ref({
8917
+ }), _ = ref({
8916
8918
  visible: !1
8917
8919
  }), E = computed(() => isNil(e.kgDisabled) ? !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value || !!n.isCreating.value : e.kgDisabled);
8918
8920
  _useObserveMenuColumns(i), watch(i, (C) => {
@@ -8937,7 +8939,7 @@ const getProps$r = () => ({
8937
8939
  danger: !1
8938
8940
  },
8939
8941
  onOk: async () => {
8940
- p.value.visible = !0;
8942
+ _.value.visible = !0;
8941
8943
  }
8942
8944
  });
8943
8945
  return;
@@ -8948,8 +8950,8 @@ const getProps$r = () => ({
8948
8950
  })
8949
8951
  }), KgUtil.hideLoading(), message.success(a.t("kg.KgTable.saveVarGridMasterSuccessMessage"));
8950
8952
  }
8951
- async function _() {
8952
- p.value.visible = !0;
8953
+ async function p() {
8954
+ _.value.visible = !0;
8953
8955
  }
8954
8956
  function m() {
8955
8957
  return createVNode(Menu.SubMenu, {
@@ -9019,7 +9021,7 @@ const getProps$r = () => ({
9019
9021
  default: () => [C]
9020
9022
  }), createVNode(Menu.Item, {
9021
9023
  key: "save-grid-view-as",
9022
- onClick: _,
9024
+ onClick: p,
9023
9025
  icon: createVNode(Icon, {
9024
9026
  icon: "material-symbols:save-as-outline-rounded",
9025
9027
  style: {
@@ -9095,9 +9097,9 @@ const getProps$r = () => ({
9095
9097
  visible: d.value.visible,
9096
9098
  "onUpdate:visible": (C) => d.value.visible = C,
9097
9099
  hostFormID: n.formID
9098
- }, null), p.value.visible && createVNode(KgTableSettingVarGridMasterSaveAs, {
9100
+ }, null), _.value.visible && createVNode(KgTableSettingVarGridMasterSaveAs, {
9099
9101
  onKgClose: () => {
9100
- p.value.visible = !1;
9102
+ _.value.visible = !1;
9101
9103
  }
9102
9104
  }, null)]);
9103
9105
  }
@@ -9159,7 +9161,7 @@ const getProps$p = () => ({
9159
9161
  }), d = computed(() => {
9160
9162
  var k, I;
9161
9163
  return l.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.TABLE && ((k = e.kgRow) == null ? void 0 : k[o.id.value]) === ((I = o.selectedRow.value) == null ? void 0 : I[o.id.value]) && (!!n.isCreating.value && !!n.isCreatingRequesting.value || !!n.isUpdating.value && !!n.isUpdatingRequesting.value || !!n.isCopying.value && !!n.isCopyingRequesting.value || !!n.isDeleting.value && !!n.isDeletingRequesting.value);
9162
- }), p = computed(() => {
9164
+ }), _ = computed(() => {
9163
9165
  var I, C;
9164
9166
  let k = "kg-table-td";
9165
9167
  return ((I = i.value) == null ? void 0 : I.align) === "center" ? k += " kg-table-td--center" : ((C = i.value) == null ? void 0 : C.align) === "right" && (k += " kg-table-td--right"), u.value && (k += " kg-table-td--submitting"), k;
@@ -9207,7 +9209,7 @@ const getProps$p = () => ({
9207
9209
  }
9208
9210
  function g() {
9209
9211
  }
9210
- function _() {
9212
+ function p() {
9211
9213
  return createVNode(KgForm, {
9212
9214
  ref: b,
9213
9215
  model: l.model.value,
@@ -9231,7 +9233,7 @@ const getProps$p = () => ({
9231
9233
  function m() {
9232
9234
  var k, I, C, R, A, O, M, P, L, H, w;
9233
9235
  if (u.value)
9234
- return _();
9236
+ return p();
9235
9237
  switch ((k = i.value) == null ? void 0 : k.display_type) {
9236
9238
  case KG_TABLE_CELL_DISPLAY_TYPE.YN: {
9237
9239
  const D = KgUtil.tryParseJSON((I = i.value) == null ? void 0 : I.display_type_properties);
@@ -9311,7 +9313,7 @@ const getProps$p = () => ({
9311
9313
  }, null);
9312
9314
  }
9313
9315
  return () => createVNode("div", {
9314
- class: p.value,
9316
+ class: _.value,
9315
9317
  title: E.value,
9316
9318
  "kg-value": e.kgValue
9317
9319
  }, [m()]);
@@ -9323,13 +9325,13 @@ function _useRenderBodyCell() {
9323
9325
  a.store.setSelectedRows(t.formID, [l].map((o) => a.store.getDatas(t.formID).find((i) => i[a.id.value] === o[a.id.value])).filter((o) => !!o)), r.click(t.formID, KG_BUTTON_TYPE.UPDATE);
9324
9326
  }
9325
9327
  function s(l, o = KG_TABLE_CELL_CONTEXT.TABLE_CELL) {
9326
- var _;
9328
+ var p;
9327
9329
  const {
9328
9330
  column: i,
9329
9331
  index: c,
9330
9332
  record: u,
9331
9333
  text: d,
9332
- value: p
9334
+ value: _
9333
9335
  } = l, E = i.dataIndex;
9334
9336
  let b = "";
9335
9337
  i.customRender ? b = i.customRender({
@@ -9337,9 +9339,9 @@ function _useRenderBodyCell() {
9337
9339
  record: u,
9338
9340
  column: i,
9339
9341
  text: d,
9340
- value: p,
9342
+ value: _,
9341
9343
  renderIndex: c
9342
- }) : b = p;
9344
+ }) : b = _;
9343
9345
  const y = createVNode(KgTableCell, {
9344
9346
  kgContext: o,
9345
9347
  kgRow: u,
@@ -9347,7 +9349,7 @@ function _useRenderBodyCell() {
9347
9349
  kgVarName: E,
9348
9350
  onKgUpdateLinkClick: () => n(u)
9349
9351
  }, null);
9350
- if (!((_ = e == null ? void 0 : e.KgTable) != null && _.bodyCell))
9352
+ if (!((p = e == null ? void 0 : e.KgTable) != null && p.bodyCell))
9351
9353
  return y;
9352
9354
  const g = t.store.getVarGridDetail(t.formID, E);
9353
9355
  return e.KgTable.bodyCell({
@@ -9355,7 +9357,7 @@ function _useRenderBodyCell() {
9355
9357
  index: c,
9356
9358
  record: u,
9357
9359
  text: d,
9358
- value: p,
9360
+ value: _,
9359
9361
  row: u,
9360
9362
  varGridDetail: g,
9361
9363
  defaultRender: y
@@ -9373,7 +9375,7 @@ function _useColumns(e) {
9373
9375
  return ((E = r.store.getVarGridConfig(r.formID)) == null ? void 0 : E.show_check_column_flg) === 1;
9374
9376
  }), u = computed(() => {
9375
9377
  var T, k, I;
9376
- const E = useKg(), b = s.store.getDatas(r.formID), y = (T = s.store.getTableWidth(r.formID)) != null ? T : 0, g = (k = r.store.getCurrentVisibleVarGridDetailsTotalWidth(r.formID)) != null ? k : 0, _ = r.store.getCurrentVisibleVarGridDetails(r.formID), m = [{
9378
+ const E = useKg(), b = s.store.getDatas(r.formID), y = (T = s.store.getTableWidth(r.formID)) != null ? T : 0, g = (k = r.store.getCurrentVisibleVarGridDetailsTotalWidth(r.formID)) != null ? k : 0, p = r.store.getCurrentVisibleVarGridDetails(r.formID), m = [{
9377
9379
  dataIndex: "index",
9378
9380
  width: KG_TABLE_TD_INDEX_WIDTH,
9379
9381
  fixed: "left",
@@ -9382,7 +9384,7 @@ function _useColumns(e) {
9382
9384
  customRender: ({
9383
9385
  index: C
9384
9386
  }) => C + 1
9385
- }, ...(I = _ == null ? void 0 : _.map((C, R) => {
9387
+ }, ...(I = p == null ? void 0 : p.map((C, R) => {
9386
9388
  var V, N, G;
9387
9389
  const A = C.var_nam;
9388
9390
  function O() {
@@ -9472,7 +9474,7 @@ function _useColumns(e) {
9472
9474
  }
9473
9475
  };
9474
9476
  })) != null ? I : []];
9475
- return (g === 0 || y > g && !(_ != null && _.find((C) => C.width === "auto"))) && m.push({
9477
+ return (g === 0 || y > g && !(p != null && p.find((C) => C.width === "auto"))) && m.push({
9476
9478
  width: "auto",
9477
9479
  customRender: () => null
9478
9480
  }), m;
@@ -9481,10 +9483,10 @@ function _useColumns(e) {
9481
9483
  let E = 0;
9482
9484
  return c.value && (E += KG_TABLE_TD_CHECK_WIDTH), E += KG_TABLE_TD_INDEX_WIDTH, E += (b = r.store.getCurrentVisibleVarGridDetailsTotalWidth(r.formID)) != null ? b : 0, `${E}px`;
9483
9485
  });
9484
- let p = null;
9486
+ let _ = null;
9485
9487
  return watch(r.currentVarGridMasteID, (E, b) => {
9486
- i.value = {}, p == null || p(), p = watch(i, () => {
9487
- p(), p = null, a.search({
9488
+ i.value = {}, _ == null || _(), _ = watch(i, () => {
9489
+ _(), _ = null, a.search({
9488
9490
  isSearchFirstPage: !0
9489
9491
  });
9490
9492
  }, {
@@ -9510,8 +9512,8 @@ function _useResizeObserver$1(e) {
9510
9512
  var s;
9511
9513
  const n = (s = e.value) == null ? void 0 : s.querySelector("div.ant-table-header");
9512
9514
  n && (a = new ResizeObserver((l) => {
9513
- var c, u, d, p;
9514
- const o = (u = (c = l[0].borderBoxSize[0]) == null ? void 0 : c.inlineSize) != null ? u : 0, i = (p = (d = n.querySelector("th.ant-table-cell-scrollbar")) == null ? void 0 : d.clientWidth) != null ? p : 0;
9515
+ var c, u, d, _;
9516
+ const o = (u = (c = l[0].borderBoxSize[0]) == null ? void 0 : c.inlineSize) != null ? u : 0, i = (_ = (d = n.querySelector("th.ant-table-cell-scrollbar")) == null ? void 0 : d.clientWidth) != null ? _ : 0;
9515
9517
  r.store.setTableWidth(t.formID, Math.max(0, o - i));
9516
9518
  }), a.observe(n));
9517
9519
  }), onUnmounted(() => {
@@ -9533,11 +9535,11 @@ function _useDragColumn(e, t) {
9533
9535
  u.setAttribute("id", "__kg_table_header_drag_image__");
9534
9536
  const {
9535
9537
  width: d,
9536
- height: p
9538
+ height: _
9537
9539
  } = i.getBoundingClientRect();
9538
- d && p && (u.style.width = `${d + 2}px`, u.style.height = `${p + 2}px`), (E = c.dataTransfer) == null || E.setDragImage(u, -10, (p + 2) / 2), toCanvas(i).then((b) => {
9540
+ d && _ && (u.style.width = `${d + 2}px`, u.style.height = `${_ + 2}px`), (E = c.dataTransfer) == null || E.setDragImage(u, -10, (_ + 2) / 2), toCanvas(i).then((b) => {
9539
9541
  var y;
9540
- u.appendChild(b), document.body.appendChild(u), (y = c.dataTransfer) == null || y.setDragImage(u, -10, (p + 2) / 2);
9542
+ u.appendChild(b), document.body.appendChild(u), (y = c.dataTransfer) == null || y.setDragImage(u, -10, (_ + 2) / 2);
9541
9543
  });
9542
9544
  }, i.addEventListener("dragstart", i.__kg__dragstart__), i.__kg__dragend__ = (c) => {
9543
9545
  i.classList.remove("dragging"), i.parentElement.classList.remove("dragging");
@@ -9559,8 +9561,8 @@ function _useDragColumn(e, t) {
9559
9561
  c.preventDefault(), i.classList.remove("dragover", "dragover-right", "dragover-left");
9560
9562
  const u = n == null ? void 0 : n.getAttribute("kg-frm_id"), d = i.getAttribute("kg-frm_id");
9561
9563
  if (u === d) {
9562
- const p = n == null ? void 0 : n.getAttribute("kg-var_nam"), E = i.getAttribute("kg-var_nam");
9563
- p !== E && r.store.dragSortCurrentVarGridDetails(r.formID, p, E);
9564
+ const _ = n == null ? void 0 : n.getAttribute("kg-var_nam"), E = i.getAttribute("kg-var_nam");
9565
+ _ !== E && r.store.dragSortCurrentVarGridDetails(r.formID, _, E);
9564
9566
  }
9565
9567
  }, i.addEventListener("drop", i.__kg__drop__);
9566
9568
  }
@@ -9596,11 +9598,11 @@ function _useDatas() {
9596
9598
  }
9597
9599
  return s.value.forEach((c) => {
9598
9600
  Object.keys(c).forEach((u) => {
9599
- var p;
9601
+ var _;
9600
9602
  const d = e.store.getVarGridDetail(e.formID, u);
9601
9603
  switch (d == null ? void 0 : d.display_type) {
9602
9604
  case KG_TABLE_CELL_DISPLAY_TYPE.PROGRESS: {
9603
- c[u] = (p = c[u]) != null ? p : 0;
9605
+ c[u] = (_ = c[u]) != null ? _ : 0;
9604
9606
  break;
9605
9607
  }
9606
9608
  default: {
@@ -9632,7 +9634,7 @@ const KgTable$1 = "", getProps$o = () => ({
9632
9634
  setup: function(e) {
9633
9635
  var ae;
9634
9636
  const t = inject("$dayjs", dayjs), r = inject(DI_KG_VAR__KG_SLOTS, null), a = inject(DI_KG_VAR__KG_PROPS, null), n = useKg(), s = useKgVar(), l = useKgSearch(), o = useKgTable(), i = useKgSubmit();
9635
- l.onSearch(async (F) => ($(F), !1)), l.onReset(async () => (p.value = {}, !1)), o.store.$onAction(async ({
9637
+ l.onSearch(async (F) => ($(F), !1)), l.onReset(async () => (_.value = {}, !1)), o.store.$onAction(async ({
9636
9638
  name: F,
9637
9639
  args: U
9638
9640
  }) => {
@@ -9658,7 +9660,7 @@ const KgTable$1 = "", getProps$o = () => ({
9658
9660
  const c = ref([]), {
9659
9661
  columns: u,
9660
9662
  filterInfo: d,
9661
- sorterInfo: p,
9663
+ sorterInfo: _,
9662
9664
  scrollX: E
9663
9665
  } = _useColumns(e), {
9664
9666
  isLoading: b
@@ -9667,24 +9669,24 @@ const KgTable$1 = "", getProps$o = () => ({
9667
9669
  } = _useRenderBodyCell();
9668
9670
  _useResizeObserver$1(y), _useDragColumn(y, u);
9669
9671
  const {
9670
- datas: _,
9672
+ datas: p,
9671
9673
  transformDatas: m
9672
9674
  } = _useDatas(), T = computed(() => {
9673
9675
  var F, U;
9674
9676
  return (U = (F = s.varButtonSearch.value) == null ? void 0 : F.cmd) != null ? U : null;
9675
9677
  }), k = computed(() => {
9676
- var U, Q, z, te, ue, ie, _e, ve, Ce;
9678
+ var U, Q, z, te, ue, ie, pe, ve, Ce;
9677
9679
  let F = {
9678
9680
  pageNo: D.pageIndex,
9679
9681
  pageSize: D.pageSize,
9680
- column: (Q = (U = p.value) == null ? void 0 : U.field) != null ? Q : void 0,
9681
- order: p.value.order === "ascend" ? "asc" : p.value.order === "descend" ? "desc" : void 0,
9682
+ column: (Q = (U = _.value) == null ? void 0 : U.field) != null ? Q : void 0,
9683
+ order: _.value.order === "ascend" ? "asc" : _.value.order === "descend" ? "desc" : void 0,
9682
9684
  ...(te = (z = l.model) == null ? void 0 : z.value) != null ? te : {}
9683
9685
  };
9684
9686
  return s.varButtonSearch.value && (F = {
9685
9687
  ...F,
9686
9688
  ...KgVarUtil.parseCommandParameter((ie = (ue = s.varButtonSearch.value) == null ? void 0 : ue.cmd_prm) != null ? ie : "")
9687
- }), (_e = s.varGridConfig.value) != null && _e.cmd_prm && (F = {
9689
+ }), (pe = s.varGridConfig.value) != null && pe.cmd_prm && (F = {
9688
9690
  ...F,
9689
9691
  ...KgVarUtil.parseCommandParameter((ve = s.varGridConfig.value.cmd_prm) != null ? ve : "")
9690
9692
  }), ((Ce = s.varGridConfig.value) == null ? void 0 : Ce.convert_sort_field_to_under_score_flg) === 1 && F.column && (F.column = snakeCase$1(F.column)), F;
@@ -9769,12 +9771,12 @@ const KgTable$1 = "", getProps$o = () => ({
9769
9771
  const F = {
9770
9772
  [o.id.value]: KG_TABLE_TEMP_ID
9771
9773
  };
9772
- o.store.setDatas(s.formID, [F, ..._.value]), o.store.setSelectedRows(s.formID, [F]);
9774
+ o.store.setDatas(s.formID, [F, ...p.value]), o.store.setSelectedRows(s.formID, [F]);
9773
9775
  }
9774
9776
  }
9775
9777
  function N() {
9776
- const F = _.value.find((U) => U[o.id.value] === KG_TABLE_TEMP_ID);
9777
- F && (o.store.setDatas(s.formID, without$1(_.value, F)), o.store.setSelectedRows(s.formID, []));
9778
+ const F = p.value.find((U) => U[o.id.value] === KG_TABLE_TEMP_ID);
9779
+ F && (o.store.setDatas(s.formID, without$1(p.value, F)), o.store.setSelectedRows(s.formID, []));
9778
9780
  }
9779
9781
  function G(F, U) {
9780
9782
  var Q;
@@ -9811,7 +9813,7 @@ const KgTable$1 = "", getProps$o = () => ({
9811
9813
  immediate: !0
9812
9814
  });
9813
9815
  async function Q() {
9814
- var z, te, ue, ie, _e, ve, Ce;
9816
+ var z, te, ue, ie, pe, ve, Ce;
9815
9817
  if (KgLogger.debug(`${s.formID} | KgTable | retrieve() | retrieveDatas() | \u6267\u884C\u5F00\u59CB.`), !T.value) {
9816
9818
  KgLogger.error(`${s.formID} | KgTable | retrieve() | retrieveDatas() | \u67E5\u8BE2\u6309\u94AE\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3.`, {
9817
9819
  VarButton: s.varButtonSearch.value
@@ -9830,7 +9832,7 @@ const KgTable$1 = "", getProps$o = () => ({
9830
9832
  whereSql: Ae,
9831
9833
  orderBySql: x
9832
9834
  } = KgUtil.getQuerySql(k.value, o.profileFormID.value, null, t), W = await httpClient().request({
9833
- method: (_e = (ie = s.varButtonSearch.value) == null ? void 0 : ie.cmd_method) != null ? _e : "GET",
9835
+ method: (pe = (ie = s.varButtonSearch.value) == null ? void 0 : ie.cmd_method) != null ? pe : "GET",
9834
9836
  url: T.value,
9835
9837
  params: be,
9836
9838
  data: be,
@@ -9886,7 +9888,7 @@ const KgTable$1 = "", getProps$o = () => ({
9886
9888
  function B(F) {
9887
9889
  o.store.setSelectedRows(s.formID, F.map((U) => {
9888
9890
  var Q;
9889
- return (Q = _.value) == null ? void 0 : Q.find((z) => z[o.id.value] === U);
9891
+ return (Q = p.value) == null ? void 0 : Q.find((z) => z[o.id.value] === U);
9890
9892
  }).filter((U) => !!U));
9891
9893
  }
9892
9894
  function Y(F) {
@@ -9907,7 +9909,7 @@ const KgTable$1 = "", getProps$o = () => ({
9907
9909
  }
9908
9910
  o.store.setSelectedRows(s.formID, w.value.map((z) => {
9909
9911
  var te;
9910
- return (te = _.value) == null ? void 0 : te.find((ue) => ue[o.id.value] === z);
9912
+ return (te = p.value) == null ? void 0 : te.find((ue) => ue[o.id.value] === z);
9911
9913
  }).filter((z) => !!z));
9912
9914
  }
9913
9915
  function q(F, U) {
@@ -9916,7 +9918,7 @@ const KgTable$1 = "", getProps$o = () => ({
9916
9918
  async function J(F, U, Q, z) {
9917
9919
  switch (z.action) {
9918
9920
  case "sort": {
9919
- p.value = Q, p.value.order || (p.value.field = void 0), await nextTick(), $({
9921
+ _.value = Q, _.value.order || (_.value.field = void 0), await nextTick(), $({
9920
9922
  isSearchFirstPage: !0
9921
9923
  });
9922
9924
  break;
@@ -9973,8 +9975,8 @@ const KgTable$1 = "", getProps$o = () => ({
9973
9975
  align: ue
9974
9976
  }, {
9975
9977
  default: () => {
9976
- var _e, ve;
9977
- return [(ve = (_e = r == null ? void 0 : r.KgTable) == null ? void 0 : _e["summary.bodyCell"]) == null ? void 0 : ve.call(_e, {
9978
+ var pe, ve;
9979
+ return [(ve = (pe = r == null ? void 0 : r.KgTable) == null ? void 0 : pe["summary.bodyCell"]) == null ? void 0 : ve.call(pe, {
9978
9980
  column: U,
9979
9981
  index: ie,
9980
9982
  varGridDetail: te
@@ -9985,7 +9987,7 @@ const KgTable$1 = "", getProps$o = () => ({
9985
9987
  })]
9986
9988
  }) : null;
9987
9989
  }
9988
- function pe() {
9990
+ function _e() {
9989
9991
  return !o.isReadAutomatically.value && !o.store.getIsRetrieved(s.formID) ? n.t("kg.KgTable.emptyText") : n.t("kg.emptyText");
9990
9992
  }
9991
9993
  return () => {
@@ -10004,7 +10006,7 @@ const KgTable$1 = "", getProps$o = () => ({
10004
10006
  pagination: !1,
10005
10007
  showSorterTooltip: !1,
10006
10008
  columns: u.value,
10007
- dataSource: _.value,
10009
+ dataSource: p.value,
10008
10010
  loading: b.value,
10009
10011
  rowKey: o.id.value,
10010
10012
  rowClassName: (U = (F = a == null ? void 0 : a.value) == null ? void 0 : F.KgTable) == null ? void 0 : U.kgRowClassName,
@@ -10020,7 +10022,7 @@ const KgTable$1 = "", getProps$o = () => ({
10020
10022
  }, {
10021
10023
  headerCell: le,
10022
10024
  bodyCell: g,
10023
- emptyText: pe,
10025
+ emptyText: _e,
10024
10026
  expandedRowRender: (Q = r == null ? void 0 : r.KgTable) == null ? void 0 : Q.expandedRowRender,
10025
10027
  summary: he
10026
10028
  }), (o.isShowBottomLeft.value || o.isShowBottomRight.value) && createVNode("div", {
@@ -10068,21 +10070,21 @@ const KgTable$1 = "", getProps$o = () => ({
10068
10070
  slots: t,
10069
10071
  emit: r
10070
10072
  }) {
10071
- const a = inject(KG_DI_HOST_FORM_ID, ""), n = useKgVar(a), s = useKgForm(n.formID), l = inject(KG_DI_VAR_NAME, ""), o = inject(KG_DI_LOOKUP_ID, ""), i = inject(DI_FORM_MODEL, computed(() => ({}))), c = useKgVar(o, !0, n.store.getFormLevel(n.formID) + 1), u = useKgTable(c.formID), d = computed(() => n.store.getVarLookup(n.formID, l)), p = computed(() => {
10073
+ const a = inject(KG_DI_HOST_FORM_ID, ""), n = useKgVar(a), s = useKgForm(n.formID), l = inject(KG_DI_VAR_NAME, ""), o = inject(KG_DI_LOOKUP_ID, ""), i = inject(DI_FORM_MODEL, computed(() => ({}))), c = useKgVar(o, !0, n.store.getFormLevel(n.formID) + 1), u = useKgTable(c.formID), d = computed(() => n.store.getVarLookup(n.formID, l)), _ = computed(() => {
10072
10074
  var g;
10073
10075
  return ((g = d == null ? void 0 : d.value) == null ? void 0 : g.mult_flg) === 1;
10074
10076
  }), E = computed(() => {
10075
- var g, _;
10076
- return (_ = (g = d == null ? void 0 : d.value) == null ? void 0 : g.ret_fld) != null ? _ : "";
10077
+ var g, p;
10078
+ return (p = (g = d == null ? void 0 : d.value) == null ? void 0 : g.ret_fld) != null ? p : "";
10077
10079
  });
10078
10080
  u.onRowDoubleClick(async () => (await y(), !1));
10079
10081
  function b() {
10080
10082
  r("update:visible", !1);
10081
10083
  }
10082
10084
  async function y() {
10083
- var g, _, m, T, k, I, C;
10084
- if (p.value) {
10085
- const R = (_ = (g = u.selectedRows) == null ? void 0 : g.value) != null ? _ : [], A = (m = R.map((M) => M[E.value])) != null ? m : [];
10085
+ var g, p, m, T, k, I, C;
10086
+ if (_.value) {
10087
+ const R = (p = (g = u.selectedRows) == null ? void 0 : g.value) != null ? p : [], A = (m = R.map((M) => M[E.value])) != null ? m : [];
10086
10088
  await s.store.emit(s.formID, "lookupBeforeOk", {
10087
10089
  var_nam: l,
10088
10090
  isMultiple: !0,
@@ -10112,13 +10114,13 @@ const KgTable$1 = "", getProps$o = () => ({
10112
10114
  }
10113
10115
  }
10114
10116
  return () => {
10115
- var g, _;
10117
+ var g, p;
10116
10118
  return createVNode(KgModal, {
10117
10119
  visible: e.visible,
10118
10120
  title: n.t(l).value,
10119
10121
  destroyOnClose: !0,
10120
10122
  okButtonProps: {
10121
- disabled: ((_ = (g = u.selectedRows.value) == null ? void 0 : g.length) != null ? _ : 0) === 0
10123
+ disabled: ((p = (g = u.selectedRows.value) == null ? void 0 : g.length) != null ? p : 0) === 0
10122
10124
  },
10123
10125
  wrapClassName: "kg-form-item-addon-lookup-modal",
10124
10126
  onCancel: b,
@@ -10215,8 +10217,8 @@ const KgTable$1 = "", getProps$o = () => ({
10215
10217
  function _useRules(e) {
10216
10218
  const t = useKg(), r = useKgVar(), a = useKgSubmit(), n = computed(() => r.store.getVarProfileDetail(r.formID, e.kgVarName)), s = computed(() => r.store.getVarVariableInput(r.formID, e.kgVarName)), l = computed(() => r.store.getVarSubmitField(r.formID, e.kgVarName)), o = ref([]), i = ref(!1);
10217
10219
  return watch([n, l, s], async ([c, u, d]) => {
10218
- var p;
10219
- (p = a.formRef.value) == null || p.clearValidate(), i.value = !0, await nextTick(), setTimeout(() => {
10220
+ var _;
10221
+ (_ = a.formRef.value) == null || _.clearValidate(), i.value = !0, await nextTick(), setTimeout(() => {
10220
10222
  o.value = (() => {
10221
10223
  let E = [];
10222
10224
  switch (e.kgContext) {
@@ -10260,15 +10262,15 @@ function _useRules(e) {
10260
10262
  {
10261
10263
  const b = d == null ? void 0 : d.min;
10262
10264
  isNil(b) || ((d == null ? void 0 : d.min_include_flg) === 1 ? E.push({
10263
- validator: (g, _) => _ == null || _ === "" || typeof _ == "string" && _.trim() === "" ? Promise.resolve() : Number(_) < b ? Promise.reject(t.t("kg.KgFormItem.mustGTE", [b])) : Promise.resolve()
10265
+ validator: (g, p) => p == null || p === "" || typeof p == "string" && p.trim() === "" ? Promise.resolve() : Number(p) < b ? Promise.reject(t.t("kg.KgFormItem.mustGTE", [b])) : Promise.resolve()
10264
10266
  }) : E.push({
10265
- validator: (g, _) => _ == null || _ === "" || typeof _ == "string" && _.trim() === "" ? Promise.resolve() : Number(_) <= b ? Promise.reject(t.t("kg.KgFormItem.mustGT", [b])) : Promise.resolve()
10267
+ validator: (g, p) => p == null || p === "" || typeof p == "string" && p.trim() === "" ? Promise.resolve() : Number(p) <= b ? Promise.reject(t.t("kg.KgFormItem.mustGT", [b])) : Promise.resolve()
10266
10268
  }));
10267
10269
  const y = d == null ? void 0 : d.max;
10268
10270
  isNil(y) || ((d == null ? void 0 : d.max_include_flg) === 1 ? E.push({
10269
- validator: (g, _) => _ == null || _ === "" || typeof _ == "string" && _.trim() === "" ? Promise.resolve() : Number(_) > y ? Promise.reject(t.t("kg.KgFormItem.mustLTE", [y])) : Promise.resolve()
10271
+ validator: (g, p) => p == null || p === "" || typeof p == "string" && p.trim() === "" ? Promise.resolve() : Number(p) > y ? Promise.reject(t.t("kg.KgFormItem.mustLTE", [y])) : Promise.resolve()
10270
10272
  }) : E.push({
10271
- validator: (g, _) => _ == null || _ === "" || typeof _ == "string" && _.trim() === "" ? Promise.resolve() : Number(_) >= y ? Promise.reject(t.t("kg.KgFormItem.mustLT", [y])) : Promise.resolve()
10273
+ validator: (g, p) => p == null || p === "" || typeof p == "string" && p.trim() === "" ? Promise.resolve() : Number(p) >= y ? Promise.reject(t.t("kg.KgFormItem.mustLT", [y])) : Promise.resolve()
10272
10274
  }));
10273
10275
  }
10274
10276
  break;
@@ -10286,8 +10288,8 @@ function _useRules(e) {
10286
10288
  }
10287
10289
  function useKgFormItem(e) {
10288
10290
  const t = (e == null ? void 0 : e.kgVarName) || inject(KG_DI_VAR_NAME, e == null ? void 0 : e.kgVarName), r = (e == null ? void 0 : e.kgContext) || inject(DI_KG_CONTEXT, e == null ? void 0 : e.kgContext), a = useKgVar(), n = computed(() => a.store.getVarVariableConfig(a.formID, t)), s = computed(() => {
10289
- var E, b, y, g, _, m;
10290
- const o = ((E = n.value) == null ? void 0 : E.ctrl_typ) || KG_FORM_ITEM_TYPE.INPUT, i = (b = n.value) == null ? void 0 : b.prf_ctrl_typ, c = (y = n.value) == null ? void 0 : y.crt_ctrl_typ, u = (g = n.value) == null ? void 0 : g.upt_ctrl_typ, d = (_ = n.value) == null ? void 0 : _.cpy_ctrl_typ, p = (m = n.value) == null ? void 0 : m.del_ctrl_typ;
10291
+ var E, b, y, g, p, m;
10292
+ const o = ((E = n.value) == null ? void 0 : E.ctrl_typ) || KG_FORM_ITEM_TYPE.INPUT, i = (b = n.value) == null ? void 0 : b.prf_ctrl_typ, c = (y = n.value) == null ? void 0 : y.crt_ctrl_typ, u = (g = n.value) == null ? void 0 : g.upt_ctrl_typ, d = (p = n.value) == null ? void 0 : p.cpy_ctrl_typ, _ = (m = n.value) == null ? void 0 : m.del_ctrl_typ;
10291
10293
  switch (r) {
10292
10294
  case KG_FORM_CONTEXT.SEARCH:
10293
10295
  return i || o;
@@ -10300,14 +10302,14 @@ function useKgFormItem(e) {
10300
10302
  case a.isCopying.value:
10301
10303
  return d || o;
10302
10304
  case a.isDeleting.value:
10303
- return p || o;
10305
+ return _ || o;
10304
10306
  }
10305
10307
  }
10306
10308
  return o;
10307
10309
  }), l = computed(() => {
10308
- var b, y, g, _, m, T;
10310
+ var b, y, g, p, m, T;
10309
10311
  let o;
10310
- const i = (b = n.value) == null ? void 0 : b.ctrl_prop, c = (y = n.value) == null ? void 0 : y.prf_ctrl_prop, u = (g = n.value) == null ? void 0 : g.crt_ctrl_prop, d = (_ = n.value) == null ? void 0 : _.upt_ctrl_prop, p = (m = n.value) == null ? void 0 : m.cpy_ctrl_prop, E = (T = n.value) == null ? void 0 : T.del_ctrl_prop;
10312
+ const i = (b = n.value) == null ? void 0 : b.ctrl_prop, c = (y = n.value) == null ? void 0 : y.prf_ctrl_prop, u = (g = n.value) == null ? void 0 : g.crt_ctrl_prop, d = (p = n.value) == null ? void 0 : p.upt_ctrl_prop, _ = (m = n.value) == null ? void 0 : m.cpy_ctrl_prop, E = (T = n.value) == null ? void 0 : T.del_ctrl_prop;
10311
10313
  switch (r) {
10312
10314
  case KG_FORM_CONTEXT.SEARCH:
10313
10315
  o = c || i;
@@ -10321,7 +10323,7 @@ function useKgFormItem(e) {
10321
10323
  o = d || i;
10322
10324
  break;
10323
10325
  case a.isCopying.value:
10324
- o = p || i;
10326
+ o = _ || i;
10325
10327
  break;
10326
10328
  case a.isDeleting.value:
10327
10329
  o = E || i;
@@ -10350,28 +10352,28 @@ function useKgFormItemSelect() {
10350
10352
  let b = KgVarUtil.parseCommandParameter((y = n.value) == null ? void 0 : y.cmd_prm);
10351
10353
  return b = mapValues(b, (g) => {
10352
10354
  var m, T;
10353
- let _ = g;
10355
+ let p = g;
10354
10356
  if (typeof g == "string" && g.startsWith("{") && g.endsWith("}")) {
10355
10357
  let k = g.slice(1, -1), I = "";
10356
10358
  if (k.includes(".")) {
10357
10359
  const C = k.split(".");
10358
10360
  k = C[0], I = C[1];
10359
10361
  }
10360
- r.value && k in r.value && (I ? _ = (T = (m = r.value[`${k}_obj`]) == null ? void 0 : m[I]) != null ? T : void 0 : _ = r.value[k], _ || (_ = "__kg__form_item_select__pid"));
10362
+ r.value && k in r.value && (I ? p = (T = (m = r.value[`${k}_obj`]) == null ? void 0 : m[I]) != null ? T : void 0 : p = r.value[k], p || (p = "__kg__form_item_select__pid"));
10361
10363
  }
10362
- return _;
10364
+ return p;
10363
10365
  }), b;
10364
10366
  });
10365
- async function p() {
10367
+ async function _() {
10366
10368
  var k, I, C, R, A, O, M, P;
10367
10369
  let b = [];
10368
- const y = (k = n.value) == null ? void 0 : k.cmd, g = (C = (I = n.value) == null ? void 0 : I.cmd_method) != null ? C : "GET", _ = (A = (R = n.value) == null ? void 0 : R.val_clm) != null ? A : "", m = (M = (O = n.value) == null ? void 0 : O.lbl_clm) != null ? M : "";
10369
- if (!y || !_ || !m) {
10370
+ const y = (k = n.value) == null ? void 0 : k.cmd, g = (C = (I = n.value) == null ? void 0 : I.cmd_method) != null ? C : "GET", p = (A = (R = n.value) == null ? void 0 : R.val_clm) != null ? A : "", m = (M = (O = n.value) == null ? void 0 : O.lbl_clm) != null ? M : "";
10371
+ if (!y || !p || !m) {
10370
10372
  KgLogger.error("\u4E0B\u62C9\u5217\u8868\u914D\u7F6E\u6709\u8BEF.", {
10371
10373
  frm_id: a.formID,
10372
10374
  var_nam: t,
10373
10375
  cmd: y,
10374
- val_clm: _,
10376
+ val_clm: p,
10375
10377
  lbl_clm: m
10376
10378
  });
10377
10379
  return;
@@ -10406,11 +10408,11 @@ function useKgFormItemSelect() {
10406
10408
  }
10407
10409
  if (b.length > 0) {
10408
10410
  const L = b[0];
10409
- (!(_ in L) || !(m 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.", {
10411
+ (!(p in L) || !(m 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.", {
10410
10412
  frm_id: a.formID,
10411
10413
  var_nam: t,
10412
10414
  cmd: y,
10413
- val_clm: _,
10415
+ val_clm: p,
10414
10416
  lbl_clm: m,
10415
10417
  \u6240\u6709\u5217: Object.keys(L)
10416
10418
  });
@@ -10418,10 +10420,10 @@ function useKgFormItemSelect() {
10418
10420
  i.value = b;
10419
10421
  }
10420
10422
  function E(b) {
10421
- var _, m, T, k, I;
10423
+ var p, m, T, k, I;
10422
10424
  if (!b)
10423
10425
  return [];
10424
- const y = (m = (_ = n.value) == null ? void 0 : _.val_clm) != null ? m : "", g = (k = (T = n.value) == null ? void 0 : T.val_data_type) != null ? k : "string";
10426
+ const y = (m = (p = n.value) == null ? void 0 : p.val_clm) != null ? m : "", g = (k = (T = n.value) == null ? void 0 : T.val_data_type) != null ? k : "string";
10425
10427
  switch (g) {
10426
10428
  case KG_POSSIBILITY_DATA_TYPE.STRING:
10427
10429
  b.forEach((C) => {
@@ -10470,7 +10472,7 @@ function useKgFormItemSelect() {
10470
10472
  lbl_clm: u,
10471
10473
  isRetrieving: o,
10472
10474
  datas: i,
10473
- retrieveDatas: p,
10475
+ retrieveDatas: _,
10474
10476
  transformDatas: E
10475
10477
  };
10476
10478
  }
@@ -10493,52 +10495,52 @@ const KgFormItemCheckboxGroup = defineComponent({
10493
10495
  val_clm: i,
10494
10496
  datas: c,
10495
10497
  retrieveDatas: u
10496
- } = useKgFormItemSelect(), d = ref(!1), p = ref(!1);
10498
+ } = useKgFormItemSelect(), d = ref(!1), _ = ref(!1);
10497
10499
  watch(o, () => E(), {
10498
10500
  immediate: !0
10499
- }), watch([() => e.value, c], ([g, _]) => {
10501
+ }), watch([() => e.value, c], ([g, p]) => {
10500
10502
  const m = get(g, "length", 0);
10501
- if (m > 0 && _.length > 0) {
10502
- const T = intersection$1(g, _ == null ? void 0 : _.map((k) => k[i.value]));
10503
+ if (m > 0 && p.length > 0) {
10504
+ const T = intersection$1(g, p == null ? void 0 : p.map((k) => k[i.value]));
10503
10505
  if (T.length < m) {
10504
10506
  r("update:value", T);
10505
10507
  return;
10506
10508
  }
10507
10509
  }
10508
10510
  switch (!0) {
10509
- case (m > 0 && m === _.length):
10510
- d.value = !0, p.value = !1;
10511
+ case (m > 0 && m === p.length):
10512
+ d.value = !0, _.value = !1;
10511
10513
  break;
10512
- case (m > 0 && m !== _.length):
10513
- d.value = !1, p.value = !0;
10514
+ case (m > 0 && m !== p.length):
10515
+ d.value = !1, _.value = !0;
10514
10516
  break;
10515
10517
  default:
10516
- d.value = !1, p.value = !1;
10518
+ d.value = !1, _.value = !1;
10517
10519
  break;
10518
10520
  }
10519
10521
  }, {
10520
10522
  immediate: !0
10521
10523
  });
10522
10524
  async function E() {
10523
- var g, _;
10524
- !((g = l.value) != null && g.id) || (await u(), r("kgCheckboxGroupDatasChange", c.value), r("update:value", intersection$1((_ = c.value) == null ? void 0 : _.map((m) => m[i.value]), e.value)));
10525
+ var g, p;
10526
+ !((g = l.value) != null && g.id) || (await u(), r("kgCheckboxGroupDatasChange", c.value), r("update:value", intersection$1((p = c.value) == null ? void 0 : p.map((m) => m[i.value]), e.value)));
10525
10527
  }
10526
10528
  function b(g) {
10527
- var _, m, T;
10528
- g.target.checked ? y((m = (_ = c.value) == null ? void 0 : _.map((k) => k[i.value])) != null ? m : []) : y([]), p.value = !1, (T = n.value) == null || T.validate(e.kgVarName);
10529
+ var p, m, T;
10530
+ g.target.checked ? y((m = (p = c.value) == null ? void 0 : p.map((k) => k[i.value])) != null ? m : []) : y([]), _.value = !1, (T = n.value) == null || T.validate(e.kgVarName);
10529
10531
  }
10530
10532
  function y(g) {
10531
10533
  r("update:value", g), r("kgChange", g);
10532
10534
  }
10533
10535
  return () => {
10534
- let g, _;
10536
+ let g, p;
10535
10537
  return createVNode("div", {
10536
10538
  class: "kg-form-item-checkbox-group"
10537
10539
  }, [createVNode(Form.ItemRest, null, {
10538
10540
  default: () => [createVNode(Checkbox, {
10539
10541
  checked: d.value,
10540
10542
  "onUpdate:checked": (m) => d.value = m,
10541
- indeterminate: p.value,
10543
+ indeterminate: _.value,
10542
10544
  onChange: b
10543
10545
  }, _isSlot$8(g = a.t("kg.selectAll")) ? g : {
10544
10546
  default: () => [g]
@@ -10549,7 +10551,7 @@ const KgFormItemCheckboxGroup = defineComponent({
10549
10551
  }, {
10550
10552
  default: () => [createVNode(Row, {
10551
10553
  gutter: 12
10552
- }, _isSlot$8(_ = c.value.map((m) => {
10554
+ }, _isSlot$8(p = c.value.map((m) => {
10553
10555
  var T, k;
10554
10556
  return createVNode(Col, {
10555
10557
  span: (k = (T = s.value) == null ? void 0 : T.span) != null ? k : 24
@@ -10564,8 +10566,8 @@ const KgFormItemCheckboxGroup = defineComponent({
10564
10566
  }
10565
10567
  })]
10566
10568
  });
10567
- })) ? _ : {
10568
- default: () => [_]
10569
+ })) ? p : {
10570
+ default: () => [p]
10569
10571
  })]
10570
10572
  })]);
10571
10573
  };
@@ -10702,7 +10704,7 @@ const KgFormItemRadioGroup = defineComponent({
10702
10704
  });
10703
10705
  async function c() {
10704
10706
  var d;
10705
- !((d = n.value) != null && d.id) || (await i(), r("kgRadioGroupDatasChange", o.value), o.value.find((p) => p[l.value] === e.value) || r("update:value", void 0));
10707
+ !((d = n.value) != null && d.id) || (await i(), r("kgRadioGroupDatasChange", o.value), o.value.find((_) => _[l.value] === e.value) || r("update:value", void 0));
10706
10708
  }
10707
10709
  function u(d) {
10708
10710
  r("update:value", d), r("kgChange", d);
@@ -10717,18 +10719,18 @@ const KgFormItemRadioGroup = defineComponent({
10717
10719
  }, {
10718
10720
  default: () => [createVNode(Row, {
10719
10721
  gutter: 12
10720
- }, _isSlot$7(d = o.value.map((p) => {
10722
+ }, _isSlot$7(d = o.value.map((_) => {
10721
10723
  var E, b;
10722
10724
  return createVNode(Col, {
10723
10725
  span: (b = (E = a.value) == null ? void 0 : E.span) != null ? b : 24
10724
10726
  }, {
10725
10727
  default: () => [createVNode(Radio, {
10726
- value: p[l.value],
10727
- "kg-value": p[l.value]
10728
+ value: _[l.value],
10729
+ "kg-value": _[l.value]
10728
10730
  }, {
10729
10731
  default: () => {
10730
10732
  var y, g;
10731
- return [p[(g = (y = n.value) == null ? void 0 : y.lbl_clm) != null ? g : ""]];
10733
+ return [_[(g = (y = n.value) == null ? void 0 : y.lbl_clm) != null ? g : ""]];
10732
10734
  }
10733
10735
  })]
10734
10736
  });
@@ -10753,7 +10755,7 @@ const KgFormItemRadioGroup = defineComponent({
10753
10755
  lbl_clm: c,
10754
10756
  isRetrieving: u,
10755
10757
  datas: d,
10756
- retrieveDatas: p
10758
+ retrieveDatas: _
10757
10759
  } = useKgFormItemSelect();
10758
10760
  watch(o, () => {
10759
10761
  E();
@@ -10763,25 +10765,25 @@ const KgFormItemRadioGroup = defineComponent({
10763
10765
  async function E() {
10764
10766
  var g;
10765
10767
  if (!!((g = l.value) != null && g.id))
10766
- switch (await p(), r("kgSelectDatasChange", d.value), e.kgMode) {
10768
+ switch (await _(), r("kgSelectDatasChange", d.value), e.kgMode) {
10767
10769
  case "multiple": {
10768
10770
  if (Array.isArray(e.value)) {
10769
- const _ = e.value.filter((m) => d.value.find((T) => T[i.value] === m));
10770
- _.length > 0 ? r("update:value", _) : r("update:value", []);
10771
+ const p = e.value.filter((m) => d.value.find((T) => T[i.value] === m));
10772
+ p.length > 0 ? r("update:value", p) : r("update:value", []);
10771
10773
  }
10772
10774
  break;
10773
10775
  }
10774
10776
  default:
10775
- d.value.find((_) => _[i.value] === e.value) || r("update:value", void 0);
10777
+ d.value.find((p) => p[i.value] === e.value) || r("update:value", void 0);
10776
10778
  break;
10777
10779
  }
10778
10780
  }
10779
10781
  function b(g) {
10780
- var _, m;
10782
+ var p, m;
10781
10783
  switch (e.kgMode) {
10782
10784
  case "multiple": {
10783
10785
  if (Array.isArray(g)) {
10784
- const T = (_ = toRaw(d.value.filter((k) => g.includes(k[i.value])))) != null ? _ : null;
10786
+ const T = (p = toRaw(d.value.filter((k) => g.includes(k[i.value])))) != null ? p : null;
10785
10787
  r("kgSelectChange", T), s.store.emit(s.formID, "selectChange", {
10786
10788
  var_nam: e.kgVarName,
10787
10789
  rows: T
@@ -10815,7 +10817,7 @@ const KgFormItemRadioGroup = defineComponent({
10815
10817
  placeholder: e.kgPlaceholder,
10816
10818
  showArrow: !0,
10817
10819
  showSearch: !0,
10818
- filterOption: (_, m) => (m == null ? void 0 : m.value) !== null && (m == null ? void 0 : m.value) !== void 0 && String(m.value).toLowerCase().includes(_.toLowerCase()) || (m == null ? void 0 : m.label) !== null && (m == null ? void 0 : m.label) !== void 0 && String(m.label).toLowerCase().includes(_.toLowerCase()),
10820
+ filterOption: (p, m) => (m == null ? void 0 : m.value) !== null && (m == null ? void 0 : m.value) !== void 0 && String(m.value).toLowerCase().includes(p.toLowerCase()) || (m == null ? void 0 : m.label) !== null && (m == null ? void 0 : m.label) !== void 0 && String(m.label).toLowerCase().includes(p.toLowerCase()),
10819
10821
  dropdownClassName: e.kgMode === "multiple" ? "kg-form-item-select-dropdown kg-form-item-multi-select-dropdown" : "kg-form-item-select-dropdown",
10820
10822
  class: "kg-form-item-select",
10821
10823
  onChange: b,
@@ -10824,13 +10826,13 @@ const KgFormItemRadioGroup = defineComponent({
10824
10826
  "kg-val_clm": i.value,
10825
10827
  "kg-lbl_clm": c.value
10826
10828
  }, {
10827
- default: () => d.value.map((_) => createVNode(Select.Option, {
10828
- title: _[c.value],
10829
- "kg-value": _[i.value],
10830
- value: _[i.value],
10831
- label: _[c.value]
10829
+ default: () => d.value.map((p) => createVNode(Select.Option, {
10830
+ title: p[c.value],
10831
+ "kg-value": p[i.value],
10832
+ value: p[i.value],
10833
+ label: p[c.value]
10832
10834
  }, {
10833
- default: () => [_[c.value]]
10835
+ default: () => [p[c.value]]
10834
10836
  })),
10835
10837
  notFoundContent: () => u.value ? createVNode("span", null, [n.t("kg.loading")]) : createVNode("span", null, [n.t("kg.empty")]),
10836
10838
  suffixIcon: () => createVNode(CaretDownOutlined$1, {
@@ -10912,7 +10914,7 @@ const KgFormItem = defineComponent({
10912
10914
  }
10913
10915
  return !1;
10914
10916
  });
10915
- const c = computed(() => l.store.getVarLookup(l.formID, e.kgVarName)), u = computed(() => l.store.getVarVariableConfig(l.formID, e.kgVarName)), d = computed(() => l.store.getVarProfileDetail(l.formID, e.kgVarName)), p = computed(() => l.store.getVarSubmitField(l.formID, e.kgVarName)), {
10917
+ const c = computed(() => l.store.getVarLookup(l.formID, e.kgVarName)), u = computed(() => l.store.getVarVariableConfig(l.formID, e.kgVarName)), d = computed(() => l.store.getVarProfileDetail(l.formID, e.kgVarName)), _ = computed(() => l.store.getVarSubmitField(l.formID, e.kgVarName)), {
10916
10918
  rules: E,
10917
10919
  isRulesLoading: b
10918
10920
  } = _useRules(e), {
@@ -10932,22 +10934,22 @@ const KgFormItem = defineComponent({
10932
10934
  case KG_FORM_CONTEXT.SUBMIT:
10933
10935
  switch (!0) {
10934
10936
  case l.isCreating.value:
10935
- w = ((K = p.value) == null ? void 0 : K.crt_ena_flg) === 0;
10937
+ w = ((K = _.value) == null ? void 0 : K.crt_ena_flg) === 0;
10936
10938
  break;
10937
10939
  case l.isUpdating.value:
10938
- w = ((V = p.value) == null ? void 0 : V.upt_ena_flg) === 0;
10940
+ w = ((V = _.value) == null ? void 0 : V.upt_ena_flg) === 0;
10939
10941
  break;
10940
10942
  case l.isCopying.value:
10941
- w = ((N = p.value) == null ? void 0 : N.cpy_ena_flg) === 0;
10943
+ w = ((N = _.value) == null ? void 0 : N.cpy_ena_flg) === 0;
10942
10944
  break;
10943
10945
  case l.isDeleting.value:
10944
- w = ((G = p.value) == null ? void 0 : G.del_ena_flg) === 0;
10946
+ w = ((G = _.value) == null ? void 0 : G.del_ena_flg) === 0;
10945
10947
  break;
10946
10948
  }
10947
10949
  break;
10948
10950
  }
10949
10951
  return w;
10950
- }), _ = computed(() => {
10952
+ }), p = computed(() => {
10951
10953
  var D, K, V, N;
10952
10954
  let w = " ";
10953
10955
  if (e.kgPlaceholder)
@@ -10958,7 +10960,7 @@ const KgFormItem = defineComponent({
10958
10960
  w = l.t((K = (D = d.value) == null ? void 0 : D.placeholder) != null ? K : " ").value;
10959
10961
  break;
10960
10962
  case KG_FORM_CONTEXT.SUBMIT:
10961
- w = l.t((N = (V = p.value) == null ? void 0 : V.placeholder) != null ? N : " ").value;
10963
+ w = l.t((N = (V = _.value) == null ? void 0 : V.placeholder) != null ? N : " ").value;
10962
10964
  break;
10963
10965
  }
10964
10966
  return w;
@@ -10975,22 +10977,22 @@ const KgFormItem = defineComponent({
10975
10977
  case KG_FORM_CONTEXT.SUBMIT:
10976
10978
  switch (!0) {
10977
10979
  case l.isCreating.value:
10978
- w = (N = (V = p.value) == null ? void 0 : V.crt_width) != null ? N : 6;
10980
+ w = (N = (V = _.value) == null ? void 0 : V.crt_width) != null ? N : 6;
10979
10981
  break;
10980
10982
  case l.isUpdating.value:
10981
- w = ($ = (G = p.value) == null ? void 0 : G.upt_width) != null ? $ : 6;
10983
+ w = ($ = (G = _.value) == null ? void 0 : G.upt_width) != null ? $ : 6;
10982
10984
  break;
10983
10985
  case l.isCopying.value:
10984
- w = (Y = (B = p.value) == null ? void 0 : B.cpy_width) != null ? Y : 6;
10986
+ w = (Y = (B = _.value) == null ? void 0 : B.cpy_width) != null ? Y : 6;
10985
10987
  break;
10986
10988
  case l.isDeleting.value:
10987
- w = (J = (q = p.value) == null ? void 0 : q.del_width) != null ? J : 6;
10989
+ w = (J = (q = _.value) == null ? void 0 : q.del_width) != null ? J : 6;
10988
10990
  break;
10989
10991
  }
10990
10992
  }
10991
10993
  return w = Number(w), new Array(24).fill(0).map((X, ee) => ee + 1).includes(w) ? w : (KgLogger.error("| \u6570\u636E\u6709\u8BEF | \u5BBD\u5EA6\u5FC5\u987B\u4E3A [1, 24] \u4E4B\u95F4\u7684\u6574\u6570.", {
10992
10994
  VarProfileDetail: d.value,
10993
- VarSubmitField: p.value
10995
+ VarSubmitField: _.value
10994
10996
  }), 6);
10995
10997
  }), T = computed(() => {
10996
10998
  var D, K, V, N, G;
@@ -11005,16 +11007,16 @@ const KgFormItem = defineComponent({
11005
11007
  case KG_FORM_CONTEXT.SUBMIT:
11006
11008
  switch (!0) {
11007
11009
  case l.isCreating.value:
11008
- w = (K = p.value) == null ? void 0 : K.crt_width;
11010
+ w = (K = _.value) == null ? void 0 : K.crt_width;
11009
11011
  break;
11010
11012
  case l.isUpdating.value:
11011
- w = (V = p.value) == null ? void 0 : V.upt_width;
11013
+ w = (V = _.value) == null ? void 0 : V.upt_width;
11012
11014
  break;
11013
11015
  case l.isCopying.value:
11014
- w = (N = p.value) == null ? void 0 : N.cpy_width;
11016
+ w = (N = _.value) == null ? void 0 : N.cpy_width;
11015
11017
  break;
11016
11018
  case l.isDeleting.value:
11017
- w = (G = p.value) == null ? void 0 : G.del_width;
11019
+ w = (G = _.value) == null ? void 0 : G.del_width;
11018
11020
  break;
11019
11021
  }
11020
11022
  }
@@ -11043,9 +11045,9 @@ const KgFormItem = defineComponent({
11043
11045
  break;
11044
11046
  case KG_FORM_CONTEXT.SUBMIT:
11045
11047
  switch (!0) {
11046
- case (l.isCreating.value && ((K = p.value) == null ? void 0 : K.crt_vis_flg) === 0):
11047
- case (l.isUpdating.value && ((V = p.value) == null ? void 0 : V.upt_vis_flg) === 0):
11048
- case (l.isCopying.value && ((N = p.value) == null ? void 0 : N.cpy_vis_flg) === 0):
11048
+ case (l.isCreating.value && ((K = _.value) == null ? void 0 : K.crt_vis_flg) === 0):
11049
+ case (l.isUpdating.value && ((V = _.value) == null ? void 0 : V.upt_vis_flg) === 0):
11050
+ case (l.isCopying.value && ((N = _.value) == null ? void 0 : N.cpy_vis_flg) === 0):
11049
11051
  w += " kg-form-item--invisible";
11050
11052
  break;
11051
11053
  }
@@ -11060,7 +11062,7 @@ const KgFormItem = defineComponent({
11060
11062
  "onUpdate:value": (K) => {
11061
11063
  a.value && (a.value[e.kgVarName] = K);
11062
11064
  },
11063
- kgPlaceholder: _.value,
11065
+ kgPlaceholder: p.value,
11064
11066
  kgDisabled: g.value,
11065
11067
  id: R.value
11066
11068
  };
@@ -11115,7 +11117,7 @@ const KgFormItem = defineComponent({
11115
11117
  model: a,
11116
11118
  varVariableConfig: u,
11117
11119
  varProfileDetail: d,
11118
- varSubmitField: p
11120
+ varSubmitField: _
11119
11121
  };
11120
11122
  return t.control(w);
11121
11123
  }
@@ -11507,14 +11509,14 @@ function createStore(e, t, r) {
11507
11509
  _assignPluginFnProp: function(i, c) {
11508
11510
  var u = this[c];
11509
11511
  this[c] = function() {
11510
- var p = slice(arguments, 0), E = this;
11512
+ var _ = slice(arguments, 0), E = this;
11511
11513
  function b() {
11512
11514
  if (!!u)
11513
- return each$6(arguments, function(g, _) {
11514
- p[_] = g;
11515
- }), u.apply(E, p);
11515
+ return each$6(arguments, function(g, p) {
11516
+ _[p] = g;
11517
+ }), u.apply(E, _);
11516
11518
  }
11517
- var y = [b].concat(p);
11519
+ var y = [b].concat(_);
11518
11520
  return i.apply(E, y);
11519
11521
  };
11520
11522
  },
@@ -11538,13 +11540,13 @@ function createStore(e, t, r) {
11538
11540
  _addPlugin: function(i) {
11539
11541
  var c = this;
11540
11542
  if (isList(i)) {
11541
- each$6(i, function(p) {
11542
- c._addPlugin(p);
11543
+ each$6(i, function(_) {
11544
+ c._addPlugin(_);
11543
11545
  });
11544
11546
  return;
11545
11547
  }
11546
- var u = pluck(this.plugins, function(p) {
11547
- return i === p;
11548
+ var u = pluck(this.plugins, function(_) {
11549
+ return i === _;
11548
11550
  });
11549
11551
  if (!u) {
11550
11552
  if (this.plugins.push(i), !isFunction(i))
@@ -11552,10 +11554,10 @@ function createStore(e, t, r) {
11552
11554
  var d = i.call(this);
11553
11555
  if (!isObject(d))
11554
11556
  throw new Error("Plugins must return an object of function properties");
11555
- each$6(d, function(p, E) {
11556
- if (!isFunction(p))
11557
+ each$6(d, function(_, E) {
11558
+ if (!isFunction(_))
11557
11559
  throw new Error("Bad plugin property: " + E + " from plugin " + i.name + ". Plugins should only return functions.");
11558
- c._assignPluginFnProp(p, E);
11560
+ c._assignPluginFnProp(_, E);
11559
11561
  });
11560
11562
  }
11561
11563
  },
@@ -12614,17 +12616,17 @@ const useKgVarStore = () => (store$5 || (store$5 = defineStore("KgVar", {
12614
12616
  varPossibilities: c,
12615
12617
  varButtonConfig: u,
12616
12618
  varButtons: d,
12617
- varSubmitConfig: p,
12619
+ varSubmitConfig: _,
12618
12620
  varSubmitFields: E,
12619
12621
  varProfileMasters: b,
12620
12622
  varProfileConfig: y,
12621
12623
  varGridMasters: g,
12622
- varGridConfig: _
12624
+ varGridConfig: p
12623
12625
  } = await GetAll({ params: { frm_id: e } });
12624
- this.varCatalogMap.set(e, s != null ? s : []), this.varLookupMap.set(e, l != null ? l : []), this.varPossibilityMap.set(e, c != null ? c : []), this.varVariableConfigMap.set(e, o != null ? o : []), this.varVariableInputMap.set(e, i != null ? i : []), this.varButtonMap.set(e, transformVarButtons(d)), this.varButtonConfigMap.set(e, transformVarButtonConfig(u != null ? u : null)), this.varSubmitConfigMap.set(e, transformVarSubmitConfig(p)), this.varSubmitFieldMap.set(e, transformVarSubmitFields(E)), this.varProfileConfigMap.set(e, transformVarProfileConfig(y != null ? y : null)), this.varProfileMasterMap.set(e, {
12626
+ this.varCatalogMap.set(e, s != null ? s : []), this.varLookupMap.set(e, l != null ? l : []), this.varPossibilityMap.set(e, c != null ? c : []), this.varVariableConfigMap.set(e, o != null ? o : []), this.varVariableInputMap.set(e, i != null ? i : []), this.varButtonMap.set(e, transformVarButtons(d)), this.varButtonConfigMap.set(e, transformVarButtonConfig(u != null ? u : null)), this.varSubmitConfigMap.set(e, transformVarSubmitConfig(_)), this.varSubmitFieldMap.set(e, transformVarSubmitFields(E)), this.varProfileConfigMap.set(e, transformVarProfileConfig(y != null ? y : null)), this.varProfileMasterMap.set(e, {
12625
12627
  varProfileMasters: transformVarProfileMasterDTOs(b),
12626
12628
  currentVarProfileMasterID: (r = (t = (b == null ? void 0 : b.find((m) => m.id === this.getCurrentVarProfileMasterID(e))) || (b == null ? void 0 : b.find((m) => m.def_flg === 1)) || (b == null ? void 0 : b.find((m) => m.cust_lvl === KG_CUSTOM_LEVEL.L0)) || (b == null ? void 0 : b.find(() => !0))) == null ? void 0 : t.id) != null ? r : null
12627
- }), this.varGridConfigMap.set(e, transformVarGridConfig(_ != null ? _ : null)), this.varGridMasterMap.set(e, {
12629
+ }), this.varGridConfigMap.set(e, transformVarGridConfig(p != null ? p : null)), this.varGridMasterMap.set(e, {
12628
12630
  varGridMasters: transformVarGridMasterDTOs(g),
12629
12631
  currentVarGridMasterID: (n = (a = (g == null ? void 0 : g.find((m) => m.id === this.getCurrentVarGridMasterID(e))) || (g == null ? void 0 : g.find((m) => m.def_flg === 1)) || (g == null ? void 0 : g.find((m) => m.cust_lvl === KG_CUSTOM_LEVEL.L0)) || (g == null ? void 0 : g.find(() => !0))) == null ? void 0 : a.id) != null ? n : null
12630
12632
  }), await Promise.all([
@@ -12734,8 +12736,8 @@ const useKgVarStore = () => (store$5 || (store$5 = defineStore("KgVar", {
12734
12736
  setTimeout(() => {
12735
12737
  s();
12736
12738
  let i = !1;
12737
- if (Object.entries(r).forEach(([d, p]) => {
12738
- d in o && o[d] !== p && (o[d] = p, i = !0);
12739
+ if (Object.entries(r).forEach(([d, _]) => {
12740
+ d in o && o[d] !== _ && (o[d] = _, i = !0);
12739
12741
  }), !i) {
12740
12742
  a();
12741
12743
  return;
@@ -12837,19 +12839,19 @@ function useKgVar(e, t, r = 0) {
12837
12839
  }), onUnmounted(() => {
12838
12840
  u.dispose(c);
12839
12841
  }));
12840
- const d = (X) => computed(() => u.t(c, X)), p = computed(() => u.isRetrieving(c)), E = computed(() => u.isRetrievingVarProfileMaster(c)), b = computed(() => u.isRetrievingVarGridMaster(c)), y = computed(() => u.isRetrieved(c)), g = computed(() => u.isCreating(c)), _ = computed(() => u.isCreatingRequesting(c)), m = computed(() => u.isUpdating(c)), T = computed(() => u.isUpdatingRequesting(c)), k = computed(() => u.isCopying(c)), I = computed(() => u.isCopyingRequesting(c)), C = computed(() => u.isDeleting(c)), R = computed(() => u.isDeletingRequesting(c)), A = computed(() => u.isOtherRequesting(c)), O = computed(() => u.getVarButtons(c)), M = computed(() => u.getVarButtonSearch(c)), P = computed(() => u.getVarButtonCreate(c)), L = computed(() => u.getVarButtonUpdate(c)), H = computed(() => u.getVarButtonCopy(c)), w = computed(() => u.getVarButtonDelete(c)), D = computed(() => u.getVarProfileMasters(c)), K = computed(() => u.getCurrentVarProfileMasterID(c)), V = computed(() => u.getCurrentVarProfileMaster(c)), N = computed(() => {
12842
+ const d = (X) => computed(() => u.t(c, X)), _ = computed(() => u.isRetrieving(c)), E = computed(() => u.isRetrievingVarProfileMaster(c)), b = computed(() => u.isRetrievingVarGridMaster(c)), y = computed(() => u.isRetrieved(c)), g = computed(() => u.isCreating(c)), p = computed(() => u.isCreatingRequesting(c)), m = computed(() => u.isUpdating(c)), T = computed(() => u.isUpdatingRequesting(c)), k = computed(() => u.isCopying(c)), I = computed(() => u.isCopyingRequesting(c)), C = computed(() => u.isDeleting(c)), R = computed(() => u.isDeletingRequesting(c)), A = computed(() => u.isOtherRequesting(c)), O = computed(() => u.getVarButtons(c)), M = computed(() => u.getVarButtonSearch(c)), P = computed(() => u.getVarButtonCreate(c)), L = computed(() => u.getVarButtonUpdate(c)), H = computed(() => u.getVarButtonCopy(c)), w = computed(() => u.getVarButtonDelete(c)), D = computed(() => u.getVarProfileMasters(c)), K = computed(() => u.getCurrentVarProfileMasterID(c)), V = computed(() => u.getCurrentVarProfileMaster(c)), N = computed(() => {
12841
12843
  var X, ee;
12842
12844
  return (ee = (X = V.value) == null ? void 0 : X.varProfileDetails) != null ? ee : null;
12843
12845
  }), G = computed(() => u.getVarGridConfig(c)), $ = computed(() => u.getVarGridMasters(c)), B = computed(() => u.getCurrentVarGridMasterID(c)), Y = computed(() => u.getCurrentVarGridMaster(c)), q = computed(() => u.getSystemVarGridDetails(c)), J = computed(() => u.getCurrentVarGridDetails(c));
12844
12846
  return {
12845
12847
  formID: c,
12846
12848
  store: u,
12847
- isRetrieving: p,
12849
+ isRetrieving: _,
12848
12850
  isRetrievingVarProfileMaster: E,
12849
12851
  isRetrievingVarGridMaster: b,
12850
12852
  isRetrieved: y,
12851
12853
  isCreating: g,
12852
- isCreatingRequesting: _,
12854
+ isCreatingRequesting: p,
12853
12855
  isUpdating: m,
12854
12856
  isUpdatingRequesting: T,
12855
12857
  isCopying: k,
@@ -13104,11 +13106,11 @@ const useKgSubmitStore = () => (store$4 || (store$4 = defineStore("KgSubmit", {
13104
13106
  }).bind(null, pinia())), store$4);
13105
13107
  function useKgSubmit(e) {
13106
13108
  const t = useKgVar(e), r = useKgSubmitStore()(), a = computed(() => t.store.getVarSubmitConfig(t.formID)), n = computed(() => {
13107
- var g, _, m, T, k;
13109
+ var g, p, m, T, k;
13108
13110
  let i = KG_VAR_SUBMIT__DISPLAY_TYPE.DRAWER;
13109
- const c = KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL, u = KG_VAR_SUBMIT__DISPLAY_TYPE.TABLE, d = (g = a.value) == null ? void 0 : g.display_type, p = (_ = a.value) == null ? void 0 : _.crt_display_type, E = (m = a.value) == null ? void 0 : m.upt_display_type, b = (T = a.value) == null ? void 0 : T.cpy_display_type, y = (k = a.value) == null ? void 0 : k.del_display_type;
13111
+ const c = KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL, u = KG_VAR_SUBMIT__DISPLAY_TYPE.TABLE, d = (g = a.value) == null ? void 0 : g.display_type, _ = (p = a.value) == null ? void 0 : p.crt_display_type, E = (m = a.value) == null ? void 0 : m.upt_display_type, b = (T = a.value) == null ? void 0 : T.cpy_display_type, y = (k = a.value) == null ? void 0 : k.del_display_type;
13110
13112
  switch (!0) {
13111
- case (t.isCreating.value && (p === c || !p && d === c)):
13113
+ case (t.isCreating.value && (_ === c || !_ && d === c)):
13112
13114
  i = c;
13113
13115
  break;
13114
13116
  case (t.isUpdating.value && (E === c || !E && d === c)):
@@ -13122,7 +13124,7 @@ function useKgSubmit(e) {
13122
13124
  break;
13123
13125
  }
13124
13126
  switch (!0) {
13125
- case (t.isCreating.value && (p === u || !p && d === u)):
13127
+ case (t.isCreating.value && (_ === u || !_ && d === u)):
13126
13128
  i = u;
13127
13129
  break;
13128
13130
  case (t.isUpdating.value && (E === u || !E && d === u)):
@@ -13178,8 +13180,8 @@ const KgSubmit_Header = "", FORM_ID__VAR_SUBMIT_CONFIG = "kg-submit.VarSubmitCon
13178
13180
  }) => {
13179
13181
  const u = s.store.getVarSubmitConfig(s.formID);
13180
13182
  return o = watch(c, (d) => {
13181
- var p, E, b, y, g, _, m, T, k, I, C, R;
13182
- d && (d.id = (p = u == null ? void 0 : u.id) != null ? p : null, d.frm_id = s.formID, d.resizable_flg = (E = u == null ? void 0 : u.resizable_flg) != null ? E : 1, d.fullscreen_flg = (b = u == null ? void 0 : u.fullscreen_flg) != null ? b : 1, d.dft_fullscreen_flg = (y = u == null ? void 0 : u.dft_fullscreen_flg) != null ? y : 0, d.responsive_flg = (g = u == null ? void 0 : u.responsive_flg) != null ? g : 1, d.max_width = (_ = u == null ? void 0 : u.max_width) != null ? _ : DEFAULT_MAX_WIDTH, d.min_width = (m = u == null ? void 0 : u.min_width) != null ? m : DEFAULT_MIN_WIDTH, d.dft_width = (T = u == null ? void 0 : u.dft_width) != null ? T : DEFAULT_WIDTH, d.layout = (k = u == null ? void 0 : u.layout) != null ? k : KG_VAR_SUBMIT__LAYOUT.VERTICAL, d.label_col = (I = u == null ? void 0 : u.label_col) != null ? I : DEFAULT_LABEL_COL_FOR_SPAN, d.label_col_unit = (C = u == null ? void 0 : u.label_col_unit) != null ? C : KG_WIDTH_UNIT.SPAN, d.display_type = (R = u == null ? void 0 : u.display_type) != null ? R : KG_VAR_SUBMIT__DISPLAY_TYPE.DRAWER);
13183
+ var _, E, b, y, g, p, m, T, k, I, C, R;
13184
+ d && (d.id = (_ = u == null ? void 0 : u.id) != null ? _ : null, d.frm_id = s.formID, d.resizable_flg = (E = u == null ? void 0 : u.resizable_flg) != null ? E : 1, d.fullscreen_flg = (b = u == null ? void 0 : u.fullscreen_flg) != null ? b : 1, d.dft_fullscreen_flg = (y = u == null ? void 0 : u.dft_fullscreen_flg) != null ? y : 0, d.responsive_flg = (g = u == null ? void 0 : u.responsive_flg) != null ? g : 1, d.max_width = (p = u == null ? void 0 : u.max_width) != null ? p : DEFAULT_MAX_WIDTH, d.min_width = (m = u == null ? void 0 : u.min_width) != null ? m : DEFAULT_MIN_WIDTH, d.dft_width = (T = u == null ? void 0 : u.dft_width) != null ? T : DEFAULT_WIDTH, d.layout = (k = u == null ? void 0 : u.layout) != null ? k : KG_VAR_SUBMIT__LAYOUT.VERTICAL, d.label_col = (I = u == null ? void 0 : u.label_col) != null ? I : DEFAULT_LABEL_COL_FOR_SPAN, d.label_col_unit = (C = u == null ? void 0 : u.label_col_unit) != null ? C : KG_WIDTH_UNIT.SPAN, d.display_type = (R = u == null ? void 0 : u.display_type) != null ? R : KG_VAR_SUBMIT__DISPLAY_TYPE.DRAWER);
13183
13185
  }, {
13184
13186
  immediate: !0
13185
13187
  }), KgUtil.hideLoading(), !1;
@@ -13222,15 +13224,15 @@ const KgSubmit_Header = "", FORM_ID__VAR_SUBMIT_CONFIG = "kg-submit.VarSubmitCon
13222
13224
  function d() {
13223
13225
  r("update:isFullscreen", !e.isFullscreen);
13224
13226
  }
13225
- function p() {
13227
+ function _() {
13226
13228
  u.value = !0;
13227
13229
  }
13228
13230
  function E() {
13229
13231
  r("kgCancel");
13230
13232
  }
13231
13233
  function b() {
13232
- var _;
13233
- return e.kgShowFullscreenButton === !1 || ((_ = o.value) == null ? void 0 : _.fullscreen_flg) === 0 ? null : createVNode(Button, {
13234
+ var p;
13235
+ return e.kgShowFullscreenButton === !1 || ((p = o.value) == null ? void 0 : p.fullscreen_flg) === 0 ? null : createVNode(Button, {
13234
13236
  onClick: d,
13235
13237
  class: "kg-submit--btn-fullscreen"
13236
13238
  }, {
@@ -13240,7 +13242,7 @@ const KgSubmit_Header = "", FORM_ID__VAR_SUBMIT_CONFIG = "kg-submit.VarSubmitCon
13240
13242
  function y() {
13241
13243
  return e.kgShowConfigButton ? createVNode(Fragment, null, [createVNode(Button, {
13242
13244
  disabled: c.value || i.value,
13243
- onClick: p,
13245
+ onClick: _,
13244
13246
  class: "kg-submit--btn-config"
13245
13247
  }, {
13246
13248
  default: () => [createVNode(SettingOutlined$1, null, null)]
@@ -13262,14 +13264,14 @@ const KgSubmit_Header = "", FORM_ID__VAR_SUBMIT_CONFIG = "kg-submit.VarSubmitCon
13262
13264
  }), DEFAULT_MIN_WIDTH = 300, DEFAULT_MAX_WIDTH = 1182, DEFAULT_WIDTH = 594, DEFAULT_LAYOUT = "vertical", DEFAULT_LABEL_COL_FOR_SPAN = 4, DEFAULT_LABEL_COL_FOR_PX = 100;
13263
13265
  function _useFormModel$1() {
13264
13266
  const e = inject("$dayjs", dayjs), t = useKgVar(), r = useKgTable(), a = useKgSubmit(), n = computed(() => t.store.getVarSubmitFieldsForCreate(t.formID)), s = computed(() => t.store.getVarSubmitFieldsForUpdate(t.formID)), l = computed(() => t.store.getVarSubmitFieldsForCopy(t.formID)), o = computed(() => t.store.getVarSubmitFieldsForDelete(t.formID)), i = computed(() => {
13265
- var u, d, p, E;
13267
+ var u, d, _, E;
13266
13268
  switch (!0) {
13267
13269
  case t.isCreating.value:
13268
13270
  return (u = n.value) != null ? u : [];
13269
13271
  case t.isUpdating.value:
13270
13272
  return (d = s.value) != null ? d : [];
13271
13273
  case t.isCopying.value:
13272
- return (p = l.value) != null ? p : [];
13274
+ return (_ = l.value) != null ? _ : [];
13273
13275
  case t.isDeleting.value:
13274
13276
  return (E = o.value) != null ? E : [];
13275
13277
  }
@@ -13281,24 +13283,24 @@ function _useFormModel$1() {
13281
13283
  return;
13282
13284
  }
13283
13285
  const d = r.selectedRow.value;
13284
- u.forEach((p) => {
13285
- var b, y, g, _, m, T, k, I;
13286
- const E = (b = p.var_nam) != null ? b : "";
13286
+ u.forEach((_) => {
13287
+ var b, y, g, p, m, T, k, I;
13288
+ const E = (b = _.var_nam) != null ? b : "";
13287
13289
  switch (c.value[E] = void 0, !0) {
13288
13290
  case t.isCreating.value: {
13289
- c.value[E] = KgVarUtil.transformFormItemValue(t.formID, E, e, (y = p.crt_dft_val) != null ? y : void 0, "C");
13291
+ c.value[E] = KgVarUtil.transformFormItemValue(t.formID, E, e, (y = _.crt_dft_val) != null ? y : void 0, "C");
13290
13292
  break;
13291
13293
  }
13292
13294
  case t.isUpdating.value: {
13293
- c.value.id = d == null ? void 0 : d.id, c.value[E] = KgVarUtil.transformFormItemValue(t.formID, E, e, (_ = (g = p.upt_dft_val) != null ? g : d == null ? void 0 : d[E]) != null ? _ : void 0, "U");
13295
+ c.value.id = d == null ? void 0 : d.id, c.value[E] = KgVarUtil.transformFormItemValue(t.formID, E, e, (p = (g = _.upt_dft_val) != null ? g : d == null ? void 0 : d[E]) != null ? p : void 0, "U");
13294
13296
  break;
13295
13297
  }
13296
13298
  case t.isCopying.value: {
13297
- c.value.id = d == null ? void 0 : d.id, c.value[E] = KgVarUtil.transformFormItemValue(t.formID, E, e, (T = (m = p.cpy_dft_val) != null ? m : d == null ? void 0 : d[E]) != null ? T : void 0, "CP");
13299
+ c.value.id = d == null ? void 0 : d.id, c.value[E] = KgVarUtil.transformFormItemValue(t.formID, E, e, (T = (m = _.cpy_dft_val) != null ? m : d == null ? void 0 : d[E]) != null ? T : void 0, "CP");
13298
13300
  break;
13299
13301
  }
13300
13302
  case t.isDeleting.value: {
13301
- c.value.id = d == null ? void 0 : d.id, c.value[E] = KgVarUtil.transformFormItemValue(t.formID, E, e, (I = (k = p.del_dft_val) != null ? k : d == null ? void 0 : d[E]) != null ? I : void 0, "D");
13303
+ c.value.id = d == null ? void 0 : d.id, c.value[E] = KgVarUtil.transformFormItemValue(t.formID, E, e, (I = (k = _.del_dft_val) != null ? k : d == null ? void 0 : d[E]) != null ? I : void 0, "D");
13302
13304
  break;
13303
13305
  }
13304
13306
  }
@@ -13346,20 +13348,20 @@ function _useTitle() {
13346
13348
  var o, i, c, u;
13347
13349
  switch (!0) {
13348
13350
  case t.isCreating.value: {
13349
- const d = (o = r.value) == null ? void 0 : o.var_nam, p = t.t(d).value;
13350
- return d === p ? e.t("kg.create") : p;
13351
+ const d = (o = r.value) == null ? void 0 : o.var_nam, _ = t.t(d).value;
13352
+ return d === _ ? e.t("kg.create") : _;
13351
13353
  }
13352
13354
  case t.isUpdating.value: {
13353
- const d = (i = a.value) == null ? void 0 : i.var_nam, p = t.t(d).value;
13354
- return d === p ? e.t("kg.update") : p;
13355
+ const d = (i = a.value) == null ? void 0 : i.var_nam, _ = t.t(d).value;
13356
+ return d === _ ? e.t("kg.update") : _;
13355
13357
  }
13356
13358
  case t.isCopying.value: {
13357
- const d = (c = n.value) == null ? void 0 : c.var_nam, p = t.t(d).value;
13358
- return d === p ? e.t("kg.copy") : p;
13359
+ const d = (c = n.value) == null ? void 0 : c.var_nam, _ = t.t(d).value;
13360
+ return d === _ ? e.t("kg.copy") : _;
13359
13361
  }
13360
13362
  case t.isDeleting.value: {
13361
- const d = (u = s.value) == null ? void 0 : u.var_nam, p = t.t(d).value;
13362
- return d === p ? e.t("kg.delete") : p;
13363
+ const d = (u = s.value) == null ? void 0 : u.var_nam, _ = t.t(d).value;
13364
+ return d === _ ? e.t("kg.delete") : _;
13363
13365
  }
13364
13366
  }
13365
13367
  return "";
@@ -13370,9 +13372,9 @@ function _useClass(e, t) {
13370
13372
  const r = inject(DI_KG_VAR__KG_PROPS, null), a = useKgVar(), n = useKgSubmit(), s = computed(() => a.store.getVarSubmitConfig(a.formID)), l = computed(() => a.store.getVarSubmitFieldsForDeleteKey(a.formID));
13371
13373
  return {
13372
13374
  getClass: computed(() => {
13373
- var c, u, d, p, E, b, y;
13375
+ var c, u, d, _, E, b, y;
13374
13376
  let i = "kg-submit";
13375
- return t.isFullscreen && (i += " kg-submit--fullscreen"), ((c = s.value) == null ? void 0 : c.responsive_flg) !== 0 && (i += " kg-submit--responsive"), n.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL ? i += " kg-submit--modal" : n.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.TABLE && (i += " kg-submit--table"), a.isDeleting.value && ((d = (u = l.value) == null ? void 0 : u.length) != null ? d : 0) === 0 && (i += " kg-submit--delete-message"), (E = (p = r == null ? void 0 : r.value) == null ? void 0 : p.KgSubmit) != null && E.kgClass ? i += ` ${(y = (b = r == null ? void 0 : r.value) == null ? void 0 : b.KgSubmit) == null ? void 0 : y.kgClass}` : e.kgClass && (i += ` ${e.kgClass}`), i;
13377
+ return t.isFullscreen && (i += " kg-submit--fullscreen"), ((c = s.value) == null ? void 0 : c.responsive_flg) !== 0 && (i += " kg-submit--responsive"), n.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL ? i += " kg-submit--modal" : n.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.TABLE && (i += " kg-submit--table"), a.isDeleting.value && ((d = (u = l.value) == null ? void 0 : u.length) != null ? d : 0) === 0 && (i += " kg-submit--delete-message"), (E = (_ = r == null ? void 0 : r.value) == null ? void 0 : _.KgSubmit) != null && E.kgClass ? i += ` ${(y = (b = r == null ? void 0 : r.value) == null ? void 0 : b.KgSubmit) == null ? void 0 : y.kgClass}` : e.kgClass && (i += ` ${e.kgClass}`), i;
13376
13378
  })
13377
13379
  };
13378
13380
  }
@@ -13380,9 +13382,9 @@ function _useLayout() {
13380
13382
  const e = useKgVar(), t = computed(() => e.store.getVarSubmitConfig(e.formID));
13381
13383
  return {
13382
13384
  getLayout: computed(() => {
13383
- var c, u, d, p, E;
13385
+ var c, u, d, _, E;
13384
13386
  let a = "vertical";
13385
- const n = (c = t.value) == null ? void 0 : c.layout, s = (u = t.value) == null ? void 0 : u.crt_layout, l = (d = t.value) == null ? void 0 : d.upt_layout, o = (p = t.value) == null ? void 0 : p.cpy_layout, i = (E = t.value) == null ? void 0 : E.del_layout;
13387
+ const n = (c = t.value) == null ? void 0 : c.layout, s = (u = t.value) == null ? void 0 : u.crt_layout, l = (d = t.value) == null ? void 0 : d.upt_layout, o = (_ = t.value) == null ? void 0 : _.cpy_layout, i = (E = t.value) == null ? void 0 : E.del_layout;
13386
13388
  switch (!0) {
13387
13389
  case (e.isCreating.value && (s === "horizontal" || !s && n === "horizontal")):
13388
13390
  a = "horizontal";
@@ -13405,10 +13407,10 @@ function _useDefaultWidth() {
13405
13407
  const e = useKgVar(), t = computed(() => e.store.getVarSubmitConfig(e.formID));
13406
13408
  return {
13407
13409
  getDefaultWidth: computed(() => {
13408
- var c, u, d, p, E;
13410
+ var c, u, d, _, E;
13409
13411
  if (!t.value)
13410
13412
  return 0;
13411
- const a = (c = t.value) == null ? void 0 : c.dft_width, n = (u = t.value) == null ? void 0 : u.crt_dft_width, s = (d = t.value) == null ? void 0 : d.upt_dft_width, l = (p = t.value) == null ? void 0 : p.cpy_dft_width, o = (E = t.value) == null ? void 0 : E.del_dft_width;
13413
+ const a = (c = t.value) == null ? void 0 : c.dft_width, n = (u = t.value) == null ? void 0 : u.crt_dft_width, s = (d = t.value) == null ? void 0 : d.upt_dft_width, l = (_ = t.value) == null ? void 0 : _.cpy_dft_width, o = (E = t.value) == null ? void 0 : E.del_dft_width;
13412
13414
  let i = a || DEFAULT_WIDTH;
13413
13415
  switch (!0) {
13414
13416
  case (e.isCreating.value && !!n):
@@ -13449,7 +13451,7 @@ const getProps$h = () => ({
13449
13451
  inject(DI_KG_VAR__KG_PROPS, null);
13450
13452
  const n = useKg(), s = useKgVar(), l = useKgButton(), o = useKgTable(), i = useKgSubmit(), c = useKgSearch();
13451
13453
  l.onSubmitSave(async () => (await ie(), !1)), l.onSubmitCancel(async () => (await ue(), !1)), _useFormModel$1();
13452
- const u = computed(() => s.isDeleting.value && M.value.length === 0 && L.value.length === 0), d = computed(() => i.store.isLoading(s.formID)), p = computed(() => s.store.getVarSubmitConfig(s.formID)), E = computed(() => s.store.getVarSubmitFieldsForCreateKey(s.formID)), b = computed(() => s.store.getVarSubmitFieldsForCreateNotKey(s.formID)), y = computed(() => s.store.getVarSubmitFieldsForUpdateKey(s.formID)), g = computed(() => s.store.getVarSubmitFieldsForUpdateNotKey(s.formID)), _ = computed(() => s.store.getVarSubmitFieldsForCopyKey(s.formID)), m = computed(() => s.store.getVarSubmitFieldsForCopyNotKey(s.formID)), T = computed(() => s.store.getVarSubmitFieldsForCreateKeyVisible(s.formID)), k = computed(() => s.store.getVarSubmitFieldsForCreateNotKeyVisible(s.formID)), I = computed(() => s.store.getVarSubmitFieldsForUpdateKeyVisible(s.formID)), C = computed(() => s.store.getVarSubmitFieldsForUpdateNotKeyVisible(s.formID)), R = computed(() => s.store.getVarSubmitFieldsForCopyKeyVisible(s.formID)), A = computed(() => s.store.getVarSubmitFieldsForCopyNotKeyVisible(s.formID)), O = computed(() => s.store.getVarSubmitFieldsForDelete(s.formID)), M = computed(() => {
13454
+ const u = computed(() => s.isDeleting.value && M.value.length === 0 && L.value.length === 0), d = computed(() => i.store.isLoading(s.formID)), _ = computed(() => s.store.getVarSubmitConfig(s.formID)), E = computed(() => s.store.getVarSubmitFieldsForCreateKey(s.formID)), b = computed(() => s.store.getVarSubmitFieldsForCreateNotKey(s.formID)), y = computed(() => s.store.getVarSubmitFieldsForUpdateKey(s.formID)), g = computed(() => s.store.getVarSubmitFieldsForUpdateNotKey(s.formID)), p = computed(() => s.store.getVarSubmitFieldsForCopyKey(s.formID)), m = computed(() => s.store.getVarSubmitFieldsForCopyNotKey(s.formID)), T = computed(() => s.store.getVarSubmitFieldsForCreateKeyVisible(s.formID)), k = computed(() => s.store.getVarSubmitFieldsForCreateNotKeyVisible(s.formID)), I = computed(() => s.store.getVarSubmitFieldsForUpdateKeyVisible(s.formID)), C = computed(() => s.store.getVarSubmitFieldsForUpdateNotKeyVisible(s.formID)), R = computed(() => s.store.getVarSubmitFieldsForCopyKeyVisible(s.formID)), A = computed(() => s.store.getVarSubmitFieldsForCopyNotKeyVisible(s.formID)), O = computed(() => s.store.getVarSubmitFieldsForDelete(s.formID)), M = computed(() => {
13453
13455
  var x, W, Z;
13454
13456
  switch (!0) {
13455
13457
  case s.isCreating.value:
@@ -13457,7 +13459,7 @@ const getProps$h = () => ({
13457
13459
  case s.isUpdating.value:
13458
13460
  return (W = y.value) != null ? W : [];
13459
13461
  case s.isCopying.value:
13460
- return (Z = _.value) != null ? Z : [];
13462
+ return (Z = p.value) != null ? Z : [];
13461
13463
  case s.isDeleting.value:
13462
13464
  return [];
13463
13465
  }
@@ -13505,13 +13507,13 @@ const getProps$h = () => ({
13505
13507
  kgWidth: 0
13506
13508
  }), N = computed(() => {
13507
13509
  var x;
13508
- return !!(u.value || ee.isFullscreen || ((x = p.value) == null ? void 0 : x.resizable_flg) === 0);
13510
+ return !!(u.value || ee.isFullscreen || ((x = _.value) == null ? void 0 : x.resizable_flg) === 0);
13509
13511
  }), G = computed(() => {
13510
13512
  var x, W;
13511
- return u.value ? 398 : (W = (x = p.value) == null ? void 0 : x.min_width) != null ? W : DEFAULT_MIN_WIDTH;
13513
+ return u.value ? 398 : (W = (x = _.value) == null ? void 0 : x.min_width) != null ? W : DEFAULT_MIN_WIDTH;
13512
13514
  }), $ = computed(() => {
13513
13515
  var x, W;
13514
- return u.value ? 398 : (W = (x = p.value) == null ? void 0 : x.max_width) != null ? W : DEFAULT_MAX_WIDTH;
13516
+ return u.value ? 398 : (W = (x = _.value) == null ? void 0 : x.max_width) != null ? W : DEFAULT_MAX_WIDTH;
13515
13517
  }), B = computed(() => u.value ? 398 : V.value.kgWidth), Y = ref(null);
13516
13518
  _useResizeObserver(Y);
13517
13519
  const q = _useTitle(), J = computed(() => u.value ? 400 : V.value.kgWidth && V.value.kgWidth > 0 ? "auto" : 0), X = computed(() => J.value === 0 ? !1 : !!(s.isCreating.value || s.isUpdating.value || s.isCopying.value || s.isDeleting.value)), ee = reactive({
@@ -13521,20 +13523,20 @@ const getProps$h = () => ({
13521
13523
  } = _useClass(e, ee), {
13522
13524
  getLayout: he
13523
13525
  } = _useLayout(), {
13524
- getDefaultWidth: pe
13526
+ getDefaultWidth: _e
13525
13527
  } = _useDefaultWidth(), ae = computed(() => {
13526
13528
  var x, W, Z;
13527
13529
  switch (he.value) {
13528
13530
  case "horizontal":
13529
- switch ((x = p.value) == null ? void 0 : x.label_col_unit) {
13531
+ switch ((x = _.value) == null ? void 0 : x.label_col_unit) {
13530
13532
  case KG_WIDTH_UNIT.SPAN:
13531
13533
  return {
13532
- span: (W = p.value) == null ? void 0 : W.label_col
13534
+ span: (W = _.value) == null ? void 0 : W.label_col
13533
13535
  };
13534
13536
  default:
13535
13537
  return {
13536
13538
  style: {
13537
- width: `${(Z = p.value) == null ? void 0 : Z.label_col}px`
13539
+ width: `${(Z = _.value) == null ? void 0 : Z.label_col}px`
13538
13540
  }
13539
13541
  };
13540
13542
  }
@@ -13545,10 +13547,10 @@ const getProps$h = () => ({
13545
13547
  var x, W;
13546
13548
  switch (he.value) {
13547
13549
  case "horizontal":
13548
- switch ((x = p.value) == null ? void 0 : x.label_col_unit) {
13550
+ switch ((x = _.value) == null ? void 0 : x.label_col_unit) {
13549
13551
  case KG_WIDTH_UNIT.SPAN:
13550
13552
  return {
13551
- span: 24 - ((W = p.value) == null ? void 0 : W.label_col)
13553
+ span: 24 - ((W = _.value) == null ? void 0 : W.label_col)
13552
13554
  };
13553
13555
  default:
13554
13556
  return;
@@ -13581,7 +13583,7 @@ const getProps$h = () => ({
13581
13583
  x === !0 && z(), W === !0 && x === !1 && te();
13582
13584
  }, {
13583
13585
  immediate: !0
13584
- }), watch(pe, (x) => {
13586
+ }), watch(_e, (x) => {
13585
13587
  x && (V.value.kgWidth = x);
13586
13588
  }, {
13587
13589
  immediate: !0
@@ -13608,11 +13610,11 @@ const getProps$h = () => ({
13608
13610
  }, {
13609
13611
  immediate: !0
13610
13612
  });
13611
- ((se = p.value) == null ? void 0 : se.dft_fullscreen_flg) === 1 && !u.value && (ee.isFullscreen = !0);
13613
+ ((se = _.value) == null ? void 0 : se.dft_fullscreen_flg) === 1 && !u.value && (ee.isFullscreen = !0);
13612
13614
  });
13613
13615
  }
13614
13616
  async function te() {
13615
- V.value.kgWidth = pe.value, ee.isFullscreen = !1, await i.store.emit(s.formID, "close", null);
13617
+ V.value.kgWidth = _e.value, ee.isFullscreen = !1, await i.store.emit(s.formID, "close", null);
13616
13618
  }
13617
13619
  function ue() {
13618
13620
  switch (!0) {
@@ -13660,7 +13662,7 @@ const getProps$h = () => ({
13660
13662
  return;
13661
13663
  switch (!0) {
13662
13664
  case s.isCreating.value:
13663
- await _e();
13665
+ await pe();
13664
13666
  break;
13665
13667
  case s.isUpdating.value:
13666
13668
  await ve();
@@ -13676,7 +13678,7 @@ const getProps$h = () => ({
13676
13678
  KgUtil.throwIfNotFormError(Z);
13677
13679
  }
13678
13680
  }
13679
- async function _e() {
13681
+ async function pe() {
13680
13682
  var W, Z, re, se, oe, de, ge;
13681
13683
  const x = (W = s.varButtonCreate.value) == null ? void 0 : W.cmd;
13682
13684
  if (!x) {
@@ -13783,7 +13785,7 @@ const getProps$h = () => ({
13783
13785
  ...(se = o.selectedFirstRow.value) != null ? se : {},
13784
13786
  ...toRaw(i.model.value)
13785
13787
  }, s.formID, r));
13786
- if (((oe = p.value) == null ? void 0 : oe.cpy_clear_id_flg) !== 0 && delete Se.value.id, await i.store.emit(s.formID, "beforeRequest", {
13788
+ if (((oe = _.value) == null ? void 0 : oe.cpy_clear_id_flg) !== 0 && delete Se.value.id, await i.store.emit(s.formID, "beforeRequest", {
13787
13789
  isCreating: s.isCreating.value,
13788
13790
  isUpdating: s.isUpdating.value,
13789
13791
  isCopying: s.isCopying.value,
@@ -14017,7 +14019,7 @@ const getProps$h = () => ({
14017
14019
  return ((I = u.value) == null ? void 0 : I.del_flg) !== 0;
14018
14020
  }
14019
14021
  return !1;
14020
- }), p = computed(() => {
14022
+ }), _ = computed(() => {
14021
14023
  var m;
14022
14024
  return r.isRetrieved.value && ((m = o.value) == null ? void 0 : m.available_flg) !== 0;
14023
14025
  }), E = computed(() => {
@@ -14028,15 +14030,15 @@ const getProps$h = () => ({
14028
14030
  return r.isRetrieved.value && ((m = c.value) == null ? void 0 : m.available_flg) !== 0;
14029
14031
  }), y = computed(() => !!r.isOtherRequesting.value), g = computed(() => {
14030
14032
  let m = "kg-var";
14031
- return e.KgBackgroundGray && (m += " kg-var--bg-gray"), !p.value && !E.value && !b.value && (m += " kg-var--empty"), m;
14033
+ return e.KgBackgroundGray && (m += " kg-var--bg-gray"), !_.value && !E.value && !b.value && (m += " kg-var--empty"), m;
14032
14034
  });
14033
- function _() {
14035
+ function p() {
14034
14036
  return createVNode(Spin, {
14035
14037
  spinning: y.value
14036
14038
  }, {
14037
14039
  default: () => {
14038
14040
  var m, T;
14039
- return [t.default ? t.default() : createVNode(Fragment, null, [p.value && createVNode(KgSearch, null, null), E.value && createVNode(KgButton, null, null), b.value && createVNode(Fragment, null, [createVNode(KgTable, null, null), (T = (m = e.kgSlots) == null ? void 0 : m.afterKgTable) == null ? void 0 : T.call(m)]), d.value && createVNode(KgSubmit, null, null)])];
14041
+ return [t.default ? t.default() : createVNode(Fragment, null, [_.value && createVNode(KgSearch, null, null), E.value && createVNode(KgButton, null, null), b.value && createVNode(Fragment, null, [createVNode(KgTable, null, null), (T = (m = e.kgSlots) == null ? void 0 : m.afterKgTable) == null ? void 0 : T.call(m)]), d.value && createVNode(KgSubmit, null, null)])];
14040
14042
  }
14041
14043
  });
14042
14044
  }
@@ -14044,7 +14046,7 @@ const getProps$h = () => ({
14044
14046
  a.store.dispose(r.formID), n.store.dispose(r.formID), l.store.dispose(r.formID), s.store.dispose(r.formID);
14045
14047
  }), () => createVNode("div", {
14046
14048
  class: g.value
14047
- }, [_()]);
14049
+ }, [p()]);
14048
14050
  }
14049
14051
  }), getProps$f = () => ({
14050
14052
  kgButton: Object,
@@ -14068,8 +14070,8 @@ const getProps$h = () => ({
14068
14070
  attrs: t
14069
14071
  }) {
14070
14072
  const r = useKg(), a = useKgVar(), n = useKgTable(), s = computed(() => a.store.getVarButton(a.formID, e.kgVarName)), l = computed(() => {
14071
- var u, d, p, E, b, y, g, _;
14072
- return a.isCreating.value || a.isUpdating.value || a.isDeleting.value || n.isRetrieving.value || ((u = s.value) == null ? void 0 : u.dis_no_select_flg) === 1 && ((p = (d = n.selectedRows.value) == null ? void 0 : d.length) != null ? p : 0) === 0 || ((E = s.value) == null ? void 0 : E.dis_mult_select_flg) === 1 && ((y = (b = n.selectedRows.value) == null ? void 0 : b.length) != null ? y : 0) > 1 || KgAuthUtil.getPermissionType((g = s.value) == null ? void 0 : g.permission_code) === 2 && !r.p((_ = s.value) == null ? void 0 : _.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14073
+ var u, d, _, E, b, y, g, p;
14074
+ return a.isCreating.value || a.isUpdating.value || a.isDeleting.value || n.isRetrieving.value || ((u = s.value) == null ? void 0 : u.dis_no_select_flg) === 1 && ((_ = (d = n.selectedRows.value) == null ? void 0 : d.length) != null ? _ : 0) === 0 || ((E = s.value) == null ? void 0 : E.dis_mult_select_flg) === 1 && ((y = (b = n.selectedRows.value) == null ? void 0 : b.length) != null ? y : 0) > 1 || KgAuthUtil.getPermissionType((g = s.value) == null ? void 0 : g.permission_code) === 2 && !r.p((p = s.value) == null ? void 0 : p.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14073
14075
  });
14074
14076
  async function o() {
14075
14077
  e.onKgClick && await e.onKgClick() || a.store.setIsCopying(a.formID, !0);
@@ -14085,7 +14087,7 @@ const getProps$h = () => ({
14085
14087
  return e.kgText ? e.kgText : r.t("kg.copy");
14086
14088
  }
14087
14089
  return () => {
14088
- var u, d, p, E, b, y;
14090
+ var u, d, _, E, b, y;
14089
14091
  return createVNode(Button, {
14090
14092
  type: "primary",
14091
14093
  disabled: l.value,
@@ -14093,7 +14095,7 @@ const getProps$h = () => ({
14093
14095
  onClick: o,
14094
14096
  "kg-id": (u = s.value) == null ? void 0 : u.id,
14095
14097
  "kg-frm_id": (d = s.value) == null ? void 0 : d.frm_id,
14096
- "kg-var_nam": (p = s.value) == null ? void 0 : p.var_nam,
14098
+ "kg-var_nam": (_ = s.value) == null ? void 0 : _.var_nam,
14097
14099
  "kg-cmd": (E = s.value) == null ? void 0 : E.cmd,
14098
14100
  "kg-permission": (y = (b = s.value) == null ? void 0 : b.permission_code) != null ? y : "",
14099
14101
  class: t.class
@@ -14289,7 +14291,7 @@ const KgButtonCreate = defineComponent({
14289
14291
  var T, k, I, C, R, A, O, M;
14290
14292
  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 && ((I = (k = o.selectedRows.value) == null ? void 0 : k.length) != null ? I : 0) === 0 || ((C = c.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((A = (R = o.selectedRows.value) == null ? void 0 : R.length) != null ? A : 0) > 1 || KgAuthUtil.getPermissionType((O = c.value) == null ? void 0 : O.permission_code) === 2 && !n.p((M = c.value) == null ? void 0 : M.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14291
14293
  }), d = computed(() => !!s.isCreatingRequesting.value);
14292
- async function p() {
14294
+ async function _() {
14293
14295
  e.onKgClick && await e.onKgClick() || s.store.setIsCreating(s.formID, !0);
14294
14296
  }
14295
14297
  function E() {
@@ -14308,12 +14310,12 @@ const KgButtonCreate = defineComponent({
14308
14310
  function g() {
14309
14311
  return e.kgText ? e.kgText : n.t("kg.create");
14310
14312
  }
14311
- function _() {
14313
+ function p() {
14312
14314
  var T, k, I, C, R, A;
14313
14315
  return i.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.TABLE && s.isCreating.value ? null : createVNode(Button, {
14314
14316
  type: "primary",
14315
14317
  disabled: u.value,
14316
- onClick: p,
14318
+ onClick: _,
14317
14319
  "kg-id": (T = c.value) == null ? void 0 : T.id,
14318
14320
  "kg-frm_id": (k = c.value) == null ? void 0 : k.frm_id,
14319
14321
  "kg-var_nam": (I = c.value) == null ? void 0 : I.var_nam,
@@ -14340,15 +14342,15 @@ const KgButtonCreate = defineComponent({
14340
14342
  default: () => [createVNode(StopOutlined$1, null, null), n.t("kg.cancel")]
14341
14343
  })]);
14342
14344
  }
14343
- return () => createVNode(Fragment, null, [_(), m()]);
14345
+ return () => createVNode(Fragment, null, [p(), m()]);
14344
14346
  }
14345
14347
  }), KgButtonDelete = defineComponent({
14346
14348
  name: "KgButtonDelete",
14347
14349
  props: getProps$f(),
14348
14350
  setup(e) {
14349
14351
  const t = useKg(), r = useKgVar(), a = useKgTable(), n = computed(() => r.store.getVarButton(r.formID, e.kgVarName)), s = computed(() => {
14350
- var c, u, d, p, E, b, y, g;
14351
- return r.isCreating.value || r.isUpdating.value || r.isCopying.value || a.isRetrieving.value || ((c = n.value) == null ? void 0 : c.dis_no_select_flg) === 1 && ((d = (u = a.selectedRows.value) == null ? void 0 : u.length) != null ? d : 0) === 0 || ((p = n.value) == null ? void 0 : p.dis_mult_select_flg) === 1 && ((b = (E = a.selectedRows.value) == null ? void 0 : E.length) != null ? b : 0) > 1 || KgAuthUtil.getPermissionType((y = n.value) == null ? void 0 : y.permission_code) === 2 && !t.p((g = n.value) == null ? void 0 : g.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14352
+ var c, u, d, _, E, b, y, g;
14353
+ return r.isCreating.value || r.isUpdating.value || r.isCopying.value || a.isRetrieving.value || ((c = n.value) == null ? void 0 : c.dis_no_select_flg) === 1 && ((d = (u = a.selectedRows.value) == null ? void 0 : u.length) != null ? d : 0) === 0 || ((_ = n.value) == null ? void 0 : _.dis_mult_select_flg) === 1 && ((b = (E = a.selectedRows.value) == null ? void 0 : E.length) != null ? b : 0) > 1 || KgAuthUtil.getPermissionType((y = n.value) == null ? void 0 : y.permission_code) === 2 && !t.p((g = n.value) == null ? void 0 : g.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14352
14354
  });
14353
14355
  async function l() {
14354
14356
  e.onKgClick && await e.onKgClick() || r.store.setIsDeleting(r.formID, !0);
@@ -14364,7 +14366,7 @@ const KgButtonCreate = defineComponent({
14364
14366
  return e.kgText ? e.kgText : t.t("kg.delete");
14365
14367
  }
14366
14368
  return () => {
14367
- var c, u, d, p, E, b;
14369
+ var c, u, d, _, E, b;
14368
14370
  return createVNode(Button, {
14369
14371
  type: "primary",
14370
14372
  disabled: s.value,
@@ -14374,7 +14376,7 @@ const KgButtonCreate = defineComponent({
14374
14376
  "kg-id": (c = n.value) == null ? void 0 : c.id,
14375
14377
  "kg-frm_id": (u = n.value) == null ? void 0 : u.frm_id,
14376
14378
  "kg-var_nam": (d = n.value) == null ? void 0 : d.var_nam,
14377
- "kg-cmd": (p = n.value) == null ? void 0 : p.cmd,
14379
+ "kg-cmd": (_ = n.value) == null ? void 0 : _.cmd,
14378
14380
  "kg-permission": (b = (E = n.value) == null ? void 0 : E.permission_code) != null ? b : ""
14379
14381
  }, {
14380
14382
  default: () => [o(), i()]
@@ -14392,7 +14394,7 @@ const KgButtonCreate = defineComponent({
14392
14394
  var b, y;
14393
14395
  return (y = (b = s.value) == null ? void 0 : b.cmd_method) != null ? y : "GET";
14394
14396
  }), i = computed(() => {
14395
- var y, g, _, m, T, k;
14397
+ var y, g, p, m, T, k;
14396
14398
  let b = {
14397
14399
  pageNo: 1,
14398
14400
  pageSize: 9999999,
@@ -14400,14 +14402,14 @@ const KgButtonCreate = defineComponent({
14400
14402
  };
14401
14403
  return s.value && (b = {
14402
14404
  ...b,
14403
- ...KgVarUtil.parseCommandParameter((_ = (g = s.value) == null ? void 0 : g.cmd_prm) != null ? _ : "")
14405
+ ...KgVarUtil.parseCommandParameter((p = (g = s.value) == null ? void 0 : g.cmd_prm) != null ? p : "")
14404
14406
  }), (m = r.varGridConfig.value) != null && m.cmd_prm && (b = {
14405
14407
  ...b,
14406
14408
  ...KgVarUtil.parseCommandParameter((T = r.varGridConfig.value.cmd_prm) != null ? T : "")
14407
14409
  }), ((k = r.varGridConfig.value) == null ? void 0 : k.convert_sort_field_to_under_score_flg) === 1 && b.column && (b.column = snakeCase$1(b.column)), b;
14408
14410
  }), c = computed(() => {
14409
- var b, y, g, _, m, T, k, I;
14410
- return r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || n.isRetrieving.value || ((b = s.value) == null ? void 0 : b.dis_no_select_flg) === 1 && ((g = (y = n.selectedRows.value) == null ? void 0 : y.length) != null ? g : 0) === 0 || ((_ = s.value) == null ? void 0 : _.dis_mult_select_flg) === 1 && ((T = (m = n.selectedRows.value) == null ? void 0 : m.length) != null ? T : 0) > 1 || KgAuthUtil.getPermissionType((k = s.value) == null ? void 0 : k.permission_code) === 2 && !t.p((I = s.value) == null ? void 0 : I.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14411
+ var b, y, g, p, m, T, k, I;
14412
+ return r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || n.isRetrieving.value || ((b = s.value) == null ? void 0 : b.dis_no_select_flg) === 1 && ((g = (y = n.selectedRows.value) == null ? void 0 : y.length) != null ? g : 0) === 0 || ((p = s.value) == null ? void 0 : p.dis_mult_select_flg) === 1 && ((T = (m = n.selectedRows.value) == null ? void 0 : m.length) != null ? T : 0) > 1 || KgAuthUtil.getPermissionType((k = s.value) == null ? void 0 : k.permission_code) === 2 && !t.p((I = s.value) == null ? void 0 : I.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14411
14413
  }), u = ref(!1);
14412
14414
  async function d() {
14413
14415
  var b, y;
@@ -14428,8 +14430,8 @@ const KgButtonCreate = defineComponent({
14428
14430
  }, {
14429
14431
  joinParamsToUrl: !0,
14430
14432
  isTransformResponse: !1
14431
- }), _ = (b = s.value) == null ? void 0 : b.export_excel_filename;
14432
- KgUtil.downloadFile(g, `${_ ? r.t(_).value : t.t("kg.export")}.${(y = s.value) == null ? void 0 : y.export_excel_suffix}`);
14433
+ }), p = (b = s.value) == null ? void 0 : b.export_excel_filename;
14434
+ KgUtil.downloadFile(g, `${p ? r.t(p).value : t.t("kg.export")}.${(y = s.value) == null ? void 0 : y.export_excel_suffix}`);
14433
14435
  } catch (g) {
14434
14436
  throw g;
14435
14437
  } finally {
@@ -14437,7 +14439,7 @@ const KgButtonCreate = defineComponent({
14437
14439
  }
14438
14440
  }
14439
14441
  }
14440
- function p() {
14442
+ function _() {
14441
14443
  return u.value ? createVNode(LoadingOutlined$1, null, null) : e.kgIcon ? createVNode("span", {
14442
14444
  class: "anticon"
14443
14445
  }, [createVNode(Icon, {
@@ -14448,7 +14450,7 @@ const KgButtonCreate = defineComponent({
14448
14450
  return e.kgText ? e.kgText : t.t("kg.export");
14449
14451
  }
14450
14452
  return () => {
14451
- var b, y, g, _, m, T;
14453
+ var b, y, g, p, m, T;
14452
14454
  return createVNode(Button, {
14453
14455
  type: "primary",
14454
14456
  disabled: c.value,
@@ -14458,10 +14460,10 @@ const KgButtonCreate = defineComponent({
14458
14460
  "kg-id": (b = s.value) == null ? void 0 : b.id,
14459
14461
  "kg-frm_id": (y = s.value) == null ? void 0 : y.frm_id,
14460
14462
  "kg-var_nam": (g = s.value) == null ? void 0 : g.var_nam,
14461
- "kg-cmd": (_ = s.value) == null ? void 0 : _.cmd,
14463
+ "kg-cmd": (p = s.value) == null ? void 0 : p.cmd,
14462
14464
  "kg-permission": (T = (m = s.value) == null ? void 0 : m.permission_code) != null ? T : ""
14463
14465
  }, {
14464
- default: () => [p(), E()]
14466
+ default: () => [_(), E()]
14465
14467
  });
14466
14468
  };
14467
14469
  }
@@ -14474,25 +14476,25 @@ const KgButtonCreate = defineComponent({
14474
14476
  attrs: r
14475
14477
  }) {
14476
14478
  const a = useKg(), n = useKgVar(), s = useKgSearch(), l = useKgButton(), o = useKgTable(), i = computed(() => n.store.getVarButton(n.formID, e.kgVarName)), c = computed(() => {
14477
- var _, m;
14478
- return i.value ? (m = (_ = i.value) == null ? void 0 : _.cmd) != null ? m : "" : null;
14479
+ var p, m;
14480
+ return i.value ? (m = (p = i.value) == null ? void 0 : p.cmd) != null ? m : "" : null;
14479
14481
  }), u = computed(() => {
14480
- var _, m;
14481
- return (m = (_ = i.value) == null ? void 0 : _.cmd_method) != null ? m : "POST";
14482
+ var p, m;
14483
+ return (m = (p = i.value) == null ? void 0 : p.cmd_method) != null ? m : "POST";
14482
14484
  }), d = computed(() => {
14483
14485
  var m, T, k;
14484
- let _ = {
14486
+ let p = {
14485
14487
  ...(m = s.model.value) != null ? m : {}
14486
14488
  };
14487
- return i.value && (_ = {
14488
- ..._,
14489
+ return i.value && (p = {
14490
+ ...p,
14489
14491
  ...KgVarUtil.parseCommandParameter((k = (T = i.value) == null ? void 0 : T.cmd_prm) != null ? k : "")
14490
- }), _;
14491
- }), p = computed(() => {
14492
- var _, m, T, k, I, C, R, A;
14493
- return n.isCreating.value || n.isUpdating.value || n.isCopying.value || n.isDeleting.value || o.isRetrieving.value || ((_ = i.value) == null ? void 0 : _.dis_no_select_flg) === 1 && ((T = (m = o.selectedRows.value) == null ? void 0 : m.length) != null ? T : 0) === 0 || ((k = i.value) == null ? void 0 : k.dis_mult_select_flg) === 1 && ((C = (I = o.selectedRows.value) == null ? void 0 : I.length) != null ? C : 0) > 1 || KgAuthUtil.getPermissionType((R = i.value) == null ? void 0 : R.permission_code) === 2 && !a.p((A = i.value) == null ? void 0 : A.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14492
+ }), p;
14493
+ }), _ = computed(() => {
14494
+ var p, m, T, k, I, C, R, A;
14495
+ return n.isCreating.value || n.isUpdating.value || n.isCopying.value || n.isDeleting.value || o.isRetrieving.value || ((p = i.value) == null ? void 0 : p.dis_no_select_flg) === 1 && ((T = (m = o.selectedRows.value) == null ? void 0 : m.length) != null ? T : 0) === 0 || ((k = i.value) == null ? void 0 : k.dis_mult_select_flg) === 1 && ((C = (I = o.selectedRows.value) == null ? void 0 : I.length) != null ? C : 0) > 1 || KgAuthUtil.getPermissionType((R = i.value) == null ? void 0 : R.permission_code) === 2 && !a.p((A = i.value) == null ? void 0 : A.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14494
14496
  }), E = ref(!1);
14495
- async function b(_) {
14497
+ async function b(p) {
14496
14498
  if (!c.value)
14497
14499
  return KgLogger.error("[KgButton] '\u5BFC\u5165\u6309\u94AE'\u6CA1\u6709\u914D\u7F6E\u63A5\u53E3\u5730\u5740.", {
14498
14500
  VarButton: i.value
@@ -14500,7 +14502,7 @@ const KgButtonCreate = defineComponent({
14500
14502
  E.value = !0;
14501
14503
  try {
14502
14504
  const m = new FormData();
14503
- m.append("file", _);
14505
+ m.append("file", p);
14504
14506
  const T = await httpClient().axiosInstance.request({
14505
14507
  method: u.value,
14506
14508
  baseURL: window._CONFIG.domianURL,
@@ -14543,13 +14545,13 @@ const KgButtonCreate = defineComponent({
14543
14545
  disabled: E.value
14544
14546
  }, {
14545
14547
  default: () => {
14546
- var _, m, T, k, I, C;
14548
+ var p, m, T, k, I, C;
14547
14549
  return [createVNode(Button, {
14548
14550
  type: "primary",
14549
- disabled: p.value,
14550
- ghost: !e.kgPrimary && !p.value,
14551
+ disabled: _.value,
14552
+ ghost: !e.kgPrimary && !_.value,
14551
14553
  loading: E.value,
14552
- "kg-id": (_ = i.value) == null ? void 0 : _.id,
14554
+ "kg-id": (p = i.value) == null ? void 0 : p.id,
14553
14555
  "kg-frm_id": (m = i.value) == null ? void 0 : m.frm_id,
14554
14556
  "kg-var_nam": (T = i.value) == null ? void 0 : T.var_nam,
14555
14557
  "kg-cmd": (k = i.value) == null ? void 0 : k.cmd,
@@ -14572,20 +14574,20 @@ const KgButtonCreate = defineComponent({
14572
14574
  var b, y;
14573
14575
  return (y = (b = s.value) == null ? void 0 : b.cmd_method) != null ? y : "GET";
14574
14576
  }), i = computed(() => {
14575
- var y, g, _, m, T;
14577
+ var y, g, p, m, T;
14576
14578
  let b = {
14577
14579
  ...(y = a.model.value) != null ? y : {}
14578
14580
  };
14579
14581
  return s.value && (b = {
14580
14582
  ...b,
14581
- ...KgVarUtil.parseCommandParameter((_ = (g = s.value) == null ? void 0 : g.cmd_prm) != null ? _ : "")
14583
+ ...KgVarUtil.parseCommandParameter((p = (g = s.value) == null ? void 0 : g.cmd_prm) != null ? p : "")
14582
14584
  }), (m = r.varGridConfig.value) != null && m.cmd_prm && (b = {
14583
14585
  ...b,
14584
14586
  ...KgVarUtil.parseCommandParameter((T = r.varGridConfig.value.cmd_prm) != null ? T : "")
14585
14587
  }), b;
14586
14588
  }), c = computed(() => {
14587
- var b, y, g, _, m, T, k, I;
14588
- return r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || n.isRetrieving.value || ((b = s.value) == null ? void 0 : b.dis_no_select_flg) === 1 && ((g = (y = n.selectedRows.value) == null ? void 0 : y.length) != null ? g : 0) === 0 || ((_ = s.value) == null ? void 0 : _.dis_mult_select_flg) === 1 && ((T = (m = n.selectedRows.value) == null ? void 0 : m.length) != null ? T : 0) > 1 || KgAuthUtil.getPermissionType((k = s.value) == null ? void 0 : k.permission_code) === 2 && !t.p((I = s.value) == null ? void 0 : I.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14589
+ var b, y, g, p, m, T, k, I;
14590
+ return r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || n.isRetrieving.value || ((b = s.value) == null ? void 0 : b.dis_no_select_flg) === 1 && ((g = (y = n.selectedRows.value) == null ? void 0 : y.length) != null ? g : 0) === 0 || ((p = s.value) == null ? void 0 : p.dis_mult_select_flg) === 1 && ((T = (m = n.selectedRows.value) == null ? void 0 : m.length) != null ? T : 0) > 1 || KgAuthUtil.getPermissionType((k = s.value) == null ? void 0 : k.permission_code) === 2 && !t.p((I = s.value) == null ? void 0 : I.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14589
14591
  }), u = ref(!1);
14590
14592
  async function d() {
14591
14593
  var b, y;
@@ -14605,15 +14607,15 @@ const KgButtonCreate = defineComponent({
14605
14607
  }, {
14606
14608
  joinParamsToUrl: !0,
14607
14609
  isTransformResponse: !1
14608
- }), _ = (b = s.value) == null ? void 0 : b.export_excel_filename;
14609
- KgUtil.downloadFile(g, `${_ ? r.t(_).value : t.t("kg.importTemplate")}.${(y = s.value) == null ? void 0 : y.export_excel_suffix}`);
14610
+ }), p = (b = s.value) == null ? void 0 : b.export_excel_filename;
14611
+ KgUtil.downloadFile(g, `${p ? r.t(p).value : t.t("kg.importTemplate")}.${(y = s.value) == null ? void 0 : y.export_excel_suffix}`);
14610
14612
  } catch (g) {
14611
14613
  throw g;
14612
14614
  } finally {
14613
14615
  u.value = !1;
14614
14616
  }
14615
14617
  }
14616
- function p() {
14618
+ function _() {
14617
14619
  return u.value ? createVNode(LoadingOutlined$1, null, null) : e.kgIcon ? createVNode("span", {
14618
14620
  class: "anticon"
14619
14621
  }, [createVNode(Icon, {
@@ -14624,7 +14626,7 @@ const KgButtonCreate = defineComponent({
14624
14626
  return e.kgText ? e.kgText : t.t("kg.import-template");
14625
14627
  }
14626
14628
  return () => {
14627
- var b, y, g, _, m, T;
14629
+ var b, y, g, p, m, T;
14628
14630
  return createVNode(Button, {
14629
14631
  type: "primary",
14630
14632
  disabled: c.value,
@@ -14634,10 +14636,10 @@ const KgButtonCreate = defineComponent({
14634
14636
  "kg-id": (b = s.value) == null ? void 0 : b.id,
14635
14637
  "kg-frm_id": (y = s.value) == null ? void 0 : y.frm_id,
14636
14638
  "kg-var_nam": (g = s.value) == null ? void 0 : g.var_nam,
14637
- "kg-cmd": (_ = s.value) == null ? void 0 : _.cmd,
14639
+ "kg-cmd": (p = s.value) == null ? void 0 : p.cmd,
14638
14640
  "kg-permission": (T = (m = s.value) == null ? void 0 : m.permission_code) != null ? T : ""
14639
14641
  }, {
14640
- default: () => [p(), E()]
14642
+ default: () => [_(), E()]
14641
14643
  });
14642
14644
  };
14643
14645
  }
@@ -14646,8 +14648,8 @@ const KgButtonCreate = defineComponent({
14646
14648
  props: getProps$f(),
14647
14649
  setup(e) {
14648
14650
  const t = useKg(), r = useKgVar(), a = useKgSearch(), n = useKgButton(), s = useKgTable(), l = computed(() => r.store.getVarButton(r.formID, e.kgVarName)), o = computed(() => {
14649
- var d, p, E, b, y, g, _, m;
14650
- return e.kgLoading || s.isRetrieving.value || ((d = l.value) == null ? void 0 : d.dis_no_select_flg) === 1 && ((E = (p = s.selectedRows.value) == null ? void 0 : p.length) != null ? E : 0) === 0 || ((b = l.value) == null ? void 0 : b.dis_mult_select_flg) === 1 && ((g = (y = s.selectedRows.value) == null ? void 0 : y.length) != null ? g : 0) > 1 || KgAuthUtil.getPermissionType((_ = l.value) == null ? void 0 : _.permission_code) === 2 && !t.p((m = l.value) == null ? void 0 : m.permission_code) || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14651
+ var d, _, E, b, y, g, p, m;
14652
+ return e.kgLoading || s.isRetrieving.value || ((d = l.value) == null ? void 0 : d.dis_no_select_flg) === 1 && ((E = (_ = s.selectedRows.value) == null ? void 0 : _.length) != null ? E : 0) === 0 || ((b = l.value) == null ? void 0 : b.dis_mult_select_flg) === 1 && ((g = (y = s.selectedRows.value) == null ? void 0 : y.length) != null ? g : 0) > 1 || KgAuthUtil.getPermissionType((p = l.value) == null ? void 0 : p.permission_code) === 2 && !t.p((m = l.value) == null ? void 0 : m.permission_code) || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14651
14653
  });
14652
14654
  async function i() {
14653
14655
  var b, y, g;
@@ -14660,23 +14662,23 @@ const KgButtonCreate = defineComponent({
14660
14662
  });
14661
14663
  return;
14662
14664
  }
14663
- let p = null;
14665
+ let _ = null;
14664
14666
  const E = async () => {
14665
14667
  var m, T, k, I, C, R;
14666
- p == null || p.showLoading(), r.store.setIsOtherRequesting(r.formID, !0);
14667
- const _ = s.selectedRows.value;
14668
+ _ == null || _.showLoading(), r.store.setIsOtherRequesting(r.formID, !0);
14669
+ const p = s.selectedRows.value;
14668
14670
  try {
14669
14671
  const A = await httpClient().request({
14670
14672
  method: (T = (m = e.kgButton) == null ? void 0 : m.cmd_method) != null ? T : "POST",
14671
14673
  url: d,
14672
14674
  params: KgVarUtil.parseCommandParameter((I = (k = e.kgButton) == null ? void 0 : k.cmd_prm) != null ? I : ""),
14673
- data: _ != null ? _ : []
14675
+ data: p != null ? p : []
14674
14676
  });
14675
14677
  if (((C = e.kgButton) == null ? void 0 : C.reload_all_after_done_flg) === 1) {
14676
14678
  if (((R = e.kgButton) == null ? void 0 : R.re_select_after_reload_flg) !== 0 && s.onRetrieve(async ({
14677
14679
  datas: M
14678
14680
  }) => {
14679
- const P = M.value, L = intersectionWith$1(P, _ != null ? _ : [], (H, w) => (H == null ? void 0 : H[s.id.value]) === (w == null ? void 0 : w[s.id.value]));
14681
+ const P = M.value, L = intersectionWith$1(P, p != null ? p : [], (H, w) => (H == null ? void 0 : H[s.id.value]) === (w == null ? void 0 : w[s.id.value]));
14680
14682
  return L.length > 0 && s.store.setSelectedRows(r.formID, L), !1;
14681
14683
  }, !0), await n.store.emit(r.formID, "otherOk", {
14682
14684
  button: e.kgButton,
@@ -14694,14 +14696,14 @@ const KgButtonCreate = defineComponent({
14694
14696
  } catch (A) {
14695
14697
  console.error(A);
14696
14698
  } finally {
14697
- r.store.setIsOtherRequesting(r.formID, !1), p == null || p.hideLoading();
14699
+ r.store.setIsOtherRequesting(r.formID, !1), _ == null || _.hideLoading();
14698
14700
  }
14699
14701
  };
14700
14702
  if (((y = e.kgButton) == null ? void 0 : y.show_modal_flg) === 1) {
14701
- const _ = KgUtil.tryParseJSON((g = e.kgButton) == null ? void 0 : g.modal_props);
14702
- typeof _.content == "string" && (_.content = r.t(_.content).value), p = KgUtil.confirm({
14703
+ const p = KgUtil.tryParseJSON((g = e.kgButton) == null ? void 0 : g.modal_props);
14704
+ typeof p.content == "string" && (p.content = r.t(p.content).value), _ = KgUtil.confirm({
14703
14705
  onOk: () => E(),
14704
- ..._
14706
+ ...p
14705
14707
  });
14706
14708
  } else
14707
14709
  E();
@@ -14717,7 +14719,7 @@ const KgButtonCreate = defineComponent({
14717
14719
  return e.kgText ? e.kgText : t.t("kg.button");
14718
14720
  }
14719
14721
  return () => {
14720
- var d, p, E, b, y, g;
14722
+ var d, _, E, b, y, g;
14721
14723
  return createVNode(Button, {
14722
14724
  type: "primary",
14723
14725
  disabled: o.value,
@@ -14725,7 +14727,7 @@ const KgButtonCreate = defineComponent({
14725
14727
  ghost: !e.kgPrimary && !o.value,
14726
14728
  onClick: i,
14727
14729
  "kg-id": (d = l.value) == null ? void 0 : d.id,
14728
- "kg-frm_id": (p = l.value) == null ? void 0 : p.frm_id,
14730
+ "kg-frm_id": (_ = l.value) == null ? void 0 : _.frm_id,
14729
14731
  "kg-var_nam": (E = l.value) == null ? void 0 : E.var_nam,
14730
14732
  "kg-cmd": (b = l.value) == null ? void 0 : b.cmd,
14731
14733
  "kg-permission": (g = (y = l.value) == null ? void 0 : y.permission_code) != null ? g : ""
@@ -14756,7 +14758,7 @@ const KgButtonCreate = defineComponent({
14756
14758
  return e.kgText ? e.kgText : t.t("kg.query");
14757
14759
  }
14758
14760
  return () => {
14759
- var c, u, d, p, E, b;
14761
+ var c, u, d, _, E, b;
14760
14762
  return createVNode(Button, {
14761
14763
  type: "primary",
14762
14764
  disabled: s.value,
@@ -14766,7 +14768,7 @@ const KgButtonCreate = defineComponent({
14766
14768
  "kg-id": (c = n.value) == null ? void 0 : c.id,
14767
14769
  "kg-frm_id": (u = n.value) == null ? void 0 : u.frm_id,
14768
14770
  "kg-var_nam": (d = n.value) == null ? void 0 : d.var_nam,
14769
- "kg-cmd": (p = n.value) == null ? void 0 : p.cmd,
14771
+ "kg-cmd": (_ = n.value) == null ? void 0 : _.cmd,
14770
14772
  "kg-permission": (b = (E = n.value) == null ? void 0 : E.permission_code) != null ? b : ""
14771
14773
  }, {
14772
14774
  default: () => [o(), i()]
@@ -14789,7 +14791,7 @@ const KgButtonCreate = defineComponent({
14789
14791
  }) => {
14790
14792
  switch (T) {
14791
14793
  case "click":
14792
- k[0] === s.formID && await p();
14794
+ k[0] === s.formID && await _();
14793
14795
  break;
14794
14796
  }
14795
14797
  });
@@ -14797,7 +14799,7 @@ const KgButtonCreate = defineComponent({
14797
14799
  var T, k, I, C, R, A, O, M;
14798
14800
  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 && ((I = (k = l.selectedRows.value) == null ? void 0 : k.length) != null ? I : 0) === 0 || ((C = c.value) == null ? void 0 : C.dis_mult_select_flg) === 1 && ((A = (R = l.selectedRows.value) == null ? void 0 : R.length) != null ? A : 0) > 1 || KgAuthUtil.getPermissionType((O = c.value) == null ? void 0 : O.permission_code) === 2 && !n.p((M = c.value) == null ? void 0 : M.permission_code) ? !0 : isNil(e.kgDisabled) ? !1 : e.kgDisabled;
14799
14801
  }), d = computed(() => !!s.isUpdatingRequesting.value);
14800
- async function p() {
14802
+ async function _() {
14801
14803
  e.onKgClick && await e.onKgClick() || await o.store.emit(s.formID, "updateBeforeClick", {
14802
14804
  button: e.kgButton,
14803
14805
  row: l.selectedRow.value
@@ -14819,13 +14821,13 @@ const KgButtonCreate = defineComponent({
14819
14821
  function g() {
14820
14822
  return e.kgText ? e.kgText : n.t("kg.update");
14821
14823
  }
14822
- function _() {
14824
+ function p() {
14823
14825
  var T, k, I, C, R, A;
14824
14826
  return i.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.TABLE && s.isUpdating.value ? null : createVNode(Button, {
14825
14827
  type: "primary",
14826
14828
  disabled: u.value,
14827
14829
  ghost: !e.kgPrimary && !u.value,
14828
- onClick: p,
14830
+ onClick: _,
14829
14831
  "kg-id": (T = c.value) == null ? void 0 : T.id,
14830
14832
  "kg-frm_id": (k = c.value) == null ? void 0 : k.frm_id,
14831
14833
  "kg-var_nam": (I = c.value) == null ? void 0 : I.var_nam,
@@ -14852,7 +14854,7 @@ const KgButtonCreate = defineComponent({
14852
14854
  default: () => [createVNode(StopOutlined$1, null, null), n.t("kg.cancel")]
14853
14855
  })]);
14854
14856
  }
14855
- return () => createVNode(Fragment, null, [_(), m()]);
14857
+ return () => createVNode(Fragment, null, [p(), m()]);
14856
14858
  }
14857
14859
  }), KgButton_Item = "";
14858
14860
  function _isSlot$4(e) {
@@ -14924,9 +14926,9 @@ const getProps$e = () => ({
14924
14926
  function i(g) {
14925
14927
  return computed(() => {
14926
14928
  var m, T;
14927
- const _ = ((T = (m = r == null ? void 0 : r.value) == null ? void 0 : m.KgButton) == null ? void 0 : T.kgDisabled) || e.kgDisabled;
14928
- if (_) {
14929
- const k = _(g);
14929
+ const p = ((T = (m = r == null ? void 0 : r.value) == null ? void 0 : m.KgButton) == null ? void 0 : T.kgDisabled) || e.kgDisabled;
14930
+ if (p) {
14931
+ const k = p(g);
14930
14932
  if (!isNil(k))
14931
14933
  return k;
14932
14934
  }
@@ -14935,9 +14937,9 @@ const getProps$e = () => ({
14935
14937
  function c(g) {
14936
14938
  return computed(() => {
14937
14939
  var m, T;
14938
- const _ = ((T = (m = r == null ? void 0 : r.value) == null ? void 0 : m.KgButton) == null ? void 0 : T.KgLoading) || e.KgLoading;
14939
- if (_) {
14940
- const k = _(g);
14940
+ const p = ((T = (m = r == null ? void 0 : r.value) == null ? void 0 : m.KgButton) == null ? void 0 : T.KgLoading) || e.KgLoading;
14941
+ if (p) {
14942
+ const k = p(g);
14941
14943
  if (!isNil(k))
14942
14944
  return k;
14943
14945
  }
@@ -14957,11 +14959,11 @@ const getProps$e = () => ({
14957
14959
  if (n.t(g.var_nam).value !== g.var_nam)
14958
14960
  return n.t(g.var_nam).value;
14959
14961
  }
14960
- function p() {
14961
- var g, _;
14962
+ function _() {
14963
+ var g, p;
14962
14964
  if (!n.varButtons.value || ((g = n.varButtons.value) == null ? void 0 : g.length) === 0)
14963
14965
  return null;
14964
- switch ((_ = n.varGridConfig.value) == null ? void 0 : _.button_display_type) {
14966
+ switch ((p = n.varGridConfig.value) == null ? void 0 : p.button_display_type) {
14965
14967
  case KG_BUTTON_DISPLAY_TYPE.SELECT:
14966
14968
  return y();
14967
14969
  default:
@@ -14983,8 +14985,8 @@ const getProps$e = () => ({
14983
14985
  }, null);
14984
14986
  }
14985
14987
  function b() {
14986
- var g, _;
14987
- return (_ = (g = n.varButtons.value) == null ? void 0 : g.filter((m) => m.typ !== KG_BUTTON_TYPE.SEARCH)) == null ? void 0 : _.filter((m) => m.available_flag !== 0).map((m) => E(m));
14988
+ var g, p;
14989
+ return (p = (g = n.varButtons.value) == null ? void 0 : g.filter((m) => m.typ !== KG_BUTTON_TYPE.SEARCH)) == null ? void 0 : p.filter((m) => m.available_flag !== 0).map((m) => E(m));
14988
14990
  }
14989
14991
  function y() {
14990
14992
  return createVNode(Dropdown, {
@@ -14998,8 +15000,8 @@ const getProps$e = () => ({
14998
15000
  }),
14999
15001
  overlay: () => createVNode(Menu, null, {
15000
15002
  default: () => {
15001
- var g, _, m;
15002
- return [(m = (_ = (g = n.varButtons.value) == null ? void 0 : g.filter((T) => T.typ !== KG_BUTTON_TYPE.SEARCH)) == null ? void 0 : _.filter((T) => T.available_flag === 0)) == null ? void 0 : m.filter((T) => !(KgAuthUtil.getPermissionType(T.permission_code) !== 2 && !a.p(T.permission_code))).map((T) => {
15003
+ var g, p, m;
15004
+ return [(m = (p = (g = n.varButtons.value) == null ? void 0 : g.filter((T) => T.typ !== KG_BUTTON_TYPE.SEARCH)) == null ? void 0 : p.filter((T) => T.available_flag === 0)) == null ? void 0 : m.filter((T) => !(KgAuthUtil.getPermissionType(T.permission_code) !== 2 && !a.p(T.permission_code))).map((T) => {
15003
15005
  let k;
15004
15006
  return createVNode(Menu.Item, null, _isSlot$3(k = E(T)) ? k : {
15005
15007
  default: () => [k]
@@ -15016,8 +15018,8 @@ const getProps$e = () => ({
15016
15018
  spinning: l.value
15017
15019
  }, {
15018
15020
  default: () => {
15019
- var g, _;
15020
- return [p(), (_ = (g = t == null ? void 0 : t.KgButton) == null ? void 0 : g.right) == null ? void 0 : _.call(g)];
15021
+ var g, p;
15022
+ return [_(), (p = (g = t == null ? void 0 : t.KgButton) == null ? void 0 : g.right) == null ? void 0 : p.call(g)];
15021
15023
  }
15022
15024
  })]);
15023
15025
  }
@@ -15490,40 +15492,40 @@ function _useDragRow(e, t, r) {
15490
15492
  if (n = filter(document.querySelectorAll(`tr[kg-host-frm_id="${e}"] > td.handler`), () => !0), n)
15491
15493
  for (let u of n)
15492
15494
  u.__kg__dragstart__ = async (d) => {
15493
- var g, _;
15495
+ var g, p;
15494
15496
  s = u.parentElement, u.classList.add("dragging"), u.parentElement.classList.add("dragging");
15495
- const p = document.createElement("span");
15496
- p.setAttribute("id", "__kg_search_config_fields_drag_image__");
15497
+ const _ = document.createElement("span");
15498
+ _.setAttribute("id", "__kg_search_config_fields_drag_image__");
15497
15499
  const {
15498
15500
  width: E,
15499
15501
  height: b
15500
15502
  } = u.parentElement.getBoundingClientRect();
15501
- E && b && (p.style.width = `${E + 2}px`, p.style.height = `${b + 2}px`), (g = d.dataTransfer) == null || g.setDragImage(p, -10, (b + 2) / 2);
15503
+ E && b && (_.style.width = `${E + 2}px`, _.style.height = `${b + 2}px`), (g = d.dataTransfer) == null || g.setDragImage(_, -10, (b + 2) / 2);
15502
15504
  const y = await toCanvas(u.parentElement);
15503
- p.appendChild(y), document.body.appendChild(p), (_ = d.dataTransfer) == null || _.setDragImage(p, -10, (b + 2) / 2);
15505
+ _.appendChild(y), document.body.appendChild(_), (p = d.dataTransfer) == null || p.setDragImage(_, -10, (b + 2) / 2);
15504
15506
  }, u.addEventListener("dragstart", u.__kg__dragstart__), u.__kg__dragend__ = (d) => {
15505
15507
  u.classList.remove("dragging"), u.parentElement.classList.remove("dragging");
15506
- const p = document.querySelector("#__kg_search_config_fields_drag_image__");
15507
- p && document.body.removeChild(p);
15508
+ const _ = document.querySelector("#__kg_search_config_fields_drag_image__");
15509
+ _ && document.body.removeChild(_);
15508
15510
  }, u.addEventListener("dragend", u.__kg__dragend__), u.__kg__drag__ = (d) => {
15509
15511
  d.preventDefault();
15510
- const p = document.querySelector("#__kg_search_config_fields_drag_image__");
15511
- p && (p.style.left = `${d.clientX + 10}px`, p.style.top = `${d.clientY - p.getBoundingClientRect().height / 2}px`);
15512
+ const _ = document.querySelector("#__kg_search_config_fields_drag_image__");
15513
+ _ && (_.style.left = `${d.clientX + 10}px`, _.style.top = `${d.clientY - _.getBoundingClientRect().height / 2}px`);
15512
15514
  }, u.addEventListener("drag", u.__kg__drag__, !1);
15513
15515
  if (a = filter(document.querySelectorAll(`tr[kg-host-frm_id="${e}"]`), () => !0), a)
15514
15516
  for (let u of a)
15515
15517
  u.__kg__dragover__ = (d) => {
15516
- var p, E;
15517
- d.preventDefault(), u.rowIndex > ((p = s == null ? void 0 : s.rowIndex) != null ? p : -1) ? u.classList.add("dragover", "dragover-right") : u.rowIndex < ((E = s == null ? void 0 : s.rowIndex) != null ? E : -1) && u.classList.add("dragover", "dragover-left");
15518
+ var _, E;
15519
+ d.preventDefault(), u.rowIndex > ((_ = s == null ? void 0 : s.rowIndex) != null ? _ : -1) ? u.classList.add("dragover", "dragover-right") : u.rowIndex < ((E = s == null ? void 0 : s.rowIndex) != null ? E : -1) && u.classList.add("dragover", "dragover-left");
15518
15520
  }, u.addEventListener("dragover", u.__kg__dragover__, !1), u.__kg__dragenter__ = (d) => {
15519
- var p, E;
15520
- u.rowIndex > ((p = s == null ? void 0 : s.rowIndex) != null ? p : -1) ? u.classList.add("dragover", "dragover-right") : u.rowIndex < ((E = s == null ? void 0 : s.rowIndex) != null ? E : -1) && u.classList.add("dragover", "dragover-left");
15521
+ var _, E;
15522
+ u.rowIndex > ((_ = s == null ? void 0 : s.rowIndex) != null ? _ : -1) ? u.classList.add("dragover", "dragover-right") : u.rowIndex < ((E = s == null ? void 0 : s.rowIndex) != null ? E : -1) && u.classList.add("dragover", "dragover-left");
15521
15523
  }, u.addEventListener("dragenter", u.__kg__dragenter__), u.__kg__dragleave__ = (d) => {
15522
15524
  u.classList.remove("dragover", "dragover-right", "dragover-left");
15523
15525
  }, u.addEventListener("dragleave", u.__kg__dragleave__), u.__kg__drop__ = (d) => {
15524
15526
  d.preventDefault(), KgUtil.showLoading();
15525
- const p = document.querySelector("#__kg_search_config_fields_drag_image__");
15526
- p && document.body.removeChild(p), u.classList.remove("dragover", "dragover-right", "dragover-left");
15527
+ const _ = document.querySelector("#__kg_search_config_fields_drag_image__");
15528
+ _ && document.body.removeChild(_), u.classList.remove("dragover", "dragover-right", "dragover-left");
15527
15529
  const E = s == null ? void 0 : s.getAttribute("kg-var_nam"), b = u.getAttribute("kg-var_nam");
15528
15530
  E !== b && i(E, b);
15529
15531
  }, u.addEventListener("drop", u.__kg__drop__);
@@ -15532,26 +15534,26 @@ function _useDragRow(e, t, r) {
15532
15534
  if (n)
15533
15535
  for (let u of n)
15534
15536
  ["dragstart", "dragend", "drag"].forEach((d) => {
15535
- const p = `__kg__${d}__`;
15536
- u[p] && (u.removeEventListener(d, u[p]), delete u[p]);
15537
+ const _ = `__kg__${d}__`;
15538
+ u[_] && (u.removeEventListener(d, u[_]), delete u[_]);
15537
15539
  });
15538
15540
  if (a)
15539
15541
  for (let u of a)
15540
15542
  ["dragover", "dragenter", "dragleave", "drop"].forEach((d) => {
15541
- const p = `__kg__${d}__`;
15542
- u[p] && (u.removeEventListener(d, u[p]), delete u[p]);
15543
+ const _ = `__kg__${d}__`;
15544
+ u[_] && (u.removeEventListener(d, u[_]), delete u[_]);
15543
15545
  });
15544
15546
  }
15545
15547
  function i(u, d) {
15546
15548
  setTimeout(() => {
15547
- const p = t.value.findIndex((g) => g.var_nam === u), E = t.value.findIndex((g) => g.var_nam === d);
15548
- if (p === -1 || E === -1)
15549
+ const _ = t.value.findIndex((g) => g.var_nam === u), E = t.value.findIndex((g) => g.var_nam === d);
15550
+ if (_ === -1 || E === -1)
15549
15551
  return;
15550
15552
  const b = t.value.find((g) => g.var_nam === u), y = [];
15551
- t.value.forEach((g, _) => {
15552
- p > E ? _ < E ? y.push(g) : _ === E ? (y.push(b), y.push(g)) : _ > E && _ !== p && y.push(g) : p < E && (_ < p ? y.push(g) : _ === p || (_ === E ? (y.push(g), y.push(b)) : y.push(g)));
15553
- }), y.forEach((g, _) => {
15554
- g.srtseq = _ + 1;
15553
+ t.value.forEach((g, p) => {
15554
+ _ > E ? p < E ? y.push(g) : p === E ? (y.push(b), y.push(g)) : p > E && p !== _ && y.push(g) : _ < E && (p < _ ? y.push(g) : p === _ || (p === E ? (y.push(g), y.push(b)) : y.push(g)));
15555
+ }), y.forEach((g, p) => {
15556
+ g.srtseq = p + 1;
15555
15557
  }), t.value = y, nextTick().finally(() => {
15556
15558
  KgUtil.hideLoading();
15557
15559
  });
@@ -15582,7 +15584,7 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
15582
15584
  }), !1)), o.onOpen(async ({
15583
15585
  isCreating: y,
15584
15586
  isUpdating: g,
15585
- isCopying: _,
15587
+ isCopying: p,
15586
15588
  row: m,
15587
15589
  model: T
15588
15590
  }) => {
@@ -15594,7 +15596,7 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
15594
15596
  break;
15595
15597
  }
15596
15598
  case g:
15597
- case _: {
15599
+ case p: {
15598
15600
  if (m != null && m.id)
15599
15601
  try {
15600
15602
  o.store.setIsLoading(a.formID, !0);
@@ -15625,7 +15627,7 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
15625
15627
  }
15626
15628
  }
15627
15629
  switch (!0) {
15628
- case _: {
15630
+ case p: {
15629
15631
  T.value.prf_var_nam = ((R = T.value.prf_var_nam) != null ? R : "") + "_COPY", T.value.prf_var_nam_dsc = ((O = (A = T.value.prf_var_nam_dsc) != null ? A : T.value.prf_var_nam) != null ? O : "") + "_COPY";
15630
15632
  break;
15631
15633
  }
@@ -15634,9 +15636,9 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
15634
15636
  }), o.onBeforeOk(async ({
15635
15637
  model: y
15636
15638
  }) => {
15637
- var _, m;
15639
+ var p, m;
15638
15640
  const g = y.value;
15639
- return g.frm_id = r.formID, g.varProfileDetails = (m = (_ = i.value) == null ? void 0 : _.filter((T) => c.value.includes(T.id))) != null ? m : [], !1;
15641
+ return g.frm_id = r.formID, g.varProfileDetails = (m = (p = i.value) == null ? void 0 : p.filter((T) => c.value.includes(T.id))) != null ? m : [], !1;
15640
15642
  }), o.onOk(async () => (r.store.retrieve(r.formID), !1)), l.onUpdateBeforeClick(({
15641
15643
  row: y
15642
15644
  }) => (y == null ? void 0 : y.cust_lvl) === KG_CUSTOM_LEVEL.L0 ? new Promise((g) => {
@@ -15672,7 +15674,7 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
15672
15674
  }
15673
15675
  }
15674
15676
  };
15675
- }), p = ref({
15677
+ }), _ = ref({
15676
15678
  KgSubmit: {
15677
15679
  "KgForm.Item": {
15678
15680
  varProfileDetails: () => createVNode(Transfer, {
@@ -15684,14 +15686,14 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
15684
15686
  showSelectAll: !1,
15685
15687
  searchPlaceholder: " ",
15686
15688
  filterOption: (y, g) => {
15687
- var _;
15688
- return !!((_ = g.var_nam) != null && _.includes(y));
15689
+ var p;
15690
+ return !!((p = g.var_nam) != null && p.includes(y));
15689
15691
  }
15690
15692
  }, {
15691
15693
  children: ({
15692
15694
  direction: y,
15693
15695
  filteredItems: g,
15694
- selectedKeys: _,
15696
+ selectedKeys: p,
15695
15697
  disabled: m,
15696
15698
  onItemSelectAll: T,
15697
15699
  onItemSelect: k
@@ -15714,13 +15716,13 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
15714
15716
  dataSource: I,
15715
15717
  customRow: (A) => {
15716
15718
  let O = {
15717
- onClick: (M) => b(M, A, y, _)
15719
+ onClick: (M) => b(M, A, y, p)
15718
15720
  };
15719
15721
  return y === "right" && (O["kg-host-frm_id"] = r.formID, O["kg-var_nam"] = A.var_nam), O;
15720
15722
  },
15721
15723
  rowSelection: E({
15722
15724
  disabled: m,
15723
- selectedKeys: _,
15725
+ selectedKeys: p,
15724
15726
  onItemSelectAll: T,
15725
15727
  onItemSelect: k
15726
15728
  })
@@ -15732,7 +15734,7 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
15732
15734
  }), E = ({
15733
15735
  disabled: y,
15734
15736
  selectedKeys: g,
15735
- onItemSelectAll: _,
15737
+ onItemSelectAll: p,
15736
15738
  onItemSelect: m
15737
15739
  }) => ({
15738
15740
  getCheckboxProps: (T) => ({
@@ -15742,7 +15744,7 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
15742
15744
  const I = k.filter((C) => !C.disabled).map(({
15743
15745
  key: C
15744
15746
  }) => C);
15745
- _(I, T);
15747
+ p(I, T);
15746
15748
  },
15747
15749
  onSelect({
15748
15750
  key: T
@@ -15752,14 +15754,14 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
15752
15754
  selectedRowKeys: g,
15753
15755
  columnWidth: 32
15754
15756
  });
15755
- function b(y, g, _, m) {
15757
+ function b(y, g, p, m) {
15756
15758
  if (!KgDomUtil.isNotClickable(y.target, ["ant-input"]))
15757
15759
  switch (m.length = 0, y.detail) {
15758
15760
  case 1:
15759
15761
  m[0] = g.id;
15760
15762
  break;
15761
15763
  case 2:
15762
- switch (_) {
15764
+ switch (p) {
15763
15765
  case "left":
15764
15766
  c.value.push(g.id);
15765
15767
  break;
@@ -15773,7 +15775,7 @@ const KgSearch_ConfigModal_VarProfileMaster = "", getProps$c = () => ({
15773
15775
  return () => createVNode(KgVar, {
15774
15776
  class: "kg-search--config-modal--var-profile-master",
15775
15777
  kgProps: d.value,
15776
- kgSlots: p.value
15778
+ kgSlots: _.value
15777
15779
  }, null);
15778
15780
  }
15779
15781
  }), getProps$b = () => ({
@@ -15865,10 +15867,10 @@ function _useLayoutHeaderResizeObserver() {
15865
15867
  }
15866
15868
  function _useCommon() {
15867
15869
  const e = inject(DI_KG_VAR__KG_PROPS, null), t = useKgVar(), r = computed(() => t.store.getVarProfileConfig(t.formID)), a = computed(() => t.store.getFormLevel(t.formID)), n = ref(!0), s = computed(() => {
15868
- var p, E, b;
15870
+ var _, E, b;
15869
15871
  if (!n.value || a.value > 0)
15870
15872
  return !1;
15871
- const d = (E = (p = e == null ? void 0 : e.value) == null ? void 0 : p.KgSearch) == null ? void 0 : E.kgHeaderTeleport;
15873
+ const d = (E = (_ = e == null ? void 0 : e.value) == null ? void 0 : _.KgSearch) == null ? void 0 : E.kgHeaderTeleport;
15872
15874
  return d !== void 0 ? d : ((b = r.value) == null ? void 0 : b.header_teleport_flg) !== 0;
15873
15875
  }), l = computed(() => {
15874
15876
  var d;
@@ -15898,12 +15900,12 @@ function _useFormModel(e, t, r) {
15898
15900
  } = _useCommon();
15899
15901
  let i, c;
15900
15902
  const u = ref({}), d = ref({});
15901
- async function p() {
15903
+ async function _() {
15902
15904
  var E;
15903
15905
  ((E = n.currentVarProfileDetails.value) != null ? E : []).forEach((b) => {
15904
- var g, _, m;
15906
+ var g, p, m;
15905
15907
  const y = (g = b.var_nam) != null ? g : "";
15906
- u.value[y] = KgVarUtil.transformFormItemValue(n.formID, y, a, (_ = b.dft_val) != null ? _ : void 0, "R"), d.value[y] = KgVarUtil.transformFormItemDynamicQueryOperator(n.formID, y, (m = b.dft_dyn_op) != null ? m : void 0);
15908
+ u.value[y] = KgVarUtil.transformFormItemValue(n.formID, y, a, (p = b.dft_val) != null ? p : void 0, "R"), d.value[y] = KgVarUtil.transformFormItemDynamicQueryOperator(n.formID, y, (m = b.dft_dyn_op) != null ? m : void 0);
15907
15909
  }), r.value.kgHeight = o.value, s.store.setModel(n.formID, u.value), s.store.setOperatorModel(n.formID, d.value), l.value ? (c == null || c(), c = watch(t, async (b) => {
15908
15910
  b && (await s.store.emit(n.formID, "ready", {}), s.store.setIsReady(n.formID, !0));
15909
15911
  }, {
@@ -15919,11 +15921,11 @@ function _useFormModel(e, t, r) {
15919
15921
  s.store.setModel(n.formID, u.value), s.store.setOperatorModel(n.formID, d.value);
15920
15922
  return;
15921
15923
  }
15922
- await p();
15924
+ await _();
15923
15925
  }, {
15924
15926
  immediate: !0
15925
15927
  }), {
15926
- initFormModel: p
15928
+ initFormModel: _
15927
15929
  };
15928
15930
  }
15929
15931
  const KgSearch$1 = "", getProps$9 = () => ({
@@ -15945,12 +15947,12 @@ const KgSearch$1 = "", getProps$9 = () => ({
15945
15947
  isHeaderTeleport: c,
15946
15948
  defaultHeight: u,
15947
15949
  maxHeight: d,
15948
- minHeight: p
15950
+ minHeight: _
15949
15951
  } = _useCommon(), E = ref(null), b = ref(null), y = ref({
15950
- kgHeight: p.value
15952
+ kgHeight: _.value
15951
15953
  });
15952
15954
  _useLayoutHeaderResizeObserver();
15953
- const g = _useFormModel(E, b, y), _ = computed(() => {
15955
+ const g = _useFormModel(E, b, y), p = computed(() => {
15954
15956
  var $, B, Y, q;
15955
15957
  if (!isNil((B = ($ = r == null ? void 0 : r.value) == null ? void 0 : $.KgSearch) == null ? void 0 : B.kgDisabled))
15956
15958
  return (q = (Y = r == null ? void 0 : r.value) == null ? void 0 : Y.KgSearch) == null ? void 0 : q.kgDisabled;
@@ -15958,10 +15960,10 @@ const KgSearch$1 = "", getProps$9 = () => ({
15958
15960
  return e.kgDisabled;
15959
15961
  }), m = computed(() => {
15960
15962
  var $, B;
15961
- return !!(_.value || l.isRetrieving.value || KgAuthUtil.getPermissionType(($ = n.varButtonSearch.value) == null ? void 0 : $.permission_code) === 2 && !a.p((B = n.varButtonSearch.value) == null ? void 0 : B.permission_code) || n.isCreating.value || n.isUpdating.value || n.isCopying.value || n.isDeleting.value);
15962
- }), T = computed(() => !!(_.value || l.isRetrieving.value || n.isCreating.value || n.isUpdating.value || n.isCopying.value || n.isDeleting.value)), k = computed(() => !!(_.value || l.isRetrieving.value)), I = ref({
15963
+ return !!(p.value || l.isRetrieving.value || KgAuthUtil.getPermissionType(($ = n.varButtonSearch.value) == null ? void 0 : $.permission_code) === 2 && !a.p((B = n.varButtonSearch.value) == null ? void 0 : B.permission_code) || n.isCreating.value || n.isUpdating.value || n.isCopying.value || n.isDeleting.value);
15964
+ }), T = computed(() => !!(p.value || l.isRetrieving.value || n.isCreating.value || n.isUpdating.value || n.isCopying.value || n.isDeleting.value)), k = computed(() => !!(p.value || l.isRetrieving.value)), I = ref({
15963
15965
  visible: !1
15964
- }), C = computed(() => y.value.kgHeight === p.value), R = computed(() => {
15966
+ }), C = computed(() => y.value.kgHeight === _.value), R = computed(() => {
15965
15967
  var $, B, Y;
15966
15968
  if (n.t(($ = n.varButtonSearch.value) == null ? void 0 : $.var_nam).value !== ((B = n.varButtonSearch.value) == null ? void 0 : B.var_nam))
15967
15969
  return n.t((Y = n.varButtonSearch.value) == null ? void 0 : Y.var_nam).value;
@@ -16113,13 +16115,13 @@ const KgSearch$1 = "", getProps$9 = () => ({
16113
16115
  });
16114
16116
  }
16115
16117
  function G() {
16116
- C.value ? y.value.kgHeight = u.value : y.value.kgHeight = p.value;
16118
+ C.value ? y.value.kgHeight = u.value : y.value.kgHeight = _.value;
16117
16119
  }
16118
16120
  return () => createVNode(KgResizable, {
16119
16121
  ref: E,
16120
16122
  kgHeight: y.value.kgHeight,
16121
16123
  "onUpdate:kgHeight": ($) => y.value.kgHeight = $,
16122
- kgMinHeight: p.value,
16124
+ kgMinHeight: _.value,
16123
16125
  kgMaxHeight: d.value,
16124
16126
  kgDisabled: !i.value,
16125
16127
  kgClass: P.value,
@@ -16206,13 +16208,13 @@ function useMagicKeys(e = {}) {
16206
16208
  function d(y, g) {
16207
16209
  y in i && (t ? i[y] = g : i[y].value = g);
16208
16210
  }
16209
- function p() {
16211
+ function _() {
16210
16212
  for (const y of u)
16211
16213
  d(y, !1);
16212
16214
  }
16213
16215
  function E(y, g) {
16214
- var _, m;
16215
- const T = (_ = y.key) == null ? void 0 : _.toLowerCase(), k = (m = y.code) == null ? void 0 : m.toLowerCase(), I = [k, T].filter(Boolean);
16216
+ var p, m;
16217
+ const T = (p = y.key) == null ? void 0 : p.toLowerCase(), k = (m = y.code) == null ? void 0 : m.toLowerCase(), I = [k, T].filter(Boolean);
16216
16218
  k && (g ? l.add(y.code) : l.delete(y.code));
16217
16219
  for (const C of I)
16218
16220
  u.add(C), d(C, g);
@@ -16220,18 +16222,18 @@ function useMagicKeys(e = {}) {
16220
16222
  l.delete(C), d(C, !1);
16221
16223
  }), c.clear()) : typeof y.getModifierState == "function" && y.getModifierState("Meta") && g && [...l, ...I].forEach((C) => c.add(C));
16222
16224
  }
16223
- r && (useEventListener(r, "keydown", (y) => (E(y, !0), s(y)), { passive: n }), useEventListener(r, "keyup", (y) => (E(y, !1), s(y)), { passive: n }), useEventListener("blur", p, { passive: !0 }), useEventListener("focus", p, { passive: !0 }));
16225
+ r && (useEventListener(r, "keydown", (y) => (E(y, !0), s(y)), { passive: n }), useEventListener(r, "keyup", (y) => (E(y, !1), s(y)), { passive: n }), useEventListener("blur", _, { passive: !0 }), useEventListener("focus", _, { passive: !0 }));
16224
16226
  const b = new Proxy(i, {
16225
- get(y, g, _) {
16227
+ get(y, g, p) {
16226
16228
  if (typeof g != "string")
16227
- return Reflect.get(y, g, _);
16229
+ return Reflect.get(y, g, p);
16228
16230
  if (g = g.toLowerCase(), g in a && (g = a[g]), !(g in i))
16229
16231
  if (/[+_-]/.test(g)) {
16230
16232
  const T = g.split(/[+_-]/g).map((k) => k.trim());
16231
16233
  i[g] = computed(() => T.every((k) => unref(b[k])));
16232
16234
  } else
16233
16235
  i[g] = ref(!1);
16234
- const m = Reflect.get(y, g, _);
16236
+ const m = Reflect.get(y, g, p);
16235
16237
  return t ? unref(m) : m;
16236
16238
  }
16237
16239
  });
@@ -16612,7 +16614,7 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
16612
16614
  setup() {
16613
16615
  const e = inject(DI_CONFIG_FORM_ID, null), t = useKg(), r = useKgVarStore()(), a = useKgVarConfigStore()(), n = ref(!1), s = ref(!1), l = ref(!1), o = ref(null), i = ref({
16614
16616
  var_text: ""
16615
- }), c = ref([]), u = ref(null), d = ref([]), p = ref({
16617
+ }), c = ref([]), u = ref(null), d = ref([]), _ = ref({
16616
16618
  fixed: !0,
16617
16619
  columnWidth: 32,
16618
16620
  hideSelectAll: !0,
@@ -16623,7 +16625,7 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
16623
16625
  }), b = computed(() => !!(unref(u) || unref(n) || unref(s) || unref(l))), y = computed(() => {
16624
16626
  var L;
16625
16627
  return !!u.value || ((L = a.getSelectedVarCatalog) == null ? void 0 : L.cust_lvl) === KG_CUSTOM_LEVEL.L0;
16626
- }), g = computed(() => !!(!unref(u) || unref(n) || unref(s))), _ = computed(() => !!(!unref(a.getSelectedVarCatalog) || unref(n)));
16628
+ }), g = computed(() => !!(!unref(u) || unref(n) || unref(s))), p = computed(() => !!(!unref(a.getSelectedVarCatalog) || unref(n)));
16627
16629
  watch(() => a.getSelectedVar, (L) => {
16628
16630
  L ? m() : (u.value = null, c.value = [], a.setSelectedVarCatalog(null));
16629
16631
  }, {
@@ -16797,7 +16799,7 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
16797
16799
  default: () => [L]
16798
16800
  }), createVNode(Button, {
16799
16801
  loading: s.value,
16800
- disabled: _.value,
16802
+ disabled: p.value,
16801
16803
  onClick: T,
16802
16804
  type: "primary"
16803
16805
  }, _isSlot(H = t.t("common.save")) ? H : {
@@ -16824,7 +16826,7 @@ const KgVarConfigModalVarVarCatalog = defineComponent({
16824
16826
  dataSource: c.value,
16825
16827
  loading: n.value,
16826
16828
  rowClassName: P,
16827
- rowSelection: p.value,
16829
+ rowSelection: _.value,
16828
16830
  customRow: (L) => ({
16829
16831
  onClick: () => R(L)
16830
16832
  })
@@ -17170,7 +17172,7 @@ const KgWarehouse$1 = "", getProps = () => ({
17170
17172
  }), d = computed(() => {
17171
17173
  var k;
17172
17174
  return ((k = r.option.value.KgWarehouse) == null ? void 0 : k.on) !== !1;
17173
- }), p = computed(() => {
17175
+ }), _ = computed(() => {
17174
17176
  var k, I, C, R;
17175
17177
  return (R = (C = (I = (k = r.store).getUseUserStore) == null ? void 0 : I.call(k)) == null ? void 0 : C.getUserWarehouses) != null ? R : [];
17176
17178
  });
@@ -17185,7 +17187,7 @@ const KgWarehouse$1 = "", getProps = () => ({
17185
17187
  !d.value || a.store.setVisible(!0);
17186
17188
  }
17187
17189
  function b() {
17188
- l.value = a.warehouse.value, _();
17190
+ l.value = a.warehouse.value, p();
17189
17191
  }
17190
17192
  function y() {
17191
17193
  s.value = "", c.value = [], l.value = null;
@@ -17204,7 +17206,7 @@ const KgWarehouse$1 = "", getProps = () => ({
17204
17206
  }
17205
17207
  })), a.store.setVisible(!1));
17206
17208
  }
17207
- async function _() {
17209
+ async function p() {
17208
17210
  o.value = !0;
17209
17211
  try {
17210
17212
  const {
@@ -17217,7 +17219,7 @@ const KgWarehouse$1 = "", getProps = () => ({
17217
17219
  });
17218
17220
  c.value = (k != null ? k : []).filter((I) => {
17219
17221
  var C, R, A, O, M;
17220
- return ((O = (A = (R = (C = r.store).getUseUserStore) == null ? void 0 : R.call(C)) == null ? void 0 : A.getUserInfo) == null ? void 0 : O.username) === "admin" ? !0 : (M = p.value) == null ? void 0 : M.find((P) => P.wh_id === I.whId);
17222
+ return ((O = (A = (R = (C = r.store).getUseUserStore) == null ? void 0 : R.call(C)) == null ? void 0 : A.getUserInfo) == null ? void 0 : O.username) === "admin" ? !0 : (M = _.value) == null ? void 0 : M.find((P) => P.wh_id === I.whId);
17221
17223
  });
17222
17224
  } catch (k) {
17223
17225
  console.error(k);
@@ -17303,22 +17305,24 @@ const KgWarehouse$1 = "", getProps = () => ({
17303
17305
  function createKgWarehouseGuard(e, t) {
17304
17306
  e.beforeEach(async () => {
17305
17307
  var n;
17306
- if (((n = useKg(t).option.value.KgWarehouse) == null ? void 0 : n.on) === !1)
17308
+ const r = useKg(t);
17309
+ if (((n = r.option.value.KgWarehouse) == null ? void 0 : n.on) === !1)
17307
17310
  return !0;
17308
17311
  const a = useKgWarehouse(t);
17309
17312
  return a.onMounted(() => {
17313
+ var l, o, i, c, u;
17310
17314
  if (a.warehouse.value)
17311
17315
  return !0;
17312
17316
  if (e.currentRoute.value.path === "/login")
17313
17317
  return;
17314
- a.store.setVisible(!0);
17315
- const s = watch(
17316
- a.warehouse,
17317
- (l) => {
17318
- l && setTimeout(() => s());
17319
- },
17320
- { immediate: !0 }
17321
- );
17318
+ const s = (o = (l = r.store).getUseUserStore) == null ? void 0 : o.call(l);
17319
+ if (((i = s == null ? void 0 : s.getUserWarehouses) == null ? void 0 : i.length) === 1) {
17320
+ const d = (c = s.getUserWarehouses) == null ? void 0 : c[0];
17321
+ a.store.setWarehouse(new WhDTO({ whId: d.wh_id, whDsc: d.wh_dsc }));
17322
+ } else {
17323
+ const d = (u = s == null ? void 0 : s.getUserWarehouses) == null ? void 0 : u.find((_) => _.default_flag === 1);
17324
+ d ? a.store.setWarehouse(new WhDTO({ whId: d.wh_id, whDsc: d.wh_dsc })) : a.store.setVisible(!0);
17325
+ }
17322
17326
  }), !0;
17323
17327
  });
17324
17328
  }
@@ -17432,8 +17436,8 @@ class KgUtil {
17432
17436
  return;
17433
17437
  }
17434
17438
  const y = r ? (T = i == null ? void 0 : i.store) == null ? void 0 : T.getVarProfileDetail(r, b) : null, g = s[b];
17435
- let _ = c == null ? void 0 : c[b];
17436
- (((I = (k = o.option.value.KgSearch) == null ? void 0 : k.dynamicQuery) == null ? void 0 : I.on) !== !0 || r && ((R = (C = i == null ? void 0 : i.currentVarProfileMaster) == null ? void 0 : C.value) == null ? void 0 : R.dyn_flg) !== 1) && (_ = KG_DYNAMIC_QUERY_OPERATOR.EQ);
17439
+ let p = c == null ? void 0 : c[b];
17440
+ (((I = (k = o.option.value.KgSearch) == null ? void 0 : k.dynamicQuery) == null ? void 0 : I.on) !== !0 || r && ((R = (C = i == null ? void 0 : i.currentVarProfileMaster) == null ? void 0 : C.value) == null ? void 0 : R.dyn_flg) !== 1) && (p = KG_DYNAMIC_QUERY_OPERATOR.EQ);
17437
17441
  let m = b;
17438
17442
  switch (r && (y == null ? void 0 : y.use_underscore_when_dynamic_query_flag) !== 0 && (m = b.split(".").map((A) => snakeCase$1(A)).join(".")), !0) {
17439
17443
  case b.endsWith("_obj"): {
@@ -17443,7 +17447,7 @@ class KgUtil {
17443
17447
  case (!!n && n.isDayjs(g)): {
17444
17448
  const A = g;
17445
17449
  let O = r ? this.parseParamFromDayJS(b, A, r) : A.format("YYYY-MM-DD HH:mm:ss");
17446
- switch (_) {
17450
+ switch (p) {
17447
17451
  case KG_DYNAMIC_QUERY_OPERATOR.NE: {
17448
17452
  let M = O, P = "";
17449
17453
  switch (!0) {
@@ -17608,7 +17612,7 @@ class KgUtil {
17608
17612
  break;
17609
17613
  }
17610
17614
  let A = this.parseParamFromString(g);
17611
- switch (_) {
17615
+ switch (p) {
17612
17616
  case KG_DYNAMIC_QUERY_OPERATOR.NE: {
17613
17617
  A = ` AND (${m} <> N'${A}')`;
17614
17618
  break;
@@ -17636,7 +17640,7 @@ class KgUtil {
17636
17640
  }
17637
17641
  case typeof g == "number": {
17638
17642
  let A = "";
17639
- switch (_) {
17643
+ switch (p) {
17640
17644
  case KG_DYNAMIC_QUERY_OPERATOR.NE: {
17641
17645
  A = ` AND (${m} <> ${g})`;
17642
17646
  break;
@@ -17668,7 +17672,7 @@ class KgUtil {
17668
17672
  }
17669
17673
  case typeof g == "boolean": {
17670
17674
  let A = "";
17671
- switch (_) {
17675
+ switch (p) {
17672
17676
  case KG_DYNAMIC_QUERY_OPERATOR.NE: {
17673
17677
  A = ` AND (${m} <> ${g ? 1 : 0})`;
17674
17678
  break;
@@ -17688,18 +17692,18 @@ class KgUtil {
17688
17692
  }
17689
17693
  }
17690
17694
  });
17691
- let p = `WHERE (1 = 1)${reduce(
17695
+ let _ = `WHERE (1 = 1)${reduce(
17692
17696
  u,
17693
17697
  (b, y, g) => {
17694
17698
  var m;
17695
17699
  if (l.includes(g))
17696
17700
  return b;
17697
- const _ = r ? (m = i == null ? void 0 : i.store) == null ? void 0 : m.getVarProfileDetail(r, g) : null;
17698
- return (_ == null ? void 0 : _.exclude_from_where_sql_flag) === 1 || !y ? b : b + y;
17701
+ const p = r ? (m = i == null ? void 0 : i.store) == null ? void 0 : m.getVarProfileDetail(r, g) : null;
17702
+ return (p == null ? void 0 : p.exclude_from_where_sql_flag) === 1 || !y ? b : b + y;
17699
17703
  },
17700
17704
  ""
17701
17705
  )}`;
17702
- p = encodeURIComponent(p);
17706
+ _ = encodeURIComponent(_);
17703
17707
  let E = "";
17704
17708
  if (s.column) {
17705
17709
  const b = r && i ? i.store.getVarProfileDetail(r, s.column) : null;
@@ -17715,7 +17719,7 @@ class KgUtil {
17715
17719
  throw new Error("\u53C2\u6570 pageSize \u975E\u6CD5.");
17716
17720
  E += ` OFFSET ${(b - 1) * y} ROWS FETCH NEXT ${y} ROWS ONLY`;
17717
17721
  }
17718
- return E = encodeURIComponent(E.trim()), { sql: `${p} ${E}`.trim(), whereSql: p, orderBySql: E };
17722
+ return E = encodeURIComponent(E.trim()), { sql: `${_} ${E}`.trim(), whereSql: _, orderBySql: E };
17719
17723
  }
17720
17724
  static parseParamFromString(t) {
17721
17725
  var n, s, l, o, i;
@@ -17742,14 +17746,14 @@ class KgUtil {
17742
17746
  if (!o)
17743
17747
  return r;
17744
17748
  switch ((() => {
17745
- const c = o.ctrl_typ, u = o.prf_ctrl_typ, d = o.crt_ctrl_typ, p = o.upt_ctrl_typ, E = o.cpy_ctrl_typ, b = o.del_ctrl_typ;
17749
+ const c = o.ctrl_typ, u = o.prf_ctrl_typ, d = o.crt_ctrl_typ, _ = o.upt_ctrl_typ, E = o.cpy_ctrl_typ, b = o.del_ctrl_typ;
17746
17750
  switch (!0) {
17747
17751
  case l.isRetrieving.value:
17748
17752
  return u || c;
17749
17753
  case s.isCreating.value:
17750
17754
  return d || c;
17751
17755
  case s.isUpdating.value:
17752
- return p || c;
17756
+ return _ || c;
17753
17757
  case s.isCopying.value:
17754
17758
  return E || c;
17755
17759
  case s.isDeleting.value:
@@ -17850,16 +17854,16 @@ function httpClient() {
17850
17854
  const a = r[0], n = r[1];
17851
17855
  if (n != null && n.dynamicQueryOperators) {
17852
17856
  if (!(n != null && n.dayjs))
17853
- throw new Error("\u53C2\u6570 options.dayjs \u4E3A\u7A7A. \u5F53\u524D\u53C2\u6570 options.dynamicQueryOperators \u4E0D\u4E3A\u7A7A, \u6240\u4EE5\u53C2\u6570 options.dayjs \u4E5F\u4E0D\u80FD\u4E3A\u7A7A.");
17857
+ throw new Error("\u53C2\u6570 options.dynamicQueryOperators \u4E0D\u4E3A\u7A7A, \u6240\u4EE5\u53C2\u6570 options.dayjs \u4E5F\u4E0D\u80FD\u4E3A\u7A7A.");
17854
17858
  let c = {};
17855
17859
  a.method === "GET" || a.method === "POST" && !a.data && a.params ? c = a.params : a.method === "POST" && a.data && (c = a.data);
17856
- const { sql: u, whereSql: d, orderBySql: p } = KgUtil.getQuerySql(c, null, n == null ? void 0 : n.dynamicQueryOperators, n == null ? void 0 : n.dayjs);
17860
+ const { sql: u, whereSql: d, orderBySql: _ } = KgUtil.getQuerySql(c, null, n == null ? void 0 : n.dynamicQueryOperators, n == null ? void 0 : n.dayjs);
17857
17861
  a.headers = {
17858
17862
  ...(s = a.headers) != null ? s : {},
17859
17863
  [KG_HTTP_HEADERS.KG_DYNAMIC_QUERY]: !0,
17860
17864
  [KG_HTTP_HEADERS.KG_QUERY_SQL]: u,
17861
17865
  [KG_HTTP_HEADERS.KG_QUERY_WHERE_SQL]: d,
17862
- [KG_HTTP_HEADERS.KG_QUERY_ORDER_BY_SQL]: p
17866
+ [KG_HTTP_HEADERS.KG_QUERY_ORDER_BY_SQL]: _
17863
17867
  };
17864
17868
  }
17865
17869
  return (l = a.headers) != null && l[KG_HTTP_HEADERS.KG_QUERY_SQL] && (a.headers[KG_HTTP_HEADERS.KG_QUERY_SQL] = encodeURIComponent(decodeURIComponent(String(a.headers[KG_HTTP_HEADERS.KG_QUERY_SQL])))), (o = a.headers) != null && o[KG_HTTP_HEADERS.KG_QUERY_WHERE_SQL] && (a.headers[KG_HTTP_HEADERS.KG_QUERY_WHERE_SQL] = encodeURIComponent(