ngwr 15.4.0 → 15.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (678) hide show
  1. package/README.md +3 -4
  2. package/affix/styles/_index.scss +2 -0
  3. package/alert/styles/_index.scss +18 -0
  4. package/anchor/styles/_index.scss +1 -0
  5. package/avatar/styles/_index.scss +44 -4
  6. package/back-top/styles/_index.scss +1 -0
  7. package/badge/styles/_index.scss +1 -0
  8. package/breadcrumbs/styles/_index.scss +1 -0
  9. package/burger/styles/_index.scss +1 -0
  10. package/button/styles/_index.scss +1 -0
  11. package/calendar/styles/_index.scss +1 -0
  12. package/card/styles/_index.scss +1 -0
  13. package/carousel/styles/_index.scss +1 -0
  14. package/cascader/styles/_index.scss +1 -0
  15. package/charts/bar-chart/styles/_index.scss +1 -0
  16. package/charts/boxplot-chart/styles/_index.scss +1 -0
  17. package/charts/bullet-chart/styles/_index.scss +1 -0
  18. package/charts/calendar-heatmap/styles/_index.scss +1 -0
  19. package/charts/candlestick-chart/styles/_index.scss +1 -0
  20. package/charts/chart-legend/styles/_index.scss +1 -0
  21. package/charts/donut-chart/styles/_index.scss +1 -0
  22. package/charts/funnel-chart/styles/_index.scss +1 -0
  23. package/charts/gauge/styles/_index.scss +1 -0
  24. package/charts/heatmap-chart/styles/_index.scss +1 -0
  25. package/charts/line-chart/styles/_index.scss +1 -0
  26. package/charts/meter-group/styles/_index.scss +1 -0
  27. package/charts/radar-chart/styles/_index.scss +1 -0
  28. package/charts/scatter-chart/styles/_index.scss +1 -0
  29. package/charts/sparkline/styles/_index.scss +2 -0
  30. package/charts/treemap-chart/styles/_index.scss +1 -0
  31. package/charts/waterfall-chart/styles/_index.scss +1 -0
  32. package/checkbox/styles/_index.scss +1 -0
  33. package/collapse/styles/_index.scss +1 -0
  34. package/color-picker/styles/_index.scss +1 -0
  35. package/command-palette/styles/_index.scss +1 -0
  36. package/comment/styles/_index.scss +271 -0
  37. package/compare/styles/_index.scss +1 -0
  38. package/context-menu/styles/_index.scss +1 -0
  39. package/counter/styles/_index.scss +1 -0
  40. package/date-picker/styles/_index.scss +1 -0
  41. package/density/styles/_index.scss +2 -0
  42. package/descriptions/styles/_index.scss +1 -0
  43. package/dialog/styles/_index.scss +7 -0
  44. package/divider/styles/_index.scss +1 -0
  45. package/drawer/styles/_index.scss +1 -0
  46. package/dropdown/styles/_index.scss +1 -0
  47. package/editor/styles/_index.scss +1 -0
  48. package/empty/styles/_index.scss +1 -0
  49. package/event-calendar/styles/_index.scss +1 -0
  50. package/fesm2022/ngwr-affix.mjs +2 -0
  51. package/fesm2022/ngwr-affix.mjs.map +1 -1
  52. package/fesm2022/ngwr-alert.mjs +7 -3
  53. package/fesm2022/ngwr-alert.mjs.map +1 -1
  54. package/fesm2022/ngwr-anchor.mjs +2 -0
  55. package/fesm2022/ngwr-anchor.mjs.map +1 -1
  56. package/fesm2022/ngwr-avatar.mjs +71 -6
  57. package/fesm2022/ngwr-avatar.mjs.map +1 -1
  58. package/fesm2022/ngwr-back-top.mjs +2 -0
  59. package/fesm2022/ngwr-back-top.mjs.map +1 -1
  60. package/fesm2022/ngwr-badge.mjs +9 -0
  61. package/fesm2022/ngwr-badge.mjs.map +1 -1
  62. package/fesm2022/ngwr-breadcrumbs.mjs +7 -2
  63. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  64. package/fesm2022/ngwr-burger.mjs +5 -0
  65. package/fesm2022/ngwr-burger.mjs.map +1 -1
  66. package/fesm2022/ngwr-button.mjs +6 -0
  67. package/fesm2022/ngwr-button.mjs.map +1 -1
  68. package/fesm2022/ngwr-calendar.mjs +2 -0
  69. package/fesm2022/ngwr-calendar.mjs.map +1 -1
  70. package/fesm2022/ngwr-card.mjs +11 -2
  71. package/fesm2022/ngwr-card.mjs.map +1 -1
  72. package/fesm2022/ngwr-carousel.mjs +6 -0
  73. package/fesm2022/ngwr-carousel.mjs.map +1 -1
  74. package/fesm2022/ngwr-cascader.mjs +3 -3
  75. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  76. package/fesm2022/ngwr-charts-bar-chart.mjs +2 -1
  77. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  78. package/fesm2022/ngwr-charts-boxplot-chart.mjs +2 -0
  79. package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -1
  80. package/fesm2022/ngwr-charts-bullet-chart.mjs +2 -1
  81. package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -1
  82. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +2 -0
  83. package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
  84. package/fesm2022/ngwr-charts-candlestick-chart.mjs +2 -1
  85. package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -1
  86. package/fesm2022/ngwr-charts-chart-legend.mjs +9 -0
  87. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  88. package/fesm2022/ngwr-charts-donut-chart.mjs +5 -0
  89. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  90. package/fesm2022/ngwr-charts-funnel-chart.mjs +5 -1
  91. package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -1
  92. package/fesm2022/ngwr-charts-gauge.mjs +5 -1
  93. package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
  94. package/fesm2022/ngwr-charts-heatmap-chart.mjs +2 -1
  95. package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -1
  96. package/fesm2022/ngwr-charts-line-chart.mjs +2 -1
  97. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  98. package/fesm2022/ngwr-charts-meter-group.mjs +5 -0
  99. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  100. package/fesm2022/ngwr-charts-radar-chart.mjs +2 -1
  101. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  102. package/fesm2022/ngwr-charts-scatter-chart.mjs +5 -1
  103. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  104. package/fesm2022/ngwr-charts-sparkline.mjs +5 -0
  105. package/fesm2022/ngwr-charts-sparkline.mjs.map +1 -1
  106. package/fesm2022/ngwr-charts-treemap-chart.mjs +2 -0
  107. package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -1
  108. package/fesm2022/ngwr-charts-waterfall-chart.mjs +2 -0
  109. package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -1
  110. package/fesm2022/ngwr-checkbox.mjs +9 -1
  111. package/fesm2022/ngwr-checkbox.mjs.map +1 -1
  112. package/fesm2022/ngwr-collapse.mjs +11 -2
  113. package/fesm2022/ngwr-collapse.mjs.map +1 -1
  114. package/fesm2022/ngwr-color-picker.mjs +3 -1
  115. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  116. package/fesm2022/ngwr-command-palette.mjs +2 -1
  117. package/fesm2022/ngwr-command-palette.mjs.map +1 -1
  118. package/fesm2022/ngwr-comment-testing.mjs +60 -0
  119. package/fesm2022/ngwr-comment-testing.mjs.map +1 -0
  120. package/fesm2022/ngwr-comment.mjs +524 -0
  121. package/fesm2022/ngwr-comment.mjs.map +1 -0
  122. package/fesm2022/ngwr-compare.mjs +2 -1
  123. package/fesm2022/ngwr-compare.mjs.map +1 -1
  124. package/fesm2022/ngwr-context-menu.mjs +12 -2
  125. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  126. package/fesm2022/ngwr-counter.mjs +17 -23
  127. package/fesm2022/ngwr-counter.mjs.map +1 -1
  128. package/fesm2022/ngwr-date-picker.mjs +17 -2
  129. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  130. package/fesm2022/ngwr-density.mjs +2 -1
  131. package/fesm2022/ngwr-density.mjs.map +1 -1
  132. package/fesm2022/ngwr-descriptions.mjs +9 -0
  133. package/fesm2022/ngwr-descriptions.mjs.map +1 -1
  134. package/fesm2022/ngwr-dialog-testing.mjs +14 -0
  135. package/fesm2022/ngwr-dialog-testing.mjs.map +1 -1
  136. package/fesm2022/ngwr-dialog.mjs +315 -136
  137. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  138. package/fesm2022/ngwr-directives.mjs +7 -4
  139. package/fesm2022/ngwr-directives.mjs.map +1 -1
  140. package/fesm2022/ngwr-divider.mjs +2 -0
  141. package/fesm2022/ngwr-divider.mjs.map +1 -1
  142. package/fesm2022/ngwr-drawer.mjs +22 -3
  143. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  144. package/fesm2022/ngwr-dropdown.mjs +11 -2
  145. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  146. package/fesm2022/ngwr-editor.mjs +3 -2
  147. package/fesm2022/ngwr-editor.mjs.map +1 -1
  148. package/fesm2022/ngwr-empty.mjs +5 -0
  149. package/fesm2022/ngwr-empty.mjs.map +1 -1
  150. package/fesm2022/ngwr-event-calendar.mjs +5 -1
  151. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  152. package/fesm2022/ngwr-file-upload.mjs +2 -1
  153. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  154. package/fesm2022/ngwr-form.mjs +10 -0
  155. package/fesm2022/ngwr-form.mjs.map +1 -1
  156. package/fesm2022/ngwr-graph.mjs +2 -1
  157. package/fesm2022/ngwr-graph.mjs.map +1 -1
  158. package/fesm2022/ngwr-hotkey.mjs +86 -6
  159. package/fesm2022/ngwr-hotkey.mjs.map +1 -1
  160. package/fesm2022/ngwr-i18n-ar.mjs +22 -3
  161. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  162. package/fesm2022/ngwr-i18n-cs.mjs +22 -3
  163. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  164. package/fesm2022/ngwr-i18n-de.mjs +22 -3
  165. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  166. package/fesm2022/ngwr-i18n-en.mjs +22 -3
  167. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  168. package/fesm2022/ngwr-i18n-es.mjs +22 -3
  169. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  170. package/fesm2022/ngwr-i18n-fr.mjs +22 -3
  171. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  172. package/fesm2022/ngwr-i18n-he.mjs +22 -3
  173. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  174. package/fesm2022/ngwr-i18n-hi.mjs +22 -3
  175. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  176. package/fesm2022/ngwr-i18n-id.mjs +22 -3
  177. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  178. package/fesm2022/ngwr-i18n-it.mjs +22 -3
  179. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  180. package/fesm2022/ngwr-i18n-ja.mjs +22 -3
  181. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  182. package/fesm2022/ngwr-i18n-ko.mjs +22 -3
  183. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  184. package/fesm2022/ngwr-i18n-nl.mjs +22 -3
  185. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  186. package/fesm2022/ngwr-i18n-pl.mjs +22 -3
  187. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  188. package/fesm2022/ngwr-i18n-pt.mjs +22 -3
  189. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  190. package/fesm2022/ngwr-i18n-ru.mjs +22 -3
  191. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  192. package/fesm2022/ngwr-i18n-sv.mjs +22 -3
  193. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  194. package/fesm2022/ngwr-i18n-tr.mjs +22 -3
  195. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  196. package/fesm2022/ngwr-i18n-uk.mjs +22 -3
  197. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  198. package/fesm2022/ngwr-i18n-vi.mjs +22 -3
  199. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  200. package/fesm2022/ngwr-i18n-zh-tw.mjs +22 -3
  201. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  202. package/fesm2022/ngwr-i18n-zh.mjs +22 -3
  203. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  204. package/fesm2022/ngwr-icon.mjs +2 -0
  205. package/fesm2022/ngwr-icon.mjs.map +1 -1
  206. package/fesm2022/ngwr-image-cropper.mjs +2 -1
  207. package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
  208. package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
  209. package/fesm2022/ngwr-input-number.mjs +110 -12
  210. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  211. package/fesm2022/ngwr-input-otp.mjs +2 -1
  212. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  213. package/fesm2022/ngwr-input.mjs +20 -2
  214. package/fesm2022/ngwr-input.mjs.map +1 -1
  215. package/fesm2022/ngwr-keyboard.mjs +79 -18
  216. package/fesm2022/ngwr-keyboard.mjs.map +1 -1
  217. package/fesm2022/ngwr-knob.mjs +5 -1
  218. package/fesm2022/ngwr-knob.mjs.map +1 -1
  219. package/fesm2022/ngwr-layout.mjs +21 -3
  220. package/fesm2022/ngwr-layout.mjs.map +1 -1
  221. package/fesm2022/ngwr-lightbox.mjs +3 -3
  222. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  223. package/fesm2022/ngwr-list.mjs +7 -2
  224. package/fesm2022/ngwr-list.mjs.map +1 -1
  225. package/fesm2022/ngwr-load-state-testing.mjs +43 -0
  226. package/fesm2022/ngwr-load-state-testing.mjs.map +1 -0
  227. package/fesm2022/ngwr-load-state.mjs +495 -0
  228. package/fesm2022/ngwr-load-state.mjs.map +1 -0
  229. package/fesm2022/ngwr-mention.mjs +48 -20
  230. package/fesm2022/ngwr-mention.mjs.map +1 -1
  231. package/fesm2022/ngwr-page-header.mjs +49 -2
  232. package/fesm2022/ngwr-page-header.mjs.map +1 -1
  233. package/fesm2022/ngwr-pagination.mjs +3 -1
  234. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  235. package/fesm2022/ngwr-pipes.mjs +40 -1
  236. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  237. package/fesm2022/ngwr-platform.mjs +134 -2
  238. package/fesm2022/ngwr-platform.mjs.map +1 -1
  239. package/fesm2022/ngwr-popconfirm.mjs +6 -1
  240. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  241. package/fesm2022/ngwr-popover.mjs +10 -1
  242. package/fesm2022/ngwr-popover.mjs.map +1 -1
  243. package/fesm2022/ngwr-progress.mjs +5 -0
  244. package/fesm2022/ngwr-progress.mjs.map +1 -1
  245. package/fesm2022/ngwr-pull-to-refresh.mjs +2 -1
  246. package/fesm2022/ngwr-pull-to-refresh.mjs.map +1 -1
  247. package/fesm2022/ngwr-qr.mjs +2 -1
  248. package/fesm2022/ngwr-qr.mjs.map +1 -1
  249. package/fesm2022/ngwr-radio.mjs +6 -1
  250. package/fesm2022/ngwr-radio.mjs.map +1 -1
  251. package/fesm2022/ngwr-rating.mjs +5 -1
  252. package/fesm2022/ngwr-rating.mjs.map +1 -1
  253. package/fesm2022/ngwr-result.mjs +17 -0
  254. package/fesm2022/ngwr-result.mjs.map +1 -1
  255. package/fesm2022/ngwr-schema-form.mjs +9 -2
  256. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  257. package/fesm2022/ngwr-segmented.mjs +2 -0
  258. package/fesm2022/ngwr-segmented.mjs.map +1 -1
  259. package/fesm2022/ngwr-select.mjs +65 -17
  260. package/fesm2022/ngwr-select.mjs.map +1 -1
  261. package/fesm2022/ngwr-sidebar.mjs +2 -0
  262. package/fesm2022/ngwr-sidebar.mjs.map +1 -1
  263. package/fesm2022/ngwr-skeleton.mjs +30 -5
  264. package/fesm2022/ngwr-skeleton.mjs.map +1 -1
  265. package/fesm2022/ngwr-slider.mjs +26 -4
  266. package/fesm2022/ngwr-slider.mjs.map +1 -1
  267. package/fesm2022/ngwr-sortable-list.mjs +9 -3
  268. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  269. package/fesm2022/ngwr-speed-dial.mjs +2 -0
  270. package/fesm2022/ngwr-speed-dial.mjs.map +1 -1
  271. package/fesm2022/ngwr-spinner.mjs +5 -0
  272. package/fesm2022/ngwr-spinner.mjs.map +1 -1
  273. package/fesm2022/ngwr-splitter.mjs +2 -1
  274. package/fesm2022/ngwr-splitter.mjs.map +1 -1
  275. package/fesm2022/ngwr-statistic.mjs +7 -1
  276. package/fesm2022/ngwr-statistic.mjs.map +1 -1
  277. package/fesm2022/ngwr-stepper.mjs +6 -0
  278. package/fesm2022/ngwr-stepper.mjs.map +1 -1
  279. package/fesm2022/ngwr-storage.mjs +54 -33
  280. package/fesm2022/ngwr-storage.mjs.map +1 -1
  281. package/fesm2022/ngwr-switch.mjs +5 -1
  282. package/fesm2022/ngwr-switch.mjs.map +1 -1
  283. package/fesm2022/ngwr-table.mjs +153 -39
  284. package/fesm2022/ngwr-table.mjs.map +1 -1
  285. package/fesm2022/ngwr-tabs.mjs +3 -1
  286. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  287. package/fesm2022/ngwr-textarea.mjs +2 -0
  288. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  289. package/fesm2022/ngwr-timeline.mjs +9 -0
  290. package/fesm2022/ngwr-timeline.mjs.map +1 -1
  291. package/fesm2022/ngwr-toast.mjs +6 -1
  292. package/fesm2022/ngwr-toast.mjs.map +1 -1
  293. package/fesm2022/ngwr-toolbar.mjs +5 -0
  294. package/fesm2022/ngwr-toolbar.mjs.map +1 -1
  295. package/fesm2022/ngwr-tour.mjs +6 -2
  296. package/fesm2022/ngwr-tour.mjs.map +1 -1
  297. package/fesm2022/ngwr-transfer.mjs +6 -1
  298. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  299. package/fesm2022/ngwr-tree.mjs +2 -1
  300. package/fesm2022/ngwr-tree.mjs.map +1 -1
  301. package/fesm2022/ngwr-typography.mjs +5 -0
  302. package/fesm2022/ngwr-typography.mjs.map +1 -1
  303. package/fesm2022/ngwr-utils-router.mjs +165 -0
  304. package/fesm2022/ngwr-utils-router.mjs.map +1 -0
  305. package/fesm2022/ngwr-utils.mjs +374 -3
  306. package/fesm2022/ngwr-utils.mjs.map +1 -1
  307. package/fesm2022/ngwr-version.mjs +1 -1
  308. package/fesm2022/ngwr-version.mjs.map +1 -1
  309. package/fesm2022/ngwr-window.mjs +4 -1
  310. package/fesm2022/ngwr-window.mjs.map +1 -1
  311. package/file-upload/styles/_index.scss +1 -0
  312. package/form/styles/_index.scss +1 -0
  313. package/graph/styles/_index.scss +1 -0
  314. package/i18n/ar.json +22 -3
  315. package/i18n/cs.json +22 -3
  316. package/i18n/de.json +22 -3
  317. package/i18n/en.json +22 -3
  318. package/i18n/es.json +22 -3
  319. package/i18n/fr.json +22 -3
  320. package/i18n/he.json +22 -3
  321. package/i18n/hi.json +22 -3
  322. package/i18n/id.json +22 -3
  323. package/i18n/it.json +22 -3
  324. package/i18n/ja.json +22 -3
  325. package/i18n/ko.json +22 -3
  326. package/i18n/nl.json +22 -3
  327. package/i18n/pl.json +22 -3
  328. package/i18n/pt.json +22 -3
  329. package/i18n/ru.json +22 -3
  330. package/i18n/sv.json +22 -3
  331. package/i18n/tr.json +22 -3
  332. package/i18n/uk.json +22 -3
  333. package/i18n/vi.json +22 -3
  334. package/i18n/zh-TW.json +22 -3
  335. package/i18n/zh.json +22 -3
  336. package/icon/styles/_index.scss +1 -0
  337. package/image-cropper/styles/_index.scss +1 -0
  338. package/input/styles/_index.scss +1 -0
  339. package/input-number/styles/_index.scss +1 -0
  340. package/input-otp/styles/_index.scss +1 -0
  341. package/keyboard/styles/_index.scss +1 -0
  342. package/knob/styles/_index.scss +1 -0
  343. package/layout/styles/_index.scss +1 -0
  344. package/lightbox/styles/_index.scss +1 -0
  345. package/list/styles/_index.scss +1 -0
  346. package/llms-full.txt +45 -279
  347. package/llms.txt +16 -16
  348. package/load-state/styles/_index.scss +49 -0
  349. package/loading-bar/styles/_index.scss +1 -0
  350. package/mcp/catalog.js +3 -3
  351. package/mention/styles/_index.scss +1 -0
  352. package/package.json +23 -212
  353. package/page-header/styles/_index.scss +82 -0
  354. package/pagination/styles/_index.scss +1 -0
  355. package/popconfirm/styles/_index.scss +1 -0
  356. package/popover/styles/_index.scss +1 -0
  357. package/progress/styles/_index.scss +1 -0
  358. package/pull-to-refresh/styles/_index.scss +1 -0
  359. package/qr/styles/_index.scss +1 -0
  360. package/radio/styles/_index.scss +1 -0
  361. package/rating/styles/_index.scss +1 -0
  362. package/result/styles/_index.scss +1 -0
  363. package/schema-form/styles/_index.scss +1 -0
  364. package/schematics/component-style/index.js +1 -1
  365. package/schematics/component-style/schema.json +1 -1
  366. package/schematics/use/rule.js +0 -1
  367. package/schematics/use/symbol-map.json +8 -28
  368. package/schematics/utility/global-styles.js +3 -3
  369. package/segmented/styles/_index.scss +1 -0
  370. package/select/styles/_index.scss +1 -0
  371. package/sidebar/styles/_index.scss +1 -0
  372. package/skeleton/styles/_index.scss +65 -29
  373. package/skills/ngwr/SKILL.md +3 -4
  374. package/skills/ngwr/references/catalog.md +5 -47
  375. package/skills/ngwr/references/setup.md +1 -2
  376. package/slider/styles/_index.scss +1 -0
  377. package/sortable-list/styles/_index.scss +1 -0
  378. package/speed-dial/styles/_index.scss +1 -0
  379. package/spinner/styles/_index.scss +1 -0
  380. package/splitter/styles/_index.scss +1 -0
  381. package/statistic/styles/_index.scss +1 -0
  382. package/stepper/styles/_index.scss +1 -0
  383. package/styles/_animations.scss +0 -4
  384. package/switch/styles/_index.scss +1 -0
  385. package/table/styles/_index.scss +18 -0
  386. package/tabs/styles/_index.scss +1 -0
  387. package/textarea/styles/_index.scss +1 -0
  388. package/theme/styles/_focus.scss +0 -6
  389. package/theme/styles/_index.scss +6 -0
  390. package/theme/styles/_loaded.scss +29 -0
  391. package/theme/styles/_motion.scss +1 -0
  392. package/timeline/styles/_index.scss +1 -0
  393. package/toast/styles/_index.scss +1 -0
  394. package/toolbar/styles/_index.scss +1 -0
  395. package/tour/styles/_index.scss +1 -0
  396. package/transfer/styles/_index.scss +1 -0
  397. package/tree/styles/_index.scss +1 -0
  398. package/types/ngwr-alert.d.ts +10 -1
  399. package/types/ngwr-avatar.d.ts +49 -0
  400. package/types/ngwr-badge.d.ts +4 -2
  401. package/types/ngwr-breadcrumbs.d.ts +1 -0
  402. package/types/ngwr-burger.d.ts +1 -0
  403. package/types/ngwr-button.d.ts +2 -1
  404. package/types/ngwr-card.d.ts +2 -0
  405. package/types/ngwr-carousel.d.ts +3 -3
  406. package/types/ngwr-charts-chart-legend.d.ts +1 -0
  407. package/types/ngwr-charts-donut-chart.d.ts +1 -0
  408. package/types/ngwr-charts-funnel-chart.d.ts +1 -0
  409. package/types/ngwr-charts-gauge.d.ts +1 -0
  410. package/types/ngwr-charts-meter-group.d.ts +1 -0
  411. package/types/ngwr-charts-scatter-chart.d.ts +1 -0
  412. package/types/ngwr-charts-sparkline.d.ts +1 -0
  413. package/types/ngwr-checkbox.d.ts +2 -0
  414. package/types/ngwr-collapse.d.ts +2 -0
  415. package/types/ngwr-comment-testing.d.ts +90 -0
  416. package/types/ngwr-comment.d.ts +306 -0
  417. package/types/ngwr-compare.d.ts +1 -1
  418. package/types/ngwr-context-menu.d.ts +2 -0
  419. package/types/ngwr-counter.d.ts +12 -8
  420. package/types/ngwr-descriptions.d.ts +2 -0
  421. package/types/ngwr-dialog-testing.d.ts +7 -0
  422. package/types/ngwr-dialog.d.ts +113 -6
  423. package/types/ngwr-directives.d.ts +7 -3
  424. package/types/ngwr-divider.d.ts +1 -1
  425. package/types/ngwr-drawer.d.ts +5 -1
  426. package/types/ngwr-dropdown.d.ts +16 -3
  427. package/types/ngwr-empty.d.ts +1 -0
  428. package/types/ngwr-event-calendar.d.ts +1 -0
  429. package/types/ngwr-form.d.ts +2 -0
  430. package/types/ngwr-hotkey.d.ts +60 -3
  431. package/types/ngwr-image-cropper.d.ts +1 -1
  432. package/types/ngwr-input-number-testing.d.ts +5 -0
  433. package/types/ngwr-input-number.d.ts +91 -12
  434. package/types/ngwr-input.d.ts +4 -0
  435. package/types/ngwr-keyboard.d.ts +28 -1
  436. package/types/ngwr-knob.d.ts +1 -0
  437. package/types/ngwr-layout.d.ts +4 -0
  438. package/types/ngwr-list.d.ts +1 -0
  439. package/types/ngwr-load-state-testing.d.ts +65 -0
  440. package/types/ngwr-load-state.d.ts +269 -0
  441. package/types/ngwr-mention.d.ts +27 -7
  442. package/types/ngwr-page-header.d.ts +60 -8
  443. package/types/ngwr-pipes.d.ts +19 -0
  444. package/types/ngwr-platform.d.ts +73 -7
  445. package/types/ngwr-popconfirm.d.ts +3 -2
  446. package/types/ngwr-progress.d.ts +2 -1
  447. package/types/ngwr-radio.d.ts +1 -0
  448. package/types/ngwr-rating.d.ts +1 -0
  449. package/types/ngwr-result.d.ts +4 -0
  450. package/types/ngwr-schema-form.d.ts +1 -0
  451. package/types/ngwr-select.d.ts +75 -27
  452. package/types/ngwr-skeleton.d.ts +22 -2
  453. package/types/ngwr-slider.d.ts +21 -0
  454. package/types/ngwr-sortable-list.d.ts +2 -1
  455. package/types/ngwr-spinner.d.ts +1 -0
  456. package/types/ngwr-splitter.d.ts +1 -1
  457. package/types/ngwr-statistic.d.ts +1 -0
  458. package/types/ngwr-stepper.d.ts +2 -1
  459. package/types/ngwr-storage.d.ts +33 -3
  460. package/types/ngwr-switch.d.ts +1 -0
  461. package/types/ngwr-table.d.ts +181 -45
  462. package/types/ngwr-timeline.d.ts +3 -1
  463. package/types/ngwr-toolbar.d.ts +1 -0
  464. package/types/ngwr-tour.d.ts +1 -0
  465. package/types/ngwr-transfer.d.ts +1 -0
  466. package/types/ngwr-typography.d.ts +1 -0
  467. package/types/ngwr-utils-router.d.ts +95 -0
  468. package/types/ngwr-utils.d.ts +339 -2
  469. package/types/ngwr-version.d.ts +1 -1
  470. package/typography/styles/_index.scss +1 -0
  471. package/virtual-scroll/styles/_index.scss +1 -0
  472. package/window/styles/_index.scss +1 -0
  473. package/bits/aurora/aurora.scss +0 -1
  474. package/bits/aurora/styles/_index.scss +0 -8
  475. package/bits/aurora/styles/_rules.scss +0 -36
  476. package/bits/blur-text/blur-text.scss +0 -1
  477. package/bits/blur-text/styles/_index.scss +0 -27
  478. package/bits/border-glow/border-glow.scss +0 -4
  479. package/bits/border-glow/styles/_index.scss +0 -15
  480. package/bits/border-glow/styles/_rules.scss +0 -259
  481. package/bits/circular-text/circular-text.scss +0 -1
  482. package/bits/circular-text/styles/_index.scss +0 -15
  483. package/bits/circular-text/styles/_rules.scss +0 -60
  484. package/bits/click-spark/click-spark.scss +0 -5
  485. package/bits/click-spark/styles/_index.scss +0 -11
  486. package/bits/click-spark/styles/_rules.scss +0 -20
  487. package/bits/decrypt-text/decrypt-text.scss +0 -1
  488. package/bits/decrypt-text/styles/_index.scss +0 -15
  489. package/bits/decrypt-text/styles/_rules.scss +0 -40
  490. package/bits/dot-grid/dot-grid.scss +0 -1
  491. package/bits/dot-grid/styles/_index.scss +0 -8
  492. package/bits/dot-grid/styles/_rules.scss +0 -54
  493. package/bits/falling-text/falling-text.scss +0 -1
  494. package/bits/falling-text/styles/_index.scss +0 -15
  495. package/bits/falling-text/styles/_rules.scss +0 -44
  496. package/bits/glitch-text/glitch-text.scss +0 -1
  497. package/bits/glitch-text/styles/_index.scss +0 -15
  498. package/bits/glitch-text/styles/_rules.scss +0 -161
  499. package/bits/gradient-text/gradient-text.scss +0 -1
  500. package/bits/gradient-text/styles/_index.scss +0 -15
  501. package/bits/gradient-text/styles/_rules.scss +0 -118
  502. package/bits/iridescence/iridescence.scss +0 -1
  503. package/bits/iridescence/styles/_index.scss +0 -8
  504. package/bits/iridescence/styles/_rules.scss +0 -72
  505. package/bits/marquee/marquee.scss +0 -1
  506. package/bits/marquee/styles/_index.scss +0 -15
  507. package/bits/marquee/styles/_rules.scss +0 -203
  508. package/bits/ripple-grid/ripple-grid.scss +0 -1
  509. package/bits/ripple-grid/styles/_index.scss +0 -8
  510. package/bits/ripple-grid/styles/_rules.scss +0 -63
  511. package/bits/rotating-text/rotating-text.scss +0 -1
  512. package/bits/rotating-text/styles/_index.scss +0 -39
  513. package/bits/shiny-text/shiny-text.scss +0 -1
  514. package/bits/shiny-text/styles/_index.scss +0 -15
  515. package/bits/shiny-text/styles/_rules.scss +0 -121
  516. package/bits/splash-cursor/splash-cursor.scss +0 -1
  517. package/bits/splash-cursor/styles/_index.scss +0 -28
  518. package/bits/split-text/split-text.scss +0 -1
  519. package/bits/split-text/styles/_index.scss +0 -35
  520. package/bits/spotlight-card/spotlight-card.scss +0 -1
  521. package/bits/spotlight-card/styles/_index.scss +0 -15
  522. package/bits/spotlight-card/styles/_rules.scss +0 -52
  523. package/bits/star-border/star-border.scss +0 -1
  524. package/bits/star-border/styles/_index.scss +0 -15
  525. package/bits/star-border/styles/_rules.scss +0 -126
  526. package/bits/threads/styles/_index.scss +0 -8
  527. package/bits/threads/styles/_rules.scss +0 -76
  528. package/bits/threads/threads.scss +0 -1
  529. package/bits/tilt-card/styles/_index.scss +0 -15
  530. package/bits/tilt-card/styles/_rules.scss +0 -56
  531. package/bits/tilt-card/tilt-card.scss +0 -1
  532. package/bits/typewriter/styles/_index.scss +0 -15
  533. package/bits/typewriter/styles/_rules.scss +0 -45
  534. package/bits/typewriter/typewriter.scss +0 -1
  535. package/bits/waves/styles/_index.scss +0 -15
  536. package/bits/waves/styles/_rules.scss +0 -54
  537. package/bits/waves/waves.scss +0 -1
  538. package/fesm2022/ngwr-bits-aurora.mjs +0 -461
  539. package/fesm2022/ngwr-bits-aurora.mjs.map +0 -1
  540. package/fesm2022/ngwr-bits-blur-text-testing.mjs +0 -49
  541. package/fesm2022/ngwr-bits-blur-text-testing.mjs.map +0 -1
  542. package/fesm2022/ngwr-bits-blur-text.mjs +0 -337
  543. package/fesm2022/ngwr-bits-blur-text.mjs.map +0 -1
  544. package/fesm2022/ngwr-bits-border-glow-testing.mjs +0 -147
  545. package/fesm2022/ngwr-bits-border-glow-testing.mjs.map +0 -1
  546. package/fesm2022/ngwr-bits-border-glow.mjs +0 -561
  547. package/fesm2022/ngwr-bits-border-glow.mjs.map +0 -1
  548. package/fesm2022/ngwr-bits-circular-text-testing.mjs +0 -63
  549. package/fesm2022/ngwr-bits-circular-text-testing.mjs.map +0 -1
  550. package/fesm2022/ngwr-bits-circular-text.mjs +0 -228
  551. package/fesm2022/ngwr-bits-circular-text.mjs.map +0 -1
  552. package/fesm2022/ngwr-bits-click-spark.mjs +0 -304
  553. package/fesm2022/ngwr-bits-click-spark.mjs.map +0 -1
  554. package/fesm2022/ngwr-bits-confetti.mjs +0 -175
  555. package/fesm2022/ngwr-bits-confetti.mjs.map +0 -1
  556. package/fesm2022/ngwr-bits-decrypt-text-testing.mjs +0 -62
  557. package/fesm2022/ngwr-bits-decrypt-text-testing.mjs.map +0 -1
  558. package/fesm2022/ngwr-bits-decrypt-text.mjs +0 -525
  559. package/fesm2022/ngwr-bits-decrypt-text.mjs.map +0 -1
  560. package/fesm2022/ngwr-bits-dot-grid-testing.mjs +0 -40
  561. package/fesm2022/ngwr-bits-dot-grid-testing.mjs.map +0 -1
  562. package/fesm2022/ngwr-bits-dot-grid.mjs +0 -479
  563. package/fesm2022/ngwr-bits-dot-grid.mjs.map +0 -1
  564. package/fesm2022/ngwr-bits-falling-text-testing.mjs +0 -56
  565. package/fesm2022/ngwr-bits-falling-text-testing.mjs.map +0 -1
  566. package/fesm2022/ngwr-bits-falling-text.mjs +0 -418
  567. package/fesm2022/ngwr-bits-falling-text.mjs.map +0 -1
  568. package/fesm2022/ngwr-bits-fuzzy-text-testing.mjs +0 -38
  569. package/fesm2022/ngwr-bits-fuzzy-text-testing.mjs.map +0 -1
  570. package/fesm2022/ngwr-bits-fuzzy-text.mjs +0 -715
  571. package/fesm2022/ngwr-bits-fuzzy-text.mjs.map +0 -1
  572. package/fesm2022/ngwr-bits-glitch-text-testing.mjs +0 -63
  573. package/fesm2022/ngwr-bits-glitch-text-testing.mjs.map +0 -1
  574. package/fesm2022/ngwr-bits-glitch-text.mjs +0 -172
  575. package/fesm2022/ngwr-bits-glitch-text.mjs.map +0 -1
  576. package/fesm2022/ngwr-bits-gradient-text-testing.mjs +0 -89
  577. package/fesm2022/ngwr-bits-gradient-text-testing.mjs.map +0 -1
  578. package/fesm2022/ngwr-bits-gradient-text.mjs +0 -217
  579. package/fesm2022/ngwr-bits-gradient-text.mjs.map +0 -1
  580. package/fesm2022/ngwr-bits-iridescence-testing.mjs +0 -31
  581. package/fesm2022/ngwr-bits-iridescence-testing.mjs.map +0 -1
  582. package/fesm2022/ngwr-bits-iridescence.mjs +0 -591
  583. package/fesm2022/ngwr-bits-iridescence.mjs.map +0 -1
  584. package/fesm2022/ngwr-bits-marquee-testing.mjs +0 -126
  585. package/fesm2022/ngwr-bits-marquee-testing.mjs.map +0 -1
  586. package/fesm2022/ngwr-bits-marquee.mjs +0 -451
  587. package/fesm2022/ngwr-bits-marquee.mjs.map +0 -1
  588. package/fesm2022/ngwr-bits-ripple-grid-testing.mjs +0 -40
  589. package/fesm2022/ngwr-bits-ripple-grid-testing.mjs.map +0 -1
  590. package/fesm2022/ngwr-bits-ripple-grid.mjs +0 -806
  591. package/fesm2022/ngwr-bits-ripple-grid.mjs.map +0 -1
  592. package/fesm2022/ngwr-bits-rotating-text-testing.mjs +0 -50
  593. package/fesm2022/ngwr-bits-rotating-text-testing.mjs.map +0 -1
  594. package/fesm2022/ngwr-bits-rotating-text.mjs +0 -413
  595. package/fesm2022/ngwr-bits-rotating-text.mjs.map +0 -1
  596. package/fesm2022/ngwr-bits-shiny-text-testing.mjs +0 -92
  597. package/fesm2022/ngwr-bits-shiny-text-testing.mjs.map +0 -1
  598. package/fesm2022/ngwr-bits-shiny-text.mjs +0 -315
  599. package/fesm2022/ngwr-bits-shiny-text.mjs.map +0 -1
  600. package/fesm2022/ngwr-bits-splash-cursor-testing.mjs +0 -25
  601. package/fesm2022/ngwr-bits-splash-cursor-testing.mjs.map +0 -1
  602. package/fesm2022/ngwr-bits-splash-cursor.mjs +0 -1282
  603. package/fesm2022/ngwr-bits-splash-cursor.mjs.map +0 -1
  604. package/fesm2022/ngwr-bits-split-text-testing.mjs +0 -54
  605. package/fesm2022/ngwr-bits-split-text-testing.mjs.map +0 -1
  606. package/fesm2022/ngwr-bits-split-text.mjs +0 -378
  607. package/fesm2022/ngwr-bits-split-text.mjs.map +0 -1
  608. package/fesm2022/ngwr-bits-spotlight-card-testing.mjs +0 -113
  609. package/fesm2022/ngwr-bits-spotlight-card-testing.mjs.map +0 -1
  610. package/fesm2022/ngwr-bits-spotlight-card.mjs +0 -228
  611. package/fesm2022/ngwr-bits-spotlight-card.mjs.map +0 -1
  612. package/fesm2022/ngwr-bits-star-border-testing.mjs +0 -57
  613. package/fesm2022/ngwr-bits-star-border-testing.mjs.map +0 -1
  614. package/fesm2022/ngwr-bits-star-border.mjs +0 -162
  615. package/fesm2022/ngwr-bits-star-border.mjs.map +0 -1
  616. package/fesm2022/ngwr-bits-threads-testing.mjs +0 -41
  617. package/fesm2022/ngwr-bits-threads-testing.mjs.map +0 -1
  618. package/fesm2022/ngwr-bits-threads.mjs +0 -482
  619. package/fesm2022/ngwr-bits-threads.mjs.map +0 -1
  620. package/fesm2022/ngwr-bits-tilt-card-testing.mjs +0 -83
  621. package/fesm2022/ngwr-bits-tilt-card-testing.mjs.map +0 -1
  622. package/fesm2022/ngwr-bits-tilt-card.mjs +0 -260
  623. package/fesm2022/ngwr-bits-tilt-card.mjs.map +0 -1
  624. package/fesm2022/ngwr-bits-typewriter-testing.mjs +0 -61
  625. package/fesm2022/ngwr-bits-typewriter-testing.mjs.map +0 -1
  626. package/fesm2022/ngwr-bits-typewriter.mjs +0 -469
  627. package/fesm2022/ngwr-bits-typewriter.mjs.map +0 -1
  628. package/fesm2022/ngwr-bits-waves-testing.mjs +0 -37
  629. package/fesm2022/ngwr-bits-waves-testing.mjs.map +0 -1
  630. package/fesm2022/ngwr-bits-waves.mjs +0 -865
  631. package/fesm2022/ngwr-bits-waves.mjs.map +0 -1
  632. package/types/ngwr-bits-aurora.d.ts +0 -114
  633. package/types/ngwr-bits-blur-text-testing.d.ts +0 -162
  634. package/types/ngwr-bits-blur-text.d.ts +0 -135
  635. package/types/ngwr-bits-border-glow-testing.d.ts +0 -230
  636. package/types/ngwr-bits-border-glow.d.ts +0 -166
  637. package/types/ngwr-bits-circular-text-testing.d.ts +0 -178
  638. package/types/ngwr-bits-circular-text.d.ts +0 -70
  639. package/types/ngwr-bits-click-spark.d.ts +0 -101
  640. package/types/ngwr-bits-confetti.d.ts +0 -80
  641. package/types/ngwr-bits-decrypt-text-testing.d.ts +0 -204
  642. package/types/ngwr-bits-decrypt-text.d.ts +0 -135
  643. package/types/ngwr-bits-dot-grid-testing.d.ts +0 -92
  644. package/types/ngwr-bits-dot-grid.d.ts +0 -158
  645. package/types/ngwr-bits-falling-text-testing.d.ts +0 -170
  646. package/types/ngwr-bits-falling-text.d.ts +0 -95
  647. package/types/ngwr-bits-fuzzy-text-testing.d.ts +0 -112
  648. package/types/ngwr-bits-fuzzy-text.d.ts +0 -208
  649. package/types/ngwr-bits-glitch-text-testing.d.ts +0 -183
  650. package/types/ngwr-bits-glitch-text.d.ts +0 -60
  651. package/types/ngwr-bits-gradient-text-testing.d.ts +0 -168
  652. package/types/ngwr-bits-gradient-text.d.ts +0 -73
  653. package/types/ngwr-bits-iridescence-testing.d.ts +0 -85
  654. package/types/ngwr-bits-iridescence.d.ts +0 -244
  655. package/types/ngwr-bits-marquee-testing.d.ts +0 -266
  656. package/types/ngwr-bits-marquee.d.ts +0 -188
  657. package/types/ngwr-bits-ripple-grid-testing.d.ts +0 -96
  658. package/types/ngwr-bits-ripple-grid.d.ts +0 -299
  659. package/types/ngwr-bits-rotating-text-testing.d.ts +0 -173
  660. package/types/ngwr-bits-rotating-text.d.ts +0 -127
  661. package/types/ngwr-bits-shiny-text-testing.d.ts +0 -147
  662. package/types/ngwr-bits-shiny-text.d.ts +0 -131
  663. package/types/ngwr-bits-splash-cursor-testing.d.ts +0 -77
  664. package/types/ngwr-bits-splash-cursor.d.ts +0 -162
  665. package/types/ngwr-bits-split-text-testing.d.ts +0 -191
  666. package/types/ngwr-bits-split-text.d.ts +0 -163
  667. package/types/ngwr-bits-spotlight-card-testing.d.ts +0 -279
  668. package/types/ngwr-bits-spotlight-card.d.ts +0 -94
  669. package/types/ngwr-bits-star-border-testing.d.ts +0 -117
  670. package/types/ngwr-bits-star-border.d.ts +0 -62
  671. package/types/ngwr-bits-threads-testing.d.ts +0 -97
  672. package/types/ngwr-bits-threads.d.ts +0 -216
  673. package/types/ngwr-bits-tilt-card-testing.d.ts +0 -140
  674. package/types/ngwr-bits-tilt-card.d.ts +0 -94
  675. package/types/ngwr-bits-typewriter-testing.d.ts +0 -201
  676. package/types/ngwr-bits-typewriter.d.ts +0 -165
  677. package/types/ngwr-bits-waves-testing.d.ts +0 -103
  678. package/types/ngwr-bits-waves.d.ts +0 -142
@@ -1,865 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import { Component, DestroyRef, ElementRef, NgZone, PLATFORM_ID, ViewEncapsulation, afterNextRender, afterRenderEffect, effect, inject, input, signal, untracked, viewChild } from "@angular/core";
3
- import { isPlatformBrowser } from "@angular/common";
4
- import { numAttr, resolveCssColor, watchColorScheme } from "ngwr/utils";
5
- import { WrPlatform } from "ngwr/platform";
6
- /**
7
- * @license
8
- *
9
- * Use of this source code is governed by an MIT-style license that can be
10
- * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
11
- *
12
- * Angular adaptation of the Waves background by David Haz / reactbits.dev.
13
- * Original: https://www.reactbits.dev/backgrounds/waves
14
- *
15
- * A grid of vertical lines drawn on a 2D canvas. Each point drifts on
16
- * perlin noise and is pushed around by the pointer with a spring
17
- * (tension + friction) pulling it back to rest. Each line is drawn as
18
- * quadratic curves through the points' midpoints, not as straight segments.
19
- */
20
- var Grad = class {
21
- x;
22
- y;
23
- constructor(x, y) {
24
- this.x = x;
25
- this.y = y;
26
- }
27
- dot2(x, y) {
28
- return this.x * x + this.y * y;
29
- }
30
- };
31
- const GRAD3 = [
32
- new Grad(1, 1),
33
- new Grad(-1, 1),
34
- new Grad(1, -1),
35
- new Grad(-1, -1),
36
- new Grad(1, 0),
37
- new Grad(-1, 0),
38
- new Grad(1, 0),
39
- new Grad(-1, 0),
40
- new Grad(0, 1),
41
- new Grad(0, -1),
42
- new Grad(0, 1),
43
- new Grad(0, -1)
44
- ];
45
- const P = [
46
- 151,
47
- 160,
48
- 137,
49
- 91,
50
- 90,
51
- 15,
52
- 131,
53
- 13,
54
- 201,
55
- 95,
56
- 96,
57
- 53,
58
- 194,
59
- 233,
60
- 7,
61
- 225,
62
- 140,
63
- 36,
64
- 103,
65
- 30,
66
- 69,
67
- 142,
68
- 8,
69
- 99,
70
- 37,
71
- 240,
72
- 21,
73
- 10,
74
- 23,
75
- 190,
76
- 6,
77
- 148,
78
- 247,
79
- 120,
80
- 234,
81
- 75,
82
- 0,
83
- 26,
84
- 197,
85
- 62,
86
- 94,
87
- 252,
88
- 219,
89
- 203,
90
- 117,
91
- 35,
92
- 11,
93
- 32,
94
- 57,
95
- 177,
96
- 33,
97
- 88,
98
- 237,
99
- 149,
100
- 56,
101
- 87,
102
- 174,
103
- 20,
104
- 125,
105
- 136,
106
- 171,
107
- 168,
108
- 68,
109
- 175,
110
- 74,
111
- 165,
112
- 71,
113
- 134,
114
- 139,
115
- 48,
116
- 27,
117
- 166,
118
- 77,
119
- 146,
120
- 158,
121
- 231,
122
- 83,
123
- 111,
124
- 229,
125
- 122,
126
- 60,
127
- 211,
128
- 133,
129
- 230,
130
- 220,
131
- 105,
132
- 92,
133
- 41,
134
- 55,
135
- 46,
136
- 245,
137
- 40,
138
- 244,
139
- 102,
140
- 143,
141
- 54,
142
- 65,
143
- 25,
144
- 63,
145
- 161,
146
- 1,
147
- 216,
148
- 80,
149
- 73,
150
- 209,
151
- 76,
152
- 132,
153
- 187,
154
- 208,
155
- 89,
156
- 18,
157
- 169,
158
- 200,
159
- 196,
160
- 135,
161
- 130,
162
- 116,
163
- 188,
164
- 159,
165
- 86,
166
- 164,
167
- 100,
168
- 109,
169
- 198,
170
- 173,
171
- 186,
172
- 3,
173
- 64,
174
- 52,
175
- 217,
176
- 226,
177
- 250,
178
- 124,
179
- 123,
180
- 5,
181
- 202,
182
- 38,
183
- 147,
184
- 118,
185
- 126,
186
- 255,
187
- 82,
188
- 85,
189
- 212,
190
- 207,
191
- 206,
192
- 59,
193
- 227,
194
- 47,
195
- 16,
196
- 58,
197
- 17,
198
- 182,
199
- 189,
200
- 28,
201
- 42,
202
- 223,
203
- 183,
204
- 170,
205
- 213,
206
- 119,
207
- 248,
208
- 152,
209
- 2,
210
- 44,
211
- 154,
212
- 163,
213
- 70,
214
- 221,
215
- 153,
216
- 101,
217
- 155,
218
- 167,
219
- 43,
220
- 172,
221
- 9,
222
- 129,
223
- 22,
224
- 39,
225
- 253,
226
- 19,
227
- 98,
228
- 108,
229
- 110,
230
- 79,
231
- 113,
232
- 224,
233
- 232,
234
- 178,
235
- 185,
236
- 112,
237
- 104,
238
- 218,
239
- 246,
240
- 97,
241
- 228,
242
- 251,
243
- 34,
244
- 242,
245
- 193,
246
- 238,
247
- 210,
248
- 144,
249
- 12,
250
- 191,
251
- 179,
252
- 162,
253
- 241,
254
- 81,
255
- 51,
256
- 145,
257
- 235,
258
- 249,
259
- 14,
260
- 239,
261
- 107,
262
- 49,
263
- 192,
264
- 214,
265
- 31,
266
- 181,
267
- 199,
268
- 106,
269
- 157,
270
- 184,
271
- 84,
272
- 204,
273
- 176,
274
- 115,
275
- 121,
276
- 50,
277
- 45,
278
- 127,
279
- 4,
280
- 150,
281
- 254,
282
- 138,
283
- 236,
284
- 205,
285
- 93,
286
- 222,
287
- 114,
288
- 67,
289
- 29,
290
- 24,
291
- 72,
292
- 243,
293
- 141,
294
- 128,
295
- 195,
296
- 78,
297
- 66,
298
- 215,
299
- 61,
300
- 156,
301
- 180
302
- ];
303
- var Noise = class {
304
- perm = new Array(512);
305
- gradP = new Array(512);
306
- constructor(seed) {
307
- if (seed > 0 && seed < 1) seed *= 65536;
308
- seed = Math.floor(seed);
309
- if (seed < 256) seed |= seed << 8;
310
- for (let i = 0; i < 256; i++) {
311
- const v = i & 1 ? P[i] ^ seed & 255 : P[i] ^ seed >> 8 & 255;
312
- this.perm[i] = this.perm[i + 256] = v;
313
- this.gradP[i] = this.gradP[i + 256] = GRAD3[v % 12];
314
- }
315
- }
316
- fade(t) {
317
- return t * t * t * (t * (t * 6 - 15) + 10);
318
- }
319
- lerp(a, b, t) {
320
- return (1 - t) * a + t * b;
321
- }
322
- perlin2(x, y) {
323
- let gx = Math.floor(x);
324
- let gy = Math.floor(y);
325
- x -= gx;
326
- y -= gy;
327
- gx &= 255;
328
- gy &= 255;
329
- const n00 = this.gradP[gx + this.perm[gy]].dot2(x, y);
330
- const n01 = this.gradP[gx + this.perm[gy + 1]].dot2(x, y - 1);
331
- const n10 = this.gradP[gx + 1 + this.perm[gy]].dot2(x - 1, y);
332
- const n11 = this.gradP[gx + 1 + this.perm[gy + 1]].dot2(x - 1, y - 1);
333
- const u = this.fade(x);
334
- return this.lerp(this.lerp(n00, n10, u), this.lerp(n01, n11, u), this.fade(y));
335
- }
336
- };
337
- const MAX_CANVAS_PIXELS = 25e5;
338
- var WrWaves = class WrWaves {
339
- lineColor = input(null, ...ngDevMode ? [{ debugName: "lineColor" }] : /* istanbul ignore next */ []);
340
- backgroundColor = input("transparent", ...ngDevMode ? [{ debugName: "backgroundColor" }] : /* istanbul ignore next */ []);
341
- waveSpeedX = input(.0125, {
342
- ...ngDevMode ? { debugName: "waveSpeedX" } : /* istanbul ignore next */ {},
343
- transform: numAttr(.0125)
344
- });
345
- waveSpeedY = input(.005, {
346
- ...ngDevMode ? { debugName: "waveSpeedY" } : /* istanbul ignore next */ {},
347
- transform: numAttr(.005)
348
- });
349
- waveAmpX = input(32, {
350
- ...ngDevMode ? { debugName: "waveAmpX" } : /* istanbul ignore next */ {},
351
- transform: numAttr(32)
352
- });
353
- waveAmpY = input(16, {
354
- ...ngDevMode ? { debugName: "waveAmpY" } : /* istanbul ignore next */ {},
355
- transform: numAttr(16)
356
- });
357
- xGap = input(10, {
358
- ...ngDevMode ? { debugName: "xGap" } : /* istanbul ignore next */ {},
359
- transform: numAttr(10)
360
- });
361
- yGap = input(32, {
362
- ...ngDevMode ? { debugName: "yGap" } : /* istanbul ignore next */ {},
363
- transform: numAttr(32)
364
- });
365
- friction = input(.925, {
366
- ...ngDevMode ? { debugName: "friction" } : /* istanbul ignore next */ {},
367
- transform: numAttr(.925)
368
- });
369
- tension = input(.005, {
370
- ...ngDevMode ? { debugName: "tension" } : /* istanbul ignore next */ {},
371
- transform: numAttr(.005)
372
- });
373
- maxCursorMove = input(100, {
374
- ...ngDevMode ? { debugName: "maxCursorMove" } : /* istanbul ignore next */ {},
375
- transform: numAttr(100)
376
- });
377
- canvasRef = viewChild.required("canvas", ...ngDevMode ? [{ debugName: "canvasRef" }] : /* istanbul ignore next */ []);
378
- host = inject(ElementRef);
379
- zone = inject(NgZone);
380
- destroyRef = inject(DestroyRef);
381
- platform = inject(WrPlatform);
382
- isBrowser = isPlatformBrowser(inject(PLATFORM_ID));
383
- ctx = null;
384
- noise = new Noise(Math.random());
385
- lines = [];
386
- box = {
387
- width: 0,
388
- height: 0
389
- };
390
- ratio = 0;
391
- mouse = {
392
- x: -10,
393
- y: 0,
394
- lx: 0,
395
- ly: 0,
396
- sx: 0,
397
- sy: 0,
398
- v: 0,
399
- vs: 0,
400
- a: 0,
401
- set: false
402
- };
403
- rafId = 0;
404
- painted = signal(false, ...ngDevMode ? [{ debugName: "painted" }] : /* istanbul ignore next */ []);
405
- booted = signal(false, ...ngDevMode ? [{ debugName: "booted" }] : /* istanbul ignore next */ []);
406
- hasBox = signal(false, ...ngDevMode ? [{ debugName: "hasBox" }] : /* istanbul ignore next */ []);
407
- constructor() {
408
- if (!this.isBrowser) return;
409
- afterNextRender(() => this.zone.runOutsideAngular(() => this.boot()));
410
- afterRenderEffect(() => {
411
- if (!this.booted()) return;
412
- const still = this.platform.prefersReducedMotion();
413
- this.xGap();
414
- this.yGap();
415
- if (still) this.lineColor();
416
- untracked(() => {
417
- this.setLines();
418
- if (still) this.drawLines();
419
- });
420
- });
421
- watchColorScheme(() => {
422
- if (this.booted() && this.platform.prefersReducedMotion()) this.drawLines();
423
- });
424
- effect((onCleanup) => {
425
- if (!this.booted() || !this.hasBox() || this.platform.prefersReducedMotion()) return;
426
- onCleanup(this.zone.runOutsideAngular(() => this.animate()));
427
- });
428
- }
429
- boot() {
430
- const canvas = this.canvasRef().nativeElement;
431
- this.ctx = canvas.getContext("2d");
432
- if (!this.ctx) return;
433
- const hostEl = this.host.nativeElement;
434
- this.fit(hostEl.clientWidth, hostEl.clientHeight);
435
- this.setLines();
436
- const onResize = () => this.resize(this.box.width, this.box.height);
437
- window.addEventListener("resize", onResize);
438
- const ro = new ResizeObserver((entries) => {
439
- const rect = entries[entries.length - 1]?.contentRect;
440
- if (rect) this.resize(rect.width, rect.height);
441
- });
442
- ro.observe(hostEl);
443
- this.destroyRef.onDestroy(() => {
444
- window.removeEventListener("resize", onResize);
445
- ro.disconnect();
446
- });
447
- this.booted.set(true);
448
- }
449
- animate() {
450
- const onMouseMove = (e) => this.updateMouse(e.clientX, e.clientY);
451
- const onTouchMove = (e) => this.updateMouse(e.touches[0].clientX, e.touches[0].clientY);
452
- window.addEventListener("mousemove", onMouseMove);
453
- window.addEventListener("touchmove", onTouchMove, { passive: true });
454
- const run = () => {
455
- if (this.rafId === 0) this.rafId = requestAnimationFrame((t) => this.tick(t));
456
- };
457
- const halt = () => {
458
- cancelAnimationFrame(this.rafId);
459
- this.rafId = 0;
460
- };
461
- const io = typeof IntersectionObserver === "undefined" ? null : new IntersectionObserver((entries) => {
462
- const { isIntersecting, intersectionRatio } = entries[entries.length - 1];
463
- if (isIntersecting && intersectionRatio > 0) run();
464
- else halt();
465
- }, { threshold: [0, 1e-9] });
466
- if (io) io.observe(this.host.nativeElement);
467
- else run();
468
- return () => {
469
- window.removeEventListener("mousemove", onMouseMove);
470
- window.removeEventListener("touchmove", onTouchMove);
471
- io?.disconnect();
472
- halt();
473
- };
474
- }
475
- resize(width, height) {
476
- const moved = width !== this.box.width || height !== this.box.height;
477
- if (!this.fit(width, height)) return;
478
- if (moved) {
479
- this.setLines();
480
- if (!this.platform.prefersReducedMotion()) this.drift(performance.now());
481
- }
482
- this.drawLines();
483
- }
484
- fit(width, height) {
485
- const area = width * height;
486
- const budget = area > 0 ? Math.sqrt(MAX_CANVAS_PIXELS / area) : 2;
487
- const ratio = Math.max(1, Math.min(window.devicePixelRatio || 1, 2, budget));
488
- if (width === this.box.width && height === this.box.height && ratio === this.ratio) return false;
489
- this.box = {
490
- width,
491
- height
492
- };
493
- this.ratio = ratio;
494
- this.hasBox.set(width > 0 && height > 0);
495
- const canvas = this.canvasRef().nativeElement;
496
- canvas.width = Math.round(width * ratio);
497
- canvas.height = Math.round(height * ratio);
498
- this.ctx?.setTransform(ratio, 0, 0, ratio, 0, 0);
499
- return true;
500
- }
501
- setLines() {
502
- const { width, height } = this.box;
503
- this.lines = [];
504
- const oWidth = width + 200;
505
- const oHeight = height + 30;
506
- const xGap = this.xGap();
507
- const yGap = this.yGap();
508
- const totalLines = Math.ceil(oWidth / xGap);
509
- const totalPoints = Math.ceil(oHeight / yGap);
510
- const xStart = (width - xGap * totalLines) / 2;
511
- const yStart = (height - yGap * totalPoints) / 2;
512
- for (let i = 0; i <= totalLines; i++) {
513
- const pts = [];
514
- for (let j = 0; j <= totalPoints; j++) pts.push({
515
- x: xStart + xGap * i,
516
- y: yStart + yGap * j,
517
- wave: {
518
- x: 0,
519
- y: 0
520
- },
521
- cursor: {
522
- x: 0,
523
- y: 0,
524
- vx: 0,
525
- vy: 0
526
- }
527
- });
528
- this.lines.push(pts);
529
- }
530
- }
531
- tick(time) {
532
- const mouse = this.mouse;
533
- mouse.sx += (mouse.x - mouse.sx) * .1;
534
- mouse.sy += (mouse.y - mouse.sy) * .1;
535
- const dx = mouse.x - mouse.lx;
536
- const dy = mouse.y - mouse.ly;
537
- const d = Math.hypot(dx, dy);
538
- mouse.v = d;
539
- mouse.vs += (d - mouse.vs) * .1;
540
- mouse.vs = Math.min(100, mouse.vs);
541
- mouse.lx = mouse.x;
542
- mouse.ly = mouse.y;
543
- mouse.a = Math.atan2(dy, dx);
544
- this.movePoints(time);
545
- this.drawLines();
546
- this.rafId = requestAnimationFrame((t) => this.tick(t));
547
- }
548
- drift(time) {
549
- const waveSpeedX = this.waveSpeedX();
550
- const waveSpeedY = this.waveSpeedY();
551
- const waveAmpX = this.waveAmpX();
552
- const waveAmpY = this.waveAmpY();
553
- for (const pts of this.lines) for (const p of pts) {
554
- const move = this.noise.perlin2((p.x + time * waveSpeedX) * .002, (p.y + time * waveSpeedY) * .0015) * 12;
555
- p.wave.x = Math.cos(move) * waveAmpX;
556
- p.wave.y = Math.sin(move) * waveAmpY;
557
- }
558
- }
559
- movePoints(time) {
560
- this.drift(time);
561
- const mouse = this.mouse;
562
- const friction = this.friction();
563
- const tension = this.tension();
564
- const maxCursorMove = this.maxCursorMove();
565
- for (const pts of this.lines) for (const p of pts) {
566
- const dx = p.x - mouse.sx;
567
- const dy = p.y - mouse.sy;
568
- const dist = Math.hypot(dx, dy);
569
- const l = Math.max(175, mouse.vs);
570
- if (dist < l) {
571
- const s = 1 - dist / l;
572
- const f = Math.cos(dist * .001) * s;
573
- p.cursor.vx += Math.cos(mouse.a) * f * l * mouse.vs * 65e-5;
574
- p.cursor.vy += Math.sin(mouse.a) * f * l * mouse.vs * 65e-5;
575
- }
576
- p.cursor.vx += (0 - p.cursor.x) * tension;
577
- p.cursor.vy += (0 - p.cursor.y) * tension;
578
- p.cursor.vx *= friction;
579
- p.cursor.vy *= friction;
580
- p.cursor.x += p.cursor.vx * 2;
581
- p.cursor.y += p.cursor.vy * 2;
582
- p.cursor.x = Math.min(maxCursorMove, Math.max(-maxCursorMove, p.cursor.x));
583
- p.cursor.y = Math.min(maxCursorMove, Math.max(-maxCursorMove, p.cursor.y));
584
- }
585
- }
586
- moved(point, withCursor) {
587
- const x = point.x + point.wave.x + (withCursor ? point.cursor.x : 0);
588
- const y = point.y + point.wave.y + (withCursor ? point.cursor.y : 0);
589
- return {
590
- x: Math.round(x * 10) / 10,
591
- y: Math.round(y * 10) / 10
592
- };
593
- }
594
- drawLines() {
595
- const ctx = this.ctx;
596
- if (!ctx) return;
597
- if (!this.painted()) this.painted.set(true);
598
- const { width, height } = this.box;
599
- ctx.clearRect(0, 0, width, height);
600
- ctx.beginPath();
601
- ctx.strokeStyle = this.resolveLineColor();
602
- for (const points of this.lines) {
603
- const last = points.length - 1;
604
- const path = points.map((p, idx) => this.moved(p, idx > 0 && idx < last));
605
- ctx.moveTo(path[0].x, path[0].y);
606
- for (let i = 1; i < last; i++) {
607
- const p = path[i];
608
- const next = path[i + 1];
609
- ctx.quadraticCurveTo(p.x, p.y, (p.x + next.x) / 2, (p.y + next.y) / 2);
610
- }
611
- ctx.lineTo(path[last].x, path[last].y);
612
- }
613
- ctx.stroke();
614
- }
615
- resolveLineColor() {
616
- const expression = (this.lineColor() ?? "").trim() || "var(--wr-waves-line-color)";
617
- return resolveCssColor(this.canvasRef().nativeElement, expression, "rgba(15, 23, 42, 0.12)");
618
- }
619
- updateMouse(x, y) {
620
- const rect = this.host.nativeElement.getBoundingClientRect();
621
- const mouse = this.mouse;
622
- mouse.x = (x - rect.left) * (rect.width > 0 ? this.box.width / rect.width : 1);
623
- mouse.y = (y - rect.top) * (rect.height > 0 ? this.box.height / rect.height : 1);
624
- if (!mouse.set) {
625
- mouse.sx = mouse.x;
626
- mouse.sy = mouse.y;
627
- mouse.lx = mouse.x;
628
- mouse.ly = mouse.y;
629
- mouse.set = true;
630
- }
631
- }
632
- static ɵfac = i0.ɵɵngDeclareFactory({
633
- minVersion: "12.0.0",
634
- version: "22.2.4",
635
- ngImport: i0,
636
- type: WrWaves,
637
- deps: [],
638
- target: i0.ɵɵFactoryTarget.Component
639
- });
640
- static ɵcmp = i0.ɵɵngDeclareComponent({
641
- minVersion: "17.2.0",
642
- version: "22.2.4",
643
- type: WrWaves,
644
- isStandalone: true,
645
- selector: "wr-waves",
646
- inputs: {
647
- lineColor: {
648
- classPropertyName: "lineColor",
649
- publicName: "lineColor",
650
- isSignal: true,
651
- isRequired: false,
652
- transformFunction: null
653
- },
654
- backgroundColor: {
655
- classPropertyName: "backgroundColor",
656
- publicName: "backgroundColor",
657
- isSignal: true,
658
- isRequired: false,
659
- transformFunction: null
660
- },
661
- waveSpeedX: {
662
- classPropertyName: "waveSpeedX",
663
- publicName: "waveSpeedX",
664
- isSignal: true,
665
- isRequired: false,
666
- transformFunction: null
667
- },
668
- waveSpeedY: {
669
- classPropertyName: "waveSpeedY",
670
- publicName: "waveSpeedY",
671
- isSignal: true,
672
- isRequired: false,
673
- transformFunction: null
674
- },
675
- waveAmpX: {
676
- classPropertyName: "waveAmpX",
677
- publicName: "waveAmpX",
678
- isSignal: true,
679
- isRequired: false,
680
- transformFunction: null
681
- },
682
- waveAmpY: {
683
- classPropertyName: "waveAmpY",
684
- publicName: "waveAmpY",
685
- isSignal: true,
686
- isRequired: false,
687
- transformFunction: null
688
- },
689
- xGap: {
690
- classPropertyName: "xGap",
691
- publicName: "xGap",
692
- isSignal: true,
693
- isRequired: false,
694
- transformFunction: null
695
- },
696
- yGap: {
697
- classPropertyName: "yGap",
698
- publicName: "yGap",
699
- isSignal: true,
700
- isRequired: false,
701
- transformFunction: null
702
- },
703
- friction: {
704
- classPropertyName: "friction",
705
- publicName: "friction",
706
- isSignal: true,
707
- isRequired: false,
708
- transformFunction: null
709
- },
710
- tension: {
711
- classPropertyName: "tension",
712
- publicName: "tension",
713
- isSignal: true,
714
- isRequired: false,
715
- transformFunction: null
716
- },
717
- maxCursorMove: {
718
- classPropertyName: "maxCursorMove",
719
- publicName: "maxCursorMove",
720
- isSignal: true,
721
- isRequired: false,
722
- transformFunction: null
723
- }
724
- },
725
- host: {
726
- properties: {
727
- "style.background-color": "backgroundColor()",
728
- "style.--wr-waves-x-gap.px": "xGap()",
729
- "class.wr-waves--painted": "painted()"
730
- },
731
- classAttribute: "wr-waves"
732
- },
733
- viewQueries: [{
734
- propertyName: "canvasRef",
735
- first: true,
736
- predicate: ["canvas"],
737
- descendants: true,
738
- isSignal: true
739
- }],
740
- ngImport: i0,
741
- template: "<canvas #canvas class=\"wr-waves__canvas\" aria-hidden=\"true\"></canvas>",
742
- isInline: true,
743
- styles: [".wr-waves{--wr-waves-line-color: light-dark( color-mix(in srgb, var(--wr-color-on-surface) 12%, transparent), rgb(255 255 255 / 14%) );--wr-waves-x-gap: 10px;position:absolute;inset:0;display:block;margin:0;padding:0;overflow:hidden;background-image:repeating-linear-gradient(to right,var(--wr-waves-line-color) 0 1px,transparent 1px var(--wr-waves-x-gap))}.wr-waves--painted{background-image:none}.wr-waves__canvas{display:block;width:100%;height:100%}@media(forced-colors:active){.wr-waves__canvas{forced-color-adjust:none}}\n"],
744
- encapsulation: i0.ViewEncapsulation.None
745
- });
746
- };
747
- i0.ɵɵngDeclareClassMetadata({
748
- minVersion: "12.0.0",
749
- version: "22.2.4",
750
- ngImport: i0,
751
- type: WrWaves,
752
- decorators: [{
753
- type: Component,
754
- args: [{
755
- selector: "wr-waves",
756
- template: "<canvas #canvas class=\"wr-waves__canvas\" aria-hidden=\"true\"></canvas>",
757
- encapsulation: ViewEncapsulation.None,
758
- host: {
759
- class: "wr-waves",
760
- "[style.background-color]": "backgroundColor()",
761
- "[style.--wr-waves-x-gap.px]": "xGap()",
762
- "[class.wr-waves--painted]": "painted()"
763
- },
764
- styles: [".wr-waves{--wr-waves-line-color: light-dark( color-mix(in srgb, var(--wr-color-on-surface) 12%, transparent), rgb(255 255 255 / 14%) );--wr-waves-x-gap: 10px;position:absolute;inset:0;display:block;margin:0;padding:0;overflow:hidden;background-image:repeating-linear-gradient(to right,var(--wr-waves-line-color) 0 1px,transparent 1px var(--wr-waves-x-gap))}.wr-waves--painted{background-image:none}.wr-waves__canvas{display:block;width:100%;height:100%}@media(forced-colors:active){.wr-waves__canvas{forced-color-adjust:none}}\n"]
765
- }]
766
- }],
767
- ctorParameters: () => [],
768
- propDecorators: {
769
- lineColor: [{
770
- type: i0.Input,
771
- args: [{
772
- isSignal: true,
773
- alias: "lineColor",
774
- required: false
775
- }]
776
- }],
777
- backgroundColor: [{
778
- type: i0.Input,
779
- args: [{
780
- isSignal: true,
781
- alias: "backgroundColor",
782
- required: false
783
- }]
784
- }],
785
- waveSpeedX: [{
786
- type: i0.Input,
787
- args: [{
788
- isSignal: true,
789
- alias: "waveSpeedX",
790
- required: false
791
- }]
792
- }],
793
- waveSpeedY: [{
794
- type: i0.Input,
795
- args: [{
796
- isSignal: true,
797
- alias: "waveSpeedY",
798
- required: false
799
- }]
800
- }],
801
- waveAmpX: [{
802
- type: i0.Input,
803
- args: [{
804
- isSignal: true,
805
- alias: "waveAmpX",
806
- required: false
807
- }]
808
- }],
809
- waveAmpY: [{
810
- type: i0.Input,
811
- args: [{
812
- isSignal: true,
813
- alias: "waveAmpY",
814
- required: false
815
- }]
816
- }],
817
- xGap: [{
818
- type: i0.Input,
819
- args: [{
820
- isSignal: true,
821
- alias: "xGap",
822
- required: false
823
- }]
824
- }],
825
- yGap: [{
826
- type: i0.Input,
827
- args: [{
828
- isSignal: true,
829
- alias: "yGap",
830
- required: false
831
- }]
832
- }],
833
- friction: [{
834
- type: i0.Input,
835
- args: [{
836
- isSignal: true,
837
- alias: "friction",
838
- required: false
839
- }]
840
- }],
841
- tension: [{
842
- type: i0.Input,
843
- args: [{
844
- isSignal: true,
845
- alias: "tension",
846
- required: false
847
- }]
848
- }],
849
- maxCursorMove: [{
850
- type: i0.Input,
851
- args: [{
852
- isSignal: true,
853
- alias: "maxCursorMove",
854
- required: false
855
- }]
856
- }],
857
- canvasRef: [{
858
- type: i0.ViewChild,
859
- args: ["canvas", { isSignal: true }]
860
- }]
861
- }
862
- });
863
- export { WrWaves };
864
-
865
- //# sourceMappingURL=ngwr-bits-waves.mjs.map