@netgrif/components 6.4.0-rc.8 → 7.0.0-beta.2

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 (643) hide show
  1. package/README.md +1 -1
  2. package/esm2022/lib/admin/admin.module.mjs +33 -0
  3. package/esm2022/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.mjs +40 -0
  4. package/esm2022/lib/admin/role-assignment/role-assignment.component.mjs +42 -0
  5. package/esm2022/lib/admin/user-invite/user-invite.component.mjs +39 -0
  6. package/esm2022/lib/authentication/auth.module.mjs +38 -0
  7. package/esm2022/lib/authentication/authentication-overlay/authentication-overlay.component.mjs +27 -0
  8. package/esm2022/lib/authentication/session-idle/popup-session-idle/popup-session-idle.component.mjs +26 -0
  9. package/esm2022/lib/authentication/session-idle/session-idle.component.mjs +40 -0
  10. package/esm2022/lib/dashboard/cards/barchart-card/barchart-card.component.mjs +45 -0
  11. package/esm2022/lib/dashboard/cards/count-card/count-card.component.mjs +21 -0
  12. package/esm2022/lib/dashboard/cards/iframe-card/iframe-card.component.mjs +20 -0
  13. package/esm2022/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.mjs +42 -0
  14. package/esm2022/lib/dashboard/cards/linechart-card/line-chart-card.component.mjs +54 -0
  15. package/esm2022/lib/dashboard/cards/piechart-card/pie-chart-card.component.mjs +47 -0
  16. package/esm2022/lib/dashboard/cards/portal-card/portal-card.component.mjs +43 -0
  17. package/esm2022/lib/dashboard/dashboard-content/dashboard-content.component.mjs +27 -0
  18. package/esm2022/lib/dashboard/dashboard.module.mjs +77 -0
  19. package/{esm2020 → esm2022}/lib/data-fields/boolean-field/boolean-default-field/boolean-default-field.component.mjs +13 -13
  20. package/{esm2020 → esm2022}/lib/data-fields/boolean-field/boolean-field.component.mjs +9 -9
  21. package/esm2022/lib/data-fields/button-field/button-default-field/button-default-field.component.mjs +45 -0
  22. package/esm2022/lib/data-fields/button-field/button-field.component.mjs +27 -0
  23. package/{esm2020 → esm2022}/lib/data-fields/case-ref-field/case-ref-default/case-ref-default.component.mjs +7 -7
  24. package/esm2022/lib/data-fields/data-field-template/data-field-template.component.mjs +26 -0
  25. package/{esm2020 → esm2022}/lib/data-fields/data-fields.module.mjs +92 -94
  26. package/esm2022/lib/data-fields/date-field/date-default-field/date-default-field.component.mjs +39 -0
  27. package/{esm2020 → esm2022}/lib/data-fields/date-field/date-field.component.mjs +11 -11
  28. package/esm2022/lib/data-fields/date-time-field/date-time-default-field/date-time-default-field.component.mjs +40 -0
  29. package/{esm2020 → esm2022}/lib/data-fields/date-time-field/date-time-field.component.mjs +11 -11
  30. package/esm2022/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.mjs +32 -0
  31. package/esm2022/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.mjs +30 -0
  32. package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-caseref-field/enumeration-caseref-field.component.mjs +7 -7
  33. package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-field.component.mjs +9 -9
  34. package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.mjs +13 -13
  35. package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.mjs +13 -13
  36. package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.mjs +11 -11
  37. package/esm2022/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.mjs +29 -0
  38. package/esm2022/lib/data-fields/file-field/file-default-field/file-default-field.component.mjs +52 -0
  39. package/{esm2020 → esm2022}/lib/data-fields/file-field/file-field.component.mjs +9 -9
  40. package/esm2022/lib/data-fields/file-field/preview-dialog/preview-dialog.component.mjs +35 -0
  41. package/esm2022/lib/data-fields/file-list-field/file-list-default-field/file-list-default-field.component.mjs +32 -0
  42. package/{esm2020 → esm2022}/lib/data-fields/file-list-field/file-list-field.component.mjs +9 -9
  43. package/{esm2020 → esm2022}/lib/data-fields/filter-field/filter-default-field/filter-default-field.component.mjs +7 -7
  44. package/{esm2020 → esm2022}/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.mjs +15 -15
  45. package/{esm2020 → esm2022}/lib/data-fields/filter-field/filter-field.component.mjs +9 -9
  46. package/{esm2020 → esm2022}/lib/data-fields/filter-field/tab-view-filter-field/filter-field-tab-view-content.component.mjs +13 -13
  47. package/esm2022/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.mjs +23 -0
  48. package/{esm2020 → esm2022}/lib/data-fields/i18n-field/i18n-field.component.mjs +8 -8
  49. package/esm2022/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.mjs +65 -0
  50. package/esm2022/lib/data-fields/multichoice-field/multichoice-autocomplete-field/multichoice-autocomplete-field.component.mjs +30 -0
  51. package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-caseref-field/multichoice-caseref-field.component.mjs +7 -7
  52. package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-field.component.mjs +9 -9
  53. package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.mjs +13 -13
  54. package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.mjs +11 -11
  55. package/esm2022/lib/data-fields/number-field/number-currency-field/number-currency-field.component.mjs +37 -0
  56. package/esm2022/lib/data-fields/number-field/number-decimal-field/number-decimal-field.component.mjs +38 -0
  57. package/{esm2020 → esm2022}/lib/data-fields/number-field/number-default-field/number-default-field.component.mjs +10 -10
  58. package/{esm2020 → esm2022}/lib/data-fields/number-field/number-field.component.mjs +8 -8
  59. package/esm2022/lib/data-fields/required-label/required-label.component.mjs +18 -0
  60. package/esm2022/lib/data-fields/string-collection-field/string-collection-default-field/string-collection-default-field.component.mjs +30 -0
  61. package/esm2022/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-field.component.mjs +39 -0
  62. package/esm2022/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.mjs +62 -0
  63. package/esm2022/lib/data-fields/task-ref-field/task-ref-field.component.mjs +28 -0
  64. package/{esm2020 → esm2022}/lib/data-fields/task-ref-field/task-ref-list-field/task-ref-list-field.component.mjs +7 -7
  65. package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-bar-chart-text-field/dashboard-bar-chart-text-field.component.mjs +8 -8
  66. package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-iframe-text-field/dashboard-iframe-text-field.component.mjs +8 -8
  67. package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-line-chart-text-field/dashboard-line-chart-text-field.component.mjs +8 -8
  68. package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-pie-chart-text-field/dashboard-pie-chart-text-field.component.mjs +8 -8
  69. package/esm2022/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.mjs +45 -0
  70. package/esm2022/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs +38 -0
  71. package/esm2022/lib/data-fields/text-field/password-text-field/password-text-field.component.mjs +32 -0
  72. package/esm2022/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.mjs +90 -0
  73. package/esm2022/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs +29 -0
  74. package/esm2022/lib/data-fields/text-field/signature-pad-field/signature-pad-field.component.mjs +105 -0
  75. package/esm2022/lib/data-fields/text-field/simple-text-field/simple-text-field.component.mjs +28 -0
  76. package/{esm2020 → esm2022}/lib/data-fields/text-field/text-field.component.mjs +8 -8
  77. package/esm2022/lib/data-fields/text-field/textarea-field/textarea-field.component.mjs +31 -0
  78. package/esm2022/lib/data-fields/user-field/user-default-field/user-default-field.component.mjs +35 -0
  79. package/esm2022/lib/data-fields/user-field/user-field.component.mjs +25 -0
  80. package/esm2022/lib/data-fields/user-list-field/user-list-default-field/user-list-default-field.component.mjs +38 -0
  81. package/{esm2020 → esm2022}/lib/data-fields/user-list-field/user-list-field.component.mjs +9 -9
  82. package/esm2022/lib/dialog/admin-impersonate-dialog/admin-impersonate-dialog.component.mjs +87 -0
  83. package/esm2022/lib/dialog/dialog.module.mjs +175 -0
  84. package/esm2022/lib/dialog/filter-selector-dialog/filter-selector-dialog.component.mjs +200 -0
  85. package/esm2022/lib/dialog/import-net-dialog/import-net-dialog.component.mjs +160 -0
  86. package/esm2022/lib/dialog/load-filter-dialog/load-filter-dialog.component.mjs +103 -0
  87. package/esm2022/lib/dialog/multi-user-assign-dialog/multi-user-assign-dialog.component.mjs +76 -0
  88. package/esm2022/lib/dialog/new-case-dialog/new-case-dialog.component.mjs +272 -0
  89. package/esm2022/lib/dialog/save-filter-dialog/save-filter-dialog.component.mjs +88 -0
  90. package/esm2022/lib/dialog/task-view-dialog/task-view-dialog.component.mjs +97 -0
  91. package/esm2022/lib/dialog/user-assign-dialog/user-assign-dialog.component.mjs +83 -0
  92. package/esm2022/lib/dialog/user-impersonate-dialog/user-impersonate-dialog.component.mjs +102 -0
  93. package/esm2022/lib/filter-field-content/filter-field-content.module.mjs +62 -0
  94. package/{esm2020 → esm2022}/lib/filter-field-content/filter-field-tab-view/filter-field-tab-view.component.mjs +7 -7
  95. package/esm2022/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.mjs +70 -0
  96. package/esm2022/lib/filter-field-content/filter-field-tabbed-task-view/filter-field-tabbed-task-view.component.mjs +76 -0
  97. package/esm2022/lib/forms/change-password/change-password-form.component.mjs +44 -0
  98. package/esm2022/lib/forms/change-password/change-password-form.component.module.mjs +38 -0
  99. package/esm2022/lib/forms/email-submission/email-submission-form.component.mjs +25 -0
  100. package/esm2022/lib/forms/email-submission/email-submission-form.module.mjs +39 -0
  101. package/esm2022/lib/forms/forgotten-password/forgotten-password-form-component.module.mjs +35 -0
  102. package/esm2022/lib/forms/forgotten-password/forgotten-password-form.component.mjs +30 -0
  103. package/esm2022/lib/forms/login/login-form.component.mjs +27 -0
  104. package/esm2022/lib/forms/login/login-form.module.mjs +35 -0
  105. package/esm2022/lib/forms/registration/registration-form.component.mjs +31 -0
  106. package/esm2022/lib/forms/registration/registration-form.module.mjs +39 -0
  107. package/esm2022/lib/header/header-modes/edit-mode/edit-mode.component.mjs +34 -0
  108. package/esm2022/lib/header/header-modes/loading-mode/loading-mode.component.mjs +18 -0
  109. package/esm2022/lib/header/header-modes/search-mode/search-mode.component.mjs +46 -0
  110. package/esm2022/lib/header/header-modes/sort-mode/sort-mode.component.mjs +26 -0
  111. package/esm2022/lib/header/header.component.mjs +88 -0
  112. package/esm2022/lib/header/header.module.mjs +66 -0
  113. package/{esm2020 → esm2022}/lib/legal/legal-notice/legal-notice.component.mjs +5 -5
  114. package/esm2022/lib/legal/legal-notice/legal-notice.module.mjs +24 -0
  115. package/esm2022/lib/navigation/breadcrumbs/breadcrumbs.component.mjs +21 -0
  116. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-case-ref-list-view/default-case-ref-list-view.component.mjs +138 -0
  117. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-no-filter-provided/default-no-filter-provided.component.mjs +14 -0
  118. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.mjs +80 -0
  119. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.mjs +154 -0
  120. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.mjs +187 -0
  121. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.mjs +120 -0
  122. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-task-view/default-task-view.component.mjs +64 -0
  123. package/esm2022/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.mjs +75 -0
  124. package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.mjs +10 -10
  125. package/esm2022/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.mjs +89 -0
  126. package/esm2022/lib/navigation/navigation-drawer/navigation-drawer.component.mjs +34 -0
  127. package/{esm2020 → esm2022}/lib/navigation/navigation-rail/navigation-rail.component.mjs +9 -9
  128. package/{esm2020 → esm2022}/lib/navigation/navigation-tree/navigation-tree.component.mjs +12 -12
  129. package/esm2022/lib/navigation/navigation.module.mjs +150 -0
  130. package/esm2022/lib/navigation/quick-panel/components/impersonate-quick-panel/impersonate-quick-panel.component.mjs +34 -0
  131. package/{esm2020 → esm2022}/lib/navigation/quick-panel/components/internal-link/internal-link.component.mjs +8 -8
  132. package/esm2022/lib/navigation/quick-panel/components/language-selector/language-selector.component.mjs +25 -0
  133. package/esm2022/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.mjs +27 -0
  134. package/esm2022/lib/navigation/quick-panel/components/quick-panel.component.mjs +29 -0
  135. package/esm2022/lib/navigation/quick-panel/quick-panel.module.mjs +55 -0
  136. package/esm2022/lib/panel/case-panel/case-panel.component.mjs +102 -0
  137. package/{esm2020 → esm2022}/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.mjs +6 -6
  138. package/{esm2020 → esm2022}/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.mjs +16 -16
  139. package/esm2022/lib/panel/panel-item/panel-item.component.mjs +22 -0
  140. package/esm2022/lib/panel/panel.component.mjs +20 -0
  141. package/esm2022/lib/panel/panel.module.mjs +112 -0
  142. package/esm2022/lib/panel/public-workflow-panel/public-workflow-panel.component.mjs +24 -0
  143. package/esm2022/lib/panel/task-panel/task-panel.component.mjs +145 -0
  144. package/esm2022/lib/panel/task-panel-list/task-list.component.mjs +37 -0
  145. package/esm2022/lib/panel/task-panel-list-pagination/task-list-pagination.component.mjs +38 -0
  146. package/esm2022/lib/panel/task-panel-single/single-task.component.mjs +33 -0
  147. package/{esm2020 → esm2022}/lib/panel/workflow-panel/workflow-panel.component.mjs +13 -13
  148. package/esm2022/lib/routing/redirect/redirect.component.mjs +22 -0
  149. package/esm2022/lib/routing/redirect.module.mjs +17 -0
  150. package/{esm2020 → esm2022}/lib/search/advanced-search/advanced-search-component/advanced-search.component.mjs +10 -10
  151. package/esm2022/lib/search/advanced-search/advanced-search.module.mjs +55 -0
  152. package/esm2022/lib/search/advanced-search/search-clause-component/search-clause.component.mjs +20 -0
  153. package/esm2022/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.mjs +31 -0
  154. package/esm2022/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.mjs +36 -0
  155. package/esm2022/lib/search/advanced-search/search-predicate-component/search-predicate.component.mjs +29 -0
  156. package/esm2022/lib/search/fulltext-search-component/fulltext-search.component.mjs +22 -0
  157. package/{esm2020 → esm2022}/lib/search/search-component/case-search/case-search.component.mjs +8 -8
  158. package/esm2022/lib/search/search-component/search.component.mjs +108 -0
  159. package/{esm2020 → esm2022}/lib/search/search-component/task-search/task-search.component.mjs +8 -8
  160. package/esm2022/lib/search/search.module.mjs +64 -0
  161. package/esm2022/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-item/admin-impersonate-item.component.mjs +22 -0
  162. package/{esm2020 → esm2022}/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-list.component.mjs +10 -10
  163. package/esm2022/lib/side-menu/content-components/admin-impersonate/admin-impersonate.component.mjs +40 -0
  164. package/esm2022/lib/side-menu/content-components/admin-impersonate/side-menu-admin-impersonate-component.module.mjs +58 -0
  165. package/{esm2020 → esm2022}/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.mjs +6 -6
  166. package/esm2022/lib/side-menu/content-components/filter-selector/filter-selector.component.mjs +55 -0
  167. package/esm2022/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.mjs +40 -0
  168. package/esm2022/lib/side-menu/content-components/import-net/import-net.component.mjs +61 -0
  169. package/esm2022/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.mjs +48 -0
  170. package/esm2022/lib/side-menu/content-components/load-filter/load-filter.component.mjs +68 -0
  171. package/esm2022/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.mjs +40 -0
  172. package/esm2022/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-item/multi-user-assign-item.component.mjs +20 -0
  173. package/esm2022/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-list.component.mjs +25 -0
  174. package/esm2022/lib/side-menu/content-components/multi-user-assign/multi-user-assign.component.mjs +34 -0
  175. package/esm2022/lib/side-menu/content-components/multi-user-assign/side-menu-multi-user-assign-component.module.mjs +61 -0
  176. package/esm2022/lib/side-menu/content-components/new-case/new-case.component.mjs +51 -0
  177. package/esm2022/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.mjs +55 -0
  178. package/esm2022/lib/side-menu/content-components/option-selector/option-selector.component.mjs +34 -0
  179. package/esm2022/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.mjs +40 -0
  180. package/esm2022/lib/side-menu/content-components/save-filter/save-filter.component.mjs +61 -0
  181. package/esm2022/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.mjs +36 -0
  182. package/esm2022/lib/side-menu/content-components/side-menu-content-component.module.mjs +118 -0
  183. package/esm2022/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.mjs +61 -0
  184. package/esm2022/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.mjs +22 -0
  185. package/esm2022/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.mjs +28 -0
  186. package/esm2022/lib/side-menu/content-components/user-assign/user-assign.component.mjs +38 -0
  187. package/esm2022/lib/side-menu/content-components/user-impersonate/side-menu-user-impersonate-component.module.mjs +40 -0
  188. package/esm2022/lib/side-menu/content-components/user-impersonate/user-impersonate.component.mjs +76 -0
  189. package/esm2022/lib/side-menu/side-menu-container/side-menu-container.component.mjs +24 -0
  190. package/esm2022/lib/side-menu/side-menu.module.mjs +40 -0
  191. package/{esm2020 → esm2022}/lib/tabs/tab-creation-detector/tab-creation-detector.component.mjs +6 -6
  192. package/esm2022/lib/tabs/tab-view/tab-view.component.mjs +35 -0
  193. package/esm2022/lib/tabs/tabs.module.mjs +44 -0
  194. package/esm2022/lib/task-content/field-component-resolver/field-component-resolver.component.mjs +40 -0
  195. package/esm2022/lib/task-content/task-content/task-content.component.mjs +42 -0
  196. package/esm2022/lib/task-content/task-content.module.mjs +45 -0
  197. package/esm2022/lib/toolbar/toolbar.component.mjs +28 -0
  198. package/esm2022/lib/toolbar/toolbar.module.mjs +33 -0
  199. package/esm2022/lib/user/profile/profile.component.mjs +26 -0
  200. package/esm2022/lib/user/profile/profile.module.mjs +33 -0
  201. package/esm2022/lib/user/user-card/user-card.component.mjs +24 -0
  202. package/esm2022/lib/user/user.module.mjs +33 -0
  203. package/esm2022/lib/view/case-view/case-view.module.mjs +37 -0
  204. package/esm2022/lib/view/case-view/components/case-list/case-list.component.mjs +37 -0
  205. package/esm2022/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs +41 -0
  206. package/esm2022/lib/view/case-view/components/create-case-button/create-case-button.component.mjs +70 -0
  207. package/esm2022/lib/view/tree-case-view/tree-case-view.module.mjs +58 -0
  208. package/esm2022/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.mjs +23 -0
  209. package/esm2022/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.mjs +22 -0
  210. package/esm2022/lib/view/tree-case-view/tree-component/tree.component.mjs +28 -0
  211. package/esm2022/lib/view/tree-case-view/tree-task-content/tree-task-content.component.mjs +66 -0
  212. package/esm2022/lib/view/workflow-view/workflow-view.component.mjs +39 -0
  213. package/esm2022/lib/view/workflow-view.module.mjs +51 -0
  214. package/fesm2022/netgrif-components.mjs +8038 -0
  215. package/fesm2022/netgrif-components.mjs.map +1 -0
  216. package/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.d.ts +1 -1
  217. package/lib/admin/role-assignment/role-assignment.component.d.ts +1 -1
  218. package/lib/admin/user-invite/user-invite.component.d.ts +1 -1
  219. package/lib/authentication/auth.module.d.ts +1 -1
  220. package/lib/authentication/authentication-overlay/authentication-overlay.component.d.ts +1 -1
  221. package/lib/authentication/session-idle/popup-session-idle/popup-session-idle.component.d.ts +1 -1
  222. package/lib/authentication/session-idle/session-idle.component.d.ts +1 -1
  223. package/lib/dashboard/cards/barchart-card/barchart-card.component.d.ts +1 -1
  224. package/lib/dashboard/cards/count-card/count-card.component.d.ts +1 -1
  225. package/lib/dashboard/cards/iframe-card/iframe-card.component.d.ts +1 -1
  226. package/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.d.ts +1 -1
  227. package/lib/dashboard/cards/linechart-card/line-chart-card.component.d.ts +1 -1
  228. package/lib/dashboard/cards/piechart-card/pie-chart-card.component.d.ts +1 -1
  229. package/lib/dashboard/cards/portal-card/portal-card.component.d.ts +1 -1
  230. package/lib/dashboard/dashboard-content/dashboard-content.component.d.ts +1 -1
  231. package/lib/data-fields/boolean-field/boolean-default-field/boolean-default-field.component.d.ts +1 -1
  232. package/lib/data-fields/boolean-field/boolean-field.component.d.ts +1 -1
  233. package/lib/data-fields/button-field/button-default-field/button-default-field.component.d.ts +1 -1
  234. package/lib/data-fields/button-field/button-field.component.d.ts +1 -1
  235. package/lib/data-fields/case-ref-field/case-ref-default/case-ref-default.component.d.ts +1 -1
  236. package/lib/data-fields/data-field-template/data-field-template.component.d.ts +1 -1
  237. package/lib/data-fields/data-fields.module.d.ts +1 -1
  238. package/lib/data-fields/date-field/date-default-field/date-default-field.component.d.ts +1 -1
  239. package/lib/data-fields/date-field/date-field.component.d.ts +1 -1
  240. package/lib/data-fields/date-time-field/date-time-default-field/date-time-default-field.component.d.ts +1 -1
  241. package/lib/data-fields/date-time-field/date-time-field.component.d.ts +1 -1
  242. package/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.d.ts +1 -1
  243. package/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.d.ts +1 -1
  244. package/lib/data-fields/enumeration-field/enumeration-caseref-field/enumeration-caseref-field.component.d.ts +1 -1
  245. package/lib/data-fields/enumeration-field/enumeration-field.component.d.ts +1 -1
  246. package/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.d.ts +1 -1
  247. package/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.d.ts +1 -1
  248. package/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.d.ts +1 -1
  249. package/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.d.ts +1 -1
  250. package/lib/data-fields/file-field/file-default-field/file-default-field.component.d.ts +1 -1
  251. package/lib/data-fields/file-field/file-field.component.d.ts +1 -1
  252. package/lib/data-fields/file-field/preview-dialog/preview-dialog.component.d.ts +1 -1
  253. package/lib/data-fields/file-list-field/file-list-default-field/file-list-default-field.component.d.ts +1 -1
  254. package/lib/data-fields/file-list-field/file-list-field.component.d.ts +1 -1
  255. package/lib/data-fields/filter-field/filter-default-field/filter-default-field.component.d.ts +1 -1
  256. package/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.d.ts +1 -1
  257. package/lib/data-fields/filter-field/filter-field.component.d.ts +1 -1
  258. package/lib/data-fields/filter-field/tab-view-filter-field/filter-field-tab-view-content.component.d.ts +1 -1
  259. package/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.d.ts +1 -1
  260. package/lib/data-fields/i18n-field/i18n-field.component.d.ts +1 -1
  261. package/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.d.ts +1 -1
  262. package/lib/data-fields/multichoice-field/multichoice-autocomplete-field/multichoice-autocomplete-field.component.d.ts +1 -1
  263. package/lib/data-fields/multichoice-field/multichoice-caseref-field/multichoice-caseref-field.component.d.ts +1 -1
  264. package/lib/data-fields/multichoice-field/multichoice-field.component.d.ts +1 -1
  265. package/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.d.ts +1 -1
  266. package/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.d.ts +1 -1
  267. package/lib/data-fields/number-field/number-currency-field/number-currency-field.component.d.ts +3 -4
  268. package/lib/data-fields/number-field/number-decimal-field/number-decimal-field.component.d.ts +1 -1
  269. package/lib/data-fields/number-field/number-default-field/number-default-field.component.d.ts +1 -1
  270. package/lib/data-fields/number-field/number-field.component.d.ts +1 -1
  271. package/lib/data-fields/required-label/required-label.component.d.ts +1 -1
  272. package/lib/data-fields/string-collection-field/string-collection-default-field/string-collection-default-field.component.d.ts +1 -1
  273. package/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-field.component.d.ts +1 -1
  274. package/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.d.ts +1 -1
  275. package/lib/data-fields/task-ref-field/task-ref-field.component.d.ts +1 -1
  276. package/lib/data-fields/task-ref-field/task-ref-list-field/task-ref-list-field.component.d.ts +1 -1
  277. package/lib/data-fields/text-field/dashboard-bar-chart-text-field/dashboard-bar-chart-text-field.component.d.ts +1 -1
  278. package/lib/data-fields/text-field/dashboard-iframe-text-field/dashboard-iframe-text-field.component.d.ts +1 -1
  279. package/lib/data-fields/text-field/dashboard-line-chart-text-field/dashboard-line-chart-text-field.component.d.ts +1 -1
  280. package/lib/data-fields/text-field/dashboard-pie-chart-text-field/dashboard-pie-chart-text-field.component.d.ts +1 -1
  281. package/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.d.ts +1 -1
  282. package/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.d.ts +1 -1
  283. package/lib/data-fields/text-field/password-text-field/password-text-field.component.d.ts +1 -1
  284. package/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.d.ts +1 -1
  285. package/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.d.ts +1 -1
  286. package/lib/data-fields/text-field/signature-pad-field/signature-pad-field.component.d.ts +1 -1
  287. package/lib/data-fields/text-field/simple-text-field/simple-text-field.component.d.ts +1 -1
  288. package/lib/data-fields/text-field/text-field.component.d.ts +1 -1
  289. package/lib/data-fields/text-field/textarea-field/textarea-field.component.d.ts +1 -1
  290. package/lib/data-fields/user-field/user-default-field/user-default-field.component.d.ts +1 -1
  291. package/lib/data-fields/user-field/user-field.component.d.ts +1 -1
  292. package/lib/data-fields/user-list-field/user-list-default-field/user-list-default-field.component.d.ts +1 -1
  293. package/lib/data-fields/user-list-field/user-list-field.component.d.ts +1 -1
  294. package/lib/dialog/admin-impersonate-dialog/admin-impersonate-dialog.component.d.ts +2 -2
  295. package/lib/dialog/dialog.module.d.ts +1 -1
  296. package/lib/dialog/filter-selector-dialog/filter-selector-dialog.component.d.ts +1 -1
  297. package/lib/dialog/import-net-dialog/import-net-dialog.component.d.ts +2 -2
  298. package/lib/dialog/load-filter-dialog/load-filter-dialog.component.d.ts +1 -1
  299. package/lib/dialog/multi-user-assign-dialog/multi-user-assign-dialog.component.d.ts +2 -2
  300. package/lib/dialog/new-case-dialog/new-case-dialog.component.d.ts +3 -3
  301. package/lib/dialog/save-filter-dialog/save-filter-dialog.component.d.ts +1 -1
  302. package/lib/dialog/task-view-dialog/task-view-dialog.component.d.ts +1 -1
  303. package/lib/dialog/user-assign-dialog/user-assign-dialog.component.d.ts +2 -2
  304. package/lib/dialog/user-impersonate-dialog/user-impersonate-dialog.component.d.ts +1 -1
  305. package/lib/filter-field-content/filter-field-content.module.d.ts +1 -1
  306. package/lib/filter-field-content/filter-field-tab-view/filter-field-tab-view.component.d.ts +1 -1
  307. package/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.d.ts +1 -1
  308. package/lib/filter-field-content/filter-field-tabbed-task-view/filter-field-tabbed-task-view.component.d.ts +1 -1
  309. package/lib/forms/change-password/change-password-form.component.d.ts +1 -1
  310. package/lib/forms/change-password/change-password-form.component.module.d.ts +1 -1
  311. package/lib/forms/email-submission/email-submission-form.component.d.ts +1 -1
  312. package/lib/forms/email-submission/email-submission-form.module.d.ts +1 -1
  313. package/lib/forms/forgotten-password/forgotten-password-form-component.module.d.ts +1 -1
  314. package/lib/forms/forgotten-password/forgotten-password-form.component.d.ts +1 -1
  315. package/lib/forms/login/login-form.component.d.ts +1 -1
  316. package/lib/forms/login/login-form.module.d.ts +1 -1
  317. package/lib/forms/registration/registration-form.component.d.ts +1 -1
  318. package/lib/forms/registration/registration-form.module.d.ts +1 -1
  319. package/lib/header/header-modes/edit-mode/edit-mode.component.d.ts +1 -1
  320. package/lib/header/header-modes/loading-mode/loading-mode.component.d.ts +1 -1
  321. package/lib/header/header-modes/search-mode/search-mode.component.d.ts +5 -4
  322. package/lib/header/header-modes/sort-mode/sort-mode.component.d.ts +1 -1
  323. package/lib/header/header.component.d.ts +2 -2
  324. package/lib/header/header.module.d.ts +1 -1
  325. package/lib/legal/legal-notice/legal-notice.component.d.ts +1 -1
  326. package/lib/navigation/breadcrumbs/breadcrumbs.component.d.ts +1 -1
  327. package/lib/navigation/group-navigation-component-resolver/default-components/default-case-ref-list-view/default-case-ref-list-view.component.d.ts +1 -1
  328. package/lib/navigation/group-navigation-component-resolver/default-components/default-no-filter-provided/default-no-filter-provided.component.d.ts +1 -1
  329. package/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.d.ts +1 -1
  330. package/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.d.ts +1 -1
  331. package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.d.ts +1 -1
  332. package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.d.ts +1 -1
  333. package/lib/navigation/group-navigation-component-resolver/default-components/default-task-view/default-task-view.component.d.ts +1 -1
  334. package/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.d.ts +1 -1
  335. package/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.d.ts +1 -1
  336. package/lib/navigation/navigation-drawer/navigation-drawer.component.d.ts +1 -1
  337. package/lib/navigation/navigation-rail/navigation-rail.component.d.ts +1 -1
  338. package/lib/navigation/navigation-tree/navigation-tree.component.d.ts +1 -1
  339. package/lib/navigation/navigation.module.d.ts +1 -1
  340. package/lib/navigation/quick-panel/components/impersonate-quick-panel/impersonate-quick-panel.component.d.ts +1 -1
  341. package/lib/navigation/quick-panel/components/internal-link/internal-link.component.d.ts +1 -1
  342. package/lib/navigation/quick-panel/components/language-selector/language-selector.component.d.ts +1 -1
  343. package/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.d.ts +1 -1
  344. package/lib/navigation/quick-panel/components/quick-panel.component.d.ts +1 -1
  345. package/lib/panel/case-panel/case-panel.component.d.ts +2 -2
  346. package/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.d.ts +1 -1
  347. package/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.d.ts +1 -1
  348. package/lib/panel/panel-item/panel-item.component.d.ts +1 -1
  349. package/lib/panel/panel.component.d.ts +1 -1
  350. package/lib/panel/panel.module.d.ts +1 -1
  351. package/lib/panel/public-workflow-panel/public-workflow-panel.component.d.ts +1 -1
  352. package/lib/panel/task-panel/task-panel.component.d.ts +1 -1
  353. package/lib/panel/task-panel-list/task-list.component.d.ts +1 -1
  354. package/lib/panel/task-panel-list-pagination/task-list-pagination.component.d.ts +1 -1
  355. package/lib/panel/task-panel-single/single-task.component.d.ts +1 -1
  356. package/lib/panel/workflow-panel/workflow-panel.component.d.ts +1 -1
  357. package/lib/routing/redirect/redirect.component.d.ts +1 -1
  358. package/lib/search/advanced-search/advanced-search-component/advanced-search.component.d.ts +1 -1
  359. package/lib/search/advanced-search/search-clause-component/search-clause.component.d.ts +1 -1
  360. package/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.d.ts +1 -1
  361. package/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.d.ts +1 -1
  362. package/lib/search/advanced-search/search-predicate-component/search-predicate.component.d.ts +1 -1
  363. package/lib/search/fulltext-search-component/fulltext-search.component.d.ts +1 -1
  364. package/lib/search/search-component/case-search/case-search.component.d.ts +1 -1
  365. package/lib/search/search-component/search.component.d.ts +1 -1
  366. package/lib/search/search-component/task-search/task-search.component.d.ts +1 -1
  367. package/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-item/admin-impersonate-item.component.d.ts +1 -1
  368. package/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-list.component.d.ts +1 -1
  369. package/lib/side-menu/content-components/admin-impersonate/admin-impersonate.component.d.ts +1 -1
  370. package/lib/side-menu/content-components/admin-impersonate/side-menu-admin-impersonate-component.module.d.ts +1 -1
  371. package/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.d.ts +1 -1
  372. package/lib/side-menu/content-components/filter-selector/filter-selector.component.d.ts +1 -1
  373. package/lib/side-menu/content-components/import-net/import-net.component.d.ts +1 -1
  374. package/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.d.ts +1 -1
  375. package/lib/side-menu/content-components/load-filter/load-filter.component.d.ts +1 -1
  376. package/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-item/multi-user-assign-item.component.d.ts +1 -1
  377. package/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-list.component.d.ts +1 -1
  378. package/lib/side-menu/content-components/multi-user-assign/multi-user-assign.component.d.ts +1 -1
  379. package/lib/side-menu/content-components/multi-user-assign/side-menu-multi-user-assign-component.module.d.ts +1 -1
  380. package/lib/side-menu/content-components/new-case/new-case.component.d.ts +1 -2
  381. package/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.d.ts +1 -1
  382. package/lib/side-menu/content-components/option-selector/option-selector.component.d.ts +1 -1
  383. package/lib/side-menu/content-components/save-filter/save-filter.component.d.ts +1 -1
  384. package/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.d.ts +1 -1
  385. package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.d.ts +1 -1
  386. package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.d.ts +1 -1
  387. package/lib/side-menu/content-components/user-assign/user-assign.component.d.ts +1 -1
  388. package/lib/side-menu/content-components/user-impersonate/user-impersonate.component.d.ts +1 -1
  389. package/lib/side-menu/side-menu-container/side-menu-container.component.d.ts +1 -1
  390. package/lib/tabs/tab-creation-detector/tab-creation-detector.component.d.ts +1 -1
  391. package/lib/tabs/tab-view/tab-view.component.d.ts +1 -1
  392. package/lib/tabs/tabs.module.d.ts +1 -1
  393. package/lib/task-content/field-component-resolver/field-component-resolver.component.d.ts +2 -1
  394. package/lib/task-content/task-content/task-content.component.d.ts +1 -1
  395. package/lib/task-content/task-content.module.d.ts +1 -1
  396. package/lib/toolbar/toolbar.component.d.ts +1 -1
  397. package/lib/toolbar/toolbar.module.d.ts +1 -1
  398. package/lib/user/profile/profile.component.d.ts +1 -1
  399. package/lib/user/profile/profile.module.d.ts +2 -1
  400. package/lib/user/user-card/user-card.component.d.ts +1 -1
  401. package/lib/view/case-view/case-view.module.d.ts +1 -1
  402. package/lib/view/case-view/components/case-list/case-list.component.d.ts +1 -1
  403. package/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.d.ts +1 -1
  404. package/lib/view/case-view/components/create-case-button/create-case-button.component.d.ts +1 -1
  405. package/lib/view/tree-case-view/tree-case-view.module.d.ts +1 -1
  406. package/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.d.ts +1 -1
  407. package/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.d.ts +1 -1
  408. package/lib/view/tree-case-view/tree-component/tree.component.d.ts +1 -1
  409. package/lib/view/tree-case-view/tree-task-content/tree-task-content.component.d.ts +1 -1
  410. package/lib/view/workflow-view/workflow-view.component.d.ts +1 -1
  411. package/lib/view/workflow-view.module.d.ts +1 -1
  412. package/nae-theme.scss +10 -2
  413. package/package.json +29 -35
  414. package/schematics/migrations/5.4/migration-5.4.js +6 -2
  415. package/schematics/migrations/5.4/migration-5.4.js.map +1 -1
  416. package/schematics/view/create-view-prompt/views/case-view/create-case-view.js +2 -2
  417. package/schematics/view/create-view-prompt/views/case-view/create-case-view.js.map +1 -1
  418. package/schematics/view/create-view-prompt/views/group-view/create-group-view.js +1 -1
  419. package/schematics/view/create-view-prompt/views/group-view/create-group-view.js.map +1 -1
  420. package/schematics/view/create-view-prompt/views/login/create-login-view.js +1 -1
  421. package/schematics/view/create-view-prompt/views/login/create-login-view.js.map +1 -1
  422. package/schematics/view/create-view-prompt/views/public-resolver-view/create-public-resolver-view.js +2 -2
  423. package/schematics/view/create-view-prompt/views/public-resolver-view/create-public-resolver-view.js.map +1 -1
  424. package/schematics/view/create-view-prompt/views/public-single-task-view/create-public-single-task-view.js +1 -1
  425. package/schematics/view/create-view-prompt/views/public-single-task-view/create-public-single-task-view.js.map +1 -1
  426. package/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.js +1 -1
  427. package/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.js.map +1 -1
  428. package/schematics/view/create-view-prompt/views/public-workflow-view/create-public-workflow-view.js +1 -1
  429. package/schematics/view/create-view-prompt/views/public-workflow-view/create-public-workflow-view.js.map +1 -1
  430. package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js +1 -1
  431. package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js.map +1 -1
  432. package/schematics/view/create-view-prompt/views/task-view/create-task-view.js +1 -1
  433. package/schematics/view/create-view-prompt/views/task-view/create-task-view.js.map +1 -1
  434. package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js +1 -1
  435. package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js.map +1 -1
  436. package/src/lib/data-fields/data-field.theme.scss +220 -106
  437. package/src/lib/dialog/dialog.theme.scss +3 -2
  438. package/src/lib/header/header.theme.scss +1 -1
  439. package/src/lib/navigation/navigation.theme.scss +11 -0
  440. package/src/lib/panel/panel.theme.scss +4 -0
  441. package/src/lib/search/advanced-search/search-predicate-component/search-predicate.component.theme.scss +2 -2
  442. package/src/lib/search/search-component/search.component-theme.scss +9 -4
  443. package/src/lib/side-menu/side-menu.theme.scss +1 -1
  444. package/src/lib/tabs/tabs.theme.scss +15 -5
  445. package/esm2020/lib/admin/admin.module.mjs +0 -35
  446. package/esm2020/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.mjs +0 -39
  447. package/esm2020/lib/admin/role-assignment/role-assignment.component.mjs +0 -40
  448. package/esm2020/lib/admin/user-invite/user-invite.component.mjs +0 -34
  449. package/esm2020/lib/authentication/auth.module.mjs +0 -40
  450. package/esm2020/lib/authentication/authentication-overlay/authentication-overlay.component.mjs +0 -22
  451. package/esm2020/lib/authentication/session-idle/popup-session-idle/popup-session-idle.component.mjs +0 -24
  452. package/esm2020/lib/authentication/session-idle/session-idle.component.mjs +0 -39
  453. package/esm2020/lib/dashboard/cards/barchart-card/barchart-card.component.mjs +0 -40
  454. package/esm2020/lib/dashboard/cards/count-card/count-card.component.mjs +0 -20
  455. package/esm2020/lib/dashboard/cards/iframe-card/iframe-card.component.mjs +0 -19
  456. package/esm2020/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.mjs +0 -37
  457. package/esm2020/lib/dashboard/cards/linechart-card/line-chart-card.component.mjs +0 -49
  458. package/esm2020/lib/dashboard/cards/piechart-card/pie-chart-card.component.mjs +0 -42
  459. package/esm2020/lib/dashboard/cards/portal-card/portal-card.component.mjs +0 -36
  460. package/esm2020/lib/dashboard/dashboard-content/dashboard-content.component.mjs +0 -26
  461. package/esm2020/lib/dashboard/dashboard.module.mjs +0 -79
  462. package/esm2020/lib/data-fields/button-field/button-default-field/button-default-field.component.mjs +0 -42
  463. package/esm2020/lib/data-fields/button-field/button-field.component.mjs +0 -25
  464. package/esm2020/lib/data-fields/data-field-template/data-field-template.component.mjs +0 -24
  465. package/esm2020/lib/data-fields/date-field/date-default-field/date-default-field.component.mjs +0 -38
  466. package/esm2020/lib/data-fields/date-time-field/date-time-default-field/date-time-default-field.component.mjs +0 -39
  467. package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.mjs +0 -31
  468. package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.mjs +0 -29
  469. package/esm2020/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.mjs +0 -28
  470. package/esm2020/lib/data-fields/file-field/file-default-field/file-default-field.component.mjs +0 -50
  471. package/esm2020/lib/data-fields/file-field/preview-dialog/preview-dialog.component.mjs +0 -33
  472. package/esm2020/lib/data-fields/file-list-field/file-list-default-field/file-list-default-field.component.mjs +0 -32
  473. package/esm2020/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.mjs +0 -23
  474. package/esm2020/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.mjs +0 -66
  475. package/esm2020/lib/data-fields/multichoice-field/multichoice-autocomplete-field/multichoice-autocomplete-field.component.mjs +0 -30
  476. package/esm2020/lib/data-fields/number-field/number-currency-field/number-currency-field.component.mjs +0 -35
  477. package/esm2020/lib/data-fields/number-field/number-decimal-field/number-decimal-field.component.mjs +0 -38
  478. package/esm2020/lib/data-fields/required-label/required-label.component.mjs +0 -18
  479. package/esm2020/lib/data-fields/string-collection-field/string-collection-default-field/string-collection-default-field.component.mjs +0 -29
  480. package/esm2020/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-field.component.mjs +0 -38
  481. package/esm2020/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.mjs +0 -57
  482. package/esm2020/lib/data-fields/task-ref-field/task-ref-field.component.mjs +0 -27
  483. package/esm2020/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.mjs +0 -41
  484. package/esm2020/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs +0 -36
  485. package/esm2020/lib/data-fields/text-field/password-text-field/password-text-field.component.mjs +0 -30
  486. package/esm2020/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.mjs +0 -85
  487. package/esm2020/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs +0 -28
  488. package/esm2020/lib/data-fields/text-field/signature-pad-field/signature-pad-field.component.mjs +0 -95
  489. package/esm2020/lib/data-fields/text-field/simple-text-field/simple-text-field.component.mjs +0 -27
  490. package/esm2020/lib/data-fields/text-field/textarea-field/textarea-field.component.mjs +0 -29
  491. package/esm2020/lib/data-fields/user-field/user-default-field/user-default-field.component.mjs +0 -35
  492. package/esm2020/lib/data-fields/user-field/user-field.component.mjs +0 -25
  493. package/esm2020/lib/data-fields/user-list-field/user-list-default-field/user-list-default-field.component.mjs +0 -39
  494. package/esm2020/lib/dialog/admin-impersonate-dialog/admin-impersonate-dialog.component.mjs +0 -77
  495. package/esm2020/lib/dialog/dialog.module.mjs +0 -177
  496. package/esm2020/lib/dialog/filter-selector-dialog/filter-selector-dialog.component.mjs +0 -162
  497. package/esm2020/lib/dialog/import-net-dialog/import-net-dialog.component.mjs +0 -153
  498. package/esm2020/lib/dialog/load-filter-dialog/load-filter-dialog.component.mjs +0 -98
  499. package/esm2020/lib/dialog/multi-user-assign-dialog/multi-user-assign-dialog.component.mjs +0 -72
  500. package/esm2020/lib/dialog/new-case-dialog/new-case-dialog.component.mjs +0 -251
  501. package/esm2020/lib/dialog/save-filter-dialog/save-filter-dialog.component.mjs +0 -83
  502. package/esm2020/lib/dialog/task-view-dialog/task-view-dialog.component.mjs +0 -91
  503. package/esm2020/lib/dialog/user-assign-dialog/user-assign-dialog.component.mjs +0 -73
  504. package/esm2020/lib/dialog/user-impersonate-dialog/user-impersonate-dialog.component.mjs +0 -98
  505. package/esm2020/lib/filter-field-content/filter-field-content.module.mjs +0 -64
  506. package/esm2020/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.mjs +0 -68
  507. package/esm2020/lib/filter-field-content/filter-field-tabbed-task-view/filter-field-tabbed-task-view.component.mjs +0 -75
  508. package/esm2020/lib/forms/change-password/change-password-form.component.mjs +0 -42
  509. package/esm2020/lib/forms/change-password/change-password-form.component.module.mjs +0 -40
  510. package/esm2020/lib/forms/email-submission/email-submission-form.component.mjs +0 -25
  511. package/esm2020/lib/forms/email-submission/email-submission-form.module.mjs +0 -41
  512. package/esm2020/lib/forms/forgotten-password/forgotten-password-form-component.module.mjs +0 -37
  513. package/esm2020/lib/forms/forgotten-password/forgotten-password-form.component.mjs +0 -30
  514. package/esm2020/lib/forms/login/login-form.component.mjs +0 -26
  515. package/esm2020/lib/forms/login/login-form.module.mjs +0 -37
  516. package/esm2020/lib/forms/registration/registration-form.component.mjs +0 -31
  517. package/esm2020/lib/forms/registration/registration-form.module.mjs +0 -41
  518. package/esm2020/lib/header/header-modes/edit-mode/edit-mode.component.mjs +0 -32
  519. package/esm2020/lib/header/header-modes/loading-mode/loading-mode.component.mjs +0 -18
  520. package/esm2020/lib/header/header-modes/search-mode/search-mode.component.mjs +0 -45
  521. package/esm2020/lib/header/header-modes/sort-mode/sort-mode.component.mjs +0 -26
  522. package/esm2020/lib/header/header.component.mjs +0 -86
  523. package/esm2020/lib/header/header.module.mjs +0 -68
  524. package/esm2020/lib/legal/legal-notice/legal-notice.module.mjs +0 -26
  525. package/esm2020/lib/navigation/breadcrumbs/breadcrumbs.component.mjs +0 -20
  526. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-case-ref-list-view/default-case-ref-list-view.component.mjs +0 -130
  527. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-no-filter-provided/default-no-filter-provided.component.mjs +0 -14
  528. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.mjs +0 -79
  529. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.mjs +0 -150
  530. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.mjs +0 -176
  531. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.mjs +0 -111
  532. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-task-view/default-task-view.component.mjs +0 -63
  533. package/esm2020/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.mjs +0 -73
  534. package/esm2020/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.mjs +0 -89
  535. package/esm2020/lib/navigation/navigation-drawer/navigation-drawer.component.mjs +0 -31
  536. package/esm2020/lib/navigation/navigation.module.mjs +0 -152
  537. package/esm2020/lib/navigation/quick-panel/components/impersonate-quick-panel/impersonate-quick-panel.component.mjs +0 -31
  538. package/esm2020/lib/navigation/quick-panel/components/language-selector/language-selector.component.mjs +0 -23
  539. package/esm2020/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.mjs +0 -23
  540. package/esm2020/lib/navigation/quick-panel/components/quick-panel.component.mjs +0 -27
  541. package/esm2020/lib/navigation/quick-panel/quick-panel.module.mjs +0 -57
  542. package/esm2020/lib/panel/case-panel/case-panel.component.mjs +0 -91
  543. package/esm2020/lib/panel/panel-item/panel-item.component.mjs +0 -22
  544. package/esm2020/lib/panel/panel.component.mjs +0 -20
  545. package/esm2020/lib/panel/panel.module.mjs +0 -114
  546. package/esm2020/lib/panel/public-workflow-panel/public-workflow-panel.component.mjs +0 -24
  547. package/esm2020/lib/panel/task-panel/task-panel.component.mjs +0 -123
  548. package/esm2020/lib/panel/task-panel-list/task-list.component.mjs +0 -34
  549. package/esm2020/lib/panel/task-panel-list-pagination/task-list-pagination.component.mjs +0 -35
  550. package/esm2020/lib/panel/task-panel-single/single-task.component.mjs +0 -31
  551. package/esm2020/lib/routing/redirect/redirect.component.mjs +0 -20
  552. package/esm2020/lib/routing/redirect.module.mjs +0 -17
  553. package/esm2020/lib/search/advanced-search/advanced-search.module.mjs +0 -57
  554. package/esm2020/lib/search/advanced-search/search-clause-component/search-clause.component.mjs +0 -20
  555. package/esm2020/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.mjs +0 -31
  556. package/esm2020/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.mjs +0 -36
  557. package/esm2020/lib/search/advanced-search/search-predicate-component/search-predicate.component.mjs +0 -29
  558. package/esm2020/lib/search/fulltext-search-component/fulltext-search.component.mjs +0 -22
  559. package/esm2020/lib/search/search-component/search.component.mjs +0 -108
  560. package/esm2020/lib/search/search.module.mjs +0 -66
  561. package/esm2020/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-item/admin-impersonate-item.component.mjs +0 -22
  562. package/esm2020/lib/side-menu/content-components/admin-impersonate/admin-impersonate.component.mjs +0 -40
  563. package/esm2020/lib/side-menu/content-components/admin-impersonate/side-menu-admin-impersonate-component.module.mjs +0 -60
  564. package/esm2020/lib/side-menu/content-components/filter-selector/filter-selector.component.mjs +0 -53
  565. package/esm2020/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.mjs +0 -42
  566. package/esm2020/lib/side-menu/content-components/import-net/import-net.component.mjs +0 -55
  567. package/esm2020/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.mjs +0 -50
  568. package/esm2020/lib/side-menu/content-components/load-filter/load-filter.component.mjs +0 -67
  569. package/esm2020/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.mjs +0 -42
  570. package/esm2020/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-item/multi-user-assign-item.component.mjs +0 -20
  571. package/esm2020/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-list.component.mjs +0 -24
  572. package/esm2020/lib/side-menu/content-components/multi-user-assign/multi-user-assign.component.mjs +0 -33
  573. package/esm2020/lib/side-menu/content-components/multi-user-assign/side-menu-multi-user-assign-component.module.mjs +0 -63
  574. package/esm2020/lib/side-menu/content-components/new-case/new-case.component.mjs +0 -46
  575. package/esm2020/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.mjs +0 -57
  576. package/esm2020/lib/side-menu/content-components/option-selector/option-selector.component.mjs +0 -33
  577. package/esm2020/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.mjs +0 -42
  578. package/esm2020/lib/side-menu/content-components/save-filter/save-filter.component.mjs +0 -61
  579. package/esm2020/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.mjs +0 -38
  580. package/esm2020/lib/side-menu/content-components/side-menu-content-component.module.mjs +0 -120
  581. package/esm2020/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.mjs +0 -63
  582. package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.mjs +0 -22
  583. package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.mjs +0 -27
  584. package/esm2020/lib/side-menu/content-components/user-assign/user-assign.component.mjs +0 -37
  585. package/esm2020/lib/side-menu/content-components/user-impersonate/side-menu-user-impersonate-component.module.mjs +0 -42
  586. package/esm2020/lib/side-menu/content-components/user-impersonate/user-impersonate.component.mjs +0 -75
  587. package/esm2020/lib/side-menu/side-menu-container/side-menu-container.component.mjs +0 -23
  588. package/esm2020/lib/side-menu/side-menu.module.mjs +0 -42
  589. package/esm2020/lib/tabs/tab-view/tab-view.component.mjs +0 -33
  590. package/esm2020/lib/tabs/tabs.module.mjs +0 -46
  591. package/esm2020/lib/task-content/field-component-resolver/field-component-resolver.component.mjs +0 -36
  592. package/esm2020/lib/task-content/task-content/task-content.component.mjs +0 -37
  593. package/esm2020/lib/task-content/task-content.module.mjs +0 -47
  594. package/esm2020/lib/toolbar/toolbar.component.mjs +0 -26
  595. package/esm2020/lib/toolbar/toolbar.module.mjs +0 -35
  596. package/esm2020/lib/user/profile/profile.component.mjs +0 -25
  597. package/esm2020/lib/user/profile/profile.module.mjs +0 -31
  598. package/esm2020/lib/user/user-card/user-card.component.mjs +0 -23
  599. package/esm2020/lib/user/user.module.mjs +0 -35
  600. package/esm2020/lib/view/case-view/case-view.module.mjs +0 -39
  601. package/esm2020/lib/view/case-view/components/case-list/case-list.component.mjs +0 -34
  602. package/esm2020/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs +0 -38
  603. package/esm2020/lib/view/case-view/components/create-case-button/create-case-button.component.mjs +0 -64
  604. package/esm2020/lib/view/tree-case-view/tree-case-view.module.mjs +0 -60
  605. package/esm2020/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.mjs +0 -22
  606. package/esm2020/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.mjs +0 -21
  607. package/esm2020/lib/view/tree-case-view/tree-component/tree.component.mjs +0 -27
  608. package/esm2020/lib/view/tree-case-view/tree-task-content/tree-task-content.component.mjs +0 -59
  609. package/esm2020/lib/view/workflow-view/workflow-view.component.mjs +0 -35
  610. package/esm2020/lib/view/workflow-view.module.mjs +0 -53
  611. package/fesm2015/netgrif-components.mjs +0 -7960
  612. package/fesm2015/netgrif-components.mjs.map +0 -1
  613. package/fesm2020/netgrif-components.mjs +0 -7731
  614. package/fesm2020/netgrif-components.mjs.map +0 -1
  615. /package/{esm2020 → esm2022}/lib/admin/public-api.mjs +0 -0
  616. /package/{esm2020 → esm2022}/lib/authentication/public-api.mjs +0 -0
  617. /package/{esm2020 → esm2022}/lib/dashboard/public-api.mjs +0 -0
  618. /package/{esm2020 → esm2022}/lib/data-fields/public-api.mjs +0 -0
  619. /package/{esm2020 → esm2022}/lib/dialog/model/dialog-actions.mjs +0 -0
  620. /package/{esm2020 → esm2022}/lib/dialog/public-api.mjs +0 -0
  621. /package/{esm2020 → esm2022}/lib/filter-field-content/public-api.mjs +0 -0
  622. /package/{esm2020 → esm2022}/lib/forms/public-api.mjs +0 -0
  623. /package/{esm2020 → esm2022}/lib/header/public-api.mjs +0 -0
  624. /package/{esm2020 → esm2022}/lib/legal/public-api.mjs +0 -0
  625. /package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.mjs +0 -0
  626. /package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.mjs +0 -0
  627. /package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-task-view-data-with-navigation-item-task-data.mjs +0 -0
  628. /package/{esm2020 → esm2022}/lib/navigation/public-api.mjs +0 -0
  629. /package/{esm2020 → esm2022}/lib/navigation/quick-panel/public-api.mjs +0 -0
  630. /package/{esm2020 → esm2022}/lib/panel/public-api.mjs +0 -0
  631. /package/{esm2020 → esm2022}/lib/routing/public-api.mjs +0 -0
  632. /package/{esm2020 → esm2022}/lib/search/advanced-search/public-api.mjs +0 -0
  633. /package/{esm2020 → esm2022}/lib/search/public-api.mjs +0 -0
  634. /package/{esm2020 → esm2022}/lib/side-menu/content-components/public-api.mjs +0 -0
  635. /package/{esm2020 → esm2022}/lib/side-menu/public-api.mjs +0 -0
  636. /package/{esm2020 → esm2022}/lib/tabs/public-api.mjs +0 -0
  637. /package/{esm2020 → esm2022}/lib/task-content/public-api.mjs +0 -0
  638. /package/{esm2020 → esm2022}/lib/toolbar/public-api.mjs +0 -0
  639. /package/{esm2020 → esm2022}/lib/user/public-api.mjs +0 -0
  640. /package/{esm2020 → esm2022}/lib/view/public-api.mjs +0 -0
  641. /package/{esm2020 → esm2022}/netgrif-components.mjs +0 -0
  642. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  643. /package/{netgrif-components.d.ts → index.d.ts} +0 -0
@@ -0,0 +1,26 @@
1
+ import { Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/material/dialog";
4
+ import * as i2 from "@netgrif/components-core";
5
+ import * as i3 from "@angular/material/button";
6
+ import * as i4 from "@ngbracket/ngx-layout";
7
+ import * as i5 from "@angular/common";
8
+ import * as i6 from "@ngx-translate/core";
9
+ export class PopupSessionIdleComponent {
10
+ dialogRef;
11
+ sessionTimer;
12
+ constructor(dialogRef, sessionTimer) {
13
+ this.dialogRef = dialogRef;
14
+ this.sessionTimer = sessionTimer;
15
+ }
16
+ getTime() {
17
+ return this.sessionTimer.remainSeconds$;
18
+ }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PopupSessionIdleComponent, deps: [{ token: i1.MatDialogRef }, { token: i2.SessionIdleTimerService }], target: i0.ɵɵFactoryTarget.Component });
20
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PopupSessionIdleComponent, selector: "nc-popup-session-idle", ngImport: i0, template: "<div mat-dialog-title>{{ 'session.expireTitle' | translate}}</div>\n<div mat-dialog-content>\n <p class=\"white-space\">\n {{ 'session.expireDetail' | translate: {time: getTime() | async} }}\n </p>\n</div>\n<div mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"space-between stretch\">\n <button mat-button [mat-dialog-close]=\"true\">{{ 'session.exitButton' | translate}}</button>\n <button mat-raised-button color=\"primary\" [mat-dialog-close]=\"false\"\n cdkFocusInitial>{{ 'session.refreshButton' | translate}}</button>\n</div>\n", styles: [".white-space{white-space:pre-line}\n"], dependencies: [{ kind: "directive", type: i1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] });
21
+ }
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PopupSessionIdleComponent, decorators: [{
23
+ type: Component,
24
+ args: [{ selector: 'nc-popup-session-idle', template: "<div mat-dialog-title>{{ 'session.expireTitle' | translate}}</div>\n<div mat-dialog-content>\n <p class=\"white-space\">\n {{ 'session.expireDetail' | translate: {time: getTime() | async} }}\n </p>\n</div>\n<div mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"space-between stretch\">\n <button mat-button [mat-dialog-close]=\"true\">{{ 'session.exitButton' | translate}}</button>\n <button mat-raised-button color=\"primary\" [mat-dialog-close]=\"false\"\n cdkFocusInitial>{{ 'session.refreshButton' | translate}}</button>\n</div>\n", styles: [".white-space{white-space:pre-line}\n"] }]
25
+ }], ctorParameters: () => [{ type: i1.MatDialogRef }, { type: i2.SessionIdleTimerService }] });
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wdXAtc2Vzc2lvbi1pZGxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2F1dGhlbnRpY2F0aW9uL3Nlc3Npb24taWRsZS9wb3B1cC1zZXNzaW9uLWlkbGUvcG9wdXAtc2Vzc2lvbi1pZGxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2F1dGhlbnRpY2F0aW9uL3Nlc3Npb24taWRsZS9wb3B1cC1zZXNzaW9uLWlkbGUvcG9wdXAtc2Vzc2lvbi1pZGxlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7Ozs7Ozs7O0FBU3hDLE1BQU0sT0FBTyx5QkFBeUI7SUFFZjtJQUNBO0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YyBnZXRUaW1lKCkge1xuICAgICAgICAgICAgcmV0dXJuIHRoaXMuc2Vzc2lvblRpbWVyLnJlbWFpblNlY29uZHMkO1xuXG4gICAgfVxuXG59XG4iLCI8ZGl2IG1hdC1kaWFsb2ctdGl0bGU+e3sgJ3Nlc3Npb24uZXhwaXJlVGl0bGUnIHwgdHJhbnNsYXRlfX08L2Rpdj5cbjxkaXYgbWF0LWRpYWxvZy1jb250ZW50PlxuICAgIDxwIGNsYXNzPVwid2hpdGUtc3BhY2VcIj5cbiAgICAgICAge3sgJ3Nlc3Npb24uZXhwaXJlRGV0YWlsJyB8IHRyYW5zbGF0ZToge3RpbWU6IGdldFRpbWUoKSB8IGFzeW5jfSB9fVxuICAgIDwvcD5cbjwvZGl2PlxuPGRpdiBtYXQtZGlhbG9nLWFjdGlvbnMgZnhMYXlvdXQ9XCJyb3dcIiBmeExheW91dEFsaWduPVwic3BhY2UtYmV0d2VlbiBzdHJldGNoXCI+XG4gICAgPGJ1dHRvbiBtYXQtYnV0dG9uIFttYXQtZGlhbG9nLWNsb3NlXT1cInRydWVcIj57eyAnc2Vzc2lvbi5leGl0QnV0dG9uJyB8IHRyYW5zbGF0ZX19PC9idXR0b24+XG4gICAgPGJ1dHRvbiBtYXQtcmFpc2VkLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIiBbbWF0LWRpYWxvZy1jbG9zZV09XCJmYWxzZVwiXG4gICAgICAgICAgICBjZGtGb2N1c0luaXRpYWw+e3sgJ3Nlc3Npb24ucmVmcmVzaEJ1dHRvbicgfCB0cmFuc2xhdGV9fTwvYnV0dG9uPlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,40 @@
1
+ import { Component, Input } from '@angular/core';
2
+ import { AbstractSessionIdleComponent } from '@netgrif/components-core';
3
+ import { PopupSessionIdleComponent } from "./popup-session-idle/popup-session-idle.component";
4
+ import { take } from "rxjs/operators";
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/material/dialog";
7
+ import * as i2 from "@netgrif/components-core";
8
+ import * as i3 from "@angular/router";
9
+ export class SessionIdleComponent extends AbstractSessionIdleComponent {
10
+ dialog;
11
+ alertAtSeconds = 30;
12
+ constructor(dialog, sessionTimer, _user, _log, _config, _router) {
13
+ super(sessionTimer, _user, _log, _config, _router);
14
+ this.dialog = dialog;
15
+ }
16
+ close() {
17
+ this.dialog.closeAll();
18
+ }
19
+ alert() {
20
+ this.openDialog();
21
+ }
22
+ openDialog() {
23
+ const dialogRef = this.dialog.open(PopupSessionIdleComponent);
24
+ dialogRef.afterClosed().pipe(take(1)).subscribe(result => {
25
+ if (result) {
26
+ this.logout();
27
+ }
28
+ this.continue();
29
+ });
30
+ }
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionIdleComponent, deps: [{ token: i1.MatDialog }, { token: i2.SessionIdleTimerService }, { token: i2.UserService }, { token: i2.LoggerService }, { token: i2.ConfigurationService }, { token: i3.Router }], target: i0.ɵɵFactoryTarget.Component });
32
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SessionIdleComponent, selector: "nc-session-idle", inputs: { alertAtSeconds: "alertAtSeconds" }, usesInheritance: true, ngImport: i0, template: "" });
33
+ }
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionIdleComponent, decorators: [{
35
+ type: Component,
36
+ args: [{ selector: 'nc-session-idle', template: "" }]
37
+ }], ctorParameters: () => [{ type: i1.MatDialog }, { type: i2.SessionIdleTimerService }, { type: i2.UserService }, { type: i2.LoggerService }, { type: i2.ConfigurationService }, { type: i3.Router }], propDecorators: { alertAtSeconds: [{
38
+ type: Input
39
+ }] } });
40
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vzc2lvbi1pZGxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY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ZGlhbG9nUmVmID0gdGhpcy5kaWFsb2cub3BlbihQb3B1cFNlc3Npb25JZGxlQ29tcG9uZW50KTtcbiAgICAgICAgZGlhbG9nUmVmLmFmdGVyQ2xvc2VkKCkucGlwZSh0YWtlKDEpKS5zdWJzY3JpYmUocmVzdWx0ID0+IHtcbiAgICAgICAgICAgIGlmIChyZXN1bHQpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmxvZ291dCgpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy5jb250aW51ZSgpO1xuICAgICAgICB9KTtcbiAgICB9XG5cbn1cblxuIiwiIl19
@@ -0,0 +1,45 @@
1
+ import { Component, EventEmitter, Output } from '@angular/core';
2
+ import { AbstractCustomCardComponent, DashboardSingleData } from '@netgrif/components-core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@netgrif/components-core";
5
+ import * as i2 from "@ngx-translate/core";
6
+ import * as i3 from "@ngbracket/ngx-layout";
7
+ import * as i4 from "@angular/material/card";
8
+ import * as i5 from "@swimlane/ngx-charts";
9
+ export class BarchartCardComponent extends AbstractCustomCardComponent {
10
+ _injector;
11
+ resourceService;
12
+ translateService;
13
+ loggerService;
14
+ selectEvent;
15
+ constructor(_injector, resourceService, translateService, loggerService) {
16
+ super(_injector, resourceService, translateService, loggerService);
17
+ this._injector = _injector;
18
+ this.resourceService = resourceService;
19
+ this.translateService = translateService;
20
+ this.loggerService = loggerService;
21
+ this.selectEvent = new EventEmitter();
22
+ }
23
+ ngOnInit() {
24
+ super.ngOnInit();
25
+ }
26
+ onSelect(data) {
27
+ this.loggerService.info('BarChart was selected');
28
+ this.selectEvent.emit(data);
29
+ }
30
+ convertData(json) {
31
+ json.aggregations.result.buckets.forEach(bucket => {
32
+ this.single.push(new DashboardSingleData(bucket.key, bucket.doc_count));
33
+ });
34
+ this.single = [...this.single];
35
+ }
36
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BarchartCardComponent, deps: [{ token: i0.Injector }, { token: i1.DashboardResourceService }, { token: i2.TranslateService }, { token: i1.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
37
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: BarchartCardComponent, selector: "nc-barchart-card", outputs: { selectEvent: "selectEvent" }, usesInheritance: true, ngImport: i0, template: "<mat-card class=\"dashboard-card custom-mat-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <ngx-charts-bar-vertical class=\"custom-chart dashboard-bar-chart\"\n [scheme]=\"colorScheme\"\n [results]=\"single\"\n [gradient]=\"gradient\"\n [xAxis]=\"xAxis\"\n [yAxis]=\"yAxis\"\n [legend]=\"showLegend\"\n [showXAxisLabel]=\"showXAxisLabel\"\n [showYAxisLabel]=\"showYAxisLabel\"\n [xAxisLabel]=\"card.xAxisLabel\"\n [yAxisLabel]=\"card.yAxisLabel\"\n [legendTitle]=\"card.title\"\n (select)=\"onSelect($event)\">\n </ngx-charts-bar-vertical>\n</mat-card>\n", styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-chart{width:90%;height:90%}.custom-mat-card{padding-left:0;padding-top:0}\n"], dependencies: [{ kind: "directive", type: i3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "component", type: i4.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i5.BarVerticalComponent, selector: "ngx-charts-bar-vertical", inputs: ["legend", "legendTitle", "legendPosition", "xAxis", "yAxis", "showXAxisLabel", "showYAxisLabel", "xAxisLabel", "yAxisLabel", "tooltipDisabled", "gradient", "showGridLines", "activeEntries", "schemeType", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "xAxisTickFormatting", "yAxisTickFormatting", "xAxisTicks", "yAxisTicks", "barPadding", "roundDomains", "roundEdges", "yScaleMax", "yScaleMin", "showDataLabel", "dataLabelFormatting", "noBarWhenZero"], outputs: ["activate", "deactivate"] }] });
38
+ }
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BarchartCardComponent, decorators: [{
40
+ type: Component,
41
+ args: [{ selector: 'nc-barchart-card', template: "<mat-card class=\"dashboard-card custom-mat-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <ngx-charts-bar-vertical class=\"custom-chart dashboard-bar-chart\"\n [scheme]=\"colorScheme\"\n [results]=\"single\"\n [gradient]=\"gradient\"\n [xAxis]=\"xAxis\"\n [yAxis]=\"yAxis\"\n [legend]=\"showLegend\"\n [showXAxisLabel]=\"showXAxisLabel\"\n [showYAxisLabel]=\"showYAxisLabel\"\n [xAxisLabel]=\"card.xAxisLabel\"\n [yAxisLabel]=\"card.yAxisLabel\"\n [legendTitle]=\"card.title\"\n (select)=\"onSelect($event)\">\n </ngx-charts-bar-vertical>\n</mat-card>\n", styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-chart{width:90%;height:90%}.custom-mat-card{padding-left:0;padding-top:0}\n"] }]
42
+ }], ctorParameters: () => [{ type: i0.Injector }, { type: i1.DashboardResourceService }, { type: i2.TranslateService }, { type: i1.LoggerService }], propDecorators: { selectEvent: [{
43
+ type: Output
44
+ }] } });
45
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyY2hhcnQtY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXNoYm9hcmQvY2FyZHMvYmFyY2hhcnQtY2FyZC9iYXJjaGFydC1jYXJkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2Rhc2hib2FyZC9jYXJkcy9iYXJjaGFydC1jYXJkL2JhcmNoYXJ0LWNhcmQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxZQUFZLEVBQW9CLE1BQU0sRUFBQyxNQUFNLGVBQWUsQ0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ERhc2hib2FyZFNpbmdsZURhdGEoYnVja2V0LmtleSwgYnVja2V0LmRvY19jb3VudCkpO1xuICAgICAgICB9KTtcbiAgICAgICAgdGhpcy5zaW5nbGUgPSBbLi4udGhpcy5zaW5nbGVdO1xuICAgIH1cbn1cbiIsIjxtYXQtY2FyZCBjbGFzcz1cImRhc2hib2FyZC1jYXJkIGN1c3RvbS1tYXQtY2FyZFwiIGZ4TGF5b3V0PVwicm93XCIgZnhMYXlvdXRBbGlnbj1cInN0YXJ0IHN0YXJ0XCI+XG4gICAgPG5neC1jaGFydHMtYmFyLXZlcnRpY2FsIGNsYXNzPVwiY3VzdG9tLWNoYXJ0IGRhc2hib2FyZC1iYXItY2hhcnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc2NoZW1lXT1cImNvbG9yU2NoZW1lXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Jlc3VsdHNdPVwic2luZ2xlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2dyYWRpZW50XT1cImdyYWRpZW50XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3hBeGlzXT1cInhBeGlzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3lBeGlzXT1cInlBeGlzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2xlZ2VuZF09XCJzaG93TGVnZW5kXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Nob3dYQXhpc0xhYmVsXT1cInNob3dYQXhpc0xhYmVsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Nob3dZQXhpc0xhYmVsXT1cInNob3dZQXhpc0xhYmVsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3hBeGlzTGFiZWxdPVwiY2FyZC54QXhpc0xhYmVsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3lBeGlzTGFiZWxdPVwiY2FyZC55QXhpc0xhYmVsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2xlZ2VuZFRpdGxlXT1cImNhcmQudGl0bGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoc2VsZWN0KT1cIm9uU2VsZWN0KCRldmVudClcIj5cbiAgICA8L25neC1jaGFydHMtYmFyLXZlcnRpY2FsPlxuPC9tYXQtY2FyZD5cbiJdfQ==
@@ -0,0 +1,21 @@
1
+ import { Component } from '@angular/core';
2
+ import { AbstractCountCardComponent } from '@netgrif/components-core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@ngbracket/ngx-layout";
6
+ import * as i3 from "@angular/material/card";
7
+ import * as i4 from "@angular/material/progress-spinner";
8
+ export class CountCardComponent extends AbstractCountCardComponent {
9
+ _injector;
10
+ constructor(_injector) {
11
+ super(_injector);
12
+ this._injector = _injector;
13
+ }
14
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CountCardComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
15
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CountCardComponent, selector: "nc-count-card", usesInheritance: true, ngImport: i0, template: "<mat-card fxLayout=\"column\" fxLayoutAlign=\"center center\" class=\"dashboard-card\">\n <span>{{card.title}}</span>\n <ng-template [ngIf]=\"loading\" [ngIfElse]=\"result\">\n <mat-spinner color=\"primary\"></mat-spinner>\n </ng-template>\n <ng-template #result>\n <span class=\"number\">{{count}}</span>\n </ng-template>\n</mat-card>\n", styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.number{font-size:80px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "component", type: i3.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i4.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
16
+ }
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CountCardComponent, decorators: [{
18
+ type: Component,
19
+ args: [{ selector: 'nc-count-card', template: "<mat-card fxLayout=\"column\" fxLayoutAlign=\"center center\" class=\"dashboard-card\">\n <span>{{card.title}}</span>\n <ng-template [ngIf]=\"loading\" [ngIfElse]=\"result\">\n <mat-spinner color=\"primary\"></mat-spinner>\n </ng-template>\n <ng-template #result>\n <span class=\"number\">{{count}}</span>\n </ng-template>\n</mat-card>\n", styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.number{font-size:80px}\n"] }]
20
+ }], ctorParameters: () => [{ type: i0.Injector }] });
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY291bnQtY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXNoYm9hcmQvY2FyZHMvY291bnQtY2FyZC9jb3VudC1jYXJkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2Rhc2hib2FyZC9jYXJkcy9jb3VudC1jYXJkL2NvdW50LWNhcmQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBVyxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQUMsMEJBQTBCLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQzs7Ozs7O0FBUXBFLE1BQU0sT0FBTyxrQkFBbUIsU0FBUSwwQkFBMEI7SUFFeEM7SUFBdEIsWUFBc0IsU0FBbUI7UUFDckMsS0FBSyxDQUFDLFNBQVMsQ0FBQyxDQUFDO1FBREMsY0FBUyxHQUFULFNBQVMsQ0FBVTtJQUV6QyxDQUFDO3dHQUpRLGtCQUFrQjs0RkFBbEIsa0JBQWtCLDRFQ1QvQixnWEFTQTs7NEZEQWEsa0J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ICAgPC9uZy10ZW1wbGF0ZT5cbjwvbWF0LWNhcmQ+XG4iXX0=
@@ -0,0 +1,20 @@
1
+ import { Component } from '@angular/core';
2
+ import { AbstractIframeCardComponent } from '@netgrif/components-core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/platform-browser";
5
+ import * as i2 from "@ngbracket/ngx-layout";
6
+ import * as i3 from "@angular/material/card";
7
+ export class IframeCardComponent extends AbstractIframeCardComponent {
8
+ _sanitizer;
9
+ constructor(_sanitizer) {
10
+ super(_sanitizer);
11
+ this._sanitizer = _sanitizer;
12
+ }
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IframeCardComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
14
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: IframeCardComponent, selector: "nc-iframe-card", usesInheritance: true, ngImport: i0, template: "<mat-card class=\"dashboard-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <iframe [src]=\"sanitizedURL\" fxFlex=\"100\" class=\"full-size dashboard-iframe-card\"\n title=\"Dashboard embedded content\"></iframe>\n</mat-card>\n", styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}\n"], dependencies: [{ kind: "directive", type: i2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "component", type: i3.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }] });
15
+ }
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IframeCardComponent, decorators: [{
17
+ type: Component,
18
+ args: [{ selector: 'nc-iframe-card', template: "<mat-card class=\"dashboard-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <iframe [src]=\"sanitizedURL\" fxFlex=\"100\" class=\"full-size dashboard-iframe-card\"\n title=\"Dashboard embedded content\"></iframe>\n</mat-card>\n", styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}\n"] }]
19
+ }], ctorParameters: () => [{ type: i1.DomSanitizer }] });
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWZyYW1lLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGFzaGJvYXJkL2NhcmRzL2lmcmFtZS1jYXJkL2lmcmFtZS1jYXJkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2Rhc2hib2FyZC9jYXJkcy9pZnJhbWUtY2FyZC9pZnJhbWUtY2FyZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hDLE9BQU8sRUFBQywyQkFBMkIsRUFBQyxNQUFNLDBCQUEwQixDQUFDOzs7OztBQVFyRSxNQUFNLE9BQU8sbUJBQW9CLFNBQVEsMkJBQTJCO0lBRTFDO0lBQXRCLFlBQXNCLFVBQXdCO1FBQzFDLEtBQUssQ0FBQyxVQUFVLENBQUMsQ0FBQztRQURBLGVBQVUsR0FBVixVQUFVLENBQWM7SUFFOUMsQ0FBQzt3R0FKUSxtQkFBbUI7NEZBQW5CLG1CQUFtQiw2RUNUaEMsNFBBSUE7OzR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Component, EventEmitter, Output } from '@angular/core';
2
+ import { AbstractCustomCardComponent } from '@netgrif/components-core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@netgrif/components-core";
5
+ import * as i2 from "@ngx-translate/core";
6
+ import * as i3 from "@ngbracket/ngx-layout";
7
+ import * as i4 from "@angular/material/card";
8
+ import * as i5 from "@swimlane/ngx-charts";
9
+ export class LinearGaugeCardComponent extends AbstractCustomCardComponent {
10
+ _injector;
11
+ resourceService;
12
+ translateService;
13
+ loggerService;
14
+ selectEvent;
15
+ constructor(_injector, resourceService, translateService, loggerService) {
16
+ super(_injector, resourceService, translateService, loggerService);
17
+ this._injector = _injector;
18
+ this.resourceService = resourceService;
19
+ this.translateService = translateService;
20
+ this.loggerService = loggerService;
21
+ this.selectEvent = new EventEmitter();
22
+ }
23
+ ngOnInit() {
24
+ super.ngOnInit();
25
+ }
26
+ onSelect(data) {
27
+ this.loggerService.info('Linear gauge selected.');
28
+ this.selectEvent.emit(data);
29
+ }
30
+ convertData(json) {
31
+ this.value = json.aggregations.types_count.value;
32
+ }
33
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LinearGaugeCardComponent, deps: [{ token: i0.Injector }, { token: i1.DashboardResourceService }, { token: i2.TranslateService }, { token: i1.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
34
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: LinearGaugeCardComponent, selector: "nc-linear-gauge-card", outputs: { selectEvent: "selectEvent" }, usesInheritance: true, ngImport: i0, template: "<mat-card class=\"dashboard-card custom-mat-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <ngx-charts-linear-gauge class=\"custom-chart\"\n [scheme]=\"colorScheme\"\n [value]=\"value\"\n (select)=\"onSelect($event)\"\n [units]=\"card.units\">\n </ngx-charts-linear-gauge>\n</mat-card>\n", styles: [".custom-mat-card{padding-left:0;padding-top:0}.dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-chart{width:90%;height:90%}\n"], dependencies: [{ kind: "directive", type: i3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "component", type: i4.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i5.LinearGaugeComponent, selector: "ngx-charts-linear-gauge", inputs: ["min", "max", "value", "units", "previousValue", "valueFormatting"] }] });
35
+ }
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LinearGaugeCardComponent, decorators: [{
37
+ type: Component,
38
+ args: [{ selector: 'nc-linear-gauge-card', template: "<mat-card class=\"dashboard-card custom-mat-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <ngx-charts-linear-gauge class=\"custom-chart\"\n [scheme]=\"colorScheme\"\n [value]=\"value\"\n (select)=\"onSelect($event)\"\n [units]=\"card.units\">\n </ngx-charts-linear-gauge>\n</mat-card>\n", styles: [".custom-mat-card{padding-left:0;padding-top:0}.dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-chart{width:90%;height:90%}\n"] }]
39
+ }], ctorParameters: () => [{ type: i0.Injector }, { type: i1.DashboardResourceService }, { type: i2.TranslateService }, { type: i1.LoggerService }], propDecorators: { selectEvent: [{
40
+ type: Output
41
+ }] } });
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZWFyLWdhdWdlLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGFzaGJvYXJkL2NhcmRzL2xpbmVhcmdhdWdlLWNhcmQvbGluZWFyLWdhdWdlLWNhcmQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGFzaGJvYXJkL2NhcmRzL2xpbmVhcmdhdWdlLWNhcmQvbGluZWFyLWdhdWdlLWNhcmQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxZ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gICAgICAgICAgICAgIFtzY2hlbWVdPVwiY29sb3JTY2hlbWVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdmFsdWVdPVwidmFsdWVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoc2VsZWN0KT1cIm9uU2VsZWN0KCRldmVudClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdW5pdHNdPVwiY2FyZC51bml0c1wiPlxuICAgIDwvbmd4LWNoYXJ0cy1saW5lYXItZ2F1Z2U+XG48L21hdC1jYXJkPlxuIl19
@@ -0,0 +1,54 @@
1
+ import { Component, EventEmitter, Output } from '@angular/core';
2
+ import { AbstractCustomCardComponent, DashboardMultiData, DashboardSingleData } from '@netgrif/components-core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@netgrif/components-core";
5
+ import * as i2 from "@ngx-translate/core";
6
+ import * as i3 from "@ngbracket/ngx-layout";
7
+ import * as i4 from "@angular/material/card";
8
+ import * as i5 from "@swimlane/ngx-charts";
9
+ export class LineChartCardComponent extends AbstractCustomCardComponent {
10
+ _injector;
11
+ resourceService;
12
+ translateService;
13
+ loggerService;
14
+ timeline = true;
15
+ selectEvent;
16
+ constructor(_injector, resourceService, translateService, loggerService) {
17
+ super(_injector, resourceService, translateService, loggerService);
18
+ this._injector = _injector;
19
+ this.resourceService = resourceService;
20
+ this.translateService = translateService;
21
+ this.loggerService = loggerService;
22
+ this.selectEvent = new EventEmitter();
23
+ }
24
+ ngOnInit() {
25
+ super.ngOnInit();
26
+ }
27
+ onSelect(data) {
28
+ this.loggerService.info('Line chart selected.');
29
+ this.selectEvent.emit(data);
30
+ }
31
+ convertData(json) {
32
+ let index = 0;
33
+ let result;
34
+ for (result in json.aggregations) {
35
+ if (json.aggregations.hasOwnProperty(result)) {
36
+ this.multi.push(new DashboardMultiData(result, new Array()));
37
+ json.aggregations[result].buckets.forEach(bucket => {
38
+ this.multi[index].series.push(new DashboardSingleData(bucket.key, bucket.doc_count));
39
+ });
40
+ index++;
41
+ }
42
+ }
43
+ this.multi = [...this.multi];
44
+ }
45
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LineChartCardComponent, deps: [{ token: i0.Injector }, { token: i1.DashboardResourceService }, { token: i2.TranslateService }, { token: i1.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
46
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: LineChartCardComponent, selector: "nc-line-chart-card", outputs: { selectEvent: "selectEvent" }, usesInheritance: true, ngImport: i0, template: "<mat-card class=\"dashboard-card custom-mat-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <ngx-charts-line-chart class=\"custom-chart dashboard-line-chart\"\n [legend]=\"showLegend\"\n [showXAxisLabel]=\"showXAxisLabel\"\n [showYAxisLabel]=\"showYAxisLabel\"\n [xAxis]=\"xAxis\"\n [yAxis]=\"yAxis\"\n [xAxisLabel]=\"card.xAxisLabel\"\n [yAxisLabel]=\"card.yAxisLabel\"\n [timeline]=\"timeline\"\n [results]=\"multi\"\n [legendTitle]=\"card.title\"\n (select)=\"onSelect($event)\">\n </ngx-charts-line-chart>\n</mat-card>\n", styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-mat-card{padding-left:0;padding-top:0}\n"], dependencies: [{ kind: "directive", type: i3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "component", type: i4.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i5.LineChartComponent, selector: "ngx-charts-line-chart", inputs: ["legend", "legendTitle", "legendPosition", "xAxis", "yAxis", "showXAxisLabel", "showYAxisLabel", "xAxisLabel", "yAxisLabel", "autoScale", "timeline", "gradient", "showGridLines", "curve", "activeEntries", "schemeType", "rangeFillOpacity", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "xAxisTickFormatting", "yAxisTickFormatting", "xAxisTicks", "yAxisTicks", "roundDomains", "tooltipDisabled", "showRefLines", "referenceLines", "showRefLabels", "xScaleMin", "xScaleMax", "yScaleMin", "yScaleMax"], outputs: ["activate", "deactivate"] }] });
47
+ }
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LineChartCardComponent, decorators: [{
49
+ type: Component,
50
+ args: [{ selector: 'nc-line-chart-card', template: "<mat-card class=\"dashboard-card custom-mat-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <ngx-charts-line-chart class=\"custom-chart dashboard-line-chart\"\n [legend]=\"showLegend\"\n [showXAxisLabel]=\"showXAxisLabel\"\n [showYAxisLabel]=\"showYAxisLabel\"\n [xAxis]=\"xAxis\"\n [yAxis]=\"yAxis\"\n [xAxisLabel]=\"card.xAxisLabel\"\n [yAxisLabel]=\"card.yAxisLabel\"\n [timeline]=\"timeline\"\n [results]=\"multi\"\n [legendTitle]=\"card.title\"\n (select)=\"onSelect($event)\">\n </ngx-charts-line-chart>\n</mat-card>\n", styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-mat-card{padding-left:0;padding-top:0}\n"] }]
51
+ }], ctorParameters: () => [{ type: i0.Injector }, { type: i1.DashboardResourceService }, { type: i2.TranslateService }, { type: i1.LoggerService }], propDecorators: { selectEvent: [{
52
+ type: Output
53
+ }] } });
54
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZS1jaGFydC1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2Rhc2hib2FyZC9jYXJkcy9saW5lY2hhcnQtY2FyZC9saW5lLWNoYXJ0LWNhcmQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGFzaGJvYXJkL2NhcmRzL2xpbmVjaGFydC1jYXJkL2xpbmUtY2hhcnQtY2FyZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFP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Y2tldC5rZXksIGJ1Y2tldC5kb2NfY291bnQpKTtcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICBpbmRleCsrO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHRoaXMubXVsdGkgPSBbLi4udGhpcy5tdWx0aV07XG4gICAgfVxufVxuIiwiPG1hdC1jYXJkIGNsYXNzPVwiZGFzaGJvYXJkLWNhcmQgY3VzdG9tLW1hdC1jYXJkXCIgZnhMYXlvdXQ9XCJyb3dcIiBmeExheW91dEFsaWduPVwic3RhcnQgc3RhcnRcIj5cbiAgICA8bmd4LWNoYXJ0cy1saW5lLWNoYXJ0IGNsYXNzPVwiY3VzdG9tLWNoYXJ0IGRhc2hib2FyZC1saW5lLWNoYXJ0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIFtsZWdlbmRdPVwic2hvd0xlZ2VuZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICBbc2hvd1hBeGlzTGFiZWxdPVwic2hvd1hBeGlzTGFiZWxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Nob3dZQXhpc0xhYmVsXT1cInNob3dZQXhpc0xhYmVsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIFt4QXhpc109XCJ4QXhpc1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICBbeUF4aXNdPVwieUF4aXNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgW3hBeGlzTGFiZWxdPVwiY2FyZC54QXhpc0xhYmVsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIFt5QXhpc0xhYmVsXT1cImNhcmQueUF4aXNMYWJlbFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICBbdGltZWxpbmVdPVwidGltZWxpbmVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Jlc3VsdHNdPVwibXVsdGlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgW2xlZ2VuZFRpdGxlXT1cImNhcmQudGl0bGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgKHNlbGVjdCk9XCJvblNlbGVjdCgkZXZlbnQpXCI+XG4gICAgPC9uZ3gtY2hhcnRzLWxpbmUtY2hhcnQ+XG48L21hdC1jYXJkPlxuIl19
@@ -0,0 +1,47 @@
1
+ import { Component, EventEmitter, Output } from '@angular/core';
2
+ import { AbstractCustomCardComponent, DashboardSingleData } from '@netgrif/components-core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@netgrif/components-core";
5
+ import * as i2 from "@ngx-translate/core";
6
+ import * as i3 from "@ngbracket/ngx-layout";
7
+ import * as i4 from "@angular/material/card";
8
+ import * as i5 from "@swimlane/ngx-charts";
9
+ export class PieChartCardComponent extends AbstractCustomCardComponent {
10
+ _injector;
11
+ resourceService;
12
+ translateService;
13
+ loggerService;
14
+ isDoughnut = false;
15
+ legendPosition = 'right';
16
+ selectEvent;
17
+ constructor(_injector, resourceService, translateService, loggerService) {
18
+ super(_injector, resourceService, translateService, loggerService);
19
+ this._injector = _injector;
20
+ this.resourceService = resourceService;
21
+ this.translateService = translateService;
22
+ this.loggerService = loggerService;
23
+ this.selectEvent = new EventEmitter();
24
+ }
25
+ ngOnInit() {
26
+ super.ngOnInit();
27
+ }
28
+ onSelect(data) {
29
+ this.loggerService.info('Pie chart selected.');
30
+ this.selectEvent.emit(data);
31
+ }
32
+ convertData(json) {
33
+ json.aggregations.result.buckets.forEach(bucket => {
34
+ this.single.push(new DashboardSingleData(bucket.key, bucket.doc_count));
35
+ });
36
+ this.single = [...this.single];
37
+ }
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PieChartCardComponent, deps: [{ token: i0.Injector }, { token: i1.DashboardResourceService }, { token: i2.TranslateService }, { token: i1.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
39
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PieChartCardComponent, selector: "nc-pie-chart-card", outputs: { selectEvent: "selectEvent" }, usesInheritance: true, ngImport: i0, template: "<mat-card class=\"dashboard-card custom-mat-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <ngx-charts-pie-chart class=\"custom-chart dashboard-pie-chart\"\n [scheme]=\"colorScheme\"\n [results]=\"single\"\n [gradient]=\"gradient\"\n [legend]=\"showLegend\"\n [legendPosition]=\"legendPosition\"\n [labels]=\"showLabels\"\n [doughnut]=\"isDoughnut\"\n [legendTitle]=\"card.title\"\n (select)=\"onSelect($event)\">\n </ngx-charts-pie-chart>\n</mat-card>\n", styles: [".custom-mat-card{padding-left:0;padding-top:0}.dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-chart{width:90%;height:90%}\n"], dependencies: [{ kind: "directive", type: i3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "component", type: i4.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i5.PieChartComponent, selector: "ngx-charts-pie-chart", inputs: ["labels", "legend", "legendTitle", "legendPosition", "explodeSlices", "doughnut", "arcWidth", "gradient", "activeEntries", "tooltipDisabled", "labelFormatting", "trimLabels", "maxLabelLength", "tooltipText", "margins"], outputs: ["dblclick", "select", "activate", "deactivate"] }] });
40
+ }
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PieChartCardComponent, decorators: [{
42
+ type: Component,
43
+ args: [{ selector: 'nc-pie-chart-card', template: "<mat-card class=\"dashboard-card custom-mat-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <ngx-charts-pie-chart class=\"custom-chart dashboard-pie-chart\"\n [scheme]=\"colorScheme\"\n [results]=\"single\"\n [gradient]=\"gradient\"\n [legend]=\"showLegend\"\n [legendPosition]=\"legendPosition\"\n [labels]=\"showLabels\"\n [doughnut]=\"isDoughnut\"\n [legendTitle]=\"card.title\"\n (select)=\"onSelect($event)\">\n </ngx-charts-pie-chart>\n</mat-card>\n", styles: [".custom-mat-card{padding-left:0;padding-top:0}.dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-chart{width:90%;height:90%}\n"] }]
44
+ }], ctorParameters: () => [{ type: i0.Injector }, { type: i1.DashboardResourceService }, { type: i2.TranslateService }, { type: i1.LoggerService }], propDec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RvbS1jaGFydCBkYXNoYm9hcmQtcGllLWNoYXJ0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgW3NjaGVtZV09XCJjb2xvclNjaGVtZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFtyZXN1bHRzXT1cInNpbmdsZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFtncmFkaWVudF09XCJncmFkaWVudFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFtsZWdlbmRdPVwic2hvd0xlZ2VuZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFtsZWdlbmRQb3NpdGlvbl09XCJsZWdlbmRQb3NpdGlvblwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFtsYWJlbHNdPVwic2hvd0xhYmVsc1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFtkb3VnaG51dF09XCJpc0RvdWdobnV0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgW2xlZ2VuZFRpdGxlXT1cImNhcmQudGl0bGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAoc2VsZWN0KT1cIm9uU2VsZWN0KCRldmVudClcIj5cbiAgICA8L25neC1jaGFydHMtcGllLWNoYXJ0PlxuPC9tYXQtY2FyZD5cbiJdfQ==
@@ -0,0 +1,43 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import { AbstractCustomCardComponent } from '@netgrif/components-core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@netgrif/components-core";
5
+ import * as i2 from "@ngx-translate/core";
6
+ import * as i3 from "@angular/cdk/portal";
7
+ export class PortalCardComponent extends AbstractCustomCardComponent {
8
+ _injector;
9
+ resourceService;
10
+ translateService;
11
+ loggerService;
12
+ injectedDashboard;
13
+ componentPortal;
14
+ selectEvent;
15
+ constructor(_injector, resourceService, translateService, loggerService) {
16
+ super(_injector, resourceService, translateService, loggerService);
17
+ this._injector = _injector;
18
+ this.resourceService = resourceService;
19
+ this.translateService = translateService;
20
+ this.loggerService = loggerService;
21
+ this.selectEvent = new EventEmitter();
22
+ }
23
+ ngOnInit() {
24
+ this.injectedDashboard = this.componentPortal;
25
+ }
26
+ onSelect(data) {
27
+ this.loggerService.info('Custom dashboard selected.');
28
+ this.selectEvent.emit(data);
29
+ }
30
+ convertData(json) {
31
+ }
32
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PortalCardComponent, deps: [{ token: i0.Injector }, { token: i1.DashboardResourceService }, { token: i2.TranslateService }, { token: i1.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
33
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PortalCardComponent, selector: "nc-portal-card", inputs: { componentPortal: "componentPortal" }, outputs: { selectEvent: "selectEvent" }, usesInheritance: true, ngImport: i0, template: "<ng-template [cdkPortalOutlet]=\"injectedDashboard\">\n</ng-template>\n", styles: [".custom-mat-card{padding-left:0;padding-top:0}.dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-chart{width:90%;height:90%}\n"], dependencies: [{ kind: "directive", type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
34
+ }
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PortalCardComponent, decorators: [{
36
+ type: Component,
37
+ args: [{ selector: 'nc-portal-card', template: "<ng-template [cdkPortalOutlet]=\"injectedDashboard\">\n</ng-template>\n", styles: [".custom-mat-card{padding-left:0;padding-top:0}.dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-chart{width:90%;height:90%}\n"] }]
38
+ }], ctorParameters: () => [{ type: i0.Injector }, { type: i1.DashboardResourceService }, { type: i2.TranslateService }, { type: i1.LoggerService }], propDecorators: { componentPortal: [{
39
+ type: Input
40
+ }], selectEvent: [{
41
+ type: Output
42
+ }] } });
43
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9ydGFsLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGFzaGJvYXJkL2NhcmRzL3BvcnRhbC1jYXJkL3BvcnRhbC1jYXJkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2Rhc2hib2FyZC9jYXJkcy9wb3J0YWwtY2FyZC9wb3J0YWwtY2FyZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBWSxLQUFLLEVBQVUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZGLE9BQU8sRUFBQywyQkFBMkIsRUFBa0QsTUFBTSwwQkFBMEIsQ0FBQzs7Ozs7QUFVdEgsTUFBTSxPQUFPLG1CQUFvQixTQUFRLDJCQUEyQjtJQU0xQztJQUNBO0lBQ0E7SUFDQTtJQVBmLGlCQUFpQixDQUFjO0lBQ3RCLGVBQWUsQ0FBK0M7SUFDcEUsV0FBVyxDQUFzQztJQUUzRCxZQUFzQixTQUFtQixFQUNuQixlQUF5QyxFQUN6QyxnQkFBa0MsRUFDbEMsYUFBNEI7UUFDOUMsS0FBSyxDQUFDLFNBQVMsRUFBRSxlQUFlLEVBQUUsZ0JBQWdCLEVBQUUsYUFBYSxDQUFDLENBQUM7UUFKakQsY0FBUyxHQUFULFNBQVMsQ0FBVTtRQUNuQixvQkFBZSxHQUFmLGVB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Agc3VwZXIoX2luamVjdG9yLCByZXNvdXJjZVNlcnZpY2UsIHRyYW5zbGF0ZVNlcnZpY2UsIGxvZ2dlclNlcnZpY2UpO1xuICAgICAgICB0aGlzLnNlbGVjdEV2ZW50ID0gbmV3IEV2ZW50RW1pdHRlcigpO1xuICAgIH1cblxuICAgIG5nT25Jbml0KCk6IHZvaWQge1xuICAgICAgICB0aGlzLmluamVjdGVkRGFzaGJvYXJkID0gdGhpcy5jb21wb25lbnRQb3J0YWw7XG4gICAgfVxuXG4gICAgb25TZWxlY3QoZGF0YTogRGFzaGJvYXJkRXZlbnRDb250ZW50KSB7XG4gICAgICAgIHRoaXMubG9nZ2VyU2VydmljZS5pbmZvKCdDdXN0b20gZGFzaGJvYXJkIHNlbGVjdGVkLicpO1xuICAgICAgICB0aGlzLnNlbGVjdEV2ZW50LmVtaXQoZGF0YSk7XG4gICAgfVxuXG4gICAgY29udmVydERhdGEoanNvbjogQWdncmVnYXRpb25SZXN1bHQpOiB2b2lkIHtcbiAgICB9XG59XG4iLCI8bmctdGVtcGxhdGUgW2Nka1BvcnRhbE91dGxldF09XCJpbmplY3RlZERhc2hib2FyZFwiPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
@@ -0,0 +1,27 @@
1
+ import { Component } from '@angular/core';
2
+ import { AbstractDashboardContentComponent } from '@netgrif/components-core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@netgrif/components-core";
5
+ import * as i2 from "@angular/common";
6
+ import * as i3 from "@angular/material/grid-list";
7
+ import * as i4 from "../cards/count-card/count-card.component";
8
+ import * as i5 from "../cards/iframe-card/iframe-card.component";
9
+ import * as i6 from "../cards/piechart-card/pie-chart-card.component";
10
+ import * as i7 from "../cards/linechart-card/line-chart-card.component";
11
+ import * as i8 from "../cards/barchart-card/barchart-card.component";
12
+ import * as i9 from "../cards/lineargauge-card/linear-gauge-card.component";
13
+ import * as i10 from "../cards/portal-card/portal-card.component";
14
+ export class DashboardContentComponent extends AbstractDashboardContentComponent {
15
+ _log;
16
+ constructor(_log) {
17
+ super(_log);
18
+ this._log = _log;
19
+ }
20
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DashboardContentComponent, deps: [{ token: i1.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
21
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DashboardContentComponent, selector: "nc-dashboard-content", usesInheritance: true, ngImport: i0, template: "<mat-grid-list [cols]=\"params.columns\" rowHeight=\"210px\">\n <mat-grid-tile *ngFor=\"let card of gridElements\"\n [colspan]=\"card.layout.cols\"\n [rowspan]=\"card.layout.rows\"\n [ngSwitch]=\"card.type\">\n <nc-count-card *ngSwitchCase=\"cardTypes.COUNT\" [card]=\"card.item\" class=\"full-size\"></nc-count-card>\n <nc-iframe-card *ngSwitchCase=\"cardTypes.IFRAME\" [card]=\"card.item\" class=\"full-size\"></nc-iframe-card>\n <nc-pie-chart-card *ngSwitchCase=\"cardTypes.PIE\" [card]=\"card.item\" class=\"full-size\"></nc-pie-chart-card>\n <nc-line-chart-card *ngSwitchCase=\"cardTypes.LINE\" [card]=\"card.item\" class=\"full-size\"></nc-line-chart-card>\n <nc-linear-gauge-card *ngSwitchCase=\"cardTypes.LINEARGAUGE\" [card]=\"card.item\"\n class=\"full-size\"></nc-linear-gauge-card>\n <nc-barchart-card *ngSwitchCase=\"cardTypes.BAR\" [card]=\"card.item\" class=\"full-size\"></nc-barchart-card>\n <nc-portal-card *ngSwitchCase=\"cardTypes.DEFAULT\" [card]=\"card.item\"\n [componentPortal]=\"card.item.portalComponent\" class=\"full-size\"></nc-portal-card>\n <div *ngSwitchCase=\"cardTypes.BLANK\"></div>\n </mat-grid-tile>\n</mat-grid-list>\n", styles: [".full-size{width:100%;height:100%;margin:auto;padding:0}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i3.MatGridList, selector: "mat-grid-list", inputs: ["cols", "gutterSize", "rowHeight"], exportAs: ["matGridList"] }, { kind: "component", type: i3.MatGridTile, selector: "mat-grid-tile", inputs: ["rowspan", "colspan"], exportAs: ["matGridTile"] }, { kind: "component", type: i4.CountCardComponent, selector: "nc-count-card" }, { kind: "component", type: i5.IframeCardComponent, selector: "nc-iframe-card" }, { kind: "component", type: i6.PieChartCardComponent, selector: "nc-pie-chart-card", outputs: ["selectEvent"] }, { kind: "component", type: i7.LineChartCardComponent, selector: "nc-line-chart-card", outputs: ["selectEvent"] }, { kind: "component", type: i8.BarchartCardComponent, selector: "nc-barchart-card", outputs: ["selectEvent"] }, { kind: "component", type: i9.LinearGaugeCardComponent, selector: "nc-linear-gauge-card", outputs: ["selectEvent"] }, { kind: "component", type: i10.PortalCardComponent, selector: "nc-portal-card", inputs: ["componentPortal"], outputs: ["selectEvent"] }] });
22
+ }
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DashboardContentComponent, decorators: [{
24
+ type: Component,
25
+ args: [{ selector: 'nc-dashboard-content', template: "<mat-grid-list [cols]=\"params.columns\" rowHeight=\"210px\">\n <mat-grid-tile *ngFor=\"let card of gridElements\"\n [colspan]=\"card.layout.cols\"\n [rowspan]=\"card.layout.rows\"\n [ngSwitch]=\"card.type\">\n <nc-count-card *ngSwitchCase=\"cardTypes.COUNT\" [card]=\"card.item\" class=\"full-size\"></nc-count-card>\n <nc-iframe-card *ngSwitchCase=\"cardTypes.IFRAME\" [card]=\"card.item\" class=\"full-size\"></nc-iframe-card>\n <nc-pie-chart-card *ngSwitchCase=\"cardTypes.PIE\" [card]=\"card.item\" class=\"full-size\"></nc-pie-chart-card>\n <nc-line-chart-card *ngSwitchCase=\"cardTypes.LINE\" [card]=\"card.item\" class=\"full-size\"></nc-line-chart-card>\n <nc-linear-gauge-card *ngSwitchCase=\"cardTypes.LINEARGAUGE\" [card]=\"card.item\"\n class=\"full-size\"></nc-linear-gauge-card>\n <nc-barchart-card *ngSwitchCase=\"cardTypes.BAR\" [card]=\"card.item\" class=\"full-size\"></nc-barchart-card>\n <nc-portal-card *ngSwitchCase=\"cardTypes.DEFAULT\" [card]=\"card.item\"\n [componentPortal]=\"card.item.portalComponent\" class=\"full-size\"></nc-portal-card>\n <div *ngSwitchCase=\"cardTypes.BLANK\"></div>\n </mat-grid-tile>\n</mat-grid-list>\n", styles: [".full-size{width:100%;height:100%;margin:auto;padding:0}\n"] }]
26
+ }], ctorParameters: () => [{ type: i1.LoggerService }] });
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFzaGJvYXJkLWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGFzaGJvYXJkL2Rhc2hib2FyZC1jb250ZW50L2Rhc2hib2FyZC1jb250ZW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2Rhc2hib2FyZC9kYXNoYm9hcmQtY29udGVudC9kYXNoYm9hcmQtY29udGVudC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hDLE9BQU8sRUFBQyxpQ0FBaUMsRUFBZ0IsTUFBTSwwQkFBMEIsQ0FBQzs7Ozs7Ozs7Ozs7O0FBTzFGLE1BQU0sT0FB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