@netgrif/components 6.0.4 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (739) hide show
  1. package/README.md +1 -9
  2. package/esm2020/lib/admin/admin.module.mjs +31 -0
  3. package/esm2020/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.mjs +39 -0
  4. package/esm2020/lib/admin/public-api.mjs +7 -0
  5. package/esm2020/lib/admin/role-assignment/role-assignment.component.mjs +40 -0
  6. package/esm2020/lib/admin/user-invite/user-invite.component.mjs +34 -0
  7. package/esm2020/lib/authentication/auth.module.mjs +22 -0
  8. package/esm2020/lib/authentication/authentication-overlay/authentication-overlay.component.mjs +22 -0
  9. package/esm2020/lib/authentication/public-api.mjs +5 -0
  10. package/esm2020/lib/dashboard/cards/barchart-card/barchart-card.component.mjs +40 -0
  11. package/esm2020/lib/dashboard/cards/count-card/count-card.component.mjs +20 -0
  12. package/esm2020/lib/dashboard/cards/iframe-card/iframe-card.component.mjs +19 -0
  13. package/esm2020/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.mjs +37 -0
  14. package/esm2020/lib/dashboard/cards/linechart-card/line-chart-card.component.mjs +49 -0
  15. package/esm2020/lib/dashboard/cards/piechart-card/pie-chart-card.component.mjs +42 -0
  16. package/esm2020/lib/dashboard/cards/portal-card/portal-card.component.mjs +36 -0
  17. package/esm2020/lib/dashboard/dashboard-content/dashboard-content.component.mjs +26 -0
  18. package/esm2020/lib/dashboard/dashboard.module.mjs +77 -0
  19. package/esm2020/lib/dashboard/public-api.mjs +12 -0
  20. package/esm2020/lib/data-fields/boolean-field/boolean-field.component.mjs +34 -0
  21. package/esm2020/lib/data-fields/button-field/button-field.component.mjs +32 -0
  22. package/esm2020/lib/data-fields/data-field-template/data-field-template.component.mjs +23 -0
  23. package/esm2020/lib/data-fields/data-fields.module.mjs +226 -0
  24. package/esm2020/lib/data-fields/date-field/date-field.component.mjs +32 -0
  25. package/esm2020/lib/data-fields/date-time-field/date-time-field.component.mjs +33 -0
  26. package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.mjs +25 -0
  27. package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.mjs +23 -0
  28. package/esm2020/lib/data-fields/enumeration-field/enumeration-field.component.mjs +28 -0
  29. package/esm2020/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.mjs +22 -0
  30. package/esm2020/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.mjs +22 -0
  31. package/esm2020/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.mjs +21 -0
  32. package/esm2020/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.mjs +23 -0
  33. package/esm2020/lib/data-fields/file-field/file-field.component.mjs +51 -0
  34. package/esm2020/lib/data-fields/file-field/preview-dialog/preview-dialog.component.mjs +33 -0
  35. package/esm2020/lib/data-fields/file-field-list/file-list-field.component.mjs +33 -0
  36. package/esm2020/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.mjs +45 -0
  37. package/esm2020/lib/data-fields/filter-field/filter-field.component.mjs +27 -0
  38. package/esm2020/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.mjs +18 -0
  39. package/esm2020/lib/data-fields/i18n-field/i18n-field.component.mjs +24 -0
  40. package/esm2020/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.mjs +61 -0
  41. package/esm2020/lib/data-fields/multichoice-field/multichoice-field.component.mjs +24 -0
  42. package/esm2020/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.mjs +21 -0
  43. package/esm2020/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.mjs +18 -0
  44. package/esm2020/lib/data-fields/number-field/number-currency-field/number-currency-field.component.mjs +29 -0
  45. package/esm2020/lib/data-fields/number-field/number-default-field/number-default-field.component.mjs +20 -0
  46. package/esm2020/lib/data-fields/number-field/number-field.component.mjs +33 -0
  47. package/esm2020/lib/data-fields/public-api.mjs +18 -0
  48. package/esm2020/lib/data-fields/required-label/required-label.component.mjs +18 -0
  49. package/esm2020/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs +23 -0
  50. package/esm2020/lib/data-fields/text-field/password-text-field/password-text-field.component.mjs +24 -0
  51. package/esm2020/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.mjs +82 -0
  52. package/esm2020/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs +22 -0
  53. package/esm2020/lib/data-fields/text-field/simple-text-field/simple-text-field.component.mjs +21 -0
  54. package/esm2020/lib/data-fields/text-field/text-field.component.mjs +27 -0
  55. package/esm2020/lib/data-fields/text-field/textarea-field/textarea-field.component.mjs +24 -0
  56. package/esm2020/lib/data-fields/user-field/user-field.component.mjs +32 -0
  57. package/esm2020/lib/forms/email-submission/email-submission-form.component.mjs +25 -0
  58. package/esm2020/lib/forms/email-submission/email-submission-form.module.mjs +41 -0
  59. package/esm2020/lib/forms/forgotten-password/forgotten-password-form-component.module.mjs +37 -0
  60. package/esm2020/lib/forms/forgotten-password/forgotten-password-form.component.mjs +25 -0
  61. package/esm2020/lib/forms/login/login-form.component.mjs +26 -0
  62. package/esm2020/lib/forms/login/login-form.module.mjs +37 -0
  63. package/esm2020/lib/forms/public-api.mjs +11 -0
  64. package/esm2020/lib/forms/registration/registration-form.component.mjs +26 -0
  65. package/esm2020/lib/forms/registration/registration-form.module.mjs +41 -0
  66. package/esm2020/lib/header/header-modes/edit-mode/edit-mode.component.mjs +27 -0
  67. package/esm2020/lib/header/header-modes/loading-mode/loading-mode.component.mjs +18 -0
  68. package/esm2020/lib/header/header-modes/search-mode/search-mode.component.mjs +41 -0
  69. package/esm2020/lib/header/header-modes/sort-mode/sort-mode.component.mjs +20 -0
  70. package/esm2020/lib/header/header.component.mjs +49 -0
  71. package/esm2020/lib/header/header.module.mjs +64 -0
  72. package/esm2020/lib/header/public-api.mjs +12 -0
  73. package/esm2020/lib/legal/legal-notice/legal-notice.component.mjs +17 -0
  74. package/esm2020/lib/legal/legal-notice/legal-notice.module.mjs +26 -0
  75. package/esm2020/lib/legal/public-api.mjs +5 -0
  76. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.mjs +80 -0
  77. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.mjs +42 -0
  78. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.mjs +85 -0
  79. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.mjs +77 -0
  80. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.mjs +30 -0
  81. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.mjs +2 -0
  82. package/esm2020/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.mjs +31 -0
  83. package/esm2020/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.mjs +23 -0
  84. package/esm2020/lib/navigation/navigation-drawer/navigation-drawer.component.mjs +31 -0
  85. package/esm2020/lib/navigation/navigation-rail/navigation-rail.component.mjs +42 -0
  86. package/esm2020/lib/navigation/navigation-tree/navigation-tree.component.mjs +24 -0
  87. package/esm2020/lib/navigation/navigation.module.mjs +124 -0
  88. package/esm2020/lib/navigation/public-api.mjs +14 -0
  89. package/esm2020/lib/navigation/quick-panel/components/internal-link/internal-link.component.mjs +18 -0
  90. package/esm2020/lib/navigation/quick-panel/components/language-selector/language-selector.component.mjs +39 -0
  91. package/esm2020/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.mjs +23 -0
  92. package/esm2020/lib/navigation/quick-panel/components/quick-panel.component.mjs +26 -0
  93. package/esm2020/lib/navigation/quick-panel/public-api.mjs +9 -0
  94. package/esm2020/lib/navigation/quick-panel/quick-panel.module.mjs +52 -0
  95. package/esm2020/lib/panel/case-panel/case-panel.component.mjs +36 -0
  96. package/esm2020/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.mjs +21 -0
  97. package/esm2020/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.mjs +49 -0
  98. package/esm2020/lib/panel/panel-item/panel-item.component.mjs +22 -0
  99. package/esm2020/lib/panel/panel.component.mjs +19 -0
  100. package/esm2020/lib/panel/panel.module.mjs +96 -0
  101. package/esm2020/lib/panel/public-api.mjs +14 -0
  102. package/esm2020/lib/panel/public-workflow-panel/public-workflow-panel.component.mjs +22 -0
  103. package/esm2020/lib/panel/task-panel/task-panel.component.mjs +104 -0
  104. package/esm2020/lib/panel/task-panel-list/task-list.component.mjs +33 -0
  105. package/esm2020/lib/panel/task-panel-list-pagination/task-list-pagination.component.mjs +33 -0
  106. package/esm2020/lib/panel/workflow-panel/workflow-panel.component.mjs +26 -0
  107. package/esm2020/lib/routing/public-api.mjs +3 -0
  108. package/esm2020/lib/routing/redirect/redirect.component.mjs +20 -0
  109. package/esm2020/lib/routing/redirect.module.mjs +17 -0
  110. package/esm2020/lib/search/advanced-search/advanced-search-component/advanced-search.component.mjs +21 -0
  111. package/esm2020/lib/search/advanced-search/advanced-search.module.mjs +57 -0
  112. package/esm2020/lib/search/advanced-search/public-api.mjs +8 -0
  113. package/esm2020/lib/search/advanced-search/search-clause-component/search-clause.component.mjs +20 -0
  114. package/esm2020/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.mjs +31 -0
  115. package/esm2020/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.mjs +36 -0
  116. package/esm2020/lib/search/advanced-search/search-predicate-component/search-predicate.component.mjs +29 -0
  117. package/esm2020/lib/search/fulltext-search-component/fulltext-search.component.mjs +20 -0
  118. package/esm2020/lib/search/public-api.mjs +10 -0
  119. package/esm2020/lib/search/search-component/case-search/case-search.component.mjs +25 -0
  120. package/esm2020/lib/search/search-component/search.component.mjs +107 -0
  121. package/esm2020/lib/search/search-component/task-search/task-search.component.mjs +25 -0
  122. package/esm2020/lib/search/search.module.mjs +60 -0
  123. package/esm2020/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.mjs +17 -0
  124. package/esm2020/lib/side-menu/content-components/filter-selector/filter-selector.component.mjs +51 -0
  125. package/esm2020/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.mjs +36 -0
  126. package/esm2020/lib/side-menu/content-components/import-net/import-net.component.mjs +51 -0
  127. package/esm2020/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.mjs +45 -0
  128. package/esm2020/lib/side-menu/content-components/load-filter/load-filter.component.mjs +64 -0
  129. package/esm2020/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.mjs +42 -0
  130. package/esm2020/lib/side-menu/content-components/new-case/new-case.component.mjs +43 -0
  131. package/esm2020/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.mjs +57 -0
  132. package/esm2020/lib/side-menu/content-components/option-selector/option-selector.component.mjs +30 -0
  133. package/esm2020/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.mjs +38 -0
  134. package/esm2020/lib/side-menu/content-components/public-api.mjs +19 -0
  135. package/esm2020/lib/side-menu/content-components/save-filter/save-filter.component.mjs +58 -0
  136. package/esm2020/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.mjs +38 -0
  137. package/esm2020/lib/side-menu/content-components/side-menu-content-component.module.mjs +87 -0
  138. package/esm2020/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.mjs +56 -0
  139. package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.mjs +22 -0
  140. package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.mjs +27 -0
  141. package/esm2020/lib/side-menu/content-components/user-assign/user-assign.component.mjs +36 -0
  142. package/esm2020/lib/side-menu/public-api.mjs +7 -0
  143. package/esm2020/lib/side-menu/side-menu-container/side-menu-container.component.mjs +20 -0
  144. package/esm2020/lib/side-menu/side-menu.module.mjs +42 -0
  145. package/esm2020/lib/tabs/public-api.mjs +4 -0
  146. package/esm2020/lib/tabs/tab-creation-detector/tab-creation-detector.component.mjs +21 -0
  147. package/esm2020/lib/tabs/tab-view/tab-view.component.mjs +32 -0
  148. package/esm2020/lib/tabs/tabs.module.mjs +44 -0
  149. package/esm2020/lib/task-content/field-component-resolver/field-component-resolver.component.mjs +32 -0
  150. package/esm2020/lib/task-content/public-api.mjs +6 -0
  151. package/esm2020/lib/task-content/task-content/task-content.component.mjs +36 -0
  152. package/esm2020/lib/task-content/task-content.module.mjs +47 -0
  153. package/esm2020/lib/toolbar/public-api.mjs +3 -0
  154. package/esm2020/lib/toolbar/toolbar.component.mjs +26 -0
  155. package/esm2020/lib/toolbar/toolbar.module.mjs +35 -0
  156. package/esm2020/lib/user/profile/profile.component.mjs +25 -0
  157. package/esm2020/lib/user/profile/profile.module.mjs +31 -0
  158. package/esm2020/lib/user/public-api.mjs +7 -0
  159. package/esm2020/lib/user/user-card/user-card.component.mjs +23 -0
  160. package/esm2020/lib/user/user.module.mjs +35 -0
  161. package/esm2020/lib/view/case-view/case-view.module.mjs +38 -0
  162. package/esm2020/lib/view/case-view/components/case-list/case-list.component.mjs +34 -0
  163. package/esm2020/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs +36 -0
  164. package/esm2020/lib/view/public-api.mjs +11 -0
  165. package/esm2020/lib/view/tree-case-view/tree-case-view.module.mjs +60 -0
  166. package/esm2020/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.mjs +22 -0
  167. package/esm2020/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.mjs +21 -0
  168. package/esm2020/lib/view/tree-case-view/tree-component/tree.component.mjs +27 -0
  169. package/esm2020/lib/view/tree-case-view/tree-task-content/tree-task-content.component.mjs +57 -0
  170. package/esm2020/lib/view/workflow-view/workflow-view.component.mjs +34 -0
  171. package/esm2020/lib/view/workflow-view.module.mjs +53 -0
  172. package/esm2020/netgrif-components.mjs +5 -0
  173. package/esm2020/public-api.mjs +22 -0
  174. package/fesm2015/netgrif-components.mjs +4255 -0
  175. package/fesm2015/netgrif-components.mjs.map +1 -0
  176. package/fesm2020/netgrif-components.mjs +4181 -0
  177. package/fesm2020/netgrif-components.mjs.map +1 -0
  178. package/lib/admin/admin.module.d.ts +9 -0
  179. package/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.d.ts +8 -0
  180. package/lib/admin/public-api.d.ts +2 -0
  181. package/lib/admin/role-assignment/role-assignment.component.d.ts +5 -2
  182. package/lib/admin/user-invite/user-invite.component.d.ts +3 -0
  183. package/lib/authentication/auth.module.d.ts +6 -0
  184. package/lib/authentication/authentication-overlay/authentication-overlay.component.d.ts +5 -2
  185. package/lib/dashboard/cards/barchart-card/barchart-card.component.d.ts +5 -2
  186. package/lib/dashboard/cards/count-card/count-card.component.d.ts +5 -2
  187. package/lib/dashboard/cards/iframe-card/iframe-card.component.d.ts +5 -2
  188. package/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.d.ts +5 -2
  189. package/lib/dashboard/cards/linechart-card/line-chart-card.component.d.ts +5 -2
  190. package/lib/dashboard/cards/piechart-card/pie-chart-card.component.d.ts +5 -2
  191. package/lib/dashboard/cards/portal-card/portal-card.component.d.ts +6 -3
  192. package/lib/dashboard/dashboard-content/dashboard-content.component.d.ts +5 -2
  193. package/lib/dashboard/dashboard.module.d.ts +16 -0
  194. package/lib/data-fields/boolean-field/boolean-field.component.d.ts +3 -0
  195. package/lib/data-fields/button-field/button-field.component.d.ts +3 -0
  196. package/lib/data-fields/data-field-template/data-field-template.component.d.ts +3 -0
  197. package/lib/data-fields/data-fields.module.d.ts +54 -0
  198. package/lib/data-fields/date-field/date-field.component.d.ts +3 -0
  199. package/lib/data-fields/date-time-field/date-time-field.component.d.ts +3 -0
  200. package/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.d.ts +3 -0
  201. package/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.d.ts +3 -0
  202. package/lib/data-fields/enumeration-field/enumeration-field.component.d.ts +3 -0
  203. package/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.d.ts +3 -0
  204. package/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.d.ts +3 -0
  205. package/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.d.ts +3 -0
  206. package/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.d.ts +3 -0
  207. package/lib/data-fields/file-field/file-field.component.d.ts +3 -0
  208. package/lib/data-fields/file-field/preview-dialog/preview-dialog.component.d.ts +4 -3
  209. package/lib/data-fields/file-field-list/file-list-field.component.d.ts +3 -0
  210. package/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.d.ts +3 -0
  211. package/lib/data-fields/filter-field/filter-field.component.d.ts +3 -0
  212. package/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.d.ts +3 -0
  213. package/lib/data-fields/i18n-field/i18n-field.component.d.ts +3 -0
  214. package/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.d.ts +6 -2
  215. package/lib/data-fields/multichoice-field/multichoice-field.component.d.ts +3 -0
  216. package/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.d.ts +3 -0
  217. package/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.d.ts +3 -0
  218. package/lib/data-fields/number-field/number-currency-field/number-currency-field.component.d.ts +6 -3
  219. package/lib/data-fields/number-field/number-default-field/number-default-field.component.d.ts +3 -0
  220. package/lib/data-fields/number-field/number-field.component.d.ts +3 -0
  221. package/lib/data-fields/required-label/required-label.component.d.ts +4 -3
  222. package/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.d.ts +3 -0
  223. package/lib/data-fields/text-field/password-text-field/password-text-field.component.d.ts +4 -3
  224. package/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.d.ts +23 -0
  225. package/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.d.ts +3 -0
  226. package/lib/data-fields/text-field/simple-text-field/simple-text-field.component.d.ts +3 -0
  227. package/lib/data-fields/text-field/text-field.component.d.ts +3 -0
  228. package/lib/data-fields/text-field/textarea-field/textarea-field.component.d.ts +3 -0
  229. package/lib/data-fields/user-field/user-field.component.d.ts +3 -0
  230. package/lib/forms/email-submission/email-submission-form.component.d.ts +3 -0
  231. package/lib/forms/email-submission/email-submission-form.module.d.ts +10 -0
  232. package/lib/forms/forgotten-password/forgotten-password-form-component.module.d.ts +9 -0
  233. package/lib/forms/forgotten-password/forgotten-password-form.component.d.ts +3 -0
  234. package/lib/forms/login/login-form.component.d.ts +3 -0
  235. package/lib/forms/login/login-form.module.d.ts +9 -0
  236. package/lib/forms/registration/registration-form.component.d.ts +3 -0
  237. package/lib/forms/registration/registration-form.module.d.ts +10 -0
  238. package/lib/header/header-modes/edit-mode/edit-mode.component.d.ts +3 -0
  239. package/lib/header/header-modes/loading-mode/loading-mode.component.d.ts +3 -0
  240. package/lib/header/header-modes/search-mode/search-mode.component.d.ts +3 -0
  241. package/lib/header/header-modes/sort-mode/sort-mode.component.d.ts +3 -0
  242. package/lib/header/header.component.d.ts +3 -0
  243. package/lib/header/header.module.d.ts +13 -0
  244. package/lib/legal/legal-notice/legal-notice.component.d.ts +3 -0
  245. package/lib/legal/legal-notice/legal-notice.module.d.ts +7 -0
  246. package/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.d.ts +5 -2
  247. package/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.d.ts +3 -0
  248. package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.d.ts +5 -2
  249. package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.d.ts +5 -2
  250. package/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.d.ts +3 -0
  251. package/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.d.ts +3 -0
  252. package/lib/navigation/navigation-drawer/navigation-drawer.component.d.ts +3 -0
  253. package/lib/navigation/navigation-rail/navigation-rail.component.d.ts +3 -0
  254. package/lib/navigation/navigation-tree/navigation-tree.component.d.ts +3 -0
  255. package/lib/navigation/navigation.module.d.ts +25 -0
  256. package/lib/navigation/public-api.d.ts +5 -0
  257. package/lib/navigation/quick-panel/components/internal-link/internal-link.component.d.ts +3 -0
  258. package/lib/navigation/quick-panel/components/language-selector/language-selector.component.d.ts +3 -0
  259. package/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.d.ts +3 -0
  260. package/lib/navigation/quick-panel/components/quick-panel.component.d.ts +3 -0
  261. package/lib/navigation/quick-panel/quick-panel.module.d.ts +11 -0
  262. package/lib/panel/case-panel/case-panel.component.d.ts +3 -0
  263. package/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.d.ts +3 -0
  264. package/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.d.ts +3 -0
  265. package/lib/panel/panel-item/panel-item.component.d.ts +7 -0
  266. package/lib/panel/panel.component.d.ts +3 -0
  267. package/lib/panel/panel.module.d.ts +20 -0
  268. package/lib/panel/public-api.d.ts +4 -0
  269. package/lib/panel/public-workflow-panel/public-workflow-panel.component.d.ts +3 -0
  270. package/lib/panel/task-panel/task-panel.component.d.ts +3 -0
  271. package/lib/panel/task-panel-list/task-list.component.d.ts +3 -0
  272. package/lib/panel/task-panel-list-pagination/task-list-pagination.component.d.ts +11 -0
  273. package/lib/panel/workflow-panel/workflow-panel.component.d.ts +3 -0
  274. package/lib/routing/redirect/redirect.component.d.ts +3 -0
  275. package/lib/routing/redirect.module.d.ts +5 -0
  276. package/lib/search/advanced-search/advanced-search-component/advanced-search.component.d.ts +3 -0
  277. package/lib/search/advanced-search/advanced-search.module.d.ts +12 -0
  278. package/lib/search/advanced-search/search-clause-component/search-clause.component.d.ts +3 -0
  279. package/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.d.ts +3 -0
  280. package/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.d.ts +3 -0
  281. package/lib/search/advanced-search/search-predicate-component/search-predicate.component.d.ts +3 -0
  282. package/lib/search/fulltext-search-component/fulltext-search.component.d.ts +3 -0
  283. package/lib/search/search-component/case-search/case-search.component.d.ts +3 -0
  284. package/lib/search/search-component/search.component.d.ts +3 -0
  285. package/lib/search/search-component/task-search/task-search.component.d.ts +3 -0
  286. package/lib/search/search.module.d.ts +12 -0
  287. package/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.d.ts +3 -0
  288. package/lib/side-menu/content-components/filter-selector/filter-selector.component.d.ts +3 -0
  289. package/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.d.ts +8 -0
  290. package/lib/side-menu/content-components/import-net/import-net.component.d.ts +3 -0
  291. package/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.d.ts +9 -0
  292. package/lib/side-menu/content-components/load-filter/load-filter.component.d.ts +3 -0
  293. package/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.d.ts +9 -0
  294. package/lib/side-menu/content-components/new-case/new-case.component.d.ts +3 -0
  295. package/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.d.ts +10 -0
  296. package/lib/side-menu/content-components/option-selector/option-selector.component.d.ts +3 -0
  297. package/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.d.ts +7 -0
  298. package/lib/side-menu/content-components/save-filter/save-filter.component.d.ts +3 -0
  299. package/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.d.ts +8 -0
  300. package/lib/side-menu/content-components/side-menu-content-component.module.d.ts +12 -0
  301. package/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.d.ts +11 -0
  302. package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.d.ts +3 -0
  303. package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.d.ts +3 -0
  304. package/lib/side-menu/content-components/user-assign/user-assign.component.d.ts +3 -0
  305. package/lib/side-menu/side-menu-container/side-menu-container.component.d.ts +3 -0
  306. package/lib/side-menu/side-menu.module.d.ts +10 -0
  307. package/lib/tabs/tab-creation-detector/tab-creation-detector.component.d.ts +3 -0
  308. package/lib/tabs/tab-view/tab-view.component.d.ts +3 -0
  309. package/lib/tabs/tabs.module.d.ts +10 -0
  310. package/lib/task-content/field-component-resolver/field-component-resolver.component.d.ts +3 -0
  311. package/lib/task-content/task-content/task-content.component.d.ts +3 -0
  312. package/lib/task-content/task-content.module.d.ts +10 -0
  313. package/lib/toolbar/toolbar.component.d.ts +3 -0
  314. package/lib/toolbar/toolbar.module.d.ts +8 -0
  315. package/lib/user/profile/profile.component.d.ts +3 -0
  316. package/lib/user/profile/profile.module.d.ts +7 -0
  317. package/lib/user/user-card/user-card.component.d.ts +3 -0
  318. package/lib/user/user.module.d.ts +8 -0
  319. package/lib/view/case-view/case-view.module.d.ts +10 -0
  320. package/lib/view/case-view/components/case-list/case-list.component.d.ts +3 -0
  321. package/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.d.ts +13 -0
  322. package/lib/view/public-api.d.ts +1 -0
  323. package/lib/view/tree-case-view/tree-case-view.module.d.ts +14 -0
  324. package/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.d.ts +3 -0
  325. package/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.d.ts +3 -0
  326. package/lib/view/tree-case-view/tree-component/tree.component.d.ts +3 -0
  327. package/lib/view/tree-case-view/tree-task-content/tree-task-content.component.d.ts +3 -0
  328. package/lib/view/workflow-view/workflow-view.component.d.ts +3 -0
  329. package/lib/view/workflow-view.module.d.ts +12 -0
  330. package/netgrif-components.d.ts +1 -39
  331. package/package.json +51 -42
  332. package/schematics/_commons/view-class-info.js +4 -4
  333. package/schematics/_commons/view-class-info.js.map +1 -1
  334. package/schematics/_utility/modified-library-functions.js +6 -6
  335. package/schematics/_utility/modified-library-functions.js.map +1 -1
  336. package/schematics/_utility/utility-functions.js +6 -6
  337. package/schematics/_utility/utility-functions.js.map +1 -1
  338. package/schematics/add/add/index.js +2 -2
  339. package/schematics/add/add/index.js.map +1 -1
  340. package/schematics/add/create-nc-files/index.js +5 -5
  341. package/schematics/add/create-nc-files/index.js.map +1 -1
  342. package/schematics/add/custom-themes/files/custom-themes/custom-themes.scss.template +2 -2
  343. package/schematics/add/custom-themes/files/dark-theme/custom-dark-theme.scss.template +1 -1
  344. package/schematics/add/custom-themes/files/light-theme/custom-light-theme.scss.template +1 -1
  345. package/schematics/add/custom-themes/index.js +5 -5
  346. package/schematics/add/custom-themes/index.js.map +1 -1
  347. package/schematics/migrations/4.1/migration-4.1.js +6 -6
  348. package/schematics/migrations/4.1/migration-4.1.js.map +1 -1
  349. package/schematics/migrations/5.4/migration-5.4.js +20 -20
  350. package/schematics/migrations/5.4/migration-5.4.js.map +1 -1
  351. package/schematics/view/_utility/add-view-to-nae-json.js +1 -1
  352. package/schematics/view/_utility/add-view-to-nae-json.js.map +1 -1
  353. package/schematics/view/_utility/view-service-functions.js +7 -10
  354. package/schematics/view/_utility/view-service-functions.js.map +1 -1
  355. package/schematics/view/_utility/view-utility-functions.js +6 -6
  356. package/schematics/view/_utility/view-utility-functions.js.map +1 -1
  357. package/schematics/view/create-view/schematic-create-view.js +4 -4
  358. package/schematics/view/create-view/schematic-create-view.js.map +1 -1
  359. package/schematics/view/create-view-prompt/schematic-create-sidenav-prompt.js +1 -1
  360. package/schematics/view/create-view-prompt/schematic-create-sidenav-prompt.js.map +1 -1
  361. package/schematics/view/create-view-prompt/schematic-create-view-prompt.js +15 -15
  362. package/schematics/view/create-view-prompt/schematic-create-view-prompt.js.map +1 -1
  363. package/schematics/view/create-view-prompt/views/case-view/create-case-view.js +9 -13
  364. package/schematics/view/create-view-prompt/views/case-view/create-case-view.js.map +1 -1
  365. package/schematics/view/create-view-prompt/views/dashboard-view/create-dashboard-view.js +7 -7
  366. package/schematics/view/create-view-prompt/views/dashboard-view/create-dashboard-view.js.map +1 -1
  367. package/schematics/view/create-view-prompt/views/empty-view/create-empty-view.js +6 -6
  368. package/schematics/view/create-view-prompt/views/empty-view/create-empty-view.js.map +1 -1
  369. package/schematics/view/create-view-prompt/views/group-view/create-group-view.js +7 -7
  370. package/schematics/view/create-view-prompt/views/group-view/create-group-view.js.map +1 -1
  371. package/schematics/view/create-view-prompt/views/login/create-login-view.js +7 -7
  372. package/schematics/view/create-view-prompt/views/login/create-login-view.js.map +1 -1
  373. package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/create-sidenav-or-toolbar-view.js +8 -8
  374. package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/create-sidenav-or-toolbar-view.js.map +1 -1
  375. package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js +9 -16
  376. package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js.map +1 -1
  377. package/schematics/view/create-view-prompt/views/task-view/create-task-view.js +9 -9
  378. package/schematics/view/create-view-prompt/views/task-view/create-task-view.js.map +1 -1
  379. package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js +7 -7
  380. package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js.map +1 -1
  381. package/src/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.theme.scss +10 -0
  382. package/src/lib/admin/role-assignment/role-assignment.component.theme.scss +2 -2
  383. package/src/lib/data-fields/data-field.theme.scss +31 -11
  384. package/src/lib/dialog/dialog.theme.scss +0 -2
  385. package/src/lib/header/header.theme.scss +2 -2
  386. package/src/lib/navigation/navigation.theme.scss +2 -2
  387. package/src/lib/panel/panel.theme.scss +7 -7
  388. package/src/lib/search/advanced-search/search-clause-component/search-clause.component.theme.scss +2 -2
  389. package/src/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.theme.scss +2 -2
  390. package/src/lib/search/advanced-search/search-predicate-component/search-predicate.component.theme.scss +2 -2
  391. package/src/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/theme/user-assign-item.component.theme.scss +5 -5
  392. package/src/lib/side-menu/side-menu.theme.scss +3 -3
  393. package/src/lib/snack-bar/snack-bar.theme.scss +0 -2
  394. package/src/lib/tabs/tabs.theme.scss +0 -2
  395. package/src/lib/user/user.theme.scss +2 -2
  396. package/src/lib/view/view.theme.scss +3 -3
  397. package/bundles/netgrif-components.umd.js +0 -4769
  398. package/bundles/netgrif-components.umd.js.map +0 -1
  399. package/bundles/netgrif-components.umd.min.js +0 -16
  400. package/bundles/netgrif-components.umd.min.js.map +0 -1
  401. package/esm2015/lib/admin/admin.module.js +0 -19
  402. package/esm2015/lib/admin/public-api.js +0 -5
  403. package/esm2015/lib/admin/role-assignment/role-assignment.component.js +0 -28
  404. package/esm2015/lib/admin/user-invite/user-invite.component.js +0 -35
  405. package/esm2015/lib/authentication/auth.module.js +0 -15
  406. package/esm2015/lib/authentication/authentication-overlay/authentication-overlay.component.js +0 -35
  407. package/esm2015/lib/authentication/public-api.js +0 -5
  408. package/esm2015/lib/dashboard/cards/barchart-card/barchart-card.component.js +0 -49
  409. package/esm2015/lib/dashboard/cards/count-card/count-card.component.js +0 -22
  410. package/esm2015/lib/dashboard/cards/iframe-card/iframe-card.component.js +0 -23
  411. package/esm2015/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.js +0 -47
  412. package/esm2015/lib/dashboard/cards/linechart-card/line-chart-card.component.js +0 -59
  413. package/esm2015/lib/dashboard/cards/piechart-card/pie-chart-card.component.js +0 -52
  414. package/esm2015/lib/dashboard/cards/portal-card/portal-card.component.js +0 -47
  415. package/esm2015/lib/dashboard/dashboard-content/dashboard-content.component.js +0 -22
  416. package/esm2015/lib/dashboard/dashboard.module.js +0 -44
  417. package/esm2015/lib/dashboard/public-api.js +0 -12
  418. package/esm2015/lib/data-fields/boolean-field/boolean-field.component.js +0 -28
  419. package/esm2015/lib/data-fields/button-field/button-field.component.js +0 -27
  420. package/esm2015/lib/data-fields/data-field-template/data-field-template.component.js +0 -25
  421. package/esm2015/lib/data-fields/data-fields.module.js +0 -134
  422. package/esm2015/lib/data-fields/date-field/date-field.component.js +0 -30
  423. package/esm2015/lib/data-fields/date-time-field/date-time-field.component.js +0 -30
  424. package/esm2015/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.js +0 -23
  425. package/esm2015/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.js +0 -23
  426. package/esm2015/lib/data-fields/enumeration-field/enumeration-field.component.js +0 -21
  427. package/esm2015/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.js +0 -16
  428. package/esm2015/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.js +0 -16
  429. package/esm2015/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.js +0 -16
  430. package/esm2015/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.js +0 -22
  431. package/esm2015/lib/data-fields/file-field/file-field.component.js +0 -52
  432. package/esm2015/lib/data-fields/file-field/preview-dialog/preview-dialog.component.js +0 -33
  433. package/esm2015/lib/data-fields/file-field-list/file-list-field.component.js +0 -32
  434. package/esm2015/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.js +0 -42
  435. package/esm2015/lib/data-fields/filter-field/filter-field.component.js +0 -27
  436. package/esm2015/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.js +0 -16
  437. package/esm2015/lib/data-fields/i18n-field/i18n-field.component.js +0 -21
  438. package/esm2015/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.js +0 -22
  439. package/esm2015/lib/data-fields/multichoice-field/multichoice-field.component.js +0 -21
  440. package/esm2015/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.js +0 -16
  441. package/esm2015/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.js +0 -12
  442. package/esm2015/lib/data-fields/number-field/number-currency-field/number-currency-field.component.js +0 -34
  443. package/esm2015/lib/data-fields/number-field/number-default-field/number-default-field.component.js +0 -22
  444. package/esm2015/lib/data-fields/number-field/number-field.component.js +0 -32
  445. package/esm2015/lib/data-fields/public-api.js +0 -18
  446. package/esm2015/lib/data-fields/required-label/required-label.component.js +0 -20
  447. package/esm2015/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.js +0 -27
  448. package/esm2015/lib/data-fields/text-field/password-text-field/password-text-field.component.js +0 -26
  449. package/esm2015/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.js +0 -23
  450. package/esm2015/lib/data-fields/text-field/simple-text-field/simple-text-field.component.js +0 -23
  451. package/esm2015/lib/data-fields/text-field/text-field.component.js +0 -21
  452. package/esm2015/lib/data-fields/text-field/textarea-field/textarea-field.component.js +0 -26
  453. package/esm2015/lib/data-fields/user-field/user-field.component.js +0 -32
  454. package/esm2015/lib/forms/email-submission/email-submission-form.component.js +0 -22
  455. package/esm2015/lib/forms/email-submission/email-submission-form.module.js +0 -24
  456. package/esm2015/lib/forms/forgotten-password/forgotten-password-form-component.module.js +0 -22
  457. package/esm2015/lib/forms/forgotten-password/forgotten-password-form.component.js +0 -29
  458. package/esm2015/lib/forms/login/login-form.component.js +0 -25
  459. package/esm2015/lib/forms/login/login-form.module.js +0 -22
  460. package/esm2015/lib/forms/public-api.js +0 -11
  461. package/esm2015/lib/forms/registration/registration-form.component.js +0 -29
  462. package/esm2015/lib/forms/registration/registration-form.module.js +0 -24
  463. package/esm2015/lib/header/header-modes/edit-mode/edit-mode.component.js +0 -26
  464. package/esm2015/lib/header/header-modes/loading-mode/loading-mode.component.js +0 -16
  465. package/esm2015/lib/header/header-modes/search-mode/search-mode.component.js +0 -34
  466. package/esm2015/lib/header/header-modes/sort-mode/sort-mode.component.js +0 -16
  467. package/esm2015/lib/header/header.component.js +0 -36
  468. package/esm2015/lib/header/header.module.js +0 -39
  469. package/esm2015/lib/header/public-api.js +0 -12
  470. package/esm2015/lib/legal/legal-notice/legal-notice.component.js +0 -21
  471. package/esm2015/lib/legal/legal-notice/legal-notice.module.js +0 -17
  472. package/esm2015/lib/legal/public-api.js +0 -5
  473. package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.js +0 -54
  474. package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.js +0 -43
  475. package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.js +0 -67
  476. package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.js +0 -58
  477. package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.js +0 -30
  478. package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.js +0 -2
  479. package/esm2015/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.js +0 -35
  480. package/esm2015/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.js +0 -30
  481. package/esm2015/lib/navigation/navigation-drawer/navigation-drawer.component.js +0 -30
  482. package/esm2015/lib/navigation/navigation-rail/navigation-rail.component.js +0 -40
  483. package/esm2015/lib/navigation/navigation-tree/navigation-tree.component.js +0 -42
  484. package/esm2015/lib/navigation/navigation.module.js +0 -81
  485. package/esm2015/lib/navigation/public-api.js +0 -9
  486. package/esm2015/lib/navigation/quick-panel/components/internal-link/internal-link.component.js +0 -16
  487. package/esm2015/lib/navigation/quick-panel/components/language-selector/language-selector.component.js +0 -39
  488. package/esm2015/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.js +0 -32
  489. package/esm2015/lib/navigation/quick-panel/components/quick-panel.component.js +0 -25
  490. package/esm2015/lib/navigation/quick-panel/public-api.js +0 -9
  491. package/esm2015/lib/navigation/quick-panel/quick-panel.module.js +0 -33
  492. package/esm2015/lib/panel/case-panel/case-panel.component.js +0 -50
  493. package/esm2015/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.js +0 -25
  494. package/esm2015/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.js +0 -46
  495. package/esm2015/lib/panel/panel.component.js +0 -22
  496. package/esm2015/lib/panel/panel.module.js +0 -55
  497. package/esm2015/lib/panel/public-api.js +0 -10
  498. package/esm2015/lib/panel/public-workflow-panel/public-workflow-panel.component.js +0 -26
  499. package/esm2015/lib/panel/task-panel/task-panel.component.js +0 -113
  500. package/esm2015/lib/panel/task-panel-list/task-list.component.js +0 -31
  501. package/esm2015/lib/panel/workflow-panel/workflow-panel.component.js +0 -26
  502. package/esm2015/lib/routing/public-api.js +0 -3
  503. package/esm2015/lib/routing/redirect/redirect.component.js +0 -28
  504. package/esm2015/lib/routing/redirect.module.js +0 -12
  505. package/esm2015/lib/search/advanced-search/advanced-search-component/advanced-search.component.js +0 -24
  506. package/esm2015/lib/search/advanced-search/advanced-search.module.js +0 -36
  507. package/esm2015/lib/search/advanced-search/public-api.js +0 -8
  508. package/esm2015/lib/search/advanced-search/search-clause-component/search-clause.component.js +0 -16
  509. package/esm2015/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.js +0 -20
  510. package/esm2015/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.js +0 -26
  511. package/esm2015/lib/search/advanced-search/search-predicate-component/search-predicate.component.js +0 -27
  512. package/esm2015/lib/search/fulltext-search-component/fulltext-search.component.js +0 -21
  513. package/esm2015/lib/search/public-api.js +0 -10
  514. package/esm2015/lib/search/search-component/case-search/case-search.component.js +0 -24
  515. package/esm2015/lib/search/search-component/search.component.js +0 -98
  516. package/esm2015/lib/search/search-component/task-search/task-search.component.js +0 -24
  517. package/esm2015/lib/search/search.module.js +0 -36
  518. package/esm2015/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.js +0 -16
  519. package/esm2015/lib/side-menu/content-components/filter-selector/filter-selector.component.js +0 -45
  520. package/esm2015/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.js +0 -27
  521. package/esm2015/lib/side-menu/content-components/import-net/import-net.component.js +0 -44
  522. package/esm2015/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.js +0 -27
  523. package/esm2015/lib/side-menu/content-components/load-filter/load-filter.component.js +0 -54
  524. package/esm2015/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.js +0 -28
  525. package/esm2015/lib/side-menu/content-components/new-case/new-case.component.js +0 -48
  526. package/esm2015/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.js +0 -35
  527. package/esm2015/lib/side-menu/content-components/option-selector/option-selector.component.js +0 -22
  528. package/esm2015/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.js +0 -30
  529. package/esm2015/lib/side-menu/content-components/public-api.js +0 -19
  530. package/esm2015/lib/side-menu/content-components/save-filter/save-filter.component.js +0 -53
  531. package/esm2015/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.js +0 -26
  532. package/esm2015/lib/side-menu/content-components/side-menu-content-component.module.js +0 -50
  533. package/esm2015/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.js +0 -36
  534. package/esm2015/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.js +0 -19
  535. package/esm2015/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.js +0 -25
  536. package/esm2015/lib/side-menu/content-components/user-assign/user-assign.component.js +0 -29
  537. package/esm2015/lib/side-menu/public-api.js +0 -7
  538. package/esm2015/lib/side-menu/side-menu-container/side-menu-container.component.js +0 -22
  539. package/esm2015/lib/side-menu/side-menu.module.js +0 -27
  540. package/esm2015/lib/tabs/public-api.js +0 -4
  541. package/esm2015/lib/tabs/tab-creation-detector/tab-creation-detector.component.js +0 -22
  542. package/esm2015/lib/tabs/tab-view/tab-view.component.js +0 -32
  543. package/esm2015/lib/tabs/tabs.module.js +0 -28
  544. package/esm2015/lib/task-content/field-component-resolver/field-component-resolver.component.js +0 -21
  545. package/esm2015/lib/task-content/public-api.js +0 -6
  546. package/esm2015/lib/task-content/task-content/task-content.component.js +0 -36
  547. package/esm2015/lib/task-content/task-content.module.js +0 -32
  548. package/esm2015/lib/toolbar/public-api.js +0 -3
  549. package/esm2015/lib/toolbar/toolbar.component.js +0 -26
  550. package/esm2015/lib/toolbar/toolbar.module.js +0 -22
  551. package/esm2015/lib/user/profile/profile.component.js +0 -22
  552. package/esm2015/lib/user/profile/profile.module.js +0 -20
  553. package/esm2015/lib/user/public-api.js +0 -7
  554. package/esm2015/lib/user/user-card/user-card.component.js +0 -22
  555. package/esm2015/lib/user/user.module.js +0 -22
  556. package/esm2015/lib/view/case-view/case-view.module.js +0 -22
  557. package/esm2015/lib/view/case-view/components/case-list/case-list.component.js +0 -31
  558. package/esm2015/lib/view/public-api.js +0 -10
  559. package/esm2015/lib/view/tree-case-view/tree-case-view.module.js +0 -38
  560. package/esm2015/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.js +0 -22
  561. package/esm2015/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.js +0 -22
  562. package/esm2015/lib/view/tree-case-view/tree-component/tree.component.js +0 -23
  563. package/esm2015/lib/view/tree-case-view/tree-task-content/tree-task-content.component.js +0 -55
  564. package/esm2015/lib/view/workflow-view/workflow-view.component.js +0 -36
  565. package/esm2015/lib/view/workflow-view.module.js +0 -36
  566. package/esm2015/netgrif-components.js +0 -43
  567. package/esm2015/public-api.js +0 -22
  568. package/esm5/lib/admin/admin.module.js +0 -23
  569. package/esm5/lib/admin/public-api.js +0 -5
  570. package/esm5/lib/admin/role-assignment/role-assignment.component.js +0 -33
  571. package/esm5/lib/admin/user-invite/user-invite.component.js +0 -40
  572. package/esm5/lib/authentication/auth.module.js +0 -19
  573. package/esm5/lib/authentication/authentication-overlay/authentication-overlay.component.js +0 -40
  574. package/esm5/lib/authentication/public-api.js +0 -5
  575. package/esm5/lib/dashboard/cards/barchart-card/barchart-card.component.js +0 -55
  576. package/esm5/lib/dashboard/cards/count-card/count-card.component.js +0 -27
  577. package/esm5/lib/dashboard/cards/iframe-card/iframe-card.component.js +0 -28
  578. package/esm5/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.js +0 -52
  579. package/esm5/lib/dashboard/cards/linechart-card/line-chart-card.component.js +0 -65
  580. package/esm5/lib/dashboard/cards/piechart-card/pie-chart-card.component.js +0 -58
  581. package/esm5/lib/dashboard/cards/portal-card/portal-card.component.js +0 -52
  582. package/esm5/lib/dashboard/dashboard-content/dashboard-content.component.js +0 -27
  583. package/esm5/lib/dashboard/dashboard.module.js +0 -48
  584. package/esm5/lib/dashboard/public-api.js +0 -12
  585. package/esm5/lib/data-fields/boolean-field/boolean-field.component.js +0 -33
  586. package/esm5/lib/data-fields/button-field/button-field.component.js +0 -32
  587. package/esm5/lib/data-fields/data-field-template/data-field-template.component.js +0 -30
  588. package/esm5/lib/data-fields/data-fields.module.js +0 -138
  589. package/esm5/lib/data-fields/date-field/date-field.component.js +0 -34
  590. package/esm5/lib/data-fields/date-time-field/date-time-field.component.js +0 -34
  591. package/esm5/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.js +0 -28
  592. package/esm5/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.js +0 -28
  593. package/esm5/lib/data-fields/enumeration-field/enumeration-field.component.js +0 -25
  594. package/esm5/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.js +0 -20
  595. package/esm5/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.js +0 -20
  596. package/esm5/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.js +0 -20
  597. package/esm5/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.js +0 -27
  598. package/esm5/lib/data-fields/file-field/file-field.component.js +0 -57
  599. package/esm5/lib/data-fields/file-field/preview-dialog/preview-dialog.component.js +0 -36
  600. package/esm5/lib/data-fields/file-field-list/file-list-field.component.js +0 -36
  601. package/esm5/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.js +0 -46
  602. package/esm5/lib/data-fields/filter-field/filter-field.component.js +0 -31
  603. package/esm5/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.js +0 -20
  604. package/esm5/lib/data-fields/i18n-field/i18n-field.component.js +0 -25
  605. package/esm5/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.js +0 -26
  606. package/esm5/lib/data-fields/multichoice-field/multichoice-field.component.js +0 -25
  607. package/esm5/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.js +0 -20
  608. package/esm5/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.js +0 -19
  609. package/esm5/lib/data-fields/number-field/number-currency-field/number-currency-field.component.js +0 -38
  610. package/esm5/lib/data-fields/number-field/number-default-field/number-default-field.component.js +0 -26
  611. package/esm5/lib/data-fields/number-field/number-field.component.js +0 -36
  612. package/esm5/lib/data-fields/public-api.js +0 -18
  613. package/esm5/lib/data-fields/required-label/required-label.component.js +0 -22
  614. package/esm5/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.js +0 -32
  615. package/esm5/lib/data-fields/text-field/password-text-field/password-text-field.component.js +0 -31
  616. package/esm5/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.js +0 -28
  617. package/esm5/lib/data-fields/text-field/simple-text-field/simple-text-field.component.js +0 -28
  618. package/esm5/lib/data-fields/text-field/text-field.component.js +0 -25
  619. package/esm5/lib/data-fields/text-field/textarea-field/textarea-field.component.js +0 -31
  620. package/esm5/lib/data-fields/user-field/user-field.component.js +0 -36
  621. package/esm5/lib/forms/email-submission/email-submission-form.component.js +0 -26
  622. package/esm5/lib/forms/email-submission/email-submission-form.module.js +0 -28
  623. package/esm5/lib/forms/forgotten-password/forgotten-password-form-component.module.js +0 -26
  624. package/esm5/lib/forms/forgotten-password/forgotten-password-form.component.js +0 -33
  625. package/esm5/lib/forms/login/login-form.component.js +0 -30
  626. package/esm5/lib/forms/login/login-form.module.js +0 -26
  627. package/esm5/lib/forms/public-api.js +0 -11
  628. package/esm5/lib/forms/registration/registration-form.component.js +0 -33
  629. package/esm5/lib/forms/registration/registration-form.module.js +0 -28
  630. package/esm5/lib/header/header-modes/edit-mode/edit-mode.component.js +0 -31
  631. package/esm5/lib/header/header-modes/loading-mode/loading-mode.component.js +0 -20
  632. package/esm5/lib/header/header-modes/search-mode/search-mode.component.js +0 -39
  633. package/esm5/lib/header/header-modes/sort-mode/sort-mode.component.js +0 -20
  634. package/esm5/lib/header/header.component.js +0 -41
  635. package/esm5/lib/header/header.module.js +0 -43
  636. package/esm5/lib/header/public-api.js +0 -12
  637. package/esm5/lib/legal/legal-notice/legal-notice.component.js +0 -25
  638. package/esm5/lib/legal/legal-notice/legal-notice.module.js +0 -21
  639. package/esm5/lib/legal/public-api.js +0 -5
  640. package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.js +0 -58
  641. package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.js +0 -45
  642. package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.js +0 -71
  643. package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.js +0 -62
  644. package/esm5/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.js +0 -30
  645. package/esm5/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.js +0 -2
  646. package/esm5/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.js +0 -39
  647. package/esm5/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.js +0 -34
  648. package/esm5/lib/navigation/navigation-drawer/navigation-drawer.component.js +0 -35
  649. package/esm5/lib/navigation/navigation-rail/navigation-rail.component.js +0 -44
  650. package/esm5/lib/navigation/navigation-tree/navigation-tree.component.js +0 -46
  651. package/esm5/lib/navigation/navigation.module.js +0 -85
  652. package/esm5/lib/navigation/public-api.js +0 -9
  653. package/esm5/lib/navigation/quick-panel/components/internal-link/internal-link.component.js +0 -20
  654. package/esm5/lib/navigation/quick-panel/components/language-selector/language-selector.component.js +0 -44
  655. package/esm5/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.js +0 -37
  656. package/esm5/lib/navigation/quick-panel/components/quick-panel.component.js +0 -30
  657. package/esm5/lib/navigation/quick-panel/public-api.js +0 -9
  658. package/esm5/lib/navigation/quick-panel/quick-panel.module.js +0 -37
  659. package/esm5/lib/panel/case-panel/case-panel.component.js +0 -55
  660. package/esm5/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.js +0 -29
  661. package/esm5/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.js +0 -50
  662. package/esm5/lib/panel/panel.component.js +0 -26
  663. package/esm5/lib/panel/panel.module.js +0 -59
  664. package/esm5/lib/panel/public-api.js +0 -10
  665. package/esm5/lib/panel/public-workflow-panel/public-workflow-panel.component.js +0 -30
  666. package/esm5/lib/panel/task-panel/task-panel.component.js +0 -118
  667. package/esm5/lib/panel/task-panel-list/task-list.component.js +0 -36
  668. package/esm5/lib/panel/workflow-panel/workflow-panel.component.js +0 -30
  669. package/esm5/lib/routing/public-api.js +0 -3
  670. package/esm5/lib/routing/redirect/redirect.component.js +0 -30
  671. package/esm5/lib/routing/redirect.module.js +0 -16
  672. package/esm5/lib/search/advanced-search/advanced-search-component/advanced-search.component.js +0 -28
  673. package/esm5/lib/search/advanced-search/advanced-search.module.js +0 -40
  674. package/esm5/lib/search/advanced-search/public-api.js +0 -8
  675. package/esm5/lib/search/advanced-search/search-clause-component/search-clause.component.js +0 -20
  676. package/esm5/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.js +0 -25
  677. package/esm5/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.js +0 -31
  678. package/esm5/lib/search/advanced-search/search-predicate-component/search-predicate.component.js +0 -31
  679. package/esm5/lib/search/fulltext-search-component/fulltext-search.component.js +0 -25
  680. package/esm5/lib/search/public-api.js +0 -10
  681. package/esm5/lib/search/search-component/case-search/case-search.component.js +0 -28
  682. package/esm5/lib/search/search-component/search.component.js +0 -105
  683. package/esm5/lib/search/search-component/task-search/task-search.component.js +0 -28
  684. package/esm5/lib/search/search.module.js +0 -40
  685. package/esm5/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.js +0 -23
  686. package/esm5/lib/side-menu/content-components/filter-selector/filter-selector.component.js +0 -50
  687. package/esm5/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.js +0 -31
  688. package/esm5/lib/side-menu/content-components/import-net/import-net.component.js +0 -49
  689. package/esm5/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.js +0 -31
  690. package/esm5/lib/side-menu/content-components/load-filter/load-filter.component.js +0 -58
  691. package/esm5/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.js +0 -32
  692. package/esm5/lib/side-menu/content-components/new-case/new-case.component.js +0 -53
  693. package/esm5/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.js +0 -39
  694. package/esm5/lib/side-menu/content-components/option-selector/option-selector.component.js +0 -27
  695. package/esm5/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.js +0 -34
  696. package/esm5/lib/side-menu/content-components/public-api.js +0 -19
  697. package/esm5/lib/side-menu/content-components/save-filter/save-filter.component.js +0 -57
  698. package/esm5/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.js +0 -30
  699. package/esm5/lib/side-menu/content-components/side-menu-content-component.module.js +0 -54
  700. package/esm5/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.js +0 -40
  701. package/esm5/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.js +0 -23
  702. package/esm5/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.js +0 -30
  703. package/esm5/lib/side-menu/content-components/user-assign/user-assign.component.js +0 -34
  704. package/esm5/lib/side-menu/public-api.js +0 -7
  705. package/esm5/lib/side-menu/side-menu-container/side-menu-container.component.js +0 -27
  706. package/esm5/lib/side-menu/side-menu.module.js +0 -31
  707. package/esm5/lib/tabs/public-api.js +0 -4
  708. package/esm5/lib/tabs/tab-creation-detector/tab-creation-detector.component.js +0 -26
  709. package/esm5/lib/tabs/tab-view/tab-view.component.js +0 -37
  710. package/esm5/lib/tabs/tabs.module.js +0 -32
  711. package/esm5/lib/task-content/field-component-resolver/field-component-resolver.component.js +0 -25
  712. package/esm5/lib/task-content/public-api.js +0 -6
  713. package/esm5/lib/task-content/task-content/task-content.component.js +0 -41
  714. package/esm5/lib/task-content/task-content.module.js +0 -36
  715. package/esm5/lib/toolbar/public-api.js +0 -3
  716. package/esm5/lib/toolbar/toolbar.component.js +0 -31
  717. package/esm5/lib/toolbar/toolbar.module.js +0 -26
  718. package/esm5/lib/user/profile/profile.component.js +0 -27
  719. package/esm5/lib/user/profile/profile.module.js +0 -24
  720. package/esm5/lib/user/public-api.js +0 -7
  721. package/esm5/lib/user/user-card/user-card.component.js +0 -27
  722. package/esm5/lib/user/user.module.js +0 -26
  723. package/esm5/lib/view/case-view/case-view.module.js +0 -26
  724. package/esm5/lib/view/case-view/components/case-list/case-list.component.js +0 -36
  725. package/esm5/lib/view/public-api.js +0 -10
  726. package/esm5/lib/view/tree-case-view/tree-case-view.module.js +0 -42
  727. package/esm5/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.js +0 -27
  728. package/esm5/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.js +0 -27
  729. package/esm5/lib/view/tree-case-view/tree-component/tree.component.js +0 -28
  730. package/esm5/lib/view/tree-case-view/tree-task-content/tree-task-content.component.js +0 -60
  731. package/esm5/lib/view/workflow-view/workflow-view.component.js +0 -41
  732. package/esm5/lib/view/workflow-view.module.js +0 -40
  733. package/esm5/netgrif-components.js +0 -43
  734. package/esm5/public-api.js +0 -22
  735. package/fesm2015/netgrif-components.js +0 -4034
  736. package/fesm2015/netgrif-components.js.map +0 -1
  737. package/fesm5/netgrif-components.js +0 -4419
  738. package/fesm5/netgrif-components.js.map +0 -1
  739. package/netgrif-components.metadata.json +0 -1
@@ -0,0 +1,40 @@
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 "@angular/material/card";
7
+ import * as i4 from "@swimlane/ngx-charts";
8
+ import * as i5 from "@angular/flex-layout/flex";
9
+ export class BarchartCardComponent extends AbstractCustomCardComponent {
10
+ constructor(_injector, resourceService, translateService, loggerService) {
11
+ super(_injector, resourceService, translateService, loggerService);
12
+ this._injector = _injector;
13
+ this.resourceService = resourceService;
14
+ this.translateService = translateService;
15
+ this.loggerService = loggerService;
16
+ this.selectEvent = new EventEmitter();
17
+ }
18
+ ngOnInit() {
19
+ super.ngOnInit();
20
+ }
21
+ onSelect(data) {
22
+ this.loggerService.info('BarChart was selected');
23
+ this.selectEvent.emit(data);
24
+ }
25
+ convertData(json) {
26
+ json.aggregations.result.buckets.forEach(bucket => {
27
+ this.single.push(new DashboardSingleData(bucket.key, bucket.doc_count));
28
+ });
29
+ this.single = [...this.single];
30
+ }
31
+ }
32
+ BarchartCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BarchartCardComponent, deps: [{ token: i0.Injector }, { token: i1.DashboardResourceService }, { token: i2.TranslateService }, { token: i1.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
33
+ BarchartCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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\"\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 (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"], components: [{ type: i3.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i4.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"] }], directives: [{ type: i5.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"] }, { type: i5.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"] }] });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BarchartCardComponent, decorators: [{
35
+ type: Component,
36
+ 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\"\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 (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"] }]
37
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.DashboardResourceService }, { type: i2.TranslateService }, { type: i1.LoggerService }]; }, propDecorators: { selectEvent: [{
38
+ type: Output
39
+ }] } });
40
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyY2hhcnQtY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXNoYm9hcmQvY2FyZHMvYmFyY2hhcnQtY2FyZC9iYXJjaGFydC1jYXJkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2Rhc2hib2FyZC9jYXJkcy9iYXJjaGFydC1jYXJkL2JhcmNoYXJ0LWNhcmQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxZQUFZLEVBQW9CLE1BQU0sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNoRixPQUFPLEVBQ0gsMkJBQTJCLEVBRzNCLG1CQUFtQixFQUV0QixNQUFNLDBCQUEwQixDQUFDOzs7Ozs7O0FBU2xDLE1BQU0sT0FBTyxxQkFBc0IsU0FBUSwyQkFBMkI7SUFJbEUsWUFBc0IsU0FBbUIsRUFDbkIsZUFBeUMsRUFDekMsZ0JBQWtDLEVBQ2xDLGFBQTRCO1FBQzlDLEtBQUssQ0FBQ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QWxpZ249XCJzdGFydCBzdGFydFwiPlxuICAgIDxuZ3gtY2hhcnRzLWJhci12ZXJ0aWNhbCBjbGFzcz1cImN1c3RvbS1jaGFydFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzY2hlbWVdPVwiY29sb3JTY2hlbWVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbcmVzdWx0c109XCJzaW5nbGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZ3JhZGllbnRdPVwiZ3JhZGllbnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbeEF4aXNdPVwieEF4aXNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbeUF4aXNdPVwieUF4aXNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbGVnZW5kXT1cInNob3dMZWdlbmRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc2hvd1hBeGlzTGFiZWxdPVwic2hvd1hBeGlzTGFiZWxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc2hvd1lBeGlzTGFiZWxdPVwic2hvd1lBeGlzTGFiZWxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbeEF4aXNMYWJlbF09XCJjYXJkLnhBeGlzTGFiZWxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbeUF4aXNMYWJlbF09XCJjYXJkLnlBeGlzTGFiZWxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoc2VsZWN0KT1cIm9uU2VsZWN0KCRldmVudClcIj5cbiAgICA8L25neC1jaGFydHMtYmFyLXZlcnRpY2FsPlxuPC9tYXQtY2FyZD5cbiJdfQ==
@@ -0,0 +1,20 @@
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/material/card";
5
+ import * as i2 from "@angular/material/progress-spinner";
6
+ import * as i3 from "@angular/flex-layout/flex";
7
+ import * as i4 from "@angular/common";
8
+ export class CountCardComponent extends AbstractCountCardComponent {
9
+ constructor(_injector) {
10
+ super(_injector);
11
+ this._injector = _injector;
12
+ }
13
+ }
14
+ CountCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CountCardComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
15
+ CountCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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"], components: [{ type: i1.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i2.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }], directives: [{ 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"] }, { 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"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CountCardComponent, decorators: [{
17
+ type: Component,
18
+ 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"] }]
19
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY291bnQtY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8u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Y3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgQ291bnRDYXJkQ29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RDb3VudENhcmRDb21wb25lbnQge1xuXG4gICAgY29uc3RydWN0b3IocHJvdGVjdGVkIF9pbmplY3RvcjogSW5qZWN0b3IpIHtcbiAgICAgICAgc3VwZXIoX2luamVjdG9yKTtcbiAgICB9XG59XG4iLCI8bWF0LWNhcmQgZnhMYXlvdXQ9XCJjb2x1bW5cIiBmeExheW91dEFsaWduPVwiY2VudGVyIGNlbnRlclwiIGNsYXNzPVwiZGFzaGJvYXJkLWNhcmRcIj5cbiAgICA8c3Bhbj57e2NhcmQudGl0bGV9fTwvc3Bhbj5cbiAgICA8bmctdGVtcGxhdGUgW25nSWZdPVwibG9hZGluZ1wiIFtuZ0lmRWxzZV09XCJyZXN1bHRcIj5cbiAgICAgICAgPG1hdC1zcGlubmVyIGNvbG9yPVwicHJpbWFyeVwiPjwvbWF0LXNwaW5uZXI+XG4gICAgPC9uZy10ZW1wbGF0ZT5cbiAgICA8bmctdGVtcGxhdGUgI3Jlc3VsdD5cbiAgICAgICAgPHNwYW4gY2xhc3M9XCJudW1iZXJcIj57e2NvdW50fX08L3NwYW4+XG4gICAgPC9uZy10ZW1wbGF0ZT5cbjwvbWF0LWNhcmQ+XG4iXX0=
@@ -0,0 +1,19 @@
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 "@angular/material/card";
6
+ import * as i3 from "@angular/flex-layout/flex";
7
+ export class IframeCardComponent extends AbstractIframeCardComponent {
8
+ constructor(_sanitizer) {
9
+ super(_sanitizer);
10
+ this._sanitizer = _sanitizer;
11
+ }
12
+ }
13
+ IframeCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IframeCardComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
14
+ IframeCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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\" 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"], components: [{ type: i2.MatCard, selector: "mat-card", exportAs: ["matCard"] }], directives: [{ 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"] }, { 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"] }, { type: i3.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"] }] });
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IframeCardComponent, decorators: [{
16
+ type: Component,
17
+ 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\" 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"] }]
18
+ }], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWZyYW1lLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZG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jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIElmcmFtZUNhcmRDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdElmcmFtZUNhcmRDb21wb25lbnQge1xuXG4gICAgY29uc3RydWN0b3IocHJvdGVjdGVkIF9zYW5pdGl6ZXI6IERvbVNhbml0aXplcikge1xuICAgICAgICBzdXBlcihfc2FuaXRpemVyKTtcbiAgICB9XG59XG4iLCI8bWF0LWNhcmQgY2xhc3M9XCJkYXNoYm9hcmQtY2FyZFwiIGZ4TGF5b3V0PVwicm93XCIgZnhMYXlvdXRBbGlnbj1cInN0YXJ0IHN0YXJ0XCI+XG4gICAgPGlmcmFtZSBbc3JjXT1cInNhbml0aXplZFVSTFwiIGZ4RmxleD1cIjEwMFwiIGNsYXNzPVwiZnVsbC1zaXplXCIgdGl0bGU9XCJEYXNoYm9hcmQgZW1iZWRkZWQgY29udGVudFwiPjwvaWZyYW1lPlxuPC9tYXQtY2FyZD5cbiJdfQ==
@@ -0,0 +1,37 @@
1
+ import { 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 "@angular/material/card";
7
+ import * as i4 from "@swimlane/ngx-charts";
8
+ import * as i5 from "@angular/flex-layout/flex";
9
+ export class LinearGaugeCardComponent extends AbstractCustomCardComponent {
10
+ constructor(_injector, resourceService, translateService, loggerService) {
11
+ super(_injector, resourceService, translateService, loggerService);
12
+ this._injector = _injector;
13
+ this.resourceService = resourceService;
14
+ this.translateService = translateService;
15
+ this.loggerService = loggerService;
16
+ this.selectEvent = new EventEmitter();
17
+ }
18
+ ngOnInit() {
19
+ super.ngOnInit();
20
+ }
21
+ onSelect(data) {
22
+ this.loggerService.info('Linear gauge selected.');
23
+ this.selectEvent.emit(data);
24
+ }
25
+ convertData(json) {
26
+ this.value = json.aggregations.types_count.value;
27
+ }
28
+ }
29
+ LinearGaugeCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LinearGaugeCardComponent, deps: [{ token: i0.Injector }, { token: i1.DashboardResourceService }, { token: i2.TranslateService }, { token: i1.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
30
+ LinearGaugeCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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"], components: [{ type: i3.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i4.LinearGaugeComponent, selector: "ngx-charts-linear-gauge", inputs: ["min", "max", "value", "units", "previousValue", "valueFormatting"] }], directives: [{ type: i5.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"] }, { type: i5.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"] }] });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LinearGaugeCardComponent, decorators: [{
32
+ type: Component,
33
+ 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"] }]
34
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.DashboardResourceService }, { type: i2.TranslateService }, { type: i1.LoggerService }]; }, propDecorators: { selectEvent: [{
35
+ type: Output
36
+ }] } });
37
+ //# sourceMappingURL=data:application/json;base64,e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GVjdEV2ZW50LmVtaXQoZGF0YSk7XG4gICAgfVxuXG4gICAgY29udmVydERhdGEoanNvbjogQWdncmVnYXRpb25SZXN1bHQpOiB2b2lkIHtcbiAgICAgICAgdGhpcy52YWx1ZSA9IGpzb24uYWdncmVnYXRpb25zLnR5cGVzX2NvdW50LnZhbHVlO1xuICAgIH1cbn1cbiIsIjxtYXQtY2FyZCBjbGFzcz1cImRhc2hib2FyZC1jYXJkIGN1c3RvbS1tYXQtY2FyZFwiIGZ4TGF5b3V0PVwicm93XCIgZnhMYXlvdXRBbGlnbj1cInN0YXJ0IHN0YXJ0XCI+XG4gICAgPG5neC1jaGFydHMtbGluZWFyLWdhdWdlIGNsYXNzPVwiY3VzdG9tLWNoYXJ0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3NjaGVtZV09XCJjb2xvclNjaGVtZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIFt2YWx1ZV09XCJ2YWx1ZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIChzZWxlY3QpPVwib25TZWxlY3QoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIFt1bml0c109XCJjYXJkLnVuaXRzXCI+XG4gICAgPC9uZ3gtY2hhcnRzLWxpbmVhci1nYXVnZT5cbjwvbWF0LWNhcmQ+XG4iXX0=
@@ -0,0 +1,49 @@
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 "@angular/material/card";
7
+ import * as i4 from "@swimlane/ngx-charts";
8
+ import * as i5 from "@angular/flex-layout/flex";
9
+ export class LineChartCardComponent extends AbstractCustomCardComponent {
10
+ constructor(_injector, resourceService, translateService, loggerService) {
11
+ super(_injector, resourceService, translateService, loggerService);
12
+ this._injector = _injector;
13
+ this.resourceService = resourceService;
14
+ this.translateService = translateService;
15
+ this.loggerService = loggerService;
16
+ this.timeline = true;
17
+ this.selectEvent = new EventEmitter();
18
+ }
19
+ ngOnInit() {
20
+ super.ngOnInit();
21
+ }
22
+ onSelect(data) {
23
+ this.loggerService.info('Line chart selected.');
24
+ this.selectEvent.emit(data);
25
+ }
26
+ convertData(json) {
27
+ let index = 0;
28
+ let result;
29
+ for (result in json.aggregations) {
30
+ if (json.aggregations.hasOwnProperty(result)) {
31
+ this.multi.push(new DashboardMultiData(result, new Array()));
32
+ json.aggregations[result].buckets.forEach(bucket => {
33
+ this.multi[index].series.push(new DashboardSingleData(bucket.key, bucket.doc_count));
34
+ });
35
+ index++;
36
+ }
37
+ }
38
+ this.multi = [...this.multi];
39
+ }
40
+ }
41
+ LineChartCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LineChartCardComponent, deps: [{ token: i0.Injector }, { token: i1.DashboardResourceService }, { token: i2.TranslateService }, { token: i1.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
42
+ LineChartCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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\"\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 (select)=\"onSelect($event)\"\n >\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"], components: [{ type: i3.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i4.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"] }], directives: [{ type: i5.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"] }, { type: i5.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"] }] });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LineChartCardComponent, decorators: [{
44
+ type: Component,
45
+ 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\"\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 (select)=\"onSelect($event)\"\n >\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"] }]
46
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.DashboardResourceService }, { type: i2.TranslateService }, { type: i1.LoggerService }]; }, propDecorators: { selectEvent: [{
47
+ type: Output
48
+ }] } });
49
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZS1jaGFydC1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGd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JkTXVsdGlEYXRhKHJlc3VsdCwgbmV3IEFycmF5PERhc2hib2FyZFNpbmdsZURhdGE+KCkpKTtcbiAgICAgICAgICAgICAgICBqc29uLmFnZ3JlZ2F0aW9uc1tyZXN1bHRdLmJ1Y2tldHMuZm9yRWFjaChidWNrZXQgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm11bHRpW2luZGV4XS5zZXJpZXMucHVzaChuZXcgRGFzaGJvYXJkU2luZ2xlRGF0YShidWNrZXQua2V5LCBidWNrZXQuZG9jX2NvdW50KSk7XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgaW5kZXgrKztcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICB0aGlzLm11bHRpID0gWy4uLnRoaXMubXVsdGldO1xuICAgIH1cbn1cbiIsIjxtYXQtY2FyZCBjbGFzcz1cImRhc2hib2FyZC1jYXJkIGN1c3RvbS1tYXQtY2FyZFwiIGZ4TGF5b3V0PVwicm93XCIgZnhMYXlvdXRBbGlnbj1cInN0YXJ0IHN0YXJ0XCI+XG4gICAgPG5neC1jaGFydHMtbGluZS1jaGFydCBjbGFzcz1cImN1c3RvbS1jaGFydFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICBbbGVnZW5kXT1cInNob3dMZWdlbmRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Nob3dYQXhpc0xhYmVsXT1cInNob3dYQXhpc0xhYmVsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzaG93WUF4aXNMYWJlbF09XCJzaG93WUF4aXNMYWJlbFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICBbeEF4aXNdPVwieEF4aXNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgW3lBeGlzXT1cInlBeGlzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIFt4QXhpc0xhYmVsXT1cImNhcmQueEF4aXNMYWJlbFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICBbeUF4aXNMYWJlbF09XCJjYXJkLnlBeGlzTGFiZWxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgW3RpbWVsaW5lXT1cInRpbWVsaW5lXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIFtyZXN1bHRzXT1cIm11bHRpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIChzZWxlY3QpPVwib25TZWxlY3QoJGV2ZW50KVwiXG4gICAgPlxuICAgIDwvbmd4LWNoYXJ0cy1saW5lLWNoYXJ0PlxuPC9tYXQtY2FyZD5cbiJdfQ==
@@ -0,0 +1,42 @@
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 "@angular/material/card";
7
+ import * as i4 from "@swimlane/ngx-charts";
8
+ import * as i5 from "@angular/flex-layout/flex";
9
+ export class PieChartCardComponent extends AbstractCustomCardComponent {
10
+ constructor(_injector, resourceService, translateService, loggerService) {
11
+ super(_injector, resourceService, translateService, loggerService);
12
+ this._injector = _injector;
13
+ this.resourceService = resourceService;
14
+ this.translateService = translateService;
15
+ this.loggerService = loggerService;
16
+ this.isDoughnut = false;
17
+ this.legendPosition = 'right';
18
+ this.selectEvent = new EventEmitter();
19
+ }
20
+ ngOnInit() {
21
+ super.ngOnInit();
22
+ }
23
+ onSelect(data) {
24
+ this.loggerService.info('Pie chart selected.');
25
+ this.selectEvent.emit(data);
26
+ }
27
+ convertData(json) {
28
+ json.aggregations.result.buckets.forEach(bucket => {
29
+ this.single.push(new DashboardSingleData(bucket.key, bucket.doc_count));
30
+ });
31
+ this.single = [...this.single];
32
+ }
33
+ }
34
+ PieChartCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PieChartCardComponent, deps: [{ token: i0.Injector }, { token: i1.DashboardResourceService }, { token: i2.TranslateService }, { token: i1.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
35
+ PieChartCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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\"\n [scheme]=\"colorScheme\"\n [results]=\"single\"\n [gradient]=\"gradient\"\n [legend]=\"showLegend\"\n [legendPosition]=\"legendPosition\"\n [labels]=\"showLabels\"\n [doughnut]=\"isDoughnut\"\n (select)=\"onSelect($event)\"\n >\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"], components: [{ type: i3.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i4.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"] }], directives: [{ type: i5.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"] }, { type: i5.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"] }] });
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PieChartCardComponent, decorators: [{
37
+ type: Component,
38
+ 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\"\n [scheme]=\"colorScheme\"\n [results]=\"single\"\n [gradient]=\"gradient\"\n [legend]=\"showLegend\"\n [legendPosition]=\"legendPosition\"\n [labels]=\"showLabels\"\n [doughnut]=\"isDoughnut\"\n (select)=\"onSelect($event)\"\n >\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"] }]
39
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.DashboardResourceService }, { type: i2.TranslateService }, { type: i1.LoggerService }]; }, propDecorators: { selectEvent: [{
40
+ type: Output
41
+ }] } });
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGllLWNoYXJ0LWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGFzaGJvYXJkL2NhcmRzL3BpZWNoYXJ0LWNhcmQvcGllLWNoYXJ0LWNhcmQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGFzaGJvYXJkL2NhcmRzL3BpZWNoYXJ0LWNhcmQvcGllLWNoYXJ0LWNhcmQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxZQUFZLEVBQW9CLE1BQU0sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNoRixPQUFPLEVBQUMsMkJBQTJCLEVBQW1ELG1CQUFtQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7Ozs7Ozs7QUFTM0ksTUFBTSxPQUFPLHFCQUFzQixTQUFRLDJCQUEyQjtJQU1sRSxZQUFzQixTQUFtQixFQUNuQixlQUF5QyxFQUN6QyxnQkFBa0MsRUFDbEMsYUFBNEI7UUFDOUMsS0FBSyxDQUFDLFNBQVMsRUFBRSxlQUFlLEVBQUUsZ0JBQWdCLEVBQUUsYUFBYSxDQUFDLENBQUM7UUFKakQsY0FBUyxHQUFULFNBQVMsQ0FBVTtRQUNuQixvQkFBZSxHQUFmLGVBQWUsQ0FBMEI7UUFDekMscUJBQWdCLEdBQWhCLGdCQUFnQixDQUFrQjtRQUNsQ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1c3RvbS1jaGFydFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFtzY2hlbWVdPVwiY29sb3JTY2hlbWVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICBbcmVzdWx0c109XCJzaW5nbGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICBbZ3JhZGllbnRdPVwiZ3JhZGllbnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICBbbGVnZW5kXT1cInNob3dMZWdlbmRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICBbbGVnZW5kUG9zaXRpb25dPVwibGVnZW5kUG9zaXRpb25cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICBbbGFiZWxzXT1cInNob3dMYWJlbHNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICBbZG91Z2hudXRdPVwiaXNEb3VnaG51dFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgIChzZWxlY3QpPVwib25TZWxlY3QoJGV2ZW50KVwiXG4gICAgPlxuICAgIDwvbmd4LWNoYXJ0cy1waWUtY2hhcnQ+XG48L21hdC1jYXJkPlxuIl19
@@ -0,0 +1,36 @@
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
+ constructor(_injector, resourceService, translateService, loggerService) {
9
+ super(_injector, resourceService, translateService, loggerService);
10
+ this._injector = _injector;
11
+ this.resourceService = resourceService;
12
+ this.translateService = translateService;
13
+ this.loggerService = loggerService;
14
+ this.selectEvent = new EventEmitter();
15
+ }
16
+ ngOnInit() {
17
+ this.injectedDashboard = this.componentPortal;
18
+ }
19
+ onSelect(data) {
20
+ this.loggerService.info('Custom dashboard selected.');
21
+ this.selectEvent.emit(data);
22
+ }
23
+ convertData(json) {
24
+ }
25
+ }
26
+ PortalCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PortalCardComponent, deps: [{ token: i0.Injector }, { token: i1.DashboardResourceService }, { token: i2.TranslateService }, { token: i1.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
27
+ PortalCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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"], directives: [{ type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PortalCardComponent, decorators: [{
29
+ type: Component,
30
+ 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"] }]
31
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.DashboardResourceService }, { type: i2.TranslateService }, { type: i1.LoggerService }]; }, propDecorators: { componentPortal: [{
32
+ type: Input
33
+ }], selectEvent: [{
34
+ type: Output
35
+ }] } });
36
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9ydGFsLWNhcmQuY29tcG9uZW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nRQb3J0YWw7XG4gICAgfVxuXG4gICAgb25TZWxlY3QoZGF0YTogRGFzaGJvYXJkRXZlbnRDb250ZW50KSB7XG4gICAgICAgIHRoaXMubG9nZ2VyU2VydmljZS5pbmZvKCdDdXN0b20gZGFzaGJvYXJkIHNlbGVjdGVkLicpO1xuICAgICAgICB0aGlzLnNlbGVjdEV2ZW50LmVtaXQoZGF0YSk7XG4gICAgfVxuXG4gICAgY29udmVydERhdGEoanNvbjogQWdncmVnYXRpb25SZXN1bHQpOiB2b2lkIHtcbiAgICB9XG59XG4iLCI8bmctdGVtcGxhdGUgW2Nka1BvcnRhbE91dGxldF09XCJpbmplY3RlZERhc2hib2FyZFwiPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
@@ -0,0 +1,26 @@
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/material/grid-list";
6
+ import * as i3 from "../cards/count-card/count-card.component";
7
+ import * as i4 from "../cards/iframe-card/iframe-card.component";
8
+ import * as i5 from "../cards/piechart-card/pie-chart-card.component";
9
+ import * as i6 from "../cards/linechart-card/line-chart-card.component";
10
+ import * as i7 from "../cards/lineargauge-card/linear-gauge-card.component";
11
+ import * as i8 from "../cards/barchart-card/barchart-card.component";
12
+ import * as i9 from "../cards/portal-card/portal-card.component";
13
+ import * as i10 from "@angular/common";
14
+ export class DashboardContentComponent extends AbstractDashboardContentComponent {
15
+ constructor(_log) {
16
+ super(_log);
17
+ this._log = _log;
18
+ }
19
+ }
20
+ DashboardContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardContentComponent, deps: [{ token: i1.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
21
+ DashboardContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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"], components: [{ type: i2.MatGridList, selector: "mat-grid-list", inputs: ["cols", "gutterSize", "rowHeight"], exportAs: ["matGridList"] }, { type: i2.MatGridTile, selector: "mat-grid-tile", inputs: ["rowspan", "colspan"], exportAs: ["matGridTile"] }, { type: i3.CountCardComponent, selector: "nc-count-card" }, { type: i4.IframeCardComponent, selector: "nc-iframe-card" }, { type: i5.PieChartCardComponent, selector: "nc-pie-chart-card", outputs: ["selectEvent"] }, { type: i6.LineChartCardComponent, selector: "nc-line-chart-card", outputs: ["selectEvent"] }, { type: i7.LinearGaugeCardComponent, selector: "nc-linear-gauge-card", outputs: ["selectEvent"] }, { type: i8.BarchartCardComponent, selector: "nc-barchart-card", outputs: ["selectEvent"] }, { type: i9.PortalCardComponent, selector: "nc-portal-card", inputs: ["componentPortal"], outputs: ["selectEvent"] }], directives: [{ type: i10.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i10.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i10.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }] });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardContentComponent, decorators: [{
23
+ type: Component,
24
+ 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"] }]
25
+ }], ctorParameters: function () { return [{ type: i1.LoggerService }]; } });
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFzaGJvYXJkLWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGFzaGJvYXJkL2Rhc2hib2FyZC1jb250ZW50L2Rhc2hib2FyZC1jb250ZW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2Rhc2hib2FyZC9kYXNoYm9hcmQtY29udGVudC9kYXNoYm9hcmQtY29udGVudC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hDLE9BQU8sRUFBQyxpQ0FBaUMsRUFBZ0IsTUFBTSwwQkFBMEIsQ0FBQzs7Ozs7Ozs7Ozs7O0FBTzFGLE1BQU0sT0FBTyx5QkFBMEIsU0FBUSxpQ0FBaUM7SUFFNUUsWUFBc0IsSUFBbUI7UUFDckMsS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDO1FBRE0sU0FBSSxHQUFKLElBQUksQ0FBZTtJQUV6QyxDQUFDOzt1SEFKUSx5QkFBeUI7MkdBQXpCLHlCQUF5QixtRkNSdEMsNnlDQWlCQTs0RkRUYSx5QkFBeUI7a0JBTHJDLFNBQVM7K0JBQ0ksc0JBQXNCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnR9IGZyb20gJ0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XRlbS5wb3J0YWxDb21wb25lbnRcIiBjbGFzcz1cImZ1bGwtc2l6ZVwiPjwvbmMtcG9ydGFsLWNhcmQ+XG4gICAgICAgIDxkaXYgKm5nU3dpdGNoQ2FzZT1cImNhcmRUeXBlcy5CTEFOS1wiPjwvZGl2PlxuICAgIDwvbWF0LWdyaWQtdGlsZT5cbjwvbWF0LWdyaWQtbGlzdD5cbiJdfQ==
@@ -0,0 +1,77 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { CountCardComponent } from './cards/count-card/count-card.component';
4
+ import { IframeCardComponent } from './cards/iframe-card/iframe-card.component';
5
+ import { DashboardContentComponent } from './dashboard-content/dashboard-content.component';
6
+ import { MaterialModule, TranslateLibModule } from '@netgrif/components-core';
7
+ import { PieChartCardComponent } from './cards/piechart-card/pie-chart-card.component';
8
+ import { LineChartCardComponent } from './cards/linechart-card/line-chart-card.component';
9
+ import { BarchartCardComponent } from './cards/barchart-card/barchart-card.component';
10
+ import { LinearGaugeCardComponent } from './cards/lineargauge-card/linear-gauge-card.component';
11
+ import { NgxChartsModule } from '@swimlane/ngx-charts';
12
+ import { PortalCardComponent } from './cards/portal-card/portal-card.component';
13
+ import { MatGridListModule } from "@angular/material/grid-list";
14
+ import * as i0 from "@angular/core";
15
+ export class DashboardComponentModule {
16
+ }
17
+ DashboardComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
18
+ DashboardComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardComponentModule, declarations: [CountCardComponent,
19
+ IframeCardComponent,
20
+ DashboardContentComponent,
21
+ PieChartCardComponent,
22
+ LineChartCardComponent,
23
+ BarchartCardComponent,
24
+ LinearGaugeCardComponent,
25
+ PortalCardComponent], imports: [CommonModule,
26
+ MaterialModule,
27
+ TranslateLibModule,
28
+ NgxChartsModule,
29
+ MaterialModule,
30
+ MatGridListModule], exports: [CountCardComponent,
31
+ IframeCardComponent,
32
+ DashboardContentComponent,
33
+ PieChartCardComponent,
34
+ LineChartCardComponent,
35
+ BarchartCardComponent,
36
+ LinearGaugeCardComponent] });
37
+ DashboardComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardComponentModule, imports: [[
38
+ CommonModule,
39
+ MaterialModule,
40
+ TranslateLibModule,
41
+ NgxChartsModule,
42
+ MaterialModule,
43
+ MatGridListModule
44
+ ]] });
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardComponentModule, decorators: [{
46
+ type: NgModule,
47
+ args: [{
48
+ declarations: [
49
+ CountCardComponent,
50
+ IframeCardComponent,
51
+ DashboardContentComponent,
52
+ PieChartCardComponent,
53
+ LineChartCardComponent,
54
+ BarchartCardComponent,
55
+ LinearGaugeCardComponent,
56
+ PortalCardComponent
57
+ ],
58
+ exports: [
59
+ CountCardComponent,
60
+ IframeCardComponent,
61
+ DashboardContentComponent,
62
+ PieChartCardComponent,
63
+ LineChartCardComponent,
64
+ BarchartCardComponent,
65
+ LinearGaugeCardComponent
66
+ ],
67
+ imports: [
68
+ CommonModule,
69
+ MaterialModule,
70
+ TranslateLibModule,
71
+ NgxChartsModule,
72
+ MaterialModule,
73
+ MatGridListModule
74
+ ]
75
+ }]
76
+ }] });
77
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFzaGJvYXJkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2Rhc2hib2FyZC9kYXNoYm9hcmQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwc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xpc3RcIjtcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgQ291bnRDYXJkQ29tcG9uZW50LFxuICAgICAgICBJZnJhbWVDYXJkQ29tcG9uZW50LFxuICAgICAgICBEYXNoYm9hcmRDb250ZW50Q29tcG9uZW50LFxuICAgICAgICBQaWVDaGFydENhcmRDb21wb25lbnQsXG4gICAgICAgIExpbmVDaGFydENhcmRDb21wb25lbnQsXG4gICAgICAgIEJhcmNoYXJ0Q2FyZENvbXBvbmVudCxcbiAgICAgICAgTGluZWFyR2F1Z2VDYXJkQ29tcG9uZW50LFxuICAgICAgICBQb3J0YWxDYXJkQ29tcG9uZW50XG4gICAgXSxcbiAgICBleHBvcnRzOiBbXG4gICAgICAgIENvdW50Q2FyZENvbXBvbmVudCxcbiAgICAgICAgSWZyYW1lQ2FyZENvbXBvbmVudCxcbiAgICAgICAgRGFzaGJvYXJkQ29udGVudENvbXBvbmVudCxcbiAgICAgICAgUGllQ2hhcnRDYXJkQ29tcG9uZW50LFxuICAgICAgICBMaW5lQ2hhcnRDYXJkQ29tcG9uZW50LFxuICAgICAgICBCYXJjaGFydENhcmRDb21wb25lbnQsXG4gICAgICAgIExpbmVhckdhdWdlQ2FyZENvbXBvbmVudFxuICAgIF0sXG4gICAgaW1wb3J0czogW1xuICAgICAgICBDb21tb25Nb2R1bGUsXG4gICAgICAgIE1hdGVyaWFsTW9kdWxlLFxuICAgICAgICBUcmFuc2xhdGVMaWJNb2R1bGUsXG4gICAgICAgIE5neENoYXJ0c01vZHVsZSxcbiAgICAgICAgTWF0ZXJpYWxNb2R1bGUsXG4gICAgICAgIE1hdEdyaWRMaXN0TW9kdWxlXG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBEYXNoYm9hcmRDb21wb25lbnRNb2R1bGUge1xufVxuIl19
@@ -0,0 +1,12 @@
1
+ /* COMPONENTS */
2
+ export * from './cards/iframe-card/iframe-card.component';
3
+ export * from './cards/count-card/count-card.component';
4
+ export * from './cards/lineargauge-card/linear-gauge-card.component';
5
+ export * from './cards/piechart-card/pie-chart-card.component';
6
+ export * from './cards/barchart-card/barchart-card.component';
7
+ export * from './cards/portal-card/portal-card.component';
8
+ export * from './cards/linechart-card/line-chart-card.component';
9
+ export * from './dashboard-content/dashboard-content.component';
10
+ /* MODULES */
11
+ export * from './dashboard.module';
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2Rhc2hib2FyZC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGdCQUFnQjtBQUNoQixjQUFjLDJDQUEyQyxDQUFDO0FBQzFELGNBQWMseUNBQXlDLENBQUM7QUFDeEQsY0FBYyxzREFBc0QsQ0FBQztBQUNyRSxjQUFjLGdEQUFnRCxDQUFDO0FBQy9ELGNBQWMsK0NBQStDLENBQUM7QUFDOUQsY0FBYywyQ0FBMkMsQ0FBQztBQUMxRCxjQUFjLGtEQUFrRCxDQUFDO0FBQ2pFLGNBQWMsaURBQWlELENBQUM7QUFFaEUsYUFBYTtBQUNiLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKiBDT01QT05FTlRTICovXG5leHBvcnQgKiBmcm9tICcuL2NhcmRzL2lmcmFtZS1jYXJkL2lmcmFtZS1jYXJkLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2NhcmRzL2NvdW50LWNhcmQvY291bnQtY2FyZC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9jYXJkcy9saW5lYXJnYXVnZS1jYXJkL2xpbmVhci1nYXVnZS1jYXJkLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2NhcmRzL3BpZWNoYXJ0LWNhcmQvcGllLWNoYXJ0LWNhcmQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vY2FyZHMvYmFyY2hhcnQtY2FyZC9iYXJjaGFydC1jYXJkLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2NhcmRzL3BvcnRhbC1jYXJkL3BvcnRhbC1jYXJkLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2NhcmRzL2xpbmVjaGFydC1jYXJkL2xpbmUtY2hhcnQtY2FyZC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9kYXNoYm9hcmQtY29udGVudC9kYXNoYm9hcmQtY29udGVudC5jb21wb25lbnQnO1xuXG4vKiBNT0RVTEVTICovXG5leHBvcnQgKiBmcm9tICcuL2Rhc2hib2FyZC5tb2R1bGUnO1xuIl19
@@ -0,0 +1,34 @@
1
+ import { Component, Inject, Optional } from '@angular/core';
2
+ import { AbstractBooleanFieldComponent, BOOLEAN_VALUE_LABEL_ENABLED, NAE_INFORM_ABOUT_INVALID_DATA } from '@netgrif/components-core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@ngx-translate/core";
5
+ import * as i2 from "../data-field-template/data-field-template.component";
6
+ import * as i3 from "../required-label/required-label.component";
7
+ import * as i4 from "@angular/material/slide-toggle";
8
+ import * as i5 from "@angular/common";
9
+ import * as i6 from "@angular/material/form-field";
10
+ import * as i7 from "@angular/forms";
11
+ export class BooleanFieldComponent extends AbstractBooleanFieldComponent {
12
+ constructor(translate, isEnabled, informAboutInvalidData) {
13
+ super(translate, informAboutInvalidData);
14
+ this.isEnabled = isEnabled;
15
+ this.valueLabelEnabled = isEnabled;
16
+ }
17
+ }
18
+ BooleanFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BooleanFieldComponent, deps: [{ token: i1.TranslateService }, { token: BOOLEAN_VALUE_LABEL_ENABLED, optional: true }, { token: NAE_INFORM_ABOUT_INVALID_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
19
+ BooleanFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BooleanFieldComponent, selector: "nc-boolean-field", usesInheritance: true, ngImport: i0, template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [dataFieldTemplate]=\"boolean\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n\n<ng-template #boolean let-showLargeLayout=\"showLargeLayout\">\n <div>\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"true\"></nc-required-label>\n <br></mat-label>\n <mat-slide-toggle color=\"primary\" [formControl]=\"formControl\">\n {{createValueLabel()}}\n </mat-slide-toggle>\n <mat-error *ngIf=\"dataField.isInvalid(formControl)\">{{getErrorMessage()}}</mat-error>\n </div>\n</ng-template>\n", styles: [""], components: [{ type: i2.DataFieldTemplateComponent, selector: "nc-data-field-template" }, { type: i3.RequiredLabelComponent, selector: "nc-required-label", inputs: ["isIn"] }, { type: i4.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex", "name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "checked"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.MatLabel, selector: "mat-label" }, { type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6.MatError, selector: "mat-error", inputs: ["id"] }] });
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BooleanFieldComponent, decorators: [{
21
+ type: Component,
22
+ args: [{ selector: 'nc-boolean-field', template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [dataFieldTemplate]=\"boolean\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n\n<ng-template #boolean let-showLargeLayout=\"showLargeLayout\">\n <div>\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"true\"></nc-required-label>\n <br></mat-label>\n <mat-slide-toggle color=\"primary\" [formControl]=\"formControl\">\n {{createValueLabel()}}\n </mat-slide-toggle>\n <mat-error *ngIf=\"dataField.isInvalid(formControl)\">{{getErrorMessage()}}</mat-error>\n </div>\n</ng-template>\n", styles: [""] }]
23
+ }], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: undefined, decorators: [{
24
+ type: Optional
25
+ }, {
26
+ type: Inject,
27
+ args: [BOOLEAN_VALUE_LABEL_ENABLED]
28
+ }] }, { type: undefined, decorators: [{
29
+ type: Optional
30
+ }, {
31
+ type: Inject,
32
+ args: [NAE_INFORM_ABOUT_INVALID_DATA]
33
+ }] }]; } });
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9vbGVhbi1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy9ib29sZWFuLWZpZWxkL2Jvb2xlYW4tZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvYm9vbGVhbi1maWVsZC9ib29sZWFuLWZpZWxkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIj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