@fundamental-ngx/core 0.46.2-rc.2 → 0.46.2-rc.21

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 (294) hide show
  1. package/calendar/calendar-directives.d.ts +5 -9
  2. package/calendar/calendar-header/calendar-header.component.d.ts +7 -25
  3. package/calendar/calendar-views/calendar-aggregated-year-view/calendar-aggregated-year-view.component.d.ts +1 -20
  4. package/calendar/calendar-views/calendar-day-view/calendar-day-view.component.d.ts +6 -44
  5. package/calendar/calendar-views/calendar-month-view/calendar-month-view.component.d.ts +2 -21
  6. package/calendar/calendar-views/calendar-year-view/calendar-year-view.component.d.ts +3 -22
  7. package/calendar/calendar.component.d.ts +9 -9
  8. package/calendar/i18n/calendar-i18n-labels.d.ts +20 -22
  9. package/calendar/patch-deprecated-i18n-labels.d.ts +6 -0
  10. package/combobox/combobox-item.directive.d.ts +16 -0
  11. package/combobox/combobox.component.d.ts +11 -7
  12. package/combobox/combobox.interface.d.ts +4 -0
  13. package/combobox/combobox.module.d.ts +3 -2
  14. package/combobox/index.d.ts +1 -0
  15. package/dialog/dialog.module.d.ts +5 -4
  16. package/dialog/directives/dialog-template.directive.d.ts +20 -0
  17. package/dialog/index.d.ts +1 -0
  18. package/dialog/utils/dialog-config.class.d.ts +1 -0
  19. package/esm2022/action-bar/action-bar.component.mjs +2 -2
  20. package/esm2022/action-sheet/action-sheet.component.mjs +3 -3
  21. package/esm2022/avatar/avatar.component.mjs +2 -2
  22. package/esm2022/avatar-group/avatar-group.component.mjs +2 -2
  23. package/esm2022/bar/bar.component.mjs +2 -2
  24. package/esm2022/breadcrumb/breadcrumb.component.mjs +3 -3
  25. package/esm2022/busy-indicator/busy-indicator.component.mjs +3 -3
  26. package/esm2022/button/button.component.mjs +2 -2
  27. package/esm2022/calendar/calendar-directives.mjs +10 -18
  28. package/esm2022/calendar/calendar-header/calendar-header.component.mjs +30 -60
  29. package/esm2022/calendar/calendar-views/calendar-aggregated-year-view/calendar-aggregated-year-view.component.mjs +10 -35
  30. package/esm2022/calendar/calendar-views/calendar-day-view/calendar-day-view.component.mjs +13 -65
  31. package/esm2022/calendar/calendar-views/calendar-month-view/calendar-month-view.component.mjs +11 -36
  32. package/esm2022/calendar/calendar-views/calendar-year-view/calendar-year-view.component.mjs +12 -37
  33. package/esm2022/calendar/calendar.component.mjs +22 -12
  34. package/esm2022/calendar/i18n/calendar-i18n-labels.mjs +22 -28
  35. package/esm2022/calendar/patch-deprecated-i18n-labels.mjs +21 -0
  36. package/esm2022/card/card.component.mjs +2 -2
  37. package/esm2022/carousel/carousel.component.mjs +2 -2
  38. package/esm2022/checkbox/checkbox/checkbox.component.mjs +2 -2
  39. package/esm2022/combobox/combobox-item.directive.mjs +24 -0
  40. package/esm2022/combobox/combobox-mobile/combobox-mobile.component.mjs +3 -3
  41. package/esm2022/combobox/combobox.component.mjs +14 -7
  42. package/esm2022/combobox/combobox.interface.mjs +1 -1
  43. package/esm2022/combobox/combobox.module.mjs +5 -4
  44. package/esm2022/combobox/index.mjs +2 -1
  45. package/esm2022/date-picker/date-picker-mobile/date-picker-mobile.component.mjs +3 -3
  46. package/esm2022/datetime-picker/datetime-picker-mobile/datetime-picker-mobile.component.mjs +3 -3
  47. package/esm2022/dialog/dialog-body/dialog-body.component.mjs +1 -2
  48. package/esm2022/dialog/dialog-close-button/dialog-close-button.component.mjs +1 -1
  49. package/esm2022/dialog/dialog-container/dialog-container.component.mjs +1 -1
  50. package/esm2022/dialog/dialog-full-screen-toggler-button/dialog-full-screen-toggler-button.component.mjs +1 -1
  51. package/esm2022/dialog/dialog.component.mjs +3 -3
  52. package/esm2022/dialog/dialog.module.mjs +8 -4
  53. package/esm2022/dialog/directives/dialog-template.directive.mjs +24 -0
  54. package/esm2022/dialog/index.mjs +2 -1
  55. package/esm2022/dialog/utils/dialog-config.class.mjs +1 -1
  56. package/esm2022/dynamic-page/dynamic-page.component.mjs +2 -2
  57. package/esm2022/dynamic-side-content/dynamic-side-content.component.mjs +2 -2
  58. package/esm2022/facets/facet/facet.component.mjs +2 -2
  59. package/esm2022/feed-input/feed-input.component.mjs +2 -2
  60. package/esm2022/feed-list-item/components/list/feed-list.component.mjs +2 -2
  61. package/esm2022/file-uploader/file-uploader.component.mjs +2 -2
  62. package/esm2022/fixed-card-layout/fixed-card-layout.component.mjs +2 -2
  63. package/esm2022/flexible-column-layout/flexible-column-layout.component.mjs +2 -2
  64. package/esm2022/form/fieldset/fieldset.component.mjs +2 -2
  65. package/esm2022/form/form-control/form-control.component.mjs +2 -2
  66. package/esm2022/form/form-group/form-group.component.mjs +2 -2
  67. package/esm2022/form/form-header/form-header.component.mjs +2 -2
  68. package/esm2022/form/form-item/form-item.component.mjs +2 -2
  69. package/esm2022/form/form-label/form-label.component.mjs +3 -3
  70. package/esm2022/form/form-message/form-message.component.mjs +2 -2
  71. package/esm2022/generic-tag/generic-tag.component.mjs +2 -2
  72. package/esm2022/grid-list/components/grid-list/grid-list.component.mjs +2 -2
  73. package/esm2022/grid-list/components/grid-list-filter-bar/grid-list-filter-bar.component.mjs +2 -2
  74. package/esm2022/grid-list/components/grid-list-item/grid-list-item.component.mjs +2 -2
  75. package/esm2022/icon/icon.component.mjs +78 -29
  76. package/esm2022/illustrated-message/illustrated-message.component.mjs +2 -2
  77. package/esm2022/info-label/info-label.component.mjs +2 -2
  78. package/esm2022/input-group/input-group.component.mjs +2 -2
  79. package/esm2022/layout-grid/layout-grid.component.mjs +2 -2
  80. package/esm2022/layout-panel/layout-panel.component.mjs +2 -2
  81. package/esm2022/link/link.component.mjs +3 -3
  82. package/esm2022/list/list-navigation-item/list-navigation-item.component.mjs +2 -2
  83. package/esm2022/list/list.component.mjs +2 -2
  84. package/esm2022/menu/menu-mobile/menu-mobile.component.mjs +3 -3
  85. package/esm2022/menu/menu.component.mjs +4 -8
  86. package/esm2022/message-box/directives/message-box-template.directive.mjs +24 -0
  87. package/esm2022/message-box/index.mjs +8 -7
  88. package/esm2022/message-box/message-box.component.mjs +2 -2
  89. package/esm2022/message-box/message-box.module.mjs +8 -4
  90. package/esm2022/message-page/message-page.component.mjs +2 -2
  91. package/esm2022/message-strip/alert/message-strip-alert-container/message-strip-alert-container.component.mjs +2 -2
  92. package/esm2022/message-strip/message-strip.component.mjs +2 -2
  93. package/esm2022/message-toast/message-toast.component.mjs +2 -2
  94. package/esm2022/micro-process-flow/components/micro-process-flow/micro-process-flow.component.mjs +2 -2
  95. package/esm2022/micro-process-flow/components/micro-process-flow-icon/micro-process-flow-icon.component.mjs +1 -1
  96. package/esm2022/multi-combobox/index.mjs +2 -1
  97. package/esm2022/multi-combobox/mobile/mobile-multi-combobox.component.mjs +3 -3
  98. package/esm2022/multi-combobox/multi-announcer/multi-announcer.directive.mjs +74 -0
  99. package/esm2022/multi-combobox/multi-combobox.component.mjs +6 -4
  100. package/esm2022/multi-combobox/multi-combobox.module.mjs +5 -4
  101. package/esm2022/multi-input/multi-input-mobile/multi-input-mobile.component.mjs +3 -3
  102. package/esm2022/multi-input/multi-input.component.mjs +18 -7
  103. package/esm2022/nested-list/nested-list-directives.mjs +2 -2
  104. package/esm2022/notification/notification/notification.component.mjs +2 -2
  105. package/esm2022/object-identifier/object-identifier.component.mjs +2 -2
  106. package/esm2022/object-marker/object-marker.component.mjs +2 -2
  107. package/esm2022/object-number/object-number.component.mjs +2 -2
  108. package/esm2022/object-status/object-status.component.mjs +3 -3
  109. package/esm2022/pagination/pagination.component.mjs +2 -2
  110. package/esm2022/panel/panel.component.mjs +2 -2
  111. package/esm2022/popover/base/base-popover.class.mjs +2 -6
  112. package/esm2022/popover/popover-body/popover-body.component.mjs +3 -5
  113. package/esm2022/popover/popover-mobile/popover-mobile.component.mjs +3 -3
  114. package/esm2022/popover/popover-service/popover.service.mjs +1 -2
  115. package/esm2022/product-switch/product-switch-body/product-switch-body.component.mjs +2 -2
  116. package/esm2022/progress-indicator/progress-indicator.component.mjs +2 -2
  117. package/esm2022/quick-view/quick-view/quick-view.component.mjs +2 -2
  118. package/esm2022/radio/radio-button/radio-button.component.mjs +2 -2
  119. package/esm2022/rating-indicator/components/rating-indicator.component.mjs +14 -6
  120. package/esm2022/resizable-card-layout/resizable-card-layout/resizable-card-item/resizable-card-item.component.mjs +2 -2
  121. package/esm2022/resizable-card-layout/resizable-card-layout/resizable-card-layout.component.mjs +2 -2
  122. package/esm2022/scrollbar/scrollbar.directive.mjs +2 -13
  123. package/esm2022/segmented-button/segmented-button.component.mjs +2 -2
  124. package/esm2022/select/select-mobile/select-mobile.component.mjs +3 -3
  125. package/esm2022/select/select.component.mjs +3 -3
  126. package/esm2022/shellbar/product-menu/product-menu.component.mjs +2 -2
  127. package/esm2022/shellbar/shellbar.component.mjs +2 -2
  128. package/esm2022/shellbar/user-menu/shellbar-user-menu.component.mjs +2 -2
  129. package/esm2022/side-navigation/side-navigation.component.mjs +2 -2
  130. package/esm2022/skeleton/components/skeleton.component.mjs +2 -2
  131. package/esm2022/slider/slider.component.mjs +2 -2
  132. package/esm2022/split-button/split-button.component.mjs +2 -2
  133. package/esm2022/splitter/splitter-resizer/splitter-resizer.component.mjs +1 -1
  134. package/esm2022/splitter/splitter.component.mjs +2 -2
  135. package/esm2022/status-indicator/status-indicator.component.mjs +2 -2
  136. package/esm2022/step-input/step-input.component.mjs +2 -2
  137. package/esm2022/switch/switch.component.mjs +2 -2
  138. package/esm2022/table/table-wrapper.component.mjs +2 -2
  139. package/esm2022/table/table.component.mjs +2 -2
  140. package/esm2022/tabs/tab-item-expand/tab-item-expand.component.mjs +2 -2
  141. package/esm2022/tabs/tab-list.component.mjs +3 -3
  142. package/esm2022/tabs/tab-nav/tab-nav.component.mjs +2 -2
  143. package/esm2022/tabs/tab-utils/tab-directives.mjs +1 -1
  144. package/esm2022/text/text.component.mjs +2 -2
  145. package/esm2022/tile/tile.component.mjs +2 -2
  146. package/esm2022/time/time.component.mjs +2 -2
  147. package/esm2022/timeline/components/timeline-node/timeline-node.component.mjs +1 -1
  148. package/esm2022/title/title.component.mjs +2 -2
  149. package/esm2022/token/token.component.mjs +2 -2
  150. package/esm2022/token/tokenizer.component.mjs +2 -2
  151. package/esm2022/toolbar/toolbar.component.mjs +2 -2
  152. package/esm2022/tree/components/tree-item/tree-item.component.mjs +2 -2
  153. package/esm2022/tree/tree.component.mjs +2 -2
  154. package/esm2022/upload-collection/upload-collection.component.mjs +2 -2
  155. package/esm2022/vertical-navigation/vertical-navigation-main-navigation.component.mjs +2 -2
  156. package/esm2022/vertical-navigation/vertical-navigation.component.mjs +2 -2
  157. package/esm2022/wizard/wizard-step-indicator/wizard-step-indicator.component.mjs +1 -1
  158. package/esm2022/wizard/wizard.component.mjs +3 -3
  159. package/fesm2022/fundamental-ngx-core-action-bar.mjs +2 -2
  160. package/fesm2022/fundamental-ngx-core-action-sheet.mjs +2 -2
  161. package/fesm2022/fundamental-ngx-core-action-sheet.mjs.map +1 -1
  162. package/fesm2022/fundamental-ngx-core-avatar-group.mjs +2 -2
  163. package/fesm2022/fundamental-ngx-core-avatar.mjs +2 -2
  164. package/fesm2022/fundamental-ngx-core-avatar.mjs.map +1 -1
  165. package/fesm2022/fundamental-ngx-core-bar.mjs +2 -2
  166. package/fesm2022/fundamental-ngx-core-breadcrumb.mjs +2 -2
  167. package/fesm2022/fundamental-ngx-core-breadcrumb.mjs.map +1 -1
  168. package/fesm2022/fundamental-ngx-core-busy-indicator.mjs +2 -2
  169. package/fesm2022/fundamental-ngx-core-busy-indicator.mjs.map +1 -1
  170. package/fesm2022/fundamental-ngx-core-button.mjs +2 -2
  171. package/fesm2022/fundamental-ngx-core-button.mjs.map +1 -1
  172. package/fesm2022/fundamental-ngx-core-calendar.mjs +152 -290
  173. package/fesm2022/fundamental-ngx-core-calendar.mjs.map +1 -1
  174. package/fesm2022/fundamental-ngx-core-card.mjs +2 -2
  175. package/fesm2022/fundamental-ngx-core-carousel.mjs +2 -2
  176. package/fesm2022/fundamental-ngx-core-checkbox.mjs +2 -2
  177. package/fesm2022/fundamental-ngx-core-combobox.mjs +40 -12
  178. package/fesm2022/fundamental-ngx-core-combobox.mjs.map +1 -1
  179. package/fesm2022/fundamental-ngx-core-date-picker.mjs +2 -2
  180. package/fesm2022/fundamental-ngx-core-date-picker.mjs.map +1 -1
  181. package/fesm2022/fundamental-ngx-core-datetime-picker.mjs +2 -2
  182. package/fesm2022/fundamental-ngx-core-datetime-picker.mjs.map +1 -1
  183. package/fesm2022/fundamental-ngx-core-dialog.mjs +33 -9
  184. package/fesm2022/fundamental-ngx-core-dialog.mjs.map +1 -1
  185. package/fesm2022/fundamental-ngx-core-dynamic-page.mjs +2 -2
  186. package/fesm2022/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
  187. package/fesm2022/fundamental-ngx-core-dynamic-side-content.mjs +2 -2
  188. package/fesm2022/fundamental-ngx-core-facets.mjs +2 -2
  189. package/fesm2022/fundamental-ngx-core-feed-input.mjs +2 -2
  190. package/fesm2022/fundamental-ngx-core-feed-list-item.mjs +2 -2
  191. package/fesm2022/fundamental-ngx-core-file-uploader.mjs +2 -2
  192. package/fesm2022/fundamental-ngx-core-fixed-card-layout.mjs +2 -2
  193. package/fesm2022/fundamental-ngx-core-flexible-column-layout.mjs +2 -2
  194. package/fesm2022/fundamental-ngx-core-form.mjs +14 -14
  195. package/fesm2022/fundamental-ngx-core-form.mjs.map +1 -1
  196. package/fesm2022/fundamental-ngx-core-generic-tag.mjs +2 -2
  197. package/fesm2022/fundamental-ngx-core-grid-list.mjs +4 -4
  198. package/fesm2022/fundamental-ngx-core-grid-list.mjs.map +1 -1
  199. package/fesm2022/fundamental-ngx-core-icon.mjs +78 -29
  200. package/fesm2022/fundamental-ngx-core-icon.mjs.map +1 -1
  201. package/fesm2022/fundamental-ngx-core-illustrated-message.mjs +2 -2
  202. package/fesm2022/fundamental-ngx-core-info-label.mjs +2 -2
  203. package/fesm2022/fundamental-ngx-core-info-label.mjs.map +1 -1
  204. package/fesm2022/fundamental-ngx-core-input-group.mjs +2 -2
  205. package/fesm2022/fundamental-ngx-core-layout-grid.mjs +2 -2
  206. package/fesm2022/fundamental-ngx-core-layout-panel.mjs +2 -2
  207. package/fesm2022/fundamental-ngx-core-link.mjs +2 -2
  208. package/fesm2022/fundamental-ngx-core-link.mjs.map +1 -1
  209. package/fesm2022/fundamental-ngx-core-list.mjs +4 -4
  210. package/fesm2022/fundamental-ngx-core-list.mjs.map +1 -1
  211. package/fesm2022/fundamental-ngx-core-menu.mjs +5 -9
  212. package/fesm2022/fundamental-ngx-core-menu.mjs.map +1 -1
  213. package/fesm2022/fundamental-ngx-core-message-box.mjs +35 -10
  214. package/fesm2022/fundamental-ngx-core-message-box.mjs.map +1 -1
  215. package/fesm2022/fundamental-ngx-core-message-page.mjs +2 -2
  216. package/fesm2022/fundamental-ngx-core-message-strip.mjs +3 -3
  217. package/fesm2022/fundamental-ngx-core-message-strip.mjs.map +1 -1
  218. package/fesm2022/fundamental-ngx-core-message-toast.mjs +2 -2
  219. package/fesm2022/fundamental-ngx-core-micro-process-flow.mjs +3 -3
  220. package/fesm2022/fundamental-ngx-core-micro-process-flow.mjs.map +1 -1
  221. package/fesm2022/fundamental-ngx-core-multi-combobox.mjs +84 -13
  222. package/fesm2022/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
  223. package/fesm2022/fundamental-ngx-core-multi-input.mjs +19 -8
  224. package/fesm2022/fundamental-ngx-core-multi-input.mjs.map +1 -1
  225. package/fesm2022/fundamental-ngx-core-nested-list.mjs +1 -1
  226. package/fesm2022/fundamental-ngx-core-nested-list.mjs.map +1 -1
  227. package/fesm2022/fundamental-ngx-core-notification.mjs +2 -2
  228. package/fesm2022/fundamental-ngx-core-object-identifier.mjs +2 -2
  229. package/fesm2022/fundamental-ngx-core-object-marker.mjs +2 -2
  230. package/fesm2022/fundamental-ngx-core-object-number.mjs +2 -2
  231. package/fesm2022/fundamental-ngx-core-object-status.mjs +2 -2
  232. package/fesm2022/fundamental-ngx-core-object-status.mjs.map +1 -1
  233. package/fesm2022/fundamental-ngx-core-pagination.mjs +2 -2
  234. package/fesm2022/fundamental-ngx-core-panel.mjs +2 -2
  235. package/fesm2022/fundamental-ngx-core-popover.mjs +5 -12
  236. package/fesm2022/fundamental-ngx-core-popover.mjs.map +1 -1
  237. package/fesm2022/fundamental-ngx-core-product-switch.mjs +2 -2
  238. package/fesm2022/fundamental-ngx-core-progress-indicator.mjs +2 -2
  239. package/fesm2022/fundamental-ngx-core-quick-view.mjs +2 -2
  240. package/fesm2022/fundamental-ngx-core-radio.mjs +2 -2
  241. package/fesm2022/fundamental-ngx-core-rating-indicator.mjs +13 -5
  242. package/fesm2022/fundamental-ngx-core-rating-indicator.mjs.map +1 -1
  243. package/fesm2022/fundamental-ngx-core-resizable-card-layout.mjs +4 -4
  244. package/fesm2022/fundamental-ngx-core-scrollbar.mjs +1 -12
  245. package/fesm2022/fundamental-ngx-core-scrollbar.mjs.map +1 -1
  246. package/fesm2022/fundamental-ngx-core-segmented-button.mjs +2 -2
  247. package/fesm2022/fundamental-ngx-core-select.mjs +4 -4
  248. package/fesm2022/fundamental-ngx-core-select.mjs.map +1 -1
  249. package/fesm2022/fundamental-ngx-core-shellbar.mjs +4 -4
  250. package/fesm2022/fundamental-ngx-core-shellbar.mjs.map +1 -1
  251. package/fesm2022/fundamental-ngx-core-side-navigation.mjs +2 -2
  252. package/fesm2022/fundamental-ngx-core-skeleton.mjs +2 -2
  253. package/fesm2022/fundamental-ngx-core-slider.mjs +2 -2
  254. package/fesm2022/fundamental-ngx-core-split-button.mjs +2 -2
  255. package/fesm2022/fundamental-ngx-core-splitter.mjs +3 -3
  256. package/fesm2022/fundamental-ngx-core-splitter.mjs.map +1 -1
  257. package/fesm2022/fundamental-ngx-core-status-indicator.mjs +2 -2
  258. package/fesm2022/fundamental-ngx-core-step-input.mjs +2 -2
  259. package/fesm2022/fundamental-ngx-core-switch.mjs +2 -2
  260. package/fesm2022/fundamental-ngx-core-table.mjs +4 -4
  261. package/fesm2022/fundamental-ngx-core-table.mjs.map +1 -1
  262. package/fesm2022/fundamental-ngx-core-tabs.mjs +6 -6
  263. package/fesm2022/fundamental-ngx-core-tabs.mjs.map +1 -1
  264. package/fesm2022/fundamental-ngx-core-text.mjs +2 -2
  265. package/fesm2022/fundamental-ngx-core-tile.mjs +2 -2
  266. package/fesm2022/fundamental-ngx-core-time.mjs +2 -2
  267. package/fesm2022/fundamental-ngx-core-timeline.mjs +1 -1
  268. package/fesm2022/fundamental-ngx-core-timeline.mjs.map +1 -1
  269. package/fesm2022/fundamental-ngx-core-title.mjs +2 -2
  270. package/fesm2022/fundamental-ngx-core-token.mjs +4 -4
  271. package/fesm2022/fundamental-ngx-core-toolbar.mjs +2 -2
  272. package/fesm2022/fundamental-ngx-core-tree.mjs +3 -3
  273. package/fesm2022/fundamental-ngx-core-tree.mjs.map +1 -1
  274. package/fesm2022/fundamental-ngx-core-upload-collection.mjs +2 -2
  275. package/fesm2022/fundamental-ngx-core-vertical-navigation.mjs +4 -4
  276. package/fesm2022/fundamental-ngx-core-wizard.mjs +3 -3
  277. package/fesm2022/fundamental-ngx-core-wizard.mjs.map +1 -1
  278. package/fundamental-ngx-core-v0.46.2-rc.21.tgz +0 -0
  279. package/icon/icon.component.d.ts +26 -9
  280. package/menu/menu.component.d.ts +1 -3
  281. package/message-box/directives/message-box-template.directive.d.ts +20 -0
  282. package/message-box/index.d.ts +7 -6
  283. package/message-box/message-box.module.d.ts +2 -1
  284. package/multi-combobox/index.d.ts +1 -0
  285. package/multi-combobox/multi-announcer/multi-announcer.directive.d.ts +23 -0
  286. package/multi-combobox/multi-combobox.module.d.ts +2 -1
  287. package/multi-input/multi-input.component.d.ts +3 -1
  288. package/package.json +4 -4
  289. package/popover/base/base-popover.class.d.ts +1 -3
  290. package/popover/popover-body/popover-body.component.d.ts +0 -2
  291. package/rating-indicator/components/rating-indicator.component.d.ts +5 -2
  292. package/schematics/add-dependencies/index.js +6 -6
  293. package/scrollbar/scrollbar.directive.d.ts +1 -5
  294. package/fundamental-ngx-core-v0.46.2-rc.2.tgz +0 -0
@@ -1,15 +1,11 @@
1
- import { CalendarI18nLabels } from './i18n/calendar-i18n-labels';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class CalendarCloseButtonDirective {
4
- private _originalAriaLabel;
5
- private _originalTitle;
6
- private _calendarI18nLabels;
3
+ protected _originalAriaLabel: string;
4
+ protected _originalTitle: string;
7
5
  /** @hidden */
8
- get _ariaLabel(): string;
6
+ protected _closeCalendarLabel: import("@angular/core").Signal<string>;
9
7
  /** @hidden */
10
- get _title(): string;
11
- /** @hidden */
12
- constructor(_originalAriaLabel: string, _originalTitle: string, _calendarI18nLabels: CalendarI18nLabels);
13
- static ɵfac: i0.ɵɵFactoryDeclaration<CalendarCloseButtonDirective, [{ attribute: "aria-label"; }, { attribute: "title"; }, null]>;
8
+ constructor(_originalAriaLabel: string, _originalTitle: string);
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarCloseButtonDirective, [{ attribute: "aria-label"; }, { attribute: "title"; }]>;
14
10
  static ɵdir: i0.ɵɵDirectiveDeclaration<CalendarCloseButtonDirective, "[fd-calendar-close-button]", never, {}, {}, never, never, true, never>;
15
11
  }
@@ -1,17 +1,15 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { DatetimeAdapter } from '@fundamental-ngx/core/datetime';
3
- import { CalendarI18nLabels } from '../i18n/calendar-i18n-labels';
4
- import { FdCalendarView } from '../types';
3
+ import { CalendarService } from '../calendar.service';
5
4
  import { CalendarCurrent } from '../models/calendar-current';
6
5
  import { CalendarYearGrid } from '../models/calendar-year-grid';
7
- import { CalendarService } from '../calendar.service';
6
+ import { FdCalendarView } from '../types';
8
7
  import * as i0 from "@angular/core";
9
8
  /**
10
9
  * Internal use only.
11
10
  * Header of the calendar component.
12
11
  */
13
12
  export declare class CalendarHeaderComponent<D> implements OnDestroy, OnInit, OnChanges {
14
- private _calendarI18nLabels;
15
13
  private _changeDetRef;
16
14
  private _calendarService;
17
15
  private _dateTimeAdapter;
@@ -38,15 +36,13 @@ export declare class CalendarHeaderComponent<D> implements OnDestroy, OnInit, On
38
36
  /** Event emitted when the next button is clicked. */
39
37
  readonly nextClicked: EventEmitter<void>;
40
38
  /** Aria label for the previous button. Depends on the active view. */
41
- previousAriaLabel: string;
39
+ get previousAriaLabel(): 'coreCalendar.previousMonthLabel' | 'coreCalendar.previousYearLabel';
42
40
  /** Aria label for the next button. Depends on the active view. */
43
- nextAriaLabel: string;
41
+ get nextAriaLabel(): 'coreCalendar.nextMonthLabel' | 'coreCalendar.nextYearLabel';
44
42
  /** Button aria label to open month selection view. */
45
- selectMonthAriaLabel: string;
46
- /** Button aria label to open year selection view. */
47
- selectYearAriaLabel: string;
43
+ get selectMonthAriaLabel(): 'coreCalendar.monthSelectionLabel' | 'coreCalendar.dateSelectionLabel';
48
44
  /** Button aria label to open aggregated years selection view. */
49
- selectAggregatedYearAriaLabel: string;
45
+ get selectAggregatedYearAriaLabel(): 'coreCalendar.yearsRangeSelectionLabel' | 'coreCalendar.dateSelectionLabel';
50
46
  /** Button label to open month selection view. */
51
47
  selectMonthLabel: string;
52
48
  /** Button label to open year selection view. */
@@ -114,7 +110,7 @@ export declare class CalendarHeaderComponent<D> implements OnDestroy, OnInit, On
114
110
  /** Get information about amount of years displayed at once on year view */
115
111
  private _amountOfYearsPerPeriod;
116
112
  /** @hidden */
117
- constructor(_calendarI18nLabels: CalendarI18nLabels, _changeDetRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeAdapter: DatetimeAdapter<D>);
113
+ constructor(_changeDetRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeAdapter: DatetimeAdapter<D>);
118
114
  /** @hidden */
119
115
  ngOnDestroy(): void;
120
116
  /** @hidden */
@@ -130,22 +126,8 @@ export declare class CalendarHeaderComponent<D> implements OnDestroy, OnInit, On
130
126
  /** @hidden */
131
127
  private _listenToLocaleChanges;
132
128
  /** @hidden */
133
- private _listenToCalendarLabelsChanges;
134
- /** @hidden */
135
- private _calculateAriaLabels;
136
- /** @hidden */
137
129
  private _calculateLabels;
138
130
  /** @hidden */
139
- private _calculatePreviousAriaLabel;
140
- /** @hidden */
141
- private _calculateNextAriaLabel;
142
- /** @hidden */
143
- private _calculateSelectMonthAriaLabel;
144
- /** @hidden */
145
- private _calculateSelectYearAriaLabel;
146
- /** @hidden */
147
- private _calculateSelectAggregatedYearAriaLabel;
148
- /** @hidden */
149
131
  private _calculateSelectMonthLabel;
150
132
  /** @hidden */
151
133
  private _calculateSelectYearLabel;
@@ -4,7 +4,6 @@ import { CalendarService } from '../../calendar.service';
4
4
  import { AggregatedYear, CalendarAggregatedYear } from '../../models/aggregated-year';
5
5
  import { CalendarYearGrid } from '../../models/calendar-year-grid';
6
6
  import { EscapeFocusFunction, FocusableCalendarView } from '../../models/common';
7
- import { CalendarI18nLabels } from '../../i18n/calendar-i18n-labels';
8
7
  import * as i0 from "@angular/core";
9
8
  export declare class CalendarAggregatedYearViewComponent<D> implements OnInit, OnDestroy, OnChanges, FocusableCalendarView {
10
9
  private _eRef;
@@ -12,7 +11,6 @@ export declare class CalendarAggregatedYearViewComponent<D> implements OnInit, O
12
11
  private _calendarService;
13
12
  private _dateTimeAdapter;
14
13
  private _dateTimeFormats;
15
- private _calendarI18nLabels;
16
14
  /** Parameter used in id of years used for help with focusing on the correct element during keyboard navigation. */
17
15
  id: string;
18
16
  /** Function that is called when the focus would escape the element. */
@@ -29,23 +27,6 @@ export declare class CalendarAggregatedYearViewComponent<D> implements OnInit, O
29
27
  yearViewGrid: CalendarYearGrid;
30
28
  /** Event fired when a year is selected. */
31
29
  readonly yearsClicked: EventEmitter<AggregatedYear>;
32
- /**
33
- * @hidden
34
- * Today cell label.
35
- * Is used in conjunction with cell date itself
36
- */
37
- get _todayAriaLabel(): string;
38
- /**
39
- * @hidden
40
- * Selected date cell label.
41
- * Is used in conjunction with cell date itself
42
- */
43
- get _selectedDateAriaLabel(): string;
44
- /**
45
- * @hidden
46
- * View description
47
- */
48
- get _viewRoleDescription(): string;
49
30
  /**
50
31
  * View ID
51
32
  */
@@ -93,7 +74,7 @@ export declare class CalendarAggregatedYearViewComponent<D> implements OnInit, O
93
74
  /** @hidden */
94
75
  private _initiated;
95
76
  /** @hidden */
96
- constructor(_eRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeAdapter: DatetimeAdapter<D>, _dateTimeFormats: DateTimeFormats, _calendarI18nLabels: CalendarI18nLabels);
77
+ constructor(_eRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeAdapter: DatetimeAdapter<D>, _dateTimeFormats: DateTimeFormats);
97
78
  /** @hidden */
98
79
  ngOnInit(): void;
99
80
  /** @hidden */
@@ -1,14 +1,13 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { DateTimeFormats, DatetimeAdapter } from '@fundamental-ngx/core/datetime';
3
3
  import { SpecialDayRule } from '@fundamental-ngx/core/shared';
4
- import { DateRange } from '../../models/date-range';
5
4
  import { CalendarCurrent } from '../../models/calendar-current';
6
5
  import { CalendarDay } from '../../models/calendar-day';
7
- import { CalendarType, DaysOfWeek } from '../../types';
6
+ import { DateRange } from '../../models/date-range';
7
+ import { Nullable } from '@fundamental-ngx/cdk/utils';
8
8
  import { CalendarService } from '../../calendar.service';
9
- import { CalendarI18nLabels } from '../../i18n/calendar-i18n-labels';
10
9
  import { DisableDateFunction, EscapeFocusFunction, FocusableCalendarView } from '../../models/common';
11
- import { Nullable } from '@fundamental-ngx/cdk/utils';
10
+ import { CalendarType, DaysOfWeek } from '../../types';
12
11
  import * as i0 from "@angular/core";
13
12
  /** Component representing the day view of the calendar. */
14
13
  export declare class CalendarDayViewComponent<D> implements OnInit, OnChanges, FocusableCalendarView {
@@ -17,7 +16,6 @@ export declare class CalendarDayViewComponent<D> implements OnInit, OnChanges, F
17
16
  private calendarService;
18
17
  private _dateTimeFormats;
19
18
  _dateTimeAdapter: DatetimeAdapter<D>;
20
- private _calendarI18nLabels;
21
19
  /**
22
20
  * Function used to disable certain dates in the calendar.
23
21
  * @param date date type
@@ -117,7 +115,7 @@ export declare class CalendarDayViewComponent<D> implements OnInit, OnChanges, F
117
115
  */
118
116
  private _longWeekDays;
119
117
  /** @hidden */
120
- constructor(eRef: ElementRef, changeDetRef: ChangeDetectorRef, calendarService: CalendarService, _dateTimeFormats: DateTimeFormats, _dateTimeAdapter: DatetimeAdapter<D>, _calendarI18nLabels: CalendarI18nLabels);
118
+ constructor(eRef: ElementRef, changeDetRef: ChangeDetectorRef, calendarService: CalendarService, _dateTimeFormats: DateTimeFormats, _dateTimeAdapter: DatetimeAdapter<D>);
121
119
  /** @hidden */
122
120
  ngOnInit(): void;
123
121
  /** @hidden */
@@ -125,6 +123,7 @@ export declare class CalendarDayViewComponent<D> implements OnInit, OnChanges, F
125
123
  /**
126
124
  * Function for selecting a date on the calendar. Typically called when a date is clicked, but can also be called programmatically.
127
125
  * @param day CalendarDay object to be selected.
126
+ * @param event
128
127
  */
129
128
  selectDate(day: CalendarDay<D>, event?: MouseEvent): void;
130
129
  /**
@@ -158,43 +157,6 @@ export declare class CalendarDayViewComponent<D> implements OnInit, OnChanges, F
158
157
  * Function that gives array of all displayed CalendarDays
159
158
  */
160
159
  get _calendarDayList(): CalendarDay<D>[];
161
- /**
162
- * @hidden
163
- * Today cell label.
164
- * Is used in conjunction with cell date itself
165
- */
166
- get _todayAriaLabel(): string;
167
- /**
168
- * @hidden
169
- * Selected date cell label.
170
- * Is used in conjunction with cell date itself
171
- */
172
- get _selectedDateAriaLabel(): string;
173
- /**
174
- * @hidden
175
- * column label
176
- */
177
- get _weekColumnLabelAriaLabel(): string;
178
- /**
179
- * @hidden
180
- * Range start label
181
- */
182
- get _rangeStartAriaLabel(): string;
183
- /**
184
- * @hidden
185
- * Range end label
186
- */
187
- get _rangeEndAriaLabel(): string;
188
- /**
189
- * @hidden
190
- * Date in past label
191
- */
192
- get _dateInPastAriaLabel(): string;
193
- /**
194
- * @hidden
195
- * View description
196
- */
197
- get _viewRoleDescription(): string;
198
160
  /**
199
161
  * View ID
200
162
  */
@@ -234,7 +196,7 @@ export declare class CalendarDayViewComponent<D> implements OnInit, OnChanges, F
234
196
  * Method that handles day cells keydown events,
235
197
  * @param event KeyboardEvent
236
198
  * @param cell CalendarDay
237
- * @param grid with specified column and row as a x and y
199
+ * @param index with specified column and row as a x and y
238
200
  */
239
201
  _onKeydownDayHandler(event: KeyboardEvent, cell: CalendarDay<D>, index: number): void;
240
202
  /**
@@ -1,9 +1,8 @@
1
- import { EventEmitter, ElementRef, OnInit, OnDestroy, ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { DateTimeFormats, DatetimeAdapter } from '@fundamental-ngx/core/datetime';
3
3
  import { CalendarService } from '../../calendar.service';
4
4
  import { CalendarMonth } from '../../models/calendar-month';
5
5
  import { EscapeFocusFunction, FocusableCalendarView } from '../../models/common';
6
- import { CalendarI18nLabels } from '../../i18n/calendar-i18n-labels';
7
6
  import * as i0 from "@angular/core";
8
7
  /** Component representing the month view of the calendar. */
9
8
  export declare class CalendarMonthViewComponent<D> implements OnInit, OnDestroy, OnChanges, FocusableCalendarView {
@@ -12,7 +11,6 @@ export declare class CalendarMonthViewComponent<D> implements OnInit, OnDestroy,
12
11
  private _calendarService;
13
12
  private _dateTimeFormats;
14
13
  private _dateTimeAdapter;
15
- private _calendarI18nLabels;
16
14
  /** The id of the calendar passed from the parent component */
17
15
  id: string;
18
16
  /** A number (1-12) representing the selected month */
@@ -45,7 +43,7 @@ export declare class CalendarMonthViewComponent<D> implements OnInit, OnDestroy,
45
43
  /** @hidden */
46
44
  private _initiated;
47
45
  /** @hidden */
48
- constructor(_eRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeFormats: DateTimeFormats, _dateTimeAdapter: DatetimeAdapter<D>, _calendarI18nLabels: CalendarI18nLabels);
46
+ constructor(_eRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeFormats: DateTimeFormats, _dateTimeAdapter: DatetimeAdapter<D>);
49
47
  /** @hidden */
50
48
  ngOnInit(): void;
51
49
  /** @hidden */
@@ -58,23 +56,6 @@ export declare class CalendarMonthViewComponent<D> implements OnInit, OnDestroy,
58
56
  get monthOffset(): number;
59
57
  /** View ID */
60
58
  get viewId(): string;
61
- /**
62
- * @hidden
63
- * Today cell label.
64
- * Is used in conjunction with cell date itself
65
- */
66
- get _todayAriaLabel(): string;
67
- /**
68
- * @hidden
69
- * Selected date cell label.
70
- * Is used in conjunction with cell date itself
71
- */
72
- get _selectedDateAriaLabel(): string;
73
- /**
74
- * @hidden
75
- * View description
76
- */
77
- get _viewRoleDescription(): string;
78
59
  /**
79
60
  * @hidden
80
61
  * Today cell label ID
@@ -1,9 +1,8 @@
1
- import { OnInit, EventEmitter, ElementRef, OnDestroy, ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { DateTimeFormats, DatetimeAdapter } from '@fundamental-ngx/core/datetime';
3
3
  import { CalendarService } from '../../calendar.service';
4
- import { CalendarYearGrid, CalendarYear } from '../../models/calendar-year-grid';
4
+ import { CalendarYear, CalendarYearGrid } from '../../models/calendar-year-grid';
5
5
  import { EscapeFocusFunction, FocusableCalendarView } from '../../models/common';
6
- import { CalendarI18nLabels } from '../../i18n/calendar-i18n-labels';
7
6
  import * as i0 from "@angular/core";
8
7
  /** Component representing the YearView of the Calendar Component. */
9
8
  export declare class CalendarYearViewComponent<D> implements OnInit, OnChanges, OnDestroy, FocusableCalendarView {
@@ -12,7 +11,6 @@ export declare class CalendarYearViewComponent<D> implements OnInit, OnChanges,
12
11
  private _calendarService;
13
12
  private _dateTimeAdapter;
14
13
  private _dateTimeFormats;
15
- private _calendarI18nLabels;
16
14
  /** The id of the calendar passed from the parent component */
17
15
  id: string;
18
16
  /** Function that is called when the focus would escape the element. */
@@ -45,23 +43,6 @@ export declare class CalendarYearViewComponent<D> implements OnInit, OnChanges,
45
43
  * Parameter storing first shown year on list
46
44
  */
47
45
  _firstYearInList: number;
48
- /**
49
- * @hidden
50
- * Today cell label.
51
- * Is used in conjunction with cell date itself
52
- */
53
- get _todayAriaLabel(): string;
54
- /**
55
- * @hidden
56
- * Selected date cell label.
57
- * Is used in conjunction with cell date itself
58
- */
59
- get _selectedDateAriaLabel(): string;
60
- /**
61
- * @hidden
62
- * View description
63
- */
64
- get _viewRoleDescription(): string;
65
46
  /** View ID */
66
47
  get viewId(): string;
67
48
  /**
@@ -82,7 +63,7 @@ export declare class CalendarYearViewComponent<D> implements OnInit, OnChanges,
82
63
  /** @hidden */
83
64
  private _initiated;
84
65
  /** @hidden */
85
- constructor(_eRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeAdapter: DatetimeAdapter<D>, _dateTimeFormats: DateTimeFormats, _calendarI18nLabels: CalendarI18nLabels);
66
+ constructor(_eRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeAdapter: DatetimeAdapter<D>, _dateTimeFormats: DateTimeFormats);
86
67
  /** @hidden */
87
68
  ngOnInit(): void;
88
69
  /** @hidden */
@@ -2,19 +2,19 @@ import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnIn
2
2
  import { ControlValueAccessor, Validator } from '@angular/forms';
3
3
  import { DatetimeAdapter, DateTimeFormats } from '@fundamental-ngx/core/datetime';
4
4
  import { SpecialDayRule } from '@fundamental-ngx/core/shared';
5
- import { DateRange } from './models/date-range';
6
- import { CalendarCurrent } from './models/calendar-current';
7
- import { CalendarYearGrid } from './models/calendar-year-grid';
8
- import { AggregatedYear } from './models/aggregated-year';
9
- import { CalendarDayViewComponent } from './calendar-views/calendar-day-view/calendar-day-view.component';
10
- import { CalendarYearViewComponent } from './calendar-views/calendar-year-view/calendar-year-view.component';
11
- import { CalendarMonthViewComponent } from './calendar-views/calendar-month-view/calendar-month-view.component';
5
+ import { Nullable } from '@fundamental-ngx/cdk/utils';
6
+ import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
12
7
  import { CalendarHeaderComponent } from './calendar-header/calendar-header.component';
13
8
  import { CalendarAggregatedYearViewComponent } from './calendar-views/calendar-aggregated-year-view/calendar-aggregated-year-view.component';
9
+ import { CalendarDayViewComponent } from './calendar-views/calendar-day-view/calendar-day-view.component';
10
+ import { CalendarMonthViewComponent } from './calendar-views/calendar-month-view/calendar-month-view.component';
11
+ import { CalendarYearViewComponent } from './calendar-views/calendar-year-view/calendar-year-view.component';
12
+ import { AggregatedYear } from './models/aggregated-year';
13
+ import { CalendarCurrent } from './models/calendar-current';
14
+ import { CalendarYearGrid } from './models/calendar-year-grid';
14
15
  import { DisableDateFunction, EscapeFocusFunction } from './models/common';
16
+ import { DateRange } from './models/date-range';
15
17
  import { CalendarType, DaysOfWeek, FdCalendarView, NavigationButtonDisableFunction } from './types';
16
- import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
17
- import { Nullable } from '@fundamental-ngx/cdk/utils';
18
18
  import * as i0 from "@angular/core";
19
19
  /**
20
20
  * Months: 1 = January, 12 = december.
@@ -1,49 +1,47 @@
1
1
  import { Subject } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
2
  /**
4
3
  * Provides i18n support for labels inside the calendar component.
4
+ * @deprecated use i18n `coreCalendar` key instead
5
5
  */
6
6
  export declare class CalendarI18nLabels {
7
7
  /** This is event that should be called, when labels are changed, to let component detect an changes. */
8
8
  readonly labelsChange: Subject<void>;
9
9
  /** Year selection aria label. Used on the button to navigate to the years view. */
10
- yearSelectionLabel: string;
10
+ yearSelectionLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
11
11
  /** Years range selection aria label. Used on the button to navigate to the years range view. */
12
- yearsRangeSelectionLabel: string;
12
+ yearsRangeSelectionLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
13
13
  /** Month selection aria label. Used on the button to navigate to the months view. */
14
- monthSelectionLabel: string;
14
+ monthSelectionLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
15
15
  /** Day selection aria label. Used on the button to navigate to the day view. */
16
- dateSelectionLabel: string;
16
+ dateSelectionLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
17
17
  /** Previous year aria label. Used on the button to switch to a previous year in the years view. */
18
- previousYearLabel: string;
18
+ previousYearLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
19
19
  /** Next year aria label. Used on the button to switch to a next year in the years view. */
20
- nextYearLabel: string;
20
+ nextYearLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
21
21
  /** Previous month aria label. Used on the button to switch to a previous month in the months view. */
22
- previousMonthLabel: string;
22
+ previousMonthLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
23
23
  /** Next month aria label. Used on the button to switch to a next month in the months view. */
24
- nextMonthLabel: string;
24
+ nextMonthLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
25
25
  /** Week number column label */
26
- weekColumnLabel: string;
26
+ weekColumnLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
27
27
  /** Selected date label. Used on the selected day/month/year cell. */
28
- dateSelectedLabel: string;
28
+ dateSelectedLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
29
29
  /** Is used to describe present date */
30
- todayLabel: string;
30
+ todayLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
31
31
  /** Range start label. Used for date range selection */
32
- rangeStartLabel: string;
32
+ rangeStartLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
33
33
  /** Range end label. Used for date range selection */
34
- rangeEndLabel: string;
34
+ rangeEndLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
35
35
  /** Past days aria label. Used when days in the past are accessed */
36
- dayInPastLabel: string;
36
+ dayInPastLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
37
37
  /** Past days aria label. Used when days in the past are accessed */
38
- closeCalendarLabel: string;
38
+ closeCalendarLabel: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
39
39
  /** Calendar day view aria role description. */
40
- calendarDayViewDescription: string;
40
+ calendarDayViewDescription: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
41
41
  /** Calendar month view aria role description. */
42
- calendarMonthViewDescription: string;
42
+ calendarMonthViewDescription: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
43
43
  /** Calendar years view aria role description. */
44
- calendarYearsViewDescription: string;
44
+ calendarYearsViewDescription: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
45
45
  /** Calendar years range view aria role description. */
46
- calendarYearsRangeViewDescription: string;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<CalendarI18nLabels, never>;
48
- static ɵprov: i0.ɵɵInjectableDeclaration<CalendarI18nLabels>;
46
+ calendarYearsRangeViewDescription: import("@fundamental-ngx/i18n").FdLanguageKey<undefined>;
49
47
  }
@@ -0,0 +1,6 @@
1
+ import { FdLanguage } from '@fundamental-ngx/i18n';
2
+ import { Observable } from 'rxjs';
3
+ /**
4
+ * Use deprecated `CalendarI18nLabels` to patch `FD_LANGUAGE` observable
5
+ */
6
+ export declare function patchDeprecatedI18nLabels(): Observable<FdLanguage>;
@@ -0,0 +1,16 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { ComboboxItemDirectiveContext } from './combobox.interface';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ComboboxItemDirective<T = unknown> {
5
+ /**
6
+ * @hidden
7
+ * Used for type support.
8
+ */
9
+ fdComboboxItemUse: T;
10
+ /** Template reference. */
11
+ templateRef: TemplateRef<any>;
12
+ /** @hidden */
13
+ static ngTemplateContextGuard<T>(dir: ComboboxItemDirective<T>, ctx: ComboboxItemDirectiveContext<T>): ctx is ComboboxItemDirectiveContext<T>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxItemDirective<any>, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ComboboxItemDirective<any>, "[fdComboboxItem]", never, { "fdComboboxItemUse": { "alias": "fdComboboxItemUse"; "required": false; }; }, {}, never, never, true, never>;
16
+ }
@@ -11,7 +11,7 @@ import { Overlay, RepositionScrollStrategy } from '@angular/cdk/overlay';
11
11
  import { FormStates } from '@fundamental-ngx/cdk/forms';
12
12
  import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
13
13
  import { ComboboxItem } from './combobox-item';
14
- import { ComboboxInterface } from './combobox.interface';
14
+ import { ComboboxInterface, ComboboxItemDirectiveContext } from './combobox.interface';
15
15
  import { GroupFunction } from './list-group.pipe';
16
16
  import * as i0 from "@angular/core";
17
17
  /**
@@ -26,7 +26,7 @@ import * as i0 from "@angular/core";
26
26
  * </fd-combobox>
27
27
  * ```
28
28
  */
29
- export declare class ComboboxComponent implements ComboboxInterface, ControlValueAccessor, OnInit, OnChanges, AfterViewInit, OnDestroy, FormItemControl {
29
+ export declare class ComboboxComponent<T = any> implements ComboboxInterface, ControlValueAccessor, OnInit, OnChanges, AfterViewInit, OnDestroy, FormItemControl {
30
30
  private readonly _overlay;
31
31
  private readonly _cdRef;
32
32
  private readonly _injector;
@@ -44,7 +44,7 @@ export declare class ComboboxComponent implements ComboboxInterface, ControlValu
44
44
  /** If it is mandatory field */
45
45
  required: boolean;
46
46
  /** Values to be filtered in the search input. */
47
- dropdownValues: any[];
47
+ dropdownValues: T[];
48
48
  /** Filter function. Accepts an array of objects and a search term as arguments
49
49
  * and returns a string. See search input examples for details. */
50
50
  filterFn: (contentArray: any[], searchTerm: any) => any[];
@@ -82,11 +82,11 @@ export declare class ComboboxComponent implements ComboboxInterface, ControlValu
82
82
  * The template with which to display the individual listed items.
83
83
  * Use it by passing an ng-template with implicit content. See examples for more info.
84
84
  */
85
- itemTemplate: TemplateRef<any>;
85
+ itemTemplate: TemplateRef<ComboboxItemDirectiveContext<T>>;
86
86
  /**
87
87
  * Function used to handle grouping of items.
88
88
  */
89
- groupFn: GroupFunction;
89
+ groupFn: Nullable<GroupFunction>;
90
90
  /** Max height of the popover. Any overflowing elements will be accessible through scrolling. */
91
91
  maxHeight: string;
92
92
  /** Search function to execute when the Enter key is pressed on the main input. */
@@ -164,6 +164,8 @@ export declare class ComboboxComponent implements ComboboxInterface, ControlValu
164
164
  controlTemplate: TemplateRef<HTMLElement>;
165
165
  /** @hidden */
166
166
  listTemplate: TemplateRef<HTMLElement>;
167
+ /** @hidden */
168
+ private readonly _comboboxItemRenderer;
167
169
  /** Whether the matching string should be highlighted after combobox value is selected. */
168
170
  filterHighlight: boolean;
169
171
  /** Keys, that won't trigger the popover's open state, when dispatched on search input */
@@ -186,6 +188,8 @@ export declare class ComboboxComponent implements ComboboxInterface, ControlValu
186
188
  /** @hidden */
187
189
  clearInputBtnFocused: boolean;
188
190
  /** @hidden */
191
+ get _customRenderer(): Nullable<TemplateRef<ComboboxItemDirectiveContext<T>>>;
192
+ /** @hidden */
189
193
  private _subscriptions;
190
194
  /** @hidden */
191
195
  private _value;
@@ -272,6 +276,6 @@ export declare class ComboboxComponent implements ComboboxInterface, ControlValu
272
276
  private _setUpMobileMode;
273
277
  /** @hidden */
274
278
  isSelected(term: any): boolean;
275
- static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxComponent, never>;
276
- static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "fd-combobox", never, { "comboboxId": { "alias": "comboboxId"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "required": { "alias": "required"; "required": false; }; "dropdownValues": { "alias": "dropdownValues"; "required": false; }; "filterFn": { "alias": "filterFn"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "isSearch": { "alias": "isSearch"; "required": false; }; "glyph": { "alias": "glyph"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "triggers": { "alias": "triggers"; "required": false; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; }; "openOnKeyboardEvent": { "alias": "openOnKeyboardEvent"; "required": false; }; "state": { "alias": "state"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "groupFn": { "alias": "groupFn"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "searchFn": { "alias": "searchFn"; "required": false; }; "highlighting": { "alias": "highlighting"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "fillOnSelect": { "alias": "fillOnSelect"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "fillControlMode": { "alias": "fillControlMode"; "required": false; }; "communicateByObject": { "alias": "communicateByObject"; "required": false; }; "displayFn": { "alias": "displayFn"; "required": false; }; "buttonFocusable": { "alias": "buttonFocusable"; "required": false; }; "clearButtonFocusable": { "alias": "clearButtonFocusable"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "mobileConfig": { "alias": "mobileConfig"; "required": false; }; "showDropdownButton": { "alias": "showDropdownButton"; "required": false; }; "includes": { "alias": "includes"; "required": false; }; "title": { "alias": "title"; "required": false; }; "byline": { "alias": "byline"; "required": false; }; }, { "itemClicked": "itemClicked"; "openChange": "openChange"; "inputTextChange": "inputTextChange"; }, ["listMessages"], ["*", "*"], true, never>;
279
+ static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxComponent<any>, never>;
280
+ static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent<any>, "fd-combobox", never, { "comboboxId": { "alias": "comboboxId"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "required": { "alias": "required"; "required": false; }; "dropdownValues": { "alias": "dropdownValues"; "required": false; }; "filterFn": { "alias": "filterFn"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "isSearch": { "alias": "isSearch"; "required": false; }; "glyph": { "alias": "glyph"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "triggers": { "alias": "triggers"; "required": false; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; }; "openOnKeyboardEvent": { "alias": "openOnKeyboardEvent"; "required": false; }; "state": { "alias": "state"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "groupFn": { "alias": "groupFn"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "searchFn": { "alias": "searchFn"; "required": false; }; "highlighting": { "alias": "highlighting"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "fillOnSelect": { "alias": "fillOnSelect"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "fillControlMode": { "alias": "fillControlMode"; "required": false; }; "communicateByObject": { "alias": "communicateByObject"; "required": false; }; "displayFn": { "alias": "displayFn"; "required": false; }; "buttonFocusable": { "alias": "buttonFocusable"; "required": false; }; "clearButtonFocusable": { "alias": "clearButtonFocusable"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "mobileConfig": { "alias": "mobileConfig"; "required": false; }; "showDropdownButton": { "alias": "showDropdownButton"; "required": false; }; "includes": { "alias": "includes"; "required": false; }; "title": { "alias": "title"; "required": false; }; "byline": { "alias": "byline"; "required": false; }; }, { "itemClicked": "itemClicked"; "openChange": "openChange"; "inputTextChange": "inputTextChange"; }, ["_comboboxItemRenderer", "listMessages"], ["*", "*"], true, never>;
277
281
  }
@@ -13,3 +13,7 @@ export interface ComboboxInterface extends MobileMode {
13
13
  dialogApprove(): void;
14
14
  dialogDismiss(backup: string): void;
15
15
  }
16
+ export interface ComboboxItemDirectiveContext<T = unknown> {
17
+ $implicit: T;
18
+ inputText: string;
19
+ }
@@ -1,12 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./combobox.component";
3
- import * as i2 from "./list-group.pipe";
3
+ import * as i2 from "./combobox-item.directive";
4
+ import * as i3 from "./list-group.pipe";
4
5
  /**
5
6
  * @deprecated
6
7
  * Use `ComboboxComponent` import instead.
7
8
  */
8
9
  export declare class ComboboxModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<ComboboxModule, never, [typeof i1.ComboboxComponent, typeof i2.ListGroupPipe], [typeof i1.ComboboxComponent, typeof i2.ListGroupPipe]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ComboboxModule, never, [typeof i1.ComboboxComponent, typeof i2.ComboboxItemDirective, typeof i3.ListGroupPipe], [typeof i1.ComboboxComponent, typeof i2.ComboboxItemDirective, typeof i3.ListGroupPipe]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<ComboboxModule>;
12
13
  }
@@ -1,4 +1,5 @@
1
1
  export * from './combobox-item';
2
+ export * from './combobox-item.directive';
2
3
  export * from './combobox-mobile/combobox-mobile.component';
3
4
  export * from './combobox.component';
4
5
  export * from './combobox.interface';
@@ -8,9 +8,10 @@ import * as i6 from "./dialog-container/dialog-container.component";
8
8
  import * as i7 from "./dialog-close-button/dialog-close-button.component";
9
9
  import * as i8 from "./directives/dialog-title.directive";
10
10
  import * as i9 from "./dialog-full-screen-toggler-button/dialog-full-screen-toggler-button.component";
11
- import * as i10 from "@fundamental-ngx/cdk/utils";
12
- import * as i11 from "@fundamental-ngx/core/bar";
13
- import * as i12 from "@fundamental-ngx/core/title";
11
+ import * as i10 from "./directives/dialog-template.directive";
12
+ import * as i11 from "@fundamental-ngx/cdk/utils";
13
+ import * as i12 from "@fundamental-ngx/core/bar";
14
+ import * as i13 from "@fundamental-ngx/core/title";
14
15
  /**
15
16
  * @deprecated
16
17
  * Use following imports instead:
@@ -26,6 +27,6 @@ import * as i12 from "@fundamental-ngx/core/title";
26
27
  */
27
28
  export declare class DialogModule {
28
29
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
29
- static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, never, [typeof i1.DialogComponent, typeof i2.DialogBodyComponent, typeof i3.DialogFooterComponent, typeof i4.DialogHeaderComponent, typeof i5.DialogDefaultComponent, typeof i6.DialogContainerComponent, typeof i7.DialogCloseButtonComponent, typeof i8.DialogTitleDirective, typeof i9.DialogFullScreenTogglerButtonComponent, typeof i10.TemplateModule, typeof i11.BarModule, typeof i12.TitleComponent], [typeof i1.DialogComponent, typeof i2.DialogBodyComponent, typeof i3.DialogFooterComponent, typeof i4.DialogHeaderComponent, typeof i5.DialogDefaultComponent, typeof i6.DialogContainerComponent, typeof i7.DialogCloseButtonComponent, typeof i8.DialogTitleDirective, typeof i9.DialogFullScreenTogglerButtonComponent, typeof i10.TemplateModule, typeof i11.BarModule, typeof i12.TitleComponent]>;
30
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, never, [typeof i1.DialogComponent, typeof i2.DialogBodyComponent, typeof i3.DialogFooterComponent, typeof i4.DialogHeaderComponent, typeof i5.DialogDefaultComponent, typeof i6.DialogContainerComponent, typeof i7.DialogCloseButtonComponent, typeof i8.DialogTitleDirective, typeof i9.DialogFullScreenTogglerButtonComponent, typeof i10.DialogTemplateDirective, typeof i11.TemplateModule, typeof i12.BarModule, typeof i13.TitleComponent], [typeof i1.DialogComponent, typeof i2.DialogBodyComponent, typeof i3.DialogFooterComponent, typeof i4.DialogHeaderComponent, typeof i5.DialogDefaultComponent, typeof i6.DialogContainerComponent, typeof i7.DialogCloseButtonComponent, typeof i8.DialogTitleDirective, typeof i9.DialogFullScreenTogglerButtonComponent, typeof i10.DialogTemplateDirective, typeof i11.TemplateModule, typeof i12.BarModule, typeof i13.TitleComponent]>;
30
31
  static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
31
32
  }
@@ -0,0 +1,20 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { DialogConfig } from '../utils/dialog-config.class';
3
+ import { DialogRef } from '../utils/dialog-ref.class';
4
+ import * as i0 from "@angular/core";
5
+ export interface DialogTemplateDirectiveContext<T = DialogConfig<any>, U = T extends DialogConfig<infer P> ? P : any> {
6
+ $implicit: DialogRef<U>;
7
+ dialogConfig: T;
8
+ }
9
+ export declare class DialogTemplateDirective<T = DialogConfig<any>> {
10
+ /** Custom dialog config model. */
11
+ fdDialogTemplateConfig: T;
12
+ /** @hidden */
13
+ readonly templateRef: TemplateRef<any>;
14
+ /** @hidden */
15
+ static ngTemplateContextGuard<T extends null>(dir: DialogTemplateDirective<T>, ctx: DialogTemplateDirectiveContext<DialogConfig<any>>): ctx is DialogTemplateDirectiveContext<DialogConfig<any>>;
16
+ /** @hidden */
17
+ static ngTemplateContextGuard<T = DialogConfig<any>>(dir: DialogTemplateDirective<T>, ctx: DialogTemplateDirectiveContext<T>): ctx is DialogTemplateDirectiveContext<T>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogTemplateDirective<any>, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DialogTemplateDirective<any>, "[fdDialogTemplate]", never, { "fdDialogTemplateConfig": { "alias": "fdDialogTemplateConfig"; "required": false; }; }, {}, never, never, true, never>;
20
+ }
package/dialog/index.d.ts CHANGED
@@ -25,4 +25,5 @@ export * from './dialog.types';
25
25
  export * from './tokens';
26
26
  export * from './utils/dialog-overlay.container';
27
27
  export * from './dialog-full-screen-toggler-button/dialog-full-screen-toggler-button.component';
28
+ export * from './directives/dialog-template.directive';
28
29
  export * from './provide-dialog-service';