@owp/core 2.5.62 → 2.5.65

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