@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
@@ -1,19 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { RoleAssignmentComponent } from './role-assignment/role-assignment.component';
4
- import { MaterialModule, TranslateLibModule } from '@netgrif/components-core';
5
- import { UserInviteComponent } from './user-invite/user-invite.component';
6
- export class AdminComponentModule {
7
- }
8
- AdminComponentModule.decorators = [
9
- { type: NgModule, args: [{
10
- declarations: [RoleAssignmentComponent, UserInviteComponent],
11
- exports: [RoleAssignmentComponent, UserInviteComponent],
12
- imports: [
13
- CommonModule,
14
- MaterialModule,
15
- TranslateLibModule
16
- ]
17
- },] }
18
- ];
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRtaW4ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9hZG1pbi9hZG1pbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLHVCQUF1QixFQUFDLE1BQU0sNkNBQTZDLENBQUM7QUFDcEYsT0FBTyxFQUFDLGNBQWMsRUFBRSxrQkFBa0IsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQzVFLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHFDQUF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Q29tcG9uZW50TW9kdWxlIHtcbn1cbiJdfQ==
@@ -1,5 +0,0 @@
1
- /* COMPONENTS */
2
- export * from './role-assignment/role-assignment.component';
3
- /* MODULES */
4
- export * from './admin.module';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvYWRtaW4vcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxnQkFBZ0I7QUFDaEIsY0FBYyw2Q0FBNkMsQ0FBQztBQUU1RCxhQUFhO0FBQ2IsY0FBYyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qIENPTVBPTkVOVFMgKi9cbmV4cG9ydCAqIGZyb20gJy4vcm9sZS1hc3NpZ25tZW50L3JvbGUtYXNzaWdubWVudC5jb21wb25lbnQnO1xuXG4vKiBNT0RVTEVTICovXG5leHBvcnQgKiBmcm9tICcuL2FkbWluLm1vZHVsZSc7XG4iXX0=
@@ -1,28 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { AbstractRoleAssignment, RoleAssignmentService, UserService } from '@netgrif/components-core';
3
- export class RoleAssignmentComponent extends AbstractRoleAssignment {
4
- constructor(_service, _userService) {
5
- super(_service, _userService);
6
- this._service = _service;
7
- this._userService = _userService;
8
- }
9
- }
10
- RoleAssignmentComponent.ctorParameters = () => [
11
- { type: RoleAssignmentService },
12
- { type: UserService }
13
- ];
14
- RoleAssignmentComponent.decorators = [
15
- { type: Component, args: [{
16
- selector: 'nc-role-assignment',
17
- template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"full-height full-width padding-default\">\n\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxFlex=\"44\" class=\"full-height\">\n <ng-container *ngIf=\"users.users$ | async as users_\">\n\n <mat-toolbar color=\"primary\" class=\"height-96\">\n <span matTooltip=\"{{users_.length}}/{{users.totalUsers}}\">\n {{'admin.user-list.listTitle' | translate}}\n </span>\n <div fxFlex=\"5\"></div>\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <mat-icon fxFlex class=\"search-icon\">search</mat-icon>\n <mat-form-field fxFlex=\"100\" class=\"user-assign-search\" color=\"primary\">\n <input matInput placeholder=\"{{ 'side-menu.user.choose' | translate }}\"\n [formControl]=\"searchUserControl\">\n <button mat-button *ngIf=\"searchUserControl.value\" matSuffix mat-icon-button\n (click)=\"searchUserControl.setValue('')\">\n <mat-icon>close</mat-icon>\n </button>\n </mat-form-field>\n </div>\n\n <span style=\"flex: 1 1 auto;\"></span>\n <button disabled mat-icon-button\n matTooltip=\"{{userMultiSelect ? 'Multi selection' : 'Single selection'}}\"\n (click)=\"userMultiSelect = !userMultiSelect\">\n <mat-icon>{{userMultiSelect ? 'group' : 'person'}}</mat-icon>\n </button>\n <button mat-icon-button matTooltip=\"Select All\" (click)=\"selectAllUsers(true)\">\n <mat-icon>done_all</mat-icon>\n </button>\n <button mat-icon-button matTooltip=\"Deselect All\" (click)=\"selectAllUsers(false)\">\n <mat-icon>clear</mat-icon>\n </button>\n </mat-toolbar>\n\n <div *ngIf=\"(users.loading$ | async) === false && users_.length === 0\" fxLayout=\"column\"\n fxLayoutAlign=\"center center\" fxFlex class=\"margin-top-x2\">\n <mat-icon color=\"accent\" class=\"margin-bottom-default no-user-icon\">perm_identity</mat-icon>\n <span class=\"font-size-20\">{{ 'admin.user-list.noUsersWereFound' | translate}}</span>\n </div>\n\n <mat-selection-list #userList color=\"accent\" fxFlex=\"100\" class=\"full-width\">\n\n <cdk-virtual-scroll-viewport itemSize=\"72\" (scrolledIndexChange)=\"loadNextUserPage()\"\n class=\"full-width full-height\">\n <mat-list-option *cdkVirtualFor=\"let user of users_; let i = index;\" checkboxPosition=\"before\"\n [selected]=\"user.selected\"\n [value]=\"user\"\n [ngClass]=\"{'list-item-selected':user.selected}\"\n (click)=\"user.toggle();autoSelectRoles()\">\n <h3 matLine>{{user.fullName}}</h3>\n <p matLine>ID: {{user.id}}, Email: {{user.email}}</p>\n </mat-list-option>\n\n <div *ngIf=\"users.loading$ | async\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <mat-spinner color=\"primary\" diameter=\"50\"></mat-spinner>\n </div>\n\n </cdk-virtual-scroll-viewport>\n\n </mat-selection-list>\n </ng-container>\n </div>\n\n <div fxFlex=\"6\"></div>\n\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxFlex=\"50\" class=\"full-height\">\n\n <mat-toolbar color=\"primary\" class=\"height-96\">\n <span>{{'admin.process-list.listTitle' | translate}}</span>\n <span style=\"flex: 1 1 auto;\"></span>\n <mat-spinner *ngIf=\"users.updating$ | async\" color=\"accent\" diameter=\"30\"></mat-spinner>\n </mat-toolbar>\n\n <div *ngIf=\"(users.loading$ | async) === false && nets.processes.length === 0\" fxLayout=\"column\"\n fxLayoutAlign=\"center center\" fxFlex class=\"margin-top-x2\">\n <mat-icon color=\"accent\" class=\"margin-bottom-default no-user-icon\">timeline</mat-icon>\n <span class=\"font-size-20\">{{ 'admin.process-list.noProcessesWereFound' | translate}}</span>\n </div>\n\n <mat-accordion class=\"full-width margin-top-default process-list-accordion\" multi fxFlex>\n\n <mat-expansion-panel *ngFor=\"let item of nets.processes\" (afterExpand)=\"nets.loadProcessItemRoles(item)\"\n (afterCollapse)=\"nets.prepareToTryAgainToLoadRoles(item)\">\n\n <mat-expansion-panel-header>\n <mat-panel-title>\n <mat-icon *ngIf=\"item.someRolesSelected\" color=\"accent\" class=\"margin-right-x2\">tour</mat-icon>\n <span>{{item.initials}} - {{item.title}}</span>\n </mat-panel-title>\n <mat-panel-description class=\"process-item-description\">\n <span\n class=\"process-item-description full-width\">{{'admin.process-list.newestVersion' | translate}}\n : {{item.newestVersion}}</span>\n </mat-panel-description>\n </mat-expansion-panel-header>\n\n <div *ngIf=\"item.loading\" fxFlex=\"100\" class=\"full-width\">\n <mat-progress-bar mode=\"indeterminate\" color=\"primary\"></mat-progress-bar>\n </div>\n\n <div *ngIf=\"!item.loading && item.emptyRoles\" fxLayout=\"column\"\n fxLayoutAlign=\"center center\" fxFlex class=\"full-width full-height net-panel-content\">\n <mat-icon color=\"accent\" class=\"margin-bottom-default\">account_circle</mat-icon>\n <span class=\"font-size-15\">{{ 'admin.process-list.noRoles' | translate}}</span>\n </div>\n\n <div *ngIf=\"!item.loading && !item.emptyRoles\" fxLayout=\"column\" fxLayoutAlign=\"start start\"\n class=\"full-height full-width net-panel-content\">\n <h3>{{ 'admin.process-list.roles' | translate}}</h3>\n <div *ngFor=\"let net of item.processes; let first = first\" fxLayout=\"column\"\n fxLayoutAlign=\"start center\" class=\"full-width\">\n <mat-divider *ngIf=\"!first\" style=\"position: relative\"></mat-divider>\n\n <button mat-button matTooltip=\"{{item.someRolesSelected ? 'Deselect All' : 'Select All'}}\"\n (click)=\"toggleAllRoles(net, !item.someRolesSelected)\">\n {{net.version}}\n </button>\n\n <mat-selection-list color=\"accent\" fxLayout=\"row wrap\" fxLayoutAlign=\"start center\"\n class=\"full-width\">\n <mat-list-option *ngFor=\"let role of net.roles\" checkboxPosition=\"before\"\n [selected]=\"role.selected\" (click)=\"role.toggle();update(role)\"\n fxFlex=\"50\">\n <h3 matLine>{{role.name}}</h3>\n </mat-list-option>\n </mat-selection-list>\n </div>\n </div>\n\n </mat-expansion-panel>\n\n </mat-accordion>\n\n <div *ngIf=\"nets.loading$ | async\" fxLayout=\"column\" fxLayoutAlign=\"center center\" fxFlex=\"100\">\n <mat-spinner color=\"primary\" diameter=\"65\"></mat-spinner>\n </div>\n </div>\n</div>\n",
18
- providers: [
19
- RoleAssignmentService
20
- ],
21
- styles: [".full-height{height:100%;min-height:100%}.full-width{width:100%;min-width:100%}.padding-default{padding:8px}.padding-half{padding:4px}.padding-x2{padding:16px}.margin-default{margin:8px}.margin-half{margin:4px}.margin-x2{margin:16px}.margin-top-default{margin-top:8px}.margin-top-half{margin-top:4px}.margin-top-x2{margin-top:16px}.margin-bottom-default{margin-bottom:8px}.margin-bottom-half{margin-bottom:4px}.margin-bottom-x2{margin-bottom:16px}.margin-left-default{margin-left:8px}.margin-left-half{margin-left:4px}.margin-left-x2{margin-left:16px}.margin-right-default{margin-right:8px}.margin-right-half{margin-right:4px}.margin-right-x2{margin-right:16px}.user-list-item-margin{margin:4px 0}.net-panel-content{padding-left:24px;padding-right:24px;padding-bottom:24px}.font-size-20{font-size:20px}.font-size-15{font-size:15px}.no-user-icon{font-size:40px;width:40px;height:40px}.process-item-description{text-align:right}.process-list-accordion{overflow-y:auto;padding:0 2px 4px}.user-assign-search{width:100%}.search-icon{margin-right:10px}.height-96{min-height:96px}"]
22
- },] }
23
- ];
24
- RoleAssignmentComponent.ctorParameters = () => [
25
- { type: RoleAssignmentService },
26
- { type: UserService }
27
- ];
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9sZS1hc3NpZ25tZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvYWRtaW4vcm9sZS1hc3NpZ25tZW50L3JvbGUtYXNzaWdubWVudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMsc0JBQXNCLEVBQUUscUJBQXFCLEVBQUUsV0FBVyxFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFVcEcsTUFBTSxPQUFPLHVCQUF3QixTQUFRLHNCQUFzQjtJQUMvRCxZQUFzQixRQUErQixFQUFZLFlBQXlCO1FBQ3RGLEtBQUssQ0FBQyxRQUFRLEVBQUUsWUFBWSxDQUFDLENBQUM7UUFEWixhQUFRLEdBQVIsUUFBUSxDQUF1Qj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1
- import { Component } from '@angular/core';
2
- import { AbstractUserInviteComponent, OrganizationListService, SignUpService, SnackBarService, UserInviteService } from '@netgrif/components-core';
3
- import { TranslateService } from '@ngx-translate/core';
4
- export class UserInviteComponent extends AbstractUserInviteComponent {
5
- constructor(_userInviteService, _orgList, _signUpService, _snackBar, _translate) {
6
- super(_userInviteService, _orgList, _signUpService, _snackBar, _translate);
7
- this._userInviteService = _userInviteService;
8
- this._orgList = _orgList;
9
- this._signUpService = _signUpService;
10
- this._snackBar = _snackBar;
11
- this._translate = _translate;
12
- }
13
- }
14
- UserInviteComponent.ctorParameters = () => [
15
- { type: UserInviteService },
16
- { type: OrganizationListService },
17
- { type: SignUpService },
18
- { type: SnackBarService },
19
- { type: TranslateService }
20
- ];
21
- UserInviteComponent.decorators = [
22
- { type: Component, args: [{
23
- selector: 'nc-user-invite',
24
- template: "<div fxLayout=\"row\" fxLayoutAlign=\"start start\" class=\"full-height full-width padding-default\">\n\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxFlex=\"40\" class=\"full-height margin-right-16px\">\n\n <mat-toolbar color=\"primary\" class=\"height-96 margin-bottom-16px\">\n <span>{{'admin.user-invite.newUser' | translate}}</span>\n <div fxFlex></div>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxFlex=\"40\" class=\"padding-right-16px\">\n <mat-icon fxFlex class=\"mail-icon\">email</mat-icon>\n <mat-form-field fxFlex=\"100\" class=\"user-assign-search\" color=\"primary\">\n <input matInput placeholder=\"{{ 'admin.user-invite.mail' | translate }}\"\n [formControl]=\"invitedEmailControl\">\n <button mat-button *ngIf=\"invitedEmailControl.value\" matSuffix mat-icon-button\n (click)=\"invitedEmailControl.setValue('')\">\n <mat-icon>close</mat-icon>\n </button>\n </mat-form-field>\n </div>\n </mat-toolbar>\n\n\n <div fxLayout=\"column\" class=\"invited-card margin-bottom-16px\" fxLayoutAlign=\"start stretch\">\n\n <span class=\"invited-card-font padding-16px\">{{'admin.user-invite.selectedOrgs' | translate}}</span>\n\n <mat-divider class=\"inherited-divider\"></mat-divider>\n\n <div class=\"padding-16px\" fxLayout=\"column\" *ngIf=\"invitedGroups.length !== 0\">\n <div *ngFor=\"let org of invitedGroups\" fxFlex fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <span>{{org.name}}</span>\n\n <div fxFlex></div>\n\n <button mat-icon-button color=\"primary\" (click)=\"removeGroup(org)\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </div>\n\n <span class=\"padding-16px\"\n *ngIf=\"invitedGroups.length === 0\">{{'admin.user-invite.noSelectedOrgs' | translate}}</span>\n </div>\n\n\n <div fxLayout=\"column\" class=\"invited-card margin-bottom-16px\" fxLayoutAlign=\"start stretch\">\n\n <span class=\"invited-card-font padding-16px\">{{'admin.user-invite.selectedRoles' | translate}}</span>\n\n <mat-divider class=\"inherited-divider\"></mat-divider>\n\n <div class=\"padding-16px\" fxLayout=\"column\" *ngIf=\"invitedRoles.length !== 0\">\n <div *ngFor=\"let role of invitedRoles\" fxFlex fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <span>{{role.name}}</span>\n\n <div fxFlex></div>\n\n <button mat-icon-button color=\"primary\" (click)=\"removeRole(role)\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </div>\n\n <span class=\"padding-16px\"\n *ngIf=\"invitedRoles.length === 0\">{{'admin.user-invite.noSelectedRoles' | translate}}</span>\n </div>\n\n <div fxLayout=\"column\" fxLayoutAlign=\"start stretch\">\n <button mat-raised-button color=\"primary\" (click)=\"invite()\">\n <span>{{'admin.user-invite.invite-user' | translate}}</span>\n </button>\n </div>\n </div>\n\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxFlex=\"30\" class=\"full-height margin-right-16px\">\n\n <mat-toolbar color=\"primary\" class=\"height-96 margin-bottom-16px\">\n <span>{{'admin.user-invite.orgs' | translate}}</span>\n </mat-toolbar>\n\n <div *ngIf=\"groups.length === 0\" fxLayout=\"column\" fxLayoutAlign=\"center center\" fxFlex>\n <mat-icon color=\"accent\" class=\"margin-bottom-default no-user-icon\">groups</mat-icon>\n <span class=\"font-size-20\">{{'admin.user-invite.noGroups' | translate}}</span>\n </div>\n\n <div fxLayout=\"column\" class=\"invited-card \" *ngIf=\"groups.length !== 0\">\n <div fxLayout=\"column\">\n <div *ngFor=\"let group of groups\" class=\"padding-16px-0\" fxFlex fxLayout=\"row\"\n fxLayoutAlign=\"start center\">\n <span>{{group.name}}</span>\n\n <div fxFlex></div>\n\n <button mat-icon-button color=\"primary\" (click)=\"addGroup(group)\">\n <mat-icon>add</mat-icon>\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxFlex=\"30\" class=\"full-height\">\n\n <mat-toolbar color=\"primary\" class=\"height-96 margin-bottom-16px\">\n <span>{{'admin.process-list.listTitle' | translate}}</span>\n </mat-toolbar>\n\n <div *ngIf=\"nets.processes.length === 0\" fxLayout=\"column\"\n fxLayoutAlign=\"center center\" fxFlex class=\"margin-top-x2\">\n <mat-icon color=\"accent\" class=\"margin-bottom-default no-user-icon\">timeline</mat-icon>\n <span class=\"font-size-20\">{{ 'admin.process-list.noProcessesWereFound' | translate}}</span>\n </div>\n\n <mat-accordion class=\"full-width margin-top-default process-list-accordion\" multi fxFlex>\n\n <mat-expansion-panel *ngFor=\"let item of nets.processes\" (afterExpand)=\"nets.loadProcessItemRoles(item)\"\n (afterCollapse)=\"nets.prepareToTryAgainToLoadRoles(item)\">\n\n <mat-expansion-panel-header>\n <mat-panel-title>\n <mat-icon *ngIf=\"item.someRolesSelected\" color=\"accent\" class=\"margin-right-x2\">tour</mat-icon>\n <span>{{item.initials}} - {{item.title}}</span>\n </mat-panel-title>\n <mat-panel-description class=\"process-item-description\">\n <span\n class=\"process-item-description full-width\">{{'admin.process-list.newestVersion' | translate}}\n : {{item.newestVersion}}</span>\n </mat-panel-description>\n </mat-expansion-panel-header>\n\n <div *ngIf=\"item.loading\" fxFlex=\"100\" class=\"full-width\">\n <mat-progress-bar mode=\"indeterminate\" color=\"primary\"></mat-progress-bar>\n </div>\n\n <div *ngIf=\"!item.loading && item.emptyRoles\" fxLayout=\"column\"\n fxLayoutAlign=\"center center\" fxFlex class=\"full-width full-height net-panel-content\">\n <mat-icon color=\"accent\" class=\"margin-bottom-default\">account_circle</mat-icon>\n <span class=\"font-size-15\">{{ 'admin.process-list.noRoles' | translate}}</span>\n </div>\n\n <div *ngIf=\"!item.loading && !item.emptyRoles\" fxLayout=\"column\" fxLayoutAlign=\"start center\"\n class=\"full-height full-width net-panel-content padding-0-16px\">\n <h3>Roles</h3>\n <div *ngFor=\"let net of item.processes; let first = first\" fxLayout=\"column\"\n fxLayoutAlign=\"start center\" class=\"full-width\">\n <mat-divider *ngIf=\"!first\" style=\"position: relative\"></mat-divider>\n\n <span>{{'admin.user-invite.version' | translate }} - {{net.version}}</span>\n\n <div fxLayout=\"column\" class=\"full-width padding-16px\">\n <div *ngFor=\"let role of net.roles\" fxFlex fxLayout=\"row wrap\" fxLayoutAlign=\"start center\">\n <span>{{role.name}}</span>\n\n <div fxFlex></div>\n\n <button mat-icon-button color=\"primary\" (click)=\"addRole(role)\">\n <mat-icon>add</mat-icon>\n </button>\n </div>\n </div>\n </div>\n </div>\n\n </mat-expansion-panel>\n\n </mat-accordion>\n\n <div *ngIf=\"nets.loading$ | async\" fxLayout=\"column\" fxLayoutAlign=\"center center\" fxFlex=\"100\">\n <mat-spinner color=\"primary\" diameter=\"65\"></mat-spinner>\n </div>\n </div>\n</div>\n",
25
- styles: [".full-height{height:100%;min-height:100%}.full-width{width:100%;min-width:100%}.padding-default{padding:8px}.padding-half{padding:4px}.padding-x2{padding:16px}.margin-default{margin:8px}.margin-half{margin:4px}.margin-x2{margin:16px}.margin-top-default{margin-top:8px}.margin-top-half{margin-top:4px}.margin-top-x2{margin-top:16px}.margin-bottom-default{margin-bottom:8px}.margin-bottom-half{margin-bottom:4px}.margin-bottom-x2{margin-bottom:16px}.margin-left-default{margin-left:8px}.margin-left-half{margin-left:4px}.margin-left-x2{margin-left:16px}.margin-right-default{margin-right:8px}.margin-right-half{margin-right:4px}.margin-right-x2{margin-right:16px}.flex-class{flex:1 1 auto}.height-96{min-height:96px}.mail-icon{margin-right:10px}.invited-card{padding:0 16px;width:100%;white-space:nowrap;border:1px solid #eee}.invited-card-font,.invited-card-font h1,.invited-card-font h2,.invited-card-font h3,.invited-card-font h4,.invited-card-font h5,.invited-card-font h6{font:500 20px/32px Roboto,monospace;letter-spacing:normal;margin:0}.inherited-divider{position:inherit}.padding-16px{padding:16px}.padding-0-16px{padding:0 16px}.padding-16px-0{padding:16px 0}.padding-right-16px{padding-right:16px}.margin-right-16px{margin-right:16px}.margin-bottom-16px{margin-bottom:16px}.font-size-20{font-size:20px}"]
26
- },] }
27
- ];
28
- UserInviteComponent.ctorParameters = () => [
29
- { type: UserInviteService },
30
- { type: OrganizationListService },
31
- { type: SignUpService },
32
- { type: SnackBarService },
33
- { type: TranslateService }
34
- ];
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1pbnZpdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9hZG1pbi91c2VyLWludml0ZS91c2VyLWludml0ZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQ0gsMkJBQTJCLEVBQzNCLHVCQUF1QixFQUN2QixhQUFhLEVBQ2IsZUFBZSxFQUNmLGlCQUFpQixFQUNwQixNQUFNLDBCQUEwQixDQUFDO0FBQ2xDLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBT3JELE1BQU0sT0FBTyxtQkFBb0IsU0FBUSwyQkFBMkI7S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xlY3RvcjogJ25jLXVzZXItaW52aXRlJyxcbiAgICB0ZW1wbGF0ZVVybDogJy4vdXNlci1pbnZpdGUuY29tcG9uZW50Lmh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL3VzZXItaW52aXRlLmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgVXNlckludml0ZUNvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0VXNlckludml0ZUNvbXBvbmVudCB7XG5cbiAgICBjb25zdHJ1Y3Rvcihwcm90ZWN0ZWQgX3VzZXJJbnZpdGVTZXJ2aWNlOiBVc2VySW52aXRlU2VydmljZSxcbiAgICAgICAgICAgICAgICBwcm90ZWN0ZWQgX29yZ0xpc3Q6IE9yZ2FuaXphdGlvbkxpc3RTZXJ2aWNlLFxuICAgICAgICAgICAgICAgIHByb3RlY3RlZCBfc2lnblVwU2VydmljZTogU2lnblVwU2VydmljZSxcbiAgICAgICAgICAgICAgICBwcm90ZWN0ZWQgX3NuYWNrQmFyOiBTbmFja0JhclNlcnZpY2UsXG4gICAgICAgICAgICAgICAgcHJvdGVjdGVkIF90cmFuc2xhdGU6IFRyYW5zbGF0ZVNlcnZpY2UpIHtcbiAgICAgICAgc3VwZXIoX3VzZXJJbnZpdGVTZXJ2aWNlLCBfb3JnTGlzdCwgX3NpZ25VcFNlcnZpY2UsIF9zbmFja0JhciwgX3RyYW5zbGF0ZSk7XG4gICAgfVxuXG59XG4iXX0=
@@ -1,15 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { AuthenticationOverlayComponent } from './authentication-overlay/authentication-overlay.component';
4
- export class AuthenticationComponentModule {
5
- }
6
- AuthenticationComponentModule.decorators = [
7
- { type: NgModule, args: [{
8
- declarations: [AuthenticationOverlayComponent],
9
- exports: [AuthenticationOverlayComponent],
10
- imports: [
11
- CommonModule
12
- ]
13
- },] }
14
- ];
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9u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XNzIEF1dGhlbnRpY2F0aW9uQ29tcG9uZW50TW9kdWxlIHtcbn1cbiJdfQ==
@@ -1,35 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { RedirectService, SessionService, SpinnerOverlayService, AbstractAuthenticationOverlay, UserService } from '@netgrif/components-core';
4
- export class AuthenticationOverlayComponent extends AbstractAuthenticationOverlay {
5
- constructor(_session, _spinnerOverlay, router, redirectService, userService) {
6
- super(_session, _spinnerOverlay, router, redirectService, userService);
7
- this._session = _session;
8
- this._spinnerOverlay = _spinnerOverlay;
9
- this.router = router;
10
- this.redirectService = redirectService;
11
- this.userService = userService;
12
- }
13
- }
14
- AuthenticationOverlayComponent.ctorParameters = () => [
15
- { type: SessionService },
16
- { type: SpinnerOverlayService },
17
- { type: Router },
18
- { type: RedirectService },
19
- { type: UserService }
20
- ];
21
- AuthenticationOverlayComponent.decorators = [
22
- { type: Component, args: [{
23
- selector: 'nc-authentication-overlay',
24
- template: "<ng-content></ng-content>\n",
25
- styles: [""]
26
- },] }
27
- ];
28
- AuthenticationOverlayComponent.ctorParameters = () => [
29
- { type: SessionService },
30
- { type: SpinnerOverlayService },
31
- { type: Router },
32
- { type: RedirectService },
33
- { type: UserService }
34
- ];
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aGVudGljYXRpb24tb3ZlcmxheS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2F1dGhlbnRpY2F0aW9uL2F1dGhlbnRpY2F0aW9uLW92ZXJsYXkvYXV0aGVudGljYXRpb24tb3ZlcmxheS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMsTUFBTSxFQUFDL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hY3RBdXRoZW50aWNhdGlvbk92ZXJsYXksXG4gICAgVXNlclNlcnZpY2Vcbn0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICduYy1hdXRoZW50aWNhdGlvbi1vdmVybGF5JyxcbiAgICB0ZW1wbGF0ZVVybDogJy4vYXV0aGVudGljYXRpb24tb3ZlcmxheS5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmxzOiBbJy4vYXV0aGVudGljYXRpb24tb3ZlcmxheS5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIEF1dGhlbnRpY2F0aW9uT3ZlcmxheUNvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0QXV0aGVudGljYXRpb25PdmVybGF5IHtcblxuICAgIGNvbnN0cnVjdG9yKHByb3RlY3RlZCBfc2Vzc2lvbjogU2Vzc2lvblNlcnZpY2UsIHByb3RlY3RlZCBfc3Bpbm5lck92ZXJsYXk6IFNwaW5uZXJPdmVybGF5U2VydmljZSxcbiAgICAgICAgICAgICAgICBwcm90ZWN0ZWQgcm91dGVyOiBSb3V0ZXIsIHByb3RlY3RlZCByZWRpcmVjdFNlcnZpY2U6IFJlZGlyZWN0U2VydmljZSwgcHJvdGVjdGVkIHVzZXJTZXJ2aWNlOiBVc2VyU2VydmljZSkge1xuICAgICAgICBzdXBlcihfc2Vzc2lvbiwgX3NwaW5uZXJPdmVybGF5LCByb3V0ZXIsIHJlZGlyZWN0U2VydmljZSwgdXNlclNlcnZpY2UpO1xuICAgIH1cbn1cbiJdfQ==
@@ -1,5 +0,0 @@
1
- /* COMPONENTS */
2
- export * from './authentication-overlay/authentication-overlay.component';
3
- /* MODULES */
4
- export * from './auth.module';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvYXV0aGVudGljYXRpb24vcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxnQkFBZ0I7QUFDaEIsY0FBYywyREFBMkQsQ0FBQztBQUUxRSxhQUFhO0FBQ2IsY0FBYyxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKiBDT01QT05FTlRTICovXG5leHBvcnQgKiBmcm9tICcuL2F1dGhlbnRpY2F0aW9uLW92ZXJsYXkvYXV0aGVudGljYXRpb24tb3ZlcmxheS5jb21wb25lbnQnO1xuXG4vKiBNT0RVTEVTICovXG5leHBvcnQgKiBmcm9tICcuL2F1dGgubW9kdWxlJztcbiJdfQ==
@@ -1,49 +0,0 @@
1
- import { Component, EventEmitter, Injector, OnInit, Output } from '@angular/core';
2
- import { AbstractCustomCard, AggregationResult, DashboardEventContent, DashboardResourceService, DashboardSingleData, LoggerService } from '@netgrif/components-core';
3
- import { TranslateService } from '@ngx-translate/core';
4
- export class BarchartCardComponent extends AbstractCustomCard {
5
- constructor(_injector, resourceService, translateService, loggerService) {
6
- super(_injector, resourceService, translateService, loggerService);
7
- this._injector = _injector;
8
- this.resourceService = resourceService;
9
- this.translateService = translateService;
10
- this.loggerService = loggerService;
11
- this.selectEvent = new EventEmitter();
12
- }
13
- ngOnInit() {
14
- super.ngOnInit();
15
- }
16
- onSelect(data) {
17
- this.loggerService.info('BarChart was selected');
18
- this.selectEvent.emit(data);
19
- }
20
- convertData(json) {
21
- json.aggregations.result.buckets.forEach(bucket => {
22
- this.single.push(new DashboardSingleData(bucket.key, bucket.doc_count));
23
- });
24
- this.single = [...this.single];
25
- }
26
- }
27
- BarchartCardComponent.ctorParameters = () => [
28
- { type: Injector },
29
- { type: DashboardResourceService },
30
- { type: TranslateService },
31
- { type: LoggerService }
32
- ];
33
- BarchartCardComponent.decorators = [
34
- { type: Component, args: [{
35
- selector: 'nc-barchart-card',
36
- 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",
37
- 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}"]
38
- },] }
39
- ];
40
- BarchartCardComponent.ctorParameters = () => [
41
- { type: Injector },
42
- { type: DashboardResourceService },
43
- { type: TranslateService },
44
- { type: LoggerService }
45
- ];
46
- BarchartCardComponent.propDecorators = {
47
- selectEvent: [{ type: Output }]
48
- };
49
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyY2hhcnQtY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2Rhc2hib2FyZC9jYXJkcy9iYXJjaGFydC1jYXJkL2JhcmNoYXJ0LWNhcmQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sRUFDSCxrQkFBa0IsRUFDbEIsaUJBQWlCLEVBQUUscUJBQXFCLEVBQ3hDLHdCQUF3Q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1Y2tldHMuZm9yRWFjaChidWNrZXQgPT4ge1xuICAgICAgICAgICAgdGhpcy5zaW5nbGUucHVzaChuZXcgRGFzaGJvYXJkU2luZ2xlRGF0YShidWNrZXQua2V5LCBidWNrZXQuZG9jX2NvdW50KSk7XG4gICAgICAgIH0pO1xuICAgICAgICB0aGlzLnNpbmdsZSA9IFsuLi50aGlzLnNpbmdsZV07XG4gICAgfVxufVxuIl19
@@ -1,22 +0,0 @@
1
- import { Component, Injector } from '@angular/core';
2
- import { AbstractCountCard } from '@netgrif/components-core';
3
- export class CountCardComponent extends AbstractCountCard {
4
- constructor(_injector) {
5
- super(_injector);
6
- this._injector = _injector;
7
- }
8
- }
9
- CountCardComponent.ctorParameters = () => [
10
- { type: Injector }
11
- ];
12
- CountCardComponent.decorators = [
13
- { type: Component, args: [{
14
- selector: 'nc-count-card',
15
- 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",
16
- styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.number{font-size:80px}"]
17
- },] }
18
- ];
19
- CountCardComponent.ctorParameters = () => [
20
- { type: Injector }
21
- ];
22
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY291bnQtY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2Rhc2hib2FyZC9jYXJkcy9jb3VudC1jYXJkL2NvdW50LWNhcmQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBUTNELE1BQU0sT0FBTyxrQkFBbUIsU0FBUSxpQkFBaUI7SUFFckQsWUFBc0IsU0FBbUI7UUFDckMsS0FBSyxDQUFDLFNBQVMsQ0FBQyxDQUFDO1FBREMsY0FBUyxHQUFULFNBQVMsQ0FBVTtJQUV6QyxDQUFDOzs7WUFGZ0MsUUFBUTs7O1lBUDVDLFNBQVMsU0FBQztnQkFDUCxRQUFRLEVBQUUsZUFBZTtnQkFDekIsMFhBQTBDOzthQUU3Qzs7O1lBUmtCLFFBQVEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudCwgSW5qZWN0b3J9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtBYnN0cmFjdENvdW50Q2FyZH0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcblxuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ25jLWNvdW50LWNhcmQnLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9jb3VudC1jYXJkLmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9jb3VudC1jYXJkLmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgQ291bnRDYXJkQ29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RDb3VudENhcmQge1xuXG4gICAgY29uc3RydWN0b3IocHJvdGVjdGVkIF9pbmplY3RvcjogSW5qZWN0b3IpIHtcbiAgICAgICAgc3VwZXIoX2luamVjdG9yKTtcbiAgICB9XG59XG4iXX0=
@@ -1,23 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { AbstractIframeCard } from '@netgrif/components-core';
3
- import { DomSanitizer } from '@angular/platform-browser';
4
- export class IframeCardComponent extends AbstractIframeCard {
5
- constructor(_sanitizer) {
6
- super(_sanitizer);
7
- this._sanitizer = _sanitizer;
8
- }
9
- }
10
- IframeCardComponent.ctorParameters = () => [
11
- { type: DomSanitizer }
12
- ];
13
- IframeCardComponent.decorators = [
14
- { type: Component, args: [{
15
- selector: 'nc-iframe-card',
16
- 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",
17
- styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}"]
18
- },] }
19
- ];
20
- IframeCardComponent.ctorParameters = () => [
21
- { type: DomSanitizer }
22
- ];
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWZyYW1lLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXNoYm9hcmQvY2FyZHMvaWZyYW1lLWNhcmQvaWZyYW1lLWNhcmQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFDNUQsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLDJCQUEyQixDQUFDO0FBT3ZELE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxrQkFBa0I7SUFFdkQsWUFBc0IsVUFBd0I7UUFDMUMsS0FBSyxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBREEsZUFBVSxHQUFWLFVBQVUsQ0FBYztJQUU5QyxDQUFDOzs7WUFGaUMsWUFBWTs7O1lBUGpELFNBQVMsU0FBQztnQkFDUCxRQUFRLEVBQUUsZ0JBQWdCO2dCQUMxQixtT0FBMkM7O2FBRTlDOzs7WUFOTyxZQUFZIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtBYnN0cmFjdElmcmFtZUNhcmR9IGZyb20gJ0BuZXRncmlmL2NvbXBvbmVudHMtY29yZSc7XG5pbXBvcnQge0RvbVNhbml0aXplcn0gZnJvbSAnQGFuZ3VsYXIvcGxhdGZvcm0tYnJvd3Nlcic7XG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnbmMtaWZyYW1lLWNhcmQnLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9pZnJhbWUtY2FyZC5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmxzOiBbJy4vaWZyYW1lLWNhcmQuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBJZnJhbWVDYXJkQ29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RJZnJhbWVDYXJkIHtcblxuICAgIGNvbnN0cnVjdG9yKHByb3RlY3RlZCBfc2FuaXRpemVyOiBEb21TYW5pdGl6ZXIpIHtcbiAgICAgICAgc3VwZXIoX3Nhbml0aXplcik7XG4gICAgfVxufVxuIl19
@@ -1,47 +0,0 @@
1
- import { Component, EventEmitter, Injector, OnInit, Output } from '@angular/core';
2
- import { AbstractCustomCard, DashboardEventContent, DashboardResourceService } from '@netgrif/components-core';
3
- import { TranslateService } from '@ngx-translate/core';
4
- import { AggregationResult, LoggerService } from '@netgrif/components-core';
5
- export class LinearGaugeCardComponent extends AbstractCustomCard {
6
- constructor(_injector, resourceService, translateService, loggerService) {
7
- super(_injector, resourceService, translateService, loggerService);
8
- this._injector = _injector;
9
- this.resourceService = resourceService;
10
- this.translateService = translateService;
11
- this.loggerService = loggerService;
12
- this.selectEvent = new EventEmitter();
13
- }
14
- ngOnInit() {
15
- super.ngOnInit();
16
- }
17
- onSelect(data) {
18
- this.loggerService.info('Linear gauge selected.');
19
- this.selectEvent.emit(data);
20
- }
21
- convertData(json) {
22
- this.value = json.aggregations.types_count.value;
23
- }
24
- }
25
- LinearGaugeCardComponent.ctorParameters = () => [
26
- { type: Injector },
27
- { type: DashboardResourceService },
28
- { type: TranslateService },
29
- { type: LoggerService }
30
- ];
31
- LinearGaugeCardComponent.decorators = [
32
- { type: Component, args: [{
33
- selector: 'nc-linear-gauge-card',
34
- 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",
35
- 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}"]
36
- },] }
37
- ];
38
- LinearGaugeCardComponent.ctorParameters = () => [
39
- { type: Injector },
40
- { type: DashboardResourceService },
41
- { type: TranslateService },
42
- { type: LoggerService }
43
- ];
44
- LinearGaugeCardComponent.propDecorators = {
45
- selectEvent: [{ type: Output }]
46
- };
47
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZWFyLWdhdWdlLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXNoYm9hcmQvY2FyZHMvbGluZWFyZ2F1Z2UtY2FyZC9saW5lYXItZ2F1Z2UtY2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxZQUFZLEVBQUUsUUFBUSxFQUFFLE1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1xuXG4gICAgQE91dHB1dCgpIHNlbGVjdEV2ZW50OiBFdmVudEVtaXR0ZXI8RGFzaGJvYXJkRXZlbnRDb250ZW50PjtcblxuICAgIGNvbnN0cnVjdG9yKHByb3RlY3RlZCBfaW5qZWN0b3I6IEluamVjdG9yLFxuICAgICAgICAgICAgICAgIHByb3RlY3RlZCByZXNvdXJjZVNlcnZpY2U6IERhc2hib2FyZFJlc291cmNlU2VydmljZSxcbiAgICAgICAgICAgICAgICBwcm90ZWN0ZWQgdHJhbnNsYXRlU2VydmljZTogVHJhbnNsYXRlU2VydmljZSxcbiAgICAgICAgICAgICAgICBwcm90ZWN0ZWQgbG9nZ2VyU2VydmljZTogTG9nZ2VyU2VydmljZSkge1xuICAgICAgICBzdXBlcihfaW5qZWN0b3IsIHJlc291cmNlU2VydmljZSwgdHJhbnNsYXRlU2VydmljZSwgbG9nZ2VyU2VydmljZSk7XG4gICAgICAgIHRoaXMuc2VsZWN0RXZlbnQgPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG4gICAgfVxuXG4gICAgbmdPbkluaXQoKTogdm9pZCB7XG4gICAgICAgIHN1cGVyLm5nT25Jbml0KCk7XG4gICAgfVxuXG4gICAgb25TZWxlY3QoZGF0YTogRGFzaGJvYXJkRXZlbnRDb250ZW50KSB7XG4gICAgICAgIHRoaXMubG9nZ2VyU2VydmljZS5pbmZvKCdMaW5lYXIgZ2F1Z2Ugc2VsZWN0ZWQuJyk7XG4gICAgICAgIHRoaXMuc2VsZWN0RXZlbnQuZW1pdChkYXRhKTtcbiAgICB9XG5cbiAgICBjb252ZXJ0RGF0YShqc29uOiBBZ2dyZWdhdGlvblJlc3VsdCk6IHZvaWQge1xuICAgICAgICB0aGlzLnZhbHVlID0ganNvbi5hZ2dyZWdhdGlvbnMudHlwZXNfY291bnQudmFsdWU7XG4gICAgfVxufVxuIl19
@@ -1,59 +0,0 @@
1
- import { Component, EventEmitter, Injector, OnInit, Output } from '@angular/core';
2
- import { AbstractCustomCard, DashboardEventContent, DashboardMultiData, DashboardResourceService, DashboardSingleData } from '@netgrif/components-core';
3
- import { TranslateService } from '@ngx-translate/core';
4
- import { AggregationResult, LoggerService } from '@netgrif/components-core';
5
- export class LineChartCardComponent extends AbstractCustomCard {
6
- constructor(_injector, resourceService, translateService, loggerService) {
7
- super(_injector, resourceService, translateService, loggerService);
8
- this._injector = _injector;
9
- this.resourceService = resourceService;
10
- this.translateService = translateService;
11
- this.loggerService = loggerService;
12
- this.timeline = true;
13
- this.selectEvent = new EventEmitter();
14
- }
15
- ngOnInit() {
16
- super.ngOnInit();
17
- }
18
- onSelect(data) {
19
- this.loggerService.info('Line chart selected.');
20
- this.selectEvent.emit(data);
21
- }
22
- convertData(json) {
23
- let index = 0;
24
- let result;
25
- for (result in json.aggregations) {
26
- if (json.aggregations.hasOwnProperty(result)) {
27
- this.multi.push(new DashboardMultiData(result, new Array()));
28
- json.aggregations[result].buckets.forEach(bucket => {
29
- this.multi[index].series.push(new DashboardSingleData(bucket.key, bucket.doc_count));
30
- });
31
- index++;
32
- }
33
- }
34
- this.multi = [...this.multi];
35
- }
36
- }
37
- LineChartCardComponent.ctorParameters = () => [
38
- { type: Injector },
39
- { type: DashboardResourceService },
40
- { type: TranslateService },
41
- { type: LoggerService }
42
- ];
43
- LineChartCardComponent.decorators = [
44
- { type: Component, args: [{
45
- selector: 'nc-line-chart-card',
46
- 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",
47
- 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}"]
48
- },] }
49
- ];
50
- LineChartCardComponent.ctorParameters = () => [
51
- { type: Injector },
52
- { type: DashboardResourceService },
53
- { type: TranslateService },
54
- { type: LoggerService }
55
- ];
56
- LineChartCardComponent.propDecorators = {
57
- selectEvent: [{ type: Output }]
58
- };
59
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZS1jaGFydC1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvZGFzaGJvYXJkL2NhcmRzL2xpbmVjaGFydC1jYXJkL2xpbmUtY2hhcnQtY2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxZQUFZLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDaEYsT0FBTyxFQUNILGtCQUFrQixFQUNsQixxQkFBcUIsRUFDckIsa0JBQWtCLEVBQ2xCLHdCQUF3QixFQUN4QixtQkFBbUIsRUFDdEIsTUFBTSwwQkFBMEIsQ0FBQztBQUNsQyxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUNyRCxPQUFPLEVBQUMsaUJBQWlCLEVBQUUsYUFBYSxFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFPMUUsTUFBTSxPQUFPLHNCQUF1QixTQUFRLGtCQUFrQjtJQUsxRCxZQUFzQixTQUFtQixFQUNuQixlQUF5QyxFQUN6QyxnQkFBa0MsRUFDbEMsYUFBNEI7UUFDOUMsS0FBSyxDQUFDLFNBQVMsRUFBRSxlQUFlLEVBQUUsZ0J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9hcmRFdmVudENvbnRlbnQpIHtcbiAgICAgICAgdGhpcy5sb2dnZXJTZXJ2aWNlLmluZm8oJ0xpbmUgY2hhcnQgc2VsZWN0ZWQuJyk7XG4gICAgICAgIHRoaXMuc2VsZWN0RXZlbnQuZW1pdChkYXRhKTtcbiAgICB9XG5cbiAgICBjb252ZXJ0RGF0YShqc29uOiBBZ2dyZWdhdGlvblJlc3VsdCk6IHZvaWQge1xuICAgICAgICBsZXQgaW5kZXggPSAwO1xuICAgICAgICBsZXQgcmVzdWx0OiBhbnk7XG4gICAgICAgIGZvciAocmVzdWx0IGluIGpzb24uYWdncmVnYXRpb25zKSB7XG4gICAgICAgICAgICBpZiAoanNvbi5hZ2dyZWdhdGlvbnMuaGFzT3duUHJvcGVydHkocmVzdWx0KSkge1xuICAgICAgICAgICAgICAgIHRoaXMubXVsdGkucHVzaChuZXcgRGFzaGJvYXJkTXVsdGlEYXRhKHJlc3VsdCwgbmV3IEFycmF5PERhc2hib2FyZFNpbmdsZURhdGE+KCkpKTtcbiAgICAgICAgICAgICAgICBqc29uLmFnZ3JlZ2F0aW9uc1tyZXN1bHRdLmJ1Y2tldHMuZm9yRWFjaChidWNrZXQgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm11bHRpW2luZGV4XS5zZXJpZXMucHVzaChuZXcgRGFzaGJvYXJkU2luZ2xlRGF0YShidWNrZXQua2V5LCBidWNrZXQuZG9jX2NvdW50KSk7XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgaW5kZXgrKztcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICB0aGlzLm11bHRpID0gWy4uLnRoaXMubXVsdGldO1xuICAgIH1cbn1cbiJdfQ==
@@ -1,52 +0,0 @@
1
- import { Component, EventEmitter, Injector, OnInit, Output } from '@angular/core';
2
- import { AbstractCustomCard, DashboardEventContent, DashboardResourceService, DashboardSingleData } from '@netgrif/components-core';
3
- import { TranslateService } from '@ngx-translate/core';
4
- import { AggregationResult, LoggerService } from '@netgrif/components-core';
5
- export class PieChartCardComponent extends AbstractCustomCard {
6
- constructor(_injector, resourceService, translateService, loggerService) {
7
- super(_injector, resourceService, translateService, loggerService);
8
- this._injector = _injector;
9
- this.resourceService = resourceService;
10
- this.translateService = translateService;
11
- this.loggerService = loggerService;
12
- this.isDoughnut = false;
13
- this.legendPosition = 'right';
14
- this.selectEvent = new EventEmitter();
15
- }
16
- ngOnInit() {
17
- super.ngOnInit();
18
- }
19
- onSelect(data) {
20
- this.loggerService.info('Pie chart selected.');
21
- this.selectEvent.emit(data);
22
- }
23
- convertData(json) {
24
- json.aggregations.result.buckets.forEach(bucket => {
25
- this.single.push(new DashboardSingleData(bucket.key, bucket.doc_count));
26
- });
27
- this.single = [...this.single];
28
- }
29
- }
30
- PieChartCardComponent.ctorParameters = () => [
31
- { type: Injector },
32
- { type: DashboardResourceService },
33
- { type: TranslateService },
34
- { type: LoggerService }
35
- ];
36
- PieChartCardComponent.decorators = [
37
- { type: Component, args: [{
38
- selector: 'nc-pie-chart-card',
39
- 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",
40
- 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%}"]
41
- },] }
42
- ];
43
- PieChartCardComponent.ctorParameters = () => [
44
- { type: Injector },
45
- { type: DashboardResourceService },
46
- { type: TranslateService },
47
- { type: LoggerService }
48
- ];
49
- PieChartCardComponent.propDecorators = {
50
- select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mFuc2xhdGVTZXJ2aWNlOiBUcmFuc2xhdGVTZXJ2aWNlLFxuICAgICAgICAgICAgICAgIHByb3RlY3RlZCBsb2dnZXJTZXJ2aWNlOiBMb2dnZXJTZXJ2aWNlKSB7XG4gICAgICAgIHN1cGVyKF9pbmplY3RvciwgcmVzb3VyY2VTZXJ2aWNlLCB0cmFuc2xhdGVTZXJ2aWNlLCBsb2dnZXJTZXJ2aWNlKTtcbiAgICAgICAgdGhpcy5zZWxlY3RFdmVudCA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcbiAgICB9XG5cbiAgICBuZ09uSW5pdCgpIHtcbiAgICAgICAgc3VwZXIubmdPbkluaXQoKTtcbiAgICB9XG5cbiAgICBvblNlbGVjdChkYXRhOiBEYXNoYm9hcmRFdmVudENvbnRlbnQpIHtcbiAgICAgICAgdGhpcy5sb2dnZXJTZXJ2aWNlLmluZm8oJ1BpZSBjaGFydCBzZWxlY3RlZC4nKTtcbiAgICAgICAgdGhpcy5zZWxlY3RFdmVudC5lbWl0KGRhdGEpO1xuICAgIH1cblxuICAgIGNvbnZlcnREYXRhKGpzb246IEFnZ3JlZ2F0aW9uUmVzdWx0KSB7XG4gICAgICAgIGpzb24uYWdncmVnYXRpb25zLnJlc3VsdC5idWNrZXRzLmZvckVhY2goYnVja2V0ID0+IHtcbiAgICAgICAgICAgIHRoaXMuc2luZ2xlLnB1c2gobmV3IERhc2hib2FyZFNpbmdsZURhdGEoYnVja2V0LmtleSwgYnVja2V0LmRvY19jb3VudCkpO1xuICAgICAgICB9KTtcbiAgICAgICAgdGhpcy5zaW5nbGUgPSBbLi4udGhpcy5zaW5nbGVdO1xuICAgIH1cbn1cbiJdfQ==
@@ -1,47 +0,0 @@
1
- import { Component, EventEmitter, Injector, Input, OnInit, Output } from '@angular/core';
2
- import { AbstractCustomCard, DashboardEventContent, DashboardResourceService } from '@netgrif/components-core';
3
- import { TranslateService } from '@ngx-translate/core';
4
- import { AggregationResult, LoggerService } from '@netgrif/components-core';
5
- export class PortalCardComponent extends AbstractCustomCard {
6
- constructor(_injector, resourceService, translateService, loggerService) {
7
- super(_injector, resourceService, translateService, loggerService);
8
- this._injector = _injector;
9
- this.resourceService = resourceService;
10
- this.translateService = translateService;
11
- this.loggerService = loggerService;
12
- this.selectEvent = new EventEmitter();
13
- }
14
- ngOnInit() {
15
- this.injectedDashboard = this.componentPortal;
16
- }
17
- onSelect(data) {
18
- this.loggerService.info('Custom dashboard selected.');
19
- this.selectEvent.emit(data);
20
- }
21
- convertData(json) {
22
- }
23
- }
24
- PortalCardComponent.ctorParameters = () => [
25
- { type: Injector },
26
- { type: DashboardResourceService },
27
- { type: TranslateService },
28
- { type: LoggerService }
29
- ];
30
- PortalCardComponent.decorators = [
31
- { type: Component, args: [{
32
- selector: 'nc-portal-card',
33
- template: "<ng-template [cdkPortalOutlet]=\"injectedDashboard\">\n</ng-template>\n",
34
- 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%}"]
35
- },] }
36
- ];
37
- PortalCardComponent.ctorParameters = () => [
38
- { type: Injector },
39
- { type: DashboardResourceService },
40
- { type: TranslateService },
41
- { type: LoggerService }
42
- ];
43
- PortalCardComponent.propDecorators = {
44
- componentPortal: [{ type: Input }],
45
- selectEvent: [{ type: Output }]
46
- };
47
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9ydGFsLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXNoYm9hcmQvY2FyZHMvcG9ydGFsLWNhcmQvcG9ydGFsLWNhcmQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSx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cbiAgICBjb252ZXJ0RGF0YShqc29uOiBBZ2dyZWdhdGlvblJlc3VsdCk6IHZvaWQge1xuICAgIH1cbn1cbiJdfQ==
@@ -1,22 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { AbstractDashboardContent, LoggerService } from '@netgrif/components-core';
3
- export class DashboardContentComponent extends AbstractDashboardContent {
4
- constructor(_log) {
5
- super(_log);
6
- this._log = _log;
7
- }
8
- }
9
- DashboardContentComponent.ctorParameters = () => [
10
- { type: LoggerService }
11
- ];
12
- DashboardContentComponent.decorators = [
13
- { type: Component, args: [{
14
- selector: 'nc-dashboard-content',
15
- 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",
16
- styles: [".full-size{width:100%;height:100%;margin:auto;padding:0}"]
17
- },] }
18
- ];
19
- DashboardContentComponent.ctorParameters = () => [
20
- { type: LoggerService }
21
- ];
22
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFzaGJvYXJkLWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXNoYm9hcmQvZGFzaGJvYXJkLWNvbnRlbnQvZGFzaGJvYXJkLWNvbnRlbnQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLHdCQUF3QixFQUFFLGFBQWEsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBT2pGLE1BQU0sT0FBTyx5QkFBMEIsU0FBUSx3QkFBd0I7SUFFbkUsWUFBc0IsSUFBbUI7UUFDckMsS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDO1FBRE0sU0FBSSxHQUFKLElBQUksQ0FBZTtJQUV6QyxDQUFDOzs7WUFGMkIsYUFBYTs7O1lBUDVDLFNBQVMsU0FBQztnQkFDUCxRQUFRLEVBQUUsc0JBQXNCO2dCQUNoQyx1ekNBQWlEOzthQUVwRDs7O1lBTmlDLGFBQWEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0Fic3RyYWN0RGFzaGJvYXJkQ29udGVudCwgTG9nZ2VyU2VydmljZX0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICduYy1kYXNoYm9hcmQtY29udGVudCcsXG4gICAgdGVtcGxhdGVVcmw6ICcuL2Rhc2hib2FyZC1jb250ZW50Lm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