@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,52 +1,55 @@
1
- var Ze = Object.defineProperty;
2
- var z = (k, W) => Ze(k, "name", { value: W, configurable: !0 });
3
- import { jsx as r, jsxs as c } 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 { defaultSnackbarTheme as qe, defaultSnackbarProviderProps as I, snackbarVariantKeys as Je } from "../configs/snackbar.js";
5
- import { defaultTableTheme as Qe } from "../configs/table.js";
6
- 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/KeyboardArrowUpRounded.js";
7
- import er 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/MenuRounded.js";
8
- import Pe 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/NavigateNext.js";
9
- import rr 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";
10
- import or 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";
11
- import { Typography as i, ButtonBase as ar, CircularProgress as nr } from "@mui/material";
12
- import { alpha as n, darken as tr } from "@mui/material/styles";
13
- import { owpDayjs as cr } from "../../../dayjs.js";
14
- import { closeSnackbar as ir } from "notistack";
15
- import { useRef as lr, useDeferredValue as dr, useMemo as t, useEffect as sr, Fragment as mr } from "react";
16
- import { getPaletteValue as a, previewChromeBorder as $, getPreviewContrastColor as Se, createThemePreviewVersionKey as x, gridPreviewBodyBackground as br, gridPreviewBodyText as vr, getThemePreviewStyleValue as Te, snackbarPreviewMessageByVariant as hr, getPreviewSectionOrder as ur, navbarPreviewItems as fr, themePreviewReadonlyTreeGridId as pr, themePreviewEditableTreeGridId as xr } from "./themePreviewCanvas.shared.js";
17
- import { ThemePreviewGridPreviewTable as kr, ThemePreviewTablesSection as wr, ThemePreviewGridSection as gr, ThemePreviewSearchHeaderSection as yr, ThemePreviewSnackbarsSection as Pr, ThemePreviewButtonsSection as Sr, ThemePreviewCommonSection as Tr } from "./ThemePreviewCanvasSections.js";
18
- import { snackbarPreviewIconByVariant as Cr } from "./themePreviewCanvas.icons.js";
19
- import { merge as Ce } from "../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/merge.js";
20
- const Br = "#ff4d2d", Nr = "rgba(255, 77, 45, 0.14)";
21
- function _r({
1
+ var er = Object.defineProperty;
2
+ var C = (k, z) => er(k, "name", { value: z, configurable: !0 });
3
+ import { jsx as o, jsxs as c } 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 { defaultSnackbarTheme as rr, defaultSnackbarProviderProps as N, snackbarVariantKeys as or } from "../configs/snackbar.js";
5
+ import { defaultTableTheme as ar } from "../configs/table.js";
6
+ import nr 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/KeyboardArrowUpRounded.js";
7
+ import tr 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/MenuRounded.js";
8
+ import Ne 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/NavigateNext.js";
9
+ import cr 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";
10
+ import ir 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";
11
+ import { Typography as i, ButtonBase as lr, CircularProgress as dr } from "@mui/material";
12
+ import { alpha as n, darken as mr } from "@mui/material/styles";
13
+ import { owpDayjs as sr } from "../../../dayjs.js";
14
+ import { closeSnackbar as br } from "notistack";
15
+ import { useRef as ur, useDeferredValue as vr, useMemo as t, useEffect as hr, Fragment as fr } from "react";
16
+ import { getPaletteValue as r, previewChromeBorder as H, getPreviewContrastColor as He, createThemePreviewVersionKey as p, gridPreviewBodyBackground as pr, gridPreviewBodyText as xr, getThemePreviewStyleValue as ze, snackbarPreviewMessageByVariant as kr, getPreviewSectionOrder as yr, navbarPreviewItems as wr, themePreviewReadonlyTreeGridId as Pr, themePreviewEditableTreeGridId as Sr } from "./themePreviewCanvas.shared.js";
17
+ import { ThemePreviewGridPreviewTable as gr, ThemePreviewTablesSection as Tr, ThemePreviewGridSection as Br, ThemePreviewSearchHeaderSection as Cr, ThemePreviewSnackbarsSection as Nr, ThemePreviewButtonsSection as Hr, ThemePreviewCommonSection as zr } from "./ThemePreviewCanvasSections.js";
18
+ import { snackbarPreviewIconByVariant as Ir } from "./themePreviewCanvas.icons.js";
19
+ import { merge as Ie } from "../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/merge.js";
20
+ const $r = "#ff4d2d", Wr = "rgba(255, 77, 45, 0.14)";
21
+ function Qr({
22
22
  activeSection: k,
23
- isLoading: W = !1,
23
+ isLoading: z = !1,
24
24
  settings: e
25
25
  }) {
26
- var xe, ke, we, ge, ye;
27
- const A = lr([]), s = dr(k), F = !1, Y = t(
28
- () => Ce(
26
+ var Se, ge, Te, Be, Ce;
27
+ const I = ur([]), m = vr(k), M = !1, R = t(
28
+ () => Ie(
29
29
  {},
30
- Qe,
30
+ ar,
31
31
  e.theme.main.table
32
32
  ),
33
33
  [e.theme.main.table]
34
- ), m = e.theme.toolbar.palette.mode, K = a(e, "toolbar", "background.default"), Be = a(e, "toolbar", "background.paper"), w = a(e, "toolbar", "text.primary"), Ne = a(e, "toolbar", "divider"), g = a(e, "toolbar", "common.white"), He = a(e, "toolbar", "common.black"), U = n(g, m === "dark" ? 0.06 : 0.78), _ = n(g, m === "dark" ? 0.1 : 0.62), L = n(g, m === "dark" ? 0.05 : 0.54), l = e.theme.navbar.palette.mode, D = a(e, "navbar", "background.default"), O = a(e, "navbar", "divider") || $, b = a(e, "navbar", "text.primary"), Z = a(e, "navbar", "text.secondary"), h = a(e, "navbar", "secondary.main"), y = a(e, "navbar", "secondary.dark") || h, q = Se(
35
- D,
36
- b || "#111827"
37
- ), ze = n(q, l === "dark" ? 0.72 : 0.64), J = n(
38
- h,
39
- l === "dark" ? 0.2 : 0.12
40
- ), Q = n(h, l === "dark" ? 0.42 : 0.28), X = n(
41
- y,
34
+ ), s = e.theme.toolbar.palette.mode, E = r(e, "toolbar", "background.default"), $e = r(e, "toolbar", "background.paper"), y = r(e, "toolbar", "text.primary"), We = r(e, "toolbar", "divider"), w = r(e, "toolbar", "common.white"), Ae = r(e, "toolbar", "common.black"), F = n(w, s === "dark" ? 0.06 : 0.78), K = n(w, s === "dark" ? 0.1 : 0.62), Y = n(w, s === "dark" ? 0.05 : 0.54), l = e.theme.navbar.palette.mode, $ = r(e, "navbar", "background.default"), W = r(e, "navbar", "divider") || H, b = r(e, "navbar", "text.primary"), U = r(e, "navbar", "text.secondary"), v = r(e, "navbar", "secondary.main"), P = r(e, "navbar", "secondary.dark") || v, _ = He($, b || "#111827"), De = n(_, l === "dark" ? 0.72 : 0.64), L = n(v, l === "dark" ? 0.2 : 0.12), Z = n(v, l === "dark" ? 0.42 : 0.28), q = n(
35
+ P,
42
36
  l === "dark" ? 0.22 : 0.14
43
- ), ee = n(
44
- y,
37
+ ), J = n(
38
+ P,
45
39
  l === "dark" ? 0.56 : 0.36
46
- ), re = h, oe = Z || n(b, l === "dark" ? 0.78 : 0.72), Ie = n(h, l === "dark" ? 0.22 : 0.12), $e = tr(D, l === "dark" ? 0.08 : 0.05), We = Z || n(b, l === "dark" ? 0.78 : 0.62), j = a(e, "main", "background.default"), P = a(e, "main", "background.paper"), ae = a(e, "main", "text.primary"), ne = a(e, "main", "text.secondary"), S = a(e, "main", "success.main"), te = a(e, "main", "success.contrastText"), T = a(e, "main", "info.main"), ce = a(e, "main", "info.contrastText"), C = a(e, "main", "warning.main"), ie = a(e, "main", "warning.contrastText"), B = a(e, "main", "error.main"), le = a(e, "main", "error.contrastText"), G = e.theme.main.grid, N = x(e.theme.main.table), V = x({
47
- palette: e.theme.main.palette ?? {},
48
- table: e.theme.main.table ?? {}
49
- }), de = "#586980", M = "#ffffff", se = "14px", me = "13px", be = ((xe = G == null ? void 0 : G.body) == null ? void 0 : xe.backgroundColor) ?? br, ve = n(M, 0.22), he = n(vr, 0.14), f = t(
40
+ ), Q = v, X = U || n(b, l === "dark" ? 0.78 : 0.72), Oe = n(v, l === "dark" ? 0.22 : 0.12), Ve = mr($, l === "dark" ? 0.08 : 0.05), je = U || n(b, l === "dark" ? 0.78 : 0.62), A = r(e, "main", "background.default"), S = r(e, "main", "background.paper"), ee = r(e, "main", "text.primary"), re = r(e, "main", "text.secondary"), oe = r(e, "main", "button.primary.main") || r(e, "main", "primary.main"), ae = r(e, "main", "button.primary.contrastText") || r(e, "main", "primary.contrastText"), ne = r(e, "main", "button.secondary.main") || r(e, "main", "secondary.main"), te = r(e, "main", "button.secondary.contrastText") || r(e, "main", "secondary.contrastText"), ce = r(e, "main", "button.success.main") || r(e, "main", "success.main"), ie = r(e, "main", "button.success.contrastText") || r(e, "main", "success.contrastText"), le = r(e, "main", "button.info.main") || r(e, "main", "info.main"), de = r(e, "main", "button.info.contrastText") || r(e, "main", "info.contrastText"), me = r(e, "main", "button.warning.main") || r(e, "main", "warning.main"), se = r(e, "main", "button.warning.contrastText") || r(e, "main", "warning.contrastText"), be = r(e, "main", "button.error.main") || r(e, "main", "error.main"), ue = r(e, "main", "button.error.contrastText") || r(e, "main", "error.contrastText"), D = e.theme.main.grid, g = t(
41
+ () => p(e.theme.main.table),
42
+ [e.theme.main.table]
43
+ ), ve = t(
44
+ () => p(e.theme.main.grid),
45
+ [e.theme.main.grid]
46
+ ), O = t(
47
+ () => p({
48
+ palette: e.theme.main.palette ?? {},
49
+ table: e.theme.main.table ?? {}
50
+ }),
51
+ [e.theme.main.palette, e.theme.main.table]
52
+ ), he = "#586980", V = "#ffffff", fe = "14px", pe = "13px", xe = ((Se = D == null ? void 0 : D.body) == null ? void 0 : Se.backgroundColor) ?? pr, ke = n(V, 0.22), ye = n(xr, 0.14), h = t(
50
53
  () => ({
51
54
  ...e,
52
55
  theme: {
@@ -56,253 +59,257 @@ function _r({
56
59
  }
57
60
  }),
58
61
  [e]
59
- ), ue = x(
60
- f.theme.main
61
- ), H = t(
62
+ ), we = t(
63
+ () => p(h.theme.main),
64
+ [h.theme.main]
65
+ ), T = t(
62
66
  () => ({
63
67
  owpSettings: {
64
- current: f,
65
- defaults: f,
66
- initial: f
68
+ current: h,
69
+ defaults: h,
70
+ initial: h
67
71
  }
68
72
  }),
69
- [f]
70
- ), R = cr().format("YYYY-MM-DD"), Ae = t(
71
- () => `OWP-${R.replace(/-/g, "")}-001`,
72
- [R]
73
- ), u = t(
73
+ [h]
74
+ ), j = sr().format("YYYY-MM-DD"), Ge = t(
75
+ () => `OWP-${j.replace(/-/g, "")}-001`,
76
+ [j]
77
+ ), f = t(
74
78
  () => ({
75
- backgroundColor: P,
76
- border: `1px solid ${$}`
79
+ backgroundColor: S,
80
+ border: `1px solid ${H}`
77
81
  }),
78
- [P]
79
- ), De = s === "navbar" ? "navbar" : s === "toolbar" ? "toolbar" : "main", Oe = W || s !== k, je = t(
82
+ [S]
83
+ ), Me = m === "navbar" ? "navbar" : m === "toolbar" ? "toolbar" : "main", Re = z || m !== k, Ee = t(
80
84
  () => ({
81
- backgroundColor: U,
82
- borderColor: _,
83
- boxShadow: `inset 0 1px 0 ${L}`
85
+ backgroundColor: F,
86
+ borderColor: K,
87
+ boxShadow: `inset 0 1px 0 ${Y}`
84
88
  }),
85
- [U, _, L]
86
- ), Ge = t(
89
+ [F, K, Y]
90
+ ), Fe = t(
87
91
  () => ({
88
- backgroundColor: J,
89
- borderColor: Q,
90
- color: re,
92
+ backgroundColor: L,
93
+ borderColor: Z,
94
+ color: Q,
91
95
  transition: "background-color 160ms ease, border-color 160ms ease, color 160ms ease",
92
96
  "&:hover, &:focus-visible, &:active": {
93
- backgroundColor: X,
94
- borderColor: ee,
95
- color: y
97
+ backgroundColor: q,
98
+ borderColor: J,
99
+ color: P
96
100
  }
97
101
  }),
98
102
  [
99
- re,
100
- y,
101
- J,
102
103
  Q,
103
- X,
104
- ee
104
+ P,
105
+ L,
106
+ Z,
107
+ q,
108
+ J
105
109
  ]
106
- ), fe = t(
110
+ ), B = t(
107
111
  () => [
108
- { label: "info", color: T, contrastColor: ce },
109
- { label: "warning", color: C, contrastColor: ie },
110
- { label: "error", color: B, contrastColor: le },
111
- { label: "success", color: S, contrastColor: te }
112
- ].map((o) => ({
113
- ...o,
114
- previewContrastColor: o.label === "error" || o.label === "success" ? Se(o.color, o.contrastColor) : o.contrastColor
112
+ { label: "primary", color: oe, contrastColor: ae },
113
+ {
114
+ label: "secondary",
115
+ color: ne,
116
+ contrastColor: te
117
+ },
118
+ { label: "info", color: le, contrastColor: de },
119
+ { label: "warning", color: me, contrastColor: se },
120
+ { label: "error", color: be, contrastColor: ue },
121
+ { label: "success", color: ce, contrastColor: ie }
122
+ ].map((a) => ({
123
+ ...a,
124
+ previewContrastColor: a.contrastColor || He(a.color, "#ffffff")
115
125
  })),
116
126
  [
117
- B,
127
+ oe,
128
+ ae,
129
+ ne,
130
+ te,
131
+ be,
132
+ ue,
118
133
  le,
119
- T,
134
+ de,
120
135
  ce,
121
- S,
122
- te,
123
- C,
124
- ie
136
+ ie,
137
+ me,
138
+ se
125
139
  ]
126
- ), pe = e.snackbar ?? qe, v = t(
127
- () => Ce({}, I, e.snackbarProviderProps),
140
+ ), Pe = e.snackbar ?? rr, u = t(
141
+ () => Ie({}, N, e.snackbarProviderProps),
128
142
  [e.snackbarProviderProps]
129
- ), Ve = ((ke = v.anchorOrigin) == null ? void 0 : ke.horizontal) ?? I.anchorOrigin.horizontal, Me = ((we = v.anchorOrigin) == null ? void 0 : we.vertical) ?? I.anchorOrigin.vertical, Re = v.maxSnack ?? I.maxSnack, Ee = Te((ge = v.style) == null ? void 0 : ge.fontSize), Fe = Te(
130
- (ye = v.style) == null ? void 0 : ye.lineHeight
131
- ), Ye = t(
132
- () => Je.map((o) => {
133
- const d = pe[o];
143
+ ), Ke = ((ge = u.anchorOrigin) == null ? void 0 : ge.horizontal) ?? N.anchorOrigin.horizontal, Ye = ((Te = u.anchorOrigin) == null ? void 0 : Te.vertical) ?? N.anchorOrigin.vertical, Ue = u.maxSnack ?? N.maxSnack, _e = ze((Be = u.style) == null ? void 0 : Be.fontSize), Le = ze(
144
+ (Ce = u.style) == null ? void 0 : Ce.lineHeight
145
+ ), Ze = t(
146
+ () => or.map((a) => {
147
+ const d = Pe[a];
134
148
  return {
135
149
  actionHoverColor: n(
136
150
  d.color,
137
- o === "default" ? 0.18 : 0.16
151
+ a === "default" ? 0.18 : 0.16
138
152
  ),
139
153
  backgroundColor: d.backgroundColor,
140
154
  color: d.color,
141
- icon: Cr[o],
142
- key: o,
143
- message: hr[o]
155
+ icon: Ir[a],
156
+ key: a,
157
+ message: kr[a]
144
158
  };
145
159
  }),
146
- [pe]
147
- ), Ke = t(
148
- () => ur(s),
149
- [s]
150
- ), Ue = t(
160
+ [Pe]
161
+ ), qe = t(
162
+ () => yr(m),
163
+ [m]
164
+ ), Je = t(
151
165
  () => ({
152
- common: ue,
153
- buttons: x({
154
- error: B,
155
- info: T,
156
- success: S,
157
- warning: C
158
- }),
159
- grid: "grid",
160
- searchHeader: V,
161
- snackbars: x({
166
+ common: we,
167
+ buttons: p(B),
168
+ grid: ve,
169
+ searchHeader: O,
170
+ snackbars: p({
162
171
  provider: e.snackbarProviderProps,
163
172
  snackbar: e.snackbar
164
173
  }),
165
- tables: N
174
+ tables: g
166
175
  }),
167
176
  [
168
177
  B,
169
- T,
170
- S,
171
- ue,
172
- C,
173
- V,
178
+ we,
179
+ ve,
180
+ O,
174
181
  e.snackbar,
175
182
  e.snackbarProviderProps,
176
- N
183
+ g
177
184
  ]
178
- ), _e = t(
179
- () => /* @__PURE__ */ r(
180
- kr,
185
+ ), Qe = t(
186
+ () => /* @__PURE__ */ o(
187
+ gr,
181
188
  {
182
- gridBodyBorder: he,
183
- layoutPreviewGridCellBackground: be,
184
- layoutPreviewGridCellFontSize: me,
185
- layoutPreviewGridHeaderBackground: de,
186
- layoutPreviewGridHeaderBorder: ve,
187
- layoutPreviewGridHeaderColor: M,
188
- layoutPreviewGridHeaderFontSize: se
189
+ gridBodyBorder: ye,
190
+ layoutPreviewGridCellBackground: xe,
191
+ layoutPreviewGridCellFontSize: pe,
192
+ layoutPreviewGridHeaderBackground: he,
193
+ layoutPreviewGridHeaderBorder: ke,
194
+ layoutPreviewGridHeaderColor: V,
195
+ layoutPreviewGridHeaderFontSize: fe
189
196
  }
190
197
  ),
191
198
  [
199
+ ye,
200
+ xe,
201
+ pe,
192
202
  he,
193
- be,
194
- me,
195
- de,
196
- ve,
197
- M,
198
- se
203
+ ke,
204
+ V,
205
+ fe
199
206
  ]
200
207
  );
201
- sr(() => () => {
202
- A.current.forEach((o) => {
203
- ir(o);
204
- }), A.current = [];
208
+ hr(() => () => {
209
+ I.current.forEach((a) => {
210
+ br(a);
211
+ }), I.current = [];
205
212
  }, []);
206
- const Le = /* @__PURE__ */ z((o) => {
207
- switch (o) {
213
+ const Xe = /* @__PURE__ */ C((a) => {
214
+ switch (a) {
208
215
  case "common":
209
- return /* @__PURE__ */ r(
210
- Tr,
216
+ return /* @__PURE__ */ o(
217
+ zr,
211
218
  {
212
- buttonPreviewItems: fe,
213
- mainTextSecondary: ne,
214
- mainThemePreviewStoreState: H,
215
- previewSectionCardSx: u
219
+ buttonPreviewItems: B,
220
+ mainTextSecondary: re,
221
+ mainThemePreviewStoreState: T,
222
+ previewSectionCardSx: f
216
223
  }
217
224
  );
218
225
  case "buttons":
219
- return /* @__PURE__ */ r(
220
- Sr,
226
+ return /* @__PURE__ */ o(
227
+ Hr,
221
228
  {
222
- buttonPreviewItems: fe,
223
- mainTextSecondary: ne,
224
- previewSectionCardSx: u
229
+ buttonPreviewItems: B,
230
+ mainTextSecondary: re,
231
+ previewSectionCardSx: f
225
232
  }
226
233
  );
227
234
  case "snackbars":
228
- return /* @__PURE__ */ r(
229
- Pr,
235
+ return /* @__PURE__ */ o(
236
+ Nr,
230
237
  {
231
- previewSectionCardSx: u,
232
- previewSnackbarKeysRef: A,
233
- snackbarAnchorOrigin: v.anchorOrigin,
234
- snackbarAutoHideDuration: v.autoHideDuration,
235
- snackbarPreviewAnchorHorizontal: Ve,
236
- snackbarPreviewAnchorVertical: Me,
237
- snackbarPreviewFontSize: Ee,
238
- snackbarPreviewItems: Ye,
239
- snackbarPreviewLineHeight: Fe,
240
- snackbarPreviewMaxSnack: Re
238
+ previewSectionCardSx: f,
239
+ previewSnackbarKeysRef: I,
240
+ snackbarAnchorOrigin: u.anchorOrigin,
241
+ snackbarAutoHideDuration: u.autoHideDuration,
242
+ snackbarPreviewAnchorHorizontal: Ke,
243
+ snackbarPreviewAnchorVertical: Ye,
244
+ snackbarPreviewFontSize: _e,
245
+ snackbarPreviewItems: Ze,
246
+ snackbarPreviewLineHeight: Le,
247
+ snackbarPreviewMaxSnack: Ue
241
248
  }
242
249
  );
243
250
  case "searchHeader":
244
- return /* @__PURE__ */ r(
245
- yr,
251
+ return /* @__PURE__ */ o(
252
+ Cr,
246
253
  {
247
- activeSection: s === "navbar" || s === "toolbar" ? s : "main",
248
- gridPreviewTable: _e,
249
- mainBackground: j,
250
- mainPaper: P,
251
- mainText: ae,
252
- mainThemePreviewStoreState: H,
253
- previewSectionCardSx: u,
254
- searchHeaderPreviewDate: R,
255
- searchHeaderPreviewNumber: Ae,
256
- searchHeaderPreviewVersionKey: V,
257
- tablePreviewCanTableRadiusZero: F,
258
- tableTheme: Y,
259
- tableThemePreviewVersionKey: N
254
+ activeSection: m === "navbar" || m === "toolbar" ? m : "main",
255
+ gridPreviewTable: Qe,
256
+ mainBackground: A,
257
+ mainPaper: S,
258
+ mainText: ee,
259
+ mainThemePreviewStoreState: T,
260
+ previewSectionCardSx: f,
261
+ searchHeaderPreviewDate: j,
262
+ searchHeaderPreviewNumber: Ge,
263
+ searchHeaderPreviewVersionKey: O,
264
+ tablePreviewCanTableRadiusZero: M,
265
+ tableTheme: R,
266
+ tableThemePreviewVersionKey: g
260
267
  }
261
268
  );
262
269
  case "grid":
263
- return /* @__PURE__ */ r(
264
- gr,
270
+ return /* @__PURE__ */ o(
271
+ Br,
265
272
  {
266
- editableThemePreviewGridId: xr,
267
- mainThemePreviewStoreState: H,
268
- previewSectionCardSx: u,
269
- readonlyThemePreviewGridId: pr
273
+ editableThemePreviewGridId: Sr,
274
+ mainThemePreviewStoreState: T,
275
+ previewSectionCardSx: f,
276
+ readonlyThemePreviewGridId: Pr
270
277
  }
271
278
  );
272
279
  case "tables":
273
- return /* @__PURE__ */ r(
274
- wr,
280
+ return /* @__PURE__ */ o(
281
+ Tr,
275
282
  {
276
- mainThemePreviewStoreState: H,
277
- previewSectionCardSx: u,
278
- tablePreviewCanTableRadiusZero: F,
279
- tableTheme: Y,
280
- tableThemePreviewVersionKey: N
283
+ mainThemePreviewStoreState: T,
284
+ previewSectionCardSx: f,
285
+ tablePreviewCanTableRadiusZero: M,
286
+ tableTheme: R,
287
+ tableThemePreviewVersionKey: g
281
288
  }
282
289
  );
283
290
  default:
284
291
  return null;
285
292
  }
286
- }, "renderPreviewSection"), E = /* @__PURE__ */ z((o, d, p = 0) => De === o ? /* @__PURE__ */ r(
293
+ }, "renderPreviewSection"), G = /* @__PURE__ */ C((a, d, x = 0) => Me === a ? /* @__PURE__ */ o(
287
294
  "div",
288
295
  {
289
296
  "aria-hidden": !0,
290
297
  className: "pointer-events-none absolute z-[2]",
291
298
  style: {
292
299
  inset: d,
293
- border: `4px solid ${Br}`,
294
- borderRadius: p,
295
- boxShadow: `0 0 0 1px ${Nr}`
300
+ border: `4px solid ${$r}`,
301
+ borderRadius: x,
302
+ boxShadow: `0 0 0 1px ${Wr}`
296
303
  }
297
304
  }
298
305
  ) : null, "renderHighlightOverlay");
299
- return /* @__PURE__ */ r("div", { className: "flex h-full min-h-0 min-w-0 flex-1 flex-col overflow-hidden", children: /* @__PURE__ */ c(
306
+ return /* @__PURE__ */ o("div", { className: "flex h-full min-h-0 min-w-0 flex-1 flex-col overflow-hidden", children: /* @__PURE__ */ c(
300
307
  "div",
301
308
  {
302
309
  className: "grid min-h-0 flex-1 grid-cols-[224px_minmax(0,1fr)] grid-rows-[76px_minmax(0,1fr)] overflow-hidden rounded-lg border border-solid",
303
310
  style: {
304
- backgroundColor: j,
305
- borderColor: $
311
+ backgroundColor: A,
312
+ borderColor: H
306
313
  },
307
314
  children: [
308
315
  /* @__PURE__ */ c(
@@ -310,55 +317,55 @@ function _r({
310
317
  {
311
318
  className: "col-span-2 relative flex items-center justify-between px-20",
312
319
  style: {
313
- backgroundColor: K,
314
- backgroundImage: `linear-gradient(180deg, ${K} 0%, ${Be} 100%)`,
315
- borderBottom: `1px solid ${Ne}`,
316
- boxShadow: `inset 0 1px 0 ${n(g, m === "dark" ? 0.06 : 0.82)}, 0 4px 16px ${n(He, m === "dark" ? 0.18 : 0.05)}`,
317
- color: w
320
+ backgroundColor: E,
321
+ backgroundImage: `linear-gradient(180deg, ${E} 0%, ${$e} 100%)`,
322
+ borderBottom: `1px solid ${We}`,
323
+ boxShadow: `inset 0 1px 0 ${n(w, s === "dark" ? 0.06 : 0.82)}, 0 4px 16px ${n(Ae, s === "dark" ? 0.18 : 0.05)}`,
324
+ color: y
318
325
  },
319
326
  children: [
320
- E("toolbar", 0, 0),
321
- /* @__PURE__ */ r("div", { className: "flex items-center gap-12", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-2", children: [
327
+ G("toolbar", 0, 0),
328
+ /* @__PURE__ */ o("div", { className: "flex items-center gap-12", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-2", children: [
322
329
  /* @__PURE__ */ c(
323
330
  "div",
324
331
  {
325
332
  className: "flex items-center gap-2",
326
333
  style: {
327
- color: n(w, m === "dark" ? 0.72 : 0.64)
334
+ color: n(y, s === "dark" ? 0.72 : 0.64)
328
335
  },
329
336
  children: [
330
- /* @__PURE__ */ r(i, { variant: "caption", children: "OWP" }),
331
- /* @__PURE__ */ r(Pe, { sx: { fontSize: 18 } }),
332
- /* @__PURE__ */ r(i, { variant: "caption", children: "Theme Preview" })
337
+ /* @__PURE__ */ o(i, { variant: "caption", children: "OWP" }),
338
+ /* @__PURE__ */ o(Ne, { sx: { fontSize: 18 } }),
339
+ /* @__PURE__ */ o(i, { variant: "caption", children: "Theme Preview" })
333
340
  ]
334
341
  }
335
342
  ),
336
- /* @__PURE__ */ r(i, { variant: "subtitle1", fontWeight: 700, children: "Toolbar" })
343
+ /* @__PURE__ */ o(i, { variant: "subtitle1", fontWeight: 700, children: "Toolbar" })
337
344
  ] }) }),
338
- /* @__PURE__ */ r("div", { className: "pointer-events-none absolute left-1/2 top-1/2 flex w-full max-w-[520px] -translate-x-1/2 -translate-y-1/2 justify-center px-12 text-center", children: /* @__PURE__ */ c(
345
+ /* @__PURE__ */ o("div", { className: "pointer-events-none absolute left-1/2 top-1/2 flex w-full max-w-[520px] -translate-x-1/2 -translate-y-1/2 justify-center px-12 text-center", children: /* @__PURE__ */ c(
339
346
  i,
340
347
  {
341
348
  variant: "body2",
342
349
  sx: {
343
- color: n(w, m === "dark" ? 0.92 : 0.84),
350
+ color: n(y, s === "dark" ? 0.92 : 0.84),
344
351
  fontSize: 13,
345
352
  fontWeight: 700
346
353
  },
347
354
  children: [
348
355
  "로그인 화면 배경색은 Toolbar",
349
356
  " ",
350
- /* @__PURE__ */ r(Pe, { sx: { mx: 0.25, fontSize: 18, verticalAlign: "middle" } }),
357
+ /* @__PURE__ */ o(Ne, { sx: { mx: 0.25, fontSize: 18, verticalAlign: "middle" } }),
351
358
  " ",
352
359
  "Background Default 색상을 따라갑니다."
353
360
  ]
354
361
  }
355
362
  ) }),
356
- /* @__PURE__ */ r("div", { className: "flex items-center gap-8", children: [rr, or].map((o, d) => /* @__PURE__ */ r(
363
+ /* @__PURE__ */ o("div", { className: "flex items-center gap-8", children: [cr, ir].map((a, d) => /* @__PURE__ */ o(
357
364
  "div",
358
365
  {
359
366
  className: "flex h-32 w-32 items-center justify-center rounded-[10px] border border-solid",
360
- style: je,
361
- children: /* @__PURE__ */ r(o, { sx: { color: w, fontSize: 18 } })
367
+ style: Ee,
368
+ children: /* @__PURE__ */ o(a, { sx: { color: y, fontSize: 18 } })
362
369
  },
363
370
  `${d}`
364
371
  )) })
@@ -370,67 +377,67 @@ function _r({
370
377
  {
371
378
  className: "relative flex min-h-0 flex-col",
372
379
  style: {
373
- backgroundColor: D,
374
- borderRight: `1px solid ${O}`,
380
+ backgroundColor: $,
381
+ borderRight: `1px solid ${W}`,
375
382
  color: b
376
383
  },
377
384
  children: [
378
- E("navbar", 0, 0),
385
+ G("navbar", 0, 0),
379
386
  /* @__PURE__ */ c(
380
387
  "div",
381
388
  {
382
389
  className: "flex items-center justify-between gap-8 px-16 py-14",
383
390
  style: {
384
- borderBottom: `1px solid ${O}`
391
+ borderBottom: `1px solid ${W}`
385
392
  },
386
393
  children: [
387
- /* @__PURE__ */ r("div", { className: "flex items-center gap-10", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-2", children: [
388
- /* @__PURE__ */ r(
394
+ /* @__PURE__ */ o("div", { className: "flex items-center gap-10", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-2", children: [
395
+ /* @__PURE__ */ o(
389
396
  i,
390
397
  {
391
398
  variant: "subtitle2",
392
399
  fontWeight: 700,
393
400
  sx: {
394
- color: q
401
+ color: _
395
402
  },
396
403
  children: "Navbar"
397
404
  }
398
405
  ),
399
- /* @__PURE__ */ r(i, { variant: "caption", sx: { color: ze }, children: "Navigation" })
406
+ /* @__PURE__ */ o(i, { variant: "caption", sx: { color: De }, children: "Navigation" })
400
407
  ] }) }),
401
- /* @__PURE__ */ r(
402
- ar,
408
+ /* @__PURE__ */ o(
409
+ lr,
403
410
  {
404
411
  "aria-label": "navbar menu",
405
412
  className: "flex h-28 w-28 items-center justify-center rounded-[10px] border border-solid",
406
- sx: Ge,
407
- children: /* @__PURE__ */ r(er, { sx: { color: "inherit", fontSize: 16 } })
413
+ sx: Fe,
414
+ children: /* @__PURE__ */ o(tr, { sx: { color: "inherit", fontSize: 16 } })
408
415
  }
409
416
  )
410
417
  ]
411
418
  }
412
419
  ),
413
- /* @__PURE__ */ r("div", { className: "flex flex-1 flex-col gap-4 px-10 py-10", children: fr.map((o, d) => {
414
- const p = d === 1;
415
- return /* @__PURE__ */ r(
420
+ /* @__PURE__ */ o("div", { className: "flex flex-1 flex-col gap-4 px-10 py-10", children: wr.map((a, d) => {
421
+ const x = d === 1;
422
+ return /* @__PURE__ */ o(
416
423
  "div",
417
424
  {
418
425
  className: "rounded-lg px-12 py-10",
419
426
  style: {
420
- backgroundColor: p ? Ie : "transparent",
421
- color: p ? h : oe
427
+ backgroundColor: x ? Oe : "transparent",
428
+ color: x ? v : X
422
429
  },
423
- children: /* @__PURE__ */ r(i, { variant: "body2", fontWeight: p ? 700 : 500, children: o })
430
+ children: /* @__PURE__ */ o(i, { variant: "body2", fontWeight: x ? 700 : 500, children: a })
424
431
  },
425
- o
432
+ a
426
433
  );
427
434
  }) }),
428
- /* @__PURE__ */ r(
435
+ /* @__PURE__ */ o(
429
436
  "div",
430
437
  {
431
438
  className: "px-12 py-12",
432
439
  style: {
433
- borderTop: `1px solid ${O}`
440
+ borderTop: `1px solid ${W}`
434
441
  },
435
442
  children: /* @__PURE__ */ c(
436
443
  "div",
@@ -438,19 +445,19 @@ function _r({
438
445
  className: "flex min-h-[56px] items-center gap-12 rounded-lg px-8 py-8",
439
446
  style: { color: b },
440
447
  children: [
441
- /* @__PURE__ */ r(
448
+ /* @__PURE__ */ o(
442
449
  "div",
443
450
  {
444
451
  className: "flex h-36 w-36 shrink-0 items-center justify-center rounded-full",
445
452
  style: {
446
- backgroundColor: $e,
447
- color: We
453
+ backgroundColor: Ve,
454
+ color: je
448
455
  },
449
- children: /* @__PURE__ */ r(i, { sx: { fontSize: 18, fontWeight: 700, lineHeight: 1 }, children: "관" })
456
+ children: /* @__PURE__ */ o(i, { sx: { fontSize: 18, fontWeight: 700, lineHeight: 1 }, children: "관" })
450
457
  }
451
458
  ),
452
459
  /* @__PURE__ */ c("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
453
- /* @__PURE__ */ r(
460
+ /* @__PURE__ */ o(
454
461
  i,
455
462
  {
456
463
  className: "truncate",
@@ -464,12 +471,12 @@ function _r({
464
471
  children: "Impix"
465
472
  }
466
473
  ),
467
- /* @__PURE__ */ r(
474
+ /* @__PURE__ */ o(
468
475
  i,
469
476
  {
470
477
  className: "truncate",
471
478
  sx: {
472
- color: oe,
479
+ color: X,
473
480
  fontSize: 14,
474
481
  fontWeight: 500,
475
482
  letterSpacing: "-0.02em",
@@ -479,7 +486,14 @@ function _r({
479
486
  }
480
487
  )
481
488
  ] }),
482
- /* @__PURE__ */ r("div", { className: "flex shrink-0 items-center justify-center", style: { color: b }, children: /* @__PURE__ */ r(Xe, { sx: { fontSize: 16 } }) })
489
+ /* @__PURE__ */ o(
490
+ "div",
491
+ {
492
+ className: "flex shrink-0 items-center justify-center",
493
+ style: { color: b },
494
+ children: /* @__PURE__ */ o(nr, { sx: { fontSize: 16 } })
495
+ }
496
+ )
483
497
  ]
484
498
  }
485
499
  )
@@ -493,26 +507,26 @@ function _r({
493
507
  {
494
508
  className: "relative flex min-h-0 flex-col gap-14 overflow-y-auto overflow-x-hidden p-14",
495
509
  style: {
496
- backgroundColor: j,
497
- color: ae
510
+ backgroundColor: A,
511
+ color: ee
498
512
  },
499
513
  children: [
500
- E("main", 8),
501
- Oe ? /* @__PURE__ */ r(
514
+ G("main", 8),
515
+ Re ? /* @__PURE__ */ o(
502
516
  "div",
503
517
  {
504
518
  className: "absolute inset-14 z-10 flex items-center justify-center rounded-lg",
505
519
  style: {
506
- backgroundColor: n(P, 0.88),
507
- border: `1px solid ${$}`
520
+ backgroundColor: n(S, 0.88),
521
+ border: `1px solid ${H}`
508
522
  },
509
523
  children: /* @__PURE__ */ c("div", { className: "flex flex-col items-center gap-10", children: [
510
- /* @__PURE__ */ r(nr, { color: "secondary", size: 34, thickness: 4.5 }),
511
- /* @__PURE__ */ r(i, { variant: "body2", color: "text.secondary", fontWeight: 700, children: "로딩 중..." })
524
+ /* @__PURE__ */ o(dr, { color: "secondary", size: 34, thickness: 4.5 }),
525
+ /* @__PURE__ */ o(i, { variant: "body2", color: "text.secondary", fontWeight: 700, children: "로딩 중..." })
512
526
  ] })
513
527
  }
514
528
  ) : null,
515
- Ke.map((o) => /* @__PURE__ */ r(mr, { children: Le(o) }, `${o}-${Ue[o]}`))
529
+ qe.map((a) => /* @__PURE__ */ o(fr, { children: Xe(a) }, `${a}-${Je[a]}`))
516
530
  ]
517
531
  }
518
532
  )
@@ -520,8 +534,8 @@ function _r({
520
534
  }
521
535
  ) });
522
536
  }
523
- z(_r, "ThemePreviewCanvas");
537
+ C(Qr, "ThemePreviewCanvas");
524
538
  export {
525
- _r as ThemePreviewCanvas
539
+ Qr as ThemePreviewCanvas
526
540
  };
527
541
  //# sourceMappingURL=ThemePreviewCanvas.js.map