@owp/core 1.30.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/colors/chart.d.ts +3 -0
  2. package/colors/chart.js +1 -0
  3. package/contexts.d.ts +3 -0
  4. package/contexts.js +1 -0
  5. package/dist/{Close-DnXyQZKh.js → Close-JeenM19L.js} +280 -282
  6. package/dist/Close-JeenM19L.js.map +1 -0
  7. package/dist/{OwpStoreProvider-Bx5p7ooQ.js → OwpStoreProvider-Cl8MlcxC.js} +3 -3
  8. package/dist/OwpStoreProvider-Cl8MlcxC.js.map +1 -0
  9. package/dist/OwpUtils-CDsU9hQL.js +383 -0
  10. package/dist/OwpUtils-CDsU9hQL.js.map +1 -0
  11. package/dist/colorMap-DP-DCZbV.js +82 -0
  12. package/dist/colorMap-DP-DCZbV.js.map +1 -0
  13. package/dist/colors/chart.js +6 -0
  14. package/dist/colors/chart.js.map +1 -0
  15. package/dist/colors.js +4 -1
  16. package/dist/colors.js.map +1 -1
  17. package/dist/commonCodeUtils-Dt6TXOku.js +42 -0
  18. package/dist/commonCodeUtils-Dt6TXOku.js.map +1 -0
  19. package/dist/contexts.js +103 -0
  20. package/dist/contexts.js.map +1 -0
  21. package/dist/{owpDark-DAY0F6Ph.js → dark-DAY0F6Ph.js} +1 -1
  22. package/dist/dark-DAY0F6Ph.js.map +1 -0
  23. package/dist/emotion-react-jsx-runtime.browser.esm-BMvSswBW.js +1496 -0
  24. package/dist/emotion-react-jsx-runtime.browser.esm-BMvSswBW.js.map +1 -0
  25. package/dist/exceljs.min-CwK2XNVA.js +23595 -0
  26. package/dist/exceljs.min-CwK2XNVA.js.map +1 -0
  27. package/dist/hooks.js +119 -73
  28. package/dist/hooks.js.map +1 -1
  29. package/dist/index.css +1 -1
  30. package/dist/index.js +27332 -96
  31. package/dist/index.js.map +1 -1
  32. package/dist/isTypedArray-DGEiG32J.js +637 -0
  33. package/dist/isTypedArray-DGEiG32J.js.map +1 -0
  34. package/dist/language-s_jJgpD5.js +35 -0
  35. package/dist/language-s_jJgpD5.js.map +1 -0
  36. package/dist/lazyLoadedSlices-D_EtusDd.js +2773 -0
  37. package/dist/lazyLoadedSlices-D_EtusDd.js.map +1 -0
  38. package/dist/owp-app.css +1 -1
  39. package/dist/store.js +2 -2
  40. package/dist/{toUpper-i_I6Tyuv.js → toUpper-D7kus_mL.js} +2 -2
  41. package/dist/{toUpper-i_I6Tyuv.js.map → toUpper-D7kus_mL.js.map} +1 -1
  42. package/dist/{treeGridUtil-WTM_djsN.js → treeGridUtil-Ch99srur.js} +116 -115
  43. package/dist/treeGridUtil-Ch99srur.js.map +1 -0
  44. package/dist/types/colors/chart/colorMap.d.ts +8 -0
  45. package/dist/types/colors/chart/index.d.ts +1 -0
  46. package/dist/types/colors/index.d.ts +2 -2
  47. package/dist/types/colors/palettes/index.d.ts +2 -0
  48. package/dist/types/components/OwpErrorBoundary/OwpErrorBoundary.d.ts +1 -1
  49. package/dist/types/components/OwpFileUploadButton/OwpFileUploadButton.d.ts +2 -2
  50. package/dist/types/components/OwpHidden/OwpHidden.d.ts +19 -0
  51. package/dist/types/components/OwpHidden/index.d.ts +2 -0
  52. package/dist/types/components/OwpLayout/OwpLayout.d.ts +2 -2
  53. package/dist/types/components/OwpPageCarded/OwpPageCarded.d.ts +2 -2
  54. package/dist/types/components/OwpPageCarded/OwpPageCardedSidebar.d.ts +1 -1
  55. package/dist/types/components/OwpPicker/DatePickerInput.d.ts +1 -1
  56. package/dist/types/components/OwpPicker/OwpTimePicker.d.ts +0 -2
  57. package/dist/types/components/OwpStyleProvider/OwpStyleProvider.d.ts +5 -5
  58. package/dist/types/components/OwpTable/OwpTable.d.ts +1 -3
  59. package/dist/types/components/OwpTabs/OwpTab.d.ts +2 -4
  60. package/dist/types/components/OwpTabs/OwpTabs.d.ts +2 -4
  61. package/dist/types/{default-settings/OwpDefaultSettings.d.ts → configs/defaultConfig.d.ts} +1 -1
  62. package/dist/types/{components/layouts/layout2/Layout2Config.d.ts → configs/layoutConfig.d.ts} +12 -15
  63. package/dist/types/{context → contexts}/OwpAppProvider.d.ts +10 -3
  64. package/dist/types/hooks/index.d.ts +4 -2
  65. package/dist/types/{store/hooks.d.ts → hooks/useAppStore.d.ts} +1 -1
  66. package/dist/types/hooks/useCurrentLanguage.d.ts +1 -5
  67. package/dist/types/hooks/useInitApp.d.ts +8 -0
  68. package/dist/types/hooks/useInitCommonCodes.d.ts +4 -0
  69. package/dist/types/hooks/useLogoSrc.d.ts +8 -0
  70. package/dist/types/hooks/useNavigation.d.ts +3 -18
  71. package/dist/types/hooks/useOwpTranslation.d.ts +0 -2
  72. package/dist/types/hooks/useThemeMediaQuery.d.ts +1 -1
  73. package/dist/types/index.d.ts +3 -29
  74. package/dist/types/{components/layouts/layout3/Layout3.d.ts → layout/Layout.d.ts} +4 -4
  75. package/dist/types/layout/components/layouts/FooterLayout.d.ts +9 -0
  76. package/dist/types/layout/components/layouts/LeftSideLayout.d.ts +6 -0
  77. package/dist/types/layout/components/layouts/NavbarToggleFabLayout.d.ts +8 -0
  78. package/dist/types/layout/components/layouts/NavbarWrapperLayout.d.ts +5 -0
  79. package/dist/types/layout/components/menus/LogoutMenu.d.ts +8 -0
  80. package/dist/types/layout/components/menus/PasswordChangeMenu.d.ts +8 -0
  81. package/dist/types/{components/layouts/shared-components → layout/components/menus}/UserMenu.d.ts +1 -1
  82. package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarPinToggleButton.d.ts +1 -1
  83. package/dist/types/layout/components/navbar/NavbarToggleButton.d.ts +11 -0
  84. package/dist/types/layout/components/navbar/style/NavbarStyle.d.ts +5 -0
  85. package/dist/types/layout/components/navbar/style/NavbarStyleContent.d.ts +9 -0
  86. package/dist/types/layout/components/navigation/NavBadge.d.ts +17 -0
  87. package/dist/types/layout/components/navigation/NavItem.d.ts +14 -0
  88. package/dist/types/layout/components/navigation/Navigation.d.ts +3 -0
  89. package/dist/types/layout/components/navigation/NavigationMenu.d.ts +23 -0
  90. package/dist/types/layout/components/navigation/vertical/NavVerticalLayout.d.ts +9 -0
  91. package/dist/types/layout/components/navigation/vertical/types/NavVerticalCollapse.d.ts +6 -0
  92. package/dist/types/layout/components/navigation/vertical/types/NavVerticalGroup.d.ts +6 -0
  93. package/dist/types/layout/components/navigation/vertical/types/NavVerticalItem.d.ts +6 -0
  94. package/dist/types/layout/components/navigation/vertical/types/NavVerticalLink.d.ts +7 -0
  95. package/dist/types/layout/components/toggles/FullScreenToggle.d.ts +8 -0
  96. package/dist/types/layout/components/toggles/LanguageSwitcherToggle.d.ts +9 -0
  97. package/dist/types/layout/components/toggles/NavigationSearchToggle.d.ts +16 -0
  98. package/dist/types/layout/components/toggles/NavigationShortcutsToggle.d.ts +9 -0
  99. package/dist/types/layout/components/toggles/toggleStyles.d.ts +10 -0
  100. package/dist/types/{components/layouts/layout3/components/FooterLayout3.d.ts → layout/components/toolbar/ToolbarLayout.d.ts} +4 -4
  101. package/dist/types/{components/layouts → layout}/themeLayoutConfigs.d.ts +2 -4
  102. package/dist/types/store/index.d.ts +1 -1
  103. package/dist/types/store/lazyLoadedSlices.d.ts +2 -2
  104. package/dist/types/{components/layouts/shared-components/navigation/store → store}/navigationSlice.d.ts +10 -10
  105. package/dist/types/store/owpSettingsSlice.d.ts +18 -1356
  106. package/dist/types/{components/OwpNavigation/types/OwpNavItemType.d.ts → types/OwpNavigationTypes.d.ts} +14 -4
  107. package/dist/types/types/OwpSettingsTypes.d.ts +2 -2
  108. package/dist/types/types/index.d.ts +3 -0
  109. package/dist/types/utils/dayjsBrowser.d.ts +7 -0
  110. package/dist/types/utils/excelUtil.d.ts +1 -1
  111. package/dist/types/utils/exceljsBrowser.d.ts +3 -0
  112. package/dist/types/utils/getEstimatedTextCellWidth.d.ts +12 -0
  113. package/dist/types/utils/index.d.ts +2 -0
  114. package/dist/types/utils/language.d.ts +8 -0
  115. package/dist/types/{components/OwpNavigation/utils/OwpNavigationHelper.d.ts → utils/navigationUtils.d.ts} +17 -5
  116. package/dist/types.js +2 -0
  117. package/dist/types.js.map +1 -0
  118. package/dist/{usePageLockLoading-BUI_3PlR.js → usePageLockLoading-Vx7WVcGX.js} +5 -5
  119. package/dist/usePageLockLoading-Vx7WVcGX.js.map +1 -0
  120. package/dist/useShortcuts-DY5fnx6L.js +236 -0
  121. package/dist/useShortcuts-DY5fnx6L.js.map +1 -0
  122. package/dist/useTreeGridExcelExport-615UIM92.js +120 -0
  123. package/dist/useTreeGridExcelExport-615UIM92.js.map +1 -0
  124. package/dist/utils.js +6891 -6656
  125. package/dist/utils.js.map +1 -1
  126. package/owp-app.css +1 -0
  127. package/package.json +51 -47
  128. package/types.d.ts +3 -0
  129. package/types.js +1 -0
  130. package/context.d.ts +0 -3
  131. package/context.js +0 -1
  132. package/dist/Close-DnXyQZKh.js.map +0 -1
  133. package/dist/OwpStoreProvider-Bx5p7ooQ.js.map +0 -1
  134. package/dist/OwpUtils-C81bM1Gz.js +0 -611
  135. package/dist/OwpUtils-C81bM1Gz.js.map +0 -1
  136. package/dist/QuickPanel-CO7Tyc8C.js +0 -104
  137. package/dist/QuickPanel-CO7Tyc8C.js.map +0 -1
  138. package/dist/context.js +0 -101
  139. package/dist/context.js.map +0 -1
  140. package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js +0 -1751
  141. package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js.map +0 -1
  142. package/dist/index-KlA5Es4t.js +0 -46971
  143. package/dist/index-KlA5Es4t.js.map +0 -1
  144. package/dist/isTypedArray-DPyC49cI.js +0 -411
  145. package/dist/isTypedArray-DPyC49cI.js.map +0 -1
  146. package/dist/lazyLoadedSlices-DC7yg4GT.js +0 -2832
  147. package/dist/lazyLoadedSlices-DC7yg4GT.js.map +0 -1
  148. package/dist/owpDark-DAY0F6Ph.js.map +0 -1
  149. package/dist/treeGridUtil-WTM_djsN.js.map +0 -1
  150. package/dist/types/components/OwpCommonDialog/OwpCommonDialog.d.ts +0 -1
  151. package/dist/types/components/OwpCommonDialog/index.d.ts +0 -1
  152. package/dist/types/components/OwpNavigation/OwpNavBadge.d.ts +0 -17
  153. package/dist/types/components/OwpNavigation/OwpNavItem.d.ts +0 -14
  154. package/dist/types/components/OwpNavigation/OwpNavigation.d.ts +0 -23
  155. package/dist/types/components/OwpNavigation/horizontal/OwpNavHorizontalLayout1.d.ts +0 -7
  156. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalCollapse.d.ts +0 -15
  157. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalGroup.d.ts +0 -13
  158. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalItem.d.ts +0 -11
  159. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalLink.d.ts +0 -8
  160. package/dist/types/components/OwpNavigation/index.d.ts +0 -1
  161. package/dist/types/components/OwpNavigation/isUrlInChildren.d.ts +0 -7
  162. package/dist/types/components/OwpNavigation/models/OwpNavItemModel.d.ts +0 -8
  163. package/dist/types/components/OwpNavigation/types/OwpNavBadgeType.d.ts +0 -9
  164. package/dist/types/components/OwpNavigation/utils/components.d.ts +0 -4
  165. package/dist/types/components/OwpNavigation/utils/registerComponent.d.ts +0 -4
  166. package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout1.d.ts +0 -9
  167. package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout2.d.ts +0 -7
  168. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalCollapse.d.ts +0 -7
  169. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalGroup.d.ts +0 -7
  170. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalItem.d.ts +0 -7
  171. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalLink.d.ts +0 -8
  172. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalTab.d.ts +0 -11
  173. package/dist/types/components/OwpSearch/OwpSearch.d.ts +0 -23
  174. package/dist/types/components/OwpSearch/index.d.ts +0 -1
  175. package/dist/types/components/OwpShortcuts/OwpShortcuts.d.ts +0 -19
  176. package/dist/types/components/OwpShortcuts/index.d.ts +0 -1
  177. package/dist/types/components/OwpSidePanel/OwpSidePanel.d.ts +0 -18
  178. package/dist/types/components/OwpSidePanel/index.d.ts +0 -1
  179. package/dist/types/components/OwpTheme/OwpTheme.d.ts +0 -18
  180. package/dist/types/components/OwpTheme/index.d.ts +0 -1
  181. package/dist/types/components/OwpThemeSelector/OwpThemeSelector.d.ts +0 -16
  182. package/dist/types/components/OwpThemeSelector/SchemePreview.d.ts +0 -14
  183. package/dist/types/components/OwpThemeSelector/ThemePreview.d.ts +0 -17
  184. package/dist/types/components/OwpThemeSelector/index.d.ts +0 -1
  185. package/dist/types/components/layouts/layout1/Layout1.d.ts +0 -10
  186. package/dist/types/components/layouts/layout1/Layout1Config.d.ts +0 -114
  187. package/dist/types/components/layouts/layout1/components/FooterLayout1.d.ts +0 -9
  188. package/dist/types/components/layouts/layout1/components/LeftSideLayout1.d.ts +0 -6
  189. package/dist/types/components/layouts/layout1/components/NavbarToggleFabLayout1.d.ts +0 -8
  190. package/dist/types/components/layouts/layout1/components/NavbarWrapperLayout1.d.ts +0 -5
  191. package/dist/types/components/layouts/layout1/components/ToolbarLayout1.d.ts +0 -9
  192. package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1.d.ts +0 -5
  193. package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1Content.d.ts +0 -9
  194. package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2.d.ts +0 -5
  195. package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2Content.d.ts +0 -9
  196. package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3.d.ts +0 -9
  197. package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3Content.d.ts +0 -10
  198. package/dist/types/components/layouts/layout2/Layout2.d.ts +0 -10
  199. package/dist/types/components/layouts/layout2/components/FooterLayout2.d.ts +0 -9
  200. package/dist/types/components/layouts/layout2/components/LeftSideLayout2.d.ts +0 -6
  201. package/dist/types/components/layouts/layout2/components/NavbarLayout2.d.ts +0 -9
  202. package/dist/types/components/layouts/layout2/components/NavbarMobileLayout2.d.ts +0 -9
  203. package/dist/types/components/layouts/layout2/components/NavbarToggleFabLayout2.d.ts +0 -8
  204. package/dist/types/components/layouts/layout2/components/NavbarWrapperLayout2.d.ts +0 -5
  205. package/dist/types/components/layouts/layout2/components/RightSideLayout2.d.ts +0 -6
  206. package/dist/types/components/layouts/layout2/components/ToolbarLayout2.d.ts +0 -9
  207. package/dist/types/components/layouts/layout3/Layout3Config.d.ts +0 -110
  208. package/dist/types/components/layouts/layout3/components/LeftSideLayout3.d.ts +0 -6
  209. package/dist/types/components/layouts/layout3/components/NavbarLayout3.d.ts +0 -9
  210. package/dist/types/components/layouts/layout3/components/NavbarMobileLayout3.d.ts +0 -9
  211. package/dist/types/components/layouts/layout3/components/NavbarWrapperLayout3.d.ts +0 -5
  212. package/dist/types/components/layouts/layout3/components/RightSideLayout3.d.ts +0 -6
  213. package/dist/types/components/layouts/layout3/components/ToolbarLayout3.d.ts +0 -9
  214. package/dist/types/components/layouts/shared-components/FullScreenToggle.d.ts +0 -8
  215. package/dist/types/components/layouts/shared-components/LanguageSwitcher.d.ts +0 -7
  216. package/dist/types/components/layouts/shared-components/PasswordChangeForm.d.ts +0 -2
  217. package/dist/types/components/layouts/shared-components/navbar/NavbarToggleButton.d.ts +0 -7
  218. package/dist/types/components/layouts/shared-components/navigation/Navigation.d.ts +0 -3
  219. package/dist/types/components/layouts/shared-components/navigation/NavigationSearch.d.ts +0 -6
  220. package/dist/types/components/layouts/shared-components/navigation/NavigationShortcuts.d.ts +0 -6
  221. package/dist/types/components/layouts/shared-components/quickPanel/QuickPanel.d.ts +0 -5
  222. package/dist/types/components/layouts/shared-components/quickPanel/QuickPanelToggleButton.d.ts +0 -9
  223. package/dist/types/components/layouts/shared-components/quickPanel/quickPanelSlice.d.ts +0 -14
  224. package/dist/types/hooks/useCurrentLogoSrc.d.ts +0 -8
  225. package/dist/types/hooks/useTreeGridCommonCodeEnum.d.ts +0 -8
  226. package/dist/usePageLockLoading-BUI_3PlR.js.map +0 -1
  227. package/dist/useShortcuts-CCf98L8m.js +0 -241
  228. package/dist/useShortcuts-CCf98L8m.js.map +0 -1
  229. package/dist/useStorage-CuUmH4fD.js +0 -50
  230. package/dist/useStorage-CuUmH4fD.js.map +0 -1
  231. package/dist/useTreeGridExcelExport-N2nOKmkz.js +0 -138
  232. package/dist/useTreeGridExcelExport-N2nOKmkz.js.map +0 -1
  233. /package/dist/types/colors/{owpDark.d.ts → palettes/dark.d.ts} +0 -0
  234. /package/dist/types/colors/{skyBlue.d.ts → palettes/skyBlue.d.ts} +0 -0
  235. /package/dist/types/{context → contexts}/OwpCoreProvider.d.ts +0 -0
  236. /package/dist/types/{context → contexts}/OwpStoreProvider.d.ts +0 -0
  237. /package/dist/types/{context → contexts}/OwpUiProvider.d.ts +0 -0
  238. /package/dist/types/{context → contexts}/index.d.ts +0 -0
  239. /package/dist/types/{components/layouts/shared-components → layout/components/logo}/Logo.d.ts +0 -0
  240. /package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarToggleFab.d.ts +0 -0
  241. /package/dist/types/{components/layouts/shared-components → layout/components/toggles}/LogoutToggle.d.ts +0 -0
  242. /package/dist/types/{components/layouts → layout}/themeLayouts.d.ts +0 -0
  243. /package/dist/types/{components/layouts/shared-components/navbar → store}/navbarSlice.d.ts +0 -0
@@ -1,20 +1,20 @@
1
1
  var ue = Object.defineProperty;
2
2
  var a = (e, t) => ue(e, "name", { value: t, configurable: !0 });
3
3
  import { T as ye, a as ge } from "./treeGrid-DtKg-9uf.js";
4
- import { c as he, d as J, e as we, t as pe, f as x, g as Ee, h as Z, j as Re, k as Se, l as Ie, b as $, i as me } from "./isTypedArray-DPyC49cI.js";
4
+ import { q as he, i as J, v as we, w as pe, l as b, x as Ee, y as Z, z as Re, s as Se, n as Ie, r as $, d as me } from "./isTypedArray-DGEiG32J.js";
5
5
  import Q from "dayjs";
6
- import Ce from "exceljs";
7
- import { enqueueSnackbar as Te } from "notistack";
6
+ import { enqueueSnackbar as Ce } from "notistack";
8
7
  import { D as v, a as ee, b as D, c as B, d as te } from "./storageKeys-C6xHFiTo.js";
9
- function be(e, t) {
8
+ import { e as Te } from "./exceljs.min-CwK2XNVA.js";
9
+ function xe(e, t) {
10
10
  const n = new Set(t);
11
11
  return e.filter((r) => !n.has(r));
12
12
  }
13
- a(be, "difference");
14
- function xe(e, ...t) {
15
- return be(e, t);
13
+ a(xe, "difference");
14
+ function be(e, ...t) {
15
+ return xe(e, t);
16
16
  }
17
- a(xe, "without$1");
17
+ a(be, "without$1");
18
18
  function Ge(e) {
19
19
  return Array.isArray(e);
20
20
  }
@@ -41,7 +41,7 @@ function k(e, t) {
41
41
  case "object": {
42
42
  if (Array.isArray(t))
43
43
  return U(e, t);
44
- if (typeof t == "number" ? t = Ee(t) : typeof t == "object" && (Object.is(t == null ? void 0 : t.valueOf(), -0) ? t = "-0" : t = String(t)), x(t))
44
+ if (typeof t == "number" ? t = Ee(t) : typeof t == "object" && (Object.is(t == null ? void 0 : t.valueOf(), -0) ? t = "-0" : t = String(t)), b(t))
45
45
  return !1;
46
46
  if ((e == null ? void 0 : e[t]) === void 0)
47
47
  return !0;
@@ -54,7 +54,7 @@ function k(e, t) {
54
54
  case "string": {
55
55
  if ((e == null ? void 0 : e[t]) === void 0 && we(t))
56
56
  return U(e, pe(t));
57
- if (x(t))
57
+ if (b(t))
58
58
  return !1;
59
59
  try {
60
60
  return delete e[t], !0;
@@ -69,7 +69,7 @@ function U(e, t) {
69
69
  const n = Z(e, t.slice(0, -1), e), r = t[t.length - 1];
70
70
  if ((n == null ? void 0 : n[r]) === void 0)
71
71
  return !0;
72
- if (x(r))
72
+ if (b(r))
73
73
  return !1;
74
74
  try {
75
75
  return delete n[r], !0;
@@ -79,7 +79,7 @@ function U(e, t) {
79
79
  }
80
80
  a(U, "unsetWithPath");
81
81
  function Le(e, ...t) {
82
- return Be(e) ? xe(Array.from(e), ...t) : [];
82
+ return Be(e) ? be(Array.from(e), ...t) : [];
83
83
  }
84
84
  a(Le, "without");
85
85
  function ne(e) {
@@ -189,7 +189,7 @@ const G = /* @__PURE__ */ a((e, t) => {
189
189
  console.error(n);
190
190
  return;
191
191
  }
192
- }, "parseTreeGridXmlToJson"), vt = /* @__PURE__ */ a((e, t, n) => {
192
+ }, "parseTreeGridXmlToJson"), tn = /* @__PURE__ */ a((e, t, n) => {
193
193
  var i, c;
194
194
  if (!t || !e)
195
195
  return;
@@ -223,7 +223,7 @@ const G = /* @__PURE__ */ a((e, t) => {
223
223
  return;
224
224
  }
225
225
  L(t) || (e.fill = t);
226
- }, "applyCellFillAndBorder"), en = /* @__PURE__ */ a((e) => e.split("").reduce((t, n) => t * 26 + parseInt(n, 36) - 9, 0), "getIndexByLetters"), tn = /* @__PURE__ */ a((e) => {
226
+ }, "applyCellFillAndBorder"), nn = /* @__PURE__ */ a((e) => e.split("").reduce((t, n) => t * 26 + parseInt(n, 36) - 9, 0), "getIndexByLetters"), rn = /* @__PURE__ */ a((e) => {
227
227
  const t = String.fromCharCode(65 + (e - 1) % 26);
228
228
  return e > 26 ? String.fromCharCode(64 + (e - 1) / 26) + t : t;
229
229
  }, "getLettersByIndex"), Je = /* @__PURE__ */ a((e, t) => {
@@ -234,7 +234,7 @@ const G = /* @__PURE__ */ a((e, t) => {
234
234
  }, "exportExcelByBuffer"), Ze = /* @__PURE__ */ a((e, { key: t, value: n, font: r, alignment: s, fill: o, isHeader: i }) => {
235
235
  const c = Ye(e, t);
236
236
  c.value = n, c.font = Xe(i, r), c.alignment = ze(s), qe(c, o, i);
237
- }, "setCellValue"), nn = /* @__PURE__ */ a((e, { range: t, value: n, font: r, alignment: s, fill: o, isHeader: i }) => {
237
+ }, "setCellValue"), sn = /* @__PURE__ */ a((e, { range: t, value: n, font: r, alignment: s, fill: o, isHeader: i }) => {
238
238
  const c = t.split(":")[1];
239
239
  e.mergeCells(t), Ze(e, {
240
240
  key: c,
@@ -244,7 +244,7 @@ const G = /* @__PURE__ */ a((e, t) => {
244
244
  fill: o,
245
245
  isHeader: i
246
246
  });
247
- }, "setMergeCells"), I = 200, K = /* @__PURE__ */ new Map(), Qe = "엑셀 다운로드 중 오류가 발생했습니다.", ve = "TreeGrid 인스턴스가 없습니다.", A = /* @__PURE__ */ a((e) => e == null || typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e instanceof Date, "isPrimitiveCellValue"), R = /* @__PURE__ */ a(() => new Promise((e) => {
247
+ }, "setMergeCells"), Qe = /* @__PURE__ */ a(() => Te, "resolveExcelJSImport"), ve = Qe(), I = 200, K = /* @__PURE__ */ new Map(), et = "엑셀 다운로드 중 오류가 발생했습니다.", tt = "TreeGrid 인스턴스가 없습니다.", A = /* @__PURE__ */ a((e) => e == null || typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e instanceof Date, "isPrimitiveCellValue"), R = /* @__PURE__ */ a(() => new Promise((e) => {
248
248
  if (typeof requestAnimationFrame == "function") {
249
249
  requestAnimationFrame(() => {
250
250
  e();
@@ -252,36 +252,36 @@ const G = /* @__PURE__ */ a((e, t) => {
252
252
  return;
253
253
  }
254
254
  setTimeout(e, 0);
255
- }), "yieldToMain"), Y = /* @__PURE__ */ a((e, t, n) => (e == null ? void 0 : e(t, { defaultValue: n })) ?? n, "translateText"), et = /* @__PURE__ */ a((e) => e.ColNames ?? [], "getGridColNames"), F = /* @__PURE__ */ a((e) => e.Cols, "getGridCols"), tt = /* @__PURE__ */ a((e) => e.Rows, "getGridRows"), nt = /* @__PURE__ */ a((e) => e.Header ?? null, "getGridHeader"), rt = /* @__PURE__ */ a((e) => e.Head ?? null, "getGridHead"), st = /* @__PURE__ */ a((e) => e.ExportName, "getGridExportName"), ot = /* @__PURE__ */ a((e) => (e == null ? void 0 : e.firstChild) ?? null, "getRowFirstChild"), at = /* @__PURE__ */ a((e) => (e == null ? void 0 : e.nextSibling) ?? null, "getRowNextSibling"), oe = /* @__PURE__ */ a((e) => (e ?? "sheet").trim().replace(/[\\/:*?"<>|]/g, "_") || "sheet", "getSafeExportName"), it = /* @__PURE__ */ a((e) => oe(e).slice(0, 31) || "sheet", "getSafeSheetName"), ae = /* @__PURE__ */ a((e) => {
255
+ }), "yieldToMain"), Y = /* @__PURE__ */ a((e, t, n) => (e == null ? void 0 : e(t, { defaultValue: n })) ?? n, "translateText"), nt = /* @__PURE__ */ a((e) => e.ColNames ?? [], "getGridColNames"), F = /* @__PURE__ */ a((e) => e.Cols, "getGridCols"), rt = /* @__PURE__ */ a((e) => e.Rows, "getGridRows"), st = /* @__PURE__ */ a((e) => e.Header ?? null, "getGridHeader"), ot = /* @__PURE__ */ a((e) => e.Head ?? null, "getGridHead"), at = /* @__PURE__ */ a((e) => e.ExportName, "getGridExportName"), it = /* @__PURE__ */ a((e) => (e == null ? void 0 : e.firstChild) ?? null, "getRowFirstChild"), ct = /* @__PURE__ */ a((e) => (e == null ? void 0 : e.nextSibling) ?? null, "getRowNextSibling"), oe = /* @__PURE__ */ a((e) => (e ?? "sheet").trim().replace(/[\\/:*?"<>|]/g, "_") || "sheet", "getSafeExportName"), lt = /* @__PURE__ */ a((e) => oe(e).slice(0, 31) || "sheet", "getSafeSheetName"), ae = /* @__PURE__ */ a((e) => {
256
256
  const t = Number(e);
257
257
  return !Number.isFinite(t) || t < 1 ? 1 : Math.floor(t);
258
- }, "toPositiveInt"), _ = /* @__PURE__ */ a((e) => e !== 0 && e !== !1 && e !== "0", "isVisible"), ct = /* @__PURE__ */ a((e) => (e == null ? void 0 : e.Type) === "Button" || `${(e == null ? void 0 : e.Button) ?? ""}` == "Button", "isButtonColumn"), lt = /* @__PURE__ */ a((e) => {
259
- const t = et(e).flat(), n = t.length > 0 ? t : typeof e.GetCols == "function" ? e.GetCols() : [], r = [], s = /* @__PURE__ */ new Set();
258
+ }, "toPositiveInt"), _ = /* @__PURE__ */ a((e) => e !== 0 && e !== !1 && e !== "0", "isVisible"), ft = /* @__PURE__ */ a((e) => (e == null ? void 0 : e.Type) === "Button" || `${(e == null ? void 0 : e.Button) ?? ""}` == "Button", "isButtonColumn"), dt = /* @__PURE__ */ a((e) => {
259
+ const t = nt(e).flat(), n = t.length > 0 ? t : typeof e.GetCols == "function" ? e.GetCols() : [], r = [], s = /* @__PURE__ */ new Set();
260
260
  for (const o of n)
261
261
  !o || s.has(o) || (s.add(o), r.push(o));
262
262
  return r;
263
- }, "getColumnNames"), ft = /* @__PURE__ */ a((e) => {
263
+ }, "getColumnNames"), ut = /* @__PURE__ */ a((e) => {
264
264
  const t = F(e);
265
- return lt(e).filter((n) => {
265
+ return dt(e).filter((n) => {
266
266
  const r = t[n];
267
- return !r || n === "Panel" || ct(r) ? !1 : r.CanExport !== 0;
267
+ return !r || n === "Panel" || ft(r) ? !1 : r.CanExport !== 0;
268
268
  });
269
- }, "getAllExportColumns"), dt = /* @__PURE__ */ a((e, t) => {
269
+ }, "getAllExportColumns"), yt = /* @__PURE__ */ a((e, t) => {
270
270
  const n = F(e);
271
271
  return t.filter((r) => {
272
272
  const s = n[r];
273
273
  return s ? _(s.Visible) : !1;
274
274
  });
275
- }, "getVisibleExportColumns"), ut = /* @__PURE__ */ a((e) => {
275
+ }, "getVisibleExportColumns"), gt = /* @__PURE__ */ a((e) => {
276
276
  const t = [], n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ a((o) => {
277
277
  !o || n.has(o) || o.Kind && o.Kind !== "Header" || (n.add(o), t.push(o));
278
278
  }, "appendHeaderRow");
279
- r(nt(e));
280
- let s = ot(rt(e));
279
+ r(st(e));
280
+ let s = it(ot(e));
281
281
  for (; s; )
282
- r(s), s = at(s);
282
+ r(s), s = ct(s);
283
283
  return t;
284
- }, "getHeaderRows"), yt = /* @__PURE__ */ a((e) => {
284
+ }, "getHeaderRows"), ht = /* @__PURE__ */ a((e) => {
285
285
  if (typeof e.GetShownRows == "function") {
286
286
  const r = e.GetShownRows();
287
287
  if (Array.isArray(r)) {
@@ -293,13 +293,13 @@ const G = /* @__PURE__ */ a((e, t) => {
293
293
  return s;
294
294
  }
295
295
  }
296
- const t = [], n = tt(e);
296
+ const t = [], n = rt(e);
297
297
  for (const r in n) {
298
298
  const s = n[r];
299
299
  !s || s.Kind !== "Data" || !_(s.Visible) || s.Fixed === "Foot" || t.push(s);
300
300
  }
301
301
  return t;
302
- }, "getVisibleDataRows"), gt = /* @__PURE__ */ a((e, t) => {
302
+ }, "getVisibleDataRows"), wt = /* @__PURE__ */ a((e, t) => {
303
303
  const n = new Map(e.map((l, f) => [l, f])), r = new Map(
304
304
  t.map((l, f) => [l, f])
305
305
  ), s = new Array(e.length + 1).fill(0), o = new Array(e.length).fill(-1), i = new Array(e.length).fill(-1);
@@ -328,10 +328,10 @@ const G = /* @__PURE__ */ a((e, t) => {
328
328
  visibleColSpan: S
329
329
  };
330
330
  };
331
- }, "createSpanResolver"), ht = /* @__PURE__ */ a((e) => {
331
+ }, "createSpanResolver"), pt = /* @__PURE__ */ a((e) => {
332
332
  const t = `${(e == null ? void 0 : e.Align) ?? ""}`.toLowerCase();
333
333
  return t === "left" || t === "center" || t === "right" ? t : (e == null ? void 0 : e.Type) === "Int" || (e == null ? void 0 : e.Type) === "Float" ? "right" : (e == null ? void 0 : e.Type) === "Date" || (e == null ? void 0 : e.Type) === "Enum" ? "center" : "left";
334
- }, "getCellHorizontalAlignment"), wt = /* @__PURE__ */ a((e) => {
334
+ }, "getCellHorizontalAlignment"), Et = /* @__PURE__ */ a((e) => {
335
335
  if ((e == null ? void 0 : e.Type) !== "Date")
336
336
  return null;
337
337
  const t = `${e.Format ?? ""}`.trim();
@@ -343,24 +343,24 @@ const G = /* @__PURE__ */ a((e, t) => {
343
343
  const r = "__TREEGRID_MINUTE_TWO__", s = "__TREEGRID_MINUTE_ONE__", o = t.replace(/yyyy/g, "YYYY").replace(/yy/g, "YY").replace(/tt/g, "A").replace(/hh/g, "HH").replace(/\bh\b/g, "H").replace(/(H{1,2}:)mm/g, `$1${r}`).replace(/(H{1,2}:)m/g, `$1${s}`).replace(/mmmm/g, "MMMM").replace(/mmm/g, "MMM").replace(/mm/g, "MM").replace(/\bm\b/g, "M").replace(new RegExp(r, "g"), "mm").replace(new RegExp(s, "g"), "m").replace(/dddd/g, "dddd").replace(/ddd/g, "ddd").replace(/dd/g, "DD").replace(/\bd\b/g, "D");
344
344
  return K.set(t, o), o;
345
345
  }, "getDayjsDateFormat"), T = /* @__PURE__ */ a((e, t) => {
346
- const n = wt(t);
346
+ const n = Et(t);
347
347
  if (!n || !A(e) || e === null || e === void 0 || e === "" || typeof e == "boolean")
348
348
  return null;
349
349
  const r = Q(e);
350
350
  return r.isValid() ? r.format(n) : null;
351
- }, "formatDateValue"), b = /* @__PURE__ */ a((e, t) => (t == null ? void 0 : t.Type) !== "Bool" ? null : e == null || e === "" ? "" : e === !0 || e === 1 || e === "1" || e === "Y" || e === "y" || e === "true" || e === "TRUE" ? "Y" : e === !1 || e === 0 || e === "0" || e === "N" || e === "n" || e === "false" || e === "FALSE" ? "N" : null, "formatBoolValue"), j = /* @__PURE__ */ a((e, t, n) => {
351
+ }, "formatDateValue"), x = /* @__PURE__ */ a((e, t) => (t == null ? void 0 : t.Type) !== "Bool" ? null : e == null || e === "" ? "" : e === !0 || e === 1 || e === "1" || e === "Y" || e === "y" || e === "true" || e === "TRUE" ? "Y" : e === !1 || e === 0 || e === "0" || e === "N" || e === "n" || e === "false" || e === "FALSE" ? "N" : null, "formatBoolValue"), j = /* @__PURE__ */ a((e, t, n) => {
352
352
  const r = t == null ? void 0 : t[n];
353
353
  return r != null ? String(r) : typeof e.GetCaption == "function" ? e.GetCaption(n) ?? "" : n;
354
354
  }, "getHeaderValue"), w = /* @__PURE__ */ a((e, t) => {
355
355
  const n = `${(t == null ? void 0 : t.HtmlPostfix) ?? ""}`;
356
356
  return !n || e === null || e === void 0 || e === "" ? e : `${e}${n}`;
357
- }, "appendHtmlPostfix"), pt = /* @__PURE__ */ a((e, t, n, r) => {
357
+ }, "appendHtmlPostfix"), Rt = /* @__PURE__ */ a((e, t, n, r) => {
358
358
  if ((r == null ? void 0 : r.Type) === "Enum" && typeof e.GetString == "function") {
359
359
  const c = e.GetString(t, n);
360
360
  if (c != null)
361
361
  return w(c, r);
362
362
  }
363
- const s = t[n], o = b(s, r);
363
+ const s = t[n], o = x(s, r);
364
364
  if (o !== null)
365
365
  return w(o, r);
366
366
  const i = T(s, r);
@@ -369,7 +369,7 @@ const G = /* @__PURE__ */ a((e, t) => {
369
369
  if (A(s))
370
370
  return w(s, r);
371
371
  if (typeof e.GetValue == "function") {
372
- const c = e.GetValue(t, n), l = b(c, r);
372
+ const c = e.GetValue(t, n), l = x(c, r);
373
373
  if (l !== null)
374
374
  return w(l, r);
375
375
  const f = T(c, r);
@@ -379,7 +379,7 @@ const G = /* @__PURE__ */ a((e, t) => {
379
379
  return w(c, r);
380
380
  }
381
381
  if (typeof e.GetString == "function") {
382
- const c = e.GetString(t, n), l = b(c, r);
382
+ const c = e.GetString(t, n), l = x(c, r);
383
383
  if (l !== null)
384
384
  return w(l, r);
385
385
  const f = T(c, r);
@@ -389,7 +389,7 @@ const G = /* @__PURE__ */ a((e, t) => {
389
389
  return w(c, r);
390
390
  }
391
391
  return "";
392
- }, "getBodyValue"), Et = /* @__PURE__ */ a(({
392
+ }, "getBodyValue"), St = /* @__PURE__ */ a(({
393
393
  colName: e,
394
394
  resolveSpan: t,
395
395
  row: n,
@@ -409,10 +409,10 @@ const G = /* @__PURE__ */ a((e, t) => {
409
409
  visibleColIndex: c,
410
410
  visibleColSpan: l
411
411
  };
412
- }, "getCellSpanInfo"), Rt = /* @__PURE__ */ a((e, t, n) => {
412
+ }, "getCellSpanInfo"), It = /* @__PURE__ */ a((e, t, n) => {
413
413
  var r;
414
414
  return (r = e.get(t)) == null ? void 0 : r.has(n);
415
- }, "isOccupied"), St = /* @__PURE__ */ a((e, t, n, r, s) => {
415
+ }, "isOccupied"), mt = /* @__PURE__ */ a((e, t, n, r, s) => {
416
416
  for (let o = t; o < t + r; o += 1) {
417
417
  const i = e.get(o) ?? /* @__PURE__ */ new Set();
418
418
  for (let c = n; c < n + s; c += 1)
@@ -434,16 +434,16 @@ const G = /* @__PURE__ */ a((e, t) => {
434
434
  if (!(!l || !f)) {
435
435
  for (let d = 0; d < e.length; d += 1) {
436
436
  const u = e[d];
437
- if (!u || Rt(o, c, d))
437
+ if (!u || It(o, c, d))
438
438
  continue;
439
- const { allColSpan: p, rowSpan: g, visibleColIndex: h, visibleColSpan: S } = Et({
439
+ const { allColSpan: p, rowSpan: g, visibleColIndex: h, visibleColSpan: S } = St({
440
440
  row: l,
441
441
  colName: u,
442
442
  rowIndex: c,
443
443
  totalRows: s.length,
444
444
  resolveSpan: r
445
445
  });
446
- if (St(o, c, d, g, p), h === null || S < 1)
446
+ if (mt(o, c, d, g, p), h === null || S < 1)
447
447
  continue;
448
448
  const C = t(l, u);
449
449
  n == null || n(h, C), f.push({
@@ -457,7 +457,7 @@ const G = /* @__PURE__ */ a((e, t) => {
457
457
  }
458
458
  }
459
459
  return i;
460
- }, "createEntryRows"), It = /* @__PURE__ */ a(async ({
460
+ }, "createEntryRows"), Ct = /* @__PURE__ */ a(async ({
461
461
  allExportColumns: e,
462
462
  grid: t,
463
463
  headerRows: n,
@@ -476,7 +476,7 @@ const G = /* @__PURE__ */ a((e, t) => {
476
476
  rowSpan: 1,
477
477
  colSpan: 1
478
478
  }))
479
- ] : [], "createHeaderEntries"), mt = /* @__PURE__ */ a(async ({
479
+ ] : [], "createHeaderEntries"), Tt = /* @__PURE__ */ a(async ({
480
480
  allExportColumns: e,
481
481
  columns: t,
482
482
  onVisibleEntry: n,
@@ -486,7 +486,7 @@ const G = /* @__PURE__ */ a((e, t) => {
486
486
  visibleExportColumns: i
487
487
  }) => i.length ? ie({
488
488
  allExportColumns: e,
489
- getValue: /* @__PURE__ */ a((c, l) => pt(r, c, l, t[l]), "getValue"),
489
+ getValue: /* @__PURE__ */ a((c, l) => Rt(r, c, l, t[l]), "getValue"),
490
490
  onVisibleEntry: n,
491
491
  resolveSpan: o,
492
492
  rows: s
@@ -515,7 +515,7 @@ const G = /* @__PURE__ */ a((e, t) => {
515
515
  }
516
516
  (r + 1) % I === 0 && await R();
517
517
  }
518
- }, "mergeEntryRows"), Ct = /* @__PURE__ */ a(async (e, t, n, r) => {
518
+ }, "mergeEntryRows"), xt = /* @__PURE__ */ a(async (e, t, n, r) => {
519
519
  for (let s = 0; s < n; s += 1) {
520
520
  const o = e.getRow(t + s);
521
521
  o.font = ee;
@@ -528,7 +528,7 @@ const G = /* @__PURE__ */ a((e, t) => {
528
528
  }
529
529
  (s + 1) % I === 0 && await R();
530
530
  }
531
- }, "styleHeaderRows"), Tt = /* @__PURE__ */ a(async (e, t, n, r) => {
531
+ }, "styleHeaderRows"), bt = /* @__PURE__ */ a(async (e, t, n, r) => {
532
532
  for (let s = 0; s < n; s += 1) {
533
533
  const o = e.getRow(t + s);
534
534
  o.font = v;
@@ -536,16 +536,16 @@ const G = /* @__PURE__ */ a((e, t) => {
536
536
  o.getCell(i).border = B;
537
537
  (s + 1) % I === 0 && await R();
538
538
  }
539
- }, "styleBodyRows"), bt = /* @__PURE__ */ a((e) => {
539
+ }, "styleBodyRows"), Gt = /* @__PURE__ */ a((e) => {
540
540
  const t = Number((e == null ? void 0 : e.Width) ?? (e == null ? void 0 : e.MinWidth));
541
541
  return !Number.isFinite(t) || t <= 0 ? null : Math.min(Math.max(Math.round(t / 8), 10), 50);
542
- }, "getPreferredColumnWidth"), q = /* @__PURE__ */ a((e) => Math.min(Math.max(e + 4, 10), 50), "getAutoColumnWidth"), xt = /* @__PURE__ */ a((e, t, n) => {
542
+ }, "getPreferredColumnWidth"), q = /* @__PURE__ */ a((e) => Math.min(Math.max(e + 4, 10), 50), "getAutoColumnWidth"), At = /* @__PURE__ */ a((e, t, n) => {
543
543
  const r = new Array(n.length).fill(10), s = new Array(n.length).fill(!1);
544
544
  for (let o = 0; o < n.length; o += 1) {
545
545
  const i = n[o];
546
546
  if (!i)
547
547
  continue;
548
- const c = t[i], l = bt(c);
548
+ const c = t[i], l = Gt(c);
549
549
  if (l !== null) {
550
550
  r[o] = l, s[o] = !0;
551
551
  continue;
@@ -570,15 +570,15 @@ const G = /* @__PURE__ */ a((e, t) => {
570
570
  const n = typeof t == "string" ? { exportName: t } : t, r = n == null ? void 0 : n.t;
571
571
  if (!e)
572
572
  throw new Error(
573
- Y(r, "Message.TreeGrid 인스턴스가 없습니다.", ve)
573
+ Y(r, "Message.TreeGrid 인스턴스가 없습니다.", tt)
574
574
  );
575
- const s = F(e), o = ft(e), i = dt(e, o), { widths: c, updateWidth: l } = xt(e, s, i), f = ut(e), d = yt(e), u = gt(o, i), p = await It({
575
+ const s = F(e), o = ut(e), i = yt(e, o), { widths: c, updateWidth: l } = At(e, s, i), f = gt(e), d = ht(e), u = wt(o, i), p = await Ct({
576
576
  allExportColumns: o,
577
577
  grid: e,
578
578
  headerRows: f,
579
579
  resolveSpan: u,
580
580
  visibleExportColumns: i
581
- }), g = await mt({
581
+ }), g = await Tt({
582
582
  allExportColumns: o,
583
583
  columns: s,
584
584
  dataRows: d,
@@ -586,7 +586,7 @@ const G = /* @__PURE__ */ a((e, t) => {
586
586
  onVisibleEntry: l,
587
587
  resolveSpan: u,
588
588
  visibleExportColumns: i
589
- }), h = new Ce.Workbook(), S = (n == null ? void 0 : n.exportName) ?? st(e) ?? e.id ?? "sheet", C = n != null && n.useAppendCurrentDateTimeToExportName ? `-${Q().format("YYYY-MM-DD-HH-mm-ss")}` : "", N = oe(`${S}${C}`), E = h.addWorksheet(it(N)), H = await X(
589
+ }), h = new ve.Workbook(), S = (n == null ? void 0 : n.exportName) ?? at(e) ?? e.id ?? "sheet", C = n != null && n.useAppendCurrentDateTimeToExportName ? `-${Q().format("YYYY-MM-DD-HH-mm-ss")}` : "", N = oe(`${S}${C}`), E = h.addWorksheet(lt(N)), H = await X(
590
590
  E,
591
591
  p,
592
592
  i.length
@@ -602,15 +602,15 @@ const G = /* @__PURE__ */ a((e, t) => {
602
602
  const de = s[P], O = E.getColumn(m + 1);
603
603
  O.width = c[m], O.alignment = {
604
604
  ...D,
605
- horizontal: ht(de)
605
+ horizontal: pt(de)
606
606
  };
607
607
  }
608
- await z(E, p, H), await z(E, g, V), await Ct(
608
+ await z(E, p, H), await z(E, g, V), await xt(
609
609
  E,
610
610
  H,
611
611
  p.length,
612
612
  i.length
613
- ), await Tt(
613
+ ), await bt(
614
614
  E,
615
615
  V,
616
616
  g.length,
@@ -623,18 +623,18 @@ const G = /* @__PURE__ */ a((e, t) => {
623
623
  Je(fe, N);
624
624
  } catch (n) {
625
625
  const r = typeof t == "string" ? {} : t, s = r == null ? void 0 : r.t;
626
- Te(
626
+ Ce(
627
627
  n instanceof Error ? n.message : Y(
628
628
  s,
629
629
  "Message.엑셀 다운로드 중 오류가 발생했습니다.",
630
- Qe
630
+ et
631
631
  ),
632
632
  {
633
633
  variant: "error"
634
634
  }
635
635
  );
636
636
  }
637
- }, "exportTreeGridExcel"), rn = ce, Gt = ["Added", "Changed"], At = ["OWP", "IPX"], _t = /* @__PURE__ */ a((e) => Object.values((e == null ? void 0 : e.Rows) ?? {}).filter((t) => t.Kind === "Data"), "getDataRows"), Dt = /* @__PURE__ */ a((e, t) => {
637
+ }, "exportTreeGridExcel"), on = ce, _t = ["Added", "Changed"], Dt = ["OWP", "IPX"], Bt = /* @__PURE__ */ a((e) => Object.values((e == null ? void 0 : e.Rows) ?? {}).filter((t) => t.Kind === "Data"), "getDataRows"), Lt = /* @__PURE__ */ a((e, t) => {
638
638
  const n = (t == null ? void 0 : t.insertPosition) ?? "top", r = t == null ? void 0 : t.parent, s = t == null ? void 0 : t.anchorRow;
639
639
  let o = r ?? (s ? s.parentNode : null) ?? e.GetFirst(), i = null;
640
640
  switch (n) {
@@ -652,16 +652,16 @@ const G = /* @__PURE__ */ a((e, t) => {
652
652
  break;
653
653
  }
654
654
  return { resolvedParent: o, next: i };
655
- }, "resolveRowInsertionTarget"), Bt = /* @__PURE__ */ a((e, t) => {
655
+ }, "resolveRowInsertionTarget"), Ft = /* @__PURE__ */ a((e, t) => {
656
656
  me(t) && Object.entries(t).forEach(([n, r]) => {
657
657
  e[n] = r;
658
658
  });
659
- }, "assignInitialRowValues"), Lt = /* @__PURE__ */ a((e) => At.some((t) => e.startsWith(t)), "isTreeGridDataKey"), Ft = /* @__PURE__ */ a((e) => Object.fromEntries(
660
- Le(Object.keys(e), "id").filter((t) => Lt(t) && !L(e[t])).map((t) => [t, e[t]])
661
- ), "normalizeAddedRow"), Mt = /* @__PURE__ */ a((e, t) => e.filter((n) => Z(n, t) === "1" && n.Deleted !== "1").map((n) => t === "Changed" ? Me(n, ["id", "Changed"]) : Ft(n)).filter((n) => !L(n)), "getChangedRowsByStatus"), y = /* @__PURE__ */ a((e) => Grids[e], "getTreeGridById"), Nt = /* @__PURE__ */ a((e) => {
659
+ }, "assignInitialRowValues"), Mt = /* @__PURE__ */ a((e) => Dt.some((t) => e.startsWith(t)), "isTreeGridDataKey"), Nt = /* @__PURE__ */ a((e) => Object.fromEntries(
660
+ Le(Object.keys(e), "id").filter((t) => Mt(t) && !L(e[t])).map((t) => [t, e[t]])
661
+ ), "normalizeAddedRow"), Ht = /* @__PURE__ */ a((e, t) => e.filter((n) => Z(n, t) === "1" && n.Deleted !== "1").map((n) => t === "Changed" ? Me(n, ["id", "Changed"]) : Nt(n)).filter((n) => !L(n)), "getChangedRowsByStatus"), y = /* @__PURE__ */ a((e) => Grids[e], "getTreeGridById"), Vt = /* @__PURE__ */ a((e) => {
662
662
  const t = y(e);
663
- return _t(t);
664
- }, "getTreeGridDataRowsById"), Ht = /* @__PURE__ */ a((e, t) => {
663
+ return Bt(t);
664
+ }, "getTreeGridDataRowsById"), Pt = /* @__PURE__ */ a((e, t) => {
665
665
  const n = y(e);
666
666
  if (!n)
667
667
  return;
@@ -671,27 +671,27 @@ const G = /* @__PURE__ */ a((e, t) => {
671
671
  Data: { Body: [t || []] },
672
672
  Url: ""
673
673
  }, n.ReloadBody();
674
- }, "reloadTreeGridBodyById"), Vt = /* @__PURE__ */ a((e, t) => {
674
+ }, "reloadTreeGridBodyById"), Ot = /* @__PURE__ */ a((e, t) => {
675
675
  const n = y(e);
676
676
  if (!n)
677
677
  return;
678
- const r = t == null ? void 0 : t.canSelect, s = t == null ? void 0 : t.initialValues, { resolvedParent: o, next: i } = Dt(n, t), c = n.AddRow(o, i, 1);
679
- Bt(c, s), c.CanEdit = 1, c.CanDelete = 1, c.CanSelect = r ? 1 : 0, n.Focus(c), n.RefreshRow(c);
680
- }, "addTreeGridRowById"), Pt = /* @__PURE__ */ a((e) => {
678
+ const r = t == null ? void 0 : t.canSelect, s = t == null ? void 0 : t.initialValues, { resolvedParent: o, next: i } = Lt(n, t), c = n.AddRow(o, i, 1);
679
+ Ft(c, s), c.CanEdit = 1, c.CanDelete = 1, c.CanSelect = r ? 1 : 0, n.Focus(c), n.RefreshRow(c);
680
+ }, "addTreeGridRowById"), $t = /* @__PURE__ */ a((e) => {
681
681
  const t = y(e), n = Ue(t == null ? void 0 : t.GetXmlData("changes,allcols,nogrid,noio"));
682
682
  return Ge(n) ? Object.fromEntries(
683
- Gt.map((r) => [
683
+ _t.map((r) => [
684
684
  He(r),
685
- Mt(n, r)
685
+ Ht(n, r)
686
686
  ])
687
687
  ) : { added: [], changed: [] };
688
- }, "getTreeGridRowChangesById"), Ot = /* @__PURE__ */ a((e, t) => {
688
+ }, "getTreeGridRowChangesById"), kt = /* @__PURE__ */ a((e, t) => {
689
689
  const n = y(e);
690
690
  n && ce(n, { exportName: t ?? "" });
691
- }, "exportTreeGridToExcelById"), $t = /* @__PURE__ */ a((e) => {
691
+ }, "exportTreeGridToExcelById"), Ut = /* @__PURE__ */ a((e) => {
692
692
  const t = y(e);
693
693
  return (t == null ? void 0 : t.GetSelRows()) ?? [];
694
- }, "getTreeGridSelectedRowsById"), kt = /* @__PURE__ */ a((e, t) => {
694
+ }, "getTreeGridSelectedRowsById"), Wt = /* @__PURE__ */ a((e, t) => {
695
695
  const n = y(e);
696
696
  if (!n || !(t != null && t.targetKey))
697
697
  return;
@@ -701,20 +701,20 @@ const G = /* @__PURE__ */ a((e, t) => {
701
701
  return;
702
702
  }
703
703
  n.HideCol(r);
704
- }, "setTreeGridColumnVisibilityById"), Ut = /* @__PURE__ */ a((e, t) => {
704
+ }, "setTreeGridColumnVisibilityById"), Kt = /* @__PURE__ */ a((e, t) => {
705
705
  const n = y(e), r = t == null ? void 0 : t.row, s = t == null ? void 0 : t.col;
706
706
  !n || !r || !s || (n.SetValue(r, `${s}Class`, ye), n.SetValue(r, `${s}Color`, ge), n.RefreshCell(r, s));
707
707
  }, "highlightTreeGridCellById"), M = /* @__PURE__ */ a((e) => {
708
708
  const t = y(e);
709
709
  t && t.ActionDeselectAll(1, 0);
710
- }, "resetTreeGridSelectionById"), Wt = /* @__PURE__ */ a((e) => {
710
+ }, "resetTreeGridSelectionById"), Yt = /* @__PURE__ */ a((e) => {
711
711
  e.forEach(M);
712
712
  }, "resetTreeGridSelectionsByIds"), le = /* @__PURE__ */ a((e) => {
713
713
  const t = y(e);
714
714
  t && (t.ActionUndoAll(1, 0), M(e));
715
- }, "resetTreeGridChangesById"), Kt = /* @__PURE__ */ a((e) => {
715
+ }, "resetTreeGridChangesById"), jt = /* @__PURE__ */ a((e) => {
716
716
  e.forEach(le);
717
- }, "resetTreeGridChangesByIds"), Yt = /* @__PURE__ */ a((e, t, n, r, s) => {
717
+ }, "resetTreeGridChangesByIds"), Xt = /* @__PURE__ */ a((e, t, n, r, s) => {
718
718
  if (!(n != null && n.length))
719
719
  return;
720
720
  const o = y(e);
@@ -725,48 +725,49 @@ const G = /* @__PURE__ */ a((e, t) => {
725
725
  return `${s.map((u) => f[u]).find((u) => u != null && u !== "") ?? ""}`;
726
726
  }).join("|"), c = n.map((l) => `${l[r] ?? ""}`).join("|");
727
727
  o.SetAttribute(null, t, "Type", "Enum", 0, 0), o.SetAttribute(null, t, "Enum", `|${i}`, 0, 0), o.SetAttribute(null, t, "EnumKeys", `|${c}`, 1, 0);
728
- }, "setTreeGridColumnEnumOptionsById"), sn = y, on = Nt, an = Ht, cn = Vt, ln = Pt, fn = Ot, dn = $t, un = kt, yn = Ut, gn = M, hn = Wt, wn = le, pn = Kt, En = Yt;
728
+ }, "setTreeGridColumnEnumOptionsById"), an = y, cn = Vt, ln = Pt, fn = Ot, dn = $t, un = kt, yn = Ut, gn = Wt, hn = Kt, wn = M, pn = Yt, En = le, Rn = jt, Sn = Xt;
729
729
  export {
730
- cn as A,
731
- ln as B,
732
- fn as C,
733
- dn as D,
734
- un as E,
735
- yn as F,
736
- gn as G,
737
- hn as H,
738
- wn as I,
739
- pn as J,
740
- En as K,
730
+ fn as A,
731
+ dn as B,
732
+ un as C,
733
+ yn as D,
734
+ gn as E,
735
+ hn as F,
736
+ wn as G,
737
+ pn as H,
738
+ En as I,
739
+ Rn as J,
740
+ Sn as K,
741
741
  Be as L,
742
- L as M,
743
- vt as N,
744
- Me as O,
745
- en as a,
746
- tn as b,
742
+ ve as M,
743
+ L as N,
744
+ tn as O,
745
+ Me as P,
746
+ nn as a,
747
+ rn as b,
747
748
  Je as c,
748
749
  Ze as d,
749
750
  ce as e,
750
- nn as f,
751
+ sn as f,
751
752
  y as g,
752
- rn as h,
753
+ on as h,
753
754
  Ge as i,
754
- Nt as j,
755
- Vt as k,
756
- Pt as l,
757
- Ot as m,
758
- $t as n,
759
- kt as o,
760
- Ut as p,
755
+ Vt as j,
756
+ Ot as k,
757
+ $t as l,
758
+ kt as m,
759
+ Ut as n,
760
+ Wt as o,
761
+ Kt as p,
761
762
  M as q,
762
- Ht as r,
763
- Yt as s,
763
+ Pt as r,
764
+ Xt as s,
764
765
  ne as t,
765
- Wt as u,
766
+ Yt as u,
766
767
  le as v,
767
- Kt as w,
768
- sn as x,
769
- on as y,
770
- an as z
768
+ jt as w,
769
+ an as x,
770
+ cn as y,
771
+ ln as z
771
772
  };
772
- //# sourceMappingURL=treeGridUtil-WTM_djsN.js.map
773
+ //# sourceMappingURL=treeGridUtil-Ch99srur.js.map