@netgrif/components 6.1.0-rc.2 → 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.
- package/README.md +1 -9
- package/esm2020/lib/admin/admin.module.mjs +31 -0
- package/esm2020/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.mjs +39 -0
- package/esm2020/lib/admin/public-api.mjs +7 -0
- package/esm2020/lib/admin/role-assignment/role-assignment.component.mjs +40 -0
- package/esm2020/lib/admin/user-invite/user-invite.component.mjs +34 -0
- package/esm2020/lib/authentication/auth.module.mjs +22 -0
- package/esm2020/lib/authentication/authentication-overlay/authentication-overlay.component.mjs +22 -0
- package/esm2020/lib/authentication/public-api.mjs +5 -0
- package/esm2020/lib/dashboard/cards/barchart-card/barchart-card.component.mjs +40 -0
- package/esm2020/lib/dashboard/cards/count-card/count-card.component.mjs +20 -0
- package/esm2020/lib/dashboard/cards/iframe-card/iframe-card.component.mjs +19 -0
- package/esm2020/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.mjs +37 -0
- package/esm2020/lib/dashboard/cards/linechart-card/line-chart-card.component.mjs +49 -0
- package/esm2020/lib/dashboard/cards/piechart-card/pie-chart-card.component.mjs +42 -0
- package/esm2020/lib/dashboard/cards/portal-card/portal-card.component.mjs +36 -0
- package/esm2020/lib/dashboard/dashboard-content/dashboard-content.component.mjs +26 -0
- package/esm2020/lib/dashboard/dashboard.module.mjs +77 -0
- package/esm2020/lib/dashboard/public-api.mjs +12 -0
- package/esm2020/lib/data-fields/boolean-field/boolean-field.component.mjs +34 -0
- package/esm2020/lib/data-fields/button-field/button-field.component.mjs +32 -0
- package/esm2020/lib/data-fields/data-field-template/data-field-template.component.mjs +23 -0
- package/esm2020/lib/data-fields/data-fields.module.mjs +226 -0
- package/esm2020/lib/data-fields/date-field/date-field.component.mjs +32 -0
- package/esm2020/lib/data-fields/date-time-field/date-time-field.component.mjs +33 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.mjs +25 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.mjs +23 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-field.component.mjs +28 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.mjs +22 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.mjs +22 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.mjs +21 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.mjs +23 -0
- package/esm2020/lib/data-fields/file-field/file-field.component.mjs +51 -0
- package/esm2020/lib/data-fields/file-field/preview-dialog/preview-dialog.component.mjs +33 -0
- package/esm2020/lib/data-fields/file-field-list/file-list-field.component.mjs +33 -0
- package/esm2020/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.mjs +45 -0
- package/esm2020/lib/data-fields/filter-field/filter-field.component.mjs +27 -0
- package/esm2020/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.mjs +18 -0
- package/esm2020/lib/data-fields/i18n-field/i18n-field.component.mjs +24 -0
- package/esm2020/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.mjs +61 -0
- package/esm2020/lib/data-fields/multichoice-field/multichoice-field.component.mjs +24 -0
- package/esm2020/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.mjs +21 -0
- package/esm2020/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.mjs +18 -0
- package/esm2020/lib/data-fields/number-field/number-currency-field/number-currency-field.component.mjs +29 -0
- package/esm2020/lib/data-fields/number-field/number-default-field/number-default-field.component.mjs +20 -0
- package/esm2020/lib/data-fields/number-field/number-field.component.mjs +33 -0
- package/esm2020/lib/data-fields/public-api.mjs +18 -0
- package/esm2020/lib/data-fields/required-label/required-label.component.mjs +18 -0
- package/esm2020/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs +23 -0
- package/esm2020/lib/data-fields/text-field/password-text-field/password-text-field.component.mjs +24 -0
- package/esm2020/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.mjs +82 -0
- package/esm2020/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs +22 -0
- package/esm2020/lib/data-fields/text-field/simple-text-field/simple-text-field.component.mjs +21 -0
- package/esm2020/lib/data-fields/text-field/text-field.component.mjs +27 -0
- package/esm2020/lib/data-fields/text-field/textarea-field/textarea-field.component.mjs +24 -0
- package/esm2020/lib/data-fields/user-field/user-field.component.mjs +32 -0
- package/esm2020/lib/forms/email-submission/email-submission-form.component.mjs +25 -0
- package/esm2020/lib/forms/email-submission/email-submission-form.module.mjs +41 -0
- package/esm2020/lib/forms/forgotten-password/forgotten-password-form-component.module.mjs +37 -0
- package/esm2020/lib/forms/forgotten-password/forgotten-password-form.component.mjs +25 -0
- package/esm2020/lib/forms/login/login-form.component.mjs +26 -0
- package/esm2020/lib/forms/login/login-form.module.mjs +37 -0
- package/esm2020/lib/forms/public-api.mjs +11 -0
- package/esm2020/lib/forms/registration/registration-form.component.mjs +26 -0
- package/esm2020/lib/forms/registration/registration-form.module.mjs +41 -0
- package/esm2020/lib/header/header-modes/edit-mode/edit-mode.component.mjs +27 -0
- package/esm2020/lib/header/header-modes/loading-mode/loading-mode.component.mjs +18 -0
- package/esm2020/lib/header/header-modes/search-mode/search-mode.component.mjs +41 -0
- package/esm2020/lib/header/header-modes/sort-mode/sort-mode.component.mjs +20 -0
- package/esm2020/lib/header/header.component.mjs +49 -0
- package/esm2020/lib/header/header.module.mjs +64 -0
- package/esm2020/lib/header/public-api.mjs +12 -0
- package/esm2020/lib/legal/legal-notice/legal-notice.component.mjs +17 -0
- package/esm2020/lib/legal/legal-notice/legal-notice.module.mjs +26 -0
- package/esm2020/lib/legal/public-api.mjs +5 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.mjs +80 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.mjs +42 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.mjs +85 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.mjs +77 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.mjs +30 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.mjs +2 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.mjs +31 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.mjs +23 -0
- package/esm2020/lib/navigation/navigation-drawer/navigation-drawer.component.mjs +31 -0
- package/esm2020/lib/navigation/navigation-rail/navigation-rail.component.mjs +42 -0
- package/esm2020/lib/navigation/navigation-tree/navigation-tree.component.mjs +24 -0
- package/esm2020/lib/navigation/navigation.module.mjs +124 -0
- package/esm2020/lib/navigation/public-api.mjs +14 -0
- package/esm2020/lib/navigation/quick-panel/components/internal-link/internal-link.component.mjs +18 -0
- package/esm2020/lib/navigation/quick-panel/components/language-selector/language-selector.component.mjs +39 -0
- package/esm2020/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.mjs +23 -0
- package/esm2020/lib/navigation/quick-panel/components/quick-panel.component.mjs +26 -0
- package/esm2020/lib/navigation/quick-panel/public-api.mjs +9 -0
- package/esm2020/lib/navigation/quick-panel/quick-panel.module.mjs +52 -0
- package/esm2020/lib/panel/case-panel/case-panel.component.mjs +36 -0
- package/esm2020/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.mjs +21 -0
- package/esm2020/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.mjs +49 -0
- package/esm2020/lib/panel/panel-item/panel-item.component.mjs +22 -0
- package/esm2020/lib/panel/panel.component.mjs +19 -0
- package/esm2020/lib/panel/panel.module.mjs +96 -0
- package/esm2020/lib/panel/public-api.mjs +14 -0
- package/esm2020/lib/panel/public-workflow-panel/public-workflow-panel.component.mjs +22 -0
- package/esm2020/lib/panel/task-panel/task-panel.component.mjs +104 -0
- package/esm2020/lib/panel/task-panel-list/task-list.component.mjs +33 -0
- package/esm2020/lib/panel/task-panel-list-pagination/task-list-pagination.component.mjs +33 -0
- package/esm2020/lib/panel/workflow-panel/workflow-panel.component.mjs +26 -0
- package/esm2020/lib/routing/public-api.mjs +3 -0
- package/esm2020/lib/routing/redirect/redirect.component.mjs +20 -0
- package/esm2020/lib/routing/redirect.module.mjs +17 -0
- package/esm2020/lib/search/advanced-search/advanced-search-component/advanced-search.component.mjs +21 -0
- package/esm2020/lib/search/advanced-search/advanced-search.module.mjs +57 -0
- package/esm2020/lib/search/advanced-search/public-api.mjs +8 -0
- package/esm2020/lib/search/advanced-search/search-clause-component/search-clause.component.mjs +20 -0
- package/esm2020/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.mjs +31 -0
- package/esm2020/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.mjs +36 -0
- package/esm2020/lib/search/advanced-search/search-predicate-component/search-predicate.component.mjs +29 -0
- package/esm2020/lib/search/fulltext-search-component/fulltext-search.component.mjs +20 -0
- package/esm2020/lib/search/public-api.mjs +10 -0
- package/esm2020/lib/search/search-component/case-search/case-search.component.mjs +25 -0
- package/esm2020/lib/search/search-component/search.component.mjs +107 -0
- package/esm2020/lib/search/search-component/task-search/task-search.component.mjs +25 -0
- package/esm2020/lib/search/search.module.mjs +60 -0
- package/esm2020/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.mjs +17 -0
- package/esm2020/lib/side-menu/content-components/filter-selector/filter-selector.component.mjs +51 -0
- package/esm2020/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.mjs +36 -0
- package/esm2020/lib/side-menu/content-components/import-net/import-net.component.mjs +51 -0
- package/esm2020/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.mjs +45 -0
- package/esm2020/lib/side-menu/content-components/load-filter/load-filter.component.mjs +64 -0
- package/esm2020/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.mjs +42 -0
- package/esm2020/lib/side-menu/content-components/new-case/new-case.component.mjs +43 -0
- package/esm2020/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.mjs +57 -0
- package/esm2020/lib/side-menu/content-components/option-selector/option-selector.component.mjs +30 -0
- package/esm2020/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.mjs +38 -0
- package/esm2020/lib/side-menu/content-components/public-api.mjs +19 -0
- package/esm2020/lib/side-menu/content-components/save-filter/save-filter.component.mjs +58 -0
- package/esm2020/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.mjs +38 -0
- package/esm2020/lib/side-menu/content-components/side-menu-content-component.module.mjs +87 -0
- package/esm2020/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.mjs +56 -0
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.mjs +22 -0
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.mjs +27 -0
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign.component.mjs +36 -0
- package/esm2020/lib/side-menu/public-api.mjs +7 -0
- package/esm2020/lib/side-menu/side-menu-container/side-menu-container.component.mjs +20 -0
- package/esm2020/lib/side-menu/side-menu.module.mjs +42 -0
- package/esm2020/lib/tabs/public-api.mjs +4 -0
- package/esm2020/lib/tabs/tab-creation-detector/tab-creation-detector.component.mjs +21 -0
- package/esm2020/lib/tabs/tab-view/tab-view.component.mjs +32 -0
- package/esm2020/lib/tabs/tabs.module.mjs +44 -0
- package/esm2020/lib/task-content/field-component-resolver/field-component-resolver.component.mjs +32 -0
- package/esm2020/lib/task-content/public-api.mjs +6 -0
- package/esm2020/lib/task-content/task-content/task-content.component.mjs +36 -0
- package/esm2020/lib/task-content/task-content.module.mjs +47 -0
- package/esm2020/lib/toolbar/public-api.mjs +3 -0
- package/esm2020/lib/toolbar/toolbar.component.mjs +26 -0
- package/esm2020/lib/toolbar/toolbar.module.mjs +35 -0
- package/esm2020/lib/user/profile/profile.component.mjs +25 -0
- package/esm2020/lib/user/profile/profile.module.mjs +31 -0
- package/esm2020/lib/user/public-api.mjs +7 -0
- package/esm2020/lib/user/user-card/user-card.component.mjs +23 -0
- package/esm2020/lib/user/user.module.mjs +35 -0
- package/esm2020/lib/view/case-view/case-view.module.mjs +38 -0
- package/esm2020/lib/view/case-view/components/case-list/case-list.component.mjs +34 -0
- package/esm2020/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs +36 -0
- package/esm2020/lib/view/public-api.mjs +11 -0
- package/esm2020/lib/view/tree-case-view/tree-case-view.module.mjs +60 -0
- package/esm2020/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.mjs +22 -0
- package/esm2020/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.mjs +21 -0
- package/esm2020/lib/view/tree-case-view/tree-component/tree.component.mjs +27 -0
- package/esm2020/lib/view/tree-case-view/tree-task-content/tree-task-content.component.mjs +57 -0
- package/esm2020/lib/view/workflow-view/workflow-view.component.mjs +34 -0
- package/esm2020/lib/view/workflow-view.module.mjs +53 -0
- package/esm2020/netgrif-components.mjs +5 -0
- package/esm2020/public-api.mjs +22 -0
- package/fesm2015/netgrif-components.mjs +4255 -0
- package/fesm2015/netgrif-components.mjs.map +1 -0
- package/fesm2020/netgrif-components.mjs +4181 -0
- package/fesm2020/netgrif-components.mjs.map +1 -0
- package/lib/admin/admin.module.d.ts +9 -0
- package/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.d.ts +3 -0
- package/lib/admin/public-api.d.ts +1 -0
- package/lib/admin/role-assignment/role-assignment.component.d.ts +5 -2
- package/lib/admin/user-invite/user-invite.component.d.ts +3 -0
- package/lib/authentication/auth.module.d.ts +6 -0
- package/lib/authentication/authentication-overlay/authentication-overlay.component.d.ts +5 -2
- package/lib/dashboard/cards/barchart-card/barchart-card.component.d.ts +5 -2
- package/lib/dashboard/cards/count-card/count-card.component.d.ts +5 -2
- package/lib/dashboard/cards/iframe-card/iframe-card.component.d.ts +5 -2
- package/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.d.ts +5 -2
- package/lib/dashboard/cards/linechart-card/line-chart-card.component.d.ts +5 -2
- package/lib/dashboard/cards/piechart-card/pie-chart-card.component.d.ts +5 -2
- package/lib/dashboard/cards/portal-card/portal-card.component.d.ts +6 -3
- package/lib/dashboard/dashboard-content/dashboard-content.component.d.ts +5 -2
- package/lib/dashboard/dashboard.module.d.ts +16 -0
- package/lib/data-fields/boolean-field/boolean-field.component.d.ts +3 -0
- package/lib/data-fields/button-field/button-field.component.d.ts +3 -0
- package/lib/data-fields/data-field-template/data-field-template.component.d.ts +3 -0
- package/lib/data-fields/data-fields.module.d.ts +54 -0
- package/lib/data-fields/date-field/date-field.component.d.ts +3 -0
- package/lib/data-fields/date-time-field/date-time-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.d.ts +3 -0
- package/lib/data-fields/file-field/file-field.component.d.ts +3 -0
- package/lib/data-fields/file-field/preview-dialog/preview-dialog.component.d.ts +4 -3
- package/lib/data-fields/file-field-list/file-list-field.component.d.ts +3 -0
- package/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.d.ts +3 -0
- package/lib/data-fields/filter-field/filter-field.component.d.ts +3 -0
- package/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.d.ts +3 -0
- package/lib/data-fields/i18n-field/i18n-field.component.d.ts +3 -0
- package/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.d.ts +3 -0
- package/lib/data-fields/multichoice-field/multichoice-field.component.d.ts +3 -0
- package/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.d.ts +3 -0
- package/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.d.ts +3 -0
- package/lib/data-fields/number-field/number-currency-field/number-currency-field.component.d.ts +6 -3
- package/lib/data-fields/number-field/number-default-field/number-default-field.component.d.ts +3 -0
- package/lib/data-fields/number-field/number-field.component.d.ts +3 -0
- package/lib/data-fields/required-label/required-label.component.d.ts +4 -3
- package/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.d.ts +3 -0
- package/lib/data-fields/text-field/password-text-field/password-text-field.component.d.ts +4 -3
- package/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.d.ts +23 -0
- package/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.d.ts +3 -0
- package/lib/data-fields/text-field/simple-text-field/simple-text-field.component.d.ts +3 -0
- package/lib/data-fields/text-field/text-field.component.d.ts +3 -0
- package/lib/data-fields/text-field/textarea-field/textarea-field.component.d.ts +3 -0
- package/lib/data-fields/user-field/user-field.component.d.ts +3 -0
- package/lib/forms/email-submission/email-submission-form.component.d.ts +3 -0
- package/lib/forms/email-submission/email-submission-form.module.d.ts +10 -0
- package/lib/forms/forgotten-password/forgotten-password-form-component.module.d.ts +9 -0
- package/lib/forms/forgotten-password/forgotten-password-form.component.d.ts +3 -0
- package/lib/forms/login/login-form.component.d.ts +3 -0
- package/lib/forms/login/login-form.module.d.ts +9 -0
- package/lib/forms/registration/registration-form.component.d.ts +3 -0
- package/lib/forms/registration/registration-form.module.d.ts +10 -0
- package/lib/header/header-modes/edit-mode/edit-mode.component.d.ts +3 -0
- package/lib/header/header-modes/loading-mode/loading-mode.component.d.ts +3 -0
- package/lib/header/header-modes/search-mode/search-mode.component.d.ts +3 -0
- package/lib/header/header-modes/sort-mode/sort-mode.component.d.ts +3 -0
- package/lib/header/header.component.d.ts +3 -0
- package/lib/header/header.module.d.ts +13 -0
- package/lib/legal/legal-notice/legal-notice.component.d.ts +3 -0
- package/lib/legal/legal-notice/legal-notice.module.d.ts +7 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.d.ts +5 -2
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.d.ts +3 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.d.ts +5 -2
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.d.ts +5 -2
- package/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.d.ts +3 -0
- package/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.d.ts +3 -0
- package/lib/navigation/navigation-drawer/navigation-drawer.component.d.ts +3 -0
- package/lib/navigation/navigation-rail/navigation-rail.component.d.ts +3 -0
- package/lib/navigation/navigation-tree/navigation-tree.component.d.ts +3 -0
- package/lib/navigation/navigation.module.d.ts +25 -0
- package/lib/navigation/public-api.d.ts +5 -0
- package/lib/navigation/quick-panel/components/internal-link/internal-link.component.d.ts +3 -0
- package/lib/navigation/quick-panel/components/language-selector/language-selector.component.d.ts +3 -0
- package/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.d.ts +3 -0
- package/lib/navigation/quick-panel/components/quick-panel.component.d.ts +3 -0
- package/lib/navigation/quick-panel/quick-panel.module.d.ts +11 -0
- package/lib/panel/case-panel/case-panel.component.d.ts +3 -0
- package/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.d.ts +3 -0
- package/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.d.ts +3 -0
- package/lib/panel/panel-item/panel-item.component.d.ts +3 -0
- package/lib/panel/panel.component.d.ts +3 -0
- package/lib/panel/panel.module.d.ts +20 -0
- package/lib/panel/public-api.d.ts +2 -0
- package/lib/panel/public-workflow-panel/public-workflow-panel.component.d.ts +3 -0
- package/lib/panel/task-panel/task-panel.component.d.ts +3 -0
- package/lib/panel/task-panel-list/task-list.component.d.ts +3 -0
- package/lib/panel/task-panel-list-pagination/task-list-pagination.component.d.ts +3 -0
- package/lib/panel/workflow-panel/workflow-panel.component.d.ts +3 -0
- package/lib/routing/redirect/redirect.component.d.ts +3 -0
- package/lib/routing/redirect.module.d.ts +5 -0
- package/lib/search/advanced-search/advanced-search-component/advanced-search.component.d.ts +3 -0
- package/lib/search/advanced-search/advanced-search.module.d.ts +12 -0
- package/lib/search/advanced-search/search-clause-component/search-clause.component.d.ts +3 -0
- package/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.d.ts +3 -0
- package/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.d.ts +3 -0
- package/lib/search/advanced-search/search-predicate-component/search-predicate.component.d.ts +3 -0
- package/lib/search/fulltext-search-component/fulltext-search.component.d.ts +3 -0
- package/lib/search/search-component/case-search/case-search.component.d.ts +3 -0
- package/lib/search/search-component/search.component.d.ts +3 -0
- package/lib/search/search-component/task-search/task-search.component.d.ts +3 -0
- package/lib/search/search.module.d.ts +12 -0
- package/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.d.ts +3 -0
- package/lib/side-menu/content-components/filter-selector/filter-selector.component.d.ts +3 -0
- package/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.d.ts +8 -0
- package/lib/side-menu/content-components/import-net/import-net.component.d.ts +3 -0
- package/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.d.ts +9 -0
- package/lib/side-menu/content-components/load-filter/load-filter.component.d.ts +3 -0
- package/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.d.ts +9 -0
- package/lib/side-menu/content-components/new-case/new-case.component.d.ts +3 -0
- package/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.d.ts +10 -0
- package/lib/side-menu/content-components/option-selector/option-selector.component.d.ts +3 -0
- package/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.d.ts +7 -0
- package/lib/side-menu/content-components/save-filter/save-filter.component.d.ts +3 -0
- package/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.d.ts +8 -0
- package/lib/side-menu/content-components/side-menu-content-component.module.d.ts +12 -0
- package/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.d.ts +11 -0
- package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.d.ts +3 -0
- package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.d.ts +3 -0
- package/lib/side-menu/content-components/user-assign/user-assign.component.d.ts +3 -0
- package/lib/side-menu/side-menu-container/side-menu-container.component.d.ts +3 -0
- package/lib/side-menu/side-menu.module.d.ts +10 -0
- package/lib/tabs/tab-creation-detector/tab-creation-detector.component.d.ts +3 -0
- package/lib/tabs/tab-view/tab-view.component.d.ts +3 -0
- package/lib/tabs/tabs.module.d.ts +10 -0
- package/lib/task-content/field-component-resolver/field-component-resolver.component.d.ts +3 -0
- package/lib/task-content/task-content/task-content.component.d.ts +3 -0
- package/lib/task-content/task-content.module.d.ts +10 -0
- package/lib/toolbar/toolbar.component.d.ts +3 -0
- package/lib/toolbar/toolbar.module.d.ts +8 -0
- package/lib/user/profile/profile.component.d.ts +3 -0
- package/lib/user/profile/profile.module.d.ts +7 -0
- package/lib/user/user-card/user-card.component.d.ts +3 -0
- package/lib/user/user.module.d.ts +8 -0
- package/lib/view/case-view/case-view.module.d.ts +10 -0
- package/lib/view/case-view/components/case-list/case-list.component.d.ts +3 -0
- package/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.d.ts +3 -0
- package/lib/view/public-api.d.ts +1 -0
- package/lib/view/tree-case-view/tree-case-view.module.d.ts +14 -0
- package/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.d.ts +3 -0
- package/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.d.ts +3 -0
- package/lib/view/tree-case-view/tree-component/tree.component.d.ts +3 -0
- package/lib/view/tree-case-view/tree-task-content/tree-task-content.component.d.ts +3 -0
- package/lib/view/workflow-view/workflow-view.component.d.ts +3 -0
- package/lib/view/workflow-view.module.d.ts +12 -0
- package/netgrif-components.d.ts +1 -40
- package/package.json +51 -42
- package/schematics/_commons/view-class-info.js +4 -4
- package/schematics/_commons/view-class-info.js.map +1 -1
- package/schematics/_utility/modified-library-functions.js +6 -6
- package/schematics/_utility/modified-library-functions.js.map +1 -1
- package/schematics/_utility/utility-functions.js +6 -6
- package/schematics/_utility/utility-functions.js.map +1 -1
- package/schematics/add/add/index.js +2 -2
- package/schematics/add/add/index.js.map +1 -1
- package/schematics/add/create-nc-files/index.js +5 -5
- package/schematics/add/create-nc-files/index.js.map +1 -1
- package/schematics/add/custom-themes/files/custom-themes/custom-themes.scss.template +2 -2
- package/schematics/add/custom-themes/files/dark-theme/custom-dark-theme.scss.template +1 -1
- package/schematics/add/custom-themes/files/light-theme/custom-light-theme.scss.template +1 -1
- package/schematics/add/custom-themes/index.js +5 -5
- package/schematics/add/custom-themes/index.js.map +1 -1
- package/schematics/migrations/4.1/migration-4.1.js +6 -6
- package/schematics/migrations/4.1/migration-4.1.js.map +1 -1
- package/schematics/migrations/5.4/migration-5.4.js +20 -20
- package/schematics/migrations/5.4/migration-5.4.js.map +1 -1
- package/schematics/view/_utility/add-view-to-nae-json.js +1 -1
- package/schematics/view/_utility/add-view-to-nae-json.js.map +1 -1
- package/schematics/view/_utility/view-service-functions.js +7 -10
- package/schematics/view/_utility/view-service-functions.js.map +1 -1
- package/schematics/view/_utility/view-utility-functions.js +6 -6
- package/schematics/view/_utility/view-utility-functions.js.map +1 -1
- package/schematics/view/create-view/schematic-create-view.js +4 -4
- package/schematics/view/create-view/schematic-create-view.js.map +1 -1
- package/schematics/view/create-view-prompt/schematic-create-sidenav-prompt.js +1 -1
- package/schematics/view/create-view-prompt/schematic-create-sidenav-prompt.js.map +1 -1
- package/schematics/view/create-view-prompt/schematic-create-view-prompt.js +15 -15
- package/schematics/view/create-view-prompt/schematic-create-view-prompt.js.map +1 -1
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.js +9 -13
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/dashboard-view/create-dashboard-view.js +7 -7
- package/schematics/view/create-view-prompt/views/dashboard-view/create-dashboard-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/empty-view/create-empty-view.js +6 -6
- package/schematics/view/create-view-prompt/views/empty-view/create-empty-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/group-view/create-group-view.js +7 -7
- package/schematics/view/create-view-prompt/views/group-view/create-group-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/login/create-login-view.js +7 -7
- package/schematics/view/create-view-prompt/views/login/create-login-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/create-sidenav-or-toolbar-view.js +8 -8
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/create-sidenav-or-toolbar-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js +9 -16
- package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/task-view/create-task-view.js +9 -9
- package/schematics/view/create-view-prompt/views/task-view/create-task-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js +7 -7
- package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js.map +1 -1
- package/src/lib/admin/role-assignment/role-assignment.component.theme.scss +2 -2
- package/src/lib/data-fields/data-field.theme.scss +12 -11
- package/src/lib/dialog/dialog.theme.scss +0 -2
- package/src/lib/header/header.theme.scss +2 -2
- package/src/lib/navigation/navigation.theme.scss +2 -2
- package/src/lib/panel/panel.theme.scss +7 -7
- package/src/lib/search/advanced-search/search-clause-component/search-clause.component.theme.scss +2 -2
- package/src/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.theme.scss +2 -2
- package/src/lib/search/advanced-search/search-predicate-component/search-predicate.component.theme.scss +2 -2
- package/src/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/theme/user-assign-item.component.theme.scss +5 -5
- package/src/lib/side-menu/side-menu.theme.scss +3 -3
- package/src/lib/snack-bar/snack-bar.theme.scss +0 -2
- package/src/lib/tabs/tabs.theme.scss +0 -2
- package/src/lib/user/user.theme.scss +2 -2
- package/src/lib/view/view.theme.scss +3 -3
- package/bundles/netgrif-components.umd.js +0 -4906
- package/bundles/netgrif-components.umd.js.map +0 -1
- package/bundles/netgrif-components.umd.min.js +0 -16
- package/bundles/netgrif-components.umd.min.js.map +0 -1
- package/esm2015/lib/admin/admin.module.js +0 -20
- package/esm2015/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.js +0 -25
- package/esm2015/lib/admin/public-api.js +0 -6
- package/esm2015/lib/admin/role-assignment/role-assignment.component.js +0 -28
- package/esm2015/lib/admin/user-invite/user-invite.component.js +0 -35
- package/esm2015/lib/authentication/auth.module.js +0 -15
- package/esm2015/lib/authentication/authentication-overlay/authentication-overlay.component.js +0 -35
- package/esm2015/lib/authentication/public-api.js +0 -5
- package/esm2015/lib/dashboard/cards/barchart-card/barchart-card.component.js +0 -49
- package/esm2015/lib/dashboard/cards/count-card/count-card.component.js +0 -22
- package/esm2015/lib/dashboard/cards/iframe-card/iframe-card.component.js +0 -23
- package/esm2015/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.js +0 -47
- package/esm2015/lib/dashboard/cards/linechart-card/line-chart-card.component.js +0 -59
- package/esm2015/lib/dashboard/cards/piechart-card/pie-chart-card.component.js +0 -52
- package/esm2015/lib/dashboard/cards/portal-card/portal-card.component.js +0 -47
- package/esm2015/lib/dashboard/dashboard-content/dashboard-content.component.js +0 -22
- package/esm2015/lib/dashboard/dashboard.module.js +0 -44
- package/esm2015/lib/dashboard/public-api.js +0 -12
- package/esm2015/lib/data-fields/boolean-field/boolean-field.component.js +0 -28
- package/esm2015/lib/data-fields/button-field/button-field.component.js +0 -27
- package/esm2015/lib/data-fields/data-field-template/data-field-template.component.js +0 -25
- package/esm2015/lib/data-fields/data-fields.module.js +0 -138
- package/esm2015/lib/data-fields/date-field/date-field.component.js +0 -30
- package/esm2015/lib/data-fields/date-time-field/date-time-field.component.js +0 -30
- package/esm2015/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.js +0 -23
- package/esm2015/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.js +0 -23
- package/esm2015/lib/data-fields/enumeration-field/enumeration-field.component.js +0 -21
- package/esm2015/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.js +0 -16
- package/esm2015/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.js +0 -16
- package/esm2015/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.js +0 -16
- package/esm2015/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.js +0 -22
- package/esm2015/lib/data-fields/file-field/file-field.component.js +0 -52
- package/esm2015/lib/data-fields/file-field/preview-dialog/preview-dialog.component.js +0 -33
- package/esm2015/lib/data-fields/file-field-list/file-list-field.component.js +0 -32
- package/esm2015/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.js +0 -42
- package/esm2015/lib/data-fields/filter-field/filter-field.component.js +0 -27
- package/esm2015/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.js +0 -16
- package/esm2015/lib/data-fields/i18n-field/i18n-field.component.js +0 -21
- package/esm2015/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.js +0 -45
- package/esm2015/lib/data-fields/multichoice-field/multichoice-field.component.js +0 -21
- package/esm2015/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.js +0 -16
- package/esm2015/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.js +0 -12
- package/esm2015/lib/data-fields/number-field/number-currency-field/number-currency-field.component.js +0 -34
- package/esm2015/lib/data-fields/number-field/number-default-field/number-default-field.component.js +0 -22
- package/esm2015/lib/data-fields/number-field/number-field.component.js +0 -32
- package/esm2015/lib/data-fields/public-api.js +0 -18
- package/esm2015/lib/data-fields/required-label/required-label.component.js +0 -20
- package/esm2015/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.js +0 -27
- package/esm2015/lib/data-fields/text-field/password-text-field/password-text-field.component.js +0 -26
- package/esm2015/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.js +0 -23
- package/esm2015/lib/data-fields/text-field/simple-text-field/simple-text-field.component.js +0 -23
- package/esm2015/lib/data-fields/text-field/text-field.component.js +0 -21
- package/esm2015/lib/data-fields/text-field/textarea-field/textarea-field.component.js +0 -26
- package/esm2015/lib/data-fields/user-field/user-field.component.js +0 -32
- package/esm2015/lib/forms/email-submission/email-submission-form.component.js +0 -22
- package/esm2015/lib/forms/email-submission/email-submission-form.module.js +0 -24
- package/esm2015/lib/forms/forgotten-password/forgotten-password-form-component.module.js +0 -22
- package/esm2015/lib/forms/forgotten-password/forgotten-password-form.component.js +0 -29
- package/esm2015/lib/forms/login/login-form.component.js +0 -25
- package/esm2015/lib/forms/login/login-form.module.js +0 -22
- package/esm2015/lib/forms/public-api.js +0 -11
- package/esm2015/lib/forms/registration/registration-form.component.js +0 -29
- package/esm2015/lib/forms/registration/registration-form.module.js +0 -24
- package/esm2015/lib/header/header-modes/edit-mode/edit-mode.component.js +0 -26
- package/esm2015/lib/header/header-modes/loading-mode/loading-mode.component.js +0 -16
- package/esm2015/lib/header/header-modes/search-mode/search-mode.component.js +0 -34
- package/esm2015/lib/header/header-modes/sort-mode/sort-mode.component.js +0 -16
- package/esm2015/lib/header/header.component.js +0 -36
- package/esm2015/lib/header/header.module.js +0 -39
- package/esm2015/lib/header/public-api.js +0 -12
- package/esm2015/lib/legal/legal-notice/legal-notice.component.js +0 -21
- package/esm2015/lib/legal/legal-notice/legal-notice.module.js +0 -17
- package/esm2015/lib/legal/public-api.js +0 -5
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.js +0 -54
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.js +0 -43
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.js +0 -67
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.js +0 -58
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.js +0 -30
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.js +0 -2
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.js +0 -35
- package/esm2015/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.js +0 -30
- package/esm2015/lib/navigation/navigation-drawer/navigation-drawer.component.js +0 -30
- package/esm2015/lib/navigation/navigation-rail/navigation-rail.component.js +0 -40
- package/esm2015/lib/navigation/navigation-tree/navigation-tree.component.js +0 -42
- package/esm2015/lib/navigation/navigation.module.js +0 -81
- package/esm2015/lib/navigation/public-api.js +0 -9
- package/esm2015/lib/navigation/quick-panel/components/internal-link/internal-link.component.js +0 -16
- package/esm2015/lib/navigation/quick-panel/components/language-selector/language-selector.component.js +0 -39
- package/esm2015/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.js +0 -32
- package/esm2015/lib/navigation/quick-panel/components/quick-panel.component.js +0 -25
- package/esm2015/lib/navigation/quick-panel/public-api.js +0 -9
- package/esm2015/lib/navigation/quick-panel/quick-panel.module.js +0 -33
- package/esm2015/lib/panel/case-panel/case-panel.component.js +0 -50
- package/esm2015/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.js +0 -25
- package/esm2015/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.js +0 -46
- package/esm2015/lib/panel/panel-item/panel-item.component.js +0 -16
- package/esm2015/lib/panel/panel.component.js +0 -22
- package/esm2015/lib/panel/panel.module.js +0 -60
- package/esm2015/lib/panel/public-api.js +0 -12
- package/esm2015/lib/panel/public-workflow-panel/public-workflow-panel.component.js +0 -26
- package/esm2015/lib/panel/task-panel/task-panel.component.js +0 -113
- package/esm2015/lib/panel/task-panel-list/task-list.component.js +0 -31
- package/esm2015/lib/panel/task-panel-list-pagination/task-list-pagination.component.js +0 -31
- package/esm2015/lib/panel/workflow-panel/workflow-panel.component.js +0 -26
- package/esm2015/lib/routing/public-api.js +0 -3
- package/esm2015/lib/routing/redirect/redirect.component.js +0 -28
- package/esm2015/lib/routing/redirect.module.js +0 -12
- package/esm2015/lib/search/advanced-search/advanced-search-component/advanced-search.component.js +0 -24
- package/esm2015/lib/search/advanced-search/advanced-search.module.js +0 -36
- package/esm2015/lib/search/advanced-search/public-api.js +0 -8
- package/esm2015/lib/search/advanced-search/search-clause-component/search-clause.component.js +0 -16
- package/esm2015/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.js +0 -20
- package/esm2015/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.js +0 -26
- package/esm2015/lib/search/advanced-search/search-predicate-component/search-predicate.component.js +0 -27
- package/esm2015/lib/search/fulltext-search-component/fulltext-search.component.js +0 -21
- package/esm2015/lib/search/public-api.js +0 -10
- package/esm2015/lib/search/search-component/case-search/case-search.component.js +0 -24
- package/esm2015/lib/search/search-component/search.component.js +0 -98
- package/esm2015/lib/search/search-component/task-search/task-search.component.js +0 -24
- package/esm2015/lib/search/search.module.js +0 -36
- package/esm2015/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.js +0 -16
- package/esm2015/lib/side-menu/content-components/filter-selector/filter-selector.component.js +0 -45
- package/esm2015/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.js +0 -27
- package/esm2015/lib/side-menu/content-components/import-net/import-net.component.js +0 -44
- package/esm2015/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.js +0 -27
- package/esm2015/lib/side-menu/content-components/load-filter/load-filter.component.js +0 -54
- package/esm2015/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.js +0 -28
- package/esm2015/lib/side-menu/content-components/new-case/new-case.component.js +0 -48
- package/esm2015/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.js +0 -35
- package/esm2015/lib/side-menu/content-components/option-selector/option-selector.component.js +0 -22
- package/esm2015/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.js +0 -30
- package/esm2015/lib/side-menu/content-components/public-api.js +0 -19
- package/esm2015/lib/side-menu/content-components/save-filter/save-filter.component.js +0 -53
- package/esm2015/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.js +0 -26
- package/esm2015/lib/side-menu/content-components/side-menu-content-component.module.js +0 -50
- package/esm2015/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.js +0 -36
- package/esm2015/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.js +0 -19
- package/esm2015/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.js +0 -25
- package/esm2015/lib/side-menu/content-components/user-assign/user-assign.component.js +0 -29
- package/esm2015/lib/side-menu/public-api.js +0 -7
- package/esm2015/lib/side-menu/side-menu-container/side-menu-container.component.js +0 -22
- package/esm2015/lib/side-menu/side-menu.module.js +0 -27
- package/esm2015/lib/tabs/public-api.js +0 -4
- package/esm2015/lib/tabs/tab-creation-detector/tab-creation-detector.component.js +0 -22
- package/esm2015/lib/tabs/tab-view/tab-view.component.js +0 -32
- package/esm2015/lib/tabs/tabs.module.js +0 -28
- package/esm2015/lib/task-content/field-component-resolver/field-component-resolver.component.js +0 -21
- package/esm2015/lib/task-content/public-api.js +0 -6
- package/esm2015/lib/task-content/task-content/task-content.component.js +0 -36
- package/esm2015/lib/task-content/task-content.module.js +0 -32
- package/esm2015/lib/toolbar/public-api.js +0 -3
- package/esm2015/lib/toolbar/toolbar.component.js +0 -26
- package/esm2015/lib/toolbar/toolbar.module.js +0 -22
- package/esm2015/lib/user/profile/profile.component.js +0 -22
- package/esm2015/lib/user/profile/profile.module.js +0 -20
- package/esm2015/lib/user/public-api.js +0 -7
- package/esm2015/lib/user/user-card/user-card.component.js +0 -22
- package/esm2015/lib/user/user.module.js +0 -22
- package/esm2015/lib/view/case-view/case-view.module.js +0 -23
- package/esm2015/lib/view/case-view/components/case-list/case-list.component.js +0 -31
- package/esm2015/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.js +0 -34
- package/esm2015/lib/view/public-api.js +0 -10
- package/esm2015/lib/view/tree-case-view/tree-case-view.module.js +0 -38
- package/esm2015/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.js +0 -22
- package/esm2015/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.js +0 -22
- package/esm2015/lib/view/tree-case-view/tree-component/tree.component.js +0 -23
- package/esm2015/lib/view/tree-case-view/tree-task-content/tree-task-content.component.js +0 -55
- package/esm2015/lib/view/workflow-view/workflow-view.component.js +0 -36
- package/esm2015/lib/view/workflow-view.module.js +0 -36
- package/esm2015/netgrif-components.js +0 -44
- package/esm2015/public-api.js +0 -22
- package/esm5/lib/admin/admin.module.js +0 -24
- package/esm5/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.js +0 -30
- package/esm5/lib/admin/public-api.js +0 -6
- package/esm5/lib/admin/role-assignment/role-assignment.component.js +0 -33
- package/esm5/lib/admin/user-invite/user-invite.component.js +0 -40
- package/esm5/lib/authentication/auth.module.js +0 -19
- package/esm5/lib/authentication/authentication-overlay/authentication-overlay.component.js +0 -40
- package/esm5/lib/authentication/public-api.js +0 -5
- package/esm5/lib/dashboard/cards/barchart-card/barchart-card.component.js +0 -55
- package/esm5/lib/dashboard/cards/count-card/count-card.component.js +0 -27
- package/esm5/lib/dashboard/cards/iframe-card/iframe-card.component.js +0 -28
- package/esm5/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.js +0 -52
- package/esm5/lib/dashboard/cards/linechart-card/line-chart-card.component.js +0 -65
- package/esm5/lib/dashboard/cards/piechart-card/pie-chart-card.component.js +0 -58
- package/esm5/lib/dashboard/cards/portal-card/portal-card.component.js +0 -52
- package/esm5/lib/dashboard/dashboard-content/dashboard-content.component.js +0 -27
- package/esm5/lib/dashboard/dashboard.module.js +0 -48
- package/esm5/lib/dashboard/public-api.js +0 -12
- package/esm5/lib/data-fields/boolean-field/boolean-field.component.js +0 -33
- package/esm5/lib/data-fields/button-field/button-field.component.js +0 -32
- package/esm5/lib/data-fields/data-field-template/data-field-template.component.js +0 -30
- package/esm5/lib/data-fields/data-fields.module.js +0 -142
- package/esm5/lib/data-fields/date-field/date-field.component.js +0 -34
- package/esm5/lib/data-fields/date-time-field/date-time-field.component.js +0 -34
- package/esm5/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.js +0 -28
- package/esm5/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.js +0 -28
- package/esm5/lib/data-fields/enumeration-field/enumeration-field.component.js +0 -25
- package/esm5/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.js +0 -20
- package/esm5/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.js +0 -20
- package/esm5/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.js +0 -20
- package/esm5/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.js +0 -27
- package/esm5/lib/data-fields/file-field/file-field.component.js +0 -57
- package/esm5/lib/data-fields/file-field/preview-dialog/preview-dialog.component.js +0 -36
- package/esm5/lib/data-fields/file-field-list/file-list-field.component.js +0 -36
- package/esm5/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.js +0 -46
- package/esm5/lib/data-fields/filter-field/filter-field.component.js +0 -31
- package/esm5/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.js +0 -20
- package/esm5/lib/data-fields/i18n-field/i18n-field.component.js +0 -25
- package/esm5/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.js +0 -49
- package/esm5/lib/data-fields/multichoice-field/multichoice-field.component.js +0 -25
- package/esm5/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.js +0 -20
- package/esm5/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.js +0 -19
- package/esm5/lib/data-fields/number-field/number-currency-field/number-currency-field.component.js +0 -38
- package/esm5/lib/data-fields/number-field/number-default-field/number-default-field.component.js +0 -26
- package/esm5/lib/data-fields/number-field/number-field.component.js +0 -36
- package/esm5/lib/data-fields/public-api.js +0 -18
- package/esm5/lib/data-fields/required-label/required-label.component.js +0 -22
- package/esm5/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.js +0 -32
- package/esm5/lib/data-fields/text-field/password-text-field/password-text-field.component.js +0 -31
- package/esm5/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.js +0 -28
- package/esm5/lib/data-fields/text-field/simple-text-field/simple-text-field.component.js +0 -28
- package/esm5/lib/data-fields/text-field/text-field.component.js +0 -25
- package/esm5/lib/data-fields/text-field/textarea-field/textarea-field.component.js +0 -31
- package/esm5/lib/data-fields/user-field/user-field.component.js +0 -36
- package/esm5/lib/forms/email-submission/email-submission-form.component.js +0 -26
- package/esm5/lib/forms/email-submission/email-submission-form.module.js +0 -28
- package/esm5/lib/forms/forgotten-password/forgotten-password-form-component.module.js +0 -26
- package/esm5/lib/forms/forgotten-password/forgotten-password-form.component.js +0 -33
- package/esm5/lib/forms/login/login-form.component.js +0 -30
- package/esm5/lib/forms/login/login-form.module.js +0 -26
- package/esm5/lib/forms/public-api.js +0 -11
- package/esm5/lib/forms/registration/registration-form.component.js +0 -33
- package/esm5/lib/forms/registration/registration-form.module.js +0 -28
- package/esm5/lib/header/header-modes/edit-mode/edit-mode.component.js +0 -31
- package/esm5/lib/header/header-modes/loading-mode/loading-mode.component.js +0 -20
- package/esm5/lib/header/header-modes/search-mode/search-mode.component.js +0 -39
- package/esm5/lib/header/header-modes/sort-mode/sort-mode.component.js +0 -20
- package/esm5/lib/header/header.component.js +0 -41
- package/esm5/lib/header/header.module.js +0 -43
- package/esm5/lib/header/public-api.js +0 -12
- package/esm5/lib/legal/legal-notice/legal-notice.component.js +0 -25
- package/esm5/lib/legal/legal-notice/legal-notice.module.js +0 -21
- package/esm5/lib/legal/public-api.js +0 -5
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.js +0 -58
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.js +0 -45
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.js +0 -71
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.js +0 -62
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.js +0 -30
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.js +0 -2
- package/esm5/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.js +0 -39
- package/esm5/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.js +0 -34
- package/esm5/lib/navigation/navigation-drawer/navigation-drawer.component.js +0 -35
- package/esm5/lib/navigation/navigation-rail/navigation-rail.component.js +0 -44
- package/esm5/lib/navigation/navigation-tree/navigation-tree.component.js +0 -46
- package/esm5/lib/navigation/navigation.module.js +0 -85
- package/esm5/lib/navigation/public-api.js +0 -9
- package/esm5/lib/navigation/quick-panel/components/internal-link/internal-link.component.js +0 -20
- package/esm5/lib/navigation/quick-panel/components/language-selector/language-selector.component.js +0 -44
- package/esm5/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.js +0 -37
- package/esm5/lib/navigation/quick-panel/components/quick-panel.component.js +0 -30
- package/esm5/lib/navigation/quick-panel/public-api.js +0 -9
- package/esm5/lib/navigation/quick-panel/quick-panel.module.js +0 -37
- package/esm5/lib/panel/case-panel/case-panel.component.js +0 -55
- package/esm5/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.js +0 -29
- package/esm5/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.js +0 -50
- package/esm5/lib/panel/panel-item/panel-item.component.js +0 -20
- package/esm5/lib/panel/panel.component.js +0 -26
- package/esm5/lib/panel/panel.module.js +0 -64
- package/esm5/lib/panel/public-api.js +0 -12
- package/esm5/lib/panel/public-workflow-panel/public-workflow-panel.component.js +0 -30
- package/esm5/lib/panel/task-panel/task-panel.component.js +0 -118
- package/esm5/lib/panel/task-panel-list/task-list.component.js +0 -36
- package/esm5/lib/panel/task-panel-list-pagination/task-list-pagination.component.js +0 -36
- package/esm5/lib/panel/workflow-panel/workflow-panel.component.js +0 -30
- package/esm5/lib/routing/public-api.js +0 -3
- package/esm5/lib/routing/redirect/redirect.component.js +0 -30
- package/esm5/lib/routing/redirect.module.js +0 -16
- package/esm5/lib/search/advanced-search/advanced-search-component/advanced-search.component.js +0 -28
- package/esm5/lib/search/advanced-search/advanced-search.module.js +0 -40
- package/esm5/lib/search/advanced-search/public-api.js +0 -8
- package/esm5/lib/search/advanced-search/search-clause-component/search-clause.component.js +0 -20
- package/esm5/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.js +0 -25
- package/esm5/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.js +0 -31
- package/esm5/lib/search/advanced-search/search-predicate-component/search-predicate.component.js +0 -31
- package/esm5/lib/search/fulltext-search-component/fulltext-search.component.js +0 -25
- package/esm5/lib/search/public-api.js +0 -10
- package/esm5/lib/search/search-component/case-search/case-search.component.js +0 -28
- package/esm5/lib/search/search-component/search.component.js +0 -105
- package/esm5/lib/search/search-component/task-search/task-search.component.js +0 -28
- package/esm5/lib/search/search.module.js +0 -40
- package/esm5/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.js +0 -23
- package/esm5/lib/side-menu/content-components/filter-selector/filter-selector.component.js +0 -50
- package/esm5/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.js +0 -31
- package/esm5/lib/side-menu/content-components/import-net/import-net.component.js +0 -49
- package/esm5/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.js +0 -31
- package/esm5/lib/side-menu/content-components/load-filter/load-filter.component.js +0 -58
- package/esm5/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.js +0 -32
- package/esm5/lib/side-menu/content-components/new-case/new-case.component.js +0 -53
- package/esm5/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.js +0 -39
- package/esm5/lib/side-menu/content-components/option-selector/option-selector.component.js +0 -27
- package/esm5/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.js +0 -34
- package/esm5/lib/side-menu/content-components/public-api.js +0 -19
- package/esm5/lib/side-menu/content-components/save-filter/save-filter.component.js +0 -57
- package/esm5/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.js +0 -30
- package/esm5/lib/side-menu/content-components/side-menu-content-component.module.js +0 -54
- package/esm5/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.js +0 -40
- package/esm5/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.js +0 -23
- package/esm5/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.js +0 -30
- package/esm5/lib/side-menu/content-components/user-assign/user-assign.component.js +0 -34
- package/esm5/lib/side-menu/public-api.js +0 -7
- package/esm5/lib/side-menu/side-menu-container/side-menu-container.component.js +0 -27
- package/esm5/lib/side-menu/side-menu.module.js +0 -31
- package/esm5/lib/tabs/public-api.js +0 -4
- package/esm5/lib/tabs/tab-creation-detector/tab-creation-detector.component.js +0 -26
- package/esm5/lib/tabs/tab-view/tab-view.component.js +0 -37
- package/esm5/lib/tabs/tabs.module.js +0 -32
- package/esm5/lib/task-content/field-component-resolver/field-component-resolver.component.js +0 -25
- package/esm5/lib/task-content/public-api.js +0 -6
- package/esm5/lib/task-content/task-content/task-content.component.js +0 -41
- package/esm5/lib/task-content/task-content.module.js +0 -36
- package/esm5/lib/toolbar/public-api.js +0 -3
- package/esm5/lib/toolbar/toolbar.component.js +0 -31
- package/esm5/lib/toolbar/toolbar.module.js +0 -26
- package/esm5/lib/user/profile/profile.component.js +0 -27
- package/esm5/lib/user/profile/profile.module.js +0 -24
- package/esm5/lib/user/public-api.js +0 -7
- package/esm5/lib/user/user-card/user-card.component.js +0 -27
- package/esm5/lib/user/user.module.js +0 -26
- package/esm5/lib/view/case-view/case-view.module.js +0 -27
- package/esm5/lib/view/case-view/components/case-list/case-list.component.js +0 -36
- package/esm5/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.js +0 -39
- package/esm5/lib/view/public-api.js +0 -10
- package/esm5/lib/view/tree-case-view/tree-case-view.module.js +0 -42
- package/esm5/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.js +0 -27
- package/esm5/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.js +0 -27
- package/esm5/lib/view/tree-case-view/tree-component/tree.component.js +0 -28
- package/esm5/lib/view/tree-case-view/tree-task-content/tree-task-content.component.js +0 -60
- package/esm5/lib/view/workflow-view/workflow-view.component.js +0 -41
- package/esm5/lib/view/workflow-view.module.js +0 -40
- package/esm5/netgrif-components.js +0 -44
- package/esm5/public-api.js +0 -22
- package/fesm2015/netgrif-components.js +0 -4157
- package/fesm2015/netgrif-components.js.map +0 -1
- package/fesm5/netgrif-components.js +0 -4553
- package/fesm5/netgrif-components.js.map +0 -1
- package/netgrif-components.metadata.json +0 -1
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
import { AbstractRoleAssignment, RoleAssignmentService, UserService } from '@netgrif/components-core';
|
|
4
|
-
var RoleAssignmentComponent = /** @class */ (function (_super) {
|
|
5
|
-
__extends(RoleAssignmentComponent, _super);
|
|
6
|
-
function RoleAssignmentComponent(_service, _userService) {
|
|
7
|
-
var _this = _super.call(this, _service, _userService) || this;
|
|
8
|
-
_this._service = _service;
|
|
9
|
-
_this._userService = _userService;
|
|
10
|
-
return _this;
|
|
11
|
-
}
|
|
12
|
-
RoleAssignmentComponent.ctorParameters = function () { return [
|
|
13
|
-
{ type: RoleAssignmentService },
|
|
14
|
-
{ type: UserService }
|
|
15
|
-
]; };
|
|
16
|
-
RoleAssignmentComponent.decorators = [
|
|
17
|
-
{ type: Component, args: [{
|
|
18
|
-
selector: 'nc-role-assignment',
|
|
19
|
-
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",
|
|
20
|
-
providers: [
|
|
21
|
-
RoleAssignmentService
|
|
22
|
-
],
|
|
23
|
-
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}"]
|
|
24
|
-
},] }
|
|
25
|
-
];
|
|
26
|
-
RoleAssignmentComponent.ctorParameters = function () { return [
|
|
27
|
-
{ type: RoleAssignmentService },
|
|
28
|
-
{ type: UserService }
|
|
29
|
-
]; };
|
|
30
|
-
return RoleAssignmentComponent;
|
|
31
|
-
}(AbstractRoleAssignment));
|
|
32
|
-
export { RoleAssignmentComponent };
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9sZS1hc3NpZ25tZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvYWRtaW4vcm9sZS1hc3NpZ25tZW50L3JvbGUtYXNzaWdubWVudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLHNCQUFzQixFQUFFLHFCQUFxQixFQUFFLFdBQVcsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBRXBHO0lBUTZDLDJDQUFzQjtJQUMvRCxpQ0FBc0IsUUFBK0IsRUFBWSxZQUF5QjtRQUExRixZQUNJLGtCQUFNLFFBQVEsRUFBRSxZQUFZLENBQUMsU0FDaEM7UUFGcUIsY0FBUSxHQUFSLFFBQVEsQ0FBdUI7UUFBWSxrQkFBWSxHQUFaLFlBQVksQ0FBYTs7SUFFMUYsQ0FBQzs7Z0JBRitCLHFCQUFxQjtnQkFBMEIsV0FBVzs7O2dCQVQ3RixTQUFTLFNBQUM7b0JBQ1AsUUFBUSxFQUFFLG9CQUFvQjtvQkFDOUIsazdQQUErQztvQkFFL0MsU0FBUyxFQUFFO3dCQUNQLHFCQUFxQjtxQkFDeEI7O2lCQUNKOzs7Z0JBVCtCLHFCQUFxQjtnQkFBRSxXQUFXOztJQWNsRSw4QkFBQztDQUFBLEFBWkQsQ0FRNkMsc0JBQXNCLEdBSWxFO1NBSlksdUJBQXVCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtBYnN0cmFjdFJvbGVBc3NpZ25tZW50LCBSb2xlQXNzaWdubWVudFNlcnZpY2UsIFVzZXJTZXJ2aWNlfSBmcm9tICdAbmV0Z3JpZi9jb21wb25lbnRzLWNvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ25jLXJvbGUtYXNzaWdubWVudCcsXG4gICAgdGVtcGxhdGVVcmw6ICcuL3JvbGUtYXNzaWdubWVudC5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmxzOiBbJy4vcm9sZS1hc3NpZ25tZW50LmNvbXBvbmVudC5zY3NzJ10sXG4gICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIFJvbGVBc3NpZ25tZW50U2VydmljZVxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgUm9sZUFzc2lnbm1lbnRDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdFJvbGVBc3NpZ25tZW50IHtcbiAgICBjb25zdHJ1Y3Rvcihwcm90ZWN0ZWQgX3NlcnZpY2U6IFJvbGVBc3NpZ25tZW50U2VydmljZSwgcHJvdGVjdGVkIF91c2VyU2VydmljZTogVXNlclNlcnZpY2UpIHtcbiAgICAgICAgc3VwZXIoX3NlcnZpY2UsIF91c2VyU2VydmljZSk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
import { AbstractUserInviteComponent, OrganizationListService, SignUpService, SnackBarService, UserInviteService } from '@netgrif/components-core';
|
|
4
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
-
var UserInviteComponent = /** @class */ (function (_super) {
|
|
6
|
-
__extends(UserInviteComponent, _super);
|
|
7
|
-
function UserInviteComponent(_userInviteService, _orgList, _signUpService, _snackBar, _translate) {
|
|
8
|
-
var _this = _super.call(this, _userInviteService, _orgList, _signUpService, _snackBar, _translate) || this;
|
|
9
|
-
_this._userInviteService = _userInviteService;
|
|
10
|
-
_this._orgList = _orgList;
|
|
11
|
-
_this._signUpService = _signUpService;
|
|
12
|
-
_this._snackBar = _snackBar;
|
|
13
|
-
_this._translate = _translate;
|
|
14
|
-
return _this;
|
|
15
|
-
}
|
|
16
|
-
UserInviteComponent.ctorParameters = function () { return [
|
|
17
|
-
{ type: UserInviteService },
|
|
18
|
-
{ type: OrganizationListService },
|
|
19
|
-
{ type: SignUpService },
|
|
20
|
-
{ type: SnackBarService },
|
|
21
|
-
{ type: TranslateService }
|
|
22
|
-
]; };
|
|
23
|
-
UserInviteComponent.decorators = [
|
|
24
|
-
{ type: Component, args: [{
|
|
25
|
-
selector: 'nc-user-invite',
|
|
26
|
-
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",
|
|
27
|
-
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}"]
|
|
28
|
-
},] }
|
|
29
|
-
];
|
|
30
|
-
UserInviteComponent.ctorParameters = function () { return [
|
|
31
|
-
{ type: UserInviteService },
|
|
32
|
-
{ type: OrganizationListService },
|
|
33
|
-
{ type: SignUpService },
|
|
34
|
-
{ type: SnackBarService },
|
|
35
|
-
{ type: TranslateService }
|
|
36
|
-
]; };
|
|
37
|
-
return UserInviteComponent;
|
|
38
|
-
}(AbstractUserInviteComponent));
|
|
39
|
-
export { UserInviteComponent };
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1pbnZpdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9hZG1pbi91c2VyLWludml0ZS91c2VyLWludml0ZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQ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2lnblVwU2VydmljZSwgX3NuYWNrQmFyLCBfdHJhbnNsYXRlKTtcbiAgICB9XG5cbn1cbiJdfQ==
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { AuthenticationOverlayComponent } from './authentication-overlay/authentication-overlay.component';
|
|
4
|
-
var AuthenticationComponentModule = /** @class */ (function () {
|
|
5
|
-
function AuthenticationComponentModule() {
|
|
6
|
-
}
|
|
7
|
-
AuthenticationComponentModule.decorators = [
|
|
8
|
-
{ type: NgModule, args: [{
|
|
9
|
-
declarations: [AuthenticationOverlayComponent],
|
|
10
|
-
exports: [AuthenticationOverlayComponent],
|
|
11
|
-
imports: [
|
|
12
|
-
CommonModule
|
|
13
|
-
]
|
|
14
|
-
},] }
|
|
15
|
-
];
|
|
16
|
-
return AuthenticationComponentModule;
|
|
17
|
-
}());
|
|
18
|
-
export { AuthenticationComponentModule };
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2F1dGhlbnRpY2F0aW9uL2F1dGgubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyw4QkFBOEIsRUFBQyxNQUFNLDJEQUEyRCxDQUFDO0FBRXpHO0lBQUE7SUFRQSxDQUFDOztnQkFSQSxRQUFRLFNBQUM7b0JBQ04sWUFBWSxFQUFFLENBQUMsOEJBQThCLENBQUM7b0JBQzlDLE9BQU8sRUFBRSxDQUFDLDhCQUE4QixDQUFDO29CQUN6QyxPQUFPLEVBQUU7d0JBQ0wsWUFBWTtxQkFDZjtpQkFDSjs7SUFFRCxvQ0FBQztDQUFBLEFBUkQsSUFRQztTQURZLDZCQUE2QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtDb21tb25Nb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQge0F1dGhlbnRpY2F0aW9uT3ZlcmxheUNvbXBvbmVudH0gZnJvbSAnLi9hdXRoZW50aWNhdGlvbi1vdmVybGF5L2F1dGhlbnRpY2F0aW9uLW92ZXJsYXkuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtBdXRoZW50aWNhdGlvbk92ZXJsYXlDb21wb25lbnRdLFxuICAgIGV4cG9ydHM6IFtBdXRoZW50aWNhdGlvbk92ZXJsYXlDb21wb25lbnRdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlXG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBBdXRoZW50aWNhdGlvbkNvbXBvbmVudE1vZHVsZSB7XG59XG4iXX0=
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
import { Router } from '@angular/router';
|
|
4
|
-
import { RedirectService, SessionService, SpinnerOverlayService, AbstractAuthenticationOverlay, UserService } from '@netgrif/components-core';
|
|
5
|
-
var AuthenticationOverlayComponent = /** @class */ (function (_super) {
|
|
6
|
-
__extends(AuthenticationOverlayComponent, _super);
|
|
7
|
-
function AuthenticationOverlayComponent(_session, _spinnerOverlay, router, redirectService, userService) {
|
|
8
|
-
var _this = _super.call(this, _session, _spinnerOverlay, router, redirectService, userService) || this;
|
|
9
|
-
_this._session = _session;
|
|
10
|
-
_this._spinnerOverlay = _spinnerOverlay;
|
|
11
|
-
_this.router = router;
|
|
12
|
-
_this.redirectService = redirectService;
|
|
13
|
-
_this.userService = userService;
|
|
14
|
-
return _this;
|
|
15
|
-
}
|
|
16
|
-
AuthenticationOverlayComponent.ctorParameters = function () { return [
|
|
17
|
-
{ type: SessionService },
|
|
18
|
-
{ type: SpinnerOverlayService },
|
|
19
|
-
{ type: Router },
|
|
20
|
-
{ type: RedirectService },
|
|
21
|
-
{ type: UserService }
|
|
22
|
-
]; };
|
|
23
|
-
AuthenticationOverlayComponent.decorators = [
|
|
24
|
-
{ type: Component, args: [{
|
|
25
|
-
selector: 'nc-authentication-overlay',
|
|
26
|
-
template: "<ng-content></ng-content>\n",
|
|
27
|
-
styles: [""]
|
|
28
|
-
},] }
|
|
29
|
-
];
|
|
30
|
-
AuthenticationOverlayComponent.ctorParameters = function () { return [
|
|
31
|
-
{ type: SessionService },
|
|
32
|
-
{ type: SpinnerOverlayService },
|
|
33
|
-
{ type: Router },
|
|
34
|
-
{ type: RedirectService },
|
|
35
|
-
{ type: UserService }
|
|
36
|
-
]; };
|
|
37
|
-
return AuthenticationOverlayComponent;
|
|
38
|
-
}(AbstractAuthenticationOverlay));
|
|
39
|
-
export { AuthenticationOverlayComponent };
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aGVudGljYXRpb24tb3ZlcmxheS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2F1dGhlbnRpY2F0aW9uL2F1dGhlbnRpY2F0aW9uLW92ZXJsYXkvYXV0aGVudGljYXRpb24tb3ZlcmxheS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLE1BQU0s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NlLFxuICAgIFNlc3Npb25TZXJ2aWNlLFxuICAgIFNwaW5uZXJPdmVybGF5U2VydmljZSxcbiAgICBBYnN0cmFjdEF1dGhlbnRpY2F0aW9uT3ZlcmxheSxcbiAgICBVc2VyU2VydmljZVxufSBmcm9tICdAbmV0Z3JpZi9jb21wb25lbnRzLWNvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ25jLWF1dGhlbnRpY2F0aW9uLW92ZXJsYXknLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9hdXRoZW50aWNhdGlvbi1vdmVybGF5LmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9hdXRoZW50aWNhdGlvbi1vdmVybGF5LmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgQXV0aGVudGljYXRpb25PdmVybGF5Q29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RBdXRoZW50aWNhdGlvbk92ZXJsYXkge1xuXG4gICAgY29uc3RydWN0b3IocHJvdGVjdGVkIF9zZXNzaW9uOiBTZXNzaW9uU2VydmljZSwgcHJvdGVjdGVkIF9zcGlubmVyT3ZlcmxheTogU3Bpbm5lck92ZXJsYXlTZXJ2aWNlLFxuICAgICAgICAgICAgICAgIHByb3RlY3RlZCByb3V0ZXI6IFJvdXRlciwgcHJvdGVjdGVkIHJlZGlyZWN0U2VydmljZTogUmVkaXJlY3RTZXJ2aWNlLCBwcm90ZWN0ZWQgdXNlclNlcnZpY2U6IFVzZXJTZXJ2aWNlKSB7XG4gICAgICAgIHN1cGVyKF9zZXNzaW9uLCBfc3Bpbm5lck92ZXJsYXksIHJvdXRlciwgcmVkaXJlY3RTZXJ2aWNlLCB1c2VyU2VydmljZSk7XG4gICAgfVxufVxuIl19
|
|
@@ -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,55 +0,0 @@
|
|
|
1
|
-
import { __extends, __read, __spread } from "tslib";
|
|
2
|
-
import { Component, EventEmitter, Injector, OnInit, Output } from '@angular/core';
|
|
3
|
-
import { AbstractCustomCard, AggregationResult, DashboardEventContent, DashboardResourceService, DashboardSingleData, LoggerService } from '@netgrif/components-core';
|
|
4
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
-
var BarchartCardComponent = /** @class */ (function (_super) {
|
|
6
|
-
__extends(BarchartCardComponent, _super);
|
|
7
|
-
function BarchartCardComponent(_injector, resourceService, translateService, loggerService) {
|
|
8
|
-
var _this = _super.call(this, _injector, resourceService, translateService, loggerService) || this;
|
|
9
|
-
_this._injector = _injector;
|
|
10
|
-
_this.resourceService = resourceService;
|
|
11
|
-
_this.translateService = translateService;
|
|
12
|
-
_this.loggerService = loggerService;
|
|
13
|
-
_this.selectEvent = new EventEmitter();
|
|
14
|
-
return _this;
|
|
15
|
-
}
|
|
16
|
-
BarchartCardComponent.prototype.ngOnInit = function () {
|
|
17
|
-
_super.prototype.ngOnInit.call(this);
|
|
18
|
-
};
|
|
19
|
-
BarchartCardComponent.prototype.onSelect = function (data) {
|
|
20
|
-
this.loggerService.info('BarChart was selected');
|
|
21
|
-
this.selectEvent.emit(data);
|
|
22
|
-
};
|
|
23
|
-
BarchartCardComponent.prototype.convertData = function (json) {
|
|
24
|
-
var _this = this;
|
|
25
|
-
json.aggregations.result.buckets.forEach(function (bucket) {
|
|
26
|
-
_this.single.push(new DashboardSingleData(bucket.key, bucket.doc_count));
|
|
27
|
-
});
|
|
28
|
-
this.single = __spread(this.single);
|
|
29
|
-
};
|
|
30
|
-
BarchartCardComponent.ctorParameters = function () { return [
|
|
31
|
-
{ type: Injector },
|
|
32
|
-
{ type: DashboardResourceService },
|
|
33
|
-
{ type: TranslateService },
|
|
34
|
-
{ type: LoggerService }
|
|
35
|
-
]; };
|
|
36
|
-
BarchartCardComponent.decorators = [
|
|
37
|
-
{ type: Component, args: [{
|
|
38
|
-
selector: 'nc-barchart-card',
|
|
39
|
-
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",
|
|
40
|
-
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}"]
|
|
41
|
-
},] }
|
|
42
|
-
];
|
|
43
|
-
BarchartCardComponent.ctorParameters = function () { return [
|
|
44
|
-
{ type: Injector },
|
|
45
|
-
{ type: DashboardResourceService },
|
|
46
|
-
{ type: TranslateService },
|
|
47
|
-
{ type: LoggerService }
|
|
48
|
-
]; };
|
|
49
|
-
BarchartCardComponent.propDecorators = {
|
|
50
|
-
selectEvent: [{ type: Output }]
|
|
51
|
-
};
|
|
52
|
-
return BarchartCardComponent;
|
|
53
|
-
}(AbstractCustomCard));
|
|
54
|
-
export { BarchartCardComponent };
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyY2hhcnQtY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2Rhc2hib2FyZC9jYXJkcy9iYXJjaGFydC1jYXJkL2JhcmNoYXJ0LWNhcmQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNoRixPQUFPLEVBQ0gsa0JBQWtCLEVBQ2xCLGlCQUFpQixFQUFFLHFCQUFxQixFQUN4Qyx3QkFBd0IsRUFDeEIsbUJBQW1CLEVBQ25CLGFBQWEsRUFDaEIsTUFBTSwwQkFBMEIsQ0FBQztBQUNsQyxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUdyRDtJQUsyQyx5Q0FBa0I7SUFJekQsK0JBQXNCLFNBQW1CLEVBQ25CLGVBQXlDLEVBQ3pDLGdCQUFrQyxFQUNsQyxhQUE0QjtRQUhsRCxZQUlJLGtCQUFNLFNBQVMsRUFBRSxlQUFlLEVBQUUsZ0JBQWdCLEVBQUUsYUFBYSxDQUFD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TtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { Component, Injector } from '@angular/core';
|
|
3
|
-
import { AbstractCountCard } from '@netgrif/components-core';
|
|
4
|
-
var CountCardComponent = /** @class */ (function (_super) {
|
|
5
|
-
__extends(CountCardComponent, _super);
|
|
6
|
-
function CountCardComponent(_injector) {
|
|
7
|
-
var _this = _super.call(this, _injector) || this;
|
|
8
|
-
_this._injector = _injector;
|
|
9
|
-
return _this;
|
|
10
|
-
}
|
|
11
|
-
CountCardComponent.ctorParameters = function () { return [
|
|
12
|
-
{ type: Injector }
|
|
13
|
-
]; };
|
|
14
|
-
CountCardComponent.decorators = [
|
|
15
|
-
{ type: Component, args: [{
|
|
16
|
-
selector: 'nc-count-card',
|
|
17
|
-
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",
|
|
18
|
-
styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.number{font-size:80px}"]
|
|
19
|
-
},] }
|
|
20
|
-
];
|
|
21
|
-
CountCardComponent.ctorParameters = function () { return [
|
|
22
|
-
{ type: Injector }
|
|
23
|
-
]; };
|
|
24
|
-
return CountCardComponent;
|
|
25
|
-
}(AbstractCountCard));
|
|
26
|
-
export { CountCardComponent };
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY291bnQtY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2Rhc2hib2FyZC9jYXJkcy9jb3VudC1jYXJkL2N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cihfaW5qZWN0b3IpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
import { AbstractIframeCard } from '@netgrif/components-core';
|
|
4
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
5
|
-
var IframeCardComponent = /** @class */ (function (_super) {
|
|
6
|
-
__extends(IframeCardComponent, _super);
|
|
7
|
-
function IframeCardComponent(_sanitizer) {
|
|
8
|
-
var _this = _super.call(this, _sanitizer) || this;
|
|
9
|
-
_this._sanitizer = _sanitizer;
|
|
10
|
-
return _this;
|
|
11
|
-
}
|
|
12
|
-
IframeCardComponent.ctorParameters = function () { return [
|
|
13
|
-
{ type: DomSanitizer }
|
|
14
|
-
]; };
|
|
15
|
-
IframeCardComponent.decorators = [
|
|
16
|
-
{ type: Component, args: [{
|
|
17
|
-
selector: 'nc-iframe-card',
|
|
18
|
-
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",
|
|
19
|
-
styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}"]
|
|
20
|
-
},] }
|
|
21
|
-
];
|
|
22
|
-
IframeCardComponent.ctorParameters = function () { return [
|
|
23
|
-
{ type: DomSanitizer }
|
|
24
|
-
]; };
|
|
25
|
-
return IframeCardComponent;
|
|
26
|
-
}(AbstractIframeCard));
|
|
27
|
-
export { IframeCardComponent };
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWZyYW1lLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpY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3MnXVxufSlcbmV4cG9ydCBjbGFzcyBJZnJhbWVDYXJkQ29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RJZnJhbWVDYXJkIHtcblxuICAgIGNvbnN0cnVjdG9yKHByb3RlY3RlZCBfc2FuaXRpemVyOiBEb21TYW5pdGl6ZXIpIHtcbiAgICAgICAgc3VwZXIoX3Nhbml0aXplcik7XG4gICAgfVxufVxuIl19
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { Component, EventEmitter, Injector, OnInit, Output } from '@angular/core';
|
|
3
|
-
import { AbstractCustomCard, DashboardEventContent, DashboardResourceService } from '@netgrif/components-core';
|
|
4
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
-
import { AggregationResult, LoggerService } from '@netgrif/components-core';
|
|
6
|
-
var LinearGaugeCardComponent = /** @class */ (function (_super) {
|
|
7
|
-
__extends(LinearGaugeCardComponent, _super);
|
|
8
|
-
function LinearGaugeCardComponent(_injector, resourceService, translateService, loggerService) {
|
|
9
|
-
var _this = _super.call(this, _injector, resourceService, translateService, loggerService) || this;
|
|
10
|
-
_this._injector = _injector;
|
|
11
|
-
_this.resourceService = resourceService;
|
|
12
|
-
_this.translateService = translateService;
|
|
13
|
-
_this.loggerService = loggerService;
|
|
14
|
-
_this.selectEvent = new EventEmitter();
|
|
15
|
-
return _this;
|
|
16
|
-
}
|
|
17
|
-
LinearGaugeCardComponent.prototype.ngOnInit = function () {
|
|
18
|
-
_super.prototype.ngOnInit.call(this);
|
|
19
|
-
};
|
|
20
|
-
LinearGaugeCardComponent.prototype.onSelect = function (data) {
|
|
21
|
-
this.loggerService.info('Linear gauge selected.');
|
|
22
|
-
this.selectEvent.emit(data);
|
|
23
|
-
};
|
|
24
|
-
LinearGaugeCardComponent.prototype.convertData = function (json) {
|
|
25
|
-
this.value = json.aggregations.types_count.value;
|
|
26
|
-
};
|
|
27
|
-
LinearGaugeCardComponent.ctorParameters = function () { return [
|
|
28
|
-
{ type: Injector },
|
|
29
|
-
{ type: DashboardResourceService },
|
|
30
|
-
{ type: TranslateService },
|
|
31
|
-
{ type: LoggerService }
|
|
32
|
-
]; };
|
|
33
|
-
LinearGaugeCardComponent.decorators = [
|
|
34
|
-
{ type: Component, args: [{
|
|
35
|
-
selector: 'nc-linear-gauge-card',
|
|
36
|
-
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",
|
|
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
|
-
LinearGaugeCardComponent.ctorParameters = function () { return [
|
|
41
|
-
{ type: Injector },
|
|
42
|
-
{ type: DashboardResourceService },
|
|
43
|
-
{ type: TranslateService },
|
|
44
|
-
{ type: LoggerService }
|
|
45
|
-
]; };
|
|
46
|
-
LinearGaugeCardComponent.propDecorators = {
|
|
47
|
-
selectEvent: [{ type: Output }]
|
|
48
|
-
};
|
|
49
|
-
return LinearGaugeCardComponent;
|
|
50
|
-
}(AbstractCustomCard));
|
|
51
|
-
export { LinearGaugeCardComponent };
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZWFyLWdhdWdlLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXNoYm9hcmQvY2FyZHMvbGluZWFyZ2F1Z2UtY2FyZC9saW5lYXItZ2F1Z2UtY2FyZC5jb21wb25lb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jb252ZXJ0RGF0YShqc29uOiBBZ2dyZWdhdGlvblJlc3VsdCk6IHZvaWQge1xuICAgICAgICB0aGlzLnZhbHVlID0ganNvbi5hZ2dyZWdhdGlvbnMudHlwZXNfY291bnQudmFsdWU7XG4gICAgfVxufVxuIl19
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { __extends, __read, __spread } from "tslib";
|
|
2
|
-
import { Component, EventEmitter, Injector, OnInit, Output } from '@angular/core';
|
|
3
|
-
import { AbstractCustomCard, DashboardEventContent, DashboardMultiData, DashboardResourceService, DashboardSingleData } from '@netgrif/components-core';
|
|
4
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
-
import { AggregationResult, LoggerService } from '@netgrif/components-core';
|
|
6
|
-
var LineChartCardComponent = /** @class */ (function (_super) {
|
|
7
|
-
__extends(LineChartCardComponent, _super);
|
|
8
|
-
function LineChartCardComponent(_injector, resourceService, translateService, loggerService) {
|
|
9
|
-
var _this = _super.call(this, _injector, resourceService, translateService, loggerService) || this;
|
|
10
|
-
_this._injector = _injector;
|
|
11
|
-
_this.resourceService = resourceService;
|
|
12
|
-
_this.translateService = translateService;
|
|
13
|
-
_this.loggerService = loggerService;
|
|
14
|
-
_this.timeline = true;
|
|
15
|
-
_this.selectEvent = new EventEmitter();
|
|
16
|
-
return _this;
|
|
17
|
-
}
|
|
18
|
-
LineChartCardComponent.prototype.ngOnInit = function () {
|
|
19
|
-
_super.prototype.ngOnInit.call(this);
|
|
20
|
-
};
|
|
21
|
-
LineChartCardComponent.prototype.onSelect = function (data) {
|
|
22
|
-
this.loggerService.info('Line chart selected.');
|
|
23
|
-
this.selectEvent.emit(data);
|
|
24
|
-
};
|
|
25
|
-
LineChartCardComponent.prototype.convertData = function (json) {
|
|
26
|
-
var _this = this;
|
|
27
|
-
var index = 0;
|
|
28
|
-
var result;
|
|
29
|
-
for (result in json.aggregations) {
|
|
30
|
-
if (json.aggregations.hasOwnProperty(result)) {
|
|
31
|
-
this.multi.push(new DashboardMultiData(result, new Array()));
|
|
32
|
-
json.aggregations[result].buckets.forEach(function (bucket) {
|
|
33
|
-
_this.multi[index].series.push(new DashboardSingleData(bucket.key, bucket.doc_count));
|
|
34
|
-
});
|
|
35
|
-
index++;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
this.multi = __spread(this.multi);
|
|
39
|
-
};
|
|
40
|
-
LineChartCardComponent.ctorParameters = function () { return [
|
|
41
|
-
{ type: Injector },
|
|
42
|
-
{ type: DashboardResourceService },
|
|
43
|
-
{ type: TranslateService },
|
|
44
|
-
{ type: LoggerService }
|
|
45
|
-
]; };
|
|
46
|
-
LineChartCardComponent.decorators = [
|
|
47
|
-
{ type: Component, args: [{
|
|
48
|
-
selector: 'nc-line-chart-card',
|
|
49
|
-
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",
|
|
50
|
-
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}"]
|
|
51
|
-
},] }
|
|
52
|
-
];
|
|
53
|
-
LineChartCardComponent.ctorParameters = function () { return [
|
|
54
|
-
{ type: Injector },
|
|
55
|
-
{ type: DashboardResourceService },
|
|
56
|
-
{ type: TranslateService },
|
|
57
|
-
{ type: LoggerService }
|
|
58
|
-
]; };
|
|
59
|
-
LineChartCardComponent.propDecorators = {
|
|
60
|
-
selectEvent: [{ type: Output }]
|
|
61
|
-
};
|
|
62
|
-
return LineChartCardComponent;
|
|
63
|
-
}(AbstractCustomCard));
|
|
64
|
-
export { LineChartCardComponent };
|
|
65
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZS1jaGFydC1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvZGFzaGJvYXJkL2NhcmRzL2xpbmVjaGFydC1jYXJkL2xpbmUtY2hhcnQtY2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sRUFDSCxrQkFBa0IsRUFDbEIscUJBQXFCLEVBQ3JCLGtCQUFrQixFQUNsQix3QkFBd0IsRUFDeEIsbUJBQW1CLEVBQ3RCLE1BQU0sMEJBQTBCLENBQUM7QUFDbEMsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0scUJBQXFCLENBQUM7QUFDckQsT0FBTyxFQUFDLGlCQUFpQixFQUFFLGFBQWEsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBRTFFO0lBSzRDLDBDQUFrQjtJQUsxRCxnQ0FBc0IsU0FBbUIsRUFDbkIsZUFBeUMsRUFDekMsZ0JBQWtDLEVBQ2xDLGFBQTRCO1FBSGxELFlBSUksa0JBQU0sU0FBUyxFQUFFLGVBQWUsRUFBRSxnQkFBZ0IsRUFBRSxhQUFhLENBQUMsU0FFckU7UUFOcUIsZUFBUyxHQUFULFNBQVMsQ0FBVTtRQUNuQixxQkFBZSxHQUFmLGVBQWUsQ0FBMEI7UUFDekMsc0JBQWdCLEdBQWhCLGdCQUFnQixDQUFrQjtRQUNsQyxtQkFBY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mbygnTGluZSBjaGFydCBzZWxlY3RlZC4nKTtcbiAgICAgICAgdGhpcy5zZWxlY3RFdmVudC5lbWl0KGRhdGEpO1xuICAgIH1cblxuICAgIGNvbnZlcnREYXRhKGpzb246IEFnZ3JlZ2F0aW9uUmVzdWx0KTogdm9pZCB7XG4gICAgICAgIGxldCBpbmRleCA9IDA7XG4gICAgICAgIGxldCByZXN1bHQ6IGFueTtcbiAgICAgICAgZm9yIChyZXN1bHQgaW4ganNvbi5hZ2dyZWdhdGlvbnMpIHtcbiAgICAgICAgICAgIGlmIChqc29uLmFnZ3JlZ2F0aW9ucy5oYXNPd25Qcm9wZXJ0eShyZXN1bHQpKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5tdWx0aS5wdXNoKG5ldyBEYXNoYm9hcmRNdWx0aURhdGEocmVzdWx0LCBuZXcgQXJyYXk8RGFzaGJvYXJkU2luZ2xlRGF0YT4oKSkpO1xuICAgICAgICAgICAgICAgIGpzb24uYWdncmVnYXRpb25zW3Jlc3VsdF0uYnVja2V0cy5mb3JFYWNoKGJ1Y2tldCA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubXVsdGlbaW5kZXhdLnNlcmllcy5wdXNoKG5ldyBEYXNoYm9hcmRTaW5nbGVEYXRhKGJ1Y2tldC5rZXksIGJ1Y2tldC5kb2NfY291bnQpKTtcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICBpbmRleCsrO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHRoaXMubXVsdGkgPSBbLi4udGhpcy5tdWx0aV07XG4gICAgfVxufVxuIl19
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { __extends, __read, __spread } from "tslib";
|
|
2
|
-
import { Component, EventEmitter, Injector, OnInit, Output } from '@angular/core';
|
|
3
|
-
import { AbstractCustomCard, DashboardEventContent, DashboardResourceService, DashboardSingleData } from '@netgrif/components-core';
|
|
4
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
-
import { AggregationResult, LoggerService } from '@netgrif/components-core';
|
|
6
|
-
var PieChartCardComponent = /** @class */ (function (_super) {
|
|
7
|
-
__extends(PieChartCardComponent, _super);
|
|
8
|
-
function PieChartCardComponent(_injector, resourceService, translateService, loggerService) {
|
|
9
|
-
var _this = _super.call(this, _injector, resourceService, translateService, loggerService) || this;
|
|
10
|
-
_this._injector = _injector;
|
|
11
|
-
_this.resourceService = resourceService;
|
|
12
|
-
_this.translateService = translateService;
|
|
13
|
-
_this.loggerService = loggerService;
|
|
14
|
-
_this.isDoughnut = false;
|
|
15
|
-
_this.legendPosition = 'right';
|
|
16
|
-
_this.selectEvent = new EventEmitter();
|
|
17
|
-
return _this;
|
|
18
|
-
}
|
|
19
|
-
PieChartCardComponent.prototype.ngOnInit = function () {
|
|
20
|
-
_super.prototype.ngOnInit.call(this);
|
|
21
|
-
};
|
|
22
|
-
PieChartCardComponent.prototype.onSelect = function (data) {
|
|
23
|
-
this.loggerService.info('Pie chart selected.');
|
|
24
|
-
this.selectEvent.emit(data);
|
|
25
|
-
};
|
|
26
|
-
PieChartCardComponent.prototype.convertData = function (json) {
|
|
27
|
-
var _this = this;
|
|
28
|
-
json.aggregations.result.buckets.forEach(function (bucket) {
|
|
29
|
-
_this.single.push(new DashboardSingleData(bucket.key, bucket.doc_count));
|
|
30
|
-
});
|
|
31
|
-
this.single = __spread(this.single);
|
|
32
|
-
};
|
|
33
|
-
PieChartCardComponent.ctorParameters = function () { return [
|
|
34
|
-
{ type: Injector },
|
|
35
|
-
{ type: DashboardResourceService },
|
|
36
|
-
{ type: TranslateService },
|
|
37
|
-
{ type: LoggerService }
|
|
38
|
-
]; };
|
|
39
|
-
PieChartCardComponent.decorators = [
|
|
40
|
-
{ type: Component, args: [{
|
|
41
|
-
selector: 'nc-pie-chart-card',
|
|
42
|
-
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",
|
|
43
|
-
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%}"]
|
|
44
|
-
},] }
|
|
45
|
-
];
|
|
46
|
-
PieChartCardComponent.ctorParameters = function () { return [
|
|
47
|
-
{ type: Injector },
|
|
48
|
-
{ type: DashboardResourceService },
|
|
49
|
-
{ type: TranslateService },
|
|
50
|
-
{ type: LoggerService }
|
|
51
|
-
]; };
|
|
52
|
-
PieChartCardComponent.propDecorators = {
|
|
53
|
-
selectEvent: [{ type: Output }]
|
|
54
|
-
};
|
|
55
|
-
return PieChartCardComponent;
|
|
56
|
-
}(AbstractCustomCard));
|
|
57
|
-
export { PieChartCardComponent };
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGllLWNoYXJ0LWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXNoYm9hcmQvY2FyZHMvcGllY2hhcnQtY2FyZC9waWUtY2hhcnQtY2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sRUFBQyxrQkFBa0IsRUFBRSxxQkFBcUIsRUFBRSx3QkFBd0IsRUFBRS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QoKTtcbiAgICB9XG5cbiAgICBvblNlbGVjdChkYXRhOiBEYXNoYm9hcmRFdmVudENvbnRlbnQpIHtcbiAgICAgICAgdGhpcy5sb2dnZXJTZXJ2aWNlLmluZm8oJ1BpZSBjaGFydCBzZWxlY3RlZC4nKTtcbiAgICAgICAgdGhpcy5zZWxlY3RFdmVudC5lbWl0KGRhdGEpO1xuICAgIH1cblxuICAgIGNvbnZlcnREYXRhKGpzb246IEFnZ3JlZ2F0aW9uUmVzdWx0KSB7XG4gICAgICAgIGpzb24uYWdncmVnYXRpb25zLnJlc3VsdC5idWNrZXRzLmZvckVhY2goYnVja2V0ID0+IHtcbiAgICAgICAgICAgIHRoaXMuc2luZ2xlLnB1c2gobmV3IERhc2hib2FyZFNpbmdsZURhdGEoYnVja2V0LmtleSwgYnVja2V0LmRvY19jb3VudCkpO1xuICAgICAgICB9KTtcbiAgICAgICAgdGhpcy5zaW5nbGUgPSBbLi4udGhpcy5zaW5nbGVdO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { Component, EventEmitter, Injector, Input, OnInit, Output } from '@angular/core';
|
|
3
|
-
import { AbstractCustomCard, DashboardEventContent, DashboardResourceService } from '@netgrif/components-core';
|
|
4
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
-
import { AggregationResult, LoggerService } from '@netgrif/components-core';
|
|
6
|
-
var PortalCardComponent = /** @class */ (function (_super) {
|
|
7
|
-
__extends(PortalCardComponent, _super);
|
|
8
|
-
function PortalCardComponent(_injector, resourceService, translateService, loggerService) {
|
|
9
|
-
var _this = _super.call(this, _injector, resourceService, translateService, loggerService) || this;
|
|
10
|
-
_this._injector = _injector;
|
|
11
|
-
_this.resourceService = resourceService;
|
|
12
|
-
_this.translateService = translateService;
|
|
13
|
-
_this.loggerService = loggerService;
|
|
14
|
-
_this.selectEvent = new EventEmitter();
|
|
15
|
-
return _this;
|
|
16
|
-
}
|
|
17
|
-
PortalCardComponent.prototype.ngOnInit = function () {
|
|
18
|
-
this.injectedDashboard = this.componentPortal;
|
|
19
|
-
};
|
|
20
|
-
PortalCardComponent.prototype.onSelect = function (data) {
|
|
21
|
-
this.loggerService.info('Custom dashboard selected.');
|
|
22
|
-
this.selectEvent.emit(data);
|
|
23
|
-
};
|
|
24
|
-
PortalCardComponent.prototype.convertData = function (json) {
|
|
25
|
-
};
|
|
26
|
-
PortalCardComponent.ctorParameters = function () { return [
|
|
27
|
-
{ type: Injector },
|
|
28
|
-
{ type: DashboardResourceService },
|
|
29
|
-
{ type: TranslateService },
|
|
30
|
-
{ type: LoggerService }
|
|
31
|
-
]; };
|
|
32
|
-
PortalCardComponent.decorators = [
|
|
33
|
-
{ type: Component, args: [{
|
|
34
|
-
selector: 'nc-portal-card',
|
|
35
|
-
template: "<ng-template [cdkPortalOutlet]=\"injectedDashboard\">\n</ng-template>\n",
|
|
36
|
-
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%}"]
|
|
37
|
-
},] }
|
|
38
|
-
];
|
|
39
|
-
PortalCardComponent.ctorParameters = function () { return [
|
|
40
|
-
{ type: Injector },
|
|
41
|
-
{ type: DashboardResourceService },
|
|
42
|
-
{ type: TranslateService },
|
|
43
|
-
{ type: LoggerService }
|
|
44
|
-
]; };
|
|
45
|
-
PortalCardComponent.propDecorators = {
|
|
46
|
-
componentPortal: [{ type: Input }],
|
|
47
|
-
selectEvent: [{ type: Output }]
|
|
48
|
-
};
|
|
49
|
-
return PortalCardComponent;
|
|
50
|
-
}(AbstractCustomCard));
|
|
51
|
-
export { PortalCardComponent };
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9ydGFsLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nO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