@owp/core 2.5.62 → 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.
- package/dist/_virtual/index17.js +2 -5
- package/dist/_virtual/index17.js.map +1 -1
- package/dist/_virtual/index18.js +4 -4
- package/dist/_virtual/index19.js +4 -4
- package/dist/_virtual/index20.js +5 -2
- package/dist/_virtual/index20.js.map +1 -1
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.js +2 -2
- package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js +73 -33
- package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js.map +1 -1
- package/dist/components/OwpPageCarded/OwpPageCarded.js +10 -10
- package/dist/components/OwpPageCarded/OwpPageCarded.js.map +1 -1
- package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebar.js +5 -5
- package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebar.js.map +1 -1
- package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebarContent.js +1 -1
- package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebarContent.js.map +1 -1
- package/dist/components/OwpPageContent/OwpPageContent.js +3 -3
- package/dist/components/OwpPageContent/OwpPageContent.js.map +1 -1
- package/dist/components/{OwpPageTitle/OwpPageTitle.js → OwpPageContent/internal/PageTitle.js} +7 -7
- package/dist/components/OwpPageContent/internal/PageTitle.js.map +1 -0
- package/dist/components/OwpTable/OwpDataTable.js +98 -98
- package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
- package/dist/components/OwpTable/OwpFieldTable.js +70 -68
- package/dist/components/OwpTable/OwpFieldTable.js.map +1 -1
- package/dist/components/OwpTable/internal/OwpTableBase.js +47 -38
- package/dist/components/OwpTable/internal/OwpTableBase.js.map +1 -1
- package/dist/components/OwpTable/internal/defaultTableStyle.js +11 -8
- package/dist/components/OwpTable/internal/defaultTableStyle.js.map +1 -1
- package/dist/components/OwpTextField/OwpBarcodeInputField.js +50 -0
- package/dist/components/OwpTextField/OwpBarcodeInputField.js.map +1 -0
- package/dist/components/{OwpHidden/OwpHidden.js → internal/Hidden.js} +9 -9
- package/dist/components/internal/Hidden.js.map +1 -0
- package/dist/components/{OwpScrollbars/OwpScrollbars.js → internal/Scrollbars.js} +6 -6
- package/dist/components/internal/Scrollbars.js.map +1 -0
- package/dist/configs/defaultConfig.js +248 -159
- package/dist/configs/defaultConfig.js.map +1 -1
- package/dist/constants/tableTheme.js.map +1 -1
- package/dist/contexts/OwpDialogsContext.js.map +1 -0
- package/dist/{components/OwpDialogsProvider → contexts}/OwpDialogsProvider.js +3 -3
- package/dist/contexts/OwpDialogsProvider.js.map +1 -0
- package/dist/{components/OwpStyleProvider → contexts}/OwpStyleProvider.js +2 -2
- package/dist/contexts/OwpStyleProvider.js.map +1 -0
- package/dist/contexts/OwpUiProvider.js +22 -22
- package/dist/contexts/OwpUiProvider.js.map +1 -1
- package/dist/{components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js → contexts/internal/AutoLogoutDialog.js} +4 -4
- package/dist/contexts/internal/AutoLogoutDialog.js.map +1 -0
- package/dist/{components/OwpPageLockLoading/OwpPageLockLoading.js → contexts/internal/PageLockLoading.js} +11 -11
- package/dist/contexts/internal/PageLockLoading.js.map +1 -0
- package/dist/{components/OwpSnackbarContent/OwpSnackbarContent.js → contexts/internal/SnackbarContent.js} +26 -26
- package/dist/contexts/internal/SnackbarContent.js.map +1 -0
- package/dist/contexts.js +10 -6
- package/dist/contexts.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvas.js +268 -255
- package/dist/features/themePreview/components/ThemePreviewCanvas.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js +109 -107
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewColorField.js +185 -188
- package/dist/features/themePreview/components/ThemePreviewColorField.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewControls.js +213 -206
- package/dist/features/themePreview/components/ThemePreviewControls.js.map +1 -1
- package/dist/features/themePreview/components/themePreviewCanvas.shared.js +140 -128
- package/dist/features/themePreview/components/themePreviewCanvas.shared.js.map +1 -1
- package/dist/features/themePreview/configs/presets.js +90 -52
- package/dist/features/themePreview/configs/presets.js.map +1 -1
- package/dist/features/themePreview/configs/settings.js +51 -27
- package/dist/features/themePreview/configs/settings.js.map +1 -1
- package/dist/features/themePreview/configs/table.js +8 -5
- package/dist/features/themePreview/configs/table.js.map +1 -1
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js +250 -209
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js.map +1 -1
- package/dist/features/themePreview/hooks/useThemePreview.js +373 -274
- package/dist/features/themePreview/hooks/useThemePreview.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewDefinitions.js +57 -59
- package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewExport.js +1 -1
- package/dist/features/themePreview/utils/themePreviewSettings.js +258 -170
- package/dist/features/themePreview/utils/themePreviewSettings.js.map +1 -1
- package/dist/hooks/useOwpDialogs.js +1 -1
- package/dist/index.js +89 -107
- package/dist/index.js.map +1 -1
- package/dist/layout/Layout.js +18 -18
- package/dist/layout/Layout.js.map +1 -1
- package/dist/layout/components/navbar/style/NavbarStyle.js +1 -1
- package/dist/layout/components/navbar/style/NavbarStyle.js.map +1 -1
- package/dist/layout/components/navbar/style/NavbarStyleContent.js +11 -11
- package/dist/layout/components/navbar/style/NavbarStyleContent.js.map +1 -1
- package/dist/{components/OwpNavLinkAdapter/OwpNavLinkAdapter.js → layout/components/navigation/internal/NavLinkAdapter.js} +25 -25
- package/dist/layout/components/navigation/internal/NavLinkAdapter.js.map +1 -0
- package/dist/layout/components/navigation/vertical/types/NavVerticalCollapse.js +15 -15
- package/dist/layout/components/navigation/vertical/types/NavVerticalGroup.js +6 -6
- package/dist/layout/components/navigation/vertical/types/NavVerticalItem.js +4 -4
- package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
- package/dist/layout/components/toolbar/ToolbarLayout.js +29 -29
- package/dist/layout/components/toolbar/ToolbarLayout.js.map +1 -1
- package/dist/{components/OwpPageBreadcrumb/OwpPageBreadcrumb.js → layout/components/toolbar/internal/PageBreadcrumb.js} +9 -9
- package/dist/layout/components/toolbar/internal/PageBreadcrumb.js.map +1 -0
- package/dist/{components/OwpPageSkeleton/OwpPageSkeleton.js → layout/internal/PageSkeleton.js} +9 -9
- package/dist/layout/internal/PageSkeleton.js.map +1 -0
- package/dist/{components/OwpSuspense/OwpSuspense.js → layout/internal/Suspense.js} +37 -37
- package/dist/layout/internal/Suspense.js.map +1 -0
- package/dist/node_modules/.pnpm/inko@1.1.1/node_modules/inko/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/index.js +1 -1
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
- package/dist/owp-app.css +1 -1
- package/dist/types/components/{OwpPageTitle/OwpPageTitle.d.ts → OwpPageContent/internal/PageTitle.d.ts} +3 -3
- package/dist/types/components/OwpTable/internal/defaultTableStyle.d.ts +5 -2
- package/dist/types/components/OwpTextField/OwpBarcodeInputField.d.ts +15 -0
- package/dist/types/components/OwpTextField/index.d.ts +1 -0
- package/dist/types/components/{OwpHidden/OwpHidden.d.ts → internal/Hidden.d.ts} +4 -4
- package/dist/types/components/{OwpScrollbars/OwpScrollbars.d.ts → internal/Scrollbars.d.ts} +7 -7
- package/dist/types/configs/defaultConfig.d.ts +4 -4
- package/dist/types/constants/tableTheme.d.ts +1 -0
- package/dist/types/contexts/index.d.ts +2 -0
- package/dist/types/{components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.d.ts → contexts/internal/AutoLogoutDialog.d.ts} +2 -2
- package/dist/types/contexts/internal/PageLockLoading.d.ts +7 -0
- package/dist/types/contexts/internal/SnackbarContent.d.ts +3 -0
- package/dist/types/features/themePreview/components/ThemePreviewColorField.d.ts +4 -5
- package/dist/types/features/themePreview/configs/presets.d.ts +4 -2
- package/dist/types/features/themePreview/configs/settings.d.ts +26 -0
- package/dist/types/features/themePreview/configs/table.d.ts +2 -0
- package/dist/types/features/themePreview/hooks/useThemePreview.d.ts +2 -0
- package/dist/types/hooks/usePageLockLoading.d.ts +3 -3
- package/dist/types/index.d.ts +1 -10
- package/dist/types/{components/OwpNavLinkAdapter/OwpNavLinkAdapter.d.ts → layout/components/navigation/internal/NavLinkAdapter.d.ts} +3 -3
- package/dist/types/layout/internal/PageSkeleton.d.ts +6 -0
- package/dist/types/layout/internal/Suspense.d.ts +13 -0
- package/dist/types/types/OwpMuiThemeTypes.d.ts +16 -0
- package/dist/types/types/OwpTableThemeTypes.d.ts +2 -0
- package/dist/types/types/PageLockLoadingTypes.d.ts +9 -0
- package/dist/types/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js.map +0 -1
- package/dist/components/OwpBarcodeInput/OwpBarcodeInputField.js +0 -38
- package/dist/components/OwpBarcodeInput/OwpBarcodeInputField.js.map +0 -1
- package/dist/components/OwpDialogsProvider/OwpDialogsContext.js.map +0 -1
- package/dist/components/OwpDialogsProvider/OwpDialogsProvider.js.map +0 -1
- package/dist/components/OwpHidden/OwpHidden.js.map +0 -1
- package/dist/components/OwpNavLinkAdapter/OwpNavLinkAdapter.js.map +0 -1
- package/dist/components/OwpPageBreadcrumb/OwpPageBreadcrumb.js.map +0 -1
- package/dist/components/OwpPageLockLoading/OwpPageLockLoading.js.map +0 -1
- package/dist/components/OwpPageSkeleton/OwpPageSkeleton.js.map +0 -1
- package/dist/components/OwpPageTitle/OwpPageTitle.js.map +0 -1
- package/dist/components/OwpScrollbars/OwpScrollbars.js.map +0 -1
- package/dist/components/OwpSnackbarContent/OwpSnackbarContent.js.map +0 -1
- package/dist/components/OwpStyleProvider/OwpStyleProvider.js.map +0 -1
- package/dist/components/OwpSuspense/OwpSuspense.js.map +0 -1
- package/dist/components/OwpZoomImageSlider/OwpZoomImageSlider.js +0 -66
- package/dist/components/OwpZoomImageSlider/OwpZoomImageSlider.js.map +0 -1
- package/dist/components/OwpZoomImageSlider/internal/ZoomImage.js +0 -49
- package/dist/components/OwpZoomImageSlider/internal/ZoomImage.js.map +0 -1
- 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
- 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
- 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
- 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
- package/dist/types/components/OwpAutoLogoutDialog/index.d.ts +0 -1
- package/dist/types/components/OwpBarcodeInput/OwpBarcodeInput.d.ts +0 -1
- package/dist/types/components/OwpBarcodeInput/OwpBarcodeInputField.d.ts +0 -7
- package/dist/types/components/OwpBarcodeInput/index.d.ts +0 -1
- package/dist/types/components/OwpDialogsProvider/index.d.ts +0 -1
- package/dist/types/components/OwpHidden/index.d.ts +0 -2
- package/dist/types/components/OwpNavLinkAdapter/index.d.ts +0 -2
- package/dist/types/components/OwpPageBreadcrumb/index.d.ts +0 -2
- package/dist/types/components/OwpPageLockLoading/OwpPageLockLoading.d.ts +0 -15
- package/dist/types/components/OwpPageLockLoading/index.d.ts +0 -1
- package/dist/types/components/OwpPageSkeleton/OwpPageSkeleton.d.ts +0 -6
- package/dist/types/components/OwpPageSkeleton/index.d.ts +0 -1
- package/dist/types/components/OwpPageTitle/index.d.ts +0 -1
- package/dist/types/components/OwpScrollbars/index.d.ts +0 -1
- package/dist/types/components/OwpSnackbarContent/OwpSnackbarContent.d.ts +0 -3
- package/dist/types/components/OwpStyleProvider/index.d.ts +0 -2
- package/dist/types/components/OwpSuspense/OwpSuspense.d.ts +0 -16
- package/dist/types/components/OwpSuspense/index.d.ts +0 -1
- package/dist/types/components/OwpZoomImageSlider/OwpZoomImageSlider.d.ts +0 -20
- package/dist/types/components/OwpZoomImageSlider/index.d.ts +0 -1
- package/dist/types/components/OwpZoomImageSlider/internal/ZoomImage.d.ts +0 -7
- /package/dist/{components/OwpDialogsProvider → contexts}/OwpDialogsContext.js +0 -0
- /package/dist/types/{components/OwpDialogsProvider → contexts}/OwpDialogsContext.d.ts +0 -0
- /package/dist/types/{components/OwpDialogsProvider → contexts}/OwpDialogsProvider.d.ts +0 -0
- /package/dist/types/{components/OwpStyleProvider → contexts}/OwpStyleProvider.d.ts +0 -0
- /package/dist/types/{components/OwpPageBreadcrumb/OwpPageBreadcrumb.d.ts → layout/components/toolbar/internal/PageBreadcrumb.d.ts} +0 -0
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
var de = Object.defineProperty;
|
|
2
|
-
var d = (
|
|
2
|
+
var d = (c, i) => de(c, "name", { value: i, configurable: !0 });
|
|
3
3
|
import { jsx as e, jsxs as r } from "../../../node_modules/.pnpm/@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import ce from "../defs/ThemePreviewGridDef.xml.js";
|
|
5
|
+
import se from "../defs/ThemePreviewReadonlyGridDef.xml.js";
|
|
6
6
|
import { OwpDatePicker as he } from "../../../components/OwpPicker/OwpDatePicker.js";
|
|
7
7
|
import { OwpDataTable as K } from "../../../components/OwpTable/OwpDataTable.js";
|
|
8
8
|
import { OwpFieldTable as $ } from "../../../components/OwpTable/OwpFieldTable.js";
|
|
9
9
|
import { OwpTable as Q } from "../../../components/OwpTable/OwpTable.js";
|
|
10
10
|
import { TREEGRID_CELL_CHANGED_CLASS as me } from "../../../constants/treeGrid.js";
|
|
11
11
|
import { OwpStoreProvider as O } from "../../../contexts/OwpStoreProvider.js";
|
|
12
|
+
import { OwpStyleProvider as _ } from "../../../contexts/OwpStyleProvider.js";
|
|
12
13
|
import I from "../../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Close.js";
|
|
13
14
|
import fe from "../../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Search.js";
|
|
14
15
|
import xe from "../../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/SpaceDashboardOutlined.js";
|
|
15
|
-
import { TableHead as pe, TableRow as F, TableCell as U, TableBody as ue, Table as ve, Typography as h, Box as w, Skeleton as E, Paper as A, TextField as M, Button as
|
|
16
|
+
import { TableHead as pe, TableRow as F, TableCell as U, TableBody as ue, Table as ve, Typography as h, Box as w, Skeleton as E, Paper as A, TextField as M, Button as T, ButtonBase as we, CircularProgress as H, LinearProgress as L, IconButton as ge } from "@mui/material";
|
|
16
17
|
import { useTheme as Z, createTheme as be, ThemeProvider as ye, alpha as j } from "@mui/material/styles";
|
|
17
18
|
import { useSetAtom as Te } from "jotai";
|
|
18
19
|
import { enqueueSnackbar as Se, closeSnackbar as V, SnackbarContent as Ce } from "notistack";
|
|
19
|
-
import { memo as
|
|
20
|
-
import { previewChromeBorder as P, gridPreviewColumnLabels as Ge, gridPreviewRows as Me, gridPreviewBodyText as ke, getThemePreviewFieldTableSx as D, getThemePreviewFieldTableTitleSx as ee, tableFieldPreviewLayout as le, tableFieldPreviewData as re, getThemePreviewFieldTableCellSx as z, getThemePreviewBasicTableSx as Oe, tablePreviewRows as _e, tablePreviewHeaders as ie, getThemePreviewDataTableSx as Be, dataTablePreviewRows as q, dataTablePreviewHeadCells as ae, gridCanvasPreviewRows as X, gridStyledTablePreviewRows as $e, gridStyledDataTablePreviewRows as Ae, previewNoop as
|
|
21
|
-
import { OwpStyleProvider as _ } from "../../../components/OwpStyleProvider/OwpStyleProvider.js";
|
|
20
|
+
import { memo as C, useState as Ne, useRef as Re, useEffect as Pe, useMemo as Ee, useLayoutEffect as We } from "react";
|
|
21
|
+
import { previewChromeBorder as P, gridPreviewColumnLabels as Ge, gridPreviewRows as Me, gridPreviewBodyText as ke, getThemePreviewFieldTableSx as D, getThemePreviewFieldTableTitleSx as ee, tableFieldPreviewLayout as le, tableFieldPreviewData as re, getThemePreviewFieldTableCellSx as z, getThemePreviewBasicTableSx as Oe, tablePreviewRows as _e, tablePreviewHeaders as ie, getThemePreviewDataTableSx as Be, dataTablePreviewRows as q, dataTablePreviewHeadCells as ae, gridCanvasPreviewRows as X, gridStyledTablePreviewRows as $e, gridStyledDataTablePreviewRows as Ae, previewNoop as S, previewInnerCardSx as ne, searchHeaderPreviewData as De, previewSectionCardClassName as ze } from "./themePreviewCanvas.shared.js";
|
|
22
22
|
import { OwpTreeGrid as Y } from "../../../components/OwpTreeGrid/OwpTreeGrid.js";
|
|
23
23
|
import { OwpYesNoSelector as Ie } from "../../../components/OwpYesNoSelector/OwpYesNoSelector.js";
|
|
24
24
|
import { OwpPageContent as Fe } from "../../../components/OwpPageContent/OwpPageContent.js";
|
|
25
25
|
import { OwpSection as J } from "../../../components/OwpSection/OwpSection.js";
|
|
26
26
|
import { owpSettingsStateAtom as Ue } from "../../../store/atoms/owpSettingsAtoms.js";
|
|
27
27
|
import { OwpSearchFilter as He } from "../../../components/OwpSearchFilter/OwpSearchFilter.js";
|
|
28
|
-
function Le({ state:
|
|
29
|
-
const i = Te(Ue), l =
|
|
28
|
+
function Le({ state: c }) {
|
|
29
|
+
const i = Te(Ue), l = c.owpSettings;
|
|
30
30
|
return We(() => {
|
|
31
31
|
!(l != null && l.current) || !(l != null && l.defaults) || !(l != null && l.initial) || i(l);
|
|
32
32
|
}, [l, i]), null;
|
|
33
33
|
}
|
|
34
34
|
d(Le, "ThemePreviewStoreStateSync");
|
|
35
35
|
function y({
|
|
36
|
-
children:
|
|
36
|
+
children: c,
|
|
37
37
|
fillContentHeight: i = !1,
|
|
38
38
|
gapClassName: l = "gap-16",
|
|
39
39
|
paperClassName: a = ze,
|
|
40
|
-
sx:
|
|
41
|
-
title:
|
|
40
|
+
sx: n,
|
|
41
|
+
title: t
|
|
42
42
|
}) {
|
|
43
|
-
const u =
|
|
43
|
+
const u = t != null && t !== "";
|
|
44
44
|
return /* @__PURE__ */ e(
|
|
45
45
|
A,
|
|
46
46
|
{
|
|
47
47
|
className: a,
|
|
48
48
|
sx: {
|
|
49
|
-
...
|
|
50
|
-
...
|
|
49
|
+
...ne,
|
|
50
|
+
...n
|
|
51
51
|
},
|
|
52
52
|
children: /* @__PURE__ */ r(
|
|
53
53
|
"div",
|
|
54
54
|
{
|
|
55
55
|
className: `flex flex-col ${u ? l : ""} ${i ? "min-h-0 flex-1" : ""}`,
|
|
56
56
|
children: [
|
|
57
|
-
u ? /* @__PURE__ */ e(h, { variant: "subtitle1", fontWeight: 700, children:
|
|
58
|
-
|
|
57
|
+
u ? /* @__PURE__ */ e(h, { variant: "subtitle1", fontWeight: 700, children: t }) : null,
|
|
58
|
+
c
|
|
59
59
|
]
|
|
60
60
|
}
|
|
61
61
|
)
|
|
@@ -63,7 +63,7 @@ function y({
|
|
|
63
63
|
);
|
|
64
64
|
}
|
|
65
65
|
d(y, "PreviewSectionCard");
|
|
66
|
-
function k({ children:
|
|
66
|
+
function k({ children: c }) {
|
|
67
67
|
const i = Z(), l = Ee(
|
|
68
68
|
() => be(i, {
|
|
69
69
|
palette: {
|
|
@@ -72,24 +72,24 @@ function k({ children: s }) {
|
|
|
72
72
|
}),
|
|
73
73
|
[i]
|
|
74
74
|
);
|
|
75
|
-
return /* @__PURE__ */ e(ye, { theme: l, children:
|
|
75
|
+
return /* @__PURE__ */ e(ye, { theme: l, children: c });
|
|
76
76
|
}
|
|
77
77
|
d(k, "ThemePreviewStaticDividerBoundary");
|
|
78
|
-
function
|
|
79
|
-
buttonPreviewItems:
|
|
78
|
+
function te({
|
|
79
|
+
buttonPreviewItems: c,
|
|
80
80
|
mainTextSecondary: i
|
|
81
81
|
}) {
|
|
82
82
|
return /* @__PURE__ */ r("div", { className: "flex flex-col gap-12", children: [
|
|
83
83
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
|
|
84
84
|
/* @__PURE__ */ e(h, { variant: "caption", sx: { color: i }, children: "contained" }),
|
|
85
|
-
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-8", children:
|
|
86
|
-
|
|
85
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-8", children: c.map(({ label: l, color: a, previewContrastColor: n }) => /* @__PURE__ */ e(
|
|
86
|
+
T,
|
|
87
87
|
{
|
|
88
88
|
size: "small",
|
|
89
89
|
variant: "contained",
|
|
90
90
|
sx: {
|
|
91
91
|
backgroundColor: a,
|
|
92
|
-
color:
|
|
92
|
+
color: n,
|
|
93
93
|
minWidth: 72,
|
|
94
94
|
px: 1.5,
|
|
95
95
|
py: 0.625
|
|
@@ -101,8 +101,8 @@ function ne({
|
|
|
101
101
|
] }),
|
|
102
102
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
|
|
103
103
|
/* @__PURE__ */ e(h, { variant: "caption", sx: { color: i }, children: "outlined" }),
|
|
104
|
-
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-8", children:
|
|
105
|
-
|
|
104
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-8", children: c.map(({ label: l, color: a }) => /* @__PURE__ */ e(
|
|
105
|
+
T,
|
|
106
106
|
{
|
|
107
107
|
size: "small",
|
|
108
108
|
variant: "outlined",
|
|
@@ -124,12 +124,12 @@ function ne({
|
|
|
124
124
|
] })
|
|
125
125
|
] });
|
|
126
126
|
}
|
|
127
|
-
d(
|
|
128
|
-
const gl =
|
|
127
|
+
d(te, "ThemePreviewButtonsPreviewContent");
|
|
128
|
+
const gl = C(/* @__PURE__ */ d(function({
|
|
129
129
|
buttonPreviewItems: i,
|
|
130
130
|
mainTextSecondary: l,
|
|
131
131
|
mainThemePreviewStoreState: a,
|
|
132
|
-
previewSectionCardSx:
|
|
132
|
+
previewSectionCardSx: n
|
|
133
133
|
}) {
|
|
134
134
|
return /* @__PURE__ */ e(O, { preloadedState: a, children: /* @__PURE__ */ e(_, { children: /* @__PURE__ */ r("div", { className: "grid gap-16 xl:grid-cols-[188px_212px_minmax(0,9fr)_minmax(280px,13fr)]", children: [
|
|
135
135
|
/* @__PURE__ */ e(
|
|
@@ -137,7 +137,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
137
137
|
{
|
|
138
138
|
gapClassName: "gap-12",
|
|
139
139
|
sx: {
|
|
140
|
-
...
|
|
140
|
+
...n,
|
|
141
141
|
minWidth: 0
|
|
142
142
|
},
|
|
143
143
|
title: "Common",
|
|
@@ -182,7 +182,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
182
182
|
{
|
|
183
183
|
gapClassName: "gap-12",
|
|
184
184
|
sx: {
|
|
185
|
-
...
|
|
185
|
+
...n,
|
|
186
186
|
minWidth: 0
|
|
187
187
|
},
|
|
188
188
|
title: "Inputs",
|
|
@@ -192,7 +192,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
192
192
|
{
|
|
193
193
|
fullWidth: !0,
|
|
194
194
|
label: "기본 입력",
|
|
195
|
-
onChange:
|
|
195
|
+
onChange: S,
|
|
196
196
|
size: "small",
|
|
197
197
|
value: "기본 상태"
|
|
198
198
|
}
|
|
@@ -203,7 +203,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
203
203
|
focused: !0,
|
|
204
204
|
fullWidth: !0,
|
|
205
205
|
label: "포커스 입력",
|
|
206
|
-
onChange:
|
|
206
|
+
onChange: S,
|
|
207
207
|
size: "small",
|
|
208
208
|
value: "focus 상태"
|
|
209
209
|
}
|
|
@@ -214,7 +214,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
214
214
|
disabled: !0,
|
|
215
215
|
fullWidth: !0,
|
|
216
216
|
label: "비활성 입력",
|
|
217
|
-
onChange:
|
|
217
|
+
onChange: S,
|
|
218
218
|
size: "small",
|
|
219
219
|
value: "disabled 상태"
|
|
220
220
|
}
|
|
@@ -227,7 +227,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
227
227
|
{
|
|
228
228
|
gapClassName: "gap-12",
|
|
229
229
|
sx: {
|
|
230
|
-
...
|
|
230
|
+
...n,
|
|
231
231
|
minWidth: 0
|
|
232
232
|
},
|
|
233
233
|
title: "Text",
|
|
@@ -244,12 +244,12 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
244
244
|
{
|
|
245
245
|
gapClassName: "gap-12",
|
|
246
246
|
sx: {
|
|
247
|
-
...
|
|
247
|
+
...n,
|
|
248
248
|
minWidth: 0
|
|
249
249
|
},
|
|
250
250
|
title: "Buttons",
|
|
251
251
|
children: /* @__PURE__ */ e(
|
|
252
|
-
|
|
252
|
+
te,
|
|
253
253
|
{
|
|
254
254
|
buttonPreviewItems: i,
|
|
255
255
|
mainTextSecondary: l
|
|
@@ -258,34 +258,34 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
258
258
|
}
|
|
259
259
|
)
|
|
260
260
|
] }) }) });
|
|
261
|
-
}, "ThemePreviewCommonSection2")), bl =
|
|
261
|
+
}, "ThemePreviewCommonSection2")), bl = C(/* @__PURE__ */ d(function({
|
|
262
262
|
buttonPreviewItems: i,
|
|
263
263
|
mainTextSecondary: l,
|
|
264
264
|
previewSectionCardSx: a
|
|
265
265
|
}) {
|
|
266
266
|
return /* @__PURE__ */ e(y, { title: "Buttons", sx: a, children: /* @__PURE__ */ e(
|
|
267
|
-
|
|
267
|
+
te,
|
|
268
268
|
{
|
|
269
269
|
buttonPreviewItems: i,
|
|
270
270
|
mainTextSecondary: l
|
|
271
271
|
}
|
|
272
272
|
) });
|
|
273
|
-
}, "ThemePreviewButtonsSection2")), yl =
|
|
273
|
+
}, "ThemePreviewButtonsSection2")), yl = C(/* @__PURE__ */ d(function({
|
|
274
274
|
previewSectionCardSx: i,
|
|
275
275
|
previewSnackbarKeysRef: l,
|
|
276
276
|
snackbarAnchorOrigin: a,
|
|
277
|
-
snackbarAutoHideDuration:
|
|
278
|
-
snackbarPreviewAnchorHorizontal:
|
|
277
|
+
snackbarAutoHideDuration: n,
|
|
278
|
+
snackbarPreviewAnchorHorizontal: t,
|
|
279
279
|
snackbarPreviewAnchorVertical: u,
|
|
280
280
|
snackbarPreviewFontSize: m,
|
|
281
281
|
snackbarPreviewItems: x,
|
|
282
282
|
snackbarPreviewLineHeight: v,
|
|
283
|
-
snackbarPreviewMaxSnack:
|
|
283
|
+
snackbarPreviewMaxSnack: N
|
|
284
284
|
}) {
|
|
285
|
-
const o = Z(),
|
|
285
|
+
const o = Z(), s = /* @__PURE__ */ d((p, f, g, b, R, W) => {
|
|
286
286
|
const oe = Se(f, {
|
|
287
287
|
anchorOrigin: a,
|
|
288
|
-
autoHideDuration:
|
|
288
|
+
autoHideDuration: n,
|
|
289
289
|
variant: p,
|
|
290
290
|
content: /* @__PURE__ */ d((G) => /* @__PURE__ */ e(
|
|
291
291
|
Ce,
|
|
@@ -368,7 +368,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
368
368
|
flexShrink: 0,
|
|
369
369
|
ml: 1,
|
|
370
370
|
"&:hover": {
|
|
371
|
-
backgroundColor:
|
|
371
|
+
backgroundColor: R
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
374
|
children: /* @__PURE__ */ e(I, { fontSize: "small" })
|
|
@@ -380,7 +380,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
380
380
|
}
|
|
381
381
|
), "content")
|
|
382
382
|
});
|
|
383
|
-
for (l.current.push(oe); l.current.length >
|
|
383
|
+
for (l.current.push(oe); l.current.length > N; ) {
|
|
384
384
|
const G = l.current.shift();
|
|
385
385
|
G && V(G);
|
|
386
386
|
}
|
|
@@ -399,22 +399,22 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
399
399
|
{
|
|
400
400
|
className: "flex min-h-0 flex-1 flex-col gap-10",
|
|
401
401
|
style: {
|
|
402
|
-
alignItems:
|
|
402
|
+
alignItems: t === "left" ? "flex-start" : t === "right" ? "flex-end" : "center",
|
|
403
403
|
justifyContent: u === "bottom" ? "flex-end" : "flex-start"
|
|
404
404
|
},
|
|
405
405
|
children: x.map(
|
|
406
|
-
({ key: p, actionHoverColor: f, backgroundColor: g, color: b, icon:
|
|
406
|
+
({ key: p, actionHoverColor: f, backgroundColor: g, color: b, icon: R, message: W }) => /* @__PURE__ */ r(
|
|
407
407
|
we,
|
|
408
408
|
{
|
|
409
409
|
className: "flex items-center justify-between gap-10 px-16 py-10 text-left",
|
|
410
410
|
onClick: /* @__PURE__ */ d(() => {
|
|
411
|
-
|
|
411
|
+
s(
|
|
412
412
|
p,
|
|
413
413
|
W,
|
|
414
414
|
g,
|
|
415
415
|
b,
|
|
416
416
|
f,
|
|
417
|
-
|
|
417
|
+
R
|
|
418
418
|
);
|
|
419
419
|
}, "onClick"),
|
|
420
420
|
style: {
|
|
@@ -426,7 +426,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
426
426
|
},
|
|
427
427
|
children: [
|
|
428
428
|
/* @__PURE__ */ r("div", { className: "flex min-w-0 flex-1 items-center gap-10", children: [
|
|
429
|
-
/* @__PURE__ */ e("div", { className: "flex shrink-0 items-center", style: { color: b }, children:
|
|
429
|
+
/* @__PURE__ */ e("div", { className: "flex shrink-0 items-center", style: { color: b }, children: R }),
|
|
430
430
|
/* @__PURE__ */ e(
|
|
431
431
|
h,
|
|
432
432
|
{
|
|
@@ -466,22 +466,22 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
466
466
|
] })
|
|
467
467
|
}
|
|
468
468
|
);
|
|
469
|
-
}, "ThemePreviewSnackbarsSection2")), Tl =
|
|
469
|
+
}, "ThemePreviewSnackbarsSection2")), Tl = C(/* @__PURE__ */ d(function({
|
|
470
470
|
activeSection: i,
|
|
471
471
|
gridPreviewTable: l,
|
|
472
472
|
mainBackground: a,
|
|
473
|
-
mainPaper:
|
|
474
|
-
mainText:
|
|
473
|
+
mainPaper: n,
|
|
474
|
+
mainText: t,
|
|
475
475
|
mainThemePreviewStoreState: u,
|
|
476
476
|
previewSectionCardSx: m,
|
|
477
477
|
searchHeaderPreviewDate: x,
|
|
478
478
|
searchHeaderPreviewNumber: v,
|
|
479
|
-
searchHeaderPreviewVersionKey:
|
|
479
|
+
searchHeaderPreviewVersionKey: N,
|
|
480
480
|
tablePreviewCanTableRadiusZero: o,
|
|
481
|
-
tableTheme:
|
|
481
|
+
tableTheme: s,
|
|
482
482
|
tableThemePreviewVersionKey: p
|
|
483
483
|
}) {
|
|
484
|
-
const f = z(
|
|
484
|
+
const f = z(s), g = ee(s), b = i === "navbar" || i === "toolbar";
|
|
485
485
|
return /* @__PURE__ */ e(y, { paperClassName: "overflow-hidden rounded-lg p-0", sx: m, children: /* @__PURE__ */ e(
|
|
486
486
|
O,
|
|
487
487
|
{
|
|
@@ -492,7 +492,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
492
492
|
className: "flex flex-col gap-16 p-16",
|
|
493
493
|
sx: {
|
|
494
494
|
backgroundColor: a,
|
|
495
|
-
color:
|
|
495
|
+
color: t,
|
|
496
496
|
"& .OwpPageContent-header .MuiDivider-root": {
|
|
497
497
|
my: 1.5
|
|
498
498
|
},
|
|
@@ -509,14 +509,14 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
509
509
|
backgroundColor: "transparent",
|
|
510
510
|
boxShadow: "none"
|
|
511
511
|
},
|
|
512
|
-
children: /* @__PURE__ */ r(He, { onSubmit:
|
|
512
|
+
children: /* @__PURE__ */ r(He, { onSubmit: S, onReset: S, children: [
|
|
513
513
|
/* @__PURE__ */ e(
|
|
514
514
|
he,
|
|
515
515
|
{
|
|
516
516
|
label: "작업일자",
|
|
517
517
|
value: x,
|
|
518
518
|
variant: "standard",
|
|
519
|
-
onChange:
|
|
519
|
+
onChange: S
|
|
520
520
|
}
|
|
521
521
|
),
|
|
522
522
|
/* @__PURE__ */ e(
|
|
@@ -526,7 +526,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
526
526
|
yesLabel: "사용",
|
|
527
527
|
noLabel: "미사용",
|
|
528
528
|
value: "Y",
|
|
529
|
-
onChange:
|
|
529
|
+
onChange: S
|
|
530
530
|
}
|
|
531
531
|
),
|
|
532
532
|
/* @__PURE__ */ e(
|
|
@@ -535,7 +535,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
535
535
|
label: "번호",
|
|
536
536
|
variant: "standard",
|
|
537
537
|
value: v,
|
|
538
|
-
onChange:
|
|
538
|
+
onChange: S
|
|
539
539
|
}
|
|
540
540
|
)
|
|
541
541
|
] })
|
|
@@ -546,8 +546,8 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
546
546
|
{
|
|
547
547
|
className: "w-full rounded-lg p-16",
|
|
548
548
|
sx: {
|
|
549
|
-
...
|
|
550
|
-
backgroundColor:
|
|
549
|
+
...ne,
|
|
550
|
+
backgroundColor: n,
|
|
551
551
|
border: `1px solid ${P}`
|
|
552
552
|
},
|
|
553
553
|
children: /* @__PURE__ */ e(
|
|
@@ -558,7 +558,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
558
558
|
w,
|
|
559
559
|
{
|
|
560
560
|
sx: D(
|
|
561
|
-
|
|
561
|
+
s,
|
|
562
562
|
o
|
|
563
563
|
),
|
|
564
564
|
children: /* @__PURE__ */ e(
|
|
@@ -582,10 +582,12 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
582
582
|
}
|
|
583
583
|
) }) }),
|
|
584
584
|
actions: /* @__PURE__ */ r("div", { className: "flex flex-wrap gap-8", children: [
|
|
585
|
-
/* @__PURE__ */ e(
|
|
586
|
-
/* @__PURE__ */ e(
|
|
587
|
-
/* @__PURE__ */ e(
|
|
588
|
-
/* @__PURE__ */ e(
|
|
585
|
+
/* @__PURE__ */ e(T, { color: "primary", size: "small", variant: "contained", children: "생성" }),
|
|
586
|
+
/* @__PURE__ */ e(T, { color: "secondary", size: "small", variant: "contained", children: "수정" }),
|
|
587
|
+
/* @__PURE__ */ e(T, { color: "info", size: "small", variant: "contained", children: "정보" }),
|
|
588
|
+
/* @__PURE__ */ e(T, { color: "warning", size: "small", variant: "contained", children: "개선" }),
|
|
589
|
+
/* @__PURE__ */ e(T, { color: "error", size: "small", variant: "contained", children: "삭제" }),
|
|
590
|
+
/* @__PURE__ */ e(T, { color: "success", size: "small", variant: "contained", children: "다운로드" })
|
|
589
591
|
] }),
|
|
590
592
|
children: /* @__PURE__ */ r("div", { className: "flex min-h-0 flex-1 flex-col gap-12", children: [
|
|
591
593
|
l,
|
|
@@ -603,14 +605,14 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
603
605
|
w,
|
|
604
606
|
{
|
|
605
607
|
sx: D(
|
|
606
|
-
|
|
608
|
+
s,
|
|
607
609
|
o
|
|
608
610
|
),
|
|
609
611
|
children: /* @__PURE__ */ e(
|
|
610
612
|
$,
|
|
611
613
|
{
|
|
612
614
|
canUseTreeGridStyle: !0,
|
|
613
|
-
cellSx: z(
|
|
615
|
+
cellSx: z(s),
|
|
614
616
|
data: re,
|
|
615
617
|
layout: le,
|
|
616
618
|
titleWidth: 108
|
|
@@ -623,7 +625,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
623
625
|
)
|
|
624
626
|
}
|
|
625
627
|
),
|
|
626
|
-
b ? /* @__PURE__ */ e("div", { className: "flex min-h-0 flex-1 flex-col gap-12", children: [0, 1].map((
|
|
628
|
+
b ? /* @__PURE__ */ e("div", { className: "flex min-h-0 flex-1 flex-col gap-12", children: [0, 1].map((R) => /* @__PURE__ */ e(
|
|
627
629
|
J,
|
|
628
630
|
{
|
|
629
631
|
className: "min-h-0 flex-1",
|
|
@@ -665,7 +667,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
665
667
|
}
|
|
666
668
|
)
|
|
667
669
|
},
|
|
668
|
-
`search-header-skeleton-section-${
|
|
670
|
+
`search-header-skeleton-section-${R}`
|
|
669
671
|
)) }) : null
|
|
670
672
|
] })
|
|
671
673
|
}
|
|
@@ -676,15 +678,15 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
676
678
|
}
|
|
677
679
|
) })
|
|
678
680
|
},
|
|
679
|
-
`search-header-${
|
|
681
|
+
`search-header-${N}`
|
|
680
682
|
) });
|
|
681
|
-
}, "ThemePreviewSearchHeaderSection2")), je = "OWP_THEME_PREVIEW.STATUS", B = "OWP_THEME_PREVIEW.WORK_DATE", Ve = "OWP_THEME_PREVIEW.REMARKClass", Sl =
|
|
683
|
+
}, "ThemePreviewSearchHeaderSection2")), je = "OWP_THEME_PREVIEW.STATUS", B = "OWP_THEME_PREVIEW.WORK_DATE", Ve = "OWP_THEME_PREVIEW.REMARKClass", Sl = C(/* @__PURE__ */ d(function({
|
|
682
684
|
editableThemePreviewGridId: i,
|
|
683
685
|
mainThemePreviewStoreState: l,
|
|
684
686
|
previewSectionCardSx: a,
|
|
685
|
-
readonlyThemePreviewGridId:
|
|
687
|
+
readonlyThemePreviewGridId: n
|
|
686
688
|
}) {
|
|
687
|
-
const [
|
|
689
|
+
const [t, u] = Ne(!1), m = Re(null), x = /* @__PURE__ */ d(() => {
|
|
688
690
|
m.current === null && (m.current = window.requestAnimationFrame(() => {
|
|
689
691
|
m.current = null, u(!0);
|
|
690
692
|
}));
|
|
@@ -712,16 +714,16 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
712
714
|
data: X,
|
|
713
715
|
height: "100%",
|
|
714
716
|
id: i,
|
|
715
|
-
layoutData:
|
|
717
|
+
layoutData: ce,
|
|
716
718
|
onReady: /* @__PURE__ */ d((o) => {
|
|
717
719
|
if (!o)
|
|
718
720
|
return;
|
|
719
|
-
const
|
|
720
|
-
if (!
|
|
721
|
+
const s = o.GetFirst(), p = s ? o.GetNext(s) : null, f = p ? o.GetNext(p) : s;
|
|
722
|
+
if (!s) {
|
|
721
723
|
x();
|
|
722
724
|
return;
|
|
723
725
|
}
|
|
724
|
-
p ? o.Focus(p, B) : o.Focus(
|
|
726
|
+
p ? o.Focus(p, B) : o.Focus(s, B), f && (o.SetAttribute(
|
|
725
727
|
f,
|
|
726
728
|
je,
|
|
727
729
|
"Error",
|
|
@@ -737,19 +739,19 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
737
739
|
showToolbarTotalCount: !1
|
|
738
740
|
}
|
|
739
741
|
),
|
|
740
|
-
|
|
742
|
+
t ? /* @__PURE__ */ e(
|
|
741
743
|
Y,
|
|
742
744
|
{
|
|
743
745
|
containerClassName: "min-w-0",
|
|
744
746
|
data: X,
|
|
745
747
|
height: "100%",
|
|
746
|
-
id:
|
|
747
|
-
layoutData:
|
|
748
|
+
id: n,
|
|
749
|
+
layoutData: se,
|
|
748
750
|
onReady: /* @__PURE__ */ d((o) => {
|
|
749
751
|
if (!o)
|
|
750
752
|
return;
|
|
751
|
-
const
|
|
752
|
-
|
|
753
|
+
const s = o.GetFirst();
|
|
754
|
+
s && o.Focus(s, B);
|
|
753
755
|
}, "handleReadonlyThemePreviewGridReady"),
|
|
754
756
|
showLoading: !1,
|
|
755
757
|
showToolbarTotalCount: !1
|
|
@@ -806,12 +808,12 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
806
808
|
}
|
|
807
809
|
) })
|
|
808
810
|
] }) });
|
|
809
|
-
}, "ThemePreviewGridSection2")), Cl =
|
|
811
|
+
}, "ThemePreviewGridSection2")), Cl = C(/* @__PURE__ */ d(function({
|
|
810
812
|
mainThemePreviewStoreState: i,
|
|
811
813
|
previewSectionCardSx: l,
|
|
812
814
|
tablePreviewCanTableRadiusZero: a,
|
|
813
|
-
tableTheme:
|
|
814
|
-
tableThemePreviewVersionKey:
|
|
815
|
+
tableTheme: n,
|
|
816
|
+
tableThemePreviewVersionKey: t
|
|
815
817
|
}) {
|
|
816
818
|
return /* @__PURE__ */ e(y, { title: "Tables", sx: l, children: /* @__PURE__ */ e(
|
|
817
819
|
O,
|
|
@@ -820,34 +822,34 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
820
822
|
children: /* @__PURE__ */ e(_, { children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-14", children: [
|
|
821
823
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
|
|
822
824
|
/* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Field Table" }),
|
|
823
|
-
/* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(w, { sx: D(
|
|
825
|
+
/* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(w, { sx: D(n, a), children: /* @__PURE__ */ e(
|
|
824
826
|
$,
|
|
825
827
|
{
|
|
826
828
|
canUseTreeGridStyle: !1,
|
|
827
|
-
cellSx: z(
|
|
829
|
+
cellSx: z(n),
|
|
828
830
|
data: re,
|
|
829
831
|
layout: le,
|
|
830
|
-
titleSx: ee(
|
|
832
|
+
titleSx: ee(n),
|
|
831
833
|
titleWidth: 108
|
|
832
834
|
},
|
|
833
|
-
`field-table-${
|
|
835
|
+
`field-table-${t}`
|
|
834
836
|
) }) })
|
|
835
837
|
] }),
|
|
836
838
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
|
|
837
839
|
/* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Table" }),
|
|
838
|
-
/* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(w, { sx: Oe(
|
|
840
|
+
/* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(w, { sx: Oe(n, a), children: /* @__PURE__ */ e(
|
|
839
841
|
Q,
|
|
840
842
|
{
|
|
841
843
|
canUseTreeGridStyle: !1,
|
|
842
844
|
headers: ie,
|
|
843
845
|
rows: _e
|
|
844
846
|
},
|
|
845
|
-
`basic-table-${
|
|
847
|
+
`basic-table-${t}`
|
|
846
848
|
) }) })
|
|
847
849
|
] }),
|
|
848
850
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
|
|
849
851
|
/* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Data Table" }),
|
|
850
|
-
/* @__PURE__ */ e(w, { sx: Be(
|
|
852
|
+
/* @__PURE__ */ e(w, { sx: Be(n, a), children: /* @__PURE__ */ e(
|
|
851
853
|
K,
|
|
852
854
|
{
|
|
853
855
|
canCheckbox: !1,
|
|
@@ -860,19 +862,19 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
860
862
|
rows: q,
|
|
861
863
|
selected: q.slice(0, 1)
|
|
862
864
|
},
|
|
863
|
-
`data-table-${
|
|
865
|
+
`data-table-${t}`
|
|
864
866
|
) })
|
|
865
867
|
] })
|
|
866
868
|
] }) })
|
|
867
869
|
},
|
|
868
|
-
`table-preview-${
|
|
870
|
+
`table-preview-${t}`
|
|
869
871
|
) });
|
|
870
|
-
}, "ThemePreviewTablesSection2")), Nl =
|
|
872
|
+
}, "ThemePreviewTablesSection2")), Nl = C(/* @__PURE__ */ d(function({
|
|
871
873
|
gridBodyBorder: i,
|
|
872
874
|
layoutPreviewGridCellBackground: l,
|
|
873
875
|
layoutPreviewGridCellFontSize: a,
|
|
874
|
-
layoutPreviewGridHeaderBackground:
|
|
875
|
-
layoutPreviewGridHeaderBorder:
|
|
876
|
+
layoutPreviewGridHeaderBackground: n,
|
|
877
|
+
layoutPreviewGridHeaderBorder: t,
|
|
876
878
|
layoutPreviewGridHeaderColor: u,
|
|
877
879
|
layoutPreviewGridHeaderFontSize: m
|
|
878
880
|
}) {
|
|
@@ -895,9 +897,9 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
895
897
|
U,
|
|
896
898
|
{
|
|
897
899
|
sx: {
|
|
898
|
-
backgroundColor:
|
|
899
|
-
borderBottom: `1px solid ${
|
|
900
|
-
borderRight: `1px solid ${
|
|
900
|
+
backgroundColor: n,
|
|
901
|
+
borderBottom: `1px solid ${t}`,
|
|
902
|
+
borderRight: `1px solid ${t}`,
|
|
901
903
|
color: u,
|
|
902
904
|
fontSize: m,
|
|
903
905
|
fontWeight: 500,
|
|
@@ -918,7 +920,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
918
920
|
sx: {
|
|
919
921
|
backgroundColor: l
|
|
920
922
|
},
|
|
921
|
-
children: x.map((v,
|
|
923
|
+
children: x.map((v, N) => /* @__PURE__ */ e(
|
|
922
924
|
U,
|
|
923
925
|
{
|
|
924
926
|
sx: {
|
|
@@ -935,7 +937,7 @@ const gl = S(/* @__PURE__ */ d(function({
|
|
|
935
937
|
},
|
|
936
938
|
children: v
|
|
937
939
|
},
|
|
938
|
-
`${v}-${
|
|
940
|
+
`${v}-${N}`
|
|
939
941
|
))
|
|
940
942
|
},
|
|
941
943
|
x.join("-")
|