@netgrif/components 6.0.4 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -9
- package/esm2020/lib/admin/admin.module.mjs +31 -0
- package/esm2020/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.mjs +39 -0
- package/esm2020/lib/admin/public-api.mjs +7 -0
- package/esm2020/lib/admin/role-assignment/role-assignment.component.mjs +40 -0
- package/esm2020/lib/admin/user-invite/user-invite.component.mjs +34 -0
- package/esm2020/lib/authentication/auth.module.mjs +22 -0
- package/esm2020/lib/authentication/authentication-overlay/authentication-overlay.component.mjs +22 -0
- package/esm2020/lib/authentication/public-api.mjs +5 -0
- package/esm2020/lib/dashboard/cards/barchart-card/barchart-card.component.mjs +40 -0
- package/esm2020/lib/dashboard/cards/count-card/count-card.component.mjs +20 -0
- package/esm2020/lib/dashboard/cards/iframe-card/iframe-card.component.mjs +19 -0
- package/esm2020/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.mjs +37 -0
- package/esm2020/lib/dashboard/cards/linechart-card/line-chart-card.component.mjs +49 -0
- package/esm2020/lib/dashboard/cards/piechart-card/pie-chart-card.component.mjs +42 -0
- package/esm2020/lib/dashboard/cards/portal-card/portal-card.component.mjs +36 -0
- package/esm2020/lib/dashboard/dashboard-content/dashboard-content.component.mjs +26 -0
- package/esm2020/lib/dashboard/dashboard.module.mjs +77 -0
- package/esm2020/lib/dashboard/public-api.mjs +12 -0
- package/esm2020/lib/data-fields/boolean-field/boolean-field.component.mjs +34 -0
- package/esm2020/lib/data-fields/button-field/button-field.component.mjs +32 -0
- package/esm2020/lib/data-fields/data-field-template/data-field-template.component.mjs +23 -0
- package/esm2020/lib/data-fields/data-fields.module.mjs +226 -0
- package/esm2020/lib/data-fields/date-field/date-field.component.mjs +32 -0
- package/esm2020/lib/data-fields/date-time-field/date-time-field.component.mjs +33 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.mjs +25 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.mjs +23 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-field.component.mjs +28 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.mjs +22 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.mjs +22 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.mjs +21 -0
- package/esm2020/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.mjs +23 -0
- package/esm2020/lib/data-fields/file-field/file-field.component.mjs +51 -0
- package/esm2020/lib/data-fields/file-field/preview-dialog/preview-dialog.component.mjs +33 -0
- package/esm2020/lib/data-fields/file-field-list/file-list-field.component.mjs +33 -0
- package/esm2020/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.mjs +45 -0
- package/esm2020/lib/data-fields/filter-field/filter-field.component.mjs +27 -0
- package/esm2020/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.mjs +18 -0
- package/esm2020/lib/data-fields/i18n-field/i18n-field.component.mjs +24 -0
- package/esm2020/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.mjs +61 -0
- package/esm2020/lib/data-fields/multichoice-field/multichoice-field.component.mjs +24 -0
- package/esm2020/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.mjs +21 -0
- package/esm2020/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.mjs +18 -0
- package/esm2020/lib/data-fields/number-field/number-currency-field/number-currency-field.component.mjs +29 -0
- package/esm2020/lib/data-fields/number-field/number-default-field/number-default-field.component.mjs +20 -0
- package/esm2020/lib/data-fields/number-field/number-field.component.mjs +33 -0
- package/esm2020/lib/data-fields/public-api.mjs +18 -0
- package/esm2020/lib/data-fields/required-label/required-label.component.mjs +18 -0
- package/esm2020/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs +23 -0
- package/esm2020/lib/data-fields/text-field/password-text-field/password-text-field.component.mjs +24 -0
- package/esm2020/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.mjs +82 -0
- package/esm2020/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs +22 -0
- package/esm2020/lib/data-fields/text-field/simple-text-field/simple-text-field.component.mjs +21 -0
- package/esm2020/lib/data-fields/text-field/text-field.component.mjs +27 -0
- package/esm2020/lib/data-fields/text-field/textarea-field/textarea-field.component.mjs +24 -0
- package/esm2020/lib/data-fields/user-field/user-field.component.mjs +32 -0
- package/esm2020/lib/forms/email-submission/email-submission-form.component.mjs +25 -0
- package/esm2020/lib/forms/email-submission/email-submission-form.module.mjs +41 -0
- package/esm2020/lib/forms/forgotten-password/forgotten-password-form-component.module.mjs +37 -0
- package/esm2020/lib/forms/forgotten-password/forgotten-password-form.component.mjs +25 -0
- package/esm2020/lib/forms/login/login-form.component.mjs +26 -0
- package/esm2020/lib/forms/login/login-form.module.mjs +37 -0
- package/esm2020/lib/forms/public-api.mjs +11 -0
- package/esm2020/lib/forms/registration/registration-form.component.mjs +26 -0
- package/esm2020/lib/forms/registration/registration-form.module.mjs +41 -0
- package/esm2020/lib/header/header-modes/edit-mode/edit-mode.component.mjs +27 -0
- package/esm2020/lib/header/header-modes/loading-mode/loading-mode.component.mjs +18 -0
- package/esm2020/lib/header/header-modes/search-mode/search-mode.component.mjs +41 -0
- package/esm2020/lib/header/header-modes/sort-mode/sort-mode.component.mjs +20 -0
- package/esm2020/lib/header/header.component.mjs +49 -0
- package/esm2020/lib/header/header.module.mjs +64 -0
- package/esm2020/lib/header/public-api.mjs +12 -0
- package/esm2020/lib/legal/legal-notice/legal-notice.component.mjs +17 -0
- package/esm2020/lib/legal/legal-notice/legal-notice.module.mjs +26 -0
- package/esm2020/lib/legal/public-api.mjs +5 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.mjs +80 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.mjs +42 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.mjs +85 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.mjs +77 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.mjs +30 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.mjs +2 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.mjs +31 -0
- package/esm2020/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.mjs +23 -0
- package/esm2020/lib/navigation/navigation-drawer/navigation-drawer.component.mjs +31 -0
- package/esm2020/lib/navigation/navigation-rail/navigation-rail.component.mjs +42 -0
- package/esm2020/lib/navigation/navigation-tree/navigation-tree.component.mjs +24 -0
- package/esm2020/lib/navigation/navigation.module.mjs +124 -0
- package/esm2020/lib/navigation/public-api.mjs +14 -0
- package/esm2020/lib/navigation/quick-panel/components/internal-link/internal-link.component.mjs +18 -0
- package/esm2020/lib/navigation/quick-panel/components/language-selector/language-selector.component.mjs +39 -0
- package/esm2020/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.mjs +23 -0
- package/esm2020/lib/navigation/quick-panel/components/quick-panel.component.mjs +26 -0
- package/esm2020/lib/navigation/quick-panel/public-api.mjs +9 -0
- package/esm2020/lib/navigation/quick-panel/quick-panel.module.mjs +52 -0
- package/esm2020/lib/panel/case-panel/case-panel.component.mjs +36 -0
- package/esm2020/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.mjs +21 -0
- package/esm2020/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.mjs +49 -0
- package/esm2020/lib/panel/panel-item/panel-item.component.mjs +22 -0
- package/esm2020/lib/panel/panel.component.mjs +19 -0
- package/esm2020/lib/panel/panel.module.mjs +96 -0
- package/esm2020/lib/panel/public-api.mjs +14 -0
- package/esm2020/lib/panel/public-workflow-panel/public-workflow-panel.component.mjs +22 -0
- package/esm2020/lib/panel/task-panel/task-panel.component.mjs +104 -0
- package/esm2020/lib/panel/task-panel-list/task-list.component.mjs +33 -0
- package/esm2020/lib/panel/task-panel-list-pagination/task-list-pagination.component.mjs +33 -0
- package/esm2020/lib/panel/workflow-panel/workflow-panel.component.mjs +26 -0
- package/esm2020/lib/routing/public-api.mjs +3 -0
- package/esm2020/lib/routing/redirect/redirect.component.mjs +20 -0
- package/esm2020/lib/routing/redirect.module.mjs +17 -0
- package/esm2020/lib/search/advanced-search/advanced-search-component/advanced-search.component.mjs +21 -0
- package/esm2020/lib/search/advanced-search/advanced-search.module.mjs +57 -0
- package/esm2020/lib/search/advanced-search/public-api.mjs +8 -0
- package/esm2020/lib/search/advanced-search/search-clause-component/search-clause.component.mjs +20 -0
- package/esm2020/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.mjs +31 -0
- package/esm2020/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.mjs +36 -0
- package/esm2020/lib/search/advanced-search/search-predicate-component/search-predicate.component.mjs +29 -0
- package/esm2020/lib/search/fulltext-search-component/fulltext-search.component.mjs +20 -0
- package/esm2020/lib/search/public-api.mjs +10 -0
- package/esm2020/lib/search/search-component/case-search/case-search.component.mjs +25 -0
- package/esm2020/lib/search/search-component/search.component.mjs +107 -0
- package/esm2020/lib/search/search-component/task-search/task-search.component.mjs +25 -0
- package/esm2020/lib/search/search.module.mjs +60 -0
- package/esm2020/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.mjs +17 -0
- package/esm2020/lib/side-menu/content-components/filter-selector/filter-selector.component.mjs +51 -0
- package/esm2020/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.mjs +36 -0
- package/esm2020/lib/side-menu/content-components/import-net/import-net.component.mjs +51 -0
- package/esm2020/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.mjs +45 -0
- package/esm2020/lib/side-menu/content-components/load-filter/load-filter.component.mjs +64 -0
- package/esm2020/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.mjs +42 -0
- package/esm2020/lib/side-menu/content-components/new-case/new-case.component.mjs +43 -0
- package/esm2020/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.mjs +57 -0
- package/esm2020/lib/side-menu/content-components/option-selector/option-selector.component.mjs +30 -0
- package/esm2020/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.mjs +38 -0
- package/esm2020/lib/side-menu/content-components/public-api.mjs +19 -0
- package/esm2020/lib/side-menu/content-components/save-filter/save-filter.component.mjs +58 -0
- package/esm2020/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.mjs +38 -0
- package/esm2020/lib/side-menu/content-components/side-menu-content-component.module.mjs +87 -0
- package/esm2020/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.mjs +56 -0
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.mjs +22 -0
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.mjs +27 -0
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign.component.mjs +36 -0
- package/esm2020/lib/side-menu/public-api.mjs +7 -0
- package/esm2020/lib/side-menu/side-menu-container/side-menu-container.component.mjs +20 -0
- package/esm2020/lib/side-menu/side-menu.module.mjs +42 -0
- package/esm2020/lib/tabs/public-api.mjs +4 -0
- package/esm2020/lib/tabs/tab-creation-detector/tab-creation-detector.component.mjs +21 -0
- package/esm2020/lib/tabs/tab-view/tab-view.component.mjs +32 -0
- package/esm2020/lib/tabs/tabs.module.mjs +44 -0
- package/esm2020/lib/task-content/field-component-resolver/field-component-resolver.component.mjs +32 -0
- package/esm2020/lib/task-content/public-api.mjs +6 -0
- package/esm2020/lib/task-content/task-content/task-content.component.mjs +36 -0
- package/esm2020/lib/task-content/task-content.module.mjs +47 -0
- package/esm2020/lib/toolbar/public-api.mjs +3 -0
- package/esm2020/lib/toolbar/toolbar.component.mjs +26 -0
- package/esm2020/lib/toolbar/toolbar.module.mjs +35 -0
- package/esm2020/lib/user/profile/profile.component.mjs +25 -0
- package/esm2020/lib/user/profile/profile.module.mjs +31 -0
- package/esm2020/lib/user/public-api.mjs +7 -0
- package/esm2020/lib/user/user-card/user-card.component.mjs +23 -0
- package/esm2020/lib/user/user.module.mjs +35 -0
- package/esm2020/lib/view/case-view/case-view.module.mjs +38 -0
- package/esm2020/lib/view/case-view/components/case-list/case-list.component.mjs +34 -0
- package/esm2020/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs +36 -0
- package/esm2020/lib/view/public-api.mjs +11 -0
- package/esm2020/lib/view/tree-case-view/tree-case-view.module.mjs +60 -0
- package/esm2020/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.mjs +22 -0
- package/esm2020/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.mjs +21 -0
- package/esm2020/lib/view/tree-case-view/tree-component/tree.component.mjs +27 -0
- package/esm2020/lib/view/tree-case-view/tree-task-content/tree-task-content.component.mjs +57 -0
- package/esm2020/lib/view/workflow-view/workflow-view.component.mjs +34 -0
- package/esm2020/lib/view/workflow-view.module.mjs +53 -0
- package/esm2020/netgrif-components.mjs +5 -0
- package/esm2020/public-api.mjs +22 -0
- package/fesm2015/netgrif-components.mjs +4255 -0
- package/fesm2015/netgrif-components.mjs.map +1 -0
- package/fesm2020/netgrif-components.mjs +4181 -0
- package/fesm2020/netgrif-components.mjs.map +1 -0
- package/lib/admin/admin.module.d.ts +9 -0
- package/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.d.ts +8 -0
- package/lib/admin/public-api.d.ts +2 -0
- package/lib/admin/role-assignment/role-assignment.component.d.ts +5 -2
- package/lib/admin/user-invite/user-invite.component.d.ts +3 -0
- package/lib/authentication/auth.module.d.ts +6 -0
- package/lib/authentication/authentication-overlay/authentication-overlay.component.d.ts +5 -2
- package/lib/dashboard/cards/barchart-card/barchart-card.component.d.ts +5 -2
- package/lib/dashboard/cards/count-card/count-card.component.d.ts +5 -2
- package/lib/dashboard/cards/iframe-card/iframe-card.component.d.ts +5 -2
- package/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.d.ts +5 -2
- package/lib/dashboard/cards/linechart-card/line-chart-card.component.d.ts +5 -2
- package/lib/dashboard/cards/piechart-card/pie-chart-card.component.d.ts +5 -2
- package/lib/dashboard/cards/portal-card/portal-card.component.d.ts +6 -3
- package/lib/dashboard/dashboard-content/dashboard-content.component.d.ts +5 -2
- package/lib/dashboard/dashboard.module.d.ts +16 -0
- package/lib/data-fields/boolean-field/boolean-field.component.d.ts +3 -0
- package/lib/data-fields/button-field/button-field.component.d.ts +3 -0
- package/lib/data-fields/data-field-template/data-field-template.component.d.ts +3 -0
- package/lib/data-fields/data-fields.module.d.ts +54 -0
- package/lib/data-fields/date-field/date-field.component.d.ts +3 -0
- package/lib/data-fields/date-time-field/date-time-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.d.ts +3 -0
- package/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.d.ts +3 -0
- package/lib/data-fields/file-field/file-field.component.d.ts +3 -0
- package/lib/data-fields/file-field/preview-dialog/preview-dialog.component.d.ts +4 -3
- package/lib/data-fields/file-field-list/file-list-field.component.d.ts +3 -0
- package/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.d.ts +3 -0
- package/lib/data-fields/filter-field/filter-field.component.d.ts +3 -0
- package/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.d.ts +3 -0
- package/lib/data-fields/i18n-field/i18n-field.component.d.ts +3 -0
- package/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.d.ts +6 -2
- package/lib/data-fields/multichoice-field/multichoice-field.component.d.ts +3 -0
- package/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.d.ts +3 -0
- package/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.d.ts +3 -0
- package/lib/data-fields/number-field/number-currency-field/number-currency-field.component.d.ts +6 -3
- package/lib/data-fields/number-field/number-default-field/number-default-field.component.d.ts +3 -0
- package/lib/data-fields/number-field/number-field.component.d.ts +3 -0
- package/lib/data-fields/required-label/required-label.component.d.ts +4 -3
- package/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.d.ts +3 -0
- package/lib/data-fields/text-field/password-text-field/password-text-field.component.d.ts +4 -3
- package/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.d.ts +23 -0
- package/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.d.ts +3 -0
- package/lib/data-fields/text-field/simple-text-field/simple-text-field.component.d.ts +3 -0
- package/lib/data-fields/text-field/text-field.component.d.ts +3 -0
- package/lib/data-fields/text-field/textarea-field/textarea-field.component.d.ts +3 -0
- package/lib/data-fields/user-field/user-field.component.d.ts +3 -0
- package/lib/forms/email-submission/email-submission-form.component.d.ts +3 -0
- package/lib/forms/email-submission/email-submission-form.module.d.ts +10 -0
- package/lib/forms/forgotten-password/forgotten-password-form-component.module.d.ts +9 -0
- package/lib/forms/forgotten-password/forgotten-password-form.component.d.ts +3 -0
- package/lib/forms/login/login-form.component.d.ts +3 -0
- package/lib/forms/login/login-form.module.d.ts +9 -0
- package/lib/forms/registration/registration-form.component.d.ts +3 -0
- package/lib/forms/registration/registration-form.module.d.ts +10 -0
- package/lib/header/header-modes/edit-mode/edit-mode.component.d.ts +3 -0
- package/lib/header/header-modes/loading-mode/loading-mode.component.d.ts +3 -0
- package/lib/header/header-modes/search-mode/search-mode.component.d.ts +3 -0
- package/lib/header/header-modes/sort-mode/sort-mode.component.d.ts +3 -0
- package/lib/header/header.component.d.ts +3 -0
- package/lib/header/header.module.d.ts +13 -0
- package/lib/legal/legal-notice/legal-notice.component.d.ts +3 -0
- package/lib/legal/legal-notice/legal-notice.module.d.ts +7 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.d.ts +5 -2
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.d.ts +3 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.d.ts +5 -2
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.d.ts +5 -2
- package/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.d.ts +3 -0
- package/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.d.ts +3 -0
- package/lib/navigation/navigation-drawer/navigation-drawer.component.d.ts +3 -0
- package/lib/navigation/navigation-rail/navigation-rail.component.d.ts +3 -0
- package/lib/navigation/navigation-tree/navigation-tree.component.d.ts +3 -0
- package/lib/navigation/navigation.module.d.ts +25 -0
- package/lib/navigation/public-api.d.ts +5 -0
- package/lib/navigation/quick-panel/components/internal-link/internal-link.component.d.ts +3 -0
- package/lib/navigation/quick-panel/components/language-selector/language-selector.component.d.ts +3 -0
- package/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.d.ts +3 -0
- package/lib/navigation/quick-panel/components/quick-panel.component.d.ts +3 -0
- package/lib/navigation/quick-panel/quick-panel.module.d.ts +11 -0
- package/lib/panel/case-panel/case-panel.component.d.ts +3 -0
- package/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.d.ts +3 -0
- package/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.d.ts +3 -0
- package/lib/panel/panel-item/panel-item.component.d.ts +7 -0
- package/lib/panel/panel.component.d.ts +3 -0
- package/lib/panel/panel.module.d.ts +20 -0
- package/lib/panel/public-api.d.ts +4 -0
- package/lib/panel/public-workflow-panel/public-workflow-panel.component.d.ts +3 -0
- package/lib/panel/task-panel/task-panel.component.d.ts +3 -0
- package/lib/panel/task-panel-list/task-list.component.d.ts +3 -0
- package/lib/panel/task-panel-list-pagination/task-list-pagination.component.d.ts +11 -0
- package/lib/panel/workflow-panel/workflow-panel.component.d.ts +3 -0
- package/lib/routing/redirect/redirect.component.d.ts +3 -0
- package/lib/routing/redirect.module.d.ts +5 -0
- package/lib/search/advanced-search/advanced-search-component/advanced-search.component.d.ts +3 -0
- package/lib/search/advanced-search/advanced-search.module.d.ts +12 -0
- package/lib/search/advanced-search/search-clause-component/search-clause.component.d.ts +3 -0
- package/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.d.ts +3 -0
- package/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.d.ts +3 -0
- package/lib/search/advanced-search/search-predicate-component/search-predicate.component.d.ts +3 -0
- package/lib/search/fulltext-search-component/fulltext-search.component.d.ts +3 -0
- package/lib/search/search-component/case-search/case-search.component.d.ts +3 -0
- package/lib/search/search-component/search.component.d.ts +3 -0
- package/lib/search/search-component/task-search/task-search.component.d.ts +3 -0
- package/lib/search/search.module.d.ts +12 -0
- package/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.d.ts +3 -0
- package/lib/side-menu/content-components/filter-selector/filter-selector.component.d.ts +3 -0
- package/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.d.ts +8 -0
- package/lib/side-menu/content-components/import-net/import-net.component.d.ts +3 -0
- package/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.d.ts +9 -0
- package/lib/side-menu/content-components/load-filter/load-filter.component.d.ts +3 -0
- package/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.d.ts +9 -0
- package/lib/side-menu/content-components/new-case/new-case.component.d.ts +3 -0
- package/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.d.ts +10 -0
- package/lib/side-menu/content-components/option-selector/option-selector.component.d.ts +3 -0
- package/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.d.ts +7 -0
- package/lib/side-menu/content-components/save-filter/save-filter.component.d.ts +3 -0
- package/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.d.ts +8 -0
- package/lib/side-menu/content-components/side-menu-content-component.module.d.ts +12 -0
- package/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.d.ts +11 -0
- package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.d.ts +3 -0
- package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.d.ts +3 -0
- package/lib/side-menu/content-components/user-assign/user-assign.component.d.ts +3 -0
- package/lib/side-menu/side-menu-container/side-menu-container.component.d.ts +3 -0
- package/lib/side-menu/side-menu.module.d.ts +10 -0
- package/lib/tabs/tab-creation-detector/tab-creation-detector.component.d.ts +3 -0
- package/lib/tabs/tab-view/tab-view.component.d.ts +3 -0
- package/lib/tabs/tabs.module.d.ts +10 -0
- package/lib/task-content/field-component-resolver/field-component-resolver.component.d.ts +3 -0
- package/lib/task-content/task-content/task-content.component.d.ts +3 -0
- package/lib/task-content/task-content.module.d.ts +10 -0
- package/lib/toolbar/toolbar.component.d.ts +3 -0
- package/lib/toolbar/toolbar.module.d.ts +8 -0
- package/lib/user/profile/profile.component.d.ts +3 -0
- package/lib/user/profile/profile.module.d.ts +7 -0
- package/lib/user/user-card/user-card.component.d.ts +3 -0
- package/lib/user/user.module.d.ts +8 -0
- package/lib/view/case-view/case-view.module.d.ts +10 -0
- package/lib/view/case-view/components/case-list/case-list.component.d.ts +3 -0
- package/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.d.ts +13 -0
- package/lib/view/public-api.d.ts +1 -0
- package/lib/view/tree-case-view/tree-case-view.module.d.ts +14 -0
- package/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.d.ts +3 -0
- package/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.d.ts +3 -0
- package/lib/view/tree-case-view/tree-component/tree.component.d.ts +3 -0
- package/lib/view/tree-case-view/tree-task-content/tree-task-content.component.d.ts +3 -0
- package/lib/view/workflow-view/workflow-view.component.d.ts +3 -0
- package/lib/view/workflow-view.module.d.ts +12 -0
- package/netgrif-components.d.ts +1 -39
- package/package.json +51 -42
- package/schematics/_commons/view-class-info.js +4 -4
- package/schematics/_commons/view-class-info.js.map +1 -1
- package/schematics/_utility/modified-library-functions.js +6 -6
- package/schematics/_utility/modified-library-functions.js.map +1 -1
- package/schematics/_utility/utility-functions.js +6 -6
- package/schematics/_utility/utility-functions.js.map +1 -1
- package/schematics/add/add/index.js +2 -2
- package/schematics/add/add/index.js.map +1 -1
- package/schematics/add/create-nc-files/index.js +5 -5
- package/schematics/add/create-nc-files/index.js.map +1 -1
- package/schematics/add/custom-themes/files/custom-themes/custom-themes.scss.template +2 -2
- package/schematics/add/custom-themes/files/dark-theme/custom-dark-theme.scss.template +1 -1
- package/schematics/add/custom-themes/files/light-theme/custom-light-theme.scss.template +1 -1
- package/schematics/add/custom-themes/index.js +5 -5
- package/schematics/add/custom-themes/index.js.map +1 -1
- package/schematics/migrations/4.1/migration-4.1.js +6 -6
- package/schematics/migrations/4.1/migration-4.1.js.map +1 -1
- package/schematics/migrations/5.4/migration-5.4.js +20 -20
- package/schematics/migrations/5.4/migration-5.4.js.map +1 -1
- package/schematics/view/_utility/add-view-to-nae-json.js +1 -1
- package/schematics/view/_utility/add-view-to-nae-json.js.map +1 -1
- package/schematics/view/_utility/view-service-functions.js +7 -10
- package/schematics/view/_utility/view-service-functions.js.map +1 -1
- package/schematics/view/_utility/view-utility-functions.js +6 -6
- package/schematics/view/_utility/view-utility-functions.js.map +1 -1
- package/schematics/view/create-view/schematic-create-view.js +4 -4
- package/schematics/view/create-view/schematic-create-view.js.map +1 -1
- package/schematics/view/create-view-prompt/schematic-create-sidenav-prompt.js +1 -1
- package/schematics/view/create-view-prompt/schematic-create-sidenav-prompt.js.map +1 -1
- package/schematics/view/create-view-prompt/schematic-create-view-prompt.js +15 -15
- package/schematics/view/create-view-prompt/schematic-create-view-prompt.js.map +1 -1
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.js +9 -13
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/dashboard-view/create-dashboard-view.js +7 -7
- package/schematics/view/create-view-prompt/views/dashboard-view/create-dashboard-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/empty-view/create-empty-view.js +6 -6
- package/schematics/view/create-view-prompt/views/empty-view/create-empty-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/group-view/create-group-view.js +7 -7
- package/schematics/view/create-view-prompt/views/group-view/create-group-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/login/create-login-view.js +7 -7
- package/schematics/view/create-view-prompt/views/login/create-login-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/create-sidenav-or-toolbar-view.js +8 -8
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/create-sidenav-or-toolbar-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js +9 -16
- package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/task-view/create-task-view.js +9 -9
- package/schematics/view/create-view-prompt/views/task-view/create-task-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js +7 -7
- package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js.map +1 -1
- package/src/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.theme.scss +10 -0
- package/src/lib/admin/role-assignment/role-assignment.component.theme.scss +2 -2
- package/src/lib/data-fields/data-field.theme.scss +31 -11
- package/src/lib/dialog/dialog.theme.scss +0 -2
- package/src/lib/header/header.theme.scss +2 -2
- package/src/lib/navigation/navigation.theme.scss +2 -2
- package/src/lib/panel/panel.theme.scss +7 -7
- package/src/lib/search/advanced-search/search-clause-component/search-clause.component.theme.scss +2 -2
- package/src/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.theme.scss +2 -2
- package/src/lib/search/advanced-search/search-predicate-component/search-predicate.component.theme.scss +2 -2
- package/src/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/theme/user-assign-item.component.theme.scss +5 -5
- package/src/lib/side-menu/side-menu.theme.scss +3 -3
- package/src/lib/snack-bar/snack-bar.theme.scss +0 -2
- package/src/lib/tabs/tabs.theme.scss +0 -2
- package/src/lib/user/user.theme.scss +2 -2
- package/src/lib/view/view.theme.scss +3 -3
- package/bundles/netgrif-components.umd.js +0 -4769
- package/bundles/netgrif-components.umd.js.map +0 -1
- package/bundles/netgrif-components.umd.min.js +0 -16
- package/bundles/netgrif-components.umd.min.js.map +0 -1
- package/esm2015/lib/admin/admin.module.js +0 -19
- package/esm2015/lib/admin/public-api.js +0 -5
- package/esm2015/lib/admin/role-assignment/role-assignment.component.js +0 -28
- package/esm2015/lib/admin/user-invite/user-invite.component.js +0 -35
- package/esm2015/lib/authentication/auth.module.js +0 -15
- package/esm2015/lib/authentication/authentication-overlay/authentication-overlay.component.js +0 -35
- package/esm2015/lib/authentication/public-api.js +0 -5
- package/esm2015/lib/dashboard/cards/barchart-card/barchart-card.component.js +0 -49
- package/esm2015/lib/dashboard/cards/count-card/count-card.component.js +0 -22
- package/esm2015/lib/dashboard/cards/iframe-card/iframe-card.component.js +0 -23
- package/esm2015/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.js +0 -47
- package/esm2015/lib/dashboard/cards/linechart-card/line-chart-card.component.js +0 -59
- package/esm2015/lib/dashboard/cards/piechart-card/pie-chart-card.component.js +0 -52
- package/esm2015/lib/dashboard/cards/portal-card/portal-card.component.js +0 -47
- package/esm2015/lib/dashboard/dashboard-content/dashboard-content.component.js +0 -22
- package/esm2015/lib/dashboard/dashboard.module.js +0 -44
- package/esm2015/lib/dashboard/public-api.js +0 -12
- package/esm2015/lib/data-fields/boolean-field/boolean-field.component.js +0 -28
- package/esm2015/lib/data-fields/button-field/button-field.component.js +0 -27
- package/esm2015/lib/data-fields/data-field-template/data-field-template.component.js +0 -25
- package/esm2015/lib/data-fields/data-fields.module.js +0 -134
- package/esm2015/lib/data-fields/date-field/date-field.component.js +0 -30
- package/esm2015/lib/data-fields/date-time-field/date-time-field.component.js +0 -30
- package/esm2015/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.js +0 -23
- package/esm2015/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.js +0 -23
- package/esm2015/lib/data-fields/enumeration-field/enumeration-field.component.js +0 -21
- package/esm2015/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.js +0 -16
- package/esm2015/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.js +0 -16
- package/esm2015/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.js +0 -16
- package/esm2015/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.js +0 -22
- package/esm2015/lib/data-fields/file-field/file-field.component.js +0 -52
- package/esm2015/lib/data-fields/file-field/preview-dialog/preview-dialog.component.js +0 -33
- package/esm2015/lib/data-fields/file-field-list/file-list-field.component.js +0 -32
- package/esm2015/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.js +0 -42
- package/esm2015/lib/data-fields/filter-field/filter-field.component.js +0 -27
- package/esm2015/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.js +0 -16
- package/esm2015/lib/data-fields/i18n-field/i18n-field.component.js +0 -21
- package/esm2015/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.js +0 -22
- package/esm2015/lib/data-fields/multichoice-field/multichoice-field.component.js +0 -21
- package/esm2015/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.js +0 -16
- package/esm2015/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.js +0 -12
- package/esm2015/lib/data-fields/number-field/number-currency-field/number-currency-field.component.js +0 -34
- package/esm2015/lib/data-fields/number-field/number-default-field/number-default-field.component.js +0 -22
- package/esm2015/lib/data-fields/number-field/number-field.component.js +0 -32
- package/esm2015/lib/data-fields/public-api.js +0 -18
- package/esm2015/lib/data-fields/required-label/required-label.component.js +0 -20
- package/esm2015/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.js +0 -27
- package/esm2015/lib/data-fields/text-field/password-text-field/password-text-field.component.js +0 -26
- package/esm2015/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.js +0 -23
- package/esm2015/lib/data-fields/text-field/simple-text-field/simple-text-field.component.js +0 -23
- package/esm2015/lib/data-fields/text-field/text-field.component.js +0 -21
- package/esm2015/lib/data-fields/text-field/textarea-field/textarea-field.component.js +0 -26
- package/esm2015/lib/data-fields/user-field/user-field.component.js +0 -32
- package/esm2015/lib/forms/email-submission/email-submission-form.component.js +0 -22
- package/esm2015/lib/forms/email-submission/email-submission-form.module.js +0 -24
- package/esm2015/lib/forms/forgotten-password/forgotten-password-form-component.module.js +0 -22
- package/esm2015/lib/forms/forgotten-password/forgotten-password-form.component.js +0 -29
- package/esm2015/lib/forms/login/login-form.component.js +0 -25
- package/esm2015/lib/forms/login/login-form.module.js +0 -22
- package/esm2015/lib/forms/public-api.js +0 -11
- package/esm2015/lib/forms/registration/registration-form.component.js +0 -29
- package/esm2015/lib/forms/registration/registration-form.module.js +0 -24
- package/esm2015/lib/header/header-modes/edit-mode/edit-mode.component.js +0 -26
- package/esm2015/lib/header/header-modes/loading-mode/loading-mode.component.js +0 -16
- package/esm2015/lib/header/header-modes/search-mode/search-mode.component.js +0 -34
- package/esm2015/lib/header/header-modes/sort-mode/sort-mode.component.js +0 -16
- package/esm2015/lib/header/header.component.js +0 -36
- package/esm2015/lib/header/header.module.js +0 -39
- package/esm2015/lib/header/public-api.js +0 -12
- package/esm2015/lib/legal/legal-notice/legal-notice.component.js +0 -21
- package/esm2015/lib/legal/legal-notice/legal-notice.module.js +0 -17
- package/esm2015/lib/legal/public-api.js +0 -5
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.js +0 -54
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.js +0 -43
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.js +0 -67
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.js +0 -58
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.js +0 -30
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.js +0 -2
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.js +0 -35
- package/esm2015/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.js +0 -30
- package/esm2015/lib/navigation/navigation-drawer/navigation-drawer.component.js +0 -30
- package/esm2015/lib/navigation/navigation-rail/navigation-rail.component.js +0 -40
- package/esm2015/lib/navigation/navigation-tree/navigation-tree.component.js +0 -42
- package/esm2015/lib/navigation/navigation.module.js +0 -81
- package/esm2015/lib/navigation/public-api.js +0 -9
- package/esm2015/lib/navigation/quick-panel/components/internal-link/internal-link.component.js +0 -16
- package/esm2015/lib/navigation/quick-panel/components/language-selector/language-selector.component.js +0 -39
- package/esm2015/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.js +0 -32
- package/esm2015/lib/navigation/quick-panel/components/quick-panel.component.js +0 -25
- package/esm2015/lib/navigation/quick-panel/public-api.js +0 -9
- package/esm2015/lib/navigation/quick-panel/quick-panel.module.js +0 -33
- package/esm2015/lib/panel/case-panel/case-panel.component.js +0 -50
- package/esm2015/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.js +0 -25
- package/esm2015/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.js +0 -46
- package/esm2015/lib/panel/panel.component.js +0 -22
- package/esm2015/lib/panel/panel.module.js +0 -55
- package/esm2015/lib/panel/public-api.js +0 -10
- package/esm2015/lib/panel/public-workflow-panel/public-workflow-panel.component.js +0 -26
- package/esm2015/lib/panel/task-panel/task-panel.component.js +0 -113
- package/esm2015/lib/panel/task-panel-list/task-list.component.js +0 -31
- package/esm2015/lib/panel/workflow-panel/workflow-panel.component.js +0 -26
- package/esm2015/lib/routing/public-api.js +0 -3
- package/esm2015/lib/routing/redirect/redirect.component.js +0 -28
- package/esm2015/lib/routing/redirect.module.js +0 -12
- package/esm2015/lib/search/advanced-search/advanced-search-component/advanced-search.component.js +0 -24
- package/esm2015/lib/search/advanced-search/advanced-search.module.js +0 -36
- package/esm2015/lib/search/advanced-search/public-api.js +0 -8
- package/esm2015/lib/search/advanced-search/search-clause-component/search-clause.component.js +0 -16
- package/esm2015/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.js +0 -20
- package/esm2015/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.js +0 -26
- package/esm2015/lib/search/advanced-search/search-predicate-component/search-predicate.component.js +0 -27
- package/esm2015/lib/search/fulltext-search-component/fulltext-search.component.js +0 -21
- package/esm2015/lib/search/public-api.js +0 -10
- package/esm2015/lib/search/search-component/case-search/case-search.component.js +0 -24
- package/esm2015/lib/search/search-component/search.component.js +0 -98
- package/esm2015/lib/search/search-component/task-search/task-search.component.js +0 -24
- package/esm2015/lib/search/search.module.js +0 -36
- package/esm2015/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.js +0 -16
- package/esm2015/lib/side-menu/content-components/filter-selector/filter-selector.component.js +0 -45
- package/esm2015/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.js +0 -27
- package/esm2015/lib/side-menu/content-components/import-net/import-net.component.js +0 -44
- package/esm2015/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.js +0 -27
- package/esm2015/lib/side-menu/content-components/load-filter/load-filter.component.js +0 -54
- package/esm2015/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.js +0 -28
- package/esm2015/lib/side-menu/content-components/new-case/new-case.component.js +0 -48
- package/esm2015/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.js +0 -35
- package/esm2015/lib/side-menu/content-components/option-selector/option-selector.component.js +0 -22
- package/esm2015/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.js +0 -30
- package/esm2015/lib/side-menu/content-components/public-api.js +0 -19
- package/esm2015/lib/side-menu/content-components/save-filter/save-filter.component.js +0 -53
- package/esm2015/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.js +0 -26
- package/esm2015/lib/side-menu/content-components/side-menu-content-component.module.js +0 -50
- package/esm2015/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.js +0 -36
- package/esm2015/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.js +0 -19
- package/esm2015/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.js +0 -25
- package/esm2015/lib/side-menu/content-components/user-assign/user-assign.component.js +0 -29
- package/esm2015/lib/side-menu/public-api.js +0 -7
- package/esm2015/lib/side-menu/side-menu-container/side-menu-container.component.js +0 -22
- package/esm2015/lib/side-menu/side-menu.module.js +0 -27
- package/esm2015/lib/tabs/public-api.js +0 -4
- package/esm2015/lib/tabs/tab-creation-detector/tab-creation-detector.component.js +0 -22
- package/esm2015/lib/tabs/tab-view/tab-view.component.js +0 -32
- package/esm2015/lib/tabs/tabs.module.js +0 -28
- package/esm2015/lib/task-content/field-component-resolver/field-component-resolver.component.js +0 -21
- package/esm2015/lib/task-content/public-api.js +0 -6
- package/esm2015/lib/task-content/task-content/task-content.component.js +0 -36
- package/esm2015/lib/task-content/task-content.module.js +0 -32
- package/esm2015/lib/toolbar/public-api.js +0 -3
- package/esm2015/lib/toolbar/toolbar.component.js +0 -26
- package/esm2015/lib/toolbar/toolbar.module.js +0 -22
- package/esm2015/lib/user/profile/profile.component.js +0 -22
- package/esm2015/lib/user/profile/profile.module.js +0 -20
- package/esm2015/lib/user/public-api.js +0 -7
- package/esm2015/lib/user/user-card/user-card.component.js +0 -22
- package/esm2015/lib/user/user.module.js +0 -22
- package/esm2015/lib/view/case-view/case-view.module.js +0 -22
- package/esm2015/lib/view/case-view/components/case-list/case-list.component.js +0 -31
- package/esm2015/lib/view/public-api.js +0 -10
- package/esm2015/lib/view/tree-case-view/tree-case-view.module.js +0 -38
- package/esm2015/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.js +0 -22
- package/esm2015/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.js +0 -22
- package/esm2015/lib/view/tree-case-view/tree-component/tree.component.js +0 -23
- package/esm2015/lib/view/tree-case-view/tree-task-content/tree-task-content.component.js +0 -55
- package/esm2015/lib/view/workflow-view/workflow-view.component.js +0 -36
- package/esm2015/lib/view/workflow-view.module.js +0 -36
- package/esm2015/netgrif-components.js +0 -43
- package/esm2015/public-api.js +0 -22
- package/esm5/lib/admin/admin.module.js +0 -23
- package/esm5/lib/admin/public-api.js +0 -5
- package/esm5/lib/admin/role-assignment/role-assignment.component.js +0 -33
- package/esm5/lib/admin/user-invite/user-invite.component.js +0 -40
- package/esm5/lib/authentication/auth.module.js +0 -19
- package/esm5/lib/authentication/authentication-overlay/authentication-overlay.component.js +0 -40
- package/esm5/lib/authentication/public-api.js +0 -5
- package/esm5/lib/dashboard/cards/barchart-card/barchart-card.component.js +0 -55
- package/esm5/lib/dashboard/cards/count-card/count-card.component.js +0 -27
- package/esm5/lib/dashboard/cards/iframe-card/iframe-card.component.js +0 -28
- package/esm5/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.js +0 -52
- package/esm5/lib/dashboard/cards/linechart-card/line-chart-card.component.js +0 -65
- package/esm5/lib/dashboard/cards/piechart-card/pie-chart-card.component.js +0 -58
- package/esm5/lib/dashboard/cards/portal-card/portal-card.component.js +0 -52
- package/esm5/lib/dashboard/dashboard-content/dashboard-content.component.js +0 -27
- package/esm5/lib/dashboard/dashboard.module.js +0 -48
- package/esm5/lib/dashboard/public-api.js +0 -12
- package/esm5/lib/data-fields/boolean-field/boolean-field.component.js +0 -33
- package/esm5/lib/data-fields/button-field/button-field.component.js +0 -32
- package/esm5/lib/data-fields/data-field-template/data-field-template.component.js +0 -30
- package/esm5/lib/data-fields/data-fields.module.js +0 -138
- package/esm5/lib/data-fields/date-field/date-field.component.js +0 -34
- package/esm5/lib/data-fields/date-time-field/date-time-field.component.js +0 -34
- package/esm5/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.js +0 -28
- package/esm5/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.js +0 -28
- package/esm5/lib/data-fields/enumeration-field/enumeration-field.component.js +0 -25
- package/esm5/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.js +0 -20
- package/esm5/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.js +0 -20
- package/esm5/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.js +0 -20
- package/esm5/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.js +0 -27
- package/esm5/lib/data-fields/file-field/file-field.component.js +0 -57
- package/esm5/lib/data-fields/file-field/preview-dialog/preview-dialog.component.js +0 -36
- package/esm5/lib/data-fields/file-field-list/file-list-field.component.js +0 -36
- package/esm5/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.js +0 -46
- package/esm5/lib/data-fields/filter-field/filter-field.component.js +0 -31
- package/esm5/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.js +0 -20
- package/esm5/lib/data-fields/i18n-field/i18n-field.component.js +0 -25
- package/esm5/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.js +0 -26
- package/esm5/lib/data-fields/multichoice-field/multichoice-field.component.js +0 -25
- package/esm5/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.js +0 -20
- package/esm5/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.js +0 -19
- package/esm5/lib/data-fields/number-field/number-currency-field/number-currency-field.component.js +0 -38
- package/esm5/lib/data-fields/number-field/number-default-field/number-default-field.component.js +0 -26
- package/esm5/lib/data-fields/number-field/number-field.component.js +0 -36
- package/esm5/lib/data-fields/public-api.js +0 -18
- package/esm5/lib/data-fields/required-label/required-label.component.js +0 -22
- package/esm5/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.js +0 -32
- package/esm5/lib/data-fields/text-field/password-text-field/password-text-field.component.js +0 -31
- package/esm5/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.js +0 -28
- package/esm5/lib/data-fields/text-field/simple-text-field/simple-text-field.component.js +0 -28
- package/esm5/lib/data-fields/text-field/text-field.component.js +0 -25
- package/esm5/lib/data-fields/text-field/textarea-field/textarea-field.component.js +0 -31
- package/esm5/lib/data-fields/user-field/user-field.component.js +0 -36
- package/esm5/lib/forms/email-submission/email-submission-form.component.js +0 -26
- package/esm5/lib/forms/email-submission/email-submission-form.module.js +0 -28
- package/esm5/lib/forms/forgotten-password/forgotten-password-form-component.module.js +0 -26
- package/esm5/lib/forms/forgotten-password/forgotten-password-form.component.js +0 -33
- package/esm5/lib/forms/login/login-form.component.js +0 -30
- package/esm5/lib/forms/login/login-form.module.js +0 -26
- package/esm5/lib/forms/public-api.js +0 -11
- package/esm5/lib/forms/registration/registration-form.component.js +0 -33
- package/esm5/lib/forms/registration/registration-form.module.js +0 -28
- package/esm5/lib/header/header-modes/edit-mode/edit-mode.component.js +0 -31
- package/esm5/lib/header/header-modes/loading-mode/loading-mode.component.js +0 -20
- package/esm5/lib/header/header-modes/search-mode/search-mode.component.js +0 -39
- package/esm5/lib/header/header-modes/sort-mode/sort-mode.component.js +0 -20
- package/esm5/lib/header/header.component.js +0 -41
- package/esm5/lib/header/header.module.js +0 -43
- package/esm5/lib/header/public-api.js +0 -12
- package/esm5/lib/legal/legal-notice/legal-notice.component.js +0 -25
- package/esm5/lib/legal/legal-notice/legal-notice.module.js +0 -21
- package/esm5/lib/legal/public-api.js +0 -5
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.js +0 -58
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.js +0 -45
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.js +0 -71
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.js +0 -62
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.js +0 -30
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.js +0 -2
- package/esm5/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.js +0 -39
- package/esm5/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.js +0 -34
- package/esm5/lib/navigation/navigation-drawer/navigation-drawer.component.js +0 -35
- package/esm5/lib/navigation/navigation-rail/navigation-rail.component.js +0 -44
- package/esm5/lib/navigation/navigation-tree/navigation-tree.component.js +0 -46
- package/esm5/lib/navigation/navigation.module.js +0 -85
- package/esm5/lib/navigation/public-api.js +0 -9
- package/esm5/lib/navigation/quick-panel/components/internal-link/internal-link.component.js +0 -20
- package/esm5/lib/navigation/quick-panel/components/language-selector/language-selector.component.js +0 -44
- package/esm5/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.js +0 -37
- package/esm5/lib/navigation/quick-panel/components/quick-panel.component.js +0 -30
- package/esm5/lib/navigation/quick-panel/public-api.js +0 -9
- package/esm5/lib/navigation/quick-panel/quick-panel.module.js +0 -37
- package/esm5/lib/panel/case-panel/case-panel.component.js +0 -55
- package/esm5/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.js +0 -29
- package/esm5/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.js +0 -50
- package/esm5/lib/panel/panel.component.js +0 -26
- package/esm5/lib/panel/panel.module.js +0 -59
- package/esm5/lib/panel/public-api.js +0 -10
- package/esm5/lib/panel/public-workflow-panel/public-workflow-panel.component.js +0 -30
- package/esm5/lib/panel/task-panel/task-panel.component.js +0 -118
- package/esm5/lib/panel/task-panel-list/task-list.component.js +0 -36
- package/esm5/lib/panel/workflow-panel/workflow-panel.component.js +0 -30
- package/esm5/lib/routing/public-api.js +0 -3
- package/esm5/lib/routing/redirect/redirect.component.js +0 -30
- package/esm5/lib/routing/redirect.module.js +0 -16
- package/esm5/lib/search/advanced-search/advanced-search-component/advanced-search.component.js +0 -28
- package/esm5/lib/search/advanced-search/advanced-search.module.js +0 -40
- package/esm5/lib/search/advanced-search/public-api.js +0 -8
- package/esm5/lib/search/advanced-search/search-clause-component/search-clause.component.js +0 -20
- package/esm5/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.js +0 -25
- package/esm5/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.js +0 -31
- package/esm5/lib/search/advanced-search/search-predicate-component/search-predicate.component.js +0 -31
- package/esm5/lib/search/fulltext-search-component/fulltext-search.component.js +0 -25
- package/esm5/lib/search/public-api.js +0 -10
- package/esm5/lib/search/search-component/case-search/case-search.component.js +0 -28
- package/esm5/lib/search/search-component/search.component.js +0 -105
- package/esm5/lib/search/search-component/task-search/task-search.component.js +0 -28
- package/esm5/lib/search/search.module.js +0 -40
- package/esm5/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.js +0 -23
- package/esm5/lib/side-menu/content-components/filter-selector/filter-selector.component.js +0 -50
- package/esm5/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.js +0 -31
- package/esm5/lib/side-menu/content-components/import-net/import-net.component.js +0 -49
- package/esm5/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.js +0 -31
- package/esm5/lib/side-menu/content-components/load-filter/load-filter.component.js +0 -58
- package/esm5/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.js +0 -32
- package/esm5/lib/side-menu/content-components/new-case/new-case.component.js +0 -53
- package/esm5/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.js +0 -39
- package/esm5/lib/side-menu/content-components/option-selector/option-selector.component.js +0 -27
- package/esm5/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.js +0 -34
- package/esm5/lib/side-menu/content-components/public-api.js +0 -19
- package/esm5/lib/side-menu/content-components/save-filter/save-filter.component.js +0 -57
- package/esm5/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.js +0 -30
- package/esm5/lib/side-menu/content-components/side-menu-content-component.module.js +0 -54
- package/esm5/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.js +0 -40
- package/esm5/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.js +0 -23
- package/esm5/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.js +0 -30
- package/esm5/lib/side-menu/content-components/user-assign/user-assign.component.js +0 -34
- package/esm5/lib/side-menu/public-api.js +0 -7
- package/esm5/lib/side-menu/side-menu-container/side-menu-container.component.js +0 -27
- package/esm5/lib/side-menu/side-menu.module.js +0 -31
- package/esm5/lib/tabs/public-api.js +0 -4
- package/esm5/lib/tabs/tab-creation-detector/tab-creation-detector.component.js +0 -26
- package/esm5/lib/tabs/tab-view/tab-view.component.js +0 -37
- package/esm5/lib/tabs/tabs.module.js +0 -32
- package/esm5/lib/task-content/field-component-resolver/field-component-resolver.component.js +0 -25
- package/esm5/lib/task-content/public-api.js +0 -6
- package/esm5/lib/task-content/task-content/task-content.component.js +0 -41
- package/esm5/lib/task-content/task-content.module.js +0 -36
- package/esm5/lib/toolbar/public-api.js +0 -3
- package/esm5/lib/toolbar/toolbar.component.js +0 -31
- package/esm5/lib/toolbar/toolbar.module.js +0 -26
- package/esm5/lib/user/profile/profile.component.js +0 -27
- package/esm5/lib/user/profile/profile.module.js +0 -24
- package/esm5/lib/user/public-api.js +0 -7
- package/esm5/lib/user/user-card/user-card.component.js +0 -27
- package/esm5/lib/user/user.module.js +0 -26
- package/esm5/lib/view/case-view/case-view.module.js +0 -26
- package/esm5/lib/view/case-view/components/case-list/case-list.component.js +0 -36
- package/esm5/lib/view/public-api.js +0 -10
- package/esm5/lib/view/tree-case-view/tree-case-view.module.js +0 -42
- package/esm5/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.js +0 -27
- package/esm5/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.js +0 -27
- package/esm5/lib/view/tree-case-view/tree-component/tree.component.js +0 -28
- package/esm5/lib/view/tree-case-view/tree-task-content/tree-task-content.component.js +0 -60
- package/esm5/lib/view/workflow-view/workflow-view.component.js +0 -41
- package/esm5/lib/view/workflow-view.module.js +0 -40
- package/esm5/netgrif-components.js +0 -43
- package/esm5/public-api.js +0 -22
- package/fesm2015/netgrif-components.js +0 -4034
- package/fesm2015/netgrif-components.js.map +0 -1
- package/fesm5/netgrif-components.js +0 -4419
- package/fesm5/netgrif-components.js.map +0 -1
- package/netgrif-components.metadata.json +0 -1
|
@@ -0,0 +1,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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3NlYXJjaC9hZHZhbmNlZC1zZWFyY2gvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZO0FBRVosZUFBZTtBQUNmLGNBQWMsdURBQXVELENBQUM7QUFDdEUsY0FBYyxtREFBbUQsQ0FBQztBQUNsRSxjQUFjLHlEQUF5RCxDQUFDO0FBQ3hFLGNBQWMsaUVBQWlFLENBQUM7QUFDaEYsY0FBYyw2RUFBNkUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qIE1vZHVsZSAqL1xuXG4vKiBDb21wb25lbnQgKi9cbmV4cG9ydCAqIGZyb20gJy4vYWR2YW5jZWQtc2VhcmNoLWNvbXBvbmVudC9hZHZhbmNlZC1zZWFyY2guY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc2VhcmNoLWNsYXVzZS1jb21wb25lbnQvc2VhcmNoLWNsYXVzZS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zZWFyY2gtcHJlZGljYXRlLWNvbXBvbmVudC9zZWFyY2gtcHJlZGljYXRlLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaC1vcGVyYW5kLWlucHV0LWNvbXBvbmVudC9zZWFyY2gtb3BlcmFuZC1pbnB1dC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zZWFyY2gtY29uZmlndXJhdGlvbi1pbnB1dC1jb21wb25lbnQvc2VhcmNoLWNvbmZpZ3VyYXRpb24taW5wdXQuY29tcG9uZW50JztcbiJdfQ==
|
package/esm2020/lib/search/advanced-search/search-clause-component/search-clause.component.mjs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractSearchClauseComponent } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../search-predicate-component/search-predicate.component";
|
|
5
|
+
import * as i2 from "@angular/material/button";
|
|
6
|
+
import * as i3 from "@angular/flex-layout/flex";
|
|
7
|
+
import * as i4 from "@angular/common";
|
|
8
|
+
import * as i5 from "@ngx-translate/core";
|
|
9
|
+
export class SearchClauseComponent extends AbstractSearchClauseComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
SearchClauseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchClauseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
SearchClauseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SearchClauseComponent, selector: "nc-search-clause", usesInheritance: true, ngImport: i0, 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", styles: [".clause-body{border-radius:4px;padding:4px 6px}.bool-operator-margin{margin-left:8px;margin-right:8px}.bool-operator-button{margin-left:4px}\n"], components: [{ type: i1.SearchPredicateComponent, selector: "nc-search-predicate" }, { type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "keyvalue": i4.KeyValuePipe, "uppercase": i4.UpperCasePipe, "translate": i5.TranslatePipe } });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchClauseComponent, decorators: [{
|
|
17
|
+
type: Component,
|
|
18
|
+
args: [{ selector: 'nc-search-clause', 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", styles: [".clause-body{border-radius:4px;padding:4px 6px}.bool-operator-margin{margin-left:8px;margin-right:8px}.bool-operator-button{margin-left:4px}\n"] }]
|
|
19
|
+
}], ctorParameters: function () { return []; } });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWNsYXVzZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9zZWFyY2gvYWR2YW5jZWQtc2VhcmNoL3NlYXJjaC1jbGF1c2UtY29tcG9uZW50L3NlYXJjaC1jbGF1c2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb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Gl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractSearchConfigurationInputComponent, OperatorTemplatePartType, SearchInputType } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/material/form-field";
|
|
5
|
+
import * as i2 from "@angular/material/autocomplete";
|
|
6
|
+
import * as i3 from "@angular/material/core";
|
|
7
|
+
import * as i4 from "@angular/material/icon";
|
|
8
|
+
import * as i5 from "@angular/material/select";
|
|
9
|
+
import * as i6 from "../search-operand-input-component/search-operand-input.component";
|
|
10
|
+
import * as i7 from "@angular/common";
|
|
11
|
+
import * as i8 from "@angular/material/input";
|
|
12
|
+
import * as i9 from "@angular/forms";
|
|
13
|
+
import * as i10 from "@angular/flex-layout/extended";
|
|
14
|
+
import * as i11 from "@angular/flex-layout/flex";
|
|
15
|
+
import * as i12 from "@ngx-translate/core";
|
|
16
|
+
export class SearchConfigurationInputComponent extends AbstractSearchConfigurationInputComponent {
|
|
17
|
+
constructor() {
|
|
18
|
+
super();
|
|
19
|
+
// make the enum referencable in HTML
|
|
20
|
+
this.searchInputType = SearchInputType;
|
|
21
|
+
// make the enum referencable in HTML
|
|
22
|
+
this.operatorTemplatePartType = OperatorTemplatePartType;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
SearchConfigurationInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchConfigurationInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
SearchConfigurationInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SearchConfigurationInputComponent, selector: "nc-search-configuration-input", usesInheritance: true, ngImport: i0, 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", 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}\n"], components: [{ type: i1.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i2.MatAutocomplete, selector: "mat-autocomplete", inputs: ["disableRipple"], exportAs: ["matAutocomplete"] }, { type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i6.SearchOperandInputComponent, selector: "nc-search-operand-input" }], directives: [{ type: i7.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i7.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.MatLabel, selector: "mat-label" }, { type: i8.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i9.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { type: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i11.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i11.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "translate": i12.TranslatePipe, "async": i7.AsyncPipe } });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchConfigurationInputComponent, decorators: [{
|
|
28
|
+
type: Component,
|
|
29
|
+
args: [{ selector: 'nc-search-configuration-input', 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", 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:.5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3NlUGFuZWwoKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICNjb25maWd1cmF0aW9uSW5wdXQ+XG4gICAgICAgICAgICAgICAgPG1hdC1hdXRvY29tcGxldGUgI2NvbmZpZ3VyYXRpb25BdXRvY29tcGxldGU9XCJtYXRBdXRvY29tcGxldGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtkaXNwbGF5V2l0aF09XCJyZW5kZXJTZWxlY3Rpb25cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChvcHRpb25TZWxlY3RlZCk9XCJhdXRvY29tcGxldGVJbnB1dC5ibHVyKClcIj5cbiAgICAgICAgICAgICAgICAgICAgPG1hdC1vcHRpb25cbiAgICAgICAgICAgICAgICAgICAgICAgICpuZ0Zvcj1cImxldCBvcHRpb24gb2YgY29uZmlndXJhdGlvbi5maWx0ZXJlZE9wdGlvbnMkIHwgYXN5bmNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW3ZhbHVlXT1cIm9wdGlvblwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1pY29uICpuZ0lmPVwib3B0aW9uLmljb25cIj57e29wdGlvbi5pY29ufX08L21hdC1pY29uPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4+e3tvcHRpb24udGV4dH19PC9zcGFuPlxuICAgICAgICAgICAgICAgICAgICA8L21hdC1vcHRpb24+XG4gICAgICAgICAgICAgICAgPC9tYXQtYXV0b2NvbXBsZXRlPlxuICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cblxuICAgICAgICA8bmctdGVtcGxhdGUgI2NvbmZpZ3VyYXRpb25EaXNwbGF5PlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cInRleHQtbWFyZ2luXCJcbiAgICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwieydib2xkLXRleHQnOiBjb25maWd1cmF0aW9uLmRpc3BsYXlCb2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MYXlvdXQ9XCJyb3dcIiBmeExheW91dEFsaWduPVwic3RhcnQgY2VudGVyXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlIG5nRm9yIGxldC1uYW1lUGFydCBbbmdGb3JPZl09XCJvcGVyYXRvci5nZXRPcGVyYXRvck5hbWVUZW1wbGF0ZSgpXCIgbGV0LWxhc3Q9XCJsYXN0XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgW25nVGVtcGxhdGVPdXRsZXRdPVwibmFtZVBhcnQgPyBvcGVyYXRvcklucHV0VGV4dCA6IG9wZXJhdG9ySW5wdXRQbGFjZWhvbGRlclwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW25nVGVtcGxhdGVPdXRsZXRDb250ZXh0XT1cIntsYXN0Omxhc3QsIG5hbWVQYXJ0Om5hbWVQYXJ0fVwiPjwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbmctdGVtcGxhdGU+XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgI29wZXJhdG9ySW5wdXRUZXh0IGxldC1sYXN0PVwibGFzdFwiIGxldC1uYW1lUGFydD1cIm5hbWVQYXJ0XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgW25nQ2xhc3NdPVwieydhcmd1bWVudC1yaWdodC1tYXJnaW4nOiAhbGFzdH1cIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7bmFtZVBhcnQgfCB0cmFuc2xhdGV9fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlICNvcGVyYXRvcklucHV0UGxhY2Vob2xkZXIgbGV0LWxhc3Q9XCJsYXN0XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJhcmd1bWVudC1wbGFjZWhvbGRlci1jb2xvciBhcmd1bWVudC1wbGFjZWhvbGRlci1kaW1lbnNpb25zXCIgW25nQ2xhc3NdPVwieydhcmd1bWVudC1yaWdodC1tYXJnaW4nOiAhbGFzdH1cIj48L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgIDwvbWF0LW9wdGlvbj5cbiAgICAgICAgICAgICAgICA8L21hdC1zZWxlY3Q+XG4gICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuXG4gICAgICAgIDxuZy10ZW1wbGF0ZSAjYXJndW1lbnRzU2VsZWN0aW9uPlxuICAgICAgICAgICAgPGRpdiBmeExheW91dD1cInJvd1wiIGZ4TGF5b3V0QWxpZ249XCJzdGFydCBjZW50ZXJcIiAoY2xpY2spPVwiY2xlYXJPcGVyYXRvcklucHV0KClcIj5cbiAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgbmdGb3IgbGV0LXRlbXBsYXRlUGFydCBbbmdGb3JPZl09XCJzZWxlY3RlZENhdGVnb3J5Lm9wZXJhdG9yVGVtcGxhdGUkIHwgYXN5bmNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbmdGb3JUcmFja0J5XT1cInRyYWNrQnlUZW1wbGF0ZVBhcnRzXCI+XG4gICAgICAgICAgICAgICAgICAgIDxkaXYgW25nU3dpdGNoXT1cInRlbXBsYXRlUGFydC50eXBlXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgW25nU3dpdGNoQ2FzZV09XCJvcGVyYXRvclRlbXBsYXRlUGFydFR5cGUuVEVYVFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgZnhMYXlvdXQ9XCJyb3dcIiBmeExheW91dEFsaWduPVwic3RhcnQgY2VudGVyXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwidGV4dC1tYXJnaW5cIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge3t0ZW1wbGF0ZVBhcnQuY29udGVudCB8IHRyYW5zbGF0ZX19XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxuXG4gICAgICAgICAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgW25nU3dpdGNoQ2FzZV09XCJvcGVyYXRvclRlbXBsYXRlUGFydFR5cGUuSU5QVVRcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwidGV4dC1tYXJnaW5cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cIiRldmVudC5zdG9wUHJvcGFnYXRpb24oKVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bmMtc2VhcmNoLW9wZXJhbmQtaW5wdXQgW2lucHV0Rm9ybUNvbnRyb2xdPVwidGVtcGxhdGVQYXJ0LmNvbnRlbnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2lucHV0VHlwZV09XCJzZWxlY3RlZENhdGVnb3J5LmlucHV0VHlwZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZmlyc3RdPVwidGVtcGxhdGVQYXJ0LmZpcnN0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtmaWx0ZXJPcHRpb25zRnVuY3Rpb25dPVwiZmlsdGVyT3B0aW9uc1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZWRpdGFibGVdPVwiZWRpdGFibGVcIj48L25jLXNlYXJjaC1vcGVyYW5kLWlucHV0PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgIDwvbmctdGVtcGxhdGU+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/material/form-field";
|
|
6
|
+
import * as i2 from "@angular/material/autocomplete";
|
|
7
|
+
import * as i3 from "@angular/material/core";
|
|
8
|
+
import * as i4 from "@angular/material/icon";
|
|
9
|
+
import * as i5 from "@angular/material/datepicker";
|
|
10
|
+
import * as i6 from "@angular-material-components/datetime-picker";
|
|
11
|
+
import * as i7 from "@angular/material/slide-toggle";
|
|
12
|
+
import * as i8 from "@angular/common";
|
|
13
|
+
import * as i9 from "@angular/material/input";
|
|
14
|
+
import * as i10 from "@angular/forms";
|
|
15
|
+
import * as i11 from "@angular/flex-layout/flex";
|
|
16
|
+
import * as i12 from "@ngx-translate/core";
|
|
17
|
+
export class SearchOperandInputComponent extends AbstractSearchOperandInputComponent {
|
|
18
|
+
constructor() {
|
|
19
|
+
super();
|
|
20
|
+
// make enum accessible in HTMl
|
|
21
|
+
this.searchInputType = SearchInputType;
|
|
22
|
+
this.dateFormat = DATE_FORMAT_STRING;
|
|
23
|
+
this.dateTimeFormat = DATE_TIME_FORMAT_STRING;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
SearchOperandInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchOperandInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
SearchOperandInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SearchOperandInputComponent, selector: "nc-search-operand-input", providers: [
|
|
28
|
+
{ provide: NGX_MAT_DATE_FORMATS, useValue: DATE_TIME_FORMAT }
|
|
29
|
+
], usesInheritance: true, ngImport: i0, 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", styles: [".bold-text{font-weight:700}\n"], components: [{ type: i1.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i2.MatAutocomplete, selector: "mat-autocomplete", inputs: ["disableRipple"], exportAs: ["matAutocomplete"] }, { type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i5.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { type: i5.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { type: i6.NgxMatDatetimePicker, selector: "ngx-mat-datetime-picker", inputs: ["calendarHeaderComponent", "startAt", "startView", "defaultColor", "color", "touchUi", "hideTime", "disabled", "panelClass", "dateClass", "opened", "showSpinners", "showSeconds", "stepHour", "stepMinute", "stepSecond", "enableMeridian", "disableMinute", "defaultTime"], outputs: ["yearSelected", "monthSelected", "opened", "closed"], exportAs: ["ngxMatDatetimePicker"] }, { type: i7.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex", "name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "checked"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i8.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i9.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i10.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i2.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { type: i1.MatPrefix, selector: "[matPrefix]" }, { type: i6.NgxMatDatetimeInput, selector: "input[ngxMatDatetimePicker]", inputs: ["ngxMatDatetimePicker", "ngxMatDatetimePickerFilter", "value", "min", "max", "disabled"], outputs: ["dateChange", "dateInput"], exportAs: ["ngxMatDatetimePickerInput"] }, { type: i5.MatDatepickerToggleIcon, selector: "[matDatepickerToggleIcon]" }, { type: i10.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { type: i11.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i8.NgSwitchDefault, selector: "[ngSwitchDefault]" }], pipes: { "async": i8.AsyncPipe, "translate": i12.TranslatePipe } });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchOperandInputComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{ selector: 'nc-search-operand-input', providers: [
|
|
33
|
+
{ provide: NGX_MAT_DATE_FORMATS, useValue: DATE_TIME_FORMAT }
|
|
34
|
+
], 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", styles: [".bold-text{font-weight:700}\n"] }]
|
|
35
|
+
}], ctorParameters: function () { return []; } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLW9wZXJhbmQtaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z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ctdGVtcGxhdGU+XG5cbiAgICAgICAgPG5nLXRlbXBsYXRlIFtuZ1N3aXRjaENhc2VdPVwic2VhcmNoSW5wdXRUeXBlLkFVVE9DT01QTEVURVwiPlxuICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkIGFwcGVhcmFuY2U9XCJvdXRsaW5lXCI+XG4gICAgICAgICAgICAgICAgPGlucHV0IHR5cGU9XCJ0ZXh0XCIgbWF0SW5wdXQgYXV0b2NvbXBsZXRlPVwib2ZmXCJcbiAgICAgICAgICAgICAgICAgICAgICAgI2F1dG9jb21wbGV0ZUlucHV0XG4gICAgICAgICAgICAgICAgICAgICAgICNhdXRvY29tcGxldGVUcmlnZ2VyPVwibWF0QXV0b2NvbXBsZXRlVHJpZ2dlclwiXG4gICAgICAgICAgICAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJpbnB1dEZvcm1Db250cm9sXCJcbiAgICAgICAgICAgICAgICAgICAgICAgW21hdEF1dG9jb21wbGV0ZV09XCJzZWFyY2hBdXRvY29tcGxldGVcIlxuICAgICAgICAgICAgICAgICAgICAgICBbZGlzYWJsZWRdPVwiIWVkaXRhYmxlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgKGtleWRvd24uZW50ZXIpPVwiJGV2ZW50LnRhcmdldC5ibHVyKCk7IGF1dG9jb21wbGV0ZVRyaWdnZXIuY2xvc2VQYW5lbCgpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgKGZvY3VzKT1cImVkaXRJbnB1dCgpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgI29wZXJhbmRJbnB1dD5cbiAgICAgICAgICAgICAgICA8bWF0LWF1dG9jb21wbGV0ZSAjc2VhcmNoQXV0b2NvbXBsZXRlPVwibWF0QXV0b2NvbXBsZXRlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZGlzcGxheVdpdGhdPVwicmVuZGVyU2VsZWN0aW9uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAob3B0aW9uU2VsZWN0ZWQpPVwiYXV0b2NvbXBsZXRlSW5wdXQuYmx1cigpXCI+XG4gICAgICAgICAgICAgICAgICAgIDxtYXQtb3B0aW9uICpuZ0Zvcj1cImxldCBvcHRpb24gb2YgZmlsdGVyZWRPcHRpb25zJCB8IGFzeW5jXCIgW3ZhbHVlXT1cIm9wdGlvblwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1pY29uICpuZ0lmPVwib3B0aW9uLmljb25cIj57e29wdGlvbi5pY29ufX08L21hdC1pY29uPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4+e3tvcHRpb24udGV4dCB8IHRyYW5zbGF0ZX19PC9zcGFuPlxuICAgICAgICAgICAgICAgICAgICA8L21hdC1vcHRpb24+XG4gICAgICAgICAgICAgICAgPC9tYXQtYXV0b2NvbXBsZXRlPlxuICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cblxuICAgICAgICA8bmctdGVtcGxhdGUgW25nU3dpdGNoQ2FzZV09XCJzZWFyY2hJbnB1dFR5cGUuREFURVwiPlxuICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkIGFwcGVhcmFuY2U9XCJvdXRsaW5lXCI+XG4gICAgICAgICAgICAgICAgPGlucHV0IG1hdElucHV0IGF1dG9jb21wbGV0ZT1cIm9mZlwiXG4gICAgICAgICAgICAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJpbnB1dEZvcm1Db250cm9sXCJcbiAgICAgICAgICAgICAgICAgICAgICAgW21hdERhdGVwaWNrZXJdPVwic2VhcmNoRGF0ZXBpY2tlclwiXG4gICAgICAgICAgICAgICAgICAgICAgIFtkaXNhYmxlZF09XCIhZWRpdGFibGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAoa2V5ZG93bi5lbnRlcik9XCJzZWFyY2hEYXRlcGlja2VyLmNsb3NlKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAoZm9jdXMpPVwiZWRpdElucHV0KCk7IHNlYXJjaERhdGVwaWNrZXIub3BlbigpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgKGJsdXIpPVwiY29uZmlybUlucHV0KClcIlxuICAgICAgICAgICAgICAgICAgICAgICAjb3BlcmFuZElucHV0PlxuICAgICAgICAgICAgICAgIDxtYXQtZGF0ZXBpY2tlci10b2dnbGUgbWF0UHJlZml4IFtmb3JdPVwic2VhcmNoRGF0ZXBpY2tlclwiPjwvbWF0LWRhdGVwaWNrZXItdG9nZ2xlPlxuICAgICAgICAgICAgICAgIDxtYXQtZGF0ZXBpY2tlciAjc2VhcmNoRGF0ZXBpY2tlcj48L21hdC1kYXRlcGlja2VyPlxuICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cblxuICAgICAgICA8bmctdGVtcGxhdGUgW25nU3dpdGNoQ2FzZV09XCJzZWFyY2hJbnB1dFR5cGUuREFURV9USU1FXCI+XG4gICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQgYXBwZWFyYW5jZT1cIm91dGxpbmVcIj5cbiAgICAgICAgICAgICAgICA8aW5wdXQgbWF0SW5wdXQgYXV0b2NvbXBsZXRlPVwib2ZmXCJcbiAgICAgICAgICAgICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImlucHV0Rm9ybUNvbnRyb2xcIlxuICAgICAgICAgICAgICAgICAgICAgICBbbmd4TWF0RGF0ZXRpbWVQaWNrZXJdPVwic2VhcmNoRGF0ZVRpbWVwaWNrZXJcIlxuICAgICAgICAgICAgICAgICAgICAgICBbZGlzYWJsZWRdPVwiIWVkaXRhYmxlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgKGtleWRvd24uZW50ZXIpPVwic2VhcmNoRGF0ZVRpbWVwaWNrZXIuY2xvc2UoKVwiXG4gICAgICAgICAgICAgICAgICAgICAgIChmb2N1cyk9XCJlZGl0SW5wdXQoKTsgc2VhcmNoRGF0ZVRpbWVwaWNrZXIub3BlbigpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgI29wZXJhbmRJbnB1dD5cbiAgICAgICAgICAgICAgICA8bWF0LWRhdGVwaWNrZXItdG9nZ2xlIG1hdFByZWZpeCBbZm9yXT1cInNlYXJjaERhdGVUaW1lcGlja2VyXCI+XG4gICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbiBtYXREYXRlcGlja2VyVG9nZ2xlSWNvbj5zY2hlZHVsZTwvbWF0LWljb24+XG4gICAgICAgICAgICAgICAgPC9tYXQtZGF0ZXBpY2tlci10b2dnbGU+XG4gICAgICAgICAgICAgICAgPG5neC1tYXQtZGF0ZXRpbWUtcGlja2VyICNzZWFyY2hEYXRlVGltZXBpY2tlclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc2hvd1NwaW5uZXJzXT1cInRydWVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc2hvd1NlY29uZHNdPVwiZmFsc2VcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc3RlcEhvdXJdPVwiMVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzdGVwTWludXRlXT1cIjVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbY29sb3JdPVwiJ3ByaW1hcnknXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2VuYWJsZU1lcmlkaWFuXT1cImZhbHNlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGNsb3NlZCk9XCJjb25maXJtSW5wdXQoKVwiPjwvbmd4LW1hdC1kYXRldGltZS1waWNrZXI+XG4gICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuXG4gICAgICAgIDxuZy10ZW1wbGF0ZSBbbmdTd2l0Y2hDYXNlXT1cInNlYXJjaElucHV0VHlwZS5OVU1CRVJcIj5cbiAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZCBhcHBlYXJhbmNlPVwib3V0bGluZVwiPlxuICAgICAgICAgICAgICAgIDxpbnB1dCB0eXBlPVwibnVtYmVyXCIgbWF0SW5wdXQgYXV0b2NvbXBsZXRlPVwib2ZmXCJcbiAgICAgICAgICAgICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImlucHV0Rm9ybUNvbnRyb2xcIlxuICAgICAgICAgICAgICAgICAgICAgICBbZGlzYWJsZWRdPVwiIWVkaXRhYmxlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgKGtleWRvd24uZW50ZXIpPVwiJGV2ZW50LnRhcmdldC5ibHVyKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAoZm9jdXMpPVwiZWRpdElucHV0KClcIlxuICAgICAgICAgICAgICAgICAgICAgICAoYmx1cik9XCJjb25maXJtSW5wdXQoKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICNvcGVyYW5kSW5wdXQ+XG4gICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuXG4gICAgICAgIDxuZy10ZW1wbGF0ZSBbbmdTd2l0Y2hDYXNlXT1cInNlYXJjaElucHV0VHlwZS5CT09MRUFOXCI+XG4gICAgICAgICAgICA8ZGl2IGZ4TGF5b3V0PVwicm93XCI+XG4gICAgICAgICAgICAgICAgPG1hdC1zbGlkZS10b2dnbGUgW2Zvcm1Db250cm9sXT1cImlucHV0Rm9ybUNvbnRyb2xcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtkaXNhYmxlZF09XCIhZWRpdGFibGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmb2N1cyk9XCJlZGl0SW5wdXQoKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHRvZ2dsZUNoYW5nZSk9XCJjb25maXJtSW5wdXQoKVwiPjwvbWF0LXNsaWRlLXRvZ2dsZT5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cblxuPG5nLXRlbXBsYXRlICNvcGVyYW5kRGlzcGxheT5cbiAgICA8ZGl2IFtuZ1N3aXRjaF09XCJpbnB1dFR5cGVcIiAoY2xpY2spPVwiZWRpdElucHV0KClcIiBjbGFzcz1cImJvbGQtdGV4dFwiPlxuICAgICAgICA8ZGl2ICpuZ1N3aXRjaENhc2U9XCJzZWFyY2hJbnB1dFR5cGUuQVVUT0NPTVBMRVRFXCI+XG4gICAgICAgICAgICB7e2lucHV0Rm9ybUNvbnRyb2wudmFsdWUudGV4dCB8IHRyYW5zbGF0ZX19XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8ZGl2ICpuZ1N3aXRjaENhc2U9XCJzZWFyY2hJbnB1dFR5cGUuREFURVwiPlxuICAgICAgICAgICAge3tpbnB1dEZvcm1Db250cm9sLnZhbHVlLmZvcm1hdChkYXRlRm9ybWF0KX19XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8ZGl2ICpuZ1N3aXRjaENhc2U9XCJzZWFyY2hJbnB1dFR5cGUuREFURV9USU1FXCI+XG4gICAgICAgICAgICB7e2lucHV0Rm9ybUNvbnRyb2wudmFsdWUuZm9ybWF0KGRhdGVUaW1lRm9ybWF0KX19XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8ZGl2ICpuZ1N3aXRjaERlZmF1bHQ+XG4gICAgICAgICAgICB7e2lucHV0Rm9ybUNvbnRyb2wudmFsdWV9fVxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
package/esm2020/lib/search/advanced-search/search-predicate-component/search-predicate.component.mjs
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Component, Inject } from '@angular/core';
|
|
2
|
+
import { AbstractSearchPredicateComponent, NAE_SEARCH_CATEGORIES } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@netgrif/components-core";
|
|
5
|
+
import * as i2 from "@angular/material/button";
|
|
6
|
+
import * as i3 from "@angular/material/icon";
|
|
7
|
+
import * as i4 from "@angular/material/form-field";
|
|
8
|
+
import * as i5 from "@angular/material/select";
|
|
9
|
+
import * as i6 from "@angular/material/core";
|
|
10
|
+
import * as i7 from "../search-configuration-input-component/search-configuration-input.component";
|
|
11
|
+
import * as i8 from "@angular/flex-layout/flex";
|
|
12
|
+
import * as i9 from "@angular/common";
|
|
13
|
+
import * as i10 from "@angular/flex-layout/extended";
|
|
14
|
+
import * as i11 from "@ngx-translate/core";
|
|
15
|
+
export class SearchPredicateComponent extends AbstractSearchPredicateComponent {
|
|
16
|
+
constructor(searchCategories, logger, initializationService, categoryFactory) {
|
|
17
|
+
super(searchCategories, logger, initializationService, categoryFactory);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
SearchPredicateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchPredicateComponent, deps: [{ token: NAE_SEARCH_CATEGORIES }, { token: i1.LoggerService }, { token: i1.AdvancedSearchComponentInitializationService }, { token: i1.CategoryFactory }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
SearchPredicateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SearchPredicateComponent, selector: "nc-search-predicate", usesInheritance: true, ngImport: i0, template: "<div class=\"predicate-body\" fxLayout=\"row\" fxLayoutAlign=\"start center\"\n [ngClass]=\"!!selectedCategory && selectedCategory.providesPredicate ? 'predicate-body-color' : 'white-background'\">\n <div *ngIf=\"editable\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-icon-button color=\"warn\" (click)=\"remove()\" class=\"smaller-button\">\n <mat-icon>clear</mat-icon>\n </button>\n </div>\n\n <div *ngIf=\"!selectedCategory; then categorySelection else categoryDisplay\"></div>\n <ng-template #categorySelection>\n <mat-form-field class=\"text-margin\" appearance=\"outline\">\n <mat-label>{{'search.category.select' | translate}}</mat-label>\n <mat-select (selectionChange)=\"categoryChanged($event.value)\" #categoryInput [disabled]=\"!editable\">\n <mat-option *ngFor=\"let category of searchCategories\"\n [value]=\"category\">{{category.translationPath | translate}}</mat-option>\n </mat-select>\n </mat-form-field>\n </ng-template>\n <ng-template #categoryDisplay>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"text-margin\"\n [ngClass]=\"{'bold-text': selectedCategory.displayBold}\"\n (click)=\"clearCategorySelection()\">\n {{selectedCategory.translationPath | translate}}\n </div>\n </ng-template>\n\n <div *ngIf=\"selectedCategory\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <ng-template ngFor let-configurationInput [ngForOf]=\"selectedCategory.configurationInputs$ | async\">\n <nc-search-configuration-input [configuration]=\"configurationInput\" [selectedCategory]=\"selectedCategory\"\n [editable]=\"editable\"></nc-search-configuration-input>\n </ng-template>\n </div>\n</div>\n", styles: [".predicate-body{border-radius:4px;padding-right:4px;margin-top:2px;margin-bottom:2px;min-height:32px}.smaller-button{width:32px;height:32px;line-height:32px;margin-right:-4px}.bold-text{font-weight:700}.text-margin{margin-left:4px}.white-background{background:#fafafa}::ng-deep .mat-form-field-wrapper{margin:0;padding-bottom:0}\n"], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i6.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { type: i7.SearchConfigurationInputComponent, selector: "nc-search-configuration-input" }], directives: [{ type: i8.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i8.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i9.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.MatLabel, selector: "mat-label" }, { type: i9.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i11.TranslatePipe, "async": i9.AsyncPipe } });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchPredicateComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'nc-search-predicate', template: "<div class=\"predicate-body\" fxLayout=\"row\" fxLayoutAlign=\"start center\"\n [ngClass]=\"!!selectedCategory && selectedCategory.providesPredicate ? 'predicate-body-color' : 'white-background'\">\n <div *ngIf=\"editable\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-icon-button color=\"warn\" (click)=\"remove()\" class=\"smaller-button\">\n <mat-icon>clear</mat-icon>\n </button>\n </div>\n\n <div *ngIf=\"!selectedCategory; then categorySelection else categoryDisplay\"></div>\n <ng-template #categorySelection>\n <mat-form-field class=\"text-margin\" appearance=\"outline\">\n <mat-label>{{'search.category.select' | translate}}</mat-label>\n <mat-select (selectionChange)=\"categoryChanged($event.value)\" #categoryInput [disabled]=\"!editable\">\n <mat-option *ngFor=\"let category of searchCategories\"\n [value]=\"category\">{{category.translationPath | translate}}</mat-option>\n </mat-select>\n </mat-form-field>\n </ng-template>\n <ng-template #categoryDisplay>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"text-margin\"\n [ngClass]=\"{'bold-text': selectedCategory.displayBold}\"\n (click)=\"clearCategorySelection()\">\n {{selectedCategory.translationPath | translate}}\n </div>\n </ng-template>\n\n <div *ngIf=\"selectedCategory\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <ng-template ngFor let-configurationInput [ngForOf]=\"selectedCategory.configurationInputs$ | async\">\n <nc-search-configuration-input [configuration]=\"configurationInput\" [selectedCategory]=\"selectedCategory\"\n [editable]=\"editable\"></nc-search-configuration-input>\n </ng-template>\n </div>\n</div>\n", styles: [".predicate-body{border-radius:4px;padding-right:4px;margin-top:2px;margin-bottom:2px;min-height:32px}.smaller-button{width:32px;height:32px;line-height:32px;margin-right:-4px}.bold-text{font-weight:700}.text-margin{margin-left:4px}.white-background{background:#fafafa}::ng-deep .mat-form-field-wrapper{margin:0;padding-bottom:0}\n"] }]
|
|
25
|
+
}], ctorParameters: function () { return [{ type: Array, decorators: [{
|
|
26
|
+
type: Inject,
|
|
27
|
+
args: [NAE_SEARCH_CATEGORIES]
|
|
28
|
+
}] }, { type: i1.LoggerService }, { type: i1.AdvancedSearchComponentInitializationService }, { type: i1.CategoryFactory }]; } });
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLXByZWRpY2F0ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9zZWFyY2gvYWR2YW5jZWQtc2VhcmNoL3NlYXJjaC1wcmVkaWNhdGUtY29tcG9uZW50L3NlYXJjaC1wcmVkaWNhdGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z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gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2VkaXRhYmxlXT1cImVkaXRhYmxlXCI+PC9uYy1zZWFyY2gtY29uZmlndXJhdGlvbi1pbnB1dD5cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractFulltextSearchComponent } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@netgrif/components-core";
|
|
5
|
+
import * as i2 from "@angular/material/form-field";
|
|
6
|
+
import * as i3 from "@angular/material/input";
|
|
7
|
+
import * as i4 from "@angular/forms";
|
|
8
|
+
import * as i5 from "@ngx-translate/core";
|
|
9
|
+
export class FulltextSearchComponent extends AbstractFulltextSearchComponent {
|
|
10
|
+
constructor(searchService) {
|
|
11
|
+
super(searchService);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
FulltextSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FulltextSearchComponent, deps: [{ token: i1.SearchService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
FulltextSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FulltextSearchComponent, selector: "nc-fulltext-search", usesInheritance: true, ngImport: i0, template: "<mat-form-field appearance=\"outline\" class=\"disable-error-margin\">\n <input type=\"text\" matInput\n [placeholder]=\"'search.fullText' | translate\"\n [formControl]=\"fullTextFormControl\"\n (keydown.enter)=\"$event.target.blur()\">\n</mat-form-field>\n", styles: [""], components: [{ type: i2.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }], directives: [{ type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "translate": i5.TranslatePipe } });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FulltextSearchComponent, decorators: [{
|
|
17
|
+
type: Component,
|
|
18
|
+
args: [{ selector: 'nc-fulltext-search', template: "<mat-form-field appearance=\"outline\" class=\"disable-error-margin\">\n <input type=\"text\" matInput\n [placeholder]=\"'search.fullText' | translate\"\n [formControl]=\"fullTextFormControl\"\n (keydown.enter)=\"$event.target.blur()\">\n</mat-form-field>\n", styles: [""] }]
|
|
19
|
+
}], ctorParameters: function () { return [{ type: i1.SearchService }]; } });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVsbHRleHQtc2VhcmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3NlYXJjaC9mdWxsdGV4dC1zZWFyY2gtY29tcG9uZW50L2Z1bGx0ZXh0LXNlYXJjaC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9zZWFyY2gvZnVsbHRleHQtc2VhcmNoLWNvbXBvbmVud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gIH1cblxufVxuIiwiPG1hdC1mb3JtLWZpZWxkIGFwcGVhcmFuY2U9XCJvdXRsaW5lXCIgY2xhc3M9XCJkaXNhYmxlLWVycm9yLW1hcmdpblwiPlxuICAgIDxpbnB1dCB0eXBlPVwidGV4dFwiIG1hdElucHV0XG4gICAgICAgICAgIFtwbGFjZWhvbGRlcl09XCInc2VhcmNoLmZ1bGxUZXh0JyB8IHRyYW5zbGF0ZVwiXG4gICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmdWxsVGV4dEZvcm1Db250cm9sXCJcbiAgICAgICAgICAgKGtleWRvd24uZW50ZXIpPVwiJGV2ZW50LnRhcmdldC5ibHVyKClcIj5cbjwvbWF0LWZvcm0tZmllbGQ+XG4iXX0=
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* Advanced search */
|
|
2
|
+
export * from './advanced-search/public-api';
|
|
3
|
+
/* Module */
|
|
4
|
+
export * from './search.module';
|
|
5
|
+
/* Components */
|
|
6
|
+
export * from './search-component/search.component';
|
|
7
|
+
export * from './search-component/case-search/case-search.component';
|
|
8
|
+
export * from './search-component/task-search/task-search.component';
|
|
9
|
+
export * from './fulltext-search-component/fulltext-search.component';
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3NlYXJjaC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHFCQUFxQjtBQUNyQixjQUFjLDhCQUE4QixDQUFDO0FBRTdDLFlBQVk7QUFDWixjQUFjLGlCQUFpQixDQUFDO0FBRWhDLGdCQUFnQjtBQUNoQixjQUFjLHFDQUFxQyxDQUFDO0FBQ3BELGNBQWMsc0RBQXNELENBQUM7QUFDckUsY0FBYyxzREFBc0QsQ0FBQztBQUNyRSxjQUFjLHVEQUF1RCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyogQWR2YW5jZWQgc2VhcmNoICovXG5leHBvcnQgKiBmcm9tICcuL2FkdmFuY2VkLXNlYXJjaC9wdWJsaWMtYXBpJztcblxuLyogTW9kdWxlICovXG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaC5tb2R1bGUnO1xuXG4vKiBDb21wb25lbnRzICovXG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaC1jb21wb25lbnQvc2VhcmNoLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaC1jb21wb25lbnQvY2FzZS1zZWFyY2gvY2FzZS1zZWFyY2guY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc2VhcmNoLWNvbXBvbmVudC90YXNrLXNlYXJjaC90YXNrLXNlYXJjaC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9mdWxsdGV4dC1zZWFyY2gtY29tcG9uZW50L2Z1bGx0ZXh0LXNlYXJjaC5jb21wb25lbnQnO1xuIl19
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { CategoryFactory, defaultCaseSearchCategoriesFactory, NAE_SEARCH_CATEGORIES } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../search.component";
|
|
5
|
+
/**
|
|
6
|
+
* A component that provides the default case search categories.
|
|
7
|
+
*
|
|
8
|
+
* @deprecated in 5.0.0 - Use the universal {@link SearchComponent} instead and provide the {@link NAE_SEARCH_CATEGORIES} yourself
|
|
9
|
+
* (a [factory method]{@link defaultCaseSearchCategoriesFactory} can be used).
|
|
10
|
+
*/
|
|
11
|
+
export class CaseSearchComponent {
|
|
12
|
+
}
|
|
13
|
+
CaseSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CaseSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
+
CaseSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CaseSearchComponent, selector: "nc-case-search", providers: [
|
|
15
|
+
CategoryFactory,
|
|
16
|
+
{ provide: NAE_SEARCH_CATEGORIES, useFactory: defaultCaseSearchCategoriesFactory, deps: [CategoryFactory] }
|
|
17
|
+
], ngImport: i0, template: "<nc-search></nc-search>\n", styles: [""], components: [{ type: i1.SearchComponent, selector: "nc-search" }] });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CaseSearchComponent, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{ selector: 'nc-case-search', providers: [
|
|
21
|
+
CategoryFactory,
|
|
22
|
+
{ provide: NAE_SEARCH_CATEGORIES, useFactory: defaultCaseSearchCategoriesFactory, deps: [CategoryFactory] }
|
|
23
|
+
], template: "<nc-search></nc-search>\n", styles: [""] }]
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1zZWFyY2guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvc2VhcmNoL3NlYXJjaC1jb21wb25lbnQvY2FzZS1zZWFyY2gvY2FzZS1zZWFyY2guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvc2VhcmNoL3NlYXJjaC1jb21wb25lbnQvY2FzZS1zZWFyY2gvY2FzZS1zZWFyY2guY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5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aGUge0BsaW5rIE5BRV9TRUFSQ0hfQ0FURUdPUklFU30geW91cnNlbGZcbiAqIChhIFtmYWN0b3J5IG1ldGhvZF17QGxpbmsgZGVmYXVsdENhc2VTZWFyY2hDYXRlZ29yaWVzRmFjdG9yeX0gY2FuIGJlIHVzZWQpLlxuICovXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ25jLWNhc2Utc2VhcmNoJyxcbiAgICB0ZW1wbGF0ZVVybDogJy4vY2FzZS1zZWFyY2guY29tcG9uZW50Lmh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL2Nhc2Utc2VhcmNoLmNvbXBvbmVudC5zY3NzJ10sXG4gICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIENhdGVnb3J5RmFjdG9yeSxcbiAgICAgICAge3Byb3ZpZGU6IE5BRV9TRUFSQ0hfQ0FURUdPUklFUywgdXNlRmFjdG9yeTogZGVmYXVsdENhc2VTZWFyY2hDYXRlZ29yaWVzRmFjdG9yeSwgZGVwczogW0NhdGVnb3J5RmFjdG9yeV19XG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBDYXNlU2VhcmNoQ29tcG9uZW50IHtcbn1cbiIsIjxuYy1zZWFyY2g+PC9uYy1zZWFyY2g+XG4iXX0=
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Component, Inject, Optional, SkipSelf, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { MAT_DATE_FORMATS } from '@angular/material/core';
|
|
3
|
+
import { AbstractSearchComponent, CategoryResolverService, DATE_FORMAT, NAE_SEARCH_COMPONENT_CONFIGURATION, NAE_SEARCH_CATEGORIES, Category, NAE_FILTERS_FILTER, Filter, FilterType, NAE_BASE_FILTER, NAE_DEFAULT_CASE_SEARCH_CATEGORIES, NAE_DEFAULT_TASK_SEARCH_CATEGORIES, NAE_NAVIGATION_ITEM_TASK_DATA } from '@netgrif/components-core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@netgrif/components-core";
|
|
6
|
+
import * as i2 from "@ngx-translate/core";
|
|
7
|
+
import * as i3 from "@angular/material/icon";
|
|
8
|
+
import * as i4 from "../advanced-search/advanced-search-component/advanced-search.component";
|
|
9
|
+
import * as i5 from "../fulltext-search-component/fulltext-search.component";
|
|
10
|
+
import * as i6 from "@angular/material/button";
|
|
11
|
+
import * as i7 from "@angular/flex-layout/flex";
|
|
12
|
+
import * as i8 from "@angular/common";
|
|
13
|
+
import * as i9 from "@angular/material/tooltip";
|
|
14
|
+
/**
|
|
15
|
+
* Converts search categories provided by the {@link NAE_SEARCH_CATEGORIES}
|
|
16
|
+
* injection token in the old (pre 5.6.0) format, to the new format.
|
|
17
|
+
*
|
|
18
|
+
* If no search categories are provided converts the default search categories into search categories
|
|
19
|
+
* based on the base filter filter type.
|
|
20
|
+
*
|
|
21
|
+
* @param categoryResolverService service for serialisation and deserialization of search categories
|
|
22
|
+
* @param baseFilter determines the default categories used if no categories are provided, injected by the {@link NAE_BASE_FILTER}
|
|
23
|
+
* injection token
|
|
24
|
+
* @param defaultCaseSearchCategories the default case search categories, injected by the {@link NAE_DEFAULT_CASE_SEARCH_CATEGORIES}
|
|
25
|
+
* injection token
|
|
26
|
+
* @param defaultTaskSearchCategories the default task search categories, injected by the {@link NAE_DEFAULT_TASK_SEARCH_CATEGORIES}
|
|
27
|
+
* injection token
|
|
28
|
+
* @param naeSearchCategories optionally the search category instances, or the search category classes. Instances are converted to classes.
|
|
29
|
+
* If no categories are provided the default ones based on the base filter filter type will be returned.
|
|
30
|
+
* Injected by the {@link NAE_SEARCH_CATEGORIES} injection token.
|
|
31
|
+
*/
|
|
32
|
+
export function searchCategoryConverter(categoryResolverService, baseFilter, defaultCaseSearchCategories, defaultTaskSearchCategories, naeSearchCategories = null) {
|
|
33
|
+
if (naeSearchCategories === null) {
|
|
34
|
+
// categories were not provided => return the defaults
|
|
35
|
+
const type = baseFilter.filter instanceof Filter ? baseFilter.filter.type : baseFilter.filterType;
|
|
36
|
+
if (type === FilterType.CASE) {
|
|
37
|
+
return defaultCaseSearchCategories;
|
|
38
|
+
}
|
|
39
|
+
else if (type === FilterType.TASK) {
|
|
40
|
+
return defaultTaskSearchCategories;
|
|
41
|
+
}
|
|
42
|
+
throw new Error(`Illegal filter type: ${type}`);
|
|
43
|
+
}
|
|
44
|
+
// categories were provided => convert them if necessary
|
|
45
|
+
if (naeSearchCategories.length !== 0 && naeSearchCategories[0] instanceof Category) {
|
|
46
|
+
return naeSearchCategories.map(c => {
|
|
47
|
+
return categoryResolverService.toClass(categoryResolverService.serialize(c));
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
return naeSearchCategories;
|
|
51
|
+
}
|
|
52
|
+
export class SearchComponent extends AbstractSearchComponent {
|
|
53
|
+
constructor(searchService, logger, dialogService, translate, userFilterService, allowedNetsService, viewIdService, searchCategories, configuration, filtersFilter = null, navigationItemTaskData = null) {
|
|
54
|
+
super(searchService, logger, dialogService, translate, userFilterService, allowedNetsService, viewIdService, searchCategories, configuration, filtersFilter, navigationItemTaskData);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
SearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchComponent, deps: [{ token: i1.SearchService }, { token: i1.LoggerService }, { token: i1.DialogService }, { token: i2.TranslateService }, { token: i1.UserFiltersService }, { token: i1.AllowedNetsService }, { token: i1.ViewIdService }, { token: NAE_SEARCH_CATEGORIES }, { token: NAE_SEARCH_COMPONENT_CONFIGURATION, optional: true }, { token: NAE_FILTERS_FILTER, optional: true }, { token: NAE_NAVIGATION_ITEM_TASK_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
+
SearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SearchComponent, selector: "nc-search", providers: [
|
|
59
|
+
{ provide: MAT_DATE_FORMATS, useValue: DATE_FORMAT },
|
|
60
|
+
{
|
|
61
|
+
provide: NAE_SEARCH_CATEGORIES,
|
|
62
|
+
useFactory: searchCategoryConverter,
|
|
63
|
+
deps: [
|
|
64
|
+
CategoryResolverService,
|
|
65
|
+
NAE_BASE_FILTER,
|
|
66
|
+
NAE_DEFAULT_CASE_SEARCH_CATEGORIES,
|
|
67
|
+
NAE_DEFAULT_TASK_SEARCH_CATEGORIES,
|
|
68
|
+
[new Optional(), new SkipSelf(), NAE_SEARCH_CATEGORIES]
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
], usesInheritance: true, ngImport: i0, template: "<div fxLayout=\"row wrap\" fxLayoutAlign=\"start center\">\n <div class=\"search-icon\" fxLayout=\"row\" fxLayoutAlign=\"start center\" *ngIf=\"showSearchIcon\">\n <mat-icon [inline]=\"true\">search</mat-icon>\n </div>\n\n <div *ngIf=\"advancedSearchDisplayed; then advancedSearch; else fullTextSearch\"></div>\n\n <ng-template #advancedSearch>\n <nc-advanced-search></nc-advanced-search>\n </ng-template>\n\n <ng-template #fullTextSearch>\n <nc-fulltext-search></nc-fulltext-search>\n </ng-template>\n\n <button mat-icon-button class=\"search-buttons-margin\" *ngIf=\"showSearchToggleButton\"\n [matTooltip]=\"(advancedSearchDisplayed ? 'search.tooltip.toFullText' : 'search.tooltip.toAdvanced') | translate\"\n (click)=\"toggleSearchMode()\">\n <mat-icon>youtube_searched_for</mat-icon>\n </button>\n\n <button mat-icon-button class=\"search-buttons-margin\" *ngIf=\"advancedSearchDisplayed && showSaveFilterButton\"\n [matTooltip]=\"'search.tooltip.save' | translate\" (click)=\"saveFilter()\">\n <mat-icon>save</mat-icon>\n </button>\n\n <button mat-icon-button class=\"search-buttons-margin\" *ngIf=\"advancedSearchDisplayed && showLoadFilterButton\"\n [matTooltip]=\"'search.tooltip.load' | translate\" (click)=\"loadFilter()\">\n <mat-icon>open_in_browser</mat-icon>\n </button>\n\n <button mat-icon-button class=\"search-buttons-margin\" *ngIf=\"advancedSearchDisplayed && showAdvancedSearchHelp\"\n [matTooltip]=\"'search.tooltip.help' | translate\" (click)=\"showHelp()\">\n <mat-icon>help</mat-icon>\n </button>\n</div>\n", styles: [".button-margin{margin-left:8px;margin-right:8px}.clause-margin{margin-top:4px;margin-bottom:4px}.disable-error-margin .mat-form-field-wrapper{margin:0;padding-bottom:0}.search-buttons-margin{margin-left:8px}.search-icon{padding-right:8px;font-size:xx-large}.search-input{width:100%}.search-input-lg{width:60%}.search-input-md{width:80%}.search-input-sm{width:100%}\n"], components: [{ type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.AdvancedSearchComponent, selector: "nc-advanced-search" }, { type: i5.FulltextSearchComponent, selector: "nc-fulltext-search" }, { type: i6.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i7.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i7.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "translate": i2.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchComponent, decorators: [{
|
|
73
|
+
type: Component,
|
|
74
|
+
args: [{ selector: 'nc-search', encapsulation: ViewEncapsulation.None, providers: [
|
|
75
|
+
{ provide: MAT_DATE_FORMATS, useValue: DATE_FORMAT },
|
|
76
|
+
{
|
|
77
|
+
provide: NAE_SEARCH_CATEGORIES,
|
|
78
|
+
useFactory: searchCategoryConverter,
|
|
79
|
+
deps: [
|
|
80
|
+
CategoryResolverService,
|
|
81
|
+
NAE_BASE_FILTER,
|
|
82
|
+
NAE_DEFAULT_CASE_SEARCH_CATEGORIES,
|
|
83
|
+
NAE_DEFAULT_TASK_SEARCH_CATEGORIES,
|
|
84
|
+
[new Optional(), new SkipSelf(), NAE_SEARCH_CATEGORIES]
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
], template: "<div fxLayout=\"row wrap\" fxLayoutAlign=\"start center\">\n <div class=\"search-icon\" fxLayout=\"row\" fxLayoutAlign=\"start center\" *ngIf=\"showSearchIcon\">\n <mat-icon [inline]=\"true\">search</mat-icon>\n </div>\n\n <div *ngIf=\"advancedSearchDisplayed; then advancedSearch; else fullTextSearch\"></div>\n\n <ng-template #advancedSearch>\n <nc-advanced-search></nc-advanced-search>\n </ng-template>\n\n <ng-template #fullTextSearch>\n <nc-fulltext-search></nc-fulltext-search>\n </ng-template>\n\n <button mat-icon-button class=\"search-buttons-margin\" *ngIf=\"showSearchToggleButton\"\n [matTooltip]=\"(advancedSearchDisplayed ? 'search.tooltip.toFullText' : 'search.tooltip.toAdvanced') | translate\"\n (click)=\"toggleSearchMode()\">\n <mat-icon>youtube_searched_for</mat-icon>\n </button>\n\n <button mat-icon-button class=\"search-buttons-margin\" *ngIf=\"advancedSearchDisplayed && showSaveFilterButton\"\n [matTooltip]=\"'search.tooltip.save' | translate\" (click)=\"saveFilter()\">\n <mat-icon>save</mat-icon>\n </button>\n\n <button mat-icon-button class=\"search-buttons-margin\" *ngIf=\"advancedSearchDisplayed && showLoadFilterButton\"\n [matTooltip]=\"'search.tooltip.load' | translate\" (click)=\"loadFilter()\">\n <mat-icon>open_in_browser</mat-icon>\n </button>\n\n <button mat-icon-button class=\"search-buttons-margin\" *ngIf=\"advancedSearchDisplayed && showAdvancedSearchHelp\"\n [matTooltip]=\"'search.tooltip.help' | translate\" (click)=\"showHelp()\">\n <mat-icon>help</mat-icon>\n </button>\n</div>\n", styles: [".button-margin{margin-left:8px;margin-right:8px}.clause-margin{margin-top:4px;margin-bottom:4px}.disable-error-margin .mat-form-field-wrapper{margin:0;padding-bottom:0}.search-buttons-margin{margin-left:8px}.search-icon{padding-right:8px;font-size:xx-large}.search-input{width:100%}.search-input-lg{width:60%}.search-input-md{width:80%}.search-input-sm{width:100%}\n"] }]
|
|
88
|
+
}], ctorParameters: function () { return [{ type: i1.SearchService }, { type: i1.LoggerService }, { type: i1.DialogService }, { type: i2.TranslateService }, { type: i1.UserFiltersService }, { type: i1.AllowedNetsService }, { type: i1.ViewIdService }, { type: Array, decorators: [{
|
|
89
|
+
type: Inject,
|
|
90
|
+
args: [NAE_SEARCH_CATEGORIES]
|
|
91
|
+
}] }, { type: undefined, decorators: [{
|
|
92
|
+
type: Optional
|
|
93
|
+
}, {
|
|
94
|
+
type: Inject,
|
|
95
|
+
args: [NAE_SEARCH_COMPONENT_CONFIGURATION]
|
|
96
|
+
}] }, { type: i1.Filter, decorators: [{
|
|
97
|
+
type: Optional
|
|
98
|
+
}, {
|
|
99
|
+
type: Inject,
|
|
100
|
+
args: [NAE_FILTERS_FILTER]
|
|
101
|
+
}] }, { type: Array, decorators: [{
|
|
102
|
+
type: Optional
|
|
103
|
+
}, {
|
|
104
|
+
type: Inject,
|
|
105
|
+
args: [NAE_NAVIGATION_ITEM_TASK_DATA]
|
|
106
|
+
}] }]; } });
|
|
107
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL3NlYXJjaC9zZWFyY2gtY29tcG9uZW50L3NlYXJjaC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9zZWFyY2gvc2VhcmNoLWNvbXBvbmVudC9zZWFyY2guY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBUSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM3RixPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUN4RCxPQUFPLEVBQ0gsdUJBQXVCLEVBRXZCLHVCQUF1QixFQUN2QixXQUFXLEVBSV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biJdfQ==
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { CategoryFactory, defaultTaskSearchCategoriesFactory, NAE_SEARCH_CATEGORIES } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../search.component";
|
|
5
|
+
/**
|
|
6
|
+
* A component that provides the default task search categories.
|
|
7
|
+
*
|
|
8
|
+
* @deprecated in 5.0.0 - Use the universal {@link SearchComponent} instead and provide the {@link NAE_SEARCH_CATEGORIES} yourself
|
|
9
|
+
* (a [factory method]{@link defaultTaskSearchCategoriesFactory} can be used).
|
|
10
|
+
*/
|
|
11
|
+
export class TaskSearchComponent {
|
|
12
|
+
}
|
|
13
|
+
TaskSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TaskSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
+
TaskSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TaskSearchComponent, selector: "nc-task-search", providers: [
|
|
15
|
+
CategoryFactory,
|
|
16
|
+
{ provide: NAE_SEARCH_CATEGORIES, useFactory: defaultTaskSearchCategoriesFactory, deps: [CategoryFactory] }
|
|
17
|
+
], ngImport: i0, template: "<nc-search></nc-search>\n", styles: [""], components: [{ type: i1.SearchComponent, selector: "nc-search" }] });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TaskSearchComponent, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{ selector: 'nc-task-search', providers: [
|
|
21
|
+
CategoryFactory,
|
|
22
|
+
{ provide: NAE_SEARCH_CATEGORIES, useFactory: defaultTaskSearchCategoriesFactory, deps: [CategoryFactory] }
|
|
23
|
+
], template: "<nc-search></nc-search>\n", styles: [""] }]
|
|
24
|
+
}] });
|
|
25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