@ngbase/adk 0.1.11 → 0.1.12

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 (378) hide show
  1. package/a11y/index.d.ts +151 -5
  2. package/accordion/index.d.ts +44 -5
  3. package/autocomplete/index.d.ts +54 -5
  4. package/avatar/index.d.ts +25 -5
  5. package/bidi/index.d.ts +17 -5
  6. package/breadcrumb/index.d.ts +36 -5
  7. package/cache/index.d.ts +46 -5
  8. package/carousel/index.d.ts +79 -5
  9. package/checkbox/index.d.ts +33 -5
  10. package/chip/index.d.ts +28 -5
  11. package/clipboard/index.d.ts +11 -5
  12. package/collections/index.d.ts +23 -5
  13. package/color-picker/index.d.ts +119 -5
  14. package/cookies/index.d.ts +35 -5
  15. package/datepicker/index.d.ts +317 -5
  16. package/dialog/index.d.ts +63 -5
  17. package/drag/index.d.ts +107 -5
  18. package/fesm2022/ngbase-adk-a11y.mjs +100 -74
  19. package/fesm2022/ngbase-adk-a11y.mjs.map +1 -1
  20. package/fesm2022/ngbase-adk-accordion.mjs +31 -19
  21. package/fesm2022/ngbase-adk-accordion.mjs.map +1 -1
  22. package/fesm2022/ngbase-adk-autocomplete.mjs +17 -17
  23. package/fesm2022/ngbase-adk-autocomplete.mjs.map +1 -1
  24. package/fesm2022/ngbase-adk-avatar.mjs +16 -16
  25. package/fesm2022/ngbase-adk-avatar.mjs.map +1 -1
  26. package/fesm2022/ngbase-adk-bidi.mjs +6 -7
  27. package/fesm2022/ngbase-adk-bidi.mjs.map +1 -1
  28. package/fesm2022/ngbase-adk-breadcrumb.mjs +15 -15
  29. package/fesm2022/ngbase-adk-breadcrumb.mjs.map +1 -1
  30. package/fesm2022/ngbase-adk-cache.mjs +3 -3
  31. package/fesm2022/ngbase-adk-carousel.mjs +24 -24
  32. package/fesm2022/ngbase-adk-carousel.mjs.map +1 -1
  33. package/fesm2022/ngbase-adk-checkbox.mjs +10 -10
  34. package/fesm2022/ngbase-adk-checkbox.mjs.map +1 -1
  35. package/fesm2022/ngbase-adk-chip.mjs +13 -13
  36. package/fesm2022/ngbase-adk-chip.mjs.map +1 -1
  37. package/fesm2022/ngbase-adk-clipboard.mjs +27 -12
  38. package/fesm2022/ngbase-adk-clipboard.mjs.map +1 -1
  39. package/fesm2022/ngbase-adk-collections.mjs +5 -5
  40. package/fesm2022/ngbase-adk-collections.mjs.map +1 -1
  41. package/fesm2022/ngbase-adk-color-picker.mjs +39 -39
  42. package/fesm2022/ngbase-adk-color-picker.mjs.map +1 -1
  43. package/fesm2022/ngbase-adk-cookies.mjs +3 -3
  44. package/fesm2022/ngbase-adk-datepicker.mjs +107 -107
  45. package/fesm2022/ngbase-adk-datepicker.mjs.map +1 -1
  46. package/fesm2022/ngbase-adk-dialog.mjs +39 -109
  47. package/fesm2022/ngbase-adk-dialog.mjs.map +1 -1
  48. package/fesm2022/ngbase-adk-drag.mjs +21 -22
  49. package/fesm2022/ngbase-adk-drag.mjs.map +1 -1
  50. package/fesm2022/ngbase-adk-form-field.mjs +206 -31
  51. package/fesm2022/ngbase-adk-form-field.mjs.map +1 -1
  52. package/fesm2022/ngbase-adk-hover-card.mjs +6 -6
  53. package/fesm2022/ngbase-adk-hover-card.mjs.map +1 -1
  54. package/fesm2022/ngbase-adk-icon.mjs +10 -10
  55. package/fesm2022/ngbase-adk-icon.mjs.map +1 -1
  56. package/fesm2022/ngbase-adk-inline-edit.mjs +29 -27
  57. package/fesm2022/ngbase-adk-inline-edit.mjs.map +1 -1
  58. package/fesm2022/ngbase-adk-jwt.mjs +6 -6
  59. package/fesm2022/ngbase-adk-keys.mjs +7 -8
  60. package/fesm2022/ngbase-adk-keys.mjs.map +1 -1
  61. package/fesm2022/ngbase-adk-layout.mjs +1 -1
  62. package/fesm2022/ngbase-adk-layout.mjs.map +1 -1
  63. package/fesm2022/ngbase-adk-list.mjs +10 -10
  64. package/fesm2022/ngbase-adk-list.mjs.map +1 -1
  65. package/fesm2022/ngbase-adk-mask.mjs +8 -8
  66. package/fesm2022/ngbase-adk-mask.mjs.map +1 -1
  67. package/fesm2022/ngbase-adk-menu.mjs +41 -41
  68. package/fesm2022/ngbase-adk-menu.mjs.map +1 -1
  69. package/fesm2022/ngbase-adk-network.mjs +4 -4
  70. package/fesm2022/ngbase-adk-network.mjs.map +1 -1
  71. package/fesm2022/ngbase-adk-otp.mjs +19 -19
  72. package/fesm2022/ngbase-adk-otp.mjs.map +1 -1
  73. package/fesm2022/ngbase-adk-pagination.mjs +20 -20
  74. package/fesm2022/ngbase-adk-pagination.mjs.map +1 -1
  75. package/fesm2022/ngbase-adk-popover.mjs +28 -28
  76. package/fesm2022/ngbase-adk-popover.mjs.map +1 -1
  77. package/fesm2022/ngbase-adk-portal.mjs +14 -15
  78. package/fesm2022/ngbase-adk-portal.mjs.map +1 -1
  79. package/fesm2022/ngbase-adk-progress.mjs +8 -8
  80. package/fesm2022/ngbase-adk-progress.mjs.map +1 -1
  81. package/fesm2022/ngbase-adk-radio.mjs +15 -15
  82. package/fesm2022/ngbase-adk-radio.mjs.map +1 -1
  83. package/fesm2022/ngbase-adk-resizable.mjs +19 -20
  84. package/fesm2022/ngbase-adk-resizable.mjs.map +1 -1
  85. package/fesm2022/ngbase-adk-scroll-area.mjs +31 -31
  86. package/fesm2022/ngbase-adk-scroll-area.mjs.map +1 -1
  87. package/fesm2022/ngbase-adk-select.mjs +73 -75
  88. package/fesm2022/ngbase-adk-select.mjs.map +1 -1
  89. package/fesm2022/ngbase-adk-selectable.mjs +9 -9
  90. package/fesm2022/ngbase-adk-selectable.mjs.map +1 -1
  91. package/fesm2022/ngbase-adk-sheet.mjs +9 -7
  92. package/fesm2022/ngbase-adk-sheet.mjs.map +1 -1
  93. package/fesm2022/ngbase-adk-sidenav.mjs +37 -37
  94. package/fesm2022/ngbase-adk-sidenav.mjs.map +1 -1
  95. package/fesm2022/ngbase-adk-slider.mjs +26 -26
  96. package/fesm2022/ngbase-adk-slider.mjs.map +1 -1
  97. package/fesm2022/ngbase-adk-sonner.mjs +11 -11
  98. package/fesm2022/ngbase-adk-sonner.mjs.map +1 -1
  99. package/fesm2022/ngbase-adk-stepper.mjs +28 -28
  100. package/fesm2022/ngbase-adk-stepper.mjs.map +1 -1
  101. package/fesm2022/ngbase-adk-switch.mjs +16 -16
  102. package/fesm2022/ngbase-adk-switch.mjs.map +1 -1
  103. package/fesm2022/ngbase-adk-table.mjs +98 -78
  104. package/fesm2022/ngbase-adk-table.mjs.map +1 -1
  105. package/fesm2022/ngbase-adk-tabs.mjs +44 -44
  106. package/fesm2022/ngbase-adk-tabs.mjs.map +1 -1
  107. package/fesm2022/ngbase-adk-toggle-group.mjs +15 -15
  108. package/fesm2022/ngbase-adk-toggle-group.mjs.map +1 -1
  109. package/fesm2022/ngbase-adk-toggle.mjs +4 -4
  110. package/fesm2022/ngbase-adk-toggle.mjs.map +1 -1
  111. package/fesm2022/ngbase-adk-tooltip.mjs +15 -15
  112. package/fesm2022/ngbase-adk-tooltip.mjs.map +1 -1
  113. package/fesm2022/ngbase-adk-tour.mjs +28 -28
  114. package/fesm2022/ngbase-adk-tour.mjs.map +1 -1
  115. package/fesm2022/ngbase-adk-translate.mjs +13 -13
  116. package/fesm2022/ngbase-adk-translate.mjs.map +1 -1
  117. package/fesm2022/ngbase-adk-tree.mjs +27 -27
  118. package/fesm2022/ngbase-adk-tree.mjs.map +1 -1
  119. package/fesm2022/ngbase-adk-utils.mjs +43 -20
  120. package/fesm2022/ngbase-adk-utils.mjs.map +1 -1
  121. package/fesm2022/ngbase-adk-virtualizer.mjs +20 -20
  122. package/fesm2022/ngbase-adk-virtualizer.mjs.map +1 -1
  123. package/form-field/index.d.ts +95 -5
  124. package/hover-card/index.d.ts +21 -5
  125. package/icon/index.d.ts +28 -5
  126. package/index.d.ts +2 -5
  127. package/inline-edit/index.d.ts +53 -5
  128. package/jwt/index.d.ts +20 -5
  129. package/keys/index.d.ts +54 -5
  130. package/layout/index.d.ts +20 -5
  131. package/list/index.d.ts +34 -5
  132. package/mask/index.d.ts +33 -5
  133. package/menu/index.d.ts +145 -5
  134. package/network/index.d.ts +29 -5
  135. package/otp/index.d.ts +51 -5
  136. package/package.json +51 -51
  137. package/pagination/index.d.ts +35 -5
  138. package/popover/index.d.ts +212 -5
  139. package/portal/index.d.ts +113 -5
  140. package/progress/index.d.ts +17 -5
  141. package/radio/index.d.ts +45 -5
  142. package/resizable/index.d.ts +73 -5
  143. package/schematics/components/files/accordion/accordion.ts.template +2 -2
  144. package/schematics/components/files/autocomplete/autocomplete.ts.template +1 -0
  145. package/schematics/components/files/avatar/avatar.ts.template +12 -4
  146. package/schematics/components/files/button/button.ts.template +32 -13
  147. package/schematics/components/files/command/command.ts.template +10 -9
  148. package/schematics/components/files/datepicker/datepicker-llm.md.template +15 -2
  149. package/schematics/components/files/dialog/dialog.ts.template +9 -2
  150. package/schematics/components/files/drawer/drawer.ts.template +1 -1
  151. package/schematics/components/files/form-field/form-field.ts.template +10 -1
  152. package/schematics/components/files/form-field/input-style.directive.ts.template +1 -1
  153. package/schematics/components/files/icon/icon-llm.md.template +0 -1
  154. package/schematics/components/files/inline-edit/inline-edit.ts.template +2 -2
  155. package/schematics/components/files/otp/otp.ts.template +1 -1
  156. package/schematics/components/files/picasa/picasa-base.component.ts.template +1 -2
  157. package/schematics/components/files/picasa/picasa.component.ts.template +4 -4
  158. package/schematics/components/files/select/select.ts.template +5 -18
  159. package/schematics/components/files/sheet/sheet.ts.template +1 -1
  160. package/schematics/components/files/sidenav/sidenav-llm.md.template +0 -1
  161. package/schematics/components/files/spinner/spinner.ts.template +1 -29
  162. package/scroll-area/index.d.ts +60 -5
  163. package/select/index.d.ts +177 -5
  164. package/selectable/index.d.ts +32 -5
  165. package/sheet/index.d.ts +44 -5
  166. package/sidenav/index.d.ts +74 -5
  167. package/slider/index.d.ts +79 -5
  168. package/sonner/index.d.ts +50 -5
  169. package/stepper/index.d.ts +54 -5
  170. package/switch/index.d.ts +47 -5
  171. package/table/index.d.ts +143 -5
  172. package/tabs/index.d.ts +85 -5
  173. package/test/index.d.ts +81 -5
  174. package/toggle/index.d.ts +16 -5
  175. package/toggle-group/index.d.ts +39 -5
  176. package/tooltip/index.d.ts +60 -5
  177. package/tour/index.d.ts +70 -5
  178. package/translate/index.d.ts +58 -5
  179. package/tree/index.d.ts +95 -5
  180. package/utils/index.d.ts +82 -5
  181. package/virtualizer/index.d.ts +45 -5
  182. package/a11y/accessibility-group.d.ts +0 -46
  183. package/a11y/accessibility-item.d.ts +0 -49
  184. package/a11y/accessibility.service.d.ts +0 -17
  185. package/a11y/autofocus.d.ts +0 -18
  186. package/a11y/focus-trap.d.ts +0 -15
  187. package/a11y/public-api.d.ts +0 -4
  188. package/accordion/accordion-content.d.ts +0 -8
  189. package/accordion/accordion-group.d.ts +0 -10
  190. package/accordion/accordion-header.d.ts +0 -7
  191. package/accordion/accordion-item.d.ts +0 -16
  192. package/accordion/public-api.d.ts +0 -4
  193. package/autocomplete/autocomplete-input.d.ts +0 -19
  194. package/autocomplete/autocomplete.d.ts +0 -34
  195. package/autocomplete/public-api.d.ts +0 -2
  196. package/avatar/avatar.d.ts +0 -22
  197. package/avatar/public-api.d.ts +0 -1
  198. package/bidi/direction.service.d.ts +0 -14
  199. package/bidi/public-api.d.ts +0 -1
  200. package/breadcrumb/breadcrumb-link.d.ts +0 -7
  201. package/breadcrumb/breadcrumb-separator.d.ts +0 -6
  202. package/breadcrumb/breadcrumb.d.ts +0 -12
  203. package/breadcrumb/breadcrumbs.d.ts +0 -9
  204. package/breadcrumb/public-api.d.ts +0 -4
  205. package/cache/cache-config.d.ts +0 -22
  206. package/cache/cache.d.ts +0 -17
  207. package/cache/cache.interecptor.d.ts +0 -2
  208. package/cache/public-api.d.ts +0 -3
  209. package/carousel/carousel-item.d.ts +0 -7
  210. package/carousel/carousel-next.d.ts +0 -8
  211. package/carousel/carousel.d.ts +0 -61
  212. package/carousel/public-api.d.ts +0 -3
  213. package/checkbox/checkbox.d.ts +0 -30
  214. package/checkbox/public-api.d.ts +0 -1
  215. package/chip/chip-group.d.ts +0 -7
  216. package/chip/chip.d.ts +0 -19
  217. package/chip/public-api.d.ts +0 -2
  218. package/clipboard/clipboard.d.ts +0 -7
  219. package/clipboard/public-api.d.ts +0 -1
  220. package/collections/SelectionModel.d.ts +0 -19
  221. package/collections/public-api.d.ts +0 -1
  222. package/color-picker/color-input.d.ts +0 -16
  223. package/color-picker/color-picker-trigger.d.ts +0 -30
  224. package/color-picker/color-picker.d.ts +0 -72
  225. package/color-picker/public-api.d.ts +0 -3
  226. package/color-picker/utils.d.ts +0 -21
  227. package/cookies/cookie.service.d.ts +0 -32
  228. package/cookies/public-api.d.ts +0 -1
  229. package/datepicker/calendar.d.ts +0 -121
  230. package/datepicker/datepicker-trigger.d.ts +0 -66
  231. package/datepicker/datepicker.d.ts +0 -55
  232. package/datepicker/native-date-adapter.d.ts +0 -33
  233. package/datepicker/public-api.d.ts +0 -5
  234. package/datepicker/time.d.ts +0 -42
  235. package/dialog/dialog.animation.d.ts +0 -3
  236. package/dialog/dialog.d.ts +0 -49
  237. package/dialog/dialog.service.d.ts +0 -7
  238. package/dialog/public-api.d.ts +0 -3
  239. package/drag/drag-drop.d.ts +0 -37
  240. package/drag/drag-move.d.ts +0 -17
  241. package/drag/drag.d.ts +0 -52
  242. package/drag/public-api.d.ts +0 -3
  243. package/form-field/auto-height.d.ts +0 -9
  244. package/form-field/error.d.ts +0 -18
  245. package/form-field/form-field.d.ts +0 -14
  246. package/form-field/input.d.ts +0 -16
  247. package/form-field/label.d.ts +0 -7
  248. package/form-field/public-api.d.ts +0 -5
  249. package/hover-card/hover-card.d.ts +0 -18
  250. package/hover-card/public-api.d.ts +0 -1
  251. package/icon/icon.d.ts +0 -12
  252. package/icon/icon.service.d.ts +0 -12
  253. package/icon/public-api.d.ts +0 -2
  254. package/inline-edit/inline-edit.d.ts +0 -47
  255. package/inline-edit/public-api.d.ts +0 -1
  256. package/jwt/jwt.service.d.ts +0 -27
  257. package/jwt/public-api.d.ts +0 -1
  258. package/keys/keys.service.d.ts +0 -13
  259. package/keys/public-api.d.ts +0 -2
  260. package/keys/shortcuts.service.d.ts +0 -38
  261. package/layout/layout.d.ts +0 -16
  262. package/layout/public-api.d.ts +0 -1
  263. package/list/list.d.ts +0 -20
  264. package/list/list.directive.d.ts +0 -12
  265. package/list/public-api.d.ts +0 -2
  266. package/mask/mask-pipe.d.ts +0 -7
  267. package/mask/mask.d.ts +0 -24
  268. package/mask/public-api.d.ts +0 -2
  269. package/menu/context-menu.d.ts +0 -21
  270. package/menu/mention.d.ts +0 -18
  271. package/menu/menu-trigger.d.ts +0 -34
  272. package/menu/menu.d.ts +0 -58
  273. package/menu/navigation-menu.d.ts +0 -19
  274. package/menu/public-api.d.ts +0 -5
  275. package/network/network.interceptor.d.ts +0 -6
  276. package/network/network.service.d.ts +0 -18
  277. package/network/public-api.d.ts +0 -2
  278. package/otp/otp.d.ts +0 -48
  279. package/otp/public-api.d.ts +0 -1
  280. package/pagination/pagination.d.ts +0 -32
  281. package/pagination/public-api.d.ts +0 -1
  282. package/popover/base-popover.service.d.ts +0 -16
  283. package/popover/popover-arrow.ng.d.ts +0 -34
  284. package/popover/popover-trigger.d.ts +0 -21
  285. package/popover/popover.d.ts +0 -60
  286. package/popover/popover.service.d.ts +0 -43
  287. package/popover/public-api.d.ts +0 -6
  288. package/popover/utils.d.ts +0 -69
  289. package/portal/dialog-ref.d.ts +0 -70
  290. package/portal/portal-base.service.d.ts +0 -19
  291. package/portal/portal-close.directive.d.ts +0 -9
  292. package/portal/portal.component.d.ts +0 -7
  293. package/portal/portal.service.d.ts +0 -16
  294. package/portal/public-api.d.ts +0 -5
  295. package/progress/progress.d.ts +0 -13
  296. package/progress/public-api.d.ts +0 -1
  297. package/public-api.d.ts +0 -2
  298. package/radio/public-api.d.ts +0 -2
  299. package/radio/radio-group.d.ts +0 -19
  300. package/radio/radio.d.ts +0 -26
  301. package/resizable/public-api.d.ts +0 -2
  302. package/resizable/resizable-group.d.ts +0 -22
  303. package/resizable/resizable.d.ts +0 -50
  304. package/scroll-area/public-api.d.ts +0 -1
  305. package/scroll-area/scroll-area.d.ts +0 -56
  306. package/select/list-selection.d.ts +0 -7
  307. package/select/option-group.d.ts +0 -7
  308. package/select/option.d.ts +0 -25
  309. package/select/public-api.d.ts +0 -6
  310. package/select/select-base.d.ts +0 -66
  311. package/select/select-input.d.ts +0 -23
  312. package/select/select.d.ts +0 -53
  313. package/selectable/public-api.d.ts +0 -2
  314. package/selectable/selectable-item.d.ts +0 -12
  315. package/selectable/selectable.d.ts +0 -19
  316. package/sheet/public-api.d.ts +0 -2
  317. package/sheet/sheet.d.ts +0 -26
  318. package/sheet/sheet.service.d.ts +0 -13
  319. package/sidenav/public-api.d.ts +0 -3
  320. package/sidenav/sidenav-header.d.ts +0 -31
  321. package/sidenav/sidenav.d.ts +0 -23
  322. package/sidenav/sidenav.service.d.ts +0 -18
  323. package/slider/public-api.d.ts +0 -1
  324. package/slider/slider.d.ts +0 -76
  325. package/sonner/public-api.d.ts +0 -2
  326. package/sonner/sonner.d.ts +0 -25
  327. package/sonner/sonner.service.d.ts +0 -21
  328. package/stepper/animation.d.ts +0 -1
  329. package/stepper/public-api.d.ts +0 -3
  330. package/stepper/step.d.ts +0 -24
  331. package/stepper/stepper.d.ts +0 -26
  332. package/switch/public-api.d.ts +0 -1
  333. package/switch/switch.d.ts +0 -44
  334. package/table/body-cell.d.ts +0 -11
  335. package/table/body-row.d.ts +0 -25
  336. package/table/column.d.ts +0 -10
  337. package/table/head-cell.d.ts +0 -12
  338. package/table/head-row.d.ts +0 -24
  339. package/table/public-api.d.ts +0 -8
  340. package/table/sort.d.ts +0 -40
  341. package/table/table.d.ts +0 -38
  342. package/tabs/public-api.d.ts +0 -2
  343. package/tabs/tab-group.d.ts +0 -52
  344. package/tabs/tab.d.ts +0 -31
  345. package/test/public-api.d.ts +0 -1
  346. package/test/utils.d.ts +0 -78
  347. package/toggle/public-api.d.ts +0 -1
  348. package/toggle/toggle.d.ts +0 -13
  349. package/toggle-group/public-api.d.ts +0 -2
  350. package/toggle-group/toggle-group.d.ts +0 -25
  351. package/toggle-group/toggle-item.d.ts +0 -14
  352. package/tooltip/public-api.d.ts +0 -2
  353. package/tooltip/tooltip.d.ts +0 -24
  354. package/tooltip/tooltip.directive.d.ts +0 -34
  355. package/tooltip/tooltip.service.d.ts +0 -28
  356. package/tour/animation.d.ts +0 -2
  357. package/tour/public-api.d.ts +0 -5
  358. package/tour/tour-base.d.ts +0 -21
  359. package/tour/tour-step.d.ts +0 -11
  360. package/tour/tour.d.ts +0 -9
  361. package/tour/tour.service.d.ts +0 -29
  362. package/translate/config.d.ts +0 -16
  363. package/translate/public-api.d.ts +0 -3
  364. package/translate/translate.d.ts +0 -11
  365. package/translate/translate.service.d.ts +0 -31
  366. package/tree/public-api.d.ts +0 -3
  367. package/tree/tree-node.d.ts +0 -28
  368. package/tree/tree-toggle.d.ts +0 -16
  369. package/tree/tree.d.ts +0 -55
  370. package/utils/animation.d.ts +0 -3
  371. package/utils/disposals.d.ts +0 -7
  372. package/utils/number-only.d.ts +0 -22
  373. package/utils/public-api.d.ts +0 -6
  374. package/utils/range.pipe.d.ts +0 -7
  375. package/utils/ssr.d.ts +0 -2
  376. package/utils/utils.d.ts +0 -28
  377. package/virtualizer/public-api.d.ts +0 -1
  378. package/virtualizer/virtualizer.d.ts +0 -42
@@ -1,70 +0,0 @@
1
- import { ElementRef, InjectionToken, Injector, TemplateRef, Type, ViewContainerRef } from '@angular/core';
2
- import { BehaviorSubject, Subject } from 'rxjs';
3
- export type DialogInput<T = any> = Type<T> | TemplateRef<any>;
4
- export declare abstract class BaseDialog {
5
- dialogRef: DialogRef<any>;
6
- document: Document;
7
- el: ElementRef<any>;
8
- _afterViewSource: BehaviorSubject<ViewContainerRef | null>;
9
- afterView: import("rxjs").Observable<ViewContainerRef>;
10
- target: import("@angular/core").WritableSignal<HTMLElement | null>;
11
- count: number;
12
- private isFirst;
13
- private currentActiveElement;
14
- constructor();
15
- setOptions(_: DialogOptions): void;
16
- close(): void;
17
- animationDone: () => void;
18
- private onOpen;
19
- getTarget(): HTMLElement;
20
- onClose: () => void;
21
- }
22
- export declare class DialogRef<T = any> {
23
- options: DialogOptions<T>;
24
- private destroyParent;
25
- private closeAllFn;
26
- private animation;
27
- data: T | undefined;
28
- private backdropSub;
29
- private onDestroySource;
30
- onDestroy: import("rxjs").Observable<unknown>;
31
- private afterClosedSource;
32
- afterClosed: import("rxjs").Observable<any>;
33
- events: Subject<"created">;
34
- constructor(options: DialogOptions<T>, destroyParent: VoidFunction, closeAllFn: VoidFunction, animation?: boolean);
35
- close: (data?: any) => void;
36
- closeAll(): void;
37
- destroy(): void;
38
- }
39
- export declare class DialogTestingRef {
40
- close(): void;
41
- }
42
- export declare class DialogOptions<T = any> {
43
- backdrop?: boolean | undefined;
44
- backdropColor?: boolean | undefined;
45
- hideOverlay?: boolean | undefined;
46
- data?: T;
47
- title?: string;
48
- fullWindow?: boolean;
49
- minWidth?: string;
50
- minHeight?: string;
51
- width?: string;
52
- height?: string;
53
- maxWidth?: string;
54
- maxHeight?: string;
55
- classNames?: string[];
56
- header?: boolean;
57
- disableClose?: boolean | undefined;
58
- ayId?: string;
59
- focusTrap?: boolean | undefined;
60
- afterFocusEl?: HTMLElement;
61
- }
62
- export declare const DIALOG_INJ: InjectionToken<unknown>;
63
- export declare function createInj(parent: Injector, data: any, diaRef: DialogRef): Injector;
64
- export declare const DialogTestProviders: ({
65
- provide: InjectionToken<unknown>;
66
- useValue: {};
67
- } | {
68
- provide: typeof DialogRef;
69
- useValue: null;
70
- })[];
@@ -1,19 +0,0 @@
1
- import { ComponentRef, EmbeddedViewRef, Type } from '@angular/core';
2
- import { DialogInput, DialogOptions, DialogRef } from './dialog-ref';
3
- export declare function basePortal<U>(name: string, baseComponent: Type<U>): {
4
- open: <T>(component?: DialogInput<T>, callback?: (comp: ComponentRef<U>, opt: DialogOptions) => void, opt?: DialogOptions, animation?: boolean, parentComponent?: Type<U>) => {
5
- diaRef: DialogRef<any>;
6
- parent: ComponentRef<U>;
7
- instance: null;
8
- childSignal: import("@angular/core").WritableSignal<ComponentRef<any> | EmbeddedViewRef<any> | undefined>;
9
- replace?: undefined;
10
- } | {
11
- diaRef: DialogRef<any>;
12
- parent: ComponentRef<U>;
13
- replace: (component: DialogInput<T>) => void;
14
- childSignal: import("@angular/core").WritableSignal<ComponentRef<any> | EmbeddedViewRef<any> | undefined>;
15
- instance?: undefined;
16
- };
17
- closeAll: () => void;
18
- updateBaseComponent: (component: Type<U>) => void;
19
- };
@@ -1,9 +0,0 @@
1
- import { DialogRef } from './dialog-ref';
2
- import * as i0 from "@angular/core";
3
- export declare class NgbPortalClose {
4
- readonly dialogRef: DialogRef<any>;
5
- readonly ngbPortalClose: import("@angular/core").InputSignal<unknown>;
6
- close(data?: unknown): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbPortalClose, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbPortalClose, "[ngbPortalClose]", never, { "ngbPortalClose": { "alias": "ngbPortalClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
9
- }
@@ -1,7 +0,0 @@
1
- import { ViewContainerRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class Portal {
4
- myDialog: import("@angular/core").Signal<ViewContainerRef | undefined>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<Portal, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<Portal, "ngb-portal", never, {}, {}, never, never, true, never>;
7
- }
@@ -1,16 +0,0 @@
1
- import { Injector, Type, ComponentRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class PortalService {
4
- private mainContainer?;
5
- private document;
6
- private appRef;
7
- private environmentInjector;
8
- private trackElements;
9
- private componentCreator;
10
- appendComponentToBody<T>(component: Type<T>): ComponentRef<T>;
11
- create<T>(component: Type<T>, injector: Injector, container: string): ComponentRef<T>;
12
- delete<T>(container: string, component: ComponentRef<T>): void;
13
- clear(container: string): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<PortalService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<PortalService>;
16
- }
@@ -1,5 +0,0 @@
1
- export * from './portal-close.directive';
2
- export { BaseDialog, DIALOG_INJ, type DialogInput, DialogOptions, DialogRef, createInj, } from './dialog-ref';
3
- export * from './portal-base.service';
4
- export * from './portal.component';
5
- export * from './portal.service';
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NgbProgressBar {
3
- readonly progress: NgbProgress;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbProgressBar, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbProgressBar, "[ngbProgressBar]", never, {}, {}, never, never, true, never>;
6
- }
7
- export declare class NgbProgress {
8
- readonly value: import("@angular/core").InputSignal<number>;
9
- readonly dir: import("@ngbase/adk/bidi").Directionality;
10
- readonly total: import("@angular/core").Signal<number>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbProgress, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbProgress, "[ngbProgress]", ["ngbProgress"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
13
- }
@@ -1 +0,0 @@
1
- export { NgbProgress, NgbProgressBar } from './progress';
package/public-api.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare const _default: {};
2
- export default _default;
@@ -1,2 +0,0 @@
1
- export * from './radio';
2
- export * from './radio-group';
@@ -1,19 +0,0 @@
1
- import { ControlValueAccessor } from '@angular/forms';
2
- import { AccessibleGroup } from '@ngbase/adk/a11y';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@ngbase/adk/a11y";
5
- export declare class NgbRadioGroup implements ControlValueAccessor {
6
- readonly allyGroup: AccessibleGroup;
7
- readonly radios: import("@angular/core").Signal<readonly any[]>;
8
- readonly value: import("@angular/core").ModelSignal<any>;
9
- readonly ayId: string;
10
- onChange?: (value: any) => {};
11
- onTouched?: () => {};
12
- constructor();
13
- updateValue(value: any): void;
14
- writeValue(value: any): void;
15
- registerOnChange(fn: any): void;
16
- registerOnTouched(fn: any): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbRadioGroup, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbRadioGroup, "[ngbRadioGroup]", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["radios"], never, true, [{ directive: typeof i1.AccessibleGroup; inputs: {}; outputs: {}; }]>;
19
- }
package/radio/radio.d.ts DELETED
@@ -1,26 +0,0 @@
1
- import { AccessibleItem } from '@ngbase/adk/a11y';
2
- import { NgbRadioGroup } from './radio-group';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@ngbase/adk/a11y";
5
- export declare class NgbRadioIndicator {
6
- readonly radio: NgbRadio;
7
- readonly allyItem: AccessibleItem<any>;
8
- readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
9
- constructor();
10
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbRadioIndicator, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<NgbRadioIndicator, "[ngbRadioIndicator]", ["ngbRadioIndicator"], {}, {}, never, ["*"], true, [{ directive: typeof i1.AccessibleItem; inputs: {}; outputs: {}; }]>;
12
- }
13
- export declare class NgbRadio {
14
- readonly radio: NgbRadioGroup;
15
- readonly value: import("@angular/core").InputSignal<any>;
16
- readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
17
- readonly checked: import("@angular/core").Signal<boolean>;
18
- readonly ayId: string;
19
- updateValue(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbRadio, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbRadio, "[ngbRadio]", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
22
- }
23
- export declare function aliasRadio(radio: typeof NgbRadio): {
24
- provide: typeof NgbRadio;
25
- useExisting: typeof NgbRadio;
26
- };
@@ -1,2 +0,0 @@
1
- export * from './resizable';
2
- export * from './resizable-group';
@@ -1,22 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NgbResizableGroup {
4
- readonly document: Document;
5
- readonly el: ElementRef<HTMLElement>;
6
- readonly panels: import("@angular/core").Signal<readonly any[]>;
7
- readonly direction: import("@angular/core").InputSignal<"horizontal" | "vertical">;
8
- readonly id: string;
9
- private overlayDiv?;
10
- constructor();
11
- get w(): number;
12
- get h(): number;
13
- setAuto(): void;
14
- start(): void;
15
- end(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbResizableGroup, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbResizableGroup, "[ngbResizableGroup]", ["ngbResizableGroup"], { "direction": { "alias": "direction"; "required": false; "isSignal": true; }; }, {}, ["panels"], never, true, never>;
18
- }
19
- export declare function aliasResizableGroup(resizableGroup: typeof NgbResizableGroup): {
20
- provide: typeof NgbResizableGroup;
21
- useExisting: typeof NgbResizableGroup;
22
- };
@@ -1,50 +0,0 @@
1
- import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
2
- import { Drag, DragData } from '@ngbase/adk/drag';
3
- import { NgbResizableGroup } from './resizable-group';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@ngbase/adk/drag";
6
- export declare class NgbGutter {
7
- readonly resizable: NgbResizable;
8
- readonly drag: Drag;
9
- constructor();
10
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbGutter, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbGutter, "[ngbGutter]", ["ngbGutter"], {}, {}, never, never, true, [{ directive: typeof i1.Drag; inputs: {}; outputs: {}; }]>;
12
- }
13
- export declare class NgbResizable {
14
- readonly el: ElementRef<HTMLElement>;
15
- readonly resizable: NgbResizableGroup;
16
- readonly containerRef: ViewContainerRef;
17
- readonly dragElement: import("@angular/core").Signal<TemplateRef<any> | undefined>;
18
- readonly drag: import("@angular/core").Signal<Drag | undefined>;
19
- readonly id: string;
20
- readonly lockAxis: import("@angular/core").Signal<"x" | "y">;
21
- readonly size: import("@angular/core").InputSignal<string | number>;
22
- readonly min: import("@angular/core").InputSignal<string | number>;
23
- readonly max: import("@angular/core").InputSignal<string | number | undefined>;
24
- readonly lSize: import("@angular/core").WritableSignal<string | number>;
25
- readonly draggable: import("@angular/core").WritableSignal<boolean>;
26
- private reducedSize;
27
- private localMinSize;
28
- private localMaxSize;
29
- private lastReducedSize;
30
- index: number;
31
- str: string;
32
- constructor();
33
- cSize(): number;
34
- onStart(): void;
35
- onEnd(): void;
36
- private getSize;
37
- onDrag(data: DragData): void;
38
- handleDrag(event?: DragData): void;
39
- private getUpdatedSize;
40
- updateSize(px: number, direct: 'both' | 'prev' | 'next'): void;
41
- private calculateSize;
42
- private updateFlex;
43
- updateElementSize(str: string): void;
44
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbResizable, never>;
45
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbResizable, "[ngbResizable]", ["ngbResizable"], { "size": { "alias": "size"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
46
- }
47
- export declare function aliasResizable(resizable: typeof NgbResizable): {
48
- provide: typeof NgbResizable;
49
- useExisting: typeof NgbResizable;
50
- };
@@ -1 +0,0 @@
1
- export * from './scroll-area';
@@ -1,56 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { Drag, DragData } from '@ngbase/adk/drag';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@ngbase/adk/drag";
5
- export type ScrollBarOrientation = 'vertical' | 'horizontal' | 'both';
6
- export declare class NgbScrollBar {
7
- readonly el: ElementRef<HTMLDivElement>;
8
- readonly scrollArea: NgbScrollArea;
9
- readonly drag: Drag;
10
- readonly ngbScrollBar: import("@angular/core").InputSignal<"vertical" | "horizontal">;
11
- readonly visible: import("@angular/core").Signal<boolean>;
12
- readonly show: import("@angular/core").Signal<boolean>;
13
- readonly size: import("@angular/core").Signal<string>;
14
- constructor();
15
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbScrollBar, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbScrollBar, "[ngbScrollBar]", never, { "ngbScrollBar": { "alias": "ngbScrollBar"; "required": true; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.Drag; inputs: {}; outputs: {}; }]>;
17
- }
18
- export declare class NgbScrollArea {
19
- readonly scrollAreaViewport: import("@angular/core").Signal<ElementRef<HTMLDivElement>>;
20
- readonly scrollbars: import("@angular/core").Signal<readonly NgbScrollBar[]>;
21
- readonly scrollbarVertical: import("@angular/core").Signal<NgbScrollBar | undefined>;
22
- readonly scrollbarHorizontal: import("@angular/core").Signal<NgbScrollBar | undefined>;
23
- readonly orientation: import("@angular/core").InputSignal<ScrollBarOrientation>;
24
- readonly hideDelay: import("@angular/core").InputSignal<number>;
25
- readonly alwaysShow: import("@angular/core").InputSignal<boolean>;
26
- private viewportHeight;
27
- private viewportWidth;
28
- private contentHeight;
29
- private contentWidth;
30
- private isScrolling;
31
- private hideTimeout;
32
- private isDragging;
33
- private startY;
34
- private startX;
35
- private startScrollTop;
36
- private startScrollLeft;
37
- private client;
38
- protected readonly showScrollbar: import("@angular/core").Signal<boolean>;
39
- protected readonly hasVertical: import("@angular/core").Signal<boolean>;
40
- protected readonly hasHorizontal: import("@angular/core").Signal<boolean>;
41
- readonly showVerticalBar: import("@angular/core").Signal<boolean>;
42
- readonly showHorizontalBar: import("@angular/core").Signal<boolean>;
43
- readonly showVerticalScroll: import("@angular/core").Signal<boolean>;
44
- readonly showHorizontalScroll: import("@angular/core").Signal<boolean>;
45
- readonly scrollbarHeight: import("@angular/core").Signal<number>;
46
- readonly scrollbarWidth: import("@angular/core").Signal<number>;
47
- constructor();
48
- private updateDimensions;
49
- private handleScroll;
50
- private scrollbarVerticalTransform;
51
- private scrollbarHorizontalTransform;
52
- startDraggingVertical(data: DragData): void;
53
- startDraggingHorizontal(data: DragData): void;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbScrollArea, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<NgbScrollArea, "[ngbScrollArea]", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "hideDelay": { "alias": "hideDelay"; "required": false; "isSignal": true; }; "alwaysShow": { "alias": "alwaysShow"; "required": false; "isSignal": true; }; }, {}, ["scrollbars"], ["*", "[ngbScrollBar]", ".scroll-area-corner"], true, never>;
56
- }
@@ -1,7 +0,0 @@
1
- import { SelectBase } from './select-base';
2
- import * as i0 from "@angular/core";
3
- export declare class ListSelection<T> extends SelectBase<T> {
4
- constructor();
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ListSelection<any>, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<ListSelection<any>, "[ngbListSelection]", never, {}, {}, never, never, true, never>;
7
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NgbOptionGroup {
3
- readonly label: import("@angular/core").InputSignal<string>;
4
- readonly disabled: import("@angular/core").InputSignal<boolean>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbOptionGroup, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbOptionGroup, "[ngbOptionGroup]", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7
- }
@@ -1,25 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { AccessibleItem } from '@ngbase/adk/a11y';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@ngbase/adk/a11y";
5
- export declare class NgbOption<T> {
6
- readonly allyItem: AccessibleItem<any>;
7
- readonly el: ElementRef<HTMLElement>;
8
- readonly value: import("@angular/core").InputSignal<T | undefined>;
9
- readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
10
- readonly ayId: import("@angular/core").InputSignal<string | undefined>;
11
- readonly onSelectionChange: import("@angular/core").OutputEmitterRef<T>;
12
- readonly multiple: import("@angular/core").WritableSignal<boolean>;
13
- readonly checked: import("@angular/core").WritableSignal<boolean>;
14
- readonly active: import("@angular/core").WritableSignal<boolean>;
15
- private _ayId;
16
- constructor();
17
- selectOption(): void;
18
- setAyId(id: string): void;
19
- label(): string;
20
- focus(): void;
21
- unselect(): void;
22
- getValue(): string | T | undefined;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbOption<any>, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbOption<any>, "[ngbOption]", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ayId": { "alias": "ayId"; "required": false; "isSignal": true; }; }, { "onSelectionChange": "onSelectionChange"; }, never, never, true, [{ directive: typeof i1.AccessibleItem; inputs: {}; outputs: {}; }]>;
25
- }
@@ -1,6 +0,0 @@
1
- export * from './select';
2
- export * from './option';
3
- export * from './option-group';
4
- export * from './select-input';
5
- export * from './list-selection';
6
- export * from './select-base';
@@ -1,66 +0,0 @@
1
- import { EffectRef, ElementRef, OnDestroy, TemplateRef } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { Directionality } from '@ngbase/adk/bidi';
4
- import { PopoverOptions } from '@ngbase/adk/popover';
5
- import { Subject } from 'rxjs';
6
- import { NgbOption } from './option';
7
- import * as i0 from "@angular/core";
8
- export declare class NgbSelectTarget {
9
- readonly target: import("@angular/core").WritableSignal<HTMLDivElement | null>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbSelectTarget, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbSelectTarget, "[ngbSelectTarget]", never, {}, {}, never, never, true, never>;
12
- }
13
- export declare abstract class SelectBase<T> implements ControlValueAccessor, OnDestroy {
14
- private isSelect;
15
- readonly el: ElementRef<any>;
16
- readonly dir: Directionality;
17
- readonly target: NgbSelectTarget | null;
18
- readonly list: import("@angular/core").Signal<readonly NgbOption<any>[]>;
19
- readonly popover: {
20
- open: <T_1>(component: import("@ngbase/adk/portal").DialogInput<T_1>, options: PopoverOptions) => import("@ngbase/adk/popover").PopoverOpen<T_1>;
21
- closeAll: () => void;
22
- };
23
- readonly optionsTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
24
- readonly container: import("@angular/core").Signal<ElementRef<any> | undefined>;
25
- readonly optionsGroup: import("@angular/core").Signal<ElementRef<any> | undefined>;
26
- readonly value: import("@angular/core").ModelSignal<any>;
27
- readonly disabled: import("@angular/core").ModelSignal<boolean>;
28
- readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
29
- readonly noAutoClose: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
30
- readonly options: import("@angular/core").InputSignal<T[]>;
31
- readonly placeholder: import("@angular/core").InputSignal<string>;
32
- readonly size: import("@angular/core").InputSignal<"target" | "free">;
33
- readonly opened: import("@angular/core").OutputEmitterRef<boolean>;
34
- readonly closed: import("@angular/core").OutputEmitterRef<boolean>;
35
- defaultOptions: Partial<PopoverOptions>;
36
- readonly panelOpen: import("@angular/core").WritableSignal<boolean>;
37
- readonly values: import("@angular/core").WritableSignal<T[]>;
38
- readonly status: import("@angular/core").WritableSignal<"opening" | "opened" | "closed">;
39
- onChange?: (value: any) => void;
40
- onTouched?: () => void;
41
- popClose?: VoidFunction;
42
- private previousValue;
43
- events: Subject<"open" | "close">;
44
- readonly ayId: string;
45
- readonly cValue: import("@angular/core").Signal<string>;
46
- private withInPopup;
47
- valueRef: EffectRef;
48
- protected constructor(isSelect: boolean);
49
- open(): void;
50
- popValue(): void;
51
- close(): void;
52
- private afterOpen;
53
- private afterClose;
54
- private clickHandler;
55
- private focusOut;
56
- private setValue;
57
- removeValue(value: T): void;
58
- writeValue(value: T[] | T): void;
59
- private updateValues;
60
- registerOnChange(fn: (value: any) => void): void;
61
- registerOnTouched(fn: VoidFunction): void;
62
- setDisabledState(isDisabled: boolean): void;
63
- ngOnDestroy(): void;
64
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectBase<any>, never>;
65
- static ɵdir: i0.ɵɵDirectiveDeclaration<SelectBase<any>, never, never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "noAutoClose": { "alias": "noAutoClose"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "disabled": "disabledChange"; "opened": "opened"; "closed": "closed"; }, ["list"], never, true, never>;
66
- }
@@ -1,23 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { InputBase } from '@ngbase/adk/form-field';
3
- import { NgbSelect } from './select';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@ngbase/adk/a11y";
6
- import * as i2 from "@ngbase/adk/form-field";
7
- export declare class NgbSelectInput<T> {
8
- readonly el: ElementRef<HTMLInputElement>;
9
- readonly select: NgbSelect<T> | null;
10
- readonly inputBase: InputBase<any>;
11
- readonly placeholder: import("@angular/core").InputSignal<string>;
12
- readonly options: import("@angular/core").InputSignal<T[]>;
13
- readonly filterFn: import("@angular/core").InputSignal<((query: string, value: T, values: T[]) => boolean) | undefined>;
14
- readonly filteredOptions: import("@angular/core").Signal<T[]>;
15
- constructor();
16
- updateSearch(value: string): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbSelectInput<any>, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbSelectInput<any>, "[ngbSelectInput]", ["ngbSelectInput"], { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "filterFn": { "alias": "filterFn"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.Autofocus; inputs: {}; outputs: {}; }, { directive: typeof i2.InputBase; inputs: { "value": "value"; }; outputs: { "valueChange": "valueChange"; }; }]>;
19
- }
20
- export declare class NgbSelectTrigger {
21
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbSelectTrigger, never>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbSelectTrigger, "[ngbSelectTrigger]", never, {}, {}, never, never, true, never>;
23
- }
@@ -1,53 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import { AccessibleGroup } from '@ngbase/adk/a11y';
3
- import { FilterOptions } from '@ngbase/adk/utils';
4
- import { SelectBase } from './select-base';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@ngbase/adk/a11y";
7
- export interface OptionContext<T> {
8
- $implicit: T;
9
- index: number;
10
- }
11
- export declare class NgbSelectOption<T> {
12
- readonly template: TemplateRef<any>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbSelectOption<any>, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbSelectOption<any>, "[ngbSelectOption]", never, {}, {}, never, never, true, never>;
15
- }
16
- export declare class SelectValue {
17
- readonly select: NgbSelect<any>;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectValue, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<SelectValue, "[ngbSelectValue]", never, {}, {}, never, never, true, never>;
20
- }
21
- export declare class NgbSelectOptionGroup {
22
- readonly group: AccessibleGroup;
23
- readonly select: SelectBase<any>;
24
- constructor();
25
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbSelectOptionGroup, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbSelectOptionGroup, "[ngbSelectOptionGroup]", never, {}, {}, never, never, true, [{ directive: typeof i1.AccessibleGroup; inputs: {}; outputs: {}; }]>;
27
- }
28
- export declare class NgbSelect<T> extends SelectBase<T> {
29
- readonly search: import("@angular/core").ModelSignal<string>;
30
- readonly optionTemplate: import("@angular/core").Signal<NgbSelectOption<any> | undefined>;
31
- readonly filterFn: import("@angular/core").InputSignal<(option: string) => string>;
32
- readonly queryFn: import("@angular/core").InputSignal<((query: string, option: any) => boolean) | undefined>;
33
- readonly filterOptions: import("@angular/core").InputSignal<FilterOptions<T> | undefined>;
34
- readonly optionsFilter: {
35
- search: import("@angular/core").WritableSignal<string>;
36
- list: import("@angular/core").WritableSignal<T[]>;
37
- filteredList: import("@angular/core").Signal<T[]>;
38
- };
39
- constructor();
40
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbSelect<any>, never>;
41
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbSelect<any>, "[ngbSelect]", never, { "search": { "alias": "search"; "required": false; "isSignal": true; }; "filterFn": { "alias": "filterFn"; "required": false; "isSignal": true; }; "queryFn": { "alias": "queryFn"; "required": false; "isSignal": true; }; "filterOptions": { "alias": "filterOptions"; "required": false; "isSignal": true; }; }, { "search": "searchChange"; }, ["optionTemplate"], never, true, never>;
42
- }
43
- export declare function aliasSelect(select: typeof NgbSelect): (({
44
- provide: import("@angular/core").InjectionToken<readonly import("@angular/forms").ControlValueAccessor[]>;
45
- useExisting: import("@angular/core").Type<any>;
46
- multi: boolean;
47
- } | {
48
- provide: typeof SelectBase;
49
- useExisting: typeof NgbSelect;
50
- })[] | {
51
- provide: typeof NgbSelect;
52
- useExisting: typeof NgbSelect;
53
- })[];
@@ -1,2 +0,0 @@
1
- export { NgbSelectable } from './selectable';
2
- export { NgbSelectableItem } from './selectable-item';
@@ -1,12 +0,0 @@
1
- import { NgbSelectable } from './selectable';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@ngbase/adk/a11y";
4
- export declare class NgbSelectableItem<T> {
5
- readonly selectable: NgbSelectable<T>;
6
- readonly value: import("@angular/core").InputSignal<T>;
7
- readonly selected: import("@angular/core").Signal<boolean>;
8
- constructor();
9
- select(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbSelectableItem<any>, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbSelectableItem<any>, "[ngbSelectableItem]", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.AccessibleItem; inputs: {}; outputs: {}; }]>;
12
- }
@@ -1,19 +0,0 @@
1
- import { ControlValueAccessor } from '@angular/forms';
2
- import { AccessibleGroup } from '@ngbase/adk/a11y';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@ngbase/adk/a11y";
5
- export declare class NgbSelectable<T> implements ControlValueAccessor {
6
- readonly allyGroup: AccessibleGroup;
7
- readonly activeIndex: import("@angular/core").ModelSignal<T | undefined>;
8
- readonly valueChanged: import("@angular/core").OutputEmitterRef<T>;
9
- readonly ayId: string;
10
- onChange: (_: T) => void;
11
- onTouched: () => void;
12
- constructor();
13
- setValue(value: T): void;
14
- writeValue(v: T): void;
15
- registerOnChange(fn: (v: T) => void): void;
16
- registerOnTouched(fn: () => void): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbSelectable<any>, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbSelectable<any>, "[ngbSelectable]", never, { "activeIndex": { "alias": "activeIndex"; "required": false; "isSignal": true; }; }, { "activeIndex": "activeIndexChange"; "valueChanged": "valueChanged"; }, never, never, true, [{ directive: typeof i1.AccessibleGroup; inputs: {}; outputs: {}; }]>;
19
- }
@@ -1,2 +0,0 @@
1
- export * from './sheet.service';
2
- export * from './sheet';
package/sheet/sheet.d.ts DELETED
@@ -1,26 +0,0 @@
1
- import { OnDestroy, ViewContainerRef } from '@angular/core';
2
- import { BaseDialog } from '@ngbase/adk/portal';
3
- import { SheetOptions } from './sheet.service';
4
- import * as i0 from "@angular/core";
5
- export declare class NgbSheetContainer extends BaseDialog implements OnDestroy {
6
- myDialog: import("@angular/core").Signal<ViewContainerRef | undefined>;
7
- readonly dir: import("@ngbase/adk/bidi").Directionality;
8
- backdropColor: boolean;
9
- options: SheetOptions;
10
- classNames: string;
11
- isHideHeader: boolean;
12
- readonly position: import("@angular/core").Signal<{
13
- params: {
14
- outTransform: string;
15
- };
16
- }>;
17
- constructor();
18
- setOptions(options: SheetOptions): void;
19
- ngOnDestroy(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<NgbSheetContainer, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgbSheetContainer, "mee-sheet", never, {}, {}, never, never, true, never>;
22
- }
23
- export declare function aliasSheet(dialog: typeof NgbSheetContainer): {
24
- provide: typeof NgbSheetContainer;
25
- useExisting: typeof NgbSheetContainer;
26
- };
@@ -1,13 +0,0 @@
1
- import { DialogInput, DialogOptions } from '@ngbase/adk/portal';
2
- import { NgbSheetContainer } from './sheet';
3
- export declare class SheetOptions extends DialogOptions {
4
- position?: 'left' | 'right';
5
- }
6
- export declare function ngbSheetPortal(component: typeof NgbSheetContainer): {
7
- open: <T>(component: DialogInput, opt?: SheetOptions) => {
8
- afterClosed: import("rxjs").Observable<any>;
9
- close: (data?: any) => void;
10
- };
11
- closeAll: () => void;
12
- };
13
- export type NgbSheet = ReturnType<typeof ngbSheetPortal>;