@admin-layout/tailwind-design-pro 12.2.4-alpha.91 → 12.2.4-alpha.92
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/lib/components/Layout/BasicLayout/index.js +1 -1
- package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
- package/lib/components/SettingDrawer/SettingDrawer.js +20 -17
- 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 +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 +6 -2
- 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 +7 -10
- 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 +2 -2
- package/lib/components/SettingDrawer/components/RegionalSettings.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/RegionalSettings.js +39 -96
- 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/ThemeSelector.js +1 -1
- package/lib/components/SettingDrawer/components/WebFontsSelector.js +1 -1
- package/package.json +2 -2
|
@@ -217,7 +217,7 @@ function BasicLayout(props) {
|
|
|
217
217
|
const shouldShowSidebar = isSidebarLayout && showMenu;
|
|
218
218
|
const sideBarMarginTop = !isAppShell && showHeader ? '5rem' : undefined;
|
|
219
219
|
const computedMarginLeft = useMemo(() => {
|
|
220
|
-
return shouldApplySidebarMargin ? !isPerplexLayout ? collapsed ? '64px' : '256px' : !siderPinned ? '
|
|
220
|
+
return shouldApplySidebarMargin ? !isPerplexLayout ? collapsed ? '64px' : '256px' : !siderPinned ? '83px' : '311px' : '0px';
|
|
221
221
|
}, [shouldApplySidebarMargin, isPerplexLayout, collapsed, siderPinned]);
|
|
222
222
|
const defaultProps = omit({
|
|
223
223
|
...props
|
|
@@ -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"}
|
|
@@ -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":"2qDA4BM,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,Q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L,UAAA,CAAA,GAAA,GAAO;;AAEX,OAAA,CAAA;AACI,MAAA;IAQJ;AAEA,IAAA,MAAA,UACI,GAAA,gBAAA,GAAA,CAAA,CAAA,EAAA,UACK,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,EAAY,YAAE,CAAA,EAAA,EAAA,UACX,CAAA,CAAA,CAAA;AAEI,IAAA,MAAA,aAAA,GAAA,iBACO,GAAE,EAAA,KACL,CAAA;
|
|
1
|
+
{"version":3,"file":"SettingDrawer.js","sources":["../../../src/components/SettingDrawer/SettingDrawer.tsx"],"sourcesContent":[null],"names":[],"mappings":"2qDA4BM,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;SAC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A,aAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplyToAllRoutesToggle.d.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;;;;;;;;"}
|
|
@@ -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", {
|
|
@@ -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"}
|
|
@@ -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":"yTAOM,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,
|
|
1
|
+
{"version":3,"file":"InvitationSettings.js","sources":["../../../../src/components/SettingDrawer/components/InvitationSettings.tsx"],"sourcesContent":[null],"names":[],"mappings":"yTAOM,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"}
|
|
@@ -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":"qVAQM,SAAU,YAAY,CAAC,KAAiC,EAAA;AAC1D,EAAA,MAAA;IACA,QAAQ;AACR,IAAA,aAAQ;IACR,QAAM;AACN,IAAA,
|
|
1
|
+
{"version":3,"file":"LayoutChange.js","sources":["../../../../src/components/SettingDrawer/components/LayoutChange.tsx"],"sourcesContent":[null],"names":[],"mappings":"qVAQM,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,QAA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A,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA;AAGA,IAAA,KAAA,EAAA,YAAA,CAAA,WAAA;2CAKQ,CAAA;AACJ,GAAA,CAAA,CAAA,EAAA,KAAA,CAAA,mBAEF,EAAA;;AAEF,GAAA,EAAA,KAAA,CAAA,aAAA,CAAA,GAAA,EAAA;AAGA,IAAA,SAAA,EAAA,cAAA;;AAMI,GAAA,EAAA,CAAA,CAAA,eAAA,CAAA,CAAA,OAEF,CAAA,aAAA,CAAA,KAAA,EAAA;;AAEF,GAAA,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,CA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CAAA,QAAA,CAAA,cAAA,CAAA,CAAA;AACA;AACI,EAAA,MAAA,YAAO,GAAA,OAAe,CAAC,MAAA;IAC3B,MAAI,UAAY,GAAE,EAAA;AAElB,IAAA,IAAA,YACI,EAAA,MAAA,EAAA;oBACI,CAAA,OAAA,CAAA,QAAK,IAAA;AACD,QAAA,MAAA,aAAA,GAAA,YAAA,CAAA,MACI,CAAA,IAAS,IAAK,IAAC,CAAA,QAAA,KAAe,QAAU,IACxC,IAAA,CAAA,GAAS,IAAC,CAAA,kBAAA,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -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":"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"}
|
|
@@ -9,9 +9,6 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
9
9
|
routePattern,
|
|
10
10
|
applyToAllRoutes = false
|
|
11
11
|
} = props;
|
|
12
|
-
const {
|
|
13
|
-
navTheme
|
|
14
|
-
} = settings || {};
|
|
15
12
|
const currentRoute = routePattern || location?.pathname || '/';
|
|
16
13
|
const [isHeaderExpanded, setIsHeaderExpanded] = React.useState(false);
|
|
17
14
|
const [isBackgroundExpanded, setIsBackgroundExpanded] = React.useState(true);
|
|
@@ -76,14 +73,11 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
76
73
|
return React.createElement(React.Fragment, null, React.createElement("div", {
|
|
77
74
|
className: "mb-4"
|
|
78
75
|
}, React.createElement("p", {
|
|
79
|
-
className: "font-medium mb-2"
|
|
80
|
-
style: {
|
|
81
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
82
|
-
}
|
|
76
|
+
className: "text-sm font-medium mb-2 text-foreground"
|
|
83
77
|
}, t('background_type')), React.createElement("div", {
|
|
84
|
-
className: "flex mb-3 rounded-lg overflow-hidden border border-
|
|
78
|
+
className: "flex mb-3 rounded-lg overflow-hidden border border-border divide-x divide-border bg-muted"
|
|
85
79
|
}, React.createElement("button", {
|
|
86
|
-
className: `flex-1 py-2 px-3 text-sm font-medium transition-colors duration-200 flex items-center justify-center ${background?.type === 'color' ? 'bg-
|
|
80
|
+
className: `flex-1 py-2 px-3 text-sm font-medium transition-colors duration-200 flex items-center justify-center ${background?.type === 'color' ? 'bg-primary text-primary-foreground' : 'bg-background text-muted-foreground hover:bg-muted hover:text-foreground'}`,
|
|
87
81
|
onClick: () => handleBackgroundChange('type', 'color')
|
|
88
82
|
}, React.createElement("span", {
|
|
89
83
|
className: "mr-1"
|
|
@@ -104,7 +98,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
104
98
|
}), React.createElement("path", {
|
|
105
99
|
d: "M12 8v8M8 12h8"
|
|
106
100
|
}))), t('color')), React.createElement("button", {
|
|
107
|
-
className: `flex-1 py-2 px-3 text-sm font-medium transition-colors duration-200 flex items-center justify-center ${background?.type === 'image' ? 'bg-
|
|
101
|
+
className: `flex-1 py-2 px-3 text-sm font-medium transition-colors duration-200 flex items-center justify-center ${background?.type === 'image' ? 'bg-primary text-primary-foreground' : 'bg-background text-muted-foreground hover:bg-muted hover:text-foreground'}`,
|
|
108
102
|
onClick: () => handleBackgroundChange('type', 'image')
|
|
109
103
|
}, React.createElement("span", {
|
|
110
104
|
className: "mr-1"
|
|
@@ -132,7 +126,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
132
126
|
}), React.createElement("polyline", {
|
|
133
127
|
points: "21 15 16 10 5 21"
|
|
134
128
|
}))), t('image')), React.createElement("button", {
|
|
135
|
-
className: `flex-1 py-2 px-3 text-sm font-medium transition-colors duration-200 flex items-center justify-center ${background?.type === 'video' ? 'bg-
|
|
129
|
+
className: `flex-1 py-2 px-3 text-sm font-medium transition-colors duration-200 flex items-center justify-center ${background?.type === 'video' ? 'bg-primary text-primary-foreground' : 'bg-background text-muted-foreground hover:bg-muted hover:text-foreground'}`,
|
|
136
130
|
onClick: () => handleBackgroundChange('type', 'video')
|
|
137
131
|
}, React.createElement("span", {
|
|
138
132
|
className: "mr-1"
|
|
@@ -158,14 +152,11 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
158
152
|
}))), t('video')))), background?.type === 'color' && React.createElement("div", {
|
|
159
153
|
className: "mb-4"
|
|
160
154
|
}, React.createElement("p", {
|
|
161
|
-
className: "mb-2"
|
|
162
|
-
style: {
|
|
163
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
164
|
-
}
|
|
155
|
+
className: "text-sm font-medium mb-2 text-foreground"
|
|
165
156
|
}, t('background_color')), React.createElement("div", {
|
|
166
157
|
className: "flex items-center"
|
|
167
158
|
}, React.createElement("div", {
|
|
168
|
-
className: "w-12 h-12 rounded-lg border border-
|
|
159
|
+
className: "w-12 h-12 rounded-lg border border-input mr-3 flex-shrink-0 shadow-sm",
|
|
169
160
|
style: {
|
|
170
161
|
backgroundColor: background?.color === 'inherit' ? '#ffffff' : background?.color || '#ffffff'
|
|
171
162
|
}
|
|
@@ -180,7 +171,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
180
171
|
className: "flex flex-wrap gap-2 mt-3"
|
|
181
172
|
}, ['#ffffff', '#f2f2f2', '#e6e6e6', '#1890ff', '#52c41a', '#faad14', '#f5222d', '#722ed1'].map(color => React.createElement("button", {
|
|
182
173
|
key: color,
|
|
183
|
-
className: `w-8 h-8 rounded-full border ${color === (background?.color || '#ffffff') ? 'border-
|
|
174
|
+
className: `w-8 h-8 rounded-full border ${color === (background?.color || '#ffffff') ? 'border-primary border-2' : 'border-border'}`,
|
|
184
175
|
style: {
|
|
185
176
|
backgroundColor: color
|
|
186
177
|
},
|
|
@@ -191,17 +182,15 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
191
182
|
}, React.createElement("div", {
|
|
192
183
|
className: "flex items-center mb-1"
|
|
193
184
|
}, React.createElement("p", {
|
|
194
|
-
|
|
195
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
196
|
-
}
|
|
185
|
+
className: "text-sm text-foreground"
|
|
197
186
|
}, t('image_url'))), React.createElement("input", {
|
|
198
187
|
type: "text",
|
|
199
188
|
placeholder: t('image_url'),
|
|
200
189
|
value: background?.image || '',
|
|
201
190
|
onChange: e => handleBackgroundChange('image', e.target.value),
|
|
202
|
-
className: "w-full p-1 text-sm border border-
|
|
191
|
+
className: "w-full p-1 text-sm border border-input rounded"
|
|
203
192
|
}), background?.image && React.createElement("div", {
|
|
204
|
-
className: "mt-2 p-1 border border-
|
|
193
|
+
className: "mt-2 p-1 border border-input rounded"
|
|
205
194
|
}, React.createElement("img", {
|
|
206
195
|
src: background?.image,
|
|
207
196
|
alt: "Background preview",
|
|
@@ -215,31 +204,27 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
215
204
|
}, React.createElement("div", {
|
|
216
205
|
className: "flex items-center mb-1"
|
|
217
206
|
}, React.createElement("p", {
|
|
218
|
-
|
|
219
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
220
|
-
}
|
|
207
|
+
className: "text-sm text-foreground"
|
|
221
208
|
}, t('video_url'))), React.createElement("input", {
|
|
222
209
|
type: "text",
|
|
223
210
|
placeholder: t('video_url'),
|
|
224
211
|
value: background?.video || '',
|
|
225
212
|
onChange: e => handleBackgroundChange('video', e.target.value),
|
|
226
|
-
className: "w-full p-1 text-sm border border-
|
|
213
|
+
className: "w-full p-1 text-sm border border-input rounded"
|
|
227
214
|
}), React.createElement("div", {
|
|
228
215
|
className: "flex items-center mt-3 mb-1"
|
|
229
216
|
}, React.createElement("p", {
|
|
230
|
-
|
|
231
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
232
|
-
}
|
|
217
|
+
className: "text-sm text-foreground"
|
|
233
218
|
}, t('video_thumbnail'))), React.createElement("input", {
|
|
234
219
|
type: "text",
|
|
235
220
|
placeholder: t('video_thumbnail'),
|
|
236
221
|
value: background?.videoThumbnail || '',
|
|
237
222
|
onChange: e => handleBackgroundChange('videoThumbnail', e.target.value),
|
|
238
|
-
className: "w-full p-1 text-sm border border-
|
|
223
|
+
className: "w-full p-1 text-sm border border-input rounded"
|
|
239
224
|
}), React.createElement("div", {
|
|
240
225
|
className: "flex flex-wrap gap-2 mt-3"
|
|
241
226
|
}, !background?.video && background?.videoThumbnail && React.createElement("div", {
|
|
242
|
-
className: "mt-2 p-1 border border-
|
|
227
|
+
className: "mt-2 p-1 border border-input rounded w-full"
|
|
243
228
|
}, React.createElement("img", {
|
|
244
229
|
src: background?.videoThumbnail,
|
|
245
230
|
alt: "Video thumbnail preview",
|
|
@@ -257,9 +242,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
257
242
|
}, React.createElement("div", {
|
|
258
243
|
className: "flex items-center"
|
|
259
244
|
}, React.createElement("p", {
|
|
260
|
-
|
|
261
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
262
|
-
}
|
|
245
|
+
className: "text-sm text-foreground"
|
|
263
246
|
}, t('show_header')), React.createElement("div", {
|
|
264
247
|
className: "flex-grow"
|
|
265
248
|
}), React.createElement(Switch, {
|
|
@@ -268,9 +251,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
268
251
|
})), React.createElement("div", {
|
|
269
252
|
className: "flex items-center"
|
|
270
253
|
}, React.createElement("p", {
|
|
271
|
-
|
|
272
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
273
|
-
}
|
|
254
|
+
className: "text-sm text-foreground"
|
|
274
255
|
}, t('fixed_header')), React.createElement("div", {
|
|
275
256
|
className: "flex-grow"
|
|
276
257
|
}), React.createElement(Switch, {
|
|
@@ -279,9 +260,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
279
260
|
})), React.createElement("div", {
|
|
280
261
|
className: "flex items-center"
|
|
281
262
|
}, React.createElement("p", {
|
|
282
|
-
|
|
283
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
284
|
-
}
|
|
263
|
+
className: "text-sm text-foreground"
|
|
285
264
|
}, t('show_logo')), React.createElement("div", {
|
|
286
265
|
className: "flex-grow"
|
|
287
266
|
}), React.createElement(Switch, {
|
|
@@ -290,9 +269,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
290
269
|
})), React.createElement("div", {
|
|
291
270
|
className: "flex items-center"
|
|
292
271
|
}, React.createElement("p", {
|
|
293
|
-
|
|
294
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
295
|
-
}
|
|
272
|
+
className: "text-sm text-foreground"
|
|
296
273
|
}, t('show_search_slot')), React.createElement("div", {
|
|
297
274
|
className: "flex-grow"
|
|
298
275
|
}), React.createElement(Switch, {
|
|
@@ -301,9 +278,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
301
278
|
})), React.createElement("div", {
|
|
302
279
|
className: "flex items-center"
|
|
303
280
|
}, React.createElement("p", {
|
|
304
|
-
|
|
305
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
306
|
-
}
|
|
281
|
+
className: "text-sm text-foreground"
|
|
307
282
|
}, t('show_right_content')), React.createElement("div", {
|
|
308
283
|
className: "flex-grow"
|
|
309
284
|
}), React.createElement(Switch, {
|
|
@@ -312,9 +287,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
312
287
|
})), React.createElement("div", {
|
|
313
288
|
className: "flex items-center"
|
|
314
289
|
}, React.createElement("p", {
|
|
315
|
-
|
|
316
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
317
|
-
}
|
|
290
|
+
className: "text-sm text-foreground"
|
|
318
291
|
}, t('show_menu_toggle')), React.createElement("div", {
|
|
319
292
|
className: "flex-grow"
|
|
320
293
|
}), React.createElement(Switch, {
|
|
@@ -323,9 +296,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
323
296
|
})), React.createElement("div", {
|
|
324
297
|
className: "flex items-center"
|
|
325
298
|
}, React.createElement("p", {
|
|
326
|
-
|
|
327
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
328
|
-
}
|
|
299
|
+
className: "text-sm text-foreground"
|
|
329
300
|
}, t('show_back_button')), React.createElement("div", {
|
|
330
301
|
className: "flex-grow"
|
|
331
302
|
}), React.createElement(Switch, {
|
|
@@ -334,9 +305,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
334
305
|
})), React.createElement("div", {
|
|
335
306
|
className: "flex items-center"
|
|
336
307
|
}, React.createElement("p", {
|
|
337
|
-
|
|
338
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
339
|
-
}
|
|
308
|
+
className: "text-sm text-foreground"
|
|
340
309
|
}, t('show_page_title')), React.createElement("div", {
|
|
341
310
|
className: "flex-grow"
|
|
342
311
|
}), React.createElement(Switch, {
|
|
@@ -345,9 +314,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
345
314
|
})), React.createElement("div", {
|
|
346
315
|
className: "flex items-center"
|
|
347
316
|
}, React.createElement("p", {
|
|
348
|
-
|
|
349
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
350
|
-
}
|
|
317
|
+
className: "text-sm text-foreground"
|
|
351
318
|
}, t('show_action_buttons')), React.createElement("div", {
|
|
352
319
|
className: "flex-grow"
|
|
353
320
|
}), React.createElement(Switch, {
|
|
@@ -362,9 +329,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
362
329
|
}, React.createElement("div", {
|
|
363
330
|
className: "flex items-center"
|
|
364
331
|
}, React.createElement("p", {
|
|
365
|
-
|
|
366
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
367
|
-
}
|
|
332
|
+
className: "text-sm text-foreground"
|
|
368
333
|
}, t('search_bar')), React.createElement("div", {
|
|
369
334
|
className: "flex-grow"
|
|
370
335
|
}), React.createElement(Switch, {
|
|
@@ -373,9 +338,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
373
338
|
})), React.createElement("div", {
|
|
374
339
|
className: "flex items-center"
|
|
375
340
|
}, React.createElement("p", {
|
|
376
|
-
|
|
377
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
378
|
-
}
|
|
341
|
+
className: "text-sm text-foreground"
|
|
379
342
|
}, t('search_bar_on_scroll')), React.createElement("div", {
|
|
380
343
|
className: "flex-grow"
|
|
381
344
|
}), React.createElement(Switch, {
|
|
@@ -384,9 +347,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
384
347
|
})), React.createElement("div", {
|
|
385
348
|
className: "flex items-center"
|
|
386
349
|
}, React.createElement("p", {
|
|
387
|
-
|
|
388
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
389
|
-
}
|
|
350
|
+
className: "text-sm text-foreground"
|
|
390
351
|
}, t('search_bar_overlay')), React.createElement("div", {
|
|
391
352
|
className: "flex-grow"
|
|
392
353
|
}), React.createElement(Switch, {
|
|
@@ -397,14 +358,9 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
397
358
|
}, React.createElement("div", {
|
|
398
359
|
className: "flex items-center justify-between mb-2"
|
|
399
360
|
}, React.createElement("p", {
|
|
400
|
-
|
|
401
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
402
|
-
}
|
|
361
|
+
className: "text-sm text-foreground"
|
|
403
362
|
}, t('scroll_threshold')), React.createElement("span", {
|
|
404
|
-
className: "text-sm"
|
|
405
|
-
style: {
|
|
406
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
407
|
-
}
|
|
363
|
+
className: "text-sm text-foreground"
|
|
408
364
|
}, header?.scrollThreshold || scrollThresholdConfig.DEFAULT, "px")), React.createElement("div", {
|
|
409
365
|
className: "relative"
|
|
410
366
|
}, React.createElement("input", {
|
|
@@ -414,7 +370,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
414
370
|
step: scrollThresholdConfig.STEP,
|
|
415
371
|
value: header?.scrollThreshold || scrollThresholdConfig.DEFAULT,
|
|
416
372
|
onChange: e => handleHeaderChange('scrollThreshold', parseInt(e.target.value)),
|
|
417
|
-
className: "w-full h-2 bg-
|
|
373
|
+
className: "w-full h-2 bg-muted rounded-lg appearance-none cursor-pointer accent-primary"
|
|
418
374
|
}), React.createElement("div", {
|
|
419
375
|
className: "flex justify-between text-xs mt-2"
|
|
420
376
|
}, React.createElement("span", null, scrollThresholdConfig.MIN, "px"), React.createElement("span", null, scrollThresholdConfig.MAX / 2, "px"), React.createElement("span", null, scrollThresholdConfig.MAX, "px")))));
|
|
@@ -435,15 +391,13 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
435
391
|
strokeWidth: 2,
|
|
436
392
|
d: "M19 9l-7 7-7-7"
|
|
437
393
|
})), React.createElement("p", {
|
|
438
|
-
|
|
439
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
440
|
-
}
|
|
394
|
+
className: "text-sm font-semibold text-foreground"
|
|
441
395
|
}, t('background')))), React.createElement("div", {
|
|
442
396
|
className: `grid transition-all duration-300 ease-in-out ${isBackgroundExpanded ? 'grid-rows-[1fr]' : 'grid-rows-[0fr]'}`
|
|
443
397
|
}, React.createElement("div", {
|
|
444
398
|
className: "overflow-hidden"
|
|
445
399
|
}, React.createElement("div", {
|
|
446
|
-
className: "ml-4 mb-4 border-l
|
|
400
|
+
className: "ml-4 mb-4 border-l border-border pl-4"
|
|
447
401
|
}, React.createElement("div", {
|
|
448
402
|
className: "mb-4"
|
|
449
403
|
}, renderBackgroundSettings()))))), React.createElement("div", null, React.createElement("div", {
|
|
@@ -462,32 +416,25 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
462
416
|
strokeWidth: 2,
|
|
463
417
|
d: "M19 9l-7 7-7-7"
|
|
464
418
|
})), React.createElement("p", {
|
|
465
|
-
|
|
466
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
467
|
-
}
|
|
419
|
+
className: "text-sm font-semibold text-foreground"
|
|
468
420
|
}, t('header')))), React.createElement("div", {
|
|
469
421
|
className: `grid transition-all duration-300 ease-in-out ${isHeaderExpanded ? 'grid-rows-[1fr]' : 'grid-rows-[0fr]'}`
|
|
470
422
|
}, React.createElement("div", {
|
|
471
423
|
className: "overflow-hidden"
|
|
472
424
|
}, React.createElement("div", {
|
|
473
|
-
className: "ml-4 mb-4 border-l
|
|
425
|
+
className: "ml-4 mb-4 border-l border-border pl-4"
|
|
474
426
|
}, React.createElement("div", {
|
|
475
427
|
className: "mb-4"
|
|
476
428
|
}, renderHeaderSettings()), React.createElement("div", {
|
|
477
429
|
className: "mt-6 mb-4"
|
|
478
430
|
}, React.createElement("p", {
|
|
479
|
-
className: "font-medium mb-2"
|
|
480
|
-
style: {
|
|
481
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
482
|
-
}
|
|
431
|
+
className: "text-sm font-medium mb-2 text-foreground"
|
|
483
432
|
}, t('search_bar')), React.createElement("div", {
|
|
484
433
|
className: "pl-4 space-y-2"
|
|
485
434
|
}, renderSearchBarSettings())))))), React.createElement("div", {
|
|
486
435
|
className: "flex items-center mb-2"
|
|
487
436
|
}, React.createElement("p", {
|
|
488
|
-
|
|
489
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
490
|
-
}
|
|
437
|
+
className: "text-sm text-foreground"
|
|
491
438
|
}, t('footer')), React.createElement("div", {
|
|
492
439
|
className: "flex-grow"
|
|
493
440
|
}), React.createElement(Switch, {
|
|
@@ -496,9 +443,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
496
443
|
})), React.createElement("div", {
|
|
497
444
|
className: "flex items-center mb-2"
|
|
498
445
|
}, React.createElement("p", {
|
|
499
|
-
|
|
500
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
501
|
-
}
|
|
446
|
+
className: "text-sm text-foreground"
|
|
502
447
|
}, t('menu')), React.createElement("div", {
|
|
503
448
|
className: "flex-grow"
|
|
504
449
|
}), React.createElement(Switch, {
|
|
@@ -507,9 +452,7 @@ import*as React from'react';import {useTranslation}from'react-i18next';import {S
|
|
|
507
452
|
})), React.createElement("div", {
|
|
508
453
|
className: "flex items-center mb-2"
|
|
509
454
|
}, React.createElement("p", {
|
|
510
|
-
|
|
511
|
-
color: navTheme === 'dark' ? '#ffff' : 'black'
|
|
512
|
-
}
|
|
455
|
+
className: "text-sm text-foreground"
|
|
513
456
|
}, t('menu_header')), React.createElement("div", {
|
|
514
457
|
className: "flex-grow"
|
|
515
458
|
}), React.createElement(Switch, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegionalSettings.js","sources":["../../../../src/components/SettingDrawer/components/RegionalSettings.tsx"],"sourcesContent":[null],"names":[],"mappings":"uaASM,SAAU,gBAAgB,CAAC,KAA6B,EAAA;QAC1D;AACA,IAAA;
|
|
1
|
+
{"version":3,"file":"RegionalSettings.js","sources":["../../../../src/components/SettingDrawer/components/RegionalSettings.tsx"],"sourcesContent":[null],"names":[],"mappings":"uaASM,SAAU,gBAAgB,CAAC,KAA6B,EAAA;QAC1D;AACA,IAAA;MACA,cAAM,CAAA,UAAe,CAAA;AACrB,EAAA,MAAA;AACA,IAAA,QAAO;AACP,IAAA,aAAO;AACP,IAAA,QAAO;AACP,IAAA,YAAQ;IACR,gBAAM,GAAA;MACN,KAAM;QAEN,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AAA,CAAA,MAAA,CAAA,KAAA,CAAA;eACI,EAAA;AACI,KAAA,CAAA,EAAA,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;;AAYQ,KAAA,EAAA,CAAA,UAAA,EAAA,KAAA,IAAA,UAAA,EAAA,qCAA4B,CAAA,KAAA,EAAA;;AAOxC,KAAA,EAAA,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;qBAKI,EAAA,cAAA;oCACI;AAEI,MAAA,SAAA,EAAA,0BAAA;;+BAII;icAMd;;;;;QAUN,oBAAA,GAAA,MAAK;gBACD,CAAA,aAAA,CAAA,KAAA,EAAA;eACA,EAAA;YACA,CAAA,aAAA,CAAA,KAAC,EAAA;eAKL,EAAA;YACI,CAAA,aAAA,CAAA,GAAA,EAAA;eACA,EAAA;AACA,KAAA,EAAA,CAAA,CAAA,aAAA,CAAA,CAAA,EAAA,KAAA,CAAC,aACG,CAAA,KAAO,EAAA;AAM3B,MAAC,SAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsActions.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/SettingsActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,oBAAoB;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;
|
|
1
|
+
{"version":3,"file":"SettingsActions.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/SettingsActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,oBAAoB;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAOD,wBAAgB,eAAe,CAAC,EAC5B,UAAU,EACV,MAAM,EACN,cAAc,EACd,MAAM,EACN,SAAS,EACT,cAAc,EACd,OAAO,GACV,EAAE,oBAAoB,qBAwCtB"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import React__default from'react';import clsx from'clsx';import {icons}from'../../../icons.js';
|
|
1
|
+
import React__default from'react';import clsx from'clsx';import {icons}from'../../../icons.js';const BASE_BUTTON = 'inline-flex w-full items-center justify-center gap-2 rounded-md px-3 py-2 text-sm font-medium transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2';
|
|
2
|
+
const OUTLINE_BUTTON = 'border border-border bg-background text-foreground hover:bg-muted';
|
|
3
|
+
function SettingsActions({
|
|
2
4
|
hasChanges,
|
|
3
5
|
copied,
|
|
4
6
|
copiedModified,
|
|
@@ -12,31 +14,31 @@ import React__default from'react';import clsx from'clsx';import {icons}from'../.
|
|
|
12
14
|
CheckIcon
|
|
13
15
|
} = icons;
|
|
14
16
|
return React__default.createElement("div", {
|
|
15
|
-
className: "
|
|
17
|
+
className: "mt-8 rounded-lg border border-dashed border-border p-4"
|
|
16
18
|
}, React__default.createElement("p", {
|
|
17
|
-
className: "
|
|
18
|
-
}, "
|
|
19
|
-
className: "
|
|
19
|
+
className: "mb-3 text-xs text-muted-foreground"
|
|
20
|
+
}, "Shown in development only \u2014 settings must be applied manually."), React__default.createElement("div", {
|
|
21
|
+
className: "space-y-2"
|
|
20
22
|
}, React__default.createElement("button", {
|
|
21
23
|
disabled: !hasChanges,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}, copied ? React__default.createElement(
|
|
28
|
-
className: "
|
|
29
|
-
})
|
|
30
|
-
className: "
|
|
31
|
-
}), React__default.createElement("span", null,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}, copiedModified ? React__default.createElement(
|
|
35
|
-
className: "
|
|
36
|
-
})
|
|
37
|
-
className: "
|
|
38
|
-
}), React__default.createElement("span", null,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
},
|
|
24
|
+
onClick: onSave,
|
|
25
|
+
className: clsx(BASE_BUTTON, 'bg-primary text-primary-foreground hover:opacity-90', 'disabled:cursor-not-allowed disabled:bg-muted disabled:text-muted-foreground disabled:hover:opacity-100')
|
|
26
|
+
}, hasChanges ? 'Save Settings' : 'No Changes'), React__default.createElement("button", {
|
|
27
|
+
onClick: onCopyAll,
|
|
28
|
+
className: clsx(BASE_BUTTON, OUTLINE_BUTTON, copied && 'bg-muted')
|
|
29
|
+
}, copied ? React__default.createElement(CheckIcon, {
|
|
30
|
+
className: "h-4 w-4"
|
|
31
|
+
}) : React__default.createElement(CopyIcon, {
|
|
32
|
+
className: "h-4 w-4"
|
|
33
|
+
}), React__default.createElement("span", null, copied ? 'Copied' : 'Copy All')), React__default.createElement("button", {
|
|
34
|
+
onClick: onCopyModified,
|
|
35
|
+
className: clsx(BASE_BUTTON, OUTLINE_BUTTON, copiedModified && 'bg-muted')
|
|
36
|
+
}, copiedModified ? React__default.createElement(CheckIcon, {
|
|
37
|
+
className: "h-4 w-4"
|
|
38
|
+
}) : React__default.createElement(CopyIcon, {
|
|
39
|
+
className: "h-4 w-4"
|
|
40
|
+
}), React__default.createElement("span", null, copiedModified ? 'Copied' : 'Copy Modified')), React__default.createElement("button", {
|
|
41
|
+
onClick: onReset,
|
|
42
|
+
className: clsx(BASE_BUTTON, 'text-destructive hover:bg-muted')
|
|
43
|
+
}, "Reset All")));
|
|
42
44
|
}export{SettingsActions};//# sourceMappingURL=SettingsActions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsActions.js","sources":["../../../../src/components/SettingDrawer/components/SettingsActions.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"SettingsActions.js","sources":["../../../../src/components/SettingDrawer/components/SettingsActions.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"+FAcA,MAAM,WAAW,GACb,6MAA6M;AAEjN,MAAM,cAAc,GAAG,mEAAmE;SAE1E,eAAe,CAAC;AAS5B,EAAA,UAAQ;AAER,EAAA,MAAA;gBAEQ;QAGA;AACI,EAAA,SAAA;AAYA,EAAA,cAAA;AACK,EAAA;;AAIL,EAAA,MAAA;AAIK,IAAA,QAAA;;AAIL,GAAA,GAAA,KAAA;AAMhB,EAAC,OAAAA,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsDrawerHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/SettingsDrawerHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,wBAAgB,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"SettingsDrawerHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/SettingsDrawerHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,wBAAgB,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,qBAiBxE"}
|
|
@@ -10,13 +10,14 @@ import React__default from'react';import {useTranslation}from'react-i18next';imp
|
|
|
10
10
|
return React__default.createElement("div", {
|
|
11
11
|
className: "flex flex-row items-center"
|
|
12
12
|
}, React__default.createElement("p", {
|
|
13
|
-
className: "
|
|
13
|
+
className: "mb-0 text-lg font-semibold text-foreground"
|
|
14
14
|
}, t('setting')), React__default.createElement("div", {
|
|
15
15
|
className: "flex-grow"
|
|
16
16
|
}), React__default.createElement("button", {
|
|
17
17
|
onClick: onClose,
|
|
18
|
-
|
|
18
|
+
"aria-label": t('setting'),
|
|
19
|
+
className: "flex h-9 w-9 cursor-pointer items-center justify-center rounded-lg border-none bg-transparent text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
|
|
19
20
|
}, React__default.createElement(CloseIcon, {
|
|
20
|
-
fontSize: '
|
|
21
|
+
fontSize: '22px'
|
|
21
22
|
})));
|
|
22
23
|
}export{SettingsDrawerHeader};//# sourceMappingURL=SettingsDrawerHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsDrawerHeader.js","sources":["../../../../src/components/SettingDrawer/components/SettingsDrawerHeader.tsx"],"sourcesContent":[null],"names":[],"mappings":"mHAIM,SAAU,oBAAoB,CAAC;;AAEjC,CAAA,EAAA;AAEA,EAAA,MAAA;;oBAGQ,CAAA,UAAA,CAAA;
|
|
1
|
+
{"version":3,"file":"SettingsDrawerHeader.js","sources":["../../../../src/components/SettingDrawer/components/SettingsDrawerHeader.tsx"],"sourcesContent":[null],"names":[],"mappings":"mHAIM,SAAU,oBAAoB,CAAC;;AAEjC,CAAA,EAAA;AAEA,EAAA,MAAA;;oBAGQ,CAAA,UAAA,CAAA;QACA;;AASZ,GAAC,GAAA,KAAA;;;;;;;;;;;;;;"}
|
|
@@ -10,11 +10,11 @@ import*as React from'react';function Switch({
|
|
|
10
10
|
type: "button",
|
|
11
11
|
role: "switch",
|
|
12
12
|
"aria-checked": value,
|
|
13
|
-
className: `relative inline-flex h-6 w-11 items-center rounded-full transition-colors focus:outline-none focus:ring-2 focus:ring-
|
|
13
|
+
className: `relative inline-flex h-6 w-11 shrink-0 items-center rounded-full transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ${value ? 'bg-primary' : 'bg-gray-300 dark:bg-gray-600'} ${className}`,
|
|
14
14
|
onClick: handleClick
|
|
15
15
|
}, React.createElement("span", {
|
|
16
16
|
className: "sr-only"
|
|
17
17
|
}, "Toggle switch"), React.createElement("span", {
|
|
18
|
-
className: `inline-block h-4 w-4 transform rounded-full bg-
|
|
18
|
+
className: `inline-block h-4 w-4 transform rounded-full bg-background shadow transition-transform ${value ? 'translate-x-6' : 'translate-x-1'}`
|
|
19
19
|
}));
|
|
20
20
|
}export{Switch};//# sourceMappingURL=Switch.js.map
|
|
@@ -8,7 +8,7 @@ import*as React from'react';function ThemeSelector({
|
|
|
8
8
|
}, React.createElement("select", {
|
|
9
9
|
value: value,
|
|
10
10
|
onChange: e => onChange(e.target.value),
|
|
11
|
-
className: "w-full rounded-md border border-
|
|
11
|
+
className: "w-full rounded-md border border-input bg-background py-2 pl-3 pr-10 text-left text-foreground shadow-sm transition-colors focus:border-ring focus:outline-none focus:ring-1 focus:ring-ring"
|
|
12
12
|
}, options.map(option => React.createElement("option", {
|
|
13
13
|
key: option.key,
|
|
14
14
|
value: option.key
|
|
@@ -8,7 +8,7 @@ import*as React from'react';const WebFontsSelector = ({
|
|
|
8
8
|
}, React.createElement("select", {
|
|
9
9
|
value: value,
|
|
10
10
|
onChange: e => onChange(e.target.value),
|
|
11
|
-
className: "w-full rounded-md border border-
|
|
11
|
+
className: "w-full rounded-md border border-input bg-background py-2 pl-3 pr-10 text-left text-foreground shadow-sm transition-colors focus:border-ring focus:outline-none focus:ring-1 focus:ring-ring",
|
|
12
12
|
style: {
|
|
13
13
|
fontFamily: value
|
|
14
14
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@admin-layout/tailwind-design-pro",
|
|
3
|
-
"version": "12.2.4-alpha.
|
|
3
|
+
"version": "12.2.4-alpha.92",
|
|
4
4
|
"description": "Sample core for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "5e14195d953a1d35cedccfd9d2a2a267f43ce4bf",
|
|
56
56
|
"typescript": {
|
|
57
57
|
"definition": "lib/index.d.ts"
|
|
58
58
|
}
|