@owp/core 2.5.47 → 2.5.48

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 (342) hide show
  1. package/dist/_virtual/index10.js +2 -2
  2. package/dist/_virtual/index12.js +2 -2
  3. package/dist/_virtual/index13.js +2 -2
  4. package/dist/_virtual/index14.js +2 -2
  5. package/dist/_virtual/index15.js +2 -2
  6. package/dist/_virtual/index17.js +5 -2
  7. package/dist/_virtual/index17.js.map +1 -1
  8. package/dist/_virtual/index18.js +4 -4
  9. package/dist/_virtual/index19.js +4 -4
  10. package/dist/_virtual/index20.js +2 -5
  11. package/dist/_virtual/index20.js.map +1 -1
  12. package/dist/_virtual/index5.js +2 -2
  13. package/dist/components/OwpBarcodeInput/OwpBarcodeInputField.js.map +1 -1
  14. package/dist/components/OwpCommonCode/OwpCommonCodeQuerySelector.js.map +1 -1
  15. package/dist/components/OwpCommonCode/OwpCommonCodeRadioGroup.js.map +1 -1
  16. package/dist/components/OwpCommonCode/OwpCommonCodeSelector.js.map +1 -1
  17. package/dist/components/OwpDialog/OwpAlertDialog.js.map +1 -1
  18. package/dist/components/OwpDialog/OwpDialog.js.map +1 -1
  19. package/dist/components/OwpDialogsProvider/OwpDialogsContext.js.map +1 -1
  20. package/dist/components/OwpErrorStatusPage/OwpErrorStatusPage.js.map +1 -1
  21. package/dist/components/OwpExportExcelButton/OwpExportExcelButton.js.map +1 -1
  22. package/dist/components/OwpFieldHelperText/OwpFieldHelperText.js.map +1 -1
  23. package/dist/components/OwpFilePickerButton/OwpFilePickerButton.js.map +1 -1
  24. package/dist/components/OwpHidden/OwpHidden.js.map +1 -1
  25. package/dist/components/OwpLanguageSwitcherSelect/OwpLanguageSwitcherSelect.js.map +1 -1
  26. package/dist/components/OwpLayout/OwpLayout.js +1 -1
  27. package/dist/components/OwpLayout/OwpLayout.js.map +1 -1
  28. package/dist/components/OwpLoading/OwpLoading.js.map +1 -1
  29. package/dist/components/OwpMoreActionsButton/OwpMoreActionsButton.js.map +1 -1
  30. package/dist/components/OwpNavLinkAdapter/OwpNavLinkAdapter.js.map +1 -1
  31. package/dist/components/OwpOptionSelector/OwpOptionSelector.js.map +1 -1
  32. package/dist/components/OwpPageBreadcrumb/OwpPageBreadcrumb.js.map +1 -1
  33. package/dist/components/OwpPageCarded/OwpPageCarded.js +21 -23
  34. package/dist/components/OwpPageCarded/OwpPageCarded.js.map +1 -1
  35. package/dist/components/OwpPageLockLoading/OwpPageLockLoading.js.map +1 -1
  36. package/dist/components/OwpPageTitle/OwpPageTitle.js.map +1 -1
  37. package/dist/components/OwpPicker/OwpDatePicker.js +141 -144
  38. package/dist/components/OwpPicker/OwpDatePicker.js.map +1 -1
  39. package/dist/components/OwpPicker/OwpDateRangePicker.js +114 -118
  40. package/dist/components/OwpPicker/OwpDateRangePicker.js.map +1 -1
  41. package/dist/components/OwpPicker/OwpTimePicker.js.map +1 -1
  42. package/dist/components/OwpPicker/OwpWeekDatePicker.js +152 -155
  43. package/dist/components/OwpPicker/OwpWeekDatePicker.js.map +1 -1
  44. package/dist/components/OwpPicker/constants/index.js.map +1 -1
  45. package/dist/components/OwpPicker/hooks/useOwpPickerPopperTransition.js.map +1 -1
  46. package/dist/components/OwpPicker/internal/OwpDatePickerCalendarHeader.js.map +1 -1
  47. package/dist/components/OwpPicker/utils/registerOwpDatePickerLocales.js +13 -0
  48. package/dist/components/OwpPicker/utils/registerOwpDatePickerLocales.js.map +1 -0
  49. package/dist/components/OwpQuerySelector/OwpQuerySelector.js +1 -1
  50. package/dist/components/OwpRequiredHelperText/OwpRequiredHelperText.js.map +1 -1
  51. package/dist/components/OwpSelectorBase/OwpSelectorSelect.js.map +1 -1
  52. package/dist/components/OwpSelectorBase/hooks/useOwpSelectorBase.js.map +1 -1
  53. package/dist/components/OwpSelectorBase/selectorBaseStyles.js.map +1 -1
  54. package/dist/components/OwpSnackbarContent/OwpSnackbarContent.js.map +1 -1
  55. package/dist/components/OwpStyleProvider/OwpStyleProvider.js.map +1 -1
  56. package/dist/components/OwpSuspense/OwpSuspense.js +1 -1
  57. package/dist/components/OwpTable/OwpDataTable.js +277 -270
  58. package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
  59. package/dist/components/OwpTable/OwpFieldTable.js +42 -43
  60. package/dist/components/OwpTable/OwpFieldTable.js.map +1 -1
  61. package/dist/components/OwpTable/OwpTable.js +54 -55
  62. package/dist/components/OwpTable/OwpTable.js.map +1 -1
  63. package/dist/components/OwpTable/internal/OwpTableBase.js +34 -35
  64. package/dist/components/OwpTable/internal/OwpTableBase.js.map +1 -1
  65. package/dist/components/OwpTable/internal/defaultTableStyle.js +18 -14
  66. package/dist/components/OwpTable/internal/defaultTableStyle.js.map +1 -1
  67. package/dist/components/OwpTable/internal/treeGridTableStyle.js.map +1 -1
  68. package/dist/components/OwpTabs/OwpTab.js.map +1 -1
  69. package/dist/components/OwpTabs/OwpTabs.js.map +1 -1
  70. package/dist/components/OwpTextField/OwpTextMaskField.js.map +1 -1
  71. package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
  72. package/dist/components/OwpTreeGrid/OwpTreeGridToolbar.js +43 -37
  73. package/dist/components/OwpTreeGrid/OwpTreeGridToolbar.js.map +1 -1
  74. package/dist/components/OwpTreeGrid/TreeGrid.js.map +1 -1
  75. package/dist/components/OwpTreeGrid/internal/OwpTreeGridErrorTooltip.js.map +1 -1
  76. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridAddedRowBoxOverlay.js.map +1 -1
  77. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js +141 -144
  78. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js.map +1 -1
  79. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridErrorTooltip.js.map +1 -1
  80. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridOverlayFrame.js.map +1 -1
  81. package/dist/components/OwpTreeGrid/internal/treeGridLayout.js.map +1 -1
  82. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  83. package/dist/components/OwpTreeGrid/internal/treeGridSelection.js.map +1 -1
  84. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
  85. package/dist/components/OwpTreeGrid/internal/utils/perf.js.map +1 -1
  86. package/dist/components/OwpTreeGridExportExcelButton/OwpTreeGridExportExcelButton.js.map +1 -1
  87. package/dist/components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.js.map +1 -1
  88. package/dist/components/OwpYesNoSelector/OwpYesNoSelector.js.map +1 -1
  89. package/dist/configs/defaultConfig.js.map +1 -1
  90. package/dist/constants/excel.js.map +1 -1
  91. package/dist/constants/gridTheme.js.map +1 -1
  92. package/dist/constants/language.js.map +1 -1
  93. package/dist/constants/localStorageKeys.js.map +1 -1
  94. package/dist/constants/table.js.map +1 -1
  95. package/dist/constants/tableTheme.js.map +1 -1
  96. package/dist/constants/treeGrid.js.map +1 -1
  97. package/dist/contexts/OwpAppContext.js +14 -0
  98. package/dist/contexts/OwpAppContext.js.map +1 -0
  99. package/dist/contexts/OwpAppProvider.js +20 -23
  100. package/dist/contexts/OwpAppProvider.js.map +1 -1
  101. package/dist/contexts/OwpCoreProvider.js.map +1 -1
  102. package/dist/contexts/OwpStoreProvider.js.map +1 -1
  103. package/dist/contexts/OwpUiProvider.js +1 -1
  104. package/dist/contexts/OwpUiProvider.js.map +1 -1
  105. package/dist/contexts.js +8 -7
  106. package/dist/contexts.js.map +1 -1
  107. package/dist/features/themePreview/components/ThemePreviewCanvas.js.map +1 -1
  108. package/dist/features/themePreview/components/ThemePreviewCanvasSections.js.map +1 -1
  109. package/dist/features/themePreview/components/ThemePreviewColorField.js.map +1 -1
  110. package/dist/features/themePreview/components/ThemePreviewControls.js.map +1 -1
  111. package/dist/features/themePreview/components/themePreviewCanvas.icons.js.map +1 -1
  112. package/dist/features/themePreview/components/themePreviewCanvas.shared.js.map +1 -1
  113. package/dist/features/themePreview/configs/grid.js.map +1 -1
  114. package/dist/features/themePreview/configs/presets.js.map +1 -1
  115. package/dist/features/themePreview/configs/previewStorage.js.map +1 -1
  116. package/dist/features/themePreview/configs/settings.js.map +1 -1
  117. package/dist/features/themePreview/configs/snackbar.js.map +1 -1
  118. package/dist/features/themePreview/configs/surface.js.map +1 -1
  119. package/dist/features/themePreview/configs/table.js.map +1 -1
  120. package/dist/features/themePreview/dialogs/ThemePreviewDialog.js.map +1 -1
  121. package/dist/features/themePreview/hooks/useThemePreview.js.map +1 -1
  122. package/dist/features/themePreview/utils/color.js.map +1 -1
  123. package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
  124. package/dist/features/themePreview/utils/themePreviewExport.js.map +1 -1
  125. package/dist/features/themePreview/utils/themePreviewSettings.js.map +1 -1
  126. package/dist/hooks/internal/useAccessTokenGuard.js +1 -1
  127. package/dist/hooks/internal/useAccessTokenGuard.js.map +1 -1
  128. package/dist/hooks/internal/useCurrentLanguage.js.map +1 -1
  129. package/dist/hooks/internal/useInitCommonCodes.js +1 -1
  130. package/dist/hooks/internal/useNavigationActiveRouteRemount.js +1 -1
  131. package/dist/hooks/useCommonCodeList.js.map +1 -1
  132. package/dist/hooks/useConfirm.js.map +1 -1
  133. package/dist/hooks/useCurrentUser.js.map +1 -1
  134. package/dist/hooks/useCurrentUserSeq.js.map +1 -1
  135. package/dist/hooks/useFormDataUploadMutation.js.map +1 -1
  136. package/dist/hooks/useInitApp.js +1 -1
  137. package/dist/hooks/useInitApp.js.map +1 -1
  138. package/dist/hooks/useStorage.js.map +1 -1
  139. package/dist/hooks/useTreeGridExcelExport.js.map +1 -1
  140. package/dist/layout/components/logo/Logo.js +1 -1
  141. package/dist/layout/components/navbar/NavbarToggleButton.js.map +1 -1
  142. package/dist/layout/components/navigation/NavItem.js.map +1 -1
  143. package/dist/layout/components/navigation/NavigationMenu.js.map +1 -1
  144. package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
  145. package/dist/layout/components/toggles/ThemePreviewToggle.js +1 -1
  146. package/dist/layout/components/toolbar/ToolbarLayout.js +1 -1
  147. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
  148. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
  149. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
  150. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
  151. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
  152. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
  153. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
  154. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
  155. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
  156. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
  157. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
  158. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
  159. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
  160. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
  161. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
  162. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
  163. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
  164. package/dist/owp-app.css +1 -1
  165. package/dist/store/atoms/navbarAtoms.js.map +1 -1
  166. package/dist/store/atoms/owpSettingsAtoms.js.map +1 -1
  167. package/dist/store/atoms/owpStore.js.map +1 -1
  168. package/dist/types/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.d.ts +2 -2
  169. package/dist/types/components/OwpBarcodeInput/OwpBarcodeInputField.d.ts +3 -2
  170. package/dist/types/components/OwpCommonCode/OwpCommonCodeQuerySelector.d.ts +28 -2
  171. package/dist/types/components/OwpCommonCode/OwpCommonCodeRadioGroup.d.ts +14 -2
  172. package/dist/types/components/OwpCommonCode/OwpCommonCodeSelector.d.ts +20 -2
  173. package/dist/types/components/OwpDialog/OwpAlertDialog.d.ts +18 -4
  174. package/dist/types/components/OwpDialog/OwpDialog.d.ts +19 -10
  175. package/dist/types/components/OwpDialogsProvider/OwpDialogsContext.d.ts +1 -0
  176. package/dist/types/components/OwpErrorStatusPage/OwpErrorStatusPage.d.ts +8 -0
  177. package/dist/types/components/OwpExportExcelButton/OwpExportExcelButton.d.ts +24 -6
  178. package/dist/types/components/OwpFieldHelperText/OwpFieldHelperText.d.ts +5 -0
  179. package/dist/types/components/OwpFilePickerButton/OwpFilePickerButton.d.ts +13 -6
  180. package/dist/types/components/OwpHidden/OwpHidden.d.ts +12 -0
  181. package/dist/types/components/OwpLanguageSwitcherSelect/OwpLanguageSwitcherSelect.d.ts +2 -1
  182. package/dist/types/components/OwpLayout/OwpLayout.d.ts +10 -4
  183. package/dist/types/components/OwpLoading/OwpLoading.d.ts +7 -1
  184. package/dist/types/components/OwpMoreActionsButton/OwpMoreActionsButton.d.ts +34 -7
  185. package/dist/types/components/OwpNavLinkAdapter/OwpNavLinkAdapter.d.ts +10 -5
  186. package/dist/types/components/OwpNumberField/OwpNumberField.d.ts +4 -4
  187. package/dist/types/components/OwpOptionSelector/OwpOptionSelector.d.ts +19 -2
  188. package/dist/types/components/OwpPageBreadcrumb/OwpPageBreadcrumb.d.ts +8 -0
  189. package/dist/types/components/OwpPageCarded/OwpPageCarded.d.ts +2 -4
  190. package/dist/types/components/OwpPageCarded/internal/OwpPageCardedHeader.d.ts +3 -3
  191. package/dist/types/components/OwpPageCarded/internal/OwpPageCardedSidebar.d.ts +1 -1
  192. package/dist/types/components/OwpPageCarded/internal/OwpPageCardedSidebarContent.d.ts +1 -1
  193. package/dist/types/components/OwpPageContent/OwpPageContent.d.ts +7 -7
  194. package/dist/types/components/OwpPageLockLoading/OwpPageLockLoading.d.ts +7 -3
  195. package/dist/types/components/OwpPageSkeleton/OwpPageSkeleton.d.ts +1 -1
  196. package/dist/types/components/OwpPageTitle/OwpPageTitle.d.ts +10 -6
  197. package/dist/types/components/OwpPicker/OwpDatePicker.d.ts +18 -11
  198. package/dist/types/components/OwpPicker/OwpDateRangePicker.d.ts +15 -10
  199. package/dist/types/components/OwpPicker/OwpTimePicker.d.ts +17 -12
  200. package/dist/types/components/OwpPicker/OwpWeekDatePicker.d.ts +17 -12
  201. package/dist/types/components/OwpPicker/constants/index.d.ts +15 -0
  202. package/dist/types/components/OwpPicker/hooks/useOwpPickerPopperTransition.d.ts +5 -1
  203. package/dist/types/components/OwpPicker/internal/CalendarContainer.d.ts +3 -3
  204. package/dist/types/components/OwpPicker/internal/DatePickerInput.d.ts +11 -11
  205. package/dist/types/components/OwpPicker/internal/OwpDatePickerCalendarHeader.d.ts +1 -0
  206. package/dist/types/components/OwpPicker/utils/registerOwpDatePickerLocales.d.ts +4 -0
  207. package/dist/types/components/OwpQuerySelector/OwpQuerySelector.d.ts +2 -2
  208. package/dist/types/components/OwpQuerySelector/types/types.d.ts +31 -0
  209. package/dist/types/components/OwpRequiredHelperText/OwpRequiredHelperText.d.ts +10 -6
  210. package/dist/types/components/OwpScrollbars/OwpScrollbars.d.ts +2 -2
  211. package/dist/types/components/OwpSearchFilter/OwpSearchFilter.d.ts +7 -7
  212. package/dist/types/components/OwpSection/OwpSection.d.ts +13 -13
  213. package/dist/types/components/OwpSelectorBase/OwpSelectorAutocomplete.d.ts +2 -2
  214. package/dist/types/components/OwpSelectorBase/OwpSelectorBase.d.ts +2 -2
  215. package/dist/types/components/OwpSelectorBase/OwpSelectorSelect.d.ts +2 -2
  216. package/dist/types/components/OwpSelectorBase/hooks/useOwpSelectorBase.d.ts +2 -2
  217. package/dist/types/components/OwpSelectorBase/selectorBaseStyles.d.ts +2 -0
  218. package/dist/types/components/OwpSelectorBase/types/types.d.ts +54 -1
  219. package/dist/types/components/OwpSelectorBase/utils/querySelectorUtils.d.ts +2 -2
  220. package/dist/types/components/OwpSnackbarContent/OwpSnackbarContent.d.ts +1 -0
  221. package/dist/types/components/OwpStyleProvider/OwpStyleProvider.d.ts +10 -5
  222. package/dist/types/components/OwpSuspense/OwpSuspense.d.ts +1 -1
  223. package/dist/types/components/OwpTable/OwpDataTable.d.ts +11 -11
  224. package/dist/types/components/OwpTable/OwpFieldTable.d.ts +13 -13
  225. package/dist/types/components/OwpTable/OwpTable.d.ts +7 -7
  226. package/dist/types/components/OwpTable/internal/OwpTableBase.d.ts +15 -2
  227. package/dist/types/components/OwpTable/internal/defaultTableStyle.d.ts +8 -0
  228. package/dist/types/components/OwpTable/internal/treeGridTableStyle.d.ts +4 -1
  229. package/dist/types/components/OwpTabs/OwpTab.d.ts +1 -3
  230. package/dist/types/components/OwpTabs/OwpTabs.d.ts +1 -3
  231. package/dist/types/components/OwpTextField/OwpTextMaskField.d.ts +7 -4
  232. package/dist/types/components/OwpTreeGrid/OwpTreeGrid.d.ts +91 -15
  233. package/dist/types/components/OwpTreeGrid/OwpTreeGridToolbar.d.ts +10 -5
  234. package/dist/types/components/OwpTreeGrid/TreeGrid.d.ts +11 -7
  235. package/dist/types/components/OwpTreeGrid/internal/OwpTreeGridErrorTooltip.d.ts +6 -2
  236. package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridAddedRowBoxOverlay.d.ts +6 -0
  237. package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridErrorTooltip.d.ts +8 -1
  238. package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridOverlayFrame.d.ts +7 -0
  239. package/dist/types/components/OwpTreeGrid/internal/treeGridLayout.d.ts +12 -0
  240. package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +38 -3
  241. package/dist/types/components/OwpTreeGrid/internal/treeGridSelection.d.ts +10 -1
  242. package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +15 -1
  243. package/dist/types/components/OwpTreeGrid/internal/utils/perf.d.ts +4 -3
  244. package/dist/types/components/OwpTreeGridExportExcelButton/OwpTreeGridExportExcelButton.d.ts +7 -3
  245. package/dist/types/components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.d.ts +7 -3
  246. package/dist/types/components/OwpYesNoSelector/OwpYesNoSelector.d.ts +7 -6
  247. package/dist/types/components/OwpZoomImageSlider/OwpZoomImageSlider.d.ts +8 -8
  248. package/dist/types/configs/defaultConfig.d.ts +13 -7
  249. package/dist/types/configs/layoutConfig.d.ts +1 -0
  250. package/dist/types/constants/excel.d.ts +18 -0
  251. package/dist/types/constants/gridTheme.d.ts +10 -1
  252. package/dist/types/constants/language.d.ts +3 -0
  253. package/dist/types/constants/localStorageKeys.d.ts +7 -1
  254. package/dist/types/constants/storageKeys.d.ts +1 -1
  255. package/dist/types/constants/table.d.ts +3 -0
  256. package/dist/types/constants/tableTheme.d.ts +6 -2
  257. package/dist/types/constants/treeGrid.d.ts +19 -3
  258. package/dist/types/contexts/OwpAppContext.d.ts +164 -0
  259. package/dist/types/contexts/OwpAppProvider.d.ts +4 -81
  260. package/dist/types/contexts/OwpCoreProvider.d.ts +11 -7
  261. package/dist/types/contexts/OwpStoreProvider.d.ts +8 -4
  262. package/dist/types/contexts/OwpUiProvider.d.ts +9 -4
  263. package/dist/types/contexts/index.d.ts +1 -0
  264. package/dist/types/dayjs.d.ts +2 -2
  265. package/dist/types/features/themePreview/components/ThemePreviewCanvas.d.ts +4 -0
  266. package/dist/types/features/themePreview/components/ThemePreviewCanvasSections.d.ts +7 -0
  267. package/dist/types/features/themePreview/components/ThemePreviewColorField.d.ts +4 -0
  268. package/dist/types/features/themePreview/components/ThemePreviewControls.d.ts +4 -0
  269. package/dist/types/features/themePreview/components/themePreviewCanvas.icons.d.ts +1 -0
  270. package/dist/types/features/themePreview/components/themePreviewCanvas.shared.d.ts +81 -0
  271. package/dist/types/features/themePreview/configs/grid.d.ts +3 -0
  272. package/dist/types/features/themePreview/configs/presets.d.ts +12 -0
  273. package/dist/types/features/themePreview/configs/previewStorage.d.ts +44 -0
  274. package/dist/types/features/themePreview/configs/settings.d.ts +3 -0
  275. package/dist/types/features/themePreview/configs/snackbar.d.ts +23 -0
  276. package/dist/types/features/themePreview/configs/surface.d.ts +3 -0
  277. package/dist/types/features/themePreview/configs/table.d.ts +24 -0
  278. package/dist/types/features/themePreview/dialogs/ThemePreviewDialog.d.ts +4 -0
  279. package/dist/types/features/themePreview/hooks/useThemePreview.d.ts +4 -0
  280. package/dist/types/features/themePreview/types/themePreview.d.ts +59 -0
  281. package/dist/types/features/themePreview/utils/color.d.ts +25 -0
  282. package/dist/types/features/themePreview/utils/themePreviewDefinitions.d.ts +6 -0
  283. package/dist/types/features/themePreview/utils/themePreviewExport.d.ts +19 -0
  284. package/dist/types/features/themePreview/utils/themePreviewSettings.d.ts +84 -0
  285. package/dist/types/hooks/internal/useAccessTokenGuard.d.ts +7 -3
  286. package/dist/types/hooks/internal/useCurrentLanguage.d.ts +4 -3
  287. package/dist/types/hooks/internal/useHeaderWrapState.d.ts +1 -1
  288. package/dist/types/hooks/internal/useInitCommonCodes.d.ts +1 -1
  289. package/dist/types/hooks/internal/useNavbar.d.ts +2 -2
  290. package/dist/types/hooks/internal/useShortcuts.d.ts +2 -2
  291. package/dist/types/hooks/useCommonCodeList.d.ts +12 -4
  292. package/dist/types/hooks/useConfirm.d.ts +5 -1
  293. package/dist/types/hooks/useCurrentUser.d.ts +5 -2
  294. package/dist/types/hooks/useCurrentUserId.d.ts +2 -2
  295. package/dist/types/hooks/useCurrentUserSeq.d.ts +11 -4
  296. package/dist/types/hooks/useFormDataUploadMutation.d.ts +18 -3
  297. package/dist/types/hooks/useInitApp.d.ts +7 -3
  298. package/dist/types/hooks/useLogoSrc.d.ts +2 -2
  299. package/dist/types/hooks/useNavigation.d.ts +2 -2
  300. package/dist/types/hooks/useOwpSettings.d.ts +13 -13
  301. package/dist/types/hooks/useOwpTranslation.d.ts +1 -1
  302. package/dist/types/hooks/usePageLockLoading.d.ts +2 -2
  303. package/dist/types/hooks/useStorage.d.ts +10 -4
  304. package/dist/types/hooks/useTreeGridCommonCodeEnums.d.ts +4 -4
  305. package/dist/types/hooks/useTreeGridEnums.d.ts +6 -6
  306. package/dist/types/hooks/useTreeGridExcelExport.d.ts +4 -1
  307. package/dist/types/layout/Layout.d.ts +1 -1
  308. package/dist/types/layout/components/navbar/NavbarToggleButton.d.ts +5 -4
  309. package/dist/types/layout/components/navigation/NavItem.d.ts +9 -3
  310. package/dist/types/layout/components/navigation/NavigationMenu.d.ts +13 -8
  311. package/dist/types/store/atoms/navbarAtoms.d.ts +5 -1
  312. package/dist/types/store/atoms/owpSettingsAtoms.d.ts +60 -8
  313. package/dist/types/store/atoms/owpStore.d.ts +9 -2
  314. package/dist/types/types/OwpDialogTypes.d.ts +75 -0
  315. package/dist/types/types/OwpGridThemeTypes.d.ts +59 -0
  316. package/dist/types/types/OwpNavigationTypes.d.ts +29 -0
  317. package/dist/types/types/OwpRouteTypes.d.ts +10 -3
  318. package/dist/types/types/OwpSettingsTypes.d.ts +30 -0
  319. package/dist/types/types/OwpTableThemeTypes.d.ts +30 -0
  320. package/dist/types/types/ThemeFormConfigTypes.d.ts +5 -6
  321. package/dist/types/utils/commonCodeUtils.d.ts +18 -0
  322. package/dist/types/utils/createFormDataBody.d.ts +18 -0
  323. package/dist/types/utils/excelUtil.d.ts +5 -5
  324. package/dist/types/utils/getStartPagePath.d.ts +10 -0
  325. package/dist/types/utils/internal/exceljsBrowser.d.ts +1 -1
  326. package/dist/types/utils/internal/jszipBrowser.d.ts +1 -1
  327. package/dist/types/utils/internal/treeGridBodyRowsEvent.d.ts +4 -1
  328. package/dist/types/utils/isEnterKeyEvent.d.ts +2 -2
  329. package/dist/types/utils/preloadOnIdle.d.ts +1 -1
  330. package/dist/types/utils/rebuildValue.d.ts +8 -1
  331. package/dist/types/utils/treeGridExportExcelUtil.d.ts +6 -0
  332. package/dist/types/utils/treeGridUtil.d.ts +38 -1
  333. package/dist/types/utils/zipUtil.d.ts +14 -2
  334. package/dist/utils/commonCodeUtils.js.map +1 -1
  335. package/dist/utils/createFormDataBody.js.map +1 -1
  336. package/dist/utils/getStartPagePath.js.map +1 -1
  337. package/dist/utils/internal/treeGridBodyRowsEvent.js.map +1 -1
  338. package/dist/utils/rebuildValue.js.map +1 -1
  339. package/dist/utils/treeGridExportExcelUtil.js.map +1 -1
  340. package/dist/utils/treeGridUtil.js.map +1 -1
  341. package/dist/utils/zipUtil.js.map +1 -1
  342. package/package.json +1 -1
@@ -1,18 +1,23 @@
1
1
  import { CacheProvider } from '@emotion/react';
2
2
  import { type Theme } from '@mui/material/styles';
3
- import { ComponentProps, ReactNode } from 'react';
3
+ import { type ComponentProps, type ReactNode } from 'react';
4
4
  type OwpCacheProviderProps = Omit<ComponentProps<typeof CacheProvider>, 'children'>;
5
+ /**
6
+ * OWP style provider props
7
+ */
5
8
  export interface OwpStyleProviderProps {
9
+ /** theme boundary 내부에 render할 children */
6
10
  children?: ReactNode;
11
+ /** 직접 적용할 MUI theme. 생략 시 store main theme 사용 */
7
12
  theme?: Theme;
13
+ /** document body class와 app-level global style 적용 여부 */
8
14
  root?: boolean;
15
+ /** Emotion CacheProvider props. `value`가 없으면 CacheProvider를 생략 */
9
16
  cacheProviderProps?: OwpCacheProviderProps;
10
17
  }
11
18
  /**
12
- * CacheProvider, theme composition
13
- * @param theme MUI theme 객체. 미지정 store main theme 사용
14
- * @param root 글로벌 스타일 적용 여부
15
- * @param cacheProviderProps CacheProvider 옵션
19
+ * OWP app 전역 MUI theme, Emotion cache, global style을 제공하는 provider
20
+ * @param props 직접 theme 또는 store fallback theme, root global style 여부, CacheProvider 설정
16
21
  */
17
22
  export declare function OwpStyleProvider(props: OwpStyleProviderProps): import("react/jsx-runtime").JSX.Element;
18
23
  export {};
@@ -1,5 +1,5 @@
1
1
  import type { OwpLoadingProps } from '@/components/OwpLoading/OwpLoading';
2
- import { ReactNode } from 'react';
2
+ import { type ReactNode } from 'react';
3
3
  type OwpSuspenseProps = {
4
4
  loadingProps?: OwpLoadingProps;
5
5
  children: ReactNode;
@@ -43,18 +43,18 @@ type OwpDataTableBlurEvent = Record<string, unknown> & {
43
43
  };
44
44
  };
45
45
  /**
46
- * OwpDataTable 컴포넌트
47
- * @param className CSS 클래스명
48
- * @param sx sx
49
- * @param headSx headSx
50
- * @param headCells headCells
51
- * @param rows 데이터 목록
52
- * @param selected selected
53
- * @param canTableRadiusZero 테이블 radius 0 사용 여부
54
- * @param canUseTableRadius 테이블 radius 사용 여부
46
+ * checkbox selection, order by, total count row를 제공하는 data table
47
+ * @param className root table className
48
+ * @param sx root table sx
49
+ * @param headSx header row/cell sx
50
+ * @param headCells header cell 정의 목록
51
+ * @param rows body row 데이터 목록
52
+ * @param selected 선택된 row 목록
53
+ * @param canTableRadiusZero table radius 0 강제 여부
54
+ * @param canUseTableRadius table radius token 적용 여부
55
55
  * @param canUseTreeGridStyle TreeGrid 스타일 사용 여부
56
- * @param tableBorderRadius 테이블 radius 값
57
- * @param fixedRowCount 고정 row 수
56
+ * @param tableBorderRadius table radius token 또는 CSS length
57
+ * @param fixedRowCount 최소 높이를 유지할 body row 수
58
58
  */
59
59
  export declare function OwpDataTable<T extends Row = Row>({ className, sx, headSx, headCells, rows, selected, canCheckbox, canTotalCountRow, canSelectingSingle, canUseOrderBy, canTableRadiusZero, canUseTableRadius, canUseTreeGridStyle, tableBorderRadius, fixedRowCount, onSelect, onBlur, }: OwpDataTableProps<T>): import("react/jsx-runtime").JSX.Element;
60
60
  export {};
@@ -38,20 +38,20 @@ interface OwpFieldTableProps {
38
38
  tableBorderRadius?: string | number;
39
39
  }
40
40
  /**
41
- * OwpFieldTable 컴포넌트
42
- * @param layout layout
43
- * @param titleWidth titleWidth
44
- * @param titleSx titleSx
45
- * @param treeGridTitleCellSx TreeGrid title cell sx
46
- * @param cellSx cellSx
47
- * @param data 데이터
48
- * @param colGroupSlot colGroupSlot
49
- * @param className className
50
- * @param tableLayout tableLayout
51
- * @param canTableRadiusZero 테이블 radius 0 사용 여부
52
- * @param canUseTableRadius 테이블 radius 사용 여부
41
+ * label/value field layout을 table 형태로 render
42
+ * @param layout row/column별 field cell 정의
43
+ * @param titleWidth title cell 너비
44
+ * @param titleSx title cell sx
45
+ * @param treeGridTitleCellSx TreeGrid 스타일 모드 title cell sx
46
+ * @param cellSx value cell sx
47
+ * @param data field value를 조회할 row data
48
+ * @param colGroupSlot custom colgroup 영역
49
+ * @param className root table className
50
+ * @param tableLayout CSS table-layout
51
+ * @param canTableRadiusZero table radius 0 강제 여부
52
+ * @param canUseTableRadius table radius token 적용 여부
53
53
  * @param canUseTreeGridStyle TreeGrid 스타일 사용 여부
54
- * @param tableBorderRadius 테이블 radius 값
54
+ * @param tableBorderRadius table radius token 또는 CSS length
55
55
  */
56
56
  export declare function OwpFieldTable({ layout, titleWidth, titleSx, treeGridTitleCellSx, cellSx, data, colGroupSlot, className, tableLayout, canTableRadiusZero, canUseTableRadius, canUseTreeGridStyle, tableBorderRadius, }: OwpFieldTableProps): import("react/jsx-runtime").JSX.Element;
57
57
  export {};
@@ -8,15 +8,15 @@ interface OwpTableProps<T> extends Omit<OwpTableBaseProps, 'children'> {
8
8
  totalCount?: number;
9
9
  }
10
10
  /**
11
- * OwpTable 컴포넌트
11
+ * header map과 row data로 단순 display table을 구성
12
12
  * @param canTotalCountRow 전체 row 수 표시 여부
13
- * @param canTableRadiusZero 테이블 radius 0 사용 여부
14
- * @param canUseTableRadius 테이블 radius 사용 여부
13
+ * @param canTableRadiusZero table radius 0 강제 여부
14
+ * @param canUseTableRadius table radius token 적용 여부
15
15
  * @param canUseTreeGridStyle TreeGrid 스타일 사용 여부
16
- * @param headers headers
17
- * @param rows 데이터 목록
18
- * @param tableBorderRadius 테이블 radius 값
19
- * @param totalCount 전체 row 수
16
+ * @param headers header label map 또는 header row 목록
17
+ * @param rows body row 데이터 목록
18
+ * @param tableBorderRadius table radius token 또는 CSS length
19
+ * @param totalCount 외부에서 계산한 전체 row 수
20
20
  */
21
21
  export declare function OwpTable<T>({ canTotalCountRow, headers, rows, totalCount, ...restTableProps }: OwpTableProps<T>): import("react/jsx-runtime").JSX.Element;
22
22
  export {};
@@ -3,28 +3,41 @@ import { type OwpResolvedTableThemeConfigType } from '@/constants/tableTheme';
3
3
  import { type TableProps } from '@mui/material/Table';
4
4
  import { type TableContainerProps } from '@mui/material/TableContainer';
5
5
  import { type ReactNode } from 'react';
6
+ /** OWP table shell과 TreeGrid 스타일 호환 모드를 제어하는 속성 */
6
7
  export interface OwpTableBaseProps extends TableProps {
8
+ /** body row가 container 높이를 채우도록 stretch 적용 여부 */
7
9
  canBodyFullHeight?: boolean;
10
+ /** table/container radius를 0으로 강제할지 여부 */
8
11
  canTableRadiusZero?: boolean;
12
+ /** table radius token 적용 여부 */
9
13
  canUseTableRadius?: boolean;
14
+ /** TreeGrid와 동일한 border/typography 스타일 사용 여부 */
10
15
  canUseTreeGridStyle?: boolean;
16
+ /** 외부 TableContainer 속성 */
11
17
  containerProps?: TableContainerProps;
18
+ /** TableContainer 아래에 배치할 footer 영역 */
12
19
  footerSlot?: ReactNode;
20
+ /** resolved table theme override */
13
21
  tableTheme?: OwpResolvedTableThemeConfigType;
22
+ /** CSS table-layout 값 */
14
23
  tableLayout?: 'auto' | 'fixed';
24
+ /** table radius token 또는 CSS length 값 */
15
25
  tableBorderRadius?: string | number;
26
+ /** TreeGrid 스타일 모드에서 사용할 resolved grid theme */
16
27
  treeGridTheme?: OwpResolvedGridThemeConfigType;
28
+ /** 접근성/디버깅용 table title */
17
29
  title?: string;
30
+ /** table section/content */
18
31
  children: ReactNode;
19
32
  }
20
33
  /**
21
- * OWP Table 기반 컨테이너
34
+ * OWP Table 기반 container
22
35
  * @param canBodyFullHeight body full height 사용 여부
23
36
  * @param canTableRadiusZero 테이블 radius 0 사용 여부
24
37
  * @param canUseTableRadius 테이블 radius 사용 여부
25
38
  * @param canUseTreeGridStyle TreeGrid 스타일 사용 여부
26
39
  * @param children 하위 콘텐츠
27
- * @param containerProps containerProps props
40
+ * @param containerProps TableContainer 부가 속성
28
41
  * @param footerSlot footer 영역
29
42
  * @param tableLayout tableLayout 값
30
43
  * @param tableBorderRadius 테이블 radius 값
@@ -1,5 +1,12 @@
1
1
  import type { OwpResolvedTableThemeConfigType } from '@/constants/tableTheme';
2
+ /** Default table header background fallback color */
2
3
  export declare const DEFAULT_TABLE_HEADER_BACKGROUND_COLOR = "#f5f5f5";
4
+ /**
5
+ * 기본 table border 색상
6
+ * @param mode palette mode
7
+ */
8
+ export declare const getDefaultTableBorderColor: (mode?: string) => "rgba(241,245,249,.12)" | "#e2e8f0";
9
+ /** OwpTableBase에서 사용하는 table theme 기본 resolved token */
3
10
  export declare const defaultStyledTableTheme: {
4
11
  borderColor: string;
5
12
  header: {
@@ -39,6 +46,7 @@ export declare const getDefaultTableHeaderLabelSx: (tableTheme: OwpResolvedTable
39
46
  readonly fontSize: string | number;
40
47
  readonly fontWeight: string | number;
41
48
  };
49
+ /** sort label이 header color를 상속하도록 고정하는 sx */
42
50
  export declare const defaultTableSortLabelSx: {
43
51
  readonly '&.MuiTableSortLabel-root': {
44
52
  readonly color: "inherit";
@@ -1,9 +1,12 @@
1
1
  import type { OwpResolvedGridThemeConfigType } from '@/constants/gridTheme';
2
+ /** TreeGrid 스타일 table header border 색상 */
2
3
  export declare const TREEGRID_TABLE_HEADER_BORDER_COLOR = "#6F7F94";
4
+ /** TreeGrid 스타일 table body border 색상 */
3
5
  export declare const TREEGRID_TABLE_BODY_BORDER_COLOR = "#CDD8E4";
6
+ /** TreeGrid 스타일 table font family stack */
4
7
  export declare const TREEGRID_TABLE_FONT_FAMILY_STACK: string;
5
8
  /**
6
- * TreeGrid 컨테이너 색상 매핑
9
+ * TreeGrid container 색상 mapping
7
10
  * @param treeGridTheme Grid theme 값
8
11
  */
9
12
  export declare const getTreeGridContainerSx: (treeGridTheme: OwpResolvedGridThemeConfigType) => {
@@ -1,6 +1,4 @@
1
- /**
2
- * OwpTab 컴포넌트
3
- */
1
+ /** ripple을 제거하고 OWP tab height/spacing을 고정한 MUI Tab variant */
4
2
  declare const OwpTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "action" | "disabled" | "className" | "classes" | "children" | "sx" | "label" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "value" | "icon" | "wrapped" | "iconPosition"> & {
5
3
  component?: React.ElementType | undefined;
6
4
  } & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,6 +1,4 @@
1
- /**
2
- * OwpTabs 컴포넌트
3
- */
1
+ /** scroll button 없이 full-width indicator를 사용하는 OWP Tabs wrapper */
4
2
  declare const OwpTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "action" | "className" | "classes" | "children" | "sx" | "variant" | "aria-label" | "aria-labelledby" | "onChange" | "slots" | "slotProps" | "value" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & {
5
3
  component?: React.ElementType | undefined;
6
4
  } & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -2,11 +2,16 @@ import type { FormControlProps } from '@mui/material/FormControl';
2
2
  import type { InputProps as MuiInputProps } from '@mui/material/Input';
3
3
  import { type ReactNode } from 'react';
4
4
  import { type Definitions, type FactoryOpts } from 'imask';
5
+ /**
6
+ * IMask accept event를 MUI TextField change 형태로 정규화한 event
7
+ */
5
8
  export type OwpTextMaskFieldChangeEvent = {
9
+ /** MUI input change와 호환되는 target name/value */
6
10
  target: {
7
11
  name: string;
8
12
  value: string;
9
13
  };
14
+ /** mask 문자를 제거한 원본 값 */
10
15
  unmaskedValue: string;
11
16
  };
12
17
  type TextMaskValue = FactoryOpts['mask'];
@@ -23,10 +28,8 @@ type OwpTextMaskFieldProps = Omit<MuiInputProps, 'onChange' | 'inputComponent'>
23
28
  onChange: CustomProps['onMaskChange'];
24
29
  };
25
30
  /**
26
- * 마스크 텍스트 입력 필드
27
- * @param mask 입력 마스크 정의
28
- * @param definitions 사용자 정의 마스크 정의
29
- * @param onChange 마스크 변경 이벤트 핸들러
31
+ * IMask 기반 입력 제한을 MUI Input/FormControl 형태로 제공하는 필드
32
+ * @param props mask 정의, 사용자 definitions, value/defaultValue, label/helper text, change handler
30
33
  */
31
34
  export declare function OwpTextMaskField({ className, sx, id: idProp, name, label, value, defaultValue, color, onChange, error, helperText, mask, definitions, variant, fullWidth, disabled, required, size, placeholder, autoFocus, inputProps, inputRef, ...inputBaseProps }: OwpTextMaskFieldProps): import("react/jsx-runtime").JSX.Element;
32
35
  export {};
@@ -5,31 +5,79 @@ type TreeGridLayoutScalarValue = string | number;
5
5
  type TreeGridNestedLayoutFields = Record<string, TreeGridLayoutScalarValue>;
6
6
  type TreeGridLayoutFields = Record<string, TreeGridLayoutScalarValue | TreeGridNestedLayoutFields>;
7
7
  type TreeGridSectionFields = Record<string, TreeGridLayoutScalarValue>;
8
+ /**
9
+ * TreeGrid XML/JSON layout override 구조
10
+ */
8
11
  export interface OwpTreeGridLayout {
12
+ /** Header section override */
9
13
  Header?: TreeGridLayoutFields;
14
+ /** Toolbar section override */
10
15
  Toolbar?: TreeGridSectionFields;
16
+ /** Foot section override */
11
17
  Foot?: TreeGridSectionFields;
12
18
  }
19
+ /**
20
+ * `OwpTreeGridLayout` 호환 alias
21
+ */
13
22
  export type OwpTreeGridLayoutConfig = OwpTreeGridLayout;
23
+ /**
24
+ * 기존 `header` prop 호환용 layout config alias
25
+ */
14
26
  export type THeader = OwpTreeGridLayoutConfig;
27
+ /**
28
+ * TreeGrid body data 입력 타입
29
+ */
15
30
  export type OwpTreeGridBodyData<T> = Record<string, never> | [] | undefined | T[];
31
+ /**
32
+ * `OwpTreeGridBodyData` 호환 alias
33
+ */
16
34
  export type OwpTreeGridData<T> = OwpTreeGridBodyData<T>;
35
+ /**
36
+ * 기존 `data` prop 호환용 body data alias
37
+ */
17
38
  export type TData<T> = OwpTreeGridBodyData<T>;
39
+ /**
40
+ * TreeGrid row 객체와 app row data를 합친 모델
41
+ */
18
42
  export type OwpTreeGridRowModel<T> = TRow & T;
43
+ /**
44
+ * `onSelect`에서 반환하는 선택 row 목록
45
+ */
19
46
  export type OwpTreeGridSelectedRows<T> = OwpTreeGridRowModel<T>[];
47
+ /**
48
+ * TreeGrid `SuppressCfg` 설정 값
49
+ */
20
50
  export type OwpTreeGridSuppressCfg = 0 | 1 | 2 | 3 | 4;
51
+ /**
52
+ * OWP wrapper에서 비활성화할 수 있는 TreeGrid animation key
53
+ */
21
54
  export type OwpTreeGridDisabledAnimation = 'addRow' | 'deleteRow' | 'selectRow';
55
+ /**
56
+ * DatePicker editor column별 기준 날짜 옵션
57
+ */
22
58
  export interface OwpTreeGridDatePickerEditorColumnOption {
59
+ /** 연도 picker 기준 연도 값 */
23
60
  baseYear?: string;
61
+ /** 월 picker 기준 연월 값 */
24
62
  baseYearMonth?: string;
25
63
  }
64
+ /**
65
+ * TreeGrid cell을 OWP DatePicker editor로 편집하기 위한 설정
66
+ */
26
67
  export interface OwpTreeGridDatePickerEditorConfig {
68
+ /** DatePicker editor 활성화 여부 */
27
69
  enabled?: boolean;
70
+ /** DatePicker editor를 적용할 column key 목록 */
28
71
  columns?: readonly string[];
72
+ /** editor input 직접 입력 허용 여부 */
29
73
  allowInput?: boolean;
74
+ /** column별 DatePicker 기준 날짜 옵션 */
30
75
  columnOptions?: Record<string, OwpTreeGridDatePickerEditorColumnOption>;
76
+ /** 날짜와 시간을 함께 입력하는 input 표시 여부 */
31
77
  showTimeInput?: boolean;
78
+ /** time select UI 표시 여부 */
32
79
  showTimeSelect?: boolean;
80
+ /** time select minute interval */
33
81
  timeIntervals?: number;
34
82
  }
35
83
  type OwpTreeGridSelectHandler<T> = (selectedRows: OwpTreeGridSelectedRows<T>) => void;
@@ -41,62 +89,90 @@ type OwpTreeGridRowClickHandler<T> = (grid: TGrid, row: OwpTreeGridRowModel<T>,
41
89
  type OwpTreeGridSaveHandler<T> = (grid: TGrid, row: OwpTreeGridRowModel<T>, autoupdate: boolean | number) => void;
42
90
  type OwpTreeGridCellValue = unknown;
43
91
  type OwpTreeGridAfterValueChangedHandler<T> = (grid: TGrid, row: OwpTreeGridRowModel<T>, col: string, value: OwpTreeGridCellValue) => void;
92
+ /**
93
+ * OWP TreeGrid wrapper props
94
+ */
44
95
  export interface OwpTreeGridProps<T> {
96
+ /** TreeGrid DOM id와 instance id */
45
97
  id: string;
98
+ /** TreeGrid root className */
46
99
  className?: string;
100
+ /** wrapper container inline style */
47
101
  containerStyle?: CSSProperties;
102
+ /** wrapper container className */
48
103
  containerClassName?: string;
104
+ /** Toolbar row 배경색 override */
49
105
  toolbarRowBackgroundColor?: CSSProperties['backgroundColor'];
106
+ /** TreeGrid layout XML URL */
50
107
  layoutUrl?: string;
108
+ /** TreeGrid layout XML 문자열 */
51
109
  layoutData?: string;
110
+ /** OWP wrapper에서 비활성화할 animation key 목록 */
52
111
  disabledAnimations?: readonly OwpTreeGridDisabledAnimation[];
112
+ /** TreeGrid data XML/JSON URL */
53
113
  dataUrl?: string;
114
+ /** XML layout에 병합할 Header/Toolbar/Foot override */
54
115
  layoutOverrides?: OwpTreeGridLayoutConfig;
116
+ /** TreeGrid body data 배열. 빈 객체/빈 배열/undefined는 빈 데이터로 처리 */
55
117
  data?: OwpTreeGridBodyData<T>;
118
+ /** TreeGrid host element inline style */
56
119
  style?: CSSProperties;
120
+ /** TreeGrid 높이 */
57
121
  height?: string | number;
122
+ /** TreeGrid 너비 */
58
123
  width?: string | number;
124
+ /** OWP table radius style 적용 여부 */
59
125
  canUseTableRadius?: boolean;
126
+ /** OWP table radius style 값 */
60
127
  tableBorderRadius?: string | number;
128
+ /** TreeGrid `SuppressCfg` 값 */
61
129
  suppressCfg?: OwpTreeGridSuppressCfg;
130
+ /** Toolbar에 전체 건수 formula 표시 여부 */
62
131
  showToolbarTotalCount?: boolean;
132
+ /** 그룹 header 하위 sort button 숨김 여부 */
63
133
  hideChildHeaderSortButtons?: boolean;
134
+ /** 선택 row 반환 범위 */
64
135
  selectionScope?: OwpTreeGridSelectionScope;
136
+ /** `dataUrl` 기반 데이터 로딩 사용 여부 */
65
137
  useDataUrl?: boolean;
138
+ /** 선택 row 변경 시 호출. `selectionScope` 처리 후 row 목록 전달 */
66
139
  onSelect?: OwpTreeGridSelectHandler<T>;
140
+ /** row 추가 직후 호출 */
67
141
  onRowAdd?: OwpTreeGridRowAddHandler<T>;
142
+ /** row delete 처리 직후 호출 */
68
143
  onRowDelete?: OwpTreeGridRowDeleteHandler<T>;
144
+ /** row undelete 처리 직후 호출 */
69
145
  onRowUndelete?: OwpTreeGridRowUndeleteHandler<T>;
146
+ /** cell 값 변경 후 호출되는 이전 호환 handler */
70
147
  onRowChange?: OwpTreeGridAfterValueChangedHandler<T>;
148
+ /** TreeGrid button cell 클릭 시 호출 */
71
149
  onClickButton?: OwpTreeGridButtonClickHandler<T>;
150
+ /** TreeGrid instance 초기화 완료 시 호출 */
72
151
  onReady?: (grid: TGrid) => void;
152
+ /** TreeGrid row 클릭 시 호출 */
73
153
  onRowClick?: OwpTreeGridRowClickHandler<T>;
154
+ /** TreeGrid save event 발생 시 호출 */
74
155
  onSave?: OwpTreeGridSaveHandler<T>;
156
+ /** cell 값 변경 후 호출 */
75
157
  onAfterValueChanged?: OwpTreeGridAfterValueChangedHandler<T>;
158
+ /** DatePicker editor 설정 */
76
159
  datePickerEditor?: OwpTreeGridDatePickerEditorConfig;
160
+ /** 편집 가능 cell highlight 표시 여부 */
77
161
  highlightEditableCells?: boolean;
162
+ /** 변경된 cell highlight 표시 여부 */
78
163
  highlightChangedCells?: boolean;
164
+ /** delete 상태 row 편집 가능 여부를 TreeGrid 상태와 동기화할지 여부 */
79
165
  syncDeletedRowCanEdit?: boolean;
166
+ /** delete 상태 row 제거 전 confirm dialog 표시 여부 */
80
167
  confirmDeletedRowRemoval?: boolean;
168
+ /** 외부 loading 상태 */
81
169
  loading?: boolean;
170
+ /** loading overlay 표시 여부 */
82
171
  showLoading?: boolean;
83
172
  }
84
173
  /**
85
- * OwpTreeGrid 컴포넌트
86
- * @param id 식별자
87
- * @param containerStyle containerStyle 값
88
- * @param containerClassName containerClassName 값
89
- * @param toolbarRowBackgroundColor 하단 Toolbar row 배경색
90
- * @param className CSS 클래스명
91
- * @param style 스타일 객체
92
- * @param height height 값
93
- * @param canUseTableRadius TreeGrid 내부 테이블 radius 사용 여부
94
- * @param tableBorderRadius TreeGrid 내부 테이블 radius 값
95
- * @param suppressCfg TreeGrid client 설정 저장/로드 억제값
96
- * @param showToolbarTotalCount Toolbar 전체 건수 기본 formula 표시 여부
97
- * @param hideChildHeaderSortButtons 그룹 헤더 하위 sort 버튼 숨김 여부
98
- * @param selectionScope 선택 행 반환 범위
99
- * @param disabledAnimations 비활성화할 TreeGrid 애니메이션 의미 키 목록
174
+ * OWP theme, layout override, data binding, selection, overlay 처리를 포함한 TreeGrid wrapper
175
+ * @param props TreeGrid id/layout/data, event handlers, selection scope, style와 loading 설정
100
176
  */
101
177
  declare const OwpTreeGrid: <T>({ id, containerStyle, containerClassName, toolbarRowBackgroundColor, className, style, height, width, canUseTableRadius, tableBorderRadius, suppressCfg, showToolbarTotalCount, hideChildHeaderSortButtons, selectionScope, layoutUrl, layoutData, disabledAnimations, dataUrl, layoutOverrides, data, useDataUrl, onSelect, onRowClick, onRowAdd, onRowDelete, onRowUndelete, onRowChange, onClickButton, onSave, onReady, onAfterValueChanged, datePickerEditor, highlightEditableCells, highlightChangedCells, syncDeletedRowCanEdit, confirmDeletedRowRemoval, loading, showLoading, }: OwpTreeGridProps<T>) => import("react/jsx-runtime").JSX.Element;
102
178
  export { OwpTreeGrid };
@@ -1,8 +1,15 @@
1
- import { FormGroupProps } from '@mui/material';
1
+ import { type FormGroupProps } from '@mui/material';
2
+ /**
3
+ * TreeGrid column visibility toolbar props
4
+ */
2
5
  interface OwpTreeGridToolbarProps {
6
+ /** 대상 TreeGrid instance id */
3
7
  gridId: string;
8
+ /** header visibility checkbox 영역 표시 여부 */
4
9
  canVisibleHeaderFilter?: boolean;
10
+ /** toolbar option 목록 */
5
11
  options?: {
12
+ /** 표시/숨김을 제어할 header column 목록 */
6
13
  header?: Array<{
7
14
  label: string;
8
15
  name: string;
@@ -11,10 +18,8 @@ interface OwpTreeGridToolbarProps {
11
18
  };
12
19
  }
13
20
  /**
14
- * OwpTreeGridToolbar 컴포넌트
15
- * @param gridId TreeGrid 인스턴스 ID
16
- * @param canVisibleHeaderFilter canVisibleHeaderFilter 값
17
- * @param options options 값
21
+ * TreeGrid header column 표시 여부를 checkbox로 제어하는 toolbar
22
+ * @param props TreeGrid id, header option 목록, MUI FormGroup 표시 속성
18
23
  */
19
24
  declare const OwpTreeGridToolbar: ({ gridId, canVisibleHeaderFilter, options, className, ...formGroupProps }: OwpTreeGridToolbarProps & FormGroupProps) => import("react/jsx-runtime").JSX.Element;
20
25
  export { OwpTreeGridToolbar };
@@ -1,6 +1,6 @@
1
- import { CSSProperties } from 'react';
1
+ import { type CSSProperties } from 'react';
2
2
  type LayoutDef = {
3
- Cfg: any;
3
+ Cfg: Record<string, unknown>;
4
4
  Def?: TRow;
5
5
  LeftCols?: TCol[];
6
6
  Cols: TCol[];
@@ -8,18 +8,22 @@ type LayoutDef = {
8
8
  Head?: TRow[];
9
9
  Body?: TRow[];
10
10
  };
11
+ /**
12
+ * 레거시 TreeGrid 직접 생성 wrapper props
13
+ */
11
14
  interface TreeGridProps {
15
+ /** TreeGrid DOM id와 instance id */
12
16
  id: string;
17
+ /** wrapper className */
13
18
  className?: string;
19
+ /** wrapper inline style */
14
20
  style?: CSSProperties;
21
+ /** TreeGrid layout definition 객체 */
15
22
  layoutDef: LayoutDef;
16
23
  }
17
24
  /**
18
- * 레거시 TreeGrid 래퍼
19
- * @param id 식별자
20
- * @param className CSS 클래스명
21
- * @param style 스타일 객체
22
- * @param layoutDef 레이아웃 정의
25
+ * layout definition 객체로 TreeGrid instance를 생성/갱신하는 레거시 wrapper
26
+ * @param props TreeGrid id, wrapper style, layout definition
23
27
  */
24
28
  export declare const TreeGrid: ({ id, className, style, layoutDef }: TreeGridProps) => import("react/jsx-runtime").JSX.Element;
25
29
  export {};
@@ -1,11 +1,15 @@
1
+ /** TreeGrid error tooltip을 표시할 anchor와 메시지 상태 */
1
2
  export type OwpTreeGridErrorTooltipState = {
3
+ /** tooltip을 붙일 cell/editor DOM 요소 */
2
4
  anchorEl: HTMLElement;
5
+ /** 동일 cell tooltip 중복 갱신 방지용 key */
3
6
  key: string;
7
+ /** tooltip 본문 메시지 */
4
8
  message: string;
5
9
  };
6
10
  /**
7
- * OwpTreeGrid Error tooltip 표시 컴포넌트
8
- * @param tooltip tooltip 표시 상태
11
+ * TreeGrid cell error 메시지를 anchor 기준 fixed Popper tooltip으로 표시
12
+ * @param tooltip anchor와 메시지를 담은 tooltip 상태
9
13
  */
10
14
  export declare const OwpTreeGridErrorTooltip: ({ tooltip, }: {
11
15
  tooltip: OwpTreeGridErrorTooltipState | null;
@@ -1,9 +1,15 @@
1
1
  import { type RefObject } from 'react';
2
+ /** TreeGrid 신규 행 강조 box overlay의 위치와 크기 */
2
3
  export type TreeGridAddedRowBoxFrame = {
4
+ /** overlay key로 사용하는 row ID */
3
5
  id: string;
6
+ /** container 기준 left offset(px) */
4
7
  left: number;
8
+ /** container 기준 top offset(px) */
5
9
  top: number;
10
+ /** overlay width(px) */
6
11
  width: number;
12
+ /** overlay height(px) */
7
13
  height: number;
8
14
  };
9
15
  type UseOwpTreeGridAddedRowBoxOverlayInput = {
@@ -1,14 +1,21 @@
1
1
  import { type ReactNode } from 'react';
2
+ /** TreeGrid error tooltip 표시 요청 payload */
2
3
  export type OwpTreeGridErrorTooltipShowParams = {
4
+ /** tooltip anchor로 사용할 cell/editor DOM 요소 */
3
5
  anchorEl: HTMLElement;
6
+ /** error가 속한 TreeGrid row */
4
7
  row: TRow;
8
+ /** error가 속한 TreeGrid column name */
5
9
  col: string;
10
+ /** tooltip에 표시할 error 메시지 */
6
11
  message: string;
7
12
  };
13
+ /** TreeGrid error tooltip 표시 callback */
8
14
  export type OwpTreeGridErrorTooltipShowHandler = (params: OwpTreeGridErrorTooltipShowParams) => void;
15
+ /** TreeGrid error tooltip 숨김 callback */
9
16
  export type OwpTreeGridErrorTooltipHideHandler = () => void;
10
17
  /**
11
- * OwpTreeGrid Error tooltip 상태
18
+ * OwpTreeGrid Error tooltip 상태 Hook
12
19
  */
13
20
  export declare const useOwpTreeGridErrorTooltip: () => {
14
21
  errorTooltipElement: ReactNode;
@@ -1,8 +1,13 @@
1
1
  import { type RefObject } from 'react';
2
+ /** TreeGrid loading/no-data overlay가 덮을 frame */
2
3
  export type OwpTreeGridOverlayFrame = {
4
+ /** container 기준 left offset(px) */
3
5
  left: number;
6
+ /** container 기준 top offset(px) */
4
7
  top: number;
8
+ /** overlay width(px) */
5
9
  width: number;
10
+ /** overlay height(px) */
6
11
  height: number;
7
12
  };
8
13
  type UseOwpTreeGridOverlayFrameInput = {
@@ -11,7 +16,9 @@ type UseOwpTreeGridOverlayFrameInput = {
11
16
  treeGridInstanceRef: RefObject<TGrid>;
12
17
  debugId?: string;
13
18
  };
19
+ /** TreeGrid no-data overlay가 grid 내부 UI 위에 위치하도록 하는 z-index */
14
20
  export declare const TREE_GRID_NO_DATA_OVERLAY_Z_INDEX = 2147483646;
21
+ /** loading overlay가 no-data overlay보다 위에 위치하도록 하는 z-index */
15
22
  export declare const TREE_GRID_LOADING_OVERLAY_Z_INDEX = 2147483647;
16
23
  /**
17
24
  * TreeGrid overlay frame hook
@@ -1,14 +1,23 @@
1
1
  import { type OwpTreeGridLayoutConfig } from '../OwpTreeGrid';
2
2
  type TreeGridHeaderLayoutConfig = NonNullable<OwpTreeGridLayoutConfig['Header']>;
3
3
  type TreeGridSectionConfig = Record<string, unknown>;
4
+ /** TreeGrid Header layout section key */
4
5
  export declare const TREE_GRID_HEADER_SECTION = "Header";
6
+ /** TreeGrid Toolbar layout section key */
5
7
  export declare const TREE_GRID_TOOLBAR_SECTION = "Toolbar";
8
+ /** TreeGrid Foot layout section key */
6
9
  export declare const TREE_GRID_FOOT_SECTION = "Foot";
10
+ /** TreeGrid layout XML/JSON에서 sibling section을 연결하는 key */
7
11
  export declare const TREE_GRID_NEXT_SIBLING_KEY = "nextSibling";
12
+ /** layoutConfig 적용 대상 section key 목록 */
8
13
  export declare const TREE_GRID_LAYOUT_SECTION_KEYS: readonly ["Header", "Toolbar", "Foot"];
14
+ /** 기존 사용처 호환용 Header section alias */
9
15
  export declare const HEADER = "Header";
16
+ /** 기존 사용처 호환용 Toolbar section alias */
10
17
  export declare const TOOLBAR = "Toolbar";
18
+ /** 기존 사용처 호환용 Foot section alias */
11
19
  export declare const FOOTER = "Foot";
20
+ /** 기존 사용처 호환용 nextSibling key alias */
12
21
  export declare const NEXT_SIBLING = "nextSibling";
13
22
  /**
14
23
  * applyTreeGridSubHeaderLayoutText 적용 함수
@@ -16,13 +25,16 @@ export declare const NEXT_SIBLING = "nextSibling";
16
25
  * @param headerLayout headerLayout 값
17
26
  */
18
27
  export declare const applyTreeGridSubHeaderLayoutText: (grid: TTGrid, headerLayout?: TreeGridHeaderLayoutConfig) => void;
28
+ /** 기존 API 호환을 위해 유지하는 sub header layout 적용 alias */
19
29
  export declare const applySubHeaderLayoutTextToGrid: (grid: TTGrid, headerLayout?: TreeGridHeaderLayoutConfig) => void;
30
+ /** 기존 API 호환을 위해 유지하는 sub header layout 변경 alias */
20
31
  export declare const changeSubHeaderLayoutTextByGrid: (grid: TTGrid, headerLayout?: TreeGridHeaderLayoutConfig) => void;
21
32
  /**
22
33
  * parseTreeGridXmlToJson 파싱 함수
23
34
  * @param xmlString XML 문자열
24
35
  */
25
36
  export declare const parseTreeGridXmlToJson: (xmlString?: string) => TreeGridSectionConfig[];
37
+ /** 기존 API 호환을 위해 유지하는 XML layout parser alias */
26
38
  export declare const convertXmlToJson: (xmlString?: string) => TreeGridSectionConfig[];
27
39
  /**
28
40
  * applyTreeGridLayoutToGrid 적용 함수