@fundamental-ngx/platform 0.44.1-rc.3 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/action-bar/action-bar.component.d.ts +1 -6
  2. package/action-bar/action-bar.module.d.ts +3 -4
  3. package/button/button.module.d.ts +2 -3
  4. package/dynamic-page/dynamic-page-header/header/dynamic-page-header.component.d.ts +1 -3
  5. package/esm2022/action-bar/action-bar.component.mjs +3 -5
  6. package/esm2022/action-bar/action-bar.module.mjs +5 -26
  7. package/esm2022/approval-flow/approval-flow-add-node/approval-flow-add-node.component.mjs +5 -5
  8. package/esm2022/approval-flow/approval-flow-approver-details/approval-flow-approver-details.component.mjs +5 -5
  9. package/esm2022/approval-flow/approval-flow-messages/approval-flow-messages.component.mjs +1 -1
  10. package/esm2022/approval-flow/approval-flow-select-type/approval-flow-select-type.component.mjs +5 -5
  11. package/esm2022/approval-flow/approval-flow-team-list/approval-flow-team-list.component.mjs +3 -3
  12. package/esm2022/approval-flow/approval-flow-user-details/approval-flow-user-details.component.mjs +1 -1
  13. package/esm2022/approval-flow/approval-flow-user-list/approval-flow-user-list.component.mjs +3 -3
  14. package/esm2022/approval-flow/approval-flow.component.mjs +1 -1
  15. package/esm2022/button/button.module.mjs +5 -6
  16. package/esm2022/dynamic-page/dynamic-page-header/header/dynamic-page-header.component.mjs +2 -8
  17. package/esm2022/dynamic-page/dynamic-page.component.mjs +1 -1
  18. package/esm2022/feed-input/feed-input.component.mjs +3 -17
  19. package/esm2022/form/checkbox/checkbox.component.mjs +3 -50
  20. package/esm2022/form/checkbox/checkbox.module.mjs +5 -26
  21. package/esm2022/form/checkbox-group/checkbox-group.component.mjs +10 -38
  22. package/esm2022/form/checkbox-group/checkbox-group.module.mjs +5 -23
  23. package/esm2022/form/combobox/combobox/combobox.component.mjs +1 -1
  24. package/esm2022/form/combobox/combobox-mobile/combobox/combobox-mobile.component.mjs +1 -1
  25. package/esm2022/form/combobox/combobox.module.mjs +4 -8
  26. package/esm2022/form/date-picker/date-picker.component.mjs +4 -66
  27. package/esm2022/form/date-picker/date-picker.module.mjs +5 -26
  28. package/esm2022/form/datetime-picker/datetime-picker.component.mjs +3 -56
  29. package/esm2022/form/datetime-picker/datetime-picker.module.mjs +5 -26
  30. package/esm2022/form/form-generator/controls/dynamic-form-generator-checkbox/dynamic-form-generator-checkbox.component.mjs +2 -2
  31. package/esm2022/form/form-generator/controls/dynamic-form-generator-datepicker/dynamic-form-generator-datepicker.component.mjs +2 -2
  32. package/esm2022/form/form-generator/controls/dynamic-form-generator-editor/dynamic-form-generator-editor.component.mjs +2 -2
  33. package/esm2022/form/form-generator/controls/dynamic-form-generator-select/dynamic-form-generator-select.component.mjs +2 -2
  34. package/esm2022/form/form-generator/form-generator/form-generator.component.mjs +35 -60
  35. package/esm2022/form/form-generator/form-generator-field/form-generator-field.component.mjs +1 -1
  36. package/esm2022/form/form-generator/interfaces/dynamic-form-item.mjs +1 -1
  37. package/esm2022/form/form-group/fdp-form.module.mjs +1 -5
  38. package/esm2022/form/form-group/form-field/form-field.component.mjs +5 -41
  39. package/esm2022/form/form-group/form-group-header/form-group-header.component.mjs +1 -1
  40. package/esm2022/form/form-group/form-group.component.mjs +5 -29
  41. package/esm2022/form/index.mjs +1 -2
  42. package/esm2022/form/input/fdp-input.module.mjs +5 -23
  43. package/esm2022/form/input-group/input-group.module.mjs +4 -22
  44. package/esm2022/form/multi-combobox/multi-combobox/multi-combobox.component.mjs +1 -1
  45. package/esm2022/form/multi-combobox/multi-combobox-mobile/multi-combobox/multi-combobox-mobile.component.mjs +1 -1
  46. package/esm2022/form/multi-combobox/multi-combobox.module.mjs +4 -8
  47. package/esm2022/form/multi-input/multi-input-mobile/multi-input-mobile.component.mjs +1 -1
  48. package/esm2022/form/multi-input/multi-input.component.mjs +3 -3
  49. package/esm2022/form/multi-input/multi-input.module.mjs +4 -8
  50. package/esm2022/form/platform-file-uploader/platform-file-uploader.component.mjs +9 -27
  51. package/esm2022/form/platform-file-uploader/platform-file-uploader.module.mjs +5 -23
  52. package/esm2022/form/radio-group/radio/radio.component.mjs +3 -22
  53. package/esm2022/form/radio-group/radio-group.component.mjs +1 -1
  54. package/esm2022/form/radio-group/radio-group.module.mjs +4 -17
  55. package/esm2022/form/select/select/select.component.mjs +5 -23
  56. package/esm2022/form/select/select.module.mjs +4 -20
  57. package/esm2022/form/step-input/number/number-step-input.component.mjs +1 -1
  58. package/esm2022/form/step-input/step-input.module.mjs +4 -8
  59. package/esm2022/form/switch/switch/switch.component.mjs +1 -1
  60. package/esm2022/form/switch/switch.module.mjs +5 -23
  61. package/esm2022/form/text-area/text-area.component.mjs +4 -21
  62. package/esm2022/form/text-area/text-area.module.mjs +4 -8
  63. package/esm2022/form/time-picker/time-picker.module.mjs +5 -26
  64. package/esm2022/icon-tab-bar/components/icon-tab-bar-filter-type/icon-tab-bar-filter-type.component.mjs +1 -1
  65. package/esm2022/icon-tab-bar/components/icon-tab-bar-icon-type/icon-tab-bar-icon-type.component.mjs +1 -1
  66. package/esm2022/icon-tab-bar/components/icon-tab-bar-process-type/icon-tab-bar-process-type.component.mjs +1 -1
  67. package/esm2022/icon-tab-bar/components/icon-tab-bar-text-type/icon-tab-bar-text-type.component.mjs +1 -1
  68. package/esm2022/link/link.component.mjs +3 -3
  69. package/esm2022/list/action-list-item/action-list-item.component.mjs +1 -1
  70. package/esm2022/list/base-list-item.mjs +6 -49
  71. package/esm2022/list/display-list-item/display-list-item.component.mjs +1 -1
  72. package/esm2022/list/free-content-list-item/free-content-list-item.component.mjs +3 -3
  73. package/esm2022/list/list-group-header.component.mjs +2 -8
  74. package/esm2022/list/list.component.mjs +1 -1
  75. package/esm2022/list/list.module.mjs +2 -9
  76. package/esm2022/list/object-list-item/object-list-item.component.mjs +1 -1
  77. package/esm2022/list/object-list-item/object-list-item.module.mjs +4 -17
  78. package/esm2022/list/standard-list-item/standard-list-item.component.mjs +3 -3
  79. package/esm2022/list/standard-list-item/standard-list-item.module.mjs +4 -8
  80. package/esm2022/menu/menu.module.mjs +5 -37
  81. package/esm2022/menu-button/menu-button.module.mjs +5 -23
  82. package/esm2022/message-popover/components/message-view/message-view.component.mjs +2 -2
  83. package/esm2022/message-popover/message-popover.component.mjs +4 -5
  84. package/esm2022/panel/panel.module.mjs +5 -17
  85. package/esm2022/search-field/search-field-mobile/search-field/search-field-mobile.component.mjs +1 -1
  86. package/esm2022/search-field/search-field.component.mjs +8 -45
  87. package/esm2022/search-field/search-field.module.mjs +4 -19
  88. package/esm2022/settings-generator/controls/theme-selector-list/theme-selector-list.component.mjs +2 -2
  89. package/esm2022/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-icon/settings-generator-sidebar-icon.component.mjs +1 -1
  90. package/esm2022/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-layout.component.mjs +1 -1
  91. package/esm2022/settings-generator/settings-generator-content/settings-generator-content.component.mjs +1 -1
  92. package/esm2022/settings-generator/settings-generator-content/settings-generator-section/settings-generator-section.component.mjs +1 -1
  93. package/esm2022/shared/form/form-field.mjs +1 -1
  94. package/esm2022/shared/form/form-options.mjs +1 -1
  95. package/esm2022/shared/form/hint-options.mjs +1 -1
  96. package/esm2022/shared/index.mjs +1 -2
  97. package/esm2022/slider/slider.component.mjs +1 -1
  98. package/esm2022/slider/slider.module.mjs +5 -6
  99. package/esm2022/smart-filter-bar/components/smart-filter-bar-condition-field/base-smart-filter-bar-condition-field.mjs +6 -10
  100. package/esm2022/smart-filter-bar/components/smart-filter-bar-condition-field/smart-filter-bar-condition-field.component.mjs +10 -12
  101. package/esm2022/smart-filter-bar/components/smart-filter-bar-conditions-dialog/smart-filter-bar-conditions-dialog.component.mjs +8 -11
  102. package/esm2022/smart-filter-bar/components/smart-filter-bar-settings-dialog/smart-filter-bar-settings-dialog.component.mjs +40 -45
  103. package/esm2022/smart-filter-bar/interfaces/smart-filter-bar-condition.mjs +1 -1
  104. package/esm2022/smart-filter-bar/interfaces/smart-filter-bar-settings-dialog-config.mjs +1 -1
  105. package/esm2022/smart-filter-bar/interfaces/strategy-labels.type.mjs +1 -1
  106. package/esm2022/smart-filter-bar/smart-filter-bar.class.mjs +1 -1
  107. package/esm2022/smart-filter-bar/smart-filter-bar.component.mjs +5 -72
  108. package/esm2022/split-menu-button/split-menu-button.module.mjs +5 -23
  109. package/esm2022/table/components/table-cell-header-popover/table-cell-header-popover.component.mjs +1 -1
  110. package/esm2022/table/components/table-editable-cell/table-editable-cell.component.mjs +1 -1
  111. package/esm2022/table/components/table-p13-dialog/columns/columns.component.mjs +3 -3
  112. package/esm2022/table/components/table-p13-dialog/filtering/filter-rule.component.mjs +1 -1
  113. package/esm2022/table/components/table-p13-dialog/filtering/filtering.component.mjs +3 -3
  114. package/esm2022/table/components/table-p13-dialog/grouping/grouping.component.mjs +3 -3
  115. package/esm2022/table/components/table-p13-dialog/sorting/sorting.component.mjs +3 -3
  116. package/esm2022/table/components/table-popping-row/table-popping-row.component.mjs +1 -1
  117. package/esm2022/table/components/table-toolbar/table-toolbar.component.mjs +1 -1
  118. package/esm2022/table/components/table-view-settings-dialog/filtering/filter-multi-select.component.mjs +1 -1
  119. package/esm2022/table/components/table-view-settings-dialog/filtering/filter-single-select.component.mjs +1 -1
  120. package/esm2022/table/components/table-view-settings-dialog/filtering/filter-step.component.mjs +3 -3
  121. package/esm2022/table/components/table-view-settings-dialog/filtering/filters-list-step.component.mjs +1 -1
  122. package/esm2022/table/components/table-view-settings-dialog/filtering/filters.component.mjs +1 -1
  123. package/esm2022/table/components/table-view-settings-dialog/grouping/grouping.component.mjs +1 -1
  124. package/esm2022/table/components/table-view-settings-dialog/sorting/sorting.component.mjs +1 -1
  125. package/esm2022/table/table.component.mjs +1 -1
  126. package/esm2022/table/table.module.mjs +1 -5
  127. package/esm2022/thumbnail/thumbnail-details/thumbnail-details.component.mjs +5 -5
  128. package/esm2022/thumbnail/thumbnail-image/thumbnail-image.component.mjs +3 -3
  129. package/esm2022/upload-collection/dialogs/move-to/move-to.component.mjs +1 -1
  130. package/esm2022/upload-collection/dialogs/new-folder/new-folder.component.mjs +1 -1
  131. package/esm2022/upload-collection/models/upload-collection.models.mjs +1 -1
  132. package/esm2022/upload-collection/upload-collection/upload-collection.component.mjs +4 -29
  133. package/esm2022/upload-collection/upload-collection.module.mjs +4 -8
  134. package/esm2022/value-help-dialog/components/define-tab/define-tab.component.mjs +2 -27
  135. package/esm2022/value-help-dialog/components/select-tab/select-tab.component.mjs +3 -17
  136. package/esm2022/value-help-dialog/index.mjs +1 -2
  137. package/esm2022/value-help-dialog/value-help-dialog/value-help-dialog.component.mjs +4 -43
  138. package/esm2022/value-help-dialog/value-help-dialog.module.mjs +4 -22
  139. package/esm2022/variant-management/components/manage-variant-item/manage-variant-item.component.mjs +3 -3
  140. package/esm2022/variant-management/components/manage-variants-dialog/manage-variants-dialog.component.mjs +1 -1
  141. package/esm2022/variant-management/variant-management.component.mjs +1 -1
  142. package/esm2022/wizard-generator/components/dialog-wizard-generator/dialog-wizard-generator.component.mjs +1 -1
  143. package/esm2022/wizard-generator/components/wizard-generator/wizard-generator.component.mjs +1 -1
  144. package/esm2022/wizard-generator/components/wizard-generator-step/wizard-generator-step.component.mjs +1 -1
  145. package/esm2022/wizard-generator/components/wizard-summary-step/wizard-summary-section/wizard-summary-section.component.mjs +1 -1
  146. package/feed-input/feed-input.component.d.ts +1 -9
  147. package/fesm2022/fundamental-ngx-platform-action-bar.mjs +7 -29
  148. package/fesm2022/fundamental-ngx-platform-action-bar.mjs.map +1 -1
  149. package/fesm2022/fundamental-ngx-platform-approval-flow.mjs +25 -25
  150. package/fesm2022/fundamental-ngx-platform-approval-flow.mjs.map +1 -1
  151. package/fesm2022/fundamental-ngx-platform-button.mjs +5 -5
  152. package/fesm2022/fundamental-ngx-platform-button.mjs.map +1 -1
  153. package/fesm2022/fundamental-ngx-platform-dynamic-page.mjs +3 -8
  154. package/fesm2022/fundamental-ngx-platform-dynamic-page.mjs.map +1 -1
  155. package/fesm2022/fundamental-ngx-platform-feed-input.mjs +2 -16
  156. package/fesm2022/fundamental-ngx-platform-feed-input.mjs.map +1 -1
  157. package/fesm2022/fundamental-ngx-platform-form.mjs +138 -716
  158. package/fesm2022/fundamental-ngx-platform-form.mjs.map +1 -1
  159. package/fesm2022/fundamental-ngx-platform-icon-tab-bar.mjs +4 -4
  160. package/fesm2022/fundamental-ngx-platform-icon-tab-bar.mjs.map +1 -1
  161. package/fesm2022/fundamental-ngx-platform-link.mjs +2 -2
  162. package/fesm2022/fundamental-ngx-platform-link.mjs.map +1 -1
  163. package/fesm2022/fundamental-ngx-platform-list.mjs +23 -93
  164. package/fesm2022/fundamental-ngx-platform-list.mjs.map +1 -1
  165. package/fesm2022/fundamental-ngx-platform-menu-button.mjs +5 -22
  166. package/fesm2022/fundamental-ngx-platform-menu-button.mjs.map +1 -1
  167. package/fesm2022/fundamental-ngx-platform-menu.mjs +4 -36
  168. package/fesm2022/fundamental-ngx-platform-menu.mjs.map +1 -1
  169. package/fesm2022/fundamental-ngx-platform-message-popover.mjs +2 -2
  170. package/fesm2022/fundamental-ngx-platform-message-popover.mjs.map +1 -1
  171. package/fesm2022/fundamental-ngx-platform-panel.mjs +5 -16
  172. package/fesm2022/fundamental-ngx-platform-panel.mjs.map +1 -1
  173. package/fesm2022/fundamental-ngx-platform-search-field.mjs +12 -63
  174. package/fesm2022/fundamental-ngx-platform-search-field.mjs.map +1 -1
  175. package/fesm2022/fundamental-ngx-platform-settings-generator.mjs +5 -5
  176. package/fesm2022/fundamental-ngx-platform-settings-generator.mjs.map +1 -1
  177. package/fesm2022/fundamental-ngx-platform-shared.mjs +2 -116
  178. package/fesm2022/fundamental-ngx-platform-shared.mjs.map +1 -1
  179. package/fesm2022/fundamental-ngx-platform-slider.mjs +6 -6
  180. package/fesm2022/fundamental-ngx-platform-slider.mjs.map +1 -1
  181. package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs +71 -146
  182. package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs.map +1 -1
  183. package/fesm2022/fundamental-ngx-platform-split-menu-button.mjs +5 -22
  184. package/fesm2022/fundamental-ngx-platform-split-menu-button.mjs.map +1 -1
  185. package/fesm2022/fundamental-ngx-platform-table.mjs +23 -26
  186. package/fesm2022/fundamental-ngx-platform-table.mjs.map +1 -1
  187. package/fesm2022/fundamental-ngx-platform-thumbnail.mjs +6 -6
  188. package/fesm2022/fundamental-ngx-platform-thumbnail.mjs.map +1 -1
  189. package/fesm2022/fundamental-ngx-platform-upload-collection.mjs +9 -37
  190. package/fesm2022/fundamental-ngx-platform-upload-collection.mjs.map +1 -1
  191. package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs +11 -147
  192. package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
  193. package/fesm2022/fundamental-ngx-platform-variant-management.mjs +4 -4
  194. package/fesm2022/fundamental-ngx-platform-variant-management.mjs.map +1 -1
  195. package/fesm2022/fundamental-ngx-platform-wizard-generator.mjs +4 -4
  196. package/fesm2022/fundamental-ngx-platform-wizard-generator.mjs.map +1 -1
  197. package/form/checkbox/checkbox.component.d.ts +3 -19
  198. package/form/checkbox/checkbox.module.d.ts +3 -4
  199. package/form/checkbox-group/checkbox-group.component.d.ts +5 -16
  200. package/form/checkbox-group/checkbox-group.module.d.ts +2 -3
  201. package/form/combobox/combobox.module.d.ts +2 -3
  202. package/form/date-picker/date-picker.component.d.ts +1 -35
  203. package/form/date-picker/date-picker.module.d.ts +2 -3
  204. package/form/datetime-picker/datetime-picker.component.d.ts +1 -33
  205. package/form/datetime-picker/datetime-picker.module.d.ts +2 -3
  206. package/form/form-generator/form-generator/form-generator.component.d.ts +8 -18
  207. package/form/form-generator/interfaces/dynamic-form-item.d.ts +1 -13
  208. package/form/form-group/fdp-form.module.d.ts +12 -13
  209. package/form/form-group/form-field/form-field.component.d.ts +2 -17
  210. package/form/form-group/form-group.component.d.ts +2 -14
  211. package/form/index.d.ts +0 -1
  212. package/form/input/fdp-input.module.d.ts +2 -3
  213. package/form/input-group/input-group.module.d.ts +2 -3
  214. package/form/multi-combobox/multi-combobox.module.d.ts +2 -3
  215. package/form/multi-input/multi-input.module.d.ts +2 -3
  216. package/form/platform-file-uploader/platform-file-uploader.component.d.ts +5 -11
  217. package/form/platform-file-uploader/platform-file-uploader.module.d.ts +2 -3
  218. package/form/radio-group/radio/radio.component.d.ts +1 -8
  219. package/form/radio-group/radio-group.module.d.ts +2 -3
  220. package/form/select/select/select.component.d.ts +1 -8
  221. package/form/select/select.module.d.ts +2 -3
  222. package/form/step-input/step-input.module.d.ts +2 -3
  223. package/form/switch/switch.module.d.ts +2 -3
  224. package/form/text-area/text-area.component.d.ts +1 -6
  225. package/form/text-area/text-area.module.d.ts +3 -4
  226. package/form/time-picker/time-picker.module.d.ts +2 -3
  227. package/fundamental-ngx-platform-v0.45.0.tgz +0 -0
  228. package/list/base-list-item.d.ts +2 -27
  229. package/list/list-group-header.component.d.ts +1 -3
  230. package/list/list.module.d.ts +7 -8
  231. package/list/object-list-item/object-list-item.module.d.ts +2 -3
  232. package/list/standard-list-item/standard-list-item.module.d.ts +2 -3
  233. package/menu/menu.module.d.ts +2 -3
  234. package/menu-button/menu-button.module.d.ts +2 -3
  235. package/package.json +4 -4
  236. package/panel/panel.module.d.ts +2 -3
  237. package/schematics/ng-add/index.js +1 -1
  238. package/search-field/search-field.component.d.ts +1 -18
  239. package/search-field/search-field.module.d.ts +4 -5
  240. package/shared/form/form-field.d.ts +1 -17
  241. package/shared/form/form-options.d.ts +0 -3
  242. package/shared/form/hint-options.d.ts +0 -7
  243. package/shared/index.d.ts +0 -1
  244. package/slider/slider.module.d.ts +2 -3
  245. package/smart-filter-bar/components/smart-filter-bar-condition-field/base-smart-filter-bar-condition-field.d.ts +1 -3
  246. package/smart-filter-bar/components/smart-filter-bar-condition-field/smart-filter-bar-condition-field.component.d.ts +1 -2
  247. package/smart-filter-bar/components/smart-filter-bar-settings-dialog/smart-filter-bar-settings-dialog.component.d.ts +8 -8
  248. package/smart-filter-bar/interfaces/smart-filter-bar-condition.d.ts +0 -6
  249. package/smart-filter-bar/interfaces/smart-filter-bar-settings-dialog-config.d.ts +0 -6
  250. package/smart-filter-bar/interfaces/strategy-labels.type.d.ts +1 -1
  251. package/smart-filter-bar/smart-filter-bar.class.d.ts +0 -3
  252. package/smart-filter-bar/smart-filter-bar.component.d.ts +1 -43
  253. package/split-menu-button/split-menu-button.module.d.ts +2 -3
  254. package/table/table.module.d.ts +5 -6
  255. package/upload-collection/models/upload-collection.models.d.ts +0 -2
  256. package/upload-collection/upload-collection/upload-collection.component.d.ts +1 -16
  257. package/upload-collection/upload-collection.module.d.ts +1 -1
  258. package/value-help-dialog/components/define-tab/define-tab.component.d.ts +1 -11
  259. package/value-help-dialog/components/select-tab/select-tab.component.d.ts +1 -7
  260. package/value-help-dialog/index.d.ts +0 -1
  261. package/value-help-dialog/value-help-dialog/value-help-dialog.component.d.ts +1 -21
  262. package/value-help-dialog/value-help-dialog.module.d.ts +32 -34
  263. package/esm2022/form/form-group/deprecated-form-group-compact.directive.mjs +0 -30
  264. package/esm2022/shared/platform-content-density-deprecations/directives/platform-compact-deprecation.directive.mjs +0 -24
  265. package/esm2022/shared/platform-content-density-deprecations/directives/platform-content-density-deprecation.directive.mjs +0 -68
  266. package/esm2022/shared/platform-content-density-deprecations/index.mjs +0 -5
  267. package/esm2022/shared/platform-content-density-deprecations/platform-content-density-deprecations.module.mjs +0 -19
  268. package/esm2022/shared/platform-content-density-deprecations/providers/module-deprecation.provider.mjs +0 -13
  269. package/esm2022/value-help-dialog/components/value-help-dialog-search/value-help-dialog-search.component.mjs +0 -46
  270. package/form/form-group/deprecated-form-group-compact.directive.d.ts +0 -8
  271. package/fundamental-ngx-platform-v0.44.1-rc.3.tgz +0 -0
  272. package/shared/platform-content-density-deprecations/directives/platform-compact-deprecation.directive.d.ts +0 -8
  273. package/shared/platform-content-density-deprecations/directives/platform-content-density-deprecation.directive.d.ts +0 -10
  274. package/shared/platform-content-density-deprecations/index.d.ts +0 -4
  275. package/shared/platform-content-density-deprecations/platform-content-density-deprecations.module.d.ts +0 -9
  276. package/shared/platform-content-density-deprecations/providers/module-deprecation.provider.d.ts +0 -3
  277. package/value-help-dialog/components/value-help-dialog-search/value-help-dialog-search.component.d.ts +0 -20
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-platform-message-popover.mjs","sources":["../../../../libs/platform/src/lib/message-popover/default-config.ts","../../../../libs/platform/src/lib/message-popover/utils.ts","../../../../libs/platform/src/lib/message-popover/components/message-view/message-view.component.ts","../../../../libs/platform/src/lib/message-popover/components/message-view/message-view.component.html","../../../../libs/platform/src/lib/message-popover/message-popover.component.ts","../../../../libs/platform/src/lib/message-popover/message-popover.component.html","../../../../libs/platform/src/lib/message-popover/directives/message-popover-form-item.directive.ts","../../../../libs/platform/src/lib/message-popover/components/message-popover-form-wrapper/message-popover-form-wrapper.component.ts","../../../../libs/platform/src/lib/message-popover/components/message-popover-form-wrapper/message-popover-form-wrapper.component.html","../../../../libs/platform/src/lib/message-popover/platform-message-popover.module.ts","../../../../libs/platform/src/lib/message-popover/fundamental-ngx-platform-message-popover.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { FormStates } from '@fundamental-ngx/cdk/forms';\n\nexport interface MessagePopoverErrorConfig {\n heading: string;\n description?: string;\n type: FormStates;\n}\n\nexport interface MessagePopoverConfig {\n /**\n * Errors object where key is error type and value is i18n string.\n */\n errors: Record<string, string | MessagePopoverErrorConfig>;\n}\n\nexport const FDP_MESSAGE_POPOVER_DEFAULT_CONFIG: MessagePopoverConfig = {\n errors: {\n email: 'platformMessagePopover.defaultErrors.email',\n max: 'platformMessagePopover.defaultErrors.max',\n maxlength: 'platformMessagePopover.defaultErrors.maxLength',\n min: 'platformMessagePopover.defaultErrors.min',\n minlength: 'platformMessagePopover.defaultErrors.minLength',\n pattern: 'platformMessagePopover.defaultErrors.pattern',\n required: 'platformMessagePopover.defaultErrors.required',\n requiredTrue: 'platformMessagePopover.defaultErrors.requiredTrue'\n }\n};\n\nexport const FDP_MESSAGE_POPOVER_CONFIG = new InjectionToken<MessagePopoverConfig>('FdpMessagePopoverConfig');\n","import { ObjectStatus } from '@fundamental-ngx/core/object-status';\nimport { FormStates } from '@fundamental-ngx/cdk/forms';\n\n/**\n * Converts Form State into Object status type.\n * @param type Form state.\n * @returns `ObjectStatus` type.\n */\nexport function convertFormState(type: FormStates): ObjectStatus {\n switch (type) {\n case 'success':\n return 'positive';\n case 'error':\n return 'negative';\n case 'warning':\n return 'critical';\n case 'information':\n return 'informative';\n default:\n return 'neutral';\n }\n}\n","import { animate, keyframes, state, style, transition, trigger } from '@angular/animations';\nimport { DOCUMENT } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n Output,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { Nullable, resizeObservable, TabbableElementService } from '@fundamental-ngx/cdk/utils';\nimport { debounceTime } from 'rxjs';\nimport { MessagePopoverEntry, MessagePopoverErrorGroup } from '../../models/message-popover-entry.interface';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\n@Component({\n selector: 'fdp-message-view',\n templateUrl: './message-view.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [TabbableElementService],\n animations: [\n trigger('openCloseList', [\n // ...\n state(\n 'open',\n style({\n transform: 'translateX(0)',\n opacity: 1\n })\n ),\n state(\n 'closed',\n style({\n transform: 'translateX(-50px)',\n opacity: 0\n })\n ),\n transition('open => closed', [animate('.1s cubic-bezier(0, 0, 0.2, 1)')]),\n transition('closed => open', [animate('0.1s .1s cubic-bezier(0, 0, 0.2, 1)')])\n ]),\n trigger('openCloseDetails', [\n state(\n 'open',\n style({\n transform: 'translateX(0)',\n opacity: 1,\n display: 'block'\n })\n ),\n state(\n 'closed',\n style({\n transform: 'translateX(50px)',\n opacity: 0\n })\n ),\n transition('open => closed', [\n animate(\n '.1s cubic-bezier(0, 0, 0.2, 1)',\n keyframes([\n style({\n transform: 'translateX(0)',\n opacity: 1,\n display: 'block'\n }),\n style({\n transform: 'translateX(50px)',\n opacity: 0,\n display: 'none'\n })\n ])\n )\n ]),\n transition('closed => open', [\n style({\n display: 'block'\n }),\n animate('0.1s .1s cubic-bezier(0, 0, 0.2, 1)')\n ])\n ])\n ]\n})\nexport class MessageViewComponent implements AfterViewInit {\n /** Current Message Popover screen. Can be either `list` or `details`. */\n @Input()\n currentScreen: 'list' | 'details';\n\n /** Filtered errors to render. */\n @Input()\n filteredErrors: MessagePopoverErrorGroup[];\n\n /** Current error entry. Used for details view. */\n @Input()\n currentEntry: Nullable<MessagePopoverEntry>;\n\n /** Event emitted when user clicks on error entry containing additional description. */\n @Output()\n openDetails = new EventEmitter<MessagePopoverEntry>();\n\n /** Event emitted when user clicks on error entry and item's element should be focused. */\n @Output()\n focusItem = new EventEmitter<MessagePopoverEntry>();\n\n /** Event emitted when user clicks on the field link to focus on the field itself. */\n @Output()\n closePopover = new EventEmitter<boolean>();\n\n /** @hidden */\n @ViewChild('listView', { read: ElementRef })\n private _listView: ElementRef;\n\n /** @hidden */\n @ViewChild('detailsView', { read: ElementRef })\n private _detailsView: ElementRef;\n\n /** @Hidden */\n @HostBinding('class')\n private readonly _initialClass = 'fd-message-popover__view-container';\n\n /** @hidden */\n private _activeListElement: Nullable<HTMLElement> = null;\n\n /** @hidden */\n constructor(\n private readonly _destroyRef: DestroyRef,\n private readonly _tabbableService: TabbableElementService,\n @Inject(DOCUMENT) private readonly _document: Document\n ) {}\n\n /** @hidden */\n ngAfterViewInit(): void {\n resizeObservable(this._detailsView.nativeElement)\n .pipe(debounceTime(20), takeUntilDestroyed(this._destroyRef))\n .subscribe(() => {\n const { height } = this._detailsView.nativeElement.getBoundingClientRect();\n this._listView.nativeElement.style.minHeight = `${height}px`;\n });\n }\n\n /** @hidden */\n _showDetails(entry: MessagePopoverEntry): void {\n this._activeListElement = this._document.activeElement as HTMLElement;\n if (!entry.description.message) {\n this._focusElement(undefined, entry);\n return;\n }\n this.currentScreen = 'details';\n this.openDetails.emit(entry);\n }\n\n /** @hidden */\n _focusElement(event?: MouseEvent, item?: MessagePopoverEntry): void {\n if (!item?.element?.nativeElement) {\n return;\n }\n event?.stopImmediatePropagation();\n this.closePopover.emit(false);\n this.focusItem.emit(item);\n setTimeout(() => {\n const tabbableElement = this._tabbableService.getTabbableElement(item.element?.nativeElement);\n tabbableElement?.focus();\n });\n }\n\n /** @hidden */\n _onListAnimationComplete(event: any): void {\n if (event.toState === 'open' && this._activeListElement) {\n this._activeListElement.focus();\n this._activeListElement = null;\n }\n }\n}\n","<ng-template #headingTemplate let-item>\n <ng-template #directiveHeading>\n <ng-template\n [ngTemplateOutlet]=\"item.heading.message || item.description.message\"\n [ngTemplateOutletContext]=\"{ $implicit: item.heading.error }\"\n ></ng-template>\n </ng-template>\n <ng-template #i18nHeading>\n <ng-template\n [ngTemplateOutlet]=\"item.heading.message\"\n [ngTemplateOutletContext]=\"{ $implicit: item.errors }\"\n ></ng-template>\n </ng-template>\n <ng-template #stringHeading>\n {{ item.heading.message | fdTranslate : { error: item.heading.error } : item.heading.message }}\n </ng-template>\n <ng-template\n [ngTemplateOutlet]=\"\n item.heading.type === 'directive'\n ? directiveHeading\n : item.heading.type === 'string'\n ? stringHeading\n : i18nHeading\n \"\n ></ng-template>\n</ng-template>\n\n<ng-template #descriptionTemplate let-item>\n <ng-template #directiveDescription>\n <ng-template\n [ngTemplateOutlet]=\"item.description.message!\"\n [ngTemplateOutletContext]=\"{ $implicit: item.description.error }\"\n ></ng-template>\n </ng-template>\n <ng-template #i18nDescription>\n <ng-template\n [ngTemplateOutlet]=\"item.description.message!\"\n [ngTemplateOutletContext]=\"{ $implicit: item.errors }\"\n ></ng-template>\n </ng-template>\n <ng-template #stringDescription>\n {{ item.description.message | fdTranslate : { error: item.description.error } : item.description.message }}\n </ng-template>\n <ng-template\n [ngTemplateOutlet]=\"\n item.heading.type === 'directive'\n ? directiveDescription\n : item.heading.type === 'string'\n ? stringDescription\n : i18nDescription\n \"\n ></ng-template>\n</ng-template>\n\n<div class=\"fd-message-view\">\n <section\n class=\"fd-message-view__list\"\n tabindex=\"-1\"\n [@openCloseList]=\"currentScreen === 'list' ? 'open' : 'closed'\"\n (@openCloseList.done)=\"_onListAnimationComplete($event)\"\n fd-scrollbar\n [overrideTabindex]=\"false\"\n >\n <ul #listView fd-list class=\"message-popover__list fd-list--message-view\" [navigationIndicator]=\"true\">\n <ng-container *ngFor=\"let group of filteredErrors\">\n <li fd-list-group-header *ngIf=\"group.group\">\n <span fd-list-title>{{ group.group }}</span>\n </li>\n <ng-container *ngFor=\"let item of group.errors; let i = index\">\n <li fd-list-item [tabindex]=\"i === 0 ? 0 : -1\" [byline]=\"true\" (click)=\"_showDetails(item)\">\n <ng-template #itemIcon>\n <span\n fd-object-status\n class=\"fd-list__icon\"\n [status]=\"item.state\"\n [glyph]=\"'message-' + item.type\"\n ></span>\n </ng-template>\n <ng-template #listSubtitle>\n <span class=\"fd-list__subtitle\">\n <ng-template\n [ngTemplateOutlet]=\"headingTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n ></ng-template>\n </span>\n </ng-template>\n <span\n fd-list-link\n [navigationIndicator]=\"!!item.description.message\"\n *ngIf=\"item.element && !!item.description.message; else anchorListLink\"\n >\n <ng-template [ngTemplateOutlet]=\"itemIcon\"></ng-template>\n <span fd-list-content>\n <span fd-list-title>\n <a tabindex=\"0\" fd-link (click)=\"_focusElement($event, item)\">\n {{ item.fieldName }}\n </a>\n </span>\n <ng-template [ngTemplateOutlet]=\"listSubtitle\"></ng-template>\n </span>\n </span>\n <ng-template #anchorListLink>\n <a fd-list-link [navigationIndicator]=\"!!item.description.message\">\n <ng-template [ngTemplateOutlet]=\"itemIcon\"></ng-template>\n <span fd-list-content>\n <span fd-list-title>{{ item.fieldName }}</span>\n <ng-template [ngTemplateOutlet]=\"listSubtitle\"></ng-template>\n </span>\n </a>\n </ng-template>\n </li>\n </ng-container>\n </ng-container>\n </ul>\n </section>\n <section class=\"fd-message-view__details\" [@openCloseDetails]=\"currentScreen === 'details' ? 'open' : 'closed'\">\n <div #detailsView>\n <ng-container *ngIf=\"currentEntry\">\n <span class=\"fd-message-view__details-title\">\n <span\n fd-object-status\n class=\"fd-message-view__icon\"\n [status]=\"currentEntry.state\"\n [glyph]=\"'message-' + currentEntry.type\"\n ></span>\n <ng-template\n [ngTemplateOutlet]=\"headingTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: currentEntry }\"\n ></ng-template>\n </span>\n <span class=\"fd-message-view__details-description\" *ngIf=\"currentEntry.description.message\">\n <ng-template\n [ngTemplateOutlet]=\"descriptionTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: currentEntry }\"\n ></ng-template>\n </span>\n </ng-container>\n </div>\n </section>\n</div>\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DestroyRef,\n EventEmitter,\n Input,\n OnInit,\n Output,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { ObjectStatus } from '@fundamental-ngx/core/object-status';\nimport { PopoverComponent } from '@fundamental-ngx/core/popover';\nimport { FormStates } from '@fundamental-ngx/cdk/forms';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\nimport { getFormState } from '@fundamental-ngx/platform/form';\nimport { countBy, flatten } from 'lodash-es';\nimport {\n MessagePopoverEntry,\n MessagePopoverError,\n MessagePopoverErrorGroup\n} from './models/message-popover-entry.interface';\nimport { MessagePopoverWrapper } from './models/message-popover-wrapper.interface';\nimport { convertFormState } from './utils';\nimport { MessagePopover } from './models/message-popover.interface';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\n@Component({\n selector: 'fdp-message-popover',\n templateUrl: './message-popover.component.html',\n styleUrls: ['./message-popover.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MessagePopoverComponent implements MessagePopover, OnInit {\n /** @hidden */\n @ViewChild('popover')\n readonly _popover: PopoverComponent;\n\n /** Message Popover Wrapper component. */\n @Input()\n wrapper: MessagePopoverWrapper;\n\n /** Event emits when user clicks on error entry and item's element needs to be focused. */\n @Output()\n focusItem = new EventEmitter<MessagePopoverEntry>();\n\n /** Current message popover screen. Can be `list` or `details`. */\n currentScreen: 'list' | 'details' = 'list';\n\n /** Current error entry. */\n currentEntry: Nullable<MessagePopoverEntry>;\n\n /** @hidden */\n _currentErrorType: MessagePopoverError['group'] = 'all';\n\n /** @hidden */\n _errorTypes: MessagePopoverError[] = [];\n\n /** @hidden */\n _priorityStateItemsCount = 0;\n\n /** @hidden */\n _priorityFormState: FormStates;\n\n /** @hidden */\n _priorityState: ObjectStatus;\n\n /** @hidden */\n _filteredErrors: MessagePopoverErrorGroup[] = [];\n\n /** @hidden */\n private _groupedErrors: MessagePopoverErrorGroup[] = [];\n\n /** @hidden */\n constructor(private readonly _cdr: ChangeDetectorRef, private readonly _destroyRef: DestroyRef) {}\n\n /** @hidden */\n ngOnInit(): void {\n this.wrapper?.setMessagePopover(this);\n this.wrapper?.errors.pipe(takeUntilDestroyed(this._destroyRef)).subscribe((errors) => {\n this._groupedErrors = errors;\n this._errorTypes = [];\n const countedErrors = countBy(\n flatten(Object.values(this._groupedErrors.map((group) => group.errors))),\n 'type'\n );\n const errorTypes = Object.keys(countedErrors) as FormStates[];\n errorTypes.forEach((errorType) => {\n this._errorTypes.push({\n group: errorType,\n count: countedErrors[errorType],\n state: convertFormState(errorType)\n });\n });\n\n this._priorityFormState = getFormState(errorTypes);\n this._priorityState = convertFormState(this._priorityFormState);\n\n this._priorityStateItemsCount = countedErrors[this._priorityFormState];\n this._filterErrors();\n\n this._cdr.detectChanges();\n });\n }\n\n /** @hidden */\n _showList(): void {\n this.currentScreen = 'list';\n this.currentEntry = null;\n }\n\n /** @hidden */\n _showDetails(entry: MessagePopoverEntry): void {\n this.currentScreen = 'details';\n this.currentEntry = entry;\n }\n\n /** @hidden */\n _closePopover(focusLast = true): void {\n this._popover.close(focusLast);\n }\n\n /** @hidden */\n _filterErrors(): void {\n if (this._currentErrorType === 'all') {\n this._filteredErrors = this._groupedErrors;\n return;\n }\n this._filteredErrors = [];\n this._groupedErrors.forEach((group) => {\n const errors = group.errors.filter((error) => error.type === this._currentErrorType);\n\n if (errors.length === 0) {\n return;\n }\n\n this._filteredErrors.push({\n group: group.group,\n errors\n });\n });\n }\n}\n","<fd-popover\n #popover\n placement=\"top-start\"\n *ngIf=\"_errorTypes.length > 0\"\n [focusTrapped]=\"true\"\n [focusAutoCapture]=\"true\"\n [disableScrollbar]=\"true\"\n>\n <fd-popover-control>\n <button\n fd-button\n type=\"button\"\n class=\"fd-message-popover__trigger fd-message-popover__trigger\"\n [ngClass]=\"'fd-message-popover__trigger--' + _priorityState\"\n [glyph]=\"'message-' + _priorityFormState\"\n [label]=\"_priorityStateItemsCount.toString()\"\n ></button>\n </fd-popover-control>\n <div>\n <div fd-popover-body-header>\n <div fd-bar barDesign=\"header\" class=\"fd-bar--growing\">\n <div fd-bar-left>\n <fd-segmented-button\n [(ngModel)]=\"_currentErrorType\"\n *ngIf=\"currentScreen === 'list'\"\n (ngModelChange)=\"_filterErrors()\"\n >\n <button\n fd-button\n [label]=\"'platformMessagePopover.allErrors' | fdTranslate\"\n value=\"all\"\n ></button>\n <button fd-button *ngFor=\"let type of _errorTypes\" [value]=\"type.group\">\n <span fd-object-status [status]=\"type.state\" [glyph]=\"'message-' + type.group\"></span>\n <span class=\"fd-button__text\">{{ type.count }}</span>\n </button>\n </fd-segmented-button>\n <button\n *ngIf=\"currentScreen === 'details'\"\n fd-button\n fdInitialFocus\n fdType=\"transparent\"\n glyph=\"navigation-left-arrow\"\n title=\"Go back\"\n (click)=\"_showList()\"\n ></button>\n </div>\n <div fd-bar-right>\n <button fd-button fdType=\"transparent\" (click)=\"popover.close()\" glyph=\"decline\"></button>\n </div>\n </div>\n </div>\n <fdp-message-view\n [currentScreen]=\"currentScreen\"\n [filteredErrors]=\"_filteredErrors\"\n [currentEntry]=\"currentEntry\"\n (openDetails)=\"_showDetails($event)\"\n (closePopover)=\"_closePopover($event)\"\n (focusItem)=\"focusItem.emit($event)\"\n ></fdp-message-view>\n </div>\n</fd-popover>\n","import { Directive, ElementRef, Input, Optional } from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\n@Directive({\n selector: '[fdpMessagePopoverFormItem]'\n})\nexport class MessagePopoverFormItemDirective {\n /** Form item name. */\n @Input('fdpMessagePopoverFormItem')\n label: string;\n\n /** @hidden */\n constructor(public elementRef: ElementRef, @Optional() public control: NgControl) {}\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n DestroyRef,\n Inject,\n Input,\n OnDestroy,\n QueryList,\n ViewEncapsulation\n} from '@angular/core';\nimport { AbstractControl, ControlContainer, FormGroup, FormGroupDirective, NgForm, NgModel } from '@angular/forms';\nimport { FormStates } from '@fundamental-ngx/cdk/forms';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\nimport {\n FormFieldErrorDirectiveContext,\n PlatformFormField,\n PlatformFormFieldControl\n} from '@fundamental-ngx/platform/shared';\nimport { BehaviorSubject, filter, startWith, Subject, Subscription, switchMap, zip } from 'rxjs';\nimport { FDP_MESSAGE_POPOVER_CONFIG, MessagePopoverConfig, MessagePopoverErrorConfig } from '../../default-config';\nimport { MessagePopoverFormItemDirective } from '../../directives/message-popover-form-item.directive';\nimport {\n MessagePopoverEntry,\n MessagePopoverErrorGroup,\n MessagePopoverErrorText\n} from '../../models/message-popover-entry.interface';\nimport { MessagePopoverWrapper } from '../../models/message-popover-wrapper.interface';\nimport { convertFormState } from '../../utils';\nimport { MessagePopover } from '../../models/message-popover.interface';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\nexport type MessagePopoverForm = NgForm | FormGroupDirective;\n\n@Component({\n selector: 'fdp-message-popover-form-wrapper',\n templateUrl: './message-popover-form-wrapper.component.html',\n exportAs: 'messagePopoverWrapper',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class MessagePopoverFormWrapperComponent implements MessagePopoverWrapper, AfterViewInit, OnDestroy {\n /** @hidden */\n @ContentChildren(ControlContainer, { descendants: true })\n private readonly _projectedForm: QueryList<MessagePopoverForm>;\n /** @hidden */\n @ContentChildren(NgModel, { descendants: true })\n private readonly _projectedFormItems!: QueryList<NgModel>;\n\n /** @hidden */\n @ContentChildren(PlatformFormFieldControl, { descendants: true })\n private readonly _projectedFormFieldControls!: QueryList<PlatformFormFieldControl>;\n\n /** @hidden */\n @ContentChildren(MessagePopoverFormItemDirective, { descendants: true })\n private readonly _directiveItems!: QueryList<MessagePopoverFormItemDirective>;\n\n /** Message Popover instance. */\n messagePopover$ = new Subject<MessagePopover>();\n\n /**\n * User-passed forms.\n */\n @Input()\n set forms(forms: MessagePopoverForm | MessagePopoverForm[]) {\n if (!forms) {\n return;\n }\n if (!Array.isArray(forms)) {\n forms = [forms];\n }\n this._ngForms = forms;\n this._startListeningForErrors();\n }\n\n /** User-passed form fields. */\n @Input()\n set formFields(value: PlatformFormFieldControl[]) {\n this._formFields = value;\n this._listenToFormFieldErrors(value);\n }\n\n get formFields(): PlatformFormFieldControl[] {\n return this._formFields;\n }\n\n /** @hidden */\n private readonly _errors$ = new BehaviorSubject<MessagePopoverErrorGroup[]>([]);\n\n /**\n * Error models Observable. Emitted when form submitted and contains invalid fields.\n */\n // eslint-disable-next-line @typescript-eslint/member-ordering\n errors = this._errors$.asObservable();\n\n /** @hidden */\n private _formFields: PlatformFormFieldControl[] = [];\n\n /** @hidden */\n private _formErrorsSubscription: Subscription | undefined;\n\n /** @hidden */\n private _ngForms: (NgForm | FormGroupDirective)[] = [];\n\n /** @hidden */\n private _formItemErrorsSubscription = new Subscription();\n\n /** @hidden */\n private _formSubmitted = false;\n\n /** @hidden */\n constructor(\n private readonly _destroyRef: DestroyRef,\n @Inject(FDP_MESSAGE_POPOVER_CONFIG) private readonly _config: MessagePopoverConfig\n ) {}\n\n /** @hidden */\n ngAfterViewInit(): void {\n // Forms are passed via input property.\n if (this._ngForms.length > 0) {\n return;\n }\n this._ngForms = this._projectedForm?.toArray();\n this._startListeningForErrors();\n this._projectedForm?.changes.pipe(takeUntilDestroyed(this._destroyRef)).subscribe(() => {\n this._ngForms = this._projectedForm.toArray();\n this._startListeningForErrors();\n });\n }\n\n /**\n * Sets Message Popover component instance.\n */\n setMessagePopover(messagePopover: MessagePopover): void {\n this.messagePopover$.next(messagePopover);\n // this.messagePopover = messagePopover;\n }\n\n /**\n * Programmatically add new form to array of forms.\n * @param forms\n */\n addForms(forms: MessagePopoverForm | MessagePopoverForm[]): void {\n const formsArray = Array.isArray(forms) ? forms : [forms];\n this._ngForms.push(...formsArray);\n this._startListeningForErrors();\n }\n\n /**\n * Programmatically add new form fields to array of listened form fields.\n * @param formFields\n */\n addFormFields(formFields: PlatformFormFieldControl[]): void {\n this._formFields.push(...formFields);\n this._listenToFormFieldErrors(this._formFields);\n }\n\n /** @hidden */\n ngOnDestroy(): void {\n this._formItemErrorsSubscription.unsubscribe();\n }\n\n /**\n * @hidden\n * Listens to the form submission and collects form control errors.\n */\n private _startListeningForErrors(): void {\n if (!this._ngForms) {\n return;\n }\n this._formErrorsSubscription?.unsubscribe();\n this._errors$.next([]);\n\n const formSubmitEvents = this._ngForms.map((form) =>\n form.ngSubmit.pipe(\n switchMap(() =>\n form.statusChanges!.pipe(\n startWith(form.status),\n filter((status: string) => status.toLowerCase() !== 'pending')\n )\n )\n )\n );\n\n this._formErrorsSubscription = zip(...formSubmitEvents)\n .pipe(takeUntilDestroyed(this._destroyRef))\n .subscribe(() => {\n this._formSubmitted = true;\n const errors =\n this._directiveItems.length > 0 ? this._collectPlainFormData() : this._collectAdvancedFormData();\n\n this._errors$.next(errors);\n });\n\n this._listenToFormFieldErrors(this._projectedFormFieldControls.toArray());\n\n this._projectedFormFieldControls?.changes.subscribe(() => {\n this._listenToFormFieldErrors(this._projectedFormFieldControls.toArray());\n });\n }\n\n /** @hidden */\n private _listenToFormFieldErrors(fields: PlatformFormFieldControl[]): void {\n this._formItemErrorsSubscription.unsubscribe();\n\n this._formItemErrorsSubscription = new Subscription();\n\n fields?.forEach((field) => {\n this._formItemErrorsSubscription.add(\n field.formField?.errorsChange$.subscribe(() => {\n if (!this._formSubmitted) {\n return;\n }\n const errors =\n this._directiveItems.length > 0\n ? this._collectPlainFormData()\n : this._collectAdvancedFormData();\n this._errors$.next(errors);\n })\n );\n });\n }\n\n /** @hidden */\n private _collectPlainFormData(): MessagePopoverErrorGroup[] {\n const errors: MessagePopoverErrorGroup[] = [\n {\n errors: []\n }\n ];\n\n const fields = this._directiveItems.toArray();\n\n this._ngForms.forEach((form) => {\n Object.keys(form.form.controls).forEach((controlName) => {\n const control = form.form.get(controlName);\n const field = fields.find((formField) => formField.control?.name === controlName);\n\n if (!control?.errors || !field) {\n return;\n }\n\n const configErrors = Object.keys(this._config.errors);\n\n Object.keys(control.errors)\n .filter((error) => configErrors.includes(error))\n .forEach((errorKey) => {\n const errorObj = control.errors![errorKey];\n\n const errorTextModel = this._getConfigErrorModel(errorKey);\n const error: MessagePopoverEntry = {\n name: controlName,\n type: errorTextModel.type,\n state: convertFormState('error'),\n fieldName: field?.label ?? '',\n element: field?.elementRef,\n heading: {\n type: 'string',\n error: errorObj,\n message: errorTextModel.heading\n },\n description: {\n type: 'string',\n error: errorObj,\n message: errorTextModel.description\n },\n errors: control!.errors\n };\n\n errors[0].errors.push(error);\n });\n });\n });\n\n return errors;\n }\n\n /** @hidden */\n private _collectAdvancedFormData(): MessagePopoverErrorGroup[] {\n let errors: MessagePopoverErrorGroup[] = [];\n const fields = this.formFields.length > 0 ? this.formFields : this._projectedFormFieldControls.toArray();\n\n /**\n * Iterates over form controls to collect their errors.\n * @param form Form Group or a collection of Form Groups.\n */\n const iterateOverForm = (form: FormGroup | FormGroup[]): MessagePopoverErrorGroup[] => {\n if (Array.isArray(form)) {\n form.forEach((formGroup) => {\n errors = iterateOverForm(formGroup);\n });\n return errors;\n }\n Object.keys(form.controls).forEach((controlName) => {\n const control = form.get(controlName);\n const field = fields.find((formField) => formField.id === controlName);\n\n if (control instanceof FormGroup) {\n errors = iterateOverForm(control);\n }\n\n if (!control?.errors || !field) {\n return;\n }\n\n Object.keys(control.errors).forEach((errorKey) => {\n const errorDirective = field.formField?.groupedErrors.find(\n (groupedError) => groupedError.directive.error === errorKey\n );\n\n const groupName = this._getGroupName(field?.formField);\n const error = this._getErrorModel(\n controlName,\n groupName,\n control,\n field,\n errorKey,\n errorDirective,\n control.errors![errorKey]\n );\n\n let errorGroupIndex = errors.findIndex((errorGroup) => errorGroup.group === groupName);\n\n if (errorGroupIndex === -1) {\n errorGroupIndex =\n errors.push({\n group: groupName,\n errors: []\n }) - 1;\n }\n\n const group = errors[errorGroupIndex];\n\n group.errors.push(error);\n });\n });\n\n return errors;\n };\n\n return iterateOverForm(this._ngForms.map((form) => form.form));\n }\n\n /**\n * @hidden\n * Creates error model\n */\n private _getErrorModel(\n controlName: string,\n groupName: string,\n control: AbstractControl,\n field: PlatformFormFieldControl,\n errorKey: string,\n errorDirective?: FormFieldErrorDirectiveContext,\n error?: any\n ): MessagePopoverEntry {\n let state: FormStates = 'error';\n const configError = this._config.errors[errorKey];\n\n if (errorDirective?.directive.type) {\n state = errorDirective.directive.type;\n } else if (this._isAdvancedError(configError)) {\n state = configError.type;\n }\n\n return {\n name: controlName,\n type: state,\n state: convertFormState(state),\n group: groupName,\n fieldName: field?.formField?.label ?? '',\n heading: this._getErrorText(field, errorDirective, 'heading', errorKey, error),\n description: this._getErrorText(field, errorDirective, 'description', errorKey, error),\n errors: control!.errors,\n formField: field,\n element: field?.elementRef\n };\n }\n\n /**\n * @hidden\n * Creates error text based on the type of the error.\n * @param field Form Field Control.\n * @param errorDirective Optional Error directive\n * @param section Section where text should be rendered.\n * @param errorKey\n * @param error\n */\n private _getErrorText(\n field: PlatformFormFieldControl,\n errorDirective: Nullable<FormFieldErrorDirectiveContext>,\n section: 'heading' | 'description' = 'heading',\n errorKey: string,\n error?: any\n ): MessagePopoverErrorText {\n const errorTextObj: MessagePopoverErrorText = {\n error: errorDirective?.error,\n type: errorDirective?.directive ? 'directive' : field?.formField?.i18Strings ? 'templateRef' : 'string'\n };\n\n if (errorTextObj.type === 'string') {\n const errorTextModel = this._getConfigErrorModel(errorKey);\n\n errorTextObj.error = error;\n errorTextObj.message = errorTextModel[section];\n return errorTextObj;\n }\n\n if (errorDirective?.directive) {\n errorTextObj.message =\n section === 'heading'\n ? errorDirective.directive._headingTemplateRef ?? errorDirective.directive._descriptionTemplateRef\n : errorDirective.directive._descriptionTemplateRef;\n return errorTextObj;\n }\n\n errorTextObj.message = field?.formField?.i18Strings ?? null;\n return errorTextObj;\n }\n\n /** @hidden */\n private _getGroupName(formField: Nullable<PlatformFormField>): string {\n const parts: string[] = [];\n\n if (formField?.formGroupContainer?.mainTitle) {\n parts.push(formField.formGroupContainer.mainTitle);\n }\n\n if (formField?.formFieldGroup?.label) {\n parts.push(formField.formFieldGroup.label);\n }\n\n return parts.join(', ');\n }\n\n /** @hidden */\n private _getConfigErrorModel(errorKey: string): MessagePopoverErrorConfig {\n const configError = this._config.errors[errorKey];\n const isPlainError = !this._isAdvancedError(configError);\n const errorType = isPlainError ? 'error' : configError.type;\n const headingMessage = isPlainError ? configError : configError.heading;\n const descriptionMessage = isPlainError ? undefined : configError.description;\n\n return {\n type: errorType,\n heading: headingMessage,\n description: descriptionMessage\n };\n }\n\n /** @hidden */\n private _isAdvancedError(error: string | MessagePopoverErrorConfig): error is MessagePopoverErrorConfig {\n return !!error && typeof error !== 'string';\n }\n}\n","<ng-content></ng-content>\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { BarModule } from '@fundamental-ngx/core/bar';\nimport { ButtonModule } from '@fundamental-ngx/core/button';\nimport { IconModule } from '@fundamental-ngx/core/icon';\nimport { LinkModule } from '@fundamental-ngx/core/link';\nimport { ListModule } from '@fundamental-ngx/core/list';\nimport { ObjectStatusModule } from '@fundamental-ngx/core/object-status';\nimport { PopoverModule } from '@fundamental-ngx/core/popover';\nimport { ScrollbarModule } from '@fundamental-ngx/core/scrollbar';\nimport { SegmentedButtonModule } from '@fundamental-ngx/core/segmented-button';\nimport { InitialFocusModule } from '@fundamental-ngx/cdk/utils';\nimport { I18nModule } from '@fundamental-ngx/i18n';\nimport { PlatformButtonModule } from '@fundamental-ngx/platform/button';\nimport { PlatformObjectStatusModule } from '@fundamental-ngx/platform/object-status';\nimport { mergeWith } from 'lodash-es';\nimport { FDP_MESSAGE_POPOVER_CONFIG, FDP_MESSAGE_POPOVER_DEFAULT_CONFIG, MessagePopoverConfig } from './default-config';\nimport { MessagePopoverComponent } from './message-popover.component';\nimport { MessagePopoverFormWrapperComponent } from './components/message-popover-form-wrapper/message-popover-form-wrapper.component';\nimport { MessageViewComponent } from './components/message-view/message-view.component';\nimport { MessagePopoverFormItemDirective } from './directives/message-popover-form-item.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n IconModule,\n PopoverModule,\n BarModule,\n ListModule,\n SegmentedButtonModule,\n FormsModule,\n ButtonModule,\n ObjectStatusModule,\n ScrollbarModule,\n LinkModule,\n PlatformObjectStatusModule,\n PlatformButtonModule,\n I18nModule,\n InitialFocusModule\n ],\n exports: [\n MessagePopoverComponent,\n MessagePopoverFormWrapperComponent,\n MessageViewComponent,\n MessagePopoverFormItemDirective\n ],\n declarations: [\n MessagePopoverComponent,\n MessagePopoverFormWrapperComponent,\n MessageViewComponent,\n MessagePopoverFormItemDirective\n ],\n providers: [\n {\n provide: FDP_MESSAGE_POPOVER_CONFIG,\n useValue: FDP_MESSAGE_POPOVER_DEFAULT_CONFIG\n }\n ]\n})\nexport class PlatformMessagePopoverModule {\n /**\n * Method allows users to apply custom configuration.\n * @param config Object containing error definitions.\n */\n static withConfig(config: MessagePopoverConfig): ModuleWithProviders<PlatformMessagePopoverModule> {\n const customConfig = mergeWith(FDP_MESSAGE_POPOVER_DEFAULT_CONFIG, config, (obj, src) => {\n if (typeof obj === 'object' && !Array.isArray(obj)) {\n return Object.assign(obj, src);\n } else if (Array.isArray(obj)) {\n return obj.concat(src);\n } else {\n return src;\n }\n });\n\n return {\n ngModule: PlatformMessagePopoverModule,\n providers: [\n {\n provide: FDP_MESSAGE_POPOVER_CONFIG,\n useValue: customConfig\n }\n ]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4","i5","i6","i7","i8","i9.MessageViewComponent","i10"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBa,MAAA,kCAAkC,GAAyB;AACpE,IAAA,MAAM,EAAE;AACJ,QAAA,KAAK,EAAE,4CAA4C;AACnD,QAAA,GAAG,EAAE,0CAA0C;AAC/C,QAAA,SAAS,EAAE,gDAAgD;AAC3D,QAAA,GAAG,EAAE,0CAA0C;AAC/C,QAAA,SAAS,EAAE,gDAAgD;AAC3D,QAAA,OAAO,EAAE,8CAA8C;AACvD,QAAA,QAAQ,EAAE,+CAA+C;AACzD,QAAA,YAAY,EAAE,mDAAmD;AACpE,KAAA;EACH;MAEW,0BAA0B,GAAG,IAAI,cAAc,CAAuB,yBAAyB;;AC1B5G;;;;AAIG;AACG,SAAU,gBAAgB,CAAC,IAAgB,EAAA;AAC7C,IAAA,QAAQ,IAAI;AACR,QAAA,KAAK,SAAS;AACV,YAAA,OAAO,UAAU,CAAC;AACtB,QAAA,KAAK,OAAO;AACR,YAAA,OAAO,UAAU,CAAC;AACtB,QAAA,KAAK,SAAS;AACV,YAAA,OAAO,UAAU,CAAC;AACtB,QAAA,KAAK,aAAa;AACd,YAAA,OAAO,aAAa,CAAC;AACzB,QAAA;AAC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,iBAAA,CAAA;;;AC3DD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-platform-message-popover.mjs","sources":["../../../../libs/platform/src/lib/message-popover/default-config.ts","../../../../libs/platform/src/lib/message-popover/utils.ts","../../../../libs/platform/src/lib/message-popover/components/message-view/message-view.component.ts","../../../../libs/platform/src/lib/message-popover/components/message-view/message-view.component.html","../../../../libs/platform/src/lib/message-popover/message-popover.component.ts","../../../../libs/platform/src/lib/message-popover/message-popover.component.html","../../../../libs/platform/src/lib/message-popover/directives/message-popover-form-item.directive.ts","../../../../libs/platform/src/lib/message-popover/components/message-popover-form-wrapper/message-popover-form-wrapper.component.ts","../../../../libs/platform/src/lib/message-popover/components/message-popover-form-wrapper/message-popover-form-wrapper.component.html","../../../../libs/platform/src/lib/message-popover/platform-message-popover.module.ts","../../../../libs/platform/src/lib/message-popover/fundamental-ngx-platform-message-popover.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { FormStates } from '@fundamental-ngx/cdk/forms';\n\nexport interface MessagePopoverErrorConfig {\n heading: string;\n description?: string;\n type: FormStates;\n}\n\nexport interface MessagePopoverConfig {\n /**\n * Errors object where key is error type and value is i18n string.\n */\n errors: Record<string, string | MessagePopoverErrorConfig>;\n}\n\nexport const FDP_MESSAGE_POPOVER_DEFAULT_CONFIG: MessagePopoverConfig = {\n errors: {\n email: 'platformMessagePopover.defaultErrors.email',\n max: 'platformMessagePopover.defaultErrors.max',\n maxlength: 'platformMessagePopover.defaultErrors.maxLength',\n min: 'platformMessagePopover.defaultErrors.min',\n minlength: 'platformMessagePopover.defaultErrors.minLength',\n pattern: 'platformMessagePopover.defaultErrors.pattern',\n required: 'platformMessagePopover.defaultErrors.required',\n requiredTrue: 'platformMessagePopover.defaultErrors.requiredTrue'\n }\n};\n\nexport const FDP_MESSAGE_POPOVER_CONFIG = new InjectionToken<MessagePopoverConfig>('FdpMessagePopoverConfig');\n","import { ObjectStatus } from '@fundamental-ngx/core/object-status';\nimport { FormStates } from '@fundamental-ngx/cdk/forms';\n\n/**\n * Converts Form State into Object status type.\n * @param type Form state.\n * @returns `ObjectStatus` type.\n */\nexport function convertFormState(type: FormStates): ObjectStatus {\n switch (type) {\n case 'success':\n return 'positive';\n case 'error':\n return 'negative';\n case 'warning':\n return 'critical';\n case 'information':\n return 'informative';\n default:\n return 'neutral';\n }\n}\n","import { animate, keyframes, state, style, transition, trigger } from '@angular/animations';\nimport { DOCUMENT } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n Output,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { Nullable, resizeObservable, TabbableElementService } from '@fundamental-ngx/cdk/utils';\nimport { debounceTime } from 'rxjs';\nimport { MessagePopoverEntry, MessagePopoverErrorGroup } from '../../models/message-popover-entry.interface';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\n@Component({\n selector: 'fdp-message-view',\n templateUrl: './message-view.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [TabbableElementService],\n animations: [\n trigger('openCloseList', [\n // ...\n state(\n 'open',\n style({\n transform: 'translateX(0)',\n opacity: 1\n })\n ),\n state(\n 'closed',\n style({\n transform: 'translateX(-50px)',\n opacity: 0\n })\n ),\n transition('open => closed', [animate('.1s cubic-bezier(0, 0, 0.2, 1)')]),\n transition('closed => open', [animate('0.1s .1s cubic-bezier(0, 0, 0.2, 1)')])\n ]),\n trigger('openCloseDetails', [\n state(\n 'open',\n style({\n transform: 'translateX(0)',\n opacity: 1,\n display: 'block'\n })\n ),\n state(\n 'closed',\n style({\n transform: 'translateX(50px)',\n opacity: 0\n })\n ),\n transition('open => closed', [\n animate(\n '.1s cubic-bezier(0, 0, 0.2, 1)',\n keyframes([\n style({\n transform: 'translateX(0)',\n opacity: 1,\n display: 'block'\n }),\n style({\n transform: 'translateX(50px)',\n opacity: 0,\n display: 'none'\n })\n ])\n )\n ]),\n transition('closed => open', [\n style({\n display: 'block'\n }),\n animate('0.1s .1s cubic-bezier(0, 0, 0.2, 1)')\n ])\n ])\n ]\n})\nexport class MessageViewComponent implements AfterViewInit {\n /** Current Message Popover screen. Can be either `list` or `details`. */\n @Input()\n currentScreen: 'list' | 'details';\n\n /** Filtered errors to render. */\n @Input()\n filteredErrors: MessagePopoverErrorGroup[];\n\n /** Current error entry. Used for details view. */\n @Input()\n currentEntry: Nullable<MessagePopoverEntry>;\n\n /** Event emitted when user clicks on error entry containing additional description. */\n @Output()\n openDetails = new EventEmitter<MessagePopoverEntry>();\n\n /** Event emitted when user clicks on error entry and item's element should be focused. */\n @Output()\n focusItem = new EventEmitter<MessagePopoverEntry>();\n\n /** Event emitted when user clicks on the field link to focus on the field itself. */\n @Output()\n closePopover = new EventEmitter<boolean>();\n\n /** @hidden */\n @ViewChild('listView', { read: ElementRef })\n private _listView: ElementRef;\n\n /** @hidden */\n @ViewChild('detailsView', { read: ElementRef })\n private _detailsView: ElementRef;\n\n /** @Hidden */\n @HostBinding('class')\n private readonly _initialClass = 'fd-message-popover__view-container';\n\n /** @hidden */\n private _activeListElement: Nullable<HTMLElement> = null;\n\n /** @hidden */\n constructor(\n private readonly _destroyRef: DestroyRef,\n private readonly _tabbableService: TabbableElementService,\n @Inject(DOCUMENT) private readonly _document: Document\n ) {}\n\n /** @hidden */\n ngAfterViewInit(): void {\n resizeObservable(this._detailsView.nativeElement)\n .pipe(debounceTime(20), takeUntilDestroyed(this._destroyRef))\n .subscribe(() => {\n const { height } = this._detailsView.nativeElement.getBoundingClientRect();\n this._listView.nativeElement.style.minHeight = `${height}px`;\n });\n }\n\n /** @hidden */\n _showDetails(entry: MessagePopoverEntry): void {\n this._activeListElement = this._document.activeElement as HTMLElement;\n if (!entry.description.message) {\n this._focusElement(undefined, entry);\n return;\n }\n this.currentScreen = 'details';\n this.openDetails.emit(entry);\n }\n\n /** @hidden */\n _focusElement(event?: MouseEvent, item?: MessagePopoverEntry): void {\n if (!item?.element?.nativeElement) {\n return;\n }\n event?.stopImmediatePropagation();\n this.closePopover.emit(false);\n this.focusItem.emit(item);\n setTimeout(() => {\n const tabbableElement = this._tabbableService.getTabbableElement(item.element?.nativeElement);\n tabbableElement?.focus();\n });\n }\n\n /** @hidden */\n _onListAnimationComplete(event: any): void {\n if (event.toState === 'open' && this._activeListElement) {\n this._activeListElement.focus();\n this._activeListElement = null;\n }\n }\n}\n","<ng-template #headingTemplate let-item>\n <ng-template #directiveHeading>\n <ng-template\n [ngTemplateOutlet]=\"item.heading.message || item.description.message\"\n [ngTemplateOutletContext]=\"{ $implicit: item.heading.error }\"\n ></ng-template>\n </ng-template>\n <ng-template #i18nHeading>\n <ng-template\n [ngTemplateOutlet]=\"item.heading.message\"\n [ngTemplateOutletContext]=\"{ $implicit: item.errors }\"\n ></ng-template>\n </ng-template>\n <ng-template #stringHeading>\n {{ item.heading.message | fdTranslate : { error: item.heading.error } : item.heading.message }}\n </ng-template>\n <ng-template\n [ngTemplateOutlet]=\"\n item.heading.type === 'directive'\n ? directiveHeading\n : item.heading.type === 'string'\n ? stringHeading\n : i18nHeading\n \"\n ></ng-template>\n</ng-template>\n\n<ng-template #descriptionTemplate let-item>\n <ng-template #directiveDescription>\n <ng-template\n [ngTemplateOutlet]=\"item.description.message!\"\n [ngTemplateOutletContext]=\"{ $implicit: item.description.error }\"\n ></ng-template>\n </ng-template>\n <ng-template #i18nDescription>\n <ng-template\n [ngTemplateOutlet]=\"item.description.message!\"\n [ngTemplateOutletContext]=\"{ $implicit: item.errors }\"\n ></ng-template>\n </ng-template>\n <ng-template #stringDescription>\n {{ item.description.message | fdTranslate : { error: item.description.error } : item.description.message }}\n </ng-template>\n <ng-template\n [ngTemplateOutlet]=\"\n item.heading.type === 'directive'\n ? directiveDescription\n : item.heading.type === 'string'\n ? stringDescription\n : i18nDescription\n \"\n ></ng-template>\n</ng-template>\n\n<div class=\"fd-message-view\">\n <section\n class=\"fd-message-view__list\"\n tabindex=\"-1\"\n [@openCloseList]=\"currentScreen === 'list' ? 'open' : 'closed'\"\n (@openCloseList.done)=\"_onListAnimationComplete($event)\"\n fd-scrollbar\n [overrideTabindex]=\"false\"\n >\n <ul #listView fd-list class=\"message-popover__list fd-list--message-view\" [navigationIndicator]=\"true\">\n <ng-container *ngFor=\"let group of filteredErrors\">\n <li fd-list-group-header *ngIf=\"group.group\">\n <span fd-list-title>{{ group.group }}</span>\n </li>\n <ng-container *ngFor=\"let item of group.errors; let i = index\">\n <li fd-list-item [tabindex]=\"i === 0 ? 0 : -1\" [byline]=\"true\" (click)=\"_showDetails(item)\">\n <ng-template #itemIcon>\n <span\n fd-object-status\n class=\"fd-list__icon\"\n [status]=\"item.state\"\n [glyph]=\"'message-' + item.type\"\n ></span>\n </ng-template>\n <ng-template #listSubtitle>\n <span class=\"fd-list__subtitle\">\n <ng-template\n [ngTemplateOutlet]=\"headingTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n ></ng-template>\n </span>\n </ng-template>\n <span\n fd-list-link\n [navigationIndicator]=\"!!item.description.message\"\n *ngIf=\"item.element && !!item.description.message; else anchorListLink\"\n >\n <ng-template [ngTemplateOutlet]=\"itemIcon\"></ng-template>\n <span fd-list-content>\n <span fd-list-title>\n <a tabindex=\"0\" fd-link (click)=\"_focusElement($event, item)\">\n {{ item.fieldName }}\n </a>\n </span>\n <ng-template [ngTemplateOutlet]=\"listSubtitle\"></ng-template>\n </span>\n </span>\n <ng-template #anchorListLink>\n <a fd-list-link [navigationIndicator]=\"!!item.description.message\">\n <ng-template [ngTemplateOutlet]=\"itemIcon\"></ng-template>\n <span fd-list-content>\n <span fd-list-title>{{ item.fieldName }}</span>\n <ng-template [ngTemplateOutlet]=\"listSubtitle\"></ng-template>\n </span>\n </a>\n </ng-template>\n </li>\n </ng-container>\n </ng-container>\n </ul>\n </section>\n <section class=\"fd-message-view__details\" [@openCloseDetails]=\"currentScreen === 'details' ? 'open' : 'closed'\">\n <div #detailsView>\n <ng-container *ngIf=\"currentEntry\">\n <span class=\"fd-message-view__details-title\">\n <span\n fd-object-status\n class=\"fd-message-view__icon\"\n [status]=\"currentEntry.state\"\n [glyph]=\"'message-' + currentEntry.type\"\n ></span>\n <ng-template\n [ngTemplateOutlet]=\"headingTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: currentEntry }\"\n ></ng-template>\n </span>\n <span class=\"fd-message-view__details-description\" *ngIf=\"currentEntry.description.message\">\n <ng-template\n [ngTemplateOutlet]=\"descriptionTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: currentEntry }\"\n ></ng-template>\n </span>\n </ng-container>\n </div>\n </section>\n</div>\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DestroyRef,\n EventEmitter,\n Input,\n OnInit,\n Output,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { ObjectStatus } from '@fundamental-ngx/core/object-status';\nimport { PopoverComponent } from '@fundamental-ngx/core/popover';\nimport { FormStates } from '@fundamental-ngx/cdk/forms';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\nimport { getFormState } from '@fundamental-ngx/platform/form';\nimport { countBy, flatten } from 'lodash-es';\nimport {\n MessagePopoverEntry,\n MessagePopoverError,\n MessagePopoverErrorGroup\n} from './models/message-popover-entry.interface';\nimport { MessagePopoverWrapper } from './models/message-popover-wrapper.interface';\nimport { convertFormState } from './utils';\nimport { MessagePopover } from './models/message-popover.interface';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\n@Component({\n selector: 'fdp-message-popover',\n templateUrl: './message-popover.component.html',\n styleUrls: ['./message-popover.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MessagePopoverComponent implements MessagePopover, OnInit {\n /** @hidden */\n @ViewChild('popover')\n readonly _popover: PopoverComponent;\n\n /** Message Popover Wrapper component. */\n @Input()\n wrapper: MessagePopoverWrapper;\n\n /** Event emits when user clicks on error entry and item's element needs to be focused. */\n @Output()\n focusItem = new EventEmitter<MessagePopoverEntry>();\n\n /** Current message popover screen. Can be `list` or `details`. */\n currentScreen: 'list' | 'details' = 'list';\n\n /** Current error entry. */\n currentEntry: Nullable<MessagePopoverEntry>;\n\n /** @hidden */\n _currentErrorType: MessagePopoverError['group'] = 'all';\n\n /** @hidden */\n _errorTypes: MessagePopoverError[] = [];\n\n /** @hidden */\n _priorityStateItemsCount = 0;\n\n /** @hidden */\n _priorityFormState: FormStates;\n\n /** @hidden */\n _priorityState: ObjectStatus;\n\n /** @hidden */\n _filteredErrors: MessagePopoverErrorGroup[] = [];\n\n /** @hidden */\n private _groupedErrors: MessagePopoverErrorGroup[] = [];\n\n /** @hidden */\n constructor(private readonly _cdr: ChangeDetectorRef, private readonly _destroyRef: DestroyRef) {}\n\n /** @hidden */\n ngOnInit(): void {\n this.wrapper?.setMessagePopover(this);\n this.wrapper?.errors.pipe(takeUntilDestroyed(this._destroyRef)).subscribe((errors) => {\n this._groupedErrors = errors;\n this._errorTypes = [];\n const countedErrors = countBy(\n flatten(Object.values(this._groupedErrors.map((group) => group.errors))),\n 'type'\n );\n const errorTypes = Object.keys(countedErrors) as FormStates[];\n errorTypes.forEach((errorType) => {\n this._errorTypes.push({\n group: errorType,\n count: countedErrors[errorType],\n state: convertFormState(errorType)\n });\n });\n\n this._priorityFormState = getFormState(errorTypes);\n this._priorityState = convertFormState(this._priorityFormState);\n\n this._priorityStateItemsCount = countedErrors[this._priorityFormState];\n this._filterErrors();\n\n this._cdr.detectChanges();\n });\n }\n\n /** @hidden */\n _showList(): void {\n this.currentScreen = 'list';\n this.currentEntry = null;\n }\n\n /** @hidden */\n _showDetails(entry: MessagePopoverEntry): void {\n this.currentScreen = 'details';\n this.currentEntry = entry;\n }\n\n /** @hidden */\n _closePopover(focusLast = true): void {\n this._popover.close(focusLast);\n }\n\n /** @hidden */\n _filterErrors(): void {\n if (this._currentErrorType === 'all') {\n this._filteredErrors = this._groupedErrors;\n return;\n }\n this._filteredErrors = [];\n this._groupedErrors.forEach((group) => {\n const errors = group.errors.filter((error) => error.type === this._currentErrorType);\n\n if (errors.length === 0) {\n return;\n }\n\n this._filteredErrors.push({\n group: group.group,\n errors\n });\n });\n }\n}\n","<fd-popover\n #popover\n placement=\"top-start\"\n *ngIf=\"_errorTypes.length > 0\"\n [focusTrapped]=\"true\"\n [focusAutoCapture]=\"true\"\n [disableScrollbar]=\"true\"\n>\n <fd-popover-control>\n <button\n fd-button\n type=\"button\"\n class=\"fd-message-popover__trigger fd-message-popover__trigger\"\n [ngClass]=\"'fd-message-popover__trigger--' + _priorityState\"\n [glyph]=\"'message-' + _priorityFormState\"\n [label]=\"_priorityStateItemsCount.toString()\"\n ></button>\n </fd-popover-control>\n <div>\n <div fd-popover-body-header>\n <div fd-bar barDesign=\"header\" class=\"fd-bar--growing\">\n <div fd-bar-left>\n <fd-segmented-button\n [(ngModel)]=\"_currentErrorType\"\n *ngIf=\"currentScreen === 'list'\"\n (ngModelChange)=\"_filterErrors()\"\n >\n <button\n fd-button\n [label]=\"'platformMessagePopover.allErrors' | fdTranslate\"\n value=\"all\"\n ></button>\n <button fd-button *ngFor=\"let type of _errorTypes\" [value]=\"type.group\">\n <span fd-object-status [status]=\"type.state\" [glyph]=\"'message-' + type.group\"></span>\n <span class=\"fd-button__text\">{{ type.count }}</span>\n </button>\n </fd-segmented-button>\n <button\n *ngIf=\"currentScreen === 'details'\"\n fd-button\n fdInitialFocus\n fdType=\"transparent\"\n glyph=\"navigation-left-arrow\"\n title=\"Go back\"\n (click)=\"_showList()\"\n ></button>\n </div>\n <div fd-bar-right>\n <button fd-button fdType=\"transparent\" (click)=\"popover.close()\" glyph=\"decline\"></button>\n </div>\n </div>\n </div>\n <fdp-message-view\n [currentScreen]=\"currentScreen\"\n [filteredErrors]=\"_filteredErrors\"\n [currentEntry]=\"currentEntry\"\n (openDetails)=\"_showDetails($event)\"\n (closePopover)=\"_closePopover($event)\"\n (focusItem)=\"focusItem.emit($event)\"\n ></fdp-message-view>\n </div>\n</fd-popover>\n","import { Directive, ElementRef, Input, Optional } from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\n@Directive({\n selector: '[fdpMessagePopoverFormItem]'\n})\nexport class MessagePopoverFormItemDirective {\n /** Form item name. */\n @Input('fdpMessagePopoverFormItem')\n label: string;\n\n /** @hidden */\n constructor(public elementRef: ElementRef, @Optional() public control: NgControl) {}\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n DestroyRef,\n Inject,\n Input,\n OnDestroy,\n QueryList,\n ViewEncapsulation\n} from '@angular/core';\nimport { AbstractControl, ControlContainer, FormGroup, FormGroupDirective, NgForm, NgModel } from '@angular/forms';\nimport { FormStates } from '@fundamental-ngx/cdk/forms';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\nimport {\n FormFieldErrorDirectiveContext,\n PlatformFormField,\n PlatformFormFieldControl\n} from '@fundamental-ngx/platform/shared';\nimport { BehaviorSubject, filter, startWith, Subject, Subscription, switchMap, zip } from 'rxjs';\nimport { FDP_MESSAGE_POPOVER_CONFIG, MessagePopoverConfig, MessagePopoverErrorConfig } from '../../default-config';\nimport { MessagePopoverFormItemDirective } from '../../directives/message-popover-form-item.directive';\nimport {\n MessagePopoverEntry,\n MessagePopoverErrorGroup,\n MessagePopoverErrorText\n} from '../../models/message-popover-entry.interface';\nimport { MessagePopoverWrapper } from '../../models/message-popover-wrapper.interface';\nimport { convertFormState } from '../../utils';\nimport { MessagePopover } from '../../models/message-popover.interface';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\nexport type MessagePopoverForm = NgForm | FormGroupDirective;\n\n@Component({\n selector: 'fdp-message-popover-form-wrapper',\n templateUrl: './message-popover-form-wrapper.component.html',\n exportAs: 'messagePopoverWrapper',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class MessagePopoverFormWrapperComponent implements MessagePopoverWrapper, AfterViewInit, OnDestroy {\n /** @hidden */\n @ContentChildren(ControlContainer, { descendants: true })\n private readonly _projectedForm: QueryList<MessagePopoverForm>;\n /** @hidden */\n @ContentChildren(NgModel, { descendants: true })\n private readonly _projectedFormItems!: QueryList<NgModel>;\n\n /** @hidden */\n @ContentChildren(PlatformFormFieldControl, { descendants: true })\n private readonly _projectedFormFieldControls!: QueryList<PlatformFormFieldControl>;\n\n /** @hidden */\n @ContentChildren(MessagePopoverFormItemDirective, { descendants: true })\n private readonly _directiveItems!: QueryList<MessagePopoverFormItemDirective>;\n\n /** Message Popover instance. */\n messagePopover$ = new Subject<MessagePopover>();\n\n /**\n * User-passed forms.\n */\n @Input()\n set forms(forms: MessagePopoverForm | MessagePopoverForm[]) {\n if (!forms) {\n return;\n }\n if (!Array.isArray(forms)) {\n forms = [forms];\n }\n this._ngForms = forms;\n this._startListeningForErrors();\n }\n\n /** User-passed form fields. */\n @Input()\n set formFields(value: PlatformFormFieldControl[]) {\n this._formFields = value;\n this._listenToFormFieldErrors(value);\n }\n\n get formFields(): PlatformFormFieldControl[] {\n return this._formFields;\n }\n\n /** @hidden */\n private readonly _errors$ = new BehaviorSubject<MessagePopoverErrorGroup[]>([]);\n\n /**\n * Error models Observable. Emitted when form submitted and contains invalid fields.\n */\n // eslint-disable-next-line @typescript-eslint/member-ordering\n errors = this._errors$.asObservable();\n\n /** @hidden */\n private _formFields: PlatformFormFieldControl[] = [];\n\n /** @hidden */\n private _formErrorsSubscription: Subscription | undefined;\n\n /** @hidden */\n private _ngForms: (NgForm | FormGroupDirective)[] = [];\n\n /** @hidden */\n private _formItemErrorsSubscription = new Subscription();\n\n /** @hidden */\n private _formSubmitted = false;\n\n /** @hidden */\n constructor(\n private readonly _destroyRef: DestroyRef,\n @Inject(FDP_MESSAGE_POPOVER_CONFIG) private readonly _config: MessagePopoverConfig\n ) {}\n\n /** @hidden */\n ngAfterViewInit(): void {\n // Forms are passed via input property.\n if (this._ngForms.length > 0) {\n return;\n }\n this._ngForms = this._projectedForm?.toArray();\n this._startListeningForErrors();\n this._projectedForm?.changes.pipe(takeUntilDestroyed(this._destroyRef)).subscribe(() => {\n this._ngForms = this._projectedForm.toArray();\n this._startListeningForErrors();\n });\n }\n\n /**\n * Sets Message Popover component instance.\n */\n setMessagePopover(messagePopover: MessagePopover): void {\n this.messagePopover$.next(messagePopover);\n // this.messagePopover = messagePopover;\n }\n\n /**\n * Programmatically add new form to array of forms.\n * @param forms\n */\n addForms(forms: MessagePopoverForm | MessagePopoverForm[]): void {\n const formsArray = Array.isArray(forms) ? forms : [forms];\n this._ngForms.push(...formsArray);\n this._startListeningForErrors();\n }\n\n /**\n * Programmatically add new form fields to array of listened form fields.\n * @param formFields\n */\n addFormFields(formFields: PlatformFormFieldControl[]): void {\n this._formFields.push(...formFields);\n this._listenToFormFieldErrors(this._formFields);\n }\n\n /** @hidden */\n ngOnDestroy(): void {\n this._formItemErrorsSubscription.unsubscribe();\n }\n\n /**\n * @hidden\n * Listens to the form submission and collects form control errors.\n */\n private _startListeningForErrors(): void {\n if (!this._ngForms) {\n return;\n }\n this._formErrorsSubscription?.unsubscribe();\n this._errors$.next([]);\n\n const formSubmitEvents = this._ngForms.map((form) =>\n form.ngSubmit.pipe(\n switchMap(() =>\n form.statusChanges!.pipe(\n startWith(form.status),\n filter((status: string) => status.toLowerCase() !== 'pending')\n )\n )\n )\n );\n\n this._formErrorsSubscription = zip(...formSubmitEvents)\n .pipe(takeUntilDestroyed(this._destroyRef))\n .subscribe(() => {\n this._formSubmitted = true;\n const errors =\n this._directiveItems.length > 0 ? this._collectPlainFormData() : this._collectAdvancedFormData();\n\n this._errors$.next(errors);\n });\n\n this._listenToFormFieldErrors(this._projectedFormFieldControls.toArray());\n\n this._projectedFormFieldControls?.changes.subscribe(() => {\n this._listenToFormFieldErrors(this._projectedFormFieldControls.toArray());\n });\n }\n\n /** @hidden */\n private _listenToFormFieldErrors(fields: PlatformFormFieldControl[]): void {\n this._formItemErrorsSubscription.unsubscribe();\n\n this._formItemErrorsSubscription = new Subscription();\n\n fields?.forEach((field) => {\n this._formItemErrorsSubscription.add(\n field.formField?.errorsChange$.subscribe(() => {\n if (!this._formSubmitted) {\n return;\n }\n const errors =\n this._directiveItems.length > 0\n ? this._collectPlainFormData()\n : this._collectAdvancedFormData();\n this._errors$.next(errors);\n })\n );\n });\n }\n\n /** @hidden */\n private _collectPlainFormData(): MessagePopoverErrorGroup[] {\n const errors: MessagePopoverErrorGroup[] = [\n {\n errors: []\n }\n ];\n\n const fields = this._directiveItems.toArray();\n\n this._ngForms.forEach((form) => {\n Object.keys(form.form.controls).forEach((controlName) => {\n const control = form.form.get(controlName);\n const field = fields.find((formField) => formField.control?.name === controlName);\n\n if (!control?.errors || !field) {\n return;\n }\n\n const configErrors = Object.keys(this._config.errors);\n\n Object.keys(control.errors)\n .filter((error) => configErrors.includes(error))\n .forEach((errorKey) => {\n const errorObj = control.errors![errorKey];\n\n const errorTextModel = this._getConfigErrorModel(errorKey);\n const error: MessagePopoverEntry = {\n name: controlName,\n type: errorTextModel.type,\n state: convertFormState('error'),\n fieldName: field?.label ?? '',\n element: field?.elementRef,\n heading: {\n type: 'string',\n error: errorObj,\n message: errorTextModel.heading\n },\n description: {\n type: 'string',\n error: errorObj,\n message: errorTextModel.description\n },\n errors: control!.errors\n };\n\n errors[0].errors.push(error);\n });\n });\n });\n\n return errors;\n }\n\n /** @hidden */\n private _collectAdvancedFormData(): MessagePopoverErrorGroup[] {\n let errors: MessagePopoverErrorGroup[] = [];\n const fields = this.formFields.length > 0 ? this.formFields : this._projectedFormFieldControls.toArray();\n\n /**\n * Iterates over form controls to collect their errors.\n * @param form Form Group or a collection of Form Groups.\n */\n const iterateOverForm = (form: FormGroup | FormGroup[]): MessagePopoverErrorGroup[] => {\n if (Array.isArray(form)) {\n form.forEach((formGroup) => {\n errors = iterateOverForm(formGroup);\n });\n return errors;\n }\n Object.keys(form.controls).forEach((controlName) => {\n const control = form.get(controlName);\n const field = fields.find((formField) => formField.id === controlName);\n\n if (control instanceof FormGroup) {\n errors = iterateOverForm(control);\n }\n\n if (!control?.errors || !field) {\n return;\n }\n\n Object.keys(control.errors).forEach((errorKey) => {\n const errorDirective = field.formField?.groupedErrors.find(\n (groupedError) => groupedError.directive.error === errorKey\n );\n\n const groupName = this._getGroupName(field?.formField);\n const error = this._getErrorModel(\n controlName,\n groupName,\n control,\n field,\n errorKey,\n errorDirective,\n control.errors![errorKey]\n );\n\n let errorGroupIndex = errors.findIndex((errorGroup) => errorGroup.group === groupName);\n\n if (errorGroupIndex === -1) {\n errorGroupIndex =\n errors.push({\n group: groupName,\n errors: []\n }) - 1;\n }\n\n const group = errors[errorGroupIndex];\n\n group.errors.push(error);\n });\n });\n\n return errors;\n };\n\n return iterateOverForm(this._ngForms.map((form) => form.form));\n }\n\n /**\n * @hidden\n * Creates error model\n */\n private _getErrorModel(\n controlName: string,\n groupName: string,\n control: AbstractControl,\n field: PlatformFormFieldControl,\n errorKey: string,\n errorDirective?: FormFieldErrorDirectiveContext,\n error?: any\n ): MessagePopoverEntry {\n let state: FormStates = 'error';\n const configError = this._config.errors[errorKey];\n\n if (errorDirective?.directive.type) {\n state = errorDirective.directive.type;\n } else if (this._isAdvancedError(configError)) {\n state = configError.type;\n }\n\n return {\n name: controlName,\n type: state,\n state: convertFormState(state),\n group: groupName,\n fieldName: field?.formField?.label ?? '',\n heading: this._getErrorText(field, errorDirective, 'heading', errorKey, error),\n description: this._getErrorText(field, errorDirective, 'description', errorKey, error),\n errors: control!.errors,\n formField: field,\n element: field?.elementRef\n };\n }\n\n /**\n * @hidden\n * Creates error text based on the type of the error.\n * @param field Form Field Control.\n * @param errorDirective Optional Error directive\n * @param section Section where text should be rendered.\n * @param errorKey\n * @param error\n */\n private _getErrorText(\n field: PlatformFormFieldControl,\n errorDirective: Nullable<FormFieldErrorDirectiveContext>,\n section: 'heading' | 'description' = 'heading',\n errorKey: string,\n error?: any\n ): MessagePopoverErrorText {\n const errorTextObj: MessagePopoverErrorText = {\n error: errorDirective?.error,\n type: errorDirective?.directive ? 'directive' : field?.formField?.i18Strings ? 'templateRef' : 'string'\n };\n\n if (errorTextObj.type === 'string') {\n const errorTextModel = this._getConfigErrorModel(errorKey);\n\n errorTextObj.error = error;\n errorTextObj.message = errorTextModel[section];\n return errorTextObj;\n }\n\n if (errorDirective?.directive) {\n errorTextObj.message =\n section === 'heading'\n ? errorDirective.directive._headingTemplateRef ?? errorDirective.directive._descriptionTemplateRef\n : errorDirective.directive._descriptionTemplateRef;\n return errorTextObj;\n }\n\n errorTextObj.message = field?.formField?.i18Strings ?? null;\n return errorTextObj;\n }\n\n /** @hidden */\n private _getGroupName(formField: Nullable<PlatformFormField>): string {\n const parts: string[] = [];\n\n if (formField?.formGroupContainer?.mainTitle) {\n parts.push(formField.formGroupContainer.mainTitle);\n }\n\n if (formField?.formFieldGroup?.label) {\n parts.push(formField.formFieldGroup.label);\n }\n\n return parts.join(', ');\n }\n\n /** @hidden */\n private _getConfigErrorModel(errorKey: string): MessagePopoverErrorConfig {\n const configError = this._config.errors[errorKey];\n const isPlainError = !this._isAdvancedError(configError);\n const errorType = isPlainError ? 'error' : configError.type;\n const headingMessage = isPlainError ? configError : configError.heading;\n const descriptionMessage = isPlainError ? undefined : configError.description;\n\n return {\n type: errorType,\n heading: headingMessage,\n description: descriptionMessage\n };\n }\n\n /** @hidden */\n private _isAdvancedError(error: string | MessagePopoverErrorConfig): error is MessagePopoverErrorConfig {\n return !!error && typeof error !== 'string';\n }\n}\n","<ng-content></ng-content>\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { BarModule } from '@fundamental-ngx/core/bar';\nimport { ButtonModule } from '@fundamental-ngx/core/button';\nimport { IconModule } from '@fundamental-ngx/core/icon';\nimport { LinkModule } from '@fundamental-ngx/core/link';\nimport { ListModule } from '@fundamental-ngx/core/list';\nimport { ObjectStatusModule } from '@fundamental-ngx/core/object-status';\nimport { PopoverModule } from '@fundamental-ngx/core/popover';\nimport { ScrollbarModule } from '@fundamental-ngx/core/scrollbar';\nimport { SegmentedButtonModule } from '@fundamental-ngx/core/segmented-button';\nimport { InitialFocusModule } from '@fundamental-ngx/cdk/utils';\nimport { I18nModule } from '@fundamental-ngx/i18n';\nimport { PlatformButtonModule } from '@fundamental-ngx/platform/button';\nimport { PlatformObjectStatusModule } from '@fundamental-ngx/platform/object-status';\nimport { mergeWith } from 'lodash-es';\nimport { FDP_MESSAGE_POPOVER_CONFIG, FDP_MESSAGE_POPOVER_DEFAULT_CONFIG, MessagePopoverConfig } from './default-config';\nimport { MessagePopoverComponent } from './message-popover.component';\nimport { MessagePopoverFormWrapperComponent } from './components/message-popover-form-wrapper/message-popover-form-wrapper.component';\nimport { MessageViewComponent } from './components/message-view/message-view.component';\nimport { MessagePopoverFormItemDirective } from './directives/message-popover-form-item.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n IconModule,\n PopoverModule,\n BarModule,\n ListModule,\n SegmentedButtonModule,\n FormsModule,\n ButtonModule,\n ObjectStatusModule,\n ScrollbarModule,\n LinkModule,\n PlatformObjectStatusModule,\n PlatformButtonModule,\n I18nModule,\n InitialFocusModule\n ],\n exports: [\n MessagePopoverComponent,\n MessagePopoverFormWrapperComponent,\n MessageViewComponent,\n MessagePopoverFormItemDirective\n ],\n declarations: [\n MessagePopoverComponent,\n MessagePopoverFormWrapperComponent,\n MessageViewComponent,\n MessagePopoverFormItemDirective\n ],\n providers: [\n {\n provide: FDP_MESSAGE_POPOVER_CONFIG,\n useValue: FDP_MESSAGE_POPOVER_DEFAULT_CONFIG\n }\n ]\n})\nexport class PlatformMessagePopoverModule {\n /**\n * Method allows users to apply custom configuration.\n * @param config Object containing error definitions.\n */\n static withConfig(config: MessagePopoverConfig): ModuleWithProviders<PlatformMessagePopoverModule> {\n const customConfig = mergeWith(FDP_MESSAGE_POPOVER_DEFAULT_CONFIG, config, (obj, src) => {\n if (typeof obj === 'object' && !Array.isArray(obj)) {\n return Object.assign(obj, src);\n } else if (Array.isArray(obj)) {\n return obj.concat(src);\n } else {\n return src;\n }\n });\n\n return {\n ngModule: PlatformMessagePopoverModule,\n providers: [\n {\n provide: FDP_MESSAGE_POPOVER_CONFIG,\n useValue: customConfig\n }\n ]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4","i5","i6","i7","i8.MessageViewComponent","i9"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBa,MAAA,kCAAkC,GAAyB;AACpE,IAAA,MAAM,EAAE;AACJ,QAAA,KAAK,EAAE,4CAA4C;AACnD,QAAA,GAAG,EAAE,0CAA0C;AAC/C,QAAA,SAAS,EAAE,gDAAgD;AAC3D,QAAA,GAAG,EAAE,0CAA0C;AAC/C,QAAA,SAAS,EAAE,gDAAgD;AAC3D,QAAA,OAAO,EAAE,8CAA8C;AACvD,QAAA,QAAQ,EAAE,+CAA+C;AACzD,QAAA,YAAY,EAAE,mDAAmD;AACpE,KAAA;EACH;MAEW,0BAA0B,GAAG,IAAI,cAAc,CAAuB,yBAAyB;;AC1B5G;;;;AAIG;AACG,SAAU,gBAAgB,CAAC,IAAgB,EAAA;AAC7C,IAAA,QAAQ,IAAI;AACR,QAAA,KAAK,SAAS;AACV,YAAA,OAAO,UAAU,CAAC;AACtB,QAAA,KAAK,OAAO;AACR,YAAA,OAAO,UAAU,CAAC;AACtB,QAAA,KAAK,SAAS;AACV,YAAA,OAAO,UAAU,CAAC;AACtB,QAAA,KAAK,aAAa;AACd,YAAA,OAAO,aAAa,CAAC;AACzB,QAAA;AACI,YAAA,OAAO,SAAS,CAAC;AACxB,KAAA;AACL;;MCoEa,oBAAoB,CAAA;;AAyC7B,IAAA,WAAA,CACqB,WAAuB,EACvB,gBAAwC,EACtB,SAAmB,EAAA;QAFrC,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;QACvB,IAA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kB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAqBb,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBArCxC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,UAAU;wBACV,aAAa;wBACb,SAAS;wBACT,UAAU;wBACV,qBAAqB;wBACrB,WAAW;wBACX,YAAY;wBACZ,kBAAkB;wBAClB,eAAe;wBACf,UAAU;wBACV,0BAA0B;wBAC1B,oBAAoB;wBACpB,UAAU;wBACV,kBAAkB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,uBAAuB;wBACvB,kCAAkC;wBAClC,oBAAoB;wBACpB,+BAA+B;AAClC,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACV,uBAAuB;wBACvB,kCAAkC;wBAClC,oBAAoB;wBACpB,+BAA+B;AAClC,qBAAA;AACD,oBAAA,SAAS,EAAE;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,0BAA0B;AACnC,4BAAA,QAAQ,EAAE,kCAAkC;AAC/C,yBAAA;AACJ,qBAAA;AACJ,iBAAA,CAAA;;;AC3DD;;AAEG;;;;"}
@@ -3,7 +3,7 @@ import { Injectable, Component, ChangeDetectionStrategy, Input, HostBinding, Eve
3
3
  import * as i3 from '@fundamental-ngx/core/panel';
4
4
  import { PanelTitleDirective, PanelModule } from '@fundamental-ngx/core/panel';
5
5
  import * as i1 from '@fundamental-ngx/platform/shared';
6
- import { BaseComponent, PlatformContentDensityDeprecationsModule } from '@fundamental-ngx/platform/shared';
6
+ import { BaseComponent } from '@fundamental-ngx/platform/shared';
7
7
  import * as i2 from '@fundamental-ngx/core/content-density';
8
8
  import { contentDensityObserverProviders, defaultContentDensityObserverConfigs, ContentDensityModule } from '@fundamental-ngx/core/content-density';
9
9
  import { CommonModule } from '@angular/common';
@@ -189,26 +189,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
189
189
 
190
190
  class PlatformPanelModule {
191
191
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PlatformPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
192
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.0", ngImport: i0, type: PlatformPanelModule, declarations: [PanelComponent, PanelContentComponent, PanelActionsComponent], imports: [CommonModule, PanelModule, PipeModule, PlatformContentDensityDeprecationsModule, ContentDensityModule], exports: [PanelComponent,
193
- PanelContentComponent,
194
- PanelActionsComponent,
195
- PlatformContentDensityDeprecationsModule,
196
- ContentDensityModule] }); }
197
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PlatformPanelModule, imports: [CommonModule, PanelModule, PipeModule, PlatformContentDensityDeprecationsModule, ContentDensityModule, PlatformContentDensityDeprecationsModule,
198
- ContentDensityModule] }); }
192
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.0", ngImport: i0, type: PlatformPanelModule, declarations: [PanelComponent, PanelContentComponent, PanelActionsComponent], imports: [CommonModule, PanelModule, PipeModule, ContentDensityModule], exports: [PanelComponent, PanelContentComponent, PanelActionsComponent, ContentDensityModule] }); }
193
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PlatformPanelModule, imports: [CommonModule, PanelModule, PipeModule, ContentDensityModule, ContentDensityModule] }); }
199
194
  }
200
195
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PlatformPanelModule, decorators: [{
201
196
  type: NgModule,
202
197
  args: [{
203
198
  declarations: [PanelComponent, PanelContentComponent, PanelActionsComponent],
204
- imports: [CommonModule, PanelModule, PipeModule, PlatformContentDensityDeprecationsModule, ContentDensityModule],
205
- exports: [
206
- PanelComponent,
207
- PanelContentComponent,
208
- PanelActionsComponent,
209
- PlatformContentDensityDeprecationsModule,
210
- ContentDensityModule
211
- ]
199
+ imports: [CommonModule, PanelModule, PipeModule, ContentDensityModule],
200
+ exports: [PanelComponent, PanelContentComponent, PanelActionsComponent, ContentDensityModule]
212
201
  }]
213
202
  }] });
214
203
 
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-platform-panel.mjs","sources":["../../../../libs/platform/src/lib/panel/panel.config.ts","../../../../libs/platform/src/lib/panel/panel-content/panel-content.component.ts","../../../../libs/platform/src/lib/panel/panel-content/panel-content.component.html","../../../../libs/platform/src/lib/panel/panel.component.ts","../../../../libs/platform/src/lib/panel/panel.component.html","../../../../libs/platform/src/lib/panel/panel-actions.component.ts","../../../../libs/platform/src/lib/panel/panel.module.ts","../../../../libs/platform/src/lib/panel/fundamental-ngx-platform-panel.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { ContentDensity } from '@fundamental-ngx/cdk/utils';\nimport { PlatformConfig } from '@fundamental-ngx/platform/shared';\n\n/**\n * Default options for platform panel\n */\n@Injectable({ providedIn: 'root' })\nexport class PanelConfig {\n /**\n * ARIA label for button when the Panel is collapsed\n */\n expandLabel = 'Expand Panel';\n\n /**\n * ARIA label for button when the Panel is expanded\n */\n collapseLabel = 'Collapse Panel';\n\n /**\n * Content Density of element. 'cozy' | 'compact'\n */\n contentDensity: ContentDensity;\n\n /**\n * Create Provider factory function\n */\n static createProviderFactory(obj: Partial<PanelConfig>): (platformConfig: PlatformConfig) => PanelConfig {\n const useFactory = (platformConfig: PlatformConfig): PanelConfig =>\n Object.assign(new PanelConfig(platformConfig), obj);\n return useFactory;\n }\n\n /** @hidden */\n constructor(platformConfig: PlatformConfig) {\n this.contentDensity = platformConfig.contentDensity;\n }\n}\n","import { Component, ChangeDetectionStrategy, Input, HostBinding } from '@angular/core';\n\nlet platformPanelContentUniqueId = 0;\n\n@Component({\n selector: 'fdp-panel-content',\n templateUrl: './panel-content.component.html',\n styleUrls: ['./panel-content.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class PanelContentComponent {\n /**\n * @harmful Potentially bad approach to hardcode css related properties\n * Custom height of the content container.\n */\n @Input()\n contentHeight: string;\n\n /** Id of the host element. */\n @Input()\n @HostBinding('attr.id')\n id: string = 'fdp-panel-content-' + platformPanelContentUniqueId++;\n}\n","<ng-content></ng-content>\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n EventEmitter,\n Input,\n OnChanges,\n OnInit,\n Output,\n SimpleChanges,\n ViewChild\n} from '@angular/core';\n\nimport { PanelTitleDirective } from '@fundamental-ngx/core/panel';\nimport { BaseComponent } from '@fundamental-ngx/platform/shared';\n\nimport { PanelConfig } from './panel.config';\nimport { PanelContentComponent } from './panel-content/panel-content.component';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n defaultContentDensityObserverConfigs\n} from '@fundamental-ngx/core/content-density';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\n\n/** Panel change event instance */\nexport class PanelExpandChangeEvent {\n /**\n * Panel expand change event\n * @param source Panel component\n * @param payload Panel expand state\n */\n constructor(public source: PanelComponent, public payload: boolean) {}\n}\n\nlet platformPanelTitleUniqueId = 0;\n\n/**\n * Fundamental Panel component\n *\n * ```html\n * <fdp-panel title=\"Panel Header\">\n * <fdp-panel-content>\n * Panel Content\n * </fdp-panel-content>\n * </fdp-panel>\n * ```\n *\n * */\n@Component({\n selector: 'fdp-panel',\n templateUrl: './panel.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n contentDensityObserverProviders({\n defaultContentDensity: {\n useFactory: (panelConfig: PanelConfig) =>\n panelConfig.contentDensity || defaultContentDensityObserverConfigs.defaultContentDensity,\n deps: [PanelConfig]\n }\n })\n ]\n})\nexport class PanelComponent extends BaseComponent implements OnInit, OnChanges {\n /**\n * sets Panel title.\n */\n @Input()\n title: string;\n\n /**\n * Whether the Panel Content is expanded\n */\n @Input()\n expanded = true;\n\n /**\n * Whether the Panel is expandable\n */\n @Input()\n expandable = true;\n\n /**\n * ARIA label for button when the Panel is collapsed\n */\n @Input()\n expandLabel: string = this._panelConfig.expandLabel;\n\n /**\n * ARIA label for button when the Panel is expanded\n */\n @Input()\n collapseLabel: string = this._panelConfig.collapseLabel;\n\n /** Output event triggered when the Expand button is clicked */\n @Output()\n panelExpandChange: EventEmitter<PanelExpandChangeEvent> = new EventEmitter<PanelExpandChangeEvent>();\n\n /**\n * @hidden\n * Button label based on the current state\n */\n _expandAriaLabel: string;\n\n /** @hidden */\n @ContentChild(PanelContentComponent)\n _panelContentComponent: Nullable<PanelContentComponent>;\n\n /** @hidden */\n @ViewChild(PanelTitleDirective)\n _panelTitleDirective: Nullable<PanelTitleDirective>;\n\n /** @hidden id of the title element */\n _titleId: string = 'fdp-panel-title-' + platformPanelTitleUniqueId++;\n\n /** @hidden */\n constructor(\n protected _cd: ChangeDetectorRef,\n protected _panelConfig: PanelConfig,\n readonly contentDensityObserver: ContentDensityObserver\n ) {\n super(_cd);\n }\n\n /** @hidden */\n ngOnInit(): void {\n this._calculateExpandAriaLabel();\n }\n\n /** @hidden */\n ngOnChanges(changes: SimpleChanges): void {\n if (changes.expanded) {\n this._calculateExpandAriaLabel();\n }\n }\n\n /** Handles expanded/collapsed event */\n onExpandedChange(expanded: boolean): void {\n this.expanded = expanded;\n const event = new PanelExpandChangeEvent(this, expanded);\n this.panelExpandChange.emit(event);\n this._calculateExpandAriaLabel();\n }\n\n /**\n * @hidden\n * Calculate expandAriaLabel based on panel state\n */\n private _calculateExpandAriaLabel(): void {\n this._expandAriaLabel = this.expanded ? this.collapseLabel : this.expandLabel;\n }\n}\n","<fd-panel\n [fdContentDensity]=\"contentDensityObserver.value\"\n [expanded]=\"expanded\"\n [fixed]=\"!expandable\"\n [expandAriaLabel]=\"_expandAriaLabel\"\n [expandAriaLabelledBy]=\"_titleId\"\n [attr.aria-disabled]=\"disabled\"\n (expandedChange)=\"onExpandedChange($event)\"\n>\n <h5 [id]=\"_titleId\" fd-panel-title>{{ title }}</h5>\n\n <ng-content select=\"fdp-panel-actions\"></ng-content>\n\n <div\n fd-panel-content\n [id]=\"_panelContentComponent?.id\"\n [height]=\"_panelContentComponent?.contentHeight || null\"\n [ariaLabelledBy]=\"_panelTitleDirective?.id || null\"\n >\n <ng-content select=\"fdp-panel-content\"></ng-content>\n </div>\n</fd-panel>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'fdp-panel-actions',\n template: '<ng-content></ng-content>',\n styles: [\n `\n fdp-panel-actions > * {\n margin-left: 0.5rem;\n }\n\n [dir='rtl'] fdp-panel-actions > * {\n margin-left: 0;\n margin-right: 0.5rem;\n }\n `\n ],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class PanelActionsComponent {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { PanelModule } from '@fundamental-ngx/core/panel';\nimport { PipeModule } from '@fundamental-ngx/cdk/utils';\nimport { ContentDensityModule } from '@fundamental-ngx/core/content-density';\n\nimport { PlatformContentDensityDeprecationsModule } from '@fundamental-ngx/platform/shared';\n\nimport { PanelComponent } from './panel.component';\nimport { PanelContentComponent } from './panel-content/panel-content.component';\nimport { PanelActionsComponent } from './panel-actions.component';\n\n@NgModule({\n declarations: [PanelComponent, PanelContentComponent, PanelActionsComponent],\n imports: [CommonModule, PanelModule, PipeModule, PlatformContentDensityDeprecationsModule, ContentDensityModule],\n exports: [\n PanelComponent,\n PanelContentComponent,\n PanelActionsComponent,\n PlatformContentDensityDeprecationsModule,\n ContentDensityModule\n ]\n})\nexport class PlatformPanelModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.PanelConfig"],"mappings":";;;;;;;;;;;AAKA;;AAEG;MAEU,WAAW,CAAA;AAgBpB;;AAEG;IACH,OAAO,qBAAqB,CAAC,G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,wCAAwC;YACxC,oBAAoB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAGf,mBAAmB,EAAA,OAAA,EAAA,CATlB,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,wCAAwC,EAAE,oBAAoB,EAK3G,wCAAwC;YACxC,oBAAoB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGf,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAX/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,cAAc,EAAE,qBAAqB,EAAE,qBAAqB,CAAC;oBAC5E,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,wCAAwC,EAAE,oBAAoB,CAAC;AAChH,oBAAA,OAAO,EAAE;wBACL,cAAc;wBACd,qBAAqB;wBACrB,qBAAqB;wBACrB,wCAAwC;wBACxC,oBAAoB;AACvB,qBAAA;AACJ,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-platform-panel.mjs","sources":["../../../../libs/platform/src/lib/panel/panel.config.ts","../../../../libs/platform/src/lib/panel/panel-content/panel-content.component.ts","../../../../libs/platform/src/lib/panel/panel-content/panel-content.component.html","../../../../libs/platform/src/lib/panel/panel.component.ts","../../../../libs/platform/src/lib/panel/panel.component.html","../../../../libs/platform/src/lib/panel/panel-actions.component.ts","../../../../libs/platform/src/lib/panel/panel.module.ts","../../../../libs/platform/src/lib/panel/fundamental-ngx-platform-panel.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { ContentDensity } from '@fundamental-ngx/cdk/utils';\nimport { PlatformConfig } from '@fundamental-ngx/platform/shared';\n\n/**\n * Default options for platform panel\n */\n@Injectable({ providedIn: 'root' })\nexport class PanelConfig {\n /**\n * ARIA label for button when the Panel is collapsed\n */\n expandLabel = 'Expand Panel';\n\n /**\n * ARIA label for button when the Panel is expanded\n */\n collapseLabel = 'Collapse Panel';\n\n /**\n * Content Density of element. 'cozy' | 'compact'\n */\n contentDensity: ContentDensity;\n\n /**\n * Create Provider factory function\n */\n static createProviderFactory(obj: Partial<PanelConfig>): (platformConfig: PlatformConfig) => PanelConfig {\n const useFactory = (platformConfig: PlatformConfig): PanelConfig =>\n Object.assign(new PanelConfig(platformConfig), obj);\n return useFactory;\n }\n\n /** @hidden */\n constructor(platformConfig: PlatformConfig) {\n this.contentDensity = platformConfig.contentDensity;\n }\n}\n","import { Component, ChangeDetectionStrategy, Input, HostBinding } from '@angular/core';\n\nlet platformPanelContentUniqueId = 0;\n\n@Component({\n selector: 'fdp-panel-content',\n templateUrl: './panel-content.component.html',\n styleUrls: ['./panel-content.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class PanelContentComponent {\n /**\n * @harmful Potentially bad approach to hardcode css related properties\n * Custom height of the content container.\n */\n @Input()\n contentHeight: string;\n\n /** Id of the host element. */\n @Input()\n @HostBinding('attr.id')\n id: string = 'fdp-panel-content-' + platformPanelContentUniqueId++;\n}\n","<ng-content></ng-content>\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n EventEmitter,\n Input,\n OnChanges,\n OnInit,\n Output,\n SimpleChanges,\n ViewChild\n} from '@angular/core';\n\nimport { PanelTitleDirective } from '@fundamental-ngx/core/panel';\nimport { BaseComponent } from '@fundamental-ngx/platform/shared';\n\nimport { PanelConfig } from './panel.config';\nimport { PanelContentComponent } from './panel-content/panel-content.component';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n defaultContentDensityObserverConfigs\n} from '@fundamental-ngx/core/content-density';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\n\n/** Panel change event instance */\nexport class PanelExpandChangeEvent {\n /**\n * Panel expand change event\n * @param source Panel component\n * @param payload Panel expand state\n */\n constructor(public source: PanelComponent, public payload: boolean) {}\n}\n\nlet platformPanelTitleUniqueId = 0;\n\n/**\n * Fundamental Panel component\n *\n * ```html\n * <fdp-panel title=\"Panel Header\">\n * <fdp-panel-content>\n * Panel Content\n * </fdp-panel-content>\n * </fdp-panel>\n * ```\n *\n * */\n@Component({\n selector: 'fdp-panel',\n templateUrl: './panel.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n contentDensityObserverProviders({\n defaultContentDensity: {\n useFactory: (panelConfig: PanelConfig) =>\n panelConfig.contentDensity || defaultContentDensityObserverConfigs.defaultContentDensity,\n deps: [PanelConfig]\n }\n })\n ]\n})\nexport class PanelComponent extends BaseComponent implements OnInit, OnChanges {\n /**\n * sets Panel title.\n */\n @Input()\n title: string;\n\n /**\n * Whether the Panel Content is expanded\n */\n @Input()\n expanded = true;\n\n /**\n * Whether the Panel is expandable\n */\n @Input()\n expandable = true;\n\n /**\n * ARIA label for button when the Panel is collapsed\n */\n @Input()\n expandLabel: string = this._panelConfig.expandLabel;\n\n /**\n * ARIA label for button when the Panel is expanded\n */\n @Input()\n collapseLabel: string = this._panelConfig.collapseLabel;\n\n /** Output event triggered when the Expand button is clicked */\n @Output()\n panelExpandChange: EventEmitter<PanelExpandChangeEvent> = new EventEmitter<PanelExpandChangeEvent>();\n\n /**\n * @hidden\n * Button label based on the current state\n */\n _expandAriaLabel: string;\n\n /** @hidden */\n @ContentChild(PanelContentComponent)\n _panelContentComponent: Nullable<PanelContentComponent>;\n\n /** @hidden */\n @ViewChild(PanelTitleDirective)\n _panelTitleDirective: Nullable<PanelTitleDirective>;\n\n /** @hidden id of the title element */\n _titleId: string = 'fdp-panel-title-' + platformPanelTitleUniqueId++;\n\n /** @hidden */\n constructor(\n protected _cd: ChangeDetectorRef,\n protected _panelConfig: PanelConfig,\n readonly contentDensityObserver: ContentDensityObserver\n ) {\n super(_cd);\n }\n\n /** @hidden */\n ngOnInit(): void {\n this._calculateExpandAriaLabel();\n }\n\n /** @hidden */\n ngOnChanges(changes: SimpleChanges): void {\n if (changes.expanded) {\n this._calculateExpandAriaLabel();\n }\n }\n\n /** Handles expanded/collapsed event */\n onExpandedChange(expanded: boolean): void {\n this.expanded = expanded;\n const event = new PanelExpandChangeEvent(this, expanded);\n this.panelExpandChange.emit(event);\n this._calculateExpandAriaLabel();\n }\n\n /**\n * @hidden\n * Calculate expandAriaLabel based on panel state\n */\n private _calculateExpandAriaLabel(): void {\n this._expandAriaLabel = this.expanded ? this.collapseLabel : this.expandLabel;\n }\n}\n","<fd-panel\n [fdContentDensity]=\"contentDensityObserver.value\"\n [expanded]=\"expanded\"\n [fixed]=\"!expandable\"\n [expandAriaLabel]=\"_expandAriaLabel\"\n [expandAriaLabelledBy]=\"_titleId\"\n [attr.aria-disabled]=\"disabled\"\n (expandedChange)=\"onExpandedChange($event)\"\n>\n <h5 [id]=\"_titleId\" fd-panel-title>{{ title }}</h5>\n\n <ng-content select=\"fdp-panel-actions\"></ng-content>\n\n <div\n fd-panel-content\n [id]=\"_panelContentComponent?.id\"\n [height]=\"_panelContentComponent?.contentHeight || null\"\n [ariaLabelledBy]=\"_panelTitleDirective?.id || null\"\n >\n <ng-content select=\"fdp-panel-content\"></ng-content>\n </div>\n</fd-panel>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'fdp-panel-actions',\n template: '<ng-content></ng-content>',\n styles: [\n `\n fdp-panel-actions > * {\n margin-left: 0.5rem;\n }\n\n [dir='rtl'] fdp-panel-actions > * {\n margin-left: 0;\n margin-right: 0.5rem;\n }\n `\n ],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class PanelActionsComponent {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { PanelModule } from '@fundamental-ngx/core/panel';\nimport { PipeModule } from '@fundamental-ngx/cdk/utils';\nimport { ContentDensityModule } from '@fundamental-ngx/core/content-density';\n\nimport { PanelComponent } from './panel.component';\nimport { PanelContentComponent } from './panel-content/panel-content.component';\nimport { PanelActionsComponent } from './panel-actions.component';\n\n@NgModule({\n declarations: [PanelComponent, PanelContentComponent, PanelActionsComponent],\n imports: [CommonModule, PanelModule, PipeModule, ContentDensityModule],\n exports: [PanelComponent, PanelContentComponent, PanelActionsComponent, ContentDensityModule]\n})\nexport class PlatformPanelModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.PanelConfig"],"mappings":";;;;;;;;;;;AAKA;;AAEG;MAEU,WAAW,CAAA;AAgBpB;;AAEG;IACH,OAAO,qBAAqB,CAAC,GAAyB,EAAA;AAClD,QAAA,MAAM,UAAU,GAAG,CAAC,cAA8B,KAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,WAAW,CAAC,cAAc,CAAC,EAAE,GAAG,CAAC,CAAC;AACxD,QAAA,OAAO,UAAU,CAAC;KACrB;;AAGD,IAAA,WAAA,CAAY,cAA8B,EAAA;AAzB1C;;AAEG;QACH,IAAW,CAAA,WAAA,GAAG,cAAc,CAAC;AAE7B;;AAEG;QACH,IAAa,CAAA,aAAA,GAAG,gBAAgB,CAAC;AAkB7B,QAAA,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;KACvD;8GA5BQ,WAAW,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,cAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAX,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,cADE,MAAM,EAAA,CAAA,CAAA,EAAA;;2FACnB,WAAW,EAAA,UAAA,EAAA,CAAA;kBADvB,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;;ACNlC,IAAI,4BAA4B,GAAG,CAAC,CAAC;MAQxB,qBAAqB,CAAA;AANlC,IAAA,WAAA,GAA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