@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,4 +1,4 @@
1
- import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {useMemo}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 LayoutChange(props) {
1
+ import*as React from'react';import {useMemo}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 LayoutChange(props) {
2
2
  const {
3
3
  settings,
4
4
  changeSetting,
@@ -34,97 +34,78 @@ import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {useMemo}from'react';im
34
34
  const textColor = {
35
35
  color: navTheme === 'dark' ? '#ffff' : 'black'
36
36
  };
37
- return jsxs("div", {
38
- children: [jsxs("div", {
39
- className: "flex items-center mt-4",
40
- children: [jsx("p", {
41
- className: "mb-0",
42
- style: textColor,
43
- children: t('fixed_header')
44
- }), jsx("div", {
45
- className: "flex-grow"
46
- }), jsx(Switch, {
47
- value: layoutValues.fixedHeader,
48
- onChange: checked => handleLayoutChange('fixedHeader', checked)
49
- })]
50
- }), jsxs("div", {
51
- className: "flex items-center mt-4",
52
- children: [jsx("p", {
53
- className: "mb-0",
54
- style: textColor,
55
- children: t('fixed_sidebar')
56
- }), jsx("div", {
57
- className: "flex-grow"
58
- }), jsx(Switch, {
59
- value: layoutValues.fixedSidebar,
60
- onChange: checked => handleLayoutChange('fixedSidebar', checked)
61
- })]
62
- }), jsxs("div", {
63
- className: "flex items-center mt-4",
64
- children: [jsx("p", {
65
- className: "mb-0",
66
- style: textColor,
67
- children: t('split_menus')
68
- }), jsx("div", {
69
- className: "flex-grow"
70
- }), jsx(Switch, {
71
- value: layoutValues.splitMenus,
72
- onChange: checked => handleLayoutChange('splitMenus', checked)
73
- })]
74
- }), layoutValues.splitMenus && jsxs(Fragment, {
75
- children: [jsx("div", {
76
- className: "mt-6 mb-2",
77
- children: jsx("p", {
78
- className: "text-sm font-medium",
79
- style: textColor,
80
- children: t('menu_divider_names')
81
- })
82
- }), jsxs("div", {
83
- className: "flex flex-col space-y-4",
84
- children: [jsxs("div", {
85
- className: "flex flex-col",
86
- children: [jsx("label", {
87
- className: "text-xs mb-1",
88
- style: textColor,
89
- children: t('upper_menu_divider')
90
- }), jsx("input", {
91
- type: "text",
92
- className: "px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",
93
- value: layoutValues.upperMenuDividerName,
94
- onChange: e => {
95
- handleLayoutChange('upperMenuDividerName', e.target.value);
96
- }
97
- })]
98
- }), jsxs("div", {
99
- className: "flex flex-col",
100
- children: [jsx("label", {
101
- className: "text-xs mb-1",
102
- style: textColor,
103
- children: t('middle_menu_divider')
104
- }), jsx("input", {
105
- type: "text",
106
- className: "px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",
107
- value: layoutValues.middleMenuDividerName,
108
- onChange: e => {
109
- handleLayoutChange('middleMenuDividerName', e.target.value);
110
- }
111
- })]
112
- }), jsxs("div", {
113
- className: "flex flex-col",
114
- children: [jsx("label", {
115
- className: "text-xs mb-1",
116
- style: textColor,
117
- children: t('lower_menu_divider')
118
- }), jsx("input", {
119
- type: "text",
120
- className: "px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",
121
- value: layoutValues.lowerMenuDividerName,
122
- onChange: e => {
123
- handleLayoutChange('lowerMenuDividerName', e.target.value);
124
- }
125
- })]
126
- })]
127
- })]
128
- })]
129
- });
37
+ return React.createElement("div", null, React.createElement("div", {
38
+ className: "flex items-center mt-4"
39
+ }, React.createElement("p", {
40
+ className: "mb-0",
41
+ style: textColor
42
+ }, t('fixed_header')), React.createElement("div", {
43
+ className: "flex-grow"
44
+ }), React.createElement(Switch, {
45
+ value: layoutValues.fixedHeader,
46
+ onChange: checked => handleLayoutChange('fixedHeader', checked)
47
+ })), React.createElement("div", {
48
+ className: "flex items-center mt-4"
49
+ }, React.createElement("p", {
50
+ className: "mb-0",
51
+ style: textColor
52
+ }, t('fixed_sidebar')), React.createElement("div", {
53
+ className: "flex-grow"
54
+ }), React.createElement(Switch, {
55
+ value: layoutValues.fixedSidebar,
56
+ onChange: checked => handleLayoutChange('fixedSidebar', checked)
57
+ })), React.createElement("div", {
58
+ className: "flex items-center mt-4"
59
+ }, React.createElement("p", {
60
+ className: "mb-0",
61
+ style: textColor
62
+ }, t('split_menus')), React.createElement("div", {
63
+ className: "flex-grow"
64
+ }), React.createElement(Switch, {
65
+ value: layoutValues.splitMenus,
66
+ onChange: checked => handleLayoutChange('splitMenus', checked)
67
+ })), layoutValues.splitMenus && React.createElement(React.Fragment, null, React.createElement("div", {
68
+ className: "mt-6 mb-2"
69
+ }, React.createElement("p", {
70
+ className: "text-sm font-medium",
71
+ style: textColor
72
+ }, t('menu_divider_names'))), React.createElement("div", {
73
+ className: "flex flex-col space-y-4"
74
+ }, React.createElement("div", {
75
+ className: "flex flex-col"
76
+ }, React.createElement("label", {
77
+ className: "text-xs mb-1",
78
+ style: textColor
79
+ }, t('upper_menu_divider')), React.createElement("input", {
80
+ type: "text",
81
+ className: "px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",
82
+ value: layoutValues.upperMenuDividerName,
83
+ onChange: e => {
84
+ handleLayoutChange('upperMenuDividerName', e.target.value);
85
+ }
86
+ })), React.createElement("div", {
87
+ className: "flex flex-col"
88
+ }, React.createElement("label", {
89
+ className: "text-xs mb-1",
90
+ style: textColor
91
+ }, t('middle_menu_divider')), React.createElement("input", {
92
+ type: "text",
93
+ className: "px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",
94
+ value: layoutValues.middleMenuDividerName,
95
+ onChange: e => {
96
+ handleLayoutChange('middleMenuDividerName', e.target.value);
97
+ }
98
+ })), React.createElement("div", {
99
+ className: "flex flex-col"
100
+ }, React.createElement("label", {
101
+ className: "text-xs mb-1",
102
+ style: textColor
103
+ }, t('lower_menu_divider')), React.createElement("input", {
104
+ type: "text",
105
+ className: "px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",
106
+ value: layoutValues.lowerMenuDividerName,
107
+ onChange: e => {
108
+ handleLayoutChange('lowerMenuDividerName', e.target.value);
109
+ }
110
+ })))));
130
111
  }export{LayoutChange};//# sourceMappingURL=LayoutChange.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutChange.js","sources":["../../../../src/components/SettingDrawer/components/LayoutChange.tsx"],"sourcesContent":[null],"names":[],"mappings":"2WAQM,SAAU,YAAY,CAAC,KAAiC,EAAA;AAC1D,EAAA,MAAA;IACA,QAAQ;AACR,IAAA,aAAQ;IACR,QAAM;AACN,IAAA,YAAQ;AACR,IAAA,gBAAgB,GAAG;MAEnB,KAAA;AACA,EAAA,MAAA;AAEQ,IAAA;AACA,GAAA,GAAA,cAAY,CAAA,UAAE,CAAA;AACd,EAAA,MAAA;AACA,IAAA;AAQA,GAAA,GAAA,aAAA,EAAA;AAQA,EAAA,MAAA,YAAA,GAAA,YAAsB,IAAA,QAClB,EAAA,QACA,IAAA,GAAA;QAOR;AAGJ,IAAA;AACI,GAAA,GAAA,QAAK,IAAA,EAAA;kBAAe,GAAO,QAAA,GAAA,QAAA,GAAA,SAAA;;AAE3B,EAAA,MAAA,YAAA,GAAc,OAAK,CAAA,OAAO;AAC9B,IAAA,WAAE,EAAA,eAAA,CAAA,QAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,IAAA,CAAA;AAEF,IAAA,sCAAmC,EAAK,cAAS,EAAO,gBAAa,EAAA,YAAA,EAAA,UAAA,EAAA,IAAA,CAAA;IAErE,UACI,EAAA,eAAA,CAAA,QACI,EAAA,YAAK,EAAA,gCAAkC,UAAA,EAAA,KACnC,CAAA;kDAgDoB,EAAA,wCAA6C,EAAA,YAAc,EAAA,UAAA,EAAA,YAAA,CAAA;AAC/D,IAAA,qBAAA,EAAA,iDAGO,kBAAe,EAAA,YAC1B,EAAA,UAAO,aAAU,CAAA;kDAQT,EAAA,wCAA8C,EAAA,YAAc,EAAA,UAAA,EAAA,OAAA;AAChE,GAAA,CAAA,EAAA,CAAA,QAAA,EAAA,gBAAA,EAAA,YACF,EACA;6CAUM;AACJ,IAAA,IAAA,CAAA,aAAA,EAAA;AAQhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"LayoutChange.js","sources":["../../../../src/components/SettingDrawer/components/LayoutChange.tsx"],"sourcesContent":[null],"names":[],"mappings":"qVAQM,S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AA,EAAA;;iBAIA,CAAA,GAAA,EAAA,KAAA,CAAA;;AAMA,EAAA,MAAA,SAAA,GAAA;mBAGA,KAAA,MAAA,GAAA,OAAA,GAAK;;SAQR,KAAA,CAAA,aAAa,CAAA,KAAU,EACpB,IAAA,EAAA,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;aACI,EAAA;AACI,GAAA,EAAA,KAAA,CAAA,aAAA,CAAA,GAAA,EAAA;aAIJ,EAAA,MAAA;;AAEQ,GAAA,EAAA,CAAA,CAAA,cAAA,CAAA,CAAA,EAAA,KAAA,CAAA,aAAA,CAAA,KAAA,EAAO;AAGP,IAAA,SAAA,EAAA;gCAKQ,EAAA;AACJ,IAAA,KAAA,EAAA,YAAA,CAAA,WAEF;qBACN,IAAA,kBAAA,CAAA,aAAe,EAAA,OAAA;AACX,GAAA,CAAA,CAAA,EAAA,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAGA,IAAA,SAAA,EAAA;4BAKQ,EAAA;AACJ,IAAA,SAAA,EAAA,MAAA;;AAIJ,GAAA,EAAA,CAAA,CAAA,eAAA,CAAA,CAAA,EAAA,KAAA,CAAA,aAAA,CAAA,KAAO,EAAA;AAGP,IAAA,SAAA,EAAA;gCAKQ,EAAA;AACJ,IAAA,KAAA,EAAA,YAAA,CAAA,YAO1B;AACN,IAAC,QAAA,EAAA,OAAA,IAAA,kBAAA,CAAA,cAAA,EAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  interface MenuItem {
2
3
  key: string;
3
4
  name: string;
@@ -15,6 +16,6 @@ interface MenuVisibilitySettingsProps {
15
16
  };
16
17
  changeSetting: (key: string, value: any) => void;
17
18
  }
18
- export declare function MenuVisibilitySettings({ fullMenuData, settings, changeSetting }: MenuVisibilitySettingsProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function MenuVisibilitySettings({ fullMenuData, settings, changeSetting }: MenuVisibilitySettingsProps): React.JSX.Element;
19
20
  export {};
20
21
  //# sourceMappingURL=MenuVisibilitySettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuVisibilitySettings.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/MenuVisibilitySettings.tsx"],"names":[],"mappings":"AAOA,UAAU,QAAQ;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED,UAAU,2BAA2B;IACjC,YAAY,EAAE,QAAQ,EAAE,CAAC;IACzB,QAAQ,EAAE;QACN,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;QAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACtB,CAAC;IACF,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CACpD;AA0DD,wBAAgB,sBAAsB,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,2BAA2B,2CAqF5G"}
1
+ {"version":3,"file":"MenuVisibilitySettings.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/MenuVisibilitySettings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,UAAU,QAAQ;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED,UAAU,2BAA2B;IACjC,YAAY,EAAE,QAAQ,EAAE,CAAC;IACzB,QAAQ,EAAE;QACN,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;QAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACtB,CAAC;IACF,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CACpD;AA0DD,wBAAgB,sBAAsB,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,2BAA2B,qBAqF5G"}
@@ -1,4 +1,4 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';import {useState,useMemo,useCallback}from'react';import {useTranslation}from'react-i18next';// all keys included now ['usermenu', 'topmenu']
1
+ import*as React from'react';import {useState,useMemo,useCallback}from'react';import {useTranslation}from'react-i18next';// all keys included now ['usermenu', 'topmenu']
2
2
  const EXCLUDED_MENU_KEYS = [];
3
3
  const MENU_POSITIONS = ['UPPER', 'MIDDLE', 'LOWER', 'BOTTOM'];
4
4
  // Helper functions
@@ -19,28 +19,25 @@ function renderMenuItems(items, indent, hiddenMenuKeys, getDisplayNameFn, toggle
19
19
  return items.map(item => {
20
20
  const isVisible = !hiddenMenuKeys.includes(item.key);
21
21
  const displayName = getDisplayNameFn(item);
22
- return jsxs("div", {
23
- children: [jsxs("div", {
24
- className: "flex items-center py-0.5",
25
- children: [jsx("input", {
26
- type: "checkbox",
27
- id: `menu-item-${item.key}`,
28
- className: "mr-2 h-3 w-3 rounded border-gray-300 dark:border-gray-600 focus:ring-primary dark:focus:ring-primary bg-white dark:bg-gray-700 accent-primary",
29
- checked: isVisible,
30
- onChange: () => toggleMenuItemFn(item.key)
31
- }), jsx("label", {
32
- htmlFor: `menu-item-${item.key}`,
33
- className: "text-xs text-black dark:text-white cursor-pointer flex-1",
34
- style: {
35
- paddingLeft: `${indent * 12}px`
36
- },
37
- children: displayName
38
- })]
39
- }), isVisible && item.children && item.children.length > 0 && jsx("div", {
40
- className: "ml-6",
41
- children: renderMenuItems(item.children, indent + 1, hiddenMenuKeys, getDisplayNameFn, toggleMenuItemFn)
42
- })]
43
- }, item.key);
22
+ return React.createElement("div", {
23
+ key: item.key
24
+ }, React.createElement("div", {
25
+ className: "flex items-center py-0.5"
26
+ }, React.createElement("input", {
27
+ type: "checkbox",
28
+ id: `menu-item-${item.key}`,
29
+ className: "mr-2 h-3 w-3 rounded border-gray-300 dark:border-gray-600 focus:ring-primary dark:focus:ring-primary bg-white dark:bg-gray-700 accent-primary",
30
+ checked: isVisible,
31
+ onChange: () => toggleMenuItemFn(item.key)
32
+ }), React.createElement("label", {
33
+ htmlFor: `menu-item-${item.key}`,
34
+ className: "text-xs text-black dark:text-white cursor-pointer flex-1",
35
+ style: {
36
+ paddingLeft: `${indent * 12}px`
37
+ }
38
+ }, displayName)), isVisible && item.children && item.children.length > 0 && React.createElement("div", {
39
+ className: "ml-6"
40
+ }, renderMenuItems(item.children, indent + 1, hiddenMenuKeys, getDisplayNameFn, toggleMenuItemFn)));
44
41
  });
45
42
  }
46
43
  function MenuVisibilitySettings({
@@ -76,44 +73,34 @@ function MenuVisibilitySettings({
76
73
  const renderedMenuItems = useMemo(() => {
77
74
  return renderMenuItems(allMenuItems, 0, hiddenMenuKeys, boundGetDisplayName, boundToggleMenuItem);
78
75
  }, [allMenuItems, hiddenMenuKeys, boundGetDisplayName, boundToggleMenuItem]);
79
- return jsxs("div", {
80
- className: "space-y-4",
81
- children: [jsx("div", {
82
- className: "flex items-center mb-2",
83
- children: jsxs("button", {
84
- onClick: () => setIsExpanded(!isExpanded),
85
- className: "flex items-center gap-2 hover:opacity-80 transition-all duration-200",
86
- children: [jsx("svg", {
87
- className: `w-4 h-4 transition-transform duration-300 ease-in-out ${isExpanded ? 'rotate-180' : ''}`,
88
- fill: "none",
89
- stroke: "currentColor",
90
- viewBox: "0 0 24 24",
91
- children: jsx("path", {
92
- strokeLinecap: "round",
93
- strokeLinejoin: "round",
94
- strokeWidth: 2,
95
- d: "M19 9l-7 7-7-7"
96
- })
97
- }), jsx("p", {
98
- className: "text-md font-medium text-black dark:text-white",
99
- children: t('menu_visibility.title') || 'Menu Visibility'
100
- })]
101
- })
102
- }), jsx("div", {
103
- className: `grid transition-all duration-300 ease-in-out ${isExpanded ? 'grid-rows-[1fr]' : 'grid-rows-[0fr]'}`,
104
- children: jsx("div", {
105
- className: "overflow-hidden",
106
- children: jsx("div", {
107
- className: "ml-4 mb-4 border-l-2 border-gray-200 dark:border-gray-600 pl-4",
108
- children: jsx("div", {
109
- className: "space-y-2",
110
- children: allMenuItems.length === 0 ? jsx("div", {
111
- className: "text-center text-gray-500 dark:text-gray-400 py-4",
112
- children: t('menu_visibility.no_items') || 'No menu items found'
113
- }) : renderedMenuItems
114
- })
115
- })
116
- })
117
- })]
118
- });
76
+ return React.createElement("div", {
77
+ className: "space-y-4"
78
+ }, React.createElement("div", {
79
+ className: "flex items-center mb-2"
80
+ }, React.createElement("button", {
81
+ onClick: () => setIsExpanded(!isExpanded),
82
+ className: "flex items-center gap-2 hover:opacity-80 transition-all duration-200"
83
+ }, React.createElement("svg", {
84
+ className: `w-4 h-4 transition-transform duration-300 ease-in-out ${isExpanded ? 'rotate-180' : ''}`,
85
+ fill: "none",
86
+ stroke: "currentColor",
87
+ viewBox: "0 0 24 24"
88
+ }, React.createElement("path", {
89
+ strokeLinecap: "round",
90
+ strokeLinejoin: "round",
91
+ strokeWidth: 2,
92
+ d: "M19 9l-7 7-7-7"
93
+ })), React.createElement("p", {
94
+ className: "text-md font-medium text-black dark:text-white"
95
+ }, t('menu_visibility.title') || 'Menu Visibility'))), React.createElement("div", {
96
+ className: `grid transition-all duration-300 ease-in-out ${isExpanded ? 'grid-rows-[1fr]' : 'grid-rows-[0fr]'}`
97
+ }, React.createElement("div", {
98
+ className: "overflow-hidden"
99
+ }, React.createElement("div", {
100
+ className: "ml-4 mb-4 border-l-2 border-gray-200 dark:border-gray-600 pl-4"
101
+ }, React.createElement("div", {
102
+ className: "space-y-2"
103
+ }, allMenuItems.length === 0 ? React.createElement("div", {
104
+ className: "text-center text-gray-500 dark:text-gray-400 py-4"
105
+ }, t('menu_visibility.no_items') || 'No menu items found') : renderedMenuItems)))));
119
106
  }export{MenuVisibilitySettings};//# sourceMappingURL=MenuVisibilitySettings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuVisibilitySettings.js","sources":["../../../../src/components/SettingDrawer/components/MenuVisibilitySettings.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"qIAGA;AACA,MAAM,kBAAkB,GAAG,EAAE;AAC7B,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;AAqBtE;AACA,SAAS,cAAc,CAAC,IAAc,EAAE,CAA0B,EAAA;MAC9D,IAAI,CAAA,GAAK,EAAG,OAAA,IAAA,CAAA,GAAA;UAAE,CAAA,IAAO,EAAA,UAAS,CAAA,OAAA,CAAA,EAAA;IAC9B,MAAI,KAAK,GAAI,eAAa,CAAA,GAAO,CAAC;WAC9B,KAAM,CAAA,MAAQ,GAAI,CAAC,GAAA,KAAK,CAAA,KAAS,CAAC,MAAC,GAAA,CAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA,WAAA,EAAA,GAAA,KAAA,CAAA,KAAA,CAAA,MAAA,GAAA,CAAA,CAAA,CAAA,KAAA,CAAA,CAAA,CAAA,GAAA,IAAA,CAAA,IAAA;AACnC,EAAA;AACI,EAAA,OAAA,CAAA,CAAA,IAAE,CAAA,IAAM,CAAA,IAAK,IAAC,CAAA,IAAM;AACpB;SACP,cAAA,CAAA,OAAA,EAAA,cAAA,EAAA,aAAA,EAAA;QACD,UAAc,GAAA,IAAK,GAAI,CAAA,cAAU,CAAA;AACrC,EAAC,UAAA,CAAA,GAAA,CAAA,OAAA,CAAA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G,CAAA,QAAA,EAAc,MAAC,GAAA,CAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,gBAAA;AACtC,OAAA,CAAA;AAEA,KAAA,EAAA,IAAA,CAAA,GAAA,CAAA;AAGA,EAAA,CAAA,CAAA;;AAEJ,+BAAkB,CAAA;AACtB,EAAA,YAAI;UAEJ;;;QAOA;AACA,IAAA;AACI,GAAA,GAAA,cAAO,CAAA,UAAgB,CAAA;QACvB,CAAA,UAAA,EAAY,aAAE,CAAA,GAAgB,QAAA,CAAA,KAAA,CAAA;AAElC;AA4CJ,EAAC,MAAA,cAAA,GAAA,OAAA,CAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"MenuVisibilitySettings.js","sources":["../../../../src/components/SettingDrawer/components/MenuVisibilitySettings.tsx"],"sourcesContent":[null],"names":[],"mappings":"wHAIA;AACA,MAAM,kBAAkB,GAAG,EAAE;AAC7B,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;AAqBtE;AACA,SAAS,cAAc,CAAC,IAAc,EAAE,CAA0B,EAAA;MAC9D,IAAI,CAAA,GAAK,EAAG,OAAA,IAAA,CAAA,GAAA;UAAE,CAAA,IAAO,EAAA,UAAS,CAAA,OAAA,CAAA,EAAA;IAC9B,MAAI,KAAK,GAAI,eAAa,CAAA,GAAO,CAAC;WAC9B,KAAM,CAAA,MAAQ,GAAI,CAAC,GAAA,KAAK,CAAA,KAAS,CAAC,MAAC,GAAA,CAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA,WAAA,EAAA,GAAA,KAAA,CAAA,KAAA,CAAA,MAAA,GAAA,CAAA,CAAA,CAAA,KAAA,CAAA,CAAA,CAAA,GAAA,IAAA,CAAA,IAAA;AACnC,EAAA;AACI,EAAA,OAAA,CAAA,CAAA,IAAE,CAAA,IAAM,CAAA,IA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AAA,QAAA,CAAA,IAAA,CAAA,GAAA,CAAuB,CAAC;AAKvC,MAAA,UAAA,CAAA,IAAA,CAAA,GAAA,oBACI,CAAS;;qBAKL;AACI,EAAA,CAAA,EAAA,CAAA,YAAA,CAAA,CAAA;AAcxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { NavMenuSelectorProps } from '../utils/types';
2
- export declare function NavigationModes({ changeSetting, settings, location, routePattern, applyToAllRoutes, }: NavMenuSelectorProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function NavigationModes({ changeSetting, settings, location, routePattern, applyToAllRoutes, }: NavMenuSelectorProps): React.JSX.Element;
3
4
  //# sourceMappingURL=NavigationsModes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationsModes.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/NavigationsModes.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAkFtD,wBAAgB,eAAe,CAAC,EAC5B,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,gBAAwB,GAC3B,EAAE,oBAAoB,2CA+FtB"}
1
+ {"version":3,"file":"NavigationsModes.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/components/NavigationsModes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAkFtD,wBAAgB,eAAe,CAAC,EAC5B,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,gBAAwB,GAC3B,EAAE,oBAAoB,qBA+FtB"}