@cuby-ui/core 0.0.194 → 0.0.195

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 (337) hide show
  1. package/animations/animations.d.ts +36 -36
  2. package/animations/index.d.ts +1 -1
  3. package/classes/accessors.d.ts +17 -17
  4. package/classes/driver.d.ts +16 -16
  5. package/classes/index.d.ts +3 -3
  6. package/classes/vehicle.d.ts +6 -6
  7. package/components/accordion/accordion-item/accordion-item.component.d.ts +11 -11
  8. package/components/accordion/accordion.component.d.ts +5 -5
  9. package/components/accordion/accordion.module.d.ts +11 -11
  10. package/components/accordion/index.d.ts +3 -3
  11. package/components/alert/alert.component.d.ts +13 -13
  12. package/components/alert/alert.interfaces.d.ts +9 -9
  13. package/components/alert/alert.module.d.ts +11 -11
  14. package/components/alert/alert.service.d.ts +7 -7
  15. package/components/alert/alert.tokens.d.ts +16 -16
  16. package/components/alert/alert.types.d.ts +3 -3
  17. package/components/alert/alerts.component.d.ts +17 -17
  18. package/components/alert/index.d.ts +8 -8
  19. package/components/badge/badge.component.d.ts +10 -10
  20. package/components/badge/badge.module.d.ts +8 -8
  21. package/components/badge/badge.options.d.ts +8 -8
  22. package/components/badge/index.d.ts +2 -2
  23. package/components/banner/banner.component.d.ts +21 -21
  24. package/components/banner/banner.module.d.ts +11 -11
  25. package/components/banner/banner.options.d.ts +13 -13
  26. package/components/banner/index.d.ts +3 -3
  27. package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -6
  28. package/components/breadcrumbs/breadcrumbs.component.d.ts +7 -7
  29. package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -10
  30. package/components/breadcrumbs/index.d.ts +3 -3
  31. package/components/button/button.component.d.ts +38 -38
  32. package/components/button/button.module.d.ts +9 -9
  33. package/components/button/button.options.d.ts +9 -9
  34. package/components/button/index.d.ts +3 -3
  35. package/components/button-group/button-group.component.d.ts +5 -5
  36. package/components/button-group/button-group.module.d.ts +7 -7
  37. package/components/button-group/index.d.ts +2 -2
  38. package/components/checkbox/checkbox.component.d.ts +5 -5
  39. package/components/checkbox/checkbox.module.d.ts +7 -7
  40. package/components/checkbox/index.d.ts +2 -2
  41. package/components/context-menu/context-menu.component.d.ts +39 -39
  42. package/components/context-menu/context-menu.module.d.ts +9 -9
  43. package/components/context-menu/index.d.ts +2 -2
  44. package/components/dialog/dialog-actions/dialog-actions.component.d.ts +5 -5
  45. package/components/dialog/dialog-header/dialog-header.component.d.ts +13 -13
  46. package/components/dialog/dialog.component.d.ts +33 -33
  47. package/components/dialog/dialog.interfaces.d.ts +11 -11
  48. package/components/dialog/dialog.module.d.ts +14 -14
  49. package/components/dialog/dialog.service.d.ts +7 -7
  50. package/components/dialog/dialog.tokens.d.ts +8 -8
  51. package/components/dialog/dialogs.component.d.ts +18 -18
  52. package/components/dialog/index.d.ts +8 -8
  53. package/components/form-field/form-field.component.d.ts +5 -5
  54. package/components/form-field/form-field.module.d.ts +7 -7
  55. package/components/form-field/index.d.ts +2 -2
  56. package/components/hint/hint.component.d.ts +7 -7
  57. package/components/hint/hint.module.d.ts +7 -7
  58. package/components/hint/index.d.ts +2 -2
  59. package/components/icon-button/icon-button.component.d.ts +13 -13
  60. package/components/icon-button/icon-button.module.d.ts +9 -9
  61. package/components/icon-button/index.d.ts +2 -2
  62. package/components/index.d.ts +26 -26
  63. package/components/input-number/index.d.ts +2 -2
  64. package/components/input-number/input-number.component.d.ts +38 -38
  65. package/components/input-number/input-number.module.d.ts +12 -12
  66. package/components/input-password/index.d.ts +2 -2
  67. package/components/input-password/input-password.component.d.ts +31 -31
  68. package/components/input-password/input-password.module.d.ts +11 -11
  69. package/components/input-text/index.d.ts +2 -2
  70. package/components/input-text/input-text.component.d.ts +31 -31
  71. package/components/input-text/input-text.module.d.ts +11 -11
  72. package/components/input-time/index.d.ts +3 -3
  73. package/components/input-time/input-time.component.d.ts +36 -36
  74. package/components/input-time/input-time.module.d.ts +12 -12
  75. package/components/input-time/input-time.options.d.ts +7 -7
  76. package/components/label/index.d.ts +2 -2
  77. package/components/label/label.component.d.ts +6 -6
  78. package/components/label/label.module.d.ts +8 -8
  79. package/components/notification/index.d.ts +3 -3
  80. package/components/notification/notification.component.d.ts +18 -18
  81. package/components/notification/notification.module.d.ts +9 -9
  82. package/components/notification/notification.options.d.ts +17 -17
  83. package/components/radio/index.d.ts +2 -2
  84. package/components/radio/radio.component.d.ts +5 -5
  85. package/components/radio/radio.module.d.ts +7 -7
  86. package/components/root/index.d.ts +3 -3
  87. package/components/root/root.component.d.ts +11 -11
  88. package/components/root/root.module.d.ts +11 -11
  89. package/components/root/root.options.d.ts +1 -1
  90. package/components/select/index.d.ts +2 -2
  91. package/components/select/select.component.d.ts +53 -53
  92. package/components/select/select.module.d.ts +11 -11
  93. package/components/svg/index.d.ts +2 -2
  94. package/components/svg/svg.component.d.ts +16 -16
  95. package/components/svg/svg.module.d.ts +8 -8
  96. package/components/tabs/index.d.ts +3 -3
  97. package/components/tabs/tab/index.d.ts +1 -1
  98. package/components/tabs/tab/tab.component.d.ts +8 -8
  99. package/components/tabs/tabs.component.d.ts +16 -16
  100. package/components/tabs/tabs.module.d.ts +8 -8
  101. package/components/textarea/index.d.ts +2 -2
  102. package/components/textarea/textarea.component.d.ts +10 -10
  103. package/components/textarea/textarea.module.d.ts +7 -7
  104. package/components/toggle/index.d.ts +2 -2
  105. package/components/toggle/toggle.component.d.ts +5 -5
  106. package/components/toggle/toggle.module.d.ts +7 -7
  107. package/directives/index.d.ts +2 -2
  108. package/directives/text-field-controller/index.d.ts +8 -8
  109. package/directives/text-field-controller/text-field-controller.module.d.ts +11 -11
  110. package/directives/text-field-controller/text-field-controller.provider.d.ts +4 -4
  111. package/directives/text-field-controller/text-field-icon-left.directive.d.ts +9 -9
  112. package/directives/text-field-controller/text-field-id.directive.d.ts +8 -8
  113. package/directives/text-field-controller/text-field-is-error.directive.d.ts +8 -8
  114. package/directives/text-field-controller/text-field-placeholder.directive.d.ts +8 -8
  115. package/directives/text-field-controller/text-field-size.directive.d.ts +9 -9
  116. package/directives/text-field-controller/text-field.controller.d.ts +20 -20
  117. package/directives/tooltip/index.d.ts +16 -16
  118. package/directives/tooltip/tooltip-describe.directive.d.ts +16 -16
  119. package/directives/tooltip/tooltip-driver.directive.d.ts +7 -7
  120. package/directives/tooltip/tooltip-host.directive.d.ts +9 -9
  121. package/directives/tooltip/tooltip-hover.directive.d.ts +21 -21
  122. package/directives/tooltip/tooltip-manual.directive.d.ts +13 -13
  123. package/directives/tooltip/tooltip-options.directive.d.ts +36 -36
  124. package/directives/tooltip/tooltip-overflow.directive.d.ts +8 -8
  125. package/directives/tooltip/tooltip-pointer.directive.d.ts +10 -10
  126. package/directives/tooltip/tooltip-position.directive.d.ts +20 -20
  127. package/directives/tooltip/tooltip-unstyled.component.d.ts +17 -17
  128. package/directives/tooltip/tooltip.component.d.ts +33 -33
  129. package/directives/tooltip/tooltip.d.ts +13 -13
  130. package/directives/tooltip/tooltip.directive.d.ts +26 -26
  131. package/directives/tooltip/tooltip.providers.d.ts +5 -5
  132. package/directives/tooltip/tooltip.service.d.ts +13 -13
  133. package/directives/tooltip/tooltips.component.d.ts +12 -12
  134. package/esm2022/animations/animations.mjs +271 -271
  135. package/esm2022/animations/index.mjs +1 -1
  136. package/esm2022/classes/accessors.mjs +30 -30
  137. package/esm2022/classes/driver.mjs +34 -34
  138. package/esm2022/classes/index.mjs +3 -3
  139. package/esm2022/classes/vehicle.mjs +6 -6
  140. package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +27 -27
  141. package/esm2022/components/accordion/accordion.component.mjs +10 -10
  142. package/esm2022/components/accordion/accordion.module.mjs +36 -36
  143. package/esm2022/components/accordion/index.mjs +3 -3
  144. package/esm2022/components/alert/alert.component.mjs +35 -35
  145. package/esm2022/components/alert/alert.interfaces.mjs +1 -1
  146. package/esm2022/components/alert/alert.module.mjs +39 -39
  147. package/esm2022/components/alert/alert.service.mjs +16 -16
  148. package/esm2022/components/alert/alert.tokens.mjs +19 -19
  149. package/esm2022/components/alert/alert.types.mjs +1 -1
  150. package/esm2022/components/alert/alerts.component.mjs +35 -35
  151. package/esm2022/components/alert/index.mjs +8 -8
  152. package/esm2022/components/badge/badge.component.mjs +30 -30
  153. package/esm2022/components/badge/badge.module.mjs +17 -17
  154. package/esm2022/components/badge/badge.options.mjs +7 -7
  155. package/esm2022/components/badge/index.mjs +2 -2
  156. package/esm2022/components/banner/banner.component.mjs +67 -67
  157. package/esm2022/components/banner/banner.module.mjs +30 -30
  158. package/esm2022/components/banner/banner.options.mjs +5 -5
  159. package/esm2022/components/banner/index.mjs +3 -3
  160. package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +15 -15
  161. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +16 -16
  162. package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +32 -32
  163. package/esm2022/components/breadcrumbs/index.mjs +3 -3
  164. package/esm2022/components/button/button.component.mjs +137 -137
  165. package/esm2022/components/button/button.module.mjs +23 -23
  166. package/esm2022/components/button/button.options.mjs +9 -9
  167. package/esm2022/components/button/index.mjs +3 -3
  168. package/esm2022/components/button-group/button-group.component.mjs +10 -10
  169. package/esm2022/components/button-group/button-group.module.mjs +15 -15
  170. package/esm2022/components/button-group/index.mjs +2 -2
  171. package/esm2022/components/checkbox/checkbox.component.mjs +10 -10
  172. package/esm2022/components/checkbox/checkbox.module.mjs +15 -15
  173. package/esm2022/components/checkbox/index.mjs +2 -2
  174. package/esm2022/components/context-menu/context-menu.component.mjs +147 -147
  175. package/esm2022/components/context-menu/context-menu.module.mjs +23 -23
  176. package/esm2022/components/context-menu/index.mjs +2 -2
  177. package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +10 -10
  178. package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +27 -27
  179. package/esm2022/components/dialog/dialog.component.mjs +66 -66
  180. package/esm2022/components/dialog/dialog.interfaces.mjs +1 -1
  181. package/esm2022/components/dialog/dialog.module.mjs +48 -48
  182. package/esm2022/components/dialog/dialog.service.mjs +16 -16
  183. package/esm2022/components/dialog/dialog.tokens.mjs +11 -11
  184. package/esm2022/components/dialog/dialogs.component.mjs +50 -50
  185. package/esm2022/components/dialog/index.mjs +8 -8
  186. package/esm2022/components/form-field/form-field.component.mjs +10 -10
  187. package/esm2022/components/form-field/form-field.module.mjs +15 -15
  188. package/esm2022/components/form-field/index.mjs +2 -2
  189. package/esm2022/components/hint/hint.component.mjs +18 -18
  190. package/esm2022/components/hint/hint.module.mjs +15 -15
  191. package/esm2022/components/hint/index.mjs +2 -2
  192. package/esm2022/components/icon-button/icon-button.component.mjs +31 -31
  193. package/esm2022/components/icon-button/icon-button.module.mjs +23 -23
  194. package/esm2022/components/icon-button/index.mjs +2 -2
  195. package/esm2022/components/index.mjs +26 -26
  196. package/esm2022/components/input-number/index.mjs +2 -2
  197. package/esm2022/components/input-number/input-number.component.mjs +112 -112
  198. package/esm2022/components/input-number/input-number.module.mjs +35 -35
  199. package/esm2022/components/input-password/index.mjs +2 -2
  200. package/esm2022/components/input-password/input-password.component.mjs +88 -88
  201. package/esm2022/components/input-password/input-password.module.mjs +32 -32
  202. package/esm2022/components/input-text/index.mjs +2 -2
  203. package/esm2022/components/input-text/input-text.component.mjs +86 -86
  204. package/esm2022/components/input-text/input-text.module.mjs +32 -32
  205. package/esm2022/components/input-time/index.mjs +3 -3
  206. package/esm2022/components/input-time/input-time.component.mjs +98 -98
  207. package/esm2022/components/input-time/input-time.module.mjs +35 -35
  208. package/esm2022/components/input-time/input-time.options.mjs +7 -7
  209. package/esm2022/components/label/index.mjs +2 -2
  210. package/esm2022/components/label/label.component.mjs +16 -16
  211. package/esm2022/components/label/label.module.mjs +17 -17
  212. package/esm2022/components/notification/index.mjs +3 -3
  213. package/esm2022/components/notification/notification.component.mjs +46 -46
  214. package/esm2022/components/notification/notification.module.mjs +23 -23
  215. package/esm2022/components/notification/notification.options.mjs +52 -52
  216. package/esm2022/components/radio/index.mjs +2 -2
  217. package/esm2022/components/radio/radio.component.mjs +10 -10
  218. package/esm2022/components/radio/radio.module.mjs +15 -15
  219. package/esm2022/components/root/index.mjs +3 -3
  220. package/esm2022/components/root/root.component.mjs +31 -31
  221. package/esm2022/components/root/root.module.mjs +30 -30
  222. package/esm2022/components/root/root.options.mjs +1 -1
  223. package/esm2022/components/select/index.mjs +2 -2
  224. package/esm2022/components/select/select.component.mjs +171 -171
  225. package/esm2022/components/select/select.module.mjs +31 -31
  226. package/esm2022/components/svg/index.mjs +2 -2
  227. package/esm2022/components/svg/svg.component.mjs +49 -49
  228. package/esm2022/components/svg/svg.module.mjs +17 -17
  229. package/esm2022/components/tabs/index.mjs +3 -3
  230. package/esm2022/components/tabs/tab/index.mjs +1 -1
  231. package/esm2022/components/tabs/tab/tab.component.mjs +20 -20
  232. package/esm2022/components/tabs/tabs.component.mjs +48 -48
  233. package/esm2022/components/tabs/tabs.module.mjs +17 -17
  234. package/esm2022/components/textarea/index.mjs +2 -2
  235. package/esm2022/components/textarea/textarea.component.mjs +34 -34
  236. package/esm2022/components/textarea/textarea.module.mjs +15 -15
  237. package/esm2022/components/toggle/index.mjs +2 -2
  238. package/esm2022/components/toggle/toggle.component.mjs +10 -10
  239. package/esm2022/components/toggle/toggle.module.mjs +15 -15
  240. package/esm2022/cuby-ui-core.mjs +4 -4
  241. package/esm2022/directives/index.mjs +2 -2
  242. package/esm2022/directives/text-field-controller/index.mjs +8 -8
  243. package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +39 -39
  244. package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +23 -23
  245. package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +20 -20
  246. package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +20 -20
  247. package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +23 -23
  248. package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +20 -20
  249. package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +23 -23
  250. package/esm2022/directives/text-field-controller/text-field.controller.mjs +24 -24
  251. package/esm2022/directives/tooltip/index.mjs +16 -16
  252. package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +44 -44
  253. package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +17 -17
  254. package/esm2022/directives/tooltip/tooltip-host.directive.mjs +25 -25
  255. package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +52 -52
  256. package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +30 -30
  257. package/esm2022/directives/tooltip/tooltip-options.directive.mjs +82 -82
  258. package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +30 -30
  259. package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +30 -30
  260. package/esm2022/directives/tooltip/tooltip-position.directive.mjs +96 -96
  261. package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +39 -39
  262. package/esm2022/directives/tooltip/tooltip.component.mjs +98 -98
  263. package/esm2022/directives/tooltip/tooltip.directive.mjs +91 -91
  264. package/esm2022/directives/tooltip/tooltip.mjs +26 -26
  265. package/esm2022/directives/tooltip/tooltip.providers.mjs +6 -6
  266. package/esm2022/directives/tooltip/tooltip.service.mjs +27 -27
  267. package/esm2022/directives/tooltip/tooltips.component.mjs +32 -32
  268. package/esm2022/index.mjs +8 -7
  269. package/esm2022/interceptors/index.mjs +2 -0
  270. package/esm2022/interceptors/x-ndjson.interceptor.mjs +48 -0
  271. package/esm2022/interfaces/context-menu-item.mjs +1 -1
  272. package/esm2022/interfaces/index.mjs +3 -3
  273. package/esm2022/interfaces/option.mjs +1 -1
  274. package/esm2022/services/index.mjs +4 -4
  275. package/esm2022/services/position.service.mjs +22 -22
  276. package/esm2022/services/theme.options.mjs +5 -5
  277. package/esm2022/services/theme.service.mjs +29 -29
  278. package/esm2022/services/visual-viewport.service.mjs +27 -27
  279. package/esm2022/tokens/animations-speed.mjs +7 -7
  280. package/esm2022/tokens/index.mjs +3 -3
  281. package/esm2022/tokens/reduced-motion.mjs +5 -5
  282. package/esm2022/tokens/viewport.mjs +30 -30
  283. package/esm2022/types/appearance.mjs +1 -1
  284. package/esm2022/types/hint-type.mjs +1 -1
  285. package/esm2022/types/index.mjs +9 -9
  286. package/esm2022/types/point.mjs +1 -1
  287. package/esm2022/types/portal-item.mjs +1 -1
  288. package/esm2022/types/position.mjs +1 -1
  289. package/esm2022/types/resizing.mjs +1 -1
  290. package/esm2022/types/shape.mjs +1 -1
  291. package/esm2022/types/size.mjs +1 -1
  292. package/esm2022/types/status.mjs +1 -1
  293. package/esm2022/utils/format/index.mjs +2 -2
  294. package/esm2022/utils/format/remove-spaces.mjs +3 -3
  295. package/esm2022/utils/format/replace.mjs +4 -4
  296. package/esm2022/utils/index.mjs +2 -2
  297. package/esm2022/utils/miscellaneous/index.mjs +3 -3
  298. package/esm2022/utils/miscellaneous/is-obscured.mjs +7 -7
  299. package/esm2022/utils/miscellaneous/override-options.mjs +10 -10
  300. package/esm2022/utils/miscellaneous/to-animation-options.mjs +13 -13
  301. package/fesm2022/cuby-ui-core.mjs +3230 -3183
  302. package/fesm2022/cuby-ui-core.mjs.map +1 -1
  303. package/index.d.ts +7 -6
  304. package/interceptors/index.d.ts +1 -0
  305. package/interceptors/x-ndjson.interceptor.d.ts +2 -0
  306. package/interfaces/context-menu-item.d.ts +7 -7
  307. package/interfaces/index.d.ts +2 -2
  308. package/interfaces/option.d.ts +5 -5
  309. package/package.json +6 -6
  310. package/services/index.d.ts +4 -4
  311. package/services/position.service.d.ts +10 -10
  312. package/services/theme.options.d.ts +5 -5
  313. package/services/theme.service.d.ts +12 -12
  314. package/services/visual-viewport.service.d.ts +9 -9
  315. package/styles/reset.scss +111 -0
  316. package/tokens/animations-speed.d.ts +4 -4
  317. package/tokens/index.d.ts +3 -3
  318. package/tokens/reduced-motion.d.ts +1 -1
  319. package/tokens/viewport.d.ts +7 -7
  320. package/types/appearance.d.ts +8 -8
  321. package/types/hint-type.d.ts +1 -1
  322. package/types/index.d.ts +9 -9
  323. package/types/point.d.ts +1 -1
  324. package/types/portal-item.d.ts +9 -9
  325. package/types/position.d.ts +2 -2
  326. package/types/resizing.d.ts +2 -2
  327. package/types/shape.d.ts +1 -1
  328. package/types/size.d.ts +4 -4
  329. package/types/status.d.ts +1 -1
  330. package/utils/format/index.d.ts +2 -2
  331. package/utils/format/remove-spaces.d.ts +1 -1
  332. package/utils/format/replace.d.ts +1 -1
  333. package/utils/index.d.ts +2 -2
  334. package/utils/miscellaneous/index.d.ts +3 -3
  335. package/utils/miscellaneous/is-obscured.d.ts +4 -4
  336. package/utils/miscellaneous/override-options.d.ts +1 -1
  337. package/utils/miscellaneous/to-animation-options.d.ts +4 -4
@@ -1,31 +1,31 @@
1
- import { Optional, SkipSelf } from '@angular/core';
2
- import { cuiProvide } from '@cuby-ui/cdk';
3
- export class CuiAccessor {
4
- }
5
- export class CuiPositionAccessor extends CuiAccessor {
6
- }
7
- export class CuiRectAccessor extends CuiAccessor {
8
- }
9
- export function cuiProvideAccessor(provide, type, fallback) {
10
- return {
11
- provide,
12
- deps: [[new SkipSelf(), new Optional(), provide], fallback],
13
- useFactory: cuiFallbackAccessor(type),
14
- };
15
- }
16
- export function cuiFallbackAccessor(type) {
17
- return (accessors, fallback) => accessors?.find?.((accessor) => accessor !== fallback && accessor.type === type) || fallback;
18
- }
19
- export function cuiPositionAccessorFor(type, fallback) {
20
- return cuiProvideAccessor(CuiPositionAccessor, type, fallback);
21
- }
22
- export function cuiRectAccessorFor(type, fallback) {
23
- return cuiProvideAccessor(CuiRectAccessor, type, fallback);
24
- }
25
- export function cuiAsPositionAccessor(accessor) {
26
- return cuiProvide(CuiPositionAccessor, accessor, true);
27
- }
28
- export function cuiAsRectAccessor(accessor) {
29
- return cuiProvide(CuiRectAccessor, accessor, true);
30
- }
1
+ import { Optional, SkipSelf } from '@angular/core';
2
+ import { cuiProvide } from '@cuby-ui/cdk';
3
+ export class CuiAccessor {
4
+ }
5
+ export class CuiPositionAccessor extends CuiAccessor {
6
+ }
7
+ export class CuiRectAccessor extends CuiAccessor {
8
+ }
9
+ export function cuiProvideAccessor(provide, type, fallback) {
10
+ return {
11
+ provide,
12
+ deps: [[new SkipSelf(), new Optional(), provide], fallback],
13
+ useFactory: cuiFallbackAccessor(type),
14
+ };
15
+ }
16
+ export function cuiFallbackAccessor(type) {
17
+ return (accessors, fallback) => accessors?.find?.((accessor) => accessor !== fallback && accessor.type === type) || fallback;
18
+ }
19
+ export function cuiPositionAccessorFor(type, fallback) {
20
+ return cuiProvideAccessor(CuiPositionAccessor, type, fallback);
21
+ }
22
+ export function cuiRectAccessorFor(type, fallback) {
23
+ return cuiProvideAccessor(CuiRectAccessor, type, fallback);
24
+ }
25
+ export function cuiAsPositionAccessor(accessor) {
26
+ return cuiProvide(CuiPositionAccessor, accessor, true);
27
+ }
28
+ export function cuiAsRectAccessor(accessor) {
29
+ return cuiProvide(CuiRectAccessor, accessor, true);
30
+ }
31
31
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjZXNzb3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jbGFzc2VzL2FjY2Vzc29ycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUMsUUFBUSxFQUFFLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNqRCxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sY0FBYyxDQUFDO0FBR3hDLE1BQU0sT0FBZ0IsV0FBVztDQUVoQztBQUVELE1BQU0sT0FBZ0IsbUJBQW9CLFNBQVEsV0FBVztDQUs1RDtBQUVELE1BQU0sT0FBZ0IsZUFBZ0IsU0FBUSxXQUFXO0NBRXhEO0FBRUQsTUFBTSxVQUFVLGtCQUFrQixDQUM5QixPQUF3QixFQUN4QixJQUFZLEVBQ1osUUFBaUI7SUFFakIsT0FBTztRQUNILE9BQU87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rpb24gY3VpUmVjdEFjY2Vzc29yRm9yKFxyXG4gICAgdHlwZTogc3RyaW5nLFxyXG4gICAgZmFsbGJhY2s6IFR5cGU8Q3VpUmVjdEFjY2Vzc29yPixcclxuKTogRmFjdG9yeVByb3ZpZGVyIHtcclxuICAgIHJldHVybiBjdWlQcm92aWRlQWNjZXNzb3IoQ3VpUmVjdEFjY2Vzc29yLCB0eXBlLCBmYWxsYmFjayk7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBjdWlBc1Bvc2l0aW9uQWNjZXNzb3IoXHJcbiAgICBhY2Nlc3NvcjogVHlwZTxDdWlQb3NpdGlvbkFjY2Vzc29yPixcclxuKTogRXhpc3RpbmdQcm92aWRlciB7XHJcbiAgICByZXR1cm4gY3VpUHJvdmlkZShDdWlQb3NpdGlvbkFjY2Vzc29yLCBhY2Nlc3NvciwgdHJ1ZSk7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBjdWlBc1JlY3RBY2Nlc3NvcihhY2Nlc3NvcjogVHlwZTxDdWlSZWN0QWNjZXNzb3I+KTogRXhpc3RpbmdQcm92aWRlciB7XHJcbiAgICByZXR1cm4gY3VpUHJvdmlkZShDdWlSZWN0QWNjZXNzb3IsIGFjY2Vzc29yLCB0cnVlKTtcclxufVxyXG4iXX0=
@@ -1,35 +1,35 @@
1
- import { DestroyRef, Directive, inject } from '@angular/core';
2
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
3
- import { cuiProvide } from '@cuby-ui/cdk';
4
- import { distinctUntilChanged, merge, Observable } from 'rxjs';
5
- import { CuiVehicle } from './vehicle';
6
- import * as i0 from "@angular/core";
7
- export class CuiDriver extends Observable {
8
- }
9
- export function cuiAsDriver(driver) {
10
- return cuiProvide(CuiDriver, driver, true);
11
- }
12
- export class CuiDriverDirective {
13
- constructor() {
14
- this.destroyRef = inject(DestroyRef);
15
- this.drivers = inject(CuiDriver, { self: true, optional: true }) || [];
16
- this.vehicles = inject(CuiVehicle, {
17
- self: true,
18
- optional: true,
19
- });
20
- }
21
- ngAfterViewInit() {
22
- const vehicle = this.vehicles?.find(({ type }) => type === this.type);
23
- merge(...this.drivers.filter(({ type }) => type === this.type))
24
- .pipe(distinctUntilChanged(), takeUntilDestroyed(this.destroyRef))
25
- .subscribe((value) => {
26
- vehicle?.toggle(value);
27
- });
28
- }
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDriverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
30
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CuiDriverDirective, ngImport: i0 }); }
31
- }
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDriverDirective, decorators: [{
33
- type: Directive
34
- }] });
1
+ import { DestroyRef, Directive, inject } from '@angular/core';
2
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
3
+ import { cuiProvide } from '@cuby-ui/cdk';
4
+ import { distinctUntilChanged, merge, Observable } from 'rxjs';
5
+ import { CuiVehicle } from './vehicle';
6
+ import * as i0 from "@angular/core";
7
+ export class CuiDriver extends Observable {
8
+ }
9
+ export function cuiAsDriver(driver) {
10
+ return cuiProvide(CuiDriver, driver, true);
11
+ }
12
+ export class CuiDriverDirective {
13
+ constructor() {
14
+ this.destroyRef = inject(DestroyRef);
15
+ this.drivers = inject(CuiDriver, { self: true, optional: true }) || [];
16
+ this.vehicles = inject(CuiVehicle, {
17
+ self: true,
18
+ optional: true,
19
+ });
20
+ }
21
+ ngAfterViewInit() {
22
+ const vehicle = this.vehicles?.find(({ type }) => type === this.type);
23
+ merge(...this.drivers.filter(({ type }) => type === this.type))
24
+ .pipe(distinctUntilChanged(), takeUntilDestroyed(this.destroyRef))
25
+ .subscribe((value) => {
26
+ vehicle?.toggle(value);
27
+ });
28
+ }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDriverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
30
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CuiDriverDirective, ngImport: i0 }); }
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDriverDirective, decorators: [{
33
+ type: Directive
34
+ }] });
35
35
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJpdmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jbGFzc2VzL2RyaXZlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUMsVUFBVSxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDNUQsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sNEJBQTRCLENBQUM7QUFDOUQsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGNBQWMsQ0FBQztBQUN4QyxPQUFPLEVBQUMsb0JBQW9CLEVBQUUsS0FBSyxFQUFFLFVBQVUsRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUU3RCxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sV0FBVyxDQUFDOztBQUVyQyxNQUFNLE9BQWdCLFNBQVUsU0FBUSxVQUFtQjtDQUUxRDtBQUVELE1BQU0sVUFBVSxXQUFXLENBQUMsTUFBdUI7SUFDL0MsT0FBTyxVQUFVLENBQUMsU0FBUyxFQUFFLE1BQU0sRUFBRSxJQUFJLENBQUMsQ0FBQztBQUMvQyxDQUFDO0FBR0QsTUFBTSxPQUFnQixrQkFBa0I7SUFEeEM7UUFJcUIsZUFBVSxHQUFHLE1BQU0sQ0FBQ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xhbnk+KEN1aURyaXZlciwge3NlbGY6IHRydWUsIG9wdGlvbmFsOiB0cnVlfSkgfHwgW107XHJcblxyXG4gICAgcHJpdmF0ZSByZWFkb25seSB2ZWhpY2xlczogcmVhZG9ubHkgQ3VpVmVoaWNsZVtdID0gaW5qZWN0PGFueT4oQ3VpVmVoaWNsZSwge1xyXG4gICAgICAgIHNlbGY6IHRydWUsXHJcbiAgICAgICAgb3B0aW9uYWw6IHRydWUsXHJcbiAgICB9KTtcclxuXHJcbiAgICBwdWJsaWMgbmdBZnRlclZpZXdJbml0KCk6IHZvaWQge1xyXG4gICAgICAgIGNvbnN0IHZlaGljbGUgPSB0aGlzLnZlaGljbGVzPy5maW5kKCh7dHlwZX0pID0+IHR5cGUgPT09IHRoaXMudHlwZSk7XHJcblxyXG4gICAgICAgIG1lcmdlKC4uLnRoaXMuZHJpdmVycy5maWx0ZXIoKHt0eXBlfSkgPT4gdHlwZSA9PT0gdGhpcy50eXBlKSlcclxuICAgICAgICAgICAgLnBpcGUoZGlzdGluY3RVbnRpbENoYW5nZWQoKSwgdGFrZVVudGlsRGVzdHJveWVkKHRoaXMuZGVzdHJveVJlZikpXHJcbiAgICAgICAgICAgIC5zdWJzY3JpYmUoKHZhbHVlKSA9PiB7XHJcbiAgICAgICAgICAgICAgICB2ZWhpY2xlPy50b2dnbGUodmFsdWUpO1xyXG4gICAgICAgICAgICB9KTtcclxuICAgIH1cclxufVxyXG4iXX0=
@@ -1,4 +1,4 @@
1
- export * from './accessors';
2
- export * from './driver';
3
- export * from './vehicle';
1
+ export * from './accessors';
2
+ export * from './driver';
3
+ export * from './vehicle';
4
4
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NsYXNzZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyxVQUFVLENBQUM7QUFDekIsY0FBYyxXQUFXLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FjY2Vzc29ycyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZHJpdmVyJztcclxuZXhwb3J0ICogZnJvbSAnLi92ZWhpY2xlJzsiXX0=
@@ -1,7 +1,7 @@
1
- import { cuiProvide } from '@cuby-ui/cdk';
2
- export class CuiVehicle {
3
- }
4
- export function cuiAsVehicle(vehicle) {
5
- return cuiProvide(CuiVehicle, vehicle, true);
6
- }
1
+ import { cuiProvide } from '@cuby-ui/cdk';
2
+ export class CuiVehicle {
3
+ }
4
+ export function cuiAsVehicle(vehicle) {
5
+ return cuiProvide(CuiVehicle, vehicle, true);
6
+ }
7
7
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVoaWNsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY2xhc3Nlcy92ZWhpY2xlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxjQUFjLENBQUM7QUFFeEMsTUFBTSxPQUFnQixVQUFVO0NBRy9CO0FBRUQsTUFBTSxVQUFVLFlBQVksQ0FBQyxPQUF5QjtJQUNsRCxPQUFPLFVBQVUsQ0FBQyxVQUFVLEVBQUUsT0FBTyxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ2pELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7RXhpc3RpbmdQcm92aWRlciwgVHlwZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7Y3VpUHJvdmlkZX0gZnJvbSAnQGN1YnktdWkvY2RrJztcclxuXHJcbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBDdWlWZWhpY2xlIHtcclxuICAgIHB1YmxpYyBhYnN0cmFjdCByZWFkb25seSB0eXBlOiBzdHJpbmc7XHJcbiAgICBwdWJsaWMgYWJzdHJhY3QgdG9nZ2xlKHZhbHVlOiBib29sZWFuKTogdm9pZDtcclxufVxyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIGN1aUFzVmVoaWNsZSh2ZWhpY2xlOiBUeXBlPEN1aVZlaGljbGU+KTogRXhpc3RpbmdQcm92aWRlciB7XHJcbiAgICByZXR1cm4gY3VpUHJvdmlkZShDdWlWZWhpY2xlLCB2ZWhpY2xlLCB0cnVlKTtcclxufVxyXG4iXX0=
@@ -1,28 +1,28 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "../../button/button.component";
5
- export class CuiAccordionItemComponent {
6
- constructor() {
7
- this.isOpen = true;
8
- this.isOpenChange = new EventEmitter();
9
- }
10
- get buttonIcon() {
11
- return this.isOpen ? 'cuiIconChevronDown' : 'cuiIconChevronRight';
12
- }
13
- onRowToggle() {
14
- this.isOpen = !this.isOpen;
15
- this.isOpenChange.emit(this.isOpen);
16
- }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiAccordionItemComponent, selector: "cui-accordion-item", inputs: { isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngImport: i0, template: "<header class=\"c-header\">\r\n <button\r\n cuiButton\r\n appearance=\"ghost\"\r\n size=\"xxs\"\r\n [icon]=\"buttonIcon\"\r\n (click)=\"onRowToggle()\"\r\n ></button>\r\n <div class=\"c-header__wrapper\">\r\n <ng-content></ng-content>\r\n </div>\r\n</header>\r\n<div *ngIf=\"isOpen\">\r\n <ng-content select=\"[cuiAccordionItemContent]\"></ng-content>\r\n</div>\r\n", styles: [":host{padding:16px;display:flex;flex-direction:column;gap:8px;background:var(--cui-base-10);border-radius:8px}.c-header{font-weight:400;font-size:12px;line-height:14px;display:flex;align-items:center;gap:8px;color:var(--cui-base-900);font-family:var(--cui-main-font);text-transform:uppercase}.c-header__wrapper{width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionItemComponent, decorators: [{
21
- type: Component,
22
- args: [{ selector: 'cui-accordion-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"c-header\">\r\n <button\r\n cuiButton\r\n appearance=\"ghost\"\r\n size=\"xxs\"\r\n [icon]=\"buttonIcon\"\r\n (click)=\"onRowToggle()\"\r\n ></button>\r\n <div class=\"c-header__wrapper\">\r\n <ng-content></ng-content>\r\n </div>\r\n</header>\r\n<div *ngIf=\"isOpen\">\r\n <ng-content select=\"[cuiAccordionItemContent]\"></ng-content>\r\n</div>\r\n", styles: [":host{padding:16px;display:flex;flex-direction:column;gap:8px;background:var(--cui-base-10);border-radius:8px}.c-header{font-weight:400;font-size:12px;line-height:14px;display:flex;align-items:center;gap:8px;color:var(--cui-base-900);font-family:var(--cui-main-font);text-transform:uppercase}.c-header__wrapper{width:100%}\n"] }]
23
- }], propDecorators: { isOpen: [{
24
- type: Input
25
- }], isOpenChange: [{
26
- type: Output
27
- }] } });
1
+ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "../../button/button.component";
5
+ export class CuiAccordionItemComponent {
6
+ constructor() {
7
+ this.isOpen = true;
8
+ this.isOpenChange = new EventEmitter();
9
+ }
10
+ get buttonIcon() {
11
+ return this.isOpen ? 'cuiIconChevronDown' : 'cuiIconChevronRight';
12
+ }
13
+ onRowToggle() {
14
+ this.isOpen = !this.isOpen;
15
+ this.isOpenChange.emit(this.isOpen);
16
+ }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiAccordionItemComponent, selector: "cui-accordion-item", inputs: { isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngImport: i0, template: "<header class=\"c-header\">\r\n <button\r\n cuiButton\r\n appearance=\"ghost\"\r\n size=\"xxs\"\r\n [icon]=\"buttonIcon\"\r\n (click)=\"onRowToggle()\"\r\n ></button>\r\n <div class=\"c-header__wrapper\">\r\n <ng-content></ng-content>\r\n </div>\r\n</header>\r\n<div *ngIf=\"isOpen\">\r\n <ng-content select=\"[cuiAccordionItemContent]\"></ng-content>\r\n</div>\r\n", styles: [":host{padding:16px;display:flex;flex-direction:column;gap:8px;background:var(--cui-base-10);border-radius:8px}.c-header{font-weight:400;font-size:12px;line-height:14px;display:flex;align-items:center;gap:8px;color:var(--cui-base-900);font-family:var(--cui-main-font);text-transform:uppercase}.c-header__wrapper{width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionItemComponent, decorators: [{
21
+ type: Component,
22
+ args: [{ selector: 'cui-accordion-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"c-header\">\r\n <button\r\n cuiButton\r\n appearance=\"ghost\"\r\n size=\"xxs\"\r\n [icon]=\"buttonIcon\"\r\n (click)=\"onRowToggle()\"\r\n ></button>\r\n <div class=\"c-header__wrapper\">\r\n <ng-content></ng-content>\r\n </div>\r\n</header>\r\n<div *ngIf=\"isOpen\">\r\n <ng-content select=\"[cuiAccordionItemContent]\"></ng-content>\r\n</div>\r\n", styles: [":host{padding:16px;display:flex;flex-direction:column;gap:8px;background:var(--cui-base-10);border-radius:8px}.c-header{font-weight:400;font-size:12px;line-height:14px;display:flex;align-items:center;gap:8px;color:var(--cui-base-900);font-family:var(--cui-main-font);text-transform:uppercase}.c-header__wrapper{width:100%}\n"] }]
23
+ }], propDecorators: { isOpen: [{
24
+ type: Input
25
+ }], isOpenChange: [{
26
+ type: Output
27
+ }] } });
28
28
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2FjY29yZGlvbi9hY2NvcmRpb24taXRlbS9hY2NvcmRpb24taXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvYWNjb3JkaW9uL2FjY29yZGlvbi1pdGVtL2FjY29yZGlvbi1pdGVtLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVC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LWNvbnRlbnQ+XHJcbiAgPC9kaXY+XHJcbjwvaGVhZGVyPlxyXG48ZGl2ICpuZ0lmPVwiaXNPcGVuXCI+XHJcbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2N1aUFjY29yZGlvbkl0ZW1Db250ZW50XVwiPjwvbmctY29udGVudD5cclxuPC9kaXY+XHJcbiJdfQ==
@@ -1,11 +1,11 @@
1
- import { ChangeDetectionStrategy, Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CuiAccordionComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiAccordionComponent, selector: "cui-accordion", ngImport: i0, template: "<ng-content select=\"cui-accordion-item\"></ng-content>\r\n", styles: [":host{display:flex;flex-direction:column;gap:16px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'cui-accordion', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"cui-accordion-item\"></ng-content>\r\n", styles: [":host{display:flex;flex-direction:column;gap:16px}\n"] }]
10
- }] });
1
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class CuiAccordionComponent {
4
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiAccordionComponent, selector: "cui-accordion", ngImport: i0, template: "<ng-content select=\"cui-accordion-item\"></ng-content>\r\n", styles: [":host{display:flex;flex-direction:column;gap:16px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6
+ }
7
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionComponent, decorators: [{
8
+ type: Component,
9
+ args: [{ selector: 'cui-accordion', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"cui-accordion-item\"></ng-content>\r\n", styles: [":host{display:flex;flex-direction:column;gap:16px}\n"] }]
10
+ }] });
11
11
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9hY2NvcmRpb24vYWNjb3JkaW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9hY2NvcmRpb24vYWNjb3JkaW9uLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFRbkUsTUFBTSxPQUFPLHFCQUFxQjsrR0FBckIscUJBQXFCO21HQUFyQixxQkFBcUIscURDUmxDLDZEQUNBOzs0RkRPYSxxQkFBcUI7a0JBTmpDLFNBQVM7K0JBQ0UsZUFBZSxtQkFHUix1QkFBdUIsQ0FBQyxNQUFNIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdjdWktYWNjb3JkaW9uJyxcclxuICB0ZW1wbGF0ZVVybDogJy4vYWNjb3JkaW9uLnRlbXBsYXRlLmh0bWwnLFxyXG4gIHN0eWxlVXJsczogWycuL2FjY29yZGlvbi5zdHlsZS5zY3NzJ10sXHJcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcclxufSlcclxuZXhwb3J0IGNsYXNzIEN1aUFjY29yZGlvbkNvbXBvbmVudCB7XHJcbn1cclxuIiwiPG5nLWNvbnRlbnQgc2VsZWN0PVwiY3VpLWFjY29yZGlvbi1pdGVtXCI+PC9uZy1jb250ZW50PlxyXG4iXX0=
@@ -1,37 +1,37 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { CuiAccordionComponent } from './accordion.component';
4
- import { CuiAccordionItemComponent } from './accordion-item/accordion-item.component';
5
- import { CuiSvgModule } from '../svg';
6
- import { CuiButtonModule } from '../button';
7
- import * as i0 from "@angular/core";
8
- export class CuiAccordionModule {
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionModule, declarations: [CuiAccordionComponent,
11
- CuiAccordionItemComponent], imports: [CommonModule,
12
- CuiSvgModule,
13
- CuiButtonModule], exports: [CuiAccordionComponent,
14
- CuiAccordionItemComponent] }); }
15
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionModule, imports: [CommonModule,
16
- CuiSvgModule,
17
- CuiButtonModule] }); }
18
- }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionModule, decorators: [{
20
- type: NgModule,
21
- args: [{
22
- imports: [
23
- CommonModule,
24
- CuiSvgModule,
25
- CuiButtonModule,
26
- ],
27
- declarations: [
28
- CuiAccordionComponent,
29
- CuiAccordionItemComponent
30
- ],
31
- exports: [
32
- CuiAccordionComponent,
33
- CuiAccordionItemComponent
34
- ]
35
- }]
36
- }] });
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { CuiAccordionComponent } from './accordion.component';
4
+ import { CuiAccordionItemComponent } from './accordion-item/accordion-item.component';
5
+ import { CuiSvgModule } from '../svg';
6
+ import { CuiButtonModule } from '../button';
7
+ import * as i0 from "@angular/core";
8
+ export class CuiAccordionModule {
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionModule, declarations: [CuiAccordionComponent,
11
+ CuiAccordionItemComponent], imports: [CommonModule,
12
+ CuiSvgModule,
13
+ CuiButtonModule], exports: [CuiAccordionComponent,
14
+ CuiAccordionItemComponent] }); }
15
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionModule, imports: [CommonModule,
16
+ CuiSvgModule,
17
+ CuiButtonModule] }); }
18
+ }
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAccordionModule, decorators: [{
20
+ type: NgModule,
21
+ args: [{
22
+ imports: [
23
+ CommonModule,
24
+ CuiSvgModule,
25
+ CuiButtonModule,
26
+ ],
27
+ declarations: [
28
+ CuiAccordionComponent,
29
+ CuiAccordionItemComponent
30
+ ],
31
+ exports: [
32
+ CuiAccordionComponent,
33
+ CuiAccordionItemComponent
34
+ ]
35
+ }]
36
+ }] });
37
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I7d0JBQ3JCLHlCQUF5QjtxQkFDMUI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5cclxuaW1wb3J0IHsgQ3VpQWNjb3JkaW9uQ29tcG9uZW50IH0gZnJvbSAnLi9hY2NvcmRpb24uY29tcG9uZW50JztcclxuaW1wb3J0IHsgQ3VpQWNjb3JkaW9uSXRlbUNvbXBvbmVudCB9IGZyb20gJy4vYWNjb3JkaW9uLWl0ZW0vYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50JztcclxuaW1wb3J0IHsgQ3VpU3ZnTW9kdWxlIH0gZnJvbSAnLi4vc3ZnJztcclxuaW1wb3J0IHsgQ3VpQnV0dG9uTW9kdWxlIH0gZnJvbSAnLi4vYnV0dG9uJztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgQ3VpU3ZnTW9kdWxlLFxyXG4gICAgQ3VpQnV0dG9uTW9kdWxlLFxyXG4gIF0sXHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBDdWlBY2NvcmRpb25Db21wb25lbnQsXHJcbiAgICBDdWlBY2NvcmRpb25JdGVtQ29tcG9uZW50XHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBDdWlBY2NvcmRpb25Db21wb25lbnQsXHJcbiAgICBDdWlBY2NvcmRpb25JdGVtQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ3VpQWNjb3JkaW9uTW9kdWxlIHtcclxufVxyXG4iXX0=
@@ -1,4 +1,4 @@
1
- export * from './accordion.component';
2
- export * from './accordion.module';
3
- export * from './accordion-item/accordion-item.component';
1
+ export * from './accordion.component';
2
+ export * from './accordion.module';
3
+ export * from './accordion-item/accordion-item.component';
4
4
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvYWNjb3JkaW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLDJDQUEyQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hY2NvcmRpb24uY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9hY2NvcmRpb24ubW9kdWxlJztcclxuZXhwb3J0ICogZnJvbSAnLi9hY2NvcmRpb24taXRlbS9hY2NvcmRpb24taXRlbS5jb21wb25lbnQnO1xyXG5cclxuIl19
@@ -1,36 +1,36 @@
1
- import { ChangeDetectionStrategy, Component, inject, HostBinding } from '@angular/core';
2
- import { CUI_ALERT_CONTEXT } from './alert.tokens';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "../notification/notification.component";
6
- export class CuiAlertComponent {
7
- constructor() {
8
- this.context = inject(CUI_ALERT_CONTEXT);
9
- this.AUTO_CLOSE_DURATION_IN_MILLISECONDS = 3000;
10
- }
11
- get resizing() {
12
- return this.context.resizing;
13
- }
14
- ngOnInit() {
15
- this.initAutoClose();
16
- }
17
- onClosed() {
18
- this.context.$implicit.complete();
19
- }
20
- initAutoClose() {
21
- if (!this.context.needAutoClose) {
22
- return;
23
- }
24
- setTimeout(this.onClosed.bind(this), this.AUTO_CLOSE_DURATION_IN_MILLISECONDS);
25
- }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
27
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiAlertComponent, selector: "cui-alert", host: { properties: { "attr.data-resizing": "this.resizing" } }, ngImport: i0, template: "<cui-notification\r\n [status]=\"context.status\"\r\n [mode]=\"context.mode\"\r\n [isCloseable]=\"context.isCloseable\"\r\n (closed)=\"onClosed()\"\r\n>\r\n <h2\r\n *ngIf=\"context.label\"\r\n class=\"c-heading\"\r\n >\r\n {{ context.label }}\r\n </h2>\r\n {{ context.content }}\r\n</cui-notification>\r\n", styles: [":host{font-weight:400;font-size:14px;line-height:20px;max-width:470px}:host[data-resizing=hug]{width:-moz-fit-content;width:fit-content}:host[data-resizing=fixed]{width:470px}.c-heading{font-weight:500;font-size:14px;line-height:20px;margin:0 0 8px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CuiNotificationComponent, selector: "cui-notification", inputs: ["status", "mode", "isCloseable"], outputs: ["closed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
28
- }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertComponent, decorators: [{
30
- type: Component,
31
- args: [{ selector: 'cui-alert', changeDetection: ChangeDetectionStrategy.OnPush, template: "<cui-notification\r\n [status]=\"context.status\"\r\n [mode]=\"context.mode\"\r\n [isCloseable]=\"context.isCloseable\"\r\n (closed)=\"onClosed()\"\r\n>\r\n <h2\r\n *ngIf=\"context.label\"\r\n class=\"c-heading\"\r\n >\r\n {{ context.label }}\r\n </h2>\r\n {{ context.content }}\r\n</cui-notification>\r\n", styles: [":host{font-weight:400;font-size:14px;line-height:20px;max-width:470px}:host[data-resizing=hug]{width:-moz-fit-content;width:fit-content}:host[data-resizing=fixed]{width:470px}.c-heading{font-weight:500;font-size:14px;line-height:20px;margin:0 0 8px}\n"] }]
32
- }], propDecorators: { resizing: [{
33
- type: HostBinding,
34
- args: ['attr.data-resizing']
35
- }] } });
1
+ import { ChangeDetectionStrategy, Component, inject, HostBinding } from '@angular/core';
2
+ import { CUI_ALERT_CONTEXT } from './alert.tokens';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "../notification/notification.component";
6
+ export class CuiAlertComponent {
7
+ constructor() {
8
+ this.context = inject(CUI_ALERT_CONTEXT);
9
+ this.AUTO_CLOSE_DURATION_IN_MILLISECONDS = 3000;
10
+ }
11
+ get resizing() {
12
+ return this.context.resizing;
13
+ }
14
+ ngOnInit() {
15
+ this.initAutoClose();
16
+ }
17
+ onClosed() {
18
+ this.context.$implicit.complete();
19
+ }
20
+ initAutoClose() {
21
+ if (!this.context.needAutoClose) {
22
+ return;
23
+ }
24
+ setTimeout(this.onClosed.bind(this), this.AUTO_CLOSE_DURATION_IN_MILLISECONDS);
25
+ }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
27
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiAlertComponent, selector: "cui-alert", host: { properties: { "attr.data-resizing": "this.resizing" } }, ngImport: i0, template: "<cui-notification\r\n [status]=\"context.status\"\r\n [mode]=\"context.mode\"\r\n [isCloseable]=\"context.isCloseable\"\r\n (closed)=\"onClosed()\"\r\n>\r\n <h2\r\n *ngIf=\"context.label\"\r\n class=\"c-heading\"\r\n >\r\n {{ context.label }}\r\n </h2>\r\n {{ context.content }}\r\n</cui-notification>\r\n", styles: [":host{font-weight:400;font-size:14px;line-height:20px;max-width:470px}:host[data-resizing=hug]{width:-moz-fit-content;width:fit-content}:host[data-resizing=fixed]{width:470px}.c-heading{font-weight:500;font-size:14px;line-height:20px;margin:0 0 8px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CuiNotificationComponent, selector: "cui-notification", inputs: ["status", "mode", "isCloseable"], outputs: ["closed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
28
+ }
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertComponent, decorators: [{
30
+ type: Component,
31
+ args: [{ selector: 'cui-alert', changeDetection: ChangeDetectionStrategy.OnPush, template: "<cui-notification\r\n [status]=\"context.status\"\r\n [mode]=\"context.mode\"\r\n [isCloseable]=\"context.isCloseable\"\r\n (closed)=\"onClosed()\"\r\n>\r\n <h2\r\n *ngIf=\"context.label\"\r\n class=\"c-heading\"\r\n >\r\n {{ context.label }}\r\n </h2>\r\n {{ context.content }}\r\n</cui-notification>\r\n", styles: [":host{font-weight:400;font-size:14px;line-height:20px;max-width:470px}:host[data-resizing=hug]{width:-moz-fit-content;width:fit-content}:host[data-resizing=fixed]{width:470px}.c-heading{font-weight:500;font-size:14px;line-height:20px;margin:0 0 8px}\n"] }]
32
+ }], propDecorators: { resizing: [{
33
+ type: HostBinding,
34
+ args: ['attr.data-resizing']
35
+ }] } });
36
36
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2FsZXJ0L2FsZXJ0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9hbGVydC9hbGVydC50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSx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tcclxuICAgIHRoaXMuY29udGV4dC4kaW1wbGljaXQuY29tcGxldGUoKTtcclxuICB9XHJcblxyXG4gIHByaXZhdGUgaW5pdEF1dG9DbG9zZSgpOiB2b2lkIHtcclxuICAgIGlmICghdGhpcy5jb250ZXh0Lm5lZWRBdXRvQ2xvc2UpIHtcclxuICAgICAgcmV0dXJuO1xyXG4gICAgfVxyXG5cclxuICAgIHNldFRpbWVvdXQodGhpcy5vbkNsb3NlZC5iaW5kKHRoaXMpLCB0aGlzLkFVVE9fQ0xPU0VfRFVSQVRJT05fSU5fTUlMTElTRUNPTkRTKTtcclxuICB9XHJcbn1cclxuIiwiPGN1aS1ub3RpZmljYXRpb25cclxuICBbc3RhdHVzXT1cImNvbnRleHQuc3RhdHVzXCJcclxuICBbbW9kZV09XCJjb250ZXh0Lm1vZGVcIlxyXG4gIFtpc0Nsb3NlYWJsZV09XCJjb250ZXh0LmlzQ2xvc2VhYmxlXCJcclxuICAoY2xvc2VkKT1cIm9uQ2xvc2VkKClcIlxyXG4+XHJcbiAgPGgyXHJcbiAgICAqbmdJZj1cImNvbnRleHQubGFiZWxcIlxyXG4gICAgY2xhc3M9XCJjLWhlYWRpbmdcIlxyXG4gID5cclxuICAgIHt7IGNvbnRleHQubGFiZWwgfX1cclxuICA8L2gyPlxyXG4gIHt7IGNvbnRleHQuY29udGVudCB9fVxyXG48L2N1aS1ub3RpZmljYXRpb24+XHJcbiJdfQ==
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuaW50ZXJmYWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9hbGVydC9hbGVydC5pbnRlcmZhY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IEN1aUFsZXJ0UG9zaXRpb24sIEN1aUFsZXJ0UmVzaXppbmcgfSBmcm9tICcuL2FsZXJ0LnR5cGVzJztcclxuaW1wb3J0IHR5cGUgeyBDdWlOb3RpZmljYXRpb25PcHRpb25zIH0gZnJvbSAnLi4vbm90aWZpY2F0aW9uJztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgQ3VpQWxlcnRPcHRpb25zIGV4dGVuZHMgQ3VpTm90aWZpY2F0aW9uT3B0aW9ucyB7XHJcbiAgcmVhZG9ubHkgbGFiZWw6IHN0cmluZztcclxuICByZWFkb25seSBuZWVkQXV0b0Nsb3NlOiBib29sZWFuO1xyXG4gIHJlYWRvbmx5IGlzQ2xvc2VhYmxlOiBib29sZWFuO1xyXG4gIHJlYWRvbmx5IHBvc2l0aW9uOiBDdWlBbGVydFBvc2l0aW9uO1xyXG4gIHJlYWRvbmx5IHJlc2l6aW5nOiBDdWlBbGVydFJlc2l6aW5nO1xyXG59XHJcbiJdfQ==
@@ -1,40 +1,40 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { CuiFilterPipe, CuiLetDirective } from '@cuby-ui/cdk';
4
- import { CuiAlertComponent } from './alert.component';
5
- import { CuiAlertsComponent } from './alerts.component';
6
- import { CuiNotificationModule } from '../notification';
7
- import * as i0 from "@angular/core";
8
- export class CuiAlertModule {
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertModule, declarations: [CuiAlertComponent,
11
- CuiAlertsComponent], imports: [CommonModule,
12
- CuiFilterPipe,
13
- CuiNotificationModule,
14
- CuiLetDirective], exports: [CuiAlertComponent,
15
- CuiAlertComponent,
16
- CuiAlertsComponent] }); }
17
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertModule, imports: [CommonModule,
18
- CuiNotificationModule] }); }
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertModule, decorators: [{
21
- type: NgModule,
22
- args: [{
23
- imports: [
24
- CommonModule,
25
- CuiFilterPipe,
26
- CuiNotificationModule,
27
- CuiLetDirective
28
- ],
29
- declarations: [
30
- CuiAlertComponent,
31
- CuiAlertsComponent
32
- ],
33
- exports: [
34
- CuiAlertComponent,
35
- CuiAlertComponent,
36
- CuiAlertsComponent
37
- ]
38
- }]
39
- }] });
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { CuiFilterPipe, CuiLetDirective } from '@cuby-ui/cdk';
4
+ import { CuiAlertComponent } from './alert.component';
5
+ import { CuiAlertsComponent } from './alerts.component';
6
+ import { CuiNotificationModule } from '../notification';
7
+ import * as i0 from "@angular/core";
8
+ export class CuiAlertModule {
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertModule, declarations: [CuiAlertComponent,
11
+ CuiAlertsComponent], imports: [CommonModule,
12
+ CuiFilterPipe,
13
+ CuiNotificationModule,
14
+ CuiLetDirective], exports: [CuiAlertComponent,
15
+ CuiAlertComponent,
16
+ CuiAlertsComponent] }); }
17
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertModule, imports: [CommonModule,
18
+ CuiNotificationModule] }); }
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertModule, decorators: [{
21
+ type: NgModule,
22
+ args: [{
23
+ imports: [
24
+ CommonModule,
25
+ CuiFilterPipe,
26
+ CuiNotificationModule,
27
+ CuiLetDirective
28
+ ],
29
+ declarations: [
30
+ CuiAlertComponent,
31
+ CuiAlertsComponent
32
+ ],
33
+ exports: [
34
+ CuiAlertComponent,
35
+ CuiAlertComponent,
36
+ CuiAlertsComponent
37
+ ]
38
+ }]
39
+ }] });
40
40
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2FsZXJ0L2FsZXJ0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsYUFBYSxFQUFFLGVBQWUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUU5RCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUN0RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUN4RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7QUFtQnhELE1BQU0sT0FBTyxjQUFjOytHQUFkLGNBQWM7Z0hBQWQsY0FBYyxpQkFUdkIsaUJBQWlCO1lBQ2pCLGtCQUFrQixhQVBsQixZQUFZO1lBQ1osYUFBYTtZQUNiLHFCQUFxQjtZQUNyQixlQUFlLGFBT2YsaUJBQWlCO1lBQ2pCLGlCQUFpQjtZQUNqQix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nRDb21wb25lbnQsXHJcbiAgICBDdWlBbGVydHNDb21wb25lbnRcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIEN1aUFsZXJ0Q29tcG9uZW50LFxyXG4gICAgQ3VpQWxlcnRDb21wb25lbnQsXHJcbiAgICBDdWlBbGVydHNDb21wb25lbnRcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDdWlBbGVydE1vZHVsZSB7XHJcbn1cclxuIl19
@@ -1,17 +1,17 @@
1
- import { inject, Injectable } from '@angular/core';
2
- import { CuiPopoverService } from '@cuby-ui/cdk';
3
- import { CUI_ALERT_OPTIONS, CUI_ALERTS } from './alert.tokens';
4
- import { CuiAlertComponent } from './alert.component';
5
- import * as i0 from "@angular/core";
6
- export class CuiAlertService extends CuiPopoverService {
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
8
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertService, providedIn: 'root', useFactory: () => new CuiAlertService(CUI_ALERTS, CuiAlertComponent, inject(CUI_ALERT_OPTIONS)) }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertService, decorators: [{
11
- type: Injectable,
12
- args: [{
13
- providedIn: 'root',
14
- useFactory: () => new CuiAlertService(CUI_ALERTS, CuiAlertComponent, inject(CUI_ALERT_OPTIONS))
15
- }]
16
- }] });
1
+ import { inject, Injectable } from '@angular/core';
2
+ import { CuiPopoverService } from '@cuby-ui/cdk';
3
+ import { CUI_ALERT_OPTIONS, CUI_ALERTS } from './alert.tokens';
4
+ import { CuiAlertComponent } from './alert.component';
5
+ import * as i0 from "@angular/core";
6
+ export class CuiAlertService extends CuiPopoverService {
7
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
8
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertService, providedIn: 'root', useFactory: () => new CuiAlertService(CUI_ALERTS, CuiAlertComponent, inject(CUI_ALERT_OPTIONS)) }); }
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiAlertService, decorators: [{
11
+ type: Injectable,
12
+ args: [{
13
+ providedIn: 'root',
14
+ useFactory: () => new CuiAlertService(CUI_ALERTS, CuiAlertComponent, inject(CUI_ALERT_OPTIONS))
15
+ }]
16
+ }] });
17
17
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9hbGVydC9hbGVydC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUVqRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDL0QsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7O0FBT3RELE1BQU0sT0FBTyxlQUFnQixTQUFRLGlCQUFrQzsrR0FBMUQsZUFBZTttSEFBZixlQUFlLGNBSGQsTUFBTSxjQUNOLEdBQUcsRUFBRSxDQUFDLElBQUksZUFBZSxDQUFDLFVBQVUsR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