@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,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"}
@@ -1,93 +1,85 @@
1
- import {jsx,jsxs}from'react/jsx-runtime';import'react';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import {getSettingValue}from'../../../utils/settingsUtils.js';const themelist = [{
1
+ import*as React from'react';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import {getSettingValue}from'../../../utils/settingsUtils.js';const themelist = [{
2
2
  key: 'light',
3
3
  title: 'Light',
4
- svg: jsxs("svg", {
4
+ svg: React.createElement("svg", {
5
5
  width: "58",
6
6
  height: "50",
7
7
  viewBox: "0 0 58 50",
8
- xmlns: "http://www.w3.org/2000/svg",
9
- children: [jsx("defs", {
10
- children: jsx("filter", {
11
- id: "softShadow",
12
- x: "-20%",
13
- y: "-20%",
14
- width: "140%",
15
- height: "140%",
16
- children: jsx("feDropShadow", {
17
- dx: "0",
18
- dy: "2",
19
- stdDeviation: "4",
20
- floodColor: "#000000",
21
- floodOpacity: "0.1"
22
- })
23
- })
24
- }), jsx("rect", {
25
- x: "0",
26
- y: "0",
27
- width: "58",
28
- height: "50",
29
- rx: "8",
30
- fill: "#ffffff",
31
- filter: "url(#softShadow)"
32
- })]
33
- })
8
+ xmlns: "http://www.w3.org/2000/svg"
9
+ }, React.createElement("defs", null, React.createElement("filter", {
10
+ id: "softShadow",
11
+ x: "-20%",
12
+ y: "-20%",
13
+ width: "140%",
14
+ height: "140%"
15
+ }, React.createElement("feDropShadow", {
16
+ dx: "0",
17
+ dy: "2",
18
+ stdDeviation: "4",
19
+ floodColor: "#000000",
20
+ floodOpacity: "0.1"
21
+ }))), React.createElement("rect", {
22
+ x: "0",
23
+ y: "0",
24
+ width: "58",
25
+ height: "50",
26
+ rx: "8",
27
+ fill: "#ffffff",
28
+ filter: "url(#softShadow)"
29
+ }))
34
30
  }, {
35
31
  key: 'realDark',
36
32
  title: 'realDark',
37
- svg: jsxs("svg", {
33
+ svg: React.createElement("svg", {
38
34
  width: "58",
39
35
  height: "50",
40
36
  viewBox: "0 0 58 50",
41
- xmlns: "http://www.w3.org/2000/svg",
42
- children: [jsx("rect", {
43
- x: "0",
44
- y: "0",
45
- width: "58",
46
- height: "50",
47
- rx: "8",
48
- fill: "#ffffff"
49
- }), jsx("path", {
50
- d: "M0,8\n A8,8 0 0 1 8,0\n H18\n V50\n H8\n A8,8 0 0 1 0,42\n Z",
51
- fill: "#011627"
52
- })]
53
- })
37
+ xmlns: "http://www.w3.org/2000/svg"
38
+ }, React.createElement("rect", {
39
+ x: "0",
40
+ y: "0",
41
+ width: "58",
42
+ height: "50",
43
+ rx: "8",
44
+ fill: "#ffffff"
45
+ }), React.createElement("path", {
46
+ d: "M0,8\n A8,8 0 0 1 8,0\n H18\n V50\n H8\n A8,8 0 0 1 0,42\n Z",
47
+ fill: "#011627"
48
+ }))
54
49
  }, {
55
50
  key: 'dark',
56
51
  title: 'Dark',
57
- svg: jsxs("svg", {
52
+ svg: React.createElement("svg", {
58
53
  width: "58",
59
54
  height: "50",
60
55
  viewBox: "0 0 58 50",
61
- xmlns: "http://www.w3.org/2000/svg",
62
- children: [jsx("rect", {
63
- width: "58",
64
- height: "50",
65
- rx: "8",
66
- fill: "#000000"
67
- }), jsx("clipPath", {
68
- id: "roundedClip",
69
- children: jsx("rect", {
70
- width: "58",
71
- height: "50",
72
- rx: "8"
73
- })
74
- }), jsxs("g", {
75
- clipPath: "url(#roundedClip)",
76
- children: [jsx("rect", {
77
- x: "0",
78
- y: "13",
79
- width: "29",
80
- height: "37",
81
- fill: "#0d1117"
82
- }), jsx("rect", {
83
- x: "29",
84
- y: "13",
85
- width: "29",
86
- height: "37",
87
- fill: "#233445"
88
- })]
89
- })]
90
- })
56
+ xmlns: "http://www.w3.org/2000/svg"
57
+ }, React.createElement("rect", {
58
+ width: "58",
59
+ height: "50",
60
+ rx: "8",
61
+ fill: "#000000"
62
+ }), React.createElement("clipPath", {
63
+ id: "roundedClip"
64
+ }, React.createElement("rect", {
65
+ width: "58",
66
+ height: "50",
67
+ rx: "8"
68
+ })), React.createElement("g", {
69
+ clipPath: "url(#roundedClip)"
70
+ }, React.createElement("rect", {
71
+ x: "0",
72
+ y: "13",
73
+ width: "29",
74
+ height: "37",
75
+ fill: "#0d1117"
76
+ }), React.createElement("rect", {
77
+ x: "29",
78
+ y: "13",
79
+ width: "29",
80
+ height: "37",
81
+ fill: "#233445"
82
+ })))
91
83
  }];
92
84
  function CheckBoxTheme(props) {
93
85
  const {
@@ -104,28 +96,24 @@ function CheckBoxTheme(props) {
104
96
  const deviceType = isMobile ? 'mobile' : 'desktop';
105
97
  // Use getSettingValue to get the correct navTheme based on applyToAllRoutes
106
98
  const navThemeValue = getSettingValue(settings, 'navTheme', applyToAllRoutes, currentRoute, deviceType, 'light');
107
- return jsx("div", {
108
- className: "flex flex-row gap-4",
109
- children: themelist.map((themeItems, index) => {
110
- return jsx("div", {
111
- className: "relative cursor-pointer hover:opacity-80 transition-opacity",
112
- style: {
113
- boxShadow: '0 1px 2.5px 0 rgb(0 0 0 / 18%)'
114
- },
115
- onClick: () => {
116
- changeSetting('navTheme', themeItems.key);
117
- },
118
- children: jsxs("div", {
119
- children: [themeItems.svg, navThemeValue === themeItems.key && jsx("svg", {
120
- className: "absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-6 h-6 text-blue-500",
121
- viewBox: "0 0 24 24",
122
- fill: "currentColor",
123
- children: jsx("path", {
124
- d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
125
- })
126
- })]
127
- })
128
- }, `themeItem_${index}`);
129
- })
130
- });
99
+ return React.createElement("div", {
100
+ className: "flex flex-row gap-4"
101
+ }, themelist.map((themeItems, index) => {
102
+ return React.createElement("div", {
103
+ key: `themeItem_${index}`,
104
+ className: "relative cursor-pointer hover:opacity-80 transition-opacity",
105
+ style: {
106
+ boxShadow: '0 1px 2.5px 0 rgb(0 0 0 / 18%)'
107
+ },
108
+ onClick: () => {
109
+ changeSetting('navTheme', themeItems.key);
110
+ }
111
+ }, React.createElement("div", null, themeItems.svg, navThemeValue === themeItems.key && React.createElement("svg", {
112
+ className: "absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-6 h-6 text-blue-500",
113
+ viewBox: "0 0 24 24",
114
+ fill: "currentColor"
115
+ }, React.createElement("path", {
116
+ d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
117
+ }))));
118
+ }));
131
119
  }export{CheckBoxTheme};//# sourceMappingURL=CheckBoxTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckBoxTheme.js","sources":["../../../../src/components/SettingDrawer/components/CheckBoxTheme.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"wQAKA,MAAM,SAAS,GAAG,CAAA;AACd,EAAA,GAAA,EAAA,OAAA;AACI,EAAA,KAAA,EAAA,OAAK;AACL,EAAA,GAAA,EAAAA,IAAA,CAAK,KAAE,EAAA;SACP,EAAG,IACC;AASP,IAAA,MAAA,EAAA,IAAA;AACD,IAAA,OAAA,EAAA,WAAA;AACI,IAAA,KAAA,EAAG,4BAAY;AACf,IAAA,QAAA,GAAOC,GAAA,CAAA,MAAU,EAAA;cAEb,EAAAA,GAAA,CAAA,QAAK,EAAA;AAcZ,QAAA,EAAA,EAAA,YAAA;AACD,QAAA,CAAA,EAAA,MAAA;AACI,QAAA,CAAA,EAAG,MAAE;AACL,QAAA,KAAK,EAAE,MAAM;QACb,MACI,EAAA,MAAA;AAWP,QAAA,QAAA,EAAAA,GAAA,CAAA,cAAA,EAAA;UACH,EAAA,EAAA,GAAA;AAEF,UAAM,EAAA,EAAA,GAAU;AACZ,UAAM,YAAE,EAAA,GAAe;AACvB,UAAM,UAAU,EAAE,SAAG;UACf,YAAY;SAClB;OAEA;AACA,KAAA,CAAA,EAAAA;AACA,MAAA,CAAA,EAAA,GACI;AAEQ,MAAA,CAAA,EAAA,GAAA;AAMY,MAAA,KAAA,EAAA,IAAA;AACJ,MAAA,MAAA,EAAA;QAiBZ,EAAE,GACA;AAEd,MAAC,IAAA,EAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"CheckBoxTheme.js","sources":["../../../../src/components/SettingDrawer/components/CheckBoxTheme.tsx"],"sourcesContent":[null],"names":[],"mappings":"6OAKA,MAAM,SAAS,GAAG,CAAA;AACd,EAAA,GAAA,EAAA,OAAA;AACI,EAAA,KAAA,EAAA,OAAK;AACL,EAAA,GAAA,EAAA,KAAA,CAAK,aAAS,CAAA,KAAA,EAAA;AACd,IAAA,KAAA,EAAG,IACC;AACI,IAAA,MAAA,EAAA,IAAA;AACI,IAAA,OAAA,EAAA,WAAA;;AAIJ,GAAA,EAAA,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,IAAA,EAAA,KAAO,CAAC,aAAU,CAAA,QAAM,EAAI;AAGvC,IAAA,EAAA,EAAA,YAAA;AACD,IAAA,CAAA,EAAA,MAAA;AACI,IAAA,CAAA,EAAA,MAAK;AACL,IAAA,KAAA,EAAA,MAAO;AACP,IAAA,MAAA;wBAEQ,CAAA,cAAA,EAAA;;AAaX,IAAA,EAAA,EAAA,GAAA;AACD,IAAA,YAAA,EAAA,GAAA;AACI,IAAA,UAAK,EAAA,SAAM;AACX,IAAA,YAAO,EAAA;AACP,GAAA,CAAA,CAAA,CAAA,EAAA,KAAK,CACD,aAAA,CAAA,MAAA,EAAA;AACI,IAAA,CAAA,EAAA,GAAA;;AAEI,IAAA,KAAA,EAAA,IAAA;YAEJ,IAAA;AACI,IAAA,EAAA,EAAA,GAAA;mBACA;AAIf,IAAA,MAAA,EAAA;GACH,CAAA;AAEF,CAAA,EAAA;AACI,EAAA,GAAA,EAAA,UAAQ;AACR,EAAA,KAAA,EAAA,UAAQ;KACR,EAAA,KAAM,CAAA,aAAe,CAAA,KAAA,EAAA;IACrB,KAAA,EAAM,IAAA;IAEN,MAAA,EAAA,IAAA;AACA,IAAA,oBAAmB;AACnB,IAAA,KAAA,EAAO;UAGK,CAAA;AAMY,IAAA,CAAA,EAAA,GAAA;;AAGJ,IAAA,KAAA,EAAA,IAAA;AACK,IAAA,MAAA,EAAA,IAAA;AAEA,IAAA,EAAA,EAAA,GAAA;;IAYjB,EAAE,KAER,CAAA,aAAA,CAAA,MAAA,EAAA;AACN,IAAC,CAAA,EAAA,kMAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  interface DeviceTabsProps {
2
3
  activeTab: 'desktop' | 'mobile';
3
4
  onTabChange: (tab: 'desktop' | 'mobile') => void;
4
5
  }
5
- export declare function DeviceTabs({ activeTab, onTabChange }: DeviceTabsProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function DeviceTabs({ activeTab, onTabChange }: DeviceTabsProps): React.JSX.Element;
6
7
  export {};
7
8
  //# sourceMappingURL=DeviceTabs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeviceTabs.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/DeviceTabs.tsx"],"names":[],"mappings":"AAGA,UAAU,eAAe;IACrB,SAAS,EAAE,SAAS,GAAG,QAAQ,CAAC;IAChC,WAAW,EAAE,CAAC,GAAG,EAAE,SAAS,GAAG,QAAQ,KAAK,IAAI,CAAC;CACpD;AAED,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE,eAAe,2CAgErE"}
1
+ {"version":3,"file":"DeviceTabs.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/DeviceTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,eAAe;IACrB,SAAS,EAAE,SAAS,GAAG,QAAQ,CAAC;IAChC,WAAW,EAAE,CAAC,GAAG,EAAE,SAAS,GAAG,QAAQ,KAAK,IAAI,CAAC;CACpD;AAED,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE,eAAe,qBAgErE"}
@@ -1,82 +1,74 @@
1
- import {jsx,jsxs}from'react/jsx-runtime';import {useTranslation}from'react-i18next';function DeviceTabs({
1
+ import React__default from'react';import {useTranslation}from'react-i18next';function DeviceTabs({
2
2
  activeTab,
3
3
  onTabChange
4
4
  }) {
5
5
  const {
6
6
  t
7
7
  } = useTranslation('settings');
8
- return jsx("div", {
9
- className: "mt-4",
10
- children: jsxs("div", {
11
- className: "flex mb-4",
12
- children: [jsx("button", {
13
- className: `flex-1 py-2 px-4 text-sm font-medium transition-colors duration-200 rounded-l-lg border border-r-0 border-gray-300 ${activeTab === 'desktop' ? 'bg-blue-500 text-white border-blue-500' : 'bg-white text-gray-700 hover:bg-gray-50 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700'}`,
14
- onClick: () => onTabChange('desktop'),
15
- children: jsxs("span", {
16
- className: "flex items-center justify-center",
17
- children: [jsxs("svg", {
18
- xmlns: "http://www.w3.org/2000/svg",
19
- width: "16",
20
- height: "16",
21
- viewBox: "0 0 24 24",
22
- fill: "none",
23
- stroke: "currentColor",
24
- strokeWidth: "2",
25
- strokeLinecap: "round",
26
- strokeLinejoin: "round",
27
- className: "mr-1",
28
- children: [jsx("rect", {
29
- x: "2",
30
- y: "3",
31
- width: "20",
32
- height: "14",
33
- rx: "2",
34
- ry: "2"
35
- }), jsx("line", {
36
- x1: "8",
37
- y1: "21",
38
- x2: "16",
39
- y2: "21"
40
- }), jsx("line", {
41
- x1: "12",
42
- y1: "17",
43
- x2: "12",
44
- y2: "21"
45
- })]
46
- }), t('desktop_tab')]
47
- })
48
- }), jsx("button", {
49
- className: `flex-1 py-2 px-4 text-sm font-medium transition-colors duration-200 rounded-r-lg border border-gray-300 ${activeTab === 'mobile' ? 'bg-blue-500 text-white border-blue-500' : 'bg-white text-gray-700 hover:bg-gray-50 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700'}`,
50
- onClick: () => onTabChange('mobile'),
51
- children: jsxs("span", {
52
- className: "flex items-center justify-center",
53
- children: [jsxs("svg", {
54
- xmlns: "http://www.w3.org/2000/svg",
55
- width: "16",
56
- height: "16",
57
- viewBox: "0 0 24 24",
58
- fill: "none",
59
- stroke: "currentColor",
60
- strokeWidth: "2",
61
- strokeLinecap: "round",
62
- strokeLinejoin: "round",
63
- className: "mr-1",
64
- children: [jsx("rect", {
65
- x: "5",
66
- y: "2",
67
- width: "14",
68
- height: "20",
69
- rx: "2",
70
- ry: "2"
71
- }), jsx("line", {
72
- x1: "12",
73
- y1: "18",
74
- x2: "12",
75
- y2: "18"
76
- })]
77
- }), t('mobile_tab')]
78
- })
79
- })]
80
- })
81
- });
8
+ return React__default.createElement("div", {
9
+ className: "mt-4"
10
+ }, React__default.createElement("div", {
11
+ className: "flex mb-4"
12
+ }, React__default.createElement("button", {
13
+ className: `flex-1 py-2 px-4 text-sm font-medium transition-colors duration-200 rounded-l-lg border border-r-0 border-gray-300 ${activeTab === 'desktop' ? 'bg-blue-500 text-white border-blue-500' : 'bg-white text-gray-700 hover:bg-gray-50 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700'}`,
14
+ onClick: () => onTabChange('desktop')
15
+ }, React__default.createElement("span", {
16
+ className: "flex items-center justify-center"
17
+ }, React__default.createElement("svg", {
18
+ xmlns: "http://www.w3.org/2000/svg",
19
+ width: "16",
20
+ height: "16",
21
+ viewBox: "0 0 24 24",
22
+ fill: "none",
23
+ stroke: "currentColor",
24
+ strokeWidth: "2",
25
+ strokeLinecap: "round",
26
+ strokeLinejoin: "round",
27
+ className: "mr-1"
28
+ }, React__default.createElement("rect", {
29
+ x: "2",
30
+ y: "3",
31
+ width: "20",
32
+ height: "14",
33
+ rx: "2",
34
+ ry: "2"
35
+ }), React__default.createElement("line", {
36
+ x1: "8",
37
+ y1: "21",
38
+ x2: "16",
39
+ y2: "21"
40
+ }), React__default.createElement("line", {
41
+ x1: "12",
42
+ y1: "17",
43
+ x2: "12",
44
+ y2: "21"
45
+ })), t('desktop_tab'))), React__default.createElement("button", {
46
+ className: `flex-1 py-2 px-4 text-sm font-medium transition-colors duration-200 rounded-r-lg border border-gray-300 ${activeTab === 'mobile' ? 'bg-blue-500 text-white border-blue-500' : 'bg-white text-gray-700 hover:bg-gray-50 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700'}`,
47
+ onClick: () => onTabChange('mobile')
48
+ }, React__default.createElement("span", {
49
+ className: "flex items-center justify-center"
50
+ }, React__default.createElement("svg", {
51
+ xmlns: "http://www.w3.org/2000/svg",
52
+ width: "16",
53
+ height: "16",
54
+ viewBox: "0 0 24 24",
55
+ fill: "none",
56
+ stroke: "currentColor",
57
+ strokeWidth: "2",
58
+ strokeLinecap: "round",
59
+ strokeLinejoin: "round",
60
+ className: "mr-1"
61
+ }, React__default.createElement("rect", {
62
+ x: "5",
63
+ y: "2",
64
+ width: "14",
65
+ height: "20",
66
+ rx: "2",
67
+ ry: "2"
68
+ }), React__default.createElement("line", {
69
+ x1: "12",
70
+ y1: "18",
71
+ x2: "12",
72
+ y2: "18"
73
+ })), t('mobile_tab')))));
82
74
  }export{DeviceTabs};//# sourceMappingURL=DeviceTabs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeviceTabs.js","sources":["../../../../src/components/SettingDrawer/components/DeviceTabs.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"6FAQgB,UAAU,CAAC;WACjB;AAEN,EAAA;AAMwB,CAAA,EAAA;AACA,EAAA,MAAA;AA2BA,IAAA;+BACE,CAAA;AA0B9B,EAAC,OAAAA,GAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"DeviceTabs.js","sources":["../../../../src/components/SettingDrawer/components/DeviceTabs.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"sFAQgB,UAAU,CAAC;WACjB;AAEN,EAAA;;AAGY,EAAA,MAAA;AAGY,IAAA;AACA,GAAA,GAAA,cAAA,CAAC,UAAC,CAAA;qCAIV,CAAA,KAAA,EAAA;AACI,IAAA,SAAA,EAAA;iCAYI,CAAA,KAAA,EAAA;AACA,IAAA,SAAA,EAAA;AACA,GAAA,EAAAA,cAAA,CAAA,aAAA,CAAA,QAAA,EAAA;AAEH,IAAA,SAAA,EAAA,CAAA,mHAEA,EAAA,SAAA,KAAA,SAAA,GAAA,wCAAA,GAAA,oGAAA,CAAA,CAAA;AACT,IAAA,OAAA,EAAA,MAAA,WAAA,CAAA,SAAA;AAGY,GAAA,EAAAA,cAAA,CAAA,aAAE,CAAA,MAAA,EAAA;AACF,IAAA,SAAA,EAAA;iCAIR,CAAA,KAAA,EAAA;AACI,IAAA,KAAA,EAAA,4BAAA;;AAaI,IAAA,MAAA,EAAA,IAAA;;AAQ5B,IAAC,IAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { ILayoutSettingsProps } from '../utils/types';
2
- export declare function InvitationSettings(props: ILayoutSettingsProps | any): import("react/jsx-runtime").JSX.Element;
3
+ export declare function InvitationSettings(props: ILayoutSettingsProps | any): React.JSX.Element;
3
4
  //# sourceMappingURL=InvitationSettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InvitationSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/InvitationSettings.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAItD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,oBAAoB,GAAG,GAAG,2CAsEnE"}
1
+ {"version":3,"file":"InvitationSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/InvitationSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAItD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,oBAAoB,GAAG,GAAG,qBAsEnE"}
@@ -1,4 +1,4 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';import*as React from'react';import {useTranslation}from'react-i18next';import {Switch}from'./Switch.js';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import {getSettingValue}from'../../../utils/settingsUtils.js';function InvitationSettings(props) {
1
+ import*as React from'react';import {useTranslation}from'react-i18next';import {Switch}from'./Switch.js';import'@react-icons/all-files/fa/FaMoon.js';import'@react-icons/all-files/fa/FaSun.js';import {useMediaQuery}from'../../../hooks/useMediaQuery.js';import {getSettingValue}from'../../../utils/settingsUtils.js';function InvitationSettings(props) {
2
2
  const {
3
3
  settings,
4
4
  changeSetting,
@@ -29,55 +29,44 @@ import {jsxs,jsx}from'react/jsx-runtime';import*as React from'react';import {use
29
29
  const textColor = {
30
30
  color: settings?.navTheme === 'dark' ? '#ffff' : 'black'
31
31
  };
32
- return jsxs("div", {
33
- children: [jsx("p", {
34
- className: "mb-2 font-medium",
35
- style: textColor,
36
- children: t('invitation_settings') || 'Invitation Settings'
37
- }), jsxs("div", {
38
- className: "flex items-center mt-4",
39
- children: [jsx("span", {
40
- style: textColor,
41
- children: t('show_email_invite') || 'Show Email Invite'
42
- }), jsx("div", {
43
- className: "flex-grow"
44
- }), jsx(Switch, {
45
- value: !!invitations.showEmailInvite,
46
- onChange: checked => handleInvitationChange('showEmailInvite', checked)
47
- })]
48
- }), jsxs("div", {
49
- className: "flex items-center mt-4",
50
- children: [jsx("span", {
51
- style: textColor,
52
- children: t('show_sms_invite') || 'Show SMS Invite'
53
- }), jsx("div", {
54
- className: "flex-grow"
55
- }), jsx(Switch, {
56
- value: !!invitations.showSmsInvite,
57
- onChange: checked => handleInvitationChange('showSmsInvite', checked)
58
- })]
59
- }), jsxs("div", {
60
- className: "flex items-center mt-4",
61
- children: [jsx("span", {
62
- style: textColor,
63
- children: t('show_qr_code_invite') || 'Show QR Code Invite'
64
- }), jsx("div", {
65
- className: "flex-grow"
66
- }), jsx(Switch, {
67
- value: !!invitations.showQrCodeInvite,
68
- onChange: checked => handleInvitationChange('showQrCodeInvite', checked)
69
- })]
70
- }), jsxs("div", {
71
- className: "flex items-center mt-4",
72
- children: [jsx("span", {
73
- style: textColor,
74
- children: t('show_invite_link') || 'Show Invite Link'
75
- }), jsx("div", {
76
- className: "flex-grow"
77
- }), jsx(Switch, {
78
- value: !!invitations.showInviteLink,
79
- onChange: checked => handleInvitationChange('showInviteLink', checked)
80
- })]
81
- })]
82
- });
32
+ return React.createElement("div", null, React.createElement("p", {
33
+ className: "mb-2 font-medium",
34
+ style: textColor
35
+ }, t('invitation_settings') || 'Invitation Settings'), React.createElement("div", {
36
+ className: "flex items-center mt-4"
37
+ }, React.createElement("span", {
38
+ style: textColor
39
+ }, t('show_email_invite') || 'Show Email Invite'), React.createElement("div", {
40
+ className: "flex-grow"
41
+ }), React.createElement(Switch, {
42
+ value: !!invitations.showEmailInvite,
43
+ onChange: checked => handleInvitationChange('showEmailInvite', checked)
44
+ })), React.createElement("div", {
45
+ className: "flex items-center mt-4"
46
+ }, React.createElement("span", {
47
+ style: textColor
48
+ }, t('show_sms_invite') || 'Show SMS Invite'), React.createElement("div", {
49
+ className: "flex-grow"
50
+ }), React.createElement(Switch, {
51
+ value: !!invitations.showSmsInvite,
52
+ onChange: checked => handleInvitationChange('showSmsInvite', checked)
53
+ })), React.createElement("div", {
54
+ className: "flex items-center mt-4"
55
+ }, React.createElement("span", {
56
+ style: textColor
57
+ }, t('show_qr_code_invite') || 'Show QR Code Invite'), React.createElement("div", {
58
+ className: "flex-grow"
59
+ }), React.createElement(Switch, {
60
+ value: !!invitations.showQrCodeInvite,
61
+ onChange: checked => handleInvitationChange('showQrCodeInvite', checked)
62
+ })), React.createElement("div", {
63
+ className: "flex items-center mt-4"
64
+ }, React.createElement("span", {
65
+ style: textColor
66
+ }, t('show_invite_link') || 'Show Invite Link'), React.createElement("div", {
67
+ className: "flex-grow"
68
+ }), React.createElement(Switch, {
69
+ value: !!invitations.showInviteLink,
70
+ onChange: checked => handleInvitationChange('showInviteLink', checked)
71
+ })));
83
72
  }export{InvitationSettings};//# sourceMappingURL=InvitationSettings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InvitationSettings.js","sources":["../../../../src/components/SettingDrawer/components/InvitationSettings.tsx"],"sourcesContent":[null],"names":[],"mappings":"kWAOM,SAAU,kBAAkB,CAAC,KAAiC,EAAA;AAChE,EAAA,MAAA;IACA,QAAQ;AACR,IAAA,aAAQ;IACR,QAAM;IACN,YAAM;IAEN,gBAAA,GAAA;AACA,GAAA,GAAA;AACI,EAAA,MAAA;IAQJ;AAEA,GAAA,GAAA,0BAA4B;AACxB,EAAA,MAAA;;AACA,GAAA,GAAA;AACI,EAAA,MAAA,YAAG,GAAA,YAAW,IAAA,QAAA,EAAA,QAAA,IAAA,GAAA;kBACT,GAAE,QAAK,GAAA,QAAA,GAAA,SAAA;;AAGhB,EAAA,MAAA,WAAA,GAAc,KAAA,CAAA,OAAA,CAAA,MAAA;AAClB,IAAA,OAAE,eAAA,CAAA,QAAA,EAAA,kCAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,EAAA,CAAA;AAEF,EAAA,CAAA,EAAA,CAAA,0BAA2B,EAAA,YAAU,EAAA,YAAmB;QAExD,sBACI,GAAA,CAAA,GAAA,EACI,KAAA,KAAA;AAqCZ,IAAC,IAAA,CAAA,aAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"InvitationSettings.js","sources":["../../../../src/components/SettingDrawer/components/InvitationSettings.tsx"],"sourcesContent":[null],"names":[],"mappings":"yTAOM,SAAU,kBAAkB,CAAC,KAAiC,EAAA;AAChE,EAAA,MAAA;IACA,QAAQ;AACR,IAAA,aAAQ;IACR,QAAM;IACN,YAAM;IAEN,gBAAA,GAAA;AACA,GAAA,GAAA;AACI,EAAA,MAAA;IAQJ;AAEA,GAAA,GAAA,0BAA4B;AACxB,EAAA,MAAA;;AACA,GAAA,GAAA;AACI,EAAA,MAAA,YAAG,GAAA,YAAW,IAAA,QAAA,EAAA,QAAA,IAAA,GAAA;kBACT,GAAE,QAAK,GAAA,QAAA,GAAA,SAAA;;AAGhB,EAAA,MAAA,WAAA,GAAc,KAAA,CAAA,OAAA,CAAA,MAAA;AAClB,IAAA,OAAE,eAAA,CAAA,QAAA,EAAA,kCAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,EAAA,CAAA;AAEF,EAAA,CAAA,EAAA,CAAA,0BAA2B,EAAA,YAAU,EAAA,YAAmB;AAExD,EAAA,MAAA,sBACI,GAAA,CAAA,GAAA,EAAA,KAAA,KAAA;AACI,IAAA,IAAA,CAAA,aAAA,EAAA;UAGA,cAAA,GAAA;oBACI;aACA;;iBAMJ,CAAA,CAAA,gCAAe,CAAA,EAAA,cAAA,CAAA;;iBAEX,GAAA;mBACA,EAAA,QAAA,KAAC,MAAM,GACH,OAAQ,GAAC;;cAKb,CAAA,aAAA,CAAA,KAAA,EAAA,IAAA,EAAM,KAAK,CAAA,aAAW,CAAG,GAAE,EAAA;aAC3B,EAAA,kBAAA;;4BAMJ,CAAA,IAAA,qBAAe,CAAA,EAAA,KAAA,CAAA,aAAwB,CAAA,KAAA,EAAA;aACnC,EAAA;wBACA,CAAA,MAAA,EAAA;;AAQhB,GAAC,EAAA,CAAA,CAAA,mBAAA,CAAA,IAAA,mBAAA,CAAA,EAAA,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { ILayoutSettingsProps } from '../utils/types';
2
- export declare function LayoutChange(props: ILayoutSettingsProps | any): import("react/jsx-runtime").JSX.Element;
3
+ export declare function LayoutChange(props: ILayoutSettingsProps | any): React.JSX.Element;
3
4
  //# sourceMappingURL=LayoutChange.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutChange.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/LayoutChange.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAItD,wBAAgB,YAAY,CAAC,KAAK,EAAE,oBAAoB,GAAG,GAAG,2CAwI7D"}
1
+ {"version":3,"file":"LayoutChange.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/LayoutChange.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAItD,wBAAgB,YAAY,CAAC,KAAK,EAAE,oBAAoB,GAAG,GAAG,qBAwI7D"}