@admin-layout/tailwind-design-pro 12.2.4-alpha.1 → 12.2.4-alpha.101
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 +19 -0
- package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -1
- package/lib/components/Layout/BasicLayout/index.js +63 -14
- 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 +20 -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 +31 -26
- 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 +228 -51
- 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 +45 -36
- 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 +322 -45
- 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.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 +21 -18
- 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/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 +6 -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,6 +1,4 @@
|
|
|
1
|
-
import'reflect-metadata';import {Slot}from'@common-stack/components-pro';import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
});
|
|
6
|
-
};export{RightContentSlot};//# sourceMappingURL=RightContent.js.map
|
|
1
|
+
import'reflect-metadata';import {Slot}from'@common-stack/components-pro';import React__default from'react';import {RIGHT_CONTENT_FILL}from'@admin-layout/client/lib/constants/layout.js';export{RIGHT_CONTENT_FILL}from'@admin-layout/client/lib/constants/layout.js';const RightContentSlot = props => React__default.createElement(Slot, {
|
|
2
|
+
name: RIGHT_CONTENT_FILL,
|
|
3
|
+
fillProps: props
|
|
4
|
+
});export{RightContentSlot};//# sourceMappingURL=RightContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RightContent.js","sources":["../../../../src/components/Layout/slot-fill/RightContent.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RightContent.js","sources":["../../../../src/components/Layout/slot-fill/RightContent.tsx"],"sourcesContent":[null],"names":[],"mappings":"4QAOa,gBAAgB,GAAG,KAAC,kBAAU,CAAA,aAAA,CAAA,MAAK;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/SettingDrawer/SettingDrawer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwB/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"SettingDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/SettingDrawer/SettingDrawer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwB/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,qBA4RtD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {useSelector}from'@xstate/react';import clsx from'clsx';import*as React from'react';import {useRef,useState,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 isBrowser from'../../utils/isBrowser/index.js';import {getDefaultApplyToAllRoutes,getSettingValue}from'../../utils/settingsUtils.js';import'@common-stack/components-pro';import {AdditionalSettingsSlot}from'../Layout/slot-fill/AdditionalSettings.js';import'reflect-metadata';import'@admin-layout/client/lib/constants/layout.js';import {ApplyToAllRoutesToggle}from'./components/ApplyToAllRoutesToggle.js';import {CheckBoxTheme}from'./components/CheckBoxTheme.js';import {DeviceTabs}from'./components/DeviceTabs.js';import {InvitationSettings}from'./components/InvitationSettings.js';import {LayoutChange}from'./components/LayoutChange.js';import {MenuVisibilitySettings}from'./components/MenuVisibilitySettings.js';import {NavigationModes}from'./components/NavigationsModes.js';import {RegionalSettings}from'./components/RegionalSettings.js';import {SettingsActions}from'./components/SettingsActions.js';import {SettingsDrawerHeader}from'./components/SettingsDrawerHeader.js';import {ThemeColor}from'./components/ThemeColor.js';import {ThemeSelector}from'./components/ThemeSelector.js';import {WebFontsSelector}from'./components/WebFontsSelector.js';import {useSettingsOperations}from'./hooks/useSettingsOperations.js';import {THEME_OPTIONS,FONT_OPTIONS}from'./utils/constants.js';import {useThemeList,parseSettingPath}from'./utils/helper.js';function SettingDrawer(props) {
|
|
1
|
+
import {useSelector}from'@xstate/react';import clsx from'clsx';import*as React from'react';import {useRef,useState,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'../Layout/SidebarControlsContext.js';import {icons}from'../../icons.js';import isBrowser from'../../utils/isBrowser/index.js';import {getDefaultApplyToAllRoutes,getSettingValue}from'../../utils/settingsUtils.js';import'@common-stack/components-pro';import {AdditionalSettingsSlot}from'../Layout/slot-fill/AdditionalSettings.js';import'reflect-metadata';import'@admin-layout/client/lib/constants/layout.js';import {ApplyToAllRoutesToggle}from'./components/ApplyToAllRoutesToggle.js';import {CheckBoxTheme}from'./components/CheckBoxTheme.js';import {DeviceTabs}from'./components/DeviceTabs.js';import {InvitationSettings}from'./components/InvitationSettings.js';import {LayoutChange}from'./components/LayoutChange.js';import {MenuVisibilitySettings}from'./components/MenuVisibilitySettings.js';import {NavigationModes}from'./components/NavigationsModes.js';import {RegionalSettings}from'./components/RegionalSettings.js';import {SettingsActions}from'./components/SettingsActions.js';import {SettingsDrawerHeader}from'./components/SettingsDrawerHeader.js';import {ThemeColor}from'./components/ThemeColor.js';import {ThemeSelector}from'./components/ThemeSelector.js';import {WebFontsSelector}from'./components/WebFontsSelector.js';import {useSettingsOperations}from'./hooks/useSettingsOperations.js';import {THEME_OPTIONS,FONT_OPTIONS}from'./utils/constants.js';import {useThemeList,parseSettingPath}from'./utils/helper.js';function SettingDrawer(props) {
|
|
2
2
|
const {
|
|
3
3
|
actor,
|
|
4
4
|
colorList,
|
|
@@ -97,13 +97,12 @@ import {useSelector}from'@xstate/react';import clsx from'clsx';import*as React f
|
|
|
97
97
|
return React.createElement(React.Fragment, null, settingState?.showSettingPanel && React.createElement(React.Fragment, null, React.createElement("button", {
|
|
98
98
|
ref: btnRef,
|
|
99
99
|
onClick: () => setShow(!show),
|
|
100
|
+
"aria-label": t('setting'),
|
|
101
|
+
"aria-expanded": show,
|
|
100
102
|
style: {
|
|
101
|
-
backgroundColor: settingState?.primaryColor
|
|
102
|
-
display: 'flex',
|
|
103
|
-
alignItems: 'center',
|
|
104
|
-
justifyContent: 'center'
|
|
103
|
+
backgroundColor: settingState?.primaryColor
|
|
105
104
|
},
|
|
106
|
-
className:
|
|
105
|
+
className: clsx('fixed top-24 right-0 z-50 flex h-12 w-12 items-center justify-center rounded-l-lg', 'bg-primary text-primary-foreground shadow-md cursor-pointer', 'transition-[transform,box-shadow] duration-300 ease-out hover:shadow-lg', 'focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2', show ? '-translate-x-80' : 'translate-x-0')
|
|
107
106
|
}, !show ? React.createElement(Settings5FillIcon, {
|
|
108
107
|
fontSize: '32px',
|
|
109
108
|
className: "text-white"
|
|
@@ -111,11 +110,15 @@ import {useSelector}from'@xstate/react';import clsx from'clsx';import*as React f
|
|
|
111
110
|
className: "text-white",
|
|
112
111
|
fontSize: '36px'
|
|
113
112
|
})), React.createElement("div", {
|
|
114
|
-
className: clsx('fixed
|
|
113
|
+
className: clsx('fixed inset-y-0 right-0 z-50 w-80 overflow-hidden', show ? 'pointer-events-auto' : 'pointer-events-none')
|
|
114
|
+
}, React.createElement("div", {
|
|
115
|
+
role: "dialog",
|
|
116
|
+
"aria-label": t('setting'),
|
|
117
|
+
className: clsx('h-full w-80 overflow-y-auto p-4', 'border-l border-border bg-popover text-popover-foreground shadow-xl', 'transition-transform duration-300 ease-out will-change-transform motion-reduce:transition-none', show ? 'translate-x-0' : 'translate-x-full')
|
|
115
118
|
}, React.createElement(SettingsDrawerHeader, {
|
|
116
119
|
onClose: () => setShow(false)
|
|
117
120
|
}), React.createElement("div", {
|
|
118
|
-
className: "mt-8 pb-8 border-b border-
|
|
121
|
+
className: "mt-8 pb-8 border-b border-border"
|
|
119
122
|
}, React.createElement(MenuVisibilitySettings, {
|
|
120
123
|
fullMenuData: fullMenuData,
|
|
121
124
|
settings: settingState,
|
|
@@ -127,9 +130,9 @@ import {useSelector}from'@xstate/react';import clsx from'clsx';import*as React f
|
|
|
127
130
|
activeTab: activeDeviceTab,
|
|
128
131
|
onTabChange: setActiveDeviceTab
|
|
129
132
|
})), React.createElement("div", {
|
|
130
|
-
className: "mt-8 pb-8 border-b border-
|
|
133
|
+
className: "mt-8 pb-8 border-b border-border"
|
|
131
134
|
}, React.createElement("p", {
|
|
132
|
-
className: "text-
|
|
135
|
+
className: "mb-4 text-sm font-semibold text-foreground"
|
|
133
136
|
}, t('page_style_settings')), React.createElement("div", null, React.createElement(CheckBoxTheme, {
|
|
134
137
|
list: themeList.themeList,
|
|
135
138
|
changeSetting: handleSettingChange,
|
|
@@ -139,15 +142,15 @@ import {useSelector}from'@xstate/react';import clsx from'clsx';import*as React f
|
|
|
139
142
|
})), React.createElement("div", {
|
|
140
143
|
className: "mt-8"
|
|
141
144
|
}, React.createElement("p", {
|
|
142
|
-
className: "text-
|
|
145
|
+
className: "mb-3 text-sm font-medium text-foreground"
|
|
143
146
|
}, t('Select Theme')), React.createElement(ThemeSelector, {
|
|
144
147
|
value: getThemeValue(),
|
|
145
148
|
onChange: value => handleSettingChange('theme', value),
|
|
146
149
|
options: THEME_OPTIONS
|
|
147
150
|
})), React.createElement("div", {
|
|
148
|
-
className: "mt-8
|
|
151
|
+
className: "mt-8"
|
|
149
152
|
}, React.createElement("p", {
|
|
150
|
-
className: "mb-
|
|
153
|
+
className: "mb-3 text-sm font-medium text-foreground"
|
|
151
154
|
}, t('theme_color')), React.createElement(ThemeColor, {
|
|
152
155
|
color: colorList || themeList.colorList[navTheme === 'realDark' ? 'dark' : 'light'],
|
|
153
156
|
changeSetting: handleSettingChange,
|
|
@@ -158,13 +161,13 @@ import {useSelector}from'@xstate/react';import clsx from'clsx';import*as React f
|
|
|
158
161
|
})), React.createElement("div", {
|
|
159
162
|
className: "mt-8"
|
|
160
163
|
}, React.createElement("p", {
|
|
161
|
-
className: "text-
|
|
164
|
+
className: "mb-3 text-sm font-medium text-foreground"
|
|
162
165
|
}, t('Font Family')), React.createElement(WebFontsSelector, {
|
|
163
166
|
value: getFontFamilyValue(),
|
|
164
167
|
onChange: value => handleSettingChange('fontFamily', value),
|
|
165
168
|
options: FONT_OPTIONS
|
|
166
169
|
}))), React.createElement("div", {
|
|
167
|
-
className: "mt-8 pb-8 border-b border-
|
|
170
|
+
className: "mt-8 pb-8 border-b border-border"
|
|
168
171
|
}, React.createElement(NavigationModes, {
|
|
169
172
|
settings: settingsForComponents,
|
|
170
173
|
changeSetting: handleSettingChange,
|
|
@@ -188,7 +191,7 @@ import {useSelector}from'@xstate/react';import clsx from'clsx';import*as React f
|
|
|
188
191
|
routePattern: routePattern,
|
|
189
192
|
applyToAllRoutes: applyToAllRoutes
|
|
190
193
|
}))), React.createElement("div", {
|
|
191
|
-
className: "mt-8 pb-8 border-b border-
|
|
194
|
+
className: "mt-8 pb-8 border-b border-border"
|
|
192
195
|
}, React.createElement(RegionalSettings, {
|
|
193
196
|
settings: settingsForComponents,
|
|
194
197
|
changeSetting: handleSettingChange,
|
|
@@ -196,7 +199,7 @@ import {useSelector}from'@xstate/react';import clsx from'clsx';import*as React f
|
|
|
196
199
|
location: location,
|
|
197
200
|
routePattern: routePattern
|
|
198
201
|
})), React.createElement("div", {
|
|
199
|
-
className: "mt-8 pb-8 border-b border-
|
|
202
|
+
className: "mt-8 pb-8 border-b border-border"
|
|
200
203
|
}, React.createElement(AdditionalSettingsSlot, {
|
|
201
204
|
settings: settingsForComponents,
|
|
202
205
|
onSettingsChange: handleSettingChange,
|
|
@@ -209,5 +212,5 @@ import {useSelector}from'@xstate/react';import clsx from'clsx';import*as React f
|
|
|
209
212
|
onCopyAll: handleCopySettings,
|
|
210
213
|
onCopyModified: handleCopyModifiedSettings,
|
|
211
214
|
onReset: handleResetSettings
|
|
212
|
-
}))));
|
|
215
|
+
})))));
|
|
213
216
|
}export{SettingDrawer};//# sourceMappingURL=SettingDrawer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingDrawer.js","sources":["../../../src/components/SettingDrawer/SettingDrawer.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SettingDrawer.js","sources":["../../../src/components/SettingDrawer/SettingDrawer.tsx"],"sourcesContent":[null],"names":[],"mappings":"utDA4BM,SAAU,aAAa,CAAC,KAAyB,EAAA;AACnD,EAAA,MAAA;AACA,IAAA,KAAA;IAEA,SAAO;AACP,IAAA;IAEA,QAAQ;AACR,IAAA,QAAQ;IACR,YAAW;IAEX;MACA,KAAO;AACP,EAAA,MAAA;IACA,SAAO;IAEP;MACA,KAAM;;QAGN,MAAA,GAAA,MAAe,CAAA,IAAA,CAAA;AACf;QAQI;;mBAEA,EAAA;AACH,EAAA,MAAE;IAEH;MACA,cAAM,CAAA,UAAe,CAAA;;AAErB,EAAA,MAAA,CAAA,iBAAqB,QAAG,CAAA,KAAY,CAAC;QACrC,CAAA,eAAkB,EAAA,kBAAa,CAAA,WAAc,CAAQ,QAAE,GAAA,QAAc,GAAA,SAAA,CAAA;QAErE,CAAA,gBAAgB,EAAA,mBAAA,CAAA,GAAA,QAAA,CAAA,KAAA,CAAA;AAChB;QACI,YAAO,GAAA,KAAA,GAAA,WAA2B,CAAA,KAAA,EAAA,KAAY,iBAAgB,CAAA,MAAA,CAAU,GAAE,EAAA;QAC1E,0BAA0B,WAAE,CAAU,KAAG,EAAA,KAAA,IAAA,KAAA,CAAA,OAAA,CAAA,QAAA,CAAA,eAAA,CAAA,GAAA,EAAA;;QAG7C;IACA,MAAA;kBACI;AACJ,IAAA,kBAAI;IAEJ,0BAAe;sBACX;AACJ,IAAA;MAEA,qBAAe,CAAA;SACX;gBACI;AACI,IAAA;AACA,GAAA,CAAA;AACH;QACL,YAAC,GAAA,YAAA,IAAA,QAAA,EAAA,QAAA,IAAA,GAAA;AACL,EAAA,MAAI,UAAA,GAAA,eAAyB;QAE7B,eAAc,GAAA,SAAA,EAAA,GAAA,MAAA,CAAA,QAAA,CAAA,QAAA,GAAA,QAAA,IAA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ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/ApplyToAllRoutesToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ApplyToAllRoutesToggle.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/ApplyToAllRoutesToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,2BAA2B;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC;AAED,wBAAgB,sBAAsB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,2BAA2B,qBAYxF"}
|
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
import React__default from'react';function ApplyToAllRoutesToggle({
|
|
1
|
+
import React__default from'react';import {Switch}from'./Switch.js';function ApplyToAllRoutesToggle({
|
|
2
2
|
checked,
|
|
3
3
|
onChange
|
|
4
4
|
}) {
|
|
5
5
|
return React__default.createElement("div", {
|
|
6
|
-
className: "flex items-center justify-between"
|
|
6
|
+
className: "flex items-center justify-between gap-4"
|
|
7
7
|
}, React__default.createElement("div", null, React__default.createElement("p", {
|
|
8
|
-
className: "text-sm
|
|
8
|
+
className: "text-sm font-medium text-foreground"
|
|
9
9
|
}, "Apply to All Routes"), React__default.createElement("p", {
|
|
10
|
-
className: "text-xs text-
|
|
11
|
-
}, "When enabled, route-specific settings will apply to all routes instead of just the current route")), React__default.createElement(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
className: "sr-only peer",
|
|
16
|
-
checked: checked,
|
|
17
|
-
onChange: e => onChange(e.target.checked)
|
|
18
|
-
}), React__default.createElement("div", {
|
|
19
|
-
className: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"
|
|
20
|
-
})));
|
|
10
|
+
className: "text-xs text-muted-foreground"
|
|
11
|
+
}, "When enabled, route-specific settings will apply to all routes instead of just the current route")), React__default.createElement(Switch, {
|
|
12
|
+
value: checked,
|
|
13
|
+
onChange: onChange
|
|
14
|
+
}));
|
|
21
15
|
}export{ApplyToAllRoutesToggle};//# sourceMappingURL=ApplyToAllRoutesToggle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplyToAllRoutesToggle.js","sources":["../../../../src/components/SettingDrawer/components/ApplyToAllRoutesToggle.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApplyToAllRoutesToggle.js","sources":["../../../../src/components/SettingDrawer/components/ApplyToAllRoutesToggle.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"4EAQgB,sBAAsB,CAAC;AACnC,EAAA,OAAA;AAEQ,EAAA;;AAEI,EAAA,OAAAA,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAIJ,IAAA,SAAA,EAAA;AAGZ,GAAC,EAAAA,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA,IAAA,EAAAA,cAAA,CAAA,aAAA,CAAA,GAAA,EAAA;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as React from'react';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import {getSettingValue}from'../../../utils/settingsUtils.js';const themelist = [{
|
|
1
|
+
import*as React from'react';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import'../../Layout/SidebarControlsContext.js';import {getSettingValue}from'../../../utils/settingsUtils.js';const themelist = [{
|
|
2
2
|
key: 'light',
|
|
3
3
|
title: 'Light',
|
|
4
4
|
svg: React.createElement("svg", {
|
|
@@ -109,7 +109,7 @@ function CheckBoxTheme(props) {
|
|
|
109
109
|
changeSetting('navTheme', themeItems.key);
|
|
110
110
|
}
|
|
111
111
|
}, React.createElement("div", null, themeItems.svg, navThemeValue === themeItems.key && React.createElement("svg", {
|
|
112
|
-
className: "absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-6 h-6 text-
|
|
112
|
+
className: "absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-6 h-6 text-primary",
|
|
113
113
|
viewBox: "0 0 24 24",
|
|
114
114
|
fill: "currentColor"
|
|
115
115
|
}, React.createElement("path", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckBoxTheme.js","sources":["../../../../src/components/SettingDrawer/components/CheckBoxTheme.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CheckBoxTheme.js","sources":["../../../../src/components/SettingDrawer/components/CheckBoxTheme.tsx"],"sourcesContent":[null],"names":[],"mappings":"4RAKA,MAAM,SAAS,GAAG,CAAA;AACd,EAAA,GAAA,EAAA,OAAA;AACI,EAAA,KAAA,EAAA,OAAK;AACL,EAAA,GAAA,EAAA,KAAA,CAAK,aAAS,CAAA,KAAA,EAAA;AACd,IAAA,KAAA,EAAG,IACC;AACI,IAAA,MAAA,EAAA,IAAA;AACI,IAAA,OAAA,EAAA,WAAA;;AAIJ,GAAA,EAAA,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,IAAA,EAAA,KAAO,CAAC,aAAU,CAAA,QAAM,EAAI;AAGvC,IAAA,EAAA,EAAA,YAAA;AACD,IAAA,CAAA,EAAA,MAAA;AACI,IAAA,CAAA,EAAA,MAAK;AACL,IAAA,KAAA,EAAA,MAAO;AACP,IAAA,MAAA;wBAEQ,CAAA,cAAA,EAAA;;AAaX,IAAA,EAAA,EAAA,GAAA;AACD,IAAA,YAAA,EAAA,GAAA;AACI,IAAA,UAAK,EAAA,SAAM;AACX,IAAA,YAAO,EAAA;AACP,GAAA,CAAA,CAAA,CAAA,EAAA,KAAK,CACD,aAAA,CAAA,MAAA,EAAA;AACI,IAAA,CAAA,EAAA,GAAA;;AAEI,IAAA,KAAA,EAAA,IAAA;YAEJ,IAAA;AACI,IAAA,EAAA,EAAA,GAAA;mBACA;AAIf,IAAA,MAAA,EAAA;GACH,CAAA;AAEF,CAAA,EAAA;AACI,EAAA,GAAA,EAAA,UAAQ;AACR,EAAA,KAAA,EAAA,UAAQ;KACR,EAAA,KAAM,CAAA,aAAe,CAAA,KAAA,EAAA;IACrB,KAAA,EAAM,IAAA;IAEN,MAAA,EAAA,IAAA;AACA,IAAA,oBAAmB;AACnB,IAAA,KAAA,EAAO;UAGK,CAAA;AAMY,IAAA,CAAA,EAAA,GAAA;;AAGJ,IAAA,KAAA,EAAA,IAAA;AACK,IAAA,MAAA,EAAA,IAAA;AAEA,IAAA,EAAA,EAAA,GAAA;;IAYjB,EAAE,KAER,CAAA,aAAA,CAAA,MAAA,EAAA;AACN,IAAC,CAAA,EAAA,kMAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -10,7 +10,7 @@ import React__default from'react';import {useTranslation}from'react-i18next';fun
|
|
|
10
10
|
}, React__default.createElement("div", {
|
|
11
11
|
className: "flex mb-4"
|
|
12
12
|
}, React__default.createElement("button", {
|
|
13
|
-
className: `flex-1 py-2 px-4 text-sm font-medium transition-colors duration-200 rounded-l-lg border border-r-0 border-
|
|
13
|
+
className: `flex-1 py-2 px-4 text-sm font-medium transition-colors duration-200 rounded-l-lg border border-r-0 border-border focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset ${activeTab === 'desktop' ? 'bg-primary text-primary-foreground border-primary' : 'bg-background text-muted-foreground hover:bg-muted hover:text-foreground'}`,
|
|
14
14
|
onClick: () => onTabChange('desktop')
|
|
15
15
|
}, React__default.createElement("span", {
|
|
16
16
|
className: "flex items-center justify-center"
|
|
@@ -43,7 +43,7 @@ import React__default from'react';import {useTranslation}from'react-i18next';fun
|
|
|
43
43
|
x2: "12",
|
|
44
44
|
y2: "21"
|
|
45
45
|
})), t('desktop_tab'))), React__default.createElement("button", {
|
|
46
|
-
className: `flex-1 py-2 px-4 text-sm font-medium transition-colors duration-200 rounded-r-lg border border-
|
|
46
|
+
className: `flex-1 py-2 px-4 text-sm font-medium transition-colors duration-200 rounded-r-lg border border-border focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset ${activeTab === 'mobile' ? 'bg-primary text-primary-foreground border-primary' : 'bg-background text-muted-foreground hover:bg-muted hover:text-foreground'}`,
|
|
47
47
|
onClick: () => onTabChange('mobile')
|
|
48
48
|
}, React__default.createElement("span", {
|
|
49
49
|
className: "flex items-center justify-center"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeviceTabs.js","sources":["../../../../src/components/SettingDrawer/components/DeviceTabs.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"sFAQgB,UAAU,CAAC;WACjB;AAEN,EAAA;;AAGY,EAAA,MAAA;AAGY,IAAA;AACA,GAAA,GAAA,cAAA,CAAC,UAAC,CAAA;qCAIV,CAAA,KAAA,EAAA;AACI,IAAA,SAAA,EAAA;iCAYI,CAAA,KAAA,EAAA;AACA,IAAA,SAAA,EAAA;AACA,GAAA,EAAAA,cAAA,CAAA,aAAA,CAAA,QAAA,EAAA;AAEH,IAAA,SAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"DeviceTabs.js","sources":["../../../../src/components/SettingDrawer/components/DeviceTabs.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"sFAQgB,UAAU,CAAC;WACjB;AAEN,EAAA;;AAGY,EAAA,MAAA;AAGY,IAAA;AACA,GAAA,GAAA,cAAA,CAAC,UAAC,CAAA;qCAIV,CAAA,KAAA,EAAA;AACI,IAAA,SAAA,EAAA;iCAYI,CAAA,KAAA,EAAA;AACA,IAAA,SAAA,EAAA;AACA,GAAA,EAAAA,cAAA,CAAA,aAAA,CAAA,QAAA,EAAA;AAEH,IAAA,SAAA,EAAA,CAAA,0MAEA,EAAA,SAAA,KAAA,SAAA,GAAA,mDAAA,GAAA,0EAAA,CAAA,CAAA;AACT,IAAA,OAAA,EAAA,MAAA,WAAA,CAAA,SAAA;AAGY,GAAA,EAAAA,cAAA,CAAA,aAAE,CAAA,MAAA,EAAA;AACF,IAAA,SAAA,EAAA;iCAIR,CAAA,KAAA,EAAA;AACI,IAAA,KAAA,EAAA,4BAAA;;AAaI,IAAA,MAAA,EAAA,IAAA;;AAQ5B,IAAC,IAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvitationSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/InvitationSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAItD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,oBAAoB,GAAG,GAAG,
|
|
1
|
+
{"version":3,"file":"InvitationSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/InvitationSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAItD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,oBAAoB,GAAG,GAAG,qBA8EnE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as React from'react';import {useTranslation}from'react-i18next';import {Switch}from'./Switch.js';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import {getSettingValue}from'../../../utils/settingsUtils.js';function InvitationSettings(props) {
|
|
1
|
+
import*as React from'react';import {useTranslation}from'react-i18next';import {Switch}from'./Switch.js';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import'../../Layout/SidebarControlsContext.js';import {getSettingValue}from'../../../utils/settingsUtils.js';function InvitationSettings(props) {
|
|
2
2
|
const {
|
|
3
3
|
settings,
|
|
4
4
|
changeSetting,
|
|
@@ -27,14 +27,15 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
27
27
|
changeSetting(`organization.members.invitations`, newInvitations);
|
|
28
28
|
};
|
|
29
29
|
const textColor = {
|
|
30
|
-
color:
|
|
30
|
+
color: 'hsl(var(--foreground))'
|
|
31
31
|
};
|
|
32
32
|
return React.createElement("div", null, React.createElement("p", {
|
|
33
|
-
className: "mb-2 font-
|
|
33
|
+
className: "mb-2 text-sm font-semibold",
|
|
34
34
|
style: textColor
|
|
35
35
|
}, t('invitation_settings') || 'Invitation Settings'), React.createElement("div", {
|
|
36
36
|
className: "flex items-center mt-4"
|
|
37
37
|
}, React.createElement("span", {
|
|
38
|
+
className: "text-sm",
|
|
38
39
|
style: textColor
|
|
39
40
|
}, t('show_email_invite') || 'Show Email Invite'), React.createElement("div", {
|
|
40
41
|
className: "flex-grow"
|
|
@@ -44,6 +45,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
44
45
|
})), React.createElement("div", {
|
|
45
46
|
className: "flex items-center mt-4"
|
|
46
47
|
}, React.createElement("span", {
|
|
48
|
+
className: "text-sm",
|
|
47
49
|
style: textColor
|
|
48
50
|
}, t('show_sms_invite') || 'Show SMS Invite'), React.createElement("div", {
|
|
49
51
|
className: "flex-grow"
|
|
@@ -53,6 +55,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
53
55
|
})), React.createElement("div", {
|
|
54
56
|
className: "flex items-center mt-4"
|
|
55
57
|
}, React.createElement("span", {
|
|
58
|
+
className: "text-sm",
|
|
56
59
|
style: textColor
|
|
57
60
|
}, t('show_qr_code_invite') || 'Show QR Code Invite'), React.createElement("div", {
|
|
58
61
|
className: "flex-grow"
|
|
@@ -62,6 +65,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
62
65
|
})), React.createElement("div", {
|
|
63
66
|
className: "flex items-center mt-4"
|
|
64
67
|
}, React.createElement("span", {
|
|
68
|
+
className: "text-sm",
|
|
65
69
|
style: textColor
|
|
66
70
|
}, t('show_invite_link') || 'Show Invite Link'), React.createElement("div", {
|
|
67
71
|
className: "flex-grow"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvitationSettings.js","sources":["../../../../src/components/SettingDrawer/components/InvitationSettings.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InvitationSettings.js","sources":["../../../../src/components/SettingDrawer/components/InvitationSettings.tsx"],"sourcesContent":[null],"names":[],"mappings":"wWAOM,SAAU,kBAAkB,CAAC,KAAiC,EAAA;AAChE,EAAA,MAAA;IACA,QAAQ;AACR,IAAA,aAAQ;IACR,QAAM;IACN,YAAM;IAEN,gBAAA,GAAA;AACA,GAAA,GAAA;AACI,EAAA,MAAA;IAQJ;AAEA,GAAA,GAAA,0BAA4B;AACxB,EAAA,MAAA;;AACA,GAAA,GAAA;AACI,EAAA,MAAA,YAAG,GAAA,YAAW,IAAA,QAAA,EAAA,QAAA,IAAA,GAAA;kBACT,GAAE,QAAK,GAAA,QAAA,GAAA,SAAA;;AAGhB,EAAA,MAAA,WAAA,GAAc,KAAA,CAAA,OAAA,CAAA,MAAA;AAClB,IAAA,OAAE,eAAA,CAAA,QAAA,EAAA,kCAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,EAAA,CAAA;AAEF,EAAA,CAAA,EAAA,CAAA,0BAA2B,EAAA,YAAA,EAAA,UAA2B,CAAA,CAAA;AAEtD,EAAA,MAAA,sBACI,GAAA,CAAA,GAAA,EAAA,KAAA,KAAA;AACI,IAAA,IAAA,CAAA,aAAA,EAAA;UAGA,cAAA,GAAA;AACI,MAAA,GAAA,WAAA;aAGA;;iBAMJ,CAAA,CAAA,gCAAe,CAAA,EAAA,cAAA,CAAA;AACX,EAAA,CAAA;iBAGA,GAAA;;;AAOA,EAAA,OAAA,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA,IAAA,EAAM,KAAA,CAAA,aAAU,CAAS;aAGzB,EAAA,4BAAK;;4BAMT,CAAA,IAAA,qBAAe,CAAA,EAAA,KAAA,CAAA,aAAwB,CAAA,KAAA,EAAA;AACnC,IAAA,SAAA,EAAA;wBAGA,CAAA,MAAA,EAAA;aACA,EAAA,SAAA;AAOhB,IAAC,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutChange.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/LayoutChange.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAItD,wBAAgB,YAAY,CAAC,KAAK,EAAE,oBAAoB,GAAG,GAAG,
|
|
1
|
+
{"version":3,"file":"LayoutChange.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/LayoutChange.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAItD,wBAAgB,YAAY,CAAC,KAAK,EAAE,oBAAoB,GAAG,GAAG,qBAuI7D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as React from'react';import {useMemo}from'react';import {useTranslation}from'react-i18next';import {Switch}from'./Switch.js';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import {getSettingValue}from'../../../utils/settingsUtils.js';function LayoutChange(props) {
|
|
1
|
+
import*as React from'react';import {useMemo}from'react';import {useTranslation}from'react-i18next';import {Switch}from'./Switch.js';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import'../../Layout/SidebarControlsContext.js';import {getSettingValue}from'../../../utils/settingsUtils.js';function LayoutChange(props) {
|
|
2
2
|
const {
|
|
3
3
|
settings,
|
|
4
4
|
changeSetting,
|
|
@@ -13,9 +13,6 @@ import*as React from'react';import {useMemo}from'react';import {useTranslation}f
|
|
|
13
13
|
isMobile
|
|
14
14
|
} = useMediaQuery();
|
|
15
15
|
const currentRoute = routePattern || location?.pathname || '/';
|
|
16
|
-
const {
|
|
17
|
-
navTheme
|
|
18
|
-
} = settings || {};
|
|
19
16
|
const deviceType = isMobile ? 'mobile' : 'desktop';
|
|
20
17
|
// Get layout values using the utility function
|
|
21
18
|
const layoutValues = useMemo(() => ({
|
|
@@ -32,12 +29,12 @@ import*as React from'react';import {useMemo}from'react';import {useTranslation}f
|
|
|
32
29
|
changeSetting(key, value);
|
|
33
30
|
};
|
|
34
31
|
const textColor = {
|
|
35
|
-
color:
|
|
32
|
+
color: 'hsl(var(--foreground))'
|
|
36
33
|
};
|
|
37
34
|
return React.createElement("div", null, React.createElement("div", {
|
|
38
35
|
className: "flex items-center mt-4"
|
|
39
36
|
}, React.createElement("p", {
|
|
40
|
-
className: "mb-0",
|
|
37
|
+
className: "text-sm mb-0",
|
|
41
38
|
style: textColor
|
|
42
39
|
}, t('fixed_header')), React.createElement("div", {
|
|
43
40
|
className: "flex-grow"
|
|
@@ -47,7 +44,7 @@ import*as React from'react';import {useMemo}from'react';import {useTranslation}f
|
|
|
47
44
|
})), React.createElement("div", {
|
|
48
45
|
className: "flex items-center mt-4"
|
|
49
46
|
}, React.createElement("p", {
|
|
50
|
-
className: "mb-0",
|
|
47
|
+
className: "text-sm mb-0",
|
|
51
48
|
style: textColor
|
|
52
49
|
}, t('fixed_sidebar')), React.createElement("div", {
|
|
53
50
|
className: "flex-grow"
|
|
@@ -57,7 +54,7 @@ import*as React from'react';import {useMemo}from'react';import {useTranslation}f
|
|
|
57
54
|
})), React.createElement("div", {
|
|
58
55
|
className: "flex items-center mt-4"
|
|
59
56
|
}, React.createElement("p", {
|
|
60
|
-
className: "mb-0",
|
|
57
|
+
className: "text-sm mb-0",
|
|
61
58
|
style: textColor
|
|
62
59
|
}, t('split_menus')), React.createElement("div", {
|
|
63
60
|
className: "flex-grow"
|
|
@@ -78,7 +75,7 @@ import*as React from'react';import {useMemo}from'react';import {useTranslation}f
|
|
|
78
75
|
style: textColor
|
|
79
76
|
}, t('upper_menu_divider')), React.createElement("input", {
|
|
80
77
|
type: "text",
|
|
81
|
-
className: "px-3 py-2 border border-
|
|
78
|
+
className: "px-3 py-2 border border-input bg-background text-foreground rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-ring",
|
|
82
79
|
value: layoutValues.upperMenuDividerName,
|
|
83
80
|
onChange: e => {
|
|
84
81
|
handleLayoutChange('upperMenuDividerName', e.target.value);
|
|
@@ -90,7 +87,7 @@ import*as React from'react';import {useMemo}from'react';import {useTranslation}f
|
|
|
90
87
|
style: textColor
|
|
91
88
|
}, t('middle_menu_divider')), React.createElement("input", {
|
|
92
89
|
type: "text",
|
|
93
|
-
className: "px-3 py-2 border border-
|
|
90
|
+
className: "px-3 py-2 border border-input bg-background text-foreground rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-ring",
|
|
94
91
|
value: layoutValues.middleMenuDividerName,
|
|
95
92
|
onChange: e => {
|
|
96
93
|
handleLayoutChange('middleMenuDividerName', e.target.value);
|
|
@@ -102,7 +99,7 @@ import*as React from'react';import {useMemo}from'react';import {useTranslation}f
|
|
|
102
99
|
style: textColor
|
|
103
100
|
}, t('lower_menu_divider')), React.createElement("input", {
|
|
104
101
|
type: "text",
|
|
105
|
-
className: "px-3 py-2 border border-
|
|
102
|
+
className: "px-3 py-2 border border-input bg-background text-foreground rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-ring",
|
|
106
103
|
value: layoutValues.lowerMenuDividerName,
|
|
107
104
|
onChange: e => {
|
|
108
105
|
handleLayoutChange('lowerMenuDividerName', e.target.value);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutChange.js","sources":["../../../../src/components/SettingDrawer/components/LayoutChange.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LayoutChange.js","sources":["../../../../src/components/SettingDrawer/components/LayoutChange.tsx"],"sourcesContent":[null],"names":[],"mappings":"oYAQM,SAAU,YAAY,CAAC,KAAiC,EAAA;AAC1D,EAAA,MAAA;IACA,QAAQ;AACR,IAAA,aAAQ;IACR,QAAM;AACN,IAAA,YAAM;IAEN,gBAAA,GAAA;AACA,GAAA,GAAA;AAEQ,EAAA,MAAA;AACA,IAAA;AACA,GAAA,GAAA,cAAY,CAAA,UAAA,CAAA;AACZ,EAAA,MAAA;AAQA,IAAA;AAQA,GAAA,GAAA,aAAA,EAAA;QASJ,YAAW,GAAA,YAAgB,IAAE,QAAA,EAAY,QAAE,IAAU,GACvD;AAEF,EAAA,MAAA,qBAAwB,GAAI,QAAa,YAAc;AACnD;oBAA2B,GAAA,OAAA,CAAA,OAAA;eAC3B,EAAA,eAAA,CAAA,QAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,IAAA,CAAA;AACA,IAAA,YAAA,EAAA,eAAyB,CAAC,QAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,IAAA,CAAA;AAC9B,IAAA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AAA,CAAA,EAAA,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA;AAGA,IAAA,KAAA,EAAA,YAAA,CAAA,YAAA;2CAKQ,CAAA;AACJ,GAAA,CAAA,CAAA,EAAA,KAAA,CAAA,mBAKnB,EAER;AACL,IAAC,SAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -26,12 +26,12 @@ function renderMenuItems(items, indent, hiddenMenuKeys, getDisplayNameFn, toggle
|
|
|
26
26
|
}, React.createElement("input", {
|
|
27
27
|
type: "checkbox",
|
|
28
28
|
id: `menu-item-${item.key}`,
|
|
29
|
-
className: "mr-2 h-3 w-3 rounded border-
|
|
29
|
+
className: "mr-2 h-3 w-3 rounded border-input bg-background accent-primary focus:ring-primary",
|
|
30
30
|
checked: isVisible,
|
|
31
31
|
onChange: () => toggleMenuItemFn(item.key)
|
|
32
32
|
}), React.createElement("label", {
|
|
33
33
|
htmlFor: `menu-item-${item.key}`,
|
|
34
|
-
className: "text-xs text-
|
|
34
|
+
className: "text-xs text-foreground cursor-pointer flex-1",
|
|
35
35
|
style: {
|
|
36
36
|
paddingLeft: `${indent * 12}px`
|
|
37
37
|
}
|
|
@@ -91,16 +91,16 @@ function MenuVisibilitySettings({
|
|
|
91
91
|
strokeWidth: 2,
|
|
92
92
|
d: "M19 9l-7 7-7-7"
|
|
93
93
|
})), React.createElement("p", {
|
|
94
|
-
className: "text-
|
|
94
|
+
className: "text-sm font-semibold text-foreground"
|
|
95
95
|
}, t('menu_visibility.title') || 'Menu Visibility'))), React.createElement("div", {
|
|
96
96
|
className: `grid transition-all duration-300 ease-in-out ${isExpanded ? 'grid-rows-[1fr]' : 'grid-rows-[0fr]'}`
|
|
97
97
|
}, React.createElement("div", {
|
|
98
98
|
className: "overflow-hidden"
|
|
99
99
|
}, React.createElement("div", {
|
|
100
|
-
className: "ml-4 mb-4 border-l
|
|
100
|
+
className: "ml-4 mb-4 border-l border-border pl-4"
|
|
101
101
|
}, React.createElement("div", {
|
|
102
102
|
className: "space-y-2"
|
|
103
103
|
}, allMenuItems.length === 0 ? React.createElement("div", {
|
|
104
|
-
className: "text-center text-
|
|
104
|
+
className: "text-center text-muted-foreground py-4"
|
|
105
105
|
}, t('menu_visibility.no_items') || 'No menu items found') : renderedMenuItems)))));
|
|
106
106
|
}export{MenuVisibilitySettings};//# sourceMappingURL=MenuVisibilitySettings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuVisibilitySettings.js","sources":["../../../../src/components/SettingDrawer/components/MenuVisibilitySettings.tsx"],"sourcesContent":[null],"names":[],"mappings":"wHAIA;AACA,MAAM,kBAAkB,GAAG,EAAE;AAC7B,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;AAqBtE;AACA,SAAS,cAAc,CAAC,IAAc,EAAE,CAA0B,EAAA;MAC9D,IAAI,CAAA,GAAK,EAAG,OAAA,IAAA,CAAA,GAAA;UAAE,CAAA,IAAO,EAAA,UAAS,CAAA,OAAA,CAAA,EAAA;IAC9B,MAAI,KAAK,GAAI,eAAa,CAAA,GAAO,CAAC;WAC9B,KAAM,CAAA,MAAQ,GAAI,CAAC,GAAA,KAAK,CAAA,KAAS,CAAC,MAAC,GAAA,CAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA,WAAA,EAAA,GAAA,KAAA,CAAA,KAAA,CAAA,MAAA,GAAA,CAAA,CAAA,CAAA,KAAA,CAAA,CAAA,CAAA,GAAA,IAAA,CAAA,IAAA;AACnC,EAAA;AACI,EAAA,OAAA,CAAA,CAAA,IAAE,CAAA,IAAM,CAAA,IAAK,IAAC,CAAA,IAAM;AACpB;SACP,cAAA,CAAA,OAAA,EAAA,cAAA,EAAA,aAAA,EAAA;QACD,UAAc,GAAA,IAAK,GAAI,CAAA,cAAU,CAAA;AACrC,EAAC,UAAA,CAAA,GAAA,CAAA,OAAA,CAAA,GAAA,UAAA,CAAA,MAAA,CAAA,OAAA,CAAA,GAAA,UAAA,CAAA,GAAA,CAAA,OAAA,CAAA;AACD,EAAA,8BAAuC,EAAE,KAAA,CAAA,IAAA,CAAA,UAA0B,CAAA,CAAA;AAC/D;SACA,eAAe,CAAA,KAAW,EAAA,MAAA,EAAU,cAAQ,EAAQ,gBAAc,EAAI,gBAAS,EAAA;SAC/E,KAAA,CAAA,GAAc,CAAA,IAAA,IAAA;AAClB,IAAC,MAAA,SAAA,GAAA,CAAA,cAAA,CAAA,QAAA,CAAA,IAAA,CAAA,GAAA,CAAA;AACD,IAAA,MAAS,WAAA,GAAe,gBAGpB,CAAA,IAAA,CAAA;AAIA,IAAA,OAAO,KAAK,CAAC,aAAa,CAAA,KAAA,EAAA;SACtB,EAAA,IAAM,CAAA;AACN,KAAA,EAAA,KAAA,CAAA,aAAiB,CAAA,KAAG,EAAA;AAEpB,MAAA,SAAO,EACH;YACI,CAAA,aAAA,CAAA,OAAA,EAAA;AACI,MAAA,IAAA,EAAA,UAAA;qBAOA,EAAA,IAAA,CAAA,GAAA,CAAA,CAAA;AASH,MAAA,SAAA,EAAA
|
|
1
|
+
{"version":3,"file":"MenuVisibilitySettings.js","sources":["../../../../src/components/SettingDrawer/components/MenuVisibilitySettings.tsx"],"sourcesContent":[null],"names":[],"mappings":"wHAIA;AACA,MAAM,kBAAkB,GAAG,EAAE;AAC7B,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;AAqBtE;AACA,SAAS,cAAc,CAAC,IAAc,EAAE,CAA0B,EAAA;MAC9D,IAAI,CAAA,GAAK,EAAG,OAAA,IAAA,CAAA,GAAA;UAAE,CAAA,IAAO,EAAA,UAAS,CAAA,OAAA,CAAA,EAAA;IAC9B,MAAI,KAAK,GAAI,eAAa,CAAA,GAAO,CAAC;WAC9B,KAAM,CAAA,MAAQ,GAAI,CAAC,GAAA,KAAK,CAAA,KAA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AA,CAAA,QAAA,CAAA,IAAA,CAAA,GAAA,CAAA,CAAA;kBAEV,CAAA,IAAA,CAAA,GAAA,aAAA,CAAA;AAQI,MAAA,CAAA,CAAA;AAEJ,MAAA,MAAA,oBAAA,GAAA,YAAG,CAAA,MAAU,CAAA,IAAA,IAAA,CAAA,IAAA,CAAA,QAAA,IAAA,IAAA,CAAA,GAAA,IAAuC,CAAA,kBAC7C,CAAA,QAAA,CAAuB,IAAC,CAAI,GAAA,CAAA,CAAA;AAK3C,MAAA,UAAA,CAAA,IAAA,CAAA,GAAA,oBACI,CAAS;;qBAKL;AACI,EAAA,CAAA,EAAA,CAAA,YAAA,CAAA,CAAA;AAcxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as React from'react';import {useMemo}from'react';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import {getSettingValue}from'../../../utils/settingsUtils.js';const navigationModes = [{
|
|
1
|
+
import*as React from'react';import {useMemo}from'react';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import'../../Layout/SidebarControlsContext.js';import {getSettingValue}from'../../../utils/settingsUtils.js';const navigationModes = [{
|
|
2
2
|
key: 'sidebar',
|
|
3
3
|
title: 'Sidebar',
|
|
4
4
|
svg: React.createElement("svg", {
|
|
@@ -281,7 +281,7 @@ function NavigationModes({
|
|
|
281
281
|
return React.createElement("div", {
|
|
282
282
|
className: "space-y-8"
|
|
283
283
|
}, React.createElement("section", null, React.createElement("h3", {
|
|
284
|
-
className: "text-sm font-
|
|
284
|
+
className: "text-sm font-semibold text-foreground mb-3"
|
|
285
285
|
}, deviceType === 'mobile' ? 'Mobile Navigation Mode' : 'Desktop Navigation Mode'), React.createElement("div", {
|
|
286
286
|
className: "flex flex-row gap-4"
|
|
287
287
|
}, navigationModes.map((mode, index) => React.createElement("div", {
|
|
@@ -300,7 +300,7 @@ function NavigationModes({
|
|
|
300
300
|
}, React.createElement("path", {
|
|
301
301
|
d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
|
|
302
302
|
}))))))), React.createElement("section", null, React.createElement("h3", {
|
|
303
|
-
className: "text-sm font-
|
|
303
|
+
className: "text-sm font-semibold text-foreground mb-3"
|
|
304
304
|
}, deviceType === 'mobile' ? 'Mobile Menu Type' : 'Desktop Menu Type'), React.createElement("div", {
|
|
305
305
|
className: "flex flex-row gap-4"
|
|
306
306
|
}, menuTypes.map((type, index) => React.createElement("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationsModes.js","sources":["../../../../src/components/SettingDrawer/components/NavigationsModes.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavigationsModes.js","sources":["../../../../src/components/SettingDrawer/components/NavigationsModes.tsx"],"sourcesContent":[null],"names":[],"mappings":"wTAMA,MAAM,eAAe,GAAG,CAAA;AACpB,EAAA,GAAA,EAAA,SAAA;AACI,EAAA,KAAA,EAAA,SAAK;AACL,EAAA,GAAA,EAAA,KAAA,CAAK,aAAW,CAAA,KAAA,EAAA;AAChB,IAAA,KAAA,EAAG,IACC;AACI,IAAA,MAAA,EAAA,IAAA;AACA,IAAA,OAAA,EAAA,WAAA;;wBAEA,CAAA,MAAA,EAAA;AACA,IAAA,KAAA,EAAA,IAAA;AAGX,IAAA,MAAA,EAAA,IAAA;AACD,IAAA,EAAA,EAAA,GAAA;AACI,IAAA,IAAA,EAAA;AACA,GAAA,CAAA,EAAA,KAAA,CAAA,aAAgB,CAAA,MAAA,EAAA;AAChB,IAAA,CAAA,EAAA,GAAA;AAEQ,IAAA,CAAA,EAAA,GAAA;AACA,IAAA,KAAA,EAAA,IAAA;YACA,IAAA;;AAEA,GAAA,CAAA,EAAA,KAAA,CAAA,aA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AAA,IAAA,EAAA;AAGQ,GAAA,CAAA,EAAA,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA;AACI,IAAA,CAAA,EAAA,IAAA;AAGA,IAAA,CAAA,EAAA,GAAA;;AAOgB,IAAA,MAAA,EAAA,GAAA;;mBAGJ;AACK,IAAA,OAAA,EAAA;AACA,GAAA,CAAA,EAAA,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA;;AAgBrB,IAAA,CAAA,EAAA,GAAA;AACI,IAAA,KAAA,EAAA,IAAA;AAGA,IAAA,MAAA,EAAA,GAAA;;AAOgB,IAAA,IAAA,EAAA,SAAA;;;AAIC,CAAA,EAAA;AACA,EAAA,GAAA,EAAA,OAAA;AAMO,EAAA,KAAA,EAAA,OAAA;AAUxC,EAAC,GAAA,EAAA,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegionalSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/RegionalSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAMxD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"RegionalSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/RegionalSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAMxD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,sBAAsB,qBAkhB7D"}
|