@ngbase/adk 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. package/README.md +57 -0
  2. package/a11y/accessibility-group.d.ts +49 -0
  3. package/a11y/accessibility-item.d.ts +49 -0
  4. package/a11y/accessibility.service.d.ts +17 -0
  5. package/a11y/autofocus.d.ts +12 -0
  6. package/a11y/focus-trap.d.ts +15 -0
  7. package/a11y/index.d.ts +5 -0
  8. package/a11y/public-api.d.ts +4 -0
  9. package/accordion/accordion-content.d.ts +8 -0
  10. package/accordion/accordion-group.d.ts +10 -0
  11. package/accordion/accordion-header.d.ts +7 -0
  12. package/accordion/accordion-item.d.ts +10 -0
  13. package/accordion/index.d.ts +5 -0
  14. package/accordion/public-api.d.ts +4 -0
  15. package/autocomplete/autocomplete-input.d.ts +21 -0
  16. package/autocomplete/autocomplete.d.ts +25 -0
  17. package/autocomplete/index.d.ts +5 -0
  18. package/autocomplete/public-api.d.ts +2 -0
  19. package/avatar/avatar.d.ts +22 -0
  20. package/avatar/index.d.ts +5 -0
  21. package/avatar/public-api.d.ts +1 -0
  22. package/bidi/direction.service.d.ts +14 -0
  23. package/bidi/index.d.ts +5 -0
  24. package/bidi/public-api.d.ts +1 -0
  25. package/breadcrumb/breadcrumb-link.d.ts +7 -0
  26. package/breadcrumb/breadcrumb-separator.d.ts +10 -0
  27. package/breadcrumb/breadcrumb.d.ts +12 -0
  28. package/breadcrumb/breadcrumbs.d.ts +7 -0
  29. package/breadcrumb/index.d.ts +5 -0
  30. package/breadcrumb/public-api.d.ts +4 -0
  31. package/cache/cache-config.d.ts +22 -0
  32. package/cache/cache.d.ts +17 -0
  33. package/cache/cache.interecptor.d.ts +2 -0
  34. package/cache/index.d.ts +5 -0
  35. package/cache/public-api.d.ts +3 -0
  36. package/carousel/carousel-item.d.ts +7 -0
  37. package/carousel/carousel-next.d.ts +8 -0
  38. package/carousel/carousel.d.ts +61 -0
  39. package/carousel/index.d.ts +5 -0
  40. package/carousel/public-api.d.ts +3 -0
  41. package/checkbox/checkbox.d.ts +22 -0
  42. package/checkbox/index.d.ts +5 -0
  43. package/checkbox/public-api.d.ts +1 -0
  44. package/chip/chip-group.d.ts +7 -0
  45. package/chip/chip.d.ts +19 -0
  46. package/chip/index.d.ts +5 -0
  47. package/chip/public-api.d.ts +2 -0
  48. package/clipboard/clipboard.d.ts +7 -0
  49. package/clipboard/index.d.ts +5 -0
  50. package/clipboard/public-api.d.ts +1 -0
  51. package/collections/SelectionModel.d.ts +14 -0
  52. package/collections/index.d.ts +5 -0
  53. package/collections/public-api.d.ts +1 -0
  54. package/color-picker/color-input.d.ts +16 -0
  55. package/color-picker/color-picker-trigger.d.ts +30 -0
  56. package/color-picker/color-picker.d.ts +72 -0
  57. package/color-picker/index.d.ts +5 -0
  58. package/color-picker/public-api.d.ts +3 -0
  59. package/color-picker/utils.d.ts +21 -0
  60. package/cookies/cookie.service.d.ts +32 -0
  61. package/cookies/index.d.ts +5 -0
  62. package/cookies/public-api.d.ts +1 -0
  63. package/datepicker/calendar.d.ts +121 -0
  64. package/datepicker/datepicker-trigger.d.ts +49 -0
  65. package/datepicker/datepicker.d.ts +54 -0
  66. package/datepicker/index.d.ts +5 -0
  67. package/datepicker/native-date-adapter.d.ts +33 -0
  68. package/datepicker/public-api.d.ts +5 -0
  69. package/datepicker/time.d.ts +42 -0
  70. package/dialog/dialog.animation.d.ts +3 -0
  71. package/dialog/dialog.d.ts +49 -0
  72. package/dialog/dialog.service.d.ts +7 -0
  73. package/dialog/index.d.ts +5 -0
  74. package/dialog/public-api.d.ts +3 -0
  75. package/drag/drag-drop.d.ts +37 -0
  76. package/drag/drag-move.d.ts +17 -0
  77. package/drag/drag.d.ts +53 -0
  78. package/drag/index.d.ts +5 -0
  79. package/drag/public-api.d.ts +3 -0
  80. package/fesm2022/ngbase-adk-a11y.mjs +617 -0
  81. package/fesm2022/ngbase-adk-a11y.mjs.map +1 -0
  82. package/fesm2022/ngbase-adk-accordion.mjs +117 -0
  83. package/fesm2022/ngbase-adk-accordion.mjs.map +1 -0
  84. package/fesm2022/ngbase-adk-autocomplete.mjs +150 -0
  85. package/fesm2022/ngbase-adk-autocomplete.mjs.map +1 -0
  86. package/fesm2022/ngbase-adk-avatar.mjs +69 -0
  87. package/fesm2022/ngbase-adk-avatar.mjs.map +1 -0
  88. package/fesm2022/ngbase-adk-bidi.mjs +42 -0
  89. package/fesm2022/ngbase-adk-bidi.mjs.map +1 -0
  90. package/fesm2022/ngbase-adk-breadcrumb.mjs +103 -0
  91. package/fesm2022/ngbase-adk-breadcrumb.mjs.map +1 -0
  92. package/fesm2022/ngbase-adk-cache.mjs +127 -0
  93. package/fesm2022/ngbase-adk-cache.mjs.map +1 -0
  94. package/fesm2022/ngbase-adk-carousel.mjs +337 -0
  95. package/fesm2022/ngbase-adk-carousel.mjs.map +1 -0
  96. package/fesm2022/ngbase-adk-checkbox.mjs +78 -0
  97. package/fesm2022/ngbase-adk-checkbox.mjs.map +1 -0
  98. package/fesm2022/ngbase-adk-chip.mjs +60 -0
  99. package/fesm2022/ngbase-adk-chip.mjs.map +1 -0
  100. package/fesm2022/ngbase-adk-clipboard.mjs +41 -0
  101. package/fesm2022/ngbase-adk-clipboard.mjs.map +1 -0
  102. package/fesm2022/ngbase-adk-collections.mjs +39 -0
  103. package/fesm2022/ngbase-adk-collections.mjs.map +1 -0
  104. package/fesm2022/ngbase-adk-color-picker.mjs +580 -0
  105. package/fesm2022/ngbase-adk-color-picker.mjs.map +1 -0
  106. package/fesm2022/ngbase-adk-cookies.mjs +81 -0
  107. package/fesm2022/ngbase-adk-cookies.mjs.map +1 -0
  108. package/fesm2022/ngbase-adk-datepicker.mjs +1130 -0
  109. package/fesm2022/ngbase-adk-datepicker.mjs.map +1 -0
  110. package/fesm2022/ngbase-adk-dialog.mjs +223 -0
  111. package/fesm2022/ngbase-adk-dialog.mjs.map +1 -0
  112. package/fesm2022/ngbase-adk-drag.mjs +406 -0
  113. package/fesm2022/ngbase-adk-drag.mjs.map +1 -0
  114. package/fesm2022/ngbase-adk-form-field.mjs +364 -0
  115. package/fesm2022/ngbase-adk-form-field.mjs.map +1 -0
  116. package/fesm2022/ngbase-adk-hover-card.mjs +79 -0
  117. package/fesm2022/ngbase-adk-hover-card.mjs.map +1 -0
  118. package/fesm2022/ngbase-adk-icon.mjs +90 -0
  119. package/fesm2022/ngbase-adk-icon.mjs.map +1 -0
  120. package/fesm2022/ngbase-adk-inline-edit.mjs +127 -0
  121. package/fesm2022/ngbase-adk-inline-edit.mjs.map +1 -0
  122. package/fesm2022/ngbase-adk-jwt.mjs +90 -0
  123. package/fesm2022/ngbase-adk-jwt.mjs.map +1 -0
  124. package/fesm2022/ngbase-adk-keys.mjs +219 -0
  125. package/fesm2022/ngbase-adk-keys.mjs.map +1 -0
  126. package/fesm2022/ngbase-adk-layout.mjs +100 -0
  127. package/fesm2022/ngbase-adk-layout.mjs.map +1 -0
  128. package/fesm2022/ngbase-adk-list.mjs +110 -0
  129. package/fesm2022/ngbase-adk-list.mjs.map +1 -0
  130. package/fesm2022/ngbase-adk-mask.mjs +234 -0
  131. package/fesm2022/ngbase-adk-mask.mjs.map +1 -0
  132. package/fesm2022/ngbase-adk-menu.mjs +546 -0
  133. package/fesm2022/ngbase-adk-menu.mjs.map +1 -0
  134. package/fesm2022/ngbase-adk-network.mjs +90 -0
  135. package/fesm2022/ngbase-adk-network.mjs.map +1 -0
  136. package/fesm2022/ngbase-adk-pagination.mjs +187 -0
  137. package/fesm2022/ngbase-adk-pagination.mjs.map +1 -0
  138. package/fesm2022/ngbase-adk-popover.mjs +953 -0
  139. package/fesm2022/ngbase-adk-popover.mjs.map +1 -0
  140. package/fesm2022/ngbase-adk-portal.mjs +279 -0
  141. package/fesm2022/ngbase-adk-portal.mjs.map +1 -0
  142. package/fesm2022/ngbase-adk-progress.mjs +57 -0
  143. package/fesm2022/ngbase-adk-progress.mjs.map +1 -0
  144. package/fesm2022/ngbase-adk-radio.mjs +129 -0
  145. package/fesm2022/ngbase-adk-radio.mjs.map +1 -0
  146. package/fesm2022/ngbase-adk-resizable.mjs +367 -0
  147. package/fesm2022/ngbase-adk-resizable.mjs.map +1 -0
  148. package/fesm2022/ngbase-adk-scroll-area.mjs +232 -0
  149. package/fesm2022/ngbase-adk-scroll-area.mjs.map +1 -0
  150. package/fesm2022/ngbase-adk-select.mjs +599 -0
  151. package/fesm2022/ngbase-adk-select.mjs.map +1 -0
  152. package/fesm2022/ngbase-adk-selectable.mjs +79 -0
  153. package/fesm2022/ngbase-adk-selectable.mjs.map +1 -0
  154. package/fesm2022/ngbase-adk-sidenav.mjs +209 -0
  155. package/fesm2022/ngbase-adk-sidenav.mjs.map +1 -0
  156. package/fesm2022/ngbase-adk-slider.mjs +337 -0
  157. package/fesm2022/ngbase-adk-slider.mjs.map +1 -0
  158. package/fesm2022/ngbase-adk-sonner.mjs +176 -0
  159. package/fesm2022/ngbase-adk-sonner.mjs.map +1 -0
  160. package/fesm2022/ngbase-adk-stepper.mjs +211 -0
  161. package/fesm2022/ngbase-adk-stepper.mjs.map +1 -0
  162. package/fesm2022/ngbase-adk-switch.mjs +115 -0
  163. package/fesm2022/ngbase-adk-switch.mjs.map +1 -0
  164. package/fesm2022/ngbase-adk-table.mjs +348 -0
  165. package/fesm2022/ngbase-adk-table.mjs.map +1 -0
  166. package/fesm2022/ngbase-adk-tabs.mjs +386 -0
  167. package/fesm2022/ngbase-adk-tabs.mjs.map +1 -0
  168. package/fesm2022/ngbase-adk-test.mjs +267 -0
  169. package/fesm2022/ngbase-adk-test.mjs.map +1 -0
  170. package/fesm2022/ngbase-adk-toggle-group.mjs +114 -0
  171. package/fesm2022/ngbase-adk-toggle-group.mjs.map +1 -0
  172. package/fesm2022/ngbase-adk-toggle.mjs +48 -0
  173. package/fesm2022/ngbase-adk-toggle.mjs.map +1 -0
  174. package/fesm2022/ngbase-adk-tooltip.mjs +237 -0
  175. package/fesm2022/ngbase-adk-tooltip.mjs.map +1 -0
  176. package/fesm2022/ngbase-adk-tour.mjs +312 -0
  177. package/fesm2022/ngbase-adk-tour.mjs.map +1 -0
  178. package/fesm2022/ngbase-adk-translate.mjs +162 -0
  179. package/fesm2022/ngbase-adk-translate.mjs.map +1 -0
  180. package/fesm2022/ngbase-adk-tree.mjs +301 -0
  181. package/fesm2022/ngbase-adk-tree.mjs.map +1 -0
  182. package/fesm2022/ngbase-adk-utils.mjs +228 -0
  183. package/fesm2022/ngbase-adk-utils.mjs.map +1 -0
  184. package/fesm2022/ngbase-adk-virtualizer.mjs +198 -0
  185. package/fesm2022/ngbase-adk-virtualizer.mjs.map +1 -0
  186. package/fesm2022/ngbase-adk.mjs +6 -0
  187. package/fesm2022/ngbase-adk.mjs.map +1 -0
  188. package/form-field/auto-height.d.ts +9 -0
  189. package/form-field/error.d.ts +18 -0
  190. package/form-field/form-field.d.ts +14 -0
  191. package/form-field/index.d.ts +5 -0
  192. package/form-field/input.d.ts +16 -0
  193. package/form-field/label.d.ts +7 -0
  194. package/form-field/otp.d.ts +48 -0
  195. package/form-field/public-api.d.ts +6 -0
  196. package/hover-card/hover-card.d.ts +18 -0
  197. package/hover-card/index.d.ts +5 -0
  198. package/hover-card/public-api.d.ts +1 -0
  199. package/icon/icon.d.ts +12 -0
  200. package/icon/icon.service.d.ts +12 -0
  201. package/icon/index.d.ts +5 -0
  202. package/icon/public-api.d.ts +2 -0
  203. package/index.d.ts +5 -0
  204. package/inline-edit/index.d.ts +5 -0
  205. package/inline-edit/inline-edit.d.ts +47 -0
  206. package/inline-edit/public-api.d.ts +1 -0
  207. package/jwt/index.d.ts +5 -0
  208. package/jwt/jwt.service.d.ts +27 -0
  209. package/jwt/public-api.d.ts +1 -0
  210. package/keys/index.d.ts +5 -0
  211. package/keys/keys.service.d.ts +13 -0
  212. package/keys/public-api.d.ts +2 -0
  213. package/keys/shortcuts.service.d.ts +38 -0
  214. package/layout/index.d.ts +5 -0
  215. package/layout/layout.d.ts +16 -0
  216. package/layout/public-api.d.ts +1 -0
  217. package/list/index.d.ts +5 -0
  218. package/list/list.d.ts +20 -0
  219. package/list/list.directive.d.ts +12 -0
  220. package/list/public-api.d.ts +2 -0
  221. package/mask/index.d.ts +5 -0
  222. package/mask/mask-pipe.d.ts +7 -0
  223. package/mask/mask.d.ts +25 -0
  224. package/mask/public-api.d.ts +2 -0
  225. package/menu/context-menu.d.ts +21 -0
  226. package/menu/index.d.ts +5 -0
  227. package/menu/mention.d.ts +18 -0
  228. package/menu/menu-trigger.d.ts +34 -0
  229. package/menu/menu.d.ts +52 -0
  230. package/menu/navigation-menu.d.ts +19 -0
  231. package/menu/public-api.d.ts +5 -0
  232. package/network/index.d.ts +5 -0
  233. package/network/network.interceptor.d.ts +6 -0
  234. package/network/network.service.d.ts +18 -0
  235. package/network/public-api.d.ts +2 -0
  236. package/package.json +247 -0
  237. package/pagination/index.d.ts +5 -0
  238. package/pagination/pagination.d.ts +28 -0
  239. package/pagination/public-api.d.ts +1 -0
  240. package/popover/base-popover.service.d.ts +16 -0
  241. package/popover/index.d.ts +5 -0
  242. package/popover/popover-trigger.d.ts +21 -0
  243. package/popover/popover.d.ts +50 -0
  244. package/popover/popover.service.d.ts +42 -0
  245. package/popover/public-api.d.ts +5 -0
  246. package/popover/utils.d.ts +85 -0
  247. package/portal/dialog-ref.d.ts +71 -0
  248. package/portal/index.d.ts +5 -0
  249. package/portal/portal-base.service.d.ts +19 -0
  250. package/portal/portal-close.directive.d.ts +8 -0
  251. package/portal/portal.component.d.ts +7 -0
  252. package/portal/portal.service.d.ts +16 -0
  253. package/portal/public-api.d.ts +5 -0
  254. package/progress/index.d.ts +5 -0
  255. package/progress/progress.d.ts +13 -0
  256. package/progress/public-api.d.ts +1 -0
  257. package/public-api.d.ts +2 -0
  258. package/radio/index.d.ts +5 -0
  259. package/radio/public-api.d.ts +2 -0
  260. package/radio/radio-group.d.ts +19 -0
  261. package/radio/radio.d.ts +22 -0
  262. package/resizable/index.d.ts +5 -0
  263. package/resizable/public-api.d.ts +2 -0
  264. package/resizable/resizable-group.d.ts +22 -0
  265. package/resizable/resizable.d.ts +50 -0
  266. package/scroll-area/index.d.ts +5 -0
  267. package/scroll-area/public-api.d.ts +1 -0
  268. package/scroll-area/scroll-area.d.ts +56 -0
  269. package/select/index.d.ts +5 -0
  270. package/select/list-selection.d.ts +7 -0
  271. package/select/option-group.d.ts +7 -0
  272. package/select/option.d.ts +25 -0
  273. package/select/public-api.d.ts +6 -0
  274. package/select/select-base.d.ts +64 -0
  275. package/select/select-input.d.ts +23 -0
  276. package/select/select.d.ts +50 -0
  277. package/selectable/index.d.ts +5 -0
  278. package/selectable/public-api.d.ts +2 -0
  279. package/selectable/selectable-item.d.ts +12 -0
  280. package/selectable/selectable.d.ts +19 -0
  281. package/sidenav/index.d.ts +5 -0
  282. package/sidenav/public-api.d.ts +3 -0
  283. package/sidenav/sidenav-header.d.ts +31 -0
  284. package/sidenav/sidenav.d.ts +23 -0
  285. package/sidenav/sidenav.service.d.ts +18 -0
  286. package/slider/index.d.ts +5 -0
  287. package/slider/public-api.d.ts +1 -0
  288. package/slider/slider.d.ts +73 -0
  289. package/sonner/index.d.ts +5 -0
  290. package/sonner/public-api.d.ts +2 -0
  291. package/sonner/sonner.d.ts +24 -0
  292. package/sonner/sonner.service.d.ts +21 -0
  293. package/stepper/animation.d.ts +1 -0
  294. package/stepper/index.d.ts +5 -0
  295. package/stepper/public-api.d.ts +3 -0
  296. package/stepper/step.d.ts +24 -0
  297. package/stepper/stepper.d.ts +26 -0
  298. package/switch/index.d.ts +5 -0
  299. package/switch/public-api.d.ts +1 -0
  300. package/switch/switch.d.ts +44 -0
  301. package/table/body-cell.d.ts +11 -0
  302. package/table/body-row.d.ts +21 -0
  303. package/table/column.d.ts +10 -0
  304. package/table/head-cell.d.ts +12 -0
  305. package/table/head-row.d.ts +21 -0
  306. package/table/index.d.ts +5 -0
  307. package/table/public-api.d.ts +8 -0
  308. package/table/table.d.ts +32 -0
  309. package/tabs/index.d.ts +5 -0
  310. package/tabs/public-api.d.ts +2 -0
  311. package/tabs/tab-group.d.ts +52 -0
  312. package/tabs/tab.d.ts +31 -0
  313. package/test/index.d.ts +5 -0
  314. package/test/public-api.d.ts +1 -0
  315. package/test/utils.d.ts +62 -0
  316. package/toggle/index.d.ts +5 -0
  317. package/toggle/public-api.d.ts +1 -0
  318. package/toggle/toggle.d.ts +13 -0
  319. package/toggle-group/index.d.ts +5 -0
  320. package/toggle-group/public-api.d.ts +2 -0
  321. package/toggle-group/toggle-group.d.ts +25 -0
  322. package/toggle-group/toggle-item.d.ts +14 -0
  323. package/tooltip/index.d.ts +5 -0
  324. package/tooltip/public-api.d.ts +2 -0
  325. package/tooltip/tooltip.d.ts +20 -0
  326. package/tooltip/tooltip.directive.d.ts +34 -0
  327. package/tooltip/tooltip.service.d.ts +26 -0
  328. package/tour/animation.d.ts +2 -0
  329. package/tour/index.d.ts +5 -0
  330. package/tour/public-api.d.ts +5 -0
  331. package/tour/tour-base.d.ts +21 -0
  332. package/tour/tour-step.d.ts +11 -0
  333. package/tour/tour.d.ts +9 -0
  334. package/tour/tour.service.d.ts +30 -0
  335. package/translate/config.d.ts +16 -0
  336. package/translate/index.d.ts +5 -0
  337. package/translate/public-api.d.ts +3 -0
  338. package/translate/translate.d.ts +11 -0
  339. package/translate/translate.service.d.ts +31 -0
  340. package/tree/index.d.ts +5 -0
  341. package/tree/public-api.d.ts +3 -0
  342. package/tree/tree-node.d.ts +28 -0
  343. package/tree/tree-toggle.d.ts +16 -0
  344. package/tree/tree.d.ts +55 -0
  345. package/utils/animation.d.ts +3 -0
  346. package/utils/disposals.d.ts +7 -0
  347. package/utils/index.d.ts +5 -0
  348. package/utils/number-only.d.ts +22 -0
  349. package/utils/public-api.d.ts +6 -0
  350. package/utils/range.pipe.d.ts +7 -0
  351. package/utils/ssr.d.ts +2 -0
  352. package/utils/utils.d.ts +27 -0
  353. package/virtualizer/index.d.ts +5 -0
  354. package/virtualizer/public-api.d.ts +1 -0
  355. package/virtualizer/virtualizer.d.ts +42 -0
@@ -0,0 +1,18 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { PopoverOptions } from '@ngbase/adk/popover';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NgbHoverCard<T = any> {
5
+ private popoverPortal;
6
+ private el;
7
+ readonly ngbHoverCard: import("@angular/core").InputSignal<TemplateRef<T>>;
8
+ readonly options: import("@angular/core").InputSignal<PopoverOptions | undefined>;
9
+ readonly delay: import("@angular/core").InputSignalWithTransform<number, unknown>;
10
+ private close;
11
+ private inTimer;
12
+ private outTimer;
13
+ open(): void;
14
+ private resetOut;
15
+ closePopup(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgbHoverCard<any>, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgbHoverCard<any>, "[ngbHoverCard]", ["ngbHoverCard"], { "ngbHoverCard": { "alias": "ngbHoverCard"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "delay": { "alias": "delay"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
18
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ngbase/adk/hover-card" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './hover-card';
package/icon/icon.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ import { DomSanitizer } from '@angular/platform-browser';
2
+ import { IconService } from './icon.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NgbIcon {
5
+ readonly service: IconService;
6
+ readonly sanitizer: DomSanitizer;
7
+ readonly name: import("@angular/core").InputSignal<string>;
8
+ private readonly icon;
9
+ readonly svg: import("@angular/core").Signal<import("@angular/platform-browser").SafeHtml>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgbIcon, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgbIcon, "[ngbIcon]", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,12 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export type IconLoaderFn = (name: string) => Promise<string>;
4
+ export declare const ICON_LOADER: InjectionToken<IconLoaderFn>;
5
+ export declare class IconService {
6
+ readonly loader: IconLoaderFn;
7
+ readonly icons: Map<string, string>;
8
+ private readonly pendingRequests;
9
+ getIcon(name: string): Promise<string>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<IconService>;
12
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ngbase/adk/icon" />
5
+ export * from './public-api';
@@ -0,0 +1,2 @@
1
+ export { NgbIcon } from './icon';
2
+ export { type IconLoaderFn, ICON_LOADER } from './icon.service';
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ngbase/adk" />
5
+ export * from './public-api';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ngbase/adk/inline-edit" />
5
+ export * from './public-api';
@@ -0,0 +1,47 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { InputBase } from '@ngbase/adk/form-field';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@ngbase/adk/form-field";
6
+ export declare class NgbInlineInput {
7
+ readonly ie: NgbInlineEdit;
8
+ readonly inputBase: InputBase<any>;
9
+ constructor();
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgbInlineInput, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgbInlineInput, "input[ngbInlineInput]", never, {}, {}, never, never, true, [{ directive: typeof i1.InputBase; inputs: {}; outputs: {}; }]>;
12
+ }
13
+ export declare class NgbInlineValue {
14
+ readonly ie: NgbInlineEdit;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgbInlineValue, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgbInlineValue, "[ngbInlineValue]", never, {}, {}, never, never, true, never>;
17
+ }
18
+ export declare class NgbInlineEdit implements ControlValueAccessor {
19
+ private readonly el;
20
+ private readonly disposals;
21
+ readonly inputElement: import("@angular/core").Signal<ElementRef<any> | undefined>;
22
+ readonly value: import("@angular/core").InputSignal<string>;
23
+ readonly editOn: import("@angular/core").InputSignal<"click" | "dblclick">;
24
+ readonly valueChange: import("@angular/core").OutputEmitterRef<string>;
25
+ readonly localValue: import("@angular/core").WritableSignal<string>;
26
+ readonly isEditing: import("@angular/core").WritableSignal<boolean>;
27
+ readonly inputWidth: import("@angular/core").WritableSignal<number>;
28
+ onChange?: (value: string) => void;
29
+ onTouched?: () => void;
30
+ constructor();
31
+ onClick(): void;
32
+ onDoubleClick(): void;
33
+ startEditing(): void;
34
+ onBlur(): void;
35
+ onEnter(ev: Event): void;
36
+ updateValue(newValue: string): void;
37
+ registerOnChange(fn: any): void;
38
+ registerOnTouched(fn: any): void;
39
+ writeValue(value: string): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgbInlineEdit, never>;
41
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgbInlineEdit, "[ngbInlineEdit]", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "editOn": { "alias": "editOn"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
42
+ }
43
+ export declare function provideInlineEdit(): {
44
+ provide: import("@angular/core").InjectionToken<readonly import("@angular/forms").ControlValueAccessor[]>;
45
+ useExisting: import("@angular/core").Type<any>;
46
+ multi: boolean;
47
+ };
@@ -0,0 +1 @@
1
+ export { NgbInlineEdit, NgbInlineInput, NgbInlineValue, provideInlineEdit } from './inline-edit';
package/jwt/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ngbase/adk/jwt" />
5
+ export * from './public-api';
@@ -0,0 +1,27 @@
1
+ import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ interface JwtOptions {
5
+ tokenGetter: () => string | null | undefined;
6
+ }
7
+ export declare function provideJwt(options: () => JwtOptions): import("@angular/core").EnvironmentProviders;
8
+ export declare class JwtService<T> {
9
+ private tokenKey;
10
+ private options;
11
+ getToken(): string | null;
12
+ isTokenExpired(token?: string): boolean;
13
+ decodeToken(token?: string): T | null;
14
+ getTokenExpirationDate(token?: string): Date | null;
15
+ private base64UrlDecode;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<JwtService<any>, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<JwtService<any>>;
18
+ }
19
+ export declare class JwtInterceptor implements HttpInterceptor {
20
+ private jwtService;
21
+ constructor(jwtService: JwtService<any>);
22
+ intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<JwtInterceptor, never>;
24
+ static ɵprov: i0.ɵɵInjectableDeclaration<JwtInterceptor>;
25
+ }
26
+ export declare const injectJwt: () => JwtService<any>;
27
+ export {};
@@ -0,0 +1 @@
1
+ export { injectJwt, provideJwt, JwtService } from './jwt.service';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ngbase/adk/keys" />
5
+ export * from './public-api';
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class Keys {
3
+ private document;
4
+ private keyup$;
5
+ private keydown$;
6
+ private keypress$;
7
+ lastEvent?: KeyboardEvent;
8
+ private keys;
9
+ event(keyCombination: string): import("rxjs").Observable<[boolean, KeyboardEvent]>;
10
+ isKey(key: string): boolean;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<Keys, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<Keys>;
13
+ }
@@ -0,0 +1,2 @@
1
+ export { Keys } from './keys.service';
2
+ export { keyMap, Shortcuts } from './shortcuts.service';
@@ -0,0 +1,38 @@
1
+ import { Injector } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ interface Shortcut {
4
+ callback: (ev: KeyboardEvent) => void;
5
+ prevent: boolean;
6
+ stop: boolean;
7
+ global: boolean;
8
+ id: string;
9
+ }
10
+ export declare class Shortcuts {
11
+ private readonly shortcuts;
12
+ private isActive;
13
+ private isClient;
14
+ on(keyCombination: string, data: Shortcut): void;
15
+ off(keyCombination: string, id: string): void;
16
+ /**
17
+ * We need to parse the key combination
18
+ * e.g. ⇧⌘P -> shift+meta+p, ⌥⌘P -> meta+alt+p, ctrl+p -> ctrl+p
19
+ * e.g. esc|prevent|stop|global -> escape
20
+ */
21
+ private getParsedKey;
22
+ private handleKeyEvent;
23
+ private keydown;
24
+ private shouldIgnoreEvent;
25
+ private getKeyCombo;
26
+ private turnOff;
27
+ private turnOn;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<Shortcuts, never>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<Shortcuts>;
30
+ }
31
+ export declare function keyMap(key: string, callback: (ev: KeyboardEvent) => void, data?: {
32
+ injector?: Injector;
33
+ cleanup?: (off: () => void) => void;
34
+ stop?: boolean;
35
+ global?: boolean;
36
+ prevent?: boolean;
37
+ }): () => void;
38
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ngbase/adk/layout" />
5
+ export * from './public-api';
@@ -0,0 +1,16 @@
1
+ export declare function breakpointObserver(): {
2
+ observe: <T extends string>(queries: Record<T, string>) => {
3
+ state: import("@angular/core").Signal<Record<T, boolean>>;
4
+ unobserve: () => void;
5
+ };
6
+ matches: (queryName: string) => boolean;
7
+ };
8
+ export declare function setupTestBreakpoint(fn: Function): {
9
+ reset: () => void;
10
+ readonly mediaQueryList: {
11
+ matches: boolean;
12
+ addEventListener: any;
13
+ removeEventListener: any;
14
+ };
15
+ readonly matchMedia: any;
16
+ };
@@ -0,0 +1 @@
1
+ export * from './layout';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ngbase/adk/list" />
5
+ export * from './public-api';
package/list/list.d.ts ADDED
@@ -0,0 +1,20 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@ngbase/adk/a11y";
4
+ export declare class NgbList {
5
+ private readonly allyItem;
6
+ readonly el: ElementRef<HTMLElement>;
7
+ readonly ayId: import("@angular/core").InputSignal<string | undefined>;
8
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
9
+ constructor();
10
+ setAyId(id: string): void;
11
+ select(): void;
12
+ focus(): void;
13
+ unselect(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgbList, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgbList, "[ngbList]", never, { "ayId": { "alias": "ayId"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.AccessibleItem; inputs: { "role": "role"; "disabled": "disabled"; }; outputs: {}; }]>;
16
+ }
17
+ export declare function provideList(list: typeof NgbList): {
18
+ provide: typeof NgbList;
19
+ useExisting: typeof NgbList;
20
+ };
@@ -0,0 +1,12 @@
1
+ import { NgbList } from './list';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NgbListActionGroup {
4
+ readonly options: import("@angular/core").Signal<readonly NgbList[]>;
5
+ private readonly activeIndex;
6
+ private readonly optionsMap;
7
+ constructor();
8
+ private handleKeyDown;
9
+ private afterAction;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgbListActionGroup, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgbListActionGroup, "[ngbActionGroup]", never, {}, {}, ["options"], never, true, never>;
12
+ }
@@ -0,0 +1,2 @@
1
+ export * from './list';
2
+ export * from './list.directive';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ngbase/adk/mask" />
5
+ export * from './public-api';
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MaskPipe implements PipeTransform {
4
+ transform(value: string, mask: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaskPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<MaskPipe, "mask", true>;
7
+ }
package/mask/mask.d.ts ADDED
@@ -0,0 +1,25 @@
1
+ import { NgControl } from '@angular/forms';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@ngbase/adk/form-field";
4
+ export declare class Mask {
5
+ private readonly el;
6
+ readonly control: NgControl | null;
7
+ private readonly inputC;
8
+ readonly ngbMask: import("@angular/core").InputSignal<string>;
9
+ readonly showMaskType: import("@angular/core").InputSignal<boolean>;
10
+ readonly localValue: import("@angular/core").WritableSignal<string>;
11
+ constructor();
12
+ onKeyDown(event: KeyboardEvent): void;
13
+ getCurrentMaskChar(mask: string, cursorPos: number): string;
14
+ onPaste(event: ClipboardEvent): void;
15
+ private isValidChar;
16
+ handleValue(value: string, cursorPos?: number): void;
17
+ private calculateCursorPosition;
18
+ private updateLocalValue;
19
+ writeValue(value: string): void;
20
+ private updateView;
21
+ private unmask;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<Mask, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<Mask, "[ngbMask]", never, { "ngbMask": { "alias": "ngbMask"; "required": false; "isSignal": true; }; "showMaskType": { "alias": "showMaskType"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.InputBase; inputs: {}; outputs: {}; }]>;
24
+ }
25
+ export declare function maskTransform(value: string, mask: string, showMaskType?: boolean): string;
@@ -0,0 +1,2 @@
1
+ export { Mask } from './mask';
2
+ export { MaskPipe } from './mask-pipe';
@@ -0,0 +1,21 @@
1
+ import { DialogRef } from '@ngbase/adk/portal';
2
+ import { NgbMenu } from './menu';
3
+ import * as i0 from "@angular/core";
4
+ declare class MenuService {
5
+ private currentRef;
6
+ close(): void;
7
+ setCurrentRef(ref: DialogRef<any>): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<MenuService>;
10
+ }
11
+ export declare class NgbContextMenu {
12
+ readonly ngbContextMenu: import("@angular/core").InputSignal<NgbMenu>;
13
+ readonly menuService: MenuService;
14
+ readonly ctxOpen: import("@angular/core").OutputEmitterRef<boolean>;
15
+ readonly ctxClose: import("@angular/core").OutputEmitterRef<boolean>;
16
+ private listeners;
17
+ open(ev: MouseEvent): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgbContextMenu, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgbContextMenu, "[ngbContextMenu]", never, { "ngbContextMenu": { "alias": "ngbContextMenu"; "required": true; "isSignal": true; }; }, { "ctxOpen": "ctxOpen"; "ctxClose": "ctxClose"; }, never, never, true, never>;
20
+ }
21
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ngbase/adk/menu" />
5
+ export * from './public-api';
@@ -0,0 +1,18 @@
1
+ import { NgbMenu } from './menu';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NgbMentionTrigger {
4
+ private readonly el;
5
+ readonly ngbMentionTrigger: import("@angular/core").InputSignal<NgbMenu>;
6
+ readonly options: import("@angular/core").InputSignal<{
7
+ focus?: "el";
8
+ width?: "full";
9
+ } | undefined>;
10
+ readonly key: import("@angular/core").InputSignal<string>;
11
+ readonly search: import("@angular/core").OutputEmitterRef<string>;
12
+ private close?;
13
+ open(): void;
14
+ private getCurrentWord;
15
+ private getPositionAt;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgbMentionTrigger, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgbMentionTrigger, "[ngbMentionTrigger]", never, { "ngbMentionTrigger": { "alias": "ngbMentionTrigger"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "key": { "alias": "key"; "required": true; "isSignal": true; }; }, { "search": "search"; }, never, never, true, never>;
18
+ }
@@ -0,0 +1,34 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { AccessibleItem } from '@ngbase/adk/a11y';
3
+ import { DialogOptions } from '@ngbase/adk/portal';
4
+ import { Subject } from 'rxjs';
5
+ import { NgbMenu } from './menu';
6
+ import * as i0 from "@angular/core";
7
+ export declare class NgbMenuTrigger {
8
+ private readonly nav;
9
+ private readonly parent;
10
+ readonly el: ElementRef<HTMLElement>;
11
+ readonly a11y: AccessibleItem<any> | null;
12
+ readonly ngbMenuTrigger: import("@angular/core").InputSignal<NgbMenu>;
13
+ readonly ngbMenuTriggerData: import("@angular/core").InputSignal<unknown>;
14
+ readonly options: import("@angular/core").InputSignal<DialogOptions<any>>;
15
+ private readonly _menuOpen;
16
+ readonly menuOpen: import("@angular/core").Signal<boolean>;
17
+ readonly events: Subject<{
18
+ event: MouseEvent;
19
+ type: "enter" | "leave" | "click";
20
+ menu: NgbMenuTrigger;
21
+ }>;
22
+ private closeParent;
23
+ private delayTimer;
24
+ private isMouseOverTrigger;
25
+ constructor();
26
+ private get menu();
27
+ get rootParent(): NgbMenu | null;
28
+ clickOpen(ev: MouseEvent): void;
29
+ private open;
30
+ private closeMenu;
31
+ openMenu(): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgbMenuTrigger, never>;
33
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgbMenuTrigger, "[ngbMenuTrigger]", ["ngbMenuTrigger"], { "ngbMenuTrigger": { "alias": "ngbMenuTrigger"; "required": true; "isSignal": true; }; "ngbMenuTriggerData": { "alias": "ngbMenuTriggerData"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
34
+ }
package/menu/menu.d.ts ADDED
@@ -0,0 +1,52 @@
1
+ import { OnDestroy, TemplateRef } from '@angular/core';
2
+ import { AccessibleGroup } from '@ngbase/adk/a11y';
3
+ import { Keys } from '@ngbase/adk/keys';
4
+ import { NgbList } from '@ngbase/adk/list';
5
+ import { DialogRef } from '@ngbase/adk/portal';
6
+ import { NgbOption } from '@ngbase/adk/select';
7
+ import { BehaviorSubject, Subject } from 'rxjs';
8
+ import { NgbMenuTrigger } from './menu-trigger';
9
+ import { PopoverOptions } from '@ngbase/adk/popover';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "@ngbase/adk/a11y";
12
+ export declare class MenuGroup {
13
+ readonly menu: NgbMenu;
14
+ readonly allyGroup: AccessibleGroup;
15
+ constructor();
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuGroup, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MenuGroup, "[ngbMenuGroup]", never, {}, {}, never, never, true, [{ directive: typeof i1.AccessibleGroup; inputs: {}; outputs: {}; }]>;
18
+ }
19
+ export declare class NgbMenu implements OnDestroy {
20
+ readonly dir: import("@ngbase/adk/bidi").Directionality;
21
+ readonly popover: {
22
+ open: <T>(component: import("@ngbase/adk/portal").DialogInput<T>, options: PopoverOptions) => import("@ngbase/adk/popover").PopoverOpen<T>;
23
+ closeAll: () => void;
24
+ };
25
+ private readonly menuEl;
26
+ readonly container: import("@angular/core").Signal<TemplateRef<any>>;
27
+ readonly options: import("@angular/core").Signal<readonly NgbOption<any>[]>;
28
+ readonly lists: import("@angular/core").Signal<readonly NgbList[]>;
29
+ readonly manager: Keys;
30
+ readonly selected: import("@angular/core").OutputEmitterRef<string>;
31
+ readonly ayId: string;
32
+ parentMenuTrigger?: NgbMenuTrigger;
33
+ diaRef: DialogRef;
34
+ readonly events: Subject<{
35
+ event: MouseEvent;
36
+ type: "enter" | "leave";
37
+ }>;
38
+ readonly activeOption: BehaviorSubject<NgbOption<any> | NgbList | null>;
39
+ isOpen: boolean;
40
+ constructor();
41
+ open(options: PopoverOptions, subMenu?: boolean): void;
42
+ opened(): void;
43
+ get rootParent(): NgbMenu | undefined;
44
+ close: () => void;
45
+ ngOnDestroy(): void;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgbMenu, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgbMenu, "[ngbMenu]", ["ngbMenu"], {}, { "selected": "selected"; }, ["options", "lists"], ["*"], true, never>;
48
+ }
49
+ export declare const provideMenu: (menu: typeof NgbMenu) => {
50
+ provide: typeof NgbMenu;
51
+ useExisting: typeof NgbMenu;
52
+ };
@@ -0,0 +1,19 @@
1
+ import { NgbMenuTrigger } from './menu-trigger';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NgbNavigationMenu {
4
+ private popover;
5
+ private readonly dir;
6
+ private readonly menus;
7
+ readonly hover: import("@angular/core").InputSignal<boolean>;
8
+ private ayId;
9
+ close?: VoidFunction;
10
+ private timerId;
11
+ private popoverOpen?;
12
+ private clicked;
13
+ private currentEl?;
14
+ constructor();
15
+ open(menuTrigger: NgbMenuTrigger): void;
16
+ private scheduleClose;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgbNavigationMenu, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgbNavigationMenu, "[ngbNavigationMenu]", never, { "hover": { "alias": "hover"; "required": false; "isSignal": true; }; }, {}, ["menus"], never, true, never>;
19
+ }
@@ -0,0 +1,5 @@
1
+ export * from './context-menu';
2
+ export * from './mention';
3
+ export * from './menu';
4
+ export * from './menu-trigger';
5
+ export * from './navigation-menu';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ngbase/adk/network" />
5
+ export * from './public-api';
@@ -0,0 +1,6 @@
1
+ import { HttpInterceptorFn } from '@angular/common/http';
2
+ export declare const provideNetworkInterceptor: () => {
3
+ provide: import("@angular/core").InjectionToken<readonly import("@angular/common/http").HttpInterceptor[]>;
4
+ useFactory: HttpInterceptorFn;
5
+ multi: boolean;
6
+ };
@@ -0,0 +1,18 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class Network {
3
+ private status;
4
+ readonly isOnline: import("@angular/core").Signal<boolean>;
5
+ private listeners;
6
+ private initialized;
7
+ private onlineListener;
8
+ private offlineListener;
9
+ constructor();
10
+ private on;
11
+ private off;
12
+ private updateOnlineStatus;
13
+ addListener(listener: (status: boolean) => void): void;
14
+ removeListener(listener: (status: boolean) => void): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<Network, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<Network>;
17
+ }
18
+ export declare const injectNetwork: () => Network;
@@ -0,0 +1,2 @@
1
+ export { provideNetworkInterceptor } from './network.interceptor';
2
+ export { injectNetwork, Network } from './network.service';