@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
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractUserCardComponent } from '@netgrif/components-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/flex-layout/flex";
|
|
6
|
-
import * as i3 from "@angular/router";
|
|
7
|
-
import * as i4 from "@angular/material/core";
|
|
8
|
-
import * as i5 from "@angular/flex-layout/extended";
|
|
9
|
-
import * as i6 from "@angular/material/tooltip";
|
|
10
|
-
import * as i7 from "@ngx-translate/core";
|
|
11
|
-
export class UserCardComponent extends AbstractUserCardComponent {
|
|
12
|
-
constructor(_injector) {
|
|
13
|
-
super(_injector);
|
|
14
|
-
this._injector = _injector;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
UserCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: UserCardComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
-
UserCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: UserCardComponent, selector: "nc-user-card", usesInheritance: true, ngImport: i0, template: "<div [ngSwitch]=\"mode\" class=\"no-outline\">\n <div *ngSwitchCase=\"'full'\" #fullShowcase fxLayout=\"column\" fxLayoutAlign=\"start center\"\n class=\"full-showcase-container no-outline margin-bottom-x2\" [style.width.px]=\"width\"\n [routerLink]=\"link\">\n <ng-template [ngIf]=\"!userBannerExists()\">\n <div class=\"banner-wrapper mat-elevation-z6\" matRipple [matRippleTrigger]=\"fullShowcase\">\n <div [style.backgroundImage]=\"'url(assets/netgrif-cubes-upper-left.png)'\" class=\"cube-upper-left\">\n <div [style.backgroundImage]=\"'url(assets/netgrif-cubes-down-right.png)'\" class=\"cube-down-right\"></div>\n </div>\n </div>\n </ng-template>\n <ng-template [ngIf]=\"userBannerExists()\">\n <div [style.backgroundImage]=\"'url('+userBanner+')'\" class=\"full-width user-banner mat-elevation-z6\" matRipple\n [matRippleTrigger]=\"fullShowcase\"></div>\n </ng-template>\n <div class=\"user-avatar-large margin-bottom-default mat-elevation-z6\" matRipple\n [matRippleTrigger]=\"fullShowcase\">\n <img [src]=\"userAvatar\" alt=\"user avatar\" class=\"full-width full-height\">\n </div>\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\" class=\"full-width full-showcase-text padding-default\">\n <span>{{user.fullName}}</span>\n <span class=\"impersonated-user-name\" *ngIf=\"user.isImpersonating()\">{{'side-menu.impersonation.impersonating' | translate }} {{user.getSelfOrImpersonated().fullName}}</span>\n <span>{{user.email}}</span>\n </div>\n </div>\n <div *ngSwitchCase=\"'horizontal'\" fxLayout=\"row\" fxLayoutAlign=\"start center\"\n class=\"horizontal-showcase-container no-outline padding-default\" [routerLink]=\"link\" matRipple>\n <div class=\"user-avatar-large mat-elevation-z6\">\n <img [src]=\"userAvatar\" alt=\"user avatar\" class=\"full-width full-height\">\n </div>\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\" class=\"full-width full-showcase-text\">\n <span>{{user.fullName}}</span>\n <span>{{user.email}}</span>\n </div>\n </div>\n <div *ngSwitchCase=\"'vertical'\" fxLayout=\"column\" fxLayoutAlign=\"start center\"\n class=\"vertical-showcase-container no-outline padding-default\"\n [routerLink]=\"link\" matRipple>\n <div class=\"user-avatar-large mat-elevation-z6\">\n <img [src]=\"userAvatar\" alt=\"user avatar\" class=\"full-width full-height\">\n </div>\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\" class=\"full-width full-showcase-text\">\n <span>{{user.fullName}}</span>\n <span>{{user.email}}</span>\n </div>\n </div>\n <div *ngSwitchCase=\"'icon'\" [routerLink]=\"link\">\n <div class=\"mat-elevation-z6 no-outline\"\n [ngClass]=\"{'user-avatar-large':iconStyle === 'large', 'user-avatar-small':iconStyle==='small'}\"\n [matTooltip]=\"user.fullName+'\\n'+user.email\"\n matTooltipHideDelay=\"1000\"\n [matTooltipPosition]=\"tooltipPosition\"\n matRipple>\n <img [src]=\"userAvatar\" alt=\"user avatar\" class=\"full-width full-height\">\n </div>\n </div>\n <div *ngSwitchDefault>\n <span>{{ 'side-menu.user.showcase' | translate}}</span>\n </div>\n</div>\n\n\n", styles: [".full-height{height:100%;min-height:100%}.full-width{width:100%;min-width:100%}.padding-default{padding:8px}.padding-half{padding:4px}.padding-x2{padding:16px}.margin-default{margin:8px}.margin-half{margin:4px}.margin-x2{margin:16px}.margin-top-default{margin-top:8px}.margin-top-half{margin-top:4px}.margin-top-x2{margin-top:16px}.margin-bottom-default{margin-bottom:8px}.margin-bottom-half{margin-bottom:4px}.margin-bottom-x2{margin-bottom:16px}.margin-left-default{margin-left:8px}.margin-left-half{margin-left:4px}.margin-left-x2{margin-left:16px}.margin-right-default{margin-right:8px}.margin-right-half{margin-right:4px}.margin-right-x2{margin-right:16px}.full-showcase-container .user-banner{height:100px;border-bottom-left-radius:6px;border-bottom-right-radius:6px}.full-showcase-container .user-avatar-large{margin-top:-32px}.banner-wrapper{height:100px;width:100%}.cube-upper-left{width:100%;height:100%;background-repeat:no-repeat;background-size:auto 80px}.cube-down-right{background-repeat:no-repeat;background-position-x:right;background-position-y:bottom;background-size:auto 30px;min-width:100%;min-height:100%;padding:0;margin:0}.user-avatar-large{width:64px;height:64px;border-radius:64px}.user-avatar-small{width:46px;height:46px;border-radius:46px}.full-showcase-text{text-align:center}.full-showcase-text span{font-size:12px;color:#616161}.full-showcase-text span:first-child{font-size:20px;color:#424242;margin-bottom:4px}.impersonated-user-name{font-size:16px}.horizontal-showcase-container{height:80px;border:1px solid #fd971f;border-radius:6px}.horizontal-showcase-container .user-avatar-large{margin-right:8px}.vertical-showcase-container{width:160px;border:1px solid #f0ad4e;border-radius:6px;white-space:pre-line}.vertical-showcase-container .user-avatar-large{margin-bottom:8px}::ng-deep .mat-tooltip{white-space:pre-line!important;text-align:center}.no-outline{outline:none!important}\n"], directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { 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"] }, { 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"] }, { type: i3.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], pipes: { "translate": i7.TranslatePipe } });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: UserCardComponent, decorators: [{
|
|
20
|
-
type: Component,
|
|
21
|
-
args: [{ selector: 'nc-user-card', template: "<div [ngSwitch]=\"mode\" class=\"no-outline\">\n <div *ngSwitchCase=\"'full'\" #fullShowcase fxLayout=\"column\" fxLayoutAlign=\"start center\"\n class=\"full-showcase-container no-outline margin-bottom-x2\" [style.width.px]=\"width\"\n [routerLink]=\"link\">\n <ng-template [ngIf]=\"!userBannerExists()\">\n <div class=\"banner-wrapper mat-elevation-z6\" matRipple [matRippleTrigger]=\"fullShowcase\">\n <div [style.backgroundImage]=\"'url(assets/netgrif-cubes-upper-left.png)'\" class=\"cube-upper-left\">\n <div [style.backgroundImage]=\"'url(assets/netgrif-cubes-down-right.png)'\" class=\"cube-down-right\"></div>\n </div>\n </div>\n </ng-template>\n <ng-template [ngIf]=\"userBannerExists()\">\n <div [style.backgroundImage]=\"'url('+userBanner+')'\" class=\"full-width user-banner mat-elevation-z6\" matRipple\n [matRippleTrigger]=\"fullShowcase\"></div>\n </ng-template>\n <div class=\"user-avatar-large margin-bottom-default mat-elevation-z6\" matRipple\n [matRippleTrigger]=\"fullShowcase\">\n <img [src]=\"userAvatar\" alt=\"user avatar\" class=\"full-width full-height\">\n </div>\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\" class=\"full-width full-showcase-text padding-default\">\n <span>{{user.fullName}}</span>\n <span class=\"impersonated-user-name\" *ngIf=\"user.isImpersonating()\">{{'side-menu.impersonation.impersonating' | translate }} {{user.getSelfOrImpersonated().fullName}}</span>\n <span>{{user.email}}</span>\n </div>\n </div>\n <div *ngSwitchCase=\"'horizontal'\" fxLayout=\"row\" fxLayoutAlign=\"start center\"\n class=\"horizontal-showcase-container no-outline padding-default\" [routerLink]=\"link\" matRipple>\n <div class=\"user-avatar-large mat-elevation-z6\">\n <img [src]=\"userAvatar\" alt=\"user avatar\" class=\"full-width full-height\">\n </div>\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\" class=\"full-width full-showcase-text\">\n <span>{{user.fullName}}</span>\n <span>{{user.email}}</span>\n </div>\n </div>\n <div *ngSwitchCase=\"'vertical'\" fxLayout=\"column\" fxLayoutAlign=\"start center\"\n class=\"vertical-showcase-container no-outline padding-default\"\n [routerLink]=\"link\" matRipple>\n <div class=\"user-avatar-large mat-elevation-z6\">\n <img [src]=\"userAvatar\" alt=\"user avatar\" class=\"full-width full-height\">\n </div>\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\" class=\"full-width full-showcase-text\">\n <span>{{user.fullName}}</span>\n <span>{{user.email}}</span>\n </div>\n </div>\n <div *ngSwitchCase=\"'icon'\" [routerLink]=\"link\">\n <div class=\"mat-elevation-z6 no-outline\"\n [ngClass]=\"{'user-avatar-large':iconStyle === 'large', 'user-avatar-small':iconStyle==='small'}\"\n [matTooltip]=\"user.fullName+'\\n'+user.email\"\n matTooltipHideDelay=\"1000\"\n [matTooltipPosition]=\"tooltipPosition\"\n matRipple>\n <img [src]=\"userAvatar\" alt=\"user avatar\" class=\"full-width full-height\">\n </div>\n </div>\n <div *ngSwitchDefault>\n <span>{{ 'side-menu.user.showcase' | translate}}</span>\n </div>\n</div>\n\n\n", styles: [".full-height{height:100%;min-height:100%}.full-width{width:100%;min-width:100%}.padding-default{padding:8px}.padding-half{padding:4px}.padding-x2{padding:16px}.margin-default{margin:8px}.margin-half{margin:4px}.margin-x2{margin:16px}.margin-top-default{margin-top:8px}.margin-top-half{margin-top:4px}.margin-top-x2{margin-top:16px}.margin-bottom-default{margin-bottom:8px}.margin-bottom-half{margin-bottom:4px}.margin-bottom-x2{margin-bottom:16px}.margin-left-default{margin-left:8px}.margin-left-half{margin-left:4px}.margin-left-x2{margin-left:16px}.margin-right-default{margin-right:8px}.margin-right-half{margin-right:4px}.margin-right-x2{margin-right:16px}.full-showcase-container .user-banner{height:100px;border-bottom-left-radius:6px;border-bottom-right-radius:6px}.full-showcase-container .user-avatar-large{margin-top:-32px}.banner-wrapper{height:100px;width:100%}.cube-upper-left{width:100%;height:100%;background-repeat:no-repeat;background-size:auto 80px}.cube-down-right{background-repeat:no-repeat;background-position-x:right;background-position-y:bottom;background-size:auto 30px;min-width:100%;min-height:100%;padding:0;margin:0}.user-avatar-large{width:64px;height:64px;border-radius:64px}.user-avatar-small{width:46px;height:46px;border-radius:46px}.full-showcase-text{text-align:center}.full-showcase-text span{font-size:12px;color:#616161}.full-showcase-text span:first-child{font-size:20px;color:#424242;margin-bottom:4px}.impersonated-user-name{font-size:16px}.horizontal-showcase-container{height:80px;border:1px solid #fd971f;border-radius:6px}.horizontal-showcase-container .user-avatar-large{margin-right:8px}.vertical-showcase-container{width:160px;border:1px solid #f0ad4e;border-radius:6px;white-space:pre-line}.vertical-showcase-container .user-avatar-large{margin-bottom:8px}::ng-deep .mat-tooltip{white-space:pre-line!important;text-align:center}.no-outline{outline:none!important}\n"] }]
|
|
22
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3VzZXIvdXNlci1jYXJkL3VzZXItY2FyZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudH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vc2l0aW9uXCJcbiAgICAgICAgICAgICBtYXRSaXBwbGU+XG4gICAgICAgICAgICA8aW1nIFtzcmNdPVwidXNlckF2YXRhclwiIGFsdD1cInVzZXIgYXZhdGFyXCIgY2xhc3M9XCJmdWxsLXdpZHRoIGZ1bGwtaGVpZ2h0XCI+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICAgIDxkaXYgKm5nU3dpdGNoRGVmYXVsdD5cbiAgICAgICAgPHNwYW4+e3sgJ3NpZGUtbWVudS51c2VyLnNob3djYXNlJyB8IHRyYW5zbGF0ZX19PC9zcGFuPlxuICAgIDwvZGl2PlxuPC9kaXY+XG5cblxuIl19
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { MaterialModule, TranslateLibModule } from '@netgrif/components-core';
|
|
4
|
-
import { UserCardComponent } from './user-card/user-card.component';
|
|
5
|
-
import { RouterModule } from '@angular/router';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class UserComponentModule {
|
|
8
|
-
}
|
|
9
|
-
UserComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: UserComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
UserComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: UserComponentModule, declarations: [UserCardComponent], imports: [CommonModule,
|
|
11
|
-
RouterModule,
|
|
12
|
-
MaterialModule,
|
|
13
|
-
TranslateLibModule], exports: [UserCardComponent] });
|
|
14
|
-
UserComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: UserComponentModule, imports: [[
|
|
15
|
-
CommonModule,
|
|
16
|
-
RouterModule,
|
|
17
|
-
MaterialModule,
|
|
18
|
-
TranslateLibModule
|
|
19
|
-
]] });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: UserComponentModule, decorators: [{
|
|
21
|
-
type: NgModule,
|
|
22
|
-
args: [{
|
|
23
|
-
declarations: [UserCardComponent],
|
|
24
|
-
exports: [
|
|
25
|
-
UserCardComponent
|
|
26
|
-
],
|
|
27
|
-
imports: [
|
|
28
|
-
CommonModule,
|
|
29
|
-
RouterModule,
|
|
30
|
-
MaterialModule,
|
|
31
|
-
TranslateLibModule
|
|
32
|
-
]
|
|
33
|
-
}]
|
|
34
|
-
}] });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi91c2VyL3VzZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyxjQUFjLEVBQUUsa0JBQWtCLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQUM1RSxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSxpQ0FBaUMsQ0FBQztBQUNsRSxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7O0FBZTdDLE1BQU0sT0FBTyxtQkFBbUI7O2lIQUFuQixtQkFBbUI7a0hBQW5CLG1CQUFtQixpQkFYYixpQkFBaUIsYUFLNUIsWUFBWTtRQUNaLFlBQVk7UUFDWixjQUFjO1FBQ2Qsa0JBQWtCLGFBTmxCLGlCQUFpQjtrSEFTWixtQkFBbUI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
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { CaseListComponent } from './components/case-list/case-list.component';
|
|
4
|
-
import { FlexModule } from '@angular/flex-layout';
|
|
5
|
-
import { PanelComponentModule } from '../../panel/panel.module';
|
|
6
|
-
import { MaterialModule, TranslateLibModule } from '@netgrif/components-core';
|
|
7
|
-
import { CreateCaseButtonComponent } from './components/create-case-button/create-case-button.component';
|
|
8
|
-
import { CaseListPaginatorComponent } from './components/case-list-paginator/case-list-paginator.component';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export class CaseViewComponentModule {
|
|
11
|
-
}
|
|
12
|
-
CaseViewComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CaseViewComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
-
CaseViewComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CaseViewComponentModule, declarations: [CaseListComponent, CreateCaseButtonComponent, CaseListPaginatorComponent], imports: [CommonModule,
|
|
14
|
-
MaterialModule,
|
|
15
|
-
FlexModule,
|
|
16
|
-
PanelComponentModule,
|
|
17
|
-
TranslateLibModule], exports: [CaseListComponent, CreateCaseButtonComponent, CaseListPaginatorComponent] });
|
|
18
|
-
CaseViewComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CaseViewComponentModule, imports: [[
|
|
19
|
-
CommonModule,
|
|
20
|
-
MaterialModule,
|
|
21
|
-
FlexModule,
|
|
22
|
-
PanelComponentModule,
|
|
23
|
-
TranslateLibModule
|
|
24
|
-
]] });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CaseViewComponentModule, decorators: [{
|
|
26
|
-
type: NgModule,
|
|
27
|
-
args: [{
|
|
28
|
-
declarations: [CaseListComponent, CreateCaseButtonComponent, CaseListPaginatorComponent],
|
|
29
|
-
exports: [CaseListComponent, CreateCaseButtonComponent, CaseListPaginatorComponent],
|
|
30
|
-
imports: [
|
|
31
|
-
CommonModule,
|
|
32
|
-
MaterialModule,
|
|
33
|
-
FlexModule,
|
|
34
|
-
PanelComponentModule,
|
|
35
|
-
TranslateLibModule
|
|
36
|
-
]
|
|
37
|
-
}]
|
|
38
|
-
}] });
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS12aWV3Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3ZpZXcvY2FzZS12aWV3L2Nhc2Utdmlldy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sNENBQTRDLENBQUM7QUFDN0UsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLHNCQUFzQixDQUFDO0FBQ2hELE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQzlELE9BQU8sRUFBQyxjQUFjLEVBQUUsa0JBQWtCLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQUM1RSxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSw4REFBOEQsQ0FBQztBQUN6RyxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxnRUFBZ0UsQ0FBQzs7QUFjNUcsTUFBTSxPQ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VsZSc7XG5pbXBvcnQge01hdGVyaWFsTW9kdWxlLCBUcmFuc2xhdGVMaWJNb2R1bGV9IGZyb20gJ0BuZXRncmlmL2NvbXBvbmVudHMtY29yZSc7XG5pbXBvcnQgeyBDcmVhdGVDYXNlQnV0dG9uQ29tcG9uZW50IH0gZnJvbSAnLi9jb21wb25lbnRzL2NyZWF0ZS1jYXNlLWJ1dHRvbi9jcmVhdGUtY2FzZS1idXR0b24uY29tcG9uZW50JztcbmltcG9ydCB7IENhc2VMaXN0UGFnaW5hdG9yQ29tcG9uZW50IH0gZnJvbSAnLi9jb21wb25lbnRzL2Nhc2UtbGlzdC1wYWdpbmF0b3IvY2FzZS1saXN0LXBhZ2luYXRvci5jb21wb25lbnQnO1xuXG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbQ2FzZUxpc3RDb21wb25lbnQsIENyZWF0ZUNhc2VCdXR0b25Db21wb25lbnQsIENhc2VMaXN0UGFnaW5hdG9yQ29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbQ2FzZUxpc3RDb21wb25lbnQsIENyZWF0ZUNhc2VCdXR0b25Db21wb25lbnQsIENhc2VMaXN0UGFnaW5hdG9yQ29tcG9uZW50XSxcbiAgICBpbXBvcnRzOiBbXG4gICAgICAgIENvbW1vbk1vZHVsZSxcbiAgICAgICAgTWF0ZXJpYWxNb2R1bGUsXG4gICAgICAgIEZsZXhNb2R1bGUsXG4gICAgICAgIFBhbmVsQ29tcG9uZW50TW9kdWxlLFxuICAgICAgICBUcmFuc2xhdGVMaWJNb2R1bGVcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIENhc2VWaWV3Q29tcG9uZW50TW9kdWxlIHtcbn1cbiJdfQ==
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
-
import { AbstractCaseListComponent, NAE_TAB_DATA } 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/router";
|
|
6
|
-
import * as i3 from "@angular/material/icon";
|
|
7
|
-
import * as i4 from "@angular/cdk/scrolling";
|
|
8
|
-
import * as i5 from "../../../../panel/case-panel/case-panel.component";
|
|
9
|
-
import * as i6 from "@angular/material/progress-spinner";
|
|
10
|
-
import * as i7 from "@angular/common";
|
|
11
|
-
import * as i8 from "@angular/flex-layout/flex";
|
|
12
|
-
import * as i9 from "@angular/material/expansion";
|
|
13
|
-
import * as i10 from "@angular/flex-layout/extended";
|
|
14
|
-
import * as i11 from "@ngx-translate/core";
|
|
15
|
-
export class CaseListComponent extends AbstractCaseListComponent {
|
|
16
|
-
constructor(_caseViewService, _log, injectedTabData, route) {
|
|
17
|
-
super(_caseViewService, _log, injectedTabData, route);
|
|
18
|
-
this._caseViewService = _caseViewService;
|
|
19
|
-
this._log = _log;
|
|
20
|
-
this.route = route;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
CaseListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CaseListComponent, deps: [{ token: i1.CaseViewService }, { token: i1.LoggerService }, { token: NAE_TAB_DATA, optional: true }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
-
CaseListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: CaseListComponent, selector: "nc-case-list", usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"showVirtualScroll\" fxLayout=\"column\" fxLayoutAlign=\"start center\" fxFlex>\n <ng-container *ngIf=\"cases$ | async as cases\">\n\n <div *ngIf=\"(loading$ | async) === false && cases.length === 0\" fxLayout=\"column\"\n fxLayoutAlign=\"center center\" fxFlex>\n <mat-icon color=\"accent\" class=\"margin-bottom-default\">storage</mat-icon>\n <span class=\"font-size-20\">{{ 'view-list.noCasesSatisfyingThisFilter' | translate}}</span>\n </div>\n\n <mat-accordion multi=\"true\" class=\"full-width panel-list-content\" fxFlex=\"100\">\n <cdk-virtual-scroll-viewport itemSize=\"50\" (scrolledIndexChange)=\"loadNextPage()\"\n class=\"full-height scroll-container dashboard-case-list\"\n [ngStyle]=\"{'width': width ? width : '100%' }\">\n\n <nc-case-panel [responsiveBody]=\"responsiveBody\"\n [textEllipsis]=\"textEllipsis\"\n *cdkVirtualFor=\"let case_ of cases;\n let i = index;\n let first = first;\n let last = last;\n trackBy: trackBy;\n templateCacheSize: 0\"\n [showCasePanelIcon]=\"showCasePanelIcon\"\n [showDeleteMenu]=\"showDeleteMenu\"\n [case_]=\"case_\" [selectedHeaders$]=\"selectedHeaders$\" (click)=\"onCaseClick(case_)\"\n [first]=\"first\" [last]=\"last\">\n </nc-case-panel>\n\n <div *ngIf=\"loading$ | async\" fxLayout=\"column\" fxLayoutAlign=\"center center\"\n class=\"margin-top-default\">\n <mat-spinner color=\"primary\" diameter=\"50\"></mat-spinner>\n </div>\n\n </cdk-virtual-scroll-viewport>\n </mat-accordion>\n </ng-container>\n</div>\n", styles: [".font-size-20{font-size:20px}.font-size-40{font-size:40px}.block-size-40{width:40px;height:40px}.margin-bottom-default{margin-bottom:8px}.margin-top-default{margin-top:8px}.full-width{width:100%}.full-height{height:100%}.scroll-container{padding:0 1px}\n"], components: [{ type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { type: i5.CasePanelComponent, selector: "nc-case-panel" }, { type: i6.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.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: i8.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i8.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i9.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { type: i4.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i7.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i10.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i4.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }], pipes: { "async": i7.AsyncPipe, "translate": i11.TranslatePipe } });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CaseListComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{ selector: 'nc-case-list', template: "<div *ngIf=\"showVirtualScroll\" fxLayout=\"column\" fxLayoutAlign=\"start center\" fxFlex>\n <ng-container *ngIf=\"cases$ | async as cases\">\n\n <div *ngIf=\"(loading$ | async) === false && cases.length === 0\" fxLayout=\"column\"\n fxLayoutAlign=\"center center\" fxFlex>\n <mat-icon color=\"accent\" class=\"margin-bottom-default\">storage</mat-icon>\n <span class=\"font-size-20\">{{ 'view-list.noCasesSatisfyingThisFilter' | translate}}</span>\n </div>\n\n <mat-accordion multi=\"true\" class=\"full-width panel-list-content\" fxFlex=\"100\">\n <cdk-virtual-scroll-viewport itemSize=\"50\" (scrolledIndexChange)=\"loadNextPage()\"\n class=\"full-height scroll-container dashboard-case-list\"\n [ngStyle]=\"{'width': width ? width : '100%' }\">\n\n <nc-case-panel [responsiveBody]=\"responsiveBody\"\n [textEllipsis]=\"textEllipsis\"\n *cdkVirtualFor=\"let case_ of cases;\n let i = index;\n let first = first;\n let last = last;\n trackBy: trackBy;\n templateCacheSize: 0\"\n [showCasePanelIcon]=\"showCasePanelIcon\"\n [showDeleteMenu]=\"showDeleteMenu\"\n [case_]=\"case_\" [selectedHeaders$]=\"selectedHeaders$\" (click)=\"onCaseClick(case_)\"\n [first]=\"first\" [last]=\"last\">\n </nc-case-panel>\n\n <div *ngIf=\"loading$ | async\" fxLayout=\"column\" fxLayoutAlign=\"center center\"\n class=\"margin-top-default\">\n <mat-spinner color=\"primary\" diameter=\"50\"></mat-spinner>\n </div>\n\n </cdk-virtual-scroll-viewport>\n </mat-accordion>\n </ng-container>\n</div>\n", styles: [".font-size-20{font-size:20px}.font-size-40{font-size:40px}.block-size-40{width:40px;height:40px}.margin-bottom-default{margin-bottom:8px}.margin-top-default{margin-top:8px}.full-width{width:100%}.full-height{height:100%}.scroll-container{padding:0 1px}\n"] }]
|
|
28
|
-
}], ctorParameters: function () { return [{ type: i1.CaseViewService }, { type: i1.LoggerService }, { type: undefined, decorators: [{
|
|
29
|
-
type: Optional
|
|
30
|
-
}, {
|
|
31
|
-
type: Inject,
|
|
32
|
-
args: [NAE_TAB_DATA]
|
|
33
|
-
}] }, { type: i2.ActivatedRoute }]; } });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,ey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lciBkYXNoYm9hcmQtY2FzZS1saXN0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW25nU3R5bGVdPVwieyd3aWR0aCc6IHdpZHRoID8gd2lkdGggOiAnMTAwJScgfVwiPlxuXG4gICAgICAgICAgICAgICAgPG5jLWNhc2UtcGFuZWwgW3Jlc3BvbnNpdmVCb2R5XT1cInJlc3BvbnNpdmVCb2R5XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdGV4dEVsbGlwc2lzXT1cInRleHRFbGxpcHNpc1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKmNka1ZpcnR1YWxGb3I9XCJsZXQgY2FzZV8gb2YgY2FzZXM7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBpID0gaW5kZXg7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBmaXJzdCA9IGZpcnN0O1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgbGFzdCA9IGxhc3Q7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRyYWNrQnk6IHRyYWNrQnk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRlbXBsYXRlQ2FjaGVTaXplOiAwXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc2hvd0Nhc2VQYW5lbEljb25dPVwic2hvd0Nhc2VQYW5lbEljb25cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzaG93RGVsZXRlTWVudV09XCJzaG93RGVsZXRlTWVudVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2Nhc2VfXT1cImNhc2VfXCIgW3NlbGVjdGVkSGVhZGVycyRdPVwic2VsZWN0ZWRIZWFkZXJzJFwiIChjbGljayk9XCJvbkNhc2VDbGljayhjYXNlXylcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtmaXJzdF09XCJmaXJzdFwiIFtsYXN0XT1cImxhc3RcIj5cbiAgICAgICAgICAgICAgICA8L25jLWNhc2UtcGFuZWw+XG5cbiAgICAgICAgICAgICAgICA8ZGl2ICpuZ0lmPVwibG9hZGluZyQgfCBhc3luY1wiIGZ4TGF5b3V0PVwiY29sdW1uXCIgZnhMYXlvdXRBbGlnbj1cImNlbnRlciBjZW50ZXJcIlxuICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJtYXJnaW4tdG9wLWRlZmF1bHRcIj5cbiAgICAgICAgICAgICAgICAgICAgPG1hdC1zcGlubmVyIGNvbG9yPVwicHJpbWFyeVwiIGRpYW1ldGVyPVwiNTBcIj48L21hdC1zcGlubmVyPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuXG4gICAgICAgICAgICA8L2Nkay12aXJ0dWFsLXNjcm9sbC12aWV3cG9ydD5cbiAgICAgICAgPC9tYXQtYWNjb3JkaW9uPlxuICAgIDwvbmctY29udGFpbmVyPlxuPC9kaXY+XG4iXX0=
|
package/esm2020/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
-
import { NAE_TAB_DATA, NetgrifPaginatorIntl, AbstractCaseListPaginatorComponent } from '@netgrif/components-core';
|
|
3
|
-
import { MatPaginatorIntl } from '@angular/material/paginator';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@netgrif/components-core";
|
|
6
|
-
import * as i2 from "@angular/router";
|
|
7
|
-
import * as i3 from "@angular/material/icon";
|
|
8
|
-
import * as i4 from "../../../../panel/case-panel/case-panel.component";
|
|
9
|
-
import * as i5 from "@angular/material/progress-spinner";
|
|
10
|
-
import * as i6 from "@angular/material/paginator";
|
|
11
|
-
import * as i7 from "@angular/flex-layout/flex";
|
|
12
|
-
import * as i8 from "@angular/common";
|
|
13
|
-
import * as i9 from "@angular/material/expansion";
|
|
14
|
-
import * as i10 from "@angular/flex-layout/extended";
|
|
15
|
-
import * as i11 from "@ngx-translate/core";
|
|
16
|
-
export class CaseListPaginatorComponent extends AbstractCaseListPaginatorComponent {
|
|
17
|
-
constructor(_caseViewService, _log, injectedTabData, route) {
|
|
18
|
-
super(_caseViewService, _log, injectedTabData, route);
|
|
19
|
-
this._caseViewService = _caseViewService;
|
|
20
|
-
this._log = _log;
|
|
21
|
-
this.route = route;
|
|
22
|
-
}
|
|
23
|
-
ngOnDestroy() {
|
|
24
|
-
super.ngOnDestroy();
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
CaseListPaginatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CaseListPaginatorComponent, deps: [{ token: i1.CaseViewService }, { token: i1.LoggerService }, { token: NAE_TAB_DATA, optional: true }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
-
CaseListPaginatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: CaseListPaginatorComponent, selector: "nc-case-list-paginator", providers: [{ provide: MatPaginatorIntl, useClass: NetgrifPaginatorIntl }], usesInheritance: true, ngImport: i0, template: "<div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxFlex>\n <ng-container *ngIf=\"cases$ | async as cases\">\n\n <div *ngIf=\"(loading$ | async) === false && cases.length === 0\" fxLayout=\"column\"\n fxLayoutAlign=\"center center\" fxFlex>\n <mat-icon color=\"accent\" class=\"margin-bottom-default\">storage</mat-icon>\n <span class=\"font-size-20\">{{ 'view-list.noCasesSatisfyingThisFilter' | translate}}</span>\n </div>\n\n <mat-accordion multi=\"true\" class=\"full-width\" >\n <div [ngStyle]=\"{'width': width ? width : '100%' }\" class=\"fix-padding\">\n <nc-case-panel [responsiveBody]=\"responsiveBody\"\n [textEllipsis]=\"textEllipsis\"\n *ngFor=\"let case_ of cases;\n let first = first;\n let last = last;\n trackBy: trackById\"\n [showCasePanelIcon]=\"showCasePanelIcon\" [approval]=\"approval\"\n [showDeleteMenu]=\"showDeleteMenu\" [first]=\"first\" [last]=\"last\"\n [case_]=\"case_\" [selectedHeaders$]=\"selectedHeaders$\" (click)=\"onCaseClick(case_)\">\n </nc-case-panel>\n\n <div *ngIf=\"loading$ | async\" fxLayout=\"column\" fxLayoutAlign=\"center center\"\n class=\"margin-top-default\">\n <mat-spinner color=\"primary\" diameter=\"50\"></mat-spinner>\n </div>\n </div>\n </mat-accordion>\n <mat-paginator [length]=\"length\" [pageSize]=\"pageSize\" [pageIndex]=\"pageIndex\" color=\"primary\" [disabled]=\"disabled\"\n [pageSizeOptions]=\"pageSizeOptions\" (page)=\"onPageChanged($event)\" showFirstLastButtons>\n </mat-paginator>\n </ng-container>\n</div>\n", styles: [".font-size-20{font-size:20px}.margin-bottom-default{margin-bottom:8px}.margin-top-default{margin-top:8px}.full-width{width:100%}.fix-padding{padding:0 1px}\n"], components: [{ type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.CasePanelComponent, selector: "nc-case-panel" }, { type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { type: i6.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }], directives: [{ 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"] }, { type: i7.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { type: i8.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i10.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i8.AsyncPipe, "translate": i11.TranslatePipe } });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CaseListPaginatorComponent, decorators: [{
|
|
30
|
-
type: Component,
|
|
31
|
-
args: [{ selector: 'nc-case-list-paginator', providers: [{ provide: MatPaginatorIntl, useClass: NetgrifPaginatorIntl }], template: "<div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxFlex>\n <ng-container *ngIf=\"cases$ | async as cases\">\n\n <div *ngIf=\"(loading$ | async) === false && cases.length === 0\" fxLayout=\"column\"\n fxLayoutAlign=\"center center\" fxFlex>\n <mat-icon color=\"accent\" class=\"margin-bottom-default\">storage</mat-icon>\n <span class=\"font-size-20\">{{ 'view-list.noCasesSatisfyingThisFilter' | translate}}</span>\n </div>\n\n <mat-accordion multi=\"true\" class=\"full-width\" >\n <div [ngStyle]=\"{'width': width ? width : '100%' }\" class=\"fix-padding\">\n <nc-case-panel [responsiveBody]=\"responsiveBody\"\n [textEllipsis]=\"textEllipsis\"\n *ngFor=\"let case_ of cases;\n let first = first;\n let last = last;\n trackBy: trackById\"\n [showCasePanelIcon]=\"showCasePanelIcon\" [approval]=\"approval\"\n [showDeleteMenu]=\"showDeleteMenu\" [first]=\"first\" [last]=\"last\"\n [case_]=\"case_\" [selectedHeaders$]=\"selectedHeaders$\" (click)=\"onCaseClick(case_)\">\n </nc-case-panel>\n\n <div *ngIf=\"loading$ | async\" fxLayout=\"column\" fxLayoutAlign=\"center center\"\n class=\"margin-top-default\">\n <mat-spinner color=\"primary\" diameter=\"50\"></mat-spinner>\n </div>\n </div>\n </mat-accordion>\n <mat-paginator [length]=\"length\" [pageSize]=\"pageSize\" [pageIndex]=\"pageIndex\" color=\"primary\" [disabled]=\"disabled\"\n [pageSizeOptions]=\"pageSizeOptions\" (page)=\"onPageChanged($event)\" showFirstLastButtons>\n </mat-paginator>\n </ng-container>\n</div>\n", styles: [".font-size-20{font-size:20px}.margin-bottom-default{margin-bottom:8px}.margin-top-default{margin-top:8px}.full-width{width:100%}.fix-padding{padding:0 1px}\n"] }]
|
|
32
|
-
}], ctorParameters: function () { return [{ type: i1.CaseViewService }, { type: i1.LoggerService }, { type: undefined, decorators: [{
|
|
33
|
-
type: Optional
|
|
34
|
-
}, {
|
|
35
|
-
type: Inject,
|
|
36
|
-
args: [NAE_TAB_DATA]
|
|
37
|
-
}] }, { type: i2.ActivatedRoute }]; } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1saXN0LXBhZ2luYXRvci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi92aWV3L2Nhc2Utdmlldy9jb21wb25lbnRzL2Nhc2UtbGlzdC1wYWdpbmF0b3IvY2FzZS1saXN0LXBhZ2luYXRvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWN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IwXCI+e3sgJ3ZpZXctbGlzdC5ub0Nhc2VzU2F0aXNmeWluZ1RoaXNGaWx0ZXInIHwgdHJhbnNsYXRlfX08L3NwYW4+XG4gICAgICAgIDwvZGl2PlxuXG4gICAgICAgIDxtYXQtYWNjb3JkaW9uIG11bHRpPVwidHJ1ZVwiIGNsYXNzPVwiZnVsbC13aWR0aFwiID5cbiAgICAgICAgICAgIDxkaXYgW25nU3R5bGVdPVwieyd3aWR0aCc6IHdpZHRoID8gd2lkdGggOiAnMTAwJScgfVwiIGNsYXNzPVwiZml4LXBhZGRpbmdcIj5cbiAgICAgICAgICAgICAgICA8bmMtY2FzZS1wYW5lbCBbcmVzcG9uc2l2ZUJvZHldPVwicmVzcG9uc2l2ZUJvZHlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFt0ZXh0RWxsaXBzaXNdPVwidGV4dEVsbGlwc2lzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgY2FzZV8gb2YgY2FzZXM7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBmaXJzdCA9IGZpcnN0O1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgbGFzdCA9IGxhc3Q7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRyYWNrQnk6IHRyYWNrQnlJZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Nob3dDYXNlUGFuZWxJY29uXT1cInNob3dDYXNlUGFuZWxJY29uXCIgW2FwcHJvdmFsXT1cImFwcHJvdmFsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc2hvd0RlbGV0ZU1lbnVdPVwic2hvd0RlbGV0ZU1lbnVcIiBbZmlyc3RdPVwiZmlyc3RcIiBbbGFzdF09XCJsYXN0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbY2FzZV9dPVwiY2FzZV9cIiBbc2VsZWN0ZWRIZWFkZXJzJF09XCJzZWxlY3RlZEhlYWRlcnMkXCIgKGNsaWNrKT1cIm9uQ2FzZUNsaWNrKGNhc2VfKVwiPlxuICAgICAgICAgICAgICAgIDwvbmMtY2FzZS1wYW5lbD5cblxuICAgICAgICAgICAgICAgIDxkaXYgKm5nSWY9XCJsb2FkaW5nJCB8IGFzeW5jXCIgZnhMYXlvdXQ9XCJjb2x1bW5cIiBmeExheW91dEFsaWduPVwiY2VudGVyIGNlbnRlclwiXG4gICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm1hcmdpbi10b3AtZGVmYXVsdFwiPlxuICAgICAgICAgICAgICAgICAgICA8bWF0LXNwaW5uZXIgY29sb3I9XCJwcmltYXJ5XCIgZGlhbWV0ZXI9XCI1MFwiPjwvbWF0LXNwaW5uZXI+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9tYXQtYWNjb3JkaW9uPlxuICAgICAgICA8bWF0LXBhZ2luYXRvciBbbGVuZ3RoXT1cImxlbmd0aFwiIFtwYWdlU2l6ZV09XCJwYWdlU2l6ZVwiIFtwYWdlSW5kZXhdPVwicGFnZUluZGV4XCIgY29sb3I9XCJwcmltYXJ5XCIgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcbiAgICAgICAgICAgICAgICAgICAgICAgW3BhZ2VTaXplT3B0aW9uc109XCJwYWdlU2l6ZU9wdGlvbnNcIiAocGFnZSk9XCJvblBhZ2VDaGFuZ2VkKCRldmVudClcIiBzaG93Rmlyc3RMYXN0QnV0dG9ucz5cbiAgICAgICAgPC9tYXQtcGFnaW5hdG9yPlxuICAgIDwvbmctY29udGFpbmVyPlxuPC9kaXY+XG4iXX0=
|
package/esm2020/lib/view/case-view/components/create-case-button/create-case-button.component.mjs
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { LoadingEmitter } from '@netgrif/components-core';
|
|
3
|
-
import { map } from "rxjs/operators";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@netgrif/components-core";
|
|
6
|
-
import * as i2 from "@angular/material/button";
|
|
7
|
-
import * as i3 from "@angular/material/icon";
|
|
8
|
-
import * as i4 from "@angular/common";
|
|
9
|
-
export class CreateCaseButtonComponent {
|
|
10
|
-
constructor(_caseViewService) {
|
|
11
|
-
this._caseViewService = _caseViewService;
|
|
12
|
-
this.caseCreatedEvent = new EventEmitter();
|
|
13
|
-
this._loading = new LoadingEmitter();
|
|
14
|
-
}
|
|
15
|
-
get resolvedCaseButtonTitle() {
|
|
16
|
-
return this._resolvedCaseButtonTitle;
|
|
17
|
-
}
|
|
18
|
-
get resolvedCaseButtonIcon() {
|
|
19
|
-
return this._resolvedCaseButtonIcon;
|
|
20
|
-
}
|
|
21
|
-
get loading$() {
|
|
22
|
-
return this._loading;
|
|
23
|
-
}
|
|
24
|
-
ngOnInit() {
|
|
25
|
-
const config = this.newCaseCreationConfig['newCaseButtonConfig'];
|
|
26
|
-
if (!!config) {
|
|
27
|
-
this._resolvedCaseButtonIcon = config.createCaseButtonIcon;
|
|
28
|
-
this._resolvedCaseButtonTitle = config.createCaseButtonTitle;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
shouldShowCreateButton() {
|
|
32
|
-
const blockNets = this.newCaseCreationConfig?.blockNets || [];
|
|
33
|
-
return this._caseViewService.getNewCaseAllowedNets(blockNets).pipe(map(allowedNets => allowedNets.length > 0));
|
|
34
|
-
}
|
|
35
|
-
createNewCase() {
|
|
36
|
-
let myCase;
|
|
37
|
-
this._loading.on();
|
|
38
|
-
if (this.newCaseCreationConfig.enableCaseTitle === false && this._caseViewService.getAllowedNetsCount() === 1) {
|
|
39
|
-
myCase = this._caseViewService.createDefaultNewCase(this.newCaseCreationConfig);
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
myCase = this._caseViewService.createNewCase(this.newCaseCreationConfig);
|
|
43
|
-
}
|
|
44
|
-
myCase.subscribe(kaze => {
|
|
45
|
-
if (this._caseViewService.viewEnabled(kaze)) {
|
|
46
|
-
this.caseCreatedEvent.next(kaze);
|
|
47
|
-
}
|
|
48
|
-
}, error => { }, () => this._loading.off());
|
|
49
|
-
return myCase;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
CreateCaseButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CreateCaseButtonComponent, deps: [{ token: i1.CaseViewService }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
-
CreateCaseButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: CreateCaseButtonComponent, selector: "nc-create-case-button", inputs: { newCaseCreationConfig: "newCaseCreationConfig", disabled: "disabled" }, outputs: { caseCreatedEvent: "caseCreatedEvent" }, ngImport: i0, template: "<!-- Button without title -->\n<button *ngIf=\"(!resolvedCaseButtonTitle && (shouldShowCreateButton() | async)); else titleButton\"\n class=\"create-case-mat-mini-fab\"\n mat-mini-fab color=\"primary\" (click)=\"createNewCase()\"\n [class.spinner]=\"loading$ | async\" [disabled]=\"(loading$ | async) || disabled\">\n <mat-icon *ngIf=\"(loading$ | async) === false\" class=\"net-upload\" aria-hidden=\"false\">\n {{ !!resolvedCaseButtonIcon ? resolvedCaseButtonIcon : 'add' }}\n </mat-icon>\n</button>\n\n<!-- Button with title -->\n<ng-template #titleButton>\n <button *ngIf=\"shouldShowCreateButton() | async\" mat-flat-button class=\"height-44\" color=\"primary\"\n (click)=\"createNewCase()\" [class.spinner]=\"loading$ | async\"\n [disabled]=\"(loading$ | async) || disabled\">\n <mat-icon *ngIf=\"!!resolvedCaseButtonIcon && (loading$ | async) === false\" class=\"button-icon\"\n aria-hidden=\"false\">\n {{ resolvedCaseButtonIcon }}\n </mat-icon>\n <span *ngIf=\"(loading$ | async) === false\">{{ resolvedCaseButtonTitle }}</span>\n </button>\n</ng-template>\n", styles: [".button-icon{padding-right:4px;padding-bottom:2px}.height-44{height:44px}.create-case-mat-mini-fab{border-radius:6px;box-shadow:none;height:44px!important;min-width:44px;margin-right:8px;margin-top:2px}@keyframes spinner{to{transform:rotate(360deg)}}.spinner:before{content:\"\";box-sizing:border-box;position:absolute;top:50%;left:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;border-radius:50%;border:2px solid #ffffff;border-top-color:#000;animation:spinner .8s linear infinite}\n"], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe } });
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CreateCaseButtonComponent, decorators: [{
|
|
55
|
-
type: Component,
|
|
56
|
-
args: [{ selector: 'nc-create-case-button', template: "<!-- Button without title -->\n<button *ngIf=\"(!resolvedCaseButtonTitle && (shouldShowCreateButton() | async)); else titleButton\"\n class=\"create-case-mat-mini-fab\"\n mat-mini-fab color=\"primary\" (click)=\"createNewCase()\"\n [class.spinner]=\"loading$ | async\" [disabled]=\"(loading$ | async) || disabled\">\n <mat-icon *ngIf=\"(loading$ | async) === false\" class=\"net-upload\" aria-hidden=\"false\">\n {{ !!resolvedCaseButtonIcon ? resolvedCaseButtonIcon : 'add' }}\n </mat-icon>\n</button>\n\n<!-- Button with title -->\n<ng-template #titleButton>\n <button *ngIf=\"shouldShowCreateButton() | async\" mat-flat-button class=\"height-44\" color=\"primary\"\n (click)=\"createNewCase()\" [class.spinner]=\"loading$ | async\"\n [disabled]=\"(loading$ | async) || disabled\">\n <mat-icon *ngIf=\"!!resolvedCaseButtonIcon && (loading$ | async) === false\" class=\"button-icon\"\n aria-hidden=\"false\">\n {{ resolvedCaseButtonIcon }}\n </mat-icon>\n <span *ngIf=\"(loading$ | async) === false\">{{ resolvedCaseButtonTitle }}</span>\n </button>\n</ng-template>\n", styles: [".button-icon{padding-right:4px;padding-bottom:2px}.height-44{height:44px}.create-case-mat-mini-fab{border-radius:6px;box-shadow:none;height:44px!important;min-width:44px;margin-right:8px;margin-top:2px}@keyframes spinner{to{transform:rotate(360deg)}}.spinner:before{content:\"\";box-sizing:border-box;position:absolute;top:50%;left:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;border-radius:50%;border:2px solid #ffffff;border-top-color:#000;animation:spinner .8s linear infinite}\n"] }]
|
|
57
|
-
}], ctorParameters: function () { return [{ type: i1.CaseViewService }]; }, propDecorators: { caseCreatedEvent: [{
|
|
58
|
-
type: Output
|
|
59
|
-
}], newCaseCreationConfig: [{
|
|
60
|
-
type: Input
|
|
61
|
-
}], disabled: [{
|
|
62
|
-
type: Input
|
|
63
|
-
}] } });
|
|
64
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWNhc2UtYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3ZpZXcvY2FzZS12aWV3L2NvbXBvbmVudHMvY3JlYXRlLWNhc2UtYnV0dG9uL2NyZWF0ZS1jYXNlLWJ1dHRvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi92aWV3L2Nhc2Utdmlldy9jb21wb25lbnRzL2NyZ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
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { TreeComponent } from './tree-component/tree.component';
|
|
3
|
-
import { TreeTaskContentComponent } from './tree-task-content/tree-task-content.component';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
6
|
-
import { PanelComponentModule } from '../../panel/panel.module';
|
|
7
|
-
import { MaterialModule, TranslateLibModule } from '@netgrif/components-core';
|
|
8
|
-
import { TaskContentComponentModule } from '../../task-content/task-content.module';
|
|
9
|
-
import { AddChildNodeComponent } from './tree-component/add-child-node/add-child-node.component';
|
|
10
|
-
import { RemoveNodeComponent } from './tree-component/remove-node/remove-node.component';
|
|
11
|
-
import { DataFieldsComponentModule } from '../../data-fields/data-fields.module';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export class TreeCaseViewComponentModule {
|
|
14
|
-
}
|
|
15
|
-
TreeCaseViewComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeCaseViewComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
|
-
TreeCaseViewComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeCaseViewComponentModule, declarations: [TreeComponent,
|
|
17
|
-
TreeTaskContentComponent,
|
|
18
|
-
AddChildNodeComponent,
|
|
19
|
-
RemoveNodeComponent], imports: [CommonModule,
|
|
20
|
-
FlexLayoutModule,
|
|
21
|
-
MaterialModule,
|
|
22
|
-
DataFieldsComponentModule,
|
|
23
|
-
TranslateLibModule,
|
|
24
|
-
PanelComponentModule,
|
|
25
|
-
TaskContentComponentModule], exports: [TreeComponent,
|
|
26
|
-
TreeTaskContentComponent] });
|
|
27
|
-
TreeCaseViewComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeCaseViewComponentModule, imports: [[
|
|
28
|
-
CommonModule,
|
|
29
|
-
FlexLayoutModule,
|
|
30
|
-
MaterialModule,
|
|
31
|
-
DataFieldsComponentModule,
|
|
32
|
-
TranslateLibModule,
|
|
33
|
-
PanelComponentModule,
|
|
34
|
-
TaskContentComponentModule
|
|
35
|
-
]] });
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeCaseViewComponentModule, decorators: [{
|
|
37
|
-
type: NgModule,
|
|
38
|
-
args: [{
|
|
39
|
-
declarations: [
|
|
40
|
-
TreeComponent,
|
|
41
|
-
TreeTaskContentComponent,
|
|
42
|
-
AddChildNodeComponent,
|
|
43
|
-
RemoveNodeComponent
|
|
44
|
-
],
|
|
45
|
-
imports: [
|
|
46
|
-
CommonModule,
|
|
47
|
-
FlexLayoutModule,
|
|
48
|
-
MaterialModule,
|
|
49
|
-
DataFieldsComponentModule,
|
|
50
|
-
TranslateLibModule,
|
|
51
|
-
PanelComponentModule,
|
|
52
|
-
TaskContentComponentModule
|
|
53
|
-
],
|
|
54
|
-
exports: [
|
|
55
|
-
TreeComponent,
|
|
56
|
-
TreeTaskContentComponent,
|
|
57
|
-
]
|
|
58
|
-
}]
|
|
59
|
-
}] });
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1jYXNlLXZpZXcubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvdmlldy90cmVlLWNhc2Utdmlldy90cmVlLWNhc2Utdmlldy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsYUFBYSxFQUFDLE1BQU0saUN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RlQ29tcG9uZW50fSBmcm9tICcuL3RyZWUtY29tcG9uZW50L2FkZC1jaGlsZC1ub2RlL2FkZC1jaGlsZC1ub2RlLmNvbXBvbmVudCc7XG5pbXBvcnQge1JlbW92ZU5vZGVDb21wb25lbnR9IGZyb20gJy4vdHJlZS1jb21wb25lbnQvcmVtb3ZlLW5vZGUvcmVtb3ZlLW5vZGUuY29tcG9uZW50JztcbmltcG9ydCB7RGF0YUZpZWxkc0NvbXBvbmVudE1vZHVsZX0gZnJvbSAnLi4vLi4vZGF0YS1maWVsZHMvZGF0YS1maWVsZHMubW9kdWxlJztcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgVHJlZUNvbXBvbmVudCxcbiAgICAgICAgVHJlZVRhc2tDb250ZW50Q29tcG9uZW50LFxuICAgICAgICBBZGRDaGlsZE5vZGVDb21wb25lbnQsXG4gICAgICAgIFJlbW92ZU5vZGVDb21wb25lbnRcbiAgICBdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBGbGV4TGF5b3V0TW9kdWxlLFxuICAgICAgICBNYXRlcmlhbE1vZHVsZSxcbiAgICAgICAgRGF0YUZpZWxkc0NvbXBvbmVudE1vZHVsZSxcbiAgICAgICAgVHJhbnNsYXRlTGliTW9kdWxlLFxuICAgICAgICBQYW5lbENvbXBvbmVudE1vZHVsZSxcbiAgICAgICAgVGFza0NvbnRlbnRDb21wb25lbnRNb2R1bGVcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgVHJlZUNvbXBvbmVudCxcbiAgICAgICAgVHJlZVRhc2tDb250ZW50Q29tcG9uZW50LFxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgVHJlZUNhc2VWaWV3Q29tcG9uZW50TW9kdWxlIHtcbn1cbiJdfQ==
|
package/esm2020/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.mjs
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractAddChildNodeComponent } from '@netgrif/components-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@netgrif/components-core";
|
|
5
|
-
import * as i2 from "@angular/material/button";
|
|
6
|
-
import * as i3 from "@angular/material/icon";
|
|
7
|
-
import * as i4 from "@angular/material/progress-spinner";
|
|
8
|
-
import * as i5 from "@angular/common";
|
|
9
|
-
import * as i6 from "@angular/material/tooltip";
|
|
10
|
-
export class AddChildNodeComponent extends AbstractAddChildNodeComponent {
|
|
11
|
-
constructor(_treeService) {
|
|
12
|
-
super(_treeService);
|
|
13
|
-
this._treeService = _treeService;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
AddChildNodeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AddChildNodeComponent, deps: [{ token: i1.CaseTreeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
-
AddChildNodeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AddChildNodeComponent, selector: "nc-add-child-node", usesInheritance: true, ngImport: i0, template: "<button *ngIf=\"!node.isAddingNode()\" mat-icon-button (click)=\"addChild($event)\">\n <mat-icon *ngIf=\"!node.treeAddTextIcon()\">add</mat-icon>\n <mat-icon *ngIf=\"node.treeAddTextIcon()\" [matTooltip]=\"node.treeAddTextIconTitle()\" [svgIcon]=\"node.treeAddTextIcon()\"></mat-icon>\n</button>\n\n<div *ngIf=\"node.isAddingNode()\" class=\"spinner-margin\">\n <mat-spinner [diameter]=\"24\"></mat-spinner>\n</div>\n", styles: [".spinner-margin{margin:8px}\n"], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AddChildNodeComponent, decorators: [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{ selector: 'nc-add-child-node', template: "<button *ngIf=\"!node.isAddingNode()\" mat-icon-button (click)=\"addChild($event)\">\n <mat-icon *ngIf=\"!node.treeAddTextIcon()\">add</mat-icon>\n <mat-icon *ngIf=\"node.treeAddTextIcon()\" [matTooltip]=\"node.treeAddTextIconTitle()\" [svgIcon]=\"node.treeAddTextIcon()\"></mat-icon>\n</button>\n\n<div *ngIf=\"node.isAddingNode()\" class=\"spinner-margin\">\n <mat-spinner [diameter]=\"24\"></mat-spinner>\n</div>\n", styles: [".spinner-margin{margin:8px}\n"] }]
|
|
21
|
-
}], ctorParameters: function () { return [{ type: i1.CaseTreeService }]; } });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLWNoaWxkLW5vZGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvdmlldy90cmVlLWNhc2Utdmlldy90cmVlLWNvbXBvbmVudC9hZGQtY2hpbGQtbm9kZS9hZGQtY2hpbGQtbm9kZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi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WRkQ2hpbGROb2RlQ29tcG9uZW50IHtcbiAgICBjb25zdHJ1Y3Rvcihwcm90ZWN0ZWQgX3RyZWVTZXJ2aWNlOiBDYXNlVHJlZVNlcnZpY2UpIHtcbiAgICAgICAgc3VwZXIoX3RyZWVTZXJ2aWNlKTtcbiAgICB9XG59XG4iLCI8YnV0dG9uICpuZ0lmPVwiIW5vZGUuaXNBZGRpbmdOb2RlKClcIiBtYXQtaWNvbi1idXR0b24gKGNsaWNrKT1cImFkZENoaWxkKCRldmVudClcIj5cbiAgICA8bWF0LWljb24gKm5nSWY9XCIhbm9kZS50cmVlQWRkVGV4dEljb24oKVwiPmFkZDwvbWF0LWljb24+XG4gICAgPG1hdC1pY29uICpuZ0lmPVwibm9kZS50cmVlQWRkVGV4dEljb24oKVwiIFttYXRUb29sdGlwXT1cIm5vZGUudHJlZUFkZFRleHRJY29uVGl0bGUoKVwiIFtzdmdJY29uXT1cIm5vZGUudHJlZUFkZFRleHRJY29uKClcIj48L21hdC1pY29uPlxuPC9idXR0b24+XG5cbjxkaXYgKm5nSWY9XCJub2RlLmlzQWRkaW5nTm9kZSgpXCIgY2xhc3M9XCJzcGlubmVyLW1hcmdpblwiPlxuICAgIDxtYXQtc3Bpbm5lciBbZGlhbWV0ZXJdPVwiMjRcIj48L21hdC1zcGlubmVyPlxuPC9kaXY+XG4iXX0=
|
package/esm2020/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.mjs
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractRemoveNodeComponent } from '@netgrif/components-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@netgrif/components-core";
|
|
5
|
-
import * as i2 from "@angular/material/button";
|
|
6
|
-
import * as i3 from "@angular/material/icon";
|
|
7
|
-
import * as i4 from "@angular/material/progress-spinner";
|
|
8
|
-
import * as i5 from "@angular/common";
|
|
9
|
-
export class RemoveNodeComponent extends AbstractRemoveNodeComponent {
|
|
10
|
-
constructor(_treeService) {
|
|
11
|
-
super(_treeService);
|
|
12
|
-
this._treeService = _treeService;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
RemoveNodeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RemoveNodeComponent, deps: [{ token: i1.CaseTreeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
-
RemoveNodeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: RemoveNodeComponent, selector: "nc-remove-node", usesInheritance: true, ngImport: i0, template: "<button *ngIf=\"!node.isBeingRemoved()\" mat-icon-button (click)=\"removeNode($event)\">\n <mat-icon>delete_forever</mat-icon>\n</button>\n\n<div *ngIf=\"node.isBeingRemoved()\" class=\"spinner-margin\">\n <mat-spinner [diameter]=\"24\"></mat-spinner>\n</div>\n", styles: [".spinner-margin{margin:8px}\n"], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RemoveNodeComponent, decorators: [{
|
|
18
|
-
type: Component,
|
|
19
|
-
args: [{ selector: 'nc-remove-node', template: "<button *ngIf=\"!node.isBeingRemoved()\" mat-icon-button (click)=\"removeNode($event)\">\n <mat-icon>delete_forever</mat-icon>\n</button>\n\n<div *ngIf=\"node.isBeingRemoved()\" class=\"spinner-margin\">\n <mat-spinner [diameter]=\"24\"></mat-spinner>\n</div>\n", styles: [".spinner-margin{margin:8px}\n"] }]
|
|
20
|
-
}], ctorParameters: function () { return [{ type: i1.CaseTreeService }]; } });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVtb3ZlLW5vZGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvdmlldy90cmVlLWNhc2Utdmlldy90cmVlLWNvbXBvbmVudC9yZW1vdmUtbm9kZS9yZW1vdmUtbm9kZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi92aWV3L3RyZWUtY2FzZS12aWV3L3RyZWUtY29tcG9uZW50L3JlbW92ZS1ub2RlL3JlbW92ZS1ub2RlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLDJCQUEyQixFQUFrQixNQUFNLDBCQUEwQixDQUFDOzs7Ozs7O0FBT3RGLE1BQU0sT0FBTyxtQkFBb0IsU0FBUSwyQkFBMkI7SUFDaEUsWUFBc0IsWUFBNkI7UUFDL0MsS0FBSyxDQUFDLFlBQVksQ0FBQyxDQUFDO1FBREYsaUJBQVksR0FBWixZQUFZLENBQWlCO0lBRW5ELENBQUM7O2lIQUhRLG1CQUFtQjtxR0FBbkIsbUJBQW1CLDZFQ1JoQyw2UUFPQTs0RkRDYSxtQkFBbUI7a0JBTC9CLFNBQVM7K0JBQ0ksZ0JBQWdCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtBYnN0cmFjdFJlbW92ZU5vZGVDb21wb25lbnQsIENhc2VUcmVlU2VydmljZX0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICduYy1yZW1vdmUtbm9kZScsXG4gICAgdGVtcGxhdGVVcmw6ICcuL3JlbW92ZS1ub2RlLmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9yZW1vdmUtbm9kZS5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIFJlbW92ZU5vZGVDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdFJlbW92ZU5vZGVDb21wb25lbnQge1xuICAgIGNvbnN0cnVjdG9yKHByb3RlY3RlZCBfdHJlZVNlcnZpY2U6IENhc2VUcmVlU2VydmljZSkge1xuICAgICAgICBzdXBlcihfdHJlZVNlcnZpY2UpO1xuICAgIH1cbn1cbiIsIjxidXR0b24gKm5nSWY9XCIhbm9kZS5pc0JlaW5nUmVtb3ZlZCgpXCIgbWF0LWljb24tYnV0dG9uIChjbGljayk9XCJyZW1vdmVOb2RlKCRldmVudClcIj5cbiAgICA8bWF0LWljb24+ZGVsZXRlX2ZvcmV2ZXI8L21hdC1pY29uPlxuPC9idXR0b24+XG5cbjxkaXYgKm5nSWY9XCJub2RlLmlzQmVpbmdSZW1vdmVkKClcIiBjbGFzcz1cInNwaW5uZXItbWFyZ2luXCI+XG4gICAgPG1hdC1zcGlubmVyIFtkaWFtZXRlcl09XCIyNFwiPjwvbWF0LXNwaW5uZXI+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractTreeComponent, CaseTreeService } from '@netgrif/components-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@netgrif/components-core";
|
|
5
|
-
import * as i2 from "@angular/material/tree";
|
|
6
|
-
import * as i3 from "@angular/material/icon";
|
|
7
|
-
import * as i4 from "./add-child-node/add-child-node.component";
|
|
8
|
-
import * as i5 from "./remove-node/remove-node.component";
|
|
9
|
-
import * as i6 from "@angular/material/button";
|
|
10
|
-
import * as i7 from "@angular/material/progress-spinner";
|
|
11
|
-
import * as i8 from "@angular/flex-layout/flex";
|
|
12
|
-
import * as i9 from "@angular/common";
|
|
13
|
-
import * as i10 from "@angular/flex-layout/extended";
|
|
14
|
-
import * as i11 from "@angular/material/tooltip";
|
|
15
|
-
export class TreeComponent extends AbstractTreeComponent {
|
|
16
|
-
constructor(_treeService) {
|
|
17
|
-
super(_treeService);
|
|
18
|
-
this._treeService = _treeService;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
TreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeComponent, deps: [{ token: i1.CaseTreeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
-
TreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TreeComponent, selector: "nc-tree-component", providers: [CaseTreeService], usesInheritance: true, ngImport: i0, template: "<mat-tree [dataSource]=\"dataSource\" [treeControl]=\"treeControl\">\n <!-- This is the tree node template for leaf nodes -->\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodeToggle>\n <div class=\"min-node-height width-100\" fxLayout=\"row\" fxLayoutAlign=\"start center\"\n [ngClass]=\"{'selected-tree-node border-radius': selectedCaseNode(node)}\" (click)=\"caseNodeClicked(node)\">\n <mat-icon *ngIf=\"node.beforeTextIcon()\" [matTooltip]=\"node.beforeTextIconTitle()\" [svgIcon]=\"node.beforeTextIcon()\"></mat-icon>\n <span class=\"padding-12px\"\n [ngClass]=\"{'selected-tree-node': selectedCaseNode(node)}\">{{node.case.title}}</span>\n <div fxFlex></div>\n <nc-add-child-node [node]=\"node\" *ngIf=\"node.canAddChildren()\"></nc-add-child-node>\n <nc-remove-node [node]=\"node\" *ngIf=\"node.canBeRemoved()\"></nc-remove-node>\n </div>\n </mat-tree-node>\n\n <!-- This is the tree node template for expandable nodes -->\n <mat-nested-tree-node *matTreeNodeDef=\"let node; when: hasChild\">\n <div class=\"min-node-height\" fxLayout=\"row\" fxLayoutAlign=\"start center\"\n [ngClass]=\"{'selected-tree-node border-radius': selectedCaseNode(node)}\">\n <div class=\"mat-tree-node\" (click)=\"caseNodeClicked(node)\">\n <mat-icon *ngIf=\"node.beforeTextIcon()\" [svgIcon]=\"node.beforeTextIcon()\"></mat-icon>\n <span class=\"padding-12px\"\n [ngClass]=\"{'selected-tree-node': selectedCaseNode(node)}\">{{node.case.title}}</span>\n <div fxFlex></div>\n <nc-add-child-node [node]=\"node\" *ngIf=\"node.canAddChildren()\"></nc-add-child-node>\n <nc-remove-node [node]=\"node\" *ngIf=\"node.canBeRemoved()\"></nc-remove-node>\n\n <button *ngIf=\"!node.isLoadingChildren()\" (click)=\"toggleCaseNode($event, node)\" mat-icon-button\n [attr.aria-label]=\"'toggle ' + node.case.title\">\n <mat-icon class=\"mat-icon-rtl-mirror\">\n {{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}}\n </mat-icon>\n </button>\n\n <div *ngIf=\"node.isLoadingChildren()\" class=\"spinner-margin\">\n <mat-spinner [diameter]=\"24\"></mat-spinner>\n </div>\n </div>\n </div>\n <div class=\"tree-offset\" [class.tree-invisible]=\"!treeControl.isExpanded(node)\">\n <ng-container matTreeNodeOutlet></ng-container>\n </div>\n </mat-nested-tree-node>\n</mat-tree>\n", styles: [".padding-12px{padding-left:12px;padding-right:12px}.padding-12px:hover{cursor:pointer}.border-radius{border-radius:8px}.tree-offset{margin-left:20px}.tree-invisible{display:none}.mat-tree-node{min-height:0!important}.min-node-height{min-height:40px!important}.width-100{width:100%}.spinner-margin{margin:8px}\n"], components: [{ type: i2.MatTree, selector: "mat-tree", exportAs: ["matTree"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.AddChildNodeComponent, selector: "nc-add-child-node" }, { type: i5.RemoveNodeComponent, selector: "nc-remove-node" }, { type: i6.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i7.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }], directives: [{ type: i2.MatTreeNodeDef, selector: "[matTreeNodeDef]", inputs: ["matTreeNodeDefWhen", "matTreeNode"] }, { type: i2.MatTreeNode, selector: "mat-tree-node", inputs: ["role", "disabled", "tabIndex"], exportAs: ["matTreeNode"] }, { type: i2.MatTreeNodeToggle, selector: "[matTreeNodeToggle]", inputs: ["matTreeNodeToggleRecursive"] }, { type: i8.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: i8.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i9.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i8.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i2.MatNestedTreeNode, selector: "mat-nested-tree-node", inputs: ["role", "disabled", "tabIndex", "matNestedTreeNode"], exportAs: ["matNestedTreeNode"] }, { type: i2.MatTreeNodeOutlet, selector: "[matTreeNodeOutlet]" }] });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TreeComponent, decorators: [{
|
|
24
|
-
type: Component,
|
|
25
|
-
args: [{ selector: 'nc-tree-component', providers: [CaseTreeService], template: "<mat-tree [dataSource]=\"dataSource\" [treeControl]=\"treeControl\">\n <!-- This is the tree node template for leaf nodes -->\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodeToggle>\n <div class=\"min-node-height width-100\" fxLayout=\"row\" fxLayoutAlign=\"start center\"\n [ngClass]=\"{'selected-tree-node border-radius': selectedCaseNode(node)}\" (click)=\"caseNodeClicked(node)\">\n <mat-icon *ngIf=\"node.beforeTextIcon()\" [matTooltip]=\"node.beforeTextIconTitle()\" [svgIcon]=\"node.beforeTextIcon()\"></mat-icon>\n <span class=\"padding-12px\"\n [ngClass]=\"{'selected-tree-node': selectedCaseNode(node)}\">{{node.case.title}}</span>\n <div fxFlex></div>\n <nc-add-child-node [node]=\"node\" *ngIf=\"node.canAddChildren()\"></nc-add-child-node>\n <nc-remove-node [node]=\"node\" *ngIf=\"node.canBeRemoved()\"></nc-remove-node>\n </div>\n </mat-tree-node>\n\n <!-- This is the tree node template for expandable nodes -->\n <mat-nested-tree-node *matTreeNodeDef=\"let node; when: hasChild\">\n <div class=\"min-node-height\" fxLayout=\"row\" fxLayoutAlign=\"start center\"\n [ngClass]=\"{'selected-tree-node border-radius': selectedCaseNode(node)}\">\n <div class=\"mat-tree-node\" (click)=\"caseNodeClicked(node)\">\n <mat-icon *ngIf=\"node.beforeTextIcon()\" [svgIcon]=\"node.beforeTextIcon()\"></mat-icon>\n <span class=\"padding-12px\"\n [ngClass]=\"{'selected-tree-node': selectedCaseNode(node)}\">{{node.case.title}}</span>\n <div fxFlex></div>\n <nc-add-child-node [node]=\"node\" *ngIf=\"node.canAddChildren()\"></nc-add-child-node>\n <nc-remove-node [node]=\"node\" *ngIf=\"node.canBeRemoved()\"></nc-remove-node>\n\n <button *ngIf=\"!node.isLoadingChildren()\" (click)=\"toggleCaseNode($event, node)\" mat-icon-button\n [attr.aria-label]=\"'toggle ' + node.case.title\">\n <mat-icon class=\"mat-icon-rtl-mirror\">\n {{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}}\n </mat-icon>\n </button>\n\n <div *ngIf=\"node.isLoadingChildren()\" class=\"spinner-margin\">\n <mat-spinner [diameter]=\"24\"></mat-spinner>\n </div>\n </div>\n </div>\n <div class=\"tree-offset\" [class.tree-invisible]=\"!treeControl.isExpanded(node)\">\n <ng-container matTreeNodeOutlet></ng-container>\n </div>\n </mat-nested-tree-node>\n</mat-tree>\n", styles: [".padding-12px{padding-left:12px;padding-right:12px}.padding-12px:hover{cursor:pointer}.border-radius{border-radius:8px}.tree-offset{margin-left:20px}.tree-invisible{display:none}.mat-tree-node{min-height:0!important}.min-node-height{min-height:40px!important}.width-100{width:100%}.spinner-margin{margin:8px}\n"] }]
|
|
26
|
-
}], ctorParameters: function () { return [{ type: i1.CaseTreeService }]; } });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi92aWV3L3RyZWUtY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