@netgrif/components 6.4.0-rc.8 → 7.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/esm2022/lib/admin/admin.module.mjs +33 -0
- package/esm2022/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.mjs +40 -0
- package/esm2022/lib/admin/role-assignment/role-assignment.component.mjs +42 -0
- package/esm2022/lib/admin/user-invite/user-invite.component.mjs +39 -0
- package/esm2022/lib/authentication/auth.module.mjs +38 -0
- package/esm2022/lib/authentication/authentication-overlay/authentication-overlay.component.mjs +27 -0
- package/esm2022/lib/authentication/session-idle/popup-session-idle/popup-session-idle.component.mjs +26 -0
- package/esm2022/lib/authentication/session-idle/session-idle.component.mjs +40 -0
- package/esm2022/lib/dashboard/cards/barchart-card/barchart-card.component.mjs +45 -0
- package/esm2022/lib/dashboard/cards/count-card/count-card.component.mjs +21 -0
- package/esm2022/lib/dashboard/cards/iframe-card/iframe-card.component.mjs +20 -0
- package/esm2022/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.mjs +42 -0
- package/esm2022/lib/dashboard/cards/linechart-card/line-chart-card.component.mjs +54 -0
- package/esm2022/lib/dashboard/cards/piechart-card/pie-chart-card.component.mjs +47 -0
- package/esm2022/lib/dashboard/cards/portal-card/portal-card.component.mjs +43 -0
- package/esm2022/lib/dashboard/dashboard-content/dashboard-content.component.mjs +27 -0
- package/esm2022/lib/dashboard/dashboard.module.mjs +77 -0
- package/{esm2020 → esm2022}/lib/data-fields/boolean-field/boolean-default-field/boolean-default-field.component.mjs +13 -13
- package/{esm2020 → esm2022}/lib/data-fields/boolean-field/boolean-field.component.mjs +9 -9
- package/esm2022/lib/data-fields/button-field/button-default-field/button-default-field.component.mjs +45 -0
- package/esm2022/lib/data-fields/button-field/button-field.component.mjs +27 -0
- package/{esm2020 → esm2022}/lib/data-fields/case-ref-field/case-ref-default/case-ref-default.component.mjs +7 -7
- package/esm2022/lib/data-fields/data-field-template/data-field-template.component.mjs +26 -0
- package/{esm2020 → esm2022}/lib/data-fields/data-fields.module.mjs +92 -94
- package/esm2022/lib/data-fields/date-field/date-default-field/date-default-field.component.mjs +39 -0
- package/{esm2020 → esm2022}/lib/data-fields/date-field/date-field.component.mjs +11 -11
- package/esm2022/lib/data-fields/date-time-field/date-time-default-field/date-time-default-field.component.mjs +40 -0
- package/{esm2020 → esm2022}/lib/data-fields/date-time-field/date-time-field.component.mjs +11 -11
- package/esm2022/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.mjs +32 -0
- package/esm2022/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.mjs +30 -0
- package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-caseref-field/enumeration-caseref-field.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-field.component.mjs +9 -9
- package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.mjs +13 -13
- package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.mjs +13 -13
- package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.mjs +11 -11
- package/esm2022/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.mjs +29 -0
- package/esm2022/lib/data-fields/file-field/file-default-field/file-default-field.component.mjs +52 -0
- package/{esm2020 → esm2022}/lib/data-fields/file-field/file-field.component.mjs +9 -9
- package/esm2022/lib/data-fields/file-field/preview-dialog/preview-dialog.component.mjs +35 -0
- package/esm2022/lib/data-fields/file-list-field/file-list-default-field/file-list-default-field.component.mjs +32 -0
- package/{esm2020 → esm2022}/lib/data-fields/file-list-field/file-list-field.component.mjs +9 -9
- package/{esm2020 → esm2022}/lib/data-fields/filter-field/filter-default-field/filter-default-field.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.mjs +15 -15
- package/{esm2020 → esm2022}/lib/data-fields/filter-field/filter-field.component.mjs +9 -9
- package/{esm2020 → esm2022}/lib/data-fields/filter-field/tab-view-filter-field/filter-field-tab-view-content.component.mjs +13 -13
- package/esm2022/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.mjs +23 -0
- package/{esm2020 → esm2022}/lib/data-fields/i18n-field/i18n-field.component.mjs +8 -8
- package/esm2022/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.mjs +65 -0
- package/esm2022/lib/data-fields/multichoice-field/multichoice-autocomplete-field/multichoice-autocomplete-field.component.mjs +30 -0
- package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-caseref-field/multichoice-caseref-field.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-field.component.mjs +9 -9
- package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.mjs +13 -13
- package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.mjs +11 -11
- package/esm2022/lib/data-fields/number-field/number-currency-field/number-currency-field.component.mjs +37 -0
- package/esm2022/lib/data-fields/number-field/number-decimal-field/number-decimal-field.component.mjs +38 -0
- package/{esm2020 → esm2022}/lib/data-fields/number-field/number-default-field/number-default-field.component.mjs +10 -10
- package/{esm2020 → esm2022}/lib/data-fields/number-field/number-field.component.mjs +8 -8
- package/esm2022/lib/data-fields/required-label/required-label.component.mjs +18 -0
- package/esm2022/lib/data-fields/string-collection-field/string-collection-default-field/string-collection-default-field.component.mjs +30 -0
- package/esm2022/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-field.component.mjs +39 -0
- package/esm2022/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.mjs +62 -0
- package/esm2022/lib/data-fields/task-ref-field/task-ref-field.component.mjs +28 -0
- package/{esm2020 → esm2022}/lib/data-fields/task-ref-field/task-ref-list-field/task-ref-list-field.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-bar-chart-text-field/dashboard-bar-chart-text-field.component.mjs +8 -8
- package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-iframe-text-field/dashboard-iframe-text-field.component.mjs +8 -8
- package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-line-chart-text-field/dashboard-line-chart-text-field.component.mjs +8 -8
- package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-pie-chart-text-field/dashboard-pie-chart-text-field.component.mjs +8 -8
- package/esm2022/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.mjs +45 -0
- package/esm2022/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs +38 -0
- package/esm2022/lib/data-fields/text-field/password-text-field/password-text-field.component.mjs +32 -0
- package/esm2022/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.mjs +90 -0
- package/esm2022/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs +29 -0
- package/esm2022/lib/data-fields/text-field/signature-pad-field/signature-pad-field.component.mjs +105 -0
- package/esm2022/lib/data-fields/text-field/simple-text-field/simple-text-field.component.mjs +28 -0
- package/{esm2020 → esm2022}/lib/data-fields/text-field/text-field.component.mjs +8 -8
- package/esm2022/lib/data-fields/text-field/textarea-field/textarea-field.component.mjs +31 -0
- package/esm2022/lib/data-fields/user-field/user-default-field/user-default-field.component.mjs +35 -0
- package/esm2022/lib/data-fields/user-field/user-field.component.mjs +25 -0
- package/esm2022/lib/data-fields/user-list-field/user-list-default-field/user-list-default-field.component.mjs +38 -0
- package/{esm2020 → esm2022}/lib/data-fields/user-list-field/user-list-field.component.mjs +9 -9
- package/esm2022/lib/dialog/admin-impersonate-dialog/admin-impersonate-dialog.component.mjs +87 -0
- package/esm2022/lib/dialog/dialog.module.mjs +175 -0
- package/esm2022/lib/dialog/filter-selector-dialog/filter-selector-dialog.component.mjs +200 -0
- package/esm2022/lib/dialog/import-net-dialog/import-net-dialog.component.mjs +160 -0
- package/esm2022/lib/dialog/load-filter-dialog/load-filter-dialog.component.mjs +103 -0
- package/esm2022/lib/dialog/multi-user-assign-dialog/multi-user-assign-dialog.component.mjs +76 -0
- package/esm2022/lib/dialog/new-case-dialog/new-case-dialog.component.mjs +272 -0
- package/esm2022/lib/dialog/save-filter-dialog/save-filter-dialog.component.mjs +88 -0
- package/esm2022/lib/dialog/task-view-dialog/task-view-dialog.component.mjs +97 -0
- package/esm2022/lib/dialog/user-assign-dialog/user-assign-dialog.component.mjs +83 -0
- package/esm2022/lib/dialog/user-impersonate-dialog/user-impersonate-dialog.component.mjs +102 -0
- package/esm2022/lib/filter-field-content/filter-field-content.module.mjs +62 -0
- package/{esm2020 → esm2022}/lib/filter-field-content/filter-field-tab-view/filter-field-tab-view.component.mjs +7 -7
- package/esm2022/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.mjs +70 -0
- package/esm2022/lib/filter-field-content/filter-field-tabbed-task-view/filter-field-tabbed-task-view.component.mjs +76 -0
- package/esm2022/lib/forms/change-password/change-password-form.component.mjs +44 -0
- package/esm2022/lib/forms/change-password/change-password-form.component.module.mjs +38 -0
- package/esm2022/lib/forms/email-submission/email-submission-form.component.mjs +25 -0
- package/esm2022/lib/forms/email-submission/email-submission-form.module.mjs +39 -0
- package/esm2022/lib/forms/forgotten-password/forgotten-password-form-component.module.mjs +35 -0
- package/esm2022/lib/forms/forgotten-password/forgotten-password-form.component.mjs +30 -0
- package/esm2022/lib/forms/login/login-form.component.mjs +27 -0
- package/esm2022/lib/forms/login/login-form.module.mjs +35 -0
- package/esm2022/lib/forms/registration/registration-form.component.mjs +31 -0
- package/esm2022/lib/forms/registration/registration-form.module.mjs +39 -0
- package/esm2022/lib/header/header-modes/edit-mode/edit-mode.component.mjs +34 -0
- package/esm2022/lib/header/header-modes/loading-mode/loading-mode.component.mjs +18 -0
- package/esm2022/lib/header/header-modes/search-mode/search-mode.component.mjs +46 -0
- package/esm2022/lib/header/header-modes/sort-mode/sort-mode.component.mjs +26 -0
- package/esm2022/lib/header/header.component.mjs +88 -0
- package/esm2022/lib/header/header.module.mjs +66 -0
- package/{esm2020 → esm2022}/lib/legal/legal-notice/legal-notice.component.mjs +5 -5
- package/esm2022/lib/legal/legal-notice/legal-notice.module.mjs +24 -0
- package/esm2022/lib/navigation/breadcrumbs/breadcrumbs.component.mjs +21 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-case-ref-list-view/default-case-ref-list-view.component.mjs +138 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-no-filter-provided/default-no-filter-provided.component.mjs +14 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.mjs +80 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.mjs +154 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.mjs +187 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.mjs +120 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-task-view/default-task-view.component.mjs +64 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.mjs +75 -0
- package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.mjs +10 -10
- package/esm2022/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.mjs +89 -0
- package/esm2022/lib/navigation/navigation-drawer/navigation-drawer.component.mjs +34 -0
- package/{esm2020 → esm2022}/lib/navigation/navigation-rail/navigation-rail.component.mjs +9 -9
- package/{esm2020 → esm2022}/lib/navigation/navigation-tree/navigation-tree.component.mjs +12 -12
- package/esm2022/lib/navigation/navigation.module.mjs +150 -0
- package/esm2022/lib/navigation/quick-panel/components/impersonate-quick-panel/impersonate-quick-panel.component.mjs +34 -0
- package/{esm2020 → esm2022}/lib/navigation/quick-panel/components/internal-link/internal-link.component.mjs +8 -8
- package/esm2022/lib/navigation/quick-panel/components/language-selector/language-selector.component.mjs +25 -0
- package/esm2022/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.mjs +27 -0
- package/esm2022/lib/navigation/quick-panel/components/quick-panel.component.mjs +29 -0
- package/esm2022/lib/navigation/quick-panel/quick-panel.module.mjs +55 -0
- package/esm2022/lib/panel/case-panel/case-panel.component.mjs +102 -0
- package/{esm2020 → esm2022}/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.mjs +16 -16
- package/esm2022/lib/panel/panel-item/panel-item.component.mjs +22 -0
- package/esm2022/lib/panel/panel.component.mjs +20 -0
- package/esm2022/lib/panel/panel.module.mjs +112 -0
- package/esm2022/lib/panel/public-workflow-panel/public-workflow-panel.component.mjs +24 -0
- package/esm2022/lib/panel/task-panel/task-panel.component.mjs +145 -0
- package/esm2022/lib/panel/task-panel-list/task-list.component.mjs +37 -0
- package/esm2022/lib/panel/task-panel-list-pagination/task-list-pagination.component.mjs +38 -0
- package/esm2022/lib/panel/task-panel-single/single-task.component.mjs +33 -0
- package/{esm2020 → esm2022}/lib/panel/workflow-panel/workflow-panel.component.mjs +13 -13
- package/esm2022/lib/routing/redirect/redirect.component.mjs +22 -0
- package/esm2022/lib/routing/redirect.module.mjs +17 -0
- package/{esm2020 → esm2022}/lib/search/advanced-search/advanced-search-component/advanced-search.component.mjs +10 -10
- package/esm2022/lib/search/advanced-search/advanced-search.module.mjs +55 -0
- package/esm2022/lib/search/advanced-search/search-clause-component/search-clause.component.mjs +20 -0
- package/esm2022/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.mjs +31 -0
- package/esm2022/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.mjs +36 -0
- package/esm2022/lib/search/advanced-search/search-predicate-component/search-predicate.component.mjs +29 -0
- package/esm2022/lib/search/fulltext-search-component/fulltext-search.component.mjs +22 -0
- package/{esm2020 → esm2022}/lib/search/search-component/case-search/case-search.component.mjs +8 -8
- package/esm2022/lib/search/search-component/search.component.mjs +108 -0
- package/{esm2020 → esm2022}/lib/search/search-component/task-search/task-search.component.mjs +8 -8
- package/esm2022/lib/search/search.module.mjs +64 -0
- package/esm2022/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-item/admin-impersonate-item.component.mjs +22 -0
- package/{esm2020 → esm2022}/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-list.component.mjs +10 -10
- package/esm2022/lib/side-menu/content-components/admin-impersonate/admin-impersonate.component.mjs +40 -0
- package/esm2022/lib/side-menu/content-components/admin-impersonate/side-menu-admin-impersonate-component.module.mjs +58 -0
- package/{esm2020 → esm2022}/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.mjs +6 -6
- package/esm2022/lib/side-menu/content-components/filter-selector/filter-selector.component.mjs +55 -0
- package/esm2022/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.mjs +40 -0
- package/esm2022/lib/side-menu/content-components/import-net/import-net.component.mjs +61 -0
- package/esm2022/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.mjs +48 -0
- package/esm2022/lib/side-menu/content-components/load-filter/load-filter.component.mjs +68 -0
- package/esm2022/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.mjs +40 -0
- package/esm2022/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-item/multi-user-assign-item.component.mjs +20 -0
- package/esm2022/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-list.component.mjs +25 -0
- package/esm2022/lib/side-menu/content-components/multi-user-assign/multi-user-assign.component.mjs +34 -0
- package/esm2022/lib/side-menu/content-components/multi-user-assign/side-menu-multi-user-assign-component.module.mjs +61 -0
- package/esm2022/lib/side-menu/content-components/new-case/new-case.component.mjs +51 -0
- package/esm2022/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.mjs +55 -0
- package/esm2022/lib/side-menu/content-components/option-selector/option-selector.component.mjs +34 -0
- package/esm2022/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.mjs +40 -0
- package/esm2022/lib/side-menu/content-components/save-filter/save-filter.component.mjs +61 -0
- package/esm2022/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.mjs +36 -0
- package/esm2022/lib/side-menu/content-components/side-menu-content-component.module.mjs +118 -0
- package/esm2022/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.mjs +61 -0
- package/esm2022/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.mjs +22 -0
- package/esm2022/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.mjs +28 -0
- package/esm2022/lib/side-menu/content-components/user-assign/user-assign.component.mjs +38 -0
- package/esm2022/lib/side-menu/content-components/user-impersonate/side-menu-user-impersonate-component.module.mjs +40 -0
- package/esm2022/lib/side-menu/content-components/user-impersonate/user-impersonate.component.mjs +76 -0
- package/esm2022/lib/side-menu/side-menu-container/side-menu-container.component.mjs +24 -0
- package/esm2022/lib/side-menu/side-menu.module.mjs +40 -0
- package/{esm2020 → esm2022}/lib/tabs/tab-creation-detector/tab-creation-detector.component.mjs +6 -6
- package/esm2022/lib/tabs/tab-view/tab-view.component.mjs +35 -0
- package/esm2022/lib/tabs/tabs.module.mjs +44 -0
- package/esm2022/lib/task-content/field-component-resolver/field-component-resolver.component.mjs +40 -0
- package/esm2022/lib/task-content/task-content/task-content.component.mjs +42 -0
- package/esm2022/lib/task-content/task-content.module.mjs +45 -0
- package/esm2022/lib/toolbar/toolbar.component.mjs +28 -0
- package/esm2022/lib/toolbar/toolbar.module.mjs +33 -0
- package/esm2022/lib/user/profile/profile.component.mjs +26 -0
- package/esm2022/lib/user/profile/profile.module.mjs +33 -0
- package/esm2022/lib/user/user-card/user-card.component.mjs +24 -0
- package/esm2022/lib/user/user.module.mjs +33 -0
- package/esm2022/lib/view/case-view/case-view.module.mjs +37 -0
- package/esm2022/lib/view/case-view/components/case-list/case-list.component.mjs +37 -0
- package/esm2022/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs +41 -0
- package/esm2022/lib/view/case-view/components/create-case-button/create-case-button.component.mjs +70 -0
- package/esm2022/lib/view/tree-case-view/tree-case-view.module.mjs +58 -0
- package/esm2022/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.mjs +23 -0
- package/esm2022/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.mjs +22 -0
- package/esm2022/lib/view/tree-case-view/tree-component/tree.component.mjs +28 -0
- package/esm2022/lib/view/tree-case-view/tree-task-content/tree-task-content.component.mjs +66 -0
- package/esm2022/lib/view/workflow-view/workflow-view.component.mjs +39 -0
- package/esm2022/lib/view/workflow-view.module.mjs +51 -0
- package/fesm2022/netgrif-components.mjs +8038 -0
- package/fesm2022/netgrif-components.mjs.map +1 -0
- package/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.d.ts +1 -1
- package/lib/admin/role-assignment/role-assignment.component.d.ts +1 -1
- package/lib/admin/user-invite/user-invite.component.d.ts +1 -1
- package/lib/authentication/auth.module.d.ts +1 -1
- package/lib/authentication/authentication-overlay/authentication-overlay.component.d.ts +1 -1
- package/lib/authentication/session-idle/popup-session-idle/popup-session-idle.component.d.ts +1 -1
- package/lib/authentication/session-idle/session-idle.component.d.ts +1 -1
- package/lib/dashboard/cards/barchart-card/barchart-card.component.d.ts +1 -1
- package/lib/dashboard/cards/count-card/count-card.component.d.ts +1 -1
- package/lib/dashboard/cards/iframe-card/iframe-card.component.d.ts +1 -1
- package/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.d.ts +1 -1
- package/lib/dashboard/cards/linechart-card/line-chart-card.component.d.ts +1 -1
- package/lib/dashboard/cards/piechart-card/pie-chart-card.component.d.ts +1 -1
- package/lib/dashboard/cards/portal-card/portal-card.component.d.ts +1 -1
- package/lib/dashboard/dashboard-content/dashboard-content.component.d.ts +1 -1
- package/lib/data-fields/boolean-field/boolean-default-field/boolean-default-field.component.d.ts +1 -1
- package/lib/data-fields/boolean-field/boolean-field.component.d.ts +1 -1
- package/lib/data-fields/button-field/button-default-field/button-default-field.component.d.ts +1 -1
- package/lib/data-fields/button-field/button-field.component.d.ts +1 -1
- package/lib/data-fields/case-ref-field/case-ref-default/case-ref-default.component.d.ts +1 -1
- package/lib/data-fields/data-field-template/data-field-template.component.d.ts +1 -1
- package/lib/data-fields/data-fields.module.d.ts +1 -1
- package/lib/data-fields/date-field/date-default-field/date-default-field.component.d.ts +1 -1
- package/lib/data-fields/date-field/date-field.component.d.ts +1 -1
- package/lib/data-fields/date-time-field/date-time-default-field/date-time-default-field.component.d.ts +1 -1
- package/lib/data-fields/date-time-field/date-time-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-caseref-field/enumeration-caseref-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.d.ts +1 -1
- package/lib/data-fields/file-field/file-default-field/file-default-field.component.d.ts +1 -1
- package/lib/data-fields/file-field/file-field.component.d.ts +1 -1
- package/lib/data-fields/file-field/preview-dialog/preview-dialog.component.d.ts +1 -1
- package/lib/data-fields/file-list-field/file-list-default-field/file-list-default-field.component.d.ts +1 -1
- package/lib/data-fields/file-list-field/file-list-field.component.d.ts +1 -1
- package/lib/data-fields/filter-field/filter-default-field/filter-default-field.component.d.ts +1 -1
- package/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.d.ts +1 -1
- package/lib/data-fields/filter-field/filter-field.component.d.ts +1 -1
- package/lib/data-fields/filter-field/tab-view-filter-field/filter-field-tab-view-content.component.d.ts +1 -1
- package/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.d.ts +1 -1
- package/lib/data-fields/i18n-field/i18n-field.component.d.ts +1 -1
- package/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.d.ts +1 -1
- package/lib/data-fields/multichoice-field/multichoice-autocomplete-field/multichoice-autocomplete-field.component.d.ts +1 -1
- package/lib/data-fields/multichoice-field/multichoice-caseref-field/multichoice-caseref-field.component.d.ts +1 -1
- package/lib/data-fields/multichoice-field/multichoice-field.component.d.ts +1 -1
- package/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.d.ts +1 -1
- package/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.d.ts +1 -1
- package/lib/data-fields/number-field/number-currency-field/number-currency-field.component.d.ts +3 -4
- package/lib/data-fields/number-field/number-decimal-field/number-decimal-field.component.d.ts +1 -1
- package/lib/data-fields/number-field/number-default-field/number-default-field.component.d.ts +1 -1
- package/lib/data-fields/number-field/number-field.component.d.ts +1 -1
- package/lib/data-fields/required-label/required-label.component.d.ts +1 -1
- package/lib/data-fields/string-collection-field/string-collection-default-field/string-collection-default-field.component.d.ts +1 -1
- package/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-field.component.d.ts +1 -1
- package/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.d.ts +1 -1
- package/lib/data-fields/task-ref-field/task-ref-field.component.d.ts +1 -1
- package/lib/data-fields/task-ref-field/task-ref-list-field/task-ref-list-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/dashboard-bar-chart-text-field/dashboard-bar-chart-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/dashboard-iframe-text-field/dashboard-iframe-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/dashboard-line-chart-text-field/dashboard-line-chart-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/dashboard-pie-chart-text-field/dashboard-pie-chart-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/password-text-field/password-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.d.ts +1 -1
- package/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/signature-pad-field/signature-pad-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/simple-text-field/simple-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/textarea-field/textarea-field.component.d.ts +1 -1
- package/lib/data-fields/user-field/user-default-field/user-default-field.component.d.ts +1 -1
- package/lib/data-fields/user-field/user-field.component.d.ts +1 -1
- package/lib/data-fields/user-list-field/user-list-default-field/user-list-default-field.component.d.ts +1 -1
- package/lib/data-fields/user-list-field/user-list-field.component.d.ts +1 -1
- package/lib/dialog/admin-impersonate-dialog/admin-impersonate-dialog.component.d.ts +2 -2
- package/lib/dialog/dialog.module.d.ts +1 -1
- package/lib/dialog/filter-selector-dialog/filter-selector-dialog.component.d.ts +1 -1
- package/lib/dialog/import-net-dialog/import-net-dialog.component.d.ts +2 -2
- package/lib/dialog/load-filter-dialog/load-filter-dialog.component.d.ts +1 -1
- package/lib/dialog/multi-user-assign-dialog/multi-user-assign-dialog.component.d.ts +2 -2
- package/lib/dialog/new-case-dialog/new-case-dialog.component.d.ts +3 -3
- package/lib/dialog/save-filter-dialog/save-filter-dialog.component.d.ts +1 -1
- package/lib/dialog/task-view-dialog/task-view-dialog.component.d.ts +1 -1
- package/lib/dialog/user-assign-dialog/user-assign-dialog.component.d.ts +2 -2
- package/lib/dialog/user-impersonate-dialog/user-impersonate-dialog.component.d.ts +1 -1
- package/lib/filter-field-content/filter-field-content.module.d.ts +1 -1
- package/lib/filter-field-content/filter-field-tab-view/filter-field-tab-view.component.d.ts +1 -1
- package/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.d.ts +1 -1
- package/lib/filter-field-content/filter-field-tabbed-task-view/filter-field-tabbed-task-view.component.d.ts +1 -1
- package/lib/forms/change-password/change-password-form.component.d.ts +1 -1
- package/lib/forms/change-password/change-password-form.component.module.d.ts +1 -1
- package/lib/forms/email-submission/email-submission-form.component.d.ts +1 -1
- package/lib/forms/email-submission/email-submission-form.module.d.ts +1 -1
- package/lib/forms/forgotten-password/forgotten-password-form-component.module.d.ts +1 -1
- package/lib/forms/forgotten-password/forgotten-password-form.component.d.ts +1 -1
- package/lib/forms/login/login-form.component.d.ts +1 -1
- package/lib/forms/login/login-form.module.d.ts +1 -1
- package/lib/forms/registration/registration-form.component.d.ts +1 -1
- package/lib/forms/registration/registration-form.module.d.ts +1 -1
- package/lib/header/header-modes/edit-mode/edit-mode.component.d.ts +1 -1
- package/lib/header/header-modes/loading-mode/loading-mode.component.d.ts +1 -1
- package/lib/header/header-modes/search-mode/search-mode.component.d.ts +5 -4
- package/lib/header/header-modes/sort-mode/sort-mode.component.d.ts +1 -1
- package/lib/header/header.component.d.ts +2 -2
- package/lib/header/header.module.d.ts +1 -1
- package/lib/legal/legal-notice/legal-notice.component.d.ts +1 -1
- package/lib/navigation/breadcrumbs/breadcrumbs.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-case-ref-list-view/default-case-ref-list-view.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-no-filter-provided/default-no-filter-provided.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-task-view/default-task-view.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.d.ts +1 -1
- package/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.d.ts +1 -1
- package/lib/navigation/navigation-drawer/navigation-drawer.component.d.ts +1 -1
- package/lib/navigation/navigation-rail/navigation-rail.component.d.ts +1 -1
- package/lib/navigation/navigation-tree/navigation-tree.component.d.ts +1 -1
- package/lib/navigation/navigation.module.d.ts +1 -1
- package/lib/navigation/quick-panel/components/impersonate-quick-panel/impersonate-quick-panel.component.d.ts +1 -1
- package/lib/navigation/quick-panel/components/internal-link/internal-link.component.d.ts +1 -1
- package/lib/navigation/quick-panel/components/language-selector/language-selector.component.d.ts +1 -1
- package/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.d.ts +1 -1
- package/lib/navigation/quick-panel/components/quick-panel.component.d.ts +1 -1
- package/lib/panel/case-panel/case-panel.component.d.ts +2 -2
- package/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.d.ts +1 -1
- package/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.d.ts +1 -1
- package/lib/panel/panel-item/panel-item.component.d.ts +1 -1
- package/lib/panel/panel.component.d.ts +1 -1
- package/lib/panel/panel.module.d.ts +1 -1
- package/lib/panel/public-workflow-panel/public-workflow-panel.component.d.ts +1 -1
- package/lib/panel/task-panel/task-panel.component.d.ts +1 -1
- package/lib/panel/task-panel-list/task-list.component.d.ts +1 -1
- package/lib/panel/task-panel-list-pagination/task-list-pagination.component.d.ts +1 -1
- package/lib/panel/task-panel-single/single-task.component.d.ts +1 -1
- package/lib/panel/workflow-panel/workflow-panel.component.d.ts +1 -1
- package/lib/routing/redirect/redirect.component.d.ts +1 -1
- package/lib/search/advanced-search/advanced-search-component/advanced-search.component.d.ts +1 -1
- package/lib/search/advanced-search/search-clause-component/search-clause.component.d.ts +1 -1
- package/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.d.ts +1 -1
- package/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.d.ts +1 -1
- package/lib/search/advanced-search/search-predicate-component/search-predicate.component.d.ts +1 -1
- package/lib/search/fulltext-search-component/fulltext-search.component.d.ts +1 -1
- package/lib/search/search-component/case-search/case-search.component.d.ts +1 -1
- package/lib/search/search-component/search.component.d.ts +1 -1
- package/lib/search/search-component/task-search/task-search.component.d.ts +1 -1
- package/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-item/admin-impersonate-item.component.d.ts +1 -1
- package/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-list.component.d.ts +1 -1
- package/lib/side-menu/content-components/admin-impersonate/admin-impersonate.component.d.ts +1 -1
- package/lib/side-menu/content-components/admin-impersonate/side-menu-admin-impersonate-component.module.d.ts +1 -1
- package/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.d.ts +1 -1
- package/lib/side-menu/content-components/filter-selector/filter-selector.component.d.ts +1 -1
- package/lib/side-menu/content-components/import-net/import-net.component.d.ts +1 -1
- package/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.d.ts +1 -1
- package/lib/side-menu/content-components/load-filter/load-filter.component.d.ts +1 -1
- package/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-item/multi-user-assign-item.component.d.ts +1 -1
- package/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-list.component.d.ts +1 -1
- package/lib/side-menu/content-components/multi-user-assign/multi-user-assign.component.d.ts +1 -1
- package/lib/side-menu/content-components/multi-user-assign/side-menu-multi-user-assign-component.module.d.ts +1 -1
- package/lib/side-menu/content-components/new-case/new-case.component.d.ts +1 -2
- package/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.d.ts +1 -1
- package/lib/side-menu/content-components/option-selector/option-selector.component.d.ts +1 -1
- package/lib/side-menu/content-components/save-filter/save-filter.component.d.ts +1 -1
- package/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.d.ts +1 -1
- package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.d.ts +1 -1
- package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.d.ts +1 -1
- package/lib/side-menu/content-components/user-assign/user-assign.component.d.ts +1 -1
- package/lib/side-menu/content-components/user-impersonate/user-impersonate.component.d.ts +1 -1
- package/lib/side-menu/side-menu-container/side-menu-container.component.d.ts +1 -1
- package/lib/tabs/tab-creation-detector/tab-creation-detector.component.d.ts +1 -1
- package/lib/tabs/tab-view/tab-view.component.d.ts +1 -1
- package/lib/tabs/tabs.module.d.ts +1 -1
- package/lib/task-content/field-component-resolver/field-component-resolver.component.d.ts +2 -1
- package/lib/task-content/task-content/task-content.component.d.ts +1 -1
- package/lib/task-content/task-content.module.d.ts +1 -1
- package/lib/toolbar/toolbar.component.d.ts +1 -1
- package/lib/toolbar/toolbar.module.d.ts +1 -1
- package/lib/user/profile/profile.component.d.ts +1 -1
- package/lib/user/profile/profile.module.d.ts +2 -1
- package/lib/user/user-card/user-card.component.d.ts +1 -1
- package/lib/view/case-view/case-view.module.d.ts +1 -1
- package/lib/view/case-view/components/case-list/case-list.component.d.ts +1 -1
- package/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.d.ts +1 -1
- package/lib/view/case-view/components/create-case-button/create-case-button.component.d.ts +1 -1
- package/lib/view/tree-case-view/tree-case-view.module.d.ts +1 -1
- package/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.d.ts +1 -1
- package/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.d.ts +1 -1
- package/lib/view/tree-case-view/tree-component/tree.component.d.ts +1 -1
- package/lib/view/tree-case-view/tree-task-content/tree-task-content.component.d.ts +1 -1
- package/lib/view/workflow-view/workflow-view.component.d.ts +1 -1
- package/lib/view/workflow-view.module.d.ts +1 -1
- package/nae-theme.scss +10 -2
- package/package.json +29 -35
- package/schematics/migrations/5.4/migration-5.4.js +6 -2
- package/schematics/migrations/5.4/migration-5.4.js.map +1 -1
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.js +2 -2
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/group-view/create-group-view.js +1 -1
- 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 +1 -1
- package/schematics/view/create-view-prompt/views/login/create-login-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/public-resolver-view/create-public-resolver-view.js +2 -2
- package/schematics/view/create-view-prompt/views/public-resolver-view/create-public-resolver-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/public-single-task-view/create-public-single-task-view.js +1 -1
- package/schematics/view/create-view-prompt/views/public-single-task-view/create-public-single-task-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.js +1 -1
- package/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/public-workflow-view/create-public-workflow-view.js +1 -1
- package/schematics/view/create-view-prompt/views/public-workflow-view/create-public-workflow-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js.map +1 -1
- package/src/lib/data-fields/data-field.theme.scss +220 -106
- package/src/lib/dialog/dialog.theme.scss +3 -2
- package/src/lib/header/header.theme.scss +1 -1
- package/src/lib/navigation/navigation.theme.scss +11 -0
- package/src/lib/panel/panel.theme.scss +4 -0
- package/src/lib/search/advanced-search/search-predicate-component/search-predicate.component.theme.scss +2 -2
- package/src/lib/search/search-component/search.component-theme.scss +9 -4
- package/src/lib/side-menu/side-menu.theme.scss +1 -1
- package/src/lib/tabs/tabs.theme.scss +15 -5
- package/esm2020/lib/admin/admin.module.mjs +0 -35
- package/esm2020/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.mjs +0 -39
- package/esm2020/lib/admin/role-assignment/role-assignment.component.mjs +0 -40
- package/esm2020/lib/admin/user-invite/user-invite.component.mjs +0 -34
- package/esm2020/lib/authentication/auth.module.mjs +0 -40
- package/esm2020/lib/authentication/authentication-overlay/authentication-overlay.component.mjs +0 -22
- package/esm2020/lib/authentication/session-idle/popup-session-idle/popup-session-idle.component.mjs +0 -24
- package/esm2020/lib/authentication/session-idle/session-idle.component.mjs +0 -39
- package/esm2020/lib/dashboard/cards/barchart-card/barchart-card.component.mjs +0 -40
- package/esm2020/lib/dashboard/cards/count-card/count-card.component.mjs +0 -20
- package/esm2020/lib/dashboard/cards/iframe-card/iframe-card.component.mjs +0 -19
- package/esm2020/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.mjs +0 -37
- package/esm2020/lib/dashboard/cards/linechart-card/line-chart-card.component.mjs +0 -49
- package/esm2020/lib/dashboard/cards/piechart-card/pie-chart-card.component.mjs +0 -42
- package/esm2020/lib/dashboard/cards/portal-card/portal-card.component.mjs +0 -36
- package/esm2020/lib/dashboard/dashboard-content/dashboard-content.component.mjs +0 -26
- package/esm2020/lib/dashboard/dashboard.module.mjs +0 -79
- package/esm2020/lib/data-fields/button-field/button-default-field/button-default-field.component.mjs +0 -42
- package/esm2020/lib/data-fields/button-field/button-field.component.mjs +0 -25
- package/esm2020/lib/data-fields/data-field-template/data-field-template.component.mjs +0 -24
- package/esm2020/lib/data-fields/date-field/date-default-field/date-default-field.component.mjs +0 -38
- package/esm2020/lib/data-fields/date-time-field/date-time-default-field/date-time-default-field.component.mjs +0 -39
- package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.mjs +0 -31
- package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.mjs +0 -29
- package/esm2020/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.mjs +0 -28
- package/esm2020/lib/data-fields/file-field/file-default-field/file-default-field.component.mjs +0 -50
- package/esm2020/lib/data-fields/file-field/preview-dialog/preview-dialog.component.mjs +0 -33
- package/esm2020/lib/data-fields/file-list-field/file-list-default-field/file-list-default-field.component.mjs +0 -32
- package/esm2020/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.mjs +0 -23
- package/esm2020/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.mjs +0 -66
- package/esm2020/lib/data-fields/multichoice-field/multichoice-autocomplete-field/multichoice-autocomplete-field.component.mjs +0 -30
- package/esm2020/lib/data-fields/number-field/number-currency-field/number-currency-field.component.mjs +0 -35
- package/esm2020/lib/data-fields/number-field/number-decimal-field/number-decimal-field.component.mjs +0 -38
- package/esm2020/lib/data-fields/required-label/required-label.component.mjs +0 -18
- package/esm2020/lib/data-fields/string-collection-field/string-collection-default-field/string-collection-default-field.component.mjs +0 -29
- package/esm2020/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-field.component.mjs +0 -38
- package/esm2020/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.mjs +0 -57
- package/esm2020/lib/data-fields/task-ref-field/task-ref-field.component.mjs +0 -27
- package/esm2020/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.mjs +0 -41
- package/esm2020/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs +0 -36
- package/esm2020/lib/data-fields/text-field/password-text-field/password-text-field.component.mjs +0 -30
- package/esm2020/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.mjs +0 -85
- package/esm2020/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs +0 -28
- package/esm2020/lib/data-fields/text-field/signature-pad-field/signature-pad-field.component.mjs +0 -95
- package/esm2020/lib/data-fields/text-field/simple-text-field/simple-text-field.component.mjs +0 -27
- package/esm2020/lib/data-fields/text-field/textarea-field/textarea-field.component.mjs +0 -29
- package/esm2020/lib/data-fields/user-field/user-default-field/user-default-field.component.mjs +0 -35
- package/esm2020/lib/data-fields/user-field/user-field.component.mjs +0 -25
- package/esm2020/lib/data-fields/user-list-field/user-list-default-field/user-list-default-field.component.mjs +0 -39
- package/esm2020/lib/dialog/admin-impersonate-dialog/admin-impersonate-dialog.component.mjs +0 -77
- package/esm2020/lib/dialog/dialog.module.mjs +0 -177
- package/esm2020/lib/dialog/filter-selector-dialog/filter-selector-dialog.component.mjs +0 -162
- package/esm2020/lib/dialog/import-net-dialog/import-net-dialog.component.mjs +0 -153
- package/esm2020/lib/dialog/load-filter-dialog/load-filter-dialog.component.mjs +0 -98
- package/esm2020/lib/dialog/multi-user-assign-dialog/multi-user-assign-dialog.component.mjs +0 -72
- package/esm2020/lib/dialog/new-case-dialog/new-case-dialog.component.mjs +0 -251
- package/esm2020/lib/dialog/save-filter-dialog/save-filter-dialog.component.mjs +0 -83
- package/esm2020/lib/dialog/task-view-dialog/task-view-dialog.component.mjs +0 -91
- package/esm2020/lib/dialog/user-assign-dialog/user-assign-dialog.component.mjs +0 -73
- package/esm2020/lib/dialog/user-impersonate-dialog/user-impersonate-dialog.component.mjs +0 -98
- package/esm2020/lib/filter-field-content/filter-field-content.module.mjs +0 -64
- package/esm2020/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.mjs +0 -68
- package/esm2020/lib/filter-field-content/filter-field-tabbed-task-view/filter-field-tabbed-task-view.component.mjs +0 -75
- package/esm2020/lib/forms/change-password/change-password-form.component.mjs +0 -42
- package/esm2020/lib/forms/change-password/change-password-form.component.module.mjs +0 -40
- package/esm2020/lib/forms/email-submission/email-submission-form.component.mjs +0 -25
- package/esm2020/lib/forms/email-submission/email-submission-form.module.mjs +0 -41
- package/esm2020/lib/forms/forgotten-password/forgotten-password-form-component.module.mjs +0 -37
- package/esm2020/lib/forms/forgotten-password/forgotten-password-form.component.mjs +0 -30
- package/esm2020/lib/forms/login/login-form.component.mjs +0 -26
- package/esm2020/lib/forms/login/login-form.module.mjs +0 -37
- package/esm2020/lib/forms/registration/registration-form.component.mjs +0 -31
- package/esm2020/lib/forms/registration/registration-form.module.mjs +0 -41
- package/esm2020/lib/header/header-modes/edit-mode/edit-mode.component.mjs +0 -32
- package/esm2020/lib/header/header-modes/loading-mode/loading-mode.component.mjs +0 -18
- package/esm2020/lib/header/header-modes/search-mode/search-mode.component.mjs +0 -45
- package/esm2020/lib/header/header-modes/sort-mode/sort-mode.component.mjs +0 -26
- package/esm2020/lib/header/header.component.mjs +0 -86
- package/esm2020/lib/header/header.module.mjs +0 -68
- package/esm2020/lib/legal/legal-notice/legal-notice.module.mjs +0 -26
- package/esm2020/lib/navigation/breadcrumbs/breadcrumbs.component.mjs +0 -20
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-case-ref-list-view/default-case-ref-list-view.component.mjs +0 -130
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-no-filter-provided/default-no-filter-provided.component.mjs +0 -14
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.mjs +0 -79
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.mjs +0 -150
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.mjs +0 -176
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.mjs +0 -111
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-task-view/default-task-view.component.mjs +0 -63
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.mjs +0 -73
- package/esm2020/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.mjs +0 -89
- package/esm2020/lib/navigation/navigation-drawer/navigation-drawer.component.mjs +0 -31
- package/esm2020/lib/navigation/navigation.module.mjs +0 -152
- package/esm2020/lib/navigation/quick-panel/components/impersonate-quick-panel/impersonate-quick-panel.component.mjs +0 -31
- package/esm2020/lib/navigation/quick-panel/components/language-selector/language-selector.component.mjs +0 -23
- package/esm2020/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.mjs +0 -23
- package/esm2020/lib/navigation/quick-panel/components/quick-panel.component.mjs +0 -27
- package/esm2020/lib/navigation/quick-panel/quick-panel.module.mjs +0 -57
- package/esm2020/lib/panel/case-panel/case-panel.component.mjs +0 -91
- package/esm2020/lib/panel/panel-item/panel-item.component.mjs +0 -22
- package/esm2020/lib/panel/panel.component.mjs +0 -20
- package/esm2020/lib/panel/panel.module.mjs +0 -114
- package/esm2020/lib/panel/public-workflow-panel/public-workflow-panel.component.mjs +0 -24
- package/esm2020/lib/panel/task-panel/task-panel.component.mjs +0 -123
- package/esm2020/lib/panel/task-panel-list/task-list.component.mjs +0 -34
- package/esm2020/lib/panel/task-panel-list-pagination/task-list-pagination.component.mjs +0 -35
- package/esm2020/lib/panel/task-panel-single/single-task.component.mjs +0 -31
- package/esm2020/lib/routing/redirect/redirect.component.mjs +0 -20
- package/esm2020/lib/routing/redirect.module.mjs +0 -17
- package/esm2020/lib/search/advanced-search/advanced-search.module.mjs +0 -57
- package/esm2020/lib/search/advanced-search/search-clause-component/search-clause.component.mjs +0 -20
- package/esm2020/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.mjs +0 -31
- package/esm2020/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.mjs +0 -36
- package/esm2020/lib/search/advanced-search/search-predicate-component/search-predicate.component.mjs +0 -29
- package/esm2020/lib/search/fulltext-search-component/fulltext-search.component.mjs +0 -22
- package/esm2020/lib/search/search-component/search.component.mjs +0 -108
- package/esm2020/lib/search/search.module.mjs +0 -66
- package/esm2020/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-item/admin-impersonate-item.component.mjs +0 -22
- package/esm2020/lib/side-menu/content-components/admin-impersonate/admin-impersonate.component.mjs +0 -40
- package/esm2020/lib/side-menu/content-components/admin-impersonate/side-menu-admin-impersonate-component.module.mjs +0 -60
- package/esm2020/lib/side-menu/content-components/filter-selector/filter-selector.component.mjs +0 -53
- package/esm2020/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.mjs +0 -42
- package/esm2020/lib/side-menu/content-components/import-net/import-net.component.mjs +0 -55
- package/esm2020/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.mjs +0 -50
- package/esm2020/lib/side-menu/content-components/load-filter/load-filter.component.mjs +0 -67
- package/esm2020/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.mjs +0 -42
- package/esm2020/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-item/multi-user-assign-item.component.mjs +0 -20
- package/esm2020/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-list.component.mjs +0 -24
- package/esm2020/lib/side-menu/content-components/multi-user-assign/multi-user-assign.component.mjs +0 -33
- package/esm2020/lib/side-menu/content-components/multi-user-assign/side-menu-multi-user-assign-component.module.mjs +0 -63
- package/esm2020/lib/side-menu/content-components/new-case/new-case.component.mjs +0 -46
- package/esm2020/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.mjs +0 -57
- package/esm2020/lib/side-menu/content-components/option-selector/option-selector.component.mjs +0 -33
- package/esm2020/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.mjs +0 -42
- package/esm2020/lib/side-menu/content-components/save-filter/save-filter.component.mjs +0 -61
- package/esm2020/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.mjs +0 -38
- package/esm2020/lib/side-menu/content-components/side-menu-content-component.module.mjs +0 -120
- package/esm2020/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.mjs +0 -63
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.mjs +0 -22
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.mjs +0 -27
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign.component.mjs +0 -37
- package/esm2020/lib/side-menu/content-components/user-impersonate/side-menu-user-impersonate-component.module.mjs +0 -42
- package/esm2020/lib/side-menu/content-components/user-impersonate/user-impersonate.component.mjs +0 -75
- package/esm2020/lib/side-menu/side-menu-container/side-menu-container.component.mjs +0 -23
- package/esm2020/lib/side-menu/side-menu.module.mjs +0 -42
- package/esm2020/lib/tabs/tab-view/tab-view.component.mjs +0 -33
- package/esm2020/lib/tabs/tabs.module.mjs +0 -46
- package/esm2020/lib/task-content/field-component-resolver/field-component-resolver.component.mjs +0 -36
- package/esm2020/lib/task-content/task-content/task-content.component.mjs +0 -37
- package/esm2020/lib/task-content/task-content.module.mjs +0 -47
- package/esm2020/lib/toolbar/toolbar.component.mjs +0 -26
- package/esm2020/lib/toolbar/toolbar.module.mjs +0 -35
- package/esm2020/lib/user/profile/profile.component.mjs +0 -25
- package/esm2020/lib/user/profile/profile.module.mjs +0 -31
- package/esm2020/lib/user/user-card/user-card.component.mjs +0 -23
- package/esm2020/lib/user/user.module.mjs +0 -35
- package/esm2020/lib/view/case-view/case-view.module.mjs +0 -39
- package/esm2020/lib/view/case-view/components/case-list/case-list.component.mjs +0 -34
- package/esm2020/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs +0 -38
- package/esm2020/lib/view/case-view/components/create-case-button/create-case-button.component.mjs +0 -64
- package/esm2020/lib/view/tree-case-view/tree-case-view.module.mjs +0 -60
- package/esm2020/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.mjs +0 -22
- package/esm2020/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.mjs +0 -21
- package/esm2020/lib/view/tree-case-view/tree-component/tree.component.mjs +0 -27
- package/esm2020/lib/view/tree-case-view/tree-task-content/tree-task-content.component.mjs +0 -59
- package/esm2020/lib/view/workflow-view/workflow-view.component.mjs +0 -35
- package/esm2020/lib/view/workflow-view.module.mjs +0 -53
- package/fesm2015/netgrif-components.mjs +0 -7960
- package/fesm2015/netgrif-components.mjs.map +0 -1
- package/fesm2020/netgrif-components.mjs +0 -7731
- package/fesm2020/netgrif-components.mjs.map +0 -1
- /package/{esm2020 → esm2022}/lib/admin/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/authentication/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dashboard/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data-fields/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dialog/model/dialog-actions.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dialog/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/filter-field-content/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/forms/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/header/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/legal/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-task-view-data-with-navigation-item-task-data.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/navigation/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/navigation/quick-panel/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/panel/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/routing/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/search/advanced-search/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/search/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/side-menu/content-components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/side-menu/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/tabs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/task-content/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toolbar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/user/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/view/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/netgrif-components.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{netgrif-components.d.ts → index.d.ts} +0 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { Component, Inject, Optional, ViewChild } from '@angular/core';
|
|
2
|
+
import { NAE_TAB_DATA, TaskViewService, AbstractTabbedTaskViewComponent, CategoryFactory, SearchService, NAE_BASE_FILTER, AllowedNetsService, AllowedNetsServiceFactory, ViewIdService, NAE_TASK_VIEW_CONFIGURATION, ChangedFieldsService, navigationItemTaskViewDefaultHeadersFactory, tabbedTaskViewConfigurationFactory, tabbedAllowedNetsServiceFactory, HeaderMode, NAE_DEFAULT_HEADERS, NAE_NAVIGATION_ITEM_TASK_DATA, OverflowService, } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@netgrif/components-core";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@ngbracket/ngx-layout";
|
|
7
|
+
import * as i4 from "../../../../search/search-component/search.component";
|
|
8
|
+
import * as i5 from "../../../../header/header.component";
|
|
9
|
+
import * as i6 from "../../../../panel/task-panel-list/task-list.component";
|
|
10
|
+
export function baseFilterFactory(injectedTabData) {
|
|
11
|
+
return {
|
|
12
|
+
filter: injectedTabData.baseFilter
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export class DefaultTabbedTaskViewComponent extends AbstractTabbedTaskViewComponent {
|
|
16
|
+
taskHeaderComponent;
|
|
17
|
+
initialSearchMode;
|
|
18
|
+
showToggleButton;
|
|
19
|
+
enableSearch;
|
|
20
|
+
headersChangeable;
|
|
21
|
+
headersMode;
|
|
22
|
+
allowTableMode;
|
|
23
|
+
defaultHeadersMode;
|
|
24
|
+
showMoreMenu;
|
|
25
|
+
constructor(taskViewService, injectedTabData) {
|
|
26
|
+
super(taskViewService, injectedTabData);
|
|
27
|
+
this.initialSearchMode = injectedTabData.searchTypeConfiguration.initialSearchMode;
|
|
28
|
+
this.showToggleButton = injectedTabData.searchTypeConfiguration.showSearchToggleButton;
|
|
29
|
+
this.enableSearch = injectedTabData.searchTypeConfiguration.initialSearchMode !== undefined;
|
|
30
|
+
this.headersChangeable = injectedTabData.headersChangeable;
|
|
31
|
+
this.headersMode = injectedTabData.headersMode ? injectedTabData.headersMode : [];
|
|
32
|
+
this.allowTableMode = injectedTabData.allowTableMode;
|
|
33
|
+
this.defaultHeadersMode = this.resolveHeaderMode(injectedTabData.defaultHeadersMode);
|
|
34
|
+
this.showMoreMenu = injectedTabData.showMoreMenu;
|
|
35
|
+
}
|
|
36
|
+
ngAfterViewInit() {
|
|
37
|
+
this.initializeHeader(this.taskHeaderComponent);
|
|
38
|
+
this.taskHeaderComponent.changeHeadersMode(this.defaultHeadersMode, false);
|
|
39
|
+
}
|
|
40
|
+
isMenuOptionEnabled(option) {
|
|
41
|
+
return this.headersMode.some(e => e === option);
|
|
42
|
+
}
|
|
43
|
+
resolveHeaderMode(mode) {
|
|
44
|
+
switch (mode) {
|
|
45
|
+
case 'sort':
|
|
46
|
+
return HeaderMode.SORT;
|
|
47
|
+
case 'edit':
|
|
48
|
+
return HeaderMode.EDIT;
|
|
49
|
+
default:
|
|
50
|
+
return undefined;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DefaultTabbedTaskViewComponent, deps: [{ token: i1.TaskViewService }, { token: NAE_TAB_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DefaultTabbedTaskViewComponent, selector: "nc-default-tabbed-task-view", providers: [
|
|
55
|
+
CategoryFactory,
|
|
56
|
+
TaskViewService,
|
|
57
|
+
SearchService,
|
|
58
|
+
ViewIdService,
|
|
59
|
+
ChangedFieldsService,
|
|
60
|
+
OverflowService,
|
|
61
|
+
{
|
|
62
|
+
provide: NAE_BASE_FILTER,
|
|
63
|
+
useFactory: baseFilterFactory,
|
|
64
|
+
deps: [NAE_TAB_DATA]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
provide: AllowedNetsService,
|
|
68
|
+
useFactory: tabbedAllowedNetsServiceFactory,
|
|
69
|
+
deps: [AllowedNetsServiceFactory, NAE_TAB_DATA]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
provide: NAE_TASK_VIEW_CONFIGURATION,
|
|
73
|
+
useFactory: tabbedTaskViewConfigurationFactory,
|
|
74
|
+
deps: [NAE_TAB_DATA]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
provide: NAE_DEFAULT_HEADERS,
|
|
78
|
+
useFactory: navigationItemTaskViewDefaultHeadersFactory,
|
|
79
|
+
deps: [[new Optional(), NAE_NAVIGATION_ITEM_TASK_DATA]]
|
|
80
|
+
}
|
|
81
|
+
], viewQueries: [{ propertyName: "taskHeaderComponent", first: true, predicate: ["header"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"task-tab-background full-height min-height-task-custom\">\n <div fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"content-margin full-height\" >\n <div class=\"search-panel\" *ngIf=\"(enableSearch)\">\n <nc-search class=\"search-width\" [showSearchToggleButton]=\"showToggleButton\"\n [initialSearchMode]=\"initialSearchMode\"></nc-search>\n </div>\n <nc-header #header type=\"task\" [hideHeaderMenu]=\"!headersChangeable\"\n [showEditButton]=\"isMenuOptionEnabled('edit')\"\n [showSortButton]=\"isMenuOptionEnabled('sort')\" [showTableSection]=\"allowTableMode\" class=\"task-panel-padding-mini\"></nc-header>\n\n <nc-task-list [tasks$]=\"tasks$\" [loading$]=\"loading$\" [allowMultiOpen]=\"false\"\n [selectedHeaders$]=\"selectedHeaders$\" [textEllipsis]=\"true\" [showMoreMenu]=\"showMoreMenu\"\n fxFlex></nc-task-list>\n </div>\n</div>\n", styles: [".task-tab-background{height:100%;width:100%;overflow:auto;background-color:transparent}.search-panel{margin-top:16px;padding:8px 0}.content-margin{margin:8px 24px 0}.task-panel-padding-mini{padding-top:16px;padding-left:1px;padding-right:1px}.full-height{height:calc(100% - 8px)}.search-width{width:100%}.min-height-task-custom{min-height:400px}@media screen and (max-width: 599.99px){.content-margin{margin:8px 12px 0}}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i3.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "component", type: i4.SearchComponent, selector: "nc-search" }, { kind: "component", type: i5.HeaderComponent, selector: "nc-header" }, { kind: "component", type: i6.TaskListComponent, selector: "nc-task-list" }] });
|
|
82
|
+
}
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DefaultTabbedTaskViewComponent, decorators: [{
|
|
84
|
+
type: Component,
|
|
85
|
+
args: [{ selector: 'nc-default-tabbed-task-view', providers: [
|
|
86
|
+
CategoryFactory,
|
|
87
|
+
TaskViewService,
|
|
88
|
+
SearchService,
|
|
89
|
+
ViewIdService,
|
|
90
|
+
ChangedFieldsService,
|
|
91
|
+
OverflowService,
|
|
92
|
+
{
|
|
93
|
+
provide: NAE_BASE_FILTER,
|
|
94
|
+
useFactory: baseFilterFactory,
|
|
95
|
+
deps: [NAE_TAB_DATA]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
provide: AllowedNetsService,
|
|
99
|
+
useFactory: tabbedAllowedNetsServiceFactory,
|
|
100
|
+
deps: [AllowedNetsServiceFactory, NAE_TAB_DATA]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
provide: NAE_TASK_VIEW_CONFIGURATION,
|
|
104
|
+
useFactory: tabbedTaskViewConfigurationFactory,
|
|
105
|
+
deps: [NAE_TAB_DATA]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
provide: NAE_DEFAULT_HEADERS,
|
|
109
|
+
useFactory: navigationItemTaskViewDefaultHeadersFactory,
|
|
110
|
+
deps: [[new Optional(), NAE_NAVIGATION_ITEM_TASK_DATA]]
|
|
111
|
+
}
|
|
112
|
+
], template: "<div class=\"task-tab-background full-height min-height-task-custom\">\n <div fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"content-margin full-height\" >\n <div class=\"search-panel\" *ngIf=\"(enableSearch)\">\n <nc-search class=\"search-width\" [showSearchToggleButton]=\"showToggleButton\"\n [initialSearchMode]=\"initialSearchMode\"></nc-search>\n </div>\n <nc-header #header type=\"task\" [hideHeaderMenu]=\"!headersChangeable\"\n [showEditButton]=\"isMenuOptionEnabled('edit')\"\n [showSortButton]=\"isMenuOptionEnabled('sort')\" [showTableSection]=\"allowTableMode\" class=\"task-panel-padding-mini\"></nc-header>\n\n <nc-task-list [tasks$]=\"tasks$\" [loading$]=\"loading$\" [allowMultiOpen]=\"false\"\n [selectedHeaders$]=\"selectedHeaders$\" [textEllipsis]=\"true\" [showMoreMenu]=\"showMoreMenu\"\n fxFlex></nc-task-list>\n </div>\n</div>\n", styles: [".task-tab-background{height:100%;width:100%;overflow:auto;background-color:transparent}.search-panel{margin-top:16px;padding:8px 0}.content-margin{margin:8px 24px 0}.task-panel-padding-mini{padding-top:16px;padding-left:1px;padding-right:1px}.full-height{height:calc(100% - 8px)}.search-width{width:100%}.min-height-task-custom{min-height:400px}@media screen and (max-width: 599.99px){.content-margin{margin:8px 12px 0}}\n"] }]
|
|
113
|
+
}], ctorParameters: () => [{ type: i1.TaskViewService }, { type: undefined, decorators: [{
|
|
114
|
+
type: Inject,
|
|
115
|
+
args: [NAE_TAB_DATA]
|
|
116
|
+
}] }], propDecorators: { taskHeaderComponent: [{
|
|
117
|
+
type: ViewChild,
|
|
118
|
+
args: ['header']
|
|
119
|
+
}] } });
|
|
120
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC10YWJiZWQtdGFzay12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL25hdmlnYXRpb24vZ3JvdXAtbmF2aWdhdGlvbi1jb21wb25lbnQtcmVzb2x2ZXIvZGVmYXVsdC1jb21wb25lbnRzL2RlZmF1bHQtdGFiYmVkLXRhc2stdmlldy9kZWZhdWx0LXRhYmJlZC10YXNrLXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z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6IEluamVjdGVkVGFiYmVkVGFza1ZpZXdEYXRhV2l0aE5hdmlnYXRpb25JdGVtVGFza0RhdGEpIHtcbiAgICByZXR1cm4ge1xuICAgICAgICBmaWx0ZXI6IGluamVjdGVkVGFiRGF0YS5iYXNlRmlsdGVyXG4gICAgfTtcbn1cblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICduYy1kZWZhdWx0LXRhYmJlZC10YXNrLXZpZXcnLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9kZWZhdWx0LXRhYmJlZC10YXNrLXZpZXcuY29tcG9uZW50Lmh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL2RlZmF1bHQtdGFiYmVkLXRhc2stdmlldy5jb21wb25lbnQuc2NzcyddLFxuICAgIHByb3ZpZGVyczogW1xuICAgICAgICBDYXRlZ29yeUZhY3RvcnksXG4gICAgICAgIFRhc2tWaWV3U2VydmljZSxcbiAgICAgICAgU2VhcmNoU2VydmljZSxcbiAgICAgICAgVmlld0lkU2VydmljZSxcbiAgICAgICAgQ2hhbmdlZEZpZWxkc1NlcnZpY2UsXG4gICAgICAgIE92ZXJmbG93U2VydmljZSxcbiAgICAgICAge1xuICAgICAgICAgICAgcHJvdmlkZTogTkFFX0JBU0VfRklMVEVSLFxuICAgICAgICAgICAgdXNlRmFjdG9yeTogYmFzZUZpbHRlckZhY3RvcnksXG4gICAgICAgICAgICBkZXBzOiBbTkFFX1RBQl9EQVRBXVxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgICBwcm92aWRlOiBBbGxvd2VkTmV0c1NlcnZpY2UsXG4gICAgICAgICAgICB1c2VGYWN0b3J5OiB0YWJiZWRBbGxvd2VkTmV0c1NlcnZpY2VGYWN0b3J5LFxuICAgICAgICAgICAgZGVwczogW0FsbG93ZWROZXRzU2VydmljZUZhY3RvcnksIE5BRV9UQUJfREFUQV1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgICAgcHJvdmlkZTogTkFFX1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@
|
|
|
1
|
+
import { Component, ViewChild } from '@angular/core';
|
|
2
|
+
import { AbstractTaskViewComponent, AllowedNetsService, AllowedNetsServiceFactory, CategoryFactory, ChangedFieldsService, NAE_ASYNC_RENDERING_CONFIGURATION, NAE_TASK_FORCE_OPEN, SearchService, TaskViewService, ViewIdService } from "@netgrif/components-core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@netgrif/components-core";
|
|
5
|
+
import * as i2 from "@ngbracket/ngx-layout";
|
|
6
|
+
import * as i3 from "../../../../header/header.component";
|
|
7
|
+
import * as i4 from "../../../../panel/task-panel-list-pagination/task-list-pagination.component";
|
|
8
|
+
const localAllowedNetsFactory = (factory) => {
|
|
9
|
+
return factory.createWithAllNets();
|
|
10
|
+
};
|
|
11
|
+
export class DefaultTaskViewComponent extends AbstractTaskViewComponent {
|
|
12
|
+
taskHeaderComponent;
|
|
13
|
+
constructor(taskViewService) {
|
|
14
|
+
super(taskViewService);
|
|
15
|
+
}
|
|
16
|
+
ngAfterViewInit() {
|
|
17
|
+
this.initializeHeader(this.taskHeaderComponent);
|
|
18
|
+
}
|
|
19
|
+
logEvent(event) {
|
|
20
|
+
console.log(event);
|
|
21
|
+
}
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DefaultTaskViewComponent, deps: [{ token: i1.TaskViewService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DefaultTaskViewComponent, selector: "nc-default-task-view", providers: [
|
|
24
|
+
CategoryFactory,
|
|
25
|
+
TaskViewService,
|
|
26
|
+
SearchService,
|
|
27
|
+
ChangedFieldsService,
|
|
28
|
+
{
|
|
29
|
+
provide: AllowedNetsService,
|
|
30
|
+
useFactory: localAllowedNetsFactory,
|
|
31
|
+
deps: [AllowedNetsServiceFactory]
|
|
32
|
+
},
|
|
33
|
+
{ provide: NAE_TASK_FORCE_OPEN, useValue: false },
|
|
34
|
+
ViewIdService,
|
|
35
|
+
{
|
|
36
|
+
provide: NAE_ASYNC_RENDERING_CONFIGURATION,
|
|
37
|
+
useValue: { enableAsyncRenderingForNewFields: false, enableAsyncRenderingOnTaskExpand: false }
|
|
38
|
+
}
|
|
39
|
+
], viewQueries: [{ propertyName: "taskHeaderComponent", first: true, predicate: ["header"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"task-tab-background full-height\">\n <div fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"content-margin full-height\" >\n <nc-header #header type=\"task\" [responsiveHeaders]=\"true\" class=\"task-panel-padding-mini\"></nc-header>\n <nc-task-list-pagination [allowMultiOpen]=\"false\" [tasks$]=\"tasks$\" [loading$]=\"loading$\" [textEllipsis]=\"true\" [forceLoadDataOnOpen]=\"true\" [responsiveBody]=\"true\"\n [selectedHeaders$]=\"selectedHeaders$\" (taskEvent)=\"logEvent($event)\" fxFlex></nc-task-list-pagination>\n </div>\n</div>\n", styles: [".task-tab-background{height:100%;width:100%;overflow:auto;background-color:transparent}.search-panel{margin-top:16px;padding:8px 16px}.content-margin{margin:8px 24px 0}@media screen and (max-width: 599.99px){.content-margin{margin:8px 12px 0}}.task-panel-padding-mini{padding-top:16px;padding-left:1px;padding-right:1px}.full-height{height:calc(100% - 8px)}.search-width{width:100%}\n"], dependencies: [{ kind: "directive", type: i2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "component", type: i3.HeaderComponent, selector: "nc-header" }, { kind: "component", type: i4.TaskListPaginationComponent, selector: "nc-task-list-pagination" }] });
|
|
40
|
+
}
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DefaultTaskViewComponent, decorators: [{
|
|
42
|
+
type: Component,
|
|
43
|
+
args: [{ selector: 'nc-default-task-view', providers: [
|
|
44
|
+
CategoryFactory,
|
|
45
|
+
TaskViewService,
|
|
46
|
+
SearchService,
|
|
47
|
+
ChangedFieldsService,
|
|
48
|
+
{
|
|
49
|
+
provide: AllowedNetsService,
|
|
50
|
+
useFactory: localAllowedNetsFactory,
|
|
51
|
+
deps: [AllowedNetsServiceFactory]
|
|
52
|
+
},
|
|
53
|
+
{ provide: NAE_TASK_FORCE_OPEN, useValue: false },
|
|
54
|
+
ViewIdService,
|
|
55
|
+
{
|
|
56
|
+
provide: NAE_ASYNC_RENDERING_CONFIGURATION,
|
|
57
|
+
useValue: { enableAsyncRenderingForNewFields: false, enableAsyncRenderingOnTaskExpand: false }
|
|
58
|
+
}
|
|
59
|
+
], template: "<div class=\"task-tab-background full-height\">\n <div fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"content-margin full-height\" >\n <nc-header #header type=\"task\" [responsiveHeaders]=\"true\" class=\"task-panel-padding-mini\"></nc-header>\n <nc-task-list-pagination [allowMultiOpen]=\"false\" [tasks$]=\"tasks$\" [loading$]=\"loading$\" [textEllipsis]=\"true\" [forceLoadDataOnOpen]=\"true\" [responsiveBody]=\"true\"\n [selectedHeaders$]=\"selectedHeaders$\" (taskEvent)=\"logEvent($event)\" fxFlex></nc-task-list-pagination>\n </div>\n</div>\n", styles: [".task-tab-background{height:100%;width:100%;overflow:auto;background-color:transparent}.search-panel{margin-top:16px;padding:8px 16px}.content-margin{margin:8px 24px 0}@media screen and (max-width: 599.99px){.content-margin{margin:8px 12px 0}}.task-panel-padding-mini{padding-top:16px;padding-left:1px;padding-right:1px}.full-height{height:calc(100% - 8px)}.search-width{width:100%}\n"] }]
|
|
60
|
+
}], ctorParameters: () => [{ type: i1.TaskViewService }], propDecorators: { taskHeaderComponent: [{
|
|
61
|
+
type: ViewChild,
|
|
62
|
+
args: ['header']
|
|
63
|
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XCIgW2ZvcmNlTG9hZERhdGFPbk9wZW5dPVwidHJ1ZVwiIFtyZXNwb25zaXZlQm9keV09XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzZWxlY3RlZEhlYWRlcnMkXT1cInNlbGVjdGVkSGVhZGVycyRcIiAodGFza0V2ZW50KT1cImxvZ0V2ZW50KCRldmVudClcIiBmeEZsZXg+PC9uYy10YXNrLWxpc3QtcGFnaW5hdGlvbj5cbiAgICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { extractFilterFromData, FilterType, GroupNavigationComponentResolverService, extractFieldValueFromData, RoutingBuilderService, GroupNavigationConstants } from '@netgrif/components-core';
|
|
3
|
+
import { DefaultTabViewComponent } from './default-components/default-tab-view/default-tab-view.component';
|
|
4
|
+
import { DefaultNoFilterProvidedComponent } from "./default-components/default-no-filter-provided/default-no-filter-provided.component";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@netgrif/components-core";
|
|
7
|
+
export class DefaultGroupNavigationComponentResolverService extends GroupNavigationComponentResolverService {
|
|
8
|
+
_configService;
|
|
9
|
+
_viewService;
|
|
10
|
+
constructor(taskResourceService, log, _configService, _viewService) {
|
|
11
|
+
super(taskResourceService, log);
|
|
12
|
+
this._configService = _configService;
|
|
13
|
+
this._viewService = _viewService;
|
|
14
|
+
}
|
|
15
|
+
resolveViewComponent(navItemData) {
|
|
16
|
+
const useCustomRouting = extractFieldValueFromData(navItemData, 'use_custom_view');
|
|
17
|
+
if (useCustomRouting) {
|
|
18
|
+
return this.resolveCustomComponent(navItemData);
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
return this.resolveDefaultComponent(navItemData);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
resolveCustomComponent(navItemData) {
|
|
25
|
+
const customSelector = extractFieldValueFromData(navItemData, 'custom_view_selector');
|
|
26
|
+
for (const [pathSegment, view] of Object.entries(this._configService.get().views)) {
|
|
27
|
+
if (pathSegment === customSelector) {
|
|
28
|
+
return this.resolveComponentClass(view, pathSegment);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
resolveComponentClass(view, configPath) {
|
|
33
|
+
let result;
|
|
34
|
+
if (!!view.component) {
|
|
35
|
+
result = this._viewService.resolveNameToClass(view.component.class);
|
|
36
|
+
}
|
|
37
|
+
else if (!!view.layout) {
|
|
38
|
+
result = this.resolveComponentClassFromLayout(view, configPath);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (result === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
return result;
|
|
47
|
+
}
|
|
48
|
+
resolveComponentClassFromLayout(view, configPath) {
|
|
49
|
+
const className = RoutingBuilderService.parseClassNameFromView(view, configPath);
|
|
50
|
+
return this._viewService.resolveNameToClass(className);
|
|
51
|
+
}
|
|
52
|
+
resolveDefaultComponent(navItemData) {
|
|
53
|
+
const filterTaskRefValue = extractFieldValueFromData(navItemData, GroupNavigationConstants.ITEM_FIELD_ID_FILTER_TASKREF);
|
|
54
|
+
if (filterTaskRefValue == undefined || filterTaskRefValue.length == 0) {
|
|
55
|
+
return DefaultNoFilterProvidedComponent;
|
|
56
|
+
}
|
|
57
|
+
const filter = extractFilterFromData(navItemData);
|
|
58
|
+
if (filter === undefined) {
|
|
59
|
+
throw new Error('Provided navigation item task data does not contain a filter field');
|
|
60
|
+
}
|
|
61
|
+
switch (filter.type) {
|
|
62
|
+
case FilterType.CASE:
|
|
63
|
+
case FilterType.TASK:
|
|
64
|
+
return DefaultTabViewComponent;
|
|
65
|
+
default:
|
|
66
|
+
throw new Error(`Cannot resolve navigation component from '${filter.type}' filter type`);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DefaultGroupNavigationComponentResolverService, deps: [{ token: i1.TaskResourceService }, { token: i1.LoggerService }, { token: i1.ConfigurationService }, { token: i1.ViewService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
70
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DefaultGroupNavigationComponentResolverService });
|
|
71
|
+
}
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DefaultGroupNavigationComponentResolverService, decorators: [{
|
|
73
|
+
type: Injectable
|
|
74
|
+
}], ctorParameters: () => [{ type: i1.TaskResourceService }, { type: i1.LoggerService }, { type: i1.ConfigurationService }, { type: i1.ViewService }] });
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC1ncm91cC1uYXZpZ2F0aW9uLWNvbXBvbmVudC1yZXNvbHZlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvbmF2aWdhdGlvbi9ncm91cC1uYXZpZ2F0aW9uLWNvbXBvbmVudC1yZXNvbHZlci9kZWZhdWx0LWdyb3VwLW5hdmlnYXRpb24tY29tcG9uZW50LXJlc29sdmVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFVBQVUsRUFBTyxNQUFNLGVBQWUsQ0FBQztBQUMvQyxPQUFPLEVBRUgscUJBQXFCLEVBQ3JCLFVBQVUsRUFDVix1Q0FBdUMsRUFNdkMseUJBQXlCLEVBQ3pCLHFCQUFxQixFQUNyQix3QkFBd0IsRUFDM0IsTUFBTSwwQkFBMEIsQ0FBQztBQUNsQyx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UgPT0gdW5kZWZpbmVkIHx8IGZpbHRlclRhc2tSZWZWYWx1ZS5sZW5ndGggPT0gMCkge1xuICAgICAgICAgICAgcmV0dXJuIERlZmF1bHROb0ZpbHRlclByb3ZpZGVkQ29tcG9uZW50XG4gICAgICAgIH1cblxuICAgICAgICBjb25zdCBmaWx0ZXIgPSBleHRyYWN0RmlsdGVyRnJvbURhdGEobmF2SXRlbURhdGEpO1xuICAgICAgICBpZiAoZmlsdGVyID09PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcignUHJvdmlkZWQgbmF2aWdhdGlvbiBpdGVtIHRhc2sgZGF0YSBkb2VzIG5vdCBjb250YWluIGEgZmlsdGVyIGZpZWxkJyk7XG4gICAgICAgIH1cblxuICAgICAgICBzd2l0Y2ggKGZpbHRlci50eXBlKSB7XG4gICAgICAgICAgICBjYXNlIEZpbHRlclR5cGUuQ0FTRTpcbiAgICAgICAgICAgIGNhc2UgRmlsdGVyVHlwZS5UQVNLOlxuICAgICAgICAgICAgICAgIHJldHVybiBEZWZhdWx0VGFiVmlld0NvbXBvbmVudDtcbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgdGhyb3cgbmV3IEVycm9yKGBDYW5ub3QgcmVzb2x2ZSBuYXZpZ2F0aW9uIGNvbXBvbmVudCBmcm9tICcke2ZpbHRlci50eXBlfScgZmlsdGVyIHR5cGVgKTtcbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==
|
|
@@ -3,21 +3,21 @@ import { AbstractGroupNavigationComponentResolverComponent } from '@netgrif/comp
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@netgrif/components-core";
|
|
5
5
|
import * as i2 from "@angular/router";
|
|
6
|
-
import * as i3 from "@angular/
|
|
7
|
-
import * as i4 from "@
|
|
8
|
-
import * as i5 from "@angular/
|
|
9
|
-
import * as i6 from "@angular/
|
|
10
|
-
import * as i7 from "@angular/
|
|
6
|
+
import * as i3 from "@angular/common";
|
|
7
|
+
import * as i4 from "@ngbracket/ngx-layout";
|
|
8
|
+
import * as i5 from "@angular/material/icon";
|
|
9
|
+
import * as i6 from "@angular/material/progress-spinner";
|
|
10
|
+
import * as i7 from "@angular/cdk/portal";
|
|
11
11
|
import * as i8 from "@ngx-translate/core";
|
|
12
12
|
export class GroupNavigationComponentResolverComponent extends AbstractGroupNavigationComponentResolverComponent {
|
|
13
13
|
constructor(componentResolverService, parentInjector, activatedRoute, router, log) {
|
|
14
14
|
super(componentResolverService, parentInjector, activatedRoute, router, log);
|
|
15
15
|
}
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GroupNavigationComponentResolverComponent, deps: [{ token: i1.GroupNavigationComponentResolverService }, { token: i0.Injector }, { token: i2.ActivatedRoute }, { token: i2.Router }, { token: i1.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: GroupNavigationComponentResolverComponent, selector: "nc-group-navigation-component-resolver", usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"initialized || errored; else loading\" class=\"full-height\">\n <div *ngIf=\"initialized; else displayError\" class=\"full-height\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </div>\n</div>\n\n<ng-template #loading>\n <mat-progress-spinner></mat-progress-spinner>\n</ng-template>\n\n<ng-template #displayError>\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <mat-icon color=\"accent\" class=\"margin-bottom-error-icon\">cancel</mat-icon>\n <span class=\"font-size-20\">{{'dynamicNavigation.couldNotResolveView' | translate}}</span>\n </div>\n</ng-template>\n", styles: [".full-height{height:100%}.margin-bottom-error-icon{margin-bottom:8px}.font-size-20{font-size:20px}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i6.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i7.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }] });
|
|
16
18
|
}
|
|
17
|
-
|
|
18
|
-
GroupNavigationComponentResolverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GroupNavigationComponentResolverComponent, selector: "nc-group-navigation-component-resolver", usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"initialized || errored; else loading\" class=\"full-height\">\n <div *ngIf=\"initialized; else displayError\" class=\"full-height\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </div>\n</div>\n\n<ng-template #loading>\n <mat-progress-spinner></mat-progress-spinner>\n</ng-template>\n\n<ng-template #displayError>\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <mat-icon color=\"accent\" class=\"margin-bottom-error-icon\">cancel</mat-icon>\n <span class=\"font-size-20\">{{'dynamicNavigation.couldNotResolveView' | translate}}</span>\n </div>\n</ng-template>\n", styles: [".full-height{height:100%}.margin-bottom-error-icon{margin-bottom:8px}.font-size-20{font-size:20px}\n"], components: [{ type: i3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { 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.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { 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.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"] }], pipes: { "translate": i8.TranslatePipe } });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GroupNavigationComponentResolverComponent, decorators: [{
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GroupNavigationComponentResolverComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ selector: 'nc-group-navigation-component-resolver', template: "<div *ngIf=\"initialized || errored; else loading\" class=\"full-height\">\n <div *ngIf=\"initialized; else displayError\" class=\"full-height\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </div>\n</div>\n\n<ng-template #loading>\n <mat-progress-spinner></mat-progress-spinner>\n</ng-template>\n\n<ng-template #displayError>\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <mat-icon color=\"accent\" class=\"margin-bottom-error-icon\">cancel</mat-icon>\n <span class=\"font-size-20\">{{'dynamicNavigation.couldNotResolveView' | translate}}</span>\n </div>\n</ng-template>\n", styles: [".full-height{height:100%}.margin-bottom-error-icon{margin-bottom:8px}.font-size-20{font-size:20px}\n"] }]
|
|
22
|
-
}], ctorParameters:
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|
+
}], ctorParameters: () => [{ type: i1.GroupNavigationComponentResolverService }, { type: i0.Injector }, { type: i2.ActivatedRoute }, { type: i2.Router }, { type: i1.LoggerService }] });
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JvdXAtbmF2aWdhdGlvbi1jb21wb25lbnQtcmVzb2x2ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvbmF2aWdhdGlvbi9ncm91cC1uYXZpZ2F0aW9uLWNvbXBvbmVudC1yZXNvbHZlci9ncm91cC1uYXZpZ2F0aW9uLWNvbXBvbmVudC1yZXNvbHZlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9uYXZpZ2F0aW9uL2dyb3VwLW5hdmlnYXRpb24tY29tcG9uZW50LXJlc29sdmVyL2dyb3VwLW5hdmlnYXRpb24tY29tcG9uZW50LXJlc29sdmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQVcsTUFBTSxlQ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