@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,55 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { PanelComponent } from './panel.component';
|
|
4
|
+
import { FlexModule } from '@angular/flex-layout';
|
|
5
|
+
import { TaskPanelComponent } from './task-panel/task-panel.component';
|
|
6
|
+
import { CasePanelComponent } from './case-panel/case-panel.component';
|
|
7
|
+
import { TaskListComponent } from './task-panel-list/task-list.component';
|
|
8
|
+
import { WorkflowPanelComponent } from './workflow-panel/workflow-panel.component';
|
|
9
|
+
import { DataFieldsComponentModule } from '../data-fields/data-fields.module';
|
|
10
|
+
import { MaterialModule, SnackBarModule, TranslateLibModule, CurrencyModule } from '@netgrif/components-core';
|
|
11
|
+
import { TaskContentComponentModule } from '../task-content/task-content.module';
|
|
12
|
+
import { PublicWorkflowPanelComponent } from './public-workflow-panel/public-workflow-panel.component';
|
|
13
|
+
import { SideMenuUserAssignComponentModule } from '../side-menu/content-components/user-assign/side-menu-user-assign-component.module';
|
|
14
|
+
import { ImmediateFilterTextComponent } from './immediate/immediate-filter-text/immediate-filter-text.component';
|
|
15
|
+
import { ImmediateFilterTextContentComponent } from './immediate/immediate-filter-text-content/immediate-filter-text-content.component';
|
|
16
|
+
export class PanelComponentModule {
|
|
17
|
+
}
|
|
18
|
+
PanelComponentModule.decorators = [
|
|
19
|
+
{ type: NgModule, args: [{
|
|
20
|
+
declarations: [
|
|
21
|
+
PanelComponent,
|
|
22
|
+
TaskPanelComponent,
|
|
23
|
+
CasePanelComponent,
|
|
24
|
+
WorkflowPanelComponent,
|
|
25
|
+
TaskListComponent,
|
|
26
|
+
PublicWorkflowPanelComponent,
|
|
27
|
+
ImmediateFilterTextComponent,
|
|
28
|
+
ImmediateFilterTextContentComponent,
|
|
29
|
+
],
|
|
30
|
+
imports: [
|
|
31
|
+
CommonModule,
|
|
32
|
+
MaterialModule,
|
|
33
|
+
FlexModule,
|
|
34
|
+
DataFieldsComponentModule,
|
|
35
|
+
TranslateLibModule,
|
|
36
|
+
SnackBarModule,
|
|
37
|
+
TaskContentComponentModule,
|
|
38
|
+
SideMenuUserAssignComponentModule,
|
|
39
|
+
CurrencyModule
|
|
40
|
+
],
|
|
41
|
+
exports: [
|
|
42
|
+
PanelComponent,
|
|
43
|
+
TaskPanelComponent,
|
|
44
|
+
CasePanelComponent,
|
|
45
|
+
WorkflowPanelComponent,
|
|
46
|
+
TaskListComponent,
|
|
47
|
+
PublicWorkflowPanelComponent,
|
|
48
|
+
ImmediateFilterTextComponent,
|
|
49
|
+
],
|
|
50
|
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2R1bGUsXG4gICAgICAgIEN1cnJlbmN5TW9kdWxlXG4gICAgXSxcbiAgICBleHBvcnRzOiBbXG4gICAgICAgIFBhbmVsQ29tcG9uZW50LFxuICAgICAgICBUYXNrUGFuZWxDb21wb25lbnQsXG4gICAgICAgIENhc2VQYW5lbENvbXBvbmVudCxcbiAgICAgICAgV29ya2Zsb3dQYW5lbENvbXBvbmVudCxcbiAgICAgICAgVGFza0xpc3RDb21wb25lbnQsXG4gICAgICAgIFB1YmxpY1dvcmtmbG93UGFuZWxDb21wb25lbnQsXG4gICAgICAgIEltbWVkaWF0ZUZpbHRlclRleHRDb21wb25lbnQsXG4gICAgXSxcbiAgICBlbnRyeUNvbXBvbmVudHM6IFtcbiAgICAgICAgSW1tZWRpYXRlRmlsdGVyVGV4dENvbnRlbnRDb21wb25lbnQsXG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBQYW5lbENvbXBvbmVudE1vZHVsZSB7XG59XG4iXX0=
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* MODULES */
|
|
2
|
+
export * from './panel.module';
|
|
3
|
+
/* COMPONENTS */
|
|
4
|
+
export * from './panel.component';
|
|
5
|
+
export * from './task-panel/task-panel.component';
|
|
6
|
+
export * from './case-panel/case-panel.component';
|
|
7
|
+
export * from './workflow-panel/workflow-panel.component';
|
|
8
|
+
export * from './public-workflow-panel/public-workflow-panel.component';
|
|
9
|
+
export * from './task-panel-list/task-list.component';
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvcGFuZWwvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxhQUFhO0FBQ2IsY0FBYyxnQkFBZ0IsQ0FBQztBQUUvQixnQkFBZ0I7QUFDaEIsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsbUNBQW1DLENBQUM7QUFDbEQsY0FBYywyQ0FBMkMsQ0FBQztBQUMxRCxjQUFjLHlEQUF5RCxDQUFDO0FBQ3hFLGNBQWMsdUNBQXVDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKiBNT0RVTEVTICovXG5leHBvcnQgKiBmcm9tICcuL3BhbmVsLm1vZHVsZSc7XG5cbi8qIENPTVBPTkVOVFMgKi9cbmV4cG9ydCAqIGZyb20gJy4vcGFuZWwuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vdGFzay1wYW5lbC90YXNrLXBhbmVsLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2Nhc2UtcGFuZWwvY2FzZS1wYW5lbC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi93b3JrZmxvdy1wYW5lbC93b3JrZmxvdy1wYW5lbC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtd29ya2Zsb3ctcGFuZWwvcHVibGljLXdvcmtmbG93LXBhbmVsLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3Rhc2stcGFuZWwtbGlzdC90YXNrLWxpc3QuY29tcG9uZW50JztcblxuIl19
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { AbstractWorkflowPanelComponent, WorkflowViewService, LoggerService } from '@netgrif/components-core';
|
|
4
|
+
export class PublicWorkflowPanelComponent extends AbstractWorkflowPanelComponent {
|
|
5
|
+
constructor(log, translate, workflowService) {
|
|
6
|
+
super(log, translate, workflowService);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
PublicWorkflowPanelComponent.ctorParameters = () => [
|
|
10
|
+
{ type: LoggerService },
|
|
11
|
+
{ type: TranslateService },
|
|
12
|
+
{ type: WorkflowViewService }
|
|
13
|
+
];
|
|
14
|
+
PublicWorkflowPanelComponent.decorators = [
|
|
15
|
+
{ type: Component, args: [{
|
|
16
|
+
selector: 'nc-public-workflow-panel',
|
|
17
|
+
template: "<nc-app-panel [panelHeader]=\"header\" [preventExpand]=\"true\">\n <ng-template #header>\n <div fxLayoutAlign=\"start center\" fxLayout=\"row\" fxFlex=\"95\">\n <div *ngFor=\"let field of featuredFieldsValues; let i = index\" fxLayoutAlign=\"start center\" fxFlex\n [fxHide.lt-xl]=\"i >= 4 && responsiveBody\"\n [fxHide.lt-lg]=\"i >= 3 && responsiveBody\"\n [fxHide.lt-md]=\"i >= 2 && responsiveBody\"\n [fxHide.lt-sm]=\"i >= 1 && responsiveBody\">\n <mat-icon class=\"workflow-panel-icon panel-primary-icon\"\n *ngIf=\"!!field.icon && !!field.value\">{{field.icon}}</mat-icon>\n {{field.value}}\n </div>\n </div>\n <div fxFlex=\"5\"></div>\n </ng-template>\n</nc-app-panel>\n",
|
|
18
|
+
styles: [""]
|
|
19
|
+
},] }
|
|
20
|
+
];
|
|
21
|
+
PublicWorkflowPanelComponent.ctorParameters = () => [
|
|
22
|
+
{ type: LoggerService },
|
|
23
|
+
{ type: TranslateService },
|
|
24
|
+
{ type: WorkflowViewService }
|
|
25
|
+
];
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLXdvcmtmbG93LXBhbmVsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvcGFuZWwvcHVibGljLXdvcmtmbG93LXBhbmVsL3B1YmxpYy13b3JrZmxvdy1wYW5lbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4Qy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udC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgUHVibGljV29ya2Zsb3dQYW5lbENvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0V29ya2Zsb3dQYW5lbENvbXBvbmVudCB7XG4gICAgY29uc3RydWN0b3IobG9nOiBMb2dnZXJTZXJ2aWNlLCB0cmFuc2xhdGU6IFRyYW5zbGF0ZVNlcnZpY2UsIHdvcmtmbG93U2VydmljZTogV29ya2Zsb3dWaWV3U2VydmljZSkge1xuICAgICAgICBzdXBlcihsb2csIHRyYW5zbGF0ZSwgd29ya2Zsb3dTZXJ2aWNlKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Component, Inject, Injector, Optional, StaticProvider } from '@angular/core';
|
|
2
|
+
import { ComponentPortal } from '@angular/cdk/portal';
|
|
3
|
+
import { AbstractTaskPanelComponent, AssignPolicyService, AssignTaskService, CallChainService, CancelTaskService, DataFocusPolicyService, DelegateTaskService, DisableButtonFuntions, FinishPolicyService, FinishTaskService, LoggerService, NAE_TASK_OPERATIONS, NAE_TASK_PANEL_DISABLE_BUTTON_FUNCTIONS, BOOLEAN_VALUE_LABEL_ENABLED, PaperViewService, SingleTaskContentService, SubjectTaskOperations, TaskContentService, TaskDataService, TaskEventService, TaskRequestStateService, TaskViewService, PermissionService, ChangedFieldsService } from '@netgrif/components-core';
|
|
4
|
+
import { TaskContentComponent } from '../../task-content/task-content/task-content.component';
|
|
5
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
+
import { CurrencyPipe } from '@angular/common';
|
|
7
|
+
export class TaskPanelComponent extends AbstractTaskPanelComponent {
|
|
8
|
+
constructor(_taskContentService, _log, _taskViewService, _paperView, _taskEventService, _assignTaskService, _delegateTaskService, _cancelTaskService, _finishTaskService, _taskState, _taskDataService, _assignPolicyService, _callChain, _translate, _taskOperations, _disableFunctions, isEnabled, _parentInjector, _currencyPipe, _changedFieldsService, _permissionService) {
|
|
9
|
+
super(_taskContentService, _log, _taskViewService, _paperView, _taskEventService, _assignTaskService, _delegateTaskService, _cancelTaskService, _finishTaskService, _taskState, _taskDataService, _assignPolicyService, _callChain, _taskOperations, _disableFunctions, _translate, _currencyPipe, _changedFieldsService, _permissionService);
|
|
10
|
+
this._taskContentService = _taskContentService;
|
|
11
|
+
this._log = _log;
|
|
12
|
+
this._taskViewService = _taskViewService;
|
|
13
|
+
this._paperView = _paperView;
|
|
14
|
+
this._taskEventService = _taskEventService;
|
|
15
|
+
this._assignTaskService = _assignTaskService;
|
|
16
|
+
this._delegateTaskService = _delegateTaskService;
|
|
17
|
+
this._cancelTaskService = _cancelTaskService;
|
|
18
|
+
this._finishTaskService = _finishTaskService;
|
|
19
|
+
this._taskState = _taskState;
|
|
20
|
+
this._taskDataService = _taskDataService;
|
|
21
|
+
this._assignPolicyService = _assignPolicyService;
|
|
22
|
+
this._callChain = _callChain;
|
|
23
|
+
this._translate = _translate;
|
|
24
|
+
this._disableFunctions = _disableFunctions;
|
|
25
|
+
this.isEnabled = isEnabled;
|
|
26
|
+
this._parentInjector = _parentInjector;
|
|
27
|
+
this._currencyPipe = _currencyPipe;
|
|
28
|
+
this._changedFieldsService = _changedFieldsService;
|
|
29
|
+
this._permissionService = _permissionService;
|
|
30
|
+
}
|
|
31
|
+
createContentPortal() {
|
|
32
|
+
const providers = [
|
|
33
|
+
{ provide: TaskContentService, useValue: this._taskContentService },
|
|
34
|
+
{ provide: BOOLEAN_VALUE_LABEL_ENABLED, useValue: this.isEnabled }
|
|
35
|
+
];
|
|
36
|
+
const injector = Injector.create({ providers, parent: this._parentInjector });
|
|
37
|
+
if (this.panelContentComponent === undefined) {
|
|
38
|
+
this.portal = new ComponentPortal(TaskContentComponent, null, injector);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
this.portal = new ComponentPortal(this.panelContentComponent, null, injector);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
TaskPanelComponent.ctorParameters = () => [
|
|
46
|
+
{ type: TaskContentService },
|
|
47
|
+
{ type: LoggerService },
|
|
48
|
+
{ type: TaskViewService },
|
|
49
|
+
{ type: PaperViewService },
|
|
50
|
+
{ type: TaskEventService },
|
|
51
|
+
{ type: AssignTaskService },
|
|
52
|
+
{ type: DelegateTaskService },
|
|
53
|
+
{ type: CancelTaskService },
|
|
54
|
+
{ type: FinishTaskService },
|
|
55
|
+
{ type: TaskRequestStateService },
|
|
56
|
+
{ type: TaskDataService },
|
|
57
|
+
{ type: AssignPolicyService },
|
|
58
|
+
{ type: CallChainService },
|
|
59
|
+
{ type: TranslateService },
|
|
60
|
+
{ type: SubjectTaskOperations, decorators: [{ type: Inject, args: [NAE_TASK_OPERATIONS,] }] },
|
|
61
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NAE_TASK_PANEL_DISABLE_BUTTON_FUNCTIONS,] }] },
|
|
62
|
+
{ type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [BOOLEAN_VALUE_LABEL_ENABLED,] }] },
|
|
63
|
+
{ type: Injector },
|
|
64
|
+
{ type: CurrencyPipe },
|
|
65
|
+
{ type: ChangedFieldsService },
|
|
66
|
+
{ type: PermissionService }
|
|
67
|
+
];
|
|
68
|
+
TaskPanelComponent.decorators = [
|
|
69
|
+
{ type: Component, args: [{
|
|
70
|
+
selector: 'nc-task-panel',
|
|
71
|
+
template: "<nc-app-panel [panelContent]=\"taskPanelContent\" [panelHeader]=\"taskPanelHeader\"\n (stopLoading)=\"stopLoading()\" (getExpansionPanelRef)=\"setPanelRef($event)\" [first]=\"first\" [last]=\"last\">\n <ng-template #taskPanelHeader>\n <div fxLayoutAlign=\"start center\" fxLayout=\"row\" fxFlex=\"95\" (click)=\"preventSelectionClick($event)\">\n <div fxFlex class=\"text-column-div\" [ngClass]=\"{'panel-header-padding': !textEllipsis}\">\n <span class=\"text-column-margin\" fxLayoutAlign=\"start center\">\n <mat-icon class=\"task-panel-icon panel-primary-icon\">\n {{taskPanelData.task.icon ? taskPanelData.task.icon : 'label'}}</mat-icon>\n <span [ngClass]=\"{\n 'text-column-ellipsis': textEllipsis,\n 'text-column-word-wrap': !textEllipsis\n }\">{{firstFeaturedValue}}</span>\n </span>\n </div>\n <div *ngFor=\"let field of featuredFieldsValues; let i = index\" fxFlex\n class=\"text-column-div\"\n [fxHide.lt-xl]=\"i >= 3 && responsiveBody\"\n [fxHide.lt-lg]=\"i >= 2 && responsiveBody\"\n [fxHide.lt-md]=\"i >= 1 && responsiveBody\"\n [fxHide.lt-sm]=\"i >= 0 && responsiveBody\"\n [ngClass]=\"{'panel-header-padding': !textEllipsis && field.type !== 'button'}\">\n <span class=\"text-column-margin\" fxLayoutAlign=\"start center\">\n <mat-icon class=\"task-panel-icon panel-primary-icon\"\n *ngIf=\"!!field.icon && !!field.value && field.type !== 'button'\">{{field.icon}}</mat-icon>\n <button *ngIf=\"field.type === 'button'\" mat-flat-button color=\"primary\">{{field.value}}</button>\n <span [ngClass]=\"{\n 'text-column-ellipsis': textEllipsis,\n 'text-column-word-wrap': !textEllipsis\n }\" [matTooltip]=\"field.value\"\n [matTooltipDisabled]=\"!textEllipsis\"\n [matTooltipClass]=\"'pre-line-dialog'\"\n >{{field.type === 'button' ? '' : field.value }}</span>\n </span>\n </div>\n </div>\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" fxFlex=\"5\">\n <button mat-icon-button (click)=\"preventPanelOpen($event)\"\n *ngIf=\"!isLoading && (canAssign() || canDo('delegate') || canReassign() || canCancel() || canFinish())\"\n [matMenuTriggerFor]=\"menu\">\n <mat-icon>more_vert</mat-icon>\n </button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item *ngIf=\"canAssign()\" (click)=\"assign()\" [disabled]=\"canDisable('assign')\">\n <mat-icon>person</mat-icon>\n <span>{{ getAssignTitle() | translate}}</span>\n </button>\n <button mat-menu-item *ngIf=\"canDo('delegate')\" (click)=\"delegate()\"\n [disabled]=\"canDisable('delegate')\">\n <mat-icon>person_outline</mat-icon>\n <span>{{ getDelegateTitle() | translate}}</span>\n </button>\n <button mat-menu-item *ngIf=\"canReassign()\" (click)=\"delegate()\" [disabled]=\"canDisable('reassign')\">\n <mat-icon>person_add</mat-icon>\n <span>{{ 'tasks.view.reassign' | translate}}</span>\n </button>\n <button mat-menu-item *ngIf=\"canCancel()\" (click)=\"cancel()\" [disabled]=\"canDisable('cancel')\">\n <mat-icon>cancel</mat-icon>\n <span>{{ getCancelTitle() | translate}}</span>\n </button>\n <button mat-menu-item *ngIf=\"canFinish()\" (click)=\"finish()\" [disabled]=\"canDisable('finish')\">\n <mat-icon>done</mat-icon>\n <span>{{ getFinishTitle() | translate}}</span>\n </button>\n </mat-menu>\n <mat-spinner *ngIf=\"isLoading\" [diameter]=\"30\"></mat-spinner>\n </div>\n </ng-template>\n <ng-template #taskPanelContent>\n <div class=\"panel-main-content\" fxLayout=\"column\">\n <div class=\"task-panel-body\" [ngClass]=\"{'paper-view': isPaperView()}\" fxFlex=\"100\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </div>\n <mat-action-row>\n <div fxLayout.lt-sm=\"column\" fxLayoutAlign.lt-sm=\"center stretch\" ngClass.lt-sm=\"width-100\">\n <button *ngIf=\"canAssign()\" (click)=\"assign()\" mat-button [disabled]=\"canDisable('assign')\">\n {{ getAssignTitle() | translate | uppercase }}</button>\n <button *ngIf=\"canDo('delegate')\" (click)=\"delegate()\" mat-button [disabled]=\"canDisable('delegate')\">\n {{ getDelegateTitle() | translate | uppercase }}</button>\n <button *ngIf=\"canReassign()\" (click)=\"delegate()\" mat-button [disabled]=\"canDisable('reassign')\">\n {{ 'tasks.view.reassign' | translate | uppercase }}</button>\n <button *ngIf=\"canCancel()\" (click)=\"cancel()\" mat-button [disabled]=\"canDisable('cancel')\">\n {{ getCancelTitle() | translate | uppercase }}</button>\n <button *ngIf=\"canFinish()\" (click)=\"finish()\" mat-button [disabled]=\"canDisable('finish')\">\n {{ getFinishTitle() | translate | uppercase }}</button>\n <button *ngIf=\"canCollapse()\" color=\"primary\" (click)=\"collapse()\" mat-button>\n {{ 'tasks.view.collapse' | translate | uppercase }}</button>\n </div>\n </mat-action-row>\n </div>\n </ng-template>\n</nc-app-panel>\n",
|
|
72
|
+
providers: [
|
|
73
|
+
{ provide: TaskContentService, useClass: SingleTaskContentService },
|
|
74
|
+
TaskDataService,
|
|
75
|
+
TaskEventService,
|
|
76
|
+
AssignTaskService,
|
|
77
|
+
DelegateTaskService,
|
|
78
|
+
CancelTaskService,
|
|
79
|
+
FinishTaskService,
|
|
80
|
+
TaskRequestStateService,
|
|
81
|
+
DataFocusPolicyService,
|
|
82
|
+
AssignPolicyService,
|
|
83
|
+
FinishPolicyService,
|
|
84
|
+
ChangedFieldsService,
|
|
85
|
+
{ provide: NAE_TASK_OPERATIONS, useClass: SubjectTaskOperations },
|
|
86
|
+
],
|
|
87
|
+
styles: [".task-panel-icon{margin-right:8px}.task-panel-footer{border-top:1px solid rgba(0,0,0,.03);padding:5px 24px}.task-panel-body{padding:10px 24px}.paper-view{margin:auto}.width-100{width:100%}.text-column-ellipsis{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.text-column-word-wrap{word-break:break-word!important;white-space:pre-line!important}.text-column-div{min-width:0;width:0}.text-column-margin{margin-right:15px;line-height:24px}.panel-header-padding{padding:12px 0!important}.pre-line-dialog{white-space:pre-line!important}"]
|
|
88
|
+
},] }
|
|
89
|
+
];
|
|
90
|
+
TaskPanelComponent.ctorParameters = () => [
|
|
91
|
+
{ type: TaskContentService },
|
|
92
|
+
{ type: LoggerService },
|
|
93
|
+
{ type: TaskViewService },
|
|
94
|
+
{ type: PaperViewService },
|
|
95
|
+
{ type: TaskEventService },
|
|
96
|
+
{ type: AssignTaskService },
|
|
97
|
+
{ type: DelegateTaskService },
|
|
98
|
+
{ type: CancelTaskService },
|
|
99
|
+
{ type: FinishTaskService },
|
|
100
|
+
{ type: TaskRequestStateService },
|
|
101
|
+
{ type: TaskDataService },
|
|
102
|
+
{ type: AssignPolicyService },
|
|
103
|
+
{ type: CallChainService },
|
|
104
|
+
{ type: TranslateService },
|
|
105
|
+
{ type: SubjectTaskOperations, decorators: [{ type: Inject, args: [NAE_TASK_OPERATIONS,] }] },
|
|
106
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NAE_TASK_PANEL_DISABLE_BUTTON_FUNCTIONS,] }] },
|
|
107
|
+
{ type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [BOOLEAN_VALUE_LABEL_ENABLED,] }] },
|
|
108
|
+
{ type: Injector },
|
|
109
|
+
{ type: CurrencyPipe },
|
|
110
|
+
{ type: ChangedFieldsService },
|
|
111
|
+
{ type: PermissionService }
|
|
112
|
+
];
|
|
113
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1wYW5lbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL3BhbmVsL3Rhc2stcGFuZWwvdGFzay1wYW5lbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBRSxjQUFjLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDcEYsT0FBTyxFQUFDLGVBQWUsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBQ3BELE9BQU8sRUFDSCwwQkFBMEIsRUFDMUIsbUJBQW1CLEVBQ25CLGlCQUFpQixFQUNqQixnQkFBZ0IsRUFDaEIsaUJBQWlCLEVBQ2pCLHNCQUFzQixFQUN0QixtQkFBbUIsRUFDbkIscUJBQXFCLEVBQ3JCLG1CQUFtQixFQUNuQixpQkFBaUIsRUFDakIsYUFBYSxFQUNiLG1CQUFtQixFQUNuQix1Q0FBdUMsRUFDdk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sIF90YXNrT3BlcmF0aW9ucywgX2Rpc2FibGVGdW5jdGlvbnMsIF90cmFuc2xhdGUsIF9jdXJyZW5jeVBpcGUsIF9jaGFuZ2VkRmllbGRzU2VydmljZSxcbiAgICAgICAgICAgIF9wZXJtaXNzaW9uU2VydmljZSk7XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIGNyZWF0ZUNvbnRlbnRQb3J0YWwoKTogdm9pZCB7XG4gICAgICAgIGNvbnN0IHByb3ZpZGVyczogQXJyYXk8U3RhdGljUHJvdmlkZXI+ID0gW1xuICAgICAgICAgICAge3Byb3ZpZGU6IFRhc2tDb250ZW50U2VydmljZSwgdXNlVmFsdWU6IHRoaXMuX3Rhc2tDb250ZW50U2VydmljZX0sXG4gICAgICAgICAgICB7cHJvdmlkZTogQk9PTEVBTl9WQUxVRV9MQUJFTF9FTkFCTEVELCB1c2VWYWx1ZTogdGhpcy5pc0VuYWJsZWR9XG4gICAgICAgIF07XG4gICAgICAgIGNvbnN0IGluamVjdG9yID0gSW5qZWN0b3IuY3JlYXRlKHtwcm92aWRlcnMsIHBhcmVudDogdGhpcy5fcGFyZW50SW5qZWN0b3J9KTtcblxuICAgICAgICBpZiAodGhpcy5wYW5lbENvbnRlbnRDb21wb25lbnQgPT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgdGhpcy5wb3J0YWwgPSBuZXcgQ29tcG9uZW50UG9ydGFsKFRhc2tDb250ZW50Q29tcG9uZW50LCBudWxsLCBpbmplY3Rvcik7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aGlzLnBvcnRhbCA9IG5ldyBDb21wb25lbnRQb3J0YWwodGhpcy5wYW5lbENvbnRlbnRDb21wb25lbnQsIG51bGwsIGluamVjdG9yKTtcbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
+
import { AbstractTaskListComponent, InjectedTabData, LoggerService, NAE_TAB_DATA, TaskViewService } from '@netgrif/components-core';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
export class TaskListComponent extends AbstractTaskListComponent {
|
|
5
|
+
constructor(_taskViewService, _log, injectedTabData, route) {
|
|
6
|
+
super(_taskViewService, _log, injectedTabData, route);
|
|
7
|
+
this._taskViewService = _taskViewService;
|
|
8
|
+
this._log = _log;
|
|
9
|
+
this.route = route;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
TaskListComponent.ctorParameters = () => [
|
|
13
|
+
{ type: TaskViewService },
|
|
14
|
+
{ type: LoggerService },
|
|
15
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NAE_TAB_DATA,] }] },
|
|
16
|
+
{ type: ActivatedRoute }
|
|
17
|
+
];
|
|
18
|
+
TaskListComponent.decorators = [
|
|
19
|
+
{ type: Component, args: [{
|
|
20
|
+
selector: 'nc-task-list',
|
|
21
|
+
template: "<div *ngIf=\"showVirtualScroll\" fxLayout=\"column\" fxLayoutAlign=\"start center\" fxFlex>\n <ng-container *ngIf=\"tasks$ | async as tasks\">\n\n <div *ngIf=\"(loading$ | async) === false && tasks.length === 0\" fxLayout=\"column\" fxLayoutAlign=\"center center\"\n fxFlex>\n <mat-icon color=\"accent\">check_box</mat-icon>\n <span class=\"font-size-20\">{{ 'tasks.view.noTasksSatisfyingThisFilter' | translate }}</span>\n </div>\n\n <mat-accordion [multi]=\"allowMultiOpen\" class=\"full-width\" fxFlex=\"100\">\n <cdk-virtual-scroll-viewport itemSize=\"52\" (scrolledIndexChange)=\"loadNextPage()\"\n class=\"task-panel-scroll-container full-width full-height\">\n <nc-task-panel\n [textEllipsis]=\"textEllipsis\"\n *cdkVirtualFor=\"let task of tasks;\n let i = index;\n let first = first;\n let last = last;\n trackBy: trackBy;\n templateCacheSize: 0\"\n [taskPanelData]=\"task\" [selectedHeaders$]=\"selectedHeaders$\" [first]=\"first\" [last]=\"last\"\n [forceLoadDataOnOpen]=\"forceLoadDataOnOpen\"\n [responsiveBody]=\"responsiveBody\"\n (taskEvent)=\"emitTaskEvent($event)\"\n (panelRefOutput)=\"addToPanelRefs(task, $event)\"\n class=\"panel-expanded-spacing\">\n </nc-task-panel>\n\n <div *ngIf=\"loading$ | async\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <mat-spinner color=\"primary\" diameter=\"52\"></mat-spinner>\n </div>\n\n </cdk-virtual-scroll-viewport>\n </mat-accordion>\n\n </ng-container>\n</div>\n",
|
|
22
|
+
styles: [".font-size-20{font-size:20px}.full-width{width:100%}.full-height{height:100%}.task-panel-scroll-container{padding:0 4px}"]
|
|
23
|
+
},] }
|
|
24
|
+
];
|
|
25
|
+
TaskListComponent.ctorParameters = () => [
|
|
26
|
+
{ type: TaskViewService },
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvcGFuZWwvdGFzay1wYW5lbC1saXN0L3Rhc2stbGlzdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzFELE9BQU8sRUFBQyx5QkFBeUIsRUFBRSxlQUFlLEVBQUUsYUFBYSxFQUFFLFlBQVksRUFBRSxlQUFlLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQUNsSSxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFP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mh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL3Rhc2stbGlzdC5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIFRhc2tMaXN0Q29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RUYXNrTGlzdENvbXBvbmVudCB7XG4gICAgY29uc3RydWN0b3IocHJvdGVjdGVkIF90YXNrVmlld1NlcnZpY2U6IFRhc2tWaWV3U2VydmljZSxcbiAgICAgICAgICAgICAgICBwcm90ZWN0ZWQgX2xvZzogTG9nZ2VyU2VydmljZSxcbiAgICAgICAgICAgICAgICBAT3B0aW9uYWwoKSBASW5qZWN0KE5BRV9UQUJfREFUQSkgaW5qZWN0ZWRUYWJEYXRhOiBJbmplY3RlZFRhYkRhdGEsXG4gICAgICAgICAgICAgICAgcHJvdGVjdGVkIHJvdXRlPzogQWN0aXZhdGVkUm91dGUpIHtcbiAgICAgICAgc3VwZXIoX3Rhc2tWaWV3U2VydmljZSwgX2xvZywgaW5qZWN0ZWRUYWJEYXRhLCByb3V0ZSk7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractWorkflowPanelComponent, LoggerService, WorkflowViewService } from '@netgrif/components-core';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
export class WorkflowPanelComponent extends AbstractWorkflowPanelComponent {
|
|
5
|
+
constructor(log, translate, workflowService) {
|
|
6
|
+
super(log, translate, workflowService);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
WorkflowPanelComponent.ctorParameters = () => [
|
|
10
|
+
{ type: LoggerService },
|
|
11
|
+
{ type: TranslateService },
|
|
12
|
+
{ type: WorkflowViewService }
|
|
13
|
+
];
|
|
14
|
+
WorkflowPanelComponent.decorators = [
|
|
15
|
+
{ type: Component, args: [{
|
|
16
|
+
selector: 'nc-workflow-panel',
|
|
17
|
+
template: "<nc-app-panel [panelHeader]=\"header\" [panelContent]=\"content\" (getExpansionPanelRef)=\"setPanelRef($event)\">\n <ng-template #header>\n <div fxLayoutAlign=\"start center\" fxLayout=\"row\" fxFlex=\"95\" (click)=\"preventSelectionClick($event)\">\n <div *ngFor=\"let field of featuredFieldsValues; let i = index\" fxLayoutAlign=\"start center\" fxFlex\n [fxHide.lt-xl]=\"i >= 4 && responsiveBody\"\n [fxHide.lt-lg]=\"i >= 3 && responsiveBody\"\n [fxHide.lt-md]=\"i >= 2 && responsiveBody\"\n [fxHide.lt-sm]=\"i >= 1 && responsiveBody\">\n <mat-icon class=\"workflow-panel-icon panel-primary-icon\"\n *ngIf=\"!!field.icon && !!field.value\">{{field.icon}}</mat-icon>\n {{field.value}}\n </div>\n </div>\n <div fxFlex=\"5\"></div>\n </ng-template>\n <ng-template #content>\n <div class=\"panel-main-content\" fxLayout=\"column\">\n <div class=\"workflow-panel-body\" fxFlex=\"100\">\n <div fxLayout=\"row\">\n <div fxFlex=\"50\">\n <nc-text-field [dataField]=\"panelContent.netIdentifier\">\n </nc-text-field>\n </div>\n <div fxFlex=\"50\">\n <nc-text-field [dataField]=\"panelContent.title\">\n </nc-text-field>\n </div>\n </div>\n <div fxLayout=\"row\">\n <div fxFlex=\"50\">\n <nc-text-field [dataField]=\"panelContent.version\">\n </nc-text-field>\n </div>\n <div fxFlex=\"50\">\n <nc-text-field [dataField]=\"panelContent.author\">\n </nc-text-field>\n </div>\n </div>\n <div fxLayout=\"row\">\n <div fxFlex=\"50\">\n <nc-date-time-field [dataField]=\"panelContent.uploaded\">\n </nc-date-time-field>\n </div>\n </div>\n </div>\n <mat-action-row>\n <button *ngIf=\"showDeleteMenu\" mat-raised-button color=\"warn\"\n (click)=\"deleteWorkflow()\">{{'workflow.delete' | translate | uppercase }}</button>\n <button mat-button color=\"primary\"\n (click)=\"panelRef.expanded = false\">{{'tasks.view.collapse' | translate | uppercase }}</button>\n </mat-action-row>\n </div>\n </ng-template>\n</nc-app-panel>\n",
|
|
18
|
+
styles: [".task-panel-icon{margin-right:10px}.workflow-panel-footer{border-top:1px solid rgba(0,0,0,.03);padding:5px 24px}.workflow-panel-body{padding:10px 24px}.workflow-panel-icon{margin-right:8px}"]
|
|
19
|
+
},] }
|
|
20
|
+
];
|
|
21
|
+
WorkflowPanelComponent.ctorParameters = () => [
|
|
22
|
+
{ type: LoggerService },
|
|
23
|
+
{ type: TranslateService },
|
|
24
|
+
{ type: WorkflowViewService }
|
|
25
|
+
];
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid29ya2Zsb3ctcGFuZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9wYW5lbC93b3JrZmxvdy1wYW5lbC93b3JrZmxvdy1wYW5lbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMsOEJBQThCLEVBQUUsYUFBYSxFQUFFLG1CQUFtQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFDNUcsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0scUJBQXFCLENBQUM7QUFPckQsTUFBTSxPQUFPLHNCQUF1QixTQUFRLDhCQUE4QjtJQUN0RSxZQUFZLEdBQWtCLEVBQUUsU0FBMkIsRUFBRSxlQUFvQztRQUM3RixLQUFLLENBQUMsR0FBRyxFQUFFLFNBQVMsRUFBRSxlQUFlLENBQUMsQ0FBQztJQUMzQyxDQUFDOzs7WUFGZ0IsYUFBYTtZQUFhLGdCQUFnQjtZQUFtQixtQkFBbUI7OztZQU5wRyxTQUFTLFNBQUM7Z0JBQ1AsUUFBUSxFQUFFLG1CQUFtQjtnQkFDN0IscXJGQUE4Qzs7YUFFakQ7OztZQVB1QyxhQUFhO1lBQzdDLGdCQUFnQjtZQUQrQixtQkFBbUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0Fic3RyYWN0V29ya2Zsb3dQYW5lbENvbXBvbmVudCwgTG9nZ2VyU2VydmljZSwgV29ya2Zsb3dWaWV3U2VydmljZX0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcbmltcG9ydCB7VHJhbnNsYXRlU2VydmljZX0gZnJvbSAnQG5neC10cmFuc2xhdGUvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnbmMtd29ya2Zsb3ctcGFuZWwnLFxuICAgIHRlbXBsYXRlVXJsOiAnLi93b3JrZmxvdy1wYW5lbC5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmxzOiBbJy4vd29ya2Zsb3ctcGFuZWwuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBXb3JrZmxvd1BhbmVsQ29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RXb3JrZmxvd1BhbmVsQ29tcG9uZW50IHtcbiAgICBjb25zdHJ1Y3Rvcihsb2c6IExvZ2dlclNlcnZpY2UsIHRyYW5zbGF0ZTogVHJhbnNsYXRlU2VydmljZSwgd29ya2Zsb3dTZXJ2aWNlOiBXb3JrZmxvd1ZpZXdTZXJ2aWNlKSB7XG4gICAgICAgIHN1cGVyKGxvZywgdHJhbnNsYXRlLCB3b3JrZmxvd1NlcnZpY2UpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './redirect.module';
|
|
2
|
+
export * from './redirect/redirect.component';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvcm91dGluZy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYywrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcmVkaXJlY3QubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vcmVkaXJlY3QvcmVkaXJlY3QuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { RedirectService } from '@netgrif/components-core';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
export class RedirectComponent {
|
|
5
|
+
constructor(redirectService, translate) {
|
|
6
|
+
this.redirectService = redirectService;
|
|
7
|
+
this.translate = translate;
|
|
8
|
+
}
|
|
9
|
+
ngOnInit() {
|
|
10
|
+
this.redirectService.redirectFromUrl();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
RedirectComponent.ctorParameters = () => [
|
|
14
|
+
{ type: RedirectService },
|
|
15
|
+
{ type: TranslateService }
|
|
16
|
+
];
|
|
17
|
+
RedirectComponent.decorators = [
|
|
18
|
+
{ type: Component, args: [{
|
|
19
|
+
selector: 'nc-redirect',
|
|
20
|
+
template: "<p>{{this.translate.instant('tasks.view.redirecting')}}</p>\n",
|
|
21
|
+
styles: [""]
|
|
22
|
+
},] }
|
|
23
|
+
];
|
|
24
|
+
RedirectComponent.ctorParameters = () => [
|
|
25
|
+
{ type: RedirectService },
|
|
26
|
+
{ type: TranslateService }
|
|
27
|
+
];
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVkaXJlY3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLC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6IFsnLi9yZWRpcmVjdC5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIFJlZGlyZWN0Q29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcblxuICBjb25zdHJ1Y3Rvcihwcm90ZWN0ZWQgcmVkaXJlY3RTZXJ2aWNlOiBSZWRpcmVjdFNlcnZpY2UsXG4gICAgICAgICAgICAgIHB1YmxpYyB0cmFuc2xhdGU6IFRyYW5zbGF0ZVNlcnZpY2UpIHtcbiAgfVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICAgICAgdGhpcy5yZWRpcmVjdFNlcnZpY2UucmVkaXJlY3RGcm9tVXJsKCk7XG4gIH1cblxufVxuIl19
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { RedirectComponent } from './redirect/redirect.component';
|
|
3
|
+
export class RedirectComponentModule {
|
|
4
|
+
}
|
|
5
|
+
RedirectComponentModule.decorators = [
|
|
6
|
+
{ type: NgModule, args: [{
|
|
7
|
+
imports: [],
|
|
8
|
+
exports: [RedirectComponent],
|
|
9
|
+
declarations: [RedirectComponent]
|
|
10
|
+
},] }
|
|
11
|
+
];
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVkaXJlY3QubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9yb3V0aW5nL3JlZGlyZWN0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBUWxFLE1BQU0sT0FBTyx1QkFBdUI7OztZQUxuQyxRQUFRLFNBQUM7Z0JBQ04sT0FBTyxFQUFFLEVBQUU7Z0JBQ1gsT0FBTyxFQUFFLENBQUMsaUJBQWlCLENBQUM7Z0JBQzVCLFlBQVksRUFBRSxDQUFDLGlCQUFpQixDQUFDO2FBQ3BDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBSZWRpcmVjdENvbXBvbmVudCB9IGZyb20gJy4vcmVkaXJlY3QvcmVkaXJlY3QuY29tcG9uZW50JztcbmltcG9ydCB7Um91dGVyTW9kdWxlfSBmcm9tICdAYW5ndWxhci9yb3V0ZXInO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtdLFxuICAgIGV4cG9ydHM6IFtSZWRpcmVjdENvbXBvbmVudF0sXG4gICAgZGVjbGFyYXRpb25zOiBbUmVkaXJlY3RDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIFJlZGlyZWN0Q29tcG9uZW50TW9kdWxlIHtcbn1cbiJdfQ==
|
package/esm2015/lib/search/advanced-search/advanced-search-component/advanced-search.component.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractAdvancedSearchComponent, AdvancedSearchComponentInitializationService, SearchService } from '@netgrif/components-core';
|
|
3
|
+
export class AdvancedSearchComponent extends AbstractAdvancedSearchComponent {
|
|
4
|
+
constructor(searchService, initializationService) {
|
|
5
|
+
super(searchService, initializationService);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
AdvancedSearchComponent.ctorParameters = () => [
|
|
9
|
+
{ type: SearchService },
|
|
10
|
+
{ type: AdvancedSearchComponentInitializationService }
|
|
11
|
+
];
|
|
12
|
+
AdvancedSearchComponent.decorators = [
|
|
13
|
+
{ type: Component, args: [{
|
|
14
|
+
selector: 'nc-advanced-search',
|
|
15
|
+
template: "<div fxLayout=\"row wrap\" fxLayoutAlign=\"start center\">\n <div *ngFor=\"let item of getPredicateMap() | keyvalue; trackBy: trackByPredicates; first as first\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <div *ngIf=\"!first\" class=\"bool-operator-margin\">{{'search.and' | translate | uppercase}}</div>\n <nc-search-clause [predicate]=\"item.value\" [predicateId]=\"item.key\" [remove$]=\"removeChild$\" [editable]=\"editable\"\n class=\"clause-margin\"></nc-search-clause>\n </div>\n <button *ngIf=\"editable\" mat-stroked-button (click)=\"addChildPredicate()\" class=\"bool-operator-margin\">+ {{'search.and' | translate | uppercase}}</button>\n</div>\n",
|
|
16
|
+
providers: [AdvancedSearchComponentInitializationService],
|
|
17
|
+
styles: [".bool-operator-margin{margin-left:8px;margin-right:8px}"]
|
|
18
|
+
},] }
|
|
19
|
+
];
|
|
20
|
+
AdvancedSearchComponent.ctorParameters = () => [
|
|
21
|
+
{ type: SearchService },
|
|
22
|
+
{ type: AdvancedSearchComponentInitializationService }
|
|
23
|
+
];
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWR2YW5jZWQtc2VhcmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvc2VhcmNoL2FkdmFuY2VkLXNlYXJjaC9hZHZhbmNlZC1zZWFyY2gtY29tcG9uZW50L2FkdmFuY2VkLXNlYXJjaC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMsK0JBQStCLEVBQUUsNENBQTRDLEVBQUUsYUFBYSxFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFRdEksTUFBTSxPQUFPLHVCQUF3QixTQUFRLCtCQUErQjtJQUV4RSxZQUFZLGFBQTRCLEVBQUUscUJBQW1FO1FBQ3pHLE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uZW50SW5pdGlhbGl6YXRpb25TZXJ2aWNlKSB7XG4gICAgICAgIHN1cGVyKHNlYXJjaFNlcnZpY2UsIGluaXRpYWxpemF0aW9uU2VydmljZSk7XG4gICAgfVxuXG59XG4iXX0=
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { SearchClauseComponent } from './search-clause-component/search-clause.component';
|
|
3
|
+
import { SearchPredicateComponent } from './search-predicate-component/search-predicate.component';
|
|
4
|
+
import { SearchOperandInputComponent } from './search-operand-input-component/search-operand-input.component';
|
|
5
|
+
import { SearchConfigurationInputComponent } from './search-configuration-input-component/search-configuration-input.component';
|
|
6
|
+
import { AdvancedSearchComponent } from './advanced-search-component/advanced-search.component';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
import { NgxMatDatetimePickerModule } from '@angular-material-components/datetime-picker';
|
|
9
|
+
import { MaterialModule, TranslateLibModule } from '@netgrif/components-core';
|
|
10
|
+
export class AdvancedSearchComponentModule {
|
|
11
|
+
}
|
|
12
|
+
AdvancedSearchComponentModule.decorators = [
|
|
13
|
+
{ type: NgModule, args: [{
|
|
14
|
+
declarations: [
|
|
15
|
+
SearchClauseComponent,
|
|
16
|
+
SearchPredicateComponent,
|
|
17
|
+
SearchOperandInputComponent,
|
|
18
|
+
SearchConfigurationInputComponent,
|
|
19
|
+
AdvancedSearchComponent,
|
|
20
|
+
],
|
|
21
|
+
exports: [
|
|
22
|
+
SearchClauseComponent,
|
|
23
|
+
SearchPredicateComponent,
|
|
24
|
+
SearchOperandInputComponent,
|
|
25
|
+
SearchConfigurationInputComponent,
|
|
26
|
+
AdvancedSearchComponent,
|
|
27
|
+
],
|
|
28
|
+
imports: [
|
|
29
|
+
CommonModule,
|
|
30
|
+
MaterialModule,
|
|
31
|
+
TranslateLibModule,
|
|
32
|
+
NgxMatDatetimePickerModule,
|
|
33
|
+
]
|
|
34
|
+
},] }
|
|
35
|
+
];
|
|
36
|
+
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NvbXBvbmVudHMvZGF0ZXRpbWUtcGlja2VyJztcbmltcG9ydCB7TWF0ZXJpYWxNb2R1bGUsIFRyYW5zbGF0ZUxpYk1vZHVsZX0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgU2VhcmNoQ2xhdXNlQ29tcG9uZW50LFxuICAgICAgICBTZWFyY2hQcmVkaWNhdGVDb21wb25lbnQsXG4gICAgICAgIFNlYXJjaE9wZXJhbmRJbnB1dENvbXBvbmVudCxcbiAgICAgICAgU2VhcmNoQ29uZmlndXJhdGlvbklucHV0Q29tcG9uZW50LFxuICAgICAgICBBZHZhbmNlZFNlYXJjaENvbXBvbmVudCxcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgU2VhcmNoQ2xhdXNlQ29tcG9uZW50LFxuICAgICAgICBTZWFyY2hQcmVkaWNhdGVDb21wb25lbnQsXG4gICAgICAgIFNlYXJjaE9wZXJhbmRJbnB1dENvbXBvbmVudCxcbiAgICAgICAgU2VhcmNoQ29uZmlndXJhdGlvbklucHV0Q29tcG9uZW50LFxuICAgICAgICBBZHZhbmNlZFNlYXJjaENvbXBvbmVudCxcbiAgICBdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBNYXRlcmlhbE1vZHVsZSxcbiAgICAgICAgVHJhbnNsYXRlTGliTW9kdWxlLFxuICAgICAgICBOZ3hNYXREYXRldGltZVBpY2tlck1vZHVsZSxcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIEFkdmFuY2VkU2VhcmNoQ29tcG9uZW50TW9kdWxlIHtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Module */
|
|
2
|
+
/* Component */
|
|
3
|
+
export * from './advanced-search-component/advanced-search.component';
|
|
4
|
+
export * from './search-clause-component/search-clause.component';
|
|
5
|
+
export * from './search-predicate-component/search-predicate.component';
|
|
6
|
+
export * from './search-operand-input-component/search-operand-input.component';
|
|
7
|
+
export * from './search-configuration-input-component/search-configuration-input.component';
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvc2VhcmNoL2FkdmFuY2VkLXNlYXJjaC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVk7QUFFWixlQUFlO0FBQ2YsY0FBYyx1REFBdUQsQ0FBQztBQUN0RSxjQUFjLG1EQUFtRCxDQUFDO0FBQ2xFLGNBQWMseURBQXlELENBQUM7QUFDeEUsY0FBYyxpRUFBaUUsQ0FBQztBQUNoRixjQUFjLDZFQUE2RSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyogTW9kdWxlICovXG5cbi8qIENvbXBvbmVudCAqL1xuZXhwb3J0ICogZnJvbSAnLi9hZHZhbmNlZC1zZWFyY2gtY29tcG9uZW50L2FkdmFuY2VkLXNlYXJjaC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zZWFyY2gtY2xhdXNlLWNvbXBvbmVudC9zZWFyY2gtY2xhdXNlLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaC1wcmVkaWNhdGUtY29tcG9uZW50L3NlYXJjaC1wcmVkaWNhdGUuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc2VhcmNoLW9wZXJhbmQtaW5wdXQtY29tcG9uZW50L3NlYXJjaC1vcGVyYW5kLWlucHV0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaC1jb25maWd1cmF0aW9uLWlucHV0LWNvbXBvbmVudC9zZWFyY2gtY29uZmlndXJhdGlvbi1pbnB1dC5jb21wb25lbnQnO1xuIl19
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractSearchClauseComponent } from '@netgrif/components-core';
|
|
3
|
+
export class SearchClauseComponent extends AbstractSearchClauseComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
super();
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
SearchClauseComponent.decorators = [
|
|
9
|
+
{ type: Component, args: [{
|
|
10
|
+
selector: 'nc-search-clause',
|
|
11
|
+
template: "<div class=\"clause-body clause-body-color\">\n <div fxLayout=\"row wrap\" fxLayoutAlign=\"start center\">\n <div *ngFor=\"let item of getPredicateMap() | keyvalue; trackBy: trackByPredicates; first as first\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <div *ngIf=\"!first\" class=\"bool-operator-margin\">{{'search.or' | translate | uppercase}}</div>\n <nc-search-predicate [predicate]=\"item.value.wrappedPredicate\" [predicateId]=\"item.key\"\n [remove$]=\"removeChild$\" [generator]=\"item.value.generator\" [editable]=\"editable\"></nc-search-predicate>\n </div>\n <button *ngIf=\"editable\" mat-stroked-button (click)=\"addChildPredicate()\" class=\"bool-operator-button\">+ {{'search.or' | translate | uppercase}}</button>\n </div>\n</div>\n",
|
|
12
|
+
styles: [".clause-body{border-radius:4px;padding:4px 6px}.bool-operator-margin{margin-left:8px;margin-right:8px}.bool-operator-button{margin-left:4px}"]
|
|
13
|
+
},] }
|
|
14
|
+
];
|
|
15
|
+
SearchClauseComponent.ctorParameters = () => [];
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWNsYXVzZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL3NlYXJjaC9hZHZhbmNlZC1zZWFyY2gvc2VhcmNoLWNsYXVzZS1jb21wb25lbnQvc2VhcmNoLWNsYXVzZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMsNkJBQTZCLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQU92RSxNQUFNLE9BQU8scUJBQXNCLFNBQVEsNkJBQTZCO0lBQ3BFO1FBQ0ksS0FBSyxFQUFFLENBQUM7SUFDWixDQUFDOzs7WUFSSixTQUFTLFNBQUM7Z0JBQ1AsUUFBUSxFQUFFLGtCQUFrQjtnQkFDNUIsaTFCQUE2Qzs7YUFFaEQiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0Fic3RyYWN0U2VhcmNoQ2xhdXNlQ29tcG9uZW50fSBmcm9tICdAbmV0Z3JpZi9jb21wb25lbnRzLWNvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ25jLXNlYXJjaC1jbGF1c2UnLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9zZWFyY2gtY2xhdXNlLmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9zZWFyY2gtY2xhdXNlLmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgU2VhcmNoQ2xhdXNlQ29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RTZWFyY2hDbGF1c2VDb21wb25lbnQge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgICAgICBzdXBlcigpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractSearchConfigurationInputComponent, OperatorTemplatePartType, SearchInputType } from '@netgrif/components-core';
|
|
3
|
+
export class SearchConfigurationInputComponent extends AbstractSearchConfigurationInputComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
super();
|
|
6
|
+
// make the enum referencable in HTML
|
|
7
|
+
this.searchInputType = SearchInputType;
|
|
8
|
+
// make the enum referencable in HTML
|
|
9
|
+
this.operatorTemplatePartType = OperatorTemplatePartType;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
SearchConfigurationInputComponent.decorators = [
|
|
13
|
+
{ type: Component, args: [{
|
|
14
|
+
selector: 'nc-search-configuration-input',
|
|
15
|
+
template: "<div [ngSwitch]=\"configuration.type\">\n <ng-template [ngSwitchCase]=\"searchInputType.AUTOCOMPLETE\">\n <div *ngIf=\"!configuration.isOptionSelected; then configurationSelection else configurationDisplay\"></div>\n\n <ng-template #configurationSelection>\n <mat-form-field class=\"text-margin\" appearance=\"outline\">\n <mat-label>{{configuration.label | translate}}</mat-label>\n <input type=\"text\" matInput\n #autocompleteInput\n #autocompleteTrigger=\"matAutocompleteTrigger\"\n [formControl]=\"configuration.formControl\"\n [matAutocomplete]=\"configurationAutocomplete\"\n [disabled]=\"!editable\"\n (keydown.enter)=\"$event.target.blur(); autocompleteTrigger.closePanel()\"\n #configurationInput>\n <mat-autocomplete #configurationAutocomplete=\"matAutocomplete\"\n [displayWith]=\"renderSelection\"\n (optionSelected)=\"autocompleteInput.blur()\">\n <mat-option\n *ngFor=\"let option of configuration.filteredOptions$ | async\"\n [value]=\"option\">\n <mat-icon *ngIf=\"option.icon\">{{option.icon}}</mat-icon>\n <span>{{option.text}}</span>\n </mat-option>\n </mat-autocomplete>\n </mat-form-field>\n </ng-template>\n\n <ng-template #configurationDisplay>\n <div class=\"text-margin\"\n [ngClass]=\"{'bold-text': configuration.displayBold}\"\n (click)=\"clearConfigurationInput()\">\n {{configuration.selectedOptionTranslatePath | translate}}\n </div>\n </ng-template>\n </ng-template>\n <ng-template [ngSwitchCase]=\"searchInputType.OPERATOR\">\n <div *ngIf=\"selectedCategory.isOperatorSelected(); then argumentsSelection; else operatorSelection\"></div>\n\n <ng-template #operatorSelection>\n <mat-form-field appearance=\"outline\">\n <mat-label>{{configuration.label | translate}}</mat-label>\n <mat-select [formControl]=\"configuration.formControl\" [disabled]=\"!editable\" #configurationInput>\n <mat-option *ngFor=\"let operator of selectedCategory.allowedOperators\" [value]=\"operator\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <ng-template ngFor let-namePart [ngForOf]=\"operator.getOperatorNameTemplate()\" let-last=\"last\">\n <ng-container [ngTemplateOutlet]=\"namePart ? operatorInputText : operatorInputPlaceholder\"\n [ngTemplateOutletContext]=\"{last:last, namePart:namePart}\"></ng-container>\n </ng-template>\n\n <ng-template #operatorInputText let-last=\"last\" let-namePart=\"namePart\">\n <div [ngClass]=\"{'argument-right-margin': !last}\">\n {{namePart | translate}}\n </div>\n </ng-template>\n\n <ng-template #operatorInputPlaceholder let-last=\"last\">\n <div class=\"argument-placeholder-color argument-placeholder-dimensions\" [ngClass]=\"{'argument-right-margin': !last}\"></div>\n </ng-template>\n </div>\n </mat-option>\n </mat-select>\n </mat-form-field>\n </ng-template>\n\n <ng-template #argumentsSelection>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" (click)=\"clearOperatorInput()\">\n <ng-template ngFor let-templatePart [ngForOf]=\"selectedCategory.operatorTemplate$ | async\"\n [ngForTrackBy]=\"trackByTemplateParts\">\n <div [ngSwitch]=\"templatePart.type\">\n <ng-template [ngSwitchCase]=\"operatorTemplatePartType.TEXT\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\"\n class=\"text-margin\">\n {{templatePart.content | translate}}\n </div>\n </ng-template>\n\n <ng-template [ngSwitchCase]=\"operatorTemplatePartType.INPUT\">\n <div class=\"text-margin\"\n (click)=\"$event.stopPropagation()\">\n <nc-search-operand-input [inputFormControl]=\"templatePart.content\"\n [inputType]=\"selectedCategory.inputType\"\n [first]=\"templatePart.first\"\n [filterOptionsFunction]=\"filterOptions\"\n [editable]=\"editable\"></nc-search-operand-input>\n </div>\n </ng-template>\n </div>\n </ng-template>\n </div>\n </ng-template>\n </ng-template>\n</div>\n",
|
|
16
|
+
styles: [".bold-text{font-weight:700}.text-margin{margin-left:4px}.argument-placeholder-dimensions{height:1.5em;width:6em;border-radius:4px}.argument-right-margin{margin-right:.5em}"]
|
|
17
|
+
},] }
|
|
18
|
+
];
|
|
19
|
+
SearchConfigurationInputComponent.ctorParameters = () => [];
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWNvbmZpZ3VyYXRpb24taW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9zZWFyY2gvYWR2YW5jZWQtc2VhcmNoL3NlYXJjaC1jb25maWd1cmF0aW9uLWlucHV0LWNvbXBvbmVudC9zZWFyY2gtY29uZmlndXJhdGlvbi1pbnB1dC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMseUNBQXlDLEVBQUUsd0JBQXdCLEVBQUUsZUFBZSxFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFPOUgsTUFBTSxPQUFPLGlDQUFrQyxTQUFRLHlDQUF5QztJQU81RjtRQUNJLEtBQUssRUFBRSxDQUFDO1FBTloscUNBQXFDO1FBQzlCLG9CQUFlLEdBQUcsZUFBZSxDQUFDO1FBQ3pDLHFDQUFxQztRQUM5Qiw2QkFBd0IsR0FBRyx3QkFBd0IsQ0FBQztJQUkzRCxDQUFDOzs7WUFkSixTQUFTLFNBQUM7Z0JBQ1AsUUFBUSxFQUFFLCtCQUErQjtnQkFDekMsKzRLQUEwRDs7YUFFN0QiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0Fic3RyYWN0U2VhcmNoQ29uZmlndXJhdGlvbklucHV0Q29tcG9uZW50LCBPcGVyYXRvclRlbXBsYXRlUGFydFR5cGUsIFNlYXJjaElucHV0VHlwZX0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICduYy1zZWFyY2gtY29uZmlndXJhdGlvbi1pbnB1dCcsXG4gICAgdGVtcGxhdGVVcmw6ICcuL3NlYXJjaC1jb25maWd1cmF0aW9uLWlucHV0LmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9zZWFyY2gtY29uZmlndXJhdGlvbi1pbnB1dC5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIFNlYXJjaENvbmZpZ3VyYXRpb25JbnB1dENvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0U2VhcmNoQ29uZmlndXJhdGlvbklucHV0Q29tcG9uZW50IHtcblxuICAgIC8vIG1ha2UgdGhlIGVudW0gcmVmZXJlbmNhYmxlIGluIEhUTUxcbiAgICBwdWJsaWMgc2VhcmNoSW5wdXRUeXBlID0gU2VhcmNoSW5wdXRUeXBlO1xuICAgIC8vIG1ha2UgdGhlIGVudW0gcmVmZXJlbmNhYmxlIGluIEhUTUxcbiAgICBwdWJsaWMgb3BlcmF0b3JUZW1wbGF0ZVBhcnRUeXBlID0gT3BlcmF0b3JUZW1wbGF0ZVBhcnRUeXBlO1xuXG4gICAgY29uc3RydWN0b3IoKSB7XG4gICAgICAgIHN1cGVyKCk7XG4gICAgfVxuXG59XG4iXX0=
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { NGX_MAT_DATE_FORMATS } from '@angular-material-components/datetime-picker';
|
|
2
|
+
import { Component } from '@angular/core';
|
|
3
|
+
import { AbstractSearchOperandInputComponent, DATE_FORMAT_STRING, DATE_TIME_FORMAT, DATE_TIME_FORMAT_STRING, SearchInputType } from '@netgrif/components-core';
|
|
4
|
+
const ɵ0 = DATE_TIME_FORMAT;
|
|
5
|
+
export class SearchOperandInputComponent extends AbstractSearchOperandInputComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
// make enum accessible in HTMl
|
|
9
|
+
this.searchInputType = SearchInputType;
|
|
10
|
+
this.dateFormat = DATE_FORMAT_STRING;
|
|
11
|
+
this.dateTimeFormat = DATE_TIME_FORMAT_STRING;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
SearchOperandInputComponent.decorators = [
|
|
15
|
+
{ type: Component, args: [{
|
|
16
|
+
selector: 'nc-search-operand-input',
|
|
17
|
+
template: "<div *ngIf=\"!isInputFilled; then operandSelection else operandDisplay\"></div>\n\n<ng-template #operandSelection>\n <div [ngSwitch]=\"inputType\">\n <ng-template [ngSwitchCase]=\"searchInputType.TEXT\">\n <mat-form-field appearance=\"outline\">\n <input type=\"text\" matInput autocomplete=\"off\"\n [formControl]=\"inputFormControl\"\n [disabled]=\"!editable\"\n (keydown.enter)=\"$event.target.blur()\"\n (blur)=\"confirmInput()\"\n #operandInput>\n </mat-form-field>\n </ng-template>\n\n <ng-template [ngSwitchCase]=\"searchInputType.AUTOCOMPLETE\">\n <mat-form-field appearance=\"outline\">\n <input type=\"text\" matInput autocomplete=\"off\"\n #autocompleteInput\n #autocompleteTrigger=\"matAutocompleteTrigger\"\n [formControl]=\"inputFormControl\"\n [matAutocomplete]=\"searchAutocomplete\"\n [disabled]=\"!editable\"\n (keydown.enter)=\"$event.target.blur(); autocompleteTrigger.closePanel()\"\n (focus)=\"editInput()\"\n #operandInput>\n <mat-autocomplete #searchAutocomplete=\"matAutocomplete\"\n [displayWith]=\"renderSelection\"\n (optionSelected)=\"autocompleteInput.blur()\">\n <mat-option *ngFor=\"let option of filteredOptions$ | async\" [value]=\"option\">\n <mat-icon *ngIf=\"option.icon\">{{option.icon}}</mat-icon>\n <span>{{option.text | translate}}</span>\n </mat-option>\n </mat-autocomplete>\n </mat-form-field>\n </ng-template>\n\n <ng-template [ngSwitchCase]=\"searchInputType.DATE\">\n <mat-form-field appearance=\"outline\">\n <input matInput autocomplete=\"off\"\n [formControl]=\"inputFormControl\"\n [matDatepicker]=\"searchDatepicker\"\n [disabled]=\"!editable\"\n (keydown.enter)=\"searchDatepicker.close()\"\n (focus)=\"editInput(); searchDatepicker.open()\"\n (blur)=\"confirmInput()\"\n #operandInput>\n <mat-datepicker-toggle matPrefix [for]=\"searchDatepicker\"></mat-datepicker-toggle>\n <mat-datepicker #searchDatepicker></mat-datepicker>\n </mat-form-field>\n </ng-template>\n\n <ng-template [ngSwitchCase]=\"searchInputType.DATE_TIME\">\n <mat-form-field appearance=\"outline\">\n <input matInput autocomplete=\"off\"\n [formControl]=\"inputFormControl\"\n [ngxMatDatetimePicker]=\"searchDateTimepicker\"\n [disabled]=\"!editable\"\n (keydown.enter)=\"searchDateTimepicker.close()\"\n (focus)=\"editInput(); searchDateTimepicker.open()\"\n #operandInput>\n <mat-datepicker-toggle matPrefix [for]=\"searchDateTimepicker\">\n <mat-icon matDatepickerToggleIcon>schedule</mat-icon>\n </mat-datepicker-toggle>\n <ngx-mat-datetime-picker #searchDateTimepicker\n [showSpinners]=\"true\"\n [showSeconds]=\"false\"\n [stepHour]=\"1\"\n [stepMinute]=\"5\"\n [color]=\"'primary'\"\n [enableMeridian]=\"false\"\n (closed)=\"confirmInput()\"></ngx-mat-datetime-picker>\n </mat-form-field>\n </ng-template>\n\n <ng-template [ngSwitchCase]=\"searchInputType.NUMBER\">\n <mat-form-field appearance=\"outline\">\n <input type=\"number\" matInput autocomplete=\"off\"\n [formControl]=\"inputFormControl\"\n [disabled]=\"!editable\"\n (keydown.enter)=\"$event.target.blur()\"\n (focus)=\"editInput()\"\n (blur)=\"confirmInput()\"\n #operandInput>\n </mat-form-field>\n </ng-template>\n\n <ng-template [ngSwitchCase]=\"searchInputType.BOOLEAN\">\n <div fxLayout=\"row\">\n <mat-slide-toggle [formControl]=\"inputFormControl\"\n [disabled]=\"!editable\"\n (focus)=\"editInput()\"\n (toggleChange)=\"confirmInput()\"></mat-slide-toggle>\n </div>\n </ng-template>\n </div>\n</ng-template>\n\n<ng-template #operandDisplay>\n <div [ngSwitch]=\"inputType\" (click)=\"editInput()\" class=\"bold-text\">\n <div *ngSwitchCase=\"searchInputType.AUTOCOMPLETE\">\n {{inputFormControl.value.text | translate}}\n </div>\n <div *ngSwitchCase=\"searchInputType.DATE\">\n {{inputFormControl.value.format(dateFormat)}}\n </div>\n <div *ngSwitchCase=\"searchInputType.DATE_TIME\">\n {{inputFormControl.value.format(dateTimeFormat)}}\n </div>\n <div *ngSwitchDefault>\n {{inputFormControl.value}}\n </div>\n </div>\n</ng-template>\n",
|
|
18
|
+
providers: [
|
|
19
|
+
{ provide: NGX_MAT_DATE_FORMATS, useValue: ɵ0 }
|
|
20
|
+
],
|
|
21
|
+
styles: [".bold-text{font-weight:700}"]
|
|
22
|
+
},] }
|
|
23
|
+
];
|
|
24
|
+
SearchOperandInputComponent.ctorParameters = () => [];
|
|
25
|
+
export { ɵ0 };
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLW9wZXJhbmQtaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9zZWFyY2gvYWR2YW5jZWQtc2VhcmNoL3NlYXJjaC1vcGVyYW5kLWlucHV0LWNvbXBvbmVudC9zZWFyY2gtb3BlcmFuZC1pbnB1dC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0sOENBQThDLENBQUM7QUFDbEYsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ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