@admin-layout/tailwind-design-pro 12.2.4-alpha.0 → 12.2.4-alpha.100
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/README.md +80 -0
- package/lib/components/LanguageMenu/LanguageMenu.d.ts.map +1 -1
- package/lib/components/LanguageMenu/LanguageMenu.js +6 -2
- package/lib/components/LanguageMenu/LanguageMenu.js.map +1 -1
- package/lib/components/Layout/BasicLayout/index.d.ts +20 -1
- package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -1
- package/lib/components/Layout/BasicLayout/index.js +64 -15
- package/lib/components/Layout/BasicLayout/index.js.map +1 -1
- package/lib/components/Layout/BasicLayout/utils.js +1 -1
- package/lib/components/Layout/BasicLayout/utils.js.map +1 -1
- package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js +1 -1
- package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/Header.d.ts.map +1 -1
- package/lib/components/Layout/GlobalHeader/Header.js +12 -4
- package/lib/components/Layout/GlobalHeader/Header.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/MainHeader.d.ts.map +1 -1
- package/lib/components/Layout/GlobalHeader/MainHeader.js +2 -1
- package/lib/components/Layout/GlobalHeader/MainHeader.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/NavbarSlotStrip.d.ts +12 -0
- package/lib/components/Layout/GlobalHeader/NavbarSlotStrip.d.ts.map +1 -0
- package/lib/components/Layout/GlobalHeader/NavbarSlotStrip.js +36 -0
- package/lib/components/Layout/GlobalHeader/NavbarSlotStrip.js.map +1 -0
- package/lib/components/Layout/GlobalHeader/RightContent.d.ts +1 -2
- package/lib/components/Layout/GlobalHeader/RightContent.d.ts.map +1 -1
- package/lib/components/Layout/GlobalHeader/RightContent.js +10 -72
- package/lib/components/Layout/GlobalHeader/RightContent.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/RightMenu.d.ts.map +1 -1
- package/lib/components/Layout/GlobalHeader/RightMenu.js +16 -80
- package/lib/components/Layout/GlobalHeader/RightMenu.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/SearchBar.d.ts +43 -0
- package/lib/components/Layout/GlobalHeader/SearchBar.d.ts.map +1 -1
- package/lib/components/Layout/GlobalHeader/SearchBar.js +380 -43
- package/lib/components/Layout/GlobalHeader/SearchBar.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/index.d.ts +1 -0
- package/lib/components/Layout/GlobalHeader/index.d.ts.map +1 -1
- package/lib/components/Layout/ProTailwindLayout.d.ts +19 -8
- package/lib/components/Layout/ProTailwindLayout.d.ts.map +1 -1
- package/lib/components/Layout/ProTailwindLayout.js +255 -88
- package/lib/components/Layout/ProTailwindLayout.js.map +1 -1
- package/lib/components/Layout/Sidebar/BottomMenu.d.ts.map +1 -1
- package/lib/components/Layout/Sidebar/BottomMenu.js +55 -82
- package/lib/components/Layout/Sidebar/BottomMenu.js.map +1 -1
- package/lib/components/Layout/Sidebar/DynamicIcon.d.ts.map +1 -1
- package/lib/components/Layout/Sidebar/DynamicIcon.js +80 -19
- package/lib/components/Layout/Sidebar/DynamicIcon.js.map +1 -1
- package/lib/components/Layout/Sidebar/MainSidebar.d.ts.map +1 -1
- package/lib/components/Layout/Sidebar/MainSidebar.js +29 -24
- package/lib/components/Layout/Sidebar/MainSidebar.js.map +1 -1
- package/lib/components/Layout/Sidebar/MainSidebarMenu.d.ts.map +1 -1
- package/lib/components/Layout/Sidebar/MainSidebarMenu.js +213 -36
- package/lib/components/Layout/Sidebar/MainSidebarMenu.js.map +1 -1
- package/lib/components/Layout/Sidebar/MenuDynamicDialog.d.ts +12 -0
- package/lib/components/Layout/Sidebar/MenuDynamicDialog.d.ts.map +1 -0
- package/lib/components/Layout/Sidebar/MenuDynamicDialog.js +79 -0
- package/lib/components/Layout/Sidebar/MenuDynamicDialog.js.map +1 -0
- package/lib/components/Layout/Sidebar/PerplexSidebar.d.ts.map +1 -1
- package/lib/components/Layout/Sidebar/PerplexSidebar.js +42 -33
- package/lib/components/Layout/Sidebar/PerplexSidebar.js.map +1 -1
- package/lib/components/Layout/Sidebar/PerplexSidebarFlyoutContext.d.ts +25 -0
- package/lib/components/Layout/Sidebar/PerplexSidebarFlyoutContext.d.ts.map +1 -0
- package/lib/components/Layout/Sidebar/PerplexSidebarFlyoutContext.js +287 -0
- package/lib/components/Layout/Sidebar/PerplexSidebarFlyoutContext.js.map +1 -0
- package/lib/components/Layout/Sidebar/PerplexSidebarMenu.d.ts.map +1 -1
- package/lib/components/Layout/Sidebar/PerplexSidebarMenu.js +321 -43
- package/lib/components/Layout/Sidebar/PerplexSidebarMenu.js.map +1 -1
- package/lib/components/Layout/Sidebar/SidebarRailFX.d.ts +23 -0
- package/lib/components/Layout/Sidebar/SidebarRailFX.d.ts.map +1 -0
- package/lib/components/Layout/Sidebar/SidebarRailFX.js +229 -0
- package/lib/components/Layout/Sidebar/SidebarRailFX.js.map +1 -0
- package/lib/components/Layout/SidebarControlsContext.d.ts +17 -0
- package/lib/components/Layout/SidebarControlsContext.d.ts.map +1 -0
- package/lib/components/Layout/SidebarControlsContext.js +21 -0
- package/lib/components/Layout/SidebarControlsContext.js.map +1 -0
- package/lib/components/Layout/TailwindLayout.d.ts +1 -1
- package/lib/components/Layout/TailwindLayout.d.ts.map +1 -1
- package/lib/components/Layout/TailwindLayout.js +22 -3
- package/lib/components/Layout/TailwindLayout.js.map +1 -1
- package/lib/components/Layout/defaultPermissions.d.ts +134 -0
- package/lib/components/Layout/defaultPermissions.d.ts.map +1 -0
- package/lib/components/Layout/defaultPermissions.js +134 -0
- package/lib/components/Layout/defaultPermissions.js.map +1 -0
- package/lib/components/Layout/getPageTitle.js +2 -2
- package/lib/components/Layout/getPageTitle.js.map +1 -1
- package/lib/components/Layout/slot-fill/RightContent.d.ts +3 -1
- package/lib/components/Layout/slot-fill/RightContent.d.ts.map +1 -1
- package/lib/components/Layout/slot-fill/RightContent.js +4 -6
- package/lib/components/Layout/slot-fill/RightContent.js.map +1 -1
- package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
- package/lib/components/SettingDrawer/SettingDrawer.js +22 -19
- package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -1
- package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.js +8 -14
- package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.js.map +1 -1
- package/lib/components/SettingDrawer/components/CheckBoxTheme.js +2 -2
- package/lib/components/SettingDrawer/components/CheckBoxTheme.js.map +1 -1
- package/lib/components/SettingDrawer/components/DeviceTabs.js +2 -2
- package/lib/components/SettingDrawer/components/DeviceTabs.js.map +1 -1
- package/lib/components/SettingDrawer/components/InvitationSettings.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/InvitationSettings.js +7 -3
- package/lib/components/SettingDrawer/components/InvitationSettings.js.map +1 -1
- package/lib/components/SettingDrawer/components/LayoutChange.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/LayoutChange.js +8 -11
- package/lib/components/SettingDrawer/components/LayoutChange.js.map +1 -1
- package/lib/components/SettingDrawer/components/MenuVisibilitySettings.js +5 -5
- package/lib/components/SettingDrawer/components/MenuVisibilitySettings.js.map +1 -1
- package/lib/components/SettingDrawer/components/NavigationsModes.js +3 -3
- package/lib/components/SettingDrawer/components/NavigationsModes.js.map +1 -1
- package/lib/components/SettingDrawer/components/RegionalSettings.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/RegionalSettings.js +40 -97
- package/lib/components/SettingDrawer/components/RegionalSettings.js.map +1 -1
- package/lib/components/SettingDrawer/components/SettingsActions.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/SettingsActions.js +27 -25
- package/lib/components/SettingDrawer/components/SettingsActions.js.map +1 -1
- package/lib/components/SettingDrawer/components/SettingsDrawerHeader.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/SettingsDrawerHeader.js +4 -3
- package/lib/components/SettingDrawer/components/SettingsDrawerHeader.js.map +1 -1
- package/lib/components/SettingDrawer/components/Switch.js +2 -2
- package/lib/components/SettingDrawer/components/ThemeColor.js +1 -1
- package/lib/components/SettingDrawer/components/ThemeColor.js.map +1 -1
- package/lib/components/SettingDrawer/components/ThemeSelector.js +1 -1
- package/lib/components/SettingDrawer/components/WebFontsSelector.js +1 -1
- package/lib/components/SettingDrawer/hooks/useSettingsOperations.d.ts.map +1 -1
- package/lib/components/SettingDrawer/hooks/useSettingsOperations.js +13 -9
- package/lib/components/SettingDrawer/hooks/useSettingsOperations.js.map +1 -1
- package/lib/components/SettingDrawer/utils/constants.d.ts.map +1 -1
- package/lib/components/SettingDrawer/utils/constants.js +3 -0
- package/lib/components/SettingDrawer/utils/constants.js.map +1 -1
- package/lib/components/SettingDrawer/utils/helper.js +1 -1
- package/lib/components/SettingDrawer/utils/transformers.d.ts +16 -0
- package/lib/components/SettingDrawer/utils/transformers.d.ts.map +1 -1
- package/lib/components/SettingDrawer/utils/transformers.js +39 -2
- package/lib/components/SettingDrawer/utils/transformers.js.map +1 -1
- package/lib/components/SettingsThemeApplier/SettingsThemeApplier.d.ts +10 -0
- package/lib/components/SettingsThemeApplier/SettingsThemeApplier.d.ts.map +1 -0
- package/lib/components/SettingsThemeApplier/SettingsThemeApplier.js +23 -0
- package/lib/components/SettingsThemeApplier/SettingsThemeApplier.js.map +1 -0
- package/lib/components/SettingsThemeApplier/index.d.ts +2 -0
- package/lib/components/SettingsThemeApplier/index.d.ts.map +1 -0
- package/lib/components/index.js +1 -1
- package/lib/components/typings.d.ts +29 -0
- package/lib/components/typings.d.ts.map +1 -1
- package/lib/compute.js +2 -1
- package/lib/compute.js.map +1 -1
- package/lib/helpers/DynamicIcon.js +7 -1
- package/lib/helpers/DynamicIcon.js.map +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.d.ts.map +1 -1
- package/lib/hooks/useScrollThreshold.d.ts +1 -2
- package/lib/hooks/useScrollThreshold.d.ts.map +1 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/routes.json +5 -1
- package/lib/styles/index.css +321 -0
- package/lib/utils/settingsTheme.d.ts +40 -0
- package/lib/utils/settingsTheme.d.ts.map +1 -0
- package/lib/utils/settingsTheme.js +106 -0
- package/lib/utils/settingsTheme.js.map +1 -0
- package/package.json +9 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomMenu.js","sources":["../../../../src/components/Layout/Sidebar/BottomMenu.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"BottomMenu.js","sources":["../../../../src/components/Layout/Sidebar/BottomMenu.tsx"],"sourcesContent":[null],"names":["React","RouterLink"],"mappings":"oTAQA;AACA;AACA,MAAM,sBAAsB,GAAG;;;;;;;;;;;;;;;;;;;;;CAqB9B;MAEY,UAAU,GAA8B,CAAC;UAU5C;aACC;AACP,EAAA,iBAAO;AACP,EAAA,QAAM;AACN,EAAA,QAAM;aACN;UAEA;AACA,EAAA;AACA,CAAA,KAAA;QACA,CAAA,WAAgB,YAAW,CAAA,GAAA,QAAA,EAAc;QAEzC,CAAA,MAAM,WAAe,CAAA,GAAA,QAAU,CAAI,KAAE,CAAA;QACrC,CAAA,cAAmB,EAAE,iBAAiB,CAAC,GAAAA,cAAA,CAAA,QAAA,CAAA,IAAA,CAAA;QACvC,OAAM,GAAA,MAAa,CAAA,IAAM;AACzB,EAAA,MAAA;AACA,IAAA;MAEA;IACA,CAAA,EAAA,GAAA,IAAU;AACN,GAAA,CAAA;AACI;;iBAEC,GAAA,cAAA,CAAA,KAAA,IAAA,KAAA,EAAA,IAAA,CAAA;AACL,EAAA,MAAA,OAAE,GAAA,SAAA,EAAA,OAAA,IAAA,EAAA;QAEF;AACA,IAAA,QAAA;AACI,IAAA,OAAA,EAAA;;cAEC,GAAA,MAAA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AAA,CAAA;AACN,IAAE,OAAA,WAAA,CAAA,GAAA,CAAA,CAAA,IAAA,EAAA,CAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Sidebar/DynamicIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DynamicIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Sidebar/DynamicIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAqBtD,eAAO,MAAM,iBAAiB,GAAI,SAAI,sBAQrC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAgFvD,CAAC"}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
import React__default,{useState,useEffect}from'react';import selectiveIcons from'@app/selectiveIcons'
|
|
1
|
+
import React__default,{useRef,useState,useEffect}from'react';import selectiveIcons from'@app/selectiveIcons';/**
|
|
2
|
+
* Process-wide cache of already-resolved icon components, keyed by icon name.
|
|
3
|
+
*
|
|
4
|
+
* Icons are code-split (`selectiveIcons` returns a dynamic `import()` per name), so the
|
|
5
|
+
* first time a given icon is needed it resolves asynchronously. Without a cache, every
|
|
6
|
+
* `DynamicIcon` instance — and every re-render of the sidebar (which re-renders several
|
|
7
|
+
* times as menu/marketplace data streams in) — starts from `null` and shows the empty
|
|
8
|
+
* placeholder again, so icons visibly "pop in" and flicker on each pass. Caching the
|
|
9
|
+
* resolved component lets repeat renders and sibling instances paint it synchronously.
|
|
10
|
+
*/
|
|
11
|
+
const ICON_CACHE = new Map();
|
|
12
|
+
const resolveIconName = icon => typeof icon === 'string' ? icon : null;
|
|
13
|
+
const prefersReducedMotion = () => typeof window !== 'undefined' && typeof window.matchMedia === 'function' && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
14
|
+
const renderDynamicIcon = icon => {
|
|
2
15
|
if (typeof icon === 'object') {
|
|
3
16
|
return React__default.createElement(DynamicIcon, {
|
|
4
17
|
icon: icon.name,
|
|
@@ -17,31 +30,79 @@ const DynamicIcon = React__default.memo(({
|
|
|
17
30
|
iconStyle,
|
|
18
31
|
...props
|
|
19
32
|
}) => {
|
|
20
|
-
const
|
|
33
|
+
const iconName = resolveIconName(icon);
|
|
34
|
+
// Seed state from the cache so an already-resolved icon renders on the very first
|
|
35
|
+
// pass (no empty-placeholder flash, no extra effect round trip on re-render).
|
|
36
|
+
useRef(!!(iconName && ICON_CACHE.has(iconName)));
|
|
37
|
+
const [IconComponent, setIconComponent] = useState(() => iconName ? ICON_CACHE.get(iconName) ?? null : null);
|
|
38
|
+
// Whether *this* mount resolved the icon asynchronously (placeholder -> icon). Only
|
|
39
|
+
// those transitions are animated; an icon already warm in the cache renders
|
|
40
|
+
// instantly with no motion, so re-renders of the sidebar never re-trigger it.
|
|
41
|
+
const animateEntrance = useRef(false);
|
|
21
42
|
useEffect(() => {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
43
|
+
if (!iconName) {
|
|
44
|
+
setIconComponent(null);
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
const cached = ICON_CACHE.get(iconName);
|
|
48
|
+
if (cached) {
|
|
49
|
+
setIconComponent(() => cached);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
let cancelled = false;
|
|
53
|
+
selectiveIcons(iconName).then(module => {
|
|
54
|
+
const resolved = typeof module.default === 'object' ? module.default[iconName] : module.default;
|
|
55
|
+
if (!resolved) return;
|
|
56
|
+
ICON_CACHE.set(iconName, resolved);
|
|
57
|
+
if (!cancelled) {
|
|
58
|
+
animateEntrance.current = true;
|
|
59
|
+
setIconComponent(() => resolved);
|
|
34
60
|
}
|
|
61
|
+
}).catch(() => {
|
|
62
|
+
if (!cancelled) setIconComponent(null);
|
|
63
|
+
});
|
|
64
|
+
return () => {
|
|
65
|
+
cancelled = true;
|
|
35
66
|
};
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
67
|
+
// Re-resolve when the icon name changes (the previous `[]` deps left a stale
|
|
68
|
+
// icon when an instance was reused for a different name).
|
|
69
|
+
}, [iconName]);
|
|
70
|
+
// Entrance animation, run once per async resolve. opacity + transform are
|
|
71
|
+
// compositor-only properties, so this is GPU-accelerated and never touches layout
|
|
72
|
+
// — smooth even while the rest of the menu is still hydrating. Honors
|
|
73
|
+
// prefers-reduced-motion. Uses the Web Animations API so there is no global CSS to
|
|
74
|
+
// ship and nothing to clean up.
|
|
75
|
+
const animateRef = el => {
|
|
76
|
+
if (!el || !animateEntrance.current) return;
|
|
77
|
+
animateEntrance.current = false;
|
|
78
|
+
if (prefersReducedMotion() || typeof el.animate !== 'function') return;
|
|
79
|
+
el.animate([{
|
|
80
|
+
opacity: 0,
|
|
81
|
+
transform: 'scale(0.55) rotate(-6deg)'
|
|
82
|
+
}, {
|
|
83
|
+
opacity: 1,
|
|
84
|
+
transform: 'scale(1) rotate(0deg)'
|
|
85
|
+
}], {
|
|
86
|
+
duration: 260,
|
|
87
|
+
easing: 'cubic-bezier(0.16, 1, 0.3, 1)',
|
|
88
|
+
fill: 'both'
|
|
89
|
+
});
|
|
90
|
+
};
|
|
91
|
+
if (!IconComponent) return React__default.createElement("div", {
|
|
92
|
+
style: {
|
|
93
|
+
width: '16px',
|
|
94
|
+
height: '16px',
|
|
95
|
+
display: 'flex'
|
|
96
|
+
}
|
|
97
|
+
});
|
|
39
98
|
return React__default.createElement("div", {
|
|
99
|
+
ref: animateRef,
|
|
40
100
|
style: {
|
|
41
101
|
margin: '0px',
|
|
42
|
-
display: 'flex'
|
|
102
|
+
display: 'flex',
|
|
103
|
+
willChange: 'transform, opacity'
|
|
43
104
|
}
|
|
44
|
-
},
|
|
105
|
+
}, React__default.createElement(IconComponent, {
|
|
45
106
|
style: {
|
|
46
107
|
...iconStyle
|
|
47
108
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicIcon.js","sources":["../../../../src/components/Layout/Sidebar/DynamicIcon.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"DynamicIcon.js","sources":["../../../../src/components/Layout/Sidebar/DynamicIcon.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"6GAKA;;;;;;;;;AASG;AACH,MAAM,UAAU,GAAG,IAAI,GAAG,EAAoC;AAE9D,MAAM,eAAe,GAAG,IAAC,IAA8B,OAAI,IAAO,aAAS,GAAQ,IAAG,GAAI,IAAG;AAE7F,MAAM,oBAAoB,GAAG,MACzB,OAAO,MAAM,KAAK,WAAW,IAAA,OAAA,MAAA,CAAA,UAAA,KAAA,UAAA,IAAA,MAAA,CAAA,UAAA,CAAA,kCAAA,CAAA,CAAA,OAAA;AACtB,MAAA,iBAAiB,GAAK,IAAA,IAAA;AAC7B,EAAA,IAAA,OAAO,IAAA,KAAW;AAEtB,IAAA,OAAOA,cAAM,CAAA,aAAiB,YAAY,EAAA;AACtC,MAAA,IAAI,EAAA,IAAO,CAAA,IAAI;AACX,MAAA,SAAO,EAAA,IAAA,CAAA;KACV,CAAA;AAAM,EAAA,CAAA,MAAA,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;AACjC,IAAA,OAAAA,wCAAQ,EAAA;MACX,IAAA,EAAA;;AACG,EAAA,CAAA,MAAA;IACJ,OAAC,IAAA;AACL,EAAE;AAEF;iBAEyB,GAAAA,cAAA,CAAA,IAAgB,CAAA,CAAA;MACjC;WACA;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U;QAC1B,oBAAI,EAAA,IAAsB,OAAI,EAAA,CAAA,OAAU,eAAY,EAAA;cAAY,CAAA,CAAA;;AAGxD,MAAA;AACA,KAAA,EAAA;AACH,MAAA,OACC,EAAA,CAAA;AAEV,MAAE,SAAA,EAAA;AAEF,KAAA,CAAA,EAAI;AAAgB,MAAA,QAAA;MAEpB,MACI,iCAAQ;UACJ,EAAA;AAEQ,KAAA,CAAA;AACH,EAAA,CAAA;AAKjB,MACC,CAAA,aAAW,EAAA,OAAcA,cAAA,CAAA,aAAmB,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MainSidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Sidebar/MainSidebar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"MainSidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Sidebar/MainSidebar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAS7C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAgS9C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {getMenuSeparation}from'@admin-layout/client';import React__default,{useEffect}from'react';import {useTranslation}from'react-i18next';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import {icons}from'../../../icons.js';import BottomMenuDropDown from'../GlobalFooter/BottomMenuDropdown.js';import {RightContent}from'../GlobalHeader/RightContent.js';import {Divider}from'./Divider.js';import {MainSidebarMenu}from'./MainSidebarMenu.js';import'@common-stack/components-pro';import'reflect-metadata';import'@admin-layout/client/lib/constants/layout.js';import {SideMenuLogoSlot}from'../slot-fill/SideMenuLogo.js';const MainSidebar = props => {
|
|
1
|
+
import {getMenuSeparation}from'@admin-layout/client';import React__default,{useEffect}from'react';import {useTranslation}from'react-i18next';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import'../SidebarControlsContext.js';import {icons}from'../../../icons.js';import BottomMenuDropDown from'../GlobalFooter/BottomMenuDropdown.js';import {RightContent}from'../GlobalHeader/RightContent.js';import {Divider}from'./Divider.js';import {renderDynamicIcon}from'./DynamicIcon.js';import {MainSidebarMenu}from'./MainSidebarMenu.js';import {SidebarRailFX}from'./SidebarRailFX.js';import'@common-stack/components-pro';import'reflect-metadata';import'@admin-layout/client/lib/constants/layout.js';import {SideMenuLogoSlot}from'../slot-fill/SideMenuLogo.js';const MainSidebar = props => {
|
|
2
2
|
const {
|
|
3
3
|
isSideMenuOpen,
|
|
4
4
|
closeSideMenu,
|
|
@@ -11,9 +11,9 @@ import {getMenuSeparation}from'@admin-layout/client';import React__default,{useE
|
|
|
11
11
|
showHeader,
|
|
12
12
|
menuHeaderRender,
|
|
13
13
|
deviceSettings,
|
|
14
|
-
isSideMenuLayout
|
|
14
|
+
isSideMenuLayout,
|
|
15
|
+
navbarSlotStripHeight = 0
|
|
15
16
|
} = props;
|
|
16
|
-
const [iconModule, setIconModule] = React__default.useState(null);
|
|
17
17
|
const {
|
|
18
18
|
t,
|
|
19
19
|
i18n
|
|
@@ -49,15 +49,10 @@ import {getMenuSeparation}from'@admin-layout/client';import React__default,{useE
|
|
|
49
49
|
splitMenus: getUILayoutValue('splitMenus'),
|
|
50
50
|
upperMenuDividerName: getUILayoutValue('upperMenuDividerName'),
|
|
51
51
|
middleMenuDividerName: getUILayoutValue('middleMenuDividerName'),
|
|
52
|
-
lowerMenuDividerName: getUILayoutValue('lowerMenuDividerName')
|
|
52
|
+
lowerMenuDividerName: getUILayoutValue('lowerMenuDividerName'),
|
|
53
|
+
// Opt-in ambient rail backdrop: 'off' (default) | 'aurora' | 'webgpu'.
|
|
54
|
+
railFx: getUILayoutValue('railFx') || 'off'
|
|
53
55
|
};
|
|
54
|
-
useEffect(() => {
|
|
55
|
-
if (!iconModule) {
|
|
56
|
-
import('./DynamicIcon.js').then(module => {
|
|
57
|
-
setIconModule(module);
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
}, []);
|
|
61
56
|
const toggleCollapsed = () => {
|
|
62
57
|
if (isMobile) {
|
|
63
58
|
closeSideMenu();
|
|
@@ -102,14 +97,14 @@ import {getMenuSeparation}from'@admin-layout/client';import React__default,{useE
|
|
|
102
97
|
const updatedItem = {
|
|
103
98
|
...item,
|
|
104
99
|
name: t(item.name),
|
|
105
|
-
icon:
|
|
100
|
+
icon: item.icon ? renderDynamicIcon(item.icon) : null
|
|
106
101
|
};
|
|
107
102
|
if (updatedItem.children) {
|
|
108
103
|
updatedItem.children = updateMenuIcons(updatedItem.children);
|
|
109
104
|
}
|
|
110
105
|
return updatedItem;
|
|
111
106
|
});
|
|
112
|
-
}, [t
|
|
107
|
+
}, [t]);
|
|
113
108
|
const processedMiddleMenus = React__default.useMemo(() => updateMenuIcons(middleMenus), [middleMenus, updateMenuIcons]);
|
|
114
109
|
const processedLowerMenus = React__default.useMemo(() => updateMenuIcons(lowerMenus), [lowerMenus, updateMenuIcons]);
|
|
115
110
|
const processedBottomMenus = React__default.useMemo(() => updateMenuIcons(bottomMenus), [bottomMenus, updateMenuIcons]);
|
|
@@ -123,7 +118,7 @@ import {getMenuSeparation}from'@admin-layout/client';import React__default,{useE
|
|
|
123
118
|
classes += ' themed-sidebar';
|
|
124
119
|
}
|
|
125
120
|
if (showHeader) {
|
|
126
|
-
classes += ' md:h-[
|
|
121
|
+
classes += ' md:h-[84vh]';
|
|
127
122
|
}
|
|
128
123
|
if (!showHeader || !menuHeaderRender) {
|
|
129
124
|
classes += ' md:h-[92vh]';
|
|
@@ -188,9 +183,17 @@ import {getMenuSeparation}from'@admin-layout/client';import React__default,{useE
|
|
|
188
183
|
}))));
|
|
189
184
|
};
|
|
190
185
|
return React__default.createElement("div", null, !isMobile && React__default.createElement("aside", {
|
|
191
|
-
className: `${deviceLayout?.fixedSidebar ? 'fixed' : 'relative'} border-r border-border z-20
|
|
192
|
-
style:
|
|
193
|
-
|
|
186
|
+
className: `${deviceLayout?.fixedSidebar ? 'fixed' : 'relative'} border-r border-border z-20 bg-card text-card-foreground md:block flex-shrink-0 transition-all duration-300 ease-in-out ${collapsed ? 'w-16' : 'w-64'} ${navbarSlotStripHeight > 0 ? '' : showHeader && deviceLayout?.fixedHeader ? deviceLayout?.fixedSidebar ? 'h-[calc(100vh-5rem)] top-20' : 'h-[calc(100vh-5rem)]' : 'h-screen'}`,
|
|
187
|
+
style: {
|
|
188
|
+
...SidebarStyles,
|
|
189
|
+
...(navbarSlotStripHeight > 0 && {
|
|
190
|
+
top: deviceLayout?.fixedSidebar ? navbarSlotStripHeight : undefined,
|
|
191
|
+
height: `calc(100vh - ${navbarSlotStripHeight}px)`
|
|
192
|
+
})
|
|
193
|
+
}
|
|
194
|
+
}, React__default.createElement(SidebarRailFX, {
|
|
195
|
+
mode: deviceLayout?.railFx
|
|
196
|
+
}), menuHeaderRender && isSideMenuLayout && React__default.createElement("div", {
|
|
194
197
|
className: "border-b border-border py-1 flex items-center justify-center"
|
|
195
198
|
}, React__default.createElement(SideMenuLogoSlot, {
|
|
196
199
|
settings: settings,
|
|
@@ -202,23 +205,25 @@ import {getMenuSeparation}from'@admin-layout/client';import React__default,{useE
|
|
|
202
205
|
menus: bottomMenusData,
|
|
203
206
|
collapsed: collapsed,
|
|
204
207
|
routeParams: routeParams
|
|
205
|
-
}))),
|
|
206
|
-
className:
|
|
208
|
+
}))), isMobile && React__default.createElement("div", {
|
|
209
|
+
className: `fixed inset-0 z-10 bg-black bg-opacity-50 transition-opacity duration-300 md:hidden ${isSideMenuOpen ? 'opacity-100' : 'pointer-events-none opacity-0'}`,
|
|
207
210
|
onClick: closeSideMenu
|
|
208
|
-
}),
|
|
211
|
+
}), isMobile && React__default.createElement("aside", {
|
|
209
212
|
id: "mobile-sidebar",
|
|
210
|
-
className: `fixed inset-0 z-20 flex-
|
|
213
|
+
className: `fixed inset-y-0 left-0 z-20 flex flex-col overflow-hidden bg-card text-card-foreground md:hidden transition-transform duration-300 ease-in-out ${collapsed ? 'w-16' : 'w-64'} ${isSideMenuOpen ? 'translate-x-0' : '-translate-x-full'}`,
|
|
211
214
|
style: SidebarStyles
|
|
212
215
|
}, menuHeaderRender && isSideMenuLayout && React__default.createElement("div", {
|
|
213
|
-
className: "border-b border-border flex items-center justify-center"
|
|
216
|
+
className: "flex-shrink-0 border-b border-border flex items-center justify-center"
|
|
214
217
|
}, React__default.createElement(SideMenuLogoSlot, {
|
|
215
218
|
settings: settings,
|
|
216
219
|
location: location
|
|
217
|
-
})), React__default.createElement("div",
|
|
220
|
+
})), React__default.createElement("div", {
|
|
221
|
+
className: "flex-1 min-h-0 overflow-hidden"
|
|
222
|
+
}, renderSidebarContent()), React__default.createElement("div", {
|
|
218
223
|
className: "flex-shrink-0 p-4 border-t border-border"
|
|
219
224
|
}, React__default.createElement(BottomMenuDropDown, {
|
|
220
225
|
menus: bottomMenusData,
|
|
221
226
|
collapsed: collapsed,
|
|
222
227
|
routeParams: routeParams
|
|
223
228
|
}))));
|
|
224
|
-
};export{MainSidebar
|
|
229
|
+
};export{MainSidebar};//# sourceMappingURL=MainSidebar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MainSidebar.js","sources":["../../../../src/components/Layout/Sidebar/MainSidebar.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"MainSidebar.js","sources":["../../../../src/components/Layout/Sidebar/MainSidebar.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"i1BAcO,MAAM,WAAW,GAA2B,KAAC,I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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MainSidebarMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Sidebar/MainSidebarMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"MainSidebarMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Sidebar/MainSidebarMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAExE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AA6iBjD,iBAAS,wBAAwB,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,gBAAgB,qBAiTjG;AAGD,eAAO,MAAM,eAAe,4DAAuC,CAAC"}
|