@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.
Files changed (175) hide show
  1. package/README.md +40 -0
  2. package/lib/components/LanguageMenu/LanguageMenu.d.ts +2 -1
  3. package/lib/components/LanguageMenu/LanguageMenu.d.ts.map +1 -1
  4. package/lib/components/LanguageMenu/LanguageMenu.js +25 -32
  5. package/lib/components/LanguageMenu/LanguageMenu.js.map +1 -1
  6. package/lib/components/Layout/BasicLayout/index.d.ts +1 -1
  7. package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -1
  8. package/lib/components/Layout/BasicLayout/index.js +96 -103
  9. package/lib/components/Layout/BasicLayout/index.js.map +1 -1
  10. package/lib/components/Layout/BasicLayout/utils.d.ts +2 -2
  11. package/lib/components/Layout/BasicLayout/utils.d.ts.map +1 -1
  12. package/lib/components/Layout/BasicLayout/utils.js +69 -88
  13. package/lib/components/Layout/BasicLayout/utils.js.map +1 -1
  14. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js +25 -30
  15. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js.map +1 -1
  16. package/lib/components/Layout/GlobalFooter/Copyright.d.ts +2 -1
  17. package/lib/components/Layout/GlobalFooter/Copyright.d.ts.map +1 -1
  18. package/lib/components/Layout/GlobalFooter/Footer.d.ts +2 -1
  19. package/lib/components/Layout/GlobalFooter/Footer.d.ts.map +1 -1
  20. package/lib/components/Layout/GlobalHeader/Header.js +32 -43
  21. package/lib/components/Layout/GlobalHeader/Header.js.map +1 -1
  22. package/lib/components/Layout/GlobalHeader/MainHeader.js +71 -81
  23. package/lib/components/Layout/GlobalHeader/MainHeader.js.map +1 -1
  24. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js +26 -30
  25. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js.map +1 -1
  26. package/lib/components/Layout/GlobalHeader/RightContent.js +25 -29
  27. package/lib/components/Layout/GlobalHeader/RightContent.js.map +1 -1
  28. package/lib/components/Layout/GlobalHeader/RightMenu.js +112 -136
  29. package/lib/components/Layout/GlobalHeader/RightMenu.js.map +1 -1
  30. package/lib/components/Layout/GlobalHeader/SearchBar.js +36 -45
  31. package/lib/components/Layout/GlobalHeader/SearchBar.js.map +1 -1
  32. package/lib/components/Layout/ProTailwindLayout.js +1 -2
  33. package/lib/components/Layout/ProTailwindLayout.js.map +1 -1
  34. package/lib/components/Layout/Sidebar/BottomMenu.js +148 -184
  35. package/lib/components/Layout/Sidebar/BottomMenu.js.map +1 -1
  36. package/lib/components/Layout/Sidebar/Divider.d.ts +2 -1
  37. package/lib/components/Layout/Sidebar/Divider.d.ts.map +1 -1
  38. package/lib/components/Layout/Sidebar/Divider.js +26 -28
  39. package/lib/components/Layout/Sidebar/Divider.js.map +1 -1
  40. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts +1 -1
  41. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts.map +1 -1
  42. package/lib/components/Layout/Sidebar/DynamicIcon.js +10 -11
  43. package/lib/components/Layout/Sidebar/DynamicIcon.js.map +1 -1
  44. package/lib/components/Layout/Sidebar/MainSidebar.js +75 -97
  45. package/lib/components/Layout/Sidebar/MainSidebar.js.map +1 -1
  46. package/lib/components/Layout/Sidebar/MainSidebarMenu.d.ts +1 -1
  47. package/lib/components/Layout/Sidebar/MainSidebarMenu.d.ts.map +1 -1
  48. package/lib/components/Layout/Sidebar/MainSidebarMenu.js +113 -129
  49. package/lib/components/Layout/Sidebar/MainSidebarMenu.js.map +1 -1
  50. package/lib/components/Layout/Sidebar/PerplexSidebar.js +108 -133
  51. package/lib/components/Layout/Sidebar/PerplexSidebar.js.map +1 -1
  52. package/lib/components/Layout/Sidebar/PerplexSidebarMenu.js +71 -85
  53. package/lib/components/Layout/Sidebar/PerplexSidebarMenu.js.map +1 -1
  54. package/lib/components/Layout/TailwindLayout.d.ts.map +1 -1
  55. package/lib/components/Layout/TailwindLayout.js +13 -19
  56. package/lib/components/Layout/TailwindLayout.js.map +1 -1
  57. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts +3 -2
  58. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts.map +1 -1
  59. package/lib/components/Layout/slot-fill/AdditionalSettings.js +2 -2
  60. package/lib/components/Layout/slot-fill/AdditionalSettings.js.map +1 -1
  61. package/lib/components/Layout/slot-fill/Footer.d.ts +3 -2
  62. package/lib/components/Layout/slot-fill/Footer.d.ts.map +1 -1
  63. package/lib/components/Layout/slot-fill/Footer.js +2 -2
  64. package/lib/components/Layout/slot-fill/Footer.js.map +1 -1
  65. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts +3 -2
  66. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts.map +1 -1
  67. package/lib/components/Layout/slot-fill/HeaderNotice.js +2 -2
  68. package/lib/components/Layout/slot-fill/HeaderNotice.js.map +1 -1
  69. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts +2 -1
  70. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts.map +1 -1
  71. package/lib/components/Layout/slot-fill/HeaderSearchBar.js +2 -2
  72. package/lib/components/Layout/slot-fill/HeaderSearchBar.js.map +1 -1
  73. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts +2 -1
  74. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts.map +1 -1
  75. package/lib/components/Layout/slot-fill/HeaderSearchButton.js +2 -2
  76. package/lib/components/Layout/slot-fill/HeaderSearchButton.js.map +1 -1
  77. package/lib/components/Layout/slot-fill/Logo.d.ts +3 -2
  78. package/lib/components/Layout/slot-fill/Logo.d.ts.map +1 -1
  79. package/lib/components/Layout/slot-fill/Logo.js +2 -2
  80. package/lib/components/Layout/slot-fill/Logo.js.map +1 -1
  81. package/lib/components/Layout/slot-fill/RightContent.d.ts +2 -1
  82. package/lib/components/Layout/slot-fill/RightContent.d.ts.map +1 -1
  83. package/lib/components/Layout/slot-fill/RightContent.js +2 -2
  84. package/lib/components/Layout/slot-fill/RightContent.js.map +1 -1
  85. package/lib/components/Layout/slot-fill/SideMenuLogo.d.ts +3 -2
  86. package/lib/components/Layout/slot-fill/SideMenuLogo.d.ts.map +1 -1
  87. package/lib/components/Layout/slot-fill/SideMenuLogo.js +2 -2
  88. package/lib/components/Layout/slot-fill/SideMenuLogo.js.map +1 -1
  89. package/lib/components/SettingDrawer/SettingDrawer.d.ts +2 -1
  90. package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
  91. package/lib/components/SettingDrawer/SettingDrawer.js +117 -144
  92. package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -1
  93. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.d.ts +2 -1
  94. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.d.ts.map +1 -1
  95. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.js +17 -23
  96. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.js.map +1 -1
  97. package/lib/components/SettingDrawer/components/CheckBoxTheme.d.ts +2 -1
  98. package/lib/components/SettingDrawer/components/CheckBoxTheme.d.ts.map +1 -1
  99. package/lib/components/SettingDrawer/components/CheckBoxTheme.js +85 -97
  100. package/lib/components/SettingDrawer/components/CheckBoxTheme.js.map +1 -1
  101. package/lib/components/SettingDrawer/components/DeviceTabs.d.ts +2 -1
  102. package/lib/components/SettingDrawer/components/DeviceTabs.d.ts.map +1 -1
  103. package/lib/components/SettingDrawer/components/DeviceTabs.js +67 -75
  104. package/lib/components/SettingDrawer/components/DeviceTabs.js.map +1 -1
  105. package/lib/components/SettingDrawer/components/InvitationSettings.d.ts +2 -1
  106. package/lib/components/SettingDrawer/components/InvitationSettings.d.ts.map +1 -1
  107. package/lib/components/SettingDrawer/components/InvitationSettings.js +41 -52
  108. package/lib/components/SettingDrawer/components/InvitationSettings.js.map +1 -1
  109. package/lib/components/SettingDrawer/components/LayoutChange.d.ts +2 -1
  110. package/lib/components/SettingDrawer/components/LayoutChange.d.ts.map +1 -1
  111. package/lib/components/SettingDrawer/components/LayoutChange.js +75 -94
  112. package/lib/components/SettingDrawer/components/LayoutChange.js.map +1 -1
  113. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.d.ts +2 -1
  114. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.d.ts.map +1 -1
  115. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.js +50 -63
  116. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.js.map +1 -1
  117. package/lib/components/SettingDrawer/components/NavigationsModes.d.ts +2 -1
  118. package/lib/components/SettingDrawer/components/NavigationsModes.d.ts.map +1 -1
  119. package/lib/components/SettingDrawer/components/NavigationsModes.js +272 -290
  120. package/lib/components/SettingDrawer/components/NavigationsModes.js.map +1 -1
  121. package/lib/components/SettingDrawer/components/RegionalSettings.d.ts +2 -1
  122. package/lib/components/SettingDrawer/components/RegionalSettings.d.ts.map +1 -1
  123. package/lib/components/SettingDrawer/components/RegionalSettings.js +437 -535
  124. package/lib/components/SettingDrawer/components/RegionalSettings.js.map +1 -1
  125. package/lib/components/SettingDrawer/components/SettingsActions.d.ts +2 -1
  126. package/lib/components/SettingDrawer/components/SettingsActions.d.ts.map +1 -1
  127. package/lib/components/SettingDrawer/components/SettingsActions.js +29 -56
  128. package/lib/components/SettingDrawer/components/SettingsActions.js.map +1 -1
  129. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.d.ts +2 -1
  130. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.d.ts.map +1 -1
  131. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.js +13 -16
  132. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.js.map +1 -1
  133. package/lib/components/SettingDrawer/components/Switch.d.ts +2 -1
  134. package/lib/components/SettingDrawer/components/Switch.d.ts.map +1 -1
  135. package/lib/components/SettingDrawer/components/Switch.js +8 -10
  136. package/lib/components/SettingDrawer/components/Switch.js.map +1 -1
  137. package/lib/components/SettingDrawer/components/ThemeColor.d.ts +2 -1
  138. package/lib/components/SettingDrawer/components/ThemeColor.d.ts.map +1 -1
  139. package/lib/components/SettingDrawer/components/ThemeColor.js +24 -26
  140. package/lib/components/SettingDrawer/components/ThemeColor.js.map +1 -1
  141. package/lib/components/SettingDrawer/components/ThemeSelector.d.ts +2 -1
  142. package/lib/components/SettingDrawer/components/ThemeSelector.d.ts.map +1 -1
  143. package/lib/components/SettingDrawer/components/ThemeSelector.js +11 -13
  144. package/lib/components/SettingDrawer/components/ThemeSelector.js.map +1 -1
  145. package/lib/components/SettingDrawer/components/WebFontsSelector.d.ts +1 -0
  146. package/lib/components/SettingDrawer/components/WebFontsSelector.d.ts.map +1 -1
  147. package/lib/components/SettingDrawer/components/WebFontsSelector.js +17 -19
  148. package/lib/components/SettingDrawer/components/WebFontsSelector.js.map +1 -1
  149. package/lib/components/SettingDrawer/hooks/useSettingsOperations.d.ts.map +1 -1
  150. package/lib/components/SettingDrawer/hooks/useSettingsOperations.js +0 -4
  151. package/lib/components/SettingDrawer/hooks/useSettingsOperations.js.map +1 -1
  152. package/lib/components/SettingDrawer/utils/transformers.d.ts.map +1 -1
  153. package/lib/components/SettingDrawer/utils/transformers.js +0 -3
  154. package/lib/components/SettingDrawer/utils/transformers.js.map +1 -1
  155. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts +3 -3
  156. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts.map +1 -1
  157. package/lib/helpers/DynamicIcon.d.ts +1 -1
  158. package/lib/helpers/DynamicIcon.d.ts.map +1 -1
  159. package/lib/helpers/DynamicIcon.js +16 -17
  160. package/lib/helpers/DynamicIcon.js.map +1 -1
  161. package/lib/machines/settingsMachine.d.ts.map +1 -1
  162. package/lib/machines/settingsMachine.js +0 -6
  163. package/lib/machines/settingsMachine.js.map +1 -1
  164. package/lib/utils/__tests__/analytics-utils.test.d.ts +2 -0
  165. package/lib/utils/__tests__/analytics-utils.test.d.ts.map +1 -0
  166. package/lib/utils/__tests__/menu.test.d.ts +2 -0
  167. package/lib/utils/__tests__/menu.test.d.ts.map +1 -0
  168. package/lib/utils/__tests__/selectors.test.d.ts +2 -0
  169. package/lib/utils/__tests__/selectors.test.d.ts.map +1 -0
  170. package/lib/utils/__tests__/settingsMachine.test.d.ts.map +1 -0
  171. package/lib/utils/__tests__/settingsUtils.test.d.ts +2 -0
  172. package/lib/utils/__tests__/settingsUtils.test.d.ts.map +1 -0
  173. package/package.json +6 -6
  174. package/lib/machines/settingsMachine.test.d.ts.map +0 -1
  175. /package/lib/{machines → utils/__tests__}/settingsMachine.test.d.ts +0 -0
@@ -1,6 +1,6 @@
1
- import {jsx}from'react/jsx-runtime';import {Slot}from'@common-stack/components-pro';const ADDITIONAL_SETTINGS_SLOT_FILL_NAME = 'additional_settings_slot_fill';
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 jsx(Slot, {
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":["_jsx"],"mappings":"oFAGO,MAAM,kCAAkC,GAAG;AAE3C,MAAM,sBAAsB,GAAG,KAAC,IAAO;SAC1CA,GAAO,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,kCAAA;AAEF,IAAA,SAAa,EAAA;IACT;AACJ"}
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) => import("react/jsx-runtime").JSX.Element;
3
- export declare const FooterCard: (props: any) => import("react/jsx-runtime").JSX.Element;
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":"AAEA,eAAO,MAAM,qBAAqB,gBAAgB,CAAC;AAEnD,eAAO,MAAM,UAAU,GAAI,UAAK,4CAE/B,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,UAAK,4CAE/B,CAAC"}
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 {jsx}from'react/jsx-runtime';import {Slot}from'@common-stack/components-pro';const FOOTER_SLOT_FILL_NAME = 'footer-fill';
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 jsx(Slot, {
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":["_jsx"],"mappings":"oFAEO,MAAM,qBAAqB,GAAG;AAE9B,MAAM,UAAU,GAAG,KAAC,IAAO;SAC9BA,GAAO,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,qBAAA;AAEF,IAAA,SAAa,EAAA;IACT;AACJ"}
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) => import("react/jsx-runtime").JSX.Element;
3
- export declare const HeaderNoticeCard: (props: any) => import("react/jsx-runtime").JSX.Element;
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":"AAGA,eAAO,MAAM,4BAA4B,4BAA4B,CAAC;AAEtE,eAAO,MAAM,gBAAgB,GAAI,UAAK,4CAErC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,UAAK,4CAErC,CAAC"}
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 {jsx}from'react/jsx-runtime';import {Slot}from'@common-stack/components-pro';const HEADER_NOTICE_SLOT_FILL_NAME = 'header-notice-slot-fill';
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 jsx(Slot, {
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":["_jsx"],"mappings":"oFAGO,MAAM,4BAA4B,GAAG;AAErC,MAAM,gBAAgB,GAAG,KAAC,IAAO;SACpCA,GAAO,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,4BAAA;AAEF,IAAA,SAAa,EAAA;IACT;AACJ"}
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
- export declare const HeaderSearchBarSlot: (props: any) => import("react/jsx-runtime").JSX.Element;
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;AAK1B,eAAO,MAAM,mBAAmB,GAAI,UAAK,4CAExC,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 {jsx}from'react/jsx-runtime';import'reflect-metadata';import {Slot}from'@common-stack/components-pro';import {HEADER_SEARCHBAR_FILL}from'@admin-layout/client/lib/constants/layout.js';const HeaderSearchBarSlot = props => {
2
- return jsx(Slot, {
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":["_jsx"],"mappings":"8LAKO,MAAM,mBAAmB,GAAG,KAAC,IAAO;SACvCA,GAAO,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,qBAAA;;;"}
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
- export declare const HeaderSearchButtonSlot: (props: any) => import("react/jsx-runtime").JSX.Element;
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;AAK1B,eAAO,MAAM,sBAAsB,GAAI,UAAK,4CAE3C,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 {jsx}from'react/jsx-runtime';import'reflect-metadata';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 jsx(Slot, {
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":["_jsx"],"mappings":"kMAKO,MAAM,sBAAsB,GAAG,KAAC,IAAO;SAC1CA,GAAO,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,yBAAA;;;"}
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) => import("react/jsx-runtime").JSX.Element;
3
- export declare const LogoCard: (props: any) => import("react/jsx-runtime").JSX.Element;
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":"AAEA,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAE/C,eAAO,MAAM,QAAQ,GAAI,UAAK,4CAE7B,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,UAAK,4CAE7B,CAAC"}
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 {jsx}from'react/jsx-runtime';import {Slot}from'@common-stack/components-pro';const LOGO_SLOT_FILL_NAME = 'logo-fill';
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 jsx(Slot, {
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":["_jsx"],"mappings":"oFAEO,MAAM,mBAAmB,GAAG;AAE5B,MAAM,QAAQ,GAAG,KAAC,IAAO;SAC5BA,GAAO,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,mBAAA;AAEF,IAAA,SAAa,EAAA;IACT;AACJ"}
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
- export declare const RightContentSlot: (props: any) => import("react/jsx-runtime").JSX.Element;
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;AAK1B,eAAO,MAAM,gBAAgB,GAAI,UAAK,4CAErC,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 {jsx}from'react/jsx-runtime';import'reflect-metadata';import {Slot}from'@common-stack/components-pro';import {RIGHT_CONTENT_FILL}from'@admin-layout/client/lib/constants/layout.js';const RightContentSlot = props => {
2
- return jsx(Slot, {
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":["_jsx"],"mappings":"2LAKO,MAAM,gBAAgB,GAAG,KAAC,IAAO;SACpCA,GAAO,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,kBAAA;;;"}
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) => import("react/jsx-runtime").JSX.Element;
3
- export declare const SideMenuLogoCard: (props: any) => import("react/jsx-runtime").JSX.Element;
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":"AAEA,eAAO,MAAM,6BAA6B,wBAAwB,CAAC;AAEnE,eAAO,MAAM,gBAAgB,GAAI,UAAK,4CAErC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,UAAK,4CAErC,CAAC"}
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 {jsx}from'react/jsx-runtime';import {Slot}from'@common-stack/components-pro';const SIDE_MENU_LOGO_SLOT_FILL_NAME = 'side-menu-logo-fill';
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 jsx(Slot, {
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":["_jsx"],"mappings":"oFAEO,MAAM,6BAA6B,GAAG;AAEtC,MAAM,gBAAgB,GAAG,KAAC,IAAO;SACpCA,GAAO,CAAA,IAAC,EAAI;AAChB,IAAE,IAAA,EAAA,6BAAA;AAEF,IAAA,SAAa,EAAA;IACT;AACJ"}
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): import("react/jsx-runtime").JSX.Element;
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":"AA0BA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAoRtD"}
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 {jsx,Fragment,jsxs}from'react/jsx-runtime';import {useSelector}from'@xstate/react';import clsx from'clsx';import*as React from'react';import {useRef,useState,useEffect}from'react';import {useTranslation}from'react-i18next';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../hooks/useMediaQuery.js';import {icons}from'../../icons.js';import isBrowser from'../../utils/isBrowser/index.js';import {getDefaultApplyToAllRoutes,getSettingValue}from'../../utils/settingsUtils.js';import'@common-stack/components-pro';import {AdditionalSettingsSlot}from'../Layout/slot-fill/AdditionalSettings.js';import'reflect-metadata';import'@admin-layout/client/lib/constants/layout.js';import {ApplyToAllRoutesToggle}from'./components/ApplyToAllRoutesToggle.js';import {CheckBoxTheme}from'./components/CheckBoxTheme.js';import {DeviceTabs}from'./components/DeviceTabs.js';import {InvitationSettings}from'./components/InvitationSettings.js';import {LayoutChange}from'./components/LayoutChange.js';import {MenuVisibilitySettings}from'./components/MenuVisibilitySettings.js';import {NavigationModes}from'./components/NavigationsModes.js';import {RegionalSettings}from'./components/RegionalSettings.js';import {SettingsActions}from'./components/SettingsActions.js';import {SettingsDrawerHeader}from'./components/SettingsDrawerHeader.js';import {ThemeColor}from'./components/ThemeColor.js';import {ThemeSelector}from'./components/ThemeSelector.js';import {WebFontsSelector}from'./components/WebFontsSelector.js';import {useSettingsOperations}from'./hooks/useSettingsOperations.js';import {THEME_OPTIONS,FONT_OPTIONS}from'./utils/constants.js';import {useThemeList,parseSettingPath}from'./utils/helper.js';function SettingDrawer(props) {
1
+ import {useSelector}from'@xstate/react';import clsx from'clsx';import*as React from'react';import {useRef,useState,useEffect}from'react';import {useTranslation}from'react-i18next';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../hooks/useMediaQuery.js';import {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 jsx(Fragment, {
103
- children: settingState?.showSettingPanel && jsxs(Fragment, {
104
- children: [jsx("button", {
105
- ref: btnRef,
106
- onClick: () => setShow(!show),
107
- style: {
108
- backgroundColor: settingState?.primaryColor,
109
- display: 'flex',
110
- alignItems: 'center',
111
- justifyContent: 'center'
112
- },
113
- 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'}`,
114
- children: !show ? jsx(Settings5FillIcon, {
115
- fontSize: '32px',
116
- className: "text-white"
117
- }) : jsx(CloseIcon, {
118
- className: "text-white",
119
- fontSize: '36px'
120
- })
121
- }), jsxs("div", {
122
- 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'),
123
- children: [jsx(SettingsDrawerHeader, {
124
- onClose: () => setShow(false)
125
- }), jsxs("div", {
126
- className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]",
127
- children: [jsx(MenuVisibilitySettings, {
128
- fullMenuData: fullMenuData,
129
- settings: settingState,
130
- changeSetting: handleSettingChange
131
- }), jsx(ApplyToAllRoutesToggle, {
132
- checked: applyToAllRoutes,
133
- onChange: setApplyToAllRoutes
134
- }), jsx(DeviceTabs, {
135
- activeTab: activeDeviceTab,
136
- onTabChange: setActiveDeviceTab
137
- })]
138
- }), jsxs("div", {
139
- className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]",
140
- children: [jsx("p", {
141
- className: "text-black dark:text-white",
142
- children: t('page_style_settings')
143
- }), jsx("div", {
144
- children: jsx(CheckBoxTheme, {
145
- list: themeList.themeList,
146
- changeSetting: handleSettingChange,
147
- settings: settingsForComponents,
148
- location: location,
149
- applyToAllRoutes: applyToAllRoutes
150
- })
151
- }), jsxs("div", {
152
- className: "mt-8",
153
- children: [jsx("p", {
154
- className: "text-black dark:text-white",
155
- children: t('Select Theme')
156
- }), jsx(ThemeSelector, {
157
- value: getThemeValue(),
158
- onChange: value => handleSettingChange('theme', value),
159
- options: THEME_OPTIONS
160
- })]
161
- }), jsxs("div", {
162
- className: "mt-8 dark:border-[#2a2b2a]",
163
- children: [jsx("p", {
164
- className: "mb-2 text-black dark:text-white",
165
- children: t('theme_color')
166
- }), jsx(ThemeColor, {
167
- color: colorList || themeList.colorList[navTheme === 'realDark' ? 'dark' : 'light'],
168
- changeSetting: handleSettingChange,
169
- settings: settingsForComponents,
170
- location: location,
171
- routePattern: routePattern,
172
- applyToAllRoutes: applyToAllRoutes
173
- })]
174
- }), jsxs("div", {
175
- className: "mt-8",
176
- children: [jsx("p", {
177
- className: "text-black dark:text-white",
178
- children: t('Font Family')
179
- }), jsx(WebFontsSelector, {
180
- value: getFontFamilyValue(),
181
- onChange: value => handleSettingChange('fontFamily', value),
182
- options: FONT_OPTIONS
183
- })]
184
- })]
185
- }), jsxs("div", {
186
- className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]",
187
- children: [jsx(NavigationModes, {
188
- settings: settingsForComponents,
189
- changeSetting: handleSettingChange,
190
- applyToAllRoutes: applyToAllRoutes,
191
- location: location,
192
- routePattern: routePattern
193
- }), jsx("div", {
194
- className: "mt-8",
195
- children: jsx(LayoutChange, {
196
- settings: settingsForComponents,
197
- changeSetting: handleSettingChange,
198
- applyToAllRoutes: applyToAllRoutes,
199
- location: location,
200
- routePattern: routePattern
201
- })
202
- }), jsx("div", {
203
- className: "mt-8",
204
- children: jsx(InvitationSettings, {
205
- settings: settingsForComponents,
206
- changeSetting: handleSettingChange,
207
- location: location,
208
- routePattern: routePattern,
209
- applyToAllRoutes: applyToAllRoutes
210
- })
211
- })]
212
- }), jsx("div", {
213
- className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]",
214
- children: jsx(RegionalSettings, {
215
- settings: settingsForComponents,
216
- changeSetting: handleSettingChange,
217
- applyToAllRoutes: applyToAllRoutes,
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":"6tDA4BM,SAAU,aAAa,CAAC,KAAyB,EAAA;AACnD,EAAA,MAAA;AACA,IAAA,KAAA;IAEA,SAAO;AACP,IAAA,QAAM;IAEN,QAAQ;AACR,IAAA,QAAQ;IACR,YAAW;IAEX;MACA,KAAO;AACP,EAAA,MAAA;IACA,SAAO;IAEP;MACA,KAAM;;QAGN,MAAA,GAAA,MAAe,EAAA;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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BAEO;AAYf,MAAA,KAAA,EAAA;;;AAaQ,EAAA,SAAA,aAAA,GAAA;0BAMA,CAAA,YAAC,EAAA,OAAA,EAAA,gBAAuB,EAAA,wBAA2B,EAAA,SAAU,CAAA;;6BAMjE,GAAA;0BACI,CAAA,YAAA,EAAA,cAAa,gBAAA,EAAA,YAA4B,EAAG,UAAC,EAAA,qBAA2B,CAAA;AACxE,EAAA;4BACI,CAAA,KAAA,CAAA,QAAC,EAAA,IAAA,EAAA,YACS,EAAA,gBAAU,IAChB,KAAA,CAAA,aAAe,CAAA,KAAA,CAAA,QAAmB,aACxB,CAAA,aAAA,CAAA,QACV,EAAA;;0BAOJ,CAAA,CAAA,IAAA,CAAA;;qBASJ,EAAA,YAAA,EAAA,YAAK;qBACD;AACA,MAAA,UAAA,EAAA,QAAA;oBAWJ,EAAA;;wIAIiD,EAAA,IAAY,GAAE,YACvD,GAAO,MAAE,CAAA;aAMrB,KAAA,CAAA,aAAA,CAAA,iBAAc,EAAC;oBACX;;0BAQI,CAAA,SAAA,EAAA;2BASJ;;YAYJ,CAAA,aAAA,CAAA,KAAA,EAAA;mBACI,CAAA,4HAGsB,4BACR,EAAA,IAAA,GACV,qBAAc,GAAA,yBAEhB,EAAA,WAAA;wBAGN,CAAA,oBAAK,EAAA;AACD,IAAA,OAAA,EAAA,MAAA,OAAA,CAAA,KAAA;YAQJ,aAAA,CAAA,KAAA,EAAC;AAczB,IAAC,SAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  interface ApplyToAllRoutesToggleProps {
2
3
  checked: boolean;
3
4
  onChange: (checked: boolean) => void;
4
5
  }
5
- export declare function ApplyToAllRoutesToggle({ checked, onChange }: ApplyToAllRoutesToggleProps): import("react/jsx-runtime").JSX.Element;
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":"AAEA,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,2CAoBxF"}
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"}