ngwr 16.6.0 → 16.7.1

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 (321) hide show
  1. package/avatar/styles/_index.scss +39 -0
  2. package/button/styles/_index.scss +45 -2
  3. package/checkbox/styles/_index.scss +4 -0
  4. package/copy-value/styles/_index.scss +4 -0
  5. package/dropdown/styles/_index.scss +17 -0
  6. package/fesm2022/ngwr-affix.mjs +3 -3
  7. package/fesm2022/ngwr-alert.mjs +3 -3
  8. package/fesm2022/ngwr-anchor.mjs +3 -3
  9. package/fesm2022/ngwr-animations-aurora.mjs +3 -3
  10. package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
  11. package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
  12. package/fesm2022/ngwr-animations-confetti.mjs +3 -3
  13. package/fesm2022/ngwr-animations-decode.mjs +3 -3
  14. package/fesm2022/ngwr-animations-destruct.mjs +3 -3
  15. package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
  16. package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
  17. package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
  18. package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
  19. package/fesm2022/ngwr-animations-glitch.mjs +3 -3
  20. package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
  21. package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
  22. package/fesm2022/ngwr-animations-marquee.mjs +4 -3
  23. package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
  24. package/fesm2022/ngwr-animations-orbit.mjs +3 -3
  25. package/fesm2022/ngwr-animations-reveal.mjs +3 -3
  26. package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
  27. package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
  28. package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
  29. package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
  30. package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
  31. package/fesm2022/ngwr-animations-tilt.mjs +3 -3
  32. package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
  33. package/fesm2022/ngwr-avatar.mjs +171 -6
  34. package/fesm2022/ngwr-avatar.mjs.map +1 -1
  35. package/fesm2022/ngwr-back-top.mjs +3 -3
  36. package/fesm2022/ngwr-badge.mjs +6 -6
  37. package/fesm2022/ngwr-breadcrumbs.mjs +9 -8
  38. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  39. package/fesm2022/ngwr-burger.mjs +3 -3
  40. package/fesm2022/ngwr-button.mjs +26 -6
  41. package/fesm2022/ngwr-button.mjs.map +1 -1
  42. package/fesm2022/ngwr-calendar.mjs +3 -3
  43. package/fesm2022/ngwr-card.mjs +9 -9
  44. package/fesm2022/ngwr-carousel.mjs +6 -6
  45. package/fesm2022/ngwr-cascader.mjs +5 -5
  46. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  47. package/fesm2022/ngwr-charts-bar-chart.mjs +3 -3
  48. package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
  49. package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
  50. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
  51. package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
  52. package/fesm2022/ngwr-charts-chart-legend.mjs +9 -9
  53. package/fesm2022/ngwr-charts-core.mjs +6 -6
  54. package/fesm2022/ngwr-charts-donut-chart.mjs +3 -3
  55. package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
  56. package/fesm2022/ngwr-charts-gauge.mjs +3 -3
  57. package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
  58. package/fesm2022/ngwr-charts-line-chart.mjs +3 -3
  59. package/fesm2022/ngwr-charts-meter-group.mjs +3 -3
  60. package/fesm2022/ngwr-charts-radar-chart.mjs +3 -3
  61. package/fesm2022/ngwr-charts-scatter-chart.mjs +3 -3
  62. package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
  63. package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
  64. package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
  65. package/fesm2022/ngwr-checkbox.mjs +6 -6
  66. package/fesm2022/ngwr-clipboard.mjs +3 -3
  67. package/fesm2022/ngwr-collapse.mjs +9 -9
  68. package/fesm2022/ngwr-color-picker.mjs +6 -6
  69. package/fesm2022/ngwr-command-palette.mjs +3 -3
  70. package/fesm2022/ngwr-comment.mjs +7 -6
  71. package/fesm2022/ngwr-comment.mjs.map +1 -1
  72. package/fesm2022/ngwr-compare.mjs +3 -3
  73. package/fesm2022/ngwr-context-menu.mjs +12 -12
  74. package/fesm2022/ngwr-cookie.mjs +3 -3
  75. package/fesm2022/ngwr-copy-value.mjs +3 -3
  76. package/fesm2022/ngwr-counter.mjs +6 -6
  77. package/fesm2022/ngwr-date-picker-testing.mjs +35 -0
  78. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  79. package/fesm2022/ngwr-date-picker.mjs +103 -53
  80. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  81. package/fesm2022/ngwr-date-stamp.mjs +3 -3
  82. package/fesm2022/ngwr-date.mjs +40 -16
  83. package/fesm2022/ngwr-date.mjs.map +1 -1
  84. package/fesm2022/ngwr-density.mjs +6 -6
  85. package/fesm2022/ngwr-descriptions.mjs +6 -6
  86. package/fesm2022/ngwr-dialog.mjs +19 -18
  87. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  88. package/fesm2022/ngwr-directives.mjs +181 -18
  89. package/fesm2022/ngwr-directives.mjs.map +1 -1
  90. package/fesm2022/ngwr-divider.mjs +3 -3
  91. package/fesm2022/ngwr-drawer.mjs +18 -18
  92. package/fesm2022/ngwr-dropdown-testing.mjs +5 -1
  93. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  94. package/fesm2022/ngwr-dropdown.mjs +59 -16
  95. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  96. package/fesm2022/ngwr-editor.mjs +6 -5
  97. package/fesm2022/ngwr-editor.mjs.map +1 -1
  98. package/fesm2022/ngwr-empty.mjs +3 -3
  99. package/fesm2022/ngwr-event-calendar.mjs +7 -6
  100. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  101. package/fesm2022/ngwr-file-upload-testing.mjs +5 -0
  102. package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
  103. package/fesm2022/ngwr-file-upload.mjs +68 -13
  104. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  105. package/fesm2022/ngwr-form.mjs +18 -16
  106. package/fesm2022/ngwr-form.mjs.map +1 -1
  107. package/fesm2022/ngwr-graph-testing.mjs +30 -0
  108. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  109. package/fesm2022/ngwr-graph.mjs +100 -11
  110. package/fesm2022/ngwr-graph.mjs.map +1 -1
  111. package/fesm2022/ngwr-hotkey.mjs +6 -6
  112. package/fesm2022/ngwr-i18n-ar.mjs +6 -2
  113. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  114. package/fesm2022/ngwr-i18n-cs.mjs +6 -2
  115. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  116. package/fesm2022/ngwr-i18n-de.mjs +6 -2
  117. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  118. package/fesm2022/ngwr-i18n-en.mjs +6 -2
  119. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  120. package/fesm2022/ngwr-i18n-es.mjs +6 -2
  121. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  122. package/fesm2022/ngwr-i18n-fr.mjs +6 -2
  123. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  124. package/fesm2022/ngwr-i18n-he.mjs +6 -2
  125. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  126. package/fesm2022/ngwr-i18n-hi.mjs +6 -2
  127. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  128. package/fesm2022/ngwr-i18n-id.mjs +6 -2
  129. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  130. package/fesm2022/ngwr-i18n-it.mjs +6 -2
  131. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  132. package/fesm2022/ngwr-i18n-ja.mjs +6 -2
  133. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  134. package/fesm2022/ngwr-i18n-kk.mjs +520 -0
  135. package/fesm2022/ngwr-i18n-kk.mjs.map +1 -0
  136. package/fesm2022/ngwr-i18n-ko.mjs +6 -2
  137. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  138. package/fesm2022/ngwr-i18n-nl.mjs +6 -2
  139. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  140. package/fesm2022/ngwr-i18n-pl.mjs +6 -2
  141. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  142. package/fesm2022/ngwr-i18n-pt.mjs +6 -2
  143. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  144. package/fesm2022/ngwr-i18n-ru.mjs +6 -2
  145. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  146. package/fesm2022/ngwr-i18n-sv.mjs +6 -2
  147. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  148. package/fesm2022/ngwr-i18n-tr.mjs +6 -2
  149. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  150. package/fesm2022/ngwr-i18n-uk.mjs +6 -2
  151. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  152. package/fesm2022/ngwr-i18n-vi.mjs +6 -2
  153. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  154. package/fesm2022/ngwr-i18n-zh-tw.mjs +6 -2
  155. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  156. package/fesm2022/ngwr-i18n-zh.mjs +6 -2
  157. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  158. package/fesm2022/ngwr-i18n.mjs +9 -9
  159. package/fesm2022/ngwr-icon.mjs +6 -6
  160. package/fesm2022/ngwr-image-cropper.mjs +8 -4
  161. package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
  162. package/fesm2022/ngwr-input-number.mjs +3 -3
  163. package/fesm2022/ngwr-input-otp.mjs +3 -3
  164. package/fesm2022/ngwr-input.mjs +15 -15
  165. package/fesm2022/ngwr-keyboard.mjs +3 -3
  166. package/fesm2022/ngwr-knob.mjs +3 -3
  167. package/fesm2022/ngwr-layout.mjs +15 -15
  168. package/fesm2022/ngwr-lightbox.mjs +8 -8
  169. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  170. package/fesm2022/ngwr-list.mjs +8 -8
  171. package/fesm2022/ngwr-list.mjs.map +1 -1
  172. package/fesm2022/ngwr-load-state.mjs +16 -15
  173. package/fesm2022/ngwr-load-state.mjs.map +1 -1
  174. package/fesm2022/ngwr-loading-bar.mjs +6 -6
  175. package/fesm2022/ngwr-mention.mjs +6 -6
  176. package/fesm2022/ngwr-meta.mjs +6 -6
  177. package/fesm2022/ngwr-overlay.mjs +9 -9
  178. package/fesm2022/ngwr-page-header.mjs +3 -3
  179. package/fesm2022/ngwr-pagination-testing.mjs +3 -0
  180. package/fesm2022/ngwr-pagination-testing.mjs.map +1 -1
  181. package/fesm2022/ngwr-pagination.mjs +32 -5
  182. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  183. package/fesm2022/ngwr-pipes.mjs +27 -27
  184. package/fesm2022/ngwr-platform.mjs +9 -9
  185. package/fesm2022/ngwr-popconfirm.mjs +7 -6
  186. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  187. package/fesm2022/ngwr-popover.mjs +126 -16
  188. package/fesm2022/ngwr-popover.mjs.map +1 -1
  189. package/fesm2022/ngwr-progress.mjs +75 -10
  190. package/fesm2022/ngwr-progress.mjs.map +1 -1
  191. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  192. package/fesm2022/ngwr-qr.mjs +3 -3
  193. package/fesm2022/ngwr-radio.mjs +6 -6
  194. package/fesm2022/ngwr-rating.mjs +3 -3
  195. package/fesm2022/ngwr-resizable.mjs +3 -3
  196. package/fesm2022/ngwr-result.mjs +12 -12
  197. package/fesm2022/ngwr-schema-form.mjs +10 -6
  198. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  199. package/fesm2022/ngwr-scroll.mjs +255 -7
  200. package/fesm2022/ngwr-scroll.mjs.map +1 -1
  201. package/fesm2022/ngwr-segmented.mjs +3 -3
  202. package/fesm2022/ngwr-select.mjs +28 -19
  203. package/fesm2022/ngwr-select.mjs.map +1 -1
  204. package/fesm2022/ngwr-sidebar-testing.mjs +17 -1
  205. package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -1
  206. package/fesm2022/ngwr-sidebar.mjs +66 -11
  207. package/fesm2022/ngwr-sidebar.mjs.map +1 -1
  208. package/fesm2022/ngwr-skeleton.mjs +3 -3
  209. package/fesm2022/ngwr-slider.mjs +3 -3
  210. package/fesm2022/ngwr-sortable-list.mjs +11 -11
  211. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  212. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  213. package/fesm2022/ngwr-spinner.mjs +3 -3
  214. package/fesm2022/ngwr-splitter.mjs +3 -3
  215. package/fesm2022/ngwr-statistic.mjs +9 -9
  216. package/fesm2022/ngwr-stepper.mjs +6 -6
  217. package/fesm2022/ngwr-storage.mjs +3 -3
  218. package/fesm2022/ngwr-switch.mjs +3 -3
  219. package/fesm2022/ngwr-table-router.mjs +89 -0
  220. package/fesm2022/ngwr-table-router.mjs.map +1 -0
  221. package/fesm2022/ngwr-table-testing.mjs +5 -0
  222. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  223. package/fesm2022/ngwr-table.mjs +282 -43
  224. package/fesm2022/ngwr-table.mjs.map +1 -1
  225. package/fesm2022/ngwr-tabs-router.mjs +11 -7
  226. package/fesm2022/ngwr-tabs-router.mjs.map +1 -1
  227. package/fesm2022/ngwr-tabs-testing.mjs +8 -1
  228. package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
  229. package/fesm2022/ngwr-tabs.mjs +60 -10
  230. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  231. package/fesm2022/ngwr-textarea.mjs +3 -3
  232. package/fesm2022/ngwr-theme.mjs +3 -3
  233. package/fesm2022/ngwr-timeline.mjs +6 -6
  234. package/fesm2022/ngwr-toast.mjs +15 -15
  235. package/fesm2022/ngwr-toolbar.mjs +3 -3
  236. package/fesm2022/ngwr-tour.mjs +7 -6
  237. package/fesm2022/ngwr-tour.mjs.map +1 -1
  238. package/fesm2022/ngwr-transfer.mjs +4 -3
  239. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  240. package/fesm2022/ngwr-tree.mjs +3 -3
  241. package/fesm2022/ngwr-typography.mjs +3 -3
  242. package/fesm2022/ngwr-utils-router.mjs +3 -3
  243. package/fesm2022/ngwr-utils.mjs +30 -2
  244. package/fesm2022/ngwr-utils.mjs.map +1 -1
  245. package/fesm2022/ngwr-version.mjs +1 -1
  246. package/fesm2022/ngwr-version.mjs.map +1 -1
  247. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  248. package/fesm2022/ngwr-window.mjs +18 -13
  249. package/fesm2022/ngwr-window.mjs.map +1 -1
  250. package/file-upload/styles/_index.scss +16 -0
  251. package/graph/styles/_index.scss +48 -0
  252. package/i18n/ar.json +4 -2
  253. package/i18n/cs.json +4 -2
  254. package/i18n/de.json +4 -2
  255. package/i18n/en.json +4 -2
  256. package/i18n/es.json +4 -2
  257. package/i18n/fr.json +4 -2
  258. package/i18n/he.json +4 -2
  259. package/i18n/hi.json +4 -2
  260. package/i18n/id.json +4 -2
  261. package/i18n/it.json +4 -2
  262. package/i18n/ja.json +4 -2
  263. package/i18n/kk.json +567 -0
  264. package/i18n/ko.json +4 -2
  265. package/i18n/nl.json +4 -2
  266. package/i18n/pl.json +4 -2
  267. package/i18n/pt.json +4 -2
  268. package/i18n/ru.json +4 -2
  269. package/i18n/sv.json +4 -2
  270. package/i18n/tr.json +4 -2
  271. package/i18n/uk.json +4 -2
  272. package/i18n/vi.json +4 -2
  273. package/i18n/zh-TW.json +4 -2
  274. package/i18n/zh.json +4 -2
  275. package/llms-full.txt +29 -18
  276. package/llms.txt +4 -1
  277. package/package.json +15 -7
  278. package/pagination/styles/_index.scss +6 -0
  279. package/popover/styles/_index.scss +4 -2
  280. package/progress/styles/_index.scss +64 -0
  281. package/radio/styles/_index.scss +4 -0
  282. package/schematics/use/symbol-map.json +5 -0
  283. package/sidebar/styles/_index.scss +58 -6
  284. package/skills/ngwr/SKILL.md +7 -6
  285. package/skills/ngwr/references/catalog.md +6 -4
  286. package/switch/styles/_index.scss +4 -0
  287. package/table/styles/_index.scss +128 -32
  288. package/tabs/styles/_index.scss +9 -0
  289. package/theme/styles/_focus.scss +3 -1
  290. package/tour/styles/_index.scss +3 -2
  291. package/types/ngwr-avatar.d.ts +39 -0
  292. package/types/ngwr-button.d.ts +12 -0
  293. package/types/ngwr-date-picker-testing.d.ts +22 -0
  294. package/types/ngwr-date-picker.d.ts +84 -17
  295. package/types/ngwr-date.d.ts +51 -0
  296. package/types/ngwr-directives.d.ts +45 -0
  297. package/types/ngwr-dropdown-testing.d.ts +8 -1
  298. package/types/ngwr-dropdown.d.ts +29 -0
  299. package/types/ngwr-file-upload-testing.d.ts +10 -0
  300. package/types/ngwr-file-upload.d.ts +55 -1
  301. package/types/ngwr-form.d.ts +3 -1
  302. package/types/ngwr-graph-testing.d.ts +28 -1
  303. package/types/ngwr-graph.d.ts +53 -3
  304. package/types/ngwr-i18n-kk.d.ts +3 -0
  305. package/types/ngwr-image-cropper.d.ts +6 -0
  306. package/types/ngwr-pagination-testing.d.ts +8 -0
  307. package/types/ngwr-pagination.d.ts +16 -0
  308. package/types/ngwr-popover.d.ts +39 -0
  309. package/types/ngwr-progress.d.ts +63 -1
  310. package/types/ngwr-scroll.d.ts +95 -0
  311. package/types/ngwr-select.d.ts +31 -12
  312. package/types/ngwr-sidebar-testing.d.ts +21 -7
  313. package/types/ngwr-sidebar.d.ts +66 -4
  314. package/types/ngwr-table-router.d.ts +49 -0
  315. package/types/ngwr-table-testing.d.ts +7 -0
  316. package/types/ngwr-table.d.ts +185 -6
  317. package/types/ngwr-tabs-router.d.ts +4 -5
  318. package/types/ngwr-tabs-testing.d.ts +5 -1
  319. package/types/ngwr-tabs.d.ts +34 -1
  320. package/types/ngwr-utils.d.ts +13 -0
  321. package/types/ngwr-version.d.ts +1 -1
@@ -297,7 +297,7 @@ var WrHeatmapChart = class WrHeatmapChart {
297
297
  }
298
298
  static ɵfac = i0.ɵɵngDeclareFactory({
299
299
  minVersion: "12.0.0",
300
- version: "22.2.6",
300
+ version: "22.3.0",
301
301
  ngImport: i0,
302
302
  type: WrHeatmapChart,
303
303
  deps: [],
@@ -305,7 +305,7 @@ var WrHeatmapChart = class WrHeatmapChart {
305
305
  });
306
306
  static ɵcmp = i0.ɵɵngDeclareComponent({
307
307
  minVersion: "17.0.0",
308
- version: "22.2.6",
308
+ version: "22.3.0",
309
309
  type: WrHeatmapChart,
310
310
  isStandalone: true,
311
311
  selector: "wr-heatmap-chart",
@@ -515,7 +515,7 @@ var WrHeatmapChart = class WrHeatmapChart {
515
515
  };
516
516
  i0.ɵɵngDeclareClassMetadata({
517
517
  minVersion: "12.0.0",
518
- version: "22.2.6",
518
+ version: "22.3.0",
519
519
  ngImport: i0,
520
520
  type: WrHeatmapChart,
521
521
  decorators: [{
@@ -522,7 +522,7 @@ var WrLineChart = class WrLineChart {
522
522
  }, ...ngDevMode ? [{ debugName: "tableData" }] : /* istanbul ignore next */ []);
523
523
  static ɵfac = i0.ɵɵngDeclareFactory({
524
524
  minVersion: "12.0.0",
525
- version: "22.2.6",
525
+ version: "22.3.0",
526
526
  ngImport: i0,
527
527
  type: WrLineChart,
528
528
  deps: [],
@@ -530,7 +530,7 @@ var WrLineChart = class WrLineChart {
530
530
  });
531
531
  static ɵcmp = i0.ɵɵngDeclareComponent({
532
532
  minVersion: "17.0.0",
533
- version: "22.2.6",
533
+ version: "22.3.0",
534
534
  type: WrLineChart,
535
535
  isStandalone: true,
536
536
  selector: "wr-line-chart",
@@ -772,7 +772,7 @@ var WrLineChart = class WrLineChart {
772
772
  };
773
773
  i0.ɵɵngDeclareClassMetadata({
774
774
  minVersion: "12.0.0",
775
- version: "22.2.6",
775
+ version: "22.3.0",
776
776
  ngImport: i0,
777
777
  type: WrLineChart,
778
778
  decorators: [{
@@ -161,7 +161,7 @@ var WrMeterGroup = class WrMeterGroup {
161
161
  });
162
162
  static ɵfac = i0.ɵɵngDeclareFactory({
163
163
  minVersion: "12.0.0",
164
- version: "22.2.6",
164
+ version: "22.3.0",
165
165
  ngImport: i0,
166
166
  type: WrMeterGroup,
167
167
  deps: [],
@@ -169,7 +169,7 @@ var WrMeterGroup = class WrMeterGroup {
169
169
  });
170
170
  static ɵcmp = i0.ɵɵngDeclareComponent({
171
171
  minVersion: "17.0.0",
172
- version: "22.2.6",
172
+ version: "22.3.0",
173
173
  type: WrMeterGroup,
174
174
  isStandalone: true,
175
175
  selector: "wr-meter-group",
@@ -340,7 +340,7 @@ var WrMeterGroup = class WrMeterGroup {
340
340
  };
341
341
  i0.ɵɵngDeclareClassMetadata({
342
342
  minVersion: "12.0.0",
343
- version: "22.2.6",
343
+ version: "22.3.0",
344
344
  ngImport: i0,
345
345
  type: WrMeterGroup,
346
346
  decorators: [{
@@ -457,7 +457,7 @@ var WrRadarChart = class WrRadarChart {
457
457
  }
458
458
  static ɵfac = i0.ɵɵngDeclareFactory({
459
459
  minVersion: "12.0.0",
460
- version: "22.2.6",
460
+ version: "22.3.0",
461
461
  ngImport: i0,
462
462
  type: WrRadarChart,
463
463
  deps: [],
@@ -465,7 +465,7 @@ var WrRadarChart = class WrRadarChart {
465
465
  });
466
466
  static ɵcmp = i0.ɵɵngDeclareComponent({
467
467
  minVersion: "17.0.0",
468
- version: "22.2.6",
468
+ version: "22.3.0",
469
469
  type: WrRadarChart,
470
470
  isStandalone: true,
471
471
  selector: "wr-radar-chart",
@@ -692,7 +692,7 @@ var WrRadarChart = class WrRadarChart {
692
692
  };
693
693
  i0.ɵɵngDeclareClassMetadata({
694
694
  minVersion: "12.0.0",
695
- version: "22.2.6",
695
+ version: "22.3.0",
696
696
  ngImport: i0,
697
697
  type: WrRadarChart,
698
698
  decorators: [{
@@ -485,7 +485,7 @@ var WrScatterChart = class WrScatterChart {
485
485
  }
486
486
  static ɵfac = i0.ɵɵngDeclareFactory({
487
487
  minVersion: "12.0.0",
488
- version: "22.2.6",
488
+ version: "22.3.0",
489
489
  ngImport: i0,
490
490
  type: WrScatterChart,
491
491
  deps: [],
@@ -493,7 +493,7 @@ var WrScatterChart = class WrScatterChart {
493
493
  });
494
494
  static ɵcmp = i0.ɵɵngDeclareComponent({
495
495
  minVersion: "17.0.0",
496
- version: "22.2.6",
496
+ version: "22.3.0",
497
497
  type: WrScatterChart,
498
498
  isStandalone: true,
499
499
  selector: "wr-scatter-chart",
@@ -715,7 +715,7 @@ var WrScatterChart = class WrScatterChart {
715
715
  };
716
716
  i0.ɵɵngDeclareClassMetadata({
717
717
  minVersion: "12.0.0",
718
- version: "22.2.6",
718
+ version: "22.3.0",
719
719
  ngImport: i0,
720
720
  type: WrScatterChart,
721
721
  decorators: [{
@@ -143,7 +143,7 @@ var WrSparkline = class WrSparkline {
143
143
  }
144
144
  static ɵfac = i0.ɵɵngDeclareFactory({
145
145
  minVersion: "12.0.0",
146
- version: "22.2.6",
146
+ version: "22.3.0",
147
147
  ngImport: i0,
148
148
  type: WrSparkline,
149
149
  deps: [],
@@ -151,7 +151,7 @@ var WrSparkline = class WrSparkline {
151
151
  });
152
152
  static ɵcmp = i0.ɵɵngDeclareComponent({
153
153
  minVersion: "17.0.0",
154
- version: "22.2.6",
154
+ version: "22.3.0",
155
155
  type: WrSparkline,
156
156
  isStandalone: true,
157
157
  selector: "wr-sparkline",
@@ -248,7 +248,7 @@ var WrSparkline = class WrSparkline {
248
248
  };
249
249
  i0.ɵɵngDeclareClassMetadata({
250
250
  minVersion: "12.0.0",
251
- version: "22.2.6",
251
+ version: "22.3.0",
252
252
  ngImport: i0,
253
253
  type: WrSparkline,
254
254
  decorators: [{
@@ -378,7 +378,7 @@ var WrTreemapChart = class WrTreemapChart {
378
378
  }
379
379
  static ɵfac = i0.ɵɵngDeclareFactory({
380
380
  minVersion: "12.0.0",
381
- version: "22.2.6",
381
+ version: "22.3.0",
382
382
  ngImport: i0,
383
383
  type: WrTreemapChart,
384
384
  deps: [],
@@ -386,7 +386,7 @@ var WrTreemapChart = class WrTreemapChart {
386
386
  });
387
387
  static ɵcmp = i0.ɵɵngDeclareComponent({
388
388
  minVersion: "17.0.0",
389
- version: "22.2.6",
389
+ version: "22.3.0",
390
390
  type: WrTreemapChart,
391
391
  isStandalone: true,
392
392
  selector: "wr-treemap-chart",
@@ -572,7 +572,7 @@ var WrTreemapChart = class WrTreemapChart {
572
572
  };
573
573
  i0.ɵɵngDeclareClassMetadata({
574
574
  minVersion: "12.0.0",
575
- version: "22.2.6",
575
+ version: "22.3.0",
576
576
  ngImport: i0,
577
577
  type: WrTreemapChart,
578
578
  decorators: [{
@@ -255,7 +255,7 @@ var WrWaterfallChart = class WrWaterfallChart {
255
255
  }
256
256
  static ɵfac = i0.ɵɵngDeclareFactory({
257
257
  minVersion: "12.0.0",
258
- version: "22.2.6",
258
+ version: "22.3.0",
259
259
  ngImport: i0,
260
260
  type: WrWaterfallChart,
261
261
  deps: [],
@@ -263,7 +263,7 @@ var WrWaterfallChart = class WrWaterfallChart {
263
263
  });
264
264
  static ɵcmp = i0.ɵɵngDeclareComponent({
265
265
  minVersion: "17.0.0",
266
- version: "22.2.6",
266
+ version: "22.3.0",
267
267
  type: WrWaterfallChart,
268
268
  isStandalone: true,
269
269
  selector: "wr-waterfall-chart",
@@ -421,7 +421,7 @@ var WrWaterfallChart = class WrWaterfallChart {
421
421
  };
422
422
  i0.ɵɵngDeclareClassMetadata({
423
423
  minVersion: "12.0.0",
424
- version: "22.2.6",
424
+ version: "22.3.0",
425
425
  ngImport: i0,
426
426
  type: WrWaterfallChart,
427
427
  decorators: [{
@@ -97,7 +97,7 @@ var WrCheckbox = class WrCheckbox {
97
97
  }
98
98
  static ɵfac = i0.ɵɵngDeclareFactory({
99
99
  minVersion: "12.0.0",
100
- version: "22.2.6",
100
+ version: "22.3.0",
101
101
  ngImport: i0,
102
102
  type: WrCheckbox,
103
103
  deps: [],
@@ -105,7 +105,7 @@ var WrCheckbox = class WrCheckbox {
105
105
  });
106
106
  static ɵcmp = i0.ɵɵngDeclareComponent({
107
107
  minVersion: "17.0.0",
108
- version: "22.2.6",
108
+ version: "22.3.0",
109
109
  type: WrCheckbox,
110
110
  isStandalone: true,
111
111
  selector: "wr-checkbox",
@@ -213,7 +213,7 @@ var WrCheckbox = class WrCheckbox {
213
213
  };
214
214
  i0.ɵɵngDeclareClassMetadata({
215
215
  minVersion: "12.0.0",
216
- version: "22.2.6",
216
+ version: "22.3.0",
217
217
  ngImport: i0,
218
218
  type: WrCheckbox,
219
219
  decorators: [{
@@ -374,7 +374,7 @@ var WrCheckboxGroup = class WrCheckboxGroup {
374
374
  }
375
375
  static ɵfac = i0.ɵɵngDeclareFactory({
376
376
  minVersion: "12.0.0",
377
- version: "22.2.6",
377
+ version: "22.3.0",
378
378
  ngImport: i0,
379
379
  type: WrCheckboxGroup,
380
380
  deps: [],
@@ -382,7 +382,7 @@ var WrCheckboxGroup = class WrCheckboxGroup {
382
382
  });
383
383
  static ɵcmp = i0.ɵɵngDeclareComponent({
384
384
  minVersion: "17.1.0",
385
- version: "22.2.6",
385
+ version: "22.3.0",
386
386
  type: WrCheckboxGroup,
387
387
  isStandalone: true,
388
388
  selector: "wr-checkbox-group",
@@ -434,7 +434,7 @@ var WrCheckboxGroup = class WrCheckboxGroup {
434
434
  };
435
435
  i0.ɵɵngDeclareClassMetadata({
436
436
  minVersion: "12.0.0",
437
- version: "22.2.6",
437
+ version: "22.3.0",
438
438
  ngImport: i0,
439
439
  type: WrCheckboxGroup,
440
440
  decorators: [{
@@ -76,7 +76,7 @@ var WrClipboard = class WrClipboard {
76
76
  }
77
77
  static ɵfac = i0.ɵɵngDeclareFactory({
78
78
  minVersion: "12.0.0",
79
- version: "22.2.6",
79
+ version: "22.3.0",
80
80
  ngImport: i0,
81
81
  type: WrClipboard,
82
82
  deps: [],
@@ -84,14 +84,14 @@ var WrClipboard = class WrClipboard {
84
84
  });
85
85
  static ɵprov = i0.ɵɵngDeclareService({
86
86
  minVersion: "22.0.0",
87
- version: "22.2.6",
87
+ version: "22.3.0",
88
88
  ngImport: i0,
89
89
  type: WrClipboard
90
90
  });
91
91
  };
92
92
  i0.ɵɵngDeclareClassMetadata({
93
93
  minVersion: "12.0.0",
94
- version: "22.2.6",
94
+ version: "22.3.0",
95
95
  ngImport: i0,
96
96
  type: WrClipboard,
97
97
  decorators: [{ type: Service }]
@@ -64,7 +64,7 @@ var WrCollapse = class WrCollapse {
64
64
  }
65
65
  static ɵfac = i0.ɵɵngDeclareFactory({
66
66
  minVersion: "12.0.0",
67
- version: "22.2.6",
67
+ version: "22.3.0",
68
68
  ngImport: i0,
69
69
  type: WrCollapse,
70
70
  deps: [],
@@ -72,7 +72,7 @@ var WrCollapse = class WrCollapse {
72
72
  });
73
73
  static ɵcmp = i0.ɵɵngDeclareComponent({
74
74
  minVersion: "17.0.0",
75
- version: "22.2.6",
75
+ version: "22.3.0",
76
76
  type: WrCollapse,
77
77
  isStandalone: true,
78
78
  selector: "wr-collapse",
@@ -128,7 +128,7 @@ var WrCollapse = class WrCollapse {
128
128
  };
129
129
  i0.ɵɵngDeclareClassMetadata({
130
130
  minVersion: "12.0.0",
131
- version: "22.2.6",
131
+ version: "22.3.0",
132
132
  ngImport: i0,
133
133
  type: WrCollapse,
134
134
  decorators: [{
@@ -218,7 +218,7 @@ var WrCollapseGroup = class WrCollapseGroup {
218
218
  }
219
219
  static ɵfac = i0.ɵɵngDeclareFactory({
220
220
  minVersion: "12.0.0",
221
- version: "22.2.6",
221
+ version: "22.3.0",
222
222
  ngImport: i0,
223
223
  type: WrCollapseGroup,
224
224
  deps: [],
@@ -226,7 +226,7 @@ var WrCollapseGroup = class WrCollapseGroup {
226
226
  });
227
227
  static ɵcmp = i0.ɵɵngDeclareComponent({
228
228
  minVersion: "17.1.0",
229
- version: "22.2.6",
229
+ version: "22.3.0",
230
230
  type: WrCollapseGroup,
231
231
  isStandalone: true,
232
232
  selector: "wr-collapse-group",
@@ -250,7 +250,7 @@ var WrCollapseGroup = class WrCollapseGroup {
250
250
  };
251
251
  i0.ɵɵngDeclareClassMetadata({
252
252
  minVersion: "12.0.0",
253
- version: "22.2.6",
253
+ version: "22.3.0",
254
254
  ngImport: i0,
255
255
  type: WrCollapseGroup,
256
256
  decorators: [{
@@ -299,7 +299,7 @@ var WrAccordion = class WrAccordion {
299
299
  }
300
300
  static ɵfac = i0.ɵɵngDeclareFactory({
301
301
  minVersion: "12.0.0",
302
- version: "22.2.6",
302
+ version: "22.3.0",
303
303
  ngImport: i0,
304
304
  type: WrAccordion,
305
305
  deps: [],
@@ -307,7 +307,7 @@ var WrAccordion = class WrAccordion {
307
307
  });
308
308
  static ɵcmp = i0.ɵɵngDeclareComponent({
309
309
  minVersion: "14.0.0",
310
- version: "22.2.6",
310
+ version: "22.3.0",
311
311
  type: WrAccordion,
312
312
  isStandalone: true,
313
313
  selector: "wr-accordion",
@@ -324,7 +324,7 @@ var WrAccordion = class WrAccordion {
324
324
  };
325
325
  i0.ɵɵngDeclareClassMetadata({
326
326
  minVersion: "12.0.0",
327
- version: "22.2.6",
327
+ version: "22.3.0",
328
328
  ngImport: i0,
329
329
  type: WrAccordion,
330
330
  decorators: [{
@@ -606,7 +606,7 @@ var WrColorPicker = class WrColorPicker {
606
606
  }
607
607
  static ɵfac = i0.ɵɵngDeclareFactory({
608
608
  minVersion: "12.0.0",
609
- version: "22.2.6",
609
+ version: "22.3.0",
610
610
  ngImport: i0,
611
611
  type: WrColorPicker,
612
612
  deps: [],
@@ -614,7 +614,7 @@ var WrColorPicker = class WrColorPicker {
614
614
  });
615
615
  static ɵcmp = i0.ɵɵngDeclareComponent({
616
616
  minVersion: "17.0.0",
617
- version: "22.2.6",
617
+ version: "22.3.0",
618
618
  type: WrColorPicker,
619
619
  isStandalone: true,
620
620
  selector: "wr-color-picker",
@@ -748,7 +748,7 @@ var WrColorPicker = class WrColorPicker {
748
748
  };
749
749
  i0.ɵɵngDeclareClassMetadata({
750
750
  minVersion: "12.0.0",
751
- version: "22.2.6",
751
+ version: "22.3.0",
752
752
  ngImport: i0,
753
753
  type: WrColorPicker,
754
754
  decorators: [{
@@ -1028,7 +1028,7 @@ var WrColorPickerTrigger = class WrColorPickerTrigger {
1028
1028
  }
1029
1029
  static ɵfac = i0.ɵɵngDeclareFactory({
1030
1030
  minVersion: "12.0.0",
1031
- version: "22.2.6",
1031
+ version: "22.3.0",
1032
1032
  ngImport: i0,
1033
1033
  type: WrColorPickerTrigger,
1034
1034
  deps: [],
@@ -1036,7 +1036,7 @@ var WrColorPickerTrigger = class WrColorPickerTrigger {
1036
1036
  });
1037
1037
  static ɵdir = i0.ɵɵngDeclareDirective({
1038
1038
  minVersion: "17.1.0",
1039
- version: "22.2.6",
1039
+ version: "22.3.0",
1040
1040
  type: WrColorPickerTrigger,
1041
1041
  isStandalone: true,
1042
1042
  selector: "[wrColorPickerTrigger]",
@@ -1121,7 +1121,7 @@ var WrColorPickerTrigger = class WrColorPickerTrigger {
1121
1121
  };
1122
1122
  i0.ɵɵngDeclareClassMetadata({
1123
1123
  minVersion: "12.0.0",
1124
- version: "22.2.6",
1124
+ version: "22.3.0",
1125
1125
  ngImport: i0,
1126
1126
  type: WrColorPickerTrigger,
1127
1127
  decorators: [{
@@ -238,7 +238,7 @@ var WrCommandPalette = class WrCommandPalette {
238
238
  }
239
239
  static ɵfac = i0.ɵɵngDeclareFactory({
240
240
  minVersion: "12.0.0",
241
- version: "22.2.6",
241
+ version: "22.3.0",
242
242
  ngImport: i0,
243
243
  type: WrCommandPalette,
244
244
  deps: [],
@@ -246,7 +246,7 @@ var WrCommandPalette = class WrCommandPalette {
246
246
  });
247
247
  static ɵcmp = i0.ɵɵngDeclareComponent({
248
248
  minVersion: "17.0.0",
249
- version: "22.2.6",
249
+ version: "22.3.0",
250
250
  type: WrCommandPalette,
251
251
  isStandalone: true,
252
252
  selector: "wr-command-palette",
@@ -368,7 +368,7 @@ var WrCommandPalette = class WrCommandPalette {
368
368
  };
369
369
  i0.ɵɵngDeclareClassMetadata({
370
370
  minVersion: "12.0.0",
371
- version: "22.2.6",
371
+ version: "22.3.0",
372
372
  ngImport: i0,
373
373
  type: WrCommandPalette,
374
374
  decorators: [{
@@ -35,7 +35,7 @@ var WrComment = class WrComment {
35
35
  }, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
36
36
  static ɵfac = i0.ɵɵngDeclareFactory({
37
37
  minVersion: "12.0.0",
38
- version: "22.2.6",
38
+ version: "22.3.0",
39
39
  ngImport: i0,
40
40
  type: WrComment,
41
41
  deps: [],
@@ -43,7 +43,7 @@ var WrComment = class WrComment {
43
43
  });
44
44
  static ɵcmp = i0.ɵɵngDeclareComponent({
45
45
  minVersion: "17.0.0",
46
- version: "22.2.6",
46
+ version: "22.3.0",
47
47
  type: WrComment,
48
48
  isStandalone: true,
49
49
  selector: "wr-comment",
@@ -106,7 +106,7 @@ var WrComment = class WrComment {
106
106
  };
107
107
  i0.ɵɵngDeclareClassMetadata({
108
108
  minVersion: "12.0.0",
109
- version: "22.2.6",
109
+ version: "22.3.0",
110
110
  ngImport: i0,
111
111
  type: WrComment,
112
112
  decorators: [{
@@ -249,7 +249,7 @@ var WrCommentComposer = class WrCommentComposer {
249
249
  }
250
250
  static ɵfac = i0.ɵɵngDeclareFactory({
251
251
  minVersion: "12.0.0",
252
- version: "22.2.6",
252
+ version: "22.3.0",
253
253
  ngImport: i0,
254
254
  type: WrCommentComposer,
255
255
  deps: [],
@@ -257,7 +257,7 @@ var WrCommentComposer = class WrCommentComposer {
257
257
  });
258
258
  static ɵcmp = i0.ɵɵngDeclareComponent({
259
259
  minVersion: "17.2.0",
260
- version: "22.2.6",
260
+ version: "22.3.0",
261
261
  type: WrCommentComposer,
262
262
  isStandalone: true,
263
263
  selector: "wr-comment-composer",
@@ -373,6 +373,7 @@ var WrCommentComposer = class WrCommentComposer {
373
373
  "iconPosition",
374
374
  "disabled",
375
375
  "outlined",
376
+ "ghost",
376
377
  "block",
377
378
  "loading",
378
379
  "disabledWhenLoading"
@@ -405,7 +406,7 @@ var WrCommentComposer = class WrCommentComposer {
405
406
  };
406
407
  i0.ɵɵngDeclareClassMetadata({
407
408
  minVersion: "12.0.0",
408
- version: "22.2.6",
409
+ version: "22.3.0",
409
410
  ngImport: i0,
410
411
  type: WrCommentComposer,
411
412
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"ngwr-comment.mjs","names":[],"sources":["../../../projects/lib/comment/comment.ts","../../../projects/lib/comment/comment.html","../../../projects/lib/comment/comment-composer.ts","../../../projects/lib/comment/comment-composer.html"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\n\nimport { useI18nText } from 'ngwr/i18n';\nimport { wrCheckStyles } from 'ngwr/utils';\n\nimport type { WrCommentSide, WrCommentVariant } from './types';\n\n/**\n * One entry in a discussion or a chat: avatar, author, time, body, actions and\n * nested replies. The data stays with the app: the component takes no array,\n * fetches nothing and sorts nothing. Everything is projected or passed as a\n * string, and the app formats the time itself (`wrDate` is the usual route).\n *\n * Slots, each optional:\n *\n * - `<wr-avatar>` or `[wrCommentAvatar]` for the avatar column\n * - `[wrCommentAuthor]` for an author drawn by the app (a profile link) in\n * place of the `author` input\n * - default content for the body\n * - `[wrCommentActions]` for the action row under the body\n * - nested `<wr-comment>` elements, or a `[wrCommentReplies]` wrapper, for\n * replies; they indent twice, and deeper levels sit flush with their parent\n * so a phone keeps room for the body\n *\n * The host is an `article` named after the author, replies sit in a `group`\n * named by `repliesLabel`, and no heading level is assumed: the page owns the\n * outline. Wrap a thread in a list and a chat in `role=\"log\"`.\n *\n * `variant=\"bubble\"` draws the body as a chat bubble; `side=\"end\"` puts it on\n * the reader's own side of the log.\n *\n * @example\n * ```html\n * <wr-comment author=\"Ann\" time=\"2 hours ago\" [datetime]=\"posted\">\n * <wr-avatar size=\"2.5rem\" alt=\"\">AN</wr-avatar>\n * Looks good to me.\n * <div wrCommentActions><button wr-btn size=\"sm\">Reply</button></div>\n * <wr-comment author=\"Bob\" time=\"an hour ago\">Thanks!</wr-comment>\n * </wr-comment>\n *\n * <wr-comment variant=\"bubble\" side=\"end\" time=\"09:41\">On my way.</wr-comment>\n * ```\n *\n * @see https://ngwr.dev/reference/components/comment\n */\n@Component({\n selector: 'wr-comment',\n templateUrl: './comment.html',\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-comment',\n '[class]': 'classes()',\n role: 'article',\n '[attr.aria-label]': 'author() || null',\n },\n})\nexport class WrComment {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('comment');\n }\n\n /**\n * Who wrote it. Also the article's accessible name. Leave it empty when a\n * `[wrCommentAuthor]` element draws the name instead.\n *\n * @default ''\n */\n readonly author = input<string>('');\n\n /**\n * When it was written, already formatted: the component does no date\n * formatting. Run a `Date` through the `wrDate` pipe on the way in.\n *\n * @default ''\n */\n readonly time = input<string>('');\n\n /**\n * The same moment, machine-readable. With it the time renders as a\n * `<time datetime>`: a `Date` is written as ISO 8601, a string as given.\n *\n * @default null\n */\n readonly datetime = input<Date | string | null>(null);\n\n /**\n * `row` is a discussion entry; `bubble` is a chat message, which takes no replies.\n *\n * @default 'row'\n */\n readonly variant = input<WrCommentVariant>('row');\n\n /**\n * Which inline side a bubble sits on. `end` is the reader's own message.\n * Ignored by the `row` variant.\n *\n * @default 'start'\n */\n readonly side = input<WrCommentSide>('start');\n\n /** Accessible name of the replies group. Falls back to `comment.replies`, then `'Replies'`. */\n readonly repliesLabel = input<string | null>(null);\n\n protected readonly resolvedRepliesLabel = useI18nText(this.repliesLabel, 'comment.replies', 'Replies');\n\n protected readonly isoDatetime = computed(() => {\n const value = this.datetime();\n if (value === null) return null;\n if (value instanceof Date) return Number.isNaN(value.getTime()) ? null : value.toISOString();\n return value || null;\n });\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.variant() === 'bubble') parts.push('wr-comment--bubble', `wr-comment--${this.side()}`);\n return parts.join(' ');\n });\n}\n","<div class=\"wr-comment__avatar\">\n <ng-content select=\"wr-avatar, [wrCommentAvatar]\" />\n</div>\n\n<div class=\"wr-comment__main\">\n <div class=\"wr-comment__head\">\n @if (author(); as name) {\n <span class=\"wr-comment__author\">{{ name }}</span>\n }\n <ng-content select=\"[wrCommentAuthor]\" />\n @if (time(); as printed) {\n @if (isoDatetime(); as iso) {\n <time class=\"wr-comment__time\" [attr.datetime]=\"iso\">{{ printed }}</time>\n } @else {\n <span class=\"wr-comment__time\">{{ printed }}</span>\n }\n }\n </div>\n\n <div class=\"wr-comment__body\"><ng-content /></div>\n\n <div class=\"wr-comment__actions\">\n <ng-content select=\"[wrCommentActions]\" />\n </div>\n</div>\n\n<div class=\"wr-comment__replies\" role=\"group\" [attr.aria-label]=\"resolvedRepliesLabel()\">\n <ng-content select=\"wr-comment, [wrCommentReplies]\" />\n</div>\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport {\n Component,\n ElementRef,\n ViewEncapsulation,\n computed,\n inject,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\nimport type { FormValueControl } from '@angular/forms/signals';\n\nimport { WrButton } from 'ngwr/button';\nimport { useI18nText } from 'ngwr/i18n';\nimport { WrTextarea } from 'ngwr/textarea';\nimport { wrIsComposing, WR_KEYS, wrCheckStyles } from 'ngwr/utils';\n\n/**\n * A chat composer: an autosizing field with a send button. Enter sends,\n * Shift+Enter adds a line, Ctrl+Enter and Cmd+Enter always send. The text is\n * emitted through `send` and the composer decides nothing about where it goes.\n *\n * A signal-forms native control: it implements `FormValueControl<string>`, so\n * `[formField]` binds straight to its `value` model. `[(value)]` works\n * standalone.\n *\n * What sends and what does not:\n *\n * - Whitespace-only text never sends; the button is disabled until there is\n * something to send, and Enter does nothing.\n * - `disabled`, `readonly` and `sending` all block sending and keep the text.\n * `sending` also marks the composer `aria-busy`; the field stays editable so\n * the next message can be typed.\n * - An Enter that confirms an IME composition never sends. Both signals are\n * read, `isComposing` and `keyCode === 229`, because Safari fires\n * `compositionend` before the keydown, so `isComposing` is already `false`\n * on the committing keystroke.\n *\n * The text is trimmed and, with `clearOnSend` (the default), the field is\n * cleared BEFORE `send` emits: an app whose request fails puts the text back\n * through the composer's own model, `composer.value.set(text)`, at any time,\n * and nothing overwrites it. A model bound with `[(value)]` takes that write\n * only once change detection has run in between: written back synchronously\n * from the handler, the bound expression still holds the value Angular last\n * bound, so the input is skipped. An app that would rather keep the text until\n * the request succeeds sets `[clearOnSend]=\"false\"` and clears the model\n * itself. Focus stays in the field after sending, unless the `send` handler\n * moved it.\n *\n * @example\n * ```html\n * <wr-comment-composer placeholder=\"Message\" [(value)]=\"draft\" (send)=\"post($event)\" />\n *\n * <wr-comment-composer [sending]=\"posting()\" [clearOnSend]=\"false\" (send)=\"post($event)\">\n * <button wrComposerActions wr-btn size=\"sm\">Attach</button>\n * </wr-comment-composer>\n * ```\n *\n * @see https://ngwr.dev/reference/components/comment\n */\n@Component({\n selector: 'wr-comment-composer',\n templateUrl: './comment-composer.html',\n imports: [WrButton, WrTextarea],\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-comment-composer',\n '[class]': 'classes()',\n '[attr.aria-busy]': 'sending() ? \"true\" : null',\n },\n})\nexport class WrCommentComposer implements FormValueControl<string> {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('comment');\n }\n\n /** Native placeholder text. @default '' */\n readonly placeholder = input<string>('');\n\n /**\n * Accessible name for the field. Falls back to the placeholder: the native\n * `<textarea>` lives inside the component, so a `<label for>` outside cannot\n * reach it.\n */\n readonly ariaLabel = input<string | null>(null);\n\n /** Accessible name of the send button. Falls back to `comment.send`, then `'Send'`. */\n readonly sendLabel = input<string | null>(null);\n\n /** Visible row count while the field is empty. @default 1 */\n readonly rows = input(1, { transform: (v: unknown): number => coerceNumberProperty(v, 1) });\n\n /** Rows the field grows to before it scrolls on its own. @default 6 */\n readonly maxRows = input(6, { transform: (v: unknown): number => coerceNumberProperty(v, 6) });\n\n /**\n * Disable the field and the button. Bound automatically from the field's\n * disabled state when used with `[formField]`. The text is kept.\n *\n * @default false\n */\n readonly disabled = input(false, { transform: coerceBooleanProperty });\n\n /**\n * Read-only state: the text is shown and announced, keeps its tab stop and\n * cannot be edited or sent.\n *\n * @default false\n */\n readonly readonly = input(false, { transform: coerceBooleanProperty });\n\n /**\n * A send is in flight: the button is disabled, the host is `aria-busy` and\n * Enter does nothing. The field stays editable and the text is kept.\n *\n * @default false\n */\n readonly sending = input(false, { transform: coerceBooleanProperty });\n\n /**\n * `true`: Enter sends and Shift+Enter adds a line. `false`: Enter adds a line\n * and only Ctrl+Enter or Cmd+Enter sends.\n *\n * @default true\n */\n readonly enterSends = input(true, { transform: coerceBooleanProperty });\n\n /**\n * Clear the field before `send` emits. With `false` the text stays until the\n * app clears the model itself.\n *\n * @default true\n */\n readonly clearOnSend = input(true, { transform: coerceBooleanProperty });\n\n /** The draft. Bound by `[formField]`, or two-way via `[(value)]`. */\n readonly value = model<string>('');\n\n /** Emitted on blur so a bound field can mark itself touched. */\n readonly touch = output<void>();\n\n /** The trimmed text, once per send. Where it goes is the app's business. */\n readonly send = output<string>();\n\n protected readonly resolvedSendLabel = useI18nText(this.sendLabel, 'comment.send', 'Send');\n\n /** Whether a send would go through right now. */\n protected readonly canSend = computed(\n () => this.value().trim() !== '' && !this.disabled() && !this.readonly() && !this.sending()\n );\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.disabled()) parts.push('wr-comment-composer--disabled');\n if (this.readonly()) parts.push('wr-comment-composer--readonly');\n if (this.sending()) parts.push('wr-comment-composer--sending');\n return parts.join(' ');\n });\n\n private readonly field = viewChild.required(WrTextarea);\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Focus the field, which is what Signal Forms calls to focus this control. */\n focus(options?: FocusOptions): void {\n this.field().focus(options);\n }\n\n /**\n * Send the current text, exactly as the button and Enter do: nothing happens\n * for whitespace-only text or while `disabled`, `readonly` or `sending`.\n */\n submit(): void {\n if (!this.canSend()) return;\n const text = this.value().trim();\n const hadFocus = this.host.nativeElement.contains(this.host.nativeElement.ownerDocument.activeElement);\n if (this.clearOnSend()) this.value.set('');\n this.send.emit(text);\n // A keyboard user is on the button, which sending just disabled: hand focus\n // back unless the handler moved it. A pointer never took it (see the template).\n if (hadFocus && this.host.nativeElement.contains(this.host.nativeElement.ownerDocument.activeElement)) {\n this.focus();\n }\n }\n\n protected onKeydown(event: KeyboardEvent): void {\n if (event.key !== WR_KEYS.ENTER || wrIsComposing(event)) return;\n const modifier = event.ctrlKey || event.metaKey;\n if (!modifier && (event.shiftKey || event.altKey || !this.enterSends())) return;\n // A sending Enter never reaches the field: on empty text it would only add\n // blank lines that the next send trims away.\n event.preventDefault();\n this.submit();\n }\n}\n","<wr-textarea\n class=\"wr-comment-composer__field\"\n autosize\n [rows]=\"rows()\"\n [maxRows]=\"maxRows()\"\n [resizable]=\"false\"\n [placeholder]=\"placeholder()\"\n [ariaLabel]=\"ariaLabel()\"\n [disabled]=\"disabled()\"\n [readonly]=\"readonly()\"\n [(value)]=\"value\"\n (touch)=\"touch.emit()\"\n (keydown)=\"onKeydown($event)\"\n/>\n\n<div class=\"wr-comment-composer__actions\">\n <ng-content select=\"[wrComposerActions]\" />\n</div>\n\n<button\n wr-btn\n type=\"button\"\n color=\"primary\"\n shape=\"pill\"\n class=\"wr-comment-composer__send\"\n [attr.aria-label]=\"resolvedSendLabel()\"\n [disabled]=\"!canSend()\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"submit()\"\n>\n <svg\n class=\"wr-icon__svg\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z\"\n />\n <path d=\"M6 12h16\" />\n </svg>\n</button>\n"],"mappings":";;;;;;;;;;;;;AA+DA,IAAa,YAAb,MAAa,UAAS;CACpB,cAAA;EACE,IAAI,OAAO,cAAc,eAAe,WAAW,cAAc,SAAS;CAC5E;CAQS,SAAS,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,SAAA,CAAA,+BAAA,CAAA,CAAA;CAQ1B,OAAO,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAQxB,WAAW,MAA4B,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;CAO5C,UAAU,MAAwB,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAQxC,OAAO,MAAqB,SAAQ,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAGpC,eAAe,MAAqB,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,eAAA,CAAA,+BAAA,CAAA,CAAA;CAE/B,uBAAuB,YAAY,KAAK,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,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,GAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,aAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,OAAA;EAAA,CAAA;EAAA,MAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,MAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,UAAU,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
1
+ {"version":3,"file":"ngwr-comment.mjs","names":[],"sources":["../../../projects/lib/comment/comment.ts","../../../projects/lib/comment/comment.html","../../../projects/lib/comment/comment-composer.ts","../../../projects/lib/comment/comment-composer.html"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\n\nimport { useI18nText } from 'ngwr/i18n';\nimport { wrCheckStyles } from 'ngwr/utils';\n\nimport type { WrCommentSide, WrCommentVariant } from './types';\n\n/**\n * One entry in a discussion or a chat: avatar, author, time, body, actions and\n * nested replies. The data stays with the app: the component takes no array,\n * fetches nothing and sorts nothing. Everything is projected or passed as a\n * string, and the app formats the time itself (`wrDate` is the usual route).\n *\n * Slots, each optional:\n *\n * - `<wr-avatar>` or `[wrCommentAvatar]` for the avatar column\n * - `[wrCommentAuthor]` for an author drawn by the app (a profile link) in\n * place of the `author` input\n * - default content for the body\n * - `[wrCommentActions]` for the action row under the body\n * - nested `<wr-comment>` elements, or a `[wrCommentReplies]` wrapper, for\n * replies; they indent twice, and deeper levels sit flush with their parent\n * so a phone keeps room for the body\n *\n * The host is an `article` named after the author, replies sit in a `group`\n * named by `repliesLabel`, and no heading level is assumed: the page owns the\n * outline. Wrap a thread in a list and a chat in `role=\"log\"`.\n *\n * `variant=\"bubble\"` draws the body as a chat bubble; `side=\"end\"` puts it on\n * the reader's own side of the log.\n *\n * @example\n * ```html\n * <wr-comment author=\"Ann\" time=\"2 hours ago\" [datetime]=\"posted\">\n * <wr-avatar size=\"2.5rem\" alt=\"\">AN</wr-avatar>\n * Looks good to me.\n * <div wrCommentActions><button wr-btn size=\"sm\">Reply</button></div>\n * <wr-comment author=\"Bob\" time=\"an hour ago\">Thanks!</wr-comment>\n * </wr-comment>\n *\n * <wr-comment variant=\"bubble\" side=\"end\" time=\"09:41\">On my way.</wr-comment>\n * ```\n *\n * @see https://ngwr.dev/reference/components/comment\n */\n@Component({\n selector: 'wr-comment',\n templateUrl: './comment.html',\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-comment',\n '[class]': 'classes()',\n role: 'article',\n '[attr.aria-label]': 'author() || null',\n },\n})\nexport class WrComment {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('comment');\n }\n\n /**\n * Who wrote it. Also the article's accessible name. Leave it empty when a\n * `[wrCommentAuthor]` element draws the name instead.\n *\n * @default ''\n */\n readonly author = input<string>('');\n\n /**\n * When it was written, already formatted: the component does no date\n * formatting. Run a `Date` through the `wrDate` pipe on the way in.\n *\n * @default ''\n */\n readonly time = input<string>('');\n\n /**\n * The same moment, machine-readable. With it the time renders as a\n * `<time datetime>`: a `Date` is written as ISO 8601, a string as given.\n *\n * @default null\n */\n readonly datetime = input<Date | string | null>(null);\n\n /**\n * `row` is a discussion entry; `bubble` is a chat message, which takes no replies.\n *\n * @default 'row'\n */\n readonly variant = input<WrCommentVariant>('row');\n\n /**\n * Which inline side a bubble sits on. `end` is the reader's own message.\n * Ignored by the `row` variant.\n *\n * @default 'start'\n */\n readonly side = input<WrCommentSide>('start');\n\n /** Accessible name of the replies group. Falls back to `comment.replies`, then `'Replies'`. */\n readonly repliesLabel = input<string | null>(null);\n\n protected readonly resolvedRepliesLabel = useI18nText(this.repliesLabel, 'comment.replies', 'Replies');\n\n protected readonly isoDatetime = computed(() => {\n const value = this.datetime();\n if (value === null) return null;\n if (value instanceof Date) return Number.isNaN(value.getTime()) ? null : value.toISOString();\n return value || null;\n });\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.variant() === 'bubble') parts.push('wr-comment--bubble', `wr-comment--${this.side()}`);\n return parts.join(' ');\n });\n}\n","<div class=\"wr-comment__avatar\">\n <ng-content select=\"wr-avatar, [wrCommentAvatar]\" />\n</div>\n\n<div class=\"wr-comment__main\">\n <div class=\"wr-comment__head\">\n @if (author(); as name) {\n <span class=\"wr-comment__author\">{{ name }}</span>\n }\n <ng-content select=\"[wrCommentAuthor]\" />\n @if (time(); as printed) {\n @if (isoDatetime(); as iso) {\n <time class=\"wr-comment__time\" [attr.datetime]=\"iso\">{{ printed }}</time>\n } @else {\n <span class=\"wr-comment__time\">{{ printed }}</span>\n }\n }\n </div>\n\n <div class=\"wr-comment__body\"><ng-content /></div>\n\n <div class=\"wr-comment__actions\">\n <ng-content select=\"[wrCommentActions]\" />\n </div>\n</div>\n\n<div class=\"wr-comment__replies\" role=\"group\" [attr.aria-label]=\"resolvedRepliesLabel()\">\n <ng-content select=\"wr-comment, [wrCommentReplies]\" />\n</div>\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport {\n Component,\n ElementRef,\n ViewEncapsulation,\n computed,\n inject,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\nimport type { FormValueControl } from '@angular/forms/signals';\n\nimport { WrButton } from 'ngwr/button';\nimport { useI18nText } from 'ngwr/i18n';\nimport { WrTextarea } from 'ngwr/textarea';\nimport { wrIsComposing, WR_KEYS, wrCheckStyles } from 'ngwr/utils';\n\n/**\n * A chat composer: an autosizing field with a send button. Enter sends,\n * Shift+Enter adds a line, Ctrl+Enter and Cmd+Enter always send. The text is\n * emitted through `send` and the composer decides nothing about where it goes.\n *\n * A signal-forms native control: it implements `FormValueControl<string>`, so\n * `[formField]` binds straight to its `value` model. `[(value)]` works\n * standalone.\n *\n * What sends and what does not:\n *\n * - Whitespace-only text never sends; the button is disabled until there is\n * something to send, and Enter does nothing.\n * - `disabled`, `readonly` and `sending` all block sending and keep the text.\n * `sending` also marks the composer `aria-busy`; the field stays editable so\n * the next message can be typed.\n * - An Enter that confirms an IME composition never sends. Both signals are\n * read, `isComposing` and `keyCode === 229`, because Safari fires\n * `compositionend` before the keydown, so `isComposing` is already `false`\n * on the committing keystroke.\n *\n * The text is trimmed and, with `clearOnSend` (the default), the field is\n * cleared BEFORE `send` emits: an app whose request fails puts the text back\n * through the composer's own model, `composer.value.set(text)`, at any time,\n * and nothing overwrites it. A model bound with `[(value)]` takes that write\n * only once change detection has run in between: written back synchronously\n * from the handler, the bound expression still holds the value Angular last\n * bound, so the input is skipped. An app that would rather keep the text until\n * the request succeeds sets `[clearOnSend]=\"false\"` and clears the model\n * itself. Focus stays in the field after sending, unless the `send` handler\n * moved it.\n *\n * @example\n * ```html\n * <wr-comment-composer placeholder=\"Message\" [(value)]=\"draft\" (send)=\"post($event)\" />\n *\n * <wr-comment-composer [sending]=\"posting()\" [clearOnSend]=\"false\" (send)=\"post($event)\">\n * <button wrComposerActions wr-btn size=\"sm\">Attach</button>\n * </wr-comment-composer>\n * ```\n *\n * @see https://ngwr.dev/reference/components/comment\n */\n@Component({\n selector: 'wr-comment-composer',\n templateUrl: './comment-composer.html',\n imports: [WrButton, WrTextarea],\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-comment-composer',\n '[class]': 'classes()',\n '[attr.aria-busy]': 'sending() ? \"true\" : null',\n },\n})\nexport class WrCommentComposer implements FormValueControl<string> {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('comment');\n }\n\n /** Native placeholder text. @default '' */\n readonly placeholder = input<string>('');\n\n /**\n * Accessible name for the field. Falls back to the placeholder: the native\n * `<textarea>` lives inside the component, so a `<label for>` outside cannot\n * reach it.\n */\n readonly ariaLabel = input<string | null>(null);\n\n /** Accessible name of the send button. Falls back to `comment.send`, then `'Send'`. */\n readonly sendLabel = input<string | null>(null);\n\n /** Visible row count while the field is empty. @default 1 */\n readonly rows = input(1, { transform: (v: unknown): number => coerceNumberProperty(v, 1) });\n\n /** Rows the field grows to before it scrolls on its own. @default 6 */\n readonly maxRows = input(6, { transform: (v: unknown): number => coerceNumberProperty(v, 6) });\n\n /**\n * Disable the field and the button. Bound automatically from the field's\n * disabled state when used with `[formField]`. The text is kept.\n *\n * @default false\n */\n readonly disabled = input(false, { transform: coerceBooleanProperty });\n\n /**\n * Read-only state: the text is shown and announced, keeps its tab stop and\n * cannot be edited or sent.\n *\n * @default false\n */\n readonly readonly = input(false, { transform: coerceBooleanProperty });\n\n /**\n * A send is in flight: the button is disabled, the host is `aria-busy` and\n * Enter does nothing. The field stays editable and the text is kept.\n *\n * @default false\n */\n readonly sending = input(false, { transform: coerceBooleanProperty });\n\n /**\n * `true`: Enter sends and Shift+Enter adds a line. `false`: Enter adds a line\n * and only Ctrl+Enter or Cmd+Enter sends.\n *\n * @default true\n */\n readonly enterSends = input(true, { transform: coerceBooleanProperty });\n\n /**\n * Clear the field before `send` emits. With `false` the text stays until the\n * app clears the model itself.\n *\n * @default true\n */\n readonly clearOnSend = input(true, { transform: coerceBooleanProperty });\n\n /** The draft. Bound by `[formField]`, or two-way via `[(value)]`. */\n readonly value = model<string>('');\n\n /** Emitted on blur so a bound field can mark itself touched. */\n readonly touch = output<void>();\n\n /** The trimmed text, once per send. Where it goes is the app's business. */\n readonly send = output<string>();\n\n protected readonly resolvedSendLabel = useI18nText(this.sendLabel, 'comment.send', 'Send');\n\n /** Whether a send would go through right now. */\n protected readonly canSend = computed(\n () => this.value().trim() !== '' && !this.disabled() && !this.readonly() && !this.sending()\n );\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n if (this.disabled()) parts.push('wr-comment-composer--disabled');\n if (this.readonly()) parts.push('wr-comment-composer--readonly');\n if (this.sending()) parts.push('wr-comment-composer--sending');\n return parts.join(' ');\n });\n\n private readonly field = viewChild.required(WrTextarea);\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Focus the field, which is what Signal Forms calls to focus this control. */\n focus(options?: FocusOptions): void {\n this.field().focus(options);\n }\n\n /**\n * Send the current text, exactly as the button and Enter do: nothing happens\n * for whitespace-only text or while `disabled`, `readonly` or `sending`.\n */\n submit(): void {\n if (!this.canSend()) return;\n const text = this.value().trim();\n const hadFocus = this.host.nativeElement.contains(this.host.nativeElement.ownerDocument.activeElement);\n if (this.clearOnSend()) this.value.set('');\n this.send.emit(text);\n // A keyboard user is on the button, which sending just disabled: hand focus\n // back unless the handler moved it. A pointer never took it (see the template).\n if (hadFocus && this.host.nativeElement.contains(this.host.nativeElement.ownerDocument.activeElement)) {\n this.focus();\n }\n }\n\n protected onKeydown(event: KeyboardEvent): void {\n if (event.key !== WR_KEYS.ENTER || wrIsComposing(event)) return;\n const modifier = event.ctrlKey || event.metaKey;\n if (!modifier && (event.shiftKey || event.altKey || !this.enterSends())) return;\n // A sending Enter never reaches the field: on empty text it would only add\n // blank lines that the next send trims away.\n event.preventDefault();\n this.submit();\n }\n}\n","<wr-textarea\n class=\"wr-comment-composer__field\"\n autosize\n [rows]=\"rows()\"\n [maxRows]=\"maxRows()\"\n [resizable]=\"false\"\n [placeholder]=\"placeholder()\"\n [ariaLabel]=\"ariaLabel()\"\n [disabled]=\"disabled()\"\n [readonly]=\"readonly()\"\n [(value)]=\"value\"\n (touch)=\"touch.emit()\"\n (keydown)=\"onKeydown($event)\"\n/>\n\n<div class=\"wr-comment-composer__actions\">\n <ng-content select=\"[wrComposerActions]\" />\n</div>\n\n<button\n wr-btn\n type=\"button\"\n color=\"primary\"\n shape=\"pill\"\n class=\"wr-comment-composer__send\"\n [attr.aria-label]=\"resolvedSendLabel()\"\n [disabled]=\"!canSend()\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"submit()\"\n>\n <svg\n class=\"wr-icon__svg\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z\"\n />\n <path d=\"M6 12h16\" />\n </svg>\n</button>\n"],"mappings":";;;;;;;;;;;;;AA+DA,IAAa,YAAb,MAAa,UAAS;CACpB,cAAA;EACE,IAAI,OAAO,cAAc,eAAe,WAAW,cAAc,SAAS;CAC5E;CAQS,SAAS,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,SAAA,CAAA,+BAAA,CAAA,CAAA;CAQ1B,OAAO,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAQxB,WAAW,MAA4B,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;CAO5C,UAAU,MAAwB,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAQxC,OAAO,MAAqB,SAAQ,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAGpC,eAAe,MAAqB,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,eAAA,CAAA,+BAAA,CAAA,CAAA;CAE/B,uBA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aAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,GAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,aAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,OAAA;EAAA,CAAA;EAAA,MAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,MAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,UAAU,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
@@ -115,7 +115,7 @@ var WrCompare = class WrCompare {
115
115
  }
116
116
  static ɵfac = i0.ɵɵngDeclareFactory({
117
117
  minVersion: "12.0.0",
118
- version: "22.2.6",
118
+ version: "22.3.0",
119
119
  ngImport: i0,
120
120
  type: WrCompare,
121
121
  deps: [],
@@ -123,7 +123,7 @@ var WrCompare = class WrCompare {
123
123
  });
124
124
  static ɵcmp = i0.ɵɵngDeclareComponent({
125
125
  minVersion: "17.0.0",
126
- version: "22.2.6",
126
+ version: "22.3.0",
127
127
  type: WrCompare,
128
128
  isStandalone: true,
129
129
  selector: "wr-compare",
@@ -190,7 +190,7 @@ var WrCompare = class WrCompare {
190
190
  };
191
191
  i0.ɵɵngDeclareClassMetadata({
192
192
  minVersion: "12.0.0",
193
- version: "22.2.6",
193
+ version: "22.3.0",
194
194
  ngImport: i0,
195
195
  type: WrCompare,
196
196
  decorators: [{