flowbite-angular 1.0.0-alpha.2 → 1.0.0-alpha.4

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 (582) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +376 -0
  3. package/accordion/README.md +3 -0
  4. package/{lib/components/accordion → accordion}/accordion-content.component.d.ts +1 -1
  5. package/{lib/components/accordion → accordion}/accordion-content.theme.d.ts +1 -1
  6. package/{lib/components/accordion → accordion}/accordion-content.theme.service.d.ts +1 -1
  7. package/{lib/components/accordion → accordion}/accordion-panel.component.d.ts +1 -1
  8. package/{lib/components/accordion → accordion}/accordion-panel.theme.d.ts +1 -1
  9. package/{lib/components/accordion → accordion}/accordion-panel.theme.service.d.ts +1 -1
  10. package/{lib/components/accordion → accordion}/accordion-title.component.d.ts +2 -2
  11. package/{lib/components/accordion → accordion}/accordion-title.theme.d.ts +1 -2
  12. package/{lib/components/accordion → accordion}/accordion-title.theme.service.d.ts +1 -1
  13. package/{lib/components/accordion → accordion}/accordion.component.d.ts +1 -1
  14. package/{lib/components/accordion → accordion}/accordion.theme.d.ts +1 -4
  15. package/{lib/components/accordion → accordion}/accordion.theme.service.d.ts +1 -1
  16. package/alert/README.md +3 -0
  17. package/{lib/components/alert → alert}/alert.component.d.ts +5 -5
  18. package/{lib/components/alert → alert}/alert.theme.d.ts +1 -4
  19. package/{lib/components/alert → alert}/alert.theme.service.d.ts +1 -1
  20. package/badge/README.md +3 -0
  21. package/{lib/components/badge → badge}/badge.component.d.ts +4 -4
  22. package/{lib/components/badge → badge}/badge.theme.d.ts +1 -6
  23. package/{lib/components/badge → badge}/badge.theme.service.d.ts +1 -1
  24. package/{lib/components/base-component.directive.d.ts → base-component.directive.d.ts} +2 -2
  25. package/breadcrumb/README.md +3 -0
  26. package/{lib/components/breadcrumb → breadcrumb}/breadcrumb-item.component.d.ts +4 -4
  27. package/{lib/components/breadcrumb → breadcrumb}/breadcrumb-item.theme.d.ts +1 -2
  28. package/{lib/components/breadcrumb → breadcrumb}/breadcrumb-item.theme.service.d.ts +1 -1
  29. package/{lib/components/breadcrumb → breadcrumb}/breadcrumb.component.d.ts +1 -1
  30. package/{lib/components/breadcrumb → breadcrumb}/breadcrumb.theme.d.ts +1 -1
  31. package/{lib/components/breadcrumb → breadcrumb}/breadcrumb.theme.service.d.ts +1 -1
  32. package/button/README.md +3 -0
  33. package/{lib/components/button → button}/button.component.d.ts +2 -2
  34. package/{lib/components/button → button}/button.theme.d.ts +1 -8
  35. package/{lib/components/button → button}/button.theme.service.d.ts +1 -1
  36. package/core/README.md +3 -0
  37. package/core/index.d.ts +1 -0
  38. package/dark-theme-toggle/README.md +3 -0
  39. package/{lib/components/dark-theme-toggle → dark-theme-toggle}/dark-theme-toggle.component.d.ts +2 -2
  40. package/{lib/components/dark-theme-toggle → dark-theme-toggle}/dark-theme-toggle.theme.d.ts +1 -1
  41. package/{lib/components/dark-theme-toggle → dark-theme-toggle}/dark-theme-toggle.theme.service.d.ts +1 -1
  42. package/{lib/components/dark-theme-toggle → dark-theme-toggle}/index.d.ts +1 -2
  43. package/dropdown/README.md +3 -0
  44. package/{lib/components/dropdown → dropdown}/dropdown-divider.component.d.ts +1 -1
  45. package/{lib/components/dropdown → dropdown}/dropdown-divider.theme.d.ts +1 -1
  46. package/{lib/components/dropdown → dropdown}/dropdown-divider.theme.service.d.ts +1 -1
  47. package/{lib/components/dropdown → dropdown}/dropdown-header.component.d.ts +1 -1
  48. package/{lib/components/dropdown → dropdown}/dropdown-header.theme.d.ts +1 -1
  49. package/{lib/components/dropdown → dropdown}/dropdown-header.theme.service.d.ts +1 -1
  50. package/{lib/components/dropdown → dropdown}/dropdown-item.component.d.ts +1 -1
  51. package/{lib/components/dropdown → dropdown}/dropdown-item.theme.d.ts +1 -1
  52. package/{lib/components/dropdown → dropdown}/dropdown-item.theme.service.d.ts +1 -1
  53. package/{lib/components/dropdown → dropdown}/dropdown.component.d.ts +2 -2
  54. package/{lib/components/dropdown → dropdown}/dropdown.theme.d.ts +1 -4
  55. package/{lib/components/dropdown → dropdown}/dropdown.theme.service.d.ts +1 -1
  56. package/esm2022/accordion/accordion-content.component.mjs +47 -0
  57. package/esm2022/accordion/accordion-content.theme.mjs +19 -0
  58. package/esm2022/accordion/accordion-content.theme.service.mjs +17 -0
  59. package/esm2022/accordion/accordion-panel.component.mjs +59 -0
  60. package/esm2022/accordion/accordion-panel.theme.mjs +7 -0
  61. package/esm2022/accordion/accordion-panel.theme.service.mjs +17 -0
  62. package/esm2022/accordion/accordion-title.component.mjs +71 -0
  63. package/esm2022/accordion/accordion-title.theme.mjs +26 -0
  64. package/esm2022/accordion/accordion-title.theme.service.mjs +18 -0
  65. package/esm2022/accordion/accordion.component.mjs +50 -0
  66. package/esm2022/accordion/accordion.theme.mjs +19 -0
  67. package/esm2022/accordion/accordion.theme.service.mjs +17 -0
  68. package/esm2022/accordion/flowbite-angular-accordion.mjs +5 -0
  69. package/esm2022/accordion/index.mjs +13 -0
  70. package/esm2022/alert/alert.component.mjs +96 -0
  71. package/esm2022/alert/alert.theme.mjs +34 -0
  72. package/esm2022/alert/alert.theme.service.mjs +18 -0
  73. package/esm2022/alert/flowbite-angular-alert.mjs +5 -0
  74. package/esm2022/alert/index.mjs +4 -0
  75. package/esm2022/badge/badge.component.mjs +48 -0
  76. package/esm2022/badge/badge.theme.mjs +34 -0
  77. package/esm2022/badge/badge.theme.service.mjs +19 -0
  78. package/esm2022/badge/flowbite-angular-badge.mjs +5 -0
  79. package/esm2022/badge/index.mjs +4 -0
  80. package/esm2022/base-component.directive.mjs +34 -0
  81. package/esm2022/breadcrumb/breadcrumb-item.component.mjs +59 -0
  82. package/esm2022/breadcrumb/breadcrumb-item.theme.mjs +18 -0
  83. package/esm2022/breadcrumb/breadcrumb-item.theme.service.mjs +18 -0
  84. package/esm2022/breadcrumb/breadcrumb.component.mjs +48 -0
  85. package/esm2022/breadcrumb/breadcrumb.theme.mjs +7 -0
  86. package/esm2022/breadcrumb/breadcrumb.theme.service.mjs +17 -0
  87. package/esm2022/breadcrumb/flowbite-angular-breadcrumb.mjs +5 -0
  88. package/esm2022/breadcrumb/index.mjs +7 -0
  89. package/esm2022/{lib/components/button → button}/button.component.mjs +6 -5
  90. package/esm2022/button/button.theme.mjs +113 -0
  91. package/esm2022/button/button.theme.service.mjs +24 -0
  92. package/esm2022/button/flowbite-angular-button.mjs +5 -0
  93. package/esm2022/button/index.mjs +4 -0
  94. package/esm2022/core/flowbite-angular-core.mjs +5 -0
  95. package/esm2022/core/flowbite.theme.init.mjs +281 -0
  96. package/esm2022/core/index.mjs +2 -0
  97. package/esm2022/{lib/components/dark-theme-toggle → dark-theme-toggle}/dark-theme-toggle.component.mjs +8 -6
  98. package/esm2022/dark-theme-toggle/dark-theme-toggle.theme.mjs +7 -0
  99. package/esm2022/dark-theme-toggle/dark-theme-toggle.theme.service.mjs +17 -0
  100. package/esm2022/dark-theme-toggle/flowbite-angular-dark-theme-toggle.mjs +5 -0
  101. package/esm2022/dark-theme-toggle/index.mjs +4 -0
  102. package/esm2022/dropdown/dropdown-divider.component.mjs +36 -0
  103. package/esm2022/dropdown/dropdown-divider.theme.mjs +7 -0
  104. package/esm2022/dropdown/dropdown-divider.theme.service.mjs +17 -0
  105. package/esm2022/dropdown/dropdown-header.component.mjs +46 -0
  106. package/esm2022/dropdown/dropdown-header.theme.mjs +10 -0
  107. package/esm2022/dropdown/dropdown-header.theme.service.mjs +18 -0
  108. package/esm2022/dropdown/dropdown-item.component.mjs +36 -0
  109. package/esm2022/dropdown/dropdown-item.theme.mjs +6 -0
  110. package/esm2022/dropdown/dropdown-item.theme.service.mjs +17 -0
  111. package/esm2022/dropdown/dropdown.component.mjs +150 -0
  112. package/esm2022/dropdown/dropdown.theme.mjs +32 -0
  113. package/esm2022/dropdown/dropdown.theme.service.mjs +22 -0
  114. package/esm2022/dropdown/flowbite-angular-dropdown.mjs +5 -0
  115. package/esm2022/dropdown/index.mjs +13 -0
  116. package/esm2022/flowbite-angular.mjs +2 -2
  117. package/esm2022/flowbite.theme.service.mjs +16 -0
  118. package/esm2022/icon/flowbite-angular-icon.mjs +5 -0
  119. package/esm2022/icon/icon-registry.mjs +159 -0
  120. package/esm2022/icon/icon.component.mjs +72 -0
  121. package/esm2022/icon/index.mjs +4 -0
  122. package/esm2022/icon/trusted-types.mjs +21 -0
  123. package/esm2022/index.mjs +4 -0
  124. package/esm2022/indicator/flowbite-angular-indicator.mjs +5 -0
  125. package/esm2022/indicator/index.mjs +4 -0
  126. package/esm2022/indicator/indicators.component.mjs +55 -0
  127. package/esm2022/indicator/indicators.theme.mjs +68 -0
  128. package/esm2022/indicator/indicators.theme.service.mjs +19 -0
  129. package/esm2022/modal/flowbite-angular-modal.mjs +5 -0
  130. package/esm2022/modal/index.mjs +13 -0
  131. package/esm2022/modal/modal-body.component.mjs +36 -0
  132. package/esm2022/modal/modal-body.theme.mjs +7 -0
  133. package/esm2022/modal/modal-body.theme.service.mjs +17 -0
  134. package/esm2022/modal/modal-footer.component.mjs +36 -0
  135. package/esm2022/modal/modal-footer.theme.mjs +7 -0
  136. package/esm2022/modal/modal-footer.theme.service.mjs +17 -0
  137. package/esm2022/modal/modal-header.component.mjs +68 -0
  138. package/esm2022/modal/modal-header.theme.mjs +13 -0
  139. package/esm2022/modal/modal-header.theme.service.mjs +19 -0
  140. package/esm2022/modal/modal.component.mjs +143 -0
  141. package/esm2022/modal/modal.theme.mjs +33 -0
  142. package/esm2022/modal/modal.theme.service.mjs +20 -0
  143. package/esm2022/navbar/flowbite-angular-navbar.mjs +5 -0
  144. package/esm2022/navbar/index.mjs +19 -0
  145. package/esm2022/navbar/navbar-brand.component.mjs +36 -0
  146. package/esm2022/navbar/navbar-brand.theme.mjs +7 -0
  147. package/esm2022/navbar/navbar-brand.theme.service.mjs +17 -0
  148. package/esm2022/navbar/navbar-content.component.mjs +46 -0
  149. package/esm2022/navbar/navbar-content.theme.mjs +14 -0
  150. package/esm2022/navbar/navbar-content.theme.service.mjs +18 -0
  151. package/esm2022/navbar/navbar-icon-button.component.mjs +44 -0
  152. package/esm2022/navbar/navbar-icon-button.theme.mjs +15 -0
  153. package/esm2022/navbar/navbar-icon-button.theme.service.mjs +17 -0
  154. package/esm2022/navbar/navbar-item.component.mjs +51 -0
  155. package/esm2022/{lib/components/navbar → navbar}/navbar-item.theme.mjs +2 -2
  156. package/esm2022/navbar/navbar-item.theme.service.mjs +17 -0
  157. package/esm2022/navbar/navbar-toggle.component.mjs +52 -0
  158. package/esm2022/navbar/navbar-toggle.theme.mjs +7 -0
  159. package/esm2022/navbar/navbar-toggle.theme.service.mjs +17 -0
  160. package/esm2022/navbar/navbar.component.mjs +63 -0
  161. package/esm2022/navbar/navbar.theme.mjs +23 -0
  162. package/esm2022/navbar/navbar.theme.service.mjs +17 -0
  163. package/esm2022/router-link/flowbite-angular-router-link.mjs +5 -0
  164. package/esm2022/router-link/flowbite-router-link.directive.mjs +54 -0
  165. package/esm2022/router-link/index.mjs +2 -0
  166. package/esm2022/router-link-active/flowbite-angular-router-link-active.mjs +5 -0
  167. package/esm2022/router-link-active/flowbite-router-link-active.directive.mjs +49 -0
  168. package/esm2022/router-link-active/index.mjs +2 -0
  169. package/esm2022/sanitize-html/flowbite-angular-sanitize-html.mjs +5 -0
  170. package/esm2022/sanitize-html/index.mjs +2 -0
  171. package/esm2022/sanitize-html/sanitize-html.pipe.mjs +32 -0
  172. package/esm2022/scroll-top/flowbite-angular-scroll-top.mjs +5 -0
  173. package/esm2022/scroll-top/index.mjs +4 -0
  174. package/esm2022/scroll-top/scroll-top.component.mjs +52 -0
  175. package/esm2022/scroll-top/scroll-top.theme.mjs +27 -0
  176. package/esm2022/scroll-top/scroll-top.theme.service.mjs +17 -0
  177. package/esm2022/sidebar/flowbite-angular-sidebar.mjs +5 -0
  178. package/esm2022/sidebar/index.mjs +19 -0
  179. package/esm2022/sidebar/sidebar-item-group.component.mjs +83 -0
  180. package/esm2022/sidebar/sidebar-item-group.theme.mjs +18 -0
  181. package/esm2022/sidebar/sidebar-item-group.theme.service.mjs +18 -0
  182. package/esm2022/sidebar/sidebar-item.component.mjs +79 -0
  183. package/esm2022/sidebar/sidebar-item.theme.mjs +18 -0
  184. package/esm2022/sidebar/sidebar-item.theme.service.mjs +18 -0
  185. package/esm2022/sidebar/sidebar-menu.component.mjs +50 -0
  186. package/esm2022/sidebar/sidebar-menu.theme.mjs +24 -0
  187. package/esm2022/sidebar/sidebar-menu.theme.service.mjs +17 -0
  188. package/esm2022/sidebar/sidebar-page-content.component.mjs +37 -0
  189. package/esm2022/sidebar/sidebar-page-content.theme.mjs +12 -0
  190. package/esm2022/sidebar/sidebar-page-content.theme.service.mjs +17 -0
  191. package/esm2022/sidebar/sidebar-toggle.component.mjs +55 -0
  192. package/esm2022/sidebar/sidebar-toggle.theme.mjs +18 -0
  193. package/esm2022/sidebar/sidebar-toggle.theme.service.mjs +17 -0
  194. package/esm2022/sidebar/sidebar.component.mjs +62 -0
  195. package/esm2022/sidebar/sidebar.theme.mjs +11 -0
  196. package/esm2022/sidebar/sidebar.theme.service.mjs +17 -0
  197. package/esm2022/type-definitions/colors/flowbite.colors.mjs +2 -0
  198. package/esm2022/type-definitions/colors/flowbite.gradient-colors.mjs +2 -0
  199. package/esm2022/type-definitions/colors/flowbite.gradient-duo-tone-colors.mjs +2 -0
  200. package/esm2022/type-definitions/colors/index.mjs +2 -0
  201. package/esm2022/type-definitions/flowbite.boolean.mjs +10 -0
  202. package/esm2022/type-definitions/flowbite.class.mjs +2 -0
  203. package/esm2022/type-definitions/flowbite.combination.mjs +5 -0
  204. package/esm2022/type-definitions/flowbite.content-positions.mjs +2 -0
  205. package/esm2022/type-definitions/flowbite.deep-partial.mjs +2 -0
  206. package/esm2022/type-definitions/flowbite.heading-levels.mjs +2 -0
  207. package/esm2022/type-definitions/flowbite.positions.mjs +2 -0
  208. package/esm2022/type-definitions/flowbite.router-link-parameter.mjs +2 -0
  209. package/esm2022/type-definitions/flowbite.sizes.mjs +2 -0
  210. package/esm2022/type-definitions/flowbite.themes.mjs +2 -0
  211. package/esm2022/type-definitions/index.mjs +3 -0
  212. package/esm2022/utils/flowbite-angular-utils.mjs +5 -0
  213. package/esm2022/utils/icon.list.mjs +39 -0
  214. package/esm2022/utils/id.generator.mjs +81 -0
  215. package/esm2022/utils/index.mjs +9 -0
  216. package/esm2022/utils/theme/clone-deep.mjs +18 -0
  217. package/esm2022/utils/theme/create-class.mjs +10 -0
  218. package/esm2022/utils/theme/create-theme.mjs +10 -0
  219. package/esm2022/utils/theme/is-object.mjs +10 -0
  220. package/esm2022/utils/theme/merge-theme.mjs +29 -0
  221. package/esm2022/utils/theme/to-string.mjs +10 -0
  222. package/fesm2022/flowbite-angular-accordion.mjs +338 -0
  223. package/fesm2022/flowbite-angular-accordion.mjs.map +1 -0
  224. package/fesm2022/flowbite-angular-alert.mjs +151 -0
  225. package/fesm2022/flowbite-angular-alert.mjs.map +1 -0
  226. package/fesm2022/flowbite-angular-badge.mjs +105 -0
  227. package/fesm2022/flowbite-angular-badge.mjs.map +1 -0
  228. package/fesm2022/flowbite-angular-breadcrumb.mjs +159 -0
  229. package/fesm2022/flowbite-angular-breadcrumb.mjs.map +1 -0
  230. package/fesm2022/flowbite-angular-button.mjs +223 -0
  231. package/fesm2022/flowbite-angular-button.mjs.map +1 -0
  232. package/fesm2022/flowbite-angular-core.mjs +288 -0
  233. package/fesm2022/flowbite-angular-core.mjs.map +1 -0
  234. package/fesm2022/flowbite-angular-dark-theme-toggle.mjs +105 -0
  235. package/fesm2022/flowbite-angular-dark-theme-toggle.mjs.map +1 -0
  236. package/fesm2022/flowbite-angular-dropdown.mjs +368 -0
  237. package/fesm2022/flowbite-angular-dropdown.mjs.map +1 -0
  238. package/fesm2022/flowbite-angular-icon.mjs +254 -0
  239. package/fesm2022/flowbite-angular-icon.mjs.map +1 -0
  240. package/fesm2022/flowbite-angular-indicator.mjs +146 -0
  241. package/fesm2022/flowbite-angular-indicator.mjs.map +1 -0
  242. package/fesm2022/flowbite-angular-modal.mjs +386 -0
  243. package/fesm2022/flowbite-angular-modal.mjs.map +1 -0
  244. package/fesm2022/flowbite-angular-navbar.mjs +422 -0
  245. package/fesm2022/flowbite-angular-navbar.mjs.map +1 -0
  246. package/fesm2022/flowbite-angular-router-link-active.mjs +56 -0
  247. package/fesm2022/flowbite-angular-router-link-active.mjs.map +1 -0
  248. package/fesm2022/flowbite-angular-router-link.mjs +61 -0
  249. package/fesm2022/flowbite-angular-router-link.mjs.map +1 -0
  250. package/fesm2022/flowbite-angular-sanitize-html.mjs +39 -0
  251. package/fesm2022/flowbite-angular-sanitize-html.mjs.map +1 -0
  252. package/fesm2022/flowbite-angular-scroll-top.mjs +99 -0
  253. package/fesm2022/flowbite-angular-scroll-top.mjs.map +1 -0
  254. package/fesm2022/flowbite-angular-sidebar.mjs +518 -0
  255. package/fesm2022/flowbite-angular-sidebar.mjs.map +1 -0
  256. package/fesm2022/flowbite-angular-utils.mjs +210 -0
  257. package/fesm2022/flowbite-angular-utils.mjs.map +1 -0
  258. package/fesm2022/flowbite-angular.mjs +13 -4176
  259. package/fesm2022/flowbite-angular.mjs.map +1 -1
  260. package/{lib/services/flowbite.theme.service.d.ts → flowbite.theme.service.d.ts} +1 -1
  261. package/icon/README.md +3 -0
  262. package/{lib/components/icon → icon}/icon.component.d.ts +2 -2
  263. package/index.d.ts +3 -5
  264. package/indicator/README.md +3 -0
  265. package/{lib/components/indicators → indicator}/indicators.component.d.ts +14 -14
  266. package/{lib/components/indicators → indicator}/indicators.theme.d.ts +1 -6
  267. package/{lib/components/indicators → indicator}/indicators.theme.service.d.ts +1 -1
  268. package/modal/README.md +3 -0
  269. package/{lib/components/modal → modal}/modal-body.component.d.ts +1 -1
  270. package/{lib/components/modal → modal}/modal-body.theme.d.ts +1 -1
  271. package/{lib/components/modal → modal}/modal-body.theme.service.d.ts +1 -1
  272. package/{lib/components/modal → modal}/modal-footer.component.d.ts +1 -1
  273. package/{lib/components/modal → modal}/modal-footer.theme.d.ts +1 -1
  274. package/{lib/components/modal → modal}/modal-footer.theme.service.d.ts +1 -1
  275. package/{lib/components/modal → modal}/modal-header.component.d.ts +2 -2
  276. package/{lib/components/modal → modal}/modal-header.theme.d.ts +1 -1
  277. package/{lib/components/modal → modal}/modal-header.theme.service.d.ts +1 -1
  278. package/{lib/components/modal → modal}/modal.component.d.ts +6 -6
  279. package/{lib/components/modal → modal}/modal.theme.d.ts +1 -5
  280. package/{lib/components/modal → modal}/modal.theme.service.d.ts +1 -1
  281. package/navbar/README.md +3 -0
  282. package/{lib/components/navbar → navbar}/navbar-brand.component.d.ts +1 -1
  283. package/{lib/components/navbar → navbar}/navbar-brand.theme.d.ts +1 -1
  284. package/{lib/components/navbar → navbar}/navbar-brand.theme.service.d.ts +1 -1
  285. package/{lib/components/navbar → navbar}/navbar-content.component.d.ts +1 -1
  286. package/{lib/components/navbar → navbar}/navbar-content.theme.d.ts +1 -1
  287. package/{lib/components/navbar → navbar}/navbar-content.theme.service.d.ts +1 -1
  288. package/{lib/components/navbar → navbar}/navbar-icon-button.component.d.ts +1 -1
  289. package/{lib/components/navbar → navbar}/navbar-icon-button.theme.d.ts +1 -1
  290. package/{lib/components/navbar → navbar}/navbar-icon-button.theme.service.d.ts +1 -1
  291. package/{lib/components/navbar → navbar}/navbar-item.component.d.ts +3 -3
  292. package/{lib/components/navbar → navbar}/navbar-item.theme.d.ts +1 -2
  293. package/{lib/components/navbar → navbar}/navbar-item.theme.service.d.ts +1 -1
  294. package/{lib/components/navbar → navbar}/navbar-toggle.component.d.ts +2 -2
  295. package/{lib/components/navbar → navbar}/navbar-toggle.theme.d.ts +1 -1
  296. package/{lib/components/navbar → navbar}/navbar-toggle.theme.service.d.ts +1 -1
  297. package/{lib/components/navbar → navbar}/navbar.component.d.ts +1 -1
  298. package/{lib/components/navbar → navbar}/navbar.theme.d.ts +1 -4
  299. package/{lib/components/navbar → navbar}/navbar.theme.service.d.ts +1 -1
  300. package/package.json +110 -2
  301. package/router-link/README.md +3 -0
  302. package/router-link/index.d.ts +1 -0
  303. package/router-link-active/README.md +3 -0
  304. package/{lib/directives → router-link-active}/index.d.ts +0 -1
  305. package/sanitize-html/README.md +3 -0
  306. package/scroll-top/README.md +3 -0
  307. package/{lib/components/scroll-top → scroll-top}/scroll-top.component.d.ts +7 -7
  308. package/{lib/components/scroll-top → scroll-top}/scroll-top.theme.d.ts +1 -1
  309. package/{lib/components/scroll-top → scroll-top}/scroll-top.theme.service.d.ts +1 -1
  310. package/sidebar/README.md +3 -0
  311. package/{lib/components/sidebar → sidebar}/sidebar-item-group.component.d.ts +3 -3
  312. package/{lib/components/sidebar → sidebar}/sidebar-item-group.theme.d.ts +1 -1
  313. package/{lib/components/sidebar → sidebar}/sidebar-item-group.theme.service.d.ts +1 -1
  314. package/{lib/components/sidebar → sidebar}/sidebar-item.component.d.ts +4 -4
  315. package/{lib/components/sidebar → sidebar}/sidebar-item.theme.d.ts +1 -2
  316. package/{lib/components/sidebar → sidebar}/sidebar-item.theme.service.d.ts +1 -1
  317. package/{lib/components/sidebar → sidebar}/sidebar-menu.component.d.ts +2 -2
  318. package/{lib/components/sidebar → sidebar}/sidebar-menu.theme.d.ts +1 -1
  319. package/{lib/components/sidebar → sidebar}/sidebar-menu.theme.service.d.ts +1 -1
  320. package/{lib/components/sidebar → sidebar}/sidebar-page-content.component.d.ts +1 -1
  321. package/{lib/components/sidebar → sidebar}/sidebar-page-content.theme.d.ts +1 -1
  322. package/{lib/components/sidebar → sidebar}/sidebar-page-content.theme.service.d.ts +1 -1
  323. package/{lib/components/sidebar → sidebar}/sidebar-toggle.component.d.ts +3 -3
  324. package/{lib/components/sidebar → sidebar}/sidebar-toggle.theme.d.ts +1 -1
  325. package/{lib/components/sidebar → sidebar}/sidebar-toggle.theme.service.d.ts +1 -1
  326. package/{lib/components/sidebar → sidebar}/sidebar.component.d.ts +1 -1
  327. package/{lib/components/sidebar → sidebar}/sidebar.theme.d.ts +1 -4
  328. package/{lib/components/sidebar → sidebar}/sidebar.theme.service.d.ts +1 -1
  329. package/tailwind.config.js +306 -0
  330. package/{lib/utils/boolean.util.d.ts → type-definitions/flowbite.boolean.d.ts} +7 -1
  331. package/{lib/common/type-definitions → type-definitions}/index.d.ts +1 -0
  332. package/utils/README.md +3 -0
  333. package/{lib/utils → utils}/index.d.ts +1 -1
  334. package/esm2022/lib/common/flowbite.theme.init.mjs +0 -318
  335. package/esm2022/lib/common/index.mjs +0 -3
  336. package/esm2022/lib/common/type-definitions/colors/flowbite.colors.mjs +0 -2
  337. package/esm2022/lib/common/type-definitions/colors/flowbite.gradient-colors.mjs +0 -2
  338. package/esm2022/lib/common/type-definitions/colors/flowbite.gradient-duo-tone-colors.mjs +0 -2
  339. package/esm2022/lib/common/type-definitions/colors/index.mjs +0 -2
  340. package/esm2022/lib/common/type-definitions/flowbite.boolean.mjs +0 -2
  341. package/esm2022/lib/common/type-definitions/flowbite.class.mjs +0 -2
  342. package/esm2022/lib/common/type-definitions/flowbite.combination.mjs +0 -5
  343. package/esm2022/lib/common/type-definitions/flowbite.content-positions.mjs +0 -2
  344. package/esm2022/lib/common/type-definitions/flowbite.deep-partial.mjs +0 -2
  345. package/esm2022/lib/common/type-definitions/flowbite.heading-levels.mjs +0 -2
  346. package/esm2022/lib/common/type-definitions/flowbite.positions.mjs +0 -2
  347. package/esm2022/lib/common/type-definitions/flowbite.router-link-parameter.mjs +0 -2
  348. package/esm2022/lib/common/type-definitions/flowbite.sizes.mjs +0 -2
  349. package/esm2022/lib/common/type-definitions/flowbite.themes.mjs +0 -2
  350. package/esm2022/lib/common/type-definitions/index.mjs +0 -2
  351. package/esm2022/lib/components/accordion/accordion-content.component.mjs +0 -46
  352. package/esm2022/lib/components/accordion/accordion-content.theme.mjs +0 -19
  353. package/esm2022/lib/components/accordion/accordion-content.theme.service.mjs +0 -17
  354. package/esm2022/lib/components/accordion/accordion-panel.component.mjs +0 -57
  355. package/esm2022/lib/components/accordion/accordion-panel.theme.mjs +0 -7
  356. package/esm2022/lib/components/accordion/accordion-panel.theme.service.mjs +0 -17
  357. package/esm2022/lib/components/accordion/accordion-title.component.mjs +0 -70
  358. package/esm2022/lib/components/accordion/accordion-title.theme.mjs +0 -26
  359. package/esm2022/lib/components/accordion/accordion-title.theme.service.mjs +0 -18
  360. package/esm2022/lib/components/accordion/accordion.component.mjs +0 -49
  361. package/esm2022/lib/components/accordion/accordion.theme.mjs +0 -19
  362. package/esm2022/lib/components/accordion/accordion.theme.service.mjs +0 -17
  363. package/esm2022/lib/components/accordion/index.mjs +0 -13
  364. package/esm2022/lib/components/alert/alert.component.mjs +0 -95
  365. package/esm2022/lib/components/alert/alert.theme.mjs +0 -34
  366. package/esm2022/lib/components/alert/alert.theme.service.mjs +0 -18
  367. package/esm2022/lib/components/alert/index.mjs +0 -4
  368. package/esm2022/lib/components/badge/badge.component.mjs +0 -47
  369. package/esm2022/lib/components/badge/badge.theme.mjs +0 -34
  370. package/esm2022/lib/components/badge/badge.theme.service.mjs +0 -19
  371. package/esm2022/lib/components/badge/index.mjs +0 -4
  372. package/esm2022/lib/components/base-component.directive.mjs +0 -34
  373. package/esm2022/lib/components/breadcrumb/breadcrumb-item.component.mjs +0 -57
  374. package/esm2022/lib/components/breadcrumb/breadcrumb-item.theme.mjs +0 -18
  375. package/esm2022/lib/components/breadcrumb/breadcrumb-item.theme.service.mjs +0 -18
  376. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -46
  377. package/esm2022/lib/components/breadcrumb/breadcrumb.theme.mjs +0 -7
  378. package/esm2022/lib/components/breadcrumb/breadcrumb.theme.service.mjs +0 -17
  379. package/esm2022/lib/components/breadcrumb/index.mjs +0 -7
  380. package/esm2022/lib/components/button/button.theme.mjs +0 -113
  381. package/esm2022/lib/components/button/button.theme.service.mjs +0 -24
  382. package/esm2022/lib/components/button/index.mjs +0 -4
  383. package/esm2022/lib/components/dark-theme-toggle/dark-theme-toggle.theme.mjs +0 -7
  384. package/esm2022/lib/components/dark-theme-toggle/dark-theme-toggle.theme.service.mjs +0 -17
  385. package/esm2022/lib/components/dark-theme-toggle/index.mjs +0 -4
  386. package/esm2022/lib/components/dropdown/dropdown-divider.component.mjs +0 -34
  387. package/esm2022/lib/components/dropdown/dropdown-divider.theme.mjs +0 -7
  388. package/esm2022/lib/components/dropdown/dropdown-divider.theme.service.mjs +0 -17
  389. package/esm2022/lib/components/dropdown/dropdown-header.component.mjs +0 -44
  390. package/esm2022/lib/components/dropdown/dropdown-header.theme.mjs +0 -10
  391. package/esm2022/lib/components/dropdown/dropdown-header.theme.service.mjs +0 -18
  392. package/esm2022/lib/components/dropdown/dropdown-item.component.mjs +0 -34
  393. package/esm2022/lib/components/dropdown/dropdown-item.theme.mjs +0 -6
  394. package/esm2022/lib/components/dropdown/dropdown-item.theme.service.mjs +0 -17
  395. package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -149
  396. package/esm2022/lib/components/dropdown/dropdown.theme.mjs +0 -32
  397. package/esm2022/lib/components/dropdown/dropdown.theme.service.mjs +0 -22
  398. package/esm2022/lib/components/dropdown/index.mjs +0 -13
  399. package/esm2022/lib/components/form-field/directives/addon.directive.mjs +0 -32
  400. package/esm2022/lib/components/form-field/directives/addon.directive.theme.mjs +0 -8
  401. package/esm2022/lib/components/form-field/directives/addon.directive.theme.service.mjs +0 -17
  402. package/esm2022/lib/components/form-field/directives/base-input.directive.mjs +0 -26
  403. package/esm2022/lib/components/form-field/directives/helper.directive.mjs +0 -34
  404. package/esm2022/lib/components/form-field/directives/helper.directive.theme.mjs +0 -12
  405. package/esm2022/lib/components/form-field/directives/helper.directive.theme.service.mjs +0 -17
  406. package/esm2022/lib/components/form-field/directives/icon.directive.mjs +0 -32
  407. package/esm2022/lib/components/form-field/directives/icon.directive.theme.mjs +0 -8
  408. package/esm2022/lib/components/form-field/directives/icon.directive.theme.service.mjs +0 -17
  409. package/esm2022/lib/components/form-field/directives/index.mjs +0 -17
  410. package/esm2022/lib/components/form-field/directives/input.directive.mjs +0 -41
  411. package/esm2022/lib/components/form-field/directives/input.directive.theme.mjs +0 -79
  412. package/esm2022/lib/components/form-field/directives/input.directive.theme.service.mjs +0 -32
  413. package/esm2022/lib/components/form-field/directives/label.directive.mjs +0 -41
  414. package/esm2022/lib/components/form-field/directives/label.directive.theme.mjs +0 -51
  415. package/esm2022/lib/components/form-field/directives/label.directive.theme.service.mjs +0 -23
  416. package/esm2022/lib/components/form-field/form-field.component.mjs +0 -40
  417. package/esm2022/lib/components/form-field/form-field.theme.mjs +0 -8
  418. package/esm2022/lib/components/form-field/form-field.theme.service.mjs +0 -17
  419. package/esm2022/lib/components/form-field/index.mjs +0 -5
  420. package/esm2022/lib/components/icon/icon-registry.mjs +0 -159
  421. package/esm2022/lib/components/icon/icon.component.mjs +0 -67
  422. package/esm2022/lib/components/icon/index.mjs +0 -4
  423. package/esm2022/lib/components/icon/trusted-types.mjs +0 -21
  424. package/esm2022/lib/components/index.mjs +0 -16
  425. package/esm2022/lib/components/indicators/index.mjs +0 -4
  426. package/esm2022/lib/components/indicators/indicators.component.mjs +0 -54
  427. package/esm2022/lib/components/indicators/indicators.theme.mjs +0 -68
  428. package/esm2022/lib/components/indicators/indicators.theme.service.mjs +0 -19
  429. package/esm2022/lib/components/modal/index.mjs +0 -13
  430. package/esm2022/lib/components/modal/modal-body.component.mjs +0 -34
  431. package/esm2022/lib/components/modal/modal-body.theme.mjs +0 -7
  432. package/esm2022/lib/components/modal/modal-body.theme.service.mjs +0 -17
  433. package/esm2022/lib/components/modal/modal-footer.component.mjs +0 -34
  434. package/esm2022/lib/components/modal/modal-footer.theme.mjs +0 -7
  435. package/esm2022/lib/components/modal/modal-footer.theme.service.mjs +0 -17
  436. package/esm2022/lib/components/modal/modal-header.component.mjs +0 -66
  437. package/esm2022/lib/components/modal/modal-header.theme.mjs +0 -13
  438. package/esm2022/lib/components/modal/modal-header.theme.service.mjs +0 -19
  439. package/esm2022/lib/components/modal/modal.component.mjs +0 -142
  440. package/esm2022/lib/components/modal/modal.theme.mjs +0 -33
  441. package/esm2022/lib/components/modal/modal.theme.service.mjs +0 -20
  442. package/esm2022/lib/components/navbar/index.mjs +0 -19
  443. package/esm2022/lib/components/navbar/navbar-brand.component.mjs +0 -34
  444. package/esm2022/lib/components/navbar/navbar-brand.theme.mjs +0 -7
  445. package/esm2022/lib/components/navbar/navbar-brand.theme.service.mjs +0 -17
  446. package/esm2022/lib/components/navbar/navbar-content.component.mjs +0 -45
  447. package/esm2022/lib/components/navbar/navbar-content.theme.mjs +0 -14
  448. package/esm2022/lib/components/navbar/navbar-content.theme.service.mjs +0 -18
  449. package/esm2022/lib/components/navbar/navbar-icon-button.component.mjs +0 -42
  450. package/esm2022/lib/components/navbar/navbar-icon-button.theme.mjs +0 -15
  451. package/esm2022/lib/components/navbar/navbar-icon-button.theme.service.mjs +0 -17
  452. package/esm2022/lib/components/navbar/navbar-item.component.mjs +0 -49
  453. package/esm2022/lib/components/navbar/navbar-item.theme.service.mjs +0 -17
  454. package/esm2022/lib/components/navbar/navbar-toggle.component.mjs +0 -50
  455. package/esm2022/lib/components/navbar/navbar-toggle.theme.mjs +0 -7
  456. package/esm2022/lib/components/navbar/navbar-toggle.theme.service.mjs +0 -17
  457. package/esm2022/lib/components/navbar/navbar.component.mjs +0 -62
  458. package/esm2022/lib/components/navbar/navbar.theme.mjs +0 -23
  459. package/esm2022/lib/components/navbar/navbar.theme.service.mjs +0 -17
  460. package/esm2022/lib/components/scroll-top/index.mjs +0 -4
  461. package/esm2022/lib/components/scroll-top/scroll-top.component.mjs +0 -50
  462. package/esm2022/lib/components/scroll-top/scroll-top.theme.mjs +0 -27
  463. package/esm2022/lib/components/scroll-top/scroll-top.theme.service.mjs +0 -17
  464. package/esm2022/lib/components/sidebar/index.mjs +0 -19
  465. package/esm2022/lib/components/sidebar/sidebar-item-group.component.mjs +0 -81
  466. package/esm2022/lib/components/sidebar/sidebar-item-group.theme.mjs +0 -18
  467. package/esm2022/lib/components/sidebar/sidebar-item-group.theme.service.mjs +0 -18
  468. package/esm2022/lib/components/sidebar/sidebar-item.component.mjs +0 -77
  469. package/esm2022/lib/components/sidebar/sidebar-item.theme.mjs +0 -18
  470. package/esm2022/lib/components/sidebar/sidebar-item.theme.service.mjs +0 -18
  471. package/esm2022/lib/components/sidebar/sidebar-menu.component.mjs +0 -49
  472. package/esm2022/lib/components/sidebar/sidebar-menu.theme.mjs +0 -24
  473. package/esm2022/lib/components/sidebar/sidebar-menu.theme.service.mjs +0 -17
  474. package/esm2022/lib/components/sidebar/sidebar-page-content.component.mjs +0 -36
  475. package/esm2022/lib/components/sidebar/sidebar-page-content.theme.mjs +0 -12
  476. package/esm2022/lib/components/sidebar/sidebar-page-content.theme.service.mjs +0 -17
  477. package/esm2022/lib/components/sidebar/sidebar-toggle.component.mjs +0 -53
  478. package/esm2022/lib/components/sidebar/sidebar-toggle.theme.mjs +0 -18
  479. package/esm2022/lib/components/sidebar/sidebar-toggle.theme.service.mjs +0 -17
  480. package/esm2022/lib/components/sidebar/sidebar.component.mjs +0 -61
  481. package/esm2022/lib/components/sidebar/sidebar.theme.mjs +0 -11
  482. package/esm2022/lib/components/sidebar/sidebar.theme.service.mjs +0 -17
  483. package/esm2022/lib/directives/flowbite-router-link-active.directive.mjs +0 -51
  484. package/esm2022/lib/directives/flowbite-router-link.directive.mjs +0 -44
  485. package/esm2022/lib/directives/index.mjs +0 -3
  486. package/esm2022/lib/pipes/index.mjs +0 -2
  487. package/esm2022/lib/pipes/sanitize-html/index.mjs +0 -2
  488. package/esm2022/lib/pipes/sanitize-html/sanitize-html.pipe.mjs +0 -32
  489. package/esm2022/lib/services/flowbite.theme.service.mjs +0 -16
  490. package/esm2022/lib/services/index.mjs +0 -2
  491. package/esm2022/lib/utils/boolean.util.mjs +0 -10
  492. package/esm2022/lib/utils/directives/index.mjs +0 -3
  493. package/esm2022/lib/utils/directives/inputs/index.mjs +0 -3
  494. package/esm2022/lib/utils/directives/inputs/router-link-active.input.mjs +0 -8
  495. package/esm2022/lib/utils/directives/inputs/router-link.inputs.mjs +0 -20
  496. package/esm2022/lib/utils/directives/outputs/index.mjs +0 -3
  497. package/esm2022/lib/utils/directives/outputs/router-link-active.output.mjs +0 -8
  498. package/esm2022/lib/utils/directives/outputs/router-link.output.mjs +0 -8
  499. package/esm2022/lib/utils/icon.list.mjs +0 -39
  500. package/esm2022/lib/utils/id.generator.mjs +0 -81
  501. package/esm2022/lib/utils/index.mjs +0 -9
  502. package/esm2022/lib/utils/theme/clone-deep.mjs +0 -18
  503. package/esm2022/lib/utils/theme/create-class.mjs +0 -10
  504. package/esm2022/lib/utils/theme/create-theme.mjs +0 -10
  505. package/esm2022/lib/utils/theme/is-object.mjs +0 -10
  506. package/esm2022/lib/utils/theme/merge-theme.mjs +0 -29
  507. package/esm2022/lib/utils/theme/to-string.mjs +0 -10
  508. package/esm2022/public-api.mjs +0 -7
  509. package/lib/common/index.d.ts +0 -2
  510. package/lib/common/type-definitions/flowbite.boolean.d.ts +0 -7
  511. package/lib/components/form-field/directives/addon.directive.d.ts +0 -13
  512. package/lib/components/form-field/directives/addon.directive.theme.d.ts +0 -10
  513. package/lib/components/form-field/directives/addon.directive.theme.service.d.ts +0 -8
  514. package/lib/components/form-field/directives/base-input.directive.d.ts +0 -14
  515. package/lib/components/form-field/directives/helper.directive.d.ts +0 -18
  516. package/lib/components/form-field/directives/helper.directive.theme.d.ts +0 -13
  517. package/lib/components/form-field/directives/helper.directive.theme.service.d.ts +0 -8
  518. package/lib/components/form-field/directives/icon.directive.d.ts +0 -13
  519. package/lib/components/form-field/directives/icon.directive.theme.d.ts +0 -10
  520. package/lib/components/form-field/directives/icon.directive.theme.service.d.ts +0 -8
  521. package/lib/components/form-field/directives/index.d.ts +0 -21
  522. package/lib/components/form-field/directives/input.directive.d.ts +0 -100
  523. package/lib/components/form-field/directives/input.directive.theme.d.ts +0 -24
  524. package/lib/components/form-field/directives/input.directive.theme.service.d.ts +0 -8
  525. package/lib/components/form-field/directives/label.directive.d.ts +0 -62
  526. package/lib/components/form-field/directives/label.directive.theme.d.ts +0 -20
  527. package/lib/components/form-field/directives/label.directive.theme.service.d.ts +0 -8
  528. package/lib/components/form-field/form-field.component.d.ts +0 -20
  529. package/lib/components/form-field/form-field.theme.d.ts +0 -45
  530. package/lib/components/form-field/form-field.theme.service.d.ts +0 -8
  531. package/lib/components/form-field/index.d.ts +0 -5
  532. package/lib/components/index.d.ts +0 -15
  533. package/lib/pipes/index.d.ts +0 -1
  534. package/lib/services/index.d.ts +0 -1
  535. package/lib/utils/directives/index.d.ts +0 -2
  536. package/lib/utils/directives/inputs/index.d.ts +0 -2
  537. package/lib/utils/directives/inputs/router-link-active.input.d.ts +0 -8
  538. package/lib/utils/directives/inputs/router-link.inputs.d.ts +0 -8
  539. package/lib/utils/directives/outputs/index.d.ts +0 -2
  540. package/lib/utils/directives/outputs/router-link-active.output.d.ts +0 -8
  541. package/lib/utils/directives/outputs/router-link.output.d.ts +0 -8
  542. package/public-api.d.ts +0 -6
  543. /package/{lib/components/accordion → accordion}/index.d.ts +0 -0
  544. /package/{lib/components/alert → alert}/index.d.ts +0 -0
  545. /package/{lib/components/badge → badge}/index.d.ts +0 -0
  546. /package/{lib/components/breadcrumb → breadcrumb}/index.d.ts +0 -0
  547. /package/{lib/components/button → button}/index.d.ts +0 -0
  548. /package/{lib/common → core}/flowbite.theme.init.d.ts +0 -0
  549. /package/{lib/components/dropdown → dropdown}/index.d.ts +0 -0
  550. /package/{lib/components/icon → icon}/icon-registry.d.ts +0 -0
  551. /package/{lib/components/icon → icon}/index.d.ts +0 -0
  552. /package/{lib/components/icon → icon}/trusted-types.d.ts +0 -0
  553. /package/{lib/components/indicators → indicator}/index.d.ts +0 -0
  554. /package/{lib/components/modal → modal}/index.d.ts +0 -0
  555. /package/{lib/components/navbar → navbar}/index.d.ts +0 -0
  556. /package/{lib/directives → router-link}/flowbite-router-link.directive.d.ts +0 -0
  557. /package/{lib/directives → router-link-active}/flowbite-router-link-active.directive.d.ts +0 -0
  558. /package/{lib/pipes/sanitize-html → sanitize-html}/index.d.ts +0 -0
  559. /package/{lib/pipes/sanitize-html → sanitize-html}/sanitize-html.pipe.d.ts +0 -0
  560. /package/{lib/components/scroll-top → scroll-top}/index.d.ts +0 -0
  561. /package/{lib/components/sidebar → sidebar}/index.d.ts +0 -0
  562. /package/{lib/common/type-definitions → type-definitions}/colors/flowbite.colors.d.ts +0 -0
  563. /package/{lib/common/type-definitions → type-definitions}/colors/flowbite.gradient-colors.d.ts +0 -0
  564. /package/{lib/common/type-definitions → type-definitions}/colors/flowbite.gradient-duo-tone-colors.d.ts +0 -0
  565. /package/{lib/common/type-definitions → type-definitions}/colors/index.d.ts +0 -0
  566. /package/{lib/common/type-definitions → type-definitions}/flowbite.class.d.ts +0 -0
  567. /package/{lib/common/type-definitions → type-definitions}/flowbite.combination.d.ts +0 -0
  568. /package/{lib/common/type-definitions → type-definitions}/flowbite.content-positions.d.ts +0 -0
  569. /package/{lib/common/type-definitions → type-definitions}/flowbite.deep-partial.d.ts +0 -0
  570. /package/{lib/common/type-definitions → type-definitions}/flowbite.heading-levels.d.ts +0 -0
  571. /package/{lib/common/type-definitions → type-definitions}/flowbite.positions.d.ts +0 -0
  572. /package/{lib/common/type-definitions → type-definitions}/flowbite.router-link-parameter.d.ts +0 -0
  573. /package/{lib/common/type-definitions → type-definitions}/flowbite.sizes.d.ts +0 -0
  574. /package/{lib/common/type-definitions → type-definitions}/flowbite.themes.d.ts +0 -0
  575. /package/{lib/utils → utils}/icon.list.d.ts +0 -0
  576. /package/{lib/utils → utils}/id.generator.d.ts +0 -0
  577. /package/{lib/utils → utils}/theme/clone-deep.d.ts +0 -0
  578. /package/{lib/utils → utils}/theme/create-class.d.ts +0 -0
  579. /package/{lib/utils → utils}/theme/create-theme.d.ts +0 -0
  580. /package/{lib/utils → utils}/theme/is-object.d.ts +0 -0
  581. /package/{lib/utils → utils}/theme/merge-theme.d.ts +0 -0
  582. /package/{lib/utils → utils}/theme/to-string.d.ts +0 -0
@@ -0,0 +1,422 @@
1
+ import { mergeTheme, BARS_SVG_ICON, createTheme } from 'flowbite-angular/utils';
2
+ import * as i0 from '@angular/core';
3
+ import { InjectionToken, inject, model, Component, ViewEncapsulation, ChangeDetectionStrategy, contentChild, untracked } from '@angular/core';
4
+ import { twMerge } from 'tailwind-merge';
5
+ import { BaseComponent, booleanToFlowbiteBoolean } from 'flowbite-angular';
6
+ import { NgClass, CommonModule } from '@angular/common';
7
+ import { IconRegistry, IconComponent } from 'flowbite-angular/icon';
8
+ import { DomSanitizer } from '@angular/platform-browser';
9
+ import { FlowbiteRouterLinkDirective } from 'flowbite-angular/router-link';
10
+ import { FlowbiteRouterLinkActiveDirective } from 'flowbite-angular/router-link-active';
11
+
12
+ const FLOWBITE_NAVBAR_BRAND_THEME_TOKEN = new InjectionToken('FLOWBITE_NAVBAR_BRAND_THEME_TOKEN');
13
+ class NavbarBrandThemeService {
14
+ constructor() {
15
+ this.baseTheme = inject(FLOWBITE_NAVBAR_BRAND_THEME_TOKEN);
16
+ }
17
+ getClasses(properties) {
18
+ const theme = mergeTheme(this.baseTheme, properties.customStyle);
19
+ const output = {
20
+ rootClass: twMerge(theme.root.base),
21
+ };
22
+ return output;
23
+ }
24
+ }
25
+
26
+ class NavbarBrandComponent extends BaseComponent {
27
+ constructor() {
28
+ super(...arguments);
29
+ this.themeService = inject(NavbarBrandThemeService);
30
+ this.navbarComponent = inject(NavbarComponent);
31
+ //#region properties
32
+ this.customStyle = model({});
33
+ }
34
+ //#endregion
35
+ //#region BaseComponent implementation
36
+ fetchClass() {
37
+ return this.themeService.getClasses({
38
+ customStyle: this.customStyle(),
39
+ });
40
+ }
41
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: NavbarBrandComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
42
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.0", type: NavbarBrandComponent, isStandalone: true, selector: "flowbite-navbar-brand", inputs: { customStyle: { classPropertyName: "customStyle", publicName: "customStyle", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { customStyle: "customStyleChange" }, usesInheritance: true, ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
43
+ }
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: NavbarBrandComponent, decorators: [{
45
+ type: Component,
46
+ args: [{
47
+ selector: 'flowbite-navbar-brand',
48
+ standalone: true,
49
+ imports: [NgClass],
50
+ template: `<ng-content />`,
51
+ encapsulation: ViewEncapsulation.None,
52
+ changeDetection: ChangeDetectionStrategy.OnPush,
53
+ }]
54
+ }] });
55
+
56
+ const FLOWBITE_NAVBAR_CONTENT_THEME_TOKEN = new InjectionToken('FLOWBITE_NAVBAR_CONTENT_THEME_TOKEN');
57
+ class NavbarContentThemeService {
58
+ constructor() {
59
+ this.baseTheme = inject(FLOWBITE_NAVBAR_CONTENT_THEME_TOKEN);
60
+ }
61
+ getClasses(properties) {
62
+ const theme = mergeTheme(this.baseTheme, properties.customStyle);
63
+ const output = {
64
+ rootClass: twMerge(theme.root.base, theme.root.isOpen[properties.isOpen]),
65
+ navbarContentListClass: twMerge(theme.list.base),
66
+ };
67
+ return output;
68
+ }
69
+ }
70
+
71
+ class NavbarContentComponent extends BaseComponent {
72
+ constructor() {
73
+ super(...arguments);
74
+ this.themeService = inject(NavbarContentThemeService);
75
+ this.navbarComponent = model(inject(NavbarComponent));
76
+ //#region properties
77
+ this.color = model(this.navbarComponent().color());
78
+ this.customStyle = model({});
79
+ }
80
+ //#endregion
81
+ //#region BaseComponent implementation
82
+ fetchClass() {
83
+ return this.themeService.getClasses({
84
+ isOpen: booleanToFlowbiteBoolean(this.navbarComponent().isOpen()),
85
+ customStyle: this.customStyle(),
86
+ });
87
+ }
88
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: NavbarContentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
89
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.0", type: NavbarContentComponent, isStandalone: true, selector: "flowbite-navbar-content", inputs: { navbarComponent: { classPropertyName: "navbarComponent", publicName: "navbarComponent", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, customStyle: { classPropertyName: "customStyle", publicName: "customStyle", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { navbarComponent: "navbarComponentChange", color: "colorChange", customStyle: "customStyleChange" }, usesInheritance: true, ngImport: i0, template: `
90
+ <div [ngClass]="contentClasses().navbarContentListClass">
91
+ <ng-content />
92
+ </div>
93
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
94
+ }
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: NavbarContentComponent, decorators: [{
96
+ type: Component,
97
+ args: [{
98
+ selector: 'flowbite-navbar-content',
99
+ standalone: true,
100
+ imports: [NgClass],
101
+ template: `
102
+ <div [ngClass]="contentClasses().navbarContentListClass">
103
+ <ng-content />
104
+ </div>
105
+ `,
106
+ encapsulation: ViewEncapsulation.None,
107
+ changeDetection: ChangeDetectionStrategy.OnPush,
108
+ }]
109
+ }] });
110
+
111
+ const FLOWBITE_NAVBAR_TOGGLE_THEME_TOKEN = new InjectionToken('FLOWBITE_NAVBAR_TOGGLE_THEME_TOKEN');
112
+ class NavbarToggleThemeService {
113
+ constructor() {
114
+ this.baseTheme = inject(FLOWBITE_NAVBAR_TOGGLE_THEME_TOKEN);
115
+ }
116
+ getClasses(properties) {
117
+ const theme = mergeTheme(this.baseTheme, properties.customStyle);
118
+ const output = {
119
+ rootClass: twMerge(theme.root.base),
120
+ };
121
+ return output;
122
+ }
123
+ }
124
+
125
+ class NavbarToggleComponent extends BaseComponent {
126
+ constructor() {
127
+ super(...arguments);
128
+ this.themeService = inject(NavbarToggleThemeService);
129
+ this.navbarComponent = model(inject(NavbarComponent));
130
+ this.iconRegistry = inject(IconRegistry);
131
+ this.domSanitizer = inject(DomSanitizer);
132
+ //#region properties
133
+ this.customStyle = model({});
134
+ }
135
+ //#endregion
136
+ //#region BaseComponent implementation
137
+ fetchClass() {
138
+ return this.themeService.getClasses({
139
+ customStyle: this.customStyle(),
140
+ });
141
+ }
142
+ init() {
143
+ this.iconRegistry.addRawSvgIconInNamepsace('flowbite-angular', 'bars', this.domSanitizer.bypassSecurityTrustHtml(BARS_SVG_ICON));
144
+ }
145
+ //#endregion
146
+ onClick() {
147
+ const isCollapsed = this.navbarComponent().isOpen();
148
+ this.navbarComponent().isOpen.set(!isCollapsed);
149
+ }
150
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: NavbarToggleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
151
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.0", type: NavbarToggleComponent, isStandalone: true, selector: "flowbite-navbar-toggle", inputs: { navbarComponent: { classPropertyName: "navbarComponent", publicName: "navbarComponent", isSignal: true, isRequired: false, transformFunction: null }, customStyle: { classPropertyName: "customStyle", publicName: "customStyle", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { navbarComponent: "navbarComponentChange", customStyle: "customStyleChange" }, host: { listeners: { "click": "onClick()" } }, usesInheritance: true, ngImport: i0, template: ` <flowbite-icon svgIcon="flowbite-angular:bars" class="w-5 h-5" /> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: IconComponent, selector: "flowbite-icon", inputs: ["svgIcon"], outputs: ["svgIconChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
152
+ }
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: NavbarToggleComponent, decorators: [{
154
+ type: Component,
155
+ args: [{
156
+ selector: 'flowbite-navbar-toggle',
157
+ standalone: true,
158
+ imports: [CommonModule, IconComponent],
159
+ template: ` <flowbite-icon svgIcon="flowbite-angular:bars" class="w-5 h-5" /> `,
160
+ host: {
161
+ '(click)': 'onClick()',
162
+ },
163
+ encapsulation: ViewEncapsulation.None,
164
+ changeDetection: ChangeDetectionStrategy.OnPush,
165
+ }]
166
+ }] });
167
+
168
+ const FLOWBITE_NAVBAR_THEME_TOKEN = new InjectionToken('FLOWBITE_NAVBAR_THEME_TOKEN');
169
+ class NavbarThemeService {
170
+ constructor() {
171
+ this.baseTheme = inject(FLOWBITE_NAVBAR_THEME_TOKEN);
172
+ }
173
+ getClasses(properties) {
174
+ const theme = mergeTheme(this.baseTheme, properties.customStyle);
175
+ const output = {
176
+ rootClass: twMerge(theme.root.base, theme.root.color['gray'], theme.root.isRounded[properties.isRounded], theme.root.hasBorder[properties.hasBorder], theme.root.isFixed[properties.isFixed]),
177
+ };
178
+ return output;
179
+ }
180
+ }
181
+
182
+ /**
183
+ * @see https://flowbite.com/docs/components/navbar/
184
+ */
185
+ class NavbarComponent extends BaseComponent {
186
+ constructor() {
187
+ super(...arguments);
188
+ this.themeService = inject(NavbarThemeService);
189
+ this.navbarBrandChild = contentChild(NavbarBrandComponent);
190
+ this.navbarToggleChild = contentChild(NavbarToggleComponent);
191
+ this.navbarContentChild = contentChild(NavbarContentComponent);
192
+ //#region properties
193
+ this.color = model('primary');
194
+ this.isOpen = model(false);
195
+ this.isRounded = model(false);
196
+ this.hasBorder = model(false);
197
+ this.isFixed = model(false);
198
+ this.customStyle = model({});
199
+ }
200
+ //#endregion
201
+ //#region BaseComponent implementation
202
+ fetchClass() {
203
+ return this.themeService.getClasses({
204
+ hasBorder: booleanToFlowbiteBoolean(this.isRounded()),
205
+ isRounded: booleanToFlowbiteBoolean(this.hasBorder()),
206
+ isFixed: booleanToFlowbiteBoolean(this.isFixed()),
207
+ customStyle: this.customStyle(),
208
+ });
209
+ }
210
+ verify() {
211
+ if (this.navbarContentChild() === undefined) {
212
+ throw new Error('No NavbarContentComponent available');
213
+ }
214
+ }
215
+ //#endregion
216
+ toggleVisibility(isOpen) {
217
+ if (isOpen === undefined) {
218
+ isOpen = untracked(() => !this.isOpen());
219
+ }
220
+ this.isOpen.set(isOpen);
221
+ }
222
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: NavbarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
223
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.0.0", type: NavbarComponent, isStandalone: true, selector: "flowbite-navbar", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, isOpen: { classPropertyName: "isOpen", publicName: "isOpen", isSignal: true, isRequired: false, transformFunction: null }, isRounded: { classPropertyName: "isRounded", publicName: "isRounded", isSignal: true, isRequired: false, transformFunction: null }, hasBorder: { classPropertyName: "hasBorder", publicName: "hasBorder", isSignal: true, isRequired: false, transformFunction: null }, isFixed: { classPropertyName: "isFixed", publicName: "isFixed", isSignal: true, isRequired: false, transformFunction: null }, customStyle: { classPropertyName: "customStyle", publicName: "customStyle", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { color: "colorChange", isOpen: "isOpenChange", isRounded: "isRoundedChange", hasBorder: "hasBorderChange", isFixed: "isFixedChange", customStyle: "customStyleChange" }, queries: [{ propertyName: "navbarBrandChild", first: true, predicate: NavbarBrandComponent, descendants: true, isSignal: true }, { propertyName: "navbarToggleChild", first: true, predicate: NavbarToggleComponent, descendants: true, isSignal: true }, { propertyName: "navbarContentChild", first: true, predicate: NavbarContentComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
224
+ }
225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: NavbarComponent, decorators: [{
226
+ type: Component,
227
+ args: [{
228
+ standalone: true,
229
+ imports: [NgClass],
230
+ selector: 'flowbite-navbar',
231
+ template: `<ng-content />`,
232
+ encapsulation: ViewEncapsulation.None,
233
+ changeDetection: ChangeDetectionStrategy.OnPush,
234
+ }]
235
+ }] });
236
+
237
+ const navbarTheme = createTheme({
238
+ root: {
239
+ base: 'flex flex-wrap items-center justify-between p-4',
240
+ color: {
241
+ primary: 'bg-primary-200 dark:bg-primary-800 border-primary-200 dark:border-primary-700',
242
+ gray: 'bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700',
243
+ },
244
+ isRounded: {
245
+ enabled: 'rounded',
246
+ disabled: '',
247
+ },
248
+ hasBorder: {
249
+ enabled: 'border',
250
+ disabled: '',
251
+ },
252
+ isFixed: {
253
+ enabled: 'border-b',
254
+ disabled: '',
255
+ },
256
+ },
257
+ });
258
+
259
+ const navbarBrandTheme = createTheme({
260
+ root: {
261
+ base: 'cursor-pointer flex items-center space-x-3 rtl:space-x-reverse',
262
+ },
263
+ });
264
+
265
+ const navbarContentTheme = createTheme({
266
+ root: {
267
+ base: 'w-full md:block md:w-auto order-last md:order-none',
268
+ isOpen: {
269
+ enabled: '',
270
+ disabled: 'hidden',
271
+ },
272
+ },
273
+ list: {
274
+ base: 'font-medium flex flex-col p-4 md:p-0 mt-4 items-center border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-white dark:bg-gray-900 md:dark:bg-gray-800 dark:border-gray-700',
275
+ },
276
+ });
277
+
278
+ const FLOWBITE_NAVBAR_ITEM_THEME_TOKEN = new InjectionToken('FLOWBITE_NAVBAR_ITEM_THEME_TOKEN');
279
+ class NavbarItemThemeService {
280
+ constructor() {
281
+ this.baseTheme = inject(FLOWBITE_NAVBAR_ITEM_THEME_TOKEN);
282
+ }
283
+ getClasses(properties) {
284
+ const theme = mergeTheme(this.baseTheme, properties.customStyle);
285
+ const output = {
286
+ rootClass: twMerge(theme.root.base, theme.root.color[properties.color]),
287
+ };
288
+ return output;
289
+ }
290
+ }
291
+
292
+ class NavbarItemComponent extends BaseComponent {
293
+ constructor() {
294
+ super(...arguments);
295
+ this.flowbiteRouterLink = inject(FlowbiteRouterLinkDirective, { optional: true });
296
+ this.flowbiteRouterLinkActive = inject(FlowbiteRouterLinkActiveDirective, {
297
+ optional: true,
298
+ });
299
+ this.themeService = inject(NavbarItemThemeService);
300
+ this.navbarContentComponent = inject(NavbarContentComponent);
301
+ //#region properties
302
+ this.color = model(this.navbarContentComponent.color());
303
+ this.customStyle = model({});
304
+ }
305
+ //#endregion
306
+ //#region BaseComponent implementation
307
+ fetchClass() {
308
+ return this.themeService.getClasses({
309
+ color: this.color(),
310
+ customStyle: this.customStyle(),
311
+ });
312
+ }
313
+ //#endregion
314
+ onClick() {
315
+ this.navbarContentComponent.navbarComponent().toggleVisibility(false);
316
+ }
317
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: NavbarItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
318
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.0", type: NavbarItemComponent, isStandalone: true, selector: "flowbite-navbar-item", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, customStyle: { classPropertyName: "customStyle", publicName: "customStyle", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { color: "colorChange", customStyle: "customStyleChange" }, host: { listeners: { "click": "onClick()" } }, usesInheritance: true, ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
319
+ }
320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: NavbarItemComponent, decorators: [{
321
+ type: Component,
322
+ args: [{
323
+ selector: 'flowbite-navbar-item',
324
+ standalone: true,
325
+ imports: [NgClass],
326
+ template: `<ng-content />`,
327
+ host: {
328
+ '(click)': 'onClick()',
329
+ },
330
+ encapsulation: ViewEncapsulation.None,
331
+ changeDetection: ChangeDetectionStrategy.OnPush,
332
+ }]
333
+ }] });
334
+
335
+ const navbarItemTheme = createTheme({
336
+ root: {
337
+ base: 'cursor-pointer block py-2 px-3 rounded text-sm text-gray-900 dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 md:hover:bg-transparent md:border-0 md:p-0 md:dark:hover:bg-transparent',
338
+ color: {
339
+ primary: 'md:hover:text-primary-700 md:dark:hover:text-primary-500 aria-current:text-primary-500 dark:aria-current:text-primary-300',
340
+ gray: 'md:hover:text-gray-700 md:dark:hover:text-gray-500 aria-current:text-gray-500 dark:aria-current:text-gray-300',
341
+ },
342
+ },
343
+ });
344
+
345
+ const navbarToogleTheme = createTheme({
346
+ root: {
347
+ base: 'cursor-pointer inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600',
348
+ },
349
+ });
350
+
351
+ const FLOWBITE_NAVBAR_ICON_BUTTON_THEME_TOKEN = new InjectionToken('FLOWBITE_NAVBAR_TOGGLE_THEME_TOKEN');
352
+ class NavbarIconButtonThemeService {
353
+ constructor() {
354
+ this.baseTheme = inject(FLOWBITE_NAVBAR_ICON_BUTTON_THEME_TOKEN);
355
+ }
356
+ getClasses(properties) {
357
+ const theme = mergeTheme(this.baseTheme, properties.customStyle);
358
+ const output = {
359
+ rootClass: twMerge(theme.root.base, theme.root.color[properties.color]),
360
+ };
361
+ return output;
362
+ }
363
+ }
364
+
365
+ class NavbarIconButtonComponent extends BaseComponent {
366
+ constructor() {
367
+ super(...arguments);
368
+ this.themeService = inject(NavbarIconButtonThemeService);
369
+ this.navbarComponent = inject(NavbarComponent, { optional: true });
370
+ this.navbarContentComponent = inject(NavbarContentComponent, { optional: true });
371
+ //#region properties
372
+ this.color = model(this.navbarContentComponent?.color() || this.navbarComponent.color());
373
+ this.customStyle = model({});
374
+ }
375
+ //#endregion
376
+ //#region BaseComponent implementation
377
+ fetchClass() {
378
+ return this.themeService.getClasses({
379
+ color: this.color(),
380
+ customStyle: this.customStyle(),
381
+ });
382
+ }
383
+ verify() {
384
+ if (this.navbarComponent === null && this.navbarContentComponent === null) {
385
+ throw new Error('No NavbarComponent/NavbarContentComponent available');
386
+ }
387
+ }
388
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: NavbarIconButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
389
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.0", type: NavbarIconButtonComponent, isStandalone: true, selector: "flowbite-navbar-icon-button", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, customStyle: { classPropertyName: "customStyle", publicName: "customStyle", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { color: "colorChange", customStyle: "customStyleChange" }, usesInheritance: true, ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
390
+ }
391
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: NavbarIconButtonComponent, decorators: [{
392
+ type: Component,
393
+ args: [{
394
+ selector: 'flowbite-navbar-icon-button',
395
+ standalone: true,
396
+ imports: [],
397
+ template: `<ng-content />`,
398
+ encapsulation: ViewEncapsulation.None,
399
+ changeDetection: ChangeDetectionStrategy.OnPush,
400
+ }]
401
+ }] });
402
+
403
+ const navbarIconButtonTheme = createTheme({
404
+ root: {
405
+ base: 'cursor-pointer rounded-lg p-2.5 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700',
406
+ color: {
407
+ primary: 'text-primary-500 dark:text-primary-300',
408
+ gray: 'text-gray-500 dark:text-gray-400',
409
+ blue: 'text-blue-500 dark:text-blue-300',
410
+ red: 'text-red-500 dark:text-red-300',
411
+ green: 'text-green-500 dark:text-green-300',
412
+ yellow: 'text-yellow-500 dark:text-yellow-300',
413
+ },
414
+ },
415
+ });
416
+
417
+ /**
418
+ * Generated bundle index. Do not edit.
419
+ */
420
+
421
+ export { FLOWBITE_NAVBAR_BRAND_THEME_TOKEN, FLOWBITE_NAVBAR_CONTENT_THEME_TOKEN, FLOWBITE_NAVBAR_ICON_BUTTON_THEME_TOKEN, FLOWBITE_NAVBAR_ITEM_THEME_TOKEN, FLOWBITE_NAVBAR_THEME_TOKEN, FLOWBITE_NAVBAR_TOGGLE_THEME_TOKEN, NavbarBrandComponent, NavbarBrandThemeService, NavbarComponent, NavbarContentComponent, NavbarContentThemeService, NavbarIconButtonComponent, NavbarIconButtonThemeService, NavbarItemComponent, NavbarItemThemeService, NavbarThemeService, NavbarToggleComponent, NavbarToggleThemeService, navbarBrandTheme, navbarContentTheme, navbarIconButtonTheme, navbarItemTheme, navbarTheme, navbarToogleTheme };
422
+ //# sourceMappingURL=flowbite-angular-navbar.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flowbite-angular-navbar.mjs","sources":["../../../../libs/flowbite-angular/navbar/navbar-brand.theme.service.ts","../../../../libs/flowbite-angular/navbar/navbar-brand.component.ts","../../../../libs/flowbite-angular/navbar/navbar-content.theme.service.ts","../../../../libs/flowbite-angular/navbar/navbar-content.component.ts","../../../../libs/flowbite-angular/navbar/navbar-toggle.theme.service.ts","../../../../libs/flowbite-angular/navbar/navbar-toggle.component.ts","../../../../libs/flowbite-angular/navbar/navbar.theme.service.ts","../../../../libs/flowbite-angular/navbar/navbar.component.ts","../../../../libs/flowbite-angular/navbar/navbar.theme.ts","../../../../libs/flowbite-angular/navbar/navbar-brand.theme.ts","../../../../libs/flowbite-angular/navbar/navbar-content.theme.ts","../../../../libs/flowbite-angular/navbar/navbar-item.theme.service.ts","../../../../libs/flowbite-angular/navbar/navbar-item.component.ts","../../../../libs/flowbite-angular/navbar/navbar-item.theme.ts","../../../../libs/flowbite-angular/navbar/navbar-toggle.theme.ts","../../../../libs/flowbite-angular/navbar/navbar-icon-button.theme.service.ts","../../../../libs/flowbite-angular/navbar/navbar-icon-button.component.ts","../../../../libs/flowbite-angular/navbar/navbar-icon-button.theme.ts","../../../../libs/flowbite-angular/navbar/flowbite-angular-navbar.ts"],"sourcesContent":["import type {\n NavbarBrandClass,\n NavbarBrandProperties,\n NavbarBrandTheme,\n} from './navbar-brand.theme';\n\nimport type { FlowbiteThemeService } from 'flowbite-angular';\nimport { mergeTheme } from 'flowbite-angular/utils';\n\nimport { inject, InjectionToken } from '@angular/core';\nimport { twMerge } from 'tailwind-merge';\n\nexport const FLOWBITE_NAVBAR_BRAND_THEME_TOKEN = new InjectionToken<NavbarBrandTheme>(\n 'FLOWBITE_NAVBAR_BRAND_THEME_TOKEN'\n);\n\nexport class NavbarBrandThemeService implements FlowbiteThemeService<NavbarBrandProperties> {\n private readonly baseTheme = inject(FLOWBITE_NAVBAR_BRAND_THEME_TOKEN);\n\n public getClasses(properties: NavbarBrandProperties): NavbarBrandClass {\n const theme: NavbarBrandTheme = mergeTheme(this.baseTheme, properties.customStyle);\n\n const output: NavbarBrandClass = {\n rootClass: twMerge(theme.root.base),\n };\n\n return output;\n }\n}\n","import type { NavbarBrandClass, NavbarBrandTheme } from './navbar-brand.theme';\nimport { NavbarBrandThemeService } from './navbar-brand.theme.service';\nimport { NavbarComponent } from './navbar.component';\n\nimport type { DeepPartial } from 'flowbite-angular';\nimport { BaseComponent } from 'flowbite-angular';\n\nimport { NgClass } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n model,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'flowbite-navbar-brand',\n standalone: true,\n imports: [NgClass],\n template: `<ng-content />`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavbarBrandComponent extends BaseComponent<NavbarBrandClass> {\n public readonly themeService = inject(NavbarBrandThemeService);\n public readonly navbarComponent = inject(NavbarComponent);\n\n //#region properties\n public customStyle = model<DeepPartial<NavbarBrandTheme>>({});\n //#endregion\n\n //#region BaseComponent implementation\n public override fetchClass(): NavbarBrandClass {\n return this.themeService.getClasses({\n customStyle: this.customStyle(),\n });\n }\n //#endregion\n}\n","import type {\n NavbarContentClass,\n NavbarContentProperties,\n NavbarContentTheme,\n} from './navbar-content.theme';\n\nimport type { FlowbiteThemeService } from 'flowbite-angular';\nimport { mergeTheme } from 'flowbite-angular/utils';\n\nimport { inject, InjectionToken } from '@angular/core';\nimport { twMerge } from 'tailwind-merge';\n\nexport const FLOWBITE_NAVBAR_CONTENT_THEME_TOKEN = new InjectionToken<NavbarContentTheme>(\n 'FLOWBITE_NAVBAR_CONTENT_THEME_TOKEN'\n);\n\nexport class NavbarContentThemeService implements FlowbiteThemeService<NavbarContentProperties> {\n private readonly baseTheme = inject(FLOWBITE_NAVBAR_CONTENT_THEME_TOKEN);\n\n public getClasses(properties: NavbarContentProperties): NavbarContentClass {\n const theme: NavbarContentTheme = mergeTheme(this.baseTheme, properties.customStyle);\n\n const output: NavbarContentClass = {\n rootClass: twMerge(theme.root.base, theme.root.isOpen[properties.isOpen]),\n navbarContentListClass: twMerge(theme.list.base),\n };\n\n return output;\n }\n}\n","import type { NavbarContentClass, NavbarContentTheme } from './navbar-content.theme';\nimport { NavbarContentThemeService } from './navbar-content.theme.service';\nimport { NavbarComponent } from './navbar.component';\nimport type { NavbarColors } from './navbar.theme';\n\nimport type { DeepPartial } from 'flowbite-angular';\nimport { BaseComponent, booleanToFlowbiteBoolean } from 'flowbite-angular';\n\nimport { NgClass } from '@angular/common';\nimport type { OnInit } from '@angular/core';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n model,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'flowbite-navbar-content',\n standalone: true,\n imports: [NgClass],\n template: `\n <div [ngClass]=\"contentClasses().navbarContentListClass\">\n <ng-content />\n </div>\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavbarContentComponent extends BaseComponent<NavbarContentClass> implements OnInit {\n public readonly themeService = inject(NavbarContentThemeService);\n public readonly navbarComponent = model<NavbarComponent>(inject(NavbarComponent));\n\n //#region properties\n public color = model<keyof NavbarColors>(this.navbarComponent().color());\n public customStyle = model<DeepPartial<NavbarContentTheme>>({});\n //#endregion\n\n //#region BaseComponent implementation\n public override fetchClass(): NavbarContentClass {\n return this.themeService.getClasses({\n isOpen: booleanToFlowbiteBoolean(this.navbarComponent().isOpen()),\n customStyle: this.customStyle(),\n });\n }\n //#endregion\n}\n","import type {\n NavbarToggleClass,\n NavbarToggleProperties,\n NavbarToggleTheme,\n} from './navbar-toggle.theme';\n\nimport type { FlowbiteThemeService } from 'flowbite-angular';\nimport { mergeTheme } from 'flowbite-angular/utils';\n\nimport { inject, InjectionToken } from '@angular/core';\nimport { twMerge } from 'tailwind-merge';\n\nexport const FLOWBITE_NAVBAR_TOGGLE_THEME_TOKEN = new InjectionToken<NavbarToggleTheme>(\n 'FLOWBITE_NAVBAR_TOGGLE_THEME_TOKEN'\n);\n\nexport class NavbarToggleThemeService implements FlowbiteThemeService<NavbarToggleProperties> {\n private readonly baseTheme = inject(FLOWBITE_NAVBAR_TOGGLE_THEME_TOKEN);\n\n public getClasses(properties: NavbarToggleProperties): NavbarToggleClass {\n const theme: NavbarToggleTheme = mergeTheme(this.baseTheme, properties.customStyle);\n\n const output: NavbarToggleClass = {\n rootClass: twMerge(theme.root.base),\n };\n\n return output;\n }\n}\n","import type { NavbarToggleClass, NavbarToggleTheme } from './navbar-toggle.theme';\nimport { NavbarToggleThemeService } from './navbar-toggle.theme.service';\nimport { NavbarComponent } from './navbar.component';\n\nimport type { DeepPartial } from 'flowbite-angular';\nimport { BaseComponent } from 'flowbite-angular';\nimport { IconComponent, IconRegistry } from 'flowbite-angular/icon';\nimport { BARS_SVG_ICON } from 'flowbite-angular/utils';\n\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n model,\n ViewEncapsulation,\n} from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\n@Component({\n selector: 'flowbite-navbar-toggle',\n standalone: true,\n imports: [CommonModule, IconComponent],\n template: ` <flowbite-icon svgIcon=\"flowbite-angular:bars\" class=\"w-5 h-5\" /> `,\n host: {\n '(click)': 'onClick()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavbarToggleComponent extends BaseComponent<NavbarToggleClass> {\n public readonly themeService = inject(NavbarToggleThemeService);\n public readonly navbarComponent = model<NavbarComponent>(inject(NavbarComponent));\n public readonly iconRegistry = inject(IconRegistry);\n public readonly domSanitizer = inject(DomSanitizer);\n\n //#region properties\n public customStyle = model<DeepPartial<NavbarToggleTheme>>({});\n //#endregion\n\n //#region BaseComponent implementation\n public override fetchClass(): NavbarToggleClass {\n return this.themeService.getClasses({\n customStyle: this.customStyle(),\n });\n }\n\n public override init(): void {\n this.iconRegistry.addRawSvgIconInNamepsace(\n 'flowbite-angular',\n 'bars',\n this.domSanitizer.bypassSecurityTrustHtml(BARS_SVG_ICON)\n );\n }\n //#endregion\n\n public onClick(): void {\n const isCollapsed = this.navbarComponent().isOpen();\n\n this.navbarComponent().isOpen.set(!isCollapsed);\n }\n}\n","import type { NavbarClass, NavbarProperties, NavbarTheme } from './navbar.theme';\n\nimport type { FlowbiteThemeService } from 'flowbite-angular';\nimport { mergeTheme } from 'flowbite-angular/utils';\n\nimport { inject, InjectionToken } from '@angular/core';\nimport { twMerge } from 'tailwind-merge';\n\nexport const FLOWBITE_NAVBAR_THEME_TOKEN = new InjectionToken<NavbarTheme>(\n 'FLOWBITE_NAVBAR_THEME_TOKEN'\n);\n\nexport class NavbarThemeService implements FlowbiteThemeService<NavbarProperties> {\n private readonly baseTheme = inject(FLOWBITE_NAVBAR_THEME_TOKEN);\n\n public getClasses(properties: NavbarProperties): NavbarClass {\n const theme: NavbarTheme = mergeTheme(this.baseTheme, properties.customStyle);\n\n const output: NavbarClass = {\n rootClass: twMerge(\n theme.root.base,\n theme.root.color['gray'],\n theme.root.isRounded[properties.isRounded],\n theme.root.hasBorder[properties.hasBorder],\n theme.root.isFixed[properties.isFixed]\n ),\n };\n\n return output;\n }\n}\n","import { NavbarBrandComponent } from './navbar-brand.component';\nimport { NavbarContentComponent } from './navbar-content.component';\nimport { NavbarToggleComponent } from './navbar-toggle.component';\nimport type { NavbarClass, NavbarColors, NavbarTheme } from './navbar.theme';\nimport { NavbarThemeService } from './navbar.theme.service';\n\nimport type { DeepPartial } from 'flowbite-angular';\nimport { BaseComponent, booleanToFlowbiteBoolean } from 'flowbite-angular';\n\nimport { NgClass } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n contentChild,\n inject,\n model,\n untracked,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * @see https://flowbite.com/docs/components/navbar/\n */\n@Component({\n standalone: true,\n imports: [NgClass],\n selector: 'flowbite-navbar',\n template: `<ng-content />`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavbarComponent extends BaseComponent<NavbarClass> {\n public readonly themeService = inject(NavbarThemeService);\n public readonly navbarBrandChild = contentChild(NavbarBrandComponent);\n public readonly navbarToggleChild = contentChild(NavbarToggleComponent);\n public readonly navbarContentChild = contentChild(NavbarContentComponent);\n\n //#region properties\n public color = model<keyof NavbarColors>('primary');\n public isOpen = model<boolean>(false);\n public isRounded = model<boolean>(false);\n public hasBorder = model<boolean>(false);\n public isFixed = model<boolean>(false);\n public customStyle = model<DeepPartial<NavbarTheme>>({});\n //#endregion\n\n //#region BaseComponent implementation\n public override fetchClass(): NavbarClass {\n return this.themeService.getClasses({\n hasBorder: booleanToFlowbiteBoolean(this.isRounded()),\n isRounded: booleanToFlowbiteBoolean(this.hasBorder()),\n isFixed: booleanToFlowbiteBoolean(this.isFixed()),\n customStyle: this.customStyle(),\n });\n }\n\n public override verify(): void {\n if (this.navbarContentChild() === undefined) {\n throw new Error('No NavbarContentComponent available');\n }\n }\n //#endregion\n\n public toggleVisibility(isOpen?: boolean): void {\n if (isOpen === undefined) {\n isOpen = untracked(() => !this.isOpen());\n }\n\n this.isOpen.set(isOpen);\n }\n}\n","import type { DeepPartial, FlowbiteBoolean, FlowbiteClass, FlowbiteColors } from 'flowbite-angular';\nimport { createTheme } from 'flowbite-angular/utils';\n\n//#region Component theme option\nexport interface NavbarColors extends Pick<FlowbiteColors, 'primary' | 'gray'> {\n [key: string]: string;\n}\n//#endregion\n\nexport interface NavbarProperties {\n isRounded: keyof FlowbiteBoolean;\n hasBorder: keyof FlowbiteBoolean;\n isFixed: keyof FlowbiteBoolean;\n customStyle: DeepPartial<NavbarTheme>;\n}\n\nexport interface NavbarTheme {\n root: {\n base: string;\n color: NavbarColors;\n isRounded: FlowbiteBoolean;\n hasBorder: FlowbiteBoolean;\n isFixed: FlowbiteBoolean;\n };\n}\n\nexport const navbarTheme: NavbarTheme = createTheme({\n root: {\n base: 'flex flex-wrap items-center justify-between p-4',\n color: {\n primary: 'bg-primary-200 dark:bg-primary-800 border-primary-200 dark:border-primary-700',\n gray: 'bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700',\n },\n isRounded: {\n enabled: 'rounded',\n disabled: '',\n },\n hasBorder: {\n enabled: 'border',\n disabled: '',\n },\n isFixed: {\n enabled: 'border-b',\n disabled: '',\n },\n },\n});\n\nexport type NavbarClass = FlowbiteClass;\n","import type { DeepPartial, FlowbiteClass } from 'flowbite-angular';\nimport { createTheme } from 'flowbite-angular/utils';\n\nexport interface NavbarBrandProperties {\n customStyle: DeepPartial<NavbarBrandTheme>;\n}\n\nexport interface NavbarBrandTheme {\n root: {\n base: string;\n };\n}\n\nexport const navbarBrandTheme: NavbarBrandTheme = createTheme({\n root: {\n base: 'cursor-pointer flex items-center space-x-3 rtl:space-x-reverse',\n },\n});\n\nexport type NavbarBrandClass = FlowbiteClass;\n","import type { DeepPartial, FlowbiteBoolean, FlowbiteClass } from 'flowbite-angular';\nimport { createTheme } from 'flowbite-angular/utils';\n\nexport interface NavbarContentProperties {\n isOpen: keyof FlowbiteBoolean;\n customStyle: DeepPartial<NavbarContentTheme>;\n}\n\nexport interface NavbarContentTheme {\n root: {\n base: string;\n isOpen: FlowbiteBoolean;\n };\n list: {\n base: string;\n };\n}\n\nexport const navbarContentTheme: NavbarContentTheme = createTheme({\n root: {\n base: 'w-full md:block md:w-auto order-last md:order-none',\n isOpen: {\n enabled: '',\n disabled: 'hidden',\n },\n },\n list: {\n base: 'font-medium flex flex-col p-4 md:p-0 mt-4 items-center border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-white dark:bg-gray-900 md:dark:bg-gray-800 dark:border-gray-700',\n },\n});\n\nexport interface NavbarContentClass extends FlowbiteClass {\n navbarContentListClass: string;\n}\n","import type { NabvarItemProperties, NavbarItemClass, NavbarItemTheme } from './navbar-item.theme';\n\nimport type { FlowbiteThemeService } from 'flowbite-angular';\nimport { mergeTheme } from 'flowbite-angular/utils';\n\nimport { inject, InjectionToken } from '@angular/core';\nimport { twMerge } from 'tailwind-merge';\n\nexport const FLOWBITE_NAVBAR_ITEM_THEME_TOKEN = new InjectionToken<NavbarItemTheme>(\n 'FLOWBITE_NAVBAR_ITEM_THEME_TOKEN'\n);\n\nexport class NavbarItemThemeService implements FlowbiteThemeService<NabvarItemProperties> {\n private readonly baseTheme = inject(FLOWBITE_NAVBAR_ITEM_THEME_TOKEN);\n\n public getClasses(properties: NabvarItemProperties): NavbarItemClass {\n const theme: NavbarItemTheme = mergeTheme(this.baseTheme, properties.customStyle);\n\n const output: NavbarItemClass = {\n rootClass: twMerge(theme.root.base, theme.root.color[properties.color]),\n };\n\n return output;\n }\n}\n","import { NavbarContentComponent } from './navbar-content.component';\nimport type { NavbarItemClass, NavbarItemTheme } from './navbar-item.theme';\nimport { NavbarItemThemeService } from './navbar-item.theme.service';\nimport type { NavbarColors } from './navbar.theme';\n\nimport type { DeepPartial } from 'flowbite-angular';\nimport { BaseComponent } from 'flowbite-angular';\nimport { FlowbiteRouterLinkDirective } from 'flowbite-angular/router-link';\nimport { FlowbiteRouterLinkActiveDirective } from 'flowbite-angular/router-link-active';\n\nimport { NgClass } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n model,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'flowbite-navbar-item',\n standalone: true,\n imports: [NgClass],\n template: `<ng-content />`,\n host: {\n '(click)': 'onClick()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavbarItemComponent extends BaseComponent<NavbarItemClass> {\n public readonly flowbiteRouterLink = inject(FlowbiteRouterLinkDirective, { optional: true });\n public readonly flowbiteRouterLinkActive = inject(FlowbiteRouterLinkActiveDirective, {\n optional: true,\n });\n public readonly themeService = inject(NavbarItemThemeService);\n public readonly navbarContentComponent = inject(NavbarContentComponent);\n\n //#region properties\n public color = model<keyof NavbarColors>(this.navbarContentComponent.color());\n public customStyle = model<DeepPartial<NavbarItemTheme>>({});\n //#endregion\n\n //#region BaseComponent implementation\n public override fetchClass(): NavbarItemClass {\n return this.themeService.getClasses({\n color: this.color(),\n customStyle: this.customStyle(),\n });\n }\n //#endregion\n\n public onClick(): void {\n this.navbarContentComponent.navbarComponent().toggleVisibility(false);\n }\n}\n","import type { NavbarColors } from './navbar.theme';\n\nimport type { DeepPartial, FlowbiteClass } from 'flowbite-angular';\nimport { createTheme } from 'flowbite-angular/utils';\n\nexport interface NabvarItemProperties {\n color: keyof NavbarColors;\n customStyle: DeepPartial<NavbarItemTheme>;\n}\n\nexport interface NavbarItemTheme {\n root: {\n base: string;\n color: NavbarColors;\n };\n}\n\nexport const navbarItemTheme: NavbarItemTheme = createTheme({\n root: {\n base: 'cursor-pointer block py-2 px-3 rounded text-sm text-gray-900 dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 md:hover:bg-transparent md:border-0 md:p-0 md:dark:hover:bg-transparent',\n color: {\n primary:\n 'md:hover:text-primary-700 md:dark:hover:text-primary-500 aria-current:text-primary-500 dark:aria-current:text-primary-300',\n gray: 'md:hover:text-gray-700 md:dark:hover:text-gray-500 aria-current:text-gray-500 dark:aria-current:text-gray-300',\n },\n },\n});\n\nexport type NavbarItemClass = FlowbiteClass;\n","import type { DeepPartial, FlowbiteClass } from 'flowbite-angular';\nimport { createTheme } from 'flowbite-angular/utils';\n\nexport interface NavbarToggleProperties {\n customStyle: DeepPartial<NavbarToggleTheme>;\n}\n\nexport interface NavbarToggleTheme {\n root: {\n base: string;\n };\n}\n\nexport const navbarToogleTheme: NavbarToggleTheme = createTheme({\n root: {\n base: 'cursor-pointer inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600',\n },\n});\n\nexport type NavbarToggleClass = FlowbiteClass;\n","import type {\n NavbarIconButtonClass,\n NavbarIconButtonProperties,\n NavbarIconButtonTheme,\n} from './navbar-icon-button.theme';\n\nimport type { FlowbiteThemeService } from 'flowbite-angular';\nimport { mergeTheme } from 'flowbite-angular/utils';\n\nimport { inject, InjectionToken } from '@angular/core';\nimport { twMerge } from 'tailwind-merge';\n\nexport const FLOWBITE_NAVBAR_ICON_BUTTON_THEME_TOKEN = new InjectionToken<NavbarIconButtonTheme>(\n 'FLOWBITE_NAVBAR_TOGGLE_THEME_TOKEN'\n);\n\nexport class NavbarIconButtonThemeService\n implements FlowbiteThemeService<NavbarIconButtonProperties>\n{\n private readonly baseTheme = inject(FLOWBITE_NAVBAR_ICON_BUTTON_THEME_TOKEN);\n\n public getClasses(properties: NavbarIconButtonProperties): NavbarIconButtonClass {\n const theme: NavbarIconButtonTheme = mergeTheme(this.baseTheme, properties.customStyle);\n\n const output: NavbarIconButtonClass = {\n rootClass: twMerge(theme.root.base, theme.root.color[properties.color]),\n };\n\n return output;\n }\n}\n","import { NavbarContentComponent } from './navbar-content.component';\nimport type { NavbarIconButtonClass, NavbarIconButtonTheme } from './navbar-icon-button.theme';\nimport { NavbarIconButtonThemeService } from './navbar-icon-button.theme.service';\nimport { NavbarComponent } from './navbar.component';\nimport type { NavbarColors } from './navbar.theme';\n\nimport type { DeepPartial } from 'flowbite-angular';\nimport { BaseComponent } from 'flowbite-angular';\n\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n model,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'flowbite-navbar-icon-button',\n standalone: true,\n imports: [],\n template: `<ng-content />`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavbarIconButtonComponent extends BaseComponent<NavbarIconButtonClass> {\n public readonly themeService = inject(NavbarIconButtonThemeService);\n public readonly navbarComponent = inject(NavbarComponent, { optional: true });\n public readonly navbarContentComponent = inject(NavbarContentComponent, { optional: true });\n\n //#region properties\n public color = model<keyof NavbarColors>(\n this.navbarContentComponent?.color() || this.navbarComponent!.color()\n );\n public customStyle = model<DeepPartial<NavbarIconButtonTheme>>({});\n //#endregion\n\n //#region BaseComponent implementation\n public override fetchClass(): NavbarIconButtonClass {\n return this.themeService.getClasses({\n color: this.color(),\n customStyle: this.customStyle(),\n });\n }\n\n public override verify(): void {\n if (this.navbarComponent === null && this.navbarContentComponent === null) {\n throw new Error('No NavbarComponent/NavbarContentComponent available');\n }\n }\n}\n","import type { NavbarColors } from './navbar.theme';\n\nimport type { DeepPartial, FlowbiteClass } from 'flowbite-angular';\nimport { createTheme } from 'flowbite-angular/utils';\n\nexport interface NavbarIconButtonProperties {\n color: keyof NavbarColors;\n customStyle: DeepPartial<NavbarIconButtonTheme>;\n}\n\nexport interface NavbarIconButtonTheme {\n root: {\n base: string;\n color: NavbarColors;\n };\n}\n\nexport const navbarIconButtonTheme: NavbarIconButtonTheme = createTheme({\n root: {\n base: 'cursor-pointer rounded-lg p-2.5 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700',\n color: {\n primary: 'text-primary-500 dark:text-primary-300',\n gray: 'text-gray-500 dark:text-gray-400',\n blue: 'text-blue-500 dark:text-blue-300',\n red: 'text-red-500 dark:text-red-300',\n green: 'text-green-500 dark:text-green-300',\n yellow: 'text-yellow-500 dark:text-yellow-300',\n },\n },\n});\n\nexport type NavbarIconButtonClass = FlowbiteClass;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAYa,iCAAiC,GAAG,IAAI,cAAc,CACjE,mCAAmC,EACnC;MAEW,uBAAuB,CAAA;AAApC,IAAA,WAAA,GAAA;AACmB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,iCAAiC,CAAC,CAAC;KAWxE;AATQ,IAAA,UAAU,CAAC,UAAiC,EAAA;AACjD,QAAA,MAAM,KAAK,GAAqB,UAAU,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;AAEnF,QAAA,MAAM,MAAM,GAAqB;Y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,QAAQ,EAAE,6BAA6B;AACvC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE,CAAgB,cAAA,CAAA;oBAC1B,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA,CAAA;;;ACPM,MAAM,qBAAqB,GAA0B,WAAW,CAAC;AACtE,IAAA,IAAI,EAAE;AACJ,QAAA,IAAI,EAAE,gMAAgM;AACtM,QAAA,KAAK,EAAE;AACL,YAAA,OAAO,EAAE,wCAAwC;AACjD,YAAA,IAAI,EAAE,kCAAkC;AACxC,YAAA,IAAI,EAAE,kCAAkC;AACxC,YAAA,GAAG,EAAE,gCAAgC;AACrC,YAAA,KAAK,EAAE,oCAAoC;AAC3C,YAAA,MAAM,EAAE,sCAAsC;AAC/C,SAAA;AACF,KAAA;AACF,CAAA;;AC7BD;;AAEG;;;;"}
@@ -0,0 +1,56 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, signal, Directive } from '@angular/core';
3
+ import * as i1 from '@angular/router';
4
+ import { RouterLinkActive } from '@angular/router';
5
+
6
+ /**
7
+ * Wrapping directive over RouterLinkActive.
8
+ *
9
+ * @usageNotes
10
+ * It provides a clean way to have 'isActive' data with signal base value.
11
+ *
12
+ * @see `RouterLinkActive`
13
+ */
14
+ class FlowbiteRouterLinkActiveDirective {
15
+ get isActive() {
16
+ return this._isActive.asReadonly();
17
+ }
18
+ /**
19
+ * Set the RouterLinkActive's ariaCurrentWhenActive to the value passed to the component (via this Directive).
20
+ */
21
+ constructor() {
22
+ this.ariaCurrentValue = true;
23
+ this.routerLinkActive = inject(RouterLinkActive);
24
+ this._isActive = signal(this.routerLinkActive.isActive);
25
+ this.routerLinkActive.ariaCurrentWhenActive = this.ariaCurrentValue;
26
+ }
27
+ onIsActiveChange() {
28
+ this._isActive.set(this.routerLinkActive.isActive);
29
+ }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: FlowbiteRouterLinkActiveDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
31
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0", type: FlowbiteRouterLinkActiveDirective, isStandalone: true, selector: "[flowbiteRouterLinkActive]", host: { attributes: { "isActiveChange": "onIsActiveChange" } }, hostDirectives: [{ directive: i1.RouterLinkActive, inputs: ["routerLinkActiveOptions", "routerLinkActiveOptions", "ariaCurrentWhenActive", "ariaCurrentWhenActive", "routerLinkActive", "routerLinkActive"], outputs: ["isActiveChange", "isActiveChange"] }], ngImport: i0 }); }
32
+ }
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: FlowbiteRouterLinkActiveDirective, decorators: [{
34
+ type: Directive,
35
+ args: [{
36
+ standalone: true,
37
+ selector: '[flowbiteRouterLinkActive]',
38
+ host: {
39
+ isActiveChange: 'onIsActiveChange',
40
+ },
41
+ hostDirectives: [
42
+ {
43
+ directive: RouterLinkActive,
44
+ inputs: ['routerLinkActiveOptions', 'ariaCurrentWhenActive', 'routerLinkActive'],
45
+ outputs: ['isActiveChange'],
46
+ },
47
+ ],
48
+ }]
49
+ }], ctorParameters: () => [] });
50
+
51
+ /**
52
+ * Generated bundle index. Do not edit.
53
+ */
54
+
55
+ export { FlowbiteRouterLinkActiveDirective };
56
+ //# sourceMappingURL=flowbite-angular-router-link-active.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flowbite-angular-router-link-active.mjs","sources":["../../../../libs/flowbite-angular/router-link-active/flowbite-router-link-active.directive.ts","../../../../libs/flowbite-angular/router-link-active/flowbite-angular-router-link-active.ts"],"sourcesContent":["import type { Signal } from '@angular/core';\nimport { Directive, inject, signal } from '@angular/core';\nimport { RouterLinkActive } from '@angular/router';\n\n/**\n * Wrapping directive over RouterLinkActive.\n *\n * @usageNotes\n * It provides a clean way to have 'isActive' data with signal base value.\n *\n * @see `RouterLinkActive`\n */\n@Directive({\n standalone: true,\n selector: '[flowbiteRouterLinkActive]',\n host: {\n isActiveChange: 'onIsActiveChange',\n },\n hostDirectives: [\n {\n directive: RouterLinkActive,\n inputs: ['routerLinkActiveOptions', 'ariaCurrentWhenActive', 'routerLinkActive'],\n outputs: ['isActiveChange'],\n },\n ],\n})\nexport class FlowbiteRouterLinkActiveDirective {\n private readonly ariaCurrentValue: boolean = true;\n\n public routerLinkActive = inject(RouterLinkActive);\n\n private _isActive = signal<boolean>(this.routerLinkActive.isActive);\n\n public get isActive(): Signal<boolean> {\n return this._isActive.asReadonly();\n }\n\n /**\n * Set the RouterLinkActive's ariaCurrentWhenActive to the value passed to the component (via this Directive).\n */\n constructor() {\n this.routerLinkActive.ariaCurrentWhenActive = this.ariaCurrentValue;\n }\n\n onIsActiveChange(): void {\n this._isActive.set(this.routerLinkActive.isActive);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;;;;;;AAOG;MAeU,iCAAiC,CAAA;AAO5C,IAAA,IAAW,QAAQ,GAAA;AACjB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC;KACpC;AAED;;AAEG;AACH,IAAA,WAAA,GAAA;QAbiB,IAAgB,CAAA,gBAAA,GAAY,IAAI,CAAC;AAE3C,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;QAE3C,IAAS,CAAA,SAAA,GAAG,MAAM,CAAU,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;QAUlE,IAAI,CAAC,gBAAgB,CAAC,qBAAqB,GAAG,IAAI,CAAC,gBAAgB,CAAC;KACrE;IAED,gBAAgB,GAAA;QACd,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;KACpD;8GApBU,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAjC,iCAAiC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,yBAAA,EAAA,uBAAA,EAAA,uBAAA,EAAA,kBAAA,EAAA,kBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,gBAAA,EAAA,gBAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAjC,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAd7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,IAAI,EAAE;AACJ,wBAAA,cAAc,EAAE,kBAAkB;AACnC,qBAAA;AACD,oBAAA,cAAc,EAAE;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,gBAAgB;AAC3B,4BAAA,MAAM,EAAE,CAAC,yBAAyB,EAAE,uBAAuB,EAAE,kBAAkB,CAAC;4BAChF,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,yBAAA;AACF,qBAAA;AACF,iBAAA,CAAA;;;ACzBD;;AAEG;;;;"}
@@ -0,0 +1,61 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, model, Directive } from '@angular/core';
3
+ import * as i1 from '@angular/router';
4
+ import { Router, RouterLink } from '@angular/router';
5
+
6
+ /**
7
+ * Wrapping directive over RouterLink.
8
+ *
9
+ * @see `RouterLink`
10
+ */
11
+ class FlowbiteRouterLinkDirective {
12
+ constructor() {
13
+ this.router = inject(Router);
14
+ this.routerLink = inject(RouterLink);
15
+ this.href = model();
16
+ }
17
+ onClick() {
18
+ const hrefValue = this.href();
19
+ if (hrefValue) {
20
+ this.router.navigateByUrl(hrefValue);
21
+ }
22
+ }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: FlowbiteRouterLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
24
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.0.0", type: FlowbiteRouterLinkDirective, isStandalone: true, selector: "[flowbiteRouterLink]", inputs: { href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { href: "hrefChange" }, host: { listeners: { "click": "onClick()" } }, hostDirectives: [{ directive: i1.RouterLink, inputs: ["target", "target", "queryParams", "queryParams", "fragment", "fragment", "queryParamsHandling", "queryParamsHandling", "state", "state", "info", "info", "relativeTo", "relativeTo", "preserveFragment", "preserveFragment", "skipLocationChange", "skipLocationChange", "replaceUrl", "replaceUrl", "routerLink", "routerLink"] }], ngImport: i0 }); }
25
+ }
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: FlowbiteRouterLinkDirective, decorators: [{
27
+ type: Directive,
28
+ args: [{
29
+ standalone: true,
30
+ selector: '[flowbiteRouterLink]',
31
+ host: {
32
+ '(click)': 'onClick()',
33
+ },
34
+ hostDirectives: [
35
+ {
36
+ directive: RouterLink,
37
+ inputs: [
38
+ 'target',
39
+ 'queryParams',
40
+ 'fragment',
41
+ 'queryParamsHandling',
42
+ 'state',
43
+ 'info',
44
+ 'relativeTo',
45
+ 'preserveFragment',
46
+ 'skipLocationChange',
47
+ 'replaceUrl',
48
+ 'routerLink',
49
+ ],
50
+ outputs: [],
51
+ },
52
+ ],
53
+ }]
54
+ }] });
55
+
56
+ /**
57
+ * Generated bundle index. Do not edit.
58
+ */
59
+
60
+ export { FlowbiteRouterLinkDirective };
61
+ //# sourceMappingURL=flowbite-angular-router-link.mjs.map