@netgrif/components 6.4.0-rc.8 → 7.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/esm2022/lib/admin/admin.module.mjs +33 -0
- package/esm2022/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.mjs +40 -0
- package/esm2022/lib/admin/role-assignment/role-assignment.component.mjs +42 -0
- package/esm2022/lib/admin/user-invite/user-invite.component.mjs +39 -0
- package/esm2022/lib/authentication/auth.module.mjs +38 -0
- package/esm2022/lib/authentication/authentication-overlay/authentication-overlay.component.mjs +27 -0
- package/esm2022/lib/authentication/session-idle/popup-session-idle/popup-session-idle.component.mjs +26 -0
- package/esm2022/lib/authentication/session-idle/session-idle.component.mjs +40 -0
- package/esm2022/lib/dashboard/cards/barchart-card/barchart-card.component.mjs +45 -0
- package/esm2022/lib/dashboard/cards/count-card/count-card.component.mjs +21 -0
- package/esm2022/lib/dashboard/cards/iframe-card/iframe-card.component.mjs +20 -0
- package/esm2022/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.mjs +42 -0
- package/esm2022/lib/dashboard/cards/linechart-card/line-chart-card.component.mjs +54 -0
- package/esm2022/lib/dashboard/cards/piechart-card/pie-chart-card.component.mjs +47 -0
- package/esm2022/lib/dashboard/cards/portal-card/portal-card.component.mjs +43 -0
- package/esm2022/lib/dashboard/dashboard-content/dashboard-content.component.mjs +27 -0
- package/esm2022/lib/dashboard/dashboard.module.mjs +77 -0
- package/{esm2020 → esm2022}/lib/data-fields/boolean-field/boolean-default-field/boolean-default-field.component.mjs +13 -13
- package/{esm2020 → esm2022}/lib/data-fields/boolean-field/boolean-field.component.mjs +9 -9
- package/esm2022/lib/data-fields/button-field/button-default-field/button-default-field.component.mjs +45 -0
- package/esm2022/lib/data-fields/button-field/button-field.component.mjs +27 -0
- package/{esm2020 → esm2022}/lib/data-fields/case-ref-field/case-ref-default/case-ref-default.component.mjs +7 -7
- package/esm2022/lib/data-fields/data-field-template/data-field-template.component.mjs +26 -0
- package/{esm2020 → esm2022}/lib/data-fields/data-fields.module.mjs +92 -94
- package/esm2022/lib/data-fields/date-field/date-default-field/date-default-field.component.mjs +39 -0
- package/{esm2020 → esm2022}/lib/data-fields/date-field/date-field.component.mjs +11 -11
- package/esm2022/lib/data-fields/date-time-field/date-time-default-field/date-time-default-field.component.mjs +40 -0
- package/{esm2020 → esm2022}/lib/data-fields/date-time-field/date-time-field.component.mjs +11 -11
- package/esm2022/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.mjs +32 -0
- package/esm2022/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.mjs +30 -0
- package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-caseref-field/enumeration-caseref-field.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-field.component.mjs +9 -9
- package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.mjs +13 -13
- package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.mjs +13 -13
- package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.mjs +11 -11
- package/esm2022/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.mjs +29 -0
- package/esm2022/lib/data-fields/file-field/file-default-field/file-default-field.component.mjs +52 -0
- package/{esm2020 → esm2022}/lib/data-fields/file-field/file-field.component.mjs +9 -9
- package/esm2022/lib/data-fields/file-field/preview-dialog/preview-dialog.component.mjs +35 -0
- package/esm2022/lib/data-fields/file-list-field/file-list-default-field/file-list-default-field.component.mjs +32 -0
- package/{esm2020 → esm2022}/lib/data-fields/file-list-field/file-list-field.component.mjs +9 -9
- package/{esm2020 → esm2022}/lib/data-fields/filter-field/filter-default-field/filter-default-field.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.mjs +15 -15
- package/{esm2020 → esm2022}/lib/data-fields/filter-field/filter-field.component.mjs +9 -9
- package/{esm2020 → esm2022}/lib/data-fields/filter-field/tab-view-filter-field/filter-field-tab-view-content.component.mjs +13 -13
- package/esm2022/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.mjs +23 -0
- package/{esm2020 → esm2022}/lib/data-fields/i18n-field/i18n-field.component.mjs +8 -8
- package/esm2022/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.mjs +65 -0
- package/esm2022/lib/data-fields/multichoice-field/multichoice-autocomplete-field/multichoice-autocomplete-field.component.mjs +30 -0
- package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-caseref-field/multichoice-caseref-field.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-field.component.mjs +9 -9
- package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.mjs +13 -13
- package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.mjs +11 -11
- package/esm2022/lib/data-fields/number-field/number-currency-field/number-currency-field.component.mjs +37 -0
- package/esm2022/lib/data-fields/number-field/number-decimal-field/number-decimal-field.component.mjs +38 -0
- package/{esm2020 → esm2022}/lib/data-fields/number-field/number-default-field/number-default-field.component.mjs +10 -10
- package/{esm2020 → esm2022}/lib/data-fields/number-field/number-field.component.mjs +8 -8
- package/esm2022/lib/data-fields/required-label/required-label.component.mjs +18 -0
- package/esm2022/lib/data-fields/string-collection-field/string-collection-default-field/string-collection-default-field.component.mjs +30 -0
- package/esm2022/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-field.component.mjs +39 -0
- package/esm2022/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.mjs +62 -0
- package/esm2022/lib/data-fields/task-ref-field/task-ref-field.component.mjs +28 -0
- package/{esm2020 → esm2022}/lib/data-fields/task-ref-field/task-ref-list-field/task-ref-list-field.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-bar-chart-text-field/dashboard-bar-chart-text-field.component.mjs +8 -8
- package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-iframe-text-field/dashboard-iframe-text-field.component.mjs +8 -8
- package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-line-chart-text-field/dashboard-line-chart-text-field.component.mjs +8 -8
- package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-pie-chart-text-field/dashboard-pie-chart-text-field.component.mjs +8 -8
- package/esm2022/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.mjs +45 -0
- package/esm2022/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs +38 -0
- package/esm2022/lib/data-fields/text-field/password-text-field/password-text-field.component.mjs +32 -0
- package/esm2022/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.mjs +90 -0
- package/esm2022/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs +29 -0
- package/esm2022/lib/data-fields/text-field/signature-pad-field/signature-pad-field.component.mjs +105 -0
- package/esm2022/lib/data-fields/text-field/simple-text-field/simple-text-field.component.mjs +28 -0
- package/{esm2020 → esm2022}/lib/data-fields/text-field/text-field.component.mjs +8 -8
- package/esm2022/lib/data-fields/text-field/textarea-field/textarea-field.component.mjs +31 -0
- package/esm2022/lib/data-fields/user-field/user-default-field/user-default-field.component.mjs +35 -0
- package/esm2022/lib/data-fields/user-field/user-field.component.mjs +25 -0
- package/esm2022/lib/data-fields/user-list-field/user-list-default-field/user-list-default-field.component.mjs +38 -0
- package/{esm2020 → esm2022}/lib/data-fields/user-list-field/user-list-field.component.mjs +9 -9
- package/esm2022/lib/dialog/admin-impersonate-dialog/admin-impersonate-dialog.component.mjs +87 -0
- package/esm2022/lib/dialog/dialog.module.mjs +175 -0
- package/esm2022/lib/dialog/filter-selector-dialog/filter-selector-dialog.component.mjs +200 -0
- package/esm2022/lib/dialog/import-net-dialog/import-net-dialog.component.mjs +160 -0
- package/esm2022/lib/dialog/load-filter-dialog/load-filter-dialog.component.mjs +103 -0
- package/esm2022/lib/dialog/multi-user-assign-dialog/multi-user-assign-dialog.component.mjs +76 -0
- package/esm2022/lib/dialog/new-case-dialog/new-case-dialog.component.mjs +272 -0
- package/esm2022/lib/dialog/save-filter-dialog/save-filter-dialog.component.mjs +88 -0
- package/esm2022/lib/dialog/task-view-dialog/task-view-dialog.component.mjs +97 -0
- package/esm2022/lib/dialog/user-assign-dialog/user-assign-dialog.component.mjs +83 -0
- package/esm2022/lib/dialog/user-impersonate-dialog/user-impersonate-dialog.component.mjs +102 -0
- package/esm2022/lib/filter-field-content/filter-field-content.module.mjs +62 -0
- package/{esm2020 → esm2022}/lib/filter-field-content/filter-field-tab-view/filter-field-tab-view.component.mjs +7 -7
- package/esm2022/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.mjs +70 -0
- package/esm2022/lib/filter-field-content/filter-field-tabbed-task-view/filter-field-tabbed-task-view.component.mjs +76 -0
- package/esm2022/lib/forms/change-password/change-password-form.component.mjs +44 -0
- package/esm2022/lib/forms/change-password/change-password-form.component.module.mjs +38 -0
- package/esm2022/lib/forms/email-submission/email-submission-form.component.mjs +25 -0
- package/esm2022/lib/forms/email-submission/email-submission-form.module.mjs +39 -0
- package/esm2022/lib/forms/forgotten-password/forgotten-password-form-component.module.mjs +35 -0
- package/esm2022/lib/forms/forgotten-password/forgotten-password-form.component.mjs +30 -0
- package/esm2022/lib/forms/login/login-form.component.mjs +27 -0
- package/esm2022/lib/forms/login/login-form.module.mjs +35 -0
- package/esm2022/lib/forms/registration/registration-form.component.mjs +31 -0
- package/esm2022/lib/forms/registration/registration-form.module.mjs +39 -0
- package/esm2022/lib/header/header-modes/edit-mode/edit-mode.component.mjs +34 -0
- package/esm2022/lib/header/header-modes/loading-mode/loading-mode.component.mjs +18 -0
- package/esm2022/lib/header/header-modes/search-mode/search-mode.component.mjs +46 -0
- package/esm2022/lib/header/header-modes/sort-mode/sort-mode.component.mjs +26 -0
- package/esm2022/lib/header/header.component.mjs +88 -0
- package/esm2022/lib/header/header.module.mjs +66 -0
- package/{esm2020 → esm2022}/lib/legal/legal-notice/legal-notice.component.mjs +5 -5
- package/esm2022/lib/legal/legal-notice/legal-notice.module.mjs +24 -0
- package/esm2022/lib/navigation/breadcrumbs/breadcrumbs.component.mjs +21 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-case-ref-list-view/default-case-ref-list-view.component.mjs +138 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-no-filter-provided/default-no-filter-provided.component.mjs +14 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.mjs +80 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.mjs +154 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.mjs +187 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.mjs +120 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-task-view/default-task-view.component.mjs +64 -0
- package/esm2022/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.mjs +75 -0
- package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.mjs +10 -10
- package/esm2022/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.mjs +89 -0
- package/esm2022/lib/navigation/navigation-drawer/navigation-drawer.component.mjs +34 -0
- package/{esm2020 → esm2022}/lib/navigation/navigation-rail/navigation-rail.component.mjs +9 -9
- package/{esm2020 → esm2022}/lib/navigation/navigation-tree/navigation-tree.component.mjs +12 -12
- package/esm2022/lib/navigation/navigation.module.mjs +150 -0
- package/esm2022/lib/navigation/quick-panel/components/impersonate-quick-panel/impersonate-quick-panel.component.mjs +34 -0
- package/{esm2020 → esm2022}/lib/navigation/quick-panel/components/internal-link/internal-link.component.mjs +8 -8
- package/esm2022/lib/navigation/quick-panel/components/language-selector/language-selector.component.mjs +25 -0
- package/esm2022/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.mjs +27 -0
- package/esm2022/lib/navigation/quick-panel/components/quick-panel.component.mjs +29 -0
- package/esm2022/lib/navigation/quick-panel/quick-panel.module.mjs +55 -0
- package/esm2022/lib/panel/case-panel/case-panel.component.mjs +102 -0
- package/{esm2020 → esm2022}/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.mjs +16 -16
- package/esm2022/lib/panel/panel-item/panel-item.component.mjs +22 -0
- package/esm2022/lib/panel/panel.component.mjs +20 -0
- package/esm2022/lib/panel/panel.module.mjs +112 -0
- package/esm2022/lib/panel/public-workflow-panel/public-workflow-panel.component.mjs +24 -0
- package/esm2022/lib/panel/task-panel/task-panel.component.mjs +145 -0
- package/esm2022/lib/panel/task-panel-list/task-list.component.mjs +37 -0
- package/esm2022/lib/panel/task-panel-list-pagination/task-list-pagination.component.mjs +38 -0
- package/esm2022/lib/panel/task-panel-single/single-task.component.mjs +33 -0
- package/{esm2020 → esm2022}/lib/panel/workflow-panel/workflow-panel.component.mjs +13 -13
- package/esm2022/lib/routing/redirect/redirect.component.mjs +22 -0
- package/esm2022/lib/routing/redirect.module.mjs +17 -0
- package/{esm2020 → esm2022}/lib/search/advanced-search/advanced-search-component/advanced-search.component.mjs +10 -10
- package/esm2022/lib/search/advanced-search/advanced-search.module.mjs +55 -0
- package/esm2022/lib/search/advanced-search/search-clause-component/search-clause.component.mjs +20 -0
- package/esm2022/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.mjs +31 -0
- package/esm2022/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.mjs +36 -0
- package/esm2022/lib/search/advanced-search/search-predicate-component/search-predicate.component.mjs +29 -0
- package/esm2022/lib/search/fulltext-search-component/fulltext-search.component.mjs +22 -0
- package/{esm2020 → esm2022}/lib/search/search-component/case-search/case-search.component.mjs +8 -8
- package/esm2022/lib/search/search-component/search.component.mjs +108 -0
- package/{esm2020 → esm2022}/lib/search/search-component/task-search/task-search.component.mjs +8 -8
- package/esm2022/lib/search/search.module.mjs +64 -0
- package/esm2022/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-item/admin-impersonate-item.component.mjs +22 -0
- package/{esm2020 → esm2022}/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-list.component.mjs +10 -10
- package/esm2022/lib/side-menu/content-components/admin-impersonate/admin-impersonate.component.mjs +40 -0
- package/esm2022/lib/side-menu/content-components/admin-impersonate/side-menu-admin-impersonate-component.module.mjs +58 -0
- package/{esm2020 → esm2022}/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.mjs +6 -6
- package/esm2022/lib/side-menu/content-components/filter-selector/filter-selector.component.mjs +55 -0
- package/esm2022/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.mjs +40 -0
- package/esm2022/lib/side-menu/content-components/import-net/import-net.component.mjs +61 -0
- package/esm2022/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.mjs +48 -0
- package/esm2022/lib/side-menu/content-components/load-filter/load-filter.component.mjs +68 -0
- package/esm2022/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.mjs +40 -0
- package/esm2022/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-item/multi-user-assign-item.component.mjs +20 -0
- package/esm2022/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-list.component.mjs +25 -0
- package/esm2022/lib/side-menu/content-components/multi-user-assign/multi-user-assign.component.mjs +34 -0
- package/esm2022/lib/side-menu/content-components/multi-user-assign/side-menu-multi-user-assign-component.module.mjs +61 -0
- package/esm2022/lib/side-menu/content-components/new-case/new-case.component.mjs +51 -0
- package/esm2022/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.mjs +55 -0
- package/esm2022/lib/side-menu/content-components/option-selector/option-selector.component.mjs +34 -0
- package/esm2022/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.mjs +40 -0
- package/esm2022/lib/side-menu/content-components/save-filter/save-filter.component.mjs +61 -0
- package/esm2022/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.mjs +36 -0
- package/esm2022/lib/side-menu/content-components/side-menu-content-component.module.mjs +118 -0
- package/esm2022/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.mjs +61 -0
- package/esm2022/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.mjs +22 -0
- package/esm2022/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.mjs +28 -0
- package/esm2022/lib/side-menu/content-components/user-assign/user-assign.component.mjs +38 -0
- package/esm2022/lib/side-menu/content-components/user-impersonate/side-menu-user-impersonate-component.module.mjs +40 -0
- package/esm2022/lib/side-menu/content-components/user-impersonate/user-impersonate.component.mjs +76 -0
- package/esm2022/lib/side-menu/side-menu-container/side-menu-container.component.mjs +24 -0
- package/esm2022/lib/side-menu/side-menu.module.mjs +40 -0
- package/{esm2020 → esm2022}/lib/tabs/tab-creation-detector/tab-creation-detector.component.mjs +6 -6
- package/esm2022/lib/tabs/tab-view/tab-view.component.mjs +35 -0
- package/esm2022/lib/tabs/tabs.module.mjs +44 -0
- package/esm2022/lib/task-content/field-component-resolver/field-component-resolver.component.mjs +40 -0
- package/esm2022/lib/task-content/task-content/task-content.component.mjs +42 -0
- package/esm2022/lib/task-content/task-content.module.mjs +45 -0
- package/esm2022/lib/toolbar/toolbar.component.mjs +28 -0
- package/esm2022/lib/toolbar/toolbar.module.mjs +33 -0
- package/esm2022/lib/user/profile/profile.component.mjs +26 -0
- package/esm2022/lib/user/profile/profile.module.mjs +33 -0
- package/esm2022/lib/user/user-card/user-card.component.mjs +24 -0
- package/esm2022/lib/user/user.module.mjs +33 -0
- package/esm2022/lib/view/case-view/case-view.module.mjs +37 -0
- package/esm2022/lib/view/case-view/components/case-list/case-list.component.mjs +37 -0
- package/esm2022/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs +41 -0
- package/esm2022/lib/view/case-view/components/create-case-button/create-case-button.component.mjs +70 -0
- package/esm2022/lib/view/tree-case-view/tree-case-view.module.mjs +58 -0
- package/esm2022/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.mjs +23 -0
- package/esm2022/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.mjs +22 -0
- package/esm2022/lib/view/tree-case-view/tree-component/tree.component.mjs +28 -0
- package/esm2022/lib/view/tree-case-view/tree-task-content/tree-task-content.component.mjs +66 -0
- package/esm2022/lib/view/workflow-view/workflow-view.component.mjs +39 -0
- package/esm2022/lib/view/workflow-view.module.mjs +51 -0
- package/fesm2022/netgrif-components.mjs +8038 -0
- package/fesm2022/netgrif-components.mjs.map +1 -0
- package/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.d.ts +1 -1
- package/lib/admin/role-assignment/role-assignment.component.d.ts +1 -1
- package/lib/admin/user-invite/user-invite.component.d.ts +1 -1
- package/lib/authentication/auth.module.d.ts +1 -1
- package/lib/authentication/authentication-overlay/authentication-overlay.component.d.ts +1 -1
- package/lib/authentication/session-idle/popup-session-idle/popup-session-idle.component.d.ts +1 -1
- package/lib/authentication/session-idle/session-idle.component.d.ts +1 -1
- package/lib/dashboard/cards/barchart-card/barchart-card.component.d.ts +1 -1
- package/lib/dashboard/cards/count-card/count-card.component.d.ts +1 -1
- package/lib/dashboard/cards/iframe-card/iframe-card.component.d.ts +1 -1
- package/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.d.ts +1 -1
- package/lib/dashboard/cards/linechart-card/line-chart-card.component.d.ts +1 -1
- package/lib/dashboard/cards/piechart-card/pie-chart-card.component.d.ts +1 -1
- package/lib/dashboard/cards/portal-card/portal-card.component.d.ts +1 -1
- package/lib/dashboard/dashboard-content/dashboard-content.component.d.ts +1 -1
- package/lib/data-fields/boolean-field/boolean-default-field/boolean-default-field.component.d.ts +1 -1
- package/lib/data-fields/boolean-field/boolean-field.component.d.ts +1 -1
- package/lib/data-fields/button-field/button-default-field/button-default-field.component.d.ts +1 -1
- package/lib/data-fields/button-field/button-field.component.d.ts +1 -1
- package/lib/data-fields/case-ref-field/case-ref-default/case-ref-default.component.d.ts +1 -1
- package/lib/data-fields/data-field-template/data-field-template.component.d.ts +1 -1
- package/lib/data-fields/data-fields.module.d.ts +1 -1
- package/lib/data-fields/date-field/date-default-field/date-default-field.component.d.ts +1 -1
- package/lib/data-fields/date-field/date-field.component.d.ts +1 -1
- package/lib/data-fields/date-time-field/date-time-default-field/date-time-default-field.component.d.ts +1 -1
- package/lib/data-fields/date-time-field/date-time-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-caseref-field/enumeration-caseref-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.d.ts +1 -1
- package/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.d.ts +1 -1
- package/lib/data-fields/file-field/file-default-field/file-default-field.component.d.ts +1 -1
- package/lib/data-fields/file-field/file-field.component.d.ts +1 -1
- package/lib/data-fields/file-field/preview-dialog/preview-dialog.component.d.ts +1 -1
- package/lib/data-fields/file-list-field/file-list-default-field/file-list-default-field.component.d.ts +1 -1
- package/lib/data-fields/file-list-field/file-list-field.component.d.ts +1 -1
- package/lib/data-fields/filter-field/filter-default-field/filter-default-field.component.d.ts +1 -1
- package/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.d.ts +1 -1
- package/lib/data-fields/filter-field/filter-field.component.d.ts +1 -1
- package/lib/data-fields/filter-field/tab-view-filter-field/filter-field-tab-view-content.component.d.ts +1 -1
- package/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.d.ts +1 -1
- package/lib/data-fields/i18n-field/i18n-field.component.d.ts +1 -1
- package/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.d.ts +1 -1
- package/lib/data-fields/multichoice-field/multichoice-autocomplete-field/multichoice-autocomplete-field.component.d.ts +1 -1
- package/lib/data-fields/multichoice-field/multichoice-caseref-field/multichoice-caseref-field.component.d.ts +1 -1
- package/lib/data-fields/multichoice-field/multichoice-field.component.d.ts +1 -1
- package/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.d.ts +1 -1
- package/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.d.ts +1 -1
- package/lib/data-fields/number-field/number-currency-field/number-currency-field.component.d.ts +3 -4
- package/lib/data-fields/number-field/number-decimal-field/number-decimal-field.component.d.ts +1 -1
- package/lib/data-fields/number-field/number-default-field/number-default-field.component.d.ts +1 -1
- package/lib/data-fields/number-field/number-field.component.d.ts +1 -1
- package/lib/data-fields/required-label/required-label.component.d.ts +1 -1
- package/lib/data-fields/string-collection-field/string-collection-default-field/string-collection-default-field.component.d.ts +1 -1
- package/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-field.component.d.ts +1 -1
- package/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.d.ts +1 -1
- package/lib/data-fields/task-ref-field/task-ref-field.component.d.ts +1 -1
- package/lib/data-fields/task-ref-field/task-ref-list-field/task-ref-list-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/dashboard-bar-chart-text-field/dashboard-bar-chart-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/dashboard-iframe-text-field/dashboard-iframe-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/dashboard-line-chart-text-field/dashboard-line-chart-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/dashboard-pie-chart-text-field/dashboard-pie-chart-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/password-text-field/password-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.d.ts +1 -1
- package/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/signature-pad-field/signature-pad-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/simple-text-field/simple-text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/text-field.component.d.ts +1 -1
- package/lib/data-fields/text-field/textarea-field/textarea-field.component.d.ts +1 -1
- package/lib/data-fields/user-field/user-default-field/user-default-field.component.d.ts +1 -1
- package/lib/data-fields/user-field/user-field.component.d.ts +1 -1
- package/lib/data-fields/user-list-field/user-list-default-field/user-list-default-field.component.d.ts +1 -1
- package/lib/data-fields/user-list-field/user-list-field.component.d.ts +1 -1
- package/lib/dialog/admin-impersonate-dialog/admin-impersonate-dialog.component.d.ts +2 -2
- package/lib/dialog/dialog.module.d.ts +1 -1
- package/lib/dialog/filter-selector-dialog/filter-selector-dialog.component.d.ts +1 -1
- package/lib/dialog/import-net-dialog/import-net-dialog.component.d.ts +2 -2
- package/lib/dialog/load-filter-dialog/load-filter-dialog.component.d.ts +1 -1
- package/lib/dialog/multi-user-assign-dialog/multi-user-assign-dialog.component.d.ts +2 -2
- package/lib/dialog/new-case-dialog/new-case-dialog.component.d.ts +3 -3
- package/lib/dialog/save-filter-dialog/save-filter-dialog.component.d.ts +1 -1
- package/lib/dialog/task-view-dialog/task-view-dialog.component.d.ts +1 -1
- package/lib/dialog/user-assign-dialog/user-assign-dialog.component.d.ts +2 -2
- package/lib/dialog/user-impersonate-dialog/user-impersonate-dialog.component.d.ts +1 -1
- package/lib/filter-field-content/filter-field-content.module.d.ts +1 -1
- package/lib/filter-field-content/filter-field-tab-view/filter-field-tab-view.component.d.ts +1 -1
- package/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.d.ts +1 -1
- package/lib/filter-field-content/filter-field-tabbed-task-view/filter-field-tabbed-task-view.component.d.ts +1 -1
- package/lib/forms/change-password/change-password-form.component.d.ts +1 -1
- package/lib/forms/change-password/change-password-form.component.module.d.ts +1 -1
- package/lib/forms/email-submission/email-submission-form.component.d.ts +1 -1
- package/lib/forms/email-submission/email-submission-form.module.d.ts +1 -1
- package/lib/forms/forgotten-password/forgotten-password-form-component.module.d.ts +1 -1
- package/lib/forms/forgotten-password/forgotten-password-form.component.d.ts +1 -1
- package/lib/forms/login/login-form.component.d.ts +1 -1
- package/lib/forms/login/login-form.module.d.ts +1 -1
- package/lib/forms/registration/registration-form.component.d.ts +1 -1
- package/lib/forms/registration/registration-form.module.d.ts +1 -1
- package/lib/header/header-modes/edit-mode/edit-mode.component.d.ts +1 -1
- package/lib/header/header-modes/loading-mode/loading-mode.component.d.ts +1 -1
- package/lib/header/header-modes/search-mode/search-mode.component.d.ts +5 -4
- package/lib/header/header-modes/sort-mode/sort-mode.component.d.ts +1 -1
- package/lib/header/header.component.d.ts +2 -2
- package/lib/header/header.module.d.ts +1 -1
- package/lib/legal/legal-notice/legal-notice.component.d.ts +1 -1
- package/lib/navigation/breadcrumbs/breadcrumbs.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-case-ref-list-view/default-case-ref-list-view.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-no-filter-provided/default-no-filter-provided.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/default-components/default-task-view/default-task-view.component.d.ts +1 -1
- package/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.d.ts +1 -1
- package/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.d.ts +1 -1
- package/lib/navigation/navigation-drawer/navigation-drawer.component.d.ts +1 -1
- package/lib/navigation/navigation-rail/navigation-rail.component.d.ts +1 -1
- package/lib/navigation/navigation-tree/navigation-tree.component.d.ts +1 -1
- package/lib/navigation/navigation.module.d.ts +1 -1
- package/lib/navigation/quick-panel/components/impersonate-quick-panel/impersonate-quick-panel.component.d.ts +1 -1
- package/lib/navigation/quick-panel/components/internal-link/internal-link.component.d.ts +1 -1
- package/lib/navigation/quick-panel/components/language-selector/language-selector.component.d.ts +1 -1
- package/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.d.ts +1 -1
- package/lib/navigation/quick-panel/components/quick-panel.component.d.ts +1 -1
- package/lib/panel/case-panel/case-panel.component.d.ts +2 -2
- package/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.d.ts +1 -1
- package/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.d.ts +1 -1
- package/lib/panel/panel-item/panel-item.component.d.ts +1 -1
- package/lib/panel/panel.component.d.ts +1 -1
- package/lib/panel/panel.module.d.ts +1 -1
- package/lib/panel/public-workflow-panel/public-workflow-panel.component.d.ts +1 -1
- package/lib/panel/task-panel/task-panel.component.d.ts +1 -1
- package/lib/panel/task-panel-list/task-list.component.d.ts +1 -1
- package/lib/panel/task-panel-list-pagination/task-list-pagination.component.d.ts +1 -1
- package/lib/panel/task-panel-single/single-task.component.d.ts +1 -1
- package/lib/panel/workflow-panel/workflow-panel.component.d.ts +1 -1
- package/lib/routing/redirect/redirect.component.d.ts +1 -1
- package/lib/search/advanced-search/advanced-search-component/advanced-search.component.d.ts +1 -1
- package/lib/search/advanced-search/search-clause-component/search-clause.component.d.ts +1 -1
- package/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.d.ts +1 -1
- package/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.d.ts +1 -1
- package/lib/search/advanced-search/search-predicate-component/search-predicate.component.d.ts +1 -1
- package/lib/search/fulltext-search-component/fulltext-search.component.d.ts +1 -1
- package/lib/search/search-component/case-search/case-search.component.d.ts +1 -1
- package/lib/search/search-component/search.component.d.ts +1 -1
- package/lib/search/search-component/task-search/task-search.component.d.ts +1 -1
- package/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-item/admin-impersonate-item.component.d.ts +1 -1
- package/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-list.component.d.ts +1 -1
- package/lib/side-menu/content-components/admin-impersonate/admin-impersonate.component.d.ts +1 -1
- package/lib/side-menu/content-components/admin-impersonate/side-menu-admin-impersonate-component.module.d.ts +1 -1
- package/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.d.ts +1 -1
- package/lib/side-menu/content-components/filter-selector/filter-selector.component.d.ts +1 -1
- package/lib/side-menu/content-components/import-net/import-net.component.d.ts +1 -1
- package/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.d.ts +1 -1
- package/lib/side-menu/content-components/load-filter/load-filter.component.d.ts +1 -1
- package/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-item/multi-user-assign-item.component.d.ts +1 -1
- package/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-list.component.d.ts +1 -1
- package/lib/side-menu/content-components/multi-user-assign/multi-user-assign.component.d.ts +1 -1
- package/lib/side-menu/content-components/multi-user-assign/side-menu-multi-user-assign-component.module.d.ts +1 -1
- package/lib/side-menu/content-components/new-case/new-case.component.d.ts +1 -2
- package/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.d.ts +1 -1
- package/lib/side-menu/content-components/option-selector/option-selector.component.d.ts +1 -1
- package/lib/side-menu/content-components/save-filter/save-filter.component.d.ts +1 -1
- package/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.d.ts +1 -1
- package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.d.ts +1 -1
- package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.d.ts +1 -1
- package/lib/side-menu/content-components/user-assign/user-assign.component.d.ts +1 -1
- package/lib/side-menu/content-components/user-impersonate/user-impersonate.component.d.ts +1 -1
- package/lib/side-menu/side-menu-container/side-menu-container.component.d.ts +1 -1
- package/lib/tabs/tab-creation-detector/tab-creation-detector.component.d.ts +1 -1
- package/lib/tabs/tab-view/tab-view.component.d.ts +1 -1
- package/lib/tabs/tabs.module.d.ts +1 -1
- package/lib/task-content/field-component-resolver/field-component-resolver.component.d.ts +2 -1
- package/lib/task-content/task-content/task-content.component.d.ts +1 -1
- package/lib/task-content/task-content.module.d.ts +1 -1
- package/lib/toolbar/toolbar.component.d.ts +1 -1
- package/lib/toolbar/toolbar.module.d.ts +1 -1
- package/lib/user/profile/profile.component.d.ts +1 -1
- package/lib/user/profile/profile.module.d.ts +2 -1
- package/lib/user/user-card/user-card.component.d.ts +1 -1
- package/lib/view/case-view/case-view.module.d.ts +1 -1
- package/lib/view/case-view/components/case-list/case-list.component.d.ts +1 -1
- package/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.d.ts +1 -1
- package/lib/view/case-view/components/create-case-button/create-case-button.component.d.ts +1 -1
- package/lib/view/tree-case-view/tree-case-view.module.d.ts +1 -1
- package/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.d.ts +1 -1
- package/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.d.ts +1 -1
- package/lib/view/tree-case-view/tree-component/tree.component.d.ts +1 -1
- package/lib/view/tree-case-view/tree-task-content/tree-task-content.component.d.ts +1 -1
- package/lib/view/workflow-view/workflow-view.component.d.ts +1 -1
- package/lib/view/workflow-view.module.d.ts +1 -1
- package/nae-theme.scss +10 -2
- package/package.json +29 -35
- package/schematics/migrations/5.4/migration-5.4.js +6 -2
- package/schematics/migrations/5.4/migration-5.4.js.map +1 -1
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.js +2 -2
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/group-view/create-group-view.js +1 -1
- package/schematics/view/create-view-prompt/views/group-view/create-group-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/login/create-login-view.js +1 -1
- package/schematics/view/create-view-prompt/views/login/create-login-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/public-resolver-view/create-public-resolver-view.js +2 -2
- package/schematics/view/create-view-prompt/views/public-resolver-view/create-public-resolver-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/public-single-task-view/create-public-single-task-view.js +1 -1
- package/schematics/view/create-view-prompt/views/public-single-task-view/create-public-single-task-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.js +1 -1
- package/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/public-workflow-view/create-public-workflow-view.js +1 -1
- package/schematics/view/create-view-prompt/views/public-workflow-view/create-public-workflow-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js +1 -1
- package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/task-view/create-task-view.js +1 -1
- package/schematics/view/create-view-prompt/views/task-view/create-task-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js +1 -1
- package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js.map +1 -1
- package/src/lib/data-fields/data-field.theme.scss +220 -106
- package/src/lib/dialog/dialog.theme.scss +3 -2
- package/src/lib/header/header.theme.scss +1 -1
- package/src/lib/navigation/navigation.theme.scss +11 -0
- package/src/lib/panel/panel.theme.scss +4 -0
- package/src/lib/search/advanced-search/search-predicate-component/search-predicate.component.theme.scss +2 -2
- package/src/lib/search/search-component/search.component-theme.scss +9 -4
- package/src/lib/side-menu/side-menu.theme.scss +1 -1
- package/src/lib/tabs/tabs.theme.scss +15 -5
- package/esm2020/lib/admin/admin.module.mjs +0 -35
- package/esm2020/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.mjs +0 -39
- package/esm2020/lib/admin/role-assignment/role-assignment.component.mjs +0 -40
- package/esm2020/lib/admin/user-invite/user-invite.component.mjs +0 -34
- package/esm2020/lib/authentication/auth.module.mjs +0 -40
- package/esm2020/lib/authentication/authentication-overlay/authentication-overlay.component.mjs +0 -22
- package/esm2020/lib/authentication/session-idle/popup-session-idle/popup-session-idle.component.mjs +0 -24
- package/esm2020/lib/authentication/session-idle/session-idle.component.mjs +0 -39
- package/esm2020/lib/dashboard/cards/barchart-card/barchart-card.component.mjs +0 -40
- package/esm2020/lib/dashboard/cards/count-card/count-card.component.mjs +0 -20
- package/esm2020/lib/dashboard/cards/iframe-card/iframe-card.component.mjs +0 -19
- package/esm2020/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.mjs +0 -37
- package/esm2020/lib/dashboard/cards/linechart-card/line-chart-card.component.mjs +0 -49
- package/esm2020/lib/dashboard/cards/piechart-card/pie-chart-card.component.mjs +0 -42
- package/esm2020/lib/dashboard/cards/portal-card/portal-card.component.mjs +0 -36
- package/esm2020/lib/dashboard/dashboard-content/dashboard-content.component.mjs +0 -26
- package/esm2020/lib/dashboard/dashboard.module.mjs +0 -79
- package/esm2020/lib/data-fields/button-field/button-default-field/button-default-field.component.mjs +0 -42
- package/esm2020/lib/data-fields/button-field/button-field.component.mjs +0 -25
- package/esm2020/lib/data-fields/data-field-template/data-field-template.component.mjs +0 -24
- package/esm2020/lib/data-fields/date-field/date-default-field/date-default-field.component.mjs +0 -38
- package/esm2020/lib/data-fields/date-time-field/date-time-default-field/date-time-default-field.component.mjs +0 -39
- package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.mjs +0 -31
- package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.mjs +0 -29
- package/esm2020/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.mjs +0 -28
- package/esm2020/lib/data-fields/file-field/file-default-field/file-default-field.component.mjs +0 -50
- package/esm2020/lib/data-fields/file-field/preview-dialog/preview-dialog.component.mjs +0 -33
- package/esm2020/lib/data-fields/file-list-field/file-list-default-field/file-list-default-field.component.mjs +0 -32
- package/esm2020/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.mjs +0 -23
- package/esm2020/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.mjs +0 -66
- package/esm2020/lib/data-fields/multichoice-field/multichoice-autocomplete-field/multichoice-autocomplete-field.component.mjs +0 -30
- package/esm2020/lib/data-fields/number-field/number-currency-field/number-currency-field.component.mjs +0 -35
- package/esm2020/lib/data-fields/number-field/number-decimal-field/number-decimal-field.component.mjs +0 -38
- package/esm2020/lib/data-fields/required-label/required-label.component.mjs +0 -18
- package/esm2020/lib/data-fields/string-collection-field/string-collection-default-field/string-collection-default-field.component.mjs +0 -29
- package/esm2020/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-field.component.mjs +0 -38
- package/esm2020/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.mjs +0 -57
- package/esm2020/lib/data-fields/task-ref-field/task-ref-field.component.mjs +0 -27
- package/esm2020/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.mjs +0 -41
- package/esm2020/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs +0 -36
- package/esm2020/lib/data-fields/text-field/password-text-field/password-text-field.component.mjs +0 -30
- package/esm2020/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.mjs +0 -85
- package/esm2020/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs +0 -28
- package/esm2020/lib/data-fields/text-field/signature-pad-field/signature-pad-field.component.mjs +0 -95
- package/esm2020/lib/data-fields/text-field/simple-text-field/simple-text-field.component.mjs +0 -27
- package/esm2020/lib/data-fields/text-field/textarea-field/textarea-field.component.mjs +0 -29
- package/esm2020/lib/data-fields/user-field/user-default-field/user-default-field.component.mjs +0 -35
- package/esm2020/lib/data-fields/user-field/user-field.component.mjs +0 -25
- package/esm2020/lib/data-fields/user-list-field/user-list-default-field/user-list-default-field.component.mjs +0 -39
- package/esm2020/lib/dialog/admin-impersonate-dialog/admin-impersonate-dialog.component.mjs +0 -77
- package/esm2020/lib/dialog/dialog.module.mjs +0 -177
- package/esm2020/lib/dialog/filter-selector-dialog/filter-selector-dialog.component.mjs +0 -162
- package/esm2020/lib/dialog/import-net-dialog/import-net-dialog.component.mjs +0 -153
- package/esm2020/lib/dialog/load-filter-dialog/load-filter-dialog.component.mjs +0 -98
- package/esm2020/lib/dialog/multi-user-assign-dialog/multi-user-assign-dialog.component.mjs +0 -72
- package/esm2020/lib/dialog/new-case-dialog/new-case-dialog.component.mjs +0 -251
- package/esm2020/lib/dialog/save-filter-dialog/save-filter-dialog.component.mjs +0 -83
- package/esm2020/lib/dialog/task-view-dialog/task-view-dialog.component.mjs +0 -91
- package/esm2020/lib/dialog/user-assign-dialog/user-assign-dialog.component.mjs +0 -73
- package/esm2020/lib/dialog/user-impersonate-dialog/user-impersonate-dialog.component.mjs +0 -98
- package/esm2020/lib/filter-field-content/filter-field-content.module.mjs +0 -64
- package/esm2020/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.mjs +0 -68
- package/esm2020/lib/filter-field-content/filter-field-tabbed-task-view/filter-field-tabbed-task-view.component.mjs +0 -75
- package/esm2020/lib/forms/change-password/change-password-form.component.mjs +0 -42
- package/esm2020/lib/forms/change-password/change-password-form.component.module.mjs +0 -40
- package/esm2020/lib/forms/email-submission/email-submission-form.component.mjs +0 -25
- package/esm2020/lib/forms/email-submission/email-submission-form.module.mjs +0 -41
- package/esm2020/lib/forms/forgotten-password/forgotten-password-form-component.module.mjs +0 -37
- package/esm2020/lib/forms/forgotten-password/forgotten-password-form.component.mjs +0 -30
- package/esm2020/lib/forms/login/login-form.component.mjs +0 -26
- package/esm2020/lib/forms/login/login-form.module.mjs +0 -37
- package/esm2020/lib/forms/registration/registration-form.component.mjs +0 -31
- package/esm2020/lib/forms/registration/registration-form.module.mjs +0 -41
- package/esm2020/lib/header/header-modes/edit-mode/edit-mode.component.mjs +0 -32
- package/esm2020/lib/header/header-modes/loading-mode/loading-mode.component.mjs +0 -18
- package/esm2020/lib/header/header-modes/search-mode/search-mode.component.mjs +0 -45
- package/esm2020/lib/header/header-modes/sort-mode/sort-mode.component.mjs +0 -26
- package/esm2020/lib/header/header.component.mjs +0 -86
- package/esm2020/lib/header/header.module.mjs +0 -68
- package/esm2020/lib/legal/legal-notice/legal-notice.module.mjs +0 -26
- package/esm2020/lib/navigation/breadcrumbs/breadcrumbs.component.mjs +0 -20
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-case-ref-list-view/default-case-ref-list-view.component.mjs +0 -130
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-no-filter-provided/default-no-filter-provided.component.mjs +0 -14
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.mjs +0 -79
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.mjs +0 -150
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.mjs +0 -176
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.mjs +0 -111
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-task-view/default-task-view.component.mjs +0 -63
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.mjs +0 -73
- package/esm2020/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.mjs +0 -89
- package/esm2020/lib/navigation/navigation-drawer/navigation-drawer.component.mjs +0 -31
- package/esm2020/lib/navigation/navigation.module.mjs +0 -152
- package/esm2020/lib/navigation/quick-panel/components/impersonate-quick-panel/impersonate-quick-panel.component.mjs +0 -31
- package/esm2020/lib/navigation/quick-panel/components/language-selector/language-selector.component.mjs +0 -23
- package/esm2020/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.mjs +0 -23
- package/esm2020/lib/navigation/quick-panel/components/quick-panel.component.mjs +0 -27
- package/esm2020/lib/navigation/quick-panel/quick-panel.module.mjs +0 -57
- package/esm2020/lib/panel/case-panel/case-panel.component.mjs +0 -91
- package/esm2020/lib/panel/panel-item/panel-item.component.mjs +0 -22
- package/esm2020/lib/panel/panel.component.mjs +0 -20
- package/esm2020/lib/panel/panel.module.mjs +0 -114
- package/esm2020/lib/panel/public-workflow-panel/public-workflow-panel.component.mjs +0 -24
- package/esm2020/lib/panel/task-panel/task-panel.component.mjs +0 -123
- package/esm2020/lib/panel/task-panel-list/task-list.component.mjs +0 -34
- package/esm2020/lib/panel/task-panel-list-pagination/task-list-pagination.component.mjs +0 -35
- package/esm2020/lib/panel/task-panel-single/single-task.component.mjs +0 -31
- package/esm2020/lib/routing/redirect/redirect.component.mjs +0 -20
- package/esm2020/lib/routing/redirect.module.mjs +0 -17
- package/esm2020/lib/search/advanced-search/advanced-search.module.mjs +0 -57
- package/esm2020/lib/search/advanced-search/search-clause-component/search-clause.component.mjs +0 -20
- package/esm2020/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.mjs +0 -31
- package/esm2020/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.mjs +0 -36
- package/esm2020/lib/search/advanced-search/search-predicate-component/search-predicate.component.mjs +0 -29
- package/esm2020/lib/search/fulltext-search-component/fulltext-search.component.mjs +0 -22
- package/esm2020/lib/search/search-component/search.component.mjs +0 -108
- package/esm2020/lib/search/search.module.mjs +0 -66
- package/esm2020/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-item/admin-impersonate-item.component.mjs +0 -22
- package/esm2020/lib/side-menu/content-components/admin-impersonate/admin-impersonate.component.mjs +0 -40
- package/esm2020/lib/side-menu/content-components/admin-impersonate/side-menu-admin-impersonate-component.module.mjs +0 -60
- package/esm2020/lib/side-menu/content-components/filter-selector/filter-selector.component.mjs +0 -53
- package/esm2020/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.mjs +0 -42
- package/esm2020/lib/side-menu/content-components/import-net/import-net.component.mjs +0 -55
- package/esm2020/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.mjs +0 -50
- package/esm2020/lib/side-menu/content-components/load-filter/load-filter.component.mjs +0 -67
- package/esm2020/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.mjs +0 -42
- package/esm2020/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-item/multi-user-assign-item.component.mjs +0 -20
- package/esm2020/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-list.component.mjs +0 -24
- package/esm2020/lib/side-menu/content-components/multi-user-assign/multi-user-assign.component.mjs +0 -33
- package/esm2020/lib/side-menu/content-components/multi-user-assign/side-menu-multi-user-assign-component.module.mjs +0 -63
- package/esm2020/lib/side-menu/content-components/new-case/new-case.component.mjs +0 -46
- package/esm2020/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.mjs +0 -57
- package/esm2020/lib/side-menu/content-components/option-selector/option-selector.component.mjs +0 -33
- package/esm2020/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.mjs +0 -42
- package/esm2020/lib/side-menu/content-components/save-filter/save-filter.component.mjs +0 -61
- package/esm2020/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.mjs +0 -38
- package/esm2020/lib/side-menu/content-components/side-menu-content-component.module.mjs +0 -120
- package/esm2020/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.mjs +0 -63
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.mjs +0 -22
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.mjs +0 -27
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign.component.mjs +0 -37
- package/esm2020/lib/side-menu/content-components/user-impersonate/side-menu-user-impersonate-component.module.mjs +0 -42
- package/esm2020/lib/side-menu/content-components/user-impersonate/user-impersonate.component.mjs +0 -75
- package/esm2020/lib/side-menu/side-menu-container/side-menu-container.component.mjs +0 -23
- package/esm2020/lib/side-menu/side-menu.module.mjs +0 -42
- package/esm2020/lib/tabs/tab-view/tab-view.component.mjs +0 -33
- package/esm2020/lib/tabs/tabs.module.mjs +0 -46
- package/esm2020/lib/task-content/field-component-resolver/field-component-resolver.component.mjs +0 -36
- package/esm2020/lib/task-content/task-content/task-content.component.mjs +0 -37
- package/esm2020/lib/task-content/task-content.module.mjs +0 -47
- package/esm2020/lib/toolbar/toolbar.component.mjs +0 -26
- package/esm2020/lib/toolbar/toolbar.module.mjs +0 -35
- package/esm2020/lib/user/profile/profile.component.mjs +0 -25
- package/esm2020/lib/user/profile/profile.module.mjs +0 -31
- package/esm2020/lib/user/user-card/user-card.component.mjs +0 -23
- package/esm2020/lib/user/user.module.mjs +0 -35
- package/esm2020/lib/view/case-view/case-view.module.mjs +0 -39
- package/esm2020/lib/view/case-view/components/case-list/case-list.component.mjs +0 -34
- package/esm2020/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs +0 -38
- package/esm2020/lib/view/case-view/components/create-case-button/create-case-button.component.mjs +0 -64
- package/esm2020/lib/view/tree-case-view/tree-case-view.module.mjs +0 -60
- package/esm2020/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.mjs +0 -22
- package/esm2020/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.mjs +0 -21
- package/esm2020/lib/view/tree-case-view/tree-component/tree.component.mjs +0 -27
- package/esm2020/lib/view/tree-case-view/tree-task-content/tree-task-content.component.mjs +0 -59
- package/esm2020/lib/view/workflow-view/workflow-view.component.mjs +0 -35
- package/esm2020/lib/view/workflow-view.module.mjs +0 -53
- package/fesm2015/netgrif-components.mjs +0 -7960
- package/fesm2015/netgrif-components.mjs.map +0 -1
- package/fesm2020/netgrif-components.mjs +0 -7731
- package/fesm2020/netgrif-components.mjs.map +0 -1
- /package/{esm2020 → esm2022}/lib/admin/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/authentication/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dashboard/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data-fields/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dialog/model/dialog-actions.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dialog/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/filter-field-content/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/forms/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/header/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/legal/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-task-view-data-with-navigation-item-task-data.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/navigation/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/navigation/quick-panel/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/panel/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/routing/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/search/advanced-search/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/search/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/side-menu/content-components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/side-menu/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/tabs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/task-content/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toolbar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/user/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/view/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/netgrif-components.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{netgrif-components.d.ts → index.d.ts} +0 -0
|
@@ -2,8 +2,8 @@ import { Component, Inject, Optional } from '@angular/core';
|
|
|
2
2
|
import { NGX_MAT_DATE_FORMATS } from '@angular-material-components/datetime-picker';
|
|
3
3
|
import { AbstractDateTimeFieldComponent, DATE_TIME_FORMAT, NAE_INFORM_ABOUT_INVALID_DATA } from '@netgrif/components-core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "
|
|
6
|
-
import * as i2 from "
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "../data-field-template/data-field-template.component";
|
|
7
7
|
/**
|
|
8
8
|
* @deprecated
|
|
9
9
|
* */
|
|
@@ -11,20 +11,20 @@ export class DateTimeFieldComponent extends AbstractDateTimeFieldComponent {
|
|
|
11
11
|
constructor(informAboutInvalidData) {
|
|
12
12
|
super(informAboutInvalidData);
|
|
13
13
|
}
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DateTimeFieldComponent, deps: [{ token: NAE_INFORM_ABOUT_INVALID_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DateTimeFieldComponent, selector: "nc-date-time-field", providers: [
|
|
16
|
+
{ provide: NGX_MAT_DATE_FORMATS, useValue: DATE_TIME_FORMAT }
|
|
17
|
+
], usesInheritance: true, ngImport: i0, template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.DataFieldTemplateComponent, selector: "nc-data-field-template" }] });
|
|
14
18
|
}
|
|
15
|
-
|
|
16
|
-
DateTimeFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DateTimeFieldComponent, selector: "nc-date-time-field", providers: [
|
|
17
|
-
{ provide: NGX_MAT_DATE_FORMATS, useValue: DATE_TIME_FORMAT }
|
|
18
|
-
], usesInheritance: true, ngImport: i0, template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n", styles: [""], components: [{ type: i1.DataFieldTemplateComponent, selector: "nc-data-field-template" }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimeFieldComponent, decorators: [{
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DateTimeFieldComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ selector: 'nc-date-time-field', providers: [
|
|
22
22
|
{ provide: NGX_MAT_DATE_FORMATS, useValue: DATE_TIME_FORMAT }
|
|
23
|
-
], template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n"
|
|
24
|
-
}], ctorParameters:
|
|
23
|
+
], template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n" }]
|
|
24
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
25
25
|
type: Optional
|
|
26
26
|
}, {
|
|
27
27
|
type: Inject,
|
|
28
28
|
args: [NAE_INFORM_ABOUT_INVALID_DATA]
|
|
29
|
-
}] }]
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
}] }] });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS10aW1lLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL2RhdGUtdGltZS1maWVsZC9kYXRlLXRpbWUtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvZGF0ZS10aW1lLWZpZWxkL2RhdGUtdGltZS1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQU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EF9IGZyb20gJ0BuZXRncmlmL2NvbXBvbmVudHMtY29yZSc7XG5cbi8qKlxuICogQGRlcHJlY2F0ZWRcbiAqICovXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ25jLWRhdGUtdGltZS1maWVsZCcsXG4gICAgdGVtcGxhdGVVcmw6ICcuL2RhdGUtdGltZS1maWVsZC5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmxzOiBbJy4vZGF0ZS10aW1lLWZpZWxkLmNvbXBvbmVudC5zY3NzJ10sXG4gICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIHtwcm92aWRlOiBOR1hfTUFUX0RBVEVfRk9STUFUUywgdXNlVmFsdWU6IERBVEVfVElNRV9GT1JNQVR9XG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBEYXRlVGltZUZpZWxkQ29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3REYXRlVGltZUZpZWxkQ29tcG9uZW50IHtcblxuICAgIGNvbnN0cnVjdG9yKEBPcHRpb25hbCgpIEBJbmplY3QoTkFFX0lORk9STV9BQk9VVF9JTlZBTElEX0RBVEEpIGluZm9ybUFib3V0SW52YWxpZERhdGE6IGJvb2xlYW4gfCBudWxsKSB7XG4gICAgICAgIHN1cGVyKGluZm9ybUFib3V0SW52YWxpZERhdGEpO1xuICAgIH1cbn1cbiIsIjxuYy1kYXRhLWZpZWxkLXRlbXBsYXRlICpuZ0lmPVwiIWRhdGFGaWVsZC5iZWhhdmlvci5oaWRkZW5cIlxuICAgICAgICAgICAgICAgICAgICAgICAgW2RhdGFGaWVsZF09XCJkYXRhRmllbGRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW29mZnNldF09XCJ0YXNrT2Zmc2V0XCI+XG48L25jLWRhdGEtZmllbGQtdGVtcGxhdGU+XG4iXX0=
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
+
import { AbstractEnumerationAutocompleteDynamicFieldComponent, DATA_FIELD_PORTAL_DATA } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@ngx-translate/core";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@ngbracket/ngx-layout";
|
|
7
|
+
import * as i4 from "@ngbracket/ngx-layout/extended";
|
|
8
|
+
import * as i5 from "@angular/material/autocomplete";
|
|
9
|
+
import * as i6 from "@angular/material/core";
|
|
10
|
+
import * as i7 from "@angular/material/input";
|
|
11
|
+
import * as i8 from "@angular/material/form-field";
|
|
12
|
+
import * as i9 from "@angular/material/progress-spinner";
|
|
13
|
+
import * as i10 from "@angular/forms";
|
|
14
|
+
export class EnumerationAutocompleteDynamicFieldComponent extends AbstractEnumerationAutocompleteDynamicFieldComponent {
|
|
15
|
+
_translate;
|
|
16
|
+
constructor(_translate, dataFieldPortalData) {
|
|
17
|
+
super(_translate, dataFieldPortalData);
|
|
18
|
+
this._translate = _translate;
|
|
19
|
+
}
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationAutocompleteDynamicFieldComponent, deps: [{ token: i1.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: EnumerationAutocompleteDynamicFieldComponent, selector: "nc-enumeration-autocomplete-dynamic-field", usesInheritance: true, ngImport: i0, template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <input type=\"text\"\n aria-label=\"Autocomplete\"\n matInput\n #input\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n [matAutocomplete]=\"auto\"\n [required]=\"dataField.behavior.required\"\n (keyup)=\"change()\">\n <mat-spinner *ngIf=\"dataField.loading\" matSuffix diameter=\"30\"></mat-spinner>\n <mat-autocomplete [displayWith]=\"renderSelection\" autoActiveFirstOption #auto=\"matAutocomplete\">\n\n <mat-option disabled *ngIf=\"(filteredOptions | async)?.length === 0 && !dataField.loading && dataField.value && dataField.value.length > 0\" fxLayoutAlign=\"center center\">\n {{ 'dataField.dynamicEnum.noData' | translate }}\n </mat-option>\n\n <ng-container *ngIf=\"!dataField.loading\">\n <mat-option [value]=\"null\">---</mat-option>\n <mat-option *ngFor=\"let option of filteredOptions | async\" [value]=\"option.key\" (click)=\"change()\">\n {{option.value}}\n </mat-option>\n </ng-container>\n </mat-autocomplete>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{buildErrorMessage()}}</mat-error>\n</mat-form-field>\n\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i4.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"] }, { kind: "component", type: i5.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i6.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i5.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "directive", type: i7.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"] }, { kind: "component", type: i8.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i8.MatLabel, selector: "mat-label" }, { kind: "directive", type: i8.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i8.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i8.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i9.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "directive", 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]" }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i10.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }] });
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationAutocompleteDynamicFieldComponent, decorators: [{
|
|
24
|
+
type: Component,
|
|
25
|
+
args: [{ selector: 'nc-enumeration-autocomplete-dynamic-field', template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <input type=\"text\"\n aria-label=\"Autocomplete\"\n matInput\n #input\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n [matAutocomplete]=\"auto\"\n [required]=\"dataField.behavior.required\"\n (keyup)=\"change()\">\n <mat-spinner *ngIf=\"dataField.loading\" matSuffix diameter=\"30\"></mat-spinner>\n <mat-autocomplete [displayWith]=\"renderSelection\" autoActiveFirstOption #auto=\"matAutocomplete\">\n\n <mat-option disabled *ngIf=\"(filteredOptions | async)?.length === 0 && !dataField.loading && dataField.value && dataField.value.length > 0\" fxLayoutAlign=\"center center\">\n {{ 'dataField.dynamicEnum.noData' | translate }}\n </mat-option>\n\n <ng-container *ngIf=\"!dataField.loading\">\n <mat-option [value]=\"null\">---</mat-option>\n <mat-option *ngFor=\"let option of filteredOptions | async\" [value]=\"option.key\" (click)=\"change()\">\n {{option.value}}\n </mat-option>\n </ng-container>\n </mat-autocomplete>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{buildErrorMessage()}}</mat-error>\n</mat-form-field>\n\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
|
|
26
|
+
}], ctorParameters: () => [{ type: i1.TranslateService }, { type: undefined, decorators: [{
|
|
27
|
+
type: Optional
|
|
28
|
+
}, {
|
|
29
|
+
type: Inject,
|
|
30
|
+
args: [DATA_FIELD_PORTAL_DATA]
|
|
31
|
+
}] }] });
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24tYXV0b2NvbXBsZXRlLWR5bmFtaWMtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvZW51bWVyYXRpb24tZmllbGQvZW51bWVyYXRpb24tYXV0b2NvbXBsZXRlLWR5bmFtaWMtZmllbGQvZW51bWV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dWUubGVuZ3RoID4gMFwiIGZ4TGF5b3V0QWxpZ249XCJjZW50ZXIgY2VudGVyXCI+XG4gICAgICAgICAgICB7eyAnZGF0YUZpZWxkLmR5bmFtaWNFbnVtLm5vRGF0YScgfCB0cmFuc2xhdGUgfX1cbiAgICAgICAgPC9tYXQtb3B0aW9uPlxuXG4gICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCIhZGF0YUZpZWxkLmxvYWRpbmdcIj5cbiAgICAgICAgICAgIDxtYXQtb3B0aW9uIFt2YWx1ZV09XCJudWxsXCI+LS0tPC9tYXQtb3B0aW9uPlxuICAgICAgICAgICAgPG1hdC1vcHRpb24gKm5nRm9yPVwibGV0IG9wdGlvbiBvZiBmaWx0ZXJlZE9wdGlvbnMgfCBhc3luY1wiIFt2YWx1ZV09XCJvcHRpb24ua2V5XCIgKGNsaWNrKT1cImNoYW5nZSgpXCI+XG4gICAgICAgICAgICAgICAge3tvcHRpb24udmFsdWV9fVxuICAgICAgICAgICAgPC9tYXQtb3B0aW9uPlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICA8L21hdC1hdXRvY29tcGxldGU+XG4gICAgPG1hdC1oaW50IFtuZ0NsYXNzXT1cInsnbWF0LWhpbnQtZGlzYWJsZWQnOiBmb3JtQ29udHJvbFJlZi5kaXNhYmxlZH1cIj57e2RhdGFGaWVsZC5kZXNjcmlwdGlvbn19PC9tYXQtaGludD5cbiAgICA8bWF0LWVycm9yICpuZ0lmPVwiZGF0YUZpZWxkLmlzSW52YWxpZChmb3JtQ29udHJvbFJlZilcIj57e2J1aWxkRXJyb3JNZXNzYWdlKCl9fTwvbWF0LWVycm9yPlxuPC9tYXQtZm9ybS1maWVsZD5cblxuIl19
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
+
import { AbstractEnumerationAutocompleteSelectFieldComponent, DATA_FIELD_PORTAL_DATA } from '@netgrif/components-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@ngx-translate/core";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@ngbracket/ngx-layout/extended";
|
|
7
|
+
import * as i4 from "@angular/material/autocomplete";
|
|
8
|
+
import * as i5 from "@angular/material/core";
|
|
9
|
+
import * as i6 from "@angular/material/input";
|
|
10
|
+
import * as i7 from "@angular/material/form-field";
|
|
11
|
+
import * as i8 from "@angular/forms";
|
|
12
|
+
export class EnumerationAutocompleteSelectFieldComponent extends AbstractEnumerationAutocompleteSelectFieldComponent {
|
|
13
|
+
_translate;
|
|
14
|
+
constructor(_translate, dataFieldPortalData) {
|
|
15
|
+
super(_translate, dataFieldPortalData);
|
|
16
|
+
this._translate = _translate;
|
|
17
|
+
}
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationAutocompleteSelectFieldComponent, deps: [{ token: i1.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: EnumerationAutocompleteSelectFieldComponent, selector: "nc-enumeration-autocomplete-select-field", usesInheritance: true, ngImport: i0, template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <input type=\"text\"\n aria-label=\"Autocomplete\"\n matInput\n #input\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n [matAutocomplete]=\"auto\"\n [required]=\"dataField.behavior.required\"\n (focus)=\"change()\"\n (keyup)=\"change()\">\n <mat-autocomplete [displayWith]=\"renderSelection\" autoActiveFirstOption #auto=\"matAutocomplete\">\n <mat-option [value]=\"null\">---</mat-option>\n <mat-option *ngFor=\"let option of filteredOptions | async\" [value]=\"option.key\" (click)=\"change()\">\n {{option.value}}\n </mat-option>\n </mat-autocomplete>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{buildErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.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"] }, { kind: "component", type: i4.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i4.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "directive", type: i6.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"] }, { kind: "component", type: i7.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i7.MatLabel, selector: "mat-label" }, { kind: "directive", type: i7.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i7.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i8.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] });
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationAutocompleteSelectFieldComponent, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
args: [{ selector: 'nc-enumeration-autocomplete-select-field', template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <input type=\"text\"\n aria-label=\"Autocomplete\"\n matInput\n #input\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n [matAutocomplete]=\"auto\"\n [required]=\"dataField.behavior.required\"\n (focus)=\"change()\"\n (keyup)=\"change()\">\n <mat-autocomplete [displayWith]=\"renderSelection\" autoActiveFirstOption #auto=\"matAutocomplete\">\n <mat-option [value]=\"null\">---</mat-option>\n <mat-option *ngFor=\"let option of filteredOptions | async\" [value]=\"option.key\" (click)=\"change()\">\n {{option.value}}\n </mat-option>\n </mat-autocomplete>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{buildErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
|
|
24
|
+
}], ctorParameters: () => [{ type: i1.TranslateService }, { type: undefined, decorators: [{
|
|
25
|
+
type: Optional
|
|
26
|
+
}, {
|
|
27
|
+
type: Inject,
|
|
28
|
+
args: [DATA_FIELD_PORTAL_DATA]
|
|
29
|
+
}] }] });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24tYXV0b2NvbXBsZXRlLXNlbGVjdC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy9lbnVtZXJhdGlvbi1maWVsZC9lbnVtZXJhdGlvbi1hdXRvY29tcGxldGUtc2VsZWN0LWZpZWxkL2VudW1lcmF0aW9uLWF1dG9jb21wbGV0ZS1zZWxlY3QtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saW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Zi5kaXNhYmxlZH1cIj57e2RhdGFGaWVsZC5kZXNjcmlwdGlvbn19PC9tYXQtaGludD5cbiAgICA8bWF0LWVycm9yICpuZ0lmPVwiZGF0YUZpZWxkLmlzSW52YWxpZChmb3JtQ29udHJvbFJlZilcIj57e2J1aWxkRXJyb3JNZXNzYWdlKCl9fTwvbWF0LWVycm9yPlxuPC9tYXQtZm9ybS1maWVsZD5cbiJdfQ==
|
|
@@ -7,16 +7,16 @@ export class EnumerationCaserefFieldComponent extends AbstractEnumerationCaseRef
|
|
|
7
7
|
constructor(injector, dataFieldPortalData) {
|
|
8
8
|
super(injector, DefaultCaseRefListViewComponent, dataFieldPortalData);
|
|
9
9
|
}
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationCaserefFieldComponent, deps: [{ token: i0.Injector }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: EnumerationCaserefFieldComponent, selector: "nc-enumeration-caseref-field", usesInheritance: true, ngImport: i0, template: "<ng-template [cdkPortalOutlet]=\"componentPortal\"></ng-template>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
10
12
|
}
|
|
11
|
-
|
|
12
|
-
EnumerationCaserefFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EnumerationCaserefFieldComponent, selector: "nc-enumeration-caseref-field", usesInheritance: true, ngImport: i0, template: "<ng-template [cdkPortalOutlet]=\"componentPortal\"></ng-template>\n", styles: [""], directives: [{ type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnumerationCaserefFieldComponent, decorators: [{
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationCaserefFieldComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
|
-
args: [{ selector: 'nc-enumeration-caseref-field', template: "<ng-template [cdkPortalOutlet]=\"componentPortal\"></ng-template>\n"
|
|
16
|
-
}], ctorParameters:
|
|
15
|
+
args: [{ selector: 'nc-enumeration-caseref-field', template: "<ng-template [cdkPortalOutlet]=\"componentPortal\"></ng-template>\n" }]
|
|
16
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
17
17
|
type: Optional
|
|
18
18
|
}, {
|
|
19
19
|
type: Inject,
|
|
20
20
|
args: [DATA_FIELD_PORTAL_DATA]
|
|
21
|
-
}] }]
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
21
|
+
}] }] });
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24tY2FzZXJlZi1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy9lbnVtZXJhdGlvbi1maWVsZC9lbnVtZXJhdGlvbi1jYXNlcmVmLWZpZWxkL2VudW1lcmF0aW9uLWNhc2VyZWYtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvZW51bWVyYXRpb24tZmllbGQvZW51bWVyYXRpb24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lzdFZpZXdDb21wb25lbnRcbn0gZnJvbSAnLi4vLi4vLi4vbmF2aWdhdGlvbi9ncm91cC1uYXZpZ2F0aW9uLWNvbXBvbmVudC1yZXNvbHZlci9kZWZhdWx0LWNvbXBvbmVudHMvZGVmYXVsdC1jYXNlLXJlZi1saXN0LXZpZXcvZGVmYXVsdC1jYXNlLXJlZi1saXN0LXZpZXcuY29tcG9uZW50JztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnbmMtZW51bWVyYXRpb24tY2FzZXJlZi1maWVsZCcsXG4gIHRlbXBsYXRlVXJsOiAnLi9lbnVtZXJhdGlvbi1jYXNlcmVmLWZpZWxkLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vZW51bWVyYXRpb24tY2FzZXJlZi1maWVsZC5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIEVudW1lcmF0aW9uQ2FzZXJlZkZpZWxkQ29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RFbnVtZXJhdGlvbkNhc2VSZWZDb21wb25lbnQge1xuXG4gICAgY29uc3RydWN0b3IoaW5qZWN0b3I6IEluamVjdG9yLFxuICAgICAgICAgICAgICAgIEBPcHRpb25hbCgpIEBJbmplY3QoREFUQV9GSUVMRF9QT1JUQUxfREFUQSkgZGF0YUZpZWxkUG9ydGFsRGF0YTogRGF0YUZpZWxkUG9ydGFsRGF0YTxFbnVtZXJhdGlvbkZpZWxkPikge1xuICAgICAgICBzdXBlcihpbmplY3RvciwgRGVmYXVsdENhc2VSZWZMaXN0Vmlld0NvbXBvbmVudCwgZGF0YUZpZWxkUG9ydGFsRGF0YSlcbiAgICB9XG59XG4iLCI8bmctdGVtcGxhdGUgW2Nka1BvcnRhbE91dGxldF09XCJjb21wb25lbnRQb3J0YWxcIj48L25nLXRlbXBsYXRlPlxuIl19
|
package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-field.component.mjs
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Component, Inject, Optional } from '@angular/core';
|
|
2
2
|
import { AbstractEnumerationFieldComponent, NAE_INFORM_ABOUT_INVALID_DATA } from '@netgrif/components-core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "
|
|
5
|
-
import * as i2 from "
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "../data-field-template/data-field-template.component";
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated
|
|
8
8
|
* */
|
|
@@ -10,16 +10,16 @@ export class EnumerationFieldComponent extends AbstractEnumerationFieldComponent
|
|
|
10
10
|
constructor(informAboutInvalidData) {
|
|
11
11
|
super(informAboutInvalidData);
|
|
12
12
|
}
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationFieldComponent, deps: [{ token: NAE_INFORM_ABOUT_INVALID_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: EnumerationFieldComponent, selector: "nc-enumeration-field", usesInheritance: true, ngImport: i0, template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.DataFieldTemplateComponent, selector: "nc-data-field-template" }] });
|
|
13
15
|
}
|
|
14
|
-
|
|
15
|
-
EnumerationFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EnumerationFieldComponent, selector: "nc-enumeration-field", usesInheritance: true, ngImport: i0, template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n", styles: [""], components: [{ type: i1.DataFieldTemplateComponent, selector: "nc-data-field-template" }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnumerationFieldComponent, decorators: [{
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationFieldComponent, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
|
-
args: [{ selector: 'nc-enumeration-field', template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n"
|
|
19
|
-
}], ctorParameters:
|
|
18
|
+
args: [{ selector: 'nc-enumeration-field', template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n" }]
|
|
19
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
20
20
|
type: Optional
|
|
21
21
|
}, {
|
|
22
22
|
type: Inject,
|
|
23
23
|
args: [NAE_INFORM_ABOUT_INVALID_DATA]
|
|
24
|
-
}] }]
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
24
|
+
}] }] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24tZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvZW51bWVyYXRpb24tZmllbGQvZW51bWVyYXRpb24tZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJ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LFxuICAgIHN0eWxlVXJsczogWycuL2VudW1lcmF0aW9uLWZpZWxkLmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgRW51bWVyYXRpb25GaWVsZENvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0RW51bWVyYXRpb25GaWVsZENvbXBvbmVudCB7XG4gICAgY29uc3RydWN0b3IoQE9wdGlvbmFsKCkgQEluamVjdChOQUVfSU5GT1JNX0FCT1VUX0lOVkFMSURfREFUQSkgaW5mb3JtQWJvdXRJbnZhbGlkRGF0YTogYm9vbGVhbiB8IG51bGwpIHtcbiAgICAgICAgc3VwZXIoaW5mb3JtQWJvdXRJbnZhbGlkRGF0YSk7XG4gICAgfVxufVxuIiwiPG5jLWRhdGEtZmllbGQtdGVtcGxhdGUgKm5nSWY9XCIhZGF0YUZpZWxkLmJlaGF2aW9yLmhpZGRlblwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbZGF0YUZpZWxkXT1cImRhdGFGaWVsZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbb2Zmc2V0XT1cInRhc2tPZmZzZXRcIj5cbjwvbmMtZGF0YS1maWVsZC10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { Component, Inject, Optional } from '@angular/core';
|
|
2
2
|
import { AbstractEnumerationIconFieldComponent, DATA_FIELD_PORTAL_DATA } from '@netgrif/components-core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "
|
|
5
|
-
import * as i2 from "@
|
|
6
|
-
import * as i3 from "@
|
|
7
|
-
import * as i4 from "@angular/
|
|
8
|
-
import * as i5 from "@angular/material/
|
|
9
|
-
import * as i6 from "@angular/
|
|
10
|
-
import * as i7 from "
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@ngbracket/ngx-layout";
|
|
6
|
+
import * as i3 from "@ngbracket/ngx-layout/extended";
|
|
7
|
+
import * as i4 from "@angular/material/divider";
|
|
8
|
+
import * as i5 from "@angular/material/icon";
|
|
9
|
+
import * as i6 from "@angular/material/form-field";
|
|
10
|
+
import * as i7 from "../../required-label/required-label.component";
|
|
11
11
|
export class EnumerationIconFieldComponent extends AbstractEnumerationIconFieldComponent {
|
|
12
12
|
constructor(dataFieldPortalData) {
|
|
13
13
|
super(dataFieldPortalData);
|
|
14
14
|
}
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationIconFieldComponent, deps: [{ token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: EnumerationIconFieldComponent, selector: "nc-enumeration-icon-field", usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"!horizontal; else horizont\">\n <mat-label class=\"netgrif-label\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\" *ngIf=\"!showLargeLayout.value\">{{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"!formControlRef.disabled\"></nc-required-label>\n <br></mat-label>\n <div *ngFor=\"let option of dataField.choices; let i = index\">\n <div class=\"enum-icon-item enum-icon-item-row\" (click)=\"setEnumValue(option.key)\"\n [ngClass]=\"{'enum-icon-item-active': isSelected(option.key), 'enum-icon-item-hover': !formControlRef.disabled, 'enum-icon-item-disabled': formControlRef.disabled}\">\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'material'\">{{resolveIconValue(option.key)}}</mat-icon>\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'svg'\" [svgIcon]=\"resolveIconValue(option.key)\"></mat-icon>\n <span fxFlex class=\"enum-icon-text\">{{option.value}}</span>\n <mat-icon *ngIf=\"isArrow()\">arrow_forward</mat-icon>\n </div>\n <mat-divider class=\"enum-icon-divider\" *ngIf=\"i !== dataField.choices.length - 1 && isDivider()\"></mat-divider>\n </div>\n</div>\n<ng-template #horizont>\n <mat-label class=\"netgrif-label\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\" *ngIf=\"!showLargeLayout.value\">{{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"!formControlRef.disabled\"></nc-required-label>\n <br></mat-label>\n <div fxLayout=\"row\">\n <div *ngFor=\"let option of dataField.choices; let i = index\" fxLayout=\"row\" fxFlex>\n <div class=\"enum-icon-item enum-icon-item-row\" (click)=\"setEnumValue(option.key)\"\n [ngClass]=\"{'enum-icon-item-active': isSelected(option.key), 'enum-icon-item-hover': !formControlRef.disabled, 'enum-icon-item-disabled': formControlRef.disabled}\">\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'material'\">{{resolveIconValue(option.key)}}</mat-icon>\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'svg'\" [svgIcon]=\"resolveIconValue(option.key)\"></mat-icon>\n <span fxFlex class=\"enum-icon-text\">{{option.value}}</span>\n <mat-icon *ngIf=\"isArrow()\">arrow_forward</mat-icon>\n </div>\n <div fxFlex></div>\n <mat-divider [vertical]=\"true\" *ngIf=\"i !== dataField.choices.length - 1 && isDivider()\"></mat-divider>\n </div>\n </div>\n</ng-template>\n", styles: [".enum-icon-item{font-size:18px;font-family:Roboto,sans-serif;font-weight:500;line-height:24px;letter-spacing:-.2px;text-align:left;color:#64748b;text-decoration:none;padding:8px 0}.enum-icon-item-row:hover{cursor:pointer}.enum-icon-item:focus,.enum-icon-item-row:focus{outline:none}.enum-icon-divider{position:relative!important}.enum-icon-text{padding:0 16px}.enum-icon-item-disabled{color:#94a3b8;cursor:default!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i3.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"] }, { kind: "component", type: i4.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.MatLabel, selector: "mat-label" }, { kind: "component", type: i7.RequiredLabelComponent, selector: "nc-required-label", inputs: ["isIn"] }] });
|
|
15
17
|
}
|
|
16
|
-
|
|
17
|
-
EnumerationIconFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EnumerationIconFieldComponent, selector: "nc-enumeration-icon-field", usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"!horizontal; else horizont\">\n <mat-label class=\"netgrif-label\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\" *ngIf=\"!showLargeLayout.value\">{{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"!formControlRef.disabled\"></nc-required-label>\n <br></mat-label>\n <div *ngFor=\"let option of dataField.choices; let i = index\">\n <div class=\"enum-icon-item enum-icon-item-row\" (click)=\"setEnumValue(option.key)\"\n [ngClass]=\"{'enum-icon-item-active': isSelected(option.key), 'enum-icon-item-hover': !formControlRef.disabled, 'enum-icon-item-disabled': formControlRef.disabled}\">\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'material'\">{{resolveIconValue(option.key)}}</mat-icon>\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'svg'\" [svgIcon]=\"resolveIconValue(option.key)\"></mat-icon>\n <span fxFlex class=\"enum-icon-text\">{{option.value}}</span>\n <mat-icon *ngIf=\"isArrow()\">arrow_forward</mat-icon>\n </div>\n <mat-divider class=\"enum-icon-divider\" *ngIf=\"i !== dataField.choices.length - 1 && isDivider()\"></mat-divider>\n </div>\n</div>\n<ng-template #horizont>\n <mat-label class=\"netgrif-label\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\" *ngIf=\"!showLargeLayout.value\">{{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"!formControlRef.disabled\"></nc-required-label>\n <br></mat-label>\n <div fxLayout=\"row\">\n <div *ngFor=\"let option of dataField.choices; let i = index\" fxLayout=\"row\" fxFlex>\n <div class=\"enum-icon-item enum-icon-item-row\" (click)=\"setEnumValue(option.key)\"\n [ngClass]=\"{'enum-icon-item-active': isSelected(option.key), 'enum-icon-item-hover': !formControlRef.disabled, 'enum-icon-item-disabled': formControlRef.disabled}\">\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'material'\">{{resolveIconValue(option.key)}}</mat-icon>\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'svg'\" [svgIcon]=\"resolveIconValue(option.key)\"></mat-icon>\n <span fxFlex class=\"enum-icon-text\">{{option.value}}</span>\n <mat-icon *ngIf=\"isArrow()\">arrow_forward</mat-icon>\n </div>\n <div fxFlex></div>\n <mat-divider [vertical]=\"true\" *ngIf=\"i !== dataField.choices.length - 1 && isDivider()\"></mat-divider>\n </div>\n </div>\n</ng-template>\n", styles: [".enum-icon-item{font-size:18px;font-family:Roboto,sans-serif;font-weight:500;line-height:24px;letter-spacing:-.2px;text-align:left;color:#64748b;text-decoration:none;padding:8px 0}.enum-icon-item-row:hover{cursor:pointer}.enum-icon-item:focus,.enum-icon-item-row:focus{outline:none}.enum-icon-divider{position:relative!important}.enum-icon-text{padding:0 16px}.enum-icon-item-disabled{color:#94a3b8;cursor:default!important}\n"], components: [{ type: i1.RequiredLabelComponent, selector: "nc-required-label", inputs: ["isIn"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.MatLabel, selector: "mat-label" }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6.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: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: 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"] }] });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnumerationIconFieldComponent, decorators: [{
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationIconFieldComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: 'nc-enumeration-icon-field', template: "<div *ngIf=\"!horizontal; else horizont\">\n <mat-label class=\"netgrif-label\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\" *ngIf=\"!showLargeLayout.value\">{{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"!formControlRef.disabled\"></nc-required-label>\n <br></mat-label>\n <div *ngFor=\"let option of dataField.choices; let i = index\">\n <div class=\"enum-icon-item enum-icon-item-row\" (click)=\"setEnumValue(option.key)\"\n [ngClass]=\"{'enum-icon-item-active': isSelected(option.key), 'enum-icon-item-hover': !formControlRef.disabled, 'enum-icon-item-disabled': formControlRef.disabled}\">\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'material'\">{{resolveIconValue(option.key)}}</mat-icon>\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'svg'\" [svgIcon]=\"resolveIconValue(option.key)\"></mat-icon>\n <span fxFlex class=\"enum-icon-text\">{{option.value}}</span>\n <mat-icon *ngIf=\"isArrow()\">arrow_forward</mat-icon>\n </div>\n <mat-divider class=\"enum-icon-divider\" *ngIf=\"i !== dataField.choices.length - 1 && isDivider()\"></mat-divider>\n </div>\n</div>\n<ng-template #horizont>\n <mat-label class=\"netgrif-label\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\" *ngIf=\"!showLargeLayout.value\">{{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"!formControlRef.disabled\"></nc-required-label>\n <br></mat-label>\n <div fxLayout=\"row\">\n <div *ngFor=\"let option of dataField.choices; let i = index\" fxLayout=\"row\" fxFlex>\n <div class=\"enum-icon-item enum-icon-item-row\" (click)=\"setEnumValue(option.key)\"\n [ngClass]=\"{'enum-icon-item-active': isSelected(option.key), 'enum-icon-item-hover': !formControlRef.disabled, 'enum-icon-item-disabled': formControlRef.disabled}\">\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'material'\">{{resolveIconValue(option.key)}}</mat-icon>\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'svg'\" [svgIcon]=\"resolveIconValue(option.key)\"></mat-icon>\n <span fxFlex class=\"enum-icon-text\">{{option.value}}</span>\n <mat-icon *ngIf=\"isArrow()\">arrow_forward</mat-icon>\n </div>\n <div fxFlex></div>\n <mat-divider [vertical]=\"true\" *ngIf=\"i !== dataField.choices.length - 1 && isDivider()\"></mat-divider>\n </div>\n </div>\n</ng-template>\n", styles: [".enum-icon-item{font-size:18px;font-family:Roboto,sans-serif;font-weight:500;line-height:24px;letter-spacing:-.2px;text-align:left;color:#64748b;text-decoration:none;padding:8px 0}.enum-icon-item-row:hover{cursor:pointer}.enum-icon-item:focus,.enum-icon-item-row:focus{outline:none}.enum-icon-divider{position:relative!important}.enum-icon-text{padding:0 16px}.enum-icon-item-disabled{color:#94a3b8;cursor:default!important}\n"] }]
|
|
21
|
-
}], ctorParameters:
|
|
21
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
22
22
|
type: Optional
|
|
23
23
|
}, {
|
|
24
24
|
type: Inject,
|
|
25
25
|
args: [DATA_FIELD_PORTAL_DATA]
|
|
26
|
-
}] }]
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
26
|
+
}] }] });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24taWNvbi1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2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lY3RlZChvcHRpb24ua2V5KSwgJ2VudW0taWNvbi1pdGVtLWhvdmVyJzogIWZvcm1Db250cm9sUmVmLmRpc2FibGVkLCAnZW51bS1pY29uLWl0ZW0tZGlzYWJsZWQnOiBmb3JtQ29udHJvbFJlZi5kaXNhYmxlZH1cIj5cbiAgICAgICAgICAgICAgICA8bWF0LWljb24gKm5nSWY9XCJyZXNvbHZlSWNvblR5cGUob3B0aW9uLmtleSkgPT09ICdtYXRlcmlhbCdcIj57e3Jlc29sdmVJY29uVmFsdWUob3B0aW9uLmtleSl9fTwvbWF0LWljb24+XG4gICAgICAgICAgICAgICAgPG1hdC1pY29uICpuZ0lmPVwicmVzb2x2ZUljb25UeXBlKG9wdGlvbi5rZXkpID09PSAnc3ZnJ1wiIFtzdmdJY29uXT1cInJlc29sdmVJY29uVmFsdWUob3B0aW9uLmtleSlcIj48L21hdC1pY29uPlxuICAgICAgICAgICAgICAgIDxzcGFuIGZ4RmxleCBjbGFzcz1cImVudW0taWNvbi10ZXh0XCI+e3tvcHRpb24udmFsdWV9fTwvc3Bhbj5cbiAgICAgICAgICAgICAgICA8bWF0LWljb24gKm5nSWY9XCJpc0Fycm93KClcIj5hcnJvd19mb3J3YXJkPC9tYXQtaWNvbj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPGRpdiBmeEZsZXg+PC9kaXY+XG4gICAgICAgICAgICA8bWF0LWRpdmlkZXIgW3ZlcnRpY2FsXT1cInRydWVcIiAqbmdJZj1cImkgIT09IGRhdGFGaWVsZC5jaG9pY2VzLmxlbmd0aCAtIDEgJiYgaXNEaXZpZGVyKClcIj48L21hdC1kaXZpZGVyPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { Component, Inject, Optional } from '@angular/core';
|
|
2
2
|
import { AbstractEnumerationListFieldComponent, DATA_FIELD_PORTAL_DATA } from '@netgrif/components-core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "
|
|
5
|
-
import * as i2 from "@
|
|
6
|
-
import * as i3 from "@angular/material/
|
|
7
|
-
import * as i4 from "@angular/
|
|
8
|
-
import * as i5 from "@angular/
|
|
9
|
-
import * as i6 from "@angular/
|
|
10
|
-
import * as i7 from "
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@ngbracket/ngx-layout/extended";
|
|
6
|
+
import * as i3 from "@angular/material/button";
|
|
7
|
+
import * as i4 from "@angular/material/form-field";
|
|
8
|
+
import * as i5 from "@angular/material/radio";
|
|
9
|
+
import * as i6 from "@angular/forms";
|
|
10
|
+
import * as i7 from "../../required-label/required-label.component";
|
|
11
11
|
import * as i8 from "@ngx-translate/core";
|
|
12
12
|
export class EnumerationListFieldComponent extends AbstractEnumerationListFieldComponent {
|
|
13
13
|
constructor(dataFieldPortalData) {
|
|
14
14
|
super(dataFieldPortalData);
|
|
15
15
|
}
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationListFieldComponent, deps: [{ token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: EnumerationListFieldComponent, selector: "nc-enumeration-list-field", usesInheritance: true, ngImport: i0, template: "<mat-radio-group\n color=\"primary\"\n class=\"full-width example-radio-group netgrif-label\"\n aria-labelledby=\"example-radio-group-label\"\n [required]=\"dataField.behavior.required\"\n [formControl]=\"formControlRef\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\">\n <mat-label *ngIf=\"!showLargeLayout.value\" >{{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"true\"></nc-required-label>\n <button mat-button *ngIf=\"!formControlRef.disabled\" (click)=\"resetEnum()\">{{'dataField.enum.reset' | translate}}</button>\n <br></mat-label>\n <mat-radio-button class=\"example-radio-button\" *ngFor=\"let option of dataField.choices\" [value]=\"option.key\">\n {{option.value}}\n </mat-radio-button>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\" *ngIf=\"dataField.description !== undefined && dataField.description !== ''\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n</mat-radio-group>\n", styles: [".example-radio-group{display:flex;flex-direction:column}.full-width{width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i5.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i7.RequiredLabelComponent, selector: "nc-required-label", inputs: ["isIn"] }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }] });
|
|
16
18
|
}
|
|
17
|
-
|
|
18
|
-
EnumerationListFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EnumerationListFieldComponent, selector: "nc-enumeration-list-field", usesInheritance: true, ngImport: i0, template: "<mat-radio-group\n color=\"primary\"\n class=\"full-width example-radio-group netgrif-label\"\n aria-labelledby=\"example-radio-group-label\"\n [required]=\"dataField.behavior.required\"\n [formControl]=\"formControlRef\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\">\n <mat-label *ngIf=\"!showLargeLayout.value\" >{{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"true\"></nc-required-label>\n <button mat-button *ngIf=\"!formControlRef.disabled\" (click)=\"resetEnum()\">{{'dataField.enum.reset' | translate}}</button>\n <br></mat-label>\n <mat-radio-button class=\"example-radio-button\" *ngFor=\"let option of dataField.choices\" [value]=\"option.key\">\n {{option.value}}\n </mat-radio-button>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\" *ngIf=\"dataField.description !== undefined && dataField.description !== ''\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n</mat-radio-group>\n", styles: [".example-radio-group{display:flex;flex-direction:column}.full-width{width:100%}\n"], components: [{ type: i1.RequiredLabelComponent, selector: "nc-required-label", inputs: ["isIn"] }, { 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.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }], directives: [{ type: i3.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { type: i4.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6.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: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.MatLabel, selector: "mat-label" }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i7.MatError, selector: "mat-error", inputs: ["id"] }], pipes: { "translate": i8.TranslatePipe } });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnumerationListFieldComponent, decorators: [{
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationListFieldComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ selector: 'nc-enumeration-list-field', template: "<mat-radio-group\n color=\"primary\"\n class=\"full-width example-radio-group netgrif-label\"\n aria-labelledby=\"example-radio-group-label\"\n [required]=\"dataField.behavior.required\"\n [formControl]=\"formControlRef\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\">\n <mat-label *ngIf=\"!showLargeLayout.value\" >{{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"true\"></nc-required-label>\n <button mat-button *ngIf=\"!formControlRef.disabled\" (click)=\"resetEnum()\">{{'dataField.enum.reset' | translate}}</button>\n <br></mat-label>\n <mat-radio-button class=\"example-radio-button\" *ngFor=\"let option of dataField.choices\" [value]=\"option.key\">\n {{option.value}}\n </mat-radio-button>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\" *ngIf=\"dataField.description !== undefined && dataField.description !== ''\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n</mat-radio-group>\n", styles: [".example-radio-group{display:flex;flex-direction:column}.full-width{width:100%}\n"] }]
|
|
22
|
-
}], ctorParameters:
|
|
22
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
23
23
|
type: Optional
|
|
24
24
|
}, {
|
|
25
25
|
type: Inject,
|
|
26
26
|
args: [DATA_FIELD_PORTAL_DATA]
|
|
27
|
-
}] }]
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
27
|
+
}] }] });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24tbGlzdC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy9lbnVtZXJhdGlvbi1maWVsZC9lbnVtZXJhdGlvbi1saXN0LWZpZWxkL2VudW1lcmF0aW9uLWxpc3QtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvZW51bWVyYXRpb24tZmllbGQvZW51bWVyYXRpb24tbGlzdC1maWVsZC9lbnVtZXJhdGlvbi1saXN0LWZpZWxkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUMxRCxPQUFPLEVBQ0gscUNBQXFDLEVBQ3JDLHNCQUFzQixFQUV6QixNQUFNLDBCQUEwQixDQUFDOzs7Ozs7Ozs7O0FBT2xDLE1BQU0sT0FBTyw2QkFBOEIsU0FBUSxxQ0FBcUM7SUFDcEYsWUFBd0QsbUJBQTBEO1FBQzlHLEtBQUssQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDO0lBQy9CLENBQUM7d0dBSFEsNkJBQTZCLGtCQUNOLHNCQUF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F0LWhpbnQgW25nQ2xhc3NdPVwieydtYXQtaGludC1kaXNhYmxlZCc6IGZvcm1Db250cm9sUmVmLmRpc2FibGVkfVwiICpuZ0lmPVwiZGF0YUZpZWxkLmRlc2NyaXB0aW9uICE9PSB1bmRlZmluZWQgJiYgZGF0YUZpZWxkLmRlc2NyaXB0aW9uICE9PSAnJ1wiPnt7ZGF0YUZpZWxkLmRlc2NyaXB0aW9ufX08L21hdC1oaW50PlxuICAgIDxtYXQtZXJyb3IgKm5nSWY9XCJkYXRhRmllbGQuaXNJbnZhbGlkKGZvcm1Db250cm9sUmVmKVwiPnt7J2RhdGFGaWVsZC52YWxpZGF0aW9ucy5yZXF1aXJlZCcgfCB0cmFuc2xhdGV9fTwvbWF0LWVycm9yPlxuPC9tYXQtcmFkaW8tZ3JvdXA+XG4iXX0=
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { Component, Inject, Optional } from '@angular/core';
|
|
2
2
|
import { AbstractEnumerationSelectFieldComponent, DATA_FIELD_PORTAL_DATA } from '@netgrif/components-core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/
|
|
5
|
-
import * as i2 from "@
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@ngbracket/ngx-layout/extended";
|
|
6
6
|
import * as i3 from "@angular/material/core";
|
|
7
|
-
import * as i4 from "@angular/
|
|
8
|
-
import * as i5 from "@angular/
|
|
9
|
-
import * as i6 from "@angular/
|
|
7
|
+
import * as i4 from "@angular/material/form-field";
|
|
8
|
+
import * as i5 from "@angular/material/select";
|
|
9
|
+
import * as i6 from "@angular/forms";
|
|
10
10
|
import * as i7 from "@ngx-translate/core";
|
|
11
11
|
export class EnumerationSelectFieldComponent extends AbstractEnumerationSelectFieldComponent {
|
|
12
12
|
constructor(dataFieldPortalData) {
|
|
13
13
|
super(dataFieldPortalData);
|
|
14
14
|
}
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationSelectFieldComponent, deps: [{ token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: EnumerationSelectFieldComponent, selector: "nc-enumeration-select-field", usesInheritance: true, ngImport: i0, template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <mat-select [formControl]=\"formControlRef\"\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\">\n <mat-option [value]=\"null\">---</mat-option>\n <mat-option *ngFor=\"let option of dataField.choices\" [value]=\"option.key\">\n {{option.value}}\n </mat-option>\n </mat-select>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] });
|
|
15
17
|
}
|
|
16
|
-
|
|
17
|
-
EnumerationSelectFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EnumerationSelectFieldComponent, selector: "nc-enumeration-select-field", usesInheritance: true, ngImport: i0, template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <mat-select [formControl]=\"formControlRef\"\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\">\n <mat-option [value]=\"null\">---</mat-option>\n <mat-option *ngFor=\"let option of dataField.choices\" [value]=\"option.key\">\n {{option.value}}\n </mat-option>\n </mat-select>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], components: [{ type: i1.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i2.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.MatLabel, selector: "mat-label" }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i5.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6.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: i1.MatError, selector: "mat-error", inputs: ["id"] }], pipes: { "translate": i7.TranslatePipe } });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnumerationSelectFieldComponent, decorators: [{
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnumerationSelectFieldComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: 'nc-enumeration-select-field', template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <mat-select [formControl]=\"formControlRef\"\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\">\n <mat-option [value]=\"null\">---</mat-option>\n <mat-option *ngFor=\"let option of dataField.choices\" [value]=\"option.key\">\n {{option.value}}\n </mat-option>\n </mat-select>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
|
|
21
|
-
}], ctorParameters:
|
|
21
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
22
22
|
type: Optional
|
|
23
23
|
}, {
|
|
24
24
|
type: Inject,
|
|
25
25
|
args: [DATA_FIELD_PORTAL_DATA]
|
|
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