@admin-layout/tailwind-design-pro 12.0.16-alpha.93 → 12.2.1-alpha.1

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 (158) 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 +2 -3
  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.js +13 -14
  55. package/lib/components/Layout/TailwindLayout.js.map +1 -1
  56. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts +3 -2
  57. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts.map +1 -1
  58. package/lib/components/Layout/slot-fill/AdditionalSettings.js +2 -2
  59. package/lib/components/Layout/slot-fill/AdditionalSettings.js.map +1 -1
  60. package/lib/components/Layout/slot-fill/Footer.d.ts +3 -2
  61. package/lib/components/Layout/slot-fill/Footer.d.ts.map +1 -1
  62. package/lib/components/Layout/slot-fill/Footer.js +2 -2
  63. package/lib/components/Layout/slot-fill/Footer.js.map +1 -1
  64. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts +3 -2
  65. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts.map +1 -1
  66. package/lib/components/Layout/slot-fill/HeaderNotice.js +2 -2
  67. package/lib/components/Layout/slot-fill/HeaderNotice.js.map +1 -1
  68. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts +2 -1
  69. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts.map +1 -1
  70. package/lib/components/Layout/slot-fill/HeaderSearchBar.js +2 -2
  71. package/lib/components/Layout/slot-fill/HeaderSearchBar.js.map +1 -1
  72. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts +2 -1
  73. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts.map +1 -1
  74. package/lib/components/Layout/slot-fill/HeaderSearchButton.js +2 -2
  75. package/lib/components/Layout/slot-fill/HeaderSearchButton.js.map +1 -1
  76. package/lib/components/Layout/slot-fill/Logo.d.ts +3 -2
  77. package/lib/components/Layout/slot-fill/Logo.d.ts.map +1 -1
  78. package/lib/components/Layout/slot-fill/Logo.js +2 -2
  79. package/lib/components/Layout/slot-fill/Logo.js.map +1 -1
  80. package/lib/components/Layout/slot-fill/RightContent.d.ts +2 -1
  81. package/lib/components/Layout/slot-fill/RightContent.d.ts.map +1 -1
  82. package/lib/components/Layout/slot-fill/RightContent.js +2 -2
  83. package/lib/components/Layout/slot-fill/RightContent.js.map +1 -1
  84. package/lib/components/Layout/slot-fill/SideMenuLogo.d.ts +3 -2
  85. package/lib/components/Layout/slot-fill/SideMenuLogo.d.ts.map +1 -1
  86. package/lib/components/Layout/slot-fill/SideMenuLogo.js +2 -2
  87. package/lib/components/Layout/slot-fill/SideMenuLogo.js.map +1 -1
  88. package/lib/components/SettingDrawer/SettingDrawer.d.ts +2 -1
  89. package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
  90. package/lib/components/SettingDrawer/SettingDrawer.js +117 -139
  91. package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -1
  92. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.d.ts +2 -1
  93. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.d.ts.map +1 -1
  94. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.js +17 -23
  95. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.js.map +1 -1
  96. package/lib/components/SettingDrawer/components/CheckBoxTheme.d.ts +2 -1
  97. package/lib/components/SettingDrawer/components/CheckBoxTheme.d.ts.map +1 -1
  98. package/lib/components/SettingDrawer/components/CheckBoxTheme.js +85 -97
  99. package/lib/components/SettingDrawer/components/CheckBoxTheme.js.map +1 -1
  100. package/lib/components/SettingDrawer/components/DeviceTabs.d.ts +2 -1
  101. package/lib/components/SettingDrawer/components/DeviceTabs.d.ts.map +1 -1
  102. package/lib/components/SettingDrawer/components/DeviceTabs.js +67 -75
  103. package/lib/components/SettingDrawer/components/DeviceTabs.js.map +1 -1
  104. package/lib/components/SettingDrawer/components/InvitationSettings.d.ts +2 -1
  105. package/lib/components/SettingDrawer/components/InvitationSettings.d.ts.map +1 -1
  106. package/lib/components/SettingDrawer/components/InvitationSettings.js +41 -52
  107. package/lib/components/SettingDrawer/components/InvitationSettings.js.map +1 -1
  108. package/lib/components/SettingDrawer/components/LayoutChange.d.ts +2 -1
  109. package/lib/components/SettingDrawer/components/LayoutChange.d.ts.map +1 -1
  110. package/lib/components/SettingDrawer/components/LayoutChange.js +75 -94
  111. package/lib/components/SettingDrawer/components/LayoutChange.js.map +1 -1
  112. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.d.ts +2 -1
  113. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.d.ts.map +1 -1
  114. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.js +50 -63
  115. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.js.map +1 -1
  116. package/lib/components/SettingDrawer/components/NavigationsModes.d.ts +2 -1
  117. package/lib/components/SettingDrawer/components/NavigationsModes.d.ts.map +1 -1
  118. package/lib/components/SettingDrawer/components/NavigationsModes.js +272 -290
  119. package/lib/components/SettingDrawer/components/NavigationsModes.js.map +1 -1
  120. package/lib/components/SettingDrawer/components/RegionalSettings.d.ts +2 -1
  121. package/lib/components/SettingDrawer/components/RegionalSettings.d.ts.map +1 -1
  122. package/lib/components/SettingDrawer/components/RegionalSettings.js +437 -535
  123. package/lib/components/SettingDrawer/components/RegionalSettings.js.map +1 -1
  124. package/lib/components/SettingDrawer/components/SettingsActions.d.ts +2 -1
  125. package/lib/components/SettingDrawer/components/SettingsActions.d.ts.map +1 -1
  126. package/lib/components/SettingDrawer/components/SettingsActions.js +29 -56
  127. package/lib/components/SettingDrawer/components/SettingsActions.js.map +1 -1
  128. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.d.ts +2 -1
  129. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.d.ts.map +1 -1
  130. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.js +13 -16
  131. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.js.map +1 -1
  132. package/lib/components/SettingDrawer/components/Switch.d.ts +2 -1
  133. package/lib/components/SettingDrawer/components/Switch.d.ts.map +1 -1
  134. package/lib/components/SettingDrawer/components/Switch.js +8 -10
  135. package/lib/components/SettingDrawer/components/Switch.js.map +1 -1
  136. package/lib/components/SettingDrawer/components/ThemeColor.d.ts +2 -1
  137. package/lib/components/SettingDrawer/components/ThemeColor.d.ts.map +1 -1
  138. package/lib/components/SettingDrawer/components/ThemeColor.js +24 -26
  139. package/lib/components/SettingDrawer/components/ThemeColor.js.map +1 -1
  140. package/lib/components/SettingDrawer/components/ThemeSelector.d.ts +2 -1
  141. package/lib/components/SettingDrawer/components/ThemeSelector.d.ts.map +1 -1
  142. package/lib/components/SettingDrawer/components/ThemeSelector.js +11 -13
  143. package/lib/components/SettingDrawer/components/ThemeSelector.js.map +1 -1
  144. package/lib/components/SettingDrawer/components/WebFontsSelector.d.ts +1 -0
  145. package/lib/components/SettingDrawer/components/WebFontsSelector.d.ts.map +1 -1
  146. package/lib/components/SettingDrawer/components/WebFontsSelector.js +17 -19
  147. package/lib/components/SettingDrawer/components/WebFontsSelector.js.map +1 -1
  148. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts +2 -6
  149. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts.map +1 -1
  150. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.js +16 -23
  151. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.js.map +1 -1
  152. package/lib/compute.js +1 -7
  153. package/lib/helpers/DynamicIcon.d.ts +1 -1
  154. package/lib/helpers/DynamicIcon.d.ts.map +1 -1
  155. package/lib/helpers/DynamicIcon.js +16 -17
  156. package/lib/helpers/DynamicIcon.js.map +1 -1
  157. package/lib/routes.json +1 -10
  158. package/package.json +6 -6
@@ -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,2CAgRtD"}
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,
@@ -94,142 +94,120 @@ import {jsx,Fragment,jsxs}from'react/jsx-runtime';import {useSelector}from'@xsta
94
94
  function getFontFamilyValue() {
95
95
  return getSettingValue(settingState, 'fontFamily', applyToAllRoutes, currentRoute, deviceType, 'Poppins, sans-serif');
96
96
  }
97
- return jsx(Fragment, {
98
- children: settingState?.showSettingPanel && jsxs(Fragment, {
99
- children: [jsx("button", {
100
- ref: btnRef,
101
- onClick: () => setShow(!show),
102
- style: {
103
- backgroundColor: settingState?.primaryColor,
104
- display: 'flex',
105
- alignItems: 'center',
106
- justifyContent: 'center'
107
- },
108
- 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'}`,
109
- children: !show ? jsx(Settings5FillIcon, {
110
- fontSize: '32px',
111
- className: "text-white"
112
- }) : jsx(CloseIcon, {
113
- className: "text-white",
114
- fontSize: '36px'
115
- })
116
- }), jsxs("div", {
117
- 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'),
118
- children: [jsx(SettingsDrawerHeader, {
119
- onClose: () => setShow(false)
120
- }), jsxs("div", {
121
- className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]",
122
- children: [jsx(MenuVisibilitySettings, {
123
- fullMenuData: fullMenuData,
124
- settings: settingState,
125
- changeSetting: handleSettingChange
126
- }), jsx(ApplyToAllRoutesToggle, {
127
- checked: applyToAllRoutes,
128
- onChange: setApplyToAllRoutes
129
- }), jsx(DeviceTabs, {
130
- activeTab: activeDeviceTab,
131
- onTabChange: setActiveDeviceTab
132
- })]
133
- }), jsxs("div", {
134
- className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]",
135
- children: [jsx("p", {
136
- className: "text-black dark:text-white",
137
- children: t('page_style_settings')
138
- }), jsx("div", {
139
- children: jsx(CheckBoxTheme, {
140
- list: themeList.themeList,
141
- changeSetting: handleSettingChange,
142
- settings: settingsForComponents,
143
- location: location,
144
- applyToAllRoutes: applyToAllRoutes
145
- })
146
- }), jsxs("div", {
147
- className: "mt-8",
148
- children: [jsx("p", {
149
- className: "text-black dark:text-white",
150
- children: t('Select Theme')
151
- }), jsx(ThemeSelector, {
152
- value: getThemeValue(),
153
- onChange: value => handleSettingChange('theme', value),
154
- options: THEME_OPTIONS
155
- })]
156
- }), jsxs("div", {
157
- className: "mt-8 dark:border-[#2a2b2a]",
158
- children: [jsx("p", {
159
- className: "mb-2 text-black dark:text-white",
160
- children: t('theme_color')
161
- }), jsx(ThemeColor, {
162
- color: colorList || themeList.colorList[navTheme === 'realDark' ? 'dark' : 'light'],
163
- changeSetting: handleSettingChange,
164
- settings: settingsForComponents,
165
- location: location,
166
- routePattern: routePattern,
167
- applyToAllRoutes: applyToAllRoutes
168
- })]
169
- }), jsxs("div", {
170
- className: "mt-8",
171
- children: [jsx("p", {
172
- className: "text-black dark:text-white",
173
- children: t('Font Family')
174
- }), jsx(WebFontsSelector, {
175
- value: getFontFamilyValue(),
176
- onChange: value => handleSettingChange('fontFamily', value),
177
- options: FONT_OPTIONS
178
- })]
179
- })]
180
- }), jsxs("div", {
181
- className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]",
182
- children: [jsx(NavigationModes, {
183
- settings: settingsForComponents,
184
- changeSetting: handleSettingChange,
185
- applyToAllRoutes: applyToAllRoutes,
186
- location: location,
187
- routePattern: routePattern
188
- }), jsx("div", {
189
- className: "mt-8",
190
- children: jsx(LayoutChange, {
191
- settings: settingsForComponents,
192
- changeSetting: handleSettingChange,
193
- applyToAllRoutes: applyToAllRoutes,
194
- location: location,
195
- routePattern: routePattern
196
- })
197
- }), jsx("div", {
198
- className: "mt-8",
199
- children: jsx(InvitationSettings, {
200
- settings: settingsForComponents,
201
- changeSetting: handleSettingChange,
202
- location: location,
203
- routePattern: routePattern,
204
- applyToAllRoutes: applyToAllRoutes
205
- })
206
- })]
207
- }), jsx("div", {
208
- className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]",
209
- children: jsx(RegionalSettings, {
210
- settings: settingsForComponents,
211
- changeSetting: handleSettingChange,
212
- applyToAllRoutes: applyToAllRoutes,
213
- location: location,
214
- routePattern: routePattern
215
- })
216
- }), jsx("div", {
217
- className: "mt-8 pb-8 border-b border-black dark:border-[#2a2b2a]",
218
- children: jsx(AdditionalSettingsSlot, {
219
- settings: settingsForComponents,
220
- onSettingsChange: handleSettingChange,
221
- pathname: currentPathname
222
- })
223
- }), jsx(SettingsActions, {
224
- hasChanges: changedSettings && Object.keys(changedSettings).length > 0,
225
- copied: copied,
226
- copiedModified: copiedModified,
227
- onSave: handleSaveSettings,
228
- onCopyAll: handleCopySettings,
229
- onCopyModified: handleCopyModifiedSettings,
230
- onReset: handleResetSettings
231
- })]
232
- })]
233
- })
234
- });
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
+ }))));
235
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,QAAE,GAAA,QAAc,GAAA,SAAA,CAAA;QAErE,CAAA,gBAAgB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AAA,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"}
@@ -1,27 +1,21 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function ApplyToAllRoutesToggle({
1
+ import React__default from'react';function ApplyToAllRoutesToggle({
2
2
  checked,
3
3
  onChange
4
4
  }) {
5
- return jsxs("div", {
6
- className: "flex items-center justify-between",
7
- children: [jsxs("div", {
8
- children: [jsx("p", {
9
- className: "text-sm text-black dark:text-white font-medium",
10
- children: "Apply to All Routes"
11
- }), jsx("p", {
12
- className: "text-xs text-gray-600 dark:text-gray-400",
13
- children: "When enabled, route-specific settings will apply to all routes instead of just the current route"
14
- })]
15
- }), jsxs("label", {
16
- className: "relative inline-flex items-center cursor-pointer",
17
- children: [jsx("input", {
18
- type: "checkbox",
19
- className: "sr-only peer",
20
- checked: checked,
21
- onChange: e => onChange(e.target.checked)
22
- }), jsx("div", {
23
- 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"
24
- })]
25
- })]
26
- });
5
+ return React__default.createElement("div", {
6
+ className: "flex items-center justify-between"
7
+ }, React__default.createElement("div", null, React__default.createElement("p", {
8
+ className: "text-sm text-black dark:text-white font-medium"
9
+ }, "Apply to All Routes"), React__default.createElement("p", {
10
+ className: "text-xs text-gray-600 dark:text-gray-400"
11
+ }, "When enabled, route-specific settings will apply to all routes instead of just the current route")), React__default.createElement("label", {
12
+ className: "relative inline-flex items-center cursor-pointer"
13
+ }, React__default.createElement("input", {
14
+ type: "checkbox",
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
+ })));
27
21
  }export{ApplyToAllRoutesToggle};//# sourceMappingURL=ApplyToAllRoutesToggle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplyToAllRoutesToggle.js","sources":["../../../../src/components/SettingDrawer/components/ApplyToAllRoutesToggle.tsx"],"sourcesContent":[null],"names":[],"mappings":"kDAOgB,sBAAsB,CAAC;AACnC,EAAA,OAAA;AAmBJ,EAAC;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ApplyToAllRoutesToggle.js","sources":["../../../../src/components/SettingDrawer/components/ApplyToAllRoutesToggle.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"2CAOgB,sBAAsB,CAAC;AACnC,EAAA,OAAA;AAEQ,EAAA;;AAEI,EAAA,OAAAA,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA;aAIJ,EAAA;iCACI,CAAA,KAAA,EAAA,IAAA,EAAAA,cACI,CAAA,aAAK,CAAA,GACL,EAAA;AAIJ,IAAA,SAAA,EAAA;AAIhB,GAAC,EAAA,qBAAA,CAAA,EAAAA,cAAA,CAAA,aAAA,CAAA,GAAA,EAAA;;;;;;;;;;;;"}
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { ICheckboxThemeProps } from '../utils/types';
2
- export declare function CheckBoxTheme(props: ICheckboxThemeProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function CheckBoxTheme(props: ICheckboxThemeProps): React.JSX.Element;
3
4
  //# sourceMappingURL=CheckBoxTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckBoxTheme.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/CheckBoxTheme.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAwDrD,wBAAgB,aAAa,CAAC,KAAK,EAAE,mBAAmB,2CAsCvD"}
1
+ {"version":3,"file":"CheckBoxTheme.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/CheckBoxTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAwDrD,wBAAgB,aAAa,CAAC,KAAK,EAAE,mBAAmB,qBAsCvD"}