@admin-layout/tailwind-design-pro 12.0.16-alpha.92 → 12.2.1-alpha.0
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 +40 -0
- package/lib/components/LanguageMenu/LanguageMenu.d.ts +2 -1
- package/lib/components/LanguageMenu/LanguageMenu.d.ts.map +1 -1
- package/lib/components/LanguageMenu/LanguageMenu.js +25 -32
- package/lib/components/LanguageMenu/LanguageMenu.js.map +1 -1
- package/lib/components/Layout/BasicLayout/index.d.ts +1 -1
- package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -1
- package/lib/components/Layout/BasicLayout/index.js +96 -103
- package/lib/components/Layout/BasicLayout/index.js.map +1 -1
- package/lib/components/Layout/BasicLayout/utils.d.ts +2 -2
- package/lib/components/Layout/BasicLayout/utils.d.ts.map +1 -1
- package/lib/components/Layout/BasicLayout/utils.js +69 -88
- package/lib/components/Layout/BasicLayout/utils.js.map +1 -1
- package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js +25 -30
- package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js.map +1 -1
- package/lib/components/Layout/GlobalFooter/Copyright.d.ts +2 -1
- package/lib/components/Layout/GlobalFooter/Copyright.d.ts.map +1 -1
- package/lib/components/Layout/GlobalFooter/Footer.d.ts +2 -1
- package/lib/components/Layout/GlobalFooter/Footer.d.ts.map +1 -1
- package/lib/components/Layout/GlobalHeader/Header.js +32 -43
- package/lib/components/Layout/GlobalHeader/Header.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/MainHeader.js +71 -81
- package/lib/components/Layout/GlobalHeader/MainHeader.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js +26 -30
- package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/RightContent.js +25 -29
- package/lib/components/Layout/GlobalHeader/RightContent.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/RightMenu.js +112 -136
- package/lib/components/Layout/GlobalHeader/RightMenu.js.map +1 -1
- package/lib/components/Layout/GlobalHeader/SearchBar.js +36 -45
- package/lib/components/Layout/GlobalHeader/SearchBar.js.map +1 -1
- package/lib/components/Layout/ProTailwindLayout.js +1 -2
- package/lib/components/Layout/ProTailwindLayout.js.map +1 -1
- package/lib/components/Layout/Sidebar/BottomMenu.js +148 -184
- package/lib/components/Layout/Sidebar/BottomMenu.js.map +1 -1
- package/lib/components/Layout/Sidebar/Divider.d.ts +2 -1
- package/lib/components/Layout/Sidebar/Divider.d.ts.map +1 -1
- package/lib/components/Layout/Sidebar/Divider.js +26 -28
- package/lib/components/Layout/Sidebar/Divider.js.map +1 -1
- package/lib/components/Layout/Sidebar/DynamicIcon.d.ts +1 -1
- package/lib/components/Layout/Sidebar/DynamicIcon.d.ts.map +1 -1
- package/lib/components/Layout/Sidebar/DynamicIcon.js +10 -11
- package/lib/components/Layout/Sidebar/DynamicIcon.js.map +1 -1
- package/lib/components/Layout/Sidebar/MainSidebar.js +75 -97
- package/lib/components/Layout/Sidebar/MainSidebar.js.map +1 -1
- package/lib/components/Layout/Sidebar/MainSidebarMenu.d.ts +1 -1
- package/lib/components/Layout/Sidebar/MainSidebarMenu.d.ts.map +1 -1
- package/lib/components/Layout/Sidebar/MainSidebarMenu.js +113 -129
- package/lib/components/Layout/Sidebar/MainSidebarMenu.js.map +1 -1
- package/lib/components/Layout/Sidebar/PerplexSidebar.js +108 -133
- package/lib/components/Layout/Sidebar/PerplexSidebar.js.map +1 -1
- package/lib/components/Layout/Sidebar/PerplexSidebarMenu.js +71 -85
- package/lib/components/Layout/Sidebar/PerplexSidebarMenu.js.map +1 -1
- package/lib/components/Layout/TailwindLayout.d.ts.map +1 -1
- package/lib/components/Layout/TailwindLayout.js +13 -19
- package/lib/components/Layout/TailwindLayout.js.map +1 -1
- package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts +3 -2
- package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts.map +1 -1
- package/lib/components/Layout/slot-fill/AdditionalSettings.js +2 -2
- package/lib/components/Layout/slot-fill/AdditionalSettings.js.map +1 -1
- package/lib/components/Layout/slot-fill/Footer.d.ts +3 -2
- package/lib/components/Layout/slot-fill/Footer.d.ts.map +1 -1
- package/lib/components/Layout/slot-fill/Footer.js +2 -2
- package/lib/components/Layout/slot-fill/Footer.js.map +1 -1
- package/lib/components/Layout/slot-fill/HeaderNotice.d.ts +3 -2
- package/lib/components/Layout/slot-fill/HeaderNotice.d.ts.map +1 -1
- package/lib/components/Layout/slot-fill/HeaderNotice.js +2 -2
- package/lib/components/Layout/slot-fill/HeaderNotice.js.map +1 -1
- package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts +2 -1
- package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts.map +1 -1
- package/lib/components/Layout/slot-fill/HeaderSearchBar.js +2 -2
- package/lib/components/Layout/slot-fill/HeaderSearchBar.js.map +1 -1
- package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts +2 -1
- package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts.map +1 -1
- package/lib/components/Layout/slot-fill/HeaderSearchButton.js +2 -2
- package/lib/components/Layout/slot-fill/HeaderSearchButton.js.map +1 -1
- package/lib/components/Layout/slot-fill/Logo.d.ts +3 -2
- package/lib/components/Layout/slot-fill/Logo.d.ts.map +1 -1
- package/lib/components/Layout/slot-fill/Logo.js +2 -2
- package/lib/components/Layout/slot-fill/Logo.js.map +1 -1
- package/lib/components/Layout/slot-fill/RightContent.d.ts +2 -1
- package/lib/components/Layout/slot-fill/RightContent.d.ts.map +1 -1
- package/lib/components/Layout/slot-fill/RightContent.js +2 -2
- package/lib/components/Layout/slot-fill/RightContent.js.map +1 -1
- package/lib/components/Layout/slot-fill/SideMenuLogo.d.ts +3 -2
- package/lib/components/Layout/slot-fill/SideMenuLogo.d.ts.map +1 -1
- package/lib/components/Layout/slot-fill/SideMenuLogo.js +2 -2
- package/lib/components/Layout/slot-fill/SideMenuLogo.js.map +1 -1
- package/lib/components/SettingDrawer/SettingDrawer.d.ts +2 -1
- package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
- package/lib/components/SettingDrawer/SettingDrawer.js +117 -144
- package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -1
- package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.d.ts +2 -1
- package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.js +17 -23
- package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.js.map +1 -1
- package/lib/components/SettingDrawer/components/CheckBoxTheme.d.ts +2 -1
- package/lib/components/SettingDrawer/components/CheckBoxTheme.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/CheckBoxTheme.js +85 -97
- package/lib/components/SettingDrawer/components/CheckBoxTheme.js.map +1 -1
- package/lib/components/SettingDrawer/components/DeviceTabs.d.ts +2 -1
- package/lib/components/SettingDrawer/components/DeviceTabs.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/DeviceTabs.js +67 -75
- package/lib/components/SettingDrawer/components/DeviceTabs.js.map +1 -1
- package/lib/components/SettingDrawer/components/InvitationSettings.d.ts +2 -1
- package/lib/components/SettingDrawer/components/InvitationSettings.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/InvitationSettings.js +41 -52
- package/lib/components/SettingDrawer/components/InvitationSettings.js.map +1 -1
- package/lib/components/SettingDrawer/components/LayoutChange.d.ts +2 -1
- package/lib/components/SettingDrawer/components/LayoutChange.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/LayoutChange.js +75 -94
- package/lib/components/SettingDrawer/components/LayoutChange.js.map +1 -1
- package/lib/components/SettingDrawer/components/MenuVisibilitySettings.d.ts +2 -1
- package/lib/components/SettingDrawer/components/MenuVisibilitySettings.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/MenuVisibilitySettings.js +50 -63
- package/lib/components/SettingDrawer/components/MenuVisibilitySettings.js.map +1 -1
- package/lib/components/SettingDrawer/components/NavigationsModes.d.ts +2 -1
- package/lib/components/SettingDrawer/components/NavigationsModes.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/NavigationsModes.js +272 -290
- package/lib/components/SettingDrawer/components/NavigationsModes.js.map +1 -1
- package/lib/components/SettingDrawer/components/RegionalSettings.d.ts +2 -1
- package/lib/components/SettingDrawer/components/RegionalSettings.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/RegionalSettings.js +437 -535
- package/lib/components/SettingDrawer/components/RegionalSettings.js.map +1 -1
- package/lib/components/SettingDrawer/components/SettingsActions.d.ts +2 -1
- package/lib/components/SettingDrawer/components/SettingsActions.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/SettingsActions.js +29 -56
- package/lib/components/SettingDrawer/components/SettingsActions.js.map +1 -1
- package/lib/components/SettingDrawer/components/SettingsDrawerHeader.d.ts +2 -1
- package/lib/components/SettingDrawer/components/SettingsDrawerHeader.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/SettingsDrawerHeader.js +13 -16
- package/lib/components/SettingDrawer/components/SettingsDrawerHeader.js.map +1 -1
- package/lib/components/SettingDrawer/components/Switch.d.ts +2 -1
- package/lib/components/SettingDrawer/components/Switch.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/Switch.js +8 -10
- package/lib/components/SettingDrawer/components/Switch.js.map +1 -1
- package/lib/components/SettingDrawer/components/ThemeColor.d.ts +2 -1
- package/lib/components/SettingDrawer/components/ThemeColor.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/ThemeColor.js +24 -26
- package/lib/components/SettingDrawer/components/ThemeColor.js.map +1 -1
- package/lib/components/SettingDrawer/components/ThemeSelector.d.ts +2 -1
- package/lib/components/SettingDrawer/components/ThemeSelector.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/ThemeSelector.js +11 -13
- package/lib/components/SettingDrawer/components/ThemeSelector.js.map +1 -1
- package/lib/components/SettingDrawer/components/WebFontsSelector.d.ts +1 -0
- package/lib/components/SettingDrawer/components/WebFontsSelector.d.ts.map +1 -1
- package/lib/components/SettingDrawer/components/WebFontsSelector.js +17 -19
- package/lib/components/SettingDrawer/components/WebFontsSelector.js.map +1 -1
- package/lib/components/SettingDrawer/hooks/useSettingsOperations.d.ts.map +1 -1
- package/lib/components/SettingDrawer/hooks/useSettingsOperations.js +0 -4
- package/lib/components/SettingDrawer/hooks/useSettingsOperations.js.map +1 -1
- package/lib/components/SettingDrawer/utils/transformers.d.ts.map +1 -1
- package/lib/components/SettingDrawer/utils/transformers.js +0 -3
- package/lib/components/SettingDrawer/utils/transformers.js.map +1 -1
- package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts +3 -3
- package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts.map +1 -1
- package/lib/helpers/DynamicIcon.d.ts +1 -1
- package/lib/helpers/DynamicIcon.d.ts.map +1 -1
- package/lib/helpers/DynamicIcon.js +16 -17
- package/lib/helpers/DynamicIcon.js.map +1 -1
- package/lib/machines/settingsMachine.d.ts.map +1 -1
- package/lib/machines/settingsMachine.js +0 -6
- package/lib/machines/settingsMachine.js.map +1 -1
- package/lib/utils/__tests__/analytics-utils.test.d.ts +2 -0
- package/lib/utils/__tests__/analytics-utils.test.d.ts.map +1 -0
- package/lib/utils/__tests__/menu.test.d.ts +2 -0
- package/lib/utils/__tests__/menu.test.d.ts.map +1 -0
- package/lib/utils/__tests__/selectors.test.d.ts +2 -0
- package/lib/utils/__tests__/selectors.test.d.ts.map +1 -0
- package/lib/utils/__tests__/settingsMachine.test.d.ts.map +1 -0
- package/lib/utils/__tests__/settingsUtils.test.d.ts +2 -0
- package/lib/utils/__tests__/settingsUtils.test.d.ts.map +1 -0
- package/package.json +6 -6
- package/lib/machines/settingsMachine.test.d.ts.map +0 -1
- /package/lib/{machines → utils/__tests__}/settingsMachine.test.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import*as React from'react';import {Slot}from'@common-stack/components-pro';const ADDITIONAL_SETTINGS_SLOT_FILL_NAME = 'additional_settings_slot_fill';
|
|
2
2
|
const AdditionalSettingsSlot = props => {
|
|
3
|
-
return
|
|
3
|
+
return React.createElement(Slot, {
|
|
4
4
|
name: ADDITIONAL_SETTINGS_SLOT_FILL_NAME,
|
|
5
5
|
fillProps: props
|
|
6
6
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdditionalSettings.js","sources":["../../../../src/components/Layout/slot-fill/AdditionalSettings.tsx"],"sourcesContent":[null],"names":[
|
|
1
|
+
{"version":3,"file":"AdditionalSettings.js","sources":["../../../../src/components/Layout/slot-fill/AdditionalSettings.tsx"],"sourcesContent":[null],"names":[],"mappings":"4EAGO,MAAM,kCAAkC,GAAG;AAE3C,MAAM,sBAAsB,GAAG,KAAC,IAAO;SAC1C,KAAO,CAAA,aAAA,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,kCAAA;AAEF,IAAA,SAAa,EAAA;IACT;AACJ"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export declare const FOOTER_SLOT_FILL_NAME = "footer-fill";
|
|
2
|
-
export declare const FooterSlot: (props: any) =>
|
|
3
|
-
export declare const FooterCard: (props: any) =>
|
|
3
|
+
export declare const FooterSlot: (props: any) => React.JSX.Element;
|
|
4
|
+
export declare const FooterCard: (props: any) => React.JSX.Element;
|
|
4
5
|
//# sourceMappingURL=Footer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/Footer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,qBAAqB,gBAAgB,CAAC;AAEnD,eAAO,MAAM,UAAU,GAAI,UAAK,sBAE/B,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,UAAK,sBAE/B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import*as React from'react';import {Slot}from'@common-stack/components-pro';const FOOTER_SLOT_FILL_NAME = 'footer-fill';
|
|
2
2
|
const FooterSlot = props => {
|
|
3
|
-
return
|
|
3
|
+
return React.createElement(Slot, {
|
|
4
4
|
name: FOOTER_SLOT_FILL_NAME,
|
|
5
5
|
fillProps: props
|
|
6
6
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sources":["../../../../src/components/Layout/slot-fill/Footer.tsx"],"sourcesContent":[null],"names":[
|
|
1
|
+
{"version":3,"file":"Footer.js","sources":["../../../../src/components/Layout/slot-fill/Footer.tsx"],"sourcesContent":[null],"names":[],"mappings":"4EAGO,MAAM,qBAAqB,GAAG;AAE9B,MAAM,UAAU,GAAG,KAAC,IAAO;SAC9B,KAAO,CAAA,aAAA,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,qBAAA;AAEF,IAAA,SAAa,EAAA;IACT;AACJ"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export declare const HEADER_NOTICE_SLOT_FILL_NAME = "header-notice-slot-fill";
|
|
2
|
-
export declare const HeaderNoticeSlot: (props: any) =>
|
|
3
|
-
export declare const HeaderNoticeCard: (props: any) =>
|
|
3
|
+
export declare const HeaderNoticeSlot: (props: any) => React.JSX.Element;
|
|
4
|
+
export declare const HeaderNoticeCard: (props: any) => React.JSX.Element;
|
|
4
5
|
//# sourceMappingURL=HeaderNotice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderNotice.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/HeaderNotice.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HeaderNotice.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/HeaderNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,4BAA4B,4BAA4B,CAAC;AAEtE,eAAO,MAAM,gBAAgB,GAAI,UAAK,sBAErC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,UAAK,sBAErC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import*as React from'react';import {Slot}from'@common-stack/components-pro';const HEADER_NOTICE_SLOT_FILL_NAME = 'header-notice-slot-fill';
|
|
2
2
|
const HeaderNoticeSlot = props => {
|
|
3
|
-
return
|
|
3
|
+
return React.createElement(Slot, {
|
|
4
4
|
name: HEADER_NOTICE_SLOT_FILL_NAME,
|
|
5
5
|
fillProps: props
|
|
6
6
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderNotice.js","sources":["../../../../src/components/Layout/slot-fill/HeaderNotice.tsx"],"sourcesContent":[null],"names":[
|
|
1
|
+
{"version":3,"file":"HeaderNotice.js","sources":["../../../../src/components/Layout/slot-fill/HeaderNotice.tsx"],"sourcesContent":[null],"names":[],"mappings":"4EAGO,MAAM,4BAA4B,GAAG;AAErC,MAAM,gBAAgB,GAAG,KAAC,IAAO;SACpC,KAAO,CAAA,aAAA,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,4BAAA;AAEF,IAAA,SAAa,EAAA;IACT;AACJ"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import 'reflect-metadata';
|
|
2
|
-
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export declare const HeaderSearchBarSlot: (props: any) => React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=HeaderSearchBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSearchBar.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/HeaderSearchBar.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderSearchBar.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/HeaderSearchBar.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,mBAAmB,GAAI,UAAK,sBAExC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
return
|
|
1
|
+
import'reflect-metadata';import {Slot}from'@common-stack/components-pro';import*as React from'react';import {HEADER_SEARCHBAR_FILL}from'@admin-layout/client/lib/constants/layout.js';const HeaderSearchBarSlot = props => {
|
|
2
|
+
return React.createElement(Slot, {
|
|
3
3
|
name: HEADER_SEARCHBAR_FILL,
|
|
4
4
|
fillProps: props
|
|
5
5
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSearchBar.js","sources":["../../../../src/components/Layout/slot-fill/HeaderSearchBar.tsx"],"sourcesContent":[null],"names":[
|
|
1
|
+
{"version":3,"file":"HeaderSearchBar.js","sources":["../../../../src/components/Layout/slot-fill/HeaderSearchBar.tsx"],"sourcesContent":[null],"names":[],"mappings":"sLAKO,MAAM,mBAAmB,GAAG,KAAC,IAAO;SACvC,KAAO,CAAA,aAAA,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,qBAAA;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import 'reflect-metadata';
|
|
2
|
-
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export declare const HeaderSearchButtonSlot: (props: any) => React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=HeaderSearchButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSearchButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/HeaderSearchButton.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderSearchButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/HeaderSearchButton.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,sBAAsB,GAAI,UAAK,sBAE3C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
return
|
|
1
|
+
import'reflect-metadata';import*as React from'react';import {Slot}from'@common-stack/components-pro';import {HEADER_SEARCH_BUTTON_FILL}from'@admin-layout/client/lib/constants/layout.js';const HeaderSearchButtonSlot = props => {
|
|
2
|
+
return React.createElement(Slot, {
|
|
3
3
|
name: HEADER_SEARCH_BUTTON_FILL,
|
|
4
4
|
fillProps: props
|
|
5
5
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSearchButton.js","sources":["../../../../src/components/Layout/slot-fill/HeaderSearchButton.tsx"],"sourcesContent":[null],"names":[
|
|
1
|
+
{"version":3,"file":"HeaderSearchButton.js","sources":["../../../../src/components/Layout/slot-fill/HeaderSearchButton.tsx"],"sourcesContent":[null],"names":[],"mappings":"0LAKO,MAAM,sBAAsB,GAAG,KAAC,IAAO;SAC1C,KAAO,CAAA,aAAA,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,yBAAA;;;"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export declare const LOGO_SLOT_FILL_NAME = "logo-fill";
|
|
2
|
-
export declare const LogoSlot: (props: any) =>
|
|
3
|
-
export declare const LogoCard: (props: any) =>
|
|
3
|
+
export declare const LogoSlot: (props: any) => React.JSX.Element;
|
|
4
|
+
export declare const LogoCard: (props: any) => React.JSX.Element;
|
|
4
5
|
//# sourceMappingURL=Logo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/Logo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/Logo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAE/C,eAAO,MAAM,QAAQ,GAAI,UAAK,sBAE7B,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,UAAK,sBAE7B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import*as React from'react';import {Slot}from'@common-stack/components-pro';const LOGO_SLOT_FILL_NAME = 'logo-fill';
|
|
2
2
|
const LogoSlot = props => {
|
|
3
|
-
return
|
|
3
|
+
return React.createElement(Slot, {
|
|
4
4
|
name: LOGO_SLOT_FILL_NAME,
|
|
5
5
|
fillProps: props
|
|
6
6
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.js","sources":["../../../../src/components/Layout/slot-fill/Logo.tsx"],"sourcesContent":[null],"names":[
|
|
1
|
+
{"version":3,"file":"Logo.js","sources":["../../../../src/components/Layout/slot-fill/Logo.tsx"],"sourcesContent":[null],"names":[],"mappings":"4EAGO,MAAM,mBAAmB,GAAG;AAE5B,MAAM,QAAQ,GAAG,KAAC,IAAO;SAC5B,KAAO,CAAA,aAAA,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,mBAAA;AAEF,IAAA,SAAa,EAAA;IACT;AACJ"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import 'reflect-metadata';
|
|
2
|
-
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export declare const RightContentSlot: (props: any) => React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=RightContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RightContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/RightContent.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"RightContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/RightContent.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,gBAAgB,GAAI,UAAK,sBAErC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
return
|
|
1
|
+
import'reflect-metadata';import {Slot}from'@common-stack/components-pro';import*as React from'react';import {RIGHT_CONTENT_FILL}from'@admin-layout/client/lib/constants/layout.js';const RightContentSlot = props => {
|
|
2
|
+
return React.createElement(Slot, {
|
|
3
3
|
name: RIGHT_CONTENT_FILL,
|
|
4
4
|
fillProps: props
|
|
5
5
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RightContent.js","sources":["../../../../src/components/Layout/slot-fill/RightContent.tsx"],"sourcesContent":[null],"names":[
|
|
1
|
+
{"version":3,"file":"RightContent.js","sources":["../../../../src/components/Layout/slot-fill/RightContent.tsx"],"sourcesContent":[null],"names":[],"mappings":"mLAKO,MAAM,gBAAgB,GAAG,KAAC,IAAO;SACpC,KAAO,CAAA,aAAA,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,kBAAA;;;"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export declare const SIDE_MENU_LOGO_SLOT_FILL_NAME = "side-menu-logo-fill";
|
|
2
|
-
export declare const SideMenuLogoSlot: (props: any) =>
|
|
3
|
-
export declare const SideMenuLogoCard: (props: any) =>
|
|
3
|
+
export declare const SideMenuLogoSlot: (props: any) => React.JSX.Element;
|
|
4
|
+
export declare const SideMenuLogoCard: (props: any) => React.JSX.Element;
|
|
4
5
|
//# sourceMappingURL=SideMenuLogo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideMenuLogo.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/SideMenuLogo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SideMenuLogo.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/slot-fill/SideMenuLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,6BAA6B,wBAAwB,CAAC;AAEnE,eAAO,MAAM,gBAAgB,GAAI,UAAK,sBAErC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,UAAK,sBAErC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import*as React from'react';import {Slot}from'@common-stack/components-pro';const SIDE_MENU_LOGO_SLOT_FILL_NAME = 'side-menu-logo-fill';
|
|
2
2
|
const SideMenuLogoSlot = props => {
|
|
3
|
-
return
|
|
3
|
+
return React.createElement(Slot, {
|
|
4
4
|
name: SIDE_MENU_LOGO_SLOT_FILL_NAME,
|
|
5
5
|
fillProps: props
|
|
6
6
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideMenuLogo.js","sources":["../../../../src/components/Layout/slot-fill/SideMenuLogo.tsx"],"sourcesContent":[null],"names":[
|
|
1
|
+
{"version":3,"file":"SideMenuLogo.js","sources":["../../../../src/components/Layout/slot-fill/SideMenuLogo.tsx"],"sourcesContent":[null],"names":[],"mappings":"4EAGO,MAAM,6BAA6B,GAAG;AAEtC,MAAM,gBAAgB,GAAG,KAAC,IAAO;SACpC,KAAO,CAAA,aAAA,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,6BAAA;AAEF,IAAA,SAAa,EAAA;IACT;AACJ"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { SettingDrawerProps } from './utils/types';
|
|
2
|
-
export declare function SettingDrawer(props: SettingDrawerProps):
|
|
3
|
+
export declare function SettingDrawer(props: SettingDrawerProps): React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=SettingDrawer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/SettingDrawer/SettingDrawer.tsx"],"names":[],"mappings":"
|
|
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,qBAgRtD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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) {
|
|
2
2
|
const {
|
|
3
3
|
actor,
|
|
4
4
|
colorList,
|
|
@@ -70,10 +70,6 @@ import {jsx,Fragment,jsxs}from'react/jsx-runtime';import {useSelector}from'@xsta
|
|
|
70
70
|
function handleSettingChange(key, value) {
|
|
71
71
|
const isGlobalSetting = key === 'hiddenMenuKeys' || key === 'hiddenMenuCategories' || key === 'applyToAllRoutes' || key === 'fixedHeader' || key === 'fixedSidebar' || key === 'splitMenus' || key === 'upperMenuDividerName' || key === 'middleMenuDividerName' || key === 'lowerMenuDividerName';
|
|
72
72
|
if (isGlobalSetting) {
|
|
73
|
-
console.log('🌐 Sending GLOBAL setting to actor:', {
|
|
74
|
-
key,
|
|
75
|
-
value
|
|
76
|
-
});
|
|
77
73
|
actor.send({
|
|
78
74
|
type: 'UISETTING_UPDATE',
|
|
79
75
|
value: {
|
|
@@ -87,7 +83,6 @@ import {jsx,Fragment,jsxs}from'react/jsx-runtime';import {useSelector}from'@xsta
|
|
|
87
83
|
const nestedValue = {
|
|
88
84
|
[bracketKey]: settingObject
|
|
89
85
|
};
|
|
90
|
-
console.log('0️⃣ handleSettingChange called: ', nestedValue);
|
|
91
86
|
actor.send({
|
|
92
87
|
type: 'UISETTING_UPDATE',
|
|
93
88
|
value: nestedValue
|
|
@@ -99,142 +94,120 @@ import {jsx,Fragment,jsxs}from'react/jsx-runtime';import {useSelector}from'@xsta
|
|
|
99
94
|
function getFontFamilyValue() {
|
|
100
95
|
return getSettingValue(settingState, 'fontFamily', applyToAllRoutes, currentRoute, deviceType, 'Poppins, sans-serif');
|
|
101
96
|
}
|
|
102
|
-
return
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
location: location,
|
|
219
|
-
routePattern: routePattern
|
|
220
|
-
})
|
|
221
|
-
}), jsx("div", {
|
|
222
|
-
className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]",
|
|
223
|
-
children: jsx(AdditionalSettingsSlot, {
|
|
224
|
-
settings: settingsForComponents,
|
|
225
|
-
onSettingsChange: handleSettingChange,
|
|
226
|
-
pathname: currentPathname
|
|
227
|
-
})
|
|
228
|
-
}), jsx(SettingsActions, {
|
|
229
|
-
hasChanges: changedSettings && Object.keys(changedSettings).length > 0,
|
|
230
|
-
copied: copied,
|
|
231
|
-
copiedModified: copiedModified,
|
|
232
|
-
onSave: handleSaveSettings,
|
|
233
|
-
onCopyAll: handleCopySettings,
|
|
234
|
-
onCopyModified: handleCopyModifiedSettings,
|
|
235
|
-
onReset: handleResetSettings
|
|
236
|
-
})]
|
|
237
|
-
})]
|
|
238
|
-
})
|
|
239
|
-
});
|
|
97
|
+
return React.createElement(React.Fragment, null, settingState?.showSettingPanel && React.createElement(React.Fragment, null, React.createElement("button", {
|
|
98
|
+
ref: btnRef,
|
|
99
|
+
onClick: () => setShow(!show),
|
|
100
|
+
style: {
|
|
101
|
+
backgroundColor: settingState?.primaryColor,
|
|
102
|
+
display: 'flex',
|
|
103
|
+
alignItems: 'center',
|
|
104
|
+
justifyContent: 'center'
|
|
105
|
+
},
|
|
106
|
+
className: `fixed top-24 right-0 z-50 border-none cursor-pointer transition duration-500 w-12 h-12 rounded-l-lg hover:bg-opacity-80 ${show ? 'mr-[20rem]' : 'mr-0'}`
|
|
107
|
+
}, !show ? React.createElement(Settings5FillIcon, {
|
|
108
|
+
fontSize: '32px',
|
|
109
|
+
className: "text-white"
|
|
110
|
+
}) : React.createElement(CloseIcon, {
|
|
111
|
+
className: "text-white",
|
|
112
|
+
fontSize: '36px'
|
|
113
|
+
})), React.createElement("div", {
|
|
114
|
+
className: clsx('fixed right-0 top-0 w-[20rem] transition-all duration-500 overflow-hidden overflow-y-auto z-50 p-4 min-h-full max-h-full', 'bg-white dark:bg-[#1f1f1f]', show ? 'opacity-100 visible' : 'w-0 opacity-0 invisible', 'shadow-lg')
|
|
115
|
+
}, React.createElement(SettingsDrawerHeader, {
|
|
116
|
+
onClose: () => setShow(false)
|
|
117
|
+
}), React.createElement("div", {
|
|
118
|
+
className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]"
|
|
119
|
+
}, React.createElement(MenuVisibilitySettings, {
|
|
120
|
+
fullMenuData: fullMenuData,
|
|
121
|
+
settings: settingState,
|
|
122
|
+
changeSetting: handleSettingChange
|
|
123
|
+
}), React.createElement(ApplyToAllRoutesToggle, {
|
|
124
|
+
checked: applyToAllRoutes,
|
|
125
|
+
onChange: setApplyToAllRoutes
|
|
126
|
+
}), React.createElement(DeviceTabs, {
|
|
127
|
+
activeTab: activeDeviceTab,
|
|
128
|
+
onTabChange: setActiveDeviceTab
|
|
129
|
+
})), React.createElement("div", {
|
|
130
|
+
className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]"
|
|
131
|
+
}, React.createElement("p", {
|
|
132
|
+
className: "text-black dark:text-white"
|
|
133
|
+
}, t('page_style_settings')), React.createElement("div", null, React.createElement(CheckBoxTheme, {
|
|
134
|
+
list: themeList.themeList,
|
|
135
|
+
changeSetting: handleSettingChange,
|
|
136
|
+
settings: settingsForComponents,
|
|
137
|
+
location: location,
|
|
138
|
+
applyToAllRoutes: applyToAllRoutes
|
|
139
|
+
})), React.createElement("div", {
|
|
140
|
+
className: "mt-8"
|
|
141
|
+
}, React.createElement("p", {
|
|
142
|
+
className: "text-black dark:text-white"
|
|
143
|
+
}, t('Select Theme')), React.createElement(ThemeSelector, {
|
|
144
|
+
value: getThemeValue(),
|
|
145
|
+
onChange: value => handleSettingChange('theme', value),
|
|
146
|
+
options: THEME_OPTIONS
|
|
147
|
+
})), React.createElement("div", {
|
|
148
|
+
className: "mt-8 dark:border-[#2a2b2a]"
|
|
149
|
+
}, React.createElement("p", {
|
|
150
|
+
className: "mb-2 text-black dark:text-white"
|
|
151
|
+
}, t('theme_color')), React.createElement(ThemeColor, {
|
|
152
|
+
color: colorList || themeList.colorList[navTheme === 'realDark' ? 'dark' : 'light'],
|
|
153
|
+
changeSetting: handleSettingChange,
|
|
154
|
+
settings: settingsForComponents,
|
|
155
|
+
location: location,
|
|
156
|
+
routePattern: routePattern,
|
|
157
|
+
applyToAllRoutes: applyToAllRoutes
|
|
158
|
+
})), React.createElement("div", {
|
|
159
|
+
className: "mt-8"
|
|
160
|
+
}, React.createElement("p", {
|
|
161
|
+
className: "text-black dark:text-white"
|
|
162
|
+
}, t('Font Family')), React.createElement(WebFontsSelector, {
|
|
163
|
+
value: getFontFamilyValue(),
|
|
164
|
+
onChange: value => handleSettingChange('fontFamily', value),
|
|
165
|
+
options: FONT_OPTIONS
|
|
166
|
+
}))), React.createElement("div", {
|
|
167
|
+
className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]"
|
|
168
|
+
}, React.createElement(NavigationModes, {
|
|
169
|
+
settings: settingsForComponents,
|
|
170
|
+
changeSetting: handleSettingChange,
|
|
171
|
+
applyToAllRoutes: applyToAllRoutes,
|
|
172
|
+
location: location,
|
|
173
|
+
routePattern: routePattern
|
|
174
|
+
}), React.createElement("div", {
|
|
175
|
+
className: "mt-8"
|
|
176
|
+
}, React.createElement(LayoutChange, {
|
|
177
|
+
settings: settingsForComponents,
|
|
178
|
+
changeSetting: handleSettingChange,
|
|
179
|
+
applyToAllRoutes: applyToAllRoutes,
|
|
180
|
+
location: location,
|
|
181
|
+
routePattern: routePattern
|
|
182
|
+
})), React.createElement("div", {
|
|
183
|
+
className: "mt-8"
|
|
184
|
+
}, React.createElement(InvitationSettings, {
|
|
185
|
+
settings: settingsForComponents,
|
|
186
|
+
changeSetting: handleSettingChange,
|
|
187
|
+
location: location,
|
|
188
|
+
routePattern: routePattern,
|
|
189
|
+
applyToAllRoutes: applyToAllRoutes
|
|
190
|
+
}))), React.createElement("div", {
|
|
191
|
+
className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]"
|
|
192
|
+
}, React.createElement(RegionalSettings, {
|
|
193
|
+
settings: settingsForComponents,
|
|
194
|
+
changeSetting: handleSettingChange,
|
|
195
|
+
applyToAllRoutes: applyToAllRoutes,
|
|
196
|
+
location: location,
|
|
197
|
+
routePattern: routePattern
|
|
198
|
+
})), React.createElement("div", {
|
|
199
|
+
className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]"
|
|
200
|
+
}, React.createElement(AdditionalSettingsSlot, {
|
|
201
|
+
settings: settingsForComponents,
|
|
202
|
+
onSettingsChange: handleSettingChange,
|
|
203
|
+
pathname: currentPathname
|
|
204
|
+
})), React.createElement(SettingsActions, {
|
|
205
|
+
hasChanges: changedSettings && Object.keys(changedSettings).length > 0,
|
|
206
|
+
copied: copied,
|
|
207
|
+
copiedModified: copiedModified,
|
|
208
|
+
onSave: handleSaveSettings,
|
|
209
|
+
onCopyAll: handleCopySettings,
|
|
210
|
+
onCopyModified: handleCopyModifiedSettings,
|
|
211
|
+
onReset: handleResetSettings
|
|
212
|
+
}))));
|
|
240
213
|
}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],"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
|
5
|
-
export declare function ApplyToAllRoutesToggle({ checked, onChange }: ApplyToAllRoutesToggleProps):
|
|
6
|
+
export declare function ApplyToAllRoutesToggle({ checked, onChange }: ApplyToAllRoutesToggleProps): React.JSX.Element;
|
|
6
7
|
export {};
|
|
7
8
|
//# sourceMappingURL=ApplyToAllRoutesToggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplyToAllRoutesToggle.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/ApplyToAllRoutesToggle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApplyToAllRoutesToggle.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/ApplyToAllRoutesToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,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,qBAoBxF"}
|