@netgrif/components 6.0.1
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/LICENSE +132 -0
- package/README.md +106 -0
- package/bundles/netgrif-components.umd.js +4769 -0
- package/bundles/netgrif-components.umd.js.map +1 -0
- package/bundles/netgrif-components.umd.min.js +16 -0
- package/bundles/netgrif-components.umd.min.js.map +1 -0
- package/esm2015/lib/admin/admin.module.js +19 -0
- package/esm2015/lib/admin/public-api.js +5 -0
- package/esm2015/lib/admin/role-assignment/role-assignment.component.js +28 -0
- package/esm2015/lib/admin/user-invite/user-invite.component.js +35 -0
- package/esm2015/lib/authentication/auth.module.js +15 -0
- package/esm2015/lib/authentication/authentication-overlay/authentication-overlay.component.js +35 -0
- package/esm2015/lib/authentication/public-api.js +5 -0
- package/esm2015/lib/dashboard/cards/barchart-card/barchart-card.component.js +49 -0
- package/esm2015/lib/dashboard/cards/count-card/count-card.component.js +22 -0
- package/esm2015/lib/dashboard/cards/iframe-card/iframe-card.component.js +23 -0
- package/esm2015/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.js +47 -0
- package/esm2015/lib/dashboard/cards/linechart-card/line-chart-card.component.js +59 -0
- package/esm2015/lib/dashboard/cards/piechart-card/pie-chart-card.component.js +52 -0
- package/esm2015/lib/dashboard/cards/portal-card/portal-card.component.js +47 -0
- package/esm2015/lib/dashboard/dashboard-content/dashboard-content.component.js +22 -0
- package/esm2015/lib/dashboard/dashboard.module.js +44 -0
- package/esm2015/lib/dashboard/public-api.js +12 -0
- package/esm2015/lib/data-fields/boolean-field/boolean-field.component.js +28 -0
- package/esm2015/lib/data-fields/button-field/button-field.component.js +27 -0
- package/esm2015/lib/data-fields/data-field-template/data-field-template.component.js +25 -0
- package/esm2015/lib/data-fields/data-fields.module.js +134 -0
- package/esm2015/lib/data-fields/date-field/date-field.component.js +30 -0
- package/esm2015/lib/data-fields/date-time-field/date-time-field.component.js +30 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.js +23 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.js +23 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-field.component.js +21 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.js +16 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.js +16 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.js +16 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.js +22 -0
- package/esm2015/lib/data-fields/file-field/file-field.component.js +52 -0
- package/esm2015/lib/data-fields/file-field/preview-dialog/preview-dialog.component.js +33 -0
- package/esm2015/lib/data-fields/file-field-list/file-list-field.component.js +32 -0
- package/esm2015/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.js +42 -0
- package/esm2015/lib/data-fields/filter-field/filter-field.component.js +27 -0
- package/esm2015/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.js +16 -0
- package/esm2015/lib/data-fields/i18n-field/i18n-field.component.js +21 -0
- package/esm2015/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.js +22 -0
- package/esm2015/lib/data-fields/multichoice-field/multichoice-field.component.js +21 -0
- package/esm2015/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.js +16 -0
- package/esm2015/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.js +12 -0
- package/esm2015/lib/data-fields/number-field/number-currency-field/number-currency-field.component.js +34 -0
- package/esm2015/lib/data-fields/number-field/number-default-field/number-default-field.component.js +22 -0
- package/esm2015/lib/data-fields/number-field/number-field.component.js +32 -0
- package/esm2015/lib/data-fields/public-api.js +18 -0
- package/esm2015/lib/data-fields/required-label/required-label.component.js +20 -0
- package/esm2015/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.js +27 -0
- package/esm2015/lib/data-fields/text-field/password-text-field/password-text-field.component.js +26 -0
- package/esm2015/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.js +23 -0
- package/esm2015/lib/data-fields/text-field/simple-text-field/simple-text-field.component.js +23 -0
- package/esm2015/lib/data-fields/text-field/text-field.component.js +21 -0
- package/esm2015/lib/data-fields/text-field/textarea-field/textarea-field.component.js +26 -0
- package/esm2015/lib/data-fields/user-field/user-field.component.js +32 -0
- package/esm2015/lib/forms/email-submission/email-submission-form.component.js +22 -0
- package/esm2015/lib/forms/email-submission/email-submission-form.module.js +24 -0
- package/esm2015/lib/forms/forgotten-password/forgotten-password-form-component.module.js +22 -0
- package/esm2015/lib/forms/forgotten-password/forgotten-password-form.component.js +29 -0
- package/esm2015/lib/forms/login/login-form.component.js +25 -0
- package/esm2015/lib/forms/login/login-form.module.js +22 -0
- package/esm2015/lib/forms/public-api.js +11 -0
- package/esm2015/lib/forms/registration/registration-form.component.js +29 -0
- package/esm2015/lib/forms/registration/registration-form.module.js +24 -0
- package/esm2015/lib/header/header-modes/edit-mode/edit-mode.component.js +26 -0
- package/esm2015/lib/header/header-modes/loading-mode/loading-mode.component.js +16 -0
- package/esm2015/lib/header/header-modes/search-mode/search-mode.component.js +34 -0
- package/esm2015/lib/header/header-modes/sort-mode/sort-mode.component.js +16 -0
- package/esm2015/lib/header/header.component.js +36 -0
- package/esm2015/lib/header/header.module.js +39 -0
- package/esm2015/lib/header/public-api.js +12 -0
- package/esm2015/lib/legal/legal-notice/legal-notice.component.js +21 -0
- package/esm2015/lib/legal/legal-notice/legal-notice.module.js +17 -0
- package/esm2015/lib/legal/public-api.js +5 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.js +54 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.js +43 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.js +67 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.js +58 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.js +30 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.js +2 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.js +35 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.js +30 -0
- package/esm2015/lib/navigation/navigation-drawer/navigation-drawer.component.js +30 -0
- package/esm2015/lib/navigation/navigation-rail/navigation-rail.component.js +40 -0
- package/esm2015/lib/navigation/navigation-tree/navigation-tree.component.js +42 -0
- package/esm2015/lib/navigation/navigation.module.js +81 -0
- package/esm2015/lib/navigation/public-api.js +9 -0
- package/esm2015/lib/navigation/quick-panel/components/internal-link/internal-link.component.js +16 -0
- package/esm2015/lib/navigation/quick-panel/components/language-selector/language-selector.component.js +39 -0
- package/esm2015/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.js +32 -0
- package/esm2015/lib/navigation/quick-panel/components/quick-panel.component.js +25 -0
- package/esm2015/lib/navigation/quick-panel/public-api.js +9 -0
- package/esm2015/lib/navigation/quick-panel/quick-panel.module.js +33 -0
- package/esm2015/lib/panel/case-panel/case-panel.component.js +50 -0
- package/esm2015/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.js +25 -0
- package/esm2015/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.js +46 -0
- package/esm2015/lib/panel/panel.component.js +22 -0
- package/esm2015/lib/panel/panel.module.js +55 -0
- package/esm2015/lib/panel/public-api.js +10 -0
- package/esm2015/lib/panel/public-workflow-panel/public-workflow-panel.component.js +26 -0
- package/esm2015/lib/panel/task-panel/task-panel.component.js +113 -0
- package/esm2015/lib/panel/task-panel-list/task-list.component.js +31 -0
- package/esm2015/lib/panel/workflow-panel/workflow-panel.component.js +26 -0
- package/esm2015/lib/routing/public-api.js +3 -0
- package/esm2015/lib/routing/redirect/redirect.component.js +28 -0
- package/esm2015/lib/routing/redirect.module.js +12 -0
- package/esm2015/lib/search/advanced-search/advanced-search-component/advanced-search.component.js +24 -0
- package/esm2015/lib/search/advanced-search/advanced-search.module.js +36 -0
- package/esm2015/lib/search/advanced-search/public-api.js +8 -0
- package/esm2015/lib/search/advanced-search/search-clause-component/search-clause.component.js +16 -0
- package/esm2015/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.js +20 -0
- package/esm2015/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.js +26 -0
- package/esm2015/lib/search/advanced-search/search-predicate-component/search-predicate.component.js +27 -0
- package/esm2015/lib/search/fulltext-search-component/fulltext-search.component.js +21 -0
- package/esm2015/lib/search/public-api.js +10 -0
- package/esm2015/lib/search/search-component/case-search/case-search.component.js +24 -0
- package/esm2015/lib/search/search-component/search.component.js +98 -0
- package/esm2015/lib/search/search-component/task-search/task-search.component.js +24 -0
- package/esm2015/lib/search/search.module.js +36 -0
- package/esm2015/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.js +16 -0
- package/esm2015/lib/side-menu/content-components/filter-selector/filter-selector.component.js +45 -0
- package/esm2015/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.js +27 -0
- package/esm2015/lib/side-menu/content-components/import-net/import-net.component.js +44 -0
- package/esm2015/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.js +27 -0
- package/esm2015/lib/side-menu/content-components/load-filter/load-filter.component.js +54 -0
- package/esm2015/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.js +28 -0
- package/esm2015/lib/side-menu/content-components/new-case/new-case.component.js +48 -0
- package/esm2015/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.js +35 -0
- package/esm2015/lib/side-menu/content-components/option-selector/option-selector.component.js +22 -0
- package/esm2015/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.js +30 -0
- package/esm2015/lib/side-menu/content-components/public-api.js +19 -0
- package/esm2015/lib/side-menu/content-components/save-filter/save-filter.component.js +53 -0
- package/esm2015/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.js +26 -0
- package/esm2015/lib/side-menu/content-components/side-menu-content-component.module.js +50 -0
- package/esm2015/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.js +36 -0
- package/esm2015/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.js +19 -0
- package/esm2015/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.js +25 -0
- package/esm2015/lib/side-menu/content-components/user-assign/user-assign.component.js +29 -0
- package/esm2015/lib/side-menu/public-api.js +7 -0
- package/esm2015/lib/side-menu/side-menu-container/side-menu-container.component.js +22 -0
- package/esm2015/lib/side-menu/side-menu.module.js +27 -0
- package/esm2015/lib/tabs/public-api.js +4 -0
- package/esm2015/lib/tabs/tab-creation-detector/tab-creation-detector.component.js +22 -0
- package/esm2015/lib/tabs/tab-view/tab-view.component.js +32 -0
- package/esm2015/lib/tabs/tabs.module.js +28 -0
- package/esm2015/lib/task-content/field-component-resolver/field-component-resolver.component.js +21 -0
- package/esm2015/lib/task-content/public-api.js +6 -0
- package/esm2015/lib/task-content/task-content/task-content.component.js +36 -0
- package/esm2015/lib/task-content/task-content.module.js +32 -0
- package/esm2015/lib/toolbar/public-api.js +3 -0
- package/esm2015/lib/toolbar/toolbar.component.js +26 -0
- package/esm2015/lib/toolbar/toolbar.module.js +22 -0
- package/esm2015/lib/user/profile/profile.component.js +22 -0
- package/esm2015/lib/user/profile/profile.module.js +20 -0
- package/esm2015/lib/user/public-api.js +7 -0
- package/esm2015/lib/user/user-card/user-card.component.js +22 -0
- package/esm2015/lib/user/user.module.js +22 -0
- package/esm2015/lib/view/case-view/case-view.module.js +22 -0
- package/esm2015/lib/view/case-view/components/case-list/case-list.component.js +31 -0
- package/esm2015/lib/view/public-api.js +10 -0
- package/esm2015/lib/view/tree-case-view/tree-case-view.module.js +38 -0
- package/esm2015/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.js +22 -0
- package/esm2015/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.js +22 -0
- package/esm2015/lib/view/tree-case-view/tree-component/tree.component.js +23 -0
- package/esm2015/lib/view/tree-case-view/tree-task-content/tree-task-content.component.js +55 -0
- package/esm2015/lib/view/workflow-view/workflow-view.component.js +36 -0
- package/esm2015/lib/view/workflow-view.module.js +36 -0
- package/esm2015/netgrif-components.js +43 -0
- package/esm2015/public-api.js +22 -0
- package/esm5/lib/admin/admin.module.js +23 -0
- package/esm5/lib/admin/public-api.js +5 -0
- package/esm5/lib/admin/role-assignment/role-assignment.component.js +33 -0
- package/esm5/lib/admin/user-invite/user-invite.component.js +40 -0
- package/esm5/lib/authentication/auth.module.js +19 -0
- package/esm5/lib/authentication/authentication-overlay/authentication-overlay.component.js +40 -0
- package/esm5/lib/authentication/public-api.js +5 -0
- package/esm5/lib/dashboard/cards/barchart-card/barchart-card.component.js +55 -0
- package/esm5/lib/dashboard/cards/count-card/count-card.component.js +27 -0
- package/esm5/lib/dashboard/cards/iframe-card/iframe-card.component.js +28 -0
- package/esm5/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.js +52 -0
- package/esm5/lib/dashboard/cards/linechart-card/line-chart-card.component.js +65 -0
- package/esm5/lib/dashboard/cards/piechart-card/pie-chart-card.component.js +58 -0
- package/esm5/lib/dashboard/cards/portal-card/portal-card.component.js +52 -0
- package/esm5/lib/dashboard/dashboard-content/dashboard-content.component.js +27 -0
- package/esm5/lib/dashboard/dashboard.module.js +48 -0
- package/esm5/lib/dashboard/public-api.js +12 -0
- package/esm5/lib/data-fields/boolean-field/boolean-field.component.js +33 -0
- package/esm5/lib/data-fields/button-field/button-field.component.js +32 -0
- package/esm5/lib/data-fields/data-field-template/data-field-template.component.js +30 -0
- package/esm5/lib/data-fields/data-fields.module.js +138 -0
- package/esm5/lib/data-fields/date-field/date-field.component.js +34 -0
- package/esm5/lib/data-fields/date-time-field/date-time-field.component.js +34 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.js +28 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.js +28 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-field.component.js +25 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.js +20 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.js +20 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.js +20 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.js +27 -0
- package/esm5/lib/data-fields/file-field/file-field.component.js +57 -0
- package/esm5/lib/data-fields/file-field/preview-dialog/preview-dialog.component.js +36 -0
- package/esm5/lib/data-fields/file-field-list/file-list-field.component.js +36 -0
- package/esm5/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.js +46 -0
- package/esm5/lib/data-fields/filter-field/filter-field.component.js +31 -0
- package/esm5/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.js +20 -0
- package/esm5/lib/data-fields/i18n-field/i18n-field.component.js +25 -0
- package/esm5/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.js +26 -0
- package/esm5/lib/data-fields/multichoice-field/multichoice-field.component.js +25 -0
- package/esm5/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.js +20 -0
- package/esm5/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.js +19 -0
- package/esm5/lib/data-fields/number-field/number-currency-field/number-currency-field.component.js +38 -0
- package/esm5/lib/data-fields/number-field/number-default-field/number-default-field.component.js +26 -0
- package/esm5/lib/data-fields/number-field/number-field.component.js +36 -0
- package/esm5/lib/data-fields/public-api.js +18 -0
- package/esm5/lib/data-fields/required-label/required-label.component.js +22 -0
- package/esm5/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.js +32 -0
- package/esm5/lib/data-fields/text-field/password-text-field/password-text-field.component.js +31 -0
- package/esm5/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.js +28 -0
- package/esm5/lib/data-fields/text-field/simple-text-field/simple-text-field.component.js +28 -0
- package/esm5/lib/data-fields/text-field/text-field.component.js +25 -0
- package/esm5/lib/data-fields/text-field/textarea-field/textarea-field.component.js +31 -0
- package/esm5/lib/data-fields/user-field/user-field.component.js +36 -0
- package/esm5/lib/forms/email-submission/email-submission-form.component.js +26 -0
- package/esm5/lib/forms/email-submission/email-submission-form.module.js +28 -0
- package/esm5/lib/forms/forgotten-password/forgotten-password-form-component.module.js +26 -0
- package/esm5/lib/forms/forgotten-password/forgotten-password-form.component.js +33 -0
- package/esm5/lib/forms/login/login-form.component.js +30 -0
- package/esm5/lib/forms/login/login-form.module.js +26 -0
- package/esm5/lib/forms/public-api.js +11 -0
- package/esm5/lib/forms/registration/registration-form.component.js +33 -0
- package/esm5/lib/forms/registration/registration-form.module.js +28 -0
- package/esm5/lib/header/header-modes/edit-mode/edit-mode.component.js +31 -0
- package/esm5/lib/header/header-modes/loading-mode/loading-mode.component.js +20 -0
- package/esm5/lib/header/header-modes/search-mode/search-mode.component.js +39 -0
- package/esm5/lib/header/header-modes/sort-mode/sort-mode.component.js +20 -0
- package/esm5/lib/header/header.component.js +41 -0
- package/esm5/lib/header/header.module.js +43 -0
- package/esm5/lib/header/public-api.js +12 -0
- package/esm5/lib/legal/legal-notice/legal-notice.component.js +25 -0
- package/esm5/lib/legal/legal-notice/legal-notice.module.js +21 -0
- package/esm5/lib/legal/public-api.js +5 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.js +58 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.js +45 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.js +71 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.js +62 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.js +30 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.js +2 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.js +39 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.js +34 -0
- package/esm5/lib/navigation/navigation-drawer/navigation-drawer.component.js +35 -0
- package/esm5/lib/navigation/navigation-rail/navigation-rail.component.js +44 -0
- package/esm5/lib/navigation/navigation-tree/navigation-tree.component.js +46 -0
- package/esm5/lib/navigation/navigation.module.js +85 -0
- package/esm5/lib/navigation/public-api.js +9 -0
- package/esm5/lib/navigation/quick-panel/components/internal-link/internal-link.component.js +20 -0
- package/esm5/lib/navigation/quick-panel/components/language-selector/language-selector.component.js +44 -0
- package/esm5/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.js +37 -0
- package/esm5/lib/navigation/quick-panel/components/quick-panel.component.js +30 -0
- package/esm5/lib/navigation/quick-panel/public-api.js +9 -0
- package/esm5/lib/navigation/quick-panel/quick-panel.module.js +37 -0
- package/esm5/lib/panel/case-panel/case-panel.component.js +55 -0
- package/esm5/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.js +29 -0
- package/esm5/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.js +50 -0
- package/esm5/lib/panel/panel.component.js +26 -0
- package/esm5/lib/panel/panel.module.js +59 -0
- package/esm5/lib/panel/public-api.js +10 -0
- package/esm5/lib/panel/public-workflow-panel/public-workflow-panel.component.js +30 -0
- package/esm5/lib/panel/task-panel/task-panel.component.js +118 -0
- package/esm5/lib/panel/task-panel-list/task-list.component.js +36 -0
- package/esm5/lib/panel/workflow-panel/workflow-panel.component.js +30 -0
- package/esm5/lib/routing/public-api.js +3 -0
- package/esm5/lib/routing/redirect/redirect.component.js +30 -0
- package/esm5/lib/routing/redirect.module.js +16 -0
- package/esm5/lib/search/advanced-search/advanced-search-component/advanced-search.component.js +28 -0
- package/esm5/lib/search/advanced-search/advanced-search.module.js +40 -0
- package/esm5/lib/search/advanced-search/public-api.js +8 -0
- package/esm5/lib/search/advanced-search/search-clause-component/search-clause.component.js +20 -0
- package/esm5/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.js +25 -0
- package/esm5/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.js +31 -0
- package/esm5/lib/search/advanced-search/search-predicate-component/search-predicate.component.js +31 -0
- package/esm5/lib/search/fulltext-search-component/fulltext-search.component.js +25 -0
- package/esm5/lib/search/public-api.js +10 -0
- package/esm5/lib/search/search-component/case-search/case-search.component.js +28 -0
- package/esm5/lib/search/search-component/search.component.js +105 -0
- package/esm5/lib/search/search-component/task-search/task-search.component.js +28 -0
- package/esm5/lib/search/search.module.js +40 -0
- package/esm5/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.js +23 -0
- package/esm5/lib/side-menu/content-components/filter-selector/filter-selector.component.js +50 -0
- package/esm5/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.js +31 -0
- package/esm5/lib/side-menu/content-components/import-net/import-net.component.js +49 -0
- package/esm5/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.js +31 -0
- package/esm5/lib/side-menu/content-components/load-filter/load-filter.component.js +58 -0
- package/esm5/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.js +32 -0
- package/esm5/lib/side-menu/content-components/new-case/new-case.component.js +53 -0
- package/esm5/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.js +39 -0
- package/esm5/lib/side-menu/content-components/option-selector/option-selector.component.js +27 -0
- package/esm5/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.js +34 -0
- package/esm5/lib/side-menu/content-components/public-api.js +19 -0
- package/esm5/lib/side-menu/content-components/save-filter/save-filter.component.js +57 -0
- package/esm5/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.js +30 -0
- package/esm5/lib/side-menu/content-components/side-menu-content-component.module.js +54 -0
- package/esm5/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.js +40 -0
- package/esm5/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.js +23 -0
- package/esm5/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.js +30 -0
- package/esm5/lib/side-menu/content-components/user-assign/user-assign.component.js +34 -0
- package/esm5/lib/side-menu/public-api.js +7 -0
- package/esm5/lib/side-menu/side-menu-container/side-menu-container.component.js +27 -0
- package/esm5/lib/side-menu/side-menu.module.js +31 -0
- package/esm5/lib/tabs/public-api.js +4 -0
- package/esm5/lib/tabs/tab-creation-detector/tab-creation-detector.component.js +26 -0
- package/esm5/lib/tabs/tab-view/tab-view.component.js +37 -0
- package/esm5/lib/tabs/tabs.module.js +32 -0
- package/esm5/lib/task-content/field-component-resolver/field-component-resolver.component.js +25 -0
- package/esm5/lib/task-content/public-api.js +6 -0
- package/esm5/lib/task-content/task-content/task-content.component.js +41 -0
- package/esm5/lib/task-content/task-content.module.js +36 -0
- package/esm5/lib/toolbar/public-api.js +3 -0
- package/esm5/lib/toolbar/toolbar.component.js +31 -0
- package/esm5/lib/toolbar/toolbar.module.js +26 -0
- package/esm5/lib/user/profile/profile.component.js +27 -0
- package/esm5/lib/user/profile/profile.module.js +24 -0
- package/esm5/lib/user/public-api.js +7 -0
- package/esm5/lib/user/user-card/user-card.component.js +27 -0
- package/esm5/lib/user/user.module.js +26 -0
- package/esm5/lib/view/case-view/case-view.module.js +26 -0
- package/esm5/lib/view/case-view/components/case-list/case-list.component.js +36 -0
- package/esm5/lib/view/public-api.js +10 -0
- package/esm5/lib/view/tree-case-view/tree-case-view.module.js +42 -0
- package/esm5/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.js +27 -0
- package/esm5/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.js +27 -0
- package/esm5/lib/view/tree-case-view/tree-component/tree.component.js +28 -0
- package/esm5/lib/view/tree-case-view/tree-task-content/tree-task-content.component.js +60 -0
- package/esm5/lib/view/workflow-view/workflow-view.component.js +41 -0
- package/esm5/lib/view/workflow-view.module.js +40 -0
- package/esm5/netgrif-components.js +43 -0
- package/esm5/public-api.js +22 -0
- package/fesm2015/netgrif-components.js +4034 -0
- package/fesm2015/netgrif-components.js.map +1 -0
- package/fesm5/netgrif-components.js +4419 -0
- package/fesm5/netgrif-components.js.map +1 -0
- package/lib/admin/admin.module.d.ts +2 -0
- package/lib/admin/public-api.d.ts +2 -0
- package/lib/admin/role-assignment/role-assignment.component.d.ts +6 -0
- package/lib/admin/user-invite/user-invite.component.d.ts +10 -0
- package/lib/authentication/auth.module.d.ts +2 -0
- package/lib/authentication/authentication-overlay/authentication-overlay.component.d.ts +10 -0
- package/lib/authentication/public-api.d.ts +2 -0
- package/lib/dashboard/cards/barchart-card/barchart-card.component.d.ts +14 -0
- package/lib/dashboard/cards/count-card/count-card.component.d.ts +6 -0
- package/lib/dashboard/cards/iframe-card/iframe-card.component.d.ts +6 -0
- package/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.d.ts +15 -0
- package/lib/dashboard/cards/linechart-card/line-chart-card.component.d.ts +16 -0
- package/lib/dashboard/cards/piechart-card/pie-chart-card.component.d.ts +17 -0
- package/lib/dashboard/cards/portal-card/portal-card.component.d.ts +18 -0
- package/lib/dashboard/dashboard-content/dashboard-content.component.d.ts +5 -0
- package/lib/dashboard/dashboard.module.d.ts +2 -0
- package/lib/dashboard/public-api.d.ts +9 -0
- package/lib/data-fields/boolean-field/boolean-field.component.d.ts +7 -0
- package/lib/data-fields/button-field/button-field.component.d.ts +6 -0
- package/lib/data-fields/data-field-template/data-field-template.component.d.ts +6 -0
- package/lib/data-fields/data-fields.module.d.ts +2 -0
- package/lib/data-fields/date-field/date-field.component.d.ts +5 -0
- package/lib/data-fields/date-time-field/date-time-field.component.d.ts +5 -0
- package/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.d.ts +6 -0
- package/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.d.ts +6 -0
- package/lib/data-fields/enumeration-field/enumeration-field.component.d.ts +4 -0
- package/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.d.ts +4 -0
- package/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.d.ts +4 -0
- package/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.d.ts +4 -0
- package/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.d.ts +6 -0
- package/lib/data-fields/file-field/file-field.component.d.ts +10 -0
- package/lib/data-fields/file-field/preview-dialog/preview-dialog.component.d.ts +11 -0
- package/lib/data-fields/file-field-list/file-list-field.component.d.ts +5 -0
- package/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.d.ts +8 -0
- package/lib/data-fields/filter-field/filter-field.component.d.ts +7 -0
- package/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.d.ts +4 -0
- package/lib/data-fields/i18n-field/i18n-field.component.d.ts +4 -0
- package/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.d.ts +5 -0
- package/lib/data-fields/multichoice-field/multichoice-field.component.d.ts +4 -0
- package/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.d.ts +4 -0
- package/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.d.ts +3 -0
- package/lib/data-fields/number-field/number-currency-field/number-currency-field.component.d.ts +10 -0
- package/lib/data-fields/number-field/number-default-field/number-default-field.component.d.ts +5 -0
- package/lib/data-fields/number-field/number-field.component.d.ts +6 -0
- package/lib/data-fields/public-api.d.ts +15 -0
- package/lib/data-fields/required-label/required-label.component.d.ts +6 -0
- package/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.d.ts +9 -0
- package/lib/data-fields/text-field/password-text-field/password-text-field.component.d.ts +9 -0
- package/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.d.ts +6 -0
- package/lib/data-fields/text-field/simple-text-field/simple-text-field.component.d.ts +6 -0
- package/lib/data-fields/text-field/text-field.component.d.ts +4 -0
- package/lib/data-fields/text-field/textarea-field/textarea-field.component.d.ts +8 -0
- package/lib/data-fields/user-field/user-field.component.d.ts +6 -0
- package/lib/forms/email-submission/email-submission-form.component.d.ts +5 -0
- package/lib/forms/email-submission/email-submission-form.module.d.ts +2 -0
- package/lib/forms/forgotten-password/forgotten-password-form-component.module.d.ts +2 -0
- package/lib/forms/forgotten-password/forgotten-password-form.component.d.ts +6 -0
- package/lib/forms/login/login-form.component.d.ts +6 -0
- package/lib/forms/login/login-form.module.d.ts +2 -0
- package/lib/forms/public-api.d.ts +8 -0
- package/lib/forms/registration/registration-form.component.d.ts +6 -0
- package/lib/forms/registration/registration-form.module.d.ts +2 -0
- package/lib/header/header-modes/edit-mode/edit-mode.component.d.ts +7 -0
- package/lib/header/header-modes/loading-mode/loading-mode.component.d.ts +4 -0
- package/lib/header/header-modes/search-mode/search-mode.component.d.ts +6 -0
- package/lib/header/header-modes/sort-mode/sort-mode.component.d.ts +4 -0
- package/lib/header/header.component.d.ts +9 -0
- package/lib/header/header.module.d.ts +2 -0
- package/lib/header/public-api.d.ts +6 -0
- package/lib/legal/legal-notice/legal-notice.component.d.ts +4 -0
- package/lib/legal/legal-notice/legal-notice.module.d.ts +2 -0
- package/lib/legal/public-api.d.ts +2 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.d.ts +8 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.d.ts +6 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.d.ts +10 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.d.ts +11 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.d.ts +25 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.d.ts +9 -0
- package/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.d.ts +6 -0
- package/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.d.ts +6 -0
- package/lib/navigation/navigation-drawer/navigation-drawer.component.d.ts +9 -0
- package/lib/navigation/navigation-rail/navigation-rail.component.d.ts +4 -0
- package/lib/navigation/navigation-tree/navigation-tree.component.d.ts +5 -0
- package/lib/navigation/navigation.module.d.ts +3 -0
- package/lib/navigation/public-api.d.ts +5 -0
- package/lib/navigation/quick-panel/components/internal-link/internal-link.component.d.ts +4 -0
- package/lib/navigation/quick-panel/components/language-selector/language-selector.component.d.ts +9 -0
- package/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.d.ts +9 -0
- package/lib/navigation/quick-panel/components/quick-panel.component.d.ts +6 -0
- package/lib/navigation/quick-panel/public-api.d.ts +5 -0
- package/lib/navigation/quick-panel/quick-panel.module.d.ts +2 -0
- package/lib/panel/case-panel/case-panel.component.d.ts +17 -0
- package/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.d.ts +7 -0
- package/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.d.ts +8 -0
- package/lib/panel/panel.component.d.ts +5 -0
- package/lib/panel/panel.module.d.ts +2 -0
- package/lib/panel/public-api.d.ts +7 -0
- package/lib/panel/public-workflow-panel/public-workflow-panel.component.d.ts +5 -0
- package/lib/panel/task-panel/task-panel.component.d.ts +28 -0
- package/lib/panel/task-panel-list/task-list.component.d.ts +8 -0
- package/lib/panel/workflow-panel/workflow-panel.component.d.ts +5 -0
- package/lib/routing/public-api.d.ts +2 -0
- package/lib/routing/redirect/redirect.component.d.ts +9 -0
- package/lib/routing/redirect.module.d.ts +2 -0
- package/lib/search/advanced-search/advanced-search-component/advanced-search.component.d.ts +4 -0
- package/lib/search/advanced-search/advanced-search.module.d.ts +2 -0
- package/lib/search/advanced-search/public-api.d.ts +5 -0
- package/lib/search/advanced-search/search-clause-component/search-clause.component.d.ts +4 -0
- package/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.d.ts +6 -0
- package/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.d.ts +7 -0
- package/lib/search/advanced-search/search-predicate-component/search-predicate.component.d.ts +5 -0
- package/lib/search/fulltext-search-component/fulltext-search.component.d.ts +4 -0
- package/lib/search/public-api.d.ts +6 -0
- package/lib/search/search-component/case-search/case-search.component.d.ts +8 -0
- package/lib/search/search-component/search.component.d.ts +25 -0
- package/lib/search/search-component/task-search/task-search.component.d.ts +8 -0
- package/lib/search/search.module.d.ts +2 -0
- package/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.d.ts +7 -0
- package/lib/side-menu/content-components/filter-selector/filter-selector.component.d.ts +26 -0
- package/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/import-net/import-net.component.d.ts +10 -0
- package/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/load-filter/load-filter.component.d.ts +10 -0
- package/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/new-case/new-case.component.d.ts +14 -0
- package/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/option-selector/option-selector.component.d.ts +5 -0
- package/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/public-api.d.ts +15 -0
- package/lib/side-menu/content-components/save-filter/save-filter.component.d.ts +6 -0
- package/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/side-menu-content-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.d.ts +7 -0
- package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.d.ts +8 -0
- package/lib/side-menu/content-components/user-assign/user-assign.component.d.ts +11 -0
- package/lib/side-menu/public-api.d.ts +3 -0
- package/lib/side-menu/side-menu-container/side-menu-container.component.d.ts +5 -0
- package/lib/side-menu/side-menu.module.d.ts +2 -0
- package/lib/tabs/public-api.d.ts +3 -0
- package/lib/tabs/tab-creation-detector/tab-creation-detector.component.d.ts +10 -0
- package/lib/tabs/tab-view/tab-view.component.d.ts +12 -0
- package/lib/tabs/tabs.module.d.ts +2 -0
- package/lib/task-content/field-component-resolver/field-component-resolver.component.d.ts +4 -0
- package/lib/task-content/public-api.d.ts +3 -0
- package/lib/task-content/task-content/task-content.component.d.ts +9 -0
- package/lib/task-content/task-content.module.d.ts +2 -0
- package/lib/toolbar/public-api.d.ts +2 -0
- package/lib/toolbar/toolbar.component.d.ts +7 -0
- package/lib/toolbar/toolbar.module.d.ts +2 -0
- package/lib/user/profile/profile.component.d.ts +5 -0
- package/lib/user/profile/profile.module.d.ts +2 -0
- package/lib/user/public-api.d.ts +4 -0
- package/lib/user/user-card/user-card.component.d.ts +6 -0
- package/lib/user/user.module.d.ts +2 -0
- package/lib/view/case-view/case-view.module.d.ts +2 -0
- package/lib/view/case-view/components/case-list/case-list.component.d.ts +8 -0
- package/lib/view/public-api.d.ts +7 -0
- package/lib/view/tree-case-view/tree-case-view.module.d.ts +2 -0
- package/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.d.ts +5 -0
- package/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.d.ts +5 -0
- package/lib/view/tree-case-view/tree-component/tree.component.d.ts +5 -0
- package/lib/view/tree-case-view/tree-task-content/tree-task-content.component.d.ts +11 -0
- package/lib/view/workflow-view/workflow-view.component.d.ts +9 -0
- package/lib/view/workflow-view.module.d.ts +2 -0
- package/nae-theme.scss +39 -0
- package/nae-typography.scss +35 -0
- package/netgrif-components.d.ts +43 -0
- package/netgrif-components.metadata.json +1 -0
- package/package.json +75 -0
- package/public-api.d.ts +17 -0
- package/schematics/_commons/angular-cli-devkit-core-strings.d.ts +93 -0
- package/schematics/_commons/angular-cli-devkit-core-strings.js +167 -0
- package/schematics/_commons/angular-cli-devkit-core-strings.js.map +1 -0
- package/schematics/_commons/import-to-add.d.ts +5 -0
- package/schematics/_commons/import-to-add.js +11 -0
- package/schematics/_commons/import-to-add.js.map +1 -0
- package/schematics/_commons/view-class-info.d.ts +22 -0
- package/schematics/_commons/view-class-info.js +58 -0
- package/schematics/_commons/view-class-info.js.map +1 -0
- package/schematics/_utility/models/file-data.d.ts +6 -0
- package/schematics/_utility/models/file-data.js +3 -0
- package/schematics/_utility/models/file-data.js.map +1 -0
- package/schematics/_utility/models/file-system-node.d.ts +6 -0
- package/schematics/_utility/models/file-system-node.js +12 -0
- package/schematics/_utility/models/file-system-node.js.map +1 -0
- package/schematics/_utility/models/project-info.d.ts +13 -0
- package/schematics/_utility/models/project-info.js +20 -0
- package/schematics/_utility/models/project-info.js.map +1 -0
- package/schematics/_utility/modified-library-functions.d.ts +24 -0
- package/schematics/_utility/modified-library-functions.js +150 -0
- package/schematics/_utility/modified-library-functions.js.map +1 -0
- package/schematics/_utility/utility-functions.d.ts +67 -0
- package/schematics/_utility/utility-functions.js +247 -0
- package/schematics/_utility/utility-functions.js.map +1 -0
- package/schematics/add/add/index.d.ts +2 -0
- package/schematics/add/add/index.js +16 -0
- package/schematics/add/add/index.js.map +1 -0
- package/schematics/add/create-nc-files/index.d.ts +2 -0
- package/schematics/add/create-nc-files/index.js +54 -0
- package/schematics/add/create-nc-files/index.js.map +1 -0
- package/schematics/add/create-nc-files/schema.json +7 -0
- package/schematics/add/custom-themes/files/custom-themes/custom-themes.scss.template +45 -0
- package/schematics/add/custom-themes/files/dark-theme/custom-dark-theme.scss.template +17 -0
- package/schematics/add/custom-themes/files/light-theme/custom-light-theme.scss.template +17 -0
- package/schematics/add/custom-themes/index.d.ts +2 -0
- package/schematics/add/custom-themes/index.js +199 -0
- package/schematics/add/custom-themes/index.js.map +1 -0
- package/schematics/add/custom-themes/schema.json +7 -0
- package/schematics/collection.json +47 -0
- package/schematics/migrations/4.1/migration-4.1.d.ts +5 -0
- package/schematics/migrations/4.1/migration-4.1.js +37 -0
- package/schematics/migrations/4.1/migration-4.1.js.map +1 -0
- package/schematics/migrations/5.4/migration-5.4.d.ts +5 -0
- package/schematics/migrations/5.4/migration-5.4.js +134 -0
- package/schematics/migrations/5.4/migration-5.4.js.map +1 -0
- package/schematics/migrations/5.4/schema.json +7 -0
- package/schematics/migrations.json +15 -0
- package/schematics/view/_utility/add-view-to-nae-json.d.ts +3 -0
- package/schematics/view/_utility/add-view-to-nae-json.js +57 -0
- package/schematics/view/_utility/add-view-to-nae-json.js.map +1 -0
- package/schematics/view/_utility/view-service-functions.d.ts +9 -0
- package/schematics/view/_utility/view-service-functions.js +59 -0
- package/schematics/view/_utility/view-service-functions.js.map +1 -0
- package/schematics/view/_utility/view-utility-functions.d.ts +8 -0
- package/schematics/view/_utility/view-utility-functions.js +61 -0
- package/schematics/view/_utility/view-utility-functions.js.map +1 -0
- package/schematics/view/create-view/models/nullable-create-view-arguments.d.ts +11 -0
- package/schematics/view/create-view/models/nullable-create-view-arguments.js +3 -0
- package/schematics/view/create-view/models/nullable-create-view-arguments.js.map +1 -0
- package/schematics/view/create-view/schema.json +7 -0
- package/schematics/view/create-view/schematic-create-view.d.ts +2 -0
- package/schematics/view/create-view/schematic-create-view.js +80 -0
- package/schematics/view/create-view/schematic-create-view.js.map +1 -0
- package/schematics/view/create-view-prompt/models/create-task-view-arguments.d.ts +4 -0
- package/schematics/view/create-view-prompt/models/create-task-view-arguments.js +3 -0
- package/schematics/view/create-view-prompt/models/create-task-view-arguments.js.map +1 -0
- package/schematics/view/create-view-prompt/models/create-view-arguments.d.ts +14 -0
- package/schematics/view/create-view-prompt/models/create-view-arguments.js +3 -0
- package/schematics/view/create-view-prompt/models/create-view-arguments.js.map +1 -0
- package/schematics/view/create-view-prompt/models/params-interfaces.d.ts +28 -0
- package/schematics/view/create-view-prompt/models/params-interfaces.js +3 -0
- package/schematics/view/create-view-prompt/models/params-interfaces.js.map +1 -0
- package/schematics/view/create-view-prompt/models/sidenav-prompt-options.d.ts +8 -0
- package/schematics/view/create-view-prompt/models/sidenav-prompt-options.js +3 -0
- package/schematics/view/create-view-prompt/models/sidenav-prompt-options.js.map +1 -0
- package/schematics/view/create-view-prompt/models/tab-content-template.d.ts +9 -0
- package/schematics/view/create-view-prompt/models/tab-content-template.js +11 -0
- package/schematics/view/create-view-prompt/models/tab-content-template.js.map +1 -0
- package/schematics/view/create-view-prompt/models/tabbed-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/models/tabbed-view.js +3 -0
- package/schematics/view/create-view-prompt/models/tabbed-view.js.map +1 -0
- package/schematics/view/create-view-prompt/schema-create-sidenav-prompt.json +25 -0
- package/schematics/view/create-view-prompt/schema-create-view-prompt.json +68 -0
- package/schematics/view/create-view-prompt/schematic-create-sidenav-prompt.d.ts +5 -0
- package/schematics/view/create-view-prompt/schematic-create-sidenav-prompt.js +49 -0
- package/schematics/view/create-view-prompt/schematic-create-sidenav-prompt.js.map +1 -0
- package/schematics/view/create-view-prompt/schematic-create-view-prompt.d.ts +3 -0
- package/schematics/view/create-view-prompt/schematic-create-view-prompt.js +88 -0
- package/schematics/view/create-view-prompt/schematic-create-view-prompt.js.map +1 -0
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.d.ts +4 -0
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.js +57 -0
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/case-view/files/common/__className@dasherize__.component.html.template +20 -0
- package/schematics/view/create-view-prompt/views/case-view/files/common/__className@dasherize__.component.spec.ts.template +52 -0
- package/schematics/view/create-view-prompt/views/case-view/files/simple/__className@dasherize__.component.scss.template +28 -0
- package/schematics/view/create-view-prompt/views/case-view/files/simple/__className@dasherize__.component.ts.template +67 -0
- package/schematics/view/create-view-prompt/views/case-view/files/tabbed/__className@dasherize__.component.scss.template +21 -0
- package/schematics/view/create-view-prompt/views/case-view/files/tabbed/__className@dasherize__.component.ts.template +64 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/create-dashboard-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/create-dashboard-view.js +34 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/create-dashboard-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/files/__className@dasherize__.component.html.template +1 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/files/__className@dasherize__.component.scss.template +0 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/files/__className@dasherize__.component.spec.ts.template +31 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/files/__className@dasherize__.component.ts.template +23 -0
- package/schematics/view/create-view-prompt/views/empty-view/create-empty-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/views/empty-view/create-empty-view.js +28 -0
- package/schematics/view/create-view-prompt/views/empty-view/create-empty-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/empty-view/files/__className@dasherize__.component.html.template +1 -0
- package/schematics/view/create-view-prompt/views/empty-view/files/__className@dasherize__.component.scss.template +0 -0
- package/schematics/view/create-view-prompt/views/empty-view/files/__className@dasherize__.component.spec.ts.template +25 -0
- package/schematics/view/create-view-prompt/views/empty-view/files/__className@dasherize__.component.ts.template +18 -0
- package/schematics/view/create-view-prompt/views/group-view/create-group-view.d.ts +4 -0
- package/schematics/view/create-view-prompt/views/group-view/create-group-view.js +37 -0
- package/schematics/view/create-view-prompt/views/group-view/create-group-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/group-view/files/__className@dasherize__.component.html.template +7 -0
- package/schematics/view/create-view-prompt/views/group-view/files/__className@dasherize__.component.scss.template +22 -0
- package/schematics/view/create-view-prompt/views/group-view/files/__className@dasherize__.component.spec.ts.template +49 -0
- package/schematics/view/create-view-prompt/views/group-view/files/__className@dasherize__.component.ts.template +69 -0
- package/schematics/view/create-view-prompt/views/login/create-login-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/views/login/create-login-view.js +36 -0
- package/schematics/view/create-view-prompt/views/login/create-login-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/login/files/__className@dasherize__.component.html.template +5 -0
- package/schematics/view/create-view-prompt/views/login/files/__className@dasherize__.component.scss.template +6 -0
- package/schematics/view/create-view-prompt/views/login/files/__className@dasherize__.component.spec.ts.template +38 -0
- package/schematics/view/create-view-prompt/views/login/files/__className@dasherize__.component.ts.template +18 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/create-sidenav-or-toolbar-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/create-sidenav-or-toolbar-view.js +82 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/create-sidenav-or-toolbar-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/files/__className@dasherize__.component.html.template +8 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/files/__className@dasherize__.component.scss.template +0 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/files/__className@dasherize__.component.spec.ts.template +51 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/files/__className@dasherize__.component.ts.template +19 -0
- package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js +161 -0
- package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/tab-view/files/__className@dasherize__.component.html.template +3 -0
- package/schematics/view/create-view-prompt/views/tab-view/files/__className@dasherize__.component.scss.template +3 -0
- package/schematics/view/create-view-prompt/views/tab-view/files/__className@dasherize__.component.spec.ts.template +27 -0
- package/schematics/view/create-view-prompt/views/tab-view/files/__className@dasherize__.component.ts.template +34 -0
- package/schematics/view/create-view-prompt/views/task-view/create-task-view.d.ts +4 -0
- package/schematics/view/create-view-prompt/views/task-view/create-task-view.js +47 -0
- package/schematics/view/create-view-prompt/views/task-view/create-task-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/task-view/files/common/__className@dasherize__.component.html.template +7 -0
- package/schematics/view/create-view-prompt/views/task-view/files/common/__className@dasherize__.component.scss.template +22 -0
- package/schematics/view/create-view-prompt/views/task-view/files/common/__className@dasherize__.component.spec.ts.template +49 -0
- package/schematics/view/create-view-prompt/views/task-view/files/simple/__className@dasherize__.component.ts.template +62 -0
- package/schematics/view/create-view-prompt/views/task-view/files/tabbed/__className@dasherize__.component.ts.template +64 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js +39 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/files/__className@dasherize__.component.html.template +15 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/files/__className@dasherize__.component.scss.template +17 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/files/__className@dasherize__.component.spec.ts.template +33 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/files/__className@dasherize__.component.ts.template +23 -0
- package/src/assets/default-user-avatar.png +0 -0
- package/src/assets/default-user-background.jpg +0 -0
- package/src/assets/flags/de.png +0 -0
- package/src/assets/flags/gb.png +0 -0
- package/src/assets/flags/sk.png +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.eot +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.otf +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.ttf +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.woff +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.woff2 +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300.eot +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300.svg +312 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300.ttf +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300.woff +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300.woff2 +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300italic.eot +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300italic.svg +329 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300italic.ttf +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300italic.woff +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300italic.woff2 +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500.eot +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500.svg +305 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500.ttf +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500italic.eot +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500italic.svg +326 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500italic.ttf +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500italic.woff +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500italic.woff2 +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-italic.eot +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-italic.svg +323 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-italic.ttf +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-italic.woff +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-italic.woff2 +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-regular.eot +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-regular.svg +308 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-regular.ttf +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/src/lib/admin/role-assignment/role-assignment.component.theme.scss +10 -0
- package/src/lib/data-fields/data-field.theme.scss +73 -0
- package/src/lib/dialog/dialog.theme.scss +13 -0
- package/src/lib/header/header.theme.scss +8 -0
- package/src/lib/navigation/navigation.theme.scss +9 -0
- package/src/lib/panel/panel.theme.scss +31 -0
- package/src/lib/search/advanced-search/search-clause-component/search-clause.component.theme.scss +9 -0
- package/src/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.theme.scss +9 -0
- package/src/lib/search/advanced-search/search-predicate-component/search-predicate.component.theme.scss +9 -0
- package/src/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/theme/user-assign-item.component.theme.scss +15 -0
- package/src/lib/side-menu/side-menu.theme.scss +24 -0
- package/src/lib/snack-bar/snack-bar.theme.scss +17 -0
- package/src/lib/tabs/tabs.theme.scss +16 -0
- package/src/lib/user/user.theme.scss +11 -0
- package/src/lib/view/view.theme.scss +16 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Component, Injector } from '@angular/core';
|
|
2
|
+
import { AbstractTabViewComponent, LoggerService, ViewService } from '@netgrif/components-core';
|
|
3
|
+
/**
|
|
4
|
+
* Component that renders a tab view.
|
|
5
|
+
*
|
|
6
|
+
* See {@link TabView} for the class that holds the logic for this view.
|
|
7
|
+
*/
|
|
8
|
+
export class TabViewComponent extends AbstractTabViewComponent {
|
|
9
|
+
constructor(_viewService, _logger, injector) {
|
|
10
|
+
super(_viewService, _logger, injector);
|
|
11
|
+
this._viewService = _viewService;
|
|
12
|
+
this._logger = _logger;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
TabViewComponent.ctorParameters = () => [
|
|
16
|
+
{ type: ViewService },
|
|
17
|
+
{ type: LoggerService },
|
|
18
|
+
{ type: Injector }
|
|
19
|
+
];
|
|
20
|
+
TabViewComponent.decorators = [
|
|
21
|
+
{ type: Component, args: [{
|
|
22
|
+
selector: 'nc-tab-view',
|
|
23
|
+
template: "<mat-tab-group [selectedIndex]=\"tabView.selectedIndex\"\n [class.center-tabs]=\"align === 'center'\"\n [class.end-tabs]=\"align === 'end'\"\n (selectedTabChange)=\"tabView.tabChange($event)\" class=\"tab-group\"\n [class.nae-tab-fill-height]=\"stretch\" fxFlex>\n <mat-tab *ngFor=\"let tab of tabView.openedTabs; let i=index\">\n <ng-template mat-tab-label>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <mat-icon class=\"icon-margin-right\"\n *ngIf=\"tab.label.icon !== undefined\">{{tab.label.icon}}</mat-icon>\n <span class=\"custom-badge\" [matBadge]=\"(badgeCount(tab) | async)\"\n [matBadgeHidden]=\"(badgeHidden(tab) | async)\">{{(tab.label.text | translate) + ((badgeHidden(tab) | async) ? '' : offset)}}</span>\n </div>\n <button mat-icon-button *ngIf=\"tab.canBeClosed\" (click)=\"tabView.closeTabIndex(i)\">\n <mat-icon>clear</mat-icon>\n </button>\n </div>\n </ng-template>\n <!-- TODO 16.4.2020 - lazy loading of tab contents is disabled for now -->\n <!-- <ng-template matTabContent>-->\n <nc-tab-creation-detector [initializeTabFunction]=\"initializeTabLambda\"\n [tabIndex]=\"i\"></nc-tab-creation-detector>\n <ng-template [ngIf]=\"tab.isTabInitialized\" class=\"full-height\">\n <ng-template [cdkPortalOutlet]=\"tab.portal\" class=\"full-height\"></ng-template>\n </ng-template>\n </mat-tab>\n</mat-tab-group>\n",
|
|
24
|
+
styles: [".icon-margin-right{margin-right:5px}.full-height{height:100%}.full-width{width:100%}.tab-group{height:100%}.mat-badge-content{top:-3px!important;right:-24px!important}.custom-badge .mat-badge-content{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;min-width:16px;text-align:center;border-radius:8px;padding-left:3px;padding-right:3px}"]
|
|
25
|
+
},] }
|
|
26
|
+
];
|
|
27
|
+
TabViewComponent.ctorParameters = () => [
|
|
28
|
+
{ type: ViewService },
|
|
29
|
+
{ type: LoggerService },
|
|
30
|
+
{ type: Injector }
|
|
31
|
+
];
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi90YWJzL3RhYi12aWV3L3RhYi12aWV3LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQUMsd0JBQXdCLEVBQUUsYUFBYSxFQUFFLFdBQVcsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBRTlGOzs7O0dBSUc7QUFNSCxNQUFNLE9BQU8sZ0JBQWlCLFNBQVEsd0JBQXdCO0lBRTFELFlBQXNCLFlBQXlCLEVBQVksT0FBc0IsRUFBRSxRQUFrQjtRQUNqRyxLQUFLLENBQUMsWUFBWSxFQUFFLE9BQU8sRUFBRSxRQUFRLENBQUMsQ0FBQztRQURyQixpQkFBWSxHQUFaLFlBQVksQ0FBYTtRQUFZLFlBQU8sR0FBUCxPQUFPLENBQWU7SUFFakYsQ0FBQzs7O1lBRm1DLFdBQVc7WUFBcUIsYUFBYTtZQUFZLFFBQVE7OztZQVB4RyxTQUFTLFNBQUM7Z0JBQ1AsUUFBUSxFQUFFLGFBQWE7Z0JBQ3ZCLGt2REFBd0M7O2FBRTNDOzs7WUFYZ0QsV0FBVztZQUExQixhQUFhO1lBRDVCLFFBQVEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudCwgSW5qZWN0b3J9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtBYnN0cmFjdFRhYlZpZXdDb21wb25lbnQsIExvZ2dlclNlcnZpY2UsIFZpZXdTZXJ2aWNlfSBmcm9tICdAbmV0Z3JpZi9jb21wb25lbnRzLWNvcmUnO1xuXG4vKipcbiAqIENvbXBvbmVudCB0aGF0IHJlbmRlcnMgYSB0YWIgdmlldy5cbiAqXG4gKiBTZWUge0BsaW5rIFRhYlZpZXd9IGZvciB0aGUgY2xhc3MgdGhhdCBob2xkcyB0aGUgbG9naWMgZm9yIHRoaXMgdmlldy5cbiAqL1xuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICduYy10YWItdmlldycsXG4gICAgdGVtcGxhdGVVcmw6ICcuL3RhYi12aWV3LmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi90YWItdmlldy5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIFRhYlZpZXdDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdFRhYlZpZXdDb21wb25lbnQge1xuXG4gICAgY29uc3RydWN0b3IocHJvdGVjdGVkIF92aWV3U2VydmljZTogVmlld1NlcnZpY2UsIHByb3RlY3RlZCBfbG9nZ2VyOiBMb2dnZXJTZXJ2aWNlLCBpbmplY3RvcjogSW5qZWN0b3IpIHtcbiAgICAgICAgc3VwZXIoX3ZpZXdTZXJ2aWNlLCBfbG9nZ2VyLCBpbmplY3Rvcik7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { TabViewComponent } from './tab-view/tab-view.component';
|
|
4
|
+
import { MatTabsModule } from '@angular/material/tabs';
|
|
5
|
+
import { TabCreationDetectorComponent } from './tab-creation-detector/tab-creation-detector.component';
|
|
6
|
+
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
7
|
+
import { MaterialModule, TranslateLibModule } from '@netgrif/components-core';
|
|
8
|
+
export class TabsComponentModule {
|
|
9
|
+
}
|
|
10
|
+
TabsComponentModule.decorators = [
|
|
11
|
+
{ type: NgModule, args: [{
|
|
12
|
+
declarations: [
|
|
13
|
+
TabViewComponent,
|
|
14
|
+
TabCreationDetectorComponent,
|
|
15
|
+
],
|
|
16
|
+
exports: [
|
|
17
|
+
TabViewComponent,
|
|
18
|
+
],
|
|
19
|
+
imports: [
|
|
20
|
+
CommonModule,
|
|
21
|
+
MatTabsModule,
|
|
22
|
+
MaterialModule,
|
|
23
|
+
FlexLayoutModule,
|
|
24
|
+
TranslateLibModule,
|
|
25
|
+
]
|
|
26
|
+
},] }
|
|
27
|
+
];
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL3RhYnMvdGFicy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sK0JBQStCLENBQUM7QUFDL0QsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQ3JELE9BQU8sRUFBQyw0QkFBNEIsRUFBQyxNQUFNLHlEQUF5RCxDQUFDO0FBQ3JHLE9BQU8sRUFBQyxnQkFBZ0IsRUF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gICAgICAgIFRhYlZpZXdDb21wb25lbnQsXG4gICAgICAgIFRhYkNyZWF0aW9uRGV0ZWN0b3JDb21wb25lbnQsXG4gICAgXSxcbiAgICBleHBvcnRzOiBbXG4gICAgICAgIFRhYlZpZXdDb21wb25lbnQsXG4gICAgXSxcbiAgICBpbXBvcnRzOiBbXG4gICAgICAgIENvbW1vbk1vZHVsZSxcbiAgICAgICAgTWF0VGFic01vZHVsZSxcbiAgICAgICAgTWF0ZXJpYWxNb2R1bGUsXG4gICAgICAgIEZsZXhMYXlvdXRNb2R1bGUsXG4gICAgICAgIFRyYW5zbGF0ZUxpYk1vZHVsZSxcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIFRhYnNDb21wb25lbnRNb2R1bGUge1xufVxuIl19
|
package/esm2015/lib/task-content/field-component-resolver/field-component-resolver.component.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractFieldComponentResolverComponent, TaskContentService } from '@netgrif/components-core';
|
|
3
|
+
export class FieldComponentResolverComponent extends AbstractFieldComponentResolverComponent {
|
|
4
|
+
constructor(taskContentService) {
|
|
5
|
+
super(taskContentService);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
FieldComponentResolverComponent.ctorParameters = () => [
|
|
9
|
+
{ type: TaskContentService }
|
|
10
|
+
];
|
|
11
|
+
FieldComponentResolverComponent.decorators = [
|
|
12
|
+
{ type: Component, args: [{
|
|
13
|
+
selector: 'nc-field-component-resolver',
|
|
14
|
+
template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" [ngClass]=\"{'min-row-height': isField()}\" [ngSwitch]=\"getElementType()\">\n <nc-boolean-field *ngSwitchCase=\"fieldTypeEnum.BOOLEAN\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-boolean-field>\n\n <nc-text-field *ngSwitchCase=\"fieldTypeEnum.TEXT\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-text-field>\n\n <nc-number-field *ngSwitchCase=\"fieldTypeEnum.NUMBER\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-number-field>\n\n <nc-enumeration-field *ngSwitchCase=\"fieldTypeEnum.ENUMERATION\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-enumeration-field>\n\n <nc-enumeration-field *ngSwitchCase=\"fieldTypeEnum.ENUMERATION_MAP\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-enumeration-field>\n\n <nc-multichoice-field *ngSwitchCase=\"fieldTypeEnum.MULTICHOICE\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-multichoice-field>\n\n <nc-multichoice-field *ngSwitchCase=\"fieldTypeEnum.MULTICHOICE_MAP\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-multichoice-field>\n\n <nc-date-field *ngSwitchCase=\"fieldTypeEnum.DATE\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-date-field>\n\n <nc-date-time-field *ngSwitchCase=\"fieldTypeEnum.DATE_TIME\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-date-time-field>\n\n <nc-file-field *ngSwitchCase=\"fieldTypeEnum.FILE\" [dataField]=\"getDataField()\" [taskId]=\"getTaskId()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-file-field>\n\n <nc-file-list-field *ngSwitchCase=\"fieldTypeEnum.FILE_LIST\" [dataField]=\"getDataField()\" [taskId]=\"getTaskId()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-file-list-field>\n\n <nc-user-field *ngSwitchCase=\"fieldTypeEnum.USER\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-user-field>\n\n <nc-button-field *ngSwitchCase=\"fieldTypeEnum.BUTTON\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex>\n </nc-button-field>\n\n <nc-filter-field *ngSwitchCase=\"fieldTypeEnum.FILTER\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex=\"\">\n </nc-filter-field>\n\n <nc-i18n-field *ngSwitchCase=\"fieldTypeEnum.I18N\" [dataField]=\"getDataField()\" [taskOffset]=\"getFieldOffset()\" fxFlex=\"\">\n </nc-i18n-field>\n\n <div *ngSwitchCase=\"taskElementEnum.DATA_GROUP_TITLE\" fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div fxFlex=\"20\" class=\"line-datagroup\"></div>\n <span [ngClass]=\"{'margin-default': getDataGroupTitle() !== ''}\">{{getDataGroupTitle()}}</span>\n <div fxFlex class=\"line-datagroup\"></div>\n </div>\n\n <div *ngSwitchCase=\"taskElementEnum.LOADER\" class=\"min-row-height\" fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div class=\"phl-item\">\n <div class=\"phl-row\" fxLayoutAlign=\"center center\">\n <div class=\"phl-col\">\n </div>\n </div>\n </div>\n </div>\n\n <div *ngSwitchCase=\"taskElementEnum.BLANK\"></div>\n</div>\n",
|
|
15
|
+
styles: [".line-datagroup{height:1px;background:rgba(0,0,0,.12)}.margin-default{margin-right:8px;margin-left:8px}.min-row-height{min-height:105px}.phl-row{width:100%;flex-wrap:wrap}.phl-col{height:70px;flex:0 0 90%;background-color:#ced4da;border-radius:8px}.phl-item{width:100%;position:relative;display:flex;flex-wrap:wrap;overflow:hidden;background-color:#fff}.phl-item::after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translateX(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0));-webkit-animation:1s infinite shimmer;animation:1s infinite shimmer;content:\"\"}@-webkit-keyframes shimmer{100%{transform:translateX(100%)}}@keyframes shimmer{100%{transform:translateX(100%)}}.phl-item,.phl-item *,.phl-item::after,.phl-item::before{box-sizing:border-box}"]
|
|
16
|
+
},] }
|
|
17
|
+
];
|
|
18
|
+
FieldComponentResolverComponent.ctorParameters = () => [
|
|
19
|
+
{ type: TaskContentService }
|
|
20
|
+
];
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGQtY29tcG9uZW50LXJlc29sdmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvdGFzay1jb250ZW50L2ZpZWxkLWNvbXBvbmVudC1yZXNvbHZlci9maWVsZC1jb21wb25lbnQtcmVzb2x2ZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLHVDQUF1QyxFQUFFLGtCQUFrQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFPckcsTUFBTSxPQUFPLCtCQUFnQyxTQUFRLHVDQUF1QztJQUV4RixZQUFZLGtCQUFzQztRQUM5QyxLQUFLLENBQUMsa0JBQWtCLENBQUMsQ0FBQztJQUM5QixDQUFDOzs7WUFGK0Isa0JBQWtCOzs7WUFQckQsU0FBUyxTQUFDO2dCQUNQLFFBQVEsRUFBRSw2QkFBNkI7Z0JBQ3ZDLHMyR0FBd0Q7O2FBRTNEOzs7WUFOZ0Qsa0JBQWtCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtBYnN0cmFjdEZpZWxkQ29tcG9uZW50UmVzb2x2ZXJDb21wb25lbnQsIFRhc2tDb250ZW50U2VydmljZX0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICduYy1maWVsZC1jb21wb25lbnQtcmVzb2x2ZXInLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9maWVsZC1jb21wb25lbnQtcmVzb2x2ZXIuY29tcG9uZW50Lmh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL2ZpZWxkLWNvbXBvbmVudC1yZXNvbHZlci5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIEZpZWxkQ29tcG9uZW50UmVzb2x2ZXJDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdEZpZWxkQ29tcG9uZW50UmVzb2x2ZXJDb21wb25lbnQge1xuXG4gICAgY29uc3RydWN0b3IodGFza0NvbnRlbnRTZXJ2aWNlOiBUYXNrQ29udGVudFNlcnZpY2UpIHtcbiAgICAgICAgc3VwZXIodGFza0NvbnRlbnRTZXJ2aWNlKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/* MODULES */
|
|
2
|
+
export * from './task-content.module';
|
|
3
|
+
/* COMPONENTS */
|
|
4
|
+
export * from './task-content/task-content.component';
|
|
5
|
+
export * from './field-component-resolver/field-component-resolver.component';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvdGFzay1jb250ZW50L3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsYUFBYTtBQUNiLGNBQWMsdUJBQXVCLENBQUM7QUFFdEMsZ0JBQWdCO0FBQ2hCLGNBQWMsdUNBQXVDLENBQUM7QUFDdEQsY0FBYywrREFBK0QsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qIE1PRFVMRVMgKi9cbmV4cG9ydCAqIGZyb20gJy4vdGFzay1jb250ZW50Lm1vZHVsZSc7XG5cbi8qIENPTVBPTkVOVFMgKi9cbmV4cG9ydCAqIGZyb20gJy4vdGFzay1jb250ZW50L3Rhc2stY29udGVudC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9maWVsZC1jb21wb25lbnQtcmVzb2x2ZXIvZmllbGQtY29tcG9uZW50LXJlc29sdmVyLmNvbXBvbmVudCc7XG4iXX0=
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
+
import { AbstractTaskContentComponent, FieldConverterService, TaskContentService, PaperViewService, LoggerService, NAE_ASYNC_RENDERING_CONFIGURATION, TaskEventService } from '@netgrif/components-core';
|
|
3
|
+
export class TaskContentComponent extends AbstractTaskContentComponent {
|
|
4
|
+
constructor(_fieldConverter, taskContentService, _paperView, _logger, _taskEventService, config) {
|
|
5
|
+
super(_fieldConverter, taskContentService, _paperView, _logger, _taskEventService, config);
|
|
6
|
+
this._fieldConverter = _fieldConverter;
|
|
7
|
+
this.taskContentService = taskContentService;
|
|
8
|
+
this._paperView = _paperView;
|
|
9
|
+
this._logger = _logger;
|
|
10
|
+
this._taskEventService = _taskEventService;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
TaskContentComponent.ctorParameters = () => [
|
|
14
|
+
{ type: FieldConverterService },
|
|
15
|
+
{ type: TaskContentService },
|
|
16
|
+
{ type: PaperViewService },
|
|
17
|
+
{ type: LoggerService },
|
|
18
|
+
{ type: TaskEventService, decorators: [{ type: Optional }] },
|
|
19
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NAE_ASYNC_RENDERING_CONFIGURATION,] }] }
|
|
20
|
+
];
|
|
21
|
+
TaskContentComponent.decorators = [
|
|
22
|
+
{ type: Component, args: [{
|
|
23
|
+
selector: 'nc-task-content',
|
|
24
|
+
template: "<div *ngIf=\"loading$ | async; else notLoading\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <mat-spinner color=\"primary\"></mat-spinner>\n</div>\n\n<ng-template #notLoading>\n <div *ngIf=\"hasDataToDisplay$ | async; else noContentToDisplay\"\n [ngClass]=\"{'paper-view-content mat-elevation-z10': isPaperView(), 'scrolling_data': this.scrollingNeeded()}\"\n [ngStyle]=\"{'max-height': this.resolveContentHeightCss()}\">\n <div fxLayout=\"column\" fxLayoutAlign=\"start stretch\"\n *ngFor=\"let subgrid of dataSource; trackBy: trackBySubgridFn\">\n <div [gdAreas]=\"subgrid.gridAreas\" [gdColumns]=\"subgrid.getGridColumns()\" class=\"grid-rows-auto\">\n <div *ngFor=\"let item of subgrid.content; trackBy: trackByFn\"\n [gdArea]=\"item.gridAreaId\"\n class=\"border\" fxLayout=\"row\" [fxLayoutAlign]=\"getItemAlignment(item)\">\n <nc-field-component-resolver [id]=\"item?.item?.stringId\" [gridElement]=\"item\" fxFlex></nc-field-component-resolver>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #noContentToDisplay>\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <mat-icon *ngIf=\"displayNoDataIcon\">{{noDataIcon ? noDataIcon : 'block'}}</mat-icon>\n <span>{{(noDataText ? noDataText : 'tasks.view.noData') | translate}}</span>\n </div>\n</ng-template>\n",
|
|
25
|
+
styles: [".border{overflow-y:auto}.paper-view-content{padding:20px;width:22cm;border:1px solid #ddd}.scrolling_data{overflow-y:auto!important}.grid-rows-auto{-ms-grid-rows:auto;grid-template-rows:auto}"]
|
|
26
|
+
},] }
|
|
27
|
+
];
|
|
28
|
+
TaskContentComponent.ctorParameters = () => [
|
|
29
|
+
{ type: FieldConverterService },
|
|
30
|
+
{ type: TaskContentService },
|
|
31
|
+
{ type: PaperViewService },
|
|
32
|
+
{ type: LoggerService },
|
|
33
|
+
{ type: TaskEventService, decorators: [{ type: Optional }] },
|
|
34
|
+
{ type: undefined, decorators: [{ type: Optional }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XG4gICAgY29uc3RydWN0b3IocHJvdGVjdGVkIF9maWVsZENvbnZlcnRlcjogRmllbGRDb252ZXJ0ZXJTZXJ2aWNlLFxuICAgICAgICAgICAgICAgIHB1YmxpYyB0YXNrQ29udGVudFNlcnZpY2U6IFRhc2tDb250ZW50U2VydmljZSxcbiAgICAgICAgICAgICAgICBwcm90ZWN0ZWQgX3BhcGVyVmlldzogUGFwZXJWaWV3U2VydmljZSxcbiAgICAgICAgICAgICAgICBwcm90ZWN0ZWQgX2xvZ2dlcjogTG9nZ2VyU2VydmljZSxcbiAgICAgICAgICAgICAgICBAT3B0aW9uYWwoKSBwcm90ZWN0ZWQgX3Rhc2tFdmVudFNlcnZpY2U6IFRhc2tFdmVudFNlcnZpY2UsXG4gICAgICAgICAgICAgICAgQE9wdGlvbmFsKCkgQEluamVjdChOQUVfQVNZTkNfUkVOREVSSU5HX0NPTkZJR1VSQVRJT04pIGNvbmZpZykge1xuICAgICAgICBzdXBlcihfZmllbGRDb252ZXJ0ZXIsIHRhc2tDb250ZW50U2VydmljZSwgX3BhcGVyVmlldywgX2xvZ2dlciwgX3Rhc2tFdmVudFNlcnZpY2UsIGNvbmZpZyk7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { TaskContentComponent } from './task-content/task-content.component';
|
|
4
|
+
import { DataFieldsComponentModule } from '../data-fields/data-fields.module';
|
|
5
|
+
import { FlexModule } from '@angular/flex-layout';
|
|
6
|
+
import { SnackBarModule, MaterialModule, TranslateLibModule } from '@netgrif/components-core';
|
|
7
|
+
import { FieldComponentResolverComponent } from './field-component-resolver/field-component-resolver.component';
|
|
8
|
+
export class TaskContentComponentModule {
|
|
9
|
+
}
|
|
10
|
+
TaskContentComponentModule.decorators = [
|
|
11
|
+
{ type: NgModule, args: [{
|
|
12
|
+
declarations: [
|
|
13
|
+
TaskContentComponent,
|
|
14
|
+
FieldComponentResolverComponent
|
|
15
|
+
],
|
|
16
|
+
imports: [
|
|
17
|
+
CommonModule,
|
|
18
|
+
MaterialModule,
|
|
19
|
+
FlexModule,
|
|
20
|
+
TranslateLibModule,
|
|
21
|
+
SnackBarModule,
|
|
22
|
+
DataFieldsComponentModule
|
|
23
|
+
],
|
|
24
|
+
exports: [
|
|
25
|
+
TaskContentComponent
|
|
26
|
+
],
|
|
27
|
+
entryComponents: [
|
|
28
|
+
TaskContentComponent
|
|
29
|
+
]
|
|
30
|
+
},] }
|
|
31
|
+
];
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1jb250ZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvdGFzay1jb250ZW50L3Rhc2stY29udGVudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0sdUNBQXVDLENBQUM7QUFDM0UsT0FBTyxFQUFDLHlCQUF5QixFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFDNUUsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLHNCQUFzQixDQUFDO0FBQ2hELE9BQU8sRUFBQyxjQUFjLEVBQUUsY0FBYyxFQUFFLGtCQUFrQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFDNUYsT0FBTyxFQUFDLCtCQUErQixFQUFDLE1BQU0sK0RBQStELENBQUM7QUF1QjlHLE1BQU0sT0FBTywwQkFBMEI7OztZQXBCdEMsUUFBUSxTQUFDO2dCQUNOLFlBQVksRUFBRTtvQk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vbmVudFJlc29sdmVyQ29tcG9uZW50XG4gICAgXSxcbiAgICBpbXBvcnRzOiBbXG4gICAgICAgIENvbW1vbk1vZHVsZSxcbiAgICAgICAgTWF0ZXJpYWxNb2R1bGUsXG4gICAgICAgIEZsZXhNb2R1bGUsXG4gICAgICAgIFRyYW5zbGF0ZUxpYk1vZHVsZSxcbiAgICAgICAgU25hY2tCYXJNb2R1bGUsXG4gICAgICAgIERhdGFGaWVsZHNDb21wb25lbnRNb2R1bGVcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgVGFza0NvbnRlbnRDb21wb25lbnRcbiAgICBdLFxuICAgIGVudHJ5Q29tcG9uZW50czogW1xuICAgICAgICBUYXNrQ29udGVudENvbXBvbmVudFxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgVGFza0NvbnRlbnRDb21wb25lbnRNb2R1bGUge1xufVxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './toolbar.module';
|
|
2
|
+
export * from './toolbar.component';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvdG9vbGJhci9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUM7QUFFakMsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdG9vbGJhci5tb2R1bGUnO1xuXG5leHBvcnQgKiBmcm9tICcuL3Rvb2xiYXIuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { AbstractToolbarComponent, LanguageService } from '@netgrif/components-core';
|
|
4
|
+
export class ToolbarComponent extends AbstractToolbarComponent {
|
|
5
|
+
constructor(translate, selectLangService) {
|
|
6
|
+
super(translate, selectLangService);
|
|
7
|
+
this.translate = translate;
|
|
8
|
+
this.selectLangService = selectLangService;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
ToolbarComponent.ctorParameters = () => [
|
|
12
|
+
{ type: TranslateService },
|
|
13
|
+
{ type: LanguageService }
|
|
14
|
+
];
|
|
15
|
+
ToolbarComponent.decorators = [
|
|
16
|
+
{ type: Component, args: [{
|
|
17
|
+
selector: 'nc-toolbar',
|
|
18
|
+
template: "<mat-toolbar color=\"primary\">\n <mat-toolbar-row fxLayout=\"row\">\n <div class=\"main-toolbar-logo\" fxFlex fxLayout=\"row\">\n <a href=\"/\">\n <img [src]=\"logoSrc\" [alt]=\"logoAlt\">\n </a>\n </div>\n <div fxFlex fxHide.gt-xs=\"false\" fxHide.lt-md=\"true\" fxLayout=\"row\" fxLayoutAlign=\"center\">\n {{appName}}\n </div>\n <div class=\"main-toolbar-menu\" fxFlex fxLayout=\"row\" fxLayoutAlign=\"end\">\n <button mat-button [matMenuTriggerFor]=\"mainMenu\" class=\"main-toolbar-menu-button\" fxLayout=\"row\">\n <span class=\"main-toolbar-logged-user\" fxHide.xs=\"true\">{{loggedUser}}</span>\n <mat-icon class=\"main-toolbar-icon\" aria-hidden=\"false\" aria-label=\"Example home icon\">account_circle\n </mat-icon>\n <mat-menu #mainMenu=\"matMenu\" class=\"main-toolbar-opened-menu\">\n <button mat-menu-item [matMenuTriggerFor]=\"languages\">\n <mat-icon class=\"main-toolbar-menu-icon\" aria-hidden=\"false\" aria-label=\"Example home icon\">\n language\n </mat-icon>\n {{ 'toolbar.menu.lang' | translate }}\n </button>\n <button mat-menu-item>\n <mat-icon class=\"main-toolbar-menu-icon\" aria-hidden=\"false\" aria-label=\"Example home icon\">\n account_circle\n </mat-icon>\n {{ 'toolbar.menu.profile' | translate }}\n </button>\n <button mat-menu-item>\n <mat-icon class=\"main-toolbar-menu-icon\" aria-hidden=\"false\" aria-label=\"Example home icon\">\n exit_to_app\n </mat-icon>\n {{ 'toolbar.menu.logout' | translate }}\n </button>\n </mat-menu>\n <mat-menu #languages=\"matMenu\">\n <button mat-menu-item (click)=\"setLang('en-UK')\">{{ 'toolbar.menu.en' | translate }}\n <mat-icon *ngIf=\"activeLang('en-UK')\" class=\"main-toolbar-menu-icon\"\n aria-hidden=\"false\" aria-label=\"Example home icon\">keyboard_arrow_left\n </mat-icon>\n </button>\n <button mat-menu-item (click)=\"setLang('sk-SK')\">{{ 'toolbar.menu.sk' | translate }}\n <mat-icon *ngIf=\"activeLang('sk-SK')\" class=\"main-toolbar-menu-icon\"\n aria-hidden=\"false\" aria-label=\"Example home icon\">keyboard_arrow_left\n </mat-icon>\n </button>\n <button mat-menu-item (click)=\"setLang('de-DE')\">{{ 'toolbar.menu.de' | translate }}\n <mat-icon *ngIf=\"activeLang('de-DE')\" class=\"main-toolbar-menu-icon\"\n aria-hidden=\"false\" aria-label=\"Example home icon\">keyboard_arrow_left\n </mat-icon>\n </button>\n </mat-menu>\n </button>\n </div>\n </mat-toolbar-row>\n</mat-toolbar>\n",
|
|
19
|
+
styles: [".main-toolbar-logo{max-height:60%}.main-toolbar-logo img{width:120px}mat-icon.main-toolbar-icon{font-size:48px;height:100%;margin-right:15px}.main-toolbar-logged-user{margin-right:15px}.main-toolbar-menu,.main-toolbar-menu-button{font-size:20px;height:100%}.main-toolbar-menu-icon{font-size:23px}"]
|
|
20
|
+
},] }
|
|
21
|
+
];
|
|
22
|
+
ToolbarComponent.ctorParameters = () => [
|
|
23
|
+
{ type: TranslateService },
|
|
24
|
+
{ type: LanguageService }
|
|
25
|
+
];
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb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G4gICAgc3R5bGVVcmxzOiBbJy4vdG9vbGJhci5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIFRvb2xiYXJDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdFRvb2xiYXJDb21wb25lbnQge1xuXG4gICAgY29uc3RydWN0b3IocHJvdGVjdGVkIHRyYW5zbGF0ZTogVHJhbnNsYXRlU2VydmljZSwgcHJvdGVjdGVkIHNlbGVjdExhbmdTZXJ2aWNlOiBMYW5ndWFnZVNlcnZpY2UpIHtcbiAgICAgICAgc3VwZXIodHJhbnNsYXRlLCBzZWxlY3RMYW5nU2VydmljZSk7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ToolbarComponent } from './toolbar.component';
|
|
4
|
+
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
5
|
+
import { MaterialModule, TranslateLibModule } from '@netgrif/components-core';
|
|
6
|
+
export class ToolbarComponentModule {
|
|
7
|
+
}
|
|
8
|
+
ToolbarComponentModule.decorators = [
|
|
9
|
+
{ type: NgModule, args: [{
|
|
10
|
+
declarations: [ToolbarComponent],
|
|
11
|
+
imports: [
|
|
12
|
+
CommonModule,
|
|
13
|
+
FlexLayoutModule,
|
|
14
|
+
MaterialModule,
|
|
15
|
+
TranslateLibModule
|
|
16
|
+
],
|
|
17
|
+
exports: [
|
|
18
|
+
ToolbarComponent
|
|
19
|
+
]
|
|
20
|
+
},] }
|
|
21
|
+
];
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL3Rvb2xiYXIvdG9vbGJhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJt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ICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBGbGV4TGF5b3V0TW9kdWxlLFxuICAgICAgICBNYXRlcmlhbE1vZHVsZSxcbiAgICAgICAgVHJhbnNsYXRlTGliTW9kdWxlXG4gICAgXSxcbiAgICBleHBvcnRzOiBbXG4gICAgICAgIFRvb2xiYXJDb21wb25lbnRcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIFRvb2xiYXJDb21wb25lbnRNb2R1bGUge1xufVxuIl19
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractProfileComponent, UserService } from '@netgrif/components-core';
|
|
3
|
+
export class ProfileComponent extends AbstractProfileComponent {
|
|
4
|
+
constructor(_userService) {
|
|
5
|
+
super(_userService);
|
|
6
|
+
this._userService = _userService;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
ProfileComponent.ctorParameters = () => [
|
|
10
|
+
{ type: UserService }
|
|
11
|
+
];
|
|
12
|
+
ProfileComponent.decorators = [
|
|
13
|
+
{ type: Component, args: [{
|
|
14
|
+
selector: 'nc-user-profile',
|
|
15
|
+
template: "<div *ngIf=\"!user\">\n <div fxLayout=\"row\" fxFlex=\"50\" fxLayoutAlign=\"center center\">\n <mat-card fxLayoutAlign=\"center center\">\n <h1>{{ 'profile.notLogged' | translate}}</h1>\n </mat-card>\n </div>\n</div>\n<div *ngIf=\"user\" fxLayout=\"column\" fxLayoutAlign=\"center start\">\n <div [style.backgroundImage]=\"'url('+userBanner+')'\" fxLayout=\"row\" class=\"full-width banner mat-elevation-z6\"\n matRipple fxLayoutAlign=\"start center\">\n <div class=\"user-avatar-large mat-elevation-z6 margin-banner\" matRipple>\n <img [src]=\"userAvatar\" alt=\"user avatar\" class=\"full-width full-height\">\n </div>\n <h1 class=\"white-name\">{{user.fullName}}</h1>\n </div>\n <div fxLayout=\"row\" fxFlex fxLayoutAlign=\"center end\" class=\"full-width div-background\">\n <div fxFlex=\"80\" class=\"tab-group margin-bottom-x2 mat-elevation-z4\">\n <div fxLayout=\"row\">\n <div fxFlex=\"50\" class=\"padding-x2\" fxLayout=\"column\">\n <div fxLayout=\"column\" class=\"full-height border\">\n <div fxLayoutAlign=\"center start\" class=\"card-title\" matRipple>\n <h2>{{ 'profile.personal' | translate}}</h2>\n </div>\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"center center\" class=\"padding-default\">\n <mat-form-field appearance=\"outline\" class=\"full-width\">\n <mat-label>{{ 'profile.name' | translate}}</mat-label>\n <input matInput disabled [value]=user.firstName>\n </mat-form-field>\n <mat-form-field appearance=\"outline\" class=\"full-width\">\n <mat-label>{{ 'profile.surname' | translate}}</mat-label>\n <input matInput disabled [value]=user.lastName>\n </mat-form-field>\n <mat-form-field appearance=\"outline\" class=\"full-width\">\n <mat-label>Email</mat-label>\n <input disabled matInput [value]=\"user.email\">\n </mat-form-field>\n </div>\n </div>\n </div>\n <div fxFlex=\"50\" class=\"padding-x2\" fxLayout=\"column\">\n <div fxLayout=\"column\" class=\"full-height border\">\n <div fxLayoutAlign=\"center start\" class=\"card-title\" matRipple>\n <h2>{{ 'profile.authority' | translate}}</h2>\n </div>\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"center center\" class=\"padding-default\">\n <mat-form-field appearance=\"outline\" class=\"user-chip-list\">\n <mat-chip-list disabled>\n <mat-chip color=\"primary\"\n *ngFor=\"let authority of user.authorities\">{{authority}}</mat-chip>\n </mat-chip-list>\n </mat-form-field>\n </div>\n </div>\n </div>\n </div>\n <div fxLayout=\"row\">\n <div fxFlex=\"50\" class=\"padding-x2\" fxLayout=\"column\">\n <div fxLayout=\"column\" class=\"full-height border\">\n <div fxLayoutAlign=\"center start\" class=\"card-title\" matRipple>\n <h2>{{ 'profile.roles' | translate}}</h2>\n </div>\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"center center\" class=\"padding-default\">\n <mat-form-field appearance=\"outline\" class=\"user-chip-list\">\n <mat-chip-list disabled>\n <mat-chip color=\"primary\" *ngFor=\"let role of user.roles\">{{role.name}}</mat-chip>\n </mat-chip-list>\n </mat-form-field>\n </div>\n </div>\n </div>\n <div fxFlex=\"50\" class=\"padding-x2\" fxLayout=\"column\">\n <div fxLayout=\"column\" class=\"full-height border\">\n <div fxLayoutAlign=\"center start\" class=\"card-title\" matRipple>\n <h2>{{ 'profile.groups' | translate}}</h2>\n </div>\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"center center\" class=\"padding-default\">\n <mat-form-field appearance=\"outline\" class=\"user-chip-list\">\n <mat-chip-list disabled>\n <mat-chip color=\"primary\" *ngFor=\"let group of user.groups\">{{group}}</mat-chip>\n </mat-chip-list>\n </mat-form-field>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n",
|
|
16
|
+
styles: [".full-height{height:100%;min-height:100%}.full-width{width:100%;min-width:100%}.padding-default{padding:8px}.padding-half{padding:4px}.padding-x2{padding:16px}.margin-default{margin:8px}.margin-half{margin:4px}.margin-x2{margin:16px}.margin-top-default{margin-top:8px}.margin-top-half{margin-top:4px}.margin-top-x2{margin-top:16px}.margin-bottom-default{margin-bottom:8px}.margin-bottom-half{margin-bottom:4px}.margin-bottom-x2{margin-bottom:16px}.margin-left-default{margin-left:8px}.margin-left-half{margin-left:4px}.margin-left-x2{margin-left:16px}.margin-right-default{margin-right:8px}.margin-right-half{margin-right:4px}.margin-right-x2{margin-right:16px}.user-avatar-large{width:100px;height:100px;border-radius:100px}.banner{height:250px;background-repeat:no-repeat;background-size:cover}.margin-banner{margin-left:10%;margin-right:32px}.white-name{color:#fff}.tab-group{margin-top:-48px;z-index:100;background:#f0f0f0}.div-background{background:#ddd}.user-chip-list{width:100%}.border{border:1px solid #ddd;border-radius:5px;background:#fff}"]
|
|
17
|
+
},] }
|
|
18
|
+
];
|
|
19
|
+
ProfileComponent.ctorParameters = () => [
|
|
20
|
+
{ type: UserService }
|
|
21
|
+
];
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,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vbXBvbmVudCB7XG4gICAgY29uc3RydWN0b3IocHJvdGVjdGVkIF91c2VyU2VydmljZTogVXNlclNlcnZpY2UpIHtcbiAgICAgICAgc3VwZXIoX3VzZXJTZXJ2aWNlKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ProfileComponent } from './profile.component';
|
|
4
|
+
import { MaterialModule, TranslateLibModule } from '@netgrif/components-core';
|
|
5
|
+
export class ProfileComponentModule {
|
|
6
|
+
}
|
|
7
|
+
ProfileComponentModule.decorators = [
|
|
8
|
+
{ type: NgModule, args: [{
|
|
9
|
+
declarations: [ProfileComponent],
|
|
10
|
+
exports: [
|
|
11
|
+
ProfileComponent
|
|
12
|
+
],
|
|
13
|
+
imports: [
|
|
14
|
+
CommonModule,
|
|
15
|
+
MaterialModule,
|
|
16
|
+
TranslateLibModule
|
|
17
|
+
]
|
|
18
|
+
},] }
|
|
19
|
+
];
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL3VzZXIvcHJvZmlsZS9wcm9maWxlLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUNyRCxPQUFPLEVBQUMsY0FBYyxFQUFFLGtCQUFrQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFjNUUsTUFBTSxPQUFPLHNCQUFzQjs7O1lBWGxDLFFBQVEsU0FBQztnQkFDTixZQUFZLEVBQUUsQ0FBQyxnQkFBZ0IsQ0FBQztnQkFDaEMsT0FBTyxFQUFFO29CQUNMLGdCQUFnQjtpQkFDbkI7Z0JBQ0QsT0FBTyxFQUFFO29CQUNMLFlBQVk7b0JBQ1osY0FBYztvQkFDZCxrQkFBa0I7aUJBQ3JCO2FBQ0oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7Q29tbW9uTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHtQcm9maWxlQ29tcG9uZW50fSBmcm9tICcuL3Byb2ZpbGUuY29tcG9uZW50JztcbmltcG9ydCB7TWF0ZXJpYWxNb2R1bGUsIFRyYW5zbGF0ZUxpYk1vZHVsZX0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcblxuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW1Byb2ZpbGVDb21wb25lbnRdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgUHJvZmlsZUNvbXBvbmVudFxuICAgIF0sXG4gICAgaW1wb3J0czogW1xuICAgICAgICBDb21tb25Nb2R1bGUsXG4gICAgICAgIE1hdGVyaWFsTW9kdWxlLFxuICAgICAgICBUcmFuc2xhdGVMaWJNb2R1bGVcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIFByb2ZpbGVDb21wb25lbnRNb2R1bGUge1xufVxuIl19
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/* MODULES */
|
|
2
|
+
export * from './user.module';
|
|
3
|
+
export * from './profile/profile.module';
|
|
4
|
+
/* COMPONENTS */
|
|
5
|
+
export * from './user-card/user-card.component';
|
|
6
|
+
export * from './profile/profile.component';
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvdXNlci9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGFBQWE7QUFDYixjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLDBCQUEwQixDQUFDO0FBRXpDLGdCQUFnQjtBQUNoQixjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsNkJBQTZCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKiBNT0RVTEVTICovXG5leHBvcnQgKiBmcm9tICcuL3VzZXIubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vcHJvZmlsZS9wcm9maWxlLm1vZHVsZSc7XG5cbi8qIENPTVBPTkVOVFMgKi9cbmV4cG9ydCAqIGZyb20gJy4vdXNlci1jYXJkL3VzZXItY2FyZC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9maWxlL3Byb2ZpbGUuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Component, Injector } from '@angular/core';
|
|
2
|
+
import { AbstractUserCardComponent } from '@netgrif/components-core';
|
|
3
|
+
export class UserCardComponent extends AbstractUserCardComponent {
|
|
4
|
+
constructor(_injector) {
|
|
5
|
+
super(_injector);
|
|
6
|
+
this._injector = _injector;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
UserCardComponent.ctorParameters = () => [
|
|
10
|
+
{ type: Injector }
|
|
11
|
+
];
|
|
12
|
+
UserCardComponent.decorators = [
|
|
13
|
+
{ type: Component, args: [{
|
|
14
|
+
selector: 'nc-user-card',
|
|
15
|
+
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>{{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",
|
|
16
|
+
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}.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:0!important}"]
|
|
17
|
+
},] }
|
|
18
|
+
];
|
|
19
|
+
UserCardComponent.ctorParameters = () => [
|
|
20
|
+
{ type: Injector }
|
|
21
|
+
];
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvdXNlci91c2VyLWNhcmQvdXNlci1jYXJkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQUMseUJBQXlCLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQU9uRSxNQUFNLE9BQU8saUJBQWtCLFNBQVEseUJBQXlCO0lBRTVELFlBQXNCLFNBQW1CO1FBQ3JDLEtBQUssQ0FBQyxTQUFTLENBQUMsQ0FBQztRQURDLGNBQVMsR0FBVCxTQUFTLENBQVU7SUFFekMsQ0FBQzs7O1lBRmdDLFFBQVE7OztZQVA1QyxTQUFTLFNBQUM7Z0JBQ1AsUUFBUSxFQUFFLGNBQWM7Z0JBQ3hCLDJ4R0FBeUM7O2FBRTVDOzs7WUFQa0IsUUFBUSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q29tcG9uZW50LCBJbmplY3Rvcn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0Fic3RyYWN0VXNlckNhcmRDb21wb25lbnR9IGZyb20gJ0BuZXRncmlmL2NvbXBvbmVudHMtY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnbmMtdXNlci1jYXJkJyxcbiAgICB0ZW1wbGF0ZVVybDogJy4vdXNlci1jYXJkLmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi91c2VyLWNhcmQuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBVc2VyQ2FyZENvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0VXNlckNhcmRDb21wb25lbnQge1xuXG4gICAgY29uc3RydWN0b3IocHJvdGVjdGVkIF9pbmplY3RvcjogSW5qZWN0b3IpIHtcbiAgICAgICAgc3VwZXIoX2luamVjdG9yKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
export class UserComponentModule {
|
|
7
|
+
}
|
|
8
|
+
UserComponentModule.decorators = [
|
|
9
|
+
{ type: NgModule, args: [{
|
|
10
|
+
declarations: [UserCardComponent],
|
|
11
|
+
exports: [
|
|
12
|
+
UserCardComponent
|
|
13
|
+
],
|
|
14
|
+
imports: [
|
|
15
|
+
CommonModule,
|
|
16
|
+
RouterModule,
|
|
17
|
+
MaterialModule,
|
|
18
|
+
TranslateLibModule
|
|
19
|
+
]
|
|
20
|
+
},] }
|
|
21
|
+
];
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJ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BkZWNsYXJhdGlvbnM6IFtVc2VyQ2FyZENvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBVc2VyQ2FyZENvbXBvbmVudFxuICAgIF0sXG4gICAgaW1wb3J0czogW1xuICAgICAgICBDb21tb25Nb2R1bGUsXG4gICAgICAgIFJvdXRlck1vZHVsZSxcbiAgICAgICAgTWF0ZXJpYWxNb2R1bGUsXG4gICAgICAgIFRyYW5zbGF0ZUxpYk1vZHVsZVxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgVXNlckNvbXBvbmVudE1vZHVsZSB7XG59XG4iXX0=
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
export class CaseViewComponentModule {
|
|
8
|
+
}
|
|
9
|
+
CaseViewComponentModule.decorators = [
|
|
10
|
+
{ type: NgModule, args: [{
|
|
11
|
+
declarations: [CaseListComponent],
|
|
12
|
+
exports: [CaseListComponent],
|
|
13
|
+
imports: [
|
|
14
|
+
CommonModule,
|
|
15
|
+
MaterialModule,
|
|
16
|
+
FlexModule,
|
|
17
|
+
PanelComponentModule,
|
|
18
|
+
TranslateLibModule
|
|
19
|
+
]
|
|
20
|
+
},] }
|
|
21
|
+
];
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS12aWV3Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvdmlldy9jYXNlLXZpZXcvY2FzZS12aWV3Lm1vZHVsZS50cyJdLCJuYW1lcyI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ydCB7TWF0ZXJpYWxNb2R1bGUsIFRyYW5zbGF0ZUxpYk1vZHVsZX0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcblxuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW0Nhc2VMaXN0Q29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbQ2FzZUxpc3RDb21wb25lbnRdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBNYXRlcmlhbE1vZHVsZSxcbiAgICAgICAgRmxleE1vZHVsZSxcbiAgICAgICAgUGFuZWxDb21wb25lbnRNb2R1bGUsXG4gICAgICAgIFRyYW5zbGF0ZUxpYk1vZHVsZVxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgQ2FzZVZpZXdDb21wb25lbnRNb2R1bGUge1xufVxuIl19
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
+
import { AbstractCaseListComponent, CaseViewService, InjectedTabData, LoggerService, NAE_TAB_DATA } from '@netgrif/components-core';
|
|
3
|
+
import { ActivatedRoute, Route } from '@angular/router';
|
|
4
|
+
export class CaseListComponent extends AbstractCaseListComponent {
|
|
5
|
+
constructor(_caseViewService, _log, injectedTabData, route) {
|
|
6
|
+
super(_caseViewService, _log, injectedTabData, route);
|
|
7
|
+
this._caseViewService = _caseViewService;
|
|
8
|
+
this._log = _log;
|
|
9
|
+
this.route = route;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
CaseListComponent.ctorParameters = () => [
|
|
13
|
+
{ type: CaseViewService },
|
|
14
|
+
{ type: LoggerService },
|
|
15
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NAE_TAB_DATA,] }] },
|
|
16
|
+
{ type: ActivatedRoute }
|
|
17
|
+
];
|
|
18
|
+
CaseListComponent.decorators = [
|
|
19
|
+
{ type: Component, args: [{
|
|
20
|
+
selector: 'nc-case-list',
|
|
21
|
+
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\" fxFlex=\"100\">\n <cdk-virtual-scroll-viewport itemSize=\"50\" (scrolledIndexChange)=\"loadNextPage()\"\n class=\"full-height scroll-container\" [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",
|
|
22
|
+
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 4px}"]
|
|
23
|
+
},] }
|
|
24
|
+
];
|
|
25
|
+
CaseListComponent.ctorParameters = () => [
|
|
26
|
+
{ type: CaseViewService },
|
|
27
|
+
{ type: LoggerService },
|
|
28
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NAE_TAB_DATA,] }] },
|
|
29
|
+
{ type: ActivatedRoute }
|
|
30
|
+
];
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvdmlldy9jYXNlLXZpZXcvY29tcG9uZW50cy9jYXNlLWxpc3QvY2FzZS1saXN0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDMUQsT0FBTyxFQUFDLHlCQUF5QixFQUFFLGVBQWUsRUFBRSxlQUFlLEVBQUUsYUFBYSxFQUFFLFlBQVksRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQ2xJLE9BQU8sRUFBQyxjQUFjLEVBQUUsS0FBSyxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFPdEQsTUFBTSxPQUFPLGlCQUFrQixTQUFRLHlCQUF5QjtJQUU1RCxZQUFzQixnQkFBaUMsRUFDakMsSUFBbUIsRUFDSyxlQUFnQyxFQUN4RCxLQUFzQjtRQUN4QyxLQUFLLENBQUMsZ0JBQWdCLEVBQUUsSUFBSSxFQUFFLGVBQWUsRUFBRSxLQUFLLENBQUMsQ0FBQztRQUpwQyxxQkFBZ0IsR0FBaEIsZ0JBQWdCLENBQWlCO1FBQ2pDLFNBQUksR0FBSixJQUFJLENBQWU7UUFFbkIsVUFBSyxHQUFMLEtBQUssQ0FBaUI7SUFFNUMsQ0FBQzs7O1lBTHVDLGVBQWU7WUFDM0IsYUFBYTs0Q0FDNUIsUUFBUSxZQUFJLE1BQU0sU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bmplY3RlZFRhYkRhdGEsXG4gICAgICAgICAgICAgICAgcHJvdGVjdGVkIHJvdXRlPzogQWN0aXZhdGVkUm91dGUpIHtcbiAgICAgICAgc3VwZXIoX2Nhc2VWaWV3U2VydmljZSwgX2xvZywgaW5qZWN0ZWRUYWJEYXRhLCByb3V0ZSk7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* COMPONENTS */
|
|
2
|
+
export * from './workflow-view/workflow-view.component';
|
|
3
|
+
export * from './case-view/components/case-list/case-list.component';
|
|
4
|
+
export * from './tree-case-view/tree-component/tree.component';
|
|
5
|
+
export * from './tree-case-view/tree-task-content/tree-task-content.component';
|
|
6
|
+
/* MODULES */
|
|
7
|
+
export * from './workflow-view.module';
|
|
8
|
+
export * from './case-view/case-view.module';
|
|
9
|
+
export * from './tree-case-view/tree-case-view.module';
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvdmlldy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGdCQUFnQjtBQUNoQixjQUFjLHlDQUF5QyxDQUFDO0FBQ3hELGNBQWMsc0RBQXNELENBQUM7QUFDckUsY0FBYyxnREFBZ0QsQ0FBQztBQUMvRCxjQUFjLGdFQUFnRSxDQUFDO0FBRS9FLGFBQWE7QUFDYixjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYyx3Q0FBd0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qIENPTVBPTkVOVFMgKi9cbmV4cG9ydCAqIGZyb20gJy4vd29ya2Zsb3ctdmlldy93b3JrZmxvdy12aWV3LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2Nhc2Utdmlldy9jb21wb25lbnRzL2Nhc2UtbGlzdC9jYXNlLWxpc3QuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vdHJlZS1jYXNlLXZpZXcvdHJlZS1jb21wb25lbnQvdHJlZS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi90cmVlLWNhc2Utdmlldy90cmVlLXRhc2stY29udGVudC90cmVlLXRhc2stY29udGVudC5jb21wb25lbnQnO1xuXG4vKiBNT0RVTEVTICovXG5leHBvcnQgKiBmcm9tICcuL3dvcmtmbG93LXZpZXcubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vY2FzZS12aWV3L2Nhc2Utdmlldy5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi90cmVlLWNhc2Utdmlldy90cmVlLWNhc2Utdmlldy5tb2R1bGUnO1xuIl19
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
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
|
+
export class TreeCaseViewComponentModule {
|
|
13
|
+
}
|
|
14
|
+
TreeCaseViewComponentModule.decorators = [
|
|
15
|
+
{ type: NgModule, args: [{
|
|
16
|
+
declarations: [
|
|
17
|
+
TreeComponent,
|
|
18
|
+
TreeTaskContentComponent,
|
|
19
|
+
AddChildNodeComponent,
|
|
20
|
+
RemoveNodeComponent
|
|
21
|
+
],
|
|
22
|
+
imports: [
|
|
23
|
+
CommonModule,
|
|
24
|
+
FlexLayoutModule,
|
|
25
|
+
MaterialModule,
|
|
26
|
+
DataFieldsComponentModule,
|
|
27
|
+
TranslateLibModule,
|
|
28
|
+
PanelComponentModule,
|
|
29
|
+
TaskContentComponentModule
|
|
30
|
+
],
|
|
31
|
+
exports: [
|
|
32
|
+
TreeComponent,
|
|
33
|
+
TreeTaskContentComponent,
|
|
34
|
+
],
|
|
35
|
+
entryComponents: []
|
|
36
|
+
},] }
|
|
37
|
+
];
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1jYXNlLXZpZXcubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi92aWV3L3RyZWUtY2FzZS12aWV3L3RyZWUtY2FzZS12aWV3Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSxpQ0FBaUMsQ0FBQztBQUM5RCxPQUFPLEVBQUMsd0JBQXdCLEVBQUMsTUFBTSxpREFBaUQsQ0FBQztBQUN6RixPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFDdEQsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFDOUQsT0FBTyxFQUFDLGNBQWMsRUFBRSxrQkFBa0IsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQzVFLE9BQ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AgICAgIFBhbmVsQ29tcG9uZW50TW9kdWxlLFxuICAgICAgICBUYXNrQ29udGVudENvbXBvbmVudE1vZHVsZVxuICAgIF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBUcmVlQ29tcG9uZW50LFxuICAgICAgICBUcmVlVGFza0NvbnRlbnRDb21wb25lbnQsXG4gICAgXSxcbiAgICBlbnRyeUNvbXBvbmVudHM6IFtdXG5cbn0pXG5leHBvcnQgY2xhc3MgVHJlZUNhc2VWaWV3Q29tcG9uZW50TW9kdWxlIHtcbn1cbiJdfQ==
|
package/esm2015/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractAddChildNodeComponent, CaseTreeService } from '@netgrif/components-core';
|
|
3
|
+
export class AddChildNodeComponent extends AbstractAddChildNodeComponent {
|
|
4
|
+
constructor(_treeService) {
|
|
5
|
+
super(_treeService);
|
|
6
|
+
this._treeService = _treeService;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
AddChildNodeComponent.ctorParameters = () => [
|
|
10
|
+
{ type: CaseTreeService }
|
|
11
|
+
];
|
|
12
|
+
AddChildNodeComponent.decorators = [
|
|
13
|
+
{ type: Component, args: [{
|
|
14
|
+
selector: 'nc-add-child-node',
|
|
15
|
+
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",
|
|
16
|
+
styles: [".spinner-margin{margin:8px}"]
|
|
17
|
+
},] }
|
|
18
|
+
];
|
|
19
|
+
AddChildNodeComponent.ctorParameters = () => [
|
|
20
|
+
{ type: CaseTreeService }
|
|
21
|
+
];
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLWNoaWxkLW5vZGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi92aWV3L3RyZWUtY2FzZS12aWV3L3RyZWUtY29tcG9uZW50L2FkZC1jaGlsZC1ub2RlL2FkZC1jaGlsZC1ub2RlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hDLE9BQU8sRUFBQyw2QkFBNkIsRUFBRSxlQUFlLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQU94RixNQUFNLE9BQU8scUJBQXNCLFNBQVEsNkJBQTZCO0lBQ3BFLFlBQXNCLFlBQTZCO1FBQy9DLEtBQUssQ0FBQyxZQUFZLENBQUMsQ0FBQztRQURGLGlCQUFZLEdBQVosWUFBWSxDQUFpQjtJQUVuRCxDQUFDOzs7WUFGbUMsZUFBZTs7O1lBTnRELFNBQVMsU0FBQztnQkFDUCxRQUFRLEVBQUUsbUJBQW1CO2dCQUM3QixzYkFBOEM7O2FBRWpEOzs7WUFOc0MsZUFBZSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q29tcG9uZW50fSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7QWJzdHJhY3RBZGRDaGlsZE5vZGVDb21wb25lbnQsIENhc2VUcmVlU2VydmljZX0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICduYy1hZGQtY2hpbGQtbm9kZScsXG4gICAgdGVtcGxhdGVVcmw6ICcuL2FkZC1jaGlsZC1ub2RlLmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9hZGQtY2hpbGQtbm9kZS5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIEFkZENoaWxkTm9kZUNvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0QWRkQ2hpbGROb2RlQ29tcG9uZW50IHtcbiAgICBjb25zdHJ1Y3Rvcihwcm90ZWN0ZWQgX3RyZWVTZXJ2aWNlOiBDYXNlVHJlZVNlcnZpY2UpIHtcbiAgICAgICAgc3VwZXIoX3RyZWVTZXJ2aWNlKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractRemoveNodeComponent, CaseTreeService } from '@netgrif/components-core';
|
|
3
|
+
export class RemoveNodeComponent extends AbstractRemoveNodeComponent {
|
|
4
|
+
constructor(_treeService) {
|
|
5
|
+
super(_treeService);
|
|
6
|
+
this._treeService = _treeService;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
RemoveNodeComponent.ctorParameters = () => [
|
|
10
|
+
{ type: CaseTreeService }
|
|
11
|
+
];
|
|
12
|
+
RemoveNodeComponent.decorators = [
|
|
13
|
+
{ type: Component, args: [{
|
|
14
|
+
selector: 'nc-remove-node',
|
|
15
|
+
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",
|
|
16
|
+
styles: [".spinner-margin{margin:8px}"]
|
|
17
|
+
},] }
|
|
18
|
+
];
|
|
19
|
+
RemoveNodeComponent.ctorParameters = () => [
|
|
20
|
+
{ type: CaseTreeService }
|
|
21
|
+
];
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,ey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