@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
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { Component, forwardRef, Input, ViewChild } from '@angular/core';
|
|
2
|
-
import EasyMDE from 'easymde';
|
|
3
|
-
import * as marked from 'marked';
|
|
4
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
const noop = () => {
|
|
7
|
-
};
|
|
8
|
-
export class EasymdeWrapperComponent {
|
|
9
|
-
constructor() {
|
|
10
|
-
this._fromEditor = false;
|
|
11
|
-
// eslint-disable-next-line no-unused-vars
|
|
12
|
-
this.propagateChange = (_) => noop;
|
|
13
|
-
this.onTouched = () => noop;
|
|
14
|
-
this._onChange = () => {
|
|
15
|
-
this._fromEditor = true;
|
|
16
|
-
this.writeValue(this._easyMDE?.value());
|
|
17
|
-
};
|
|
18
|
-
this.options = {
|
|
19
|
-
autoDownloadFontAwesome: true,
|
|
20
|
-
minHeight: '95px',
|
|
21
|
-
spellChecker: false,
|
|
22
|
-
toolbar: ['bold', 'italic', 'heading', 'strikethrough', '|', 'code', 'quote', 'unordered-list', 'ordered-list', '|',
|
|
23
|
-
'link', 'image', 'table', '|', 'horizontal-rule', 'preview', '|', 'guide'],
|
|
24
|
-
shortcuts: {
|
|
25
|
-
toggleSideBySide: null,
|
|
26
|
-
toggleFullScreen: null
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
writeValue(value) {
|
|
31
|
-
this.textAreaField.value = !value ? '' : value;
|
|
32
|
-
this._fromEditor = false;
|
|
33
|
-
}
|
|
34
|
-
registerOnChange(fn) {
|
|
35
|
-
this.propagateChange = fn;
|
|
36
|
-
}
|
|
37
|
-
registerOnTouched(fn) {
|
|
38
|
-
this.onTouched = fn;
|
|
39
|
-
}
|
|
40
|
-
ngAfterViewInit() {
|
|
41
|
-
this.options.element = this.textarea.nativeElement;
|
|
42
|
-
marked.marked.setOptions({ sanitize: true });
|
|
43
|
-
this._easyMDE = new EasyMDE(this.options);
|
|
44
|
-
this._easyMDE.value(this.textAreaField.value);
|
|
45
|
-
this._easyMDE.codemirror.on('change', this._onChange);
|
|
46
|
-
this.formControlRef.valueChanges.subscribe(value => {
|
|
47
|
-
if (this._easyMDE) {
|
|
48
|
-
if (!this._fromEditor) {
|
|
49
|
-
this._fromEditor = true;
|
|
50
|
-
this._easyMDE.value(value);
|
|
51
|
-
this._fromEditor = false;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
ngOnDestroy() {
|
|
57
|
-
this._easyMDE?.codemirror.off('change', this._onChange);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
EasymdeWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EasymdeWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
61
|
-
EasymdeWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EasymdeWrapperComponent, selector: "nc-easymde-wrapper", inputs: { formControlRef: "formControlRef", textAreaField: "textAreaField" }, providers: [
|
|
62
|
-
{
|
|
63
|
-
provide: NG_VALUE_ACCESSOR,
|
|
64
|
-
useExisting: forwardRef(() => EasymdeWrapperComponent),
|
|
65
|
-
multi: true,
|
|
66
|
-
},
|
|
67
|
-
], viewQueries: [{ propertyName: "textarea", first: true, predicate: ["easymde"], descendants: true, static: true }], ngImport: i0, template: '<textarea #easymde></textarea>', isInline: true, styles: ["@charset \"UTF-8\";:host ::ng-deep .CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}:host ::ng-deep .CodeMirror-lines{padding:4px 0}:host ::ng-deep .CodeMirror pre.CodeMirror-line,:host ::ng-deep .CodeMirror pre.CodeMirror-line-like{padding:0 4px}:host ::ng-deep .CodeMirror-gutter-filler,:host ::ng-deep .CodeMirror-scrollbar-filler{background-color:#fff}:host ::ng-deep .CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}:host ::ng-deep .CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}:host ::ng-deep .CodeMirror-guttermarker{color:#000}:host ::ng-deep .CodeMirror-guttermarker-subtle{color:#999}:host ::ng-deep .CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}:host ::ng-deep .CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}:host ::ng-deep .cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}:host ::ng-deep .cm-fat-cursor div.CodeMirror-cursors{z-index:1}:host ::ng-deep .cm-fat-cursor .CodeMirror-line::selection,:host ::ng-deep .cm-fat-cursor .CodeMirror-line>span::selection,:host ::ng-deep .cm-fat-cursor .CodeMirror-line>span>span::selection{background:0 0}:host ::ng-deep .cm-fat-cursor .CodeMirror-line::-moz-selection,:host ::ng-deep .cm-fat-cursor .CodeMirror-line>span::-moz-selection,:host ::ng-deep .cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:0 0}:host ::ng-deep .cm-fat-cursor{caret-color:transparent}@keyframes blink{50%{background-color:transparent}}:host ::ng-deep .cm-tab{display:inline-block;text-decoration:inherit}:host ::ng-deep .CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}:host ::ng-deep .CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}:host ::ng-deep .cm-s-default .cm-header{color:#00f}:host ::ng-deep .cm-s-default .cm-quote{color:#090}:host ::ng-deep .cm-negative{color:#d44}:host ::ng-deep .cm-positive{color:#292}:host ::ng-deep .cm-header,:host ::ng-deep .cm-strong{font-weight:700}:host ::ng-deep .cm-em{font-style:italic}:host ::ng-deep .cm-link{text-decoration:underline}:host ::ng-deep .cm-strikethrough{text-decoration:line-through}:host ::ng-deep .cm-s-default .cm-keyword{color:#708}:host ::ng-deep .cm-s-default .cm-atom{color:#219}:host ::ng-deep .cm-s-default .cm-number{color:#164}:host ::ng-deep .cm-s-default .cm-def{color:#00f}:host ::ng-deep .cm-s-default .cm-variable-2{color:#05a}:host ::ng-deep .cm-s-default .cm-type,:host ::ng-deep .cm-s-default .cm-variable-3{color:#085}:host ::ng-deep .cm-s-default .cm-comment{color:#a50}:host ::ng-deep .cm-s-default .cm-string{color:#a11}:host ::ng-deep .cm-s-default .cm-string-2{color:#f50}:host ::ng-deep .cm-s-default .cm-meta{color:#555}:host ::ng-deep .cm-s-default .cm-qualifier{color:#555}:host ::ng-deep .cm-s-default .cm-builtin{color:#30a}:host ::ng-deep .cm-s-default .cm-bracket{color:#997}:host ::ng-deep .cm-s-default .cm-tag{color:#170}:host ::ng-deep .cm-s-default .cm-attribute{color:#00c}:host ::ng-deep .cm-s-default .cm-hr{color:#999}:host ::ng-deep .cm-s-default .cm-link{color:#00c}:host ::ng-deep .cm-s-default .cm-error{color:red}:host ::ng-deep .cm-invalidchar{color:red}:host ::ng-deep .CodeMirror-composing{border-bottom:2px solid}:host ::ng-deep div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}:host ::ng-deep div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}:host ::ng-deep .CodeMirror-matchingtag{background:rgba(255,150,0,.3)}:host ::ng-deep .CodeMirror-activeline-background{background:#e8f2ff}:host ::ng-deep .CodeMirror{position:relative;overflow:hidden;background:#fff}:host ::ng-deep .CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:0;position:relative}:host ::ng-deep .CodeMirror-sizer{position:relative;border-right:50px solid transparent}:host ::ng-deep .CodeMirror-gutter-filler,:host ::ng-deep .CodeMirror-hscrollbar,:host ::ng-deep .CodeMirror-scrollbar-filler,:host ::ng-deep .CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:0}:host ::ng-deep .CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}:host ::ng-deep .CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}:host ::ng-deep .CodeMirror-scrollbar-filler{right:0;bottom:0}:host ::ng-deep .CodeMirror-gutter-filler{left:0;bottom:0}:host ::ng-deep .CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}:host ::ng-deep .CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}:host ::ng-deep .CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important}:host ::ng-deep .CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}:host ::ng-deep .CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}:host ::ng-deep .CodeMirror-gutter-wrapper ::selection{background-color:transparent}:host ::ng-deep .CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}:host ::ng-deep .CodeMirror-lines{cursor:text;min-height:1px}:host ::ng-deep .CodeMirror pre.CodeMirror-line,:host ::ng-deep .CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}:host ::ng-deep .CodeMirror-wrap pre.CodeMirror-line,:host ::ng-deep .CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}:host ::ng-deep .CodeMirror-linebackground{position:absolute;inset:0;z-index:0}:host ::ng-deep .CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}:host ::ng-deep .CodeMirror-code{outline:0}:host ::ng-deep .CodeMirror-gutter,:host ::ng-deep .CodeMirror-gutters,:host ::ng-deep .CodeMirror-linenumber,:host ::ng-deep .CodeMirror-scroll,:host ::ng-deep .CodeMirror-sizer{box-sizing:content-box}:host ::ng-deep .CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}:host ::ng-deep .CodeMirror-cursor{position:absolute;pointer-events:none}:host ::ng-deep .CodeMirror-measure pre{position:static}:host ::ng-deep div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}:host ::ng-deep div.CodeMirror-dragcursors{visibility:visible}:host ::ng-deep .CodeMirror-focused div.CodeMirror-cursors{visibility:visible}:host ::ng-deep .CodeMirror-selected{background:#d9d9d9}:host ::ng-deep .CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}:host ::ng-deep .CodeMirror-crosshair{cursor:crosshair}:host ::ng-deep .CodeMirror-line::selection,:host ::ng-deep .CodeMirror-line>span::selection,:host ::ng-deep .CodeMirror-line>span>span::selection{background:#d7d4f0}:host ::ng-deep .CodeMirror-line::-moz-selection,:host ::ng-deep .CodeMirror-line>span::-moz-selection,:host ::ng-deep .CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}:host ::ng-deep .cm-searching{background-color:#ffa;background-color:#ff06}:host ::ng-deep .cm-force-border{padding-right:.1px}@media print{:host ::ng-deep .CodeMirror div.CodeMirror-cursors{visibility:hidden}}:host ::ng-deep .cm-tab-wrap-hack:after{content:\"\"}:host ::ng-deep span.CodeMirror-selectedtext{background:0 0}:host ::ng-deep .EasyMDEContainer{display:block}:host ::ng-deep .CodeMirror-rtl pre{direction:rtl}:host ::ng-deep .EasyMDEContainer.sided--no-fullscreen{display:flex;flex-direction:row;flex-wrap:wrap}:host ::ng-deep .EasyMDEContainer .CodeMirror{box-sizing:border-box;height:auto;border:1px solid #ddd;border-bottom-left-radius:4px;border-bottom-right-radius:4px;padding:10px;font:inherit;z-index:0;word-wrap:break-word}:host ::ng-deep .EasyMDEContainer .CodeMirror-scroll{cursor:text}:host ::ng-deep .EasyMDEContainer .CodeMirror-fullscreen{background:#fff;position:fixed!important;inset:50px 0 0;height:auto;z-index:8;border-right:none!important;border-bottom-right-radius:0!important}:host ::ng-deep .EasyMDEContainer .CodeMirror-sided{width:50%!important}:host ::ng-deep .EasyMDEContainer.sided--no-fullscreen .CodeMirror-sided{border-right:none!important;border-bottom-right-radius:0;position:relative;flex:1 1 auto}:host ::ng-deep .EasyMDEContainer .CodeMirror-placeholder{opacity:.5}:host ::ng-deep .EasyMDEContainer .CodeMirror-focused .CodeMirror-selected{background:#d9d9d9}:host ::ng-deep .editor-toolbar{position:relative;-webkit-user-select:none;-o-user-select:none;user-select:none;padding:9px 10px;border-top:1px solid #bbb;border-left:1px solid #bbb;border-right:1px solid #bbb;border-top-left-radius:4px;border-top-right-radius:4px}:host ::ng-deep .editor-toolbar.fullscreen{width:100%;height:50px;padding-top:10px;padding-bottom:10px;box-sizing:border-box;background:#fff;border:0;position:fixed;top:0;left:0;opacity:1;z-index:9}:host ::ng-deep .editor-toolbar.fullscreen:before{width:20px;height:50px;background:linear-gradient(to right,#fff 0,rgba(255,255,255,0) 100%);position:fixed;top:0;left:0;margin:0;padding:0}:host ::ng-deep .editor-toolbar.fullscreen:after{width:20px;height:50px;background:linear-gradient(to right,rgba(255,255,255,0) 0,#fff 100%);position:fixed;top:0;right:0;margin:0;padding:0}:host ::ng-deep .EasyMDEContainer.sided--no-fullscreen .editor-toolbar{width:100%}:host ::ng-deep .editor-toolbar .easymde-dropdown,:host ::ng-deep .editor-toolbar button{background:0 0;display:inline-block;text-align:center;text-decoration:none!important;height:30px;margin:0;padding:0;border:1px solid transparent;border-radius:3px;cursor:pointer}:host ::ng-deep .editor-toolbar button{width:30px}:host ::ng-deep .editor-toolbar button.active,:host ::ng-deep .editor-toolbar button:hover{background:#fcfcfc;border-color:#95a5a6}:host ::ng-deep .editor-toolbar i.separator{display:inline-block;width:0;border-left:1px solid #d9d9d9;border-right:1px solid #fff;color:transparent;text-indent:-10px;margin:0 6px}:host ::ng-deep .editor-toolbar button:after{font-family:Arial,Helvetica Neue,Helvetica,sans-serif;font-size:65%;vertical-align:text-bottom;position:relative;top:2px}:host ::ng-deep .editor-toolbar button.heading-1:after{content:\"1\"}:host ::ng-deep .editor-toolbar button.heading-2:after{content:\"2\"}:host ::ng-deep .editor-toolbar button.heading-3:after{content:\"3\"}:host ::ng-deep .editor-toolbar button.heading-bigger:after{content:\"\\25b2\"}:host ::ng-deep .editor-toolbar button.heading-smaller:after{content:\"\\25bc\"}:host ::ng-deep .editor-toolbar.disabled-for-preview button:not(.no-disable){opacity:.6;pointer-events:none}@media only screen and (max-width: 700px){:host ::ng-deep .editor-toolbar i.no-mobile{display:none}}:host ::ng-deep .editor-statusbar{padding:8px 10px;font-size:12px;color:#959694;text-align:right}:host ::ng-deep .EasyMDEContainer.sided--no-fullscreen .editor-statusbar{width:100%}:host ::ng-deep .editor-statusbar span{display:inline-block;min-width:4em;margin-left:1em}:host ::ng-deep .editor-statusbar .lines:before{content:\"lines: \"}:host ::ng-deep .editor-statusbar .words:before{content:\"words: \"}:host ::ng-deep .editor-statusbar .characters:before{content:\"characters: \"}:host ::ng-deep .editor-preview-full{position:absolute;width:100%;height:100%;top:0;left:0;z-index:7;overflow:auto;display:none;box-sizing:border-box}:host ::ng-deep .editor-preview-side{position:fixed;bottom:0;width:50%;top:50px;right:0;z-index:9;overflow:auto;display:none;box-sizing:border-box;border:1px solid #ddd;word-wrap:break-word}:host ::ng-deep .editor-preview-active-side{display:block}:host ::ng-deep .EasyMDEContainer.sided--no-fullscreen .editor-preview-active-side{flex:1 1 auto;height:auto;position:static}:host ::ng-deep .editor-preview-active{display:block}:host ::ng-deep .editor-preview{padding:10px;background:#fafafa}:host ::ng-deep .editor-preview>p{margin-top:0}:host ::ng-deep .editor-preview pre{background:#eee;margin-bottom:10px}:host ::ng-deep .editor-preview table td,:host ::ng-deep .editor-preview table th{border:1px solid #ddd;padding:5px}:host ::ng-deep .cm-s-easymde .cm-tag{color:#63a35c}:host ::ng-deep .cm-s-easymde .cm-attribute{color:#795da3}:host ::ng-deep .cm-s-easymde .cm-string{color:#183691}:host ::ng-deep .cm-s-easymde .cm-header-1{font-size:200%;line-height:200%}:host ::ng-deep .cm-s-easymde .cm-header-2{font-size:160%;line-height:160%}:host ::ng-deep .cm-s-easymde .cm-header-3{font-size:125%;line-height:125%}:host ::ng-deep .cm-s-easymde .cm-header-4{font-size:110%;line-height:110%}:host ::ng-deep .cm-s-easymde .cm-comment{background:rgba(0,0,0,.05);border-radius:2px}:host ::ng-deep .cm-s-easymde .cm-link{color:#7f8c8d}:host ::ng-deep .cm-s-easymde .cm-url{color:#aab2b3}:host ::ng-deep .cm-s-easymde .cm-quote{color:#7f8c8d;font-style:italic}:host ::ng-deep .editor-toolbar .easymde-dropdown{position:relative;background:linear-gradient(to bottom right,#fff 0,#fff 84%,#333 50%,#333 100%);border-radius:0;border:1px solid #fff}:host ::ng-deep .editor-toolbar .easymde-dropdown:hover{background:linear-gradient(to bottom right,#fff 0,#fff 84%,#333 50%,#333 100%)}:host ::ng-deep .easymde-dropdown-content{display:block;visibility:hidden;position:absolute;background-color:#f9f9f9;box-shadow:0 8px 16px #0003;padding:8px;z-index:2;top:30px}:host ::ng-deep .easymde-dropdown:active .easymde-dropdown-content,:host ::ng-deep .easymde-dropdown:focus .easymde-dropdown-content,:host ::ng-deep .easymde-dropdown:focus-within .easymde-dropdown-content{visibility:visible}:host ::ng-deep span[data-img-src]:after{content:\"\";background-image:var(--bg-image);display:block;max-height:100%;max-width:100%;background-size:contain;height:0;padding-top:var(--height);width:var(--width);background-repeat:no-repeat}:host ::ng-deep .CodeMirror .cm-spell-error:not(.cm-url):not(.cm-comment):not(.cm-tag):not(.cm-word){background:rgba(255,0,0,.15)}\n"] });
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EasymdeWrapperComponent, decorators: [{
|
|
69
|
-
type: Component,
|
|
70
|
-
args: [{ selector: 'nc-easymde-wrapper', template: '<textarea #easymde></textarea>', providers: [
|
|
71
|
-
{
|
|
72
|
-
provide: NG_VALUE_ACCESSOR,
|
|
73
|
-
useExisting: forwardRef(() => EasymdeWrapperComponent),
|
|
74
|
-
multi: true,
|
|
75
|
-
},
|
|
76
|
-
], styles: ["@charset \"UTF-8\";:host ::ng-deep .CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}:host ::ng-deep .CodeMirror-lines{padding:4px 0}:host ::ng-deep .CodeMirror pre.CodeMirror-line,:host ::ng-deep .CodeMirror pre.CodeMirror-line-like{padding:0 4px}:host ::ng-deep .CodeMirror-gutter-filler,:host ::ng-deep .CodeMirror-scrollbar-filler{background-color:#fff}:host ::ng-deep .CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}:host ::ng-deep .CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}:host ::ng-deep .CodeMirror-guttermarker{color:#000}:host ::ng-deep .CodeMirror-guttermarker-subtle{color:#999}:host ::ng-deep .CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}:host ::ng-deep .CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}:host ::ng-deep .cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}:host ::ng-deep .cm-fat-cursor div.CodeMirror-cursors{z-index:1}:host ::ng-deep .cm-fat-cursor .CodeMirror-line::selection,:host ::ng-deep .cm-fat-cursor .CodeMirror-line>span::selection,:host ::ng-deep .cm-fat-cursor .CodeMirror-line>span>span::selection{background:0 0}:host ::ng-deep .cm-fat-cursor .CodeMirror-line::-moz-selection,:host ::ng-deep .cm-fat-cursor .CodeMirror-line>span::-moz-selection,:host ::ng-deep .cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:0 0}:host ::ng-deep .cm-fat-cursor{caret-color:transparent}@keyframes blink{50%{background-color:transparent}}:host ::ng-deep .cm-tab{display:inline-block;text-decoration:inherit}:host ::ng-deep .CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}:host ::ng-deep .CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}:host ::ng-deep .cm-s-default .cm-header{color:#00f}:host ::ng-deep .cm-s-default .cm-quote{color:#090}:host ::ng-deep .cm-negative{color:#d44}:host ::ng-deep .cm-positive{color:#292}:host ::ng-deep .cm-header,:host ::ng-deep .cm-strong{font-weight:700}:host ::ng-deep .cm-em{font-style:italic}:host ::ng-deep .cm-link{text-decoration:underline}:host ::ng-deep .cm-strikethrough{text-decoration:line-through}:host ::ng-deep .cm-s-default .cm-keyword{color:#708}:host ::ng-deep .cm-s-default .cm-atom{color:#219}:host ::ng-deep .cm-s-default .cm-number{color:#164}:host ::ng-deep .cm-s-default .cm-def{color:#00f}:host ::ng-deep .cm-s-default .cm-variable-2{color:#05a}:host ::ng-deep .cm-s-default .cm-type,:host ::ng-deep .cm-s-default .cm-variable-3{color:#085}:host ::ng-deep .cm-s-default .cm-comment{color:#a50}:host ::ng-deep .cm-s-default .cm-string{color:#a11}:host ::ng-deep .cm-s-default .cm-string-2{color:#f50}:host ::ng-deep .cm-s-default .cm-meta{color:#555}:host ::ng-deep .cm-s-default .cm-qualifier{color:#555}:host ::ng-deep .cm-s-default .cm-builtin{color:#30a}:host ::ng-deep .cm-s-default .cm-bracket{color:#997}:host ::ng-deep .cm-s-default .cm-tag{color:#170}:host ::ng-deep .cm-s-default .cm-attribute{color:#00c}:host ::ng-deep .cm-s-default .cm-hr{color:#999}:host ::ng-deep .cm-s-default .cm-link{color:#00c}:host ::ng-deep .cm-s-default .cm-error{color:red}:host ::ng-deep .cm-invalidchar{color:red}:host ::ng-deep .CodeMirror-composing{border-bottom:2px solid}:host ::ng-deep div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}:host ::ng-deep div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}:host ::ng-deep .CodeMirror-matchingtag{background:rgba(255,150,0,.3)}:host ::ng-deep .CodeMirror-activeline-background{background:#e8f2ff}:host ::ng-deep .CodeMirror{position:relative;overflow:hidden;background:#fff}:host ::ng-deep .CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:0;position:relative}:host ::ng-deep .CodeMirror-sizer{position:relative;border-right:50px solid transparent}:host ::ng-deep .CodeMirror-gutter-filler,:host ::ng-deep .CodeMirror-hscrollbar,:host ::ng-deep .CodeMirror-scrollbar-filler,:host ::ng-deep .CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:0}:host ::ng-deep .CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}:host ::ng-deep .CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}:host ::ng-deep .CodeMirror-scrollbar-filler{right:0;bottom:0}:host ::ng-deep .CodeMirror-gutter-filler{left:0;bottom:0}:host ::ng-deep .CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}:host ::ng-deep .CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}:host ::ng-deep .CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important}:host ::ng-deep .CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}:host ::ng-deep .CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}:host ::ng-deep .CodeMirror-gutter-wrapper ::selection{background-color:transparent}:host ::ng-deep .CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}:host ::ng-deep .CodeMirror-lines{cursor:text;min-height:1px}:host ::ng-deep .CodeMirror pre.CodeMirror-line,:host ::ng-deep .CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}:host ::ng-deep .CodeMirror-wrap pre.CodeMirror-line,:host ::ng-deep .CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}:host ::ng-deep .CodeMirror-linebackground{position:absolute;inset:0;z-index:0}:host ::ng-deep .CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}:host ::ng-deep .CodeMirror-code{outline:0}:host ::ng-deep .CodeMirror-gutter,:host ::ng-deep .CodeMirror-gutters,:host ::ng-deep .CodeMirror-linenumber,:host ::ng-deep .CodeMirror-scroll,:host ::ng-deep .CodeMirror-sizer{box-sizing:content-box}:host ::ng-deep .CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}:host ::ng-deep .CodeMirror-cursor{position:absolute;pointer-events:none}:host ::ng-deep .CodeMirror-measure pre{position:static}:host ::ng-deep div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}:host ::ng-deep div.CodeMirror-dragcursors{visibility:visible}:host ::ng-deep .CodeMirror-focused div.CodeMirror-cursors{visibility:visible}:host ::ng-deep .CodeMirror-selected{background:#d9d9d9}:host ::ng-deep .CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}:host ::ng-deep .CodeMirror-crosshair{cursor:crosshair}:host ::ng-deep .CodeMirror-line::selection,:host ::ng-deep .CodeMirror-line>span::selection,:host ::ng-deep .CodeMirror-line>span>span::selection{background:#d7d4f0}:host ::ng-deep .CodeMirror-line::-moz-selection,:host ::ng-deep .CodeMirror-line>span::-moz-selection,:host ::ng-deep .CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}:host ::ng-deep .cm-searching{background-color:#ffa;background-color:#ff06}:host ::ng-deep .cm-force-border{padding-right:.1px}@media print{:host ::ng-deep .CodeMirror div.CodeMirror-cursors{visibility:hidden}}:host ::ng-deep .cm-tab-wrap-hack:after{content:\"\"}:host ::ng-deep span.CodeMirror-selectedtext{background:0 0}:host ::ng-deep .EasyMDEContainer{display:block}:host ::ng-deep .CodeMirror-rtl pre{direction:rtl}:host ::ng-deep .EasyMDEContainer.sided--no-fullscreen{display:flex;flex-direction:row;flex-wrap:wrap}:host ::ng-deep .EasyMDEContainer .CodeMirror{box-sizing:border-box;height:auto;border:1px solid #ddd;border-bottom-left-radius:4px;border-bottom-right-radius:4px;padding:10px;font:inherit;z-index:0;word-wrap:break-word}:host ::ng-deep .EasyMDEContainer .CodeMirror-scroll{cursor:text}:host ::ng-deep .EasyMDEContainer .CodeMirror-fullscreen{background:#fff;position:fixed!important;inset:50px 0 0;height:auto;z-index:8;border-right:none!important;border-bottom-right-radius:0!important}:host ::ng-deep .EasyMDEContainer .CodeMirror-sided{width:50%!important}:host ::ng-deep .EasyMDEContainer.sided--no-fullscreen .CodeMirror-sided{border-right:none!important;border-bottom-right-radius:0;position:relative;flex:1 1 auto}:host ::ng-deep .EasyMDEContainer .CodeMirror-placeholder{opacity:.5}:host ::ng-deep .EasyMDEContainer .CodeMirror-focused .CodeMirror-selected{background:#d9d9d9}:host ::ng-deep .editor-toolbar{position:relative;-webkit-user-select:none;-o-user-select:none;user-select:none;padding:9px 10px;border-top:1px solid #bbb;border-left:1px solid #bbb;border-right:1px solid #bbb;border-top-left-radius:4px;border-top-right-radius:4px}:host ::ng-deep .editor-toolbar.fullscreen{width:100%;height:50px;padding-top:10px;padding-bottom:10px;box-sizing:border-box;background:#fff;border:0;position:fixed;top:0;left:0;opacity:1;z-index:9}:host ::ng-deep .editor-toolbar.fullscreen:before{width:20px;height:50px;background:linear-gradient(to right,#fff 0,rgba(255,255,255,0) 100%);position:fixed;top:0;left:0;margin:0;padding:0}:host ::ng-deep .editor-toolbar.fullscreen:after{width:20px;height:50px;background:linear-gradient(to right,rgba(255,255,255,0) 0,#fff 100%);position:fixed;top:0;right:0;margin:0;padding:0}:host ::ng-deep .EasyMDEContainer.sided--no-fullscreen .editor-toolbar{width:100%}:host ::ng-deep .editor-toolbar .easymde-dropdown,:host ::ng-deep .editor-toolbar button{background:0 0;display:inline-block;text-align:center;text-decoration:none!important;height:30px;margin:0;padding:0;border:1px solid transparent;border-radius:3px;cursor:pointer}:host ::ng-deep .editor-toolbar button{width:30px}:host ::ng-deep .editor-toolbar button.active,:host ::ng-deep .editor-toolbar button:hover{background:#fcfcfc;border-color:#95a5a6}:host ::ng-deep .editor-toolbar i.separator{display:inline-block;width:0;border-left:1px solid #d9d9d9;border-right:1px solid #fff;color:transparent;text-indent:-10px;margin:0 6px}:host ::ng-deep .editor-toolbar button:after{font-family:Arial,Helvetica Neue,Helvetica,sans-serif;font-size:65%;vertical-align:text-bottom;position:relative;top:2px}:host ::ng-deep .editor-toolbar button.heading-1:after{content:\"1\"}:host ::ng-deep .editor-toolbar button.heading-2:after{content:\"2\"}:host ::ng-deep .editor-toolbar button.heading-3:after{content:\"3\"}:host ::ng-deep .editor-toolbar button.heading-bigger:after{content:\"\\25b2\"}:host ::ng-deep .editor-toolbar button.heading-smaller:after{content:\"\\25bc\"}:host ::ng-deep .editor-toolbar.disabled-for-preview button:not(.no-disable){opacity:.6;pointer-events:none}@media only screen and (max-width: 700px){:host ::ng-deep .editor-toolbar i.no-mobile{display:none}}:host ::ng-deep .editor-statusbar{padding:8px 10px;font-size:12px;color:#959694;text-align:right}:host ::ng-deep .EasyMDEContainer.sided--no-fullscreen .editor-statusbar{width:100%}:host ::ng-deep .editor-statusbar span{display:inline-block;min-width:4em;margin-left:1em}:host ::ng-deep .editor-statusbar .lines:before{content:\"lines: \"}:host ::ng-deep .editor-statusbar .words:before{content:\"words: \"}:host ::ng-deep .editor-statusbar .characters:before{content:\"characters: \"}:host ::ng-deep .editor-preview-full{position:absolute;width:100%;height:100%;top:0;left:0;z-index:7;overflow:auto;display:none;box-sizing:border-box}:host ::ng-deep .editor-preview-side{position:fixed;bottom:0;width:50%;top:50px;right:0;z-index:9;overflow:auto;display:none;box-sizing:border-box;border:1px solid #ddd;word-wrap:break-word}:host ::ng-deep .editor-preview-active-side{display:block}:host ::ng-deep .EasyMDEContainer.sided--no-fullscreen .editor-preview-active-side{flex:1 1 auto;height:auto;position:static}:host ::ng-deep .editor-preview-active{display:block}:host ::ng-deep .editor-preview{padding:10px;background:#fafafa}:host ::ng-deep .editor-preview>p{margin-top:0}:host ::ng-deep .editor-preview pre{background:#eee;margin-bottom:10px}:host ::ng-deep .editor-preview table td,:host ::ng-deep .editor-preview table th{border:1px solid #ddd;padding:5px}:host ::ng-deep .cm-s-easymde .cm-tag{color:#63a35c}:host ::ng-deep .cm-s-easymde .cm-attribute{color:#795da3}:host ::ng-deep .cm-s-easymde .cm-string{color:#183691}:host ::ng-deep .cm-s-easymde .cm-header-1{font-size:200%;line-height:200%}:host ::ng-deep .cm-s-easymde .cm-header-2{font-size:160%;line-height:160%}:host ::ng-deep .cm-s-easymde .cm-header-3{font-size:125%;line-height:125%}:host ::ng-deep .cm-s-easymde .cm-header-4{font-size:110%;line-height:110%}:host ::ng-deep .cm-s-easymde .cm-comment{background:rgba(0,0,0,.05);border-radius:2px}:host ::ng-deep .cm-s-easymde .cm-link{color:#7f8c8d}:host ::ng-deep .cm-s-easymde .cm-url{color:#aab2b3}:host ::ng-deep .cm-s-easymde .cm-quote{color:#7f8c8d;font-style:italic}:host ::ng-deep .editor-toolbar .easymde-dropdown{position:relative;background:linear-gradient(to bottom right,#fff 0,#fff 84%,#333 50%,#333 100%);border-radius:0;border:1px solid #fff}:host ::ng-deep .editor-toolbar .easymde-dropdown:hover{background:linear-gradient(to bottom right,#fff 0,#fff 84%,#333 50%,#333 100%)}:host ::ng-deep .easymde-dropdown-content{display:block;visibility:hidden;position:absolute;background-color:#f9f9f9;box-shadow:0 8px 16px #0003;padding:8px;z-index:2;top:30px}:host ::ng-deep .easymde-dropdown:active .easymde-dropdown-content,:host ::ng-deep .easymde-dropdown:focus .easymde-dropdown-content,:host ::ng-deep .easymde-dropdown:focus-within .easymde-dropdown-content{visibility:visible}:host ::ng-deep span[data-img-src]:after{content:\"\";background-image:var(--bg-image);display:block;max-height:100%;max-width:100%;background-size:contain;height:0;padding-top:var(--height);width:var(--width);background-repeat:no-repeat}:host ::ng-deep .CodeMirror .cm-spell-error:not(.cm-url):not(.cm-comment):not(.cm-tag):not(.cm-word){background:rgba(255,0,0,.15)}\n"] }]
|
|
77
|
-
}], ctorParameters: function () { return []; }, propDecorators: { formControlRef: [{
|
|
78
|
-
type: Input
|
|
79
|
-
}], textAreaField: [{
|
|
80
|
-
type: Input
|
|
81
|
-
}], textarea: [{
|
|
82
|
-
type: ViewChild,
|
|
83
|
-
args: ['easymde', { static: true }]
|
|
84
|
-
}] } });
|
|
85
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWFzeW1kZS13cmFwcGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL3RleHQtZmllbGQvcmljaC10ZXh0YXJlYS1maWVsZC9lYXN5bWRlLXdyYXBwZXIvZWFzeW1kZS13cmFwcGVyLmNvb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HtcbiAgICAgICAgICAgIGlmICh0aGlzLl9lYXN5TURFKSB7XG4gICAgICAgICAgICAgICAgaWYgKCF0aGlzLl9mcm9tRWRpdG9yKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuX2Zyb21FZGl0b3IgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLl9lYXN5TURFLnZhbHVlKHZhbHVlKTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5fZnJvbUVkaXRvciA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBfb25DaGFuZ2UgPSAoKTogdm9pZCA9PiB7XG4gICAgICAgIHRoaXMuX2Zyb21FZGl0b3IgPSB0cnVlO1xuICAgICAgICB0aGlzLndyaXRlVmFsdWUodGhpcy5fZWFzeU1ERT8udmFsdWUoKSk7XG4gICAgfTtcblxuICAgIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgICAgICB0aGlzLl9lYXN5TURFPy5jb2RlbWlycm9yLm9mZignY2hhbmdlJywgdGhpcy5fb25DaGFuZ2UpO1xuICAgIH1cbn1cbiJdfQ==
|
package/esm2020/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
-
import { AbstractRichTextareaFieldComponent, 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 "./easymde-wrapper/easymde-wrapper.component";
|
|
6
|
-
import * as i3 from "@covalent/markdown";
|
|
7
|
-
import * as i4 from "@angular/common";
|
|
8
|
-
import * as i5 from "@angular/flex-layout/extended";
|
|
9
|
-
import * as i6 from "@angular/material/form-field";
|
|
10
|
-
import * as i7 from "@angular/forms";
|
|
11
|
-
export class RichTextareaFieldComponent extends AbstractRichTextareaFieldComponent {
|
|
12
|
-
constructor(_translate, dataFieldPortalData) {
|
|
13
|
-
super(_translate, dataFieldPortalData);
|
|
14
|
-
this._translate = _translate;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
RichTextareaFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RichTextareaFieldComponent, deps: [{ token: i1.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
-
RichTextareaFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: RichTextareaFieldComponent, selector: "nc-rich-textarea-field", usesInheritance: true, ngImport: i0, template: "<div class=\"height-100\" [ngClass]=\"{'padding-bottom-custom': !formControlRef.disabled}\">\n <nc-easymde-wrapper *ngIf=\"!formControlRef.disabled\" [formControlRef]=\"formControlRef\" [textAreaField]=\"dataField\"></nc-easymde-wrapper>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n\n <input type=\"hidden\" [formControl]=\"formControlRef\">\n\n <div [ngClass]=\"{'border': dataField.materialAppearance === 'outline'}\" *ngIf=\"formControlRef.disabled\">\n <td-markdown>{{dataField.value}}</td-markdown>\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}.padding-bottom-custom{padding-bottom:8px}\n"], components: [{ type: i2.EasymdeWrapperComponent, selector: "nc-easymde-wrapper", inputs: ["formControlRef", "textAreaField"] }, { type: i3.TdMarkdownComponent, selector: "td-markdown", inputs: ["content", "simpleLineBreaks", "hostedUrl", "anchor"], outputs: ["contentReady"] }], 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.MatError, selector: "mat-error", inputs: ["id"] }, { 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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: RichTextareaFieldComponent, decorators: [{
|
|
20
|
-
type: Component,
|
|
21
|
-
args: [{ selector: 'nc-rich-textarea-field', template: "<div class=\"height-100\" [ngClass]=\"{'padding-bottom-custom': !formControlRef.disabled}\">\n <nc-easymde-wrapper *ngIf=\"!formControlRef.disabled\" [formControlRef]=\"formControlRef\" [textAreaField]=\"dataField\"></nc-easymde-wrapper>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n\n <input type=\"hidden\" [formControl]=\"formControlRef\">\n\n <div [ngClass]=\"{'border': dataField.materialAppearance === 'outline'}\" *ngIf=\"formControlRef.disabled\">\n <td-markdown>{{dataField.value}}</td-markdown>\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}.padding-bottom-custom{padding-bottom:8px}\n"] }]
|
|
22
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: undefined, decorators: [{
|
|
23
|
-
type: Optional
|
|
24
|
-
}, {
|
|
25
|
-
type: Inject,
|
|
26
|
-
args: [DATA_FIELD_PORTAL_DATA]
|
|
27
|
-
}] }]; } });
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaC10ZXh0YXJlYS1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy90ZXh0LWZpZWxkL3JpY2gtdGV4dGFyZWEtZmllbGQvcmljaC10ZXh0YXJlYS1maWVsZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy90ZXh0LWZpZWxkL3JpY2gtdGV4dGFyZWEtZmllbGQvcmljaC10ZXh0YXJlYS1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDMUQsT0FBTyxFQUNILGtDQUFrQyxFQUNsQyxzQkFBc0IsRUFHekIsTUFBTSwwQkFBMEIsQ0FBQzs7Ozs7Ozs7O0FBUWxDLE1BQU0sT0FBTywwQkFBMkIsU0FBUSxrQ0FBa0M7SUFDOUUsWUFBc0IsVUFBNEIsRUFDTSxtQkFBdUQ7UUFDM0csS0FBSyxDQUFDLFVB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ad-field.component.mjs
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { Component, HostListener, Inject, Optional, ViewChild } from '@angular/core';
|
|
2
|
-
import { DATA_FIELD_PORTAL_DATA, AbstractSimpleTextFieldComponent } from '@netgrif/components-core';
|
|
3
|
-
import { filter } from 'rxjs/operators';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@ngx-translate/core";
|
|
6
|
-
import * as i2 from "@angular/material/button";
|
|
7
|
-
import * as i3 from "@angular/common";
|
|
8
|
-
import * as i4 from "@angular/flex-layout/extended";
|
|
9
|
-
export class SignaturePadFieldComponent extends AbstractSimpleTextFieldComponent {
|
|
10
|
-
constructor(_translate, _ngZone, dataFieldPortalData) {
|
|
11
|
-
super(_translate, dataFieldPortalData);
|
|
12
|
-
this._translate = _translate;
|
|
13
|
-
this._ngZone = _ngZone;
|
|
14
|
-
this.aspectRatio = 0.2;
|
|
15
|
-
}
|
|
16
|
-
ngAfterViewInit() {
|
|
17
|
-
setTimeout(() => {
|
|
18
|
-
this.signPadElement = this.signPad.nativeElement;
|
|
19
|
-
this.context = this.signPadElement.getContext('2d');
|
|
20
|
-
this.canvasWidth = this.canvasDiv.nativeElement.clientWidth - 2;
|
|
21
|
-
this.canvasHeight = this.canvasWidth * this.aspectRatio;
|
|
22
|
-
this.formControlRef.valueChanges.pipe(filter(value => value !== this.signatureImg)).subscribe(value => {
|
|
23
|
-
this.signatureImg = value;
|
|
24
|
-
const img = new Image();
|
|
25
|
-
img.onload = () => {
|
|
26
|
-
this.context.drawImage(img, 0, 0, this.canvasWidth, this.canvasHeight);
|
|
27
|
-
};
|
|
28
|
-
img.src = this.signatureImg;
|
|
29
|
-
});
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
onMouseDown(e) {
|
|
33
|
-
this.isDrawing = true;
|
|
34
|
-
const coords = this.relativeCoords(e);
|
|
35
|
-
this.context.moveTo(coords.x, coords.y);
|
|
36
|
-
}
|
|
37
|
-
onMouseUp(e) {
|
|
38
|
-
this.isDrawing = false;
|
|
39
|
-
}
|
|
40
|
-
mouseUp(e) {
|
|
41
|
-
this.isDrawing = false;
|
|
42
|
-
this.saveSignature();
|
|
43
|
-
}
|
|
44
|
-
onMouseMove(e) {
|
|
45
|
-
if (this.isDrawing) {
|
|
46
|
-
const coords = this.relativeCoords(e);
|
|
47
|
-
this.context.lineTo(coords.x, coords.y);
|
|
48
|
-
this.context.stroke();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
clearSignature() {
|
|
52
|
-
this.signatureImg = undefined;
|
|
53
|
-
this.context.clearRect(0, 0, this.signPadElement.width, this.signPadElement.height);
|
|
54
|
-
this.context.beginPath();
|
|
55
|
-
this.formControlRef.setValue(undefined);
|
|
56
|
-
}
|
|
57
|
-
saveSignature() {
|
|
58
|
-
this.signatureImg = this.signPadElement.toDataURL('image/png');
|
|
59
|
-
this.formControlRef.setValue(this.signatureImg);
|
|
60
|
-
}
|
|
61
|
-
relativeCoords(event) {
|
|
62
|
-
const bounds = event.target.getBoundingClientRect();
|
|
63
|
-
const cords = {
|
|
64
|
-
clientX: event.clientX || event.changedTouches[0].clientX,
|
|
65
|
-
clientY: event.clientY || event.changedTouches[0].clientY
|
|
66
|
-
};
|
|
67
|
-
const x = cords.clientX - bounds.left;
|
|
68
|
-
const y = cords.clientY - bounds.top;
|
|
69
|
-
return { x, y };
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
SignaturePadFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SignaturePadFieldComponent, deps: [{ token: i1.TranslateService }, { token: i0.NgZone }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
73
|
-
SignaturePadFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: SignaturePadFieldComponent, selector: "nc-signature-pad-field", host: { listeners: { "document:mouseup": "onMouseUp($event)", "document:blur": "mouseUp($event)" } }, viewQueries: [{ propertyName: "signPad", first: true, predicate: ["signPad"], descendants: true }, { propertyName: "canvasDiv", first: true, predicate: ["canvasDiv"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"canvas-div\" #canvasDiv [ngClass]=\"{'canvas-disabled': formControlRef.disabled}\" (blur)=\"mouseUp($event)\">\n <canvas (mousedown)=\"onMouseDown($event)\" (mousemove)=\"onMouseMove($event)\" (touchmove)=\"onMouseMove($event)\"\n (touchstart)=\"onMouseDown($event)\" #signPad width=\"{{canvasWidth}}\" (blur)=\"mouseUp($event)\" height=\"{{canvasHeight}}\"\n class=\"canvas\" [ngClass]=\"{'canvas-background-disabled': formControlRef.disabled}\">\n </canvas>\n</div>\n<button mat-stroked-button color=\"primary\" *ngIf=\"!formControlRef.disabled\" (click)=\"clearSignature()\">{{'dataField.clear' | translate }}</button>\n<button mat-stroked-button *ngIf=\"!formControlRef.disabled\" (click)=\"saveSignature()\">{{'dataField.save' | translate }}</button>\n\n", styles: [".canvas-div{width:100%;height:100%}.canvas{border:1px solid #64748B;border-radius:6px;-webkit-text-stroke-color:#000}.canvas-disabled{cursor:not-allowed;pointer-events:none}.canvas-background-disabled{background-color:#cbd5e1;pointer-events:none}\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"] }], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i1.TranslatePipe } });
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SignaturePadFieldComponent, decorators: [{
|
|
75
|
-
type: Component,
|
|
76
|
-
args: [{ selector: 'nc-signature-pad-field', template: "<div class=\"canvas-div\" #canvasDiv [ngClass]=\"{'canvas-disabled': formControlRef.disabled}\" (blur)=\"mouseUp($event)\">\n <canvas (mousedown)=\"onMouseDown($event)\" (mousemove)=\"onMouseMove($event)\" (touchmove)=\"onMouseMove($event)\"\n (touchstart)=\"onMouseDown($event)\" #signPad width=\"{{canvasWidth}}\" (blur)=\"mouseUp($event)\" height=\"{{canvasHeight}}\"\n class=\"canvas\" [ngClass]=\"{'canvas-background-disabled': formControlRef.disabled}\">\n </canvas>\n</div>\n<button mat-stroked-button color=\"primary\" *ngIf=\"!formControlRef.disabled\" (click)=\"clearSignature()\">{{'dataField.clear' | translate }}</button>\n<button mat-stroked-button *ngIf=\"!formControlRef.disabled\" (click)=\"saveSignature()\">{{'dataField.save' | translate }}</button>\n\n", styles: [".canvas-div{width:100%;height:100%}.canvas{border:1px solid #64748B;border-radius:6px;-webkit-text-stroke-color:#000}.canvas-disabled{cursor:not-allowed;pointer-events:none}.canvas-background-disabled{background-color:#cbd5e1;pointer-events:none}\n"] }]
|
|
77
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
78
|
-
type: Optional
|
|
79
|
-
}, {
|
|
80
|
-
type: Inject,
|
|
81
|
-
args: [DATA_FIELD_PORTAL_DATA]
|
|
82
|
-
}] }]; }, propDecorators: { signPad: [{
|
|
83
|
-
type: ViewChild,
|
|
84
|
-
args: ['signPad', { static: false }]
|
|
85
|
-
}], canvasDiv: [{
|
|
86
|
-
type: ViewChild,
|
|
87
|
-
args: ['canvasDiv']
|
|
88
|
-
}], onMouseUp: [{
|
|
89
|
-
type: HostListener,
|
|
90
|
-
args: ['document:mouseup', ['$event']]
|
|
91
|
-
}], mouseUp: [{
|
|
92
|
-
type: HostListener,
|
|
93
|
-
args: ['document:blur', ['$event']]
|
|
94
|
-
}] } });
|
|
95
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmF0dXJlLXBhZC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy90ZXh0LWZpZWxkL3NpZ25hdHVyZS1wYWQtZmllbGQvc2lnbmF0dXJlLXBhZC1maWVsZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy90ZXh0LWZpZWxkL3NpZ25hdHVyZS1wYWQtZmllbGQvc2lnbmF0dXJlLXBhZC1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUgsU0FBUyxFQUVULFlBQVksRUFDWixNQUFNLEVBRU4sUUFBUSxFQUNSLFNBQVMsRUFDWixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQ0gsc0JBQXNCLEVBR3RCLGdDQUFnQyxFQUNuQyxNQUFNLDBCQUEwQixDQUFDO0FBQ2xDLE9BQU8sRUFBQyxNQUFNLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQzs7Oz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GNsaWNrKT1cInNhdmVTaWduYXR1cmUoKVwiPnt7J2RhdGFGaWVsZC5zYXZlJyB8IHRyYW5zbGF0ZSB9fTwvYnV0dG9uPlxuXG4iXX0=
|
package/esm2020/lib/data-fields/text-field/simple-text-field/simple-text-field.component.mjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
-
import { AbstractSimpleTextFieldComponent, 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/common";
|
|
7
|
-
import * as i4 from "@angular/material/input";
|
|
8
|
-
import * as i5 from "@angular/forms";
|
|
9
|
-
import * as i6 from "@angular/flex-layout/extended";
|
|
10
|
-
export class SimpleTextFieldComponent extends AbstractSimpleTextFieldComponent {
|
|
11
|
-
constructor(_translate, dataFieldPortalData) {
|
|
12
|
-
super(_translate, dataFieldPortalData);
|
|
13
|
-
this._translate = _translate;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
SimpleTextFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SimpleTextFieldComponent, deps: [{ token: i1.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
-
SimpleTextFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: SimpleTextFieldComponent, selector: "nc-simple-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 <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"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.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.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i2.MatError, selector: "mat-error", inputs: ["id"] }] });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SimpleTextFieldComponent, decorators: [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{ selector: 'nc-simple-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 <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"] }]
|
|
21
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: undefined, decorators: [{
|
|
22
|
-
type: Optional
|
|
23
|
-
}, {
|
|
24
|
-
type: Inject,
|
|
25
|
-
args: [DATA_FIELD_PORTAL_DATA]
|
|
26
|
-
}] }]; } });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ltcGxlLXRleHQtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvdGV4dC1maWVsZC9zaW1wbGUtdGV4dC1maWVsZC9zaW1wbGUtdGV4dC1maWVsZC5jb21wb25lbnQudHM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AgICAgICAgIFtyZXF1aXJlZF09XCJkYXRhRmllbGQuYmVoYXZpb3IucmVxdWlyZWRcIlxuICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xSZWZcIj5cbiAgICA8bWF0LWhpbnQgW25nQ2xhc3NdPVwieydtYXQtaGludC1kaXNhYmxlZCc6IGZvcm1Db250cm9sUmVmLmRpc2FibGVkfVwiPnt7ZGF0YUZpZWxkLmRlc2NyaXB0aW9ufX08L21hdC1oaW50PlxuICAgIDxtYXQtZXJyb3IgKm5nSWY9XCJkYXRhRmllbGQuaXNJbnZhbGlkKGZvcm1Db250cm9sUmVmKVwiPnt7Z2V0RXJyb3JNZXNzYWdlKCl9fTwvbWF0LWVycm9yPlxuPC9tYXQtZm9ybS1maWVsZD5cbiJdfQ==
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
-
import { AbstractTextareaFieldComponent, 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/common";
|
|
7
|
-
import * as i4 from "@angular/material/input";
|
|
8
|
-
import * as i5 from "@angular/cdk/text-field";
|
|
9
|
-
import * as i6 from "@angular/forms";
|
|
10
|
-
import * as i7 from "@angular/flex-layout/extended";
|
|
11
|
-
export class TextareaFieldComponent extends AbstractTextareaFieldComponent {
|
|
12
|
-
constructor(_translate, _ngZone, dataFieldPortalData) {
|
|
13
|
-
super(_translate, _ngZone, dataFieldPortalData);
|
|
14
|
-
this._translate = _translate;
|
|
15
|
-
this._ngZone = _ngZone;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
TextareaFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TextareaFieldComponent, deps: [{ token: i1.TranslateService }, { token: i0.NgZone }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
-
TextareaFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TextareaFieldComponent, selector: "nc-textarea-field", usesInheritance: true, ngImport: i0, template: "<mat-form-field [appearance]=\"dataField.materialAppearance\"\n floatLabel=\"always\"\n class=\"full-width\"\n color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <textarea matInput\n #textArea\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\"\n [formControl]=\"formControlRef\"\n [ngStyle]=\"{'min-height': getHeight()+'px', 'height': getHeight()+'px'}\"\n #dynamicTextArea=\"cdkTextareaAutosize\"\n cdkTextareaAutosize\n cdkAutosizeMinRows=\"1\"></textarea>\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\n\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"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.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.CdkTextareaAutosize, selector: "textarea[cdkTextareaAutosize]", inputs: ["cdkAutosizeMinRows", "cdkAutosizeMaxRows", "cdkTextareaAutosize", "placeholder"], exportAs: ["cdkTextareaAutosize"] }, { 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.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i7.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.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"] }] });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TextareaFieldComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{ selector: 'nc-textarea-field', template: "<mat-form-field [appearance]=\"dataField.materialAppearance\"\n floatLabel=\"always\"\n class=\"full-width\"\n color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <textarea matInput\n #textArea\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\"\n [formControl]=\"formControlRef\"\n [ngStyle]=\"{'min-height': getHeight()+'px', 'height': getHeight()+'px'}\"\n #dynamicTextArea=\"cdkTextareaAutosize\"\n cdkTextareaAutosize\n cdkAutosizeMinRows=\"1\"></textarea>\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\n\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
|
|
23
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
24
|
-
type: Optional
|
|
25
|
-
}, {
|
|
26
|
-
type: Inject,
|
|
27
|
-
args: [DATA_FIELD_PORTAL_DATA]
|
|
28
|
-
}] }]; } });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9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PVwiZnVsbC13aWR0aFwiXG4gICAgICAgICAgICAgICAgY29sb3I9XCJwcmltYXJ5XCI+XG4gICAgPG1hdC1sYWJlbCAqbmdJZj1cIiFzaG93TGFyZ2VMYXlvdXQudmFsdWVcIj57e2RhdGFGaWVsZC50aXRsZX19PC9tYXQtbGFiZWw+XG4gICAgPHRleHRhcmVhIG1hdElucHV0XG4gICAgICAgICAgICAgICN0ZXh0QXJlYVxuICAgICAgICAgICAgICBbcGxhY2Vob2xkZXJdPVwiZGF0YUZpZWxkLnBsYWNlaG9sZGVyXCJcbiAgICAgICAgICAgICAgW3JlcXVpcmVkXT1cImRhdGFGaWVsZC5iZWhhdmlvci5yZXF1aXJlZFwiXG4gICAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFJlZlwiXG4gICAgICAgICAgICAgIFtuZ1N0eWxlXT1cInsnbWluLWhlaWdodCc6IGdldEhlaWdodCgpKydweCcsICdoZWlnaHQnOiBnZXRIZWlnaHQoKSsncHgnfVwiXG4gICAgICAgICAgICAgICNkeW5hbWljVGV4dEFyZWE9XCJjZGtUZXh0YXJlYUF1dG9zaXplXCJcbiAgICAgICAgICAgICAgY2RrVGV4dGFyZWFBdXRvc2l6ZVxuICAgICAgICAgICAgICBjZGtBdXRvc2l6ZU1pblJvd3M9XCIxXCI+PC90ZXh0YXJlYT5cbiAgICA8bWF0LWhpbnQgW25nQ2xhc3NdPVwieydtYXQtaGludC1kaXNhYmxlZCc6IGZvcm1Db250cm9sUmVmLmRpc2FibGVkfVwiPnt7ZGF0YUZpZWxkLmRlc2NyaXB0aW9ufX08L21hdC1oaW50PlxuICAgIDxtYXQtZXJyb3IgKm5nSWY9XCJkYXRhRmllbGQuaXNJbnZhbGlkKGZvcm1Db250cm9sUmVmKVwiPnt7Z2V0RXJyb3JNZXNzYWdlKCl9fTwvbWF0LWVycm9yPlxuPC9tYXQtZm9ybS1maWVsZD5cblxuXG4iXX0=
|
package/esm2020/lib/data-fields/user-field/user-default-field/user-default-field.component.mjs
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
-
import { DATA_FIELD_PORTAL_DATA, AbstractUserDefaultFieldComponent } from '@netgrif/components-core';
|
|
3
|
-
import { UserAssignDialogComponent } from '../../../dialog/user-assign-dialog/user-assign-dialog.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/material/dialog";
|
|
6
|
-
import * as i2 from "@netgrif/components-core";
|
|
7
|
-
import * as i3 from "@ngx-translate/core";
|
|
8
|
-
import * as i4 from "../../required-label/required-label.component";
|
|
9
|
-
import * as i5 from "@angular/material/button";
|
|
10
|
-
import * as i6 from "@angular/material/icon";
|
|
11
|
-
import * as i7 from "@angular/flex-layout/flex";
|
|
12
|
-
import * as i8 from "@angular/common";
|
|
13
|
-
import * as i9 from "@angular/flex-layout/extended";
|
|
14
|
-
import * as i10 from "@angular/material/tooltip";
|
|
15
|
-
import * as i11 from "@angular/material/form-field";
|
|
16
|
-
export class UserDefaultFieldComponent extends AbstractUserDefaultFieldComponent {
|
|
17
|
-
constructor(dialog, snackbar, translate, dataFieldPortalData) {
|
|
18
|
-
super(dialog, snackbar, translate, dataFieldPortalData);
|
|
19
|
-
}
|
|
20
|
-
selectUser() {
|
|
21
|
-
super.selectAbstractUser(UserAssignDialogComponent);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
UserDefaultFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: UserDefaultFieldComponent, deps: [{ token: i1.MatDialog }, { token: i2.SnackBarService }, { token: i3.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
-
UserDefaultFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: UserDefaultFieldComponent, selector: "nc-user-default-field", usesInheritance: true, ngImport: i0, template: "<div fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <div fxFlex=\"100\" class=\"netgrif-user-padding\">\n <div #userLabel class=\"user-field-label\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\">\n {{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"!dataField.disabled\"></nc-required-label>\n </div>\n <div class=\"form-input button-icon-input full-width\" fxLayout=\"row\" fxLayoutAlign=\"start center\"\n [ngClass]=\"{'form-input-disabled': formControlRef.disabled, 'form-input-error': dataField.isInvalid(formControlRef)}\"\n [ngStyle]=\"{\n '-webkit-clip-path': getCutProperty(userLabel),\n 'clip-path': getCutProperty(userLabel)\n }\">\n <button mat-icon-button\n *ngIf=\"!!dataField.value\"\n [disabled]=\"formControlRef.disabled\"\n color=\"primary\"\n (click)=\"selectUser()\"\n [matTooltip]=\"'dataField.file.clickToUpload' | translate\"\n [class.do-not-click]=\"formControlRef.disabled\">\n <mat-icon (click)='deleteUser()' color='warn' *ngIf='!formControlRef.disabled'>close</mat-icon>\n </button>\n <button mat-icon-button\n *ngIf=\"!dataField.value\"\n [disabled]=\"formControlRef.disabled\"\n color=\"primary\"\n (click)=\"selectUser()\"\n [matTooltip]=\"'dataField.file.clickToUpload' | translate\"\n [class.do-not-click]=\"formControlRef.disabled\">\n <mat-icon>person_add</mat-icon>\n </button>\n <span fxFlex class=\"input-name-ellipsis\" [ngClass]=\"{'input-placeholder': !!dataField.value, 'no-cursor': !!dataField.value && formControlRef.disabled}\">\n {{!!dataField.value ? dataField.value.fullName : 'dataField.user.selectUser' | translate}}</span>\n </div>\n <mat-hint class=\"user-hint-error\" [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\"\n *ngIf=\"!dataField.isInvalid(formControlRef) && hasHint()\">{{dataField.description}}</mat-hint>\n <mat-error class=\"user-hint-error\"\n *ngIf=\"dataField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n </div>\n</div>\n", styles: [".do-not-click:hover{cursor:not-allowed}.input-name-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.input-placeholder{color:#64748b}.button-icon-input{padding:2px!important}.full-width{width:100%;min-width:100%}.form-input{background:#FFFFFF;color:#64748b;outline:none;border:1px solid #64748B;text-align:left;font-size:14px;line-height:20px;border-radius:6px;min-width:5px;padding:8px 15px;box-sizing:border-box;height:44px}.form-input:hover{border-width:2px;padding-left:1px!important}.form-input-disabled{background:transparent!important;border-color:#cbd5e1!important}.form-input-disabled:hover{border-width:1px;padding:2px!important}.user-hint-error{font-size:75%;padding:0 1em;width:unset;position:absolute;margin-top:.5em;top:calc(100% - 2em)}.image-preview{width:auto;height:auto;cursor:pointer}.no-cursor{cursor:default!important;color:#64748b}.border-default{border-width:1px;border-style:solid;border-color:#000}@media only screen and (max-width: 959.99px){.input-name-ellipsis{word-break:break-word;white-space:normal;overflow-y:auto;max-height:40px}}.user-field-label{transform:translate(.4em,-.45em) scale(.75);transform-origin:left;color:#64748b;background:transparent;width:fit-content;padding:0 .5em;z-index:5;height:0;position:relative}.netgrif-user-padding{padding-bottom:13px;position:relative}\n"], components: [{ type: i4.RequiredLabelComponent, selector: "nc-required-label", inputs: ["isIn"] }, { type: i5.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: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i7.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i7.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i7.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i8.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9.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: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i9.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i10.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i11.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i11.MatError, selector: "mat-error", inputs: ["id"] }], pipes: { "translate": i3.TranslatePipe } });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: UserDefaultFieldComponent, decorators: [{
|
|
27
|
-
type: Component,
|
|
28
|
-
args: [{ selector: 'nc-user-default-field', template: "<div fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <div fxFlex=\"100\" class=\"netgrif-user-padding\">\n <div #userLabel class=\"user-field-label\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\">\n {{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"!dataField.disabled\"></nc-required-label>\n </div>\n <div class=\"form-input button-icon-input full-width\" fxLayout=\"row\" fxLayoutAlign=\"start center\"\n [ngClass]=\"{'form-input-disabled': formControlRef.disabled, 'form-input-error': dataField.isInvalid(formControlRef)}\"\n [ngStyle]=\"{\n '-webkit-clip-path': getCutProperty(userLabel),\n 'clip-path': getCutProperty(userLabel)\n }\">\n <button mat-icon-button\n *ngIf=\"!!dataField.value\"\n [disabled]=\"formControlRef.disabled\"\n color=\"primary\"\n (click)=\"selectUser()\"\n [matTooltip]=\"'dataField.file.clickToUpload' | translate\"\n [class.do-not-click]=\"formControlRef.disabled\">\n <mat-icon (click)='deleteUser()' color='warn' *ngIf='!formControlRef.disabled'>close</mat-icon>\n </button>\n <button mat-icon-button\n *ngIf=\"!dataField.value\"\n [disabled]=\"formControlRef.disabled\"\n color=\"primary\"\n (click)=\"selectUser()\"\n [matTooltip]=\"'dataField.file.clickToUpload' | translate\"\n [class.do-not-click]=\"formControlRef.disabled\">\n <mat-icon>person_add</mat-icon>\n </button>\n <span fxFlex class=\"input-name-ellipsis\" [ngClass]=\"{'input-placeholder': !!dataField.value, 'no-cursor': !!dataField.value && formControlRef.disabled}\">\n {{!!dataField.value ? dataField.value.fullName : 'dataField.user.selectUser' | translate}}</span>\n </div>\n <mat-hint class=\"user-hint-error\" [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\"\n *ngIf=\"!dataField.isInvalid(formControlRef) && hasHint()\">{{dataField.description}}</mat-hint>\n <mat-error class=\"user-hint-error\"\n *ngIf=\"dataField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n </div>\n</div>\n", styles: [".do-not-click:hover{cursor:not-allowed}.input-name-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.input-placeholder{color:#64748b}.button-icon-input{padding:2px!important}.full-width{width:100%;min-width:100%}.form-input{background:#FFFFFF;color:#64748b;outline:none;border:1px solid #64748B;text-align:left;font-size:14px;line-height:20px;border-radius:6px;min-width:5px;padding:8px 15px;box-sizing:border-box;height:44px}.form-input:hover{border-width:2px;padding-left:1px!important}.form-input-disabled{background:transparent!important;border-color:#cbd5e1!important}.form-input-disabled:hover{border-width:1px;padding:2px!important}.user-hint-error{font-size:75%;padding:0 1em;width:unset;position:absolute;margin-top:.5em;top:calc(100% - 2em)}.image-preview{width:auto;height:auto;cursor:pointer}.no-cursor{cursor:default!important;color:#64748b}.border-default{border-width:1px;border-style:solid;border-color:#000}@media only screen and (max-width: 959.99px){.input-name-ellipsis{word-break:break-word;white-space:normal;overflow-y:auto;max-height:40px}}.user-field-label{transform:translate(.4em,-.45em) scale(.75);transform-origin:left;color:#64748b;background:transparent;width:fit-content;padding:0 .5em;z-index:5;height:0;position:relative}.netgrif-user-padding{padding-bottom:13px;position:relative}\n"] }]
|
|
29
|
-
}], ctorParameters: function () { return [{ type: i1.MatDialog }, { type: i2.SnackBarService }, { type: i3.TranslateService }, { type: undefined, decorators: [{
|
|
30
|
-
type: Optional
|
|
31
|
-
}, {
|
|
32
|
-
type: Inject,
|
|
33
|
-
args: [DATA_FIELD_PORTAL_DATA]
|
|
34
|
-
}] }]; } });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1kZWZhdWx0LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL3VzZXItZmllbGQvdXNlci1kZWZhdWx0LWZpZWxkL3VzZXItZGVmYXVsdC1maWVsZC5jb21wb25lbnQudHMiLCI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YWJsZWQsICdmb3JtLWlucHV0LWVycm9yJzogZGF0YUZpZWxkLmlzSW52YWxpZChmb3JtQ29udHJvbFJlZil9XCJcbiAgICAgICAgICAgICBbbmdTdHlsZV09XCJ7XG4gICAgICAgICAgICAgICAgICAgICctd2Via2l0LWNsaXAtcGF0aCc6IGdldEN1dFByb3BlcnR5KHVzZXJMYWJlbCksXG4gICAgICAgICAgICAgICAgICAgICdjbGlwLXBhdGgnOiBnZXRDdXRQcm9wZXJ0eSh1c2VyTGFiZWwpXG4gICAgICAgICAgICB9XCI+XG4gICAgICAgICAgICA8YnV0dG9uIG1hdC1pY29uLWJ1dHRvblxuICAgICAgICAgICAgICAgICAgICAqbmdJZj1cIiEhZGF0YUZpZWxkLnZhbHVlXCJcbiAgICAgICAgICAgICAgICAgICAgW2Rpc2FibGVkXT1cImZvcm1Db250cm9sUmVmLmRpc2FibGVkXCJcbiAgICAgICAgICAgICAgICAgICAgY29sb3I9XCJwcmltYXJ5XCJcbiAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cInNlbGVjdFVzZXIoKVwiXG4gICAgICAgICAgICAgICAgICAgIFttYXRUb29sdGlwXT1cIidkYXRhRmllbGQuZmlsZS5jbGlja1RvVXBsb2FkJyB8IHRyYW5zbGF0ZVwiXG4gICAgICAgICAgICAgICAgICAgIFtjbGFzcy5kby1ub3QtY2xpY2tdPVwiZm9ybUNvbnRyb2xSZWYuZGlzYWJsZWRcIj5cbiAgICAgICAgICAgICAgICA8bWF0LWljb24gKGNsaWNrKT0nZGVsZXRlVXNlcigpJyBjb2xvcj0nd2FybicgKm5nSWY9JyFmb3JtQ29udHJvbFJlZi5kaXNhYmxlZCc+Y2xvc2U8L21hdC1pY29uPlxuICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICA8YnV0dG9uIG1hdC1pY29uLWJ1dHRvblxuICAgICAgICAgICAgICAgICAgICAqbmdJZj1cIiFkYXRhRmllbGQudmFsdWVcIlxuICAgICAgICAgICAgICAg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mIGhhc0hpbnQoKVwiPnt7ZGF0YUZpZWxkLmRlc2NyaXB0aW9ufX08L21hdC1oaW50PlxuICAgICAgICA8bWF0LWVycm9yIGNsYXNzPVwidXNlci1oaW50LWVycm9yXCJcbiAgICAgICAgICAgICAgICAgICAqbmdJZj1cImRhdGFGaWVsZC5pc0ludmFsaWQoZm9ybUNvbnRyb2xSZWYpXCI+e3snZGF0YUZpZWxkLnZhbGlkYXRpb25zLnJlcXVpcmVkJyB8IHRyYW5zbGF0ZX19PC9tYXQtZXJyb3I+XG4gICAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
-
import { AbstractUserFieldComponent, 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 UserFieldComponent extends AbstractUserFieldComponent {
|
|
10
|
-
constructor(informAboutInvalidData) {
|
|
11
|
-
super(informAboutInvalidData);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
UserFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: UserFieldComponent, deps: [{ token: NAE_INFORM_ABOUT_INVALID_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
UserFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: UserFieldComponent, selector: "nc-user-field", usesInheritance: true, ngImport: i0, template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n", styles: [".do-not-click:hover{cursor:not-allowed}.input-name-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.input-placeholder{color:#64748b}.button-icon-input{padding:2px!important}.full-width{width:100%;min-width:100%}.form-input{background:#FFFFFF;color:#64748b;outline:none;border:1px solid #64748B;text-align:left;font-size:14px;line-height:20px;border-radius:6px;min-width:5px;padding:8px 15px;box-sizing:border-box;height:44px}.form-input:hover{border-width:2px;padding-left:1px!important}.form-input-disabled{background:transparent!important;border-color:#cbd5e1!important}.form-input-disabled:hover{border-width:1px;padding:2px!important}.user-hint-error{font-size:75%;padding:0 1em;width:unset;position:absolute;margin-top:.5em;top:calc(100% - 2em)}.image-preview{width:auto;height:auto;cursor:pointer}.no-cursor{cursor:default!important;color:#64748b}.border-default{border-width:1px;border-style:solid;border-color:#000}@media only screen and (max-width: 959.99px){.input-name-ellipsis{word-break:break-word;white-space:normal;overflow-y:auto;max-height:40px}}.user-field-label{transform:translate(.4em,-.45em) scale(.75);transform-origin:left;color:#64748b;background:transparent;width:fit-content;padding:0 .5em;z-index:5;height:0;position:relative}.netgrif-user-padding{padding-bottom:13px;position:relative}\n"], 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: UserFieldComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{ selector: 'nc-user-field', template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n", styles: [".do-not-click:hover{cursor:not-allowed}.input-name-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.input-placeholder{color:#64748b}.button-icon-input{padding:2px!important}.full-width{width:100%;min-width:100%}.form-input{background:#FFFFFF;color:#64748b;outline:none;border:1px solid #64748B;text-align:left;font-size:14px;line-height:20px;border-radius:6px;min-width:5px;padding:8px 15px;box-sizing:border-box;height:44px}.form-input:hover{border-width:2px;padding-left:1px!important}.form-input-disabled{background:transparent!important;border-color:#cbd5e1!important}.form-input-disabled:hover{border-width:1px;padding:2px!important}.user-hint-error{font-size:75%;padding:0 1em;width:unset;position:absolute;margin-top:.5em;top:calc(100% - 2em)}.image-preview{width:auto;height:auto;cursor:pointer}.no-cursor{cursor:default!important;color:#64748b}.border-default{border-width:1px;border-style:solid;border-color:#000}@media only screen and (max-width: 959.99px){.input-name-ellipsis{word-break:break-word;white-space:normal;overflow-y:auto;max-height:40px}}.user-field-label{transform:translate(.4em,-.45em) scale(.75);transform-origin:left;color:#64748b;background:transparent;width:fit-content;padding:0 .5em;z-index:5;height:0;position:relative}.netgrif-user-padding{padding-bottom:13px;position:relative}\n"] }]
|
|
19
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
20
|
-
type: Optional
|
|
21
|
-
}, {
|
|
22
|
-
type: Inject,
|
|
23
|
-
args: [NAE_INFORM_ABOUT_INVALID_DATA]
|
|
24
|
-
}] }]; } });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy91c2VyLWZpZWxkL3VzZXItZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvdXNlci1maWVsZC91c2VyLWZpZWxkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFFLF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