@netgrif/components 6.0.4 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +8 -0
- package/lib/admin/public-api.d.ts +2 -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 +6 -2
- 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 +7 -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 +4 -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 +11 -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 +13 -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 -39
- 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/ldap-group-role-assignment/ldap-group-role-assignment.component.theme.scss +10 -0
- package/src/lib/admin/role-assignment/role-assignment.component.theme.scss +2 -2
- package/src/lib/data-fields/data-field.theme.scss +31 -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 -4769
- 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 -19
- package/esm2015/lib/admin/public-api.js +0 -5
- 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 -134
- 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 -22
- 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.component.js +0 -22
- package/esm2015/lib/panel/panel.module.js +0 -55
- package/esm2015/lib/panel/public-api.js +0 -10
- 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/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 -22
- package/esm2015/lib/view/case-view/components/case-list/case-list.component.js +0 -31
- 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 -43
- package/esm2015/public-api.js +0 -22
- package/esm5/lib/admin/admin.module.js +0 -23
- package/esm5/lib/admin/public-api.js +0 -5
- 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 -138
- 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 -26
- 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.component.js +0 -26
- package/esm5/lib/panel/panel.module.js +0 -59
- package/esm5/lib/panel/public-api.js +0 -10
- 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/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 -26
- package/esm5/lib/view/case-view/components/case-list/case-list.component.js +0 -36
- 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 -43
- package/esm5/public-api.js +0 -22
- package/fesm2015/netgrif-components.js +0 -4034
- package/fesm2015/netgrif-components.js.map +0 -1
- package/fesm5/netgrif-components.js +0 -4419
- package/fesm5/netgrif-components.js.map +0 -1
- package/netgrif-components.metadata.json +0 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Component, Inject } from '@angular/core';
|
|
2
|
+
import { AbstractUserAssignComponent, NAE_SIDE_MENU_CONTROL, UserListService } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/material/toolbar";
|
|
5
|
+
import * as i2 from "@angular/material/icon";
|
|
6
|
+
import * as i3 from "@angular/material/form-field";
|
|
7
|
+
import * as i4 from "@angular/material/button";
|
|
8
|
+
import * as i5 from "./user-assign-list/user-assign-list.component";
|
|
9
|
+
import * as i6 from "@angular/flex-layout/flex";
|
|
10
|
+
import * as i7 from "@angular/material/input";
|
|
11
|
+
import * as i8 from "@angular/forms";
|
|
12
|
+
import * as i9 from "@angular/common";
|
|
13
|
+
import * as i10 from "@ngx-translate/core";
|
|
14
|
+
import * as i11 from "@netgrif/components-core";
|
|
15
|
+
/**
|
|
16
|
+
* Is the main - parent component of the entire user assignment in the side menu.
|
|
17
|
+
*
|
|
18
|
+
* Holds logic link of the [UserAssignListComponent]{@link UserAssignListComponent}
|
|
19
|
+
* along with searching, selecting, and then assigning to the user field.
|
|
20
|
+
*/
|
|
21
|
+
export class UserAssignComponent extends AbstractUserAssignComponent {
|
|
22
|
+
constructor(_sideMenuControl) {
|
|
23
|
+
super(_sideMenuControl);
|
|
24
|
+
this._sideMenuControl = _sideMenuControl;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
UserAssignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UserAssignComponent, deps: [{ token: NAE_SIDE_MENU_CONTROL }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
UserAssignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: UserAssignComponent, selector: "nc-user-assign", providers: [UserListService], usesInheritance: true, ngImport: i0, template: "<div class=\"full-width full-height\" fxLayout=\"column\" fxLayoutAlign=\"start stretch\">\n <mat-toolbar color=\"primary\">{{ 'side-menu.user.assign' | translate | uppercase }}</mat-toolbar>\n <div class=\"user-assign-container side-menu-root\" fxLayout=\"column\" fxFlex>\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 <nc-user-assign-list fxFlex\n [searchUserControl]=\"searchUserControl\"\n [roles]=\"roles\"\n [negativeRoles]=\"negativeRoles\"\n [initiallySelectedUser]=\"initiallySelectedUser\"\n (userSelected)=\"userWasSelected($event)\">\n </nc-user-assign-list>\n\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <button mat-button color=\"primary\"\n (click)=\"assign()\">{{ 'tasks.view.assign' | translate | uppercase }}</button>\n </div>\n </div>\n</div>\n", 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-assign-container{padding:16px;position:relative}.user-assign-search{width:100%}.search-icon{margin-right:10px}\n"], components: [{ type: i1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5.UserAssignListComponent, selector: "nc-user-assign-list" }], directives: [{ type: i6.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i6.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i6.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.MatSuffix, selector: "[matSuffix]" }], pipes: { "uppercase": i9.UpperCasePipe, "translate": i10.TranslatePipe } });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UserAssignComponent, decorators: [{
|
|
30
|
+
type: Component,
|
|
31
|
+
args: [{ selector: 'nc-user-assign', providers: [UserListService], template: "<div class=\"full-width full-height\" fxLayout=\"column\" fxLayoutAlign=\"start stretch\">\n <mat-toolbar color=\"primary\">{{ 'side-menu.user.assign' | translate | uppercase }}</mat-toolbar>\n <div class=\"user-assign-container side-menu-root\" fxLayout=\"column\" fxFlex>\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 <nc-user-assign-list fxFlex\n [searchUserControl]=\"searchUserControl\"\n [roles]=\"roles\"\n [negativeRoles]=\"negativeRoles\"\n [initiallySelectedUser]=\"initiallySelectedUser\"\n (userSelected)=\"userWasSelected($event)\">\n </nc-user-assign-list>\n\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <button mat-button color=\"primary\"\n (click)=\"assign()\">{{ 'tasks.view.assign' | translate | uppercase }}</button>\n </div>\n </div>\n</div>\n", 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-assign-container{padding:16px;position:relative}.user-assign-search{width:100%}.search-icon{margin-right:10px}\n"] }]
|
|
32
|
+
}], ctorParameters: function () { return [{ type: i11.SideMenuControl, decorators: [{
|
|
33
|
+
type: Inject,
|
|
34
|
+
args: [NAE_SIDE_MENU_CONTROL]
|
|
35
|
+
}] }]; } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1hc3NpZ24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdH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wvZGl2PlxuXG4gICAgICAgIDxuYy11c2VyLWFzc2lnbi1saXN0IGZ4RmxleFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc2VhcmNoVXNlckNvbnRyb2xdPVwic2VhcmNoVXNlckNvbnRyb2xcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbcm9sZXNdPVwicm9sZXNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbmVnYXRpdmVSb2xlc109XCJuZWdhdGl2ZVJvbGVzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2luaXRpYWxseVNlbGVjdGVkVXNlcl09XCJpbml0aWFsbHlTZWxlY3RlZFVzZXJcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAodXNlclNlbGVjdGVkKT1cInVzZXJXYXNTZWxlY3RlZCgkZXZlbnQpXCI+XG4gICAgICAgIDwvbmMtdXNlci1hc3NpZ24tbGlzdD5cblxuICAgICAgICA8ZGl2IGZ4TGF5b3V0PVwicm93XCIgZnhMYXlvdXRBbGlnbj1cImVuZCBjZW50ZXJcIj5cbiAgICAgICAgICAgIDxidXR0b24gbWF0LWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIlxuICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiYXNzaWduKClcIj57eyAndGFza3Mudmlldy5hc3NpZ24nIHwgdHJhbnNsYXRlIHwgdXBwZXJjYXNlIH19PC9idXR0b24+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/* APIS */
|
|
2
|
+
export * from './content-components/public-api';
|
|
3
|
+
/* MODULES */
|
|
4
|
+
export * from './side-menu.module';
|
|
5
|
+
/* COMPONENTS */
|
|
6
|
+
export * from './side-menu-container/side-menu-container.component';
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3NpZGUtbWVudS9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFVBQVU7QUFDVixjQUFjLGlDQUFpQyxDQUFDO0FBRWhELGFBQWE7QUFDYixjQUFjLG9CQUFvQixDQUFDO0FBRW5DLGdCQUFnQjtBQUNoQixjQUFjLHFEQUFxRCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyogQVBJUyAqL1xuZXhwb3J0ICogZnJvbSAnLi9jb250ZW50LWNvbXBvbmVudHMvcHVibGljLWFwaSc7XG5cbi8qIE1PRFVMRVMgKi9cbmV4cG9ydCAqIGZyb20gJy4vc2lkZS1tZW51Lm1vZHVsZSc7XG5cbi8qIENPTVBPTkVOVFMgKi9cbmV4cG9ydCAqIGZyb20gJy4vc2lkZS1tZW51LWNvbnRhaW5lci9zaWRlLW1lbnUtY29udGFpbmVyLmNvbXBvbmVudCc7XG5cbiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractSideMenuContainerComponent } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@netgrif/components-core";
|
|
5
|
+
import * as i2 from "@angular/material/sidenav";
|
|
6
|
+
import * as i3 from "@angular/flex-layout/extended";
|
|
7
|
+
import * as i4 from "@angular/cdk/portal";
|
|
8
|
+
export class SideMenuContainerComponent extends AbstractSideMenuContainerComponent {
|
|
9
|
+
constructor(_sideMenuService) {
|
|
10
|
+
super(_sideMenuService);
|
|
11
|
+
this._sideMenuService = _sideMenuService;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
SideMenuContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SideMenuContainerComponent, deps: [{ token: i1.SideMenuService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
SideMenuContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SideMenuContainerComponent, selector: "nc-side-menu-container", usesInheritance: true, ngImport: i0, template: "<mat-sidenav-container class=\"side-menu-container\">\n <mat-sidenav #rightSideMenu mode=\"over\" position=\"end\" class=\"side-menu\" ngClass.lt-sm=\"side-menu-size-mobile\"\n [ngClass.gt-xs]=\"portalWrapper.size\">\n <ng-template [cdkPortalOutlet]=\"portalWrapper.portal\"></ng-template>\n </mat-sidenav>\n <mat-sidenav-content>\n <ng-content></ng-content>\n </mat-sidenav-content>\n</mat-sidenav-container>\n", styles: [".side-menu-container{position:absolute;top:0;bottom:0;left:0;right:0}.side-menu{border-radius:4px}.side-menu-width-small{width:296px}.side-menu-width-medium{width:400px}.side-menu-width-large{width:496px}.side-menu-size-mobile{width:246px}\n"], components: [{ type: i2.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { type: i2.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { type: i2.MatSidenavContent, selector: "mat-sidenav-content" }], directives: [{ type: i3.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i4.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SideMenuContainerComponent, decorators: [{
|
|
17
|
+
type: Component,
|
|
18
|
+
args: [{ selector: 'nc-side-menu-container', template: "<mat-sidenav-container class=\"side-menu-container\">\n <mat-sidenav #rightSideMenu mode=\"over\" position=\"end\" class=\"side-menu\" ngClass.lt-sm=\"side-menu-size-mobile\"\n [ngClass.gt-xs]=\"portalWrapper.size\">\n <ng-template [cdkPortalOutlet]=\"portalWrapper.portal\"></ng-template>\n </mat-sidenav>\n <mat-sidenav-content>\n <ng-content></ng-content>\n </mat-sidenav-content>\n</mat-sidenav-container>\n", styles: [".side-menu-container{position:absolute;top:0;bottom:0;left:0;right:0}.side-menu{border-radius:4px}.side-menu-width-small{width:296px}.side-menu-width-medium{width:400px}.side-menu-width-large{width:496px}.side-menu-size-mobile{width:246px}\n"] }]
|
|
19
|
+
}], ctorParameters: function () { return [{ type: i1.SideMenuService }]; } });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1tZW51LWNvbnRhaW5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9zaWRlLW1lbnUvc2lkZS1tZW51LWNvbnRhaW5lci9zaWRlLW1lbnUtY29udGFpbmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3NpZGUtbWVudS9zaWRlLW1lbnUtY29udGFpbmVyL3NpZGUtbWVudS1jb250YWluZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtY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fc2lkZU1lbnVTZXJ2aWNlKTtcbiAgICB9XG59XG4iLCI8bWF0LXNpZGVuYXYtY29udGFpbmVyIGNsYXNzPVwic2lkZS1tZW51LWNvbnRhaW5lclwiPlxuICAgIDxtYXQtc2lkZW5hdiAjcmlnaHRTaWRlTWVudSBtb2RlPVwib3ZlclwiIHBvc2l0aW9uPVwiZW5kXCIgY2xhc3M9XCJzaWRlLW1lbnVcIiBuZ0NsYXNzLmx0LXNtPVwic2lkZS1tZW51LXNpemUtbW9iaWxlXCJcbiAgICAgICAgICAgICAgICAgW25nQ2xhc3MuZ3QteHNdPVwicG9ydGFsV3JhcHBlci5zaXplXCI+XG4gICAgICAgIDxuZy10ZW1wbGF0ZSBbY2RrUG9ydGFsT3V0bGV0XT1cInBvcnRhbFdyYXBwZXIucG9ydGFsXCI+PC9uZy10ZW1wbGF0ZT5cbiAgICA8L21hdC1zaWRlbmF2PlxuICAgIDxtYXQtc2lkZW5hdi1jb250ZW50PlxuICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9tYXQtc2lkZW5hdi1jb250ZW50PlxuPC9tYXQtc2lkZW5hdi1jb250YWluZXI+XG4iXX0=
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { RouterModule } from '@angular/router';
|
|
4
|
+
import { PortalModule } from '@angular/cdk/portal';
|
|
5
|
+
import { SideMenuContainerComponent } from './side-menu-container/side-menu-container.component';
|
|
6
|
+
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
7
|
+
import { MaterialModule } from '@netgrif/components-core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class SideMenuComponentModule {
|
|
10
|
+
}
|
|
11
|
+
SideMenuComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SideMenuComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
SideMenuComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SideMenuComponentModule, declarations: [SideMenuContainerComponent], imports: [CommonModule,
|
|
13
|
+
RouterModule,
|
|
14
|
+
MaterialModule,
|
|
15
|
+
MatSidenavModule,
|
|
16
|
+
PortalModule], exports: [SideMenuContainerComponent] });
|
|
17
|
+
SideMenuComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SideMenuComponentModule, imports: [[
|
|
18
|
+
CommonModule,
|
|
19
|
+
RouterModule,
|
|
20
|
+
MaterialModule,
|
|
21
|
+
MatSidenavModule,
|
|
22
|
+
PortalModule
|
|
23
|
+
]] });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SideMenuComponentModule, decorators: [{
|
|
25
|
+
type: NgModule,
|
|
26
|
+
args: [{
|
|
27
|
+
declarations: [
|
|
28
|
+
SideMenuContainerComponent
|
|
29
|
+
],
|
|
30
|
+
imports: [
|
|
31
|
+
CommonModule,
|
|
32
|
+
RouterModule,
|
|
33
|
+
MaterialModule,
|
|
34
|
+
MatSidenavModule,
|
|
35
|
+
PortalModule
|
|
36
|
+
],
|
|
37
|
+
exports: [
|
|
38
|
+
SideMenuContainerComponent
|
|
39
|
+
]
|
|
40
|
+
}]
|
|
41
|
+
}] });
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1tZW51Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3NpZGUtbWVudS9zaWRlLW1lbnUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU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m9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHtSb3V0ZXJNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL3JvdXRlcic7XG5pbXBvcnQge1BvcnRhbE1vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY2RrL3BvcnRhbCc7XG5pbXBvcnQge1NpZGVNZW51Q29udGFpbmVyQ29tcG9uZW50fSBmcm9tICcuL3NpZGUtbWVudS1jb250YWluZXIvc2lkZS1tZW51LWNvbnRhaW5lci5jb21wb25lbnQnO1xuaW1wb3J0IHtNYXRTaWRlbmF2TW9kdWxlfSBmcm9tICdAYW5ndWxhci9tYXRlcmlhbC9zaWRlbmF2JztcbmltcG9ydCB7TWF0ZXJpYWxNb2R1bGV9IGZyb20gJ0BuZXRncmlmL2NvbXBvbmVudHMtY29yZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbXG4gICAgICAgIFNpZGVNZW51Q29udGFpbmVyQ29tcG9uZW50XG4gICAgXSxcbiAgICBpbXBvcnRzOiBbXG4gICAgICAgIENvbW1vbk1vZHVsZSxcbiAgICAgICAgUm91dGVyTW9kdWxlLFxuICAgICAgICBNYXRlcmlhbE1vZHVsZSxcbiAgICAgICAgTWF0U2lkZW5hdk1vZHVsZSxcbiAgICAgICAgUG9ydGFsTW9kdWxlXG4gICAgXSxcbiAgICBleHBvcnRzOiBbXG4gICAgICAgIFNpZGVNZW51Q29udGFpbmVyQ29tcG9uZW50XG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBTaWRlTWVudUNvbXBvbmVudE1vZHVsZSB7XG59XG4iXX0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './tabs.module';
|
|
2
|
+
export * from './tab-view/tab-view.component';
|
|
3
|
+
export * from './tab-creation-detector/tab-creation-detector.component';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3RhYnMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMseURBQXlELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RhYnMubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vdGFiLXZpZXcvdGFiLXZpZXcuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vdGFiLWNyZWF0aW9uLWRldGVjdG9yL3RhYi1jcmVhdGlvbi1kZXRlY3Rvci5jb21wb25lbnQnO1xuIl19
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractTabCreationDetectorComponent } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @ignore
|
|
6
|
+
* Class that detects tab content creation and then initializes then calls the provided `initializeTab` function.
|
|
7
|
+
* It is necessary if the tab content is lazy loaded, because the
|
|
8
|
+
* ComponentPortal's outlet must be initialized before the Portal itself is created.
|
|
9
|
+
*/
|
|
10
|
+
export class TabCreationDetectorComponent extends AbstractTabCreationDetectorComponent {
|
|
11
|
+
constructor() {
|
|
12
|
+
super();
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
TabCreationDetectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabCreationDetectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
TabCreationDetectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TabCreationDetectorComponent, selector: "nc-tab-creation-detector", usesInheritance: true, ngImport: i0, template: "", styles: [""] });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabCreationDetectorComponent, decorators: [{
|
|
18
|
+
type: Component,
|
|
19
|
+
args: [{ selector: 'nc-tab-creation-detector', template: "", styles: [""] }]
|
|
20
|
+
}], ctorParameters: function () { return []; } });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLWNyZWF0aW9uLWRldGVjdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3RhYnMvdGFiLWNyZWF0aW9uLWRldGVjdG9yL3RhYi1jcmVhdGlvbi1kZXRlY3Rvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi90YWJzL3RhYi1jcmVhdGlvbi1kZXRlY3Rvci90YWItY3JlYXRpb24tZGV0ZWN0b3IuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMsb0NBQW9DLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQzs7QUFFOUU7Ozs7O0dBS0c7QUFNSCxNQUFNLE9BQU8sNEJBQTZCLFNBQVEsb0NBQW9DO0lBQ2xGO1FBQ0ksS0FBSyxFQUFFLENBQUM7SUFDWixDQUFDOzswSEFIUSw0QkFBNEI7OEdBQTVCLDRCQUE0Qix1RkNkekMsRUFBQTs0RkRjYSw0QkFBNEI7a0JBTHhDLFNBQVM7K0JBQ0ksMEJBQTBCIiwic291cmNlc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Component } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@netgrif/components-core";
|
|
5
|
+
import * as i2 from "@angular/material/tabs";
|
|
6
|
+
import * as i3 from "@angular/material/icon";
|
|
7
|
+
import * as i4 from "@angular/material/button";
|
|
8
|
+
import * as i5 from "../tab-creation-detector/tab-creation-detector.component";
|
|
9
|
+
import * as i6 from "@angular/flex-layout/flex";
|
|
10
|
+
import * as i7 from "@angular/common";
|
|
11
|
+
import * as i8 from "@angular/material/badge";
|
|
12
|
+
import * as i9 from "@angular/cdk/portal";
|
|
13
|
+
import * as i10 from "@ngx-translate/core";
|
|
14
|
+
/**
|
|
15
|
+
* Component that renders a tab view.
|
|
16
|
+
*
|
|
17
|
+
* See {@link TabView} for the class that holds the logic for this view.
|
|
18
|
+
*/
|
|
19
|
+
export class TabViewComponent extends AbstractTabViewComponent {
|
|
20
|
+
constructor(_viewService, _logger, injector) {
|
|
21
|
+
super(_viewService, _logger, injector);
|
|
22
|
+
this._viewService = _viewService;
|
|
23
|
+
this._logger = _logger;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
TabViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabViewComponent, deps: [{ token: i1.ViewService }, { token: i1.LoggerService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
TabViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TabViewComponent, selector: "nc-tab-view", usesInheritance: true, ngImport: i0, template: "<mat-tab-group [selectedIndex]=\"tabView.selectedIndex.value\"\n [class.center-tabs]=\"align === 'center'\"\n [class.end-tabs]=\"align === 'end'\"\n (selectedTabChange)=\"tabView.tabChange($event)\" class=\"tab-group\"\n [class.nae-tab-fill-height]=\"stretch\" fxFlex>\n <mat-tab *ngFor=\"let tab of tabView.openedTabs; let i=index\">\n <ng-template mat-tab-label>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <mat-icon class=\"icon-margin-right\"\n *ngIf=\"tab.label.icon !== undefined\">{{tab.label.icon}}</mat-icon>\n <span class=\"custom-badge\" [matBadge]=\"(badgeCount(tab) | async)\"\n [matBadgeHidden]=\"(badgeHidden(tab) | async)\">{{(tab.label.text | translate) + ((badgeHidden(tab) | async) ? '' : offset)}}</span>\n </div>\n <button mat-icon-button *ngIf=\"tab.canBeClosed\" (click)=\"tabView.closeTabIndex(i)\">\n <mat-icon>clear</mat-icon>\n </button>\n </div>\n </ng-template>\n <!-- TODO 16.4.2020 - lazy loading of tab contents is disabled for now -->\n <!-- <ng-template matTabContent>-->\n <nc-tab-creation-detector [initializeTabFunction]=\"initializeTabLambda\"\n [tabIndex]=\"i\"></nc-tab-creation-detector>\n <ng-template [ngIf]=\"tab.isTabInitialized\" class=\"full-height\">\n <ng-template [cdkPortalOutlet]=\"tab.portal\" class=\"full-height\"></ng-template>\n </ng-template>\n </mat-tab>\n</mat-tab-group>\n", styles: [".icon-margin-right{margin-right:5px}.full-height{height:100%}.full-width{width:100%}.tab-group{height:100%}.mat-badge-content{top:-3px!important;right:-24px!important}.custom-badge .mat-badge-content{width:-moz-fit-content;width:fit-content;min-width:16px;text-align:center;border-radius:8px;padding-left:3px;padding-right:3px}\n"], components: [{ type: i2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { type: i2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5.TabCreationDetectorComponent, selector: "nc-tab-creation-detector" }], directives: [{ type: i6.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.MatTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { type: i6.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i6.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.MatBadge, selector: "[matBadge]", inputs: ["matBadgeDisabled", "matBadgeColor", "matBadgeOverlap", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { type: i9.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i7.AsyncPipe, "translate": i10.TranslatePipe } });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabViewComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{ selector: 'nc-tab-view', template: "<mat-tab-group [selectedIndex]=\"tabView.selectedIndex.value\"\n [class.center-tabs]=\"align === 'center'\"\n [class.end-tabs]=\"align === 'end'\"\n (selectedTabChange)=\"tabView.tabChange($event)\" class=\"tab-group\"\n [class.nae-tab-fill-height]=\"stretch\" fxFlex>\n <mat-tab *ngFor=\"let tab of tabView.openedTabs; let i=index\">\n <ng-template mat-tab-label>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <mat-icon class=\"icon-margin-right\"\n *ngIf=\"tab.label.icon !== undefined\">{{tab.label.icon}}</mat-icon>\n <span class=\"custom-badge\" [matBadge]=\"(badgeCount(tab) | async)\"\n [matBadgeHidden]=\"(badgeHidden(tab) | async)\">{{(tab.label.text | translate) + ((badgeHidden(tab) | async) ? '' : offset)}}</span>\n </div>\n <button mat-icon-button *ngIf=\"tab.canBeClosed\" (click)=\"tabView.closeTabIndex(i)\">\n <mat-icon>clear</mat-icon>\n </button>\n </div>\n </ng-template>\n <!-- TODO 16.4.2020 - lazy loading of tab contents is disabled for now -->\n <!-- <ng-template matTabContent>-->\n <nc-tab-creation-detector [initializeTabFunction]=\"initializeTabLambda\"\n [tabIndex]=\"i\"></nc-tab-creation-detector>\n <ng-template [ngIf]=\"tab.isTabInitialized\" class=\"full-height\">\n <ng-template [cdkPortalOutlet]=\"tab.portal\" class=\"full-height\"></ng-template>\n </ng-template>\n </mat-tab>\n</mat-tab-group>\n", styles: [".icon-margin-right{margin-right:5px}.full-height{height:100%}.full-width{width:100%}.tab-group{height:100%}.mat-badge-content{top:-3px!important;right:-24px!important}.custom-badge .mat-badge-content{width:-moz-fit-content;width:fit-content;min-width:16px;text-align:center;border-radius:8px;padding-left:3px;padding-right:3px}\n"] }]
|
|
31
|
+
}], ctorParameters: function () { return [{ type: i1.ViewService }, { type: i1.LoggerService }, { type: i0.Injector }]; } });
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvdGFicy90YWItdmlldy90YWItdmlldy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi90YWJzL3RhYi12aWV3L3RhYi12aWV3LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwib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MYXlvdXRBbGlnbj1cInN0YXJ0IGNlbnRlclwiPlxuICAgICAgICAgICAgICAgICAgICA8bWF0LWljb24gY2xhc3M9XCJpY29uLW1hcmdpbi1yaWdodFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqbmdJZj1cInRhYi5sYWJlbC5pY29uICE9PSB1bmRlZmluZWRcIj57e3RhYi5sYWJlbC5pY29ufX08L21hdC1pY29uPlxuICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImN1c3RvbS1iYWRnZVwiIFttYXRCYWRnZV09XCIoYmFkZ2VDb3VudCh0YWIpIHwgYXN5bmMpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgW21hdEJhZGdlSGlkZGVuXT1cIihiYWRnZUhpZGRlbih0YWIpIHwgYXN5bmMpXCI+e3sodGFiLmxhYmVsLnRleHQgfCB0cmFuc2xhdGUpICsgKChiYWRnZUhpZGRlbih0YWIpIHwgYXN5bmMpID8gJycgOiBvZmZzZXQpfX08L3NwYW4+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPGJ1dHRvbiBtYXQtaWNvbi1idXR0b24gKm5nSWY9XCJ0YWIuY2FuQmVDbG9zZWRcIiAoY2xpY2spPVwidGFiVmlldy5jbG9zZVRhYkluZGV4KGkpXCI+XG4gICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbj5jbGVhcjwvbWF0LWljb24+XG4gICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgPCEtLSAgICAgICAgVE9ETyAxNi40LjIwMjAgLSBsYXp5IGxvYWRpbmcgb2YgdGFiIGNvbnRlbnRzIGlzIGRpc2FibGVkIGZvciBub3cgLS0+XG4gICAgICAgIDwhLS0gICAgICAgIDxuZy10ZW1wbGF0ZSBtYXRUYWJDb250ZW50Pi0tPlxuICAgICAgICA8bmMtdGFiLWNyZWF0aW9uLWRldGVjdG9yIFtpbml0aWFsaXplVGFiRnVuY3Rpb25dPVwiaW5pdGlhbGl6ZVRhYkxhbWJkYVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3RhYkluZGV4XT1cImlcIj48L25jLXRhYi1jcmVhdGlvbi1kZXRlY3Rvcj5cbiAgICAgICAgPG5nLXRlbXBsYXRlIFtuZ0lmXT1cInRhYi5pc1RhYkluaXRpYWxpemVkXCIgY2xhc3M9XCJmdWxsLWhlaWdodFwiPlxuICAgICAgICAgICAgPG5nLXRlbXBsYXRlIFtjZGtQb3J0YWxPdXRsZXRdPVwidGFiLnBvcnRhbFwiIGNsYXNzPVwiZnVsbC1oZWlnaHRcIj48L25nLXRlbXBsYXRlPlxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgIDwvbWF0LXRhYj5cbjwvbWF0LXRhYi1ncm91cD5cbiJdfQ==
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { TabViewComponent } from './tab-view/tab-view.component';
|
|
4
|
+
import { MatTabsModule } from '@angular/material/tabs';
|
|
5
|
+
import { TabCreationDetectorComponent } from './tab-creation-detector/tab-creation-detector.component';
|
|
6
|
+
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
7
|
+
import { MaterialModule, TranslateLibModule } from '@netgrif/components-core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class TabsComponentModule {
|
|
10
|
+
}
|
|
11
|
+
TabsComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabsComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
TabsComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabsComponentModule, declarations: [TabViewComponent,
|
|
13
|
+
TabCreationDetectorComponent], imports: [CommonModule,
|
|
14
|
+
MatTabsModule,
|
|
15
|
+
MaterialModule,
|
|
16
|
+
FlexLayoutModule,
|
|
17
|
+
TranslateLibModule], exports: [TabViewComponent] });
|
|
18
|
+
TabsComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabsComponentModule, imports: [[
|
|
19
|
+
CommonModule,
|
|
20
|
+
MatTabsModule,
|
|
21
|
+
MaterialModule,
|
|
22
|
+
FlexLayoutModule,
|
|
23
|
+
TranslateLibModule,
|
|
24
|
+
]] });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabsComponentModule, decorators: [{
|
|
26
|
+
type: NgModule,
|
|
27
|
+
args: [{
|
|
28
|
+
declarations: [
|
|
29
|
+
TabViewComponent,
|
|
30
|
+
TabCreationDetectorComponent,
|
|
31
|
+
],
|
|
32
|
+
exports: [
|
|
33
|
+
TabViewComponent,
|
|
34
|
+
],
|
|
35
|
+
imports: [
|
|
36
|
+
CommonModule,
|
|
37
|
+
MatTabsModule,
|
|
38
|
+
MaterialModule,
|
|
39
|
+
FlexLayoutModule,
|
|
40
|
+
TranslateLibModule,
|
|
41
|
+
]
|
|
42
|
+
}]
|
|
43
|
+
}] });
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi90YWJzL3RhYnMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQ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W1vbic7XG5pbXBvcnQge1RhYlZpZXdDb21wb25lbnR9IGZyb20gJy4vdGFiLXZpZXcvdGFiLXZpZXcuY29tcG9uZW50JztcbmltcG9ydCB7TWF0VGFic01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvbWF0ZXJpYWwvdGFicyc7XG5pbXBvcnQge1RhYkNyZWF0aW9uRGV0ZWN0b3JDb21wb25lbnR9IGZyb20gJy4vdGFiLWNyZWF0aW9uLWRldGVjdG9yL3RhYi1jcmVhdGlvbi1kZXRlY3Rvci5jb21wb25lbnQnO1xuaW1wb3J0IHtGbGV4TGF5b3V0TW9kdWxlfSBmcm9tICdAYW5ndWxhci9mbGV4LWxheW91dCc7XG5pbXBvcnQge01hdGVyaWFsTW9kdWxlLCBUcmFuc2xhdGVMaWJNb2R1bGV9IGZyb20gJ0BuZXRncmlmL2NvbXBvbmVudHMtY29yZSc7XG5cblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgVGFiVmlld0NvbXBvbmVudCxcbiAgICAgICAgVGFiQ3JlYXRpb25EZXRlY3RvckNvbXBvbmVudCxcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgVGFiVmlld0NvbXBvbmVudCxcbiAgICBdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBNYXRUYWJzTW9kdWxlLFxuICAgICAgICBNYXRlcmlhbE1vZHVsZSxcbiAgICAgICAgRmxleExheW91dE1vZHVsZSxcbiAgICAgICAgVHJhbnNsYXRlTGliTW9kdWxlLFxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgVGFic0NvbXBvbmVudE1vZHVsZSB7XG59XG4iXX0=
|
package/esm2020/lib/task-content/field-component-resolver/field-component-resolver.component.mjs
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractFieldComponentResolverComponent } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@netgrif/components-core";
|
|
5
|
+
import * as i2 from "../../data-fields/boolean-field/boolean-field.component";
|
|
6
|
+
import * as i3 from "../../data-fields/text-field/text-field.component";
|
|
7
|
+
import * as i4 from "../../data-fields/number-field/number-field.component";
|
|
8
|
+
import * as i5 from "../../data-fields/enumeration-field/enumeration-field.component";
|
|
9
|
+
import * as i6 from "../../data-fields/multichoice-field/multichoice-field.component";
|
|
10
|
+
import * as i7 from "../../data-fields/date-field/date-field.component";
|
|
11
|
+
import * as i8 from "../../data-fields/date-time-field/date-time-field.component";
|
|
12
|
+
import * as i9 from "../../data-fields/file-field/file-field.component";
|
|
13
|
+
import * as i10 from "../../data-fields/file-field-list/file-list-field.component";
|
|
14
|
+
import * as i11 from "../../data-fields/user-field/user-field.component";
|
|
15
|
+
import * as i12 from "../../data-fields/button-field/button-field.component";
|
|
16
|
+
import * as i13 from "../../data-fields/filter-field/filter-field.component";
|
|
17
|
+
import * as i14 from "../../data-fields/i18n-field/i18n-field.component";
|
|
18
|
+
import * as i15 from "@angular/flex-layout/flex";
|
|
19
|
+
import * as i16 from "@angular/common";
|
|
20
|
+
import * as i17 from "@angular/flex-layout/extended";
|
|
21
|
+
export class FieldComponentResolverComponent extends AbstractFieldComponentResolverComponent {
|
|
22
|
+
constructor(taskContentService) {
|
|
23
|
+
super(taskContentService);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
FieldComponentResolverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FieldComponentResolverComponent, deps: [{ token: i1.TaskContentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
FieldComponentResolverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FieldComponentResolverComponent, selector: "nc-field-component-resolver", usesInheritance: true, ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" [ngSwitch]=\"getElementType()\"\n [ngClass]=\"{'min-row-height': isField() && !isCustomHeight()}\">\n <nc-boolean-field *ngSwitchCase=\"fieldTypeEnum.BOOLEAN\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-boolean-field>\n\n <nc-text-field *ngSwitchCase=\"fieldTypeEnum.TEXT\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-text-field>\n\n <nc-number-field *ngSwitchCase=\"fieldTypeEnum.NUMBER\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-number-field>\n\n <nc-enumeration-field *ngSwitchCase=\"fieldTypeEnum.ENUMERATION\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-enumeration-field>\n\n <nc-enumeration-field *ngSwitchCase=\"fieldTypeEnum.ENUMERATION_MAP\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-enumeration-field>\n\n <nc-multichoice-field *ngSwitchCase=\"fieldTypeEnum.MULTICHOICE\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-multichoice-field>\n\n <nc-multichoice-field *ngSwitchCase=\"fieldTypeEnum.MULTICHOICE_MAP\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-multichoice-field>\n\n <nc-date-field *ngSwitchCase=\"fieldTypeEnum.DATE\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-date-field>\n\n <nc-date-time-field *ngSwitchCase=\"fieldTypeEnum.DATE_TIME\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-date-time-field>\n\n <nc-file-field *ngSwitchCase=\"fieldTypeEnum.FILE\" [dataField]=\"getDataField()\" [taskId]=\"getTaskId()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-file-field>\n\n <nc-file-list-field *ngSwitchCase=\"fieldTypeEnum.FILE_LIST\" [dataField]=\"getDataField()\" [taskId]=\"getTaskId()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-file-list-field>\n\n <nc-user-field *ngSwitchCase=\"fieldTypeEnum.USER\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-user-field>\n\n <nc-button-field *ngSwitchCase=\"fieldTypeEnum.BUTTON\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-button-field>\n\n <nc-filter-field *ngSwitchCase=\"fieldTypeEnum.FILTER\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex=\"\">\n </nc-filter-field>\n\n <nc-i18n-field *ngSwitchCase=\"fieldTypeEnum.I18N\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-i18n-field>\n\n <div *ngSwitchCase=\"taskElementEnum.DATA_GROUP_TITLE\" fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div fxFlex=\"20\" class=\"line-datagroup\"></div>\n <span [ngClass]=\"{'margin-default': getDataGroupTitle() !== ''}\">{{getDataGroupTitle()}}</span>\n <div fxFlex class=\"line-datagroup\"></div>\n </div>\n\n <div *ngSwitchCase=\"taskElementEnum.LOADER\" class=\"min-row-height\" fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div class=\"phl-item\">\n <div class=\"phl-row\" fxLayoutAlign=\"center center\">\n <div class=\"phl-col\">\n </div>\n </div>\n </div>\n </div>\n\n <div *ngSwitchCase=\"taskElementEnum.BLANK\"></div>\n</div>\n", styles: [".line-datagroup{height:1px;background:rgba(0,0,0,.12)}.margin-default{margin-right:8px;margin-left:8px}.min-row-height{min-height:105px}.phl-row{width:100%;flex-wrap:wrap}.phl-col{height:70px;flex:0 0 90%;background-color:#ced4da;border-radius:8px}.phl-item{width:100%;position:relative;display:flex;flex-wrap:wrap;overflow:hidden;background-color:#fff}.phl-item:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0));animation:shimmer 1s infinite;content:\"\"}@keyframes shimmer{to{transform:translate(100%)}}.phl-item,.phl-item *,.phl-item:after,.phl-item:before{box-sizing:border-box}\n"], components: [{ type: i2.BooleanFieldComponent, selector: "nc-boolean-field" }, { type: i3.TextFieldComponent, selector: "nc-text-field" }, { type: i4.NumberFieldComponent, selector: "nc-number-field" }, { type: i5.EnumerationFieldComponent, selector: "nc-enumeration-field" }, { type: i6.MultichoiceFieldComponent, selector: "nc-multichoice-field" }, { type: i7.DateFieldComponent, selector: "nc-date-field" }, { type: i8.DateTimeFieldComponent, selector: "nc-date-time-field" }, { type: i9.FileFieldComponent, selector: "nc-file-field" }, { type: i10.FileListFieldComponent, selector: "nc-file-list-field" }, { type: i11.UserFieldComponent, selector: "nc-user-field" }, { type: i12.ButtonFieldComponent, selector: "nc-button-field" }, { type: i13.FilterFieldComponent, selector: "nc-filter-field" }, { type: i14.I18nFieldComponent, selector: "nc-i18n-field" }], directives: [{ type: i15.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i15.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i16.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i16.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i17.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i16.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i15.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }] });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FieldComponentResolverComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{ selector: 'nc-field-component-resolver', template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" [ngSwitch]=\"getElementType()\"\n [ngClass]=\"{'min-row-height': isField() && !isCustomHeight()}\">\n <nc-boolean-field *ngSwitchCase=\"fieldTypeEnum.BOOLEAN\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-boolean-field>\n\n <nc-text-field *ngSwitchCase=\"fieldTypeEnum.TEXT\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-text-field>\n\n <nc-number-field *ngSwitchCase=\"fieldTypeEnum.NUMBER\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-number-field>\n\n <nc-enumeration-field *ngSwitchCase=\"fieldTypeEnum.ENUMERATION\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-enumeration-field>\n\n <nc-enumeration-field *ngSwitchCase=\"fieldTypeEnum.ENUMERATION_MAP\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-enumeration-field>\n\n <nc-multichoice-field *ngSwitchCase=\"fieldTypeEnum.MULTICHOICE\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-multichoice-field>\n\n <nc-multichoice-field *ngSwitchCase=\"fieldTypeEnum.MULTICHOICE_MAP\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-multichoice-field>\n\n <nc-date-field *ngSwitchCase=\"fieldTypeEnum.DATE\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-date-field>\n\n <nc-date-time-field *ngSwitchCase=\"fieldTypeEnum.DATE_TIME\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-date-time-field>\n\n <nc-file-field *ngSwitchCase=\"fieldTypeEnum.FILE\" [dataField]=\"getDataField()\" [taskId]=\"getTaskId()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-file-field>\n\n <nc-file-list-field *ngSwitchCase=\"fieldTypeEnum.FILE_LIST\" [dataField]=\"getDataField()\" [taskId]=\"getTaskId()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-file-list-field>\n\n <nc-user-field *ngSwitchCase=\"fieldTypeEnum.USER\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-user-field>\n\n <nc-button-field *ngSwitchCase=\"fieldTypeEnum.BUTTON\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-button-field>\n\n <nc-filter-field *ngSwitchCase=\"fieldTypeEnum.FILTER\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex=\"\">\n </nc-filter-field>\n\n <nc-i18n-field *ngSwitchCase=\"fieldTypeEnum.I18N\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-i18n-field>\n\n <div *ngSwitchCase=\"taskElementEnum.DATA_GROUP_TITLE\" fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div fxFlex=\"20\" class=\"line-datagroup\"></div>\n <span [ngClass]=\"{'margin-default': getDataGroupTitle() !== ''}\">{{getDataGroupTitle()}}</span>\n <div fxFlex class=\"line-datagroup\"></div>\n </div>\n\n <div *ngSwitchCase=\"taskElementEnum.LOADER\" class=\"min-row-height\" fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div class=\"phl-item\">\n <div class=\"phl-row\" fxLayoutAlign=\"center center\">\n <div class=\"phl-col\">\n </div>\n </div>\n </div>\n </div>\n\n <div *ngSwitchCase=\"taskElementEnum.BLANK\"></div>\n</div>\n", styles: [".line-datagroup{height:1px;background:rgba(0,0,0,.12)}.margin-default{margin-right:8px;margin-left:8px}.min-row-height{min-height:105px}.phl-row{width:100%;flex-wrap:wrap}.phl-col{height:70px;flex:0 0 90%;background-color:#ced4da;border-radius:8px}.phl-item{width:100%;position:relative;display:flex;flex-wrap:wrap;overflow:hidden;background-color:#fff}.phl-item:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0));animation:shimmer 1s infinite;content:\"\"}@keyframes shimmer{to{transform:translate(100%)}}.phl-item,.phl-item *,.phl-item:after,.phl-item:before{box-sizing:border-box}\n"] }]
|
|
31
|
+
}], ctorParameters: function () { return [{ type: i1.TaskContentService }]; } });
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGQtY29tcG9uZW50LXJlc29sdmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3Rhc2stY29udGVudC9maWVsZC1jb21wb25lbnQtcmVzb2x2ZXIvZmllbGQtY29tcG9uZW50LXJlc29sdmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3Rhc2stY29udGVudC9maWVsZC1jb21w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heW91dD1cInJvd1wiIGZ4TGF5b3V0QWxpZ249XCJjZW50ZXIgY2VudGVyXCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJwaGwtaXRlbVwiPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cInBobC1yb3dcIiBmeExheW91dEFsaWduPVwiY2VudGVyIGNlbnRlclwiPlxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJwaGwtY29sXCI+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG5cbiAgICA8ZGl2ICpuZ1N3aXRjaENhc2U9XCJ0YXNrRWxlbWVudEVudW0uQkxBTktcIj48L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/* MODULES */
|
|
2
|
+
export * from './task-content.module';
|
|
3
|
+
/* COMPONENTS */
|
|
4
|
+
export * from './task-content/task-content.component';
|
|
5
|
+
export * from './field-component-resolver/field-component-resolver.component';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3Rhc2stY29udGVudC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGFBQWE7QUFDYixjQUFjLHVCQUF1QixDQUFDO0FBRXRDLGdCQUFnQjtBQUNoQixjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsK0RBQStELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKiBNT0RVTEVTICovXG5leHBvcnQgKiBmcm9tICcuL3Rhc2stY29udGVudC5tb2R1bGUnO1xuXG4vKiBDT01QT05FTlRTICovXG5leHBvcnQgKiBmcm9tICcuL3Rhc2stY29udGVudC90YXNrLWNvbnRlbnQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vZmllbGQtY29tcG9uZW50LXJlc29sdmVyL2ZpZWxkLWNvbXBvbmVudC1yZXNvbHZlci5jb21wb25lbnQnO1xuIl19
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
+
import { AbstractTaskContentComponent, NAE_ASYNC_RENDERING_CONFIGURATION } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@netgrif/components-core";
|
|
5
|
+
import * as i2 from "@angular/material/progress-spinner";
|
|
6
|
+
import * as i3 from "../field-component-resolver/field-component-resolver.component";
|
|
7
|
+
import * as i4 from "@angular/material/icon";
|
|
8
|
+
import * as i5 from "@angular/common";
|
|
9
|
+
import * as i6 from "@angular/flex-layout/flex";
|
|
10
|
+
import * as i7 from "@angular/flex-layout/extended";
|
|
11
|
+
import * as i8 from "@angular/flex-layout/grid";
|
|
12
|
+
import * as i9 from "@ngx-translate/core";
|
|
13
|
+
export class TaskContentComponent extends AbstractTaskContentComponent {
|
|
14
|
+
constructor(_fieldConverter, taskContentService, _paperView, _logger, _taskEventService, config) {
|
|
15
|
+
super(_fieldConverter, taskContentService, _paperView, _logger, _taskEventService, config);
|
|
16
|
+
this._fieldConverter = _fieldConverter;
|
|
17
|
+
this.taskContentService = taskContentService;
|
|
18
|
+
this._paperView = _paperView;
|
|
19
|
+
this._logger = _logger;
|
|
20
|
+
this._taskEventService = _taskEventService;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
TaskContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TaskContentComponent, deps: [{ token: i1.FieldConverterService }, { token: i1.TaskContentService }, { token: i1.PaperViewService }, { token: i1.LoggerService }, { token: i1.TaskEventService, optional: true }, { token: NAE_ASYNC_RENDERING_CONFIGURATION, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
TaskContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TaskContentComponent, selector: "nc-task-content", usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"loading$ | async; else notLoading\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <mat-spinner color=\"primary\"></mat-spinner>\n</div>\n\n<ng-template #notLoading>\n <div *ngIf=\"hasDataToDisplay$ | async; else noContentToDisplay\"\n [ngClass]=\"{'paper-view-content mat-elevation-z10': isPaperView(), 'scrolling_data': this.scrollingNeeded()}\"\n [ngStyle]=\"{'max-height': this.resolveContentHeightCss()}\">\n <div fxLayout=\"column\" fxLayoutAlign=\"start stretch\"\n *ngFor=\"let subgrid of dataSource; trackBy: trackBySubgridFn\">\n <div [gdAreas]=\"subgrid.gridAreas\" [gdColumns]=\"subgrid.getGridColumns()\" class=\"grid-rows-auto\">\n <div *ngFor=\"let item of subgrid.content; trackBy: trackByFn\"\n [gdArea]=\"item.gridAreaId\"\n class=\"border\" fxLayout=\"row\" [fxLayoutAlign]=\"getItemAlignment(item)\">\n <nc-field-component-resolver [id]=\"item?.item?.stringId\" [gridElement]=\"item\" fxFlex></nc-field-component-resolver>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #noContentToDisplay>\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <mat-icon *ngIf=\"displayNoDataIcon\">{{noDataIcon ? noDataIcon : 'block'}}</mat-icon>\n <span>{{(noDataText ? noDataText : 'tasks.view.noData') | translate}}</span>\n </div>\n</ng-template>\n", styles: [".border{overflow-y:auto}.paper-view-content{padding:20px;width:22cm;border:1px solid #dddddd}.scrolling_data{overflow-y:auto!important}.grid-rows-auto{grid-template-rows:auto}\n"], components: [{ type: i2.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { type: i3.FieldComponentResolverComponent, selector: "nc-field-component-resolver" }, { type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i6.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i5.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i7.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.DefaultGridAreasDirective, selector: " [gdAreas], [gdAreas.xs], [gdAreas.sm], [gdAreas.md], [gdAreas.lg], [gdAreas.xl], [gdAreas.lt-sm], [gdAreas.lt-md], [gdAreas.lt-lg], [gdAreas.lt-xl], [gdAreas.gt-xs], [gdAreas.gt-sm], [gdAreas.gt-md], [gdAreas.gt-lg]", inputs: ["gdAreas", "gdAreas.xs", "gdAreas.sm", "gdAreas.md", "gdAreas.lg", "gdAreas.xl", "gdAreas.lt-sm", "gdAreas.lt-md", "gdAreas.lt-lg", "gdAreas.lt-xl", "gdAreas.gt-xs", "gdAreas.gt-sm", "gdAreas.gt-md", "gdAreas.gt-lg"] }, { type: i8.DefaultGridColumnsDirective, selector: " [gdColumns], [gdColumns.xs], [gdColumns.sm], [gdColumns.md], [gdColumns.lg], [gdColumns.xl], [gdColumns.lt-sm], [gdColumns.lt-md], [gdColumns.lt-lg], [gdColumns.lt-xl], [gdColumns.gt-xs], [gdColumns.gt-sm], [gdColumns.gt-md], [gdColumns.gt-lg]", inputs: ["gdColumns", "gdColumns.xs", "gdColumns.sm", "gdColumns.md", "gdColumns.lg", "gdColumns.xl", "gdColumns.lt-sm", "gdColumns.lt-md", "gdColumns.lt-lg", "gdColumns.lt-xl", "gdColumns.gt-xs", "gdColumns.gt-sm", "gdColumns.gt-md", "gdColumns.gt-lg"] }, { type: i8.DefaultGridAreaDirective, selector: " [gdArea], [gdArea.xs], [gdArea.sm], [gdArea.md], [gdArea.lg], [gdArea.xl], [gdArea.lt-sm], [gdArea.lt-md], [gdArea.lt-lg], [gdArea.lt-xl], [gdArea.gt-xs], [gdArea.gt-sm], [gdArea.gt-md], [gdArea.gt-lg]", inputs: ["gdArea", "gdArea.xs", "gdArea.sm", "gdArea.md", "gdArea.lg", "gdArea.xl", "gdArea.lt-sm", "gdArea.lt-md", "gdArea.lt-lg", "gdArea.lt-xl", "gdArea.gt-xs", "gdArea.gt-sm", "gdArea.gt-md", "gdArea.gt-lg"] }, { type: i6.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], pipes: { "async": i5.AsyncPipe, "translate": i9.TranslatePipe } });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TaskContentComponent, decorators: [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{ selector: 'nc-task-content', template: "<div *ngIf=\"loading$ | async; else notLoading\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <mat-spinner color=\"primary\"></mat-spinner>\n</div>\n\n<ng-template #notLoading>\n <div *ngIf=\"hasDataToDisplay$ | async; else noContentToDisplay\"\n [ngClass]=\"{'paper-view-content mat-elevation-z10': isPaperView(), 'scrolling_data': this.scrollingNeeded()}\"\n [ngStyle]=\"{'max-height': this.resolveContentHeightCss()}\">\n <div fxLayout=\"column\" fxLayoutAlign=\"start stretch\"\n *ngFor=\"let subgrid of dataSource; trackBy: trackBySubgridFn\">\n <div [gdAreas]=\"subgrid.gridAreas\" [gdColumns]=\"subgrid.getGridColumns()\" class=\"grid-rows-auto\">\n <div *ngFor=\"let item of subgrid.content; trackBy: trackByFn\"\n [gdArea]=\"item.gridAreaId\"\n class=\"border\" fxLayout=\"row\" [fxLayoutAlign]=\"getItemAlignment(item)\">\n <nc-field-component-resolver [id]=\"item?.item?.stringId\" [gridElement]=\"item\" fxFlex></nc-field-component-resolver>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #noContentToDisplay>\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <mat-icon *ngIf=\"displayNoDataIcon\">{{noDataIcon ? noDataIcon : 'block'}}</mat-icon>\n <span>{{(noDataText ? noDataText : 'tasks.view.noData') | translate}}</span>\n </div>\n</ng-template>\n", styles: [".border{overflow-y:auto}.paper-view-content{padding:20px;width:22cm;border:1px solid #dddddd}.scrolling_data{overflow-y:auto!important}.grid-rows-auto{grid-template-rows:auto}\n"] }]
|
|
28
|
+
}], ctorParameters: function () { return [{ type: i1.FieldConverterService }, { type: i1.TaskContentService }, { type: i1.PaperViewService }, { type: i1.LoggerService }, { type: i1.TaskEventService, decorators: [{
|
|
29
|
+
type: Optional
|
|
30
|
+
}] }, { type: undefined, decorators: [{
|
|
31
|
+
type: Optional
|
|
32
|
+
}, {
|
|
33
|
+
type: Inject,
|
|
34
|
+
args: [NAE_ASYNC_RENDERING_CONFIGURATION]
|
|
35
|
+
}] }]; } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1jb250ZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3Rhc2stY29udGVudC90YXNrLWNvbnRlbnQvdGFzay1jb250ZW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3Rhc2stY29udGVudC90YXNrLWNvbnRlbnQvdGFzay1jb250ZW50LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUMxRCxPQUFPLEVBQ0gsNEJBQTRCLEVBSzVCLGlDQUFpQyxFQUVwQyxNQUFNLDBCQUEwQixDQUFDOzs7Ozs7Ozs7OztBQU9sQyxNQUFNLE9BQU8sb0JBQXFCLFNBQVEsNEJBQTRCO0lBRWxFLFlBQXNCLGVBQXNDLEVBQ3pDLGtCQUFzQyxFQUNuQyxVQUE0QixFQUM1QixPQUFzQixFQUNWLGlCQUFtQyxFQUNGLE1BQU07UUFDckUs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SWRcIiBbZ3JpZEVsZW1lbnRdPVwiaXRlbVwiIGZ4RmxleD48L25jLWZpZWxkLWNvbXBvbmVudC1yZXNvbHZlcj5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbjwvbmctdGVtcGxhdGU+XG5cbjxuZy10ZW1wbGF0ZSAjbm9Db250ZW50VG9EaXNwbGF5PlxuICAgIDxkaXYgZnhMYXlvdXQ9XCJjb2x1bW5cIiBmeExheW91dEFsaWduPVwiY2VudGVyIGNlbnRlclwiPlxuICAgICAgICA8bWF0LWljb24gKm5nSWY9XCJkaXNwbGF5Tm9EYXRhSWNvblwiPnt7bm9EYXRhSWNvbiA/IG5vRGF0YUljb24gOiAnYmxvY2snfX08L21hdC1pY29uPlxuICAgICAgICA8c3Bhbj57eyhub0RhdGFUZXh0ID8gbm9EYXRhVGV4dCA6ICd0YXNrcy52aWV3Lm5vRGF0YScpIHwgdHJhbnNsYXRlfX08L3NwYW4+XG4gICAgPC9kaXY+XG48L25nLXRlbXBsYXRlPlxuIl19
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { TaskContentComponent } from './task-content/task-content.component';
|
|
4
|
+
import { DataFieldsComponentModule } from '../data-fields/data-fields.module';
|
|
5
|
+
import { FlexModule } from '@angular/flex-layout';
|
|
6
|
+
import { SnackBarModule, MaterialModule, TranslateLibModule } from '@netgrif/components-core';
|
|
7
|
+
import { FieldComponentResolverComponent } from './field-component-resolver/field-component-resolver.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class TaskContentComponentModule {
|
|
10
|
+
}
|
|
11
|
+
TaskContentComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TaskContentComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
TaskContentComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TaskContentComponentModule, declarations: [TaskContentComponent,
|
|
13
|
+
FieldComponentResolverComponent], imports: [CommonModule,
|
|
14
|
+
MaterialModule,
|
|
15
|
+
FlexModule,
|
|
16
|
+
TranslateLibModule,
|
|
17
|
+
SnackBarModule,
|
|
18
|
+
DataFieldsComponentModule], exports: [TaskContentComponent] });
|
|
19
|
+
TaskContentComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TaskContentComponentModule, imports: [[
|
|
20
|
+
CommonModule,
|
|
21
|
+
MaterialModule,
|
|
22
|
+
FlexModule,
|
|
23
|
+
TranslateLibModule,
|
|
24
|
+
SnackBarModule,
|
|
25
|
+
DataFieldsComponentModule
|
|
26
|
+
]] });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TaskContentComponentModule, decorators: [{
|
|
28
|
+
type: NgModule,
|
|
29
|
+
args: [{
|
|
30
|
+
declarations: [
|
|
31
|
+
TaskContentComponent,
|
|
32
|
+
FieldComponentResolverComponent
|
|
33
|
+
],
|
|
34
|
+
imports: [
|
|
35
|
+
CommonModule,
|
|
36
|
+
MaterialModule,
|
|
37
|
+
FlexModule,
|
|
38
|
+
TranslateLibModule,
|
|
39
|
+
SnackBarModule,
|
|
40
|
+
DataFieldsComponentModule
|
|
41
|
+
],
|
|
42
|
+
exports: [
|
|
43
|
+
TaskContentComponent
|
|
44
|
+
]
|
|
45
|
+
}]
|
|
46
|
+
}] });
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1jb250ZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3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FxuICAgICAgICBUcmFuc2xhdGVMaWJNb2R1bGUsXG4gICAgICAgIFNuYWNrQmFyTW9kdWxlLFxuICAgICAgICBEYXRhRmllbGRzQ29tcG9uZW50TW9kdWxlXG4gICAgXSxcbiAgICBleHBvcnRzOiBbXG4gICAgICAgIFRhc2tDb250ZW50Q29tcG9uZW50XG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBUYXNrQ29udGVudENvbXBvbmVudE1vZHVsZSB7XG59XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './toolbar.module';
|
|
2
|
+
export * from './toolbar.component';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3Rvb2xiYXIvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtCQUFrQixDQUFDO0FBRWpDLGNBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Rvb2xiYXIubW9kdWxlJztcblxuZXhwb3J0ICogZnJvbSAnLi90b29sYmFyLmNvbXBvbmVudCc7XG4iXX0=
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractToolbarComponent } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@ngx-translate/core";
|
|
5
|
+
import * as i2 from "@netgrif/components-core";
|
|
6
|
+
import * as i3 from "@angular/material/toolbar";
|
|
7
|
+
import * as i4 from "@angular/material/button";
|
|
8
|
+
import * as i5 from "@angular/material/icon";
|
|
9
|
+
import * as i6 from "@angular/material/menu";
|
|
10
|
+
import * as i7 from "@angular/flex-layout/flex";
|
|
11
|
+
import * as i8 from "@angular/flex-layout/extended";
|
|
12
|
+
import * as i9 from "@angular/common";
|
|
13
|
+
export class ToolbarComponent extends AbstractToolbarComponent {
|
|
14
|
+
constructor(translate, selectLangService) {
|
|
15
|
+
super(translate, selectLangService);
|
|
16
|
+
this.translate = translate;
|
|
17
|
+
this.selectLangService = selectLangService;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.TranslateService }, { token: i2.LanguageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ToolbarComponent, selector: "nc-toolbar", usesInheritance: true, ngImport: i0, template: "<mat-toolbar color=\"primary\">\n <mat-toolbar-row fxLayout=\"row\">\n <div class=\"main-toolbar-logo\" fxFlex fxLayout=\"row\">\n <a href=\"/\">\n <img [src]=\"logoSrc\" [alt]=\"logoAlt\">\n </a>\n </div>\n <div fxFlex fxHide.gt-xs=\"false\" fxHide.lt-md=\"true\" fxLayout=\"row\" fxLayoutAlign=\"center\">\n {{appName}}\n </div>\n <div class=\"main-toolbar-menu\" fxFlex fxLayout=\"row\" fxLayoutAlign=\"end\">\n <button mat-button [matMenuTriggerFor]=\"mainMenu\" class=\"main-toolbar-menu-button\" fxLayout=\"row\">\n <span class=\"main-toolbar-logged-user\" fxHide.xs=\"true\">{{loggedUser}}</span>\n <mat-icon class=\"main-toolbar-icon\" aria-hidden=\"false\" aria-label=\"Example home icon\">account_circle\n </mat-icon>\n <mat-menu #mainMenu=\"matMenu\" class=\"main-toolbar-opened-menu\">\n <button mat-menu-item [matMenuTriggerFor]=\"languages\">\n <mat-icon class=\"main-toolbar-menu-icon\" aria-hidden=\"false\" aria-label=\"Example home icon\">\n language\n </mat-icon>\n {{ 'toolbar.menu.lang' | translate }}\n </button>\n <button mat-menu-item>\n <mat-icon class=\"main-toolbar-menu-icon\" aria-hidden=\"false\" aria-label=\"Example home icon\">\n account_circle\n </mat-icon>\n {{ 'toolbar.menu.profile' | translate }}\n </button>\n <button mat-menu-item>\n <mat-icon class=\"main-toolbar-menu-icon\" aria-hidden=\"false\" aria-label=\"Example home icon\">\n exit_to_app\n </mat-icon>\n {{ 'toolbar.menu.logout' | translate }}\n </button>\n </mat-menu>\n <mat-menu #languages=\"matMenu\">\n <button mat-menu-item (click)=\"setLang('en-UK')\">{{ 'toolbar.menu.en' | translate }}\n <mat-icon *ngIf=\"activeLang('en-UK')\" class=\"main-toolbar-menu-icon\"\n aria-hidden=\"false\" aria-label=\"Example home icon\">keyboard_arrow_left\n </mat-icon>\n </button>\n <button mat-menu-item (click)=\"setLang('sk-SK')\">{{ 'toolbar.menu.sk' | translate }}\n <mat-icon *ngIf=\"activeLang('sk-SK')\" class=\"main-toolbar-menu-icon\"\n aria-hidden=\"false\" aria-label=\"Example home icon\">keyboard_arrow_left\n </mat-icon>\n </button>\n <button mat-menu-item (click)=\"setLang('de-DE')\">{{ 'toolbar.menu.de' | translate }}\n <mat-icon *ngIf=\"activeLang('de-DE')\" class=\"main-toolbar-menu-icon\"\n aria-hidden=\"false\" aria-label=\"Example home icon\">keyboard_arrow_left\n </mat-icon>\n </button>\n </mat-menu>\n </button>\n </div>\n </mat-toolbar-row>\n</mat-toolbar>\n", styles: [".main-toolbar-logo{max-height:60%}.main-toolbar-logo img{width:120px}mat-icon.main-toolbar-icon{font-size:48px;height:100%;margin-right:15px}.main-toolbar-logged-user{margin-right:15px}.main-toolbar-menu,.main-toolbar-menu-button{font-size:20px;height:100%}.main-toolbar-menu-icon{font-size:23px}\n"], components: [{ type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i6.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i6.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }], directives: [{ type: i3.MatToolbarRow, selector: "mat-toolbar-row", exportAs: ["matToolbarRow"] }, { type: i7.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i7.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i8.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { type: i7.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i6.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i1.TranslatePipe } });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'nc-toolbar', template: "<mat-toolbar color=\"primary\">\n <mat-toolbar-row fxLayout=\"row\">\n <div class=\"main-toolbar-logo\" fxFlex fxLayout=\"row\">\n <a href=\"/\">\n <img [src]=\"logoSrc\" [alt]=\"logoAlt\">\n </a>\n </div>\n <div fxFlex fxHide.gt-xs=\"false\" fxHide.lt-md=\"true\" fxLayout=\"row\" fxLayoutAlign=\"center\">\n {{appName}}\n </div>\n <div class=\"main-toolbar-menu\" fxFlex fxLayout=\"row\" fxLayoutAlign=\"end\">\n <button mat-button [matMenuTriggerFor]=\"mainMenu\" class=\"main-toolbar-menu-button\" fxLayout=\"row\">\n <span class=\"main-toolbar-logged-user\" fxHide.xs=\"true\">{{loggedUser}}</span>\n <mat-icon class=\"main-toolbar-icon\" aria-hidden=\"false\" aria-label=\"Example home icon\">account_circle\n </mat-icon>\n <mat-menu #mainMenu=\"matMenu\" class=\"main-toolbar-opened-menu\">\n <button mat-menu-item [matMenuTriggerFor]=\"languages\">\n <mat-icon class=\"main-toolbar-menu-icon\" aria-hidden=\"false\" aria-label=\"Example home icon\">\n language\n </mat-icon>\n {{ 'toolbar.menu.lang' | translate }}\n </button>\n <button mat-menu-item>\n <mat-icon class=\"main-toolbar-menu-icon\" aria-hidden=\"false\" aria-label=\"Example home icon\">\n account_circle\n </mat-icon>\n {{ 'toolbar.menu.profile' | translate }}\n </button>\n <button mat-menu-item>\n <mat-icon class=\"main-toolbar-menu-icon\" aria-hidden=\"false\" aria-label=\"Example home icon\">\n exit_to_app\n </mat-icon>\n {{ 'toolbar.menu.logout' | translate }}\n </button>\n </mat-menu>\n <mat-menu #languages=\"matMenu\">\n <button mat-menu-item (click)=\"setLang('en-UK')\">{{ 'toolbar.menu.en' | translate }}\n <mat-icon *ngIf=\"activeLang('en-UK')\" class=\"main-toolbar-menu-icon\"\n aria-hidden=\"false\" aria-label=\"Example home icon\">keyboard_arrow_left\n </mat-icon>\n </button>\n <button mat-menu-item (click)=\"setLang('sk-SK')\">{{ 'toolbar.menu.sk' | translate }}\n <mat-icon *ngIf=\"activeLang('sk-SK')\" class=\"main-toolbar-menu-icon\"\n aria-hidden=\"false\" aria-label=\"Example home icon\">keyboard_arrow_left\n </mat-icon>\n </button>\n <button mat-menu-item (click)=\"setLang('de-DE')\">{{ 'toolbar.menu.de' | translate }}\n <mat-icon *ngIf=\"activeLang('de-DE')\" class=\"main-toolbar-menu-icon\"\n aria-hidden=\"false\" aria-label=\"Example home icon\">keyboard_arrow_left\n </mat-icon>\n </button>\n </mat-menu>\n </button>\n </div>\n </mat-toolbar-row>\n</mat-toolbar>\n", styles: [".main-toolbar-logo{max-height:60%}.main-toolbar-logo img{width:120px}mat-icon.main-toolbar-icon{font-size:48px;height:100%;margin-right:15px}.main-toolbar-logged-user{margin-right:15px}.main-toolbar-menu,.main-toolbar-menu-button{font-size:20px;height:100%}.main-toolbar-menu-icon{font-size:23px}\n"] }]
|
|
25
|
+
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i2.LanguageService }]; } });
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi90b29sYmFyL3Rvb2xiYXIuY29tcG9uZW50LnR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YmFyLW1lbnUtYnV0dG9uXCIgZnhMYXlvdXQ9XCJyb3dcIj5cbiAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cIm1haW4tdG9vbGJhci1sb2dnZWQtdXNlclwiIGZ4SGlkZS54cz1cInRydWVcIj57e2xvZ2dlZFVzZXJ9fTwvc3Bhbj5cbiAgICAgICAgICAgICAgICA8bWF0LWljb24gY2xhc3M9XCJtYWluLXRvb2xiYXItaWNvblwiIGFyaWEtaGlkZGVuPVwiZmFsc2VcIiBhcmlhLWxhYmVsPVwiRXhhbXBsZSBob21lIGljb25cIj5hY2NvdW50X2NpcmNsZVxuICAgICAgICAgICAgICAgIDwvbWF0LWljb24+XG4gICAgICAgICAgICAgICAgPG1hdC1tZW51ICNtYWluTWVudT1cIm1hdE1lbnVcIiBjbGFzcz1cIm1haW4tdG9vbGJhci1vcGVuZWQtbWVudVwiPlxuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIG1hdC1tZW51LWl0ZW0gW21hdE1lbnVUcmlnZ2VyRm9yXT1cImxhbmd1YWdlc1wiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1pY29uIGNsYXNzPVwibWFpbi10b29sYmFyLW1lbnUtaWNvblwiIGFyaWEtaGlkZGVuPVwiZmFsc2VcIiBhcmlhLWxhYmVsPVwiRXhhbXBsZSBob21lIGljb25cIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsYW5ndWFnZVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtaWNvbj5cbiAgICAgICAgICAgICAgICAgICAgICAgIHt7ICd0b29sYmFyLm1lbnUubGFuZycgfCB0cmFuc2xhdGUgfX1cbiAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgICAgIDxidXR0b24gbWF0LW1lbnUtaXRlbT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbiBjbGFzcz1cIm1haW4tdG9vbGJhci1tZW51LWljb25cIiBhcmlhLWhpZGRlbj1cImZhbHNlXCIgYXJpYS1sYWJlbD1cIkV4YW1wbGUgaG9tZSBpY29uXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYWNjb3VudF9jaXJjbGVcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LWljb24+XG4gICAgICAgICAgICAgICAgICAgICAgICB7eyAndG9vbGJhci5tZW51LnByb2ZpbGUnIHwgdHJhbnNsYXRlIH19XG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIG1hdC1tZW51LWl0ZW0+XG4gICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWljb24gY2xhc3M9XCJtYWluLXRvb2xiYXItbWVudS1pY29uXCIgYXJpYS1oaWRkZW49XCJmYWxzZVwiIGFyaWEtbGFiZWw9XCJFeGFtcGxlIGhvbWUgaWNvblwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV4aXRfdG9fYXBwXG4gICAgICAgICAgICAgICAgICAgICAgICA8L21hdC1pY29uPlxuICAgICAgICAgICAgICAgICAgICAgICAge3sgJ3Rvb2xiYXIubWVudS5sb2dvdXQnIHwgdHJhbnNsYXRlIH19XG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgIDwvbWF0LW1lbnU+XG4gICAgICAgICAgICAgICAgPG1hdC1tZW51ICNsYW5ndWFnZXM9XCJtYXRNZW51XCI+XG4gICAgICAgICAgICAgICAgICAgIDxidXR0b24gbWF0LW1lbnUtaXRlbSAoY2xpY2spPVwic2V0TGFuZygnZW4tVUsnKVwiPnt7ICd0b29sYmFyLm1lbnUuZW4nIHwgdHJhbnNsYXRlIH19XG4gICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWljb24gKm5nSWY9XCJhY3RpdmVMYW5nKCdlbi1VSycpXCIgY2xhc3M9XCJtYWluLXRvb2xiYXItbWVudS1pY29uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhcmlhLWhpZGRlbj1cImZhbHNlXCIgYXJpYS1sYWJlbD1cIkV4YW1wbGUgaG9tZSBpY29uXCI+a2V5Ym9hcmRfYXJyb3dfbGVmdFxuICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtaWNvbj5cbiAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgICAgIDxidXR0b24gbWF0LW1lbnUtaXRlbSAoY2xpY2spPVwic2V0TGFuZygnc2stU0snKVwiPnt7ICd0b29sYmFyLm1lbnUuc2snIHwgdHJhbnNsYXRlIH19XG4gICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWljb24gKm5nSWY9XCJhY3RpdmVMYW5nKCdzay1TSycpXCIgY2xhc3M9XCJtYWluLXRvb2xiYXItbWVudS1pY29uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhcmlhLWhpZGRlbj1cImZhbHNlXCIgYXJpYS1sYWJlbD1cIkV4YW1wbGUgaG9tZSBpY29uXCI+a2V5Ym9hcmRfYXJyb3dfbGVmdFxuICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtaWNvbj5cbiAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgICAgIDxidXR0b24gbWF0LW1lbnUtaXRlbSAoY2xpY2spPVwic2V0TGFuZygnZGUtREUnKVwiPnt7ICd0b29sYmFyLm1lbnUuZGUnIHwgdHJhbnNsYXRlIH19XG4gICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWljb24gKm5nSWY9XCJhY3RpdmVMYW5nKCdkZS1ERScpXCIgY2xhc3M9XCJtYWluLXRvb2xiYXItbWVudS1pY29uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhcmlhLWhpZGRlbj1cImZhbHNlXCIgYXJpYS1sYWJlbD1cIkV4YW1wbGUgaG9tZSBpY29uXCI+a2V5Ym9hcmRfYXJyb3dfbGVmdFxuICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtaWNvbj5cbiAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgPC9tYXQtbWVudT5cbiAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L21hdC10b29sYmFyLXJvdz5cbjwvbWF0LXRvb2xiYXI+XG4iXX0=
|