@owp/core 2.5.61 → 2.5.63

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 (226) hide show
  1. package/dist/_virtual/index10.js +2 -2
  2. package/dist/_virtual/index11.js +2 -2
  3. package/dist/_virtual/index12.js +2 -2
  4. package/dist/_virtual/index13.js +2 -2
  5. package/dist/_virtual/index15.js +2 -2
  6. package/dist/_virtual/index17.js +2 -5
  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 +5 -2
  11. package/dist/_virtual/index20.js.map +1 -1
  12. package/dist/_virtual/index3.js +2 -2
  13. package/dist/_virtual/index4.js +2 -2
  14. package/dist/_virtual/index5.js +2 -2
  15. package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js +73 -33
  16. package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js.map +1 -1
  17. package/dist/components/OwpPageCarded/OwpPageCarded.js +10 -10
  18. package/dist/components/OwpPageCarded/OwpPageCarded.js.map +1 -1
  19. package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebar.js +5 -5
  20. package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebar.js.map +1 -1
  21. package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebarContent.js +1 -1
  22. package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebarContent.js.map +1 -1
  23. package/dist/components/OwpPageContent/OwpPageContent.js +3 -3
  24. package/dist/components/OwpPageContent/OwpPageContent.js.map +1 -1
  25. package/dist/components/{OwpPageTitle/OwpPageTitle.js → OwpPageContent/internal/PageTitle.js} +7 -7
  26. package/dist/components/OwpPageContent/internal/PageTitle.js.map +1 -0
  27. package/dist/components/OwpTable/OwpDataTable.js +98 -98
  28. package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
  29. package/dist/components/OwpTable/OwpFieldTable.js +70 -68
  30. package/dist/components/OwpTable/OwpFieldTable.js.map +1 -1
  31. package/dist/components/OwpTable/internal/OwpTableBase.js +47 -38
  32. package/dist/components/OwpTable/internal/OwpTableBase.js.map +1 -1
  33. package/dist/components/OwpTable/internal/defaultTableStyle.js +11 -8
  34. package/dist/components/OwpTable/internal/defaultTableStyle.js.map +1 -1
  35. package/dist/components/OwpTextField/OwpBarcodeInputField.js +50 -0
  36. package/dist/components/OwpTextField/OwpBarcodeInputField.js.map +1 -0
  37. package/dist/components/OwpTreeGrid/OwpTreeGrid.js +301 -284
  38. package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
  39. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +811 -745
  40. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  41. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +631 -580
  42. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
  43. package/dist/components/{OwpHidden/OwpHidden.js → internal/Hidden.js} +9 -9
  44. package/dist/components/internal/Hidden.js.map +1 -0
  45. package/dist/components/{OwpScrollbars/OwpScrollbars.js → internal/Scrollbars.js} +6 -6
  46. package/dist/components/internal/Scrollbars.js.map +1 -0
  47. package/dist/configs/defaultConfig.js +248 -159
  48. package/dist/configs/defaultConfig.js.map +1 -1
  49. package/dist/constants/gridTheme.js +85 -61
  50. package/dist/constants/gridTheme.js.map +1 -1
  51. package/dist/constants/tableTheme.js.map +1 -1
  52. package/dist/constants/treeGrid.js +57 -54
  53. package/dist/constants/treeGrid.js.map +1 -1
  54. package/dist/constants.js +50 -47
  55. package/dist/contexts/OwpDialogsContext.js.map +1 -0
  56. package/dist/{components/OwpDialogsProvider → contexts}/OwpDialogsProvider.js +3 -3
  57. package/dist/contexts/OwpDialogsProvider.js.map +1 -0
  58. package/dist/{components/OwpStyleProvider → contexts}/OwpStyleProvider.js +2 -2
  59. package/dist/contexts/OwpStyleProvider.js.map +1 -0
  60. package/dist/contexts/OwpUiProvider.js +22 -22
  61. package/dist/contexts/OwpUiProvider.js.map +1 -1
  62. package/dist/{components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js → contexts/internal/AutoLogoutDialog.js} +4 -4
  63. package/dist/contexts/internal/AutoLogoutDialog.js.map +1 -0
  64. package/dist/{components/OwpPageLockLoading/OwpPageLockLoading.js → contexts/internal/PageLockLoading.js} +11 -11
  65. package/dist/contexts/internal/PageLockLoading.js.map +1 -0
  66. package/dist/{components/OwpSnackbarContent/OwpSnackbarContent.js → contexts/internal/SnackbarContent.js} +26 -26
  67. package/dist/contexts/internal/SnackbarContent.js.map +1 -0
  68. package/dist/contexts.js +10 -6
  69. package/dist/contexts.js.map +1 -1
  70. package/dist/features/themePreview/components/ThemePreviewCanvas.js +270 -256
  71. package/dist/features/themePreview/components/ThemePreviewCanvas.js.map +1 -1
  72. package/dist/features/themePreview/components/ThemePreviewCanvasSections.js +195 -191
  73. package/dist/features/themePreview/components/ThemePreviewCanvasSections.js.map +1 -1
  74. package/dist/features/themePreview/components/ThemePreviewColorField.js +185 -188
  75. package/dist/features/themePreview/components/ThemePreviewColorField.js.map +1 -1
  76. package/dist/features/themePreview/components/ThemePreviewControls.js +213 -206
  77. package/dist/features/themePreview/components/ThemePreviewControls.js.map +1 -1
  78. package/dist/features/themePreview/components/themePreviewCanvas.shared.js +238 -148
  79. package/dist/features/themePreview/components/themePreviewCanvas.shared.js.map +1 -1
  80. package/dist/features/themePreview/configs/grid.js +3 -59
  81. package/dist/features/themePreview/configs/grid.js.map +1 -1
  82. package/dist/features/themePreview/configs/presets.js +90 -52
  83. package/dist/features/themePreview/configs/presets.js.map +1 -1
  84. package/dist/features/themePreview/configs/settings.js +51 -27
  85. package/dist/features/themePreview/configs/settings.js.map +1 -1
  86. package/dist/features/themePreview/configs/table.js +8 -5
  87. package/dist/features/themePreview/configs/table.js.map +1 -1
  88. package/dist/features/themePreview/defs/ThemePreviewGridDef.xml.js +26 -11
  89. package/dist/features/themePreview/defs/ThemePreviewGridDef.xml.js.map +1 -1
  90. package/dist/features/themePreview/defs/ThemePreviewReadonlyGridDef.xml.js +25 -11
  91. package/dist/features/themePreview/defs/ThemePreviewReadonlyGridDef.xml.js.map +1 -1
  92. package/dist/features/themePreview/dialogs/ThemePreviewDialog.js +250 -209
  93. package/dist/features/themePreview/dialogs/ThemePreviewDialog.js.map +1 -1
  94. package/dist/features/themePreview/hooks/useThemePreview.js +373 -274
  95. package/dist/features/themePreview/hooks/useThemePreview.js.map +1 -1
  96. package/dist/features/themePreview/utils/themePreviewDefinitions.js +79 -63
  97. package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
  98. package/dist/features/themePreview/utils/themePreviewExport.js +1 -1
  99. package/dist/features/themePreview/utils/themePreviewSettings.js +258 -170
  100. package/dist/features/themePreview/utils/themePreviewSettings.js.map +1 -1
  101. package/dist/hooks/useOwpDialogs.js +1 -1
  102. package/dist/index.js +89 -107
  103. package/dist/index.js.map +1 -1
  104. package/dist/layout/Layout.js +18 -18
  105. package/dist/layout/Layout.js.map +1 -1
  106. package/dist/layout/components/navbar/style/NavbarStyle.js +1 -1
  107. package/dist/layout/components/navbar/style/NavbarStyle.js.map +1 -1
  108. package/dist/layout/components/navbar/style/NavbarStyleContent.js +11 -11
  109. package/dist/layout/components/navbar/style/NavbarStyleContent.js.map +1 -1
  110. package/dist/{components/OwpNavLinkAdapter/OwpNavLinkAdapter.js → layout/components/navigation/internal/NavLinkAdapter.js} +25 -25
  111. package/dist/layout/components/navigation/internal/NavLinkAdapter.js.map +1 -0
  112. package/dist/layout/components/navigation/vertical/types/NavVerticalCollapse.js +15 -15
  113. package/dist/layout/components/navigation/vertical/types/NavVerticalGroup.js +6 -6
  114. package/dist/layout/components/navigation/vertical/types/NavVerticalItem.js +4 -4
  115. package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
  116. package/dist/layout/components/toolbar/ToolbarLayout.js +29 -29
  117. package/dist/layout/components/toolbar/ToolbarLayout.js.map +1 -1
  118. package/dist/{components/OwpPageBreadcrumb/OwpPageBreadcrumb.js → layout/components/toolbar/internal/PageBreadcrumb.js} +9 -9
  119. package/dist/layout/components/toolbar/internal/PageBreadcrumb.js.map +1 -0
  120. package/dist/{components/OwpPageSkeleton/OwpPageSkeleton.js → layout/internal/PageSkeleton.js} +9 -9
  121. package/dist/layout/internal/PageSkeleton.js.map +1 -0
  122. package/dist/{components/OwpSuspense/OwpSuspense.js → layout/internal/Suspense.js} +37 -37
  123. package/dist/layout/internal/Suspense.js.map +1 -0
  124. package/dist/node_modules/.pnpm/inko@1.1.1/node_modules/inko/index.js +1 -1
  125. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
  126. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
  127. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/constants.js +1 -1
  128. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
  129. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
  130. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
  131. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
  132. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
  133. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
  134. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
  135. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
  136. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/index.js +1 -1
  137. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
  138. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
  139. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
  140. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
  141. package/dist/owp-app.css +1 -1
  142. package/dist/types/components/{OwpPageTitle/OwpPageTitle.d.ts → OwpPageContent/internal/PageTitle.d.ts} +3 -3
  143. package/dist/types/components/OwpTable/internal/defaultTableStyle.d.ts +5 -2
  144. package/dist/types/components/OwpTextField/OwpBarcodeInputField.d.ts +15 -0
  145. package/dist/types/components/OwpTextField/index.d.ts +1 -0
  146. package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +9 -1
  147. package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +8 -1
  148. package/dist/types/components/{OwpHidden/OwpHidden.d.ts → internal/Hidden.d.ts} +4 -4
  149. package/dist/types/components/{OwpScrollbars/OwpScrollbars.d.ts → internal/Scrollbars.d.ts} +7 -7
  150. package/dist/types/configs/defaultConfig.d.ts +4 -4
  151. package/dist/types/constants/gridTheme.d.ts +24 -0
  152. package/dist/types/constants/tableTheme.d.ts +1 -0
  153. package/dist/types/constants/treeGrid.d.ts +8 -2
  154. package/dist/types/contexts/index.d.ts +2 -0
  155. package/dist/types/{components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.d.ts → contexts/internal/AutoLogoutDialog.d.ts} +2 -2
  156. package/dist/types/contexts/internal/PageLockLoading.d.ts +7 -0
  157. package/dist/types/contexts/internal/SnackbarContent.d.ts +3 -0
  158. package/dist/types/features/themePreview/components/ThemePreviewColorField.d.ts +4 -5
  159. package/dist/types/features/themePreview/components/themePreviewCanvas.shared.d.ts +38 -2
  160. package/dist/types/features/themePreview/configs/grid.d.ts +14 -0
  161. package/dist/types/features/themePreview/configs/presets.d.ts +4 -2
  162. package/dist/types/features/themePreview/configs/settings.d.ts +40 -0
  163. package/dist/types/features/themePreview/configs/table.d.ts +2 -0
  164. package/dist/types/features/themePreview/hooks/useThemePreview.d.ts +2 -0
  165. package/dist/types/hooks/usePageLockLoading.d.ts +3 -3
  166. package/dist/types/index.d.ts +1 -10
  167. package/dist/types/{components/OwpNavLinkAdapter/OwpNavLinkAdapter.d.ts → layout/components/navigation/internal/NavLinkAdapter.d.ts} +3 -3
  168. package/dist/types/layout/internal/PageSkeleton.d.ts +6 -0
  169. package/dist/types/layout/internal/Suspense.d.ts +13 -0
  170. package/dist/types/types/OwpGridThemeTypes.d.ts +30 -1
  171. package/dist/types/types/OwpMuiThemeTypes.d.ts +16 -0
  172. package/dist/types/types/OwpTableThemeTypes.d.ts +2 -0
  173. package/dist/types/types/PageLockLoadingTypes.d.ts +9 -0
  174. package/dist/types/types/index.d.ts +1 -0
  175. package/dist/utils/treeGridUtil.js +44 -38
  176. package/dist/utils/treeGridUtil.js.map +1 -1
  177. package/package.json +1 -1
  178. package/dist/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js.map +0 -1
  179. package/dist/components/OwpBarcodeInput/OwpBarcodeInputField.js +0 -38
  180. package/dist/components/OwpBarcodeInput/OwpBarcodeInputField.js.map +0 -1
  181. package/dist/components/OwpDialogsProvider/OwpDialogsContext.js.map +0 -1
  182. package/dist/components/OwpDialogsProvider/OwpDialogsProvider.js.map +0 -1
  183. package/dist/components/OwpHidden/OwpHidden.js.map +0 -1
  184. package/dist/components/OwpNavLinkAdapter/OwpNavLinkAdapter.js.map +0 -1
  185. package/dist/components/OwpPageBreadcrumb/OwpPageBreadcrumb.js.map +0 -1
  186. package/dist/components/OwpPageLockLoading/OwpPageLockLoading.js.map +0 -1
  187. package/dist/components/OwpPageSkeleton/OwpPageSkeleton.js.map +0 -1
  188. package/dist/components/OwpPageTitle/OwpPageTitle.js.map +0 -1
  189. package/dist/components/OwpScrollbars/OwpScrollbars.js.map +0 -1
  190. package/dist/components/OwpSnackbarContent/OwpSnackbarContent.js.map +0 -1
  191. package/dist/components/OwpStyleProvider/OwpStyleProvider.js.map +0 -1
  192. package/dist/components/OwpSuspense/OwpSuspense.js.map +0 -1
  193. package/dist/components/OwpZoomImageSlider/OwpZoomImageSlider.js +0 -66
  194. package/dist/components/OwpZoomImageSlider/OwpZoomImageSlider.js.map +0 -1
  195. package/dist/components/OwpZoomImageSlider/internal/ZoomImage.js +0 -49
  196. package/dist/components/OwpZoomImageSlider/internal/ZoomImage.js.map +0 -1
  197. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowBackIosNew.js +0 -9
  198. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowBackIosNew.js.map +0 -1
  199. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowForwardIos.js +0 -9
  200. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowForwardIos.js.map +0 -1
  201. package/dist/types/components/OwpAutoLogoutDialog/index.d.ts +0 -1
  202. package/dist/types/components/OwpBarcodeInput/OwpBarcodeInput.d.ts +0 -1
  203. package/dist/types/components/OwpBarcodeInput/OwpBarcodeInputField.d.ts +0 -7
  204. package/dist/types/components/OwpBarcodeInput/index.d.ts +0 -1
  205. package/dist/types/components/OwpDialogsProvider/index.d.ts +0 -1
  206. package/dist/types/components/OwpHidden/index.d.ts +0 -2
  207. package/dist/types/components/OwpNavLinkAdapter/index.d.ts +0 -2
  208. package/dist/types/components/OwpPageBreadcrumb/index.d.ts +0 -2
  209. package/dist/types/components/OwpPageLockLoading/OwpPageLockLoading.d.ts +0 -15
  210. package/dist/types/components/OwpPageLockLoading/index.d.ts +0 -1
  211. package/dist/types/components/OwpPageSkeleton/OwpPageSkeleton.d.ts +0 -6
  212. package/dist/types/components/OwpPageSkeleton/index.d.ts +0 -1
  213. package/dist/types/components/OwpPageTitle/index.d.ts +0 -1
  214. package/dist/types/components/OwpScrollbars/index.d.ts +0 -1
  215. package/dist/types/components/OwpSnackbarContent/OwpSnackbarContent.d.ts +0 -3
  216. package/dist/types/components/OwpStyleProvider/index.d.ts +0 -2
  217. package/dist/types/components/OwpSuspense/OwpSuspense.d.ts +0 -16
  218. package/dist/types/components/OwpSuspense/index.d.ts +0 -1
  219. package/dist/types/components/OwpZoomImageSlider/OwpZoomImageSlider.d.ts +0 -20
  220. package/dist/types/components/OwpZoomImageSlider/index.d.ts +0 -1
  221. package/dist/types/components/OwpZoomImageSlider/internal/ZoomImage.d.ts +0 -7
  222. /package/dist/{components/OwpDialogsProvider → contexts}/OwpDialogsContext.js +0 -0
  223. /package/dist/types/{components/OwpDialogsProvider → contexts}/OwpDialogsContext.d.ts +0 -0
  224. /package/dist/types/{components/OwpDialogsProvider → contexts}/OwpDialogsProvider.d.ts +0 -0
  225. /package/dist/types/{components/OwpStyleProvider → contexts}/OwpStyleProvider.d.ts +0 -0
  226. /package/dist/types/{components/OwpPageBreadcrumb/OwpPageBreadcrumb.d.ts → layout/components/toolbar/internal/PageBreadcrumb.d.ts} +0 -0
@@ -1,60 +1,60 @@
1
- var ne = Object.defineProperty;
2
- var d = (c, i) => ne(c, "name", { value: i, configurable: !0 });
1
+ var de = Object.defineProperty;
2
+ var d = (c, i) => de(c, "name", { value: i, configurable: !0 });
3
3
  import { jsx as e, jsxs as r } from "../../../node_modules/.pnpm/@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
4
- import de from "../defs/ThemePreviewGridDef.xml.js";
5
- import ce from "../defs/ThemePreviewReadonlyGridDef.xml.js";
6
- import { OwpDatePicker as se } from "../../../components/OwpPicker/OwpDatePicker.js";
7
- import { OwpDataTable as J } from "../../../components/OwpTable/OwpDataTable.js";
4
+ import ce from "../defs/ThemePreviewGridDef.xml.js";
5
+ import se from "../defs/ThemePreviewReadonlyGridDef.xml.js";
6
+ import { OwpDatePicker as he } from "../../../components/OwpPicker/OwpDatePicker.js";
7
+ import { OwpDataTable as K } from "../../../components/OwpTable/OwpDataTable.js";
8
8
  import { OwpFieldTable as $ } from "../../../components/OwpTable/OwpFieldTable.js";
9
9
  import { OwpTable as Q } from "../../../components/OwpTable/OwpTable.js";
10
- import { TREEGRID_CELL_CHANGED_CLASS as he } from "../../../constants/treeGrid.js";
10
+ import { TREEGRID_CELL_CHANGED_CLASS as me } from "../../../constants/treeGrid.js";
11
11
  import { OwpStoreProvider as O } from "../../../contexts/OwpStoreProvider.js";
12
- import z from "../../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Close.js";
13
- import me from "../../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Search.js";
14
- import fe from "../../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/SpaceDashboardOutlined.js";
15
- import { TableHead as xe, TableRow as F, TableCell as I, TableBody as pe, Table as ue, Typography as h, Box as w, Skeleton as W, Paper as D, TextField as k, Button as R, ButtonBase as ve, CircularProgress as H, LinearProgress as U, IconButton as we } from "@mui/material";
16
- import { useTheme as K, createTheme as ge, ThemeProvider as be, alpha as L } from "@mui/material/styles";
17
- import { useSetAtom as ye } from "jotai";
18
- import { enqueueSnackbar as Te, closeSnackbar as j, SnackbarContent as Se } from "notistack";
19
- import { memo as S, useState as Ce, useRef as Ne, useEffect as Re, useMemo as Pe, useLayoutEffect as We } from "react";
20
- import { previewChromeBorder as P, gridPreviewColumnLabels as Ee, gridPreviewRows as Ge, gridPreviewBodyText as ke, getThemePreviewFieldTableSx as A, getThemePreviewFieldTableTitleSx as Z, tableFieldPreviewLayout as ee, tableFieldPreviewData as le, getThemePreviewFieldTableCellSx as _, getThemePreviewBasicTableSx as Me, tablePreviewRows as Oe, tablePreviewHeaders as re, getThemePreviewDataTableSx as Be, dataTablePreviewRows as V, dataTablePreviewHeadCells as ie, gridCanvasPreviewRows as q, gridStyledTablePreviewRows as $e, gridStyledDataTablePreviewRows as De, previewNoop as T, previewInnerCardSx as ae, searchHeaderPreviewData as Ae, previewSectionCardClassName as _e } from "./themePreviewCanvas.shared.js";
21
- import { OwpStyleProvider as B } from "../../../components/OwpStyleProvider/OwpStyleProvider.js";
22
- import { OwpTreeGrid as X } from "../../../components/OwpTreeGrid/OwpTreeGrid.js";
23
- import { OwpYesNoSelector as ze } from "../../../components/OwpYesNoSelector/OwpYesNoSelector.js";
12
+ import { OwpStyleProvider as _ } from "../../../contexts/OwpStyleProvider.js";
13
+ import I from "../../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Close.js";
14
+ import fe from "../../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Search.js";
15
+ import xe from "../../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/SpaceDashboardOutlined.js";
16
+ import { TableHead as pe, TableRow as F, TableCell as U, TableBody as ue, Table as ve, Typography as h, Box as w, Skeleton as E, Paper as A, TextField as M, Button as T, ButtonBase as we, CircularProgress as H, LinearProgress as L, IconButton as ge } from "@mui/material";
17
+ import { useTheme as Z, createTheme as be, ThemeProvider as ye, alpha as j } from "@mui/material/styles";
18
+ import { useSetAtom as Te } from "jotai";
19
+ import { enqueueSnackbar as Se, closeSnackbar as V, SnackbarContent as Ce } from "notistack";
20
+ import { memo as C, useState as Ne, useRef as Re, useEffect as Pe, useMemo as Ee, useLayoutEffect as We } from "react";
21
+ import { previewChromeBorder as P, gridPreviewColumnLabels as Ge, gridPreviewRows as Me, gridPreviewBodyText as ke, getThemePreviewFieldTableSx as D, getThemePreviewFieldTableTitleSx as ee, tableFieldPreviewLayout as le, tableFieldPreviewData as re, getThemePreviewFieldTableCellSx as z, getThemePreviewBasicTableSx as Oe, tablePreviewRows as _e, tablePreviewHeaders as ie, getThemePreviewDataTableSx as Be, dataTablePreviewRows as q, dataTablePreviewHeadCells as ae, gridCanvasPreviewRows as X, gridStyledTablePreviewRows as $e, gridStyledDataTablePreviewRows as Ae, previewNoop as S, previewInnerCardSx as ne, searchHeaderPreviewData as De, previewSectionCardClassName as ze } from "./themePreviewCanvas.shared.js";
22
+ import { OwpTreeGrid as Y } from "../../../components/OwpTreeGrid/OwpTreeGrid.js";
23
+ import { OwpYesNoSelector as Ie } from "../../../components/OwpYesNoSelector/OwpYesNoSelector.js";
24
24
  import { OwpPageContent as Fe } from "../../../components/OwpPageContent/OwpPageContent.js";
25
- import { OwpSection as Y } from "../../../components/OwpSection/OwpSection.js";
26
- import { owpSettingsStateAtom as Ie } from "../../../store/atoms/owpSettingsAtoms.js";
25
+ import { OwpSection as J } from "../../../components/OwpSection/OwpSection.js";
26
+ import { owpSettingsStateAtom as Ue } from "../../../store/atoms/owpSettingsAtoms.js";
27
27
  import { OwpSearchFilter as He } from "../../../components/OwpSearchFilter/OwpSearchFilter.js";
28
- function Ue({ state: c }) {
29
- const i = ye(Ie), l = c.owpSettings;
28
+ function Le({ state: c }) {
29
+ const i = Te(Ue), l = c.owpSettings;
30
30
  return We(() => {
31
31
  !(l != null && l.current) || !(l != null && l.defaults) || !(l != null && l.initial) || i(l);
32
32
  }, [l, i]), null;
33
33
  }
34
- d(Ue, "ThemePreviewStoreStateSync");
34
+ d(Le, "ThemePreviewStoreStateSync");
35
35
  function y({
36
36
  children: c,
37
37
  fillContentHeight: i = !1,
38
38
  gapClassName: l = "gap-16",
39
- paperClassName: a = _e,
40
- sx: t,
41
- title: n
39
+ paperClassName: a = ze,
40
+ sx: n,
41
+ title: t
42
42
  }) {
43
- const u = n != null && n !== "";
43
+ const u = t != null && t !== "";
44
44
  return /* @__PURE__ */ e(
45
- D,
45
+ A,
46
46
  {
47
47
  className: a,
48
48
  sx: {
49
- ...ae,
50
- ...t
49
+ ...ne,
50
+ ...n
51
51
  },
52
52
  children: /* @__PURE__ */ r(
53
53
  "div",
54
54
  {
55
55
  className: `flex flex-col ${u ? l : ""} ${i ? "min-h-0 flex-1" : ""}`,
56
56
  children: [
57
- u ? /* @__PURE__ */ e(h, { variant: "subtitle1", fontWeight: 700, children: n }) : null,
57
+ u ? /* @__PURE__ */ e(h, { variant: "subtitle1", fontWeight: 700, children: t }) : null,
58
58
  c
59
59
  ]
60
60
  }
@@ -63,18 +63,18 @@ function y({
63
63
  );
64
64
  }
65
65
  d(y, "PreviewSectionCard");
66
- function M({ children: c }) {
67
- const i = K(), l = Pe(
68
- () => ge(i, {
66
+ function k({ children: c }) {
67
+ const i = Z(), l = Ee(
68
+ () => be(i, {
69
69
  palette: {
70
70
  divider: P
71
71
  }
72
72
  }),
73
73
  [i]
74
74
  );
75
- return /* @__PURE__ */ e(be, { theme: l, children: c });
75
+ return /* @__PURE__ */ e(ye, { theme: l, children: c });
76
76
  }
77
- d(M, "ThemePreviewStaticDividerBoundary");
77
+ d(k, "ThemePreviewStaticDividerBoundary");
78
78
  function te({
79
79
  buttonPreviewItems: c,
80
80
  mainTextSecondary: i
@@ -82,14 +82,14 @@ function te({
82
82
  return /* @__PURE__ */ r("div", { className: "flex flex-col gap-12", children: [
83
83
  /* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
84
84
  /* @__PURE__ */ e(h, { variant: "caption", sx: { color: i }, children: "contained" }),
85
- /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-8", children: c.map(({ label: l, color: a, previewContrastColor: t }) => /* @__PURE__ */ e(
86
- R,
85
+ /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-8", children: c.map(({ label: l, color: a, previewContrastColor: n }) => /* @__PURE__ */ e(
86
+ T,
87
87
  {
88
88
  size: "small",
89
89
  variant: "contained",
90
90
  sx: {
91
91
  backgroundColor: a,
92
- color: t,
92
+ color: n,
93
93
  minWidth: 72,
94
94
  px: 1.5,
95
95
  py: 0.625
@@ -102,18 +102,18 @@ function te({
102
102
  /* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
103
103
  /* @__PURE__ */ e(h, { variant: "caption", sx: { color: i }, children: "outlined" }),
104
104
  /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-8", children: c.map(({ label: l, color: a }) => /* @__PURE__ */ e(
105
- R,
105
+ T,
106
106
  {
107
107
  size: "small",
108
108
  variant: "outlined",
109
109
  sx: {
110
- borderColor: L(a, 0.52),
110
+ borderColor: j(a, 0.52),
111
111
  color: a,
112
112
  minWidth: 72,
113
113
  px: 1.5,
114
114
  py: 0.625,
115
115
  "&:hover": {
116
- backgroundColor: L(a, 0.08),
116
+ backgroundColor: j(a, 0.08),
117
117
  borderColor: a
118
118
  }
119
119
  },
@@ -125,32 +125,32 @@ function te({
125
125
  ] });
126
126
  }
127
127
  d(te, "ThemePreviewButtonsPreviewContent");
128
- const ul = S(/* @__PURE__ */ d(function({
128
+ const gl = C(/* @__PURE__ */ d(function({
129
129
  buttonPreviewItems: i,
130
130
  mainTextSecondary: l,
131
131
  mainThemePreviewStoreState: a,
132
- previewSectionCardSx: t
132
+ previewSectionCardSx: n
133
133
  }) {
134
- return /* @__PURE__ */ e(O, { preloadedState: a, children: /* @__PURE__ */ e(B, { children: /* @__PURE__ */ r("div", { className: "grid gap-16 xl:grid-cols-[188px_212px_minmax(0,9fr)_minmax(280px,13fr)]", children: [
134
+ return /* @__PURE__ */ e(O, { preloadedState: a, children: /* @__PURE__ */ e(_, { children: /* @__PURE__ */ r("div", { className: "grid gap-16 xl:grid-cols-[188px_212px_minmax(0,9fr)_minmax(280px,13fr)]", children: [
135
135
  /* @__PURE__ */ e(
136
136
  y,
137
137
  {
138
138
  gapClassName: "gap-12",
139
139
  sx: {
140
- ...t,
140
+ ...n,
141
141
  minWidth: 0
142
142
  },
143
143
  title: "Common",
144
144
  children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-12", children: [
145
145
  /* @__PURE__ */ r("div", { className: "flex items-center justify-between gap-12", children: [
146
146
  /* @__PURE__ */ r("div", { className: "flex items-center gap-8", children: [
147
- /* @__PURE__ */ e(fe, { color: "primary" }),
147
+ /* @__PURE__ */ e(xe, { color: "primary" }),
148
148
  /* @__PURE__ */ e(h, { variant: "body2", color: "primary.main", fontWeight: 600, children: "primary" })
149
149
  ] }),
150
150
  /* @__PURE__ */ e(H, { color: "primary", size: 18, thickness: 5 })
151
151
  ] }),
152
152
  /* @__PURE__ */ e(
153
- U,
153
+ L,
154
154
  {
155
155
  color: "primary",
156
156
  sx: { borderRadius: 999, height: 6, width: "100%" },
@@ -160,13 +160,13 @@ const ul = S(/* @__PURE__ */ d(function({
160
160
  ),
161
161
  /* @__PURE__ */ r("div", { className: "flex items-center justify-between gap-12", children: [
162
162
  /* @__PURE__ */ r("div", { className: "flex items-center gap-8", children: [
163
- /* @__PURE__ */ e(me, { color: "secondary" }),
163
+ /* @__PURE__ */ e(fe, { color: "secondary" }),
164
164
  /* @__PURE__ */ e(h, { variant: "body2", color: "secondary.main", fontWeight: 600, children: "secondary" })
165
165
  ] }),
166
166
  /* @__PURE__ */ e(H, { color: "secondary", size: 18, thickness: 5 })
167
167
  ] }),
168
168
  /* @__PURE__ */ e(
169
- U,
169
+ L,
170
170
  {
171
171
  color: "secondary",
172
172
  sx: { borderRadius: 999, height: 6, width: "100%" },
@@ -182,39 +182,39 @@ const ul = S(/* @__PURE__ */ d(function({
182
182
  {
183
183
  gapClassName: "gap-12",
184
184
  sx: {
185
- ...t,
185
+ ...n,
186
186
  minWidth: 0
187
187
  },
188
188
  title: "Inputs",
189
189
  children: /* @__PURE__ */ r("div", { className: "grid gap-12", children: [
190
190
  /* @__PURE__ */ e(
191
- k,
191
+ M,
192
192
  {
193
193
  fullWidth: !0,
194
194
  label: "기본 입력",
195
- onChange: T,
195
+ onChange: S,
196
196
  size: "small",
197
197
  value: "기본 상태"
198
198
  }
199
199
  ),
200
200
  /* @__PURE__ */ e(
201
- k,
201
+ M,
202
202
  {
203
203
  focused: !0,
204
204
  fullWidth: !0,
205
205
  label: "포커스 입력",
206
- onChange: T,
206
+ onChange: S,
207
207
  size: "small",
208
208
  value: "focus 상태"
209
209
  }
210
210
  ),
211
211
  /* @__PURE__ */ e(
212
- k,
212
+ M,
213
213
  {
214
214
  disabled: !0,
215
215
  fullWidth: !0,
216
216
  label: "비활성 입력",
217
- onChange: T,
217
+ onChange: S,
218
218
  size: "small",
219
219
  value: "disabled 상태"
220
220
  }
@@ -227,7 +227,7 @@ const ul = S(/* @__PURE__ */ d(function({
227
227
  {
228
228
  gapClassName: "gap-12",
229
229
  sx: {
230
- ...t,
230
+ ...n,
231
231
  minWidth: 0
232
232
  },
233
233
  title: "Text",
@@ -244,7 +244,7 @@ const ul = S(/* @__PURE__ */ d(function({
244
244
  {
245
245
  gapClassName: "gap-12",
246
246
  sx: {
247
- ...t,
247
+ ...n,
248
248
  minWidth: 0
249
249
  },
250
250
  title: "Buttons",
@@ -258,7 +258,7 @@ const ul = S(/* @__PURE__ */ d(function({
258
258
  }
259
259
  )
260
260
  ] }) }) });
261
- }, "ThemePreviewCommonSection2")), vl = S(/* @__PURE__ */ d(function({
261
+ }, "ThemePreviewCommonSection2")), bl = C(/* @__PURE__ */ d(function({
262
262
  buttonPreviewItems: i,
263
263
  mainTextSecondary: l,
264
264
  previewSectionCardSx: a
@@ -270,25 +270,25 @@ const ul = S(/* @__PURE__ */ d(function({
270
270
  mainTextSecondary: l
271
271
  }
272
272
  ) });
273
- }, "ThemePreviewButtonsSection2")), wl = S(/* @__PURE__ */ d(function({
273
+ }, "ThemePreviewButtonsSection2")), yl = C(/* @__PURE__ */ d(function({
274
274
  previewSectionCardSx: i,
275
275
  previewSnackbarKeysRef: l,
276
276
  snackbarAnchorOrigin: a,
277
- snackbarAutoHideDuration: t,
278
- snackbarPreviewAnchorHorizontal: n,
277
+ snackbarAutoHideDuration: n,
278
+ snackbarPreviewAnchorHorizontal: t,
279
279
  snackbarPreviewAnchorVertical: u,
280
280
  snackbarPreviewFontSize: m,
281
281
  snackbarPreviewItems: x,
282
282
  snackbarPreviewLineHeight: v,
283
- snackbarPreviewMaxSnack: C
283
+ snackbarPreviewMaxSnack: N
284
284
  }) {
285
- const o = K(), s = /* @__PURE__ */ d((p, f, g, b, N, E) => {
286
- const oe = Te(f, {
285
+ const o = Z(), s = /* @__PURE__ */ d((p, f, g, b, R, W) => {
286
+ const oe = Se(f, {
287
287
  anchorOrigin: a,
288
- autoHideDuration: t,
288
+ autoHideDuration: n,
289
289
  variant: p,
290
290
  content: /* @__PURE__ */ d((G) => /* @__PURE__ */ e(
291
- Se,
291
+ Ce,
292
292
  {
293
293
  role: "alert",
294
294
  style: {
@@ -338,7 +338,7 @@ const ul = S(/* @__PURE__ */ d(function({
338
338
  fontSize: 20
339
339
  }
340
340
  },
341
- children: E
341
+ children: W
342
342
  }
343
343
  ),
344
344
  /* @__PURE__ */ e(
@@ -358,20 +358,20 @@ const ul = S(/* @__PURE__ */ d(function({
358
358
  }
359
359
  ),
360
360
  /* @__PURE__ */ e(
361
- we,
361
+ ge,
362
362
  {
363
363
  "aria-label": "close",
364
- onClick: /* @__PURE__ */ d(() => j(G), "onClick"),
364
+ onClick: /* @__PURE__ */ d(() => V(G), "onClick"),
365
365
  size: "small",
366
366
  sx: {
367
367
  color: "inherit",
368
368
  flexShrink: 0,
369
369
  ml: 1,
370
370
  "&:hover": {
371
- backgroundColor: N
371
+ backgroundColor: R
372
372
  }
373
373
  },
374
- children: /* @__PURE__ */ e(z, { fontSize: "small" })
374
+ children: /* @__PURE__ */ e(I, { fontSize: "small" })
375
375
  }
376
376
  )
377
377
  ]
@@ -380,9 +380,9 @@ const ul = S(/* @__PURE__ */ d(function({
380
380
  }
381
381
  ), "content")
382
382
  });
383
- for (l.current.push(oe); l.current.length > C; ) {
383
+ for (l.current.push(oe); l.current.length > N; ) {
384
384
  const G = l.current.shift();
385
- G && j(G);
385
+ G && V(G);
386
386
  }
387
387
  }, "openPreviewSnackbar");
388
388
  return /* @__PURE__ */ e(
@@ -399,22 +399,22 @@ const ul = S(/* @__PURE__ */ d(function({
399
399
  {
400
400
  className: "flex min-h-0 flex-1 flex-col gap-10",
401
401
  style: {
402
- alignItems: n === "left" ? "flex-start" : n === "right" ? "flex-end" : "center",
402
+ alignItems: t === "left" ? "flex-start" : t === "right" ? "flex-end" : "center",
403
403
  justifyContent: u === "bottom" ? "flex-end" : "flex-start"
404
404
  },
405
405
  children: x.map(
406
- ({ key: p, actionHoverColor: f, backgroundColor: g, color: b, icon: N, message: E }) => /* @__PURE__ */ r(
407
- ve,
406
+ ({ key: p, actionHoverColor: f, backgroundColor: g, color: b, icon: R, message: W }) => /* @__PURE__ */ r(
407
+ we,
408
408
  {
409
409
  className: "flex items-center justify-between gap-10 px-16 py-10 text-left",
410
410
  onClick: /* @__PURE__ */ d(() => {
411
411
  s(
412
412
  p,
413
- E,
413
+ W,
414
414
  g,
415
415
  b,
416
416
  f,
417
- N
417
+ R
418
418
  );
419
419
  }, "onClick"),
420
420
  style: {
@@ -426,7 +426,7 @@ const ul = S(/* @__PURE__ */ d(function({
426
426
  },
427
427
  children: [
428
428
  /* @__PURE__ */ r("div", { className: "flex min-w-0 flex-1 items-center gap-10", children: [
429
- /* @__PURE__ */ e("div", { className: "flex shrink-0 items-center", style: { color: b }, children: N }),
429
+ /* @__PURE__ */ e("div", { className: "flex shrink-0 items-center", style: { color: b }, children: R }),
430
430
  /* @__PURE__ */ e(
431
431
  h,
432
432
  {
@@ -441,7 +441,7 @@ const ul = S(/* @__PURE__ */ d(function({
441
441
  lineHeight: v
442
442
  }
443
443
  },
444
- children: E
444
+ children: W
445
445
  }
446
446
  )
447
447
  ] }),
@@ -453,7 +453,7 @@ const ul = S(/* @__PURE__ */ d(function({
453
453
  backgroundColor: f,
454
454
  color: b
455
455
  },
456
- children: /* @__PURE__ */ e(z, { sx: { fontSize: 16 } })
456
+ children: /* @__PURE__ */ e(I, { sx: { fontSize: 16 } })
457
457
  }
458
458
  )
459
459
  ]
@@ -466,33 +466,33 @@ const ul = S(/* @__PURE__ */ d(function({
466
466
  ] })
467
467
  }
468
468
  );
469
- }, "ThemePreviewSnackbarsSection2")), gl = S(/* @__PURE__ */ d(function({
469
+ }, "ThemePreviewSnackbarsSection2")), Tl = C(/* @__PURE__ */ d(function({
470
470
  activeSection: i,
471
471
  gridPreviewTable: l,
472
472
  mainBackground: a,
473
- mainPaper: t,
474
- mainText: n,
473
+ mainPaper: n,
474
+ mainText: t,
475
475
  mainThemePreviewStoreState: u,
476
476
  previewSectionCardSx: m,
477
477
  searchHeaderPreviewDate: x,
478
478
  searchHeaderPreviewNumber: v,
479
- searchHeaderPreviewVersionKey: C,
479
+ searchHeaderPreviewVersionKey: N,
480
480
  tablePreviewCanTableRadiusZero: o,
481
481
  tableTheme: s,
482
482
  tableThemePreviewVersionKey: p
483
483
  }) {
484
- const f = _(s), g = Z(s), b = i === "navbar" || i === "toolbar";
484
+ const f = z(s), g = ee(s), b = i === "navbar" || i === "toolbar";
485
485
  return /* @__PURE__ */ e(y, { paperClassName: "overflow-hidden rounded-lg p-0", sx: m, children: /* @__PURE__ */ e(
486
486
  O,
487
487
  {
488
488
  preloadedState: u,
489
- children: /* @__PURE__ */ e(B, { children: /* @__PURE__ */ r(
489
+ children: /* @__PURE__ */ e(_, { children: /* @__PURE__ */ r(
490
490
  w,
491
491
  {
492
492
  className: "flex flex-col gap-16 p-16",
493
493
  sx: {
494
494
  backgroundColor: a,
495
- color: n,
495
+ color: t,
496
496
  "& .OwpPageContent-header .MuiDivider-root": {
497
497
  my: 1.5
498
498
  },
@@ -502,62 +502,62 @@ const ul = S(/* @__PURE__ */ d(function({
502
502
  },
503
503
  children: [
504
504
  /* @__PURE__ */ e(
505
- D,
505
+ A,
506
506
  {
507
507
  className: "w-full",
508
508
  sx: {
509
509
  backgroundColor: "transparent",
510
510
  boxShadow: "none"
511
511
  },
512
- children: /* @__PURE__ */ r(He, { onSubmit: T, onReset: T, children: [
512
+ children: /* @__PURE__ */ r(He, { onSubmit: S, onReset: S, children: [
513
513
  /* @__PURE__ */ e(
514
- se,
514
+ he,
515
515
  {
516
516
  label: "작업일자",
517
517
  value: x,
518
518
  variant: "standard",
519
- onChange: T
519
+ onChange: S
520
520
  }
521
521
  ),
522
522
  /* @__PURE__ */ e(
523
- ze,
523
+ Ie,
524
524
  {
525
525
  label: "사용여부",
526
526
  yesLabel: "사용",
527
527
  noLabel: "미사용",
528
528
  value: "Y",
529
- onChange: T
529
+ onChange: S
530
530
  }
531
531
  ),
532
532
  /* @__PURE__ */ e(
533
- k,
533
+ M,
534
534
  {
535
535
  label: "번호",
536
536
  variant: "standard",
537
537
  value: v,
538
- onChange: T
538
+ onChange: S
539
539
  }
540
540
  )
541
541
  ] })
542
542
  }
543
543
  ),
544
544
  /* @__PURE__ */ e(
545
- D,
545
+ A,
546
546
  {
547
547
  className: "w-full rounded-lg p-16",
548
548
  sx: {
549
- ...ae,
550
- backgroundColor: t,
549
+ ...ne,
550
+ backgroundColor: n,
551
551
  border: `1px solid ${P}`
552
552
  },
553
553
  children: /* @__PURE__ */ e(
554
554
  Fe,
555
555
  {
556
556
  title: "제목",
557
- centerSlot: /* @__PURE__ */ e("div", { className: "w-[240px]", children: /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
557
+ centerSlot: /* @__PURE__ */ e("div", { className: "w-[240px]", children: /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(
558
558
  w,
559
559
  {
560
- sx: A(
560
+ sx: D(
561
561
  s,
562
562
  o
563
563
  ),
@@ -569,7 +569,7 @@ const ul = S(/* @__PURE__ */ d(function({
569
569
  ...Array.isArray(f) ? f : f ? [f] : [],
570
570
  { py: 0.5, textAlign: "center" }
571
571
  ],
572
- data: Ae,
572
+ data: De,
573
573
  layout: [[{ title: "상태", key: "previewValue" }]],
574
574
  titleSx: [
575
575
  ...Array.isArray(g) ? g : g ? [g] : [],
@@ -582,15 +582,17 @@ const ul = S(/* @__PURE__ */ d(function({
582
582
  }
583
583
  ) }) }),
584
584
  actions: /* @__PURE__ */ r("div", { className: "flex flex-wrap gap-8", children: [
585
- /* @__PURE__ */ e(R, { color: "info", size: "small", variant: "contained", children: "추가" }),
586
- /* @__PURE__ */ e(R, { color: "warning", size: "small", variant: "contained", children: "수정" }),
587
- /* @__PURE__ */ e(R, { color: "error", size: "small", variant: "contained", children: "삭제" }),
588
- /* @__PURE__ */ e(R, { color: "success", size: "small", variant: "contained", children: "다운로드" })
585
+ /* @__PURE__ */ e(T, { color: "primary", size: "small", variant: "contained", children: "생성" }),
586
+ /* @__PURE__ */ e(T, { color: "secondary", size: "small", variant: "contained", children: "수정" }),
587
+ /* @__PURE__ */ e(T, { color: "info", size: "small", variant: "contained", children: "정보" }),
588
+ /* @__PURE__ */ e(T, { color: "warning", size: "small", variant: "contained", children: "개선" }),
589
+ /* @__PURE__ */ e(T, { color: "error", size: "small", variant: "contained", children: "삭제" }),
590
+ /* @__PURE__ */ e(T, { color: "success", size: "small", variant: "contained", children: "다운로드" })
589
591
  ] }),
590
592
  children: /* @__PURE__ */ r("div", { className: "flex min-h-0 flex-1 flex-col gap-12", children: [
591
593
  l,
592
594
  /* @__PURE__ */ e(
593
- Y,
595
+ J,
594
596
  {
595
597
  className: b ? "shrink-0" : "min-h-0 flex-1",
596
598
  title: "섹션 제목",
@@ -599,10 +601,10 @@ const ul = S(/* @__PURE__ */ d(function({
599
601
  {
600
602
  className: "flex min-h-0 flex-1 flex-col pt-12",
601
603
  style: { borderTop: `1px solid ${P}` },
602
- children: /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
604
+ children: /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(
603
605
  w,
604
606
  {
605
- sx: A(
607
+ sx: D(
606
608
  s,
607
609
  o
608
610
  ),
@@ -610,9 +612,9 @@ const ul = S(/* @__PURE__ */ d(function({
610
612
  $,
611
613
  {
612
614
  canUseTreeGridStyle: !0,
613
- cellSx: _(s),
614
- data: le,
615
- layout: ee,
615
+ cellSx: z(s),
616
+ data: re,
617
+ layout: le,
616
618
  titleWidth: 108
617
619
  },
618
620
  `search-header-content-field-table-${p}`
@@ -623,8 +625,8 @@ const ul = S(/* @__PURE__ */ d(function({
623
625
  )
624
626
  }
625
627
  ),
626
- b ? /* @__PURE__ */ e("div", { className: "flex min-h-0 flex-1 flex-col gap-12", children: [0, 1].map((N) => /* @__PURE__ */ e(
627
- Y,
628
+ b ? /* @__PURE__ */ e("div", { className: "flex min-h-0 flex-1 flex-col gap-12", children: [0, 1].map((R) => /* @__PURE__ */ e(
629
+ J,
628
630
  {
629
631
  className: "min-h-0 flex-1",
630
632
  title: "섹션 제목",
@@ -635,7 +637,7 @@ const ul = S(/* @__PURE__ */ d(function({
635
637
  style: { borderTop: `1px solid ${P}` },
636
638
  children: [
637
639
  /* @__PURE__ */ e(
638
- W,
640
+ E,
639
641
  {
640
642
  animation: !1,
641
643
  height: 16,
@@ -644,7 +646,7 @@ const ul = S(/* @__PURE__ */ d(function({
644
646
  }
645
647
  ),
646
648
  /* @__PURE__ */ e(
647
- W,
649
+ E,
648
650
  {
649
651
  animation: !1,
650
652
  height: 16,
@@ -653,7 +655,7 @@ const ul = S(/* @__PURE__ */ d(function({
653
655
  }
654
656
  ),
655
657
  /* @__PURE__ */ e(
656
- W,
658
+ E,
657
659
  {
658
660
  animation: !1,
659
661
  className: "flex-1",
@@ -665,7 +667,7 @@ const ul = S(/* @__PURE__ */ d(function({
665
667
  }
666
668
  )
667
669
  },
668
- `search-header-skeleton-section-${N}`
670
+ `search-header-skeleton-section-${R}`
669
671
  )) }) : null
670
672
  ] })
671
673
  }
@@ -676,42 +678,43 @@ const ul = S(/* @__PURE__ */ d(function({
676
678
  }
677
679
  ) })
678
680
  },
679
- `search-header-${C}`
681
+ `search-header-${N}`
680
682
  ) });
681
- }, "ThemePreviewSearchHeaderSection2")), bl = S(/* @__PURE__ */ d(function({
683
+ }, "ThemePreviewSearchHeaderSection2")), je = "OWP_THEME_PREVIEW.STATUS", B = "OWP_THEME_PREVIEW.WORK_DATE", Ve = "OWP_THEME_PREVIEW.REMARKClass", Sl = C(/* @__PURE__ */ d(function({
682
684
  editableThemePreviewGridId: i,
683
685
  mainThemePreviewStoreState: l,
684
686
  previewSectionCardSx: a,
685
- readonlyThemePreviewGridId: t
687
+ readonlyThemePreviewGridId: n
686
688
  }) {
687
- const [n, u] = Ce(!1), m = Ne(null), x = /* @__PURE__ */ d(() => {
689
+ const [t, u] = Ne(!1), m = Re(null), x = /* @__PURE__ */ d(() => {
688
690
  m.current === null && (m.current = window.requestAnimationFrame(() => {
689
691
  m.current = null, u(!0);
690
692
  }));
691
693
  }, "scheduleReadonlyGridMount");
692
- return Re(
694
+ return Pe(
693
695
  () => () => {
694
696
  m.current !== null && (window.cancelAnimationFrame(m.current), m.current = null);
695
697
  },
696
698
  []
697
699
  ), /* @__PURE__ */ e(y, { title: "Grid", sx: a, children: /* @__PURE__ */ r(O, { preloadedState: l, children: [
698
- /* @__PURE__ */ e(Ue, { state: l }),
699
- /* @__PURE__ */ e(B, { children: /* @__PURE__ */ r(
700
+ /* @__PURE__ */ e(Le, { state: l }),
701
+ /* @__PURE__ */ e(_, { children: /* @__PURE__ */ r(
700
702
  "div",
701
703
  {
702
- className: "flex min-h-0 flex-col gap-12",
704
+ className: "flex min-h-0 min-w-0 flex-col gap-12",
703
705
  style: {
704
706
  height: "min(640px, calc(100vh - 360px))"
705
707
  },
706
708
  children: [
707
- /* @__PURE__ */ r("div", { className: "grid min-h-0 flex-1 grid-rows-[minmax(0,1fr)_minmax(0,1fr)] gap-12", children: [
709
+ /* @__PURE__ */ r("div", { className: "grid min-h-0 min-w-0 flex-1 grid-rows-[minmax(0,1fr)_minmax(0,1fr)] gap-12", children: [
708
710
  /* @__PURE__ */ e(
709
- X,
711
+ Y,
710
712
  {
711
- data: q,
713
+ containerClassName: "min-w-0",
714
+ data: X,
712
715
  height: "100%",
713
716
  id: i,
714
- layoutData: de,
717
+ layoutData: ce,
715
718
  onReady: /* @__PURE__ */ d((o) => {
716
719
  if (!o)
717
720
  return;
@@ -720,34 +723,35 @@ const ul = S(/* @__PURE__ */ d(function({
720
723
  x();
721
724
  return;
722
725
  }
723
- o.SelectRow(s, 1), p ? o.Focus(p, "OWP_THEME_PREVIEW.STATUS") : o.Focus(s, "OWP_THEME_PREVIEW.STATUS"), f && (o.SetAttribute(
726
+ p ? o.Focus(p, B) : o.Focus(s, B), f && (o.SetAttribute(
724
727
  f,
725
- "OWP_THEME_PREVIEW.STATUS",
728
+ je,
726
729
  "Error",
727
730
  "상태 필수 입력",
728
731
  1
729
732
  ), o.SetValue(
730
733
  f,
731
- "OWP_THEME_PREVIEW.REMARKClass",
732
- he
734
+ Ve,
735
+ me
733
736
  ), o.RefreshRow(f)), x();
734
737
  }, "handleEditableThemePreviewGridReady"),
735
738
  showLoading: !1,
736
739
  showToolbarTotalCount: !1
737
740
  }
738
741
  ),
739
- n ? /* @__PURE__ */ e(
740
- X,
742
+ t ? /* @__PURE__ */ e(
743
+ Y,
741
744
  {
742
- data: q,
745
+ containerClassName: "min-w-0",
746
+ data: X,
743
747
  height: "100%",
744
- id: t,
745
- layoutData: ce,
748
+ id: n,
749
+ layoutData: se,
746
750
  onReady: /* @__PURE__ */ d((o) => {
747
751
  if (!o)
748
752
  return;
749
753
  const s = o.GetFirst();
750
- s && o.Focus(s, "OWP_THEME_PREVIEW.WORK_DATE");
754
+ s && o.Focus(s, B);
751
755
  }, "handleReadonlyThemePreviewGridReady"),
752
756
  showLoading: !1,
753
757
  showToolbarTotalCount: !1
@@ -755,11 +759,11 @@ const ul = S(/* @__PURE__ */ d(function({
755
759
  ) : /* @__PURE__ */ r(
756
760
  "div",
757
761
  {
758
- className: "flex min-h-0 flex-col gap-10 overflow-hidden rounded-lg border border-solid p-12",
762
+ className: "flex min-h-0 min-w-0 flex-col gap-10 overflow-hidden rounded-lg border border-solid p-12",
759
763
  style: { borderColor: P },
760
764
  children: [
761
- /* @__PURE__ */ e(W, { animation: !1, height: 24, variant: "rounded", width: "100%" }),
762
- /* @__PURE__ */ e(W, { animation: !1, className: "flex-1", variant: "rounded", width: "100%" })
765
+ /* @__PURE__ */ e(E, { animation: !1, height: 24, variant: "rounded", width: "100%" }),
766
+ /* @__PURE__ */ e(E, { animation: !1, className: "flex-1", variant: "rounded", width: "100%" })
763
767
  ]
764
768
  }
765
769
  )
@@ -771,7 +775,7 @@ const ul = S(/* @__PURE__ */ d(function({
771
775
  Q,
772
776
  {
773
777
  canUseTreeGridStyle: !0,
774
- headers: re,
778
+ headers: ie,
775
779
  rows: $e
776
780
  }
777
781
  )
@@ -779,15 +783,15 @@ const ul = S(/* @__PURE__ */ d(function({
779
783
  /* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
780
784
  /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Data Table (Grid Style)" }),
781
785
  /* @__PURE__ */ e(
782
- J,
786
+ K,
783
787
  {
784
788
  canCheckbox: !1,
785
789
  canTotalCountRow: !1,
786
790
  canUseOrderBy: !1,
787
791
  canUseTreeGridStyle: !0,
788
792
  fixedRowCount: 1,
789
- headCells: ie,
790
- rows: De,
793
+ headCells: ae,
794
+ rows: Ae,
791
795
  sx: {
792
796
  "& .MuiTableBody-root > .MuiTableRow-root, & .MuiTableBody-root > .MuiTableRow-root:hover, & .MuiTableBody-root > .MuiTableRow-root.Mui-selected, & .MuiTableBody-root > .MuiTableRow-root.Mui-selected:hover": {
793
797
  backgroundColor: "transparent"
@@ -804,49 +808,49 @@ const ul = S(/* @__PURE__ */ d(function({
804
808
  }
805
809
  ) })
806
810
  ] }) });
807
- }, "ThemePreviewGridSection2")), yl = S(/* @__PURE__ */ d(function({
811
+ }, "ThemePreviewGridSection2")), Cl = C(/* @__PURE__ */ d(function({
808
812
  mainThemePreviewStoreState: i,
809
813
  previewSectionCardSx: l,
810
814
  tablePreviewCanTableRadiusZero: a,
811
- tableTheme: t,
812
- tableThemePreviewVersionKey: n
815
+ tableTheme: n,
816
+ tableThemePreviewVersionKey: t
813
817
  }) {
814
818
  return /* @__PURE__ */ e(y, { title: "Tables", sx: l, children: /* @__PURE__ */ e(
815
819
  O,
816
820
  {
817
821
  preloadedState: i,
818
- children: /* @__PURE__ */ e(B, { children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-14", children: [
822
+ children: /* @__PURE__ */ e(_, { children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-14", children: [
819
823
  /* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
820
824
  /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Field Table" }),
821
- /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(w, { sx: A(t, a), children: /* @__PURE__ */ e(
825
+ /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(w, { sx: D(n, a), children: /* @__PURE__ */ e(
822
826
  $,
823
827
  {
824
828
  canUseTreeGridStyle: !1,
825
- cellSx: _(t),
826
- data: le,
827
- layout: ee,
828
- titleSx: Z(t),
829
+ cellSx: z(n),
830
+ data: re,
831
+ layout: le,
832
+ titleSx: ee(n),
829
833
  titleWidth: 108
830
834
  },
831
- `field-table-${n}`
835
+ `field-table-${t}`
832
836
  ) }) })
833
837
  ] }),
834
838
  /* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
835
839
  /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Table" }),
836
- /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(w, { sx: Me(t, a), children: /* @__PURE__ */ e(
840
+ /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(w, { sx: Oe(n, a), children: /* @__PURE__ */ e(
837
841
  Q,
838
842
  {
839
843
  canUseTreeGridStyle: !1,
840
- headers: re,
841
- rows: Oe
844
+ headers: ie,
845
+ rows: _e
842
846
  },
843
- `basic-table-${n}`
847
+ `basic-table-${t}`
844
848
  ) }) })
845
849
  ] }),
846
850
  /* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
847
851
  /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Data Table" }),
848
- /* @__PURE__ */ e(w, { sx: Be(t, a), children: /* @__PURE__ */ e(
849
- J,
852
+ /* @__PURE__ */ e(w, { sx: Be(n, a), children: /* @__PURE__ */ e(
853
+ K,
850
854
  {
851
855
  canCheckbox: !1,
852
856
  canTableRadiusZero: a,
@@ -854,23 +858,23 @@ const ul = S(/* @__PURE__ */ d(function({
854
858
  canUseOrderBy: !1,
855
859
  canUseTreeGridStyle: !1,
856
860
  fixedRowCount: 2,
857
- headCells: ie,
858
- rows: V,
859
- selected: V.slice(0, 1)
861
+ headCells: ae,
862
+ rows: q,
863
+ selected: q.slice(0, 1)
860
864
  },
861
- `data-table-${n}`
865
+ `data-table-${t}`
862
866
  ) })
863
867
  ] })
864
868
  ] }) })
865
869
  },
866
- `table-preview-${n}`
870
+ `table-preview-${t}`
867
871
  ) });
868
- }, "ThemePreviewTablesSection2")), Tl = S(/* @__PURE__ */ d(function({
872
+ }, "ThemePreviewTablesSection2")), Nl = C(/* @__PURE__ */ d(function({
869
873
  gridBodyBorder: i,
870
874
  layoutPreviewGridCellBackground: l,
871
875
  layoutPreviewGridCellFontSize: a,
872
- layoutPreviewGridHeaderBackground: t,
873
- layoutPreviewGridHeaderBorder: n,
876
+ layoutPreviewGridHeaderBackground: n,
877
+ layoutPreviewGridHeaderBorder: t,
874
878
  layoutPreviewGridHeaderColor: u,
875
879
  layoutPreviewGridHeaderFontSize: m
876
880
  }) {
@@ -882,20 +886,20 @@ const ul = S(/* @__PURE__ */ d(function({
882
886
  borderColor: P
883
887
  },
884
888
  children: /* @__PURE__ */ r(
885
- ue,
889
+ ve,
886
890
  {
887
891
  size: "small",
888
892
  sx: {
889
893
  tableLayout: "fixed"
890
894
  },
891
895
  children: [
892
- /* @__PURE__ */ e(xe, { children: /* @__PURE__ */ e(F, { children: Ee.map((x) => /* @__PURE__ */ e(
893
- I,
896
+ /* @__PURE__ */ e(pe, { children: /* @__PURE__ */ e(F, { children: Ge.map((x) => /* @__PURE__ */ e(
897
+ U,
894
898
  {
895
899
  sx: {
896
- backgroundColor: t,
897
- borderBottom: `1px solid ${n}`,
898
- borderRight: `1px solid ${n}`,
900
+ backgroundColor: n,
901
+ borderBottom: `1px solid ${t}`,
902
+ borderRight: `1px solid ${t}`,
899
903
  color: u,
900
904
  fontSize: m,
901
905
  fontWeight: 500,
@@ -910,14 +914,14 @@ const ul = S(/* @__PURE__ */ d(function({
910
914
  },
911
915
  x
912
916
  )) }) }),
913
- /* @__PURE__ */ e(pe, { children: Ge.map((x) => /* @__PURE__ */ e(
917
+ /* @__PURE__ */ e(ue, { children: Me.map((x) => /* @__PURE__ */ e(
914
918
  F,
915
919
  {
916
920
  sx: {
917
921
  backgroundColor: l
918
922
  },
919
- children: x.map((v, C) => /* @__PURE__ */ e(
920
- I,
923
+ children: x.map((v, N) => /* @__PURE__ */ e(
924
+ U,
921
925
  {
922
926
  sx: {
923
927
  borderBottom: `1px solid ${i}`,
@@ -933,7 +937,7 @@ const ul = S(/* @__PURE__ */ d(function({
933
937
  },
934
938
  children: v
935
939
  },
936
- `${v}-${C}`
940
+ `${v}-${N}`
937
941
  ))
938
942
  },
939
943
  x.join("-")
@@ -945,12 +949,12 @@ const ul = S(/* @__PURE__ */ d(function({
945
949
  );
946
950
  }, "ThemePreviewGridPreviewTable2"));
947
951
  export {
948
- vl as ThemePreviewButtonsSection,
949
- ul as ThemePreviewCommonSection,
950
- Tl as ThemePreviewGridPreviewTable,
951
- bl as ThemePreviewGridSection,
952
- gl as ThemePreviewSearchHeaderSection,
953
- wl as ThemePreviewSnackbarsSection,
954
- yl as ThemePreviewTablesSection
952
+ bl as ThemePreviewButtonsSection,
953
+ gl as ThemePreviewCommonSection,
954
+ Nl as ThemePreviewGridPreviewTable,
955
+ Sl as ThemePreviewGridSection,
956
+ Tl as ThemePreviewSearchHeaderSection,
957
+ yl as ThemePreviewSnackbarsSection,
958
+ Cl as ThemePreviewTablesSection
955
959
  };
956
960
  //# sourceMappingURL=ThemePreviewCanvasSections.js.map