@trismegisto/angular 3.3.2 → 3.3.4

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 (558) hide show
  1. package/fesm2022/trismegisto-angular-access-control.mjs +823 -0
  2. package/fesm2022/trismegisto-angular-access-control.mjs.map +1 -0
  3. package/fesm2022/trismegisto-angular-account-avatar.mjs +54 -3
  4. package/fesm2022/trismegisto-angular-account-avatar.mjs.map +1 -1
  5. package/fesm2022/trismegisto-angular-account-closure.mjs +221 -0
  6. package/fesm2022/trismegisto-angular-account-closure.mjs.map +1 -0
  7. package/fesm2022/trismegisto-angular-account-forms.mjs +924 -0
  8. package/fesm2022/trismegisto-angular-account-forms.mjs.map +1 -0
  9. package/fesm2022/trismegisto-angular-account-switcher.mjs +202 -0
  10. package/fesm2022/trismegisto-angular-account-switcher.mjs.map +1 -0
  11. package/fesm2022/trismegisto-angular-address.mjs +631 -0
  12. package/fesm2022/trismegisto-angular-address.mjs.map +1 -0
  13. package/fesm2022/trismegisto-angular-alert-history.mjs +294 -0
  14. package/fesm2022/trismegisto-angular-alert-history.mjs.map +1 -0
  15. package/fesm2022/trismegisto-angular-alert-rule-editor.mjs +450 -0
  16. package/fesm2022/trismegisto-angular-alert-rule-editor.mjs.map +1 -0
  17. package/fesm2022/trismegisto-angular-anchor-nav.mjs +157 -0
  18. package/fesm2022/trismegisto-angular-anchor-nav.mjs.map +1 -0
  19. package/fesm2022/trismegisto-angular-announcer.mjs +79 -0
  20. package/fesm2022/trismegisto-angular-announcer.mjs.map +1 -0
  21. package/fesm2022/trismegisto-angular-api-exchange.mjs +202 -0
  22. package/fesm2022/trismegisto-angular-api-exchange.mjs.map +1 -0
  23. package/fesm2022/trismegisto-angular-appointment-details.mjs +254 -0
  24. package/fesm2022/trismegisto-angular-appointment-details.mjs.map +1 -0
  25. package/fesm2022/trismegisto-angular-approval.mjs +242 -0
  26. package/fesm2022/trismegisto-angular-approval.mjs.map +1 -0
  27. package/fesm2022/trismegisto-angular-assignee.mjs +271 -0
  28. package/fesm2022/trismegisto-angular-assignee.mjs.map +1 -0
  29. package/fesm2022/trismegisto-angular-attachment.mjs +1 -1
  30. package/fesm2022/trismegisto-angular-attachment.mjs.map +1 -1
  31. package/fesm2022/trismegisto-angular-availability-editor.mjs +187 -0
  32. package/fesm2022/trismegisto-angular-availability-editor.mjs.map +1 -0
  33. package/fesm2022/trismegisto-angular-avatar-group.mjs +1 -1
  34. package/fesm2022/trismegisto-angular-avatar-group.mjs.map +1 -1
  35. package/fesm2022/trismegisto-angular-backlog.mjs +244 -0
  36. package/fesm2022/trismegisto-angular-backlog.mjs.map +1 -0
  37. package/fesm2022/trismegisto-angular-billing.mjs +1007 -0
  38. package/fesm2022/trismegisto-angular-billing.mjs.map +1 -0
  39. package/fesm2022/trismegisto-angular-bottom-navigation.mjs +203 -0
  40. package/fesm2022/trismegisto-angular-bottom-navigation.mjs.map +1 -0
  41. package/fesm2022/trismegisto-angular-bottom-sheet.mjs +428 -0
  42. package/fesm2022/trismegisto-angular-bottom-sheet.mjs.map +1 -0
  43. package/fesm2022/trismegisto-angular-card-container.mjs +1 -1
  44. package/fesm2022/trismegisto-angular-card-container.mjs.map +1 -1
  45. package/fesm2022/trismegisto-angular-cart.mjs +677 -0
  46. package/fesm2022/trismegisto-angular-cart.mjs.map +1 -0
  47. package/fesm2022/trismegisto-angular-cascader.mjs +419 -0
  48. package/fesm2022/trismegisto-angular-cascader.mjs.map +1 -0
  49. package/fesm2022/trismegisto-angular-change-history.mjs +148 -0
  50. package/fesm2022/trismegisto-angular-change-history.mjs.map +1 -0
  51. package/fesm2022/trismegisto-angular-code-diff.mjs +2 -2
  52. package/fesm2022/trismegisto-angular-code-diff.mjs.map +1 -1
  53. package/fesm2022/trismegisto-angular-color-picker.mjs +145 -0
  54. package/fesm2022/trismegisto-angular-color-picker.mjs.map +1 -0
  55. package/fesm2022/trismegisto-angular-combobox-multi.mjs +6 -4
  56. package/fesm2022/trismegisto-angular-combobox-multi.mjs.map +1 -1
  57. package/fesm2022/trismegisto-angular-commerce-format.mjs +103 -0
  58. package/fesm2022/trismegisto-angular-commerce-format.mjs.map +1 -0
  59. package/fesm2022/trismegisto-angular-connection-wizard.mjs +159 -0
  60. package/fesm2022/trismegisto-angular-connection-wizard.mjs.map +1 -0
  61. package/fesm2022/trismegisto-angular-consent.mjs +382 -0
  62. package/fesm2022/trismegisto-angular-consent.mjs.map +1 -0
  63. package/fesm2022/trismegisto-angular-credentials-form.mjs +461 -0
  64. package/fesm2022/trismegisto-angular-credentials-form.mjs.map +1 -0
  65. package/fesm2022/trismegisto-angular-data-grid.mjs +690 -18
  66. package/fesm2022/trismegisto-angular-data-grid.mjs.map +1 -1
  67. package/fesm2022/trismegisto-angular-data-source-picker.mjs +115 -0
  68. package/fesm2022/trismegisto-angular-data-source-picker.mjs.map +1 -0
  69. package/fesm2022/trismegisto-angular-date-picker.mjs +99 -10
  70. package/fesm2022/trismegisto-angular-date-picker.mjs.map +1 -1
  71. package/fesm2022/trismegisto-angular-datetime-picker.mjs +183 -0
  72. package/fesm2022/trismegisto-angular-datetime-picker.mjs.map +1 -0
  73. package/fesm2022/trismegisto-angular-deadline.mjs +326 -0
  74. package/fesm2022/trismegisto-angular-deadline.mjs.map +1 -0
  75. package/fesm2022/trismegisto-angular-deploy-pipeline.mjs +259 -0
  76. package/fesm2022/trismegisto-angular-deploy-pipeline.mjs.map +1 -0
  77. package/fesm2022/trismegisto-angular-drawer.mjs +11 -5
  78. package/fesm2022/trismegisto-angular-drawer.mjs.map +1 -1
  79. package/fesm2022/trismegisto-angular-endpoint-card.mjs +143 -0
  80. package/fesm2022/trismegisto-angular-endpoint-card.mjs.map +1 -0
  81. package/fesm2022/trismegisto-angular-entity-picker.mjs +246 -0
  82. package/fesm2022/trismegisto-angular-entity-picker.mjs.map +1 -0
  83. package/fesm2022/trismegisto-angular-environment-picker.mjs +217 -0
  84. package/fesm2022/trismegisto-angular-environment-picker.mjs.map +1 -0
  85. package/fesm2022/trismegisto-angular-event-calendar.mjs +234 -11
  86. package/fesm2022/trismegisto-angular-event-calendar.mjs.map +1 -1
  87. package/fesm2022/trismegisto-angular-execution-status.mjs +211 -0
  88. package/fesm2022/trismegisto-angular-execution-status.mjs.map +1 -0
  89. package/fesm2022/trismegisto-angular-feature-flags.mjs +153 -0
  90. package/fesm2022/trismegisto-angular-feature-flags.mjs.map +1 -0
  91. package/fesm2022/trismegisto-angular-field-mapping.mjs +178 -0
  92. package/fesm2022/trismegisto-angular-field-mapping.mjs.map +1 -0
  93. package/fesm2022/trismegisto-angular-file-list.mjs +222 -0
  94. package/fesm2022/trismegisto-angular-file-list.mjs.map +1 -0
  95. package/fesm2022/trismegisto-angular-file-permissions.mjs +273 -0
  96. package/fesm2022/trismegisto-angular-file-permissions.mjs.map +1 -0
  97. package/fesm2022/trismegisto-angular-file-upload.mjs +1 -1
  98. package/fesm2022/trismegisto-angular-file-upload.mjs.map +1 -1
  99. package/fesm2022/trismegisto-angular-file-versions.mjs +139 -0
  100. package/fesm2022/trismegisto-angular-file-versions.mjs.map +1 -0
  101. package/fesm2022/trismegisto-angular-filter-bar.mjs +1 -1
  102. package/fesm2022/trismegisto-angular-filter-bar.mjs.map +1 -1
  103. package/fesm2022/trismegisto-angular-finance.mjs +912 -0
  104. package/fesm2022/trismegisto-angular-finance.mjs.map +1 -0
  105. package/fesm2022/trismegisto-angular-form-error-summary.mjs +195 -0
  106. package/fesm2022/trismegisto-angular-form-error-summary.mjs.map +1 -0
  107. package/fesm2022/trismegisto-angular-forms.mjs +21 -3
  108. package/fesm2022/trismegisto-angular-forms.mjs.map +1 -1
  109. package/fesm2022/trismegisto-angular-gantt.mjs +453 -0
  110. package/fesm2022/trismegisto-angular-gantt.mjs.map +1 -0
  111. package/fesm2022/trismegisto-angular-header.mjs +22 -5
  112. package/fesm2022/trismegisto-angular-header.mjs.map +1 -1
  113. package/fesm2022/trismegisto-angular-health-status.mjs +204 -0
  114. package/fesm2022/trismegisto-angular-health-status.mjs.map +1 -0
  115. package/fesm2022/trismegisto-angular-icon.mjs +96 -1
  116. package/fesm2022/trismegisto-angular-icon.mjs.map +1 -1
  117. package/fesm2022/trismegisto-angular-identity-document.mjs +274 -0
  118. package/fesm2022/trismegisto-angular-identity-document.mjs.map +1 -0
  119. package/fesm2022/trismegisto-angular-image-gallery.mjs +320 -0
  120. package/fesm2022/trismegisto-angular-image-gallery.mjs.map +1 -0
  121. package/fesm2022/trismegisto-angular-incident.mjs +735 -0
  122. package/fesm2022/trismegisto-angular-incident.mjs.map +1 -0
  123. package/fesm2022/trismegisto-angular-input.mjs +2 -1
  124. package/fesm2022/trismegisto-angular-input.mjs.map +1 -1
  125. package/fesm2022/trismegisto-angular-integration-text.mjs +82 -0
  126. package/fesm2022/trismegisto-angular-integration-text.mjs.map +1 -0
  127. package/fesm2022/trismegisto-angular-integration.mjs +423 -0
  128. package/fesm2022/trismegisto-angular-integration.mjs.map +1 -0
  129. package/fesm2022/trismegisto-angular-invoice.mjs +381 -0
  130. package/fesm2022/trismegisto-angular-invoice.mjs.map +1 -0
  131. package/fesm2022/trismegisto-angular-json-viewer.mjs +388 -0
  132. package/fesm2022/trismegisto-angular-json-viewer.mjs.map +1 -0
  133. package/fesm2022/trismegisto-angular-kanban.mjs +49 -9
  134. package/fesm2022/trismegisto-angular-kanban.mjs.map +1 -1
  135. package/fesm2022/trismegisto-angular-level-badge.mjs +192 -0
  136. package/fesm2022/trismegisto-angular-level-badge.mjs.map +1 -0
  137. package/fesm2022/trismegisto-angular-location-select.mjs +213 -0
  138. package/fesm2022/trismegisto-angular-location-select.mjs.map +1 -0
  139. package/fesm2022/trismegisto-angular-log-viewer.mjs +260 -0
  140. package/fesm2022/trismegisto-angular-log-viewer.mjs.map +1 -0
  141. package/fesm2022/trismegisto-angular-maintenance-window.mjs +286 -0
  142. package/fesm2022/trismegisto-angular-maintenance-window.mjs.map +1 -0
  143. package/fesm2022/trismegisto-angular-member-list.mjs +303 -0
  144. package/fesm2022/trismegisto-angular-member-list.mjs.map +1 -0
  145. package/fesm2022/trismegisto-angular-mention-text.mjs +44 -0
  146. package/fesm2022/trismegisto-angular-mention-text.mjs.map +1 -0
  147. package/fesm2022/trismegisto-angular-menu.mjs +10 -4
  148. package/fesm2022/trismegisto-angular-menu.mjs.map +1 -1
  149. package/fesm2022/trismegisto-angular-message.mjs +132 -7
  150. package/fesm2022/trismegisto-angular-message.mjs.map +1 -1
  151. package/fesm2022/trismegisto-angular-metric-explorer.mjs +367 -0
  152. package/fesm2022/trismegisto-angular-metric-explorer.mjs.map +1 -0
  153. package/fesm2022/trismegisto-angular-modal.mjs +14 -5
  154. package/fesm2022/trismegisto-angular-modal.mjs.map +1 -1
  155. package/fesm2022/trismegisto-angular-monitoring-text.mjs +121 -0
  156. package/fesm2022/trismegisto-angular-monitoring-text.mjs.map +1 -0
  157. package/fesm2022/trismegisto-angular-month-picker.mjs +232 -0
  158. package/fesm2022/trismegisto-angular-month-picker.mjs.map +1 -0
  159. package/fesm2022/trismegisto-angular-navigation-menu.mjs +68 -9
  160. package/fesm2022/trismegisto-angular-navigation-menu.mjs.map +1 -1
  161. package/fesm2022/trismegisto-angular-number-field.mjs +275 -0
  162. package/fesm2022/trismegisto-angular-number-field.mjs.map +1 -0
  163. package/fesm2022/trismegisto-angular-observability-text.mjs +244 -0
  164. package/fesm2022/trismegisto-angular-observability-text.mjs.map +1 -0
  165. package/fesm2022/trismegisto-angular-order.mjs +443 -0
  166. package/fesm2022/trismegisto-angular-order.mjs.map +1 -0
  167. package/fesm2022/trismegisto-angular-org-chart.mjs +678 -0
  168. package/fesm2022/trismegisto-angular-org-chart.mjs.map +1 -0
  169. package/fesm2022/trismegisto-angular-password-strength.mjs +204 -0
  170. package/fesm2022/trismegisto-angular-password-strength.mjs.map +1 -0
  171. package/fesm2022/trismegisto-angular-payment-fields.mjs +818 -0
  172. package/fesm2022/trismegisto-angular-payment-fields.mjs.map +1 -0
  173. package/fesm2022/trismegisto-angular-payment-form.mjs +405 -0
  174. package/fesm2022/trismegisto-angular-payment-form.mjs.map +1 -0
  175. package/fesm2022/trismegisto-angular-payment-method.mjs +331 -0
  176. package/fesm2022/trismegisto-angular-payment-method.mjs.map +1 -0
  177. package/fesm2022/trismegisto-angular-pdf-viewer.mjs +113 -0
  178. package/fesm2022/trismegisto-angular-pdf-viewer.mjs.map +1 -0
  179. package/fesm2022/trismegisto-angular-permission-matrix.mjs +266 -0
  180. package/fesm2022/trismegisto-angular-permission-matrix.mjs.map +1 -0
  181. package/fesm2022/trismegisto-angular-pipes.mjs +171 -2
  182. package/fesm2022/trismegisto-angular-pipes.mjs.map +1 -1
  183. package/fesm2022/trismegisto-angular-popconfirm.mjs +239 -0
  184. package/fesm2022/trismegisto-angular-popconfirm.mjs.map +1 -0
  185. package/fesm2022/trismegisto-angular-popover.mjs +6 -2
  186. package/fesm2022/trismegisto-angular-popover.mjs.map +1 -1
  187. package/fesm2022/trismegisto-angular-price.mjs +276 -0
  188. package/fesm2022/trismegisto-angular-price.mjs.map +1 -0
  189. package/fesm2022/trismegisto-angular-product.mjs +800 -0
  190. package/fesm2022/trismegisto-angular-product.mjs.map +1 -0
  191. package/fesm2022/trismegisto-angular-progress.mjs +119 -4
  192. package/fesm2022/trismegisto-angular-progress.mjs.map +1 -1
  193. package/fesm2022/trismegisto-angular-rating.mjs +166 -0
  194. package/fesm2022/trismegisto-angular-rating.mjs.map +1 -0
  195. package/fesm2022/trismegisto-angular-reason-dialog.mjs +137 -0
  196. package/fesm2022/trismegisto-angular-reason-dialog.mjs.map +1 -0
  197. package/fesm2022/trismegisto-angular-recurrence-editor.mjs +429 -0
  198. package/fesm2022/trismegisto-angular-recurrence-editor.mjs.map +1 -0
  199. package/fesm2022/trismegisto-angular-release-timeline.mjs +175 -0
  200. package/fesm2022/trismegisto-angular-release-timeline.mjs.map +1 -0
  201. package/fesm2022/trismegisto-angular-report-history.mjs +251 -0
  202. package/fesm2022/trismegisto-angular-report-history.mjs.map +1 -0
  203. package/fesm2022/trismegisto-angular-report-schedule.mjs +240 -0
  204. package/fesm2022/trismegisto-angular-report-schedule.mjs.map +1 -0
  205. package/fesm2022/trismegisto-angular-resource-calendar.mjs +172 -0
  206. package/fesm2022/trismegisto-angular-resource-calendar.mjs.map +1 -0
  207. package/fesm2022/trismegisto-angular-resource-usage.mjs +208 -0
  208. package/fesm2022/trismegisto-angular-resource-usage.mjs.map +1 -0
  209. package/fesm2022/trismegisto-angular-return-request.mjs +316 -0
  210. package/fesm2022/trismegisto-angular-return-request.mjs.map +1 -0
  211. package/fesm2022/trismegisto-angular-rich-text.mjs +1 -1
  212. package/fesm2022/trismegisto-angular-rich-text.mjs.map +1 -1
  213. package/fesm2022/trismegisto-angular-risk-register.mjs +342 -0
  214. package/fesm2022/trismegisto-angular-risk-register.mjs.map +1 -0
  215. package/fesm2022/trismegisto-angular-save-status.mjs +166 -0
  216. package/fesm2022/trismegisto-angular-save-status.mjs.map +1 -0
  217. package/fesm2022/trismegisto-angular-service-map.mjs +471 -0
  218. package/fesm2022/trismegisto-angular-service-map.mjs.map +1 -0
  219. package/fesm2022/trismegisto-angular-service-status.mjs +278 -0
  220. package/fesm2022/trismegisto-angular-service-status.mjs.map +1 -0
  221. package/fesm2022/trismegisto-angular-shipping.mjs +410 -0
  222. package/fesm2022/trismegisto-angular-shipping.mjs.map +1 -0
  223. package/fesm2022/trismegisto-angular-sidebar.mjs +3 -0
  224. package/fesm2022/trismegisto-angular-sidebar.mjs.map +1 -1
  225. package/fesm2022/trismegisto-angular-skip-link.mjs +74 -0
  226. package/fesm2022/trismegisto-angular-skip-link.mjs.map +1 -0
  227. package/fesm2022/trismegisto-angular-sla-summary.mjs +349 -0
  228. package/fesm2022/trismegisto-angular-sla-summary.mjs.map +1 -0
  229. package/fesm2022/trismegisto-angular-slot-picker.mjs +229 -0
  230. package/fesm2022/trismegisto-angular-slot-picker.mjs.map +1 -0
  231. package/fesm2022/trismegisto-angular-split-button.mjs +190 -0
  232. package/fesm2022/trismegisto-angular-split-button.mjs.map +1 -0
  233. package/fesm2022/trismegisto-angular-status-badge.mjs +80 -0
  234. package/fesm2022/trismegisto-angular-status-badge.mjs.map +1 -0
  235. package/fesm2022/trismegisto-angular-status-select.mjs +156 -0
  236. package/fesm2022/trismegisto-angular-status-select.mjs.map +1 -0
  237. package/fesm2022/trismegisto-angular-storage-usage.mjs +136 -0
  238. package/fesm2022/trismegisto-angular-storage-usage.mjs.map +1 -0
  239. package/fesm2022/trismegisto-angular-swimlane-board.mjs +237 -0
  240. package/fesm2022/trismegisto-angular-swimlane-board.mjs.map +1 -0
  241. package/fesm2022/trismegisto-angular-sync-status.mjs +269 -0
  242. package/fesm2022/trismegisto-angular-sync-status.mjs.map +1 -0
  243. package/fesm2022/trismegisto-angular-tag-input.mjs +345 -0
  244. package/fesm2022/trismegisto-angular-tag-input.mjs.map +1 -0
  245. package/fesm2022/trismegisto-angular-task-card.mjs +315 -0
  246. package/fesm2022/trismegisto-angular-task-card.mjs.map +1 -0
  247. package/fesm2022/trismegisto-angular-task-detail.mjs +737 -0
  248. package/fesm2022/trismegisto-angular-task-detail.mjs.map +1 -0
  249. package/fesm2022/trismegisto-angular-textarea.mjs +129 -8
  250. package/fesm2022/trismegisto-angular-textarea.mjs.map +1 -1
  251. package/fesm2022/trismegisto-angular-time-range.mjs +201 -0
  252. package/fesm2022/trismegisto-angular-time-range.mjs.map +1 -0
  253. package/fesm2022/trismegisto-angular-toast.mjs +135 -34
  254. package/fesm2022/trismegisto-angular-toast.mjs.map +1 -1
  255. package/fesm2022/trismegisto-angular-tour.mjs +385 -0
  256. package/fesm2022/trismegisto-angular-tour.mjs.map +1 -0
  257. package/fesm2022/trismegisto-angular-trace-waterfall.mjs +511 -0
  258. package/fesm2022/trismegisto-angular-trace-waterfall.mjs.map +1 -0
  259. package/fesm2022/trismegisto-angular-transaction.mjs +616 -0
  260. package/fesm2022/trismegisto-angular-transaction.mjs.map +1 -0
  261. package/fesm2022/trismegisto-angular-tree-select.mjs +444 -0
  262. package/fesm2022/trismegisto-angular-tree-select.mjs.map +1 -0
  263. package/fesm2022/trismegisto-angular-tree.mjs +1 -1
  264. package/fesm2022/trismegisto-angular-tree.mjs.map +1 -1
  265. package/fesm2022/trismegisto-angular-unsaved-changes.mjs +147 -0
  266. package/fesm2022/trismegisto-angular-unsaved-changes.mjs.map +1 -0
  267. package/fesm2022/trismegisto-angular-uptime-bar.mjs +271 -0
  268. package/fesm2022/trismegisto-angular-uptime-bar.mjs.map +1 -0
  269. package/fesm2022/trismegisto-angular-user-card.mjs +298 -0
  270. package/fesm2022/trismegisto-angular-user-card.mjs.map +1 -0
  271. package/fesm2022/trismegisto-angular-vehicle-plate.mjs +245 -0
  272. package/fesm2022/trismegisto-angular-vehicle-plate.mjs.map +1 -0
  273. package/fesm2022/trismegisto-angular-webhook.mjs +358 -0
  274. package/fesm2022/trismegisto-angular-webhook.mjs.map +1 -0
  275. package/fesm2022/trismegisto-angular-wizard.mjs +2 -2
  276. package/fesm2022/trismegisto-angular-wizard.mjs.map +1 -1
  277. package/fesm2022/trismegisto-angular-workflow-diagram.mjs +441 -0
  278. package/fesm2022/trismegisto-angular-workflow-diagram.mjs.map +1 -0
  279. package/fesm2022/trismegisto-angular-workflow-i18n.mjs +890 -0
  280. package/fesm2022/trismegisto-angular-workflow-i18n.mjs.map +1 -0
  281. package/fesm2022/trismegisto-angular-workload.mjs +172 -0
  282. package/fesm2022/trismegisto-angular-workload.mjs.map +1 -0
  283. package/fesm2022/trismegisto-angular-workspace-persistence.mjs +3 -2
  284. package/fesm2022/trismegisto-angular-workspace-persistence.mjs.map +1 -1
  285. package/fesm2022/trismegisto-angular-workspace.mjs +229 -44
  286. package/fesm2022/trismegisto-angular-workspace.mjs.map +1 -1
  287. package/fesm2022/trismegisto-angular.mjs +117 -7
  288. package/fesm2022/trismegisto-angular.mjs.map +1 -1
  289. package/package.json +449 -5
  290. package/types/trismegisto-angular-access-control.d.ts +330 -0
  291. package/types/trismegisto-angular-access-control.d.ts.map +1 -0
  292. package/types/trismegisto-angular-account-avatar.d.ts +18 -1
  293. package/types/trismegisto-angular-account-avatar.d.ts.map +1 -1
  294. package/types/trismegisto-angular-account-closure.d.ts +85 -0
  295. package/types/trismegisto-angular-account-closure.d.ts.map +1 -0
  296. package/types/trismegisto-angular-account-forms.d.ts +381 -0
  297. package/types/trismegisto-angular-account-forms.d.ts.map +1 -0
  298. package/types/trismegisto-angular-account-switcher.d.ts +60 -0
  299. package/types/trismegisto-angular-account-switcher.d.ts.map +1 -0
  300. package/types/trismegisto-angular-address.d.ts +267 -0
  301. package/types/trismegisto-angular-address.d.ts.map +1 -0
  302. package/types/trismegisto-angular-alert-history.d.ts +77 -0
  303. package/types/trismegisto-angular-alert-history.d.ts.map +1 -0
  304. package/types/trismegisto-angular-alert-rule-editor.d.ts +123 -0
  305. package/types/trismegisto-angular-alert-rule-editor.d.ts.map +1 -0
  306. package/types/trismegisto-angular-anchor-nav.d.ts +78 -0
  307. package/types/trismegisto-angular-anchor-nav.d.ts.map +1 -0
  308. package/types/trismegisto-angular-announcer.d.ts +49 -0
  309. package/types/trismegisto-angular-announcer.d.ts.map +1 -0
  310. package/types/trismegisto-angular-api-exchange.d.ts +155 -0
  311. package/types/trismegisto-angular-api-exchange.d.ts.map +1 -0
  312. package/types/trismegisto-angular-appointment-details.d.ts +123 -0
  313. package/types/trismegisto-angular-appointment-details.d.ts.map +1 -0
  314. package/types/trismegisto-angular-approval.d.ts +109 -0
  315. package/types/trismegisto-angular-approval.d.ts.map +1 -0
  316. package/types/trismegisto-angular-assignee.d.ts +120 -0
  317. package/types/trismegisto-angular-assignee.d.ts.map +1 -0
  318. package/types/trismegisto-angular-availability-editor.d.ts +100 -0
  319. package/types/trismegisto-angular-availability-editor.d.ts.map +1 -0
  320. package/types/trismegisto-angular-backlog.d.ts +98 -0
  321. package/types/trismegisto-angular-backlog.d.ts.map +1 -0
  322. package/types/trismegisto-angular-billing.d.ts +851 -0
  323. package/types/trismegisto-angular-billing.d.ts.map +1 -0
  324. package/types/trismegisto-angular-bottom-navigation.d.ts +83 -0
  325. package/types/trismegisto-angular-bottom-navigation.d.ts.map +1 -0
  326. package/types/trismegisto-angular-bottom-sheet.d.ts +121 -0
  327. package/types/trismegisto-angular-bottom-sheet.d.ts.map +1 -0
  328. package/types/trismegisto-angular-cart.d.ts +267 -0
  329. package/types/trismegisto-angular-cart.d.ts.map +1 -0
  330. package/types/trismegisto-angular-cascader.d.ts +133 -0
  331. package/types/trismegisto-angular-cascader.d.ts.map +1 -0
  332. package/types/trismegisto-angular-change-history.d.ts +58 -0
  333. package/types/trismegisto-angular-change-history.d.ts.map +1 -0
  334. package/types/trismegisto-angular-color-picker.d.ts +73 -0
  335. package/types/trismegisto-angular-color-picker.d.ts.map +1 -0
  336. package/types/trismegisto-angular-combobox-multi.d.ts +3 -1
  337. package/types/trismegisto-angular-combobox-multi.d.ts.map +1 -1
  338. package/types/trismegisto-angular-commerce-format.d.ts +43 -0
  339. package/types/trismegisto-angular-commerce-format.d.ts.map +1 -0
  340. package/types/trismegisto-angular-connection-wizard.d.ts +110 -0
  341. package/types/trismegisto-angular-connection-wizard.d.ts.map +1 -0
  342. package/types/trismegisto-angular-consent.d.ts +142 -0
  343. package/types/trismegisto-angular-consent.d.ts.map +1 -0
  344. package/types/trismegisto-angular-credentials-form.d.ts +242 -0
  345. package/types/trismegisto-angular-credentials-form.d.ts.map +1 -0
  346. package/types/trismegisto-angular-data-grid.d.ts +382 -48
  347. package/types/trismegisto-angular-data-grid.d.ts.map +1 -1
  348. package/types/trismegisto-angular-data-source-picker.d.ts +73 -0
  349. package/types/trismegisto-angular-data-source-picker.d.ts.map +1 -0
  350. package/types/trismegisto-angular-date-picker.d.ts +75 -4
  351. package/types/trismegisto-angular-date-picker.d.ts.map +1 -1
  352. package/types/trismegisto-angular-datetime-picker.d.ts +89 -0
  353. package/types/trismegisto-angular-datetime-picker.d.ts.map +1 -0
  354. package/types/trismegisto-angular-deadline.d.ts +143 -0
  355. package/types/trismegisto-angular-deadline.d.ts.map +1 -0
  356. package/types/trismegisto-angular-deploy-pipeline.d.ts +100 -0
  357. package/types/trismegisto-angular-deploy-pipeline.d.ts.map +1 -0
  358. package/types/trismegisto-angular-drawer.d.ts +6 -3
  359. package/types/trismegisto-angular-drawer.d.ts.map +1 -1
  360. package/types/trismegisto-angular-endpoint-card.d.ts +113 -0
  361. package/types/trismegisto-angular-endpoint-card.d.ts.map +1 -0
  362. package/types/trismegisto-angular-entity-picker.d.ts +88 -0
  363. package/types/trismegisto-angular-entity-picker.d.ts.map +1 -0
  364. package/types/trismegisto-angular-environment-picker.d.ts +72 -0
  365. package/types/trismegisto-angular-environment-picker.d.ts.map +1 -0
  366. package/types/trismegisto-angular-event-calendar.d.ts +52 -6
  367. package/types/trismegisto-angular-event-calendar.d.ts.map +1 -1
  368. package/types/trismegisto-angular-execution-status.d.ts +76 -0
  369. package/types/trismegisto-angular-execution-status.d.ts.map +1 -0
  370. package/types/trismegisto-angular-feature-flags.d.ts +97 -0
  371. package/types/trismegisto-angular-feature-flags.d.ts.map +1 -0
  372. package/types/trismegisto-angular-field-mapping.d.ts +118 -0
  373. package/types/trismegisto-angular-field-mapping.d.ts.map +1 -0
  374. package/types/trismegisto-angular-file-list.d.ts +136 -0
  375. package/types/trismegisto-angular-file-list.d.ts.map +1 -0
  376. package/types/trismegisto-angular-file-permissions.d.ts +171 -0
  377. package/types/trismegisto-angular-file-permissions.d.ts.map +1 -0
  378. package/types/trismegisto-angular-file-versions.d.ts +93 -0
  379. package/types/trismegisto-angular-file-versions.d.ts.map +1 -0
  380. package/types/trismegisto-angular-finance.d.ts +623 -0
  381. package/types/trismegisto-angular-finance.d.ts.map +1 -0
  382. package/types/trismegisto-angular-form-error-summary.d.ts +98 -0
  383. package/types/trismegisto-angular-form-error-summary.d.ts.map +1 -0
  384. package/types/trismegisto-angular-forms.d.ts +14 -1
  385. package/types/trismegisto-angular-forms.d.ts.map +1 -1
  386. package/types/trismegisto-angular-gantt.d.ts +128 -0
  387. package/types/trismegisto-angular-gantt.d.ts.map +1 -0
  388. package/types/trismegisto-angular-header.d.ts +5 -1
  389. package/types/trismegisto-angular-header.d.ts.map +1 -1
  390. package/types/trismegisto-angular-health-status.d.ts +71 -0
  391. package/types/trismegisto-angular-health-status.d.ts.map +1 -0
  392. package/types/trismegisto-angular-icon.d.ts +96 -1
  393. package/types/trismegisto-angular-icon.d.ts.map +1 -1
  394. package/types/trismegisto-angular-identity-document.d.ts +112 -0
  395. package/types/trismegisto-angular-identity-document.d.ts.map +1 -0
  396. package/types/trismegisto-angular-image-gallery.d.ts +129 -0
  397. package/types/trismegisto-angular-image-gallery.d.ts.map +1 -0
  398. package/types/trismegisto-angular-incident.d.ts +212 -0
  399. package/types/trismegisto-angular-incident.d.ts.map +1 -0
  400. package/types/trismegisto-angular-input.d.ts.map +1 -1
  401. package/types/trismegisto-angular-integration-text.d.ts +42 -0
  402. package/types/trismegisto-angular-integration-text.d.ts.map +1 -0
  403. package/types/trismegisto-angular-integration.d.ts +283 -0
  404. package/types/trismegisto-angular-integration.d.ts.map +1 -0
  405. package/types/trismegisto-angular-invoice.d.ts +221 -0
  406. package/types/trismegisto-angular-invoice.d.ts.map +1 -0
  407. package/types/trismegisto-angular-json-viewer.d.ts +117 -0
  408. package/types/trismegisto-angular-json-viewer.d.ts.map +1 -0
  409. package/types/trismegisto-angular-kanban.d.ts +38 -3
  410. package/types/trismegisto-angular-kanban.d.ts.map +1 -1
  411. package/types/trismegisto-angular-level-badge.d.ts +87 -0
  412. package/types/trismegisto-angular-level-badge.d.ts.map +1 -0
  413. package/types/trismegisto-angular-location-select.d.ts +80 -0
  414. package/types/trismegisto-angular-location-select.d.ts.map +1 -0
  415. package/types/trismegisto-angular-log-viewer.d.ts +125 -0
  416. package/types/trismegisto-angular-log-viewer.d.ts.map +1 -0
  417. package/types/trismegisto-angular-maintenance-window.d.ts +89 -0
  418. package/types/trismegisto-angular-maintenance-window.d.ts.map +1 -0
  419. package/types/trismegisto-angular-member-list.d.ts +80 -0
  420. package/types/trismegisto-angular-member-list.d.ts.map +1 -0
  421. package/types/trismegisto-angular-mention-text.d.ts +28 -0
  422. package/types/trismegisto-angular-mention-text.d.ts.map +1 -0
  423. package/types/trismegisto-angular-menu.d.ts +4 -1
  424. package/types/trismegisto-angular-menu.d.ts.map +1 -1
  425. package/types/trismegisto-angular-message.d.ts +31 -2
  426. package/types/trismegisto-angular-message.d.ts.map +1 -1
  427. package/types/trismegisto-angular-metric-explorer.d.ts +117 -0
  428. package/types/trismegisto-angular-metric-explorer.d.ts.map +1 -0
  429. package/types/trismegisto-angular-modal.d.ts +1 -0
  430. package/types/trismegisto-angular-modal.d.ts.map +1 -1
  431. package/types/trismegisto-angular-monitoring-text.d.ts +57 -0
  432. package/types/trismegisto-angular-monitoring-text.d.ts.map +1 -0
  433. package/types/trismegisto-angular-month-picker.d.ts +104 -0
  434. package/types/trismegisto-angular-month-picker.d.ts.map +1 -0
  435. package/types/trismegisto-angular-navigation-menu.d.ts +35 -2
  436. package/types/trismegisto-angular-navigation-menu.d.ts.map +1 -1
  437. package/types/trismegisto-angular-number-field.d.ts +148 -0
  438. package/types/trismegisto-angular-number-field.d.ts.map +1 -0
  439. package/types/trismegisto-angular-observability-text.d.ts +85 -0
  440. package/types/trismegisto-angular-observability-text.d.ts.map +1 -0
  441. package/types/trismegisto-angular-order.d.ts +268 -0
  442. package/types/trismegisto-angular-order.d.ts.map +1 -0
  443. package/types/trismegisto-angular-org-chart.d.ts +145 -0
  444. package/types/trismegisto-angular-org-chart.d.ts.map +1 -0
  445. package/types/trismegisto-angular-password-strength.d.ts +74 -0
  446. package/types/trismegisto-angular-password-strength.d.ts.map +1 -0
  447. package/types/trismegisto-angular-payment-fields.d.ts +450 -0
  448. package/types/trismegisto-angular-payment-fields.d.ts.map +1 -0
  449. package/types/trismegisto-angular-payment-form.d.ts +189 -0
  450. package/types/trismegisto-angular-payment-form.d.ts.map +1 -0
  451. package/types/trismegisto-angular-payment-method.d.ts +238 -0
  452. package/types/trismegisto-angular-payment-method.d.ts.map +1 -0
  453. package/types/trismegisto-angular-pdf-viewer.d.ts +70 -0
  454. package/types/trismegisto-angular-pdf-viewer.d.ts.map +1 -0
  455. package/types/trismegisto-angular-permission-matrix.d.ts +70 -0
  456. package/types/trismegisto-angular-permission-matrix.d.ts.map +1 -0
  457. package/types/trismegisto-angular-pipes.d.ts +108 -2
  458. package/types/trismegisto-angular-pipes.d.ts.map +1 -1
  459. package/types/trismegisto-angular-popconfirm.d.ts +115 -0
  460. package/types/trismegisto-angular-popconfirm.d.ts.map +1 -0
  461. package/types/trismegisto-angular-popover.d.ts +3 -1
  462. package/types/trismegisto-angular-popover.d.ts.map +1 -1
  463. package/types/trismegisto-angular-price.d.ts +185 -0
  464. package/types/trismegisto-angular-price.d.ts.map +1 -0
  465. package/types/trismegisto-angular-product.d.ts +391 -0
  466. package/types/trismegisto-angular-product.d.ts.map +1 -0
  467. package/types/trismegisto-angular-progress.d.ts +20 -3
  468. package/types/trismegisto-angular-progress.d.ts.map +1 -1
  469. package/types/trismegisto-angular-rating.d.ts +83 -0
  470. package/types/trismegisto-angular-rating.d.ts.map +1 -0
  471. package/types/trismegisto-angular-reason-dialog.d.ts +65 -0
  472. package/types/trismegisto-angular-reason-dialog.d.ts.map +1 -0
  473. package/types/trismegisto-angular-recurrence-editor.d.ts +151 -0
  474. package/types/trismegisto-angular-recurrence-editor.d.ts.map +1 -0
  475. package/types/trismegisto-angular-release-timeline.d.ts +79 -0
  476. package/types/trismegisto-angular-release-timeline.d.ts.map +1 -0
  477. package/types/trismegisto-angular-report-history.d.ts +144 -0
  478. package/types/trismegisto-angular-report-history.d.ts.map +1 -0
  479. package/types/trismegisto-angular-report-schedule.d.ts +138 -0
  480. package/types/trismegisto-angular-report-schedule.d.ts.map +1 -0
  481. package/types/trismegisto-angular-resource-calendar.d.ts +107 -0
  482. package/types/trismegisto-angular-resource-calendar.d.ts.map +1 -0
  483. package/types/trismegisto-angular-resource-usage.d.ts +91 -0
  484. package/types/trismegisto-angular-resource-usage.d.ts.map +1 -0
  485. package/types/trismegisto-angular-return-request.d.ts +158 -0
  486. package/types/trismegisto-angular-return-request.d.ts.map +1 -0
  487. package/types/trismegisto-angular-risk-register.d.ts +130 -0
  488. package/types/trismegisto-angular-risk-register.d.ts.map +1 -0
  489. package/types/trismegisto-angular-save-status.d.ts +67 -0
  490. package/types/trismegisto-angular-save-status.d.ts.map +1 -0
  491. package/types/trismegisto-angular-service-map.d.ts +111 -0
  492. package/types/trismegisto-angular-service-map.d.ts.map +1 -0
  493. package/types/trismegisto-angular-service-status.d.ts +82 -0
  494. package/types/trismegisto-angular-service-status.d.ts.map +1 -0
  495. package/types/trismegisto-angular-shipping.d.ts +221 -0
  496. package/types/trismegisto-angular-shipping.d.ts.map +1 -0
  497. package/types/trismegisto-angular-sidebar.d.ts +1 -0
  498. package/types/trismegisto-angular-sidebar.d.ts.map +1 -1
  499. package/types/trismegisto-angular-skip-link.d.ts +53 -0
  500. package/types/trismegisto-angular-skip-link.d.ts.map +1 -0
  501. package/types/trismegisto-angular-sla-summary.d.ts +104 -0
  502. package/types/trismegisto-angular-sla-summary.d.ts.map +1 -0
  503. package/types/trismegisto-angular-slot-picker.d.ts +128 -0
  504. package/types/trismegisto-angular-slot-picker.d.ts.map +1 -0
  505. package/types/trismegisto-angular-split-button.d.ts +81 -0
  506. package/types/trismegisto-angular-split-button.d.ts.map +1 -0
  507. package/types/trismegisto-angular-status-badge.d.ts +40 -0
  508. package/types/trismegisto-angular-status-badge.d.ts.map +1 -0
  509. package/types/trismegisto-angular-status-select.d.ts +76 -0
  510. package/types/trismegisto-angular-status-select.d.ts.map +1 -0
  511. package/types/trismegisto-angular-storage-usage.d.ts +82 -0
  512. package/types/trismegisto-angular-storage-usage.d.ts.map +1 -0
  513. package/types/trismegisto-angular-swimlane-board.d.ts +114 -0
  514. package/types/trismegisto-angular-swimlane-board.d.ts.map +1 -0
  515. package/types/trismegisto-angular-sync-status.d.ts +191 -0
  516. package/types/trismegisto-angular-sync-status.d.ts.map +1 -0
  517. package/types/trismegisto-angular-tag-input.d.ts +121 -0
  518. package/types/trismegisto-angular-tag-input.d.ts.map +1 -0
  519. package/types/trismegisto-angular-task-card.d.ts +106 -0
  520. package/types/trismegisto-angular-task-card.d.ts.map +1 -0
  521. package/types/trismegisto-angular-task-detail.d.ts +248 -0
  522. package/types/trismegisto-angular-task-detail.d.ts.map +1 -0
  523. package/types/trismegisto-angular-textarea.d.ts +31 -1
  524. package/types/trismegisto-angular-textarea.d.ts.map +1 -1
  525. package/types/trismegisto-angular-time-range.d.ts +92 -0
  526. package/types/trismegisto-angular-time-range.d.ts.map +1 -0
  527. package/types/trismegisto-angular-toast.d.ts +50 -11
  528. package/types/trismegisto-angular-toast.d.ts.map +1 -1
  529. package/types/trismegisto-angular-tour.d.ts +116 -0
  530. package/types/trismegisto-angular-tour.d.ts.map +1 -0
  531. package/types/trismegisto-angular-trace-waterfall.d.ts +111 -0
  532. package/types/trismegisto-angular-trace-waterfall.d.ts.map +1 -0
  533. package/types/trismegisto-angular-transaction.d.ts +542 -0
  534. package/types/trismegisto-angular-transaction.d.ts.map +1 -0
  535. package/types/trismegisto-angular-tree-select.d.ts +197 -0
  536. package/types/trismegisto-angular-tree-select.d.ts.map +1 -0
  537. package/types/trismegisto-angular-unsaved-changes.d.ts +101 -0
  538. package/types/trismegisto-angular-unsaved-changes.d.ts.map +1 -0
  539. package/types/trismegisto-angular-uptime-bar.d.ts +90 -0
  540. package/types/trismegisto-angular-uptime-bar.d.ts.map +1 -0
  541. package/types/trismegisto-angular-user-card.d.ts +126 -0
  542. package/types/trismegisto-angular-user-card.d.ts.map +1 -0
  543. package/types/trismegisto-angular-vehicle-plate.d.ts +107 -0
  544. package/types/trismegisto-angular-vehicle-plate.d.ts.map +1 -0
  545. package/types/trismegisto-angular-webhook.d.ts +244 -0
  546. package/types/trismegisto-angular-webhook.d.ts.map +1 -0
  547. package/types/trismegisto-angular-workflow-diagram.d.ts +136 -0
  548. package/types/trismegisto-angular-workflow-diagram.d.ts.map +1 -0
  549. package/types/trismegisto-angular-workflow-i18n.d.ts +358 -0
  550. package/types/trismegisto-angular-workflow-i18n.d.ts.map +1 -0
  551. package/types/trismegisto-angular-workload.d.ts +64 -0
  552. package/types/trismegisto-angular-workload.d.ts.map +1 -0
  553. package/types/trismegisto-angular-workspace-persistence.d.ts +5 -4
  554. package/types/trismegisto-angular-workspace-persistence.d.ts.map +1 -1
  555. package/types/trismegisto-angular-workspace.d.ts +79 -7
  556. package/types/trismegisto-angular-workspace.d.ts.map +1 -1
  557. package/types/trismegisto-angular.d.ts +120 -10
  558. package/types/trismegisto-angular.d.ts.map +1 -1
@@ -1,14 +1,39 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, model, output, inject, ElementRef, Injector, PLATFORM_ID, viewChild, computed, signal, effect, untracked, afterNextRender, DestroyRef, ChangeDetectionStrategy, Component } from '@angular/core';
2
+ import { input, model, booleanAttribute, output, inject, ElementRef, Injector, PLATFORM_ID, viewChild, computed, signal, effect, untracked, afterNextRender, DestroyRef, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { isPlatformBrowser, NgTemplateOutlet } from '@angular/common';
4
- import { eventCalendarToday, EVENT_CALENDAR_VIEWS, firstDayOfWeek, parseIso, normalizeCalendarEvents, eventCalendarRange, eventCalendarTitle, weekdayNames, eventCalendarMonth, eventCalendarTimeGrid, rangeDays, eventCalendarAgenda, addDays, formatHourLabel, formatMessage, shiftEventCalendarDate, calendarKeyStep, addMonths, weekEdge, formatEventTime, isBannerEntry, formatWallClock, formatCalendarDate, pluralMessage } from '@trismegisto/primitives';
5
- import { HERMES_MESSAGES } from '@trismegisto/angular/i18n';
4
+ import { eventCalendarToday, EVENT_CALENDAR_VIEWS, firstDayOfWeek, parseIso, eventCalendarRange, normalizeCalendarEvents, expandCalendarEvents, eventCalendarTitle, weekdayNames, eventCalendarMonth, eventCalendarTimeGrid, rangeDays, eventCalendarAgenda, addDays, formatHourLabel, formatMessage, shiftEventCalendarDate, isCalendarEventEditable, dayDiff, snapMinutes, resizeCalendarEntry, moveCalendarEntry, normalizeCalendarEvent, calendarKeyStep, addMonths, weekEdge, formatEventTime, isBannerEntry, formatWallClock, formatCalendarDate, pluralMessage } from '@trismegisto/primitives';
5
+ import { HERMES_MESSAGES, HermesI18nService } from '@trismegisto/angular/i18n';
6
+ import { isRtl } from '@trismegisto/angular/direction';
6
7
  import { ButtonComponent } from '@trismegisto/angular/button';
7
8
  import { IconButtonComponent } from '@trismegisto/angular/icon-button';
8
- import { ICON_ANGLE, ICON_LIST, useHermesIcons } from '@trismegisto/angular/icon';
9
+ import { ICON_ANGLE, ICON_LIST, ICON_RESIZE, useHermesIcons } from '@trismegisto/angular/icon';
9
10
  import { SegmentedControlComponent } from '@trismegisto/angular/segmented-control';
10
11
 
11
- const EVENT_CALENDAR_ICONS = [ICON_ANGLE, ICON_LIST];
12
+ const EVENT_CALENDAR_EDITING_MESSAGES_PT_BR = {
13
+ hint: 'Alt + setas move o evento; Alt + Shift + setas muda a duração.',
14
+ moved: '{title} movido: {time}',
15
+ resized: '{title} com nova duração: {time}',
16
+ recurring: 'evento recorrente',
17
+ pending: 'aguardando resposta',
18
+ };
19
+ const EVENT_CALENDAR_EDITING_MESSAGES_EN = {
20
+ hint: 'Alt + arrows moves the event; Alt + Shift + arrows changes its length.',
21
+ moved: '{title} moved: {time}',
22
+ resized: '{title} has a new length: {time}',
23
+ recurring: 'recurring event',
24
+ pending: 'awaiting reply',
25
+ };
26
+ const EVENT_CALENDAR_EDITING_MESSAGES_ES = {
27
+ hint: 'Alt + flechas mueve el evento; Alt + Mayús + flechas cambia la duración.',
28
+ moved: '{title} movido: {time}',
29
+ resized: '{title} con nueva duración: {time}',
30
+ recurring: 'evento periódico',
31
+ pending: 'esperando respuesta',
32
+ };
33
+ /** Catálogos por idioma, no formato do `HermesI18nService.pick`. */
34
+ const EVENT_CALENDAR_EDITING_MESSAGES = { 'pt-BR': EVENT_CALENDAR_EDITING_MESSAGES_PT_BR, en: EVENT_CALENDAR_EDITING_MESSAGES_EN, es: EVENT_CALENDAR_EDITING_MESSAGES_ES };
35
+
36
+ const EVENT_CALENDAR_ICONS = [ICON_ANGLE, ICON_LIST, ICON_RESIZE];
12
37
 
13
38
  let sequence = 0;
14
39
  /**
@@ -34,6 +59,17 @@ let sequence = 0;
34
59
  * - Nomes de dia/mês e horários saem do `Intl` no idioma do `HermesI18nService`; a semana começa no dia
35
60
  * do idioma (`firstDayOfWeek`), ou em `weekStartsOn`.
36
61
  *
62
+ * **Recorrência (opt-in por dado)**: evento com `recurrence` (regra ou texto RRULE) vira as ocorrências do
63
+ * período visível (`expandCalendarEvents`); cada uma chega em `eventClick` com `seriesId` e `occurrenceDate`.
64
+ * Sem nenhum evento com `recurrence`, nada muda.
65
+ *
66
+ * **Arrastar e redimensionar (opt-in, `editable`)**: na semana/dia, arrastar move o evento (horário e dia) e a
67
+ * borda de baixo muda a duração, em passos de `snapMinutes`; no mês e na faixa de dia inteiro, arrastar troca o
68
+ * dia. Pelo teclado, no evento focado: Alt + setas para cima/baixo movem `snapMinutes`, Alt + esquerda/direita
69
+ * um dia, Alt + Shift + cima/baixo mudam a duração. A agenda só emite `eventChange` com o novo início/fim — quem
70
+ * grava (e atualiza `events`) é o app; o resultado é anunciado na região `role="status"`. `editable: false` num
71
+ * evento o trava.
72
+ *
37
73
  * Responsivo: abaixo de `compactBelow` px de largura do próprio componente, a semana é desenhada como
38
74
  * lista e o mês fica compacto (pontos no dia; os eventos do dia focado aparecem embaixo). `view` não
39
75
  * muda — a escolha da pessoa volta sozinha quando a largura volta.
@@ -59,15 +95,29 @@ class EventCalendarComponent {
59
95
  compactBelow = input(600, ...(ngDevMode ? [{ debugName: "compactBelow" }] : /* istanbul ignore next */ []));
60
96
  /** Nome da agenda para leitor de tela (padrão: "Agenda" do catálogo). */
61
97
  label = input('', ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
98
+ /** Liga arrastar/redimensionar (e o atalho Alt + setas). Padrão desligado. */
99
+ editable = input(false, { ...(ngDevMode ? { debugName: "editable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
100
+ /** Passo (minutos) do arrasto na grade de horas e do Alt + cima/baixo. */
101
+ snapMinutes = input(15, ...(ngDevMode ? [{ debugName: "snapMinutes" }] : /* istanbul ignore next */ []));
62
102
  eventClick = output();
63
103
  dateClick = output();
64
104
  rangeChange = output();
105
+ /** Evento movido ou redimensionado (só com `editable`): novo início/fim, para o app gravar. */
106
+ eventChange = output();
65
107
  messages = inject(HERMES_MESSAGES);
66
108
  host = inject(ElementRef);
67
109
  injector = inject(Injector);
68
110
  browser = isPlatformBrowser(inject(PLATFORM_ID));
69
111
  scroller = viewChild('scroller', ...(ngDevMode ? [{ debugName: "scroller" }] : /* istanbul ignore next */ []));
70
112
  titleId = `hm-event-calendar-${++sequence}-title`;
113
+ editHintId = `${this.titleId}-edit-hint`;
114
+ i18n = inject(HermesI18nService);
115
+ editText = computed(() => this.i18n.pick(EVENT_CALENDAR_EDITING_MESSAGES, EVENT_CALENDAR_EDITING_MESSAGES_PT_BR), ...(ngDevMode ? [{ debugName: "editText" }] : /* istanbul ignore next */ []));
116
+ /** Dia sob o ponteiro durante o arrasto no mês (destaque da célula). */
117
+ dropDate = signal(null, ...(ngDevMode ? [{ debugName: "dropDate" }] : /* istanbul ignore next */ []));
118
+ #drag = null;
119
+ #suppressClick = false;
120
+ #pendingFocus = null;
71
121
  text = computed(() => this.messages.eventCalendar, ...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
72
122
  locale = computed(() => this.messages.meta.locale, ...(ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []));
73
123
  /** Largura do componente abaixo de `compactBelow` (medida por `ResizeObserver`). */
@@ -78,8 +128,9 @@ class EventCalendarComponent {
78
128
  today = computed(() => eventCalendarToday(this.timeZone()), ...(ngDevMode ? [{ debugName: "today" }] : /* istanbul ignore next */ []));
79
129
  /** `date` validado: um valor inesperado não pode quebrar a grade. */
80
130
  current = computed(() => (parseIso(this.date()) ? this.date() : this.today()), ...(ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []));
81
- entries = computed(() => normalizeCalendarEvents(this.events(), this.timeZone()), ...(ngDevMode ? [{ debugName: "entries" }] : /* istanbul ignore next */ []));
82
131
  range = computed(() => eventCalendarRange(this.view(), this.current(), this.firstDay()), ...(ngDevMode ? [{ debugName: "range" }] : /* istanbul ignore next */ []));
132
+ /** Séries (`recurrence`) expandidas no período visível; sem série, a mesma lista de antes. */
133
+ entries = computed(() => normalizeCalendarEvents(expandCalendarEvents(this.events(), this.range(), { timeZone: this.timeZone(), weekStartsOn: this.firstDay() }), this.timeZone()), ...(ngDevMode ? [{ debugName: "entries" }] : /* istanbul ignore next */ []));
83
134
  title = computed(() => eventCalendarTitle(this.view(), this.current(), this.locale(), this.firstDay()), ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
84
135
  mode = computed(() => {
85
136
  const view = this.view();
@@ -140,6 +191,20 @@ class EventCalendarComponent {
140
191
  el.scrollTop = (el.scrollHeight / 24) * Math.min(Math.max(hour, 0), 23);
141
192
  }, { injector: this.injector });
142
193
  });
194
+ // Depois de mover pelo teclado, o botão do evento pode ter sido recriado em outra coluna: devolve o foco.
195
+ effect(() => {
196
+ this.entries();
197
+ if (!this.#pendingFocus)
198
+ return;
199
+ afterNextRender(() => {
200
+ const id = this.#pendingFocus;
201
+ const target = [...this.host.nativeElement.querySelectorAll('[data-event-id]')].find((el) => el.dataset['eventId'] === id);
202
+ if (target) {
203
+ this.#pendingFocus = null;
204
+ target.focus();
205
+ }
206
+ }, { injector: this.injector });
207
+ });
143
208
  if (!this.browser || typeof ResizeObserver === 'undefined')
144
209
  return;
145
210
  let observer = null;
@@ -176,8 +241,161 @@ class EventCalendarComponent {
176
241
  }
177
242
  openEvent(entry, event) {
178
243
  event?.stopPropagation();
244
+ // O clique que encerra um arrasto não abre o evento.
245
+ if (this.#suppressClick) {
246
+ this.#suppressClick = false;
247
+ return;
248
+ }
179
249
  this.eventClick.emit(entry.event);
180
250
  }
251
+ // ---------------------------------------------------------------- edição (opt-in)
252
+ canEdit(entry) {
253
+ return isCalendarEventEditable(entry.event, this.editable());
254
+ }
255
+ /** Início do arrasto: `kind` timed = grade de horas (minutos + dia); day = mês/dia inteiro (só dia). */
256
+ onEventPointerDown(event, entry, kind, mode = 'move') {
257
+ if (!this.canEdit(entry) || event.button !== 0)
258
+ return;
259
+ const element = event.target.closest('.hm-event-calendar__event');
260
+ if (!element)
261
+ return;
262
+ event.stopPropagation();
263
+ if (mode === 'resize')
264
+ event.preventDefault();
265
+ const column = element.closest('.hm-event-calendar__column');
266
+ const dayEl = element.closest('[data-date]');
267
+ this.#drag = {
268
+ entry,
269
+ mode,
270
+ kind,
271
+ element,
272
+ pointerId: event.pointerId,
273
+ startX: event.clientX,
274
+ startY: event.clientY,
275
+ originDate: dayEl?.dataset['date'] ?? entry.start.date,
276
+ originLeft: (column ?? element).getBoundingClientRect().left,
277
+ dayHeight: column?.getBoundingClientRect().height ?? 0,
278
+ moved: false,
279
+ deltaDays: 0,
280
+ deltaMinutes: 0,
281
+ };
282
+ element.setPointerCapture?.(event.pointerId);
283
+ // O fim do gesto também é ouvido no documento: soltar fora do botão (ou sem captura do ponteiro) não pode
284
+ // deixar o evento preso no meio do arrasto.
285
+ const doc = element.ownerDocument;
286
+ const move = (e) => this.onEventPointerMove(e);
287
+ const up = (e) => {
288
+ doc.removeEventListener('pointermove', move);
289
+ doc.removeEventListener('pointerup', up);
290
+ doc.removeEventListener('pointercancel', up);
291
+ this.onEventPointerUp(e);
292
+ };
293
+ doc.addEventListener('pointermove', move);
294
+ doc.addEventListener('pointerup', up);
295
+ doc.addEventListener('pointercancel', up);
296
+ }
297
+ onEventPointerMove(event) {
298
+ const drag = this.#drag;
299
+ if (!drag || event.pointerId !== drag.pointerId)
300
+ return;
301
+ const dx = event.clientX - drag.startX;
302
+ const dy = event.clientY - drag.startY;
303
+ if (!drag.moved && Math.hypot(dx, dy) < 4)
304
+ return;
305
+ drag.moved = true;
306
+ const target = this.dateAt(event.clientX, event.clientY, drag.kind, drag.element);
307
+ drag.deltaDays = drag.mode === 'move' && target ? dayDiff(drag.originDate, target.date) : 0;
308
+ if (drag.kind === 'timed' && drag.dayHeight > 0) {
309
+ drag.deltaMinutes = snapMinutes((dy / drag.dayHeight) * 1440, this.snapMinutes());
310
+ const px = (drag.deltaMinutes / 1440) * drag.dayHeight;
311
+ if (drag.mode === 'resize') {
312
+ drag.element.style.setProperty('--hm-ec-resize', `${px}px`);
313
+ }
314
+ else {
315
+ const left = target ? target.element.getBoundingClientRect().left - drag.originLeft : 0;
316
+ drag.element.style.transform = `translate(${left}px, ${px}px)`;
317
+ }
318
+ }
319
+ else {
320
+ this.dropDate.set(target?.date ?? null);
321
+ }
322
+ drag.element.classList.add('hm-event-calendar__event--dragging');
323
+ }
324
+ onEventPointerUp(event) {
325
+ const drag = this.#drag;
326
+ if (!drag || event.pointerId !== drag.pointerId)
327
+ return;
328
+ this.#drag = null;
329
+ drag.element.style.removeProperty('transform');
330
+ drag.element.style.removeProperty('--hm-ec-resize');
331
+ drag.element.classList.remove('hm-event-calendar__event--dragging');
332
+ this.dropDate.set(null);
333
+ if (!drag.moved || event.type === 'pointercancel')
334
+ return;
335
+ this.#suppressClick = true;
336
+ // Se o navegador não disparar o clique (soltou fora do botão), a trava não pode vazar para o próximo.
337
+ setTimeout(() => (this.#suppressClick = false));
338
+ if (drag.mode === 'resize') {
339
+ if (drag.deltaMinutes)
340
+ this.commitChange(resizeCalendarEntry(drag.entry, drag.deltaMinutes, this.snapMinutes()), false);
341
+ }
342
+ else if (drag.deltaDays || drag.deltaMinutes) {
343
+ this.commitChange(moveCalendarEntry(drag.entry, drag.deltaDays, drag.kind === 'timed' ? drag.deltaMinutes : 0), false);
344
+ }
345
+ }
346
+ /** Alt + setas no evento focado: move ou (com Shift) muda a duração. */
347
+ onEventKeydown(event, entry) {
348
+ if (!event.altKey || !this.canEdit(entry))
349
+ return;
350
+ const step = Math.max(1, this.snapMinutes());
351
+ const vertical = event.key === 'ArrowUp' ? -1 : event.key === 'ArrowDown' ? 1 : 0;
352
+ const horizontal = event.key === 'ArrowLeft' ? -1 : event.key === 'ArrowRight' ? 1 : 0;
353
+ if (!vertical && !horizontal)
354
+ return;
355
+ event.preventDefault();
356
+ event.stopPropagation();
357
+ const days = isRtl(this.host.nativeElement) ? -horizontal : horizontal;
358
+ let change;
359
+ if (event.shiftKey && vertical)
360
+ change = resizeCalendarEntry(entry, vertical * (entry.allDay ? 1440 : step), step);
361
+ else if (horizontal)
362
+ change = moveCalendarEntry(entry, days);
363
+ else if (entry.allDay)
364
+ change = moveCalendarEntry(entry, vertical * 7);
365
+ else
366
+ change = moveCalendarEntry(entry, 0, vertical * step);
367
+ this.commitChange(change, true);
368
+ }
369
+ commitChange(change, keepFocus) {
370
+ if (keepFocus)
371
+ this.#pendingFocus = change.event.id;
372
+ this.eventChange.emit(change);
373
+ const moved = normalizeCalendarEvent({ ...change.event, start: change.start, end: change.end, allDay: change.allDay, recurrence: null }, null);
374
+ const time = moved ? this.eventTime(moved) : '';
375
+ const text = this.editText();
376
+ this.announcement.set(formatMessage(change.kind === 'resize' ? text.resized : text.moved, { title: change.event.title, time }));
377
+ }
378
+ /** Dia (e o elemento dele) sob o ponteiro: coluna da grade de horas ou célula do mês. */
379
+ dateAt(x, y, kind, ignore) {
380
+ const selector = kind === 'timed' ? '.hm-event-calendar__column[data-date]' : '[data-date]';
381
+ const hit = typeof document.elementsFromPoint === 'function' ? document.elementsFromPoint(x, y) : [];
382
+ for (const el of hit) {
383
+ // O evento arrastado acompanha o ponteiro: ele (e a coluna de origem dele) não é o destino.
384
+ if (ignore?.contains(el))
385
+ continue;
386
+ const found = el.closest(selector);
387
+ const date = found?.dataset['date'];
388
+ if (found && date && this.host.nativeElement.contains(found))
389
+ return { date, element: found };
390
+ }
391
+ // Faixa de dia inteiro: a linha dela não tem dia; vale a coluna (cabeçalho) na mesma vertical.
392
+ for (const head of this.host.nativeElement.querySelectorAll('.hm-event-calendar__col-head[data-date]')) {
393
+ const rect = head.getBoundingClientRect();
394
+ if (x >= rect.left && x < rect.right && head.dataset['date'])
395
+ return { date: head.dataset['date'], element: head };
396
+ }
397
+ return null;
398
+ }
181
399
  /** Clique no vazio da coluna de um dia (grade de horas): dia + horário arredondado para meia hora. */
182
400
  onColumnClick(event, iso) {
183
401
  const column = event.currentTarget;
@@ -214,7 +432,12 @@ class EventCalendarComponent {
214
432
  return formatEventTime(entry, this.locale(), this.text().allDay);
215
433
  }
216
434
  eventLabel(entry) {
217
- return formatMessage(this.text().event, { title: entry.event.title, time: this.eventTime(entry) });
435
+ const parts = [formatMessage(this.text().event, { title: entry.event.title, time: this.eventTime(entry) })];
436
+ if (entry.event.seriesId)
437
+ parts.push(this.editText().recurring);
438
+ if (entry.event.pending)
439
+ parts.push(this.editText().pending);
440
+ return parts.join(', ');
218
441
  }
219
442
  /** Horário curto na grade (início do evento com hora; nada para dia inteiro). */
220
443
  startTime(entry) {
@@ -246,15 +469,15 @@ class EventCalendarComponent {
246
469
  return formatCalendarDate(iso, this.locale(), { weekday: 'short' }).replace('.', '');
247
470
  }
248
471
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: EventCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
249
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: EventCalendarComponent, isStandalone: true, selector: "hm-event-calendar", inputs: { events: { classPropertyName: "events", publicName: "events", isSignal: true, isRequired: false, transformFunction: null }, view: { classPropertyName: "view", publicName: "view", isSignal: true, isRequired: false, transformFunction: null }, date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: false, transformFunction: null }, views: { classPropertyName: "views", publicName: "views", isSignal: true, isRequired: false, transformFunction: null }, timeZone: { classPropertyName: "timeZone", publicName: "timeZone", isSignal: true, isRequired: false, transformFunction: null }, weekStartsOn: { classPropertyName: "weekStartsOn", publicName: "weekStartsOn", isSignal: true, isRequired: false, transformFunction: null }, maxEventsPerDay: { classPropertyName: "maxEventsPerDay", publicName: "maxEventsPerDay", isSignal: true, isRequired: false, transformFunction: null }, scrollToHour: { classPropertyName: "scrollToHour", publicName: "scrollToHour", isSignal: true, isRequired: false, transformFunction: null }, compactBelow: { classPropertyName: "compactBelow", publicName: "compactBelow", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { view: "viewChange", date: "dateChange", eventClick: "eventClick", dateClick: "dateClick", rangeChange: "rangeChange" }, host: { properties: { "class.hm-event-calendar--compact": "compact()" }, classAttribute: "hm-event-calendar" }, viewQueries: [{ propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"hm-event-calendar__frame\" role=\"group\" [attr.aria-label]=\"label() || text().label\">\n <div class=\"hm-event-calendar__toolbar\">\n <div class=\"hm-event-calendar__nav\">\n <hm-button emphasis=\"medium\" size=\"small\" (clicked)=\"goToday()\">{{ text().today }}</hm-button>\n <hm-icon-button [label]=\"text().previous\" icon=\"angle\" iconDirection=\"left\" emphasis=\"subtle\" size=\"small\" (clicked)=\"shift(-1)\" />\n <hm-icon-button [label]=\"text().next\" icon=\"angle\" iconDirection=\"right\" emphasis=\"subtle\" size=\"small\" (clicked)=\"shift(1)\" />\n <p class=\"hm-event-calendar__title\" [id]=\"titleId\">{{ title() }}</p>\n </div>\n @if (viewOptions().length > 1) {\n <hm-segmented-control class=\"hm-event-calendar__views\" size=\"small\" [label]=\"text().views\" [options]=\"viewOptions()\" [value]=\"view()\" (valueChange)=\"setView($event)\" />\n }\n </div>\n\n <div class=\"hm-visually-hidden\" role=\"status\">{{ announcement() }}</div>\n\n @switch (mode()) {\n @case ('month') {\n <ng-container [ngTemplateOutlet]=\"monthGrid\" [ngTemplateOutletContext]=\"{ compact: false }\" />\n }\n @case ('month-compact') {\n <ng-container [ngTemplateOutlet]=\"monthGrid\" [ngTemplateOutletContext]=\"{ compact: true }\" />\n <div class=\"hm-event-calendar__day-list\">\n <p class=\"hm-event-calendar__list-date\">{{ dayHeading(current()) }}</p>\n <ng-container [ngTemplateOutlet]=\"agendaList\" [ngTemplateOutletContext]=\"{ days: focusedDayAgenda(), headings: false }\" />\n </div>\n }\n @case ('list') {\n <ng-container [ngTemplateOutlet]=\"agendaList\" [ngTemplateOutletContext]=\"{ days: agenda(), headings: true }\" />\n }\n @default {\n <!-- semana e dia: cabe\u00E7alho dos dias, faixa de dia inteiro e grade de horas -->\n <div class=\"hm-event-calendar__time\" [class.hm-event-calendar__time--day]=\"mode() === 'day'\" [style.--hm-ec-days]=\"timeGrid().columns.length\">\n <div class=\"hm-event-calendar__time-head\">\n <span class=\"hm-event-calendar__corner\" aria-hidden=\"true\"></span>\n @for (col of timeGrid().columns; track col.date) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__col-head\"\n [class.hm-event-calendar__col-head--today]=\"col.date === today()\"\n [attr.aria-label]=\"longDate(col.date)\"\n [attr.aria-current]=\"col.date === today() ? 'date' : null\"\n (click)=\"pickDate(col.date)\"\n >\n <span class=\"hm-event-calendar__col-weekday\">{{ weekdayOf(col.date) }}</span>\n <span class=\"hm-event-calendar__col-number\">{{ dayNumber(col.date) }}</span>\n </button>\n }\n </div>\n\n @if (timeGrid().allDayLanes > 0) {\n <div class=\"hm-event-calendar__allday\">\n <span class=\"hm-event-calendar__allday-label\">{{ text().allDay }}</span>\n <div class=\"hm-event-calendar__allday-track\">\n @for (seg of timeGrid().allDay; track seg.entry.event.id) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__event hm-event-calendar__event--bar\"\n [class.hm-event-calendar__event--joins-start]=\"seg.continuesBefore\"\n [class.hm-event-calendar__event--joins-end]=\"seg.continuesAfter\"\n [attr.data-color]=\"seg.entry.color\"\n [style.grid-column]=\"seg.startCol + 1 + ' / span ' + seg.span\"\n [style.grid-row]=\"seg.lane + 1\"\n [attr.aria-label]=\"eventLabel(seg.entry)\"\n (click)=\"openEvent(seg.entry)\"\n >\n <span class=\"hm-event-calendar__event-title\">{{ seg.entry.event.title }}</span>\n </button>\n }\n </div>\n </div>\n }\n\n <!-- tabindex: a grade rola por dentro e precisa ser alcan\u00E7\u00E1vel por teclado mesmo sem evento -->\n <div class=\"hm-event-calendar__scroller\" #scroller tabindex=\"0\">\n <div class=\"hm-event-calendar__body\">\n <div class=\"hm-event-calendar__hours\" aria-hidden=\"true\">\n @for (hour of hours(); track $index) {\n <span class=\"hm-event-calendar__hour\">{{ $index === 0 ? '' : hour }}</span>\n }\n </div>\n @for (col of timeGrid().columns; track col.date) {\n <div\n class=\"hm-event-calendar__column\"\n [class.hm-event-calendar__column--today]=\"col.date === today()\"\n role=\"group\"\n [attr.aria-label]=\"dayLabel(col.date, col.segments.length)\"\n (click)=\"onColumnClick($event, col.date)\"\n >\n @for (seg of col.segments; track seg.entry.event.id) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__event hm-event-calendar__event--timed\"\n [class.hm-event-calendar__event--joins-start]=\"seg.continuesBefore\"\n [class.hm-event-calendar__event--joins-end]=\"seg.continuesAfter\"\n [attr.data-color]=\"seg.entry.color\"\n [style.--hm-ec-start]=\"seg.startMinutes\"\n [style.--hm-ec-end]=\"seg.endMinutes\"\n [style.--hm-ec-col]=\"seg.column\"\n [style.--hm-ec-cols]=\"seg.columns\"\n [attr.aria-label]=\"eventLabel(seg.entry)\"\n (click)=\"openEvent(seg.entry, $event)\"\n >\n <span class=\"hm-event-calendar__event-title\">{{ seg.entry.event.title }}</span>\n <span class=\"hm-event-calendar__event-time\">{{ eventTime(seg.entry) }}</span>\n </button>\n }\n </div>\n }\n </div>\n </div>\n </div>\n }\n }\n</div>\n\n<!-- Grade do m\u00EAs: padr\u00E3o grid da ARIA, um dia foc\u00E1vel por vez (roving tabindex). -->\n<ng-template #monthGrid let-compact=\"compact\">\n <div class=\"hm-event-calendar__month\" [class.hm-event-calendar__month--compact]=\"compact\" role=\"grid\" [attr.aria-labelledby]=\"titleId\">\n <div class=\"hm-event-calendar__weekdays\" role=\"row\">\n @for (name of weekdaysShort(); track $index) {\n <div class=\"hm-event-calendar__weekday\" role=\"columnheader\">\n <span aria-hidden=\"true\">{{ name }}</span>\n <span class=\"hm-visually-hidden\">{{ weekdaysLong()[$index] }}</span>\n </div>\n }\n </div>\n @for (week of weeks(); track $index) {\n <div class=\"hm-event-calendar__week\" role=\"row\">\n @for (cell of week.days; track cell.iso) {\n <div\n class=\"hm-event-calendar__cell\"\n [class.hm-event-calendar__cell--outside]=\"!cell.inMonth\"\n [class.hm-event-calendar__cell--today]=\"cell.today\"\n [class.hm-event-calendar__cell--focused]=\"cell.iso === current()\"\n role=\"gridcell\"\n >\n <button\n type=\"button\"\n class=\"hm-event-calendar__date\"\n [attr.data-focused]=\"cell.iso === current()\"\n [tabindex]=\"cell.iso === current() ? 0 : -1\"\n [attr.aria-label]=\"dayLabel(cell.iso, cell.entries.length)\"\n [attr.aria-current]=\"cell.today ? 'date' : null\"\n (click)=\"pickDate(cell.iso)\"\n (keydown)=\"onDayKeydown($event)\"\n >\n {{ cell.day }}\n </button>\n @if (compact) {\n @if (cell.entries.length) {\n <span class=\"hm-event-calendar__dots\" aria-hidden=\"true\">\n @for (entry of cell.entries.slice(0, 3); track entry.event.id) {\n <span class=\"hm-event-calendar__dot\" [attr.data-color]=\"entry.color\"></span>\n }\n </span>\n }\n } @else {\n <div class=\"hm-event-calendar__slots\">\n @for (slot of cell.slots; track $index) {\n @if (!slot) {\n <span class=\"hm-event-calendar__slot-empty\" aria-hidden=\"true\"></span>\n } @else if (slot.first) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__event\"\n [class.hm-event-calendar__event--bar]=\"isBanner(slot.segment.entry)\"\n [class.hm-event-calendar__event--item]=\"!isBanner(slot.segment.entry)\"\n [class.hm-event-calendar__event--joins-start]=\"slot.segment.continuesBefore\"\n [class.hm-event-calendar__event--joins-end]=\"!slot.last || slot.segment.continuesAfter\"\n [attr.data-color]=\"slot.segment.entry.color\"\n [tabindex]=\"cell.iso === current() ? 0 : -1\"\n [attr.aria-label]=\"eventLabel(slot.segment.entry)\"\n (click)=\"openEvent(slot.segment.entry)\"\n >\n @if (!isBanner(slot.segment.entry)) {\n <span class=\"hm-event-calendar__dot\" aria-hidden=\"true\"></span>\n <span class=\"hm-event-calendar__event-time\">{{ startTime(slot.segment.entry) }}</span>\n }\n <span class=\"hm-event-calendar__event-title\">{{ slot.segment.entry.event.title }}</span>\n </button>\n } @else {\n <!-- continua\u00E7\u00E3o da faixa: s\u00F3 visual; o nome est\u00E1 no primeiro peda\u00E7o da semana -->\n <span\n class=\"hm-event-calendar__event hm-event-calendar__event--bar hm-event-calendar__event--joins-start\"\n [class.hm-event-calendar__event--joins-end]=\"!slot.last || slot.segment.continuesAfter\"\n [attr.data-color]=\"slot.segment.entry.color\"\n aria-hidden=\"true\"\n (click)=\"openEvent(slot.segment.entry)\"\n ></span>\n }\n }\n @if (cell.hidden > 0) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__more\"\n [tabindex]=\"cell.iso === current() ? 0 : -1\"\n [attr.aria-label]=\"moreLabel(cell.iso, cell.hidden)\"\n (click)=\"openDay(cell.iso)\"\n >\n {{ moreText(cell.hidden) }}\n </button>\n }\n </div>\n }\n </div>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!-- Lista (vis\u00E3o lista, semana estreita e os eventos do dia no m\u00EAs compacto). -->\n<ng-template #agendaList let-days=\"days\" let-headings=\"headings\">\n @if (days.length) {\n <ul class=\"hm-event-calendar__list\" [attr.aria-labelledby]=\"titleId\">\n @for (day of days; track day.date) {\n <li class=\"hm-event-calendar__list-day\">\n @if (headings) {\n <p class=\"hm-event-calendar__list-date\" [id]=\"titleId + '-' + day.date\" [class.hm-event-calendar__list-date--today]=\"day.date === today()\">\n {{ dayHeading(day.date) }}\n </p>\n }\n <ul class=\"hm-event-calendar__list-events\" [attr.aria-labelledby]=\"headings ? titleId + '-' + day.date : null\">\n @for (entry of day.entries; track entry.event.id) {\n <li>\n <button type=\"button\" class=\"hm-event-calendar__list-event\" [attr.data-color]=\"entry.color\" (click)=\"openEvent(entry)\">\n <span class=\"hm-event-calendar__swatch\" aria-hidden=\"true\"></span>\n <span class=\"hm-event-calendar__list-title\">{{ entry.event.title }}</span>\n <span class=\"hm-visually-hidden\">, </span>\n <span class=\"hm-event-calendar__list-time\">{{ eventTime(entry) }}</span>\n </button>\n </li>\n }\n </ul>\n </li>\n }\n </ul>\n } @else {\n <p class=\"hm-event-calendar__empty\">{{ text().empty }}</p>\n }\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "hm-button", inputs: ["emphasis", "intent", "size", "type", "icon", "iconDirection", "iconEnd", "disabled", "loading", "loadingState", "block", "link", "newTab", "caret", "inMenu", "toggle", "pressed"], outputs: ["loadingStateChange", "pressedChange", "clicked"] }, { kind: "component", type: IconButtonComponent, selector: "hm-icon-button", inputs: ["label", "icon", "solid", "iconDirection", "emphasis", "intent", "size", "disabled", "toggle", "pressed", "keyShortcuts"], outputs: ["pressedChange", "clicked"] }, { kind: "component", type: SegmentedControlComponent, selector: "hm-segmented-control", inputs: ["options", "value", "label", "size", "emphasis"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
472
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: EventCalendarComponent, isStandalone: true, selector: "hm-event-calendar", inputs: { events: { classPropertyName: "events", publicName: "events", isSignal: true, isRequired: false, transformFunction: null }, view: { classPropertyName: "view", publicName: "view", isSignal: true, isRequired: false, transformFunction: null }, date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: false, transformFunction: null }, views: { classPropertyName: "views", publicName: "views", isSignal: true, isRequired: false, transformFunction: null }, timeZone: { classPropertyName: "timeZone", publicName: "timeZone", isSignal: true, isRequired: false, transformFunction: null }, weekStartsOn: { classPropertyName: "weekStartsOn", publicName: "weekStartsOn", isSignal: true, isRequired: false, transformFunction: null }, maxEventsPerDay: { classPropertyName: "maxEventsPerDay", publicName: "maxEventsPerDay", isSignal: true, isRequired: false, transformFunction: null }, scrollToHour: { classPropertyName: "scrollToHour", publicName: "scrollToHour", isSignal: true, isRequired: false, transformFunction: null }, compactBelow: { classPropertyName: "compactBelow", publicName: "compactBelow", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: true, isRequired: false, transformFunction: null }, snapMinutes: { classPropertyName: "snapMinutes", publicName: "snapMinutes", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { view: "viewChange", date: "dateChange", eventClick: "eventClick", dateClick: "dateClick", rangeChange: "rangeChange", eventChange: "eventChange" }, host: { properties: { "class.hm-event-calendar--compact": "compact()" }, classAttribute: "hm-event-calendar" }, viewQueries: [{ propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"hm-event-calendar__frame\" role=\"group\" [attr.aria-label]=\"label() || text().label\">\n <div class=\"hm-event-calendar__toolbar\">\n <div class=\"hm-event-calendar__nav\">\n <hm-button emphasis=\"medium\" size=\"small\" (clicked)=\"goToday()\">{{ text().today }}</hm-button>\n <hm-icon-button [label]=\"text().previous\" icon=\"angle\" iconDirection=\"left\" emphasis=\"subtle\" size=\"small\" (clicked)=\"shift(-1)\" />\n <hm-icon-button [label]=\"text().next\" icon=\"angle\" iconDirection=\"right\" emphasis=\"subtle\" size=\"small\" (clicked)=\"shift(1)\" />\n <p class=\"hm-event-calendar__title\" [id]=\"titleId\">{{ title() }}</p>\n </div>\n @if (viewOptions().length > 1) {\n <hm-segmented-control class=\"hm-event-calendar__views\" size=\"small\" [label]=\"text().views\" [options]=\"viewOptions()\" [value]=\"view()\" (valueChange)=\"setView($event)\" />\n }\n </div>\n\n <div class=\"hm-visually-hidden\" role=\"status\">{{ announcement() }}</div>\n @if (editable()) {\n <p class=\"hm-visually-hidden\" [id]=\"editHintId\">{{ editText().hint }}</p>\n }\n\n @switch (mode()) {\n @case ('month') {\n <ng-container [ngTemplateOutlet]=\"monthGrid\" [ngTemplateOutletContext]=\"{ compact: false }\" />\n }\n @case ('month-compact') {\n <ng-container [ngTemplateOutlet]=\"monthGrid\" [ngTemplateOutletContext]=\"{ compact: true }\" />\n <div class=\"hm-event-calendar__day-list\">\n <p class=\"hm-event-calendar__list-date\">{{ dayHeading(current()) }}</p>\n <ng-container [ngTemplateOutlet]=\"agendaList\" [ngTemplateOutletContext]=\"{ days: focusedDayAgenda(), headings: false }\" />\n </div>\n }\n @case ('list') {\n <ng-container [ngTemplateOutlet]=\"agendaList\" [ngTemplateOutletContext]=\"{ days: agenda(), headings: true }\" />\n }\n @default {\n <!-- semana e dia: cabe\u00E7alho dos dias, faixa de dia inteiro e grade de horas -->\n <div class=\"hm-event-calendar__time\" [class.hm-event-calendar__time--day]=\"mode() === 'day'\" [style.--hm-ec-days]=\"timeGrid().columns.length\">\n <div class=\"hm-event-calendar__time-head\">\n <span class=\"hm-event-calendar__corner\" aria-hidden=\"true\"></span>\n @for (col of timeGrid().columns; track col.date) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__col-head\"\n [class.hm-event-calendar__col-head--today]=\"col.date === today()\"\n [attr.data-date]=\"col.date\"\n [attr.aria-label]=\"longDate(col.date)\"\n [attr.aria-current]=\"col.date === today() ? 'date' : null\"\n (click)=\"pickDate(col.date)\"\n >\n <span class=\"hm-event-calendar__col-weekday\">{{ weekdayOf(col.date) }}</span>\n <span class=\"hm-event-calendar__col-number\">{{ dayNumber(col.date) }}</span>\n </button>\n }\n </div>\n\n @if (timeGrid().allDayLanes > 0) {\n <div class=\"hm-event-calendar__allday\">\n <span class=\"hm-event-calendar__allday-label\">{{ text().allDay }}</span>\n <div class=\"hm-event-calendar__allday-track\">\n @for (seg of timeGrid().allDay; track seg.entry.event.id) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__event hm-event-calendar__event--bar\"\n [class.hm-event-calendar__event--joins-start]=\"seg.continuesBefore\"\n [class.hm-event-calendar__event--joins-end]=\"seg.continuesAfter\"\n [attr.data-color]=\"seg.entry.color\"\n [class.hm-event-calendar__event--pending]=\"seg.entry.event.pending\"\n [style.grid-column]=\"seg.startCol + 1 + ' / span ' + seg.span\"\n [style.grid-row]=\"seg.lane + 1\"\n [attr.aria-label]=\"eventLabel(seg.entry)\"\n [attr.data-event-id]=\"seg.entry.event.id\"\n [class.hm-event-calendar__event--editable]=\"canEdit(seg.entry)\"\n [attr.aria-describedby]=\"canEdit(seg.entry) ? editHintId : null\"\n (click)=\"openEvent(seg.entry)\"\n (keydown)=\"onEventKeydown($event, seg.entry)\"\n (pointerdown)=\"onEventPointerDown($event, seg.entry, 'day')\"\n (pointermove)=\"onEventPointerMove($event)\"\n (pointerup)=\"onEventPointerUp($event)\"\n (pointercancel)=\"onEventPointerUp($event)\"\n >\n <span class=\"hm-event-calendar__event-title\">{{ seg.entry.event.title }}</span>\n </button>\n }\n </div>\n </div>\n }\n\n <!-- tabindex: a grade rola por dentro e precisa ser alcan\u00E7\u00E1vel por teclado mesmo sem evento -->\n <div class=\"hm-event-calendar__scroller\" #scroller tabindex=\"0\">\n <div class=\"hm-event-calendar__body\">\n <div class=\"hm-event-calendar__hours\" aria-hidden=\"true\">\n @for (hour of hours(); track $index) {\n <span class=\"hm-event-calendar__hour\">{{ $index === 0 ? '' : hour }}</span>\n }\n </div>\n @for (col of timeGrid().columns; track col.date) {\n <div\n class=\"hm-event-calendar__column\"\n [class.hm-event-calendar__column--today]=\"col.date === today()\"\n [attr.data-date]=\"col.date\"\n role=\"group\"\n [attr.aria-label]=\"dayLabel(col.date, col.segments.length)\"\n (click)=\"onColumnClick($event, col.date)\"\n >\n @for (seg of col.segments; track seg.entry.event.id) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__event hm-event-calendar__event--timed\"\n [class.hm-event-calendar__event--joins-start]=\"seg.continuesBefore\"\n [class.hm-event-calendar__event--joins-end]=\"seg.continuesAfter\"\n [attr.data-color]=\"seg.entry.color\"\n [class.hm-event-calendar__event--pending]=\"seg.entry.event.pending\"\n [style.--hm-ec-start]=\"seg.startMinutes\"\n [style.--hm-ec-end]=\"seg.endMinutes\"\n [style.--hm-ec-col]=\"seg.column\"\n [style.--hm-ec-cols]=\"seg.columns\"\n [attr.aria-label]=\"eventLabel(seg.entry)\"\n [attr.data-event-id]=\"seg.entry.event.id\"\n [class.hm-event-calendar__event--editable]=\"canEdit(seg.entry)\"\n [attr.aria-describedby]=\"canEdit(seg.entry) ? editHintId : null\"\n (click)=\"openEvent(seg.entry, $event)\"\n (keydown)=\"onEventKeydown($event, seg.entry)\"\n (pointerdown)=\"onEventPointerDown($event, seg.entry, 'timed')\"\n (pointermove)=\"onEventPointerMove($event)\"\n (pointerup)=\"onEventPointerUp($event)\"\n (pointercancel)=\"onEventPointerUp($event)\"\n >\n <span class=\"hm-event-calendar__event-title\">{{ seg.entry.event.title }}</span>\n <span class=\"hm-event-calendar__event-time\">{{ eventTime(seg.entry) }}</span>\n @if (canEdit(seg.entry) && !seg.continuesAfter) {\n <span class=\"hm-event-calendar__resize\" aria-hidden=\"true\" (pointerdown)=\"onEventPointerDown($event, seg.entry, 'timed', 'resize')\"></span>\n }\n </button>\n }\n </div>\n }\n </div>\n </div>\n </div>\n }\n }\n</div>\n\n<!-- Grade do m\u00EAs: padr\u00E3o grid da ARIA, um dia foc\u00E1vel por vez (roving tabindex). -->\n<ng-template #monthGrid let-compact=\"compact\">\n <div class=\"hm-event-calendar__month\" [class.hm-event-calendar__month--compact]=\"compact\" role=\"grid\" [attr.aria-labelledby]=\"titleId\">\n <div class=\"hm-event-calendar__weekdays\" role=\"row\">\n @for (name of weekdaysShort(); track $index) {\n <div class=\"hm-event-calendar__weekday\" role=\"columnheader\">\n <span aria-hidden=\"true\">{{ name }}</span>\n <span class=\"hm-visually-hidden\">{{ weekdaysLong()[$index] }}</span>\n </div>\n }\n </div>\n @for (week of weeks(); track $index) {\n <div class=\"hm-event-calendar__week\" role=\"row\">\n @for (cell of week.days; track cell.iso) {\n <div\n class=\"hm-event-calendar__cell\"\n [class.hm-event-calendar__cell--outside]=\"!cell.inMonth\"\n [class.hm-event-calendar__cell--today]=\"cell.today\"\n [class.hm-event-calendar__cell--focused]=\"cell.iso === current()\"\n [class.hm-event-calendar__cell--drop]=\"dropDate() === cell.iso\"\n [attr.data-date]=\"cell.iso\"\n role=\"gridcell\"\n >\n <button\n type=\"button\"\n class=\"hm-event-calendar__date\"\n [attr.data-focused]=\"cell.iso === current()\"\n [tabindex]=\"cell.iso === current() ? 0 : -1\"\n [attr.aria-label]=\"dayLabel(cell.iso, cell.entries.length)\"\n [attr.aria-current]=\"cell.today ? 'date' : null\"\n (click)=\"pickDate(cell.iso)\"\n (keydown)=\"onDayKeydown($event)\"\n >\n {{ cell.day }}\n </button>\n @if (compact) {\n @if (cell.entries.length) {\n <span class=\"hm-event-calendar__dots\" aria-hidden=\"true\">\n @for (entry of cell.entries.slice(0, 3); track entry.event.id) {\n <span class=\"hm-event-calendar__dot\" [attr.data-color]=\"entry.color\"></span>\n }\n </span>\n }\n } @else {\n <div class=\"hm-event-calendar__slots\">\n @for (slot of cell.slots; track $index) {\n @if (!slot) {\n <span class=\"hm-event-calendar__slot-empty\" aria-hidden=\"true\"></span>\n } @else if (slot.first) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__event\"\n [class.hm-event-calendar__event--bar]=\"isBanner(slot.segment.entry)\"\n [class.hm-event-calendar__event--item]=\"!isBanner(slot.segment.entry)\"\n [class.hm-event-calendar__event--joins-start]=\"slot.segment.continuesBefore\"\n [class.hm-event-calendar__event--joins-end]=\"!slot.last || slot.segment.continuesAfter\"\n [attr.data-color]=\"slot.segment.entry.color\"\n [class.hm-event-calendar__event--pending]=\"slot.segment.entry.event.pending\"\n [tabindex]=\"cell.iso === current() ? 0 : -1\"\n [attr.aria-label]=\"eventLabel(slot.segment.entry)\"\n [attr.data-event-id]=\"slot.segment.entry.event.id\"\n [class.hm-event-calendar__event--editable]=\"canEdit(slot.segment.entry)\"\n [attr.aria-describedby]=\"canEdit(slot.segment.entry) ? editHintId : null\"\n (click)=\"openEvent(slot.segment.entry)\"\n (keydown)=\"onEventKeydown($event, slot.segment.entry)\"\n (pointerdown)=\"onEventPointerDown($event, slot.segment.entry, 'day')\"\n (pointermove)=\"onEventPointerMove($event)\"\n (pointerup)=\"onEventPointerUp($event)\"\n (pointercancel)=\"onEventPointerUp($event)\"\n >\n @if (!isBanner(slot.segment.entry)) {\n <span class=\"hm-event-calendar__dot\" [attr.data-color]=\"slot.segment.entry.color\" aria-hidden=\"true\"></span>\n <span class=\"hm-event-calendar__event-time\">{{ startTime(slot.segment.entry) }}</span>\n }\n <span class=\"hm-event-calendar__event-title\">{{ slot.segment.entry.event.title }}</span>\n </button>\n } @else {\n <!-- continua\u00E7\u00E3o da faixa: s\u00F3 visual; o nome est\u00E1 no primeiro peda\u00E7o da semana -->\n <span\n class=\"hm-event-calendar__event hm-event-calendar__event--bar hm-event-calendar__event--joins-start\"\n [class.hm-event-calendar__event--joins-end]=\"!slot.last || slot.segment.continuesAfter\"\n [attr.data-color]=\"slot.segment.entry.color\"\n [class.hm-event-calendar__event--pending]=\"slot.segment.entry.event.pending\"\n aria-hidden=\"true\"\n (click)=\"openEvent(slot.segment.entry)\"\n ></span>\n }\n }\n @if (cell.hidden > 0) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__more\"\n [tabindex]=\"cell.iso === current() ? 0 : -1\"\n [attr.aria-label]=\"moreLabel(cell.iso, cell.hidden)\"\n (click)=\"openDay(cell.iso)\"\n >\n {{ moreText(cell.hidden) }}\n </button>\n }\n </div>\n }\n </div>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!-- Lista (vis\u00E3o lista, semana estreita e os eventos do dia no m\u00EAs compacto). -->\n<ng-template #agendaList let-days=\"days\" let-headings=\"headings\">\n @if (days.length) {\n <ul class=\"hm-event-calendar__list\" [attr.aria-labelledby]=\"titleId\">\n @for (day of days; track day.date) {\n <li class=\"hm-event-calendar__list-day\">\n @if (headings) {\n <p class=\"hm-event-calendar__list-date\" [id]=\"titleId + '-' + day.date\" [class.hm-event-calendar__list-date--today]=\"day.date === today()\">\n {{ dayHeading(day.date) }}\n </p>\n }\n <ul class=\"hm-event-calendar__list-events\" [attr.aria-labelledby]=\"headings ? titleId + '-' + day.date : null\">\n @for (entry of day.entries; track entry.event.id) {\n <li>\n <button\n type=\"button\"\n class=\"hm-event-calendar__list-event\"\n [class.hm-event-calendar__list-event--pending]=\"entry.event.pending\"\n [attr.data-color]=\"entry.color\"\n [attr.data-event-id]=\"entry.event.id\"\n [attr.aria-describedby]=\"canEdit(entry) ? editHintId : null\"\n (click)=\"openEvent(entry)\"\n (keydown)=\"onEventKeydown($event, entry)\"\n >\n <span class=\"hm-event-calendar__swatch\" [attr.data-color]=\"entry.color\" aria-hidden=\"true\"></span>\n <span class=\"hm-event-calendar__list-title\">{{ entry.event.title }}</span>\n <span class=\"hm-visually-hidden\">, </span>\n <span class=\"hm-event-calendar__list-time\">{{ eventTime(entry) }}</span>\n @if (entry.event.pending) {\n <span class=\"hm-visually-hidden\">, {{ editText().pending }}</span>\n }\n </button>\n </li>\n }\n </ul>\n </li>\n }\n </ul>\n } @else {\n <p class=\"hm-event-calendar__empty\">{{ text().empty }}</p>\n }\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "hm-button", inputs: ["emphasis", "intent", "size", "type", "icon", "iconDirection", "iconEnd", "disabled", "loading", "loadingState", "block", "link", "newTab", "caret", "inMenu", "toggle", "pressed"], outputs: ["loadingStateChange", "pressedChange", "clicked"] }, { kind: "component", type: IconButtonComponent, selector: "hm-icon-button", inputs: ["label", "icon", "solid", "iconDirection", "emphasis", "intent", "size", "disabled", "toggle", "pressed", "keyShortcuts"], outputs: ["pressedChange", "clicked"] }, { kind: "component", type: SegmentedControlComponent, selector: "hm-segmented-control", inputs: ["options", "value", "label", "size", "emphasis"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
250
473
  }
251
474
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: EventCalendarComponent, decorators: [{
252
475
  type: Component,
253
476
  args: [{ selector: 'hm-event-calendar', imports: [NgTemplateOutlet, ButtonComponent, IconButtonComponent, SegmentedControlComponent], changeDetection: ChangeDetectionStrategy.OnPush, host: {
254
477
  class: 'hm-event-calendar',
255
478
  '[class.hm-event-calendar--compact]': 'compact()',
256
- }, template: "<div class=\"hm-event-calendar__frame\" role=\"group\" [attr.aria-label]=\"label() || text().label\">\n <div class=\"hm-event-calendar__toolbar\">\n <div class=\"hm-event-calendar__nav\">\n <hm-button emphasis=\"medium\" size=\"small\" (clicked)=\"goToday()\">{{ text().today }}</hm-button>\n <hm-icon-button [label]=\"text().previous\" icon=\"angle\" iconDirection=\"left\" emphasis=\"subtle\" size=\"small\" (clicked)=\"shift(-1)\" />\n <hm-icon-button [label]=\"text().next\" icon=\"angle\" iconDirection=\"right\" emphasis=\"subtle\" size=\"small\" (clicked)=\"shift(1)\" />\n <p class=\"hm-event-calendar__title\" [id]=\"titleId\">{{ title() }}</p>\n </div>\n @if (viewOptions().length > 1) {\n <hm-segmented-control class=\"hm-event-calendar__views\" size=\"small\" [label]=\"text().views\" [options]=\"viewOptions()\" [value]=\"view()\" (valueChange)=\"setView($event)\" />\n }\n </div>\n\n <div class=\"hm-visually-hidden\" role=\"status\">{{ announcement() }}</div>\n\n @switch (mode()) {\n @case ('month') {\n <ng-container [ngTemplateOutlet]=\"monthGrid\" [ngTemplateOutletContext]=\"{ compact: false }\" />\n }\n @case ('month-compact') {\n <ng-container [ngTemplateOutlet]=\"monthGrid\" [ngTemplateOutletContext]=\"{ compact: true }\" />\n <div class=\"hm-event-calendar__day-list\">\n <p class=\"hm-event-calendar__list-date\">{{ dayHeading(current()) }}</p>\n <ng-container [ngTemplateOutlet]=\"agendaList\" [ngTemplateOutletContext]=\"{ days: focusedDayAgenda(), headings: false }\" />\n </div>\n }\n @case ('list') {\n <ng-container [ngTemplateOutlet]=\"agendaList\" [ngTemplateOutletContext]=\"{ days: agenda(), headings: true }\" />\n }\n @default {\n <!-- semana e dia: cabe\u00E7alho dos dias, faixa de dia inteiro e grade de horas -->\n <div class=\"hm-event-calendar__time\" [class.hm-event-calendar__time--day]=\"mode() === 'day'\" [style.--hm-ec-days]=\"timeGrid().columns.length\">\n <div class=\"hm-event-calendar__time-head\">\n <span class=\"hm-event-calendar__corner\" aria-hidden=\"true\"></span>\n @for (col of timeGrid().columns; track col.date) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__col-head\"\n [class.hm-event-calendar__col-head--today]=\"col.date === today()\"\n [attr.aria-label]=\"longDate(col.date)\"\n [attr.aria-current]=\"col.date === today() ? 'date' : null\"\n (click)=\"pickDate(col.date)\"\n >\n <span class=\"hm-event-calendar__col-weekday\">{{ weekdayOf(col.date) }}</span>\n <span class=\"hm-event-calendar__col-number\">{{ dayNumber(col.date) }}</span>\n </button>\n }\n </div>\n\n @if (timeGrid().allDayLanes > 0) {\n <div class=\"hm-event-calendar__allday\">\n <span class=\"hm-event-calendar__allday-label\">{{ text().allDay }}</span>\n <div class=\"hm-event-calendar__allday-track\">\n @for (seg of timeGrid().allDay; track seg.entry.event.id) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__event hm-event-calendar__event--bar\"\n [class.hm-event-calendar__event--joins-start]=\"seg.continuesBefore\"\n [class.hm-event-calendar__event--joins-end]=\"seg.continuesAfter\"\n [attr.data-color]=\"seg.entry.color\"\n [style.grid-column]=\"seg.startCol + 1 + ' / span ' + seg.span\"\n [style.grid-row]=\"seg.lane + 1\"\n [attr.aria-label]=\"eventLabel(seg.entry)\"\n (click)=\"openEvent(seg.entry)\"\n >\n <span class=\"hm-event-calendar__event-title\">{{ seg.entry.event.title }}</span>\n </button>\n }\n </div>\n </div>\n }\n\n <!-- tabindex: a grade rola por dentro e precisa ser alcan\u00E7\u00E1vel por teclado mesmo sem evento -->\n <div class=\"hm-event-calendar__scroller\" #scroller tabindex=\"0\">\n <div class=\"hm-event-calendar__body\">\n <div class=\"hm-event-calendar__hours\" aria-hidden=\"true\">\n @for (hour of hours(); track $index) {\n <span class=\"hm-event-calendar__hour\">{{ $index === 0 ? '' : hour }}</span>\n }\n </div>\n @for (col of timeGrid().columns; track col.date) {\n <div\n class=\"hm-event-calendar__column\"\n [class.hm-event-calendar__column--today]=\"col.date === today()\"\n role=\"group\"\n [attr.aria-label]=\"dayLabel(col.date, col.segments.length)\"\n (click)=\"onColumnClick($event, col.date)\"\n >\n @for (seg of col.segments; track seg.entry.event.id) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__event hm-event-calendar__event--timed\"\n [class.hm-event-calendar__event--joins-start]=\"seg.continuesBefore\"\n [class.hm-event-calendar__event--joins-end]=\"seg.continuesAfter\"\n [attr.data-color]=\"seg.entry.color\"\n [style.--hm-ec-start]=\"seg.startMinutes\"\n [style.--hm-ec-end]=\"seg.endMinutes\"\n [style.--hm-ec-col]=\"seg.column\"\n [style.--hm-ec-cols]=\"seg.columns\"\n [attr.aria-label]=\"eventLabel(seg.entry)\"\n (click)=\"openEvent(seg.entry, $event)\"\n >\n <span class=\"hm-event-calendar__event-title\">{{ seg.entry.event.title }}</span>\n <span class=\"hm-event-calendar__event-time\">{{ eventTime(seg.entry) }}</span>\n </button>\n }\n </div>\n }\n </div>\n </div>\n </div>\n }\n }\n</div>\n\n<!-- Grade do m\u00EAs: padr\u00E3o grid da ARIA, um dia foc\u00E1vel por vez (roving tabindex). -->\n<ng-template #monthGrid let-compact=\"compact\">\n <div class=\"hm-event-calendar__month\" [class.hm-event-calendar__month--compact]=\"compact\" role=\"grid\" [attr.aria-labelledby]=\"titleId\">\n <div class=\"hm-event-calendar__weekdays\" role=\"row\">\n @for (name of weekdaysShort(); track $index) {\n <div class=\"hm-event-calendar__weekday\" role=\"columnheader\">\n <span aria-hidden=\"true\">{{ name }}</span>\n <span class=\"hm-visually-hidden\">{{ weekdaysLong()[$index] }}</span>\n </div>\n }\n </div>\n @for (week of weeks(); track $index) {\n <div class=\"hm-event-calendar__week\" role=\"row\">\n @for (cell of week.days; track cell.iso) {\n <div\n class=\"hm-event-calendar__cell\"\n [class.hm-event-calendar__cell--outside]=\"!cell.inMonth\"\n [class.hm-event-calendar__cell--today]=\"cell.today\"\n [class.hm-event-calendar__cell--focused]=\"cell.iso === current()\"\n role=\"gridcell\"\n >\n <button\n type=\"button\"\n class=\"hm-event-calendar__date\"\n [attr.data-focused]=\"cell.iso === current()\"\n [tabindex]=\"cell.iso === current() ? 0 : -1\"\n [attr.aria-label]=\"dayLabel(cell.iso, cell.entries.length)\"\n [attr.aria-current]=\"cell.today ? 'date' : null\"\n (click)=\"pickDate(cell.iso)\"\n (keydown)=\"onDayKeydown($event)\"\n >\n {{ cell.day }}\n </button>\n @if (compact) {\n @if (cell.entries.length) {\n <span class=\"hm-event-calendar__dots\" aria-hidden=\"true\">\n @for (entry of cell.entries.slice(0, 3); track entry.event.id) {\n <span class=\"hm-event-calendar__dot\" [attr.data-color]=\"entry.color\"></span>\n }\n </span>\n }\n } @else {\n <div class=\"hm-event-calendar__slots\">\n @for (slot of cell.slots; track $index) {\n @if (!slot) {\n <span class=\"hm-event-calendar__slot-empty\" aria-hidden=\"true\"></span>\n } @else if (slot.first) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__event\"\n [class.hm-event-calendar__event--bar]=\"isBanner(slot.segment.entry)\"\n [class.hm-event-calendar__event--item]=\"!isBanner(slot.segment.entry)\"\n [class.hm-event-calendar__event--joins-start]=\"slot.segment.continuesBefore\"\n [class.hm-event-calendar__event--joins-end]=\"!slot.last || slot.segment.continuesAfter\"\n [attr.data-color]=\"slot.segment.entry.color\"\n [tabindex]=\"cell.iso === current() ? 0 : -1\"\n [attr.aria-label]=\"eventLabel(slot.segment.entry)\"\n (click)=\"openEvent(slot.segment.entry)\"\n >\n @if (!isBanner(slot.segment.entry)) {\n <span class=\"hm-event-calendar__dot\" aria-hidden=\"true\"></span>\n <span class=\"hm-event-calendar__event-time\">{{ startTime(slot.segment.entry) }}</span>\n }\n <span class=\"hm-event-calendar__event-title\">{{ slot.segment.entry.event.title }}</span>\n </button>\n } @else {\n <!-- continua\u00E7\u00E3o da faixa: s\u00F3 visual; o nome est\u00E1 no primeiro peda\u00E7o da semana -->\n <span\n class=\"hm-event-calendar__event hm-event-calendar__event--bar hm-event-calendar__event--joins-start\"\n [class.hm-event-calendar__event--joins-end]=\"!slot.last || slot.segment.continuesAfter\"\n [attr.data-color]=\"slot.segment.entry.color\"\n aria-hidden=\"true\"\n (click)=\"openEvent(slot.segment.entry)\"\n ></span>\n }\n }\n @if (cell.hidden > 0) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__more\"\n [tabindex]=\"cell.iso === current() ? 0 : -1\"\n [attr.aria-label]=\"moreLabel(cell.iso, cell.hidden)\"\n (click)=\"openDay(cell.iso)\"\n >\n {{ moreText(cell.hidden) }}\n </button>\n }\n </div>\n }\n </div>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!-- Lista (vis\u00E3o lista, semana estreita e os eventos do dia no m\u00EAs compacto). -->\n<ng-template #agendaList let-days=\"days\" let-headings=\"headings\">\n @if (days.length) {\n <ul class=\"hm-event-calendar__list\" [attr.aria-labelledby]=\"titleId\">\n @for (day of days; track day.date) {\n <li class=\"hm-event-calendar__list-day\">\n @if (headings) {\n <p class=\"hm-event-calendar__list-date\" [id]=\"titleId + '-' + day.date\" [class.hm-event-calendar__list-date--today]=\"day.date === today()\">\n {{ dayHeading(day.date) }}\n </p>\n }\n <ul class=\"hm-event-calendar__list-events\" [attr.aria-labelledby]=\"headings ? titleId + '-' + day.date : null\">\n @for (entry of day.entries; track entry.event.id) {\n <li>\n <button type=\"button\" class=\"hm-event-calendar__list-event\" [attr.data-color]=\"entry.color\" (click)=\"openEvent(entry)\">\n <span class=\"hm-event-calendar__swatch\" aria-hidden=\"true\"></span>\n <span class=\"hm-event-calendar__list-title\">{{ entry.event.title }}</span>\n <span class=\"hm-visually-hidden\">, </span>\n <span class=\"hm-event-calendar__list-time\">{{ eventTime(entry) }}</span>\n </button>\n </li>\n }\n </ul>\n </li>\n }\n </ul>\n } @else {\n <p class=\"hm-event-calendar__empty\">{{ text().empty }}</p>\n }\n</ng-template>\n" }]
257
- }], ctorParameters: () => [], propDecorators: { events: [{ type: i0.Input, args: [{ isSignal: true, alias: "events", required: false }] }], view: [{ type: i0.Input, args: [{ isSignal: true, alias: "view", required: false }] }, { type: i0.Output, args: ["viewChange"] }], date: [{ type: i0.Input, args: [{ isSignal: true, alias: "date", required: false }] }, { type: i0.Output, args: ["dateChange"] }], views: [{ type: i0.Input, args: [{ isSignal: true, alias: "views", required: false }] }], timeZone: [{ type: i0.Input, args: [{ isSignal: true, alias: "timeZone", required: false }] }], weekStartsOn: [{ type: i0.Input, args: [{ isSignal: true, alias: "weekStartsOn", required: false }] }], maxEventsPerDay: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxEventsPerDay", required: false }] }], scrollToHour: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollToHour", required: false }] }], compactBelow: [{ type: i0.Input, args: [{ isSignal: true, alias: "compactBelow", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], eventClick: [{ type: i0.Output, args: ["eventClick"] }], dateClick: [{ type: i0.Output, args: ["dateClick"] }], rangeChange: [{ type: i0.Output, args: ["rangeChange"] }], scroller: [{ type: i0.ViewChild, args: ['scroller', { isSignal: true }] }] } });
479
+ }, template: "<div class=\"hm-event-calendar__frame\" role=\"group\" [attr.aria-label]=\"label() || text().label\">\n <div class=\"hm-event-calendar__toolbar\">\n <div class=\"hm-event-calendar__nav\">\n <hm-button emphasis=\"medium\" size=\"small\" (clicked)=\"goToday()\">{{ text().today }}</hm-button>\n <hm-icon-button [label]=\"text().previous\" icon=\"angle\" iconDirection=\"left\" emphasis=\"subtle\" size=\"small\" (clicked)=\"shift(-1)\" />\n <hm-icon-button [label]=\"text().next\" icon=\"angle\" iconDirection=\"right\" emphasis=\"subtle\" size=\"small\" (clicked)=\"shift(1)\" />\n <p class=\"hm-event-calendar__title\" [id]=\"titleId\">{{ title() }}</p>\n </div>\n @if (viewOptions().length > 1) {\n <hm-segmented-control class=\"hm-event-calendar__views\" size=\"small\" [label]=\"text().views\" [options]=\"viewOptions()\" [value]=\"view()\" (valueChange)=\"setView($event)\" />\n }\n </div>\n\n <div class=\"hm-visually-hidden\" role=\"status\">{{ announcement() }}</div>\n @if (editable()) {\n <p class=\"hm-visually-hidden\" [id]=\"editHintId\">{{ editText().hint }}</p>\n }\n\n @switch (mode()) {\n @case ('month') {\n <ng-container [ngTemplateOutlet]=\"monthGrid\" [ngTemplateOutletContext]=\"{ compact: false }\" />\n }\n @case ('month-compact') {\n <ng-container [ngTemplateOutlet]=\"monthGrid\" [ngTemplateOutletContext]=\"{ compact: true }\" />\n <div class=\"hm-event-calendar__day-list\">\n <p class=\"hm-event-calendar__list-date\">{{ dayHeading(current()) }}</p>\n <ng-container [ngTemplateOutlet]=\"agendaList\" [ngTemplateOutletContext]=\"{ days: focusedDayAgenda(), headings: false }\" />\n </div>\n }\n @case ('list') {\n <ng-container [ngTemplateOutlet]=\"agendaList\" [ngTemplateOutletContext]=\"{ days: agenda(), headings: true }\" />\n }\n @default {\n <!-- semana e dia: cabe\u00E7alho dos dias, faixa de dia inteiro e grade de horas -->\n <div class=\"hm-event-calendar__time\" [class.hm-event-calendar__time--day]=\"mode() === 'day'\" [style.--hm-ec-days]=\"timeGrid().columns.length\">\n <div class=\"hm-event-calendar__time-head\">\n <span class=\"hm-event-calendar__corner\" aria-hidden=\"true\"></span>\n @for (col of timeGrid().columns; track col.date) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__col-head\"\n [class.hm-event-calendar__col-head--today]=\"col.date === today()\"\n [attr.data-date]=\"col.date\"\n [attr.aria-label]=\"longDate(col.date)\"\n [attr.aria-current]=\"col.date === today() ? 'date' : null\"\n (click)=\"pickDate(col.date)\"\n >\n <span class=\"hm-event-calendar__col-weekday\">{{ weekdayOf(col.date) }}</span>\n <span class=\"hm-event-calendar__col-number\">{{ dayNumber(col.date) }}</span>\n </button>\n }\n </div>\n\n @if (timeGrid().allDayLanes > 0) {\n <div class=\"hm-event-calendar__allday\">\n <span class=\"hm-event-calendar__allday-label\">{{ text().allDay }}</span>\n <div class=\"hm-event-calendar__allday-track\">\n @for (seg of timeGrid().allDay; track seg.entry.event.id) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__event hm-event-calendar__event--bar\"\n [class.hm-event-calendar__event--joins-start]=\"seg.continuesBefore\"\n [class.hm-event-calendar__event--joins-end]=\"seg.continuesAfter\"\n [attr.data-color]=\"seg.entry.color\"\n [class.hm-event-calendar__event--pending]=\"seg.entry.event.pending\"\n [style.grid-column]=\"seg.startCol + 1 + ' / span ' + seg.span\"\n [style.grid-row]=\"seg.lane + 1\"\n [attr.aria-label]=\"eventLabel(seg.entry)\"\n [attr.data-event-id]=\"seg.entry.event.id\"\n [class.hm-event-calendar__event--editable]=\"canEdit(seg.entry)\"\n [attr.aria-describedby]=\"canEdit(seg.entry) ? editHintId : null\"\n (click)=\"openEvent(seg.entry)\"\n (keydown)=\"onEventKeydown($event, seg.entry)\"\n (pointerdown)=\"onEventPointerDown($event, seg.entry, 'day')\"\n (pointermove)=\"onEventPointerMove($event)\"\n (pointerup)=\"onEventPointerUp($event)\"\n (pointercancel)=\"onEventPointerUp($event)\"\n >\n <span class=\"hm-event-calendar__event-title\">{{ seg.entry.event.title }}</span>\n </button>\n }\n </div>\n </div>\n }\n\n <!-- tabindex: a grade rola por dentro e precisa ser alcan\u00E7\u00E1vel por teclado mesmo sem evento -->\n <div class=\"hm-event-calendar__scroller\" #scroller tabindex=\"0\">\n <div class=\"hm-event-calendar__body\">\n <div class=\"hm-event-calendar__hours\" aria-hidden=\"true\">\n @for (hour of hours(); track $index) {\n <span class=\"hm-event-calendar__hour\">{{ $index === 0 ? '' : hour }}</span>\n }\n </div>\n @for (col of timeGrid().columns; track col.date) {\n <div\n class=\"hm-event-calendar__column\"\n [class.hm-event-calendar__column--today]=\"col.date === today()\"\n [attr.data-date]=\"col.date\"\n role=\"group\"\n [attr.aria-label]=\"dayLabel(col.date, col.segments.length)\"\n (click)=\"onColumnClick($event, col.date)\"\n >\n @for (seg of col.segments; track seg.entry.event.id) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__event hm-event-calendar__event--timed\"\n [class.hm-event-calendar__event--joins-start]=\"seg.continuesBefore\"\n [class.hm-event-calendar__event--joins-end]=\"seg.continuesAfter\"\n [attr.data-color]=\"seg.entry.color\"\n [class.hm-event-calendar__event--pending]=\"seg.entry.event.pending\"\n [style.--hm-ec-start]=\"seg.startMinutes\"\n [style.--hm-ec-end]=\"seg.endMinutes\"\n [style.--hm-ec-col]=\"seg.column\"\n [style.--hm-ec-cols]=\"seg.columns\"\n [attr.aria-label]=\"eventLabel(seg.entry)\"\n [attr.data-event-id]=\"seg.entry.event.id\"\n [class.hm-event-calendar__event--editable]=\"canEdit(seg.entry)\"\n [attr.aria-describedby]=\"canEdit(seg.entry) ? editHintId : null\"\n (click)=\"openEvent(seg.entry, $event)\"\n (keydown)=\"onEventKeydown($event, seg.entry)\"\n (pointerdown)=\"onEventPointerDown($event, seg.entry, 'timed')\"\n (pointermove)=\"onEventPointerMove($event)\"\n (pointerup)=\"onEventPointerUp($event)\"\n (pointercancel)=\"onEventPointerUp($event)\"\n >\n <span class=\"hm-event-calendar__event-title\">{{ seg.entry.event.title }}</span>\n <span class=\"hm-event-calendar__event-time\">{{ eventTime(seg.entry) }}</span>\n @if (canEdit(seg.entry) && !seg.continuesAfter) {\n <span class=\"hm-event-calendar__resize\" aria-hidden=\"true\" (pointerdown)=\"onEventPointerDown($event, seg.entry, 'timed', 'resize')\"></span>\n }\n </button>\n }\n </div>\n }\n </div>\n </div>\n </div>\n }\n }\n</div>\n\n<!-- Grade do m\u00EAs: padr\u00E3o grid da ARIA, um dia foc\u00E1vel por vez (roving tabindex). -->\n<ng-template #monthGrid let-compact=\"compact\">\n <div class=\"hm-event-calendar__month\" [class.hm-event-calendar__month--compact]=\"compact\" role=\"grid\" [attr.aria-labelledby]=\"titleId\">\n <div class=\"hm-event-calendar__weekdays\" role=\"row\">\n @for (name of weekdaysShort(); track $index) {\n <div class=\"hm-event-calendar__weekday\" role=\"columnheader\">\n <span aria-hidden=\"true\">{{ name }}</span>\n <span class=\"hm-visually-hidden\">{{ weekdaysLong()[$index] }}</span>\n </div>\n }\n </div>\n @for (week of weeks(); track $index) {\n <div class=\"hm-event-calendar__week\" role=\"row\">\n @for (cell of week.days; track cell.iso) {\n <div\n class=\"hm-event-calendar__cell\"\n [class.hm-event-calendar__cell--outside]=\"!cell.inMonth\"\n [class.hm-event-calendar__cell--today]=\"cell.today\"\n [class.hm-event-calendar__cell--focused]=\"cell.iso === current()\"\n [class.hm-event-calendar__cell--drop]=\"dropDate() === cell.iso\"\n [attr.data-date]=\"cell.iso\"\n role=\"gridcell\"\n >\n <button\n type=\"button\"\n class=\"hm-event-calendar__date\"\n [attr.data-focused]=\"cell.iso === current()\"\n [tabindex]=\"cell.iso === current() ? 0 : -1\"\n [attr.aria-label]=\"dayLabel(cell.iso, cell.entries.length)\"\n [attr.aria-current]=\"cell.today ? 'date' : null\"\n (click)=\"pickDate(cell.iso)\"\n (keydown)=\"onDayKeydown($event)\"\n >\n {{ cell.day }}\n </button>\n @if (compact) {\n @if (cell.entries.length) {\n <span class=\"hm-event-calendar__dots\" aria-hidden=\"true\">\n @for (entry of cell.entries.slice(0, 3); track entry.event.id) {\n <span class=\"hm-event-calendar__dot\" [attr.data-color]=\"entry.color\"></span>\n }\n </span>\n }\n } @else {\n <div class=\"hm-event-calendar__slots\">\n @for (slot of cell.slots; track $index) {\n @if (!slot) {\n <span class=\"hm-event-calendar__slot-empty\" aria-hidden=\"true\"></span>\n } @else if (slot.first) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__event\"\n [class.hm-event-calendar__event--bar]=\"isBanner(slot.segment.entry)\"\n [class.hm-event-calendar__event--item]=\"!isBanner(slot.segment.entry)\"\n [class.hm-event-calendar__event--joins-start]=\"slot.segment.continuesBefore\"\n [class.hm-event-calendar__event--joins-end]=\"!slot.last || slot.segment.continuesAfter\"\n [attr.data-color]=\"slot.segment.entry.color\"\n [class.hm-event-calendar__event--pending]=\"slot.segment.entry.event.pending\"\n [tabindex]=\"cell.iso === current() ? 0 : -1\"\n [attr.aria-label]=\"eventLabel(slot.segment.entry)\"\n [attr.data-event-id]=\"slot.segment.entry.event.id\"\n [class.hm-event-calendar__event--editable]=\"canEdit(slot.segment.entry)\"\n [attr.aria-describedby]=\"canEdit(slot.segment.entry) ? editHintId : null\"\n (click)=\"openEvent(slot.segment.entry)\"\n (keydown)=\"onEventKeydown($event, slot.segment.entry)\"\n (pointerdown)=\"onEventPointerDown($event, slot.segment.entry, 'day')\"\n (pointermove)=\"onEventPointerMove($event)\"\n (pointerup)=\"onEventPointerUp($event)\"\n (pointercancel)=\"onEventPointerUp($event)\"\n >\n @if (!isBanner(slot.segment.entry)) {\n <span class=\"hm-event-calendar__dot\" [attr.data-color]=\"slot.segment.entry.color\" aria-hidden=\"true\"></span>\n <span class=\"hm-event-calendar__event-time\">{{ startTime(slot.segment.entry) }}</span>\n }\n <span class=\"hm-event-calendar__event-title\">{{ slot.segment.entry.event.title }}</span>\n </button>\n } @else {\n <!-- continua\u00E7\u00E3o da faixa: s\u00F3 visual; o nome est\u00E1 no primeiro peda\u00E7o da semana -->\n <span\n class=\"hm-event-calendar__event hm-event-calendar__event--bar hm-event-calendar__event--joins-start\"\n [class.hm-event-calendar__event--joins-end]=\"!slot.last || slot.segment.continuesAfter\"\n [attr.data-color]=\"slot.segment.entry.color\"\n [class.hm-event-calendar__event--pending]=\"slot.segment.entry.event.pending\"\n aria-hidden=\"true\"\n (click)=\"openEvent(slot.segment.entry)\"\n ></span>\n }\n }\n @if (cell.hidden > 0) {\n <button\n type=\"button\"\n class=\"hm-event-calendar__more\"\n [tabindex]=\"cell.iso === current() ? 0 : -1\"\n [attr.aria-label]=\"moreLabel(cell.iso, cell.hidden)\"\n (click)=\"openDay(cell.iso)\"\n >\n {{ moreText(cell.hidden) }}\n </button>\n }\n </div>\n }\n </div>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!-- Lista (vis\u00E3o lista, semana estreita e os eventos do dia no m\u00EAs compacto). -->\n<ng-template #agendaList let-days=\"days\" let-headings=\"headings\">\n @if (days.length) {\n <ul class=\"hm-event-calendar__list\" [attr.aria-labelledby]=\"titleId\">\n @for (day of days; track day.date) {\n <li class=\"hm-event-calendar__list-day\">\n @if (headings) {\n <p class=\"hm-event-calendar__list-date\" [id]=\"titleId + '-' + day.date\" [class.hm-event-calendar__list-date--today]=\"day.date === today()\">\n {{ dayHeading(day.date) }}\n </p>\n }\n <ul class=\"hm-event-calendar__list-events\" [attr.aria-labelledby]=\"headings ? titleId + '-' + day.date : null\">\n @for (entry of day.entries; track entry.event.id) {\n <li>\n <button\n type=\"button\"\n class=\"hm-event-calendar__list-event\"\n [class.hm-event-calendar__list-event--pending]=\"entry.event.pending\"\n [attr.data-color]=\"entry.color\"\n [attr.data-event-id]=\"entry.event.id\"\n [attr.aria-describedby]=\"canEdit(entry) ? editHintId : null\"\n (click)=\"openEvent(entry)\"\n (keydown)=\"onEventKeydown($event, entry)\"\n >\n <span class=\"hm-event-calendar__swatch\" [attr.data-color]=\"entry.color\" aria-hidden=\"true\"></span>\n <span class=\"hm-event-calendar__list-title\">{{ entry.event.title }}</span>\n <span class=\"hm-visually-hidden\">, </span>\n <span class=\"hm-event-calendar__list-time\">{{ eventTime(entry) }}</span>\n @if (entry.event.pending) {\n <span class=\"hm-visually-hidden\">, {{ editText().pending }}</span>\n }\n </button>\n </li>\n }\n </ul>\n </li>\n }\n </ul>\n } @else {\n <p class=\"hm-event-calendar__empty\">{{ text().empty }}</p>\n }\n</ng-template>\n" }]
480
+ }], ctorParameters: () => [], propDecorators: { events: [{ type: i0.Input, args: [{ isSignal: true, alias: "events", required: false }] }], view: [{ type: i0.Input, args: [{ isSignal: true, alias: "view", required: false }] }, { type: i0.Output, args: ["viewChange"] }], date: [{ type: i0.Input, args: [{ isSignal: true, alias: "date", required: false }] }, { type: i0.Output, args: ["dateChange"] }], views: [{ type: i0.Input, args: [{ isSignal: true, alias: "views", required: false }] }], timeZone: [{ type: i0.Input, args: [{ isSignal: true, alias: "timeZone", required: false }] }], weekStartsOn: [{ type: i0.Input, args: [{ isSignal: true, alias: "weekStartsOn", required: false }] }], maxEventsPerDay: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxEventsPerDay", required: false }] }], scrollToHour: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollToHour", required: false }] }], compactBelow: [{ type: i0.Input, args: [{ isSignal: true, alias: "compactBelow", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], editable: [{ type: i0.Input, args: [{ isSignal: true, alias: "editable", required: false }] }], snapMinutes: [{ type: i0.Input, args: [{ isSignal: true, alias: "snapMinutes", required: false }] }], eventClick: [{ type: i0.Output, args: ["eventClick"] }], dateClick: [{ type: i0.Output, args: ["dateClick"] }], rangeChange: [{ type: i0.Output, args: ["rangeChange"] }], eventChange: [{ type: i0.Output, args: ["eventChange"] }], scroller: [{ type: i0.ViewChild, args: ['scroller', { isSignal: true }] }] } });
258
481
 
259
482
  // Ponto de import `@trismegisto/angular/event-calendar` (secundário do ng-packagr): o que o public-api e as outras pastas usam
260
483
  // daqui. Gerado em 2026-10-03; ao criar arquivo público novo na pasta, acrescente a linha.
@@ -263,5 +486,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
263
486
  * Generated bundle index. Do not edit.
264
487
  */
265
488
 
266
- export { EventCalendarComponent };
489
+ export { EVENT_CALENDAR_EDITING_MESSAGES, EVENT_CALENDAR_EDITING_MESSAGES_EN, EVENT_CALENDAR_EDITING_MESSAGES_ES, EVENT_CALENDAR_EDITING_MESSAGES_PT_BR, EventCalendarComponent };
267
490
  //# sourceMappingURL=trismegisto-angular-event-calendar.mjs.map