@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
package/esm2020/lib/data-fields/number-field/number-decimal-field/number-decimal-field.component.mjs
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
-
import { AbstractNumberDecimalFieldComponent, DATA_FIELD_PORTAL_DATA } from "@netgrif/components-core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@ngx-translate/core";
|
|
6
|
-
import * as i3 from "@angular/material/form-field";
|
|
7
|
-
import * as i4 from "@angular/material/input";
|
|
8
|
-
import * as i5 from "@angular/forms";
|
|
9
|
-
export class NumberDecimalFieldComponent extends AbstractNumberDecimalFieldComponent {
|
|
10
|
-
constructor(decimalPipe, translate, dataFieldPortalData) {
|
|
11
|
-
super(decimalPipe, translate, dataFieldPortalData);
|
|
12
|
-
}
|
|
13
|
-
getAppearance() {
|
|
14
|
-
if (!this.dataField?.materialAppearance) {
|
|
15
|
-
return 'fill';
|
|
16
|
-
}
|
|
17
|
-
const validAppearances = ['legacy', 'standard', 'fill', 'outline'];
|
|
18
|
-
return validAppearances.includes(this.dataField.materialAppearance) ? this.dataField.materialAppearance : 'fill';
|
|
19
|
-
}
|
|
20
|
-
onFocusOut(event) {
|
|
21
|
-
this.transformToText(event);
|
|
22
|
-
}
|
|
23
|
-
onFocusIn() {
|
|
24
|
-
this.transformToNumber();
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
NumberDecimalFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumberDecimalFieldComponent, deps: [{ token: i1.DecimalPipe }, { token: i2.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
-
NumberDecimalFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: NumberDecimalFieldComponent, selector: "nc-number-decimal-field", usesInheritance: true, ngImport: i0, template: "<mat-form-field [appearance]=\"getAppearance()\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField?.title}}</mat-label>\n <input matInput\n [type]=\"fieldType\"\n [value]=\"transformedValue\"\n [formControl]=\"formControlRef\"\n [placeholder]=\"dataField?.placeholder\"\n [required]=\"dataField?.behavior?.required\"\n (focusout)=\"onFocusOut($event)\"\n (focusin)=\"onFocusIn()\">\n <mat-hint>{{dataField?.description}}</mat-hint>\n <mat-error *ngIf=\"dataField?.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], components: [{ type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.MatLabel, selector: "mat-label" }, { type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: 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: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i3.MatError, selector: "mat-error", inputs: ["id"] }] });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumberDecimalFieldComponent, decorators: [{
|
|
30
|
-
type: Component,
|
|
31
|
-
args: [{ selector: 'nc-number-decimal-field', template: "<mat-form-field [appearance]=\"getAppearance()\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField?.title}}</mat-label>\n <input matInput\n [type]=\"fieldType\"\n [value]=\"transformedValue\"\n [formControl]=\"formControlRef\"\n [placeholder]=\"dataField?.placeholder\"\n [required]=\"dataField?.behavior?.required\"\n (focusout)=\"onFocusOut($event)\"\n (focusin)=\"onFocusIn()\">\n <mat-hint>{{dataField?.description}}</mat-hint>\n <mat-error *ngIf=\"dataField?.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
|
|
32
|
-
}], ctorParameters: function () { return [{ type: i1.DecimalPipe }, { type: i2.TranslateService }, { type: undefined, decorators: [{
|
|
33
|
-
type: Optional
|
|
34
|
-
}, {
|
|
35
|
-
type: Inject,
|
|
36
|
-
args: [DATA_FIELD_PORTAL_DATA]
|
|
37
|
-
}] }]; } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLWRlY2ltYWwtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvbnVtYmVyLWZpZWxkL251bWJlci1kZWNpbWFsLWZpZWxkL251bWJlci1kZWNpbWFsLWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL251bWJlci1maWVsZC9udW1iZXItZGVjaW1hbC1maWVsZC9udW1iZXItZGVjaW1hbC1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFMUQsT0FBTyxFQUNILG1DQUFtQyxFQUNuQyxzQkFBc0IsRUFHekIsTUFBTSwwQkFBMEIsQ0FBQzs7Ozs7OztBQVNsQyxNQUFNLE9BQU8sMkJBQTRCLFNBQVEsbUNBQW1DO0lBQ2hGLFlBQVksV0FBd0IsRUFDeEIsU0FBMkIsRUFDaUIsbUJBQXFEO1FB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RyYW5zZm9ybWVkVmFsdWVcIlxuICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xSZWZcIlxuICAgICAgICAgICBbcGxhY2Vob2xkZXJdPVwiZGF0YUZpZWxkPy5wbGFjZWhvbGRlclwiXG4gICAgICAgICAgIFtyZXF1aXJlZF09XCJkYXRhRmllbGQ/LmJlaGF2aW9yPy5yZXF1aXJlZFwiXG4gICAgICAgICAgIChmb2N1c291dCk9XCJvbkZvY3VzT3V0KCRldmVudClcIlxuICAgICAgICAgICAoZm9jdXNpbik9XCJvbkZvY3VzSW4oKVwiPlxuICAgIDxtYXQtaGludD57e2RhdGFGaWVsZD8uZGVzY3JpcHRpb259fTwvbWF0LWhpbnQ+XG4gICAgPG1hdC1lcnJvciAqbmdJZj1cImRhdGFGaWVsZD8uaXNJbnZhbGlkKGZvcm1Db250cm9sUmVmKVwiPnt7Z2V0RXJyb3JNZXNzYWdlKCl9fTwvbWF0LWVycm9yPlxuPC9tYXQtZm9ybS1maWVsZD5cbiJdfQ==
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@angular/flex-layout/extended";
|
|
5
|
-
export class RequiredLabelComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.isIn = false;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
RequiredLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RequiredLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
RequiredLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: RequiredLabelComponent, selector: "nc-required-label", inputs: { isIn: "isIn" }, ngImport: i0, template: "<span class=\"required-label-color\" [ngClass]=\"{ 'disabled-color': !isIn }\"> * </span>\n", styles: [".required-label-color{color:red}.disabled-color{color:#94a3b8}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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"] }] });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RequiredLabelComponent, decorators: [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{ selector: 'nc-required-label', template: "<span class=\"required-label-color\" [ngClass]=\"{ 'disabled-color': !isIn }\"> * </span>\n", styles: [".required-label-color{color:red}.disabled-color{color:#94a3b8}\n"] }]
|
|
15
|
-
}], ctorParameters: function () { return []; }, propDecorators: { isIn: [{
|
|
16
|
-
type: Input
|
|
17
|
-
}] } });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVxdWlyZWQtbGFiZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvcmVxdWlyZWQtbGFiZWwvcmVxdWlyZWQtbGFiZWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy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2
|
-
import { AbstractStringCollectionDefaultFieldComponent, 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/material/form-field";
|
|
6
|
-
import * as i3 from "@angular/material/chips";
|
|
7
|
-
import * as i4 from "@angular/material/icon";
|
|
8
|
-
import * as i5 from "@angular/common";
|
|
9
|
-
import * as i6 from "@angular/forms";
|
|
10
|
-
import * as i7 from "@angular/material/input";
|
|
11
|
-
import * as i8 from "@angular/flex-layout/extended";
|
|
12
|
-
export class StringCollectionDefaultFieldComponent extends AbstractStringCollectionDefaultFieldComponent {
|
|
13
|
-
constructor(_translate, dataFieldPortalData) {
|
|
14
|
-
super(_translate, dataFieldPortalData);
|
|
15
|
-
this._translate = _translate;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
StringCollectionDefaultFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringCollectionDefaultFieldComponent, deps: [{ token: i1.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
-
StringCollectionDefaultFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: StringCollectionDefaultFieldComponent, selector: "nc-string-collection-default-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-chip-list #chipList aria-label=\"Autocomplete\" [formControl]=\"formControlRef\">\n <mat-chip\n *ngFor=\"let option of dataField.value\" (removed)=\"remove(option)\">\n {{option}}\n <button *ngIf=\"!formControlRef.disabled\" matChipRemove>\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip>\n <input\n matInput\n #input\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\"\n [matChipInputFor]=\"chipList\"\n (matChipInputTokenEnd)=\"add($event)\"\n (blur)=\"add($event)\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\">\n </mat-chip-list>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error\n *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: i2.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i3.MatChipList, selector: "mat-chip-list", inputs: ["errorStateMatcher", "multiple", "compareWith", "value", "required", "placeholder", "disabled", "aria-orientation", "selectable", "tabIndex"], outputs: ["change", "valueChange"], exportAs: ["matChipList"] }, { type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.MatLabel, selector: "mat-label" }, { type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.MatChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: ["color", "disableRipple", "tabIndex", "selected", "value", "selectable", "disabled", "removable"], outputs: ["selectionChange", "destroyed", "removed"], exportAs: ["matChip"] }, { type: i3.MatChipRemove, selector: "[matChipRemove]" }, { 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"] }, { type: i3.MatChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputFor", "matChipInputAddOnBlur", "matChipInputSeparatorKeyCodes", "placeholder", "id", "disabled"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }, { type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.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: i2.MatError, selector: "mat-error", inputs: ["id"] }], pipes: { "translate": i1.TranslatePipe } });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: StringCollectionDefaultFieldComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{ selector: 'nc-string-collection-default-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-chip-list #chipList aria-label=\"Autocomplete\" [formControl]=\"formControlRef\">\n <mat-chip\n *ngFor=\"let option of dataField.value\" (removed)=\"remove(option)\">\n {{option}}\n <button *ngIf=\"!formControlRef.disabled\" matChipRemove>\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip>\n <input\n matInput\n #input\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\"\n [matChipInputFor]=\"chipList\"\n (matChipInputTokenEnd)=\"add($event)\"\n (blur)=\"add($event)\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\">\n </mat-chip-list>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error\n *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"] }]
|
|
23
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: undefined, decorators: [{
|
|
24
|
-
type: Optional
|
|
25
|
-
}, {
|
|
26
|
-
type: Inject,
|
|
27
|
-
args: [DATA_FIELD_PORTAL_DATA]
|
|
28
|
-
}] }]; } });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaW5nLWNvbGxlY3Rpb24tZGVmYXVsdC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy9zdHJpbmctY29sbGVjdGlvbi1maWVsZC9zdHJpbmctY29sbGVjdGlvbi1kZWZhdWx0LWZpZWxkL3N0cmluZy1jb2xsZWN0aW9uLWRlZmF1bHQtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvc3RyaW5nLWNvbGxlY3Rpb24tZmllbGQvc3RyaW5nLWNvbGxlY3Rpb24tZGVmYXVsdC1maWVsZC9zdHJpbmctY29sbGVjdGlvb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LmlzSW52YWxpZChmb3JtQ29udHJvbFJlZilcIj57eydkYXRhRmllbGQudmFsaWRhdGlvbnMucmVxdWlyZWQnIHwgdHJhbnNsYXRlfX08L21hdC1lcnJvcj5cbjwvbWF0LWZvcm0tZmllbGQ+XG4iXX0=
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Input, Optional } from '@angular/core';
|
|
2
|
-
import { AbstractTaskRefDashboardFieldComponent, DATA_FIELD_PORTAL_DATA } from '@netgrif/components-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@netgrif/components-core";
|
|
5
|
-
import * as i2 from "./task-ref-dashboard-tile/task-ref-dashboard-tile.component";
|
|
6
|
-
import * as i3 from "@angular/flex-layout/grid";
|
|
7
|
-
import * as i4 from "@angular/common";
|
|
8
|
-
export class TaskRefDashboardFieldComponent extends AbstractTaskRefDashboardFieldComponent {
|
|
9
|
-
constructor(logger, dataFieldPortalData) {
|
|
10
|
-
super(logger, dataFieldPortalData);
|
|
11
|
-
}
|
|
12
|
-
getGridColumns() {
|
|
13
|
-
return `repeat(${this.dataField.dashboardCols}, 1fr)`;
|
|
14
|
-
}
|
|
15
|
-
getGridRows() {
|
|
16
|
-
return `repeat(${this.dataField.dashboardRows}, minmax(320px, auto))`;
|
|
17
|
-
}
|
|
18
|
-
getTileGridColumn(tile) {
|
|
19
|
-
return `${tile.x + 1} / span ${tile.cols}`;
|
|
20
|
-
}
|
|
21
|
-
getTileGridRow(tile) {
|
|
22
|
-
return `${tile.y + 1} / span ${tile.rows}`;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
TaskRefDashboardFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TaskRefDashboardFieldComponent, deps: [{ token: i1.LoggerService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
TaskRefDashboardFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TaskRefDashboardFieldComponent, selector: "nc-task-ref-dashboard-field", inputs: { taskContentComponentClassReference: "taskContentComponentClassReference" }, usesInheritance: true, ngImport: i0, template: "<div class=\"fill-available-space\" [gdColumns]=\"getGridColumns()\" [gdRows]=\"getGridRows()\">\n <nc-task-ref-dashboard-tile *ngFor=\"let tile of dashboardTiles\"\n [tile]=\"tile\"\n [taskRef]=\"dataField\"\n [fc]=\"formControlRef\"\n [gdColumn]=\"getTileGridColumn(tile)\"\n [gdRow]=\"getTileGridRow(tile)\"\n [taskContentComponentClassReference]=\"taskContentComponentClassReference\"></nc-task-ref-dashboard-tile>\n</div>\n", styles: [".fill-available-space{width:100%;height:100%}:host ::ng-deep .dashboard-workflow-view,:host ::ng-deep .dashboard-task-list,:host ::ng-deep .dashboard-case-list{min-height:320px!important}:host ::ng-deep .dashboard-iframe-card{min-height:304px!important}:host ::ng-deep .dashboard-bar-chart,:host ::ng-deep .dashboard-pie-chart,:host ::ng-deep .dashboard-line-chart{height:320px!important;width:200px!important}\n"], components: [{ type: i2.TaskRefDashboardTileComponent, selector: "nc-task-ref-dashboard-tile", inputs: ["taskContentComponentClassReference"] }], directives: [{ type: i3.DefaultGridColumnsDirective, selector: " [gdColumns], [gdColumns.xs], [gdColumns.sm], [gdColumns.md], [gdColumns.lg], [gdColumns.xl], [gdColumns.lt-sm], [gdColumns.lt-md], [gdColumns.lt-lg], [gdColumns.lt-xl], [gdColumns.gt-xs], [gdColumns.gt-sm], [gdColumns.gt-md], [gdColumns.gt-lg]", inputs: ["gdColumns", "gdColumns.xs", "gdColumns.sm", "gdColumns.md", "gdColumns.lg", "gdColumns.xl", "gdColumns.lt-sm", "gdColumns.lt-md", "gdColumns.lt-lg", "gdColumns.lt-xl", "gdColumns.gt-xs", "gdColumns.gt-sm", "gdColumns.gt-md", "gdColumns.gt-lg"] }, { type: i3.DefaultGridRowsDirective, selector: " [gdRows], [gdRows.xs], [gdRows.sm], [gdRows.md], [gdRows.lg], [gdRows.xl], [gdRows.lt-sm], [gdRows.lt-md], [gdRows.lt-lg], [gdRows.lt-xl], [gdRows.gt-xs], [gdRows.gt-sm], [gdRows.gt-md], [gdRows.gt-lg]", inputs: ["gdRows", "gdRows.xs", "gdRows.sm", "gdRows.md", "gdRows.lg", "gdRows.xl", "gdRows.lt-sm", "gdRows.lt-md", "gdRows.lt-lg", "gdRows.lt-xl", "gdRows.gt-xs", "gdRows.gt-sm", "gdRows.gt-md", "gdRows.gt-lg"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.DefaultGridColumnDirective, selector: " [gdColumn], [gdColumn.xs], [gdColumn.sm], [gdColumn.md], [gdColumn.lg], [gdColumn.xl], [gdColumn.lt-sm], [gdColumn.lt-md], [gdColumn.lt-lg], [gdColumn.lt-xl], [gdColumn.gt-xs], [gdColumn.gt-sm], [gdColumn.gt-md], [gdColumn.gt-lg]", inputs: ["gdColumn", "gdColumn.xs", "gdColumn.sm", "gdColumn.md", "gdColumn.lg", "gdColumn.xl", "gdColumn.lt-sm", "gdColumn.lt-md", "gdColumn.lt-lg", "gdColumn.lt-xl", "gdColumn.gt-xs", "gdColumn.gt-sm", "gdColumn.gt-md", "gdColumn.gt-lg"] }, { type: i3.DefaultGridRowDirective, selector: " [gdRow], [gdRow.xs], [gdRow.sm], [gdRow.md], [gdRow.lg], [gdRow.xl], [gdRow.lt-sm], [gdRow.lt-md], [gdRow.lt-lg], [gdRow.lt-xl], [gdRow.gt-xs], [gdRow.gt-sm], [gdRow.gt-md], [gdRow.gt-lg]", inputs: ["gdRow", "gdRow.xs", "gdRow.sm", "gdRow.md", "gdRow.lg", "gdRow.xl", "gdRow.lt-sm", "gdRow.lt-md", "gdRow.lt-lg", "gdRow.lt-xl", "gdRow.gt-xs", "gdRow.gt-sm", "gdRow.gt-md", "gdRow.gt-lg"] }] });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TaskRefDashboardFieldComponent, decorators: [{
|
|
28
|
-
type: Component,
|
|
29
|
-
args: [{ selector: 'nc-task-ref-dashboard-field', template: "<div class=\"fill-available-space\" [gdColumns]=\"getGridColumns()\" [gdRows]=\"getGridRows()\">\n <nc-task-ref-dashboard-tile *ngFor=\"let tile of dashboardTiles\"\n [tile]=\"tile\"\n [taskRef]=\"dataField\"\n [fc]=\"formControlRef\"\n [gdColumn]=\"getTileGridColumn(tile)\"\n [gdRow]=\"getTileGridRow(tile)\"\n [taskContentComponentClassReference]=\"taskContentComponentClassReference\"></nc-task-ref-dashboard-tile>\n</div>\n", styles: [".fill-available-space{width:100%;height:100%}:host ::ng-deep .dashboard-workflow-view,:host ::ng-deep .dashboard-task-list,:host ::ng-deep .dashboard-case-list{min-height:320px!important}:host ::ng-deep .dashboard-iframe-card{min-height:304px!important}:host ::ng-deep .dashboard-bar-chart,:host ::ng-deep .dashboard-pie-chart,:host ::ng-deep .dashboard-line-chart{height:320px!important;width:200px!important}\n"] }]
|
|
30
|
-
}], ctorParameters: function () { return [{ type: i1.LoggerService }, { type: undefined, decorators: [{
|
|
31
|
-
type: Optional
|
|
32
|
-
}, {
|
|
33
|
-
type: Inject,
|
|
34
|
-
args: [DATA_FIELD_PORTAL_DATA]
|
|
35
|
-
}] }]; }, propDecorators: { taskContentComponentClassReference: [{
|
|
36
|
-
type: Input
|
|
37
|
-
}] } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1yZWYtZGFzaGJvYXJkLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL3Rhc2stcmVm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mlkUm93cygpXCI+XG4gICAgPG5jLXRhc2stcmVmLWRhc2hib2FyZC10aWxlICpuZ0Zvcj1cImxldCB0aWxlIG9mIGRhc2hib2FyZFRpbGVzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3RpbGVdPVwidGlsZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFt0YXNrUmVmXT1cImRhdGFGaWVsZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtmY109XCJmb3JtQ29udHJvbFJlZlwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtnZENvbHVtbl09XCJnZXRUaWxlR3JpZENvbHVtbih0aWxlKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtnZFJvd109XCJnZXRUaWxlR3JpZFJvdyh0aWxlKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFt0YXNrQ29udGVudENvbXBvbmVudENsYXNzUmVmZXJlbmNlXT1cInRhc2tDb250ZW50Q29tcG9uZW50Q2xhc3NSZWZlcmVuY2VcIj48L25jLXRhc2stcmVmLWRhc2hib2FyZC10aWxlPlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Input, Self, SkipSelf } from '@angular/core';
|
|
2
|
-
import { AbstractTaskRefDashboardTileComponent, NAE_TASK_OPERATIONS, TaskContentService, UnlimitedTaskContentService, FrontActionService } from '@netgrif/components-core';
|
|
3
|
-
import { ComponentPortal } from '@angular/cdk/portal';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@netgrif/components-core";
|
|
6
|
-
import * as i2 from "@angular/material/button";
|
|
7
|
-
import * as i3 from "@angular/material/icon";
|
|
8
|
-
import * as i4 from "@angular/common";
|
|
9
|
-
import * as i5 from "@angular/cdk/portal";
|
|
10
|
-
import * as i6 from "@angular/flex-layout/flex";
|
|
11
|
-
export class TaskRefDashboardTileComponent extends AbstractTaskRefDashboardTileComponent {
|
|
12
|
-
constructor(caseResourceService, processService, logger, taskResourceService, callChainService, taskDataService, parentTaskContentService, taskOperations, _injector, _myTaskContentService) {
|
|
13
|
-
super(caseResourceService, processService, logger, taskResourceService, callChainService, parentTaskContentService, taskDataService, taskOperations);
|
|
14
|
-
this._injector = _injector;
|
|
15
|
-
this._myTaskContentService = _myTaskContentService;
|
|
16
|
-
}
|
|
17
|
-
ngOnInit() {
|
|
18
|
-
if (this.tile.isEmpty) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
this._subTask = this._parentTaskContentService.task$.subscribe(t => {
|
|
22
|
-
const fakeTask = Object.assign({}, t);
|
|
23
|
-
fakeTask.dataGroups = this.tile.dataGroups;
|
|
24
|
-
this._myTaskContentService.task = fakeTask;
|
|
25
|
-
this._myTaskContentService.$shouldCreate.next(fakeTask.dataGroups);
|
|
26
|
-
});
|
|
27
|
-
this.portal = new ComponentPortal(this.taskContentComponentClassReference, null, this._injector);
|
|
28
|
-
}
|
|
29
|
-
ngOnDestroy() {
|
|
30
|
-
super.ngOnDestroy();
|
|
31
|
-
if (this._subTask !== undefined) {
|
|
32
|
-
this._subTask.unsubscribe();
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
TaskRefDashboardTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TaskRefDashboardTileComponent, deps: [{ token: i1.CaseResourceService }, { token: i1.ProcessService }, { token: i1.LoggerService }, { token: i1.TaskResourceService }, { token: i1.CallChainService }, { token: i1.TaskDataService }, { token: i1.TaskContentService, skipSelf: true }, { token: NAE_TASK_OPERATIONS }, { token: i0.Injector }, { token: i1.TaskContentService, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
-
TaskRefDashboardTileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TaskRefDashboardTileComponent, selector: "nc-task-ref-dashboard-tile", inputs: { taskContentComponentClassReference: "taskContentComponentClassReference" }, providers: [
|
|
38
|
-
FrontActionService,
|
|
39
|
-
{ provide: TaskContentService, useClass: UnlimitedTaskContentService }
|
|
40
|
-
], usesInheritance: true, ngImport: i0, template: "<ng-template [ngIf]=\"!tile.isEmpty\" [ngIfElse]=\"newDashboardTile\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n</ng-template>\n\n<ng-template #newDashboardTile>\n <div class=\"fill-available-space\" [class.new-dashboard-tile]=\"!fc.disabled\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-icon-button\tcolor=\"primary\" *ngIf=\"!fc.disabled\" (click)=\"createNewDashboardTile()\">\n <mat-icon>add</mat-icon>\n </button>\n </div>\n</ng-template>\n", styles: [".fill-available-space{width:100%;height:100%}\n"], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i6.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i6.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"] }] });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TaskRefDashboardTileComponent, decorators: [{
|
|
42
|
-
type: Component,
|
|
43
|
-
args: [{ selector: 'nc-task-ref-dashboard-tile', providers: [
|
|
44
|
-
FrontActionService,
|
|
45
|
-
{ provide: TaskContentService, useClass: UnlimitedTaskContentService }
|
|
46
|
-
], template: "<ng-template [ngIf]=\"!tile.isEmpty\" [ngIfElse]=\"newDashboardTile\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n</ng-template>\n\n<ng-template #newDashboardTile>\n <div class=\"fill-available-space\" [class.new-dashboard-tile]=\"!fc.disabled\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-icon-button\tcolor=\"primary\" *ngIf=\"!fc.disabled\" (click)=\"createNewDashboardTile()\">\n <mat-icon>add</mat-icon>\n </button>\n </div>\n</ng-template>\n", styles: [".fill-available-space{width:100%;height:100%}\n"] }]
|
|
47
|
-
}], ctorParameters: function () { return [{ type: i1.CaseResourceService }, { type: i1.ProcessService }, { type: i1.LoggerService }, { type: i1.TaskResourceService }, { type: i1.CallChainService }, { type: i1.TaskDataService }, { type: i1.TaskContentService, decorators: [{
|
|
48
|
-
type: SkipSelf
|
|
49
|
-
}] }, { type: undefined, decorators: [{
|
|
50
|
-
type: Inject,
|
|
51
|
-
args: [NAE_TASK_OPERATIONS]
|
|
52
|
-
}] }, { type: i0.Injector }, { type: i1.TaskContentService, decorators: [{
|
|
53
|
-
type: Self
|
|
54
|
-
}] }]; }, propDecorators: { taskContentComponentClassReference: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}] } });
|
|
57
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1yZWYtZGFzaGJvYXJkLXRpbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvdGFzay1yZWYtZmllbGQvdGFzay1yZWYtZGFzaGJvYXJkLWZpZWxkL3Rhc2stcmVmLWRhc2hib2FyZC10aWxlL3Rhc2stcmVmLWRhc2hib2FyZC10aWxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL3Rhc2stcmVmLWZpZWxkL3Rhc2stcmVmLWRhc2hib2FyZC1maWVsZC90YXNrLXJlZi1kYXNoYm9hcmQtdGlsZS90YXNrLXJlZi1kYXNoYm9hcmQtdGlsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPL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k7XG4gICAgICAgIGlmICh0aGlzLl9zdWJUYXNrICE9PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICAgIHRoaXMuX3N1YlRhc2sudW5zdWJzY3JpYmUoKTtcbiAgICAgICAgfVxuICAgIH1cblxufVxuIiwiPG5nLXRlbXBsYXRlIFtuZ0lmXT1cIiF0aWxlLmlzRW1wdHlcIiBbbmdJZkVsc2VdPVwibmV3RGFzaGJvYXJkVGlsZVwiPlxuICAgIDxuZy10ZW1wbGF0ZSBbY2RrUG9ydGFsT3V0bGV0XT1cInBvcnRhbFwiPjwvbmctdGVtcGxhdGU+XG48L25nLXRlbXBsYXRlPlxuXG48bmctdGVtcGxhdGUgI25ld0Rhc2hib2FyZFRpbGU+XG4gICAgPGRpdiBjbGFzcz1cImZpbGwtYXZhaWxhYmxlLXNwYWNlXCIgW2NsYXNzLm5ldy1kYXNoYm9hcmQtdGlsZV09XCIhZmMuZGlzYWJsZWRcIiBmeExheW91dD1cInJvd1wiIGZ4TGF5b3V0QWxpZ249XCJjZW50ZXIgY2VudGVyXCI+XG4gICAgICAgIDxidXR0b24gbWF0LWljb24tYnV0dG9uXHRjb2xvcj1cInByaW1hcnlcIiAqbmdJZj1cIiFmYy5kaXNhYmxlZFwiIChjbGljayk9XCJjcmVhdGVOZXdEYXNoYm9hcmRUaWxlKClcIj5cbiAgICAgICAgICAgIDxtYXQtaWNvbj5hZGQ8L21hdC1pY29uPlxuICAgICAgICA8L2J1dHRvbj5cbiAgICA8L2Rpdj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Input, Optional } from '@angular/core';
|
|
2
|
-
import { AbstractTaskRefFieldComponent, NAE_INFORM_ABOUT_INVALID_DATA } from '@netgrif/components-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../data-field-template/data-field-template.component";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated
|
|
8
|
-
* */
|
|
9
|
-
export class TaskRefFieldComponent extends AbstractTaskRefFieldComponent {
|
|
10
|
-
constructor(informAboutInvalidData) {
|
|
11
|
-
super(informAboutInvalidData);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
TaskRefFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TaskRefFieldComponent, deps: [{ token: NAE_INFORM_ABOUT_INVALID_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
TaskRefFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TaskRefFieldComponent, selector: "nc-task-ref-field", inputs: { taskContentComponentClassReference: "taskContentComponentClassReference" }, 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: TaskRefFieldComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{ selector: 'nc-task-ref-field', template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n", styles: [""] }]
|
|
19
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
20
|
-
type: Optional
|
|
21
|
-
}, {
|
|
22
|
-
type: Inject,
|
|
23
|
-
args: [NAE_INFORM_ABOUT_INVALID_DATA]
|
|
24
|
-
}] }]; }, propDecorators: { taskContentComponentClassReference: [{
|
|
25
|
-
type: Input
|
|
26
|
-
}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RlbXBsYXRlPlxuIl19
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
-
import { AbstractDashboardPortalTextFieldComponent, 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 "@netgrif/components-core";
|
|
6
|
-
import * as i3 from "../textarea-field/textarea-field.component";
|
|
7
|
-
import * as i4 from "../../../dashboard/cards/portal-card/portal-card.component";
|
|
8
|
-
import * as i5 from "@angular/common";
|
|
9
|
-
export class DashboardPortalTextFieldComponent extends AbstractDashboardPortalTextFieldComponent {
|
|
10
|
-
constructor(translate, registry, injector, dataFieldPortalData) {
|
|
11
|
-
super(translate, dataFieldPortalData);
|
|
12
|
-
this.registry = registry;
|
|
13
|
-
this.injector = injector;
|
|
14
|
-
}
|
|
15
|
-
ngOnInit() {
|
|
16
|
-
super.ngOnInit();
|
|
17
|
-
this.initializePortalComponent();
|
|
18
|
-
this._subValue = this.formControlRef.valueChanges.subscribe(newValue => {
|
|
19
|
-
this.initializePortalComponent();
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
initializePortalComponent() {
|
|
23
|
-
this.componentPortal = this.registry.get(this.card?.componentName, this.injector);
|
|
24
|
-
}
|
|
25
|
-
ngOnDestroy() {
|
|
26
|
-
super.ngOnDestroy();
|
|
27
|
-
this._subValue.unsubscribe();
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
DashboardPortalTextFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DashboardPortalTextFieldComponent, deps: [{ token: i1.TranslateService }, { token: i2.ComponentRegistryService }, { token: i0.Injector }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
-
DashboardPortalTextFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DashboardPortalTextFieldComponent, selector: "nc-dashboard-portal-text-field", usesInheritance: true, ngImport: i0, template: "<ng-template [ngIf]=\"!formControlRef.disabled && dataField.behavior.editable\" [ngIfElse]=\"visibleChart\">\n <nc-textarea-field [dataField]=\"dataField\"\n [formControlRef]=\"formControlRef\"\n [showLargeLayout]=\"showLargeLayout\"></nc-textarea-field>\n</ng-template>\n\n<ng-template #visibleChart>\n <nc-portal-card *ngIf=\"initialized\" [componentPortal]=\"componentPortal\"></nc-portal-card>\n</ng-template>\n", styles: [""], components: [{ type: i3.TextareaFieldComponent, selector: "nc-textarea-field" }, { type: i4.PortalCardComponent, selector: "nc-portal-card", inputs: ["componentPortal"], outputs: ["selectEvent"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DashboardPortalTextFieldComponent, decorators: [{
|
|
33
|
-
type: Component,
|
|
34
|
-
args: [{ selector: 'nc-dashboard-portal-text-field', template: "<ng-template [ngIf]=\"!formControlRef.disabled && dataField.behavior.editable\" [ngIfElse]=\"visibleChart\">\n <nc-textarea-field [dataField]=\"dataField\"\n [formControlRef]=\"formControlRef\"\n [showLargeLayout]=\"showLargeLayout\"></nc-textarea-field>\n</ng-template>\n\n<ng-template #visibleChart>\n <nc-portal-card *ngIf=\"initialized\" [componentPortal]=\"componentPortal\"></nc-portal-card>\n</ng-template>\n", styles: [""] }]
|
|
35
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i2.ComponentRegistryService }, { type: i0.Injector }, { type: undefined, decorators: [{
|
|
36
|
-
type: Optional
|
|
37
|
-
}, {
|
|
38
|
-
type: Inject,
|
|
39
|
-
args: [DATA_FIELD_PORTAL_DATA]
|
|
40
|
-
}] }]; } });
|
|
41
|
-
//# sourceMappingURL=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lZl09XCJmb3JtQ29udHJvbFJlZlwiXG4gICAgICAgICAgICAgICAgICAgICAgIFtzaG93TGFyZ2VMYXlvdXRdPVwic2hvd0xhcmdlTGF5b3V0XCI+PC9uYy10ZXh0YXJlYS1maWVsZD5cbjwvbmctdGVtcGxhdGU+XG5cbjxuZy10ZW1wbGF0ZSAjdmlzaWJsZUNoYXJ0PlxuICAgIDxuYy1wb3J0YWwtY2FyZCAqbmdJZj1cImluaXRpYWxpemVkXCIgW2NvbXBvbmVudFBvcnRhbF09XCJjb21wb25lbnRQb3J0YWxcIj48L25jLXBvcnRhbC1jYXJkPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
package/esm2020/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
-
import { AbstractHtmlTextareaFieldComponent, 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/platform-browser";
|
|
6
|
-
import * as i3 from "ngx-quill";
|
|
7
|
-
import * as i4 from "@angular/common";
|
|
8
|
-
import * as i5 from "@angular/flex-layout/extended";
|
|
9
|
-
import * as i6 from "@angular/forms";
|
|
10
|
-
import * as i7 from "@angular/material/form-field";
|
|
11
|
-
export class HtmlTextareaFieldComponent extends AbstractHtmlTextareaFieldComponent {
|
|
12
|
-
constructor(_translate, _sanitizer, dataFieldPortalData) {
|
|
13
|
-
super(_translate, _sanitizer, dataFieldPortalData);
|
|
14
|
-
this._translate = _translate;
|
|
15
|
-
this._sanitizer = _sanitizer;
|
|
16
|
-
}
|
|
17
|
-
ngAfterViewInit() {
|
|
18
|
-
setTimeout(() => {
|
|
19
|
-
if (!this.dataField?.placeholder) {
|
|
20
|
-
this.dataField.placeholder = this._translate.instant('dataField.textarea.insertText');
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
HtmlTextareaFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HtmlTextareaFieldComponent, deps: [{ token: i1.TranslateService }, { token: i2.DomSanitizer }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
HtmlTextareaFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: HtmlTextareaFieldComponent, selector: "nc-html-textarea-field", usesInheritance: true, ngImport: i0, template: "<div class=\"height-100\" #quillContainer [ngClass]=\"{'padding-bottom-custom': !formControlRef.disabled}\">\n <quill-editor theme=\"snow\" *ngIf=\"!formControlRef.disabled\" [(ngModel)]=\"dataField.value\"\n [modules]=\"quillModules\" [bounds]=\"quillContainer\" placeholder=\"{{ dataField.placeholder |translate}}\"></quill-editor>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n <input type=\"hidden\" [formControl]=\"formControlRef\">\n <div *ngIf=\"formControlRef.disabled\" class=\"ql-snow user-select-auto\" [ngClass]=\"{'border' : dataField.materialAppearance === 'outline'}\">\n <div [ngClass]=\"{'ql-editor' : dataField.materialAppearance === 'outline'}\" [innerHTML]=\"disabledDisplay\"></div>\n </div>\n</div>\n", styles: [".height-100{height:100%}.border{border:1px solid #CBD5E1;border-radius:6px;padding:10px;z-index:1;word-wrap:break-word}.user-select-auto{-webkit-user-select:auto;user-select:auto}.padding-bottom-custom{padding-bottom:8px}\n"], components: [{ type: i3.QuillEditorComponent, selector: "quill-editor" }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i7.MatError, selector: "mat-error", inputs: ["id"] }, { type: i6.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "translate": i1.TranslatePipe } });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HtmlTextareaFieldComponent, decorators: [{
|
|
28
|
-
type: Component,
|
|
29
|
-
args: [{ selector: 'nc-html-textarea-field', template: "<div class=\"height-100\" #quillContainer [ngClass]=\"{'padding-bottom-custom': !formControlRef.disabled}\">\n <quill-editor theme=\"snow\" *ngIf=\"!formControlRef.disabled\" [(ngModel)]=\"dataField.value\"\n [modules]=\"quillModules\" [bounds]=\"quillContainer\" placeholder=\"{{ dataField.placeholder |translate}}\"></quill-editor>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n <input type=\"hidden\" [formControl]=\"formControlRef\">\n <div *ngIf=\"formControlRef.disabled\" class=\"ql-snow user-select-auto\" [ngClass]=\"{'border' : dataField.materialAppearance === 'outline'}\">\n <div [ngClass]=\"{'ql-editor' : dataField.materialAppearance === 'outline'}\" [innerHTML]=\"disabledDisplay\"></div>\n </div>\n</div>\n", styles: [".height-100{height:100%}.border{border:1px solid #CBD5E1;border-radius:6px;padding:10px;z-index:1;word-wrap:break-word}.user-select-auto{-webkit-user-select:auto;user-select:auto}.padding-bottom-custom{padding-bottom:8px}\n"] }]
|
|
30
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i2.DomSanitizer }, { type: undefined, decorators: [{
|
|
31
|
-
type: Optional
|
|
32
|
-
}, {
|
|
33
|
-
type: Inject,
|
|
34
|
-
args: [DATA_FIELD_PORTAL_DATA]
|
|
35
|
-
}] }]; } });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHRtbC10ZXh0YXJlYS1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy90ZXh0LWZpZWxkL2h0bWwtdGV4dGFyZWEtZmllbGQvaHRtbC10ZXh0YXJlYS1maWVsZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy90ZXh0LWZpZWxkL2h0bWwtdGV4dGFyZWEtZmllbGQvaHRtbC10ZXh0YXJlYS1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWdCLFNBQVMsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFD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aWVsZC5tYXRlcmlhbEFwcGVhcmFuY2UgPT09ICdvdXRsaW5lJ31cIj5cbiAgICAgICAgPGRpdiBbbmdDbGFzc109XCJ7J3FsLWVkaXRvcicgOiBkYXRhRmllbGQubWF0ZXJpYWxBcHBlYXJhbmNlID09PSAnb3V0bGluZSd9XCIgW2lubmVySFRNTF09XCJkaXNhYmxlZERpc3BsYXlcIj48L2Rpdj5cbiAgICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
package/esm2020/lib/data-fields/text-field/password-text-field/password-text-field.component.mjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
-
import { AbstractPasswordTextFieldComponent, 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/material/form-field";
|
|
6
|
-
import * as i3 from "@angular/material/button";
|
|
7
|
-
import * as i4 from "@angular/material/icon";
|
|
8
|
-
import * as i5 from "@angular/common";
|
|
9
|
-
import * as i6 from "@angular/material/input";
|
|
10
|
-
import * as i7 from "@angular/forms";
|
|
11
|
-
import * as i8 from "@angular/flex-layout/extended";
|
|
12
|
-
export class PasswordTextFieldComponent extends AbstractPasswordTextFieldComponent {
|
|
13
|
-
constructor(_translate, dataFieldPortalData) {
|
|
14
|
-
super(_translate, dataFieldPortalData);
|
|
15
|
-
this._translate = _translate;
|
|
16
|
-
this.hide = true;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
PasswordTextFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PasswordTextFieldComponent, deps: [{ token: i1.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
-
PasswordTextFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PasswordTextFieldComponent, selector: "nc-password-text-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 matInput\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\"\n [formControl]=\"formControlRef\"\n [type]=\"hide ? 'password' : 'text'\">\n <button mat-icon-button matSuffix type=\"button\"\n (click)=\"hide = !hide\"\n (keypress)=\"false\"\n [attr.aria-label]=\"'Hide password'\"\n [attr.aria-pressed]=\"hide\">\n <mat-icon\n [color]=\"hide ? undefined : 'accent'\">{{hide ? 'visibility_off' : 'visibility'}}</mat-icon>\n </button>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], components: [{ type: i2.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i3.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: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.MatLabel, selector: "mat-label" }, { 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"] }, { type: i7.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i7.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i2.MatSuffix, selector: "[matSuffix]" }, { type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.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: i2.MatError, selector: "mat-error", inputs: ["id"] }] });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PasswordTextFieldComponent, decorators: [{
|
|
22
|
-
type: Component,
|
|
23
|
-
args: [{ selector: 'nc-password-text-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 matInput\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\"\n [formControl]=\"formControlRef\"\n [type]=\"hide ? 'password' : 'text'\">\n <button mat-icon-button matSuffix type=\"button\"\n (click)=\"hide = !hide\"\n (keypress)=\"false\"\n [attr.aria-label]=\"'Hide password'\"\n [attr.aria-pressed]=\"hide\">\n <mat-icon\n [color]=\"hide ? undefined : 'accent'\">{{hide ? 'visibility_off' : 'visibility'}}</mat-icon>\n </button>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
|
|
24
|
-
}], ctorParameters: function () { return [{ 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc3dvcmQtdGV4dC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy90ZXh0LWZpZWxkL3Bhc3N3b3JkLXRleHQtZmllbGQvcGFzc3dvcmQtdGV4dC1maWVsZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy90ZXh0LWZpZWxkL3Bhc3N3b3JkLXRleHQtZmllbGQvcGFzc3dvcmQtdGV4dC1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLE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