@evotor-dev/ui-kit 7.2.6 → 7.2.8
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 +71 -71
- package/esm2020/evotor-dev-ui-kit.mjs +4 -4
- package/esm2020/icons/category/evotor-dev-ui-kit-icons-category.mjs +4 -4
- package/esm2020/icons/category/index.mjs +61 -61
- package/esm2020/icons/emotions/evotor-dev-ui-kit-icons-emotions.mjs +4 -4
- package/esm2020/icons/emotions/index.mjs +17 -17
- package/esm2020/icons/evotor-dev-ui-kit-icons.mjs +4 -4
- package/esm2020/icons/header/evotor-dev-ui-kit-icons-header.mjs +4 -4
- package/esm2020/icons/header/index.mjs +27 -27
- package/esm2020/icons/index.mjs +8 -8
- package/esm2020/icons/info/evotor-dev-ui-kit-icons-info.mjs +4 -4
- package/esm2020/icons/info/index.mjs +39 -39
- package/esm2020/icons/navigation/evotor-dev-ui-kit-icons-navigation.mjs +4 -4
- package/esm2020/icons/navigation/index.mjs +56 -56
- package/esm2020/icons/side-menu/evotor-dev-ui-kit-icons-side-menu.mjs +4 -4
- package/esm2020/icons/side-menu/index.mjs +63 -63
- package/esm2020/icons/system/evotor-dev-ui-kit-icons-system.mjs +4 -4
- package/esm2020/icons/system/index.mjs +372 -372
- package/esm2020/lib/common/Serializable.mjs +5 -5
- package/esm2020/lib/common/animations/expand.animation.mjs +27 -27
- package/esm2020/lib/common/animations/index.mjs +3 -3
- package/esm2020/lib/common/animations/sidebar.animation.mjs +9 -9
- package/esm2020/lib/common/animations/skip-initial-render.animation.mjs +2 -2
- package/esm2020/lib/common/collection/evo-collection-fabric.mjs +9 -9
- package/esm2020/lib/common/collection/evo-collection.mjs +6 -6
- package/esm2020/lib/common/collection/index.mjs +2 -2
- package/esm2020/lib/common/constants/css-breakpoints.mjs +8 -8
- package/esm2020/lib/common/constants/view-breakpoint-streams.mjs +23 -23
- package/esm2020/lib/common/evo-base-control.mjs +45 -45
- package/esm2020/lib/common/evo-control-state-manager/evo-control-state-manager.mjs +12 -12
- package/esm2020/lib/common/evo-control-state-manager/evo-control-state.interface.mjs +1 -1
- package/esm2020/lib/common/evo-control-state-manager/evo-control-states.enum.mjs +5 -5
- package/esm2020/lib/common/form-helper/form-helper.mjs +30 -30
- package/esm2020/lib/common/types/evo-color.mjs +1 -1
- package/esm2020/lib/common/types/evo-size.mjs +1 -1
- package/esm2020/lib/common/types/index.mjs +2 -2
- package/esm2020/lib/components/evo-accordion/evo-accordion-content/evo-accordion-content.component.mjs +30 -30
- package/esm2020/lib/components/evo-accordion/evo-accordion-panel/evo-accordion-panel.component.mjs +18 -18
- package/esm2020/lib/components/evo-accordion/evo-accordion-title/evo-accordion-title.component.mjs +56 -56
- package/esm2020/lib/components/evo-accordion/evo-accordion.component.mjs +16 -16
- package/esm2020/lib/components/evo-accordion/evo-accordion.module.mjs +66 -66
- package/esm2020/lib/components/evo-accordion/index.mjs +1 -1
- package/esm2020/lib/components/evo-accordion/public-api.mjs +5 -5
- package/esm2020/lib/components/evo-alert/evo-alert.component.mjs +78 -78
- package/esm2020/lib/components/evo-alert/evo-alert.module.mjs +28 -28
- package/esm2020/lib/components/evo-alert/index.mjs +1 -1
- package/esm2020/lib/components/evo-alert/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-autocomplete/components/evo-autocomplete.component.mjs +358 -358
- package/esm2020/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.mjs +42 -42
- package/esm2020/lib/components/evo-autocomplete/evo-autocomplete.module.mjs +57 -57
- package/esm2020/lib/components/evo-autocomplete/helpers/switch-query-to-list.mjs +6 -6
- package/esm2020/lib/components/evo-autocomplete/index.mjs +1 -1
- package/esm2020/lib/components/evo-autocomplete/models/DaDataParty.mjs +27 -27
- package/esm2020/lib/components/evo-autocomplete/models/dadata.model.mjs +47 -47
- package/esm2020/lib/components/evo-autocomplete/public-api.mjs +7 -7
- package/esm2020/lib/components/evo-autocomplete/types/evo-autocomplete-size.mjs +1 -1
- package/esm2020/lib/components/evo-badge/evo-badge.component.mjs +39 -39
- package/esm2020/lib/components/evo-badge/evo-badge.module.mjs +27 -27
- package/esm2020/lib/components/evo-badge/index.mjs +2 -2
- package/esm2020/lib/components/evo-badge/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-badge/types/evo-badge-color.mjs +1 -1
- package/esm2020/lib/components/evo-badge/types/evo-badge-size.mjs +1 -1
- package/esm2020/lib/components/evo-badge/types/index.mjs +2 -2
- package/esm2020/lib/components/evo-banner/evo-banner.component.mjs +109 -109
- package/esm2020/lib/components/evo-banner/evo-banner.module.mjs +23 -23
- package/esm2020/lib/components/evo-banner/index.mjs +1 -1
- package/esm2020/lib/components/evo-banner/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-button/components/evo-button/evo-button.component.mjs +86 -86
- package/esm2020/lib/components/evo-button/components/evo-button-old/evo-button-old.component.mjs +91 -91
- package/esm2020/lib/components/evo-button/constants/evo-button-themes-map.mjs +31 -31
- package/esm2020/lib/components/evo-button/evo-button.module.mjs +21 -21
- package/esm2020/lib/components/evo-button/index.mjs +1 -1
- package/esm2020/lib/components/evo-button/public-api.mjs +5 -5
- package/esm2020/lib/components/evo-button/types/evo-button-color.mjs +2 -2
- package/esm2020/lib/components/evo-button/types/evo-button-shape.mjs +2 -2
- package/esm2020/lib/components/evo-button/types/evo-button-size.mjs +2 -2
- package/esm2020/lib/components/evo-button/types/evo-button-theme-params.mjs +2 -2
- package/esm2020/lib/components/evo-button/types/evo-button-theme.mjs +2 -2
- package/esm2020/lib/components/evo-button/types/index.mjs +6 -6
- package/esm2020/lib/components/evo-checkbox/evo-checkbox.component.mjs +86 -86
- package/esm2020/lib/components/evo-checkbox/evo-checkbox.module.mjs +33 -33
- package/esm2020/lib/components/evo-checkbox/index.mjs +1 -1
- package/esm2020/lib/components/evo-checkbox/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-chip/evo-chip.component.mjs +129 -129
- package/esm2020/lib/components/evo-chip/evo-chip.module.mjs +45 -45
- package/esm2020/lib/components/evo-chip/index.mjs +1 -1
- package/esm2020/lib/components/evo-chip/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-control-error/evo-control-error.component.mjs +40 -40
- package/esm2020/lib/components/evo-control-error/evo-control-error.module.mjs +29 -29
- package/esm2020/lib/components/evo-control-error/index.mjs +1 -1
- package/esm2020/lib/components/evo-control-error/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-control-label/evo-control-label.component.mjs +18 -18
- package/esm2020/lib/components/evo-control-label/evo-control-label.module.mjs +21 -21
- package/esm2020/lib/components/evo-control-label/index.mjs +1 -1
- package/esm2020/lib/components/evo-control-label/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-counter/evo-counter.component.mjs +37 -37
- package/esm2020/lib/components/evo-counter/evo-counter.module.mjs +29 -29
- package/esm2020/lib/components/evo-counter/index.mjs +1 -1
- package/esm2020/lib/components/evo-counter/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-datepicker/evo-datepicker.component.mjs +554 -554
- package/esm2020/lib/components/evo-datepicker/evo-datepicker.module.mjs +33 -33
- package/esm2020/lib/components/evo-datepicker/flatpickr-options.interface.mjs +1 -1
- package/esm2020/lib/components/evo-datepicker/index.mjs +1 -1
- package/esm2020/lib/components/evo-datepicker/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-datepicker/templates/index.mjs +19 -19
- package/esm2020/lib/components/evo-dropdown/evo-dropdown-origin.directive.mjs +40 -40
- package/esm2020/lib/components/evo-dropdown/evo-dropdown-position-description.mjs +50 -50
- package/esm2020/lib/components/evo-dropdown/evo-dropdown.component.mjs +107 -107
- package/esm2020/lib/components/evo-dropdown/evo-dropdown.module.mjs +19 -19
- package/esm2020/lib/components/evo-dropdown/index.mjs +1 -1
- package/esm2020/lib/components/evo-dropdown/public-api.mjs +4 -4
- package/esm2020/lib/components/evo-dropdown/types/evo-dropdown-positions.mjs +1 -1
- package/esm2020/lib/components/evo-icon/classes/evo-icons-library.mjs +18 -18
- package/esm2020/lib/components/evo-icon/evo-icon.component.mjs +56 -56
- package/esm2020/lib/components/evo-icon/evo-icon.module.mjs +56 -56
- package/esm2020/lib/components/evo-icon/index.mjs +1 -1
- package/esm2020/lib/components/evo-icon/interfaces/icons-category.mjs +1 -1
- package/esm2020/lib/components/evo-icon/interfaces/icons-source.mjs +1 -1
- package/esm2020/lib/components/evo-icon/public-api.mjs +5 -5
- package/esm2020/lib/components/evo-icon-button/evo-icon-button.component.mjs +64 -64
- package/esm2020/lib/components/evo-icon-button/evo-icon-button.module.mjs +25 -25
- package/esm2020/lib/components/evo-icon-button/index.mjs +1 -1
- package/esm2020/lib/components/evo-icon-button/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-icon-button/types/evo-icon-button-size.mjs +1 -1
- package/esm2020/lib/components/evo-icon-button/types/evo-icon-button-theme.mjs +1 -1
- package/esm2020/lib/components/evo-icon-number/components/evo-icon-number/evo-icon-number.component.mjs +13 -13
- package/esm2020/lib/components/evo-icon-number/evo-icon-number.module.mjs +17 -17
- package/esm2020/lib/components/evo-icon-number/index.mjs +1 -1
- package/esm2020/lib/components/evo-icon-number/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-input/evo-input-icon/evo-input-icon.directive.mjs +12 -12
- package/esm2020/lib/components/evo-input/evo-input.component.mjs +358 -358
- package/esm2020/lib/components/evo-input/evo-input.module.mjs +66 -66
- package/esm2020/lib/components/evo-input/index.mjs +1 -1
- package/esm2020/lib/components/evo-input/public-api.mjs +3 -3
- package/esm2020/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.mjs +149 -149
- package/esm2020/lib/components/evo-input-contenteditable/evo-input-contenteditable.module.mjs +33 -33
- package/esm2020/lib/components/evo-input-contenteditable/index.mjs +1 -1
- package/esm2020/lib/components/evo-input-contenteditable/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-input-contenteditable/utils/clear-multiline.mjs +6 -6
- package/esm2020/lib/components/evo-loader/evo-circular-loader.component.mjs +18 -18
- package/esm2020/lib/components/evo-loader/evo-loader.component.mjs +27 -27
- package/esm2020/lib/components/evo-loader/evo-loader.module.mjs +32 -32
- package/esm2020/lib/components/evo-loader/index.mjs +1 -1
- package/esm2020/lib/components/evo-loader/public-api.mjs +3 -3
- package/esm2020/lib/components/evo-modal/evo-modal.component.mjs +127 -127
- package/esm2020/lib/components/evo-modal/evo-modal.module.mjs +31 -31
- package/esm2020/lib/components/evo-modal/evo-modal.service.mjs +31 -31
- package/esm2020/lib/components/evo-modal/index.mjs +1 -1
- package/esm2020/lib/components/evo-modal/public-api.mjs +3 -3
- package/esm2020/lib/components/evo-navbar/evo-navbar-item/evo-navbar-item.component.mjs +57 -57
- package/esm2020/lib/components/evo-navbar/evo-navbar.component.mjs +45 -45
- package/esm2020/lib/components/evo-navbar/evo-navbar.module.mjs +23 -23
- package/esm2020/lib/components/evo-navbar/index.mjs +1 -1
- package/esm2020/lib/components/evo-navbar/interfaces/nav-item-main-info.mjs +1 -1
- package/esm2020/lib/components/evo-navbar/interfaces/nav-item-router-link.mjs +1 -1
- package/esm2020/lib/components/evo-navbar/interfaces/nav-item.href.mjs +1 -1
- package/esm2020/lib/components/evo-navbar/public-api.mjs +3 -3
- package/esm2020/lib/components/evo-navbar/types/nav-item.mjs +1 -1
- package/esm2020/lib/components/evo-navigation-button/evo-navigation-button.component.mjs +12 -12
- package/esm2020/lib/components/evo-navigation-button/evo-navigation-button.module.mjs +45 -45
- package/esm2020/lib/components/evo-navigation-button/index.mjs +2 -2
- package/esm2020/lib/components/evo-navigation-button/public-api.mjs +3 -3
- package/esm2020/lib/components/evo-note/evo-note.component.mjs +39 -39
- package/esm2020/lib/components/evo-note/evo-note.module.mjs +45 -45
- package/esm2020/lib/components/evo-note/index.mjs +1 -1
- package/esm2020/lib/components/evo-note/public.api.mjs +3 -3
- package/esm2020/lib/components/evo-note/types/evo-note-type.mjs +1 -1
- package/esm2020/lib/components/evo-paginator/evo-paginator.component.mjs +107 -107
- package/esm2020/lib/components/evo-paginator/evo-paginator.module.mjs +21 -21
- package/esm2020/lib/components/evo-paginator/index.mjs +1 -1
- package/esm2020/lib/components/evo-paginator/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-plus-minus/evo-plus-minus.component.mjs +25 -25
- package/esm2020/lib/components/evo-plus-minus/evo-plus-minus.module.mjs +21 -21
- package/esm2020/lib/components/evo-plus-minus/index.mjs +1 -1
- package/esm2020/lib/components/evo-plus-minus/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-popover/evo-popover.component.mjs +173 -173
- package/esm2020/lib/components/evo-popover/evo-popover.module.mjs +25 -25
- package/esm2020/lib/components/evo-popover/index.mjs +1 -1
- package/esm2020/lib/components/evo-popover/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-portal/evo-portal-outlet.class.mjs +6 -6
- package/esm2020/lib/components/evo-portal/evo-portal-outlet.directive.mjs +18 -18
- package/esm2020/lib/components/evo-portal/evo-portal.module.mjs +31 -31
- package/esm2020/lib/components/evo-portal/evo-portal.service.mjs +91 -91
- package/esm2020/lib/components/evo-portal/index.mjs +1 -1
- package/esm2020/lib/components/evo-portal/public-api.mjs +4 -4
- package/esm2020/lib/components/evo-radio/evo-radio.component.mjs +50 -50
- package/esm2020/lib/components/evo-radio/evo-radio.module.mjs +25 -25
- package/esm2020/lib/components/evo-radio/index.mjs +1 -1
- package/esm2020/lib/components/evo-radio/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-radio-group/evo-radio-group.component.mjs +122 -122
- package/esm2020/lib/components/evo-radio-group/evo-radio-group.module.mjs +33 -33
- package/esm2020/lib/components/evo-radio-group/index.mjs +1 -1
- package/esm2020/lib/components/evo-radio-group/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-radio-group/typings/options.mjs +1 -1
- package/esm2020/lib/components/evo-radioshape/components/evo-radioshape.component.mjs +55 -55
- package/esm2020/lib/components/evo-radioshape/evo-radioshape.module.mjs +32 -32
- package/esm2020/lib/components/evo-radioshape/index.mjs +1 -1
- package/esm2020/lib/components/evo-radioshape/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar/evo-segmented-bar.component.mjs +21 -21
- package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar-button/evo-segmented-bar-button.component.mjs +77 -77
- package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar.module.mjs +24 -24
- package/esm2020/lib/components/evo-segmented-bar/index.mjs +1 -1
- package/esm2020/lib/components/evo-segmented-bar/public-api.mjs +3 -3
- package/esm2020/lib/components/evo-select/evo-select.component.mjs +115 -115
- package/esm2020/lib/components/evo-select/evo-select.module.mjs +33 -33
- package/esm2020/lib/components/evo-select/index.mjs +1 -1
- package/esm2020/lib/components/evo-select/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-sidebar/enums/evo-sidebar-close-targets.mjs +8 -8
- package/esm2020/lib/components/evo-sidebar/enums/evo-sidebar-sizes.mjs +7 -7
- package/esm2020/lib/components/evo-sidebar/enums/evo-sidebar-states.mjs +6 -6
- package/esm2020/lib/components/evo-sidebar/evo-sidebar-content/evo-sidebar-content.component.mjs +33 -33
- package/esm2020/lib/components/evo-sidebar/evo-sidebar-footer/evo-sidebar-footer.component.mjs +13 -13
- package/esm2020/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.mjs +40 -40
- package/esm2020/lib/components/evo-sidebar/evo-sidebar-portal.mjs +21 -21
- package/esm2020/lib/components/evo-sidebar/evo-sidebar.component.mjs +172 -172
- package/esm2020/lib/components/evo-sidebar/evo-sidebar.module.mjs +90 -90
- package/esm2020/lib/components/evo-sidebar/evo-sidebar.service.mjs +104 -104
- package/esm2020/lib/components/evo-sidebar/index.mjs +1 -1
- package/esm2020/lib/components/evo-sidebar/interfaces.mjs +2 -2
- package/esm2020/lib/components/evo-sidebar/public-api.mjs +12 -12
- package/esm2020/lib/components/evo-sidebar/sidebar-injection-token.mjs +3 -3
- package/esm2020/lib/components/evo-sidebar/tokens.mjs +11 -11
- package/esm2020/lib/components/evo-stepper/evo-stepper-events.mjs +24 -24
- package/esm2020/lib/components/evo-stepper/evo-stepper-item/evo-stepper-item.component.mjs +30 -30
- package/esm2020/lib/components/evo-stepper/evo-stepper.component.mjs +66 -66
- package/esm2020/lib/components/evo-stepper/evo-stepper.module.mjs +26 -26
- package/esm2020/lib/components/evo-stepper/index.mjs +1 -1
- package/esm2020/lib/components/evo-stepper/public-api.mjs +3 -3
- package/esm2020/lib/components/evo-submenu/evo-submenu.component.mjs +159 -159
- package/esm2020/lib/components/evo-submenu/evo-submenu.module.mjs +26 -26
- package/esm2020/lib/components/evo-submenu/index.mjs +1 -1
- package/esm2020/lib/components/evo-submenu/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-switcher/components/evo-switcher-item/evo-switcher-item.component.mjs +10 -10
- package/esm2020/lib/components/evo-switcher/evo-switcher.component.mjs +31 -31
- package/esm2020/lib/components/evo-switcher/evo-switcher.module.mjs +26 -26
- package/esm2020/lib/components/evo-switcher/index.mjs +1 -1
- package/esm2020/lib/components/evo-switcher/public-api.mjs +3 -3
- package/esm2020/lib/components/evo-table/evo-table/evo-table.component.mjs +66 -66
- package/esm2020/lib/components/evo-table/evo-table-column/evo-table-column.component.mjs +30 -30
- package/esm2020/lib/components/evo-table/evo-table.module.mjs +22 -22
- package/esm2020/lib/components/evo-table/index.mjs +1 -1
- package/esm2020/lib/components/evo-table/public-api.mjs +3 -3
- package/esm2020/lib/components/evo-tabs/enums/evo-tabs-size.mjs +6 -6
- package/esm2020/lib/components/evo-tabs/evo-tab/evo-tab.component.mjs +88 -88
- package/esm2020/lib/components/evo-tabs/evo-tab-content/evo-tab-content.component.mjs +36 -36
- package/esm2020/lib/components/evo-tabs/evo-tab-state.collection.mjs +42 -42
- package/esm2020/lib/components/evo-tabs/evo-tabs-size.service.mjs +24 -24
- package/esm2020/lib/components/evo-tabs/evo-tabs.component.mjs +83 -83
- package/esm2020/lib/components/evo-tabs/evo-tabs.module.mjs +29 -29
- package/esm2020/lib/components/evo-tabs/evo-tabs.service.mjs +66 -66
- package/esm2020/lib/components/evo-tabs/index.mjs +1 -1
- package/esm2020/lib/components/evo-tabs/public-api.mjs +9 -9
- package/esm2020/lib/components/evo-textarea/evo-textarea.component.mjs +78 -78
- package/esm2020/lib/components/evo-textarea/evo-textarea.module.mjs +36 -36
- package/esm2020/lib/components/evo-textarea/index.mjs +1 -1
- package/esm2020/lib/components/evo-textarea/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-toast/evo-toast.component.mjs +97 -97
- package/esm2020/lib/components/evo-toast/evo-toast.module.mjs +45 -45
- package/esm2020/lib/components/evo-toast/evo-toast.service.mjs +48 -48
- package/esm2020/lib/components/evo-toast/index.mjs +1 -1
- package/esm2020/lib/components/evo-toast/public-api.mjs +3 -3
- package/esm2020/lib/components/evo-toggle/evo-toggle.component.mjs +63 -63
- package/esm2020/lib/components/evo-toggle/evo-toggle.module.mjs +29 -29
- package/esm2020/lib/components/evo-toggle/index.mjs +1 -1
- package/esm2020/lib/components/evo-toggle/public-api.mjs +2 -2
- package/esm2020/lib/components/evo-upload/evo-upload.component.mjs +287 -287
- package/esm2020/lib/components/evo-upload/evo-upload.module.mjs +59 -59
- package/esm2020/lib/components/evo-upload/index.mjs +1 -1
- package/esm2020/lib/components/evo-upload/public-api.mjs +2 -2
- package/esm2020/lib/decorators/deprecate-method.decorator.mjs +7 -7
- package/esm2020/lib/decorators/deprecate-variable.decorator.mjs +16 -16
- package/esm2020/lib/decorators/index.mjs +1 -1
- package/esm2020/lib/decorators/public-api.mjs +2 -2
- package/esm2020/lib/directives/evo-click-outside.directive.mjs +39 -39
- package/esm2020/lib/directives/evo-is-expanded.directive.mjs +70 -70
- package/esm2020/lib/directives/evo-let/evo-let.directive.mjs +45 -45
- package/esm2020/lib/directives/evo-ui-class.directive.mjs +158 -158
- package/esm2020/lib/directives/index.mjs +1 -1
- package/esm2020/lib/directives/public-api.mjs +4 -4
- package/esm2020/lib/evo-ui-kit.module.mjs +64 -64
- package/esm2020/lib/operators/enter-zone.operator.mjs +8 -8
- package/esm2020/lib/operators/index.mjs +1 -1
- package/esm2020/lib/operators/public-api.mjs +1 -1
- package/esm2020/lib/pipes/declination.pipe.mjs +39 -39
- package/esm2020/lib/pipes/evo-pipes.module.mjs +16 -16
- package/esm2020/lib/pipes/index.mjs +1 -1
- package/esm2020/lib/pipes/public-api.mjs +3 -3
- package/esm2020/lib/pipes/safe-html.pipe.mjs +17 -17
- package/esm2020/lib/services/evo-expanded.service.mjs +22 -22
- package/esm2020/lib/services/index.mjs +1 -1
- package/esm2020/lib/services/public-api.mjs +1 -1
- package/esm2020/lib/services/window.service.mjs +48 -48
- package/esm2020/public_api.mjs +74 -74
- package/evotor-dev-ui-kit.d.ts +5 -5
- package/fesm2015/evotor-dev-ui-kit-icons-category.mjs +62 -62
- package/fesm2015/evotor-dev-ui-kit-icons-emotions.mjs +18 -18
- package/fesm2015/evotor-dev-ui-kit-icons-header.mjs +28 -28
- package/fesm2015/evotor-dev-ui-kit-icons-info.mjs +40 -40
- package/fesm2015/evotor-dev-ui-kit-icons-navigation.mjs +56 -56
- package/fesm2015/evotor-dev-ui-kit-icons-navigation.mjs.map +1 -1
- package/fesm2015/evotor-dev-ui-kit-icons-side-menu.mjs +64 -64
- package/fesm2015/evotor-dev-ui-kit-icons-system.mjs +372 -372
- package/fesm2015/evotor-dev-ui-kit-icons-system.mjs.map +1 -1
- package/fesm2015/evotor-dev-ui-kit-icons.mjs +628 -628
- package/fesm2015/evotor-dev-ui-kit-icons.mjs.map +1 -1
- package/fesm2015/evotor-dev-ui-kit.mjs +7041 -7041
- package/fesm2015/evotor-dev-ui-kit.mjs.map +1 -1
- package/fesm2020/evotor-dev-ui-kit-icons-category.mjs +62 -62
- package/fesm2020/evotor-dev-ui-kit-icons-emotions.mjs +18 -18
- package/fesm2020/evotor-dev-ui-kit-icons-header.mjs +28 -28
- package/fesm2020/evotor-dev-ui-kit-icons-info.mjs +40 -40
- package/fesm2020/evotor-dev-ui-kit-icons-navigation.mjs +56 -56
- package/fesm2020/evotor-dev-ui-kit-icons-navigation.mjs.map +1 -1
- package/fesm2020/evotor-dev-ui-kit-icons-side-menu.mjs +64 -64
- package/fesm2020/evotor-dev-ui-kit-icons-system.mjs +372 -372
- package/fesm2020/evotor-dev-ui-kit-icons-system.mjs.map +1 -1
- package/fesm2020/evotor-dev-ui-kit-icons.mjs +628 -628
- package/fesm2020/evotor-dev-ui-kit-icons.mjs.map +1 -1
- package/fesm2020/evotor-dev-ui-kit.mjs +7021 -7021
- package/fesm2020/evotor-dev-ui-kit.mjs.map +1 -1
- package/icons/category/evotor-dev-ui-kit-icons-category.d.ts +5 -5
- package/icons/category/index.d.ts +59 -59
- package/icons/emotions/evotor-dev-ui-kit-icons-emotions.d.ts +5 -5
- package/icons/emotions/index.d.ts +15 -15
- package/icons/evotor-dev-ui-kit-icons.d.ts +5 -5
- package/icons/header/evotor-dev-ui-kit-icons-header.d.ts +5 -5
- package/icons/header/index.d.ts +25 -25
- package/icons/index.d.ts +321 -321
- package/icons/info/evotor-dev-ui-kit-icons-info.d.ts +5 -5
- package/icons/info/index.d.ts +37 -37
- package/icons/navigation/evotor-dev-ui-kit-icons-navigation.d.ts +5 -5
- package/icons/navigation/index.d.ts +53 -53
- package/icons/side-menu/evotor-dev-ui-kit-icons-side-menu.d.ts +5 -5
- package/icons/side-menu/index.d.ts +61 -61
- package/icons/system/evotor-dev-ui-kit-icons-system.d.ts +5 -5
- package/icons/system/index.d.ts +369 -369
- package/lib/common/Serializable.d.ts +3 -3
- package/lib/common/animations/expand.animation.d.ts +1 -1
- package/lib/common/animations/index.d.ts +3 -3
- package/lib/common/animations/sidebar.animation.d.ts +2 -2
- package/lib/common/animations/skip-initial-render.animation.d.ts +1 -1
- package/lib/common/collection/evo-collection-fabric.d.ts +4 -4
- package/lib/common/collection/evo-collection.d.ts +3 -3
- package/lib/common/collection/index.d.ts +2 -2
- package/lib/common/constants/css-breakpoints.d.ts +8 -8
- package/lib/common/constants/view-breakpoint-streams.d.ts +9 -9
- package/lib/common/evo-base-control.d.ts +21 -21
- package/lib/common/evo-control-state-manager/evo-control-state-manager.d.ts +7 -7
- package/lib/common/evo-control-state-manager/evo-control-state.interface.d.ts +5 -5
- package/lib/common/evo-control-state-manager/evo-control-states.enum.d.ts +4 -4
- package/lib/common/form-helper/form-helper.d.ts +5 -5
- package/lib/common/types/evo-color.d.ts +1 -1
- package/lib/common/types/evo-size.d.ts +1 -1
- package/lib/common/types/index.d.ts +2 -2
- package/lib/components/evo-accordion/evo-accordion-content/evo-accordion-content.component.d.ts +11 -11
- package/lib/components/evo-accordion/evo-accordion-panel/evo-accordion-panel.component.d.ts +9 -9
- package/lib/components/evo-accordion/evo-accordion-title/evo-accordion-title.component.d.ts +11 -11
- package/lib/components/evo-accordion/evo-accordion.component.d.ts +9 -9
- package/lib/components/evo-accordion/evo-accordion.module.d.ts +13 -13
- package/lib/components/evo-accordion/index.d.ts +1 -1
- package/lib/components/evo-accordion/public-api.d.ts +5 -5
- package/lib/components/evo-alert/evo-alert.component.d.ts +38 -38
- package/lib/components/evo-alert/evo-alert.module.d.ts +9 -9
- package/lib/components/evo-alert/index.d.ts +1 -1
- package/lib/components/evo-alert/public-api.d.ts +2 -2
- package/lib/components/evo-autocomplete/components/evo-autocomplete.component.d.ts +115 -115
- package/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.d.ts +16 -16
- package/lib/components/evo-autocomplete/evo-autocomplete.module.d.ts +15 -15
- package/lib/components/evo-autocomplete/helpers/switch-query-to-list.d.ts +2 -2
- package/lib/components/evo-autocomplete/index.d.ts +1 -1
- package/lib/components/evo-autocomplete/models/DaDataParty.d.ts +37 -37
- package/lib/components/evo-autocomplete/models/dadata.model.d.ts +320 -320
- package/lib/components/evo-autocomplete/public-api.d.ts +6 -6
- package/lib/components/evo-autocomplete/types/evo-autocomplete-size.d.ts +1 -1
- package/lib/components/evo-badge/evo-badge.component.d.ts +12 -12
- package/lib/components/evo-badge/evo-badge.module.d.ts +9 -9
- package/lib/components/evo-badge/index.d.ts +2 -2
- package/lib/components/evo-badge/public-api.d.ts +2 -2
- package/lib/components/evo-badge/types/evo-badge-color.d.ts +2 -2
- package/lib/components/evo-badge/types/evo-badge-size.d.ts +2 -2
- package/lib/components/evo-badge/types/index.d.ts +2 -2
- package/lib/components/evo-banner/evo-banner.component.d.ts +46 -46
- package/lib/components/evo-banner/evo-banner.module.d.ts +9 -9
- package/lib/components/evo-banner/index.d.ts +1 -1
- package/lib/components/evo-banner/public-api.d.ts +2 -2
- package/lib/components/evo-button/components/evo-button/evo-button.component.d.ts +24 -24
- package/lib/components/evo-button/components/evo-button-old/evo-button-old.component.d.ts +39 -39
- package/lib/components/evo-button/constants/evo-button-themes-map.d.ts +2 -2
- package/lib/components/evo-button/evo-button.module.d.ts +11 -11
- package/lib/components/evo-button/index.d.ts +1 -1
- package/lib/components/evo-button/public-api.d.ts +4 -4
- package/lib/components/evo-button/types/evo-button-color.d.ts +5 -5
- package/lib/components/evo-button/types/evo-button-shape.d.ts +4 -4
- package/lib/components/evo-button/types/evo-button-size.d.ts +5 -5
- package/lib/components/evo-button/types/evo-button-theme-params.d.ts +5 -5
- package/lib/components/evo-button/types/evo-button-theme.d.ts +1 -1
- package/lib/components/evo-button/types/index.d.ts +5 -5
- package/lib/components/evo-checkbox/evo-checkbox.component.d.ts +29 -29
- package/lib/components/evo-checkbox/evo-checkbox.module.d.ts +11 -11
- package/lib/components/evo-checkbox/index.d.ts +1 -1
- package/lib/components/evo-checkbox/public-api.d.ts +2 -2
- package/lib/components/evo-chip/evo-chip.component.d.ts +45 -45
- package/lib/components/evo-chip/evo-chip.module.d.ts +11 -11
- package/lib/components/evo-chip/index.d.ts +1 -1
- package/lib/components/evo-chip/public-api.d.ts +2 -2
- package/lib/components/evo-control-error/evo-control-error.component.d.ts +14 -14
- package/lib/components/evo-control-error/evo-control-error.module.d.ts +10 -10
- package/lib/components/evo-control-error/index.d.ts +1 -1
- package/lib/components/evo-control-error/public-api.d.ts +2 -2
- package/lib/components/evo-control-label/evo-control-label.component.d.ts +9 -9
- package/lib/components/evo-control-label/evo-control-label.module.d.ts +8 -8
- package/lib/components/evo-control-label/index.d.ts +1 -1
- package/lib/components/evo-control-label/public-api.d.ts +2 -2
- package/lib/components/evo-counter/evo-counter.component.d.ts +16 -16
- package/lib/components/evo-counter/evo-counter.module.d.ts +9 -9
- package/lib/components/evo-counter/index.d.ts +1 -1
- package/lib/components/evo-counter/public-api.d.ts +2 -2
- package/lib/components/evo-datepicker/evo-datepicker.component.d.ts +174 -174
- package/lib/components/evo-datepicker/evo-datepicker.module.d.ts +11 -11
- package/lib/components/evo-datepicker/flatpickr-options.interface.d.ts +10 -10
- package/lib/components/evo-datepicker/index.d.ts +1 -1
- package/lib/components/evo-datepicker/public-api.d.ts +2 -2
- package/lib/components/evo-datepicker/templates/index.d.ts +16 -16
- package/lib/components/evo-dropdown/evo-dropdown-origin.directive.d.ts +15 -15
- package/lib/components/evo-dropdown/evo-dropdown-position-description.d.ts +3 -3
- package/lib/components/evo-dropdown/evo-dropdown.component.d.ts +34 -34
- package/lib/components/evo-dropdown/evo-dropdown.module.d.ts +10 -10
- package/lib/components/evo-dropdown/index.d.ts +1 -1
- package/lib/components/evo-dropdown/public-api.d.ts +4 -4
- package/lib/components/evo-dropdown/types/evo-dropdown-positions.d.ts +1 -1
- package/lib/components/evo-icon/classes/evo-icons-library.d.ts +11 -11
- package/lib/components/evo-icon/evo-icon.component.d.ts +20 -20
- package/lib/components/evo-icon/evo-icon.module.d.ts +16 -16
- package/lib/components/evo-icon/index.d.ts +1 -1
- package/lib/components/evo-icon/interfaces/icons-category.d.ts +5 -5
- package/lib/components/evo-icon/interfaces/icons-source.d.ts +3 -3
- package/lib/components/evo-icon/public-api.d.ts +5 -5
- package/lib/components/evo-icon-button/evo-icon-button.component.d.ts +26 -26
- package/lib/components/evo-icon-button/evo-icon-button.module.d.ts +8 -8
- package/lib/components/evo-icon-button/index.d.ts +1 -1
- package/lib/components/evo-icon-button/public-api.d.ts +2 -2
- package/lib/components/evo-icon-button/types/evo-icon-button-size.d.ts +2 -2
- package/lib/components/evo-icon-button/types/evo-icon-button-theme.d.ts +1 -1
- package/lib/components/evo-icon-number/components/evo-icon-number/evo-icon-number.component.d.ts +6 -6
- package/lib/components/evo-icon-number/evo-icon-number.module.d.ts +8 -8
- package/lib/components/evo-icon-number/index.d.ts +1 -1
- package/lib/components/evo-icon-number/public-api.d.ts +2 -2
- package/lib/components/evo-input/evo-input-icon/evo-input-icon.directive.d.ts +5 -5
- package/lib/components/evo-input/evo-input.component.d.ts +93 -93
- package/lib/components/evo-input/evo-input.module.d.ts +14 -14
- package/lib/components/evo-input/index.d.ts +1 -1
- package/lib/components/evo-input/public-api.d.ts +3 -3
- package/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.d.ts +44 -44
- package/lib/components/evo-input-contenteditable/evo-input-contenteditable.module.d.ts +10 -10
- package/lib/components/evo-input-contenteditable/index.d.ts +1 -1
- package/lib/components/evo-input-contenteditable/public-api.d.ts +2 -2
- package/lib/components/evo-input-contenteditable/utils/clear-multiline.d.ts +1 -1
- package/lib/components/evo-loader/evo-circular-loader.component.d.ts +8 -8
- package/lib/components/evo-loader/evo-loader.component.d.ts +14 -14
- package/lib/components/evo-loader/evo-loader.module.d.ts +10 -10
- package/lib/components/evo-loader/index.d.ts +1 -1
- package/lib/components/evo-loader/public-api.d.ts +3 -3
- package/lib/components/evo-modal/evo-modal.component.d.ts +41 -41
- package/lib/components/evo-modal/evo-modal.module.d.ts +10 -10
- package/lib/components/evo-modal/evo-modal.service.d.ts +22 -22
- package/lib/components/evo-modal/index.d.ts +1 -1
- package/lib/components/evo-modal/public-api.d.ts +3 -3
- package/lib/components/evo-navbar/evo-navbar-item/evo-navbar-item.component.d.ts +21 -21
- package/lib/components/evo-navbar/evo-navbar.component.d.ts +18 -18
- package/lib/components/evo-navbar/evo-navbar.module.d.ts +12 -12
- package/lib/components/evo-navbar/index.d.ts +1 -1
- package/lib/components/evo-navbar/interfaces/nav-item-main-info.d.ts +5 -5
- package/lib/components/evo-navbar/interfaces/nav-item-router-link.d.ts +14 -14
- package/lib/components/evo-navbar/interfaces/nav-item.href.d.ts +4 -4
- package/lib/components/evo-navbar/public-api.d.ts +7 -7
- package/lib/components/evo-navbar/types/nav-item.d.ts +4 -4
- package/lib/components/evo-navigation-button/evo-navigation-button.component.d.ts +5 -5
- package/lib/components/evo-navigation-button/evo-navigation-button.module.d.ts +9 -9
- package/lib/components/evo-navigation-button/index.d.ts +1 -1
- package/lib/components/evo-navigation-button/public-api.d.ts +2 -2
- package/lib/components/evo-note/evo-note.component.d.ts +13 -13
- package/lib/components/evo-note/evo-note.module.d.ts +10 -10
- package/lib/components/evo-note/index.d.ts +1 -1
- package/lib/components/evo-note/public.api.d.ts +3 -3
- package/lib/components/evo-note/types/evo-note-type.d.ts +1 -1
- package/lib/components/evo-paginator/evo-paginator.component.d.ts +26 -26
- package/lib/components/evo-paginator/evo-paginator.module.d.ts +8 -8
- package/lib/components/evo-paginator/index.d.ts +1 -1
- package/lib/components/evo-paginator/public-api.d.ts +2 -2
- package/lib/components/evo-plus-minus/evo-plus-minus.component.d.ts +13 -13
- package/lib/components/evo-plus-minus/evo-plus-minus.module.d.ts +8 -8
- package/lib/components/evo-plus-minus/index.d.ts +1 -1
- package/lib/components/evo-plus-minus/public-api.d.ts +2 -2
- package/lib/components/evo-popover/evo-popover.component.d.ts +43 -43
- package/lib/components/evo-popover/evo-popover.module.d.ts +9 -9
- package/lib/components/evo-popover/index.d.ts +1 -1
- package/lib/components/evo-popover/public-api.d.ts +2 -2
- package/lib/components/evo-portal/evo-portal-outlet.class.d.ts +6 -6
- package/lib/components/evo-portal/evo-portal-outlet.directive.d.ts +10 -10
- package/lib/components/evo-portal/evo-portal.module.d.ts +8 -8
- package/lib/components/evo-portal/evo-portal.service.d.ts +27 -27
- package/lib/components/evo-portal/index.d.ts +1 -1
- package/lib/components/evo-portal/public-api.d.ts +4 -4
- package/lib/components/evo-radio/evo-radio.component.d.ts +18 -18
- package/lib/components/evo-radio/evo-radio.module.d.ts +9 -9
- package/lib/components/evo-radio/index.d.ts +1 -1
- package/lib/components/evo-radio/public-api.d.ts +2 -2
- package/lib/components/evo-radio-group/evo-radio-group.component.d.ts +56 -56
- package/lib/components/evo-radio-group/evo-radio-group.module.d.ts +11 -11
- package/lib/components/evo-radio-group/index.d.ts +1 -1
- package/lib/components/evo-radio-group/public-api.d.ts +2 -2
- package/lib/components/evo-radio-group/typings/options.d.ts +6 -6
- package/lib/components/evo-radioshape/components/evo-radioshape.component.d.ts +19 -19
- package/lib/components/evo-radioshape/evo-radioshape.module.d.ts +9 -9
- package/lib/components/evo-radioshape/index.d.ts +1 -1
- package/lib/components/evo-radioshape/public-api.d.ts +2 -2
- package/lib/components/evo-segmented-bar/evo-segmented-bar/evo-segmented-bar.component.d.ts +10 -10
- package/lib/components/evo-segmented-bar/evo-segmented-bar-button/evo-segmented-bar-button.component.d.ts +22 -22
- package/lib/components/evo-segmented-bar/evo-segmented-bar.module.d.ts +11 -11
- package/lib/components/evo-segmented-bar/index.d.ts +1 -1
- package/lib/components/evo-segmented-bar/public-api.d.ts +3 -3
- package/lib/components/evo-select/evo-select.component.d.ts +37 -37
- package/lib/components/evo-select/evo-select.module.d.ts +11 -11
- package/lib/components/evo-select/index.d.ts +1 -1
- package/lib/components/evo-select/public-api.d.ts +2 -2
- package/lib/components/evo-sidebar/enums/evo-sidebar-close-targets.d.ts +6 -6
- package/lib/components/evo-sidebar/enums/evo-sidebar-sizes.d.ts +5 -5
- package/lib/components/evo-sidebar/enums/evo-sidebar-states.d.ts +4 -4
- package/lib/components/evo-sidebar/evo-sidebar-content/evo-sidebar-content.component.d.ts +12 -12
- package/lib/components/evo-sidebar/evo-sidebar-footer/evo-sidebar-footer.component.d.ts +5 -5
- package/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.d.ts +13 -13
- package/lib/components/evo-sidebar/evo-sidebar-portal.d.ts +13 -13
- package/lib/components/evo-sidebar/evo-sidebar.component.d.ts +42 -42
- package/lib/components/evo-sidebar/evo-sidebar.module.d.ts +17 -17
- package/lib/components/evo-sidebar/evo-sidebar.service.d.ts +26 -26
- package/lib/components/evo-sidebar/index.d.ts +1 -1
- package/lib/components/evo-sidebar/interfaces.d.ts +23 -23
- package/lib/components/evo-sidebar/public-api.d.ts +11 -11
- package/lib/components/evo-sidebar/sidebar-injection-token.d.ts +2 -2
- package/lib/components/evo-sidebar/tokens.d.ts +7 -7
- package/lib/components/evo-stepper/evo-stepper-events.d.ts +12 -12
- package/lib/components/evo-stepper/evo-stepper-item/evo-stepper-item.component.d.ts +13 -13
- package/lib/components/evo-stepper/evo-stepper.component.d.ts +27 -27
- package/lib/components/evo-stepper/evo-stepper.module.d.ts +10 -10
- package/lib/components/evo-stepper/index.d.ts +1 -1
- package/lib/components/evo-stepper/public-api.d.ts +3 -3
- package/lib/components/evo-submenu/evo-submenu.component.d.ts +49 -49
- package/lib/components/evo-submenu/evo-submenu.module.d.ts +11 -11
- package/lib/components/evo-submenu/index.d.ts +1 -1
- package/lib/components/evo-submenu/public-api.d.ts +2 -2
- package/lib/components/evo-switcher/components/evo-switcher-item/evo-switcher-item.component.d.ts +9 -9
- package/lib/components/evo-switcher/evo-switcher.component.d.ts +14 -14
- package/lib/components/evo-switcher/evo-switcher.module.d.ts +10 -10
- package/lib/components/evo-switcher/index.d.ts +1 -1
- package/lib/components/evo-switcher/public-api.d.ts +3 -3
- package/lib/components/evo-table/evo-table/evo-table.component.d.ts +35 -35
- package/lib/components/evo-table/evo-table-column/evo-table-column.component.d.ts +12 -12
- package/lib/components/evo-table/evo-table.module.d.ts +9 -9
- package/lib/components/evo-table/index.d.ts +1 -1
- package/lib/components/evo-table/public-api.d.ts +3 -3
- package/lib/components/evo-tabs/enums/evo-tabs-size.d.ts +4 -4
- package/lib/components/evo-tabs/evo-tab/evo-tab.component.d.ts +35 -35
- package/lib/components/evo-tabs/evo-tab-content/evo-tab-content.component.d.ts +16 -16
- package/lib/components/evo-tabs/evo-tab-state.collection.d.ts +15 -15
- package/lib/components/evo-tabs/evo-tabs-size.service.d.ts +12 -12
- package/lib/components/evo-tabs/evo-tabs.component.d.ts +22 -22
- package/lib/components/evo-tabs/evo-tabs.module.d.ts +11 -11
- package/lib/components/evo-tabs/evo-tabs.service.d.ts +19 -19
- package/lib/components/evo-tabs/index.d.ts +1 -1
- package/lib/components/evo-tabs/public-api.d.ts +8 -8
- package/lib/components/evo-textarea/evo-textarea.component.d.ts +25 -25
- package/lib/components/evo-textarea/evo-textarea.module.d.ts +11 -11
- package/lib/components/evo-textarea/index.d.ts +1 -1
- package/lib/components/evo-textarea/public-api.d.ts +2 -2
- package/lib/components/evo-toast/evo-toast.component.d.ts +23 -23
- package/lib/components/evo-toast/evo-toast.module.d.ts +10 -10
- package/lib/components/evo-toast/evo-toast.service.d.ts +22 -22
- package/lib/components/evo-toast/index.d.ts +1 -1
- package/lib/components/evo-toast/public-api.d.ts +3 -3
- package/lib/components/evo-toggle/evo-toggle.component.d.ts +20 -20
- package/lib/components/evo-toggle/evo-toggle.module.d.ts +10 -10
- package/lib/components/evo-toggle/index.d.ts +1 -1
- package/lib/components/evo-toggle/public-api.d.ts +2 -2
- package/lib/components/evo-upload/evo-upload.component.d.ts +65 -65
- package/lib/components/evo-upload/evo-upload.module.d.ts +13 -13
- package/lib/components/evo-upload/index.d.ts +1 -1
- package/lib/components/evo-upload/public-api.d.ts +2 -2
- package/lib/decorators/deprecate-method.decorator.d.ts +1 -1
- package/lib/decorators/deprecate-variable.decorator.d.ts +1 -1
- package/lib/decorators/index.d.ts +1 -1
- package/lib/decorators/public-api.d.ts +2 -2
- package/lib/directives/evo-click-outside.directive.d.ts +12 -12
- package/lib/directives/evo-is-expanded.directive.d.ts +19 -19
- package/lib/directives/evo-let/evo-let.directive.d.ts +33 -33
- package/lib/directives/evo-ui-class.directive.d.ts +61 -61
- package/lib/directives/index.d.ts +1 -1
- package/lib/directives/public-api.d.ts +4 -4
- package/lib/evo-ui-kit.module.d.ts +16 -16
- package/lib/operators/enter-zone.operator.d.ts +3 -3
- package/lib/operators/index.d.ts +1 -1
- package/lib/operators/public-api.d.ts +1 -1
- package/lib/pipes/declination.pipe.d.ts +7 -7
- package/lib/pipes/evo-pipes.module.d.ts +8 -8
- package/lib/pipes/index.d.ts +1 -1
- package/lib/pipes/public-api.d.ts +3 -3
- package/lib/pipes/safe-html.pipe.d.ts +10 -10
- package/lib/services/evo-expanded.service.d.ts +11 -11
- package/lib/services/index.d.ts +1 -1
- package/lib/services/public-api.d.ts +1 -1
- package/lib/services/window.service.d.ts +14 -14
- package/package.json +1 -1
- package/public_api.d.ts +63 -63
- package/styles/components/evo-button.scss +233 -233
- package/styles/components/evo-chip.scss +167 -167
- package/styles/components/evo-table.scss +42 -42
- package/styles/components/evo-title.scss +23 -23
- package/styles/components/skeleton.scss +12 -12
- package/styles/globals.scss +78 -78
- package/styles/main.scss +24 -24
- package/styles/mixins/_evo-input-mixins.scss +74 -74
- package/styles/mixins/_evo-text-button-mixin.scss +24 -24
- package/styles/mixins/_evo-text-caption-mixin.scss +26 -26
- package/styles/mixins/_evo-text-field-mixin.scss +36 -36
- package/styles/mixins/_evo-text-header-mixin.scss +62 -62
- package/styles/mixins/_evo-text-mobile-header-mixin.scss +34 -34
- package/styles/mixins/_evo-text-paragraph-mixin.scss +34 -34
- package/styles/mixins/_evo-text-subtitle-mixin.scss +20 -20
- package/styles/mixins/_evo-text-tips-mixin.scss +9 -9
- package/styles/mixins/_media-mixins.scss +38 -38
- package/styles/mixins.scss +96 -96
- package/styles/partials/_fonts.scss +2 -2
- package/styles/partials/_typography.scss +135 -135
- package/styles/variables.scss +140 -140
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { IMaskModule } from 'angular-imask';
|
|
4
|
-
import { EvoInputComponent } from './evo-input.component';
|
|
5
|
-
import { EvoUiKitModule } from '../../evo-ui-kit.module';
|
|
6
|
-
import { EvoControlErrorModule } from '../evo-control-error/evo-control-error.module';
|
|
7
|
-
import { FormsModule } from '@angular/forms';
|
|
8
|
-
import { EvoIconModule } from '../evo-icon';
|
|
9
|
-
import { iconHelp, iconDecline } from '@evotor-dev/ui-kit/icons/system';
|
|
10
|
-
import { EvoInputIconDirective } from './evo-input-icon/evo-input-icon.directive';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "../evo-icon/evo-icon.module";
|
|
13
|
-
export class EvoInputModule {
|
|
14
|
-
}
|
|
15
|
-
EvoInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
|
-
EvoInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputModule, declarations: [EvoInputComponent,
|
|
17
|
-
EvoInputIconDirective,
|
|
18
|
-
EvoInputIconDirective], imports: [CommonModule,
|
|
19
|
-
FormsModule,
|
|
20
|
-
EvoUiKitModule,
|
|
21
|
-
EvoControlErrorModule,
|
|
22
|
-
IMaskModule, i1.EvoIconModule], exports: [EvoInputComponent,
|
|
23
|
-
EvoInputIconDirective] });
|
|
24
|
-
EvoInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputModule, imports: [[
|
|
25
|
-
CommonModule,
|
|
26
|
-
FormsModule,
|
|
27
|
-
EvoUiKitModule,
|
|
28
|
-
EvoControlErrorModule,
|
|
29
|
-
IMaskModule,
|
|
30
|
-
EvoIconModule.forRoot([{
|
|
31
|
-
name: 'icons',
|
|
32
|
-
shapes: {
|
|
33
|
-
help: iconHelp,
|
|
34
|
-
decline: iconDecline,
|
|
35
|
-
},
|
|
36
|
-
}]),
|
|
37
|
-
]] });
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputModule, decorators: [{
|
|
39
|
-
type: NgModule,
|
|
40
|
-
args: [{
|
|
41
|
-
imports: [
|
|
42
|
-
CommonModule,
|
|
43
|
-
FormsModule,
|
|
44
|
-
EvoUiKitModule,
|
|
45
|
-
EvoControlErrorModule,
|
|
46
|
-
IMaskModule,
|
|
47
|
-
EvoIconModule.forRoot([{
|
|
48
|
-
name: 'icons',
|
|
49
|
-
shapes: {
|
|
50
|
-
help: iconHelp,
|
|
51
|
-
decline: iconDecline,
|
|
52
|
-
},
|
|
53
|
-
}]),
|
|
54
|
-
],
|
|
55
|
-
declarations: [
|
|
56
|
-
EvoInputComponent,
|
|
57
|
-
EvoInputIconDirective,
|
|
58
|
-
EvoInputIconDirective,
|
|
59
|
-
],
|
|
60
|
-
exports: [
|
|
61
|
-
EvoInputComponent,
|
|
62
|
-
EvoInputIconDirective,
|
|
63
|
-
],
|
|
64
|
-
}]
|
|
65
|
-
}] });
|
|
66
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { IMaskModule } from 'angular-imask';
|
|
4
|
+
import { EvoInputComponent } from './evo-input.component';
|
|
5
|
+
import { EvoUiKitModule } from '../../evo-ui-kit.module';
|
|
6
|
+
import { EvoControlErrorModule } from '../evo-control-error/evo-control-error.module';
|
|
7
|
+
import { FormsModule } from '@angular/forms';
|
|
8
|
+
import { EvoIconModule } from '../evo-icon';
|
|
9
|
+
import { iconHelp, iconDecline } from '@evotor-dev/ui-kit/icons/system';
|
|
10
|
+
import { EvoInputIconDirective } from './evo-input-icon/evo-input-icon.directive';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "../evo-icon/evo-icon.module";
|
|
13
|
+
export class EvoInputModule {
|
|
14
|
+
}
|
|
15
|
+
EvoInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
|
+
EvoInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputModule, declarations: [EvoInputComponent,
|
|
17
|
+
EvoInputIconDirective,
|
|
18
|
+
EvoInputIconDirective], imports: [CommonModule,
|
|
19
|
+
FormsModule,
|
|
20
|
+
EvoUiKitModule,
|
|
21
|
+
EvoControlErrorModule,
|
|
22
|
+
IMaskModule, i1.EvoIconModule], exports: [EvoInputComponent,
|
|
23
|
+
EvoInputIconDirective] });
|
|
24
|
+
EvoInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputModule, imports: [[
|
|
25
|
+
CommonModule,
|
|
26
|
+
FormsModule,
|
|
27
|
+
EvoUiKitModule,
|
|
28
|
+
EvoControlErrorModule,
|
|
29
|
+
IMaskModule,
|
|
30
|
+
EvoIconModule.forRoot([{
|
|
31
|
+
name: 'icons',
|
|
32
|
+
shapes: {
|
|
33
|
+
help: iconHelp,
|
|
34
|
+
decline: iconDecline,
|
|
35
|
+
},
|
|
36
|
+
}]),
|
|
37
|
+
]] });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputModule, decorators: [{
|
|
39
|
+
type: NgModule,
|
|
40
|
+
args: [{
|
|
41
|
+
imports: [
|
|
42
|
+
CommonModule,
|
|
43
|
+
FormsModule,
|
|
44
|
+
EvoUiKitModule,
|
|
45
|
+
EvoControlErrorModule,
|
|
46
|
+
IMaskModule,
|
|
47
|
+
EvoIconModule.forRoot([{
|
|
48
|
+
name: 'icons',
|
|
49
|
+
shapes: {
|
|
50
|
+
help: iconHelp,
|
|
51
|
+
decline: iconDecline,
|
|
52
|
+
},
|
|
53
|
+
}]),
|
|
54
|
+
],
|
|
55
|
+
declarations: [
|
|
56
|
+
EvoInputComponent,
|
|
57
|
+
EvoInputIconDirective,
|
|
58
|
+
EvoInputIconDirective,
|
|
59
|
+
],
|
|
60
|
+
exports: [
|
|
61
|
+
EvoInputComponent,
|
|
62
|
+
EvoInputIconDirective,
|
|
63
|
+
],
|
|
64
|
+
}]
|
|
65
|
+
}] });
|
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWlucHV0Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by1pbnB1dC9ldm8taW5wdXQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDNUMsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDMUQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ3pELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLCtDQUErQyxDQUFDO0FBQ3RGLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQzVDLE9BQU8sRUFBRSxRQUFRLEVBQUUsV0FBVyxFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDeEUsT0FBTyxFQUFFLHFCQUFxQixFQU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XHJcbiAgICAgICAgICAgIG5hbWU6ICdpY29ucycsXHJcbiAgICAgICAgICAgIHNoYXBlczoge1xyXG4gICAgICAgICAgICAgICAgaGVscDogaWNvbkhlbHAsXHJcbiAgICAgICAgICAgICAgICBkZWNsaW5lOiBpY29uRGVjbGluZSxcclxuICAgICAgICAgICAgfSxcclxuICAgICAgICB9XSksXHJcbiAgICBdLFxyXG4gICAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICAgICAgRXZvSW5wdXRDb21wb25lbnQsXHJcbiAgICAgICAgRXZvSW5wdXRJY29uRGlyZWN0aXZlLFxyXG4gICAgICAgIEV2b0lucHV0SWNvbkRpcmVjdGl2ZSxcclxuICAgIF0sXHJcbiAgICBleHBvcnRzOiBbXHJcbiAgICAgICAgRXZvSW5wdXRDb21wb25lbnQsXHJcbiAgICAgICAgRXZvSW5wdXRJY29uRGlyZWN0aXZlLFxyXG4gICAgXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIEV2b0lucHV0TW9kdWxlIHtcclxufVxyXG4iXX0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './public-api';
|
|
1
|
+
export * from './public-api';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldm8tdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9ldm8taW5wdXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './evo-input.module';
|
|
2
|
-
export * from './evo-input.component';
|
|
3
|
-
export * from './evo-input-icon/evo-input-icon.directive';
|
|
1
|
+
export * from './evo-input.module';
|
|
2
|
+
export * from './evo-input.component';
|
|
3
|
+
export * from './evo-input-icon/evo-input-icon.directive';
|
|
4
4
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by1pbnB1dC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLDJDQUEyQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9ldm8taW5wdXQubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vZXZvLWlucHV0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2V2by1pbnB1dC1pY29uL2V2by1pbnB1dC1pY29uLmRpcmVjdGl2ZSc7XG4iXX0=
|
package/esm2020/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.mjs
CHANGED
|
@@ -1,150 +1,150 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, forwardRef, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { EvoBaseControl } from '../../common/evo-base-control';
|
|
4
|
-
import { EvoControlStates } from '../../common/evo-control-state-manager/evo-control-states.enum';
|
|
5
|
-
import { clearMultiline } from './utils/clear-multiline';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../evo-control-error/evo-control-error.component";
|
|
8
|
-
import * as i2 from "../../directives/evo-ui-class.directive";
|
|
9
|
-
import * as i3 from "@angular/common";
|
|
10
|
-
export class EvoInputContenteditableComponent extends EvoBaseControl {
|
|
11
|
-
constructor(cd, injector) {
|
|
12
|
-
super(injector);
|
|
13
|
-
this.cd = cd;
|
|
14
|
-
this.injector = injector;
|
|
15
|
-
this.blur = new EventEmitter();
|
|
16
|
-
this.multiline = true;
|
|
17
|
-
this.maxLines = 3;
|
|
18
|
-
this.minLines = 0;
|
|
19
|
-
this.disabled = false;
|
|
20
|
-
this.preventStylingHotkeys = true;
|
|
21
|
-
this._isDisabled = false;
|
|
22
|
-
}
|
|
23
|
-
get isDisabled() {
|
|
24
|
-
return this._isDisabled || this.disabled;
|
|
25
|
-
}
|
|
26
|
-
get inputClass() {
|
|
27
|
-
return {
|
|
28
|
-
open: this.minLines > 0,
|
|
29
|
-
single: !this.multiline,
|
|
30
|
-
disabled: this._isDisabled,
|
|
31
|
-
valid: this.currentState[EvoControlStates.valid],
|
|
32
|
-
invalid: this.currentState[EvoControlStates.invalid],
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
ngOnInit() {
|
|
36
|
-
this.wrapSetValue();
|
|
37
|
-
if (this.autoFocus) {
|
|
38
|
-
this.focus();
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
focus() {
|
|
42
|
-
this.contenteditable.nativeElement.focus();
|
|
43
|
-
}
|
|
44
|
-
registerOnChange(fn) {
|
|
45
|
-
this.onChange = fn;
|
|
46
|
-
}
|
|
47
|
-
writeValue(value) {
|
|
48
|
-
this.contenteditable.nativeElement.innerText = this.clearMultiline(value);
|
|
49
|
-
}
|
|
50
|
-
onBlur(event) {
|
|
51
|
-
this.blur.emit(event);
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* New line triggers changes in both modes
|
|
55
|
-
* Handle this case here if you found this behaviour redundant
|
|
56
|
-
*/
|
|
57
|
-
onInput(event) {
|
|
58
|
-
if (this.onTouched) {
|
|
59
|
-
this.onTouched();
|
|
60
|
-
}
|
|
61
|
-
if (this.onChange) {
|
|
62
|
-
const value = event.target.innerText;
|
|
63
|
-
this.onChange(this.clearMultiline(value));
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
onPaste(event) {
|
|
67
|
-
event.preventDefault();
|
|
68
|
-
const content = event.clipboardData?.getData('text/plain');
|
|
69
|
-
document.execCommand('insertText', false, this.clearMultiline(content));
|
|
70
|
-
}
|
|
71
|
-
onKeydown(event) {
|
|
72
|
-
if (this.preventStylingHotkeys &&
|
|
73
|
-
(event.ctrlKey || event.metaKey) &&
|
|
74
|
-
EvoInputContenteditableComponent.STYLE_KEYCODES.includes(event.keyCode)) {
|
|
75
|
-
event.preventDefault();
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
registerOnTouched(fn) {
|
|
79
|
-
this.onTouched = fn;
|
|
80
|
-
}
|
|
81
|
-
setDisabledState(isDisabled) {
|
|
82
|
-
this._isDisabled = isDisabled;
|
|
83
|
-
this.cd.detectChanges();
|
|
84
|
-
}
|
|
85
|
-
clearMultiline(value) {
|
|
86
|
-
return clearMultiline(value, this.multiline);
|
|
87
|
-
}
|
|
88
|
-
wrapSetValue() {
|
|
89
|
-
const originalSetValue = this.control.setValue;
|
|
90
|
-
this.control.setValue = (value, options) => {
|
|
91
|
-
if (typeof value === 'string') {
|
|
92
|
-
value = this.clearMultiline(value);
|
|
93
|
-
}
|
|
94
|
-
return originalSetValue.call(this.control, value, options);
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
EvoInputContenteditableComponent.STYLE_KEYCODES = [
|
|
99
|
-
66,
|
|
100
|
-
73,
|
|
101
|
-
85, // U u
|
|
102
|
-
];
|
|
103
|
-
EvoInputContenteditableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputContenteditableComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
104
|
-
EvoInputContenteditableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: EvoInputContenteditableComponent, selector: "evo-input-contenteditable", inputs: { multiline: "multiline", placeholder: "placeholder", autoFocus: "autoFocus", maxLines: "maxLines", minLines: "minLines", disabled: "disabled", preventStylingHotkeys: "preventStylingHotkeys" }, outputs: { blur: "blur" }, providers: [
|
|
105
|
-
{
|
|
106
|
-
provide: NG_VALUE_ACCESSOR,
|
|
107
|
-
useExisting: forwardRef(() => EvoInputContenteditableComponent),
|
|
108
|
-
multi: true,
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
provide: EvoBaseControl,
|
|
112
|
-
useExisting: forwardRef(() => EvoInputContenteditableComponent),
|
|
113
|
-
multi: true,
|
|
114
|
-
},
|
|
115
|
-
], viewQueries: [{ propertyName: "contenteditable", first: true, predicate: ["contenteditable"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"evo-contenteditable-input\"\n [evoUiClass]=\"inputClass\"\n [style.--evo-contenteditable-lines]=\"multiline ? maxLines : 0\"\n>\n\t<span\n #contenteditable\n class=\"evo-contenteditable-input__content\"\n (blur)=\"onBlur($event)\"\n (input)=\"onInput($event)\"\n (paste)=\"onPaste($event)\"\n (dragover)=\"$event.preventDefault()\"\n (keydown)=\"onKeydown($event)\"\n [evoUiClass]=\"{'open-lines': minLines > 0}\"\n [attr.contenteditable]=\"!isDisabled\"\n [attr.placeholder]=\"placeholder\"\n [style.--evo-contenteditable-min-lines]=\"multiline ? minLines : 0\"\n ></span>\n</div>\n<evo-control-error\n *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"\n></evo-control-error>\n", styles: [".evo-contenteditable-input{--evo-input-height: 48px;--evo-input-border-radius: 4px;--evo-input-font-size: 16px;display:flex;align-items:center;height:var(--evo-input-height);color:#212121;font-weight:400;font-size:var(--evo-input-font-size);font-family:var(--evo-font);white-space:nowrap;background-color:#fff;border:1px solid #C6C6C6;border-radius:var(--evo-input-border-radius);outline:none;transition:color .3s,box-shadow .3s,background .3s,border .3s;display:block;flex-basis:100%;height:auto;min-height:48px;max-height:calc(24px * var(--evo-contenteditable-lines) + 24px);padding:11px 16px;overflow:auto;line-height:24px}.evo-contenteditable-input_focused{border:solid 1px #74706F}.evo-contenteditable-input_invalid{border-color:#ff1817!important}.evo-contenteditable-input_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-contenteditable-input_disabled .evo-contenteditable-input__content{display:block}.evo-contenteditable-input_single{display:flex;overflow:hidden}.evo-contenteditable-input_single .evo-contenteditable-input__content{-ms-overflow-style:none;scrollbar-width:none;flex-direction:row;overflow-x:scroll;overflow-y:hidden;white-space:nowrap}.evo-contenteditable-input_single .evo-contenteditable-input__content::-webkit-scrollbar{display:none}.evo-contenteditable-input_single .evo-contenteditable-input__content ::ng-deep br{display:none}.evo-contenteditable-input_single .evo-contenteditable-input__content ::ng-deep *{display:inline;white-space:nowrap}.evo-contenteditable-input:focus-within{border:solid 1px #74706F}.evo-contenteditable-input__content{position:relative;display:inline-block;flex-direction:column;width:100%;min-height:calc(24px * var(--evo-contenteditable-min-lines));white-space:pre-wrap;outline:none}.evo-contenteditable-input__content_open-lines{min-height:calc(calc(24px * var(--evo-contenteditable-min-lines)) + 8px)}.evo-contenteditable-input__content:empty:before{content:attr(placeholder);position:absolute;display:block;color:#9b9b9b;pointer-events:none}\n"], components: [{ type: i1.EvoControlErrorComponent, selector: "evo-control-error", inputs: ["errors", "errorsMessages", "showCount"] }], directives: [{ type: i2.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputContenteditableComponent, decorators: [{
|
|
117
|
-
type: Component,
|
|
118
|
-
args: [{ selector: 'evo-input-contenteditable', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
119
|
-
{
|
|
120
|
-
provide: NG_VALUE_ACCESSOR,
|
|
121
|
-
useExisting: forwardRef(() => EvoInputContenteditableComponent),
|
|
122
|
-
multi: true,
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
provide: EvoBaseControl,
|
|
126
|
-
useExisting: forwardRef(() => EvoInputContenteditableComponent),
|
|
127
|
-
multi: true,
|
|
128
|
-
},
|
|
129
|
-
], template: "<div\n class=\"evo-contenteditable-input\"\n [evoUiClass]=\"inputClass\"\n [style.--evo-contenteditable-lines]=\"multiline ? maxLines : 0\"\n>\n\t<span\n #contenteditable\n class=\"evo-contenteditable-input__content\"\n (blur)=\"onBlur($event)\"\n (input)=\"onInput($event)\"\n (paste)=\"onPaste($event)\"\n (dragover)=\"$event.preventDefault()\"\n (keydown)=\"onKeydown($event)\"\n [evoUiClass]=\"{'open-lines': minLines > 0}\"\n [attr.contenteditable]=\"!isDisabled\"\n [attr.placeholder]=\"placeholder\"\n [style.--evo-contenteditable-min-lines]=\"multiline ? minLines : 0\"\n ></span>\n</div>\n<evo-control-error\n *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"\n></evo-control-error>\n", styles: [".evo-contenteditable-input{--evo-input-height: 48px;--evo-input-border-radius: 4px;--evo-input-font-size: 16px;display:flex;align-items:center;height:var(--evo-input-height);color:#212121;font-weight:400;font-size:var(--evo-input-font-size);font-family:var(--evo-font);white-space:nowrap;background-color:#fff;border:1px solid #C6C6C6;border-radius:var(--evo-input-border-radius);outline:none;transition:color .3s,box-shadow .3s,background .3s,border .3s;display:block;flex-basis:100%;height:auto;min-height:48px;max-height:calc(24px * var(--evo-contenteditable-lines) + 24px);padding:11px 16px;overflow:auto;line-height:24px}.evo-contenteditable-input_focused{border:solid 1px #74706F}.evo-contenteditable-input_invalid{border-color:#ff1817!important}.evo-contenteditable-input_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-contenteditable-input_disabled .evo-contenteditable-input__content{display:block}.evo-contenteditable-input_single{display:flex;overflow:hidden}.evo-contenteditable-input_single .evo-contenteditable-input__content{-ms-overflow-style:none;scrollbar-width:none;flex-direction:row;overflow-x:scroll;overflow-y:hidden;white-space:nowrap}.evo-contenteditable-input_single .evo-contenteditable-input__content::-webkit-scrollbar{display:none}.evo-contenteditable-input_single .evo-contenteditable-input__content ::ng-deep br{display:none}.evo-contenteditable-input_single .evo-contenteditable-input__content ::ng-deep *{display:inline;white-space:nowrap}.evo-contenteditable-input:focus-within{border:solid 1px #74706F}.evo-contenteditable-input__content{position:relative;display:inline-block;flex-direction:column;width:100%;min-height:calc(24px * var(--evo-contenteditable-min-lines));white-space:pre-wrap;outline:none}.evo-contenteditable-input__content_open-lines{min-height:calc(calc(24px * var(--evo-contenteditable-min-lines)) + 8px)}.evo-contenteditable-input__content:empty:before{content:attr(placeholder);position:absolute;display:block;color:#9b9b9b;pointer-events:none}\n"] }]
|
|
130
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Injector }]; }, propDecorators: { contenteditable: [{
|
|
131
|
-
type: ViewChild,
|
|
132
|
-
args: ['contenteditable', { read: ElementRef, static: true }]
|
|
133
|
-
}], blur: [{
|
|
134
|
-
type: Output
|
|
135
|
-
}], multiline: [{
|
|
136
|
-
type: Input
|
|
137
|
-
}], placeholder: [{
|
|
138
|
-
type: Input
|
|
139
|
-
}], autoFocus: [{
|
|
140
|
-
type: Input
|
|
141
|
-
}], maxLines: [{
|
|
142
|
-
type: Input
|
|
143
|
-
}], minLines: [{
|
|
144
|
-
type: Input
|
|
145
|
-
}], disabled: [{
|
|
146
|
-
type: Input
|
|
147
|
-
}], preventStylingHotkeys: [{
|
|
148
|
-
type: Input
|
|
149
|
-
}] } });
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, forwardRef, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { EvoBaseControl } from '../../common/evo-base-control';
|
|
4
|
+
import { EvoControlStates } from '../../common/evo-control-state-manager/evo-control-states.enum';
|
|
5
|
+
import { clearMultiline } from './utils/clear-multiline';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../evo-control-error/evo-control-error.component";
|
|
8
|
+
import * as i2 from "../../directives/evo-ui-class.directive";
|
|
9
|
+
import * as i3 from "@angular/common";
|
|
10
|
+
export class EvoInputContenteditableComponent extends EvoBaseControl {
|
|
11
|
+
constructor(cd, injector) {
|
|
12
|
+
super(injector);
|
|
13
|
+
this.cd = cd;
|
|
14
|
+
this.injector = injector;
|
|
15
|
+
this.blur = new EventEmitter();
|
|
16
|
+
this.multiline = true;
|
|
17
|
+
this.maxLines = 3;
|
|
18
|
+
this.minLines = 0;
|
|
19
|
+
this.disabled = false;
|
|
20
|
+
this.preventStylingHotkeys = true;
|
|
21
|
+
this._isDisabled = false;
|
|
22
|
+
}
|
|
23
|
+
get isDisabled() {
|
|
24
|
+
return this._isDisabled || this.disabled;
|
|
25
|
+
}
|
|
26
|
+
get inputClass() {
|
|
27
|
+
return {
|
|
28
|
+
open: this.minLines > 0,
|
|
29
|
+
single: !this.multiline,
|
|
30
|
+
disabled: this._isDisabled,
|
|
31
|
+
valid: this.currentState[EvoControlStates.valid],
|
|
32
|
+
invalid: this.currentState[EvoControlStates.invalid],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
ngOnInit() {
|
|
36
|
+
this.wrapSetValue();
|
|
37
|
+
if (this.autoFocus) {
|
|
38
|
+
this.focus();
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
focus() {
|
|
42
|
+
this.contenteditable.nativeElement.focus();
|
|
43
|
+
}
|
|
44
|
+
registerOnChange(fn) {
|
|
45
|
+
this.onChange = fn;
|
|
46
|
+
}
|
|
47
|
+
writeValue(value) {
|
|
48
|
+
this.contenteditable.nativeElement.innerText = this.clearMultiline(value);
|
|
49
|
+
}
|
|
50
|
+
onBlur(event) {
|
|
51
|
+
this.blur.emit(event);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* New line triggers changes in both modes
|
|
55
|
+
* Handle this case here if you found this behaviour redundant
|
|
56
|
+
*/
|
|
57
|
+
onInput(event) {
|
|
58
|
+
if (this.onTouched) {
|
|
59
|
+
this.onTouched();
|
|
60
|
+
}
|
|
61
|
+
if (this.onChange) {
|
|
62
|
+
const value = event.target.innerText;
|
|
63
|
+
this.onChange(this.clearMultiline(value));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
onPaste(event) {
|
|
67
|
+
event.preventDefault();
|
|
68
|
+
const content = event.clipboardData?.getData('text/plain');
|
|
69
|
+
document.execCommand('insertText', false, this.clearMultiline(content));
|
|
70
|
+
}
|
|
71
|
+
onKeydown(event) {
|
|
72
|
+
if (this.preventStylingHotkeys &&
|
|
73
|
+
(event.ctrlKey || event.metaKey) &&
|
|
74
|
+
EvoInputContenteditableComponent.STYLE_KEYCODES.includes(event.keyCode)) {
|
|
75
|
+
event.preventDefault();
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
registerOnTouched(fn) {
|
|
79
|
+
this.onTouched = fn;
|
|
80
|
+
}
|
|
81
|
+
setDisabledState(isDisabled) {
|
|
82
|
+
this._isDisabled = isDisabled;
|
|
83
|
+
this.cd.detectChanges();
|
|
84
|
+
}
|
|
85
|
+
clearMultiline(value) {
|
|
86
|
+
return clearMultiline(value, this.multiline);
|
|
87
|
+
}
|
|
88
|
+
wrapSetValue() {
|
|
89
|
+
const originalSetValue = this.control.setValue;
|
|
90
|
+
this.control.setValue = (value, options) => {
|
|
91
|
+
if (typeof value === 'string') {
|
|
92
|
+
value = this.clearMultiline(value);
|
|
93
|
+
}
|
|
94
|
+
return originalSetValue.call(this.control, value, options);
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
EvoInputContenteditableComponent.STYLE_KEYCODES = [
|
|
99
|
+
66,
|
|
100
|
+
73,
|
|
101
|
+
85, // U u
|
|
102
|
+
];
|
|
103
|
+
EvoInputContenteditableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputContenteditableComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
104
|
+
EvoInputContenteditableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: EvoInputContenteditableComponent, selector: "evo-input-contenteditable", inputs: { multiline: "multiline", placeholder: "placeholder", autoFocus: "autoFocus", maxLines: "maxLines", minLines: "minLines", disabled: "disabled", preventStylingHotkeys: "preventStylingHotkeys" }, outputs: { blur: "blur" }, providers: [
|
|
105
|
+
{
|
|
106
|
+
provide: NG_VALUE_ACCESSOR,
|
|
107
|
+
useExisting: forwardRef(() => EvoInputContenteditableComponent),
|
|
108
|
+
multi: true,
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
provide: EvoBaseControl,
|
|
112
|
+
useExisting: forwardRef(() => EvoInputContenteditableComponent),
|
|
113
|
+
multi: true,
|
|
114
|
+
},
|
|
115
|
+
], viewQueries: [{ propertyName: "contenteditable", first: true, predicate: ["contenteditable"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"evo-contenteditable-input\"\n [evoUiClass]=\"inputClass\"\n [style.--evo-contenteditable-lines]=\"multiline ? maxLines : 0\"\n>\n\t<span\n #contenteditable\n class=\"evo-contenteditable-input__content\"\n (blur)=\"onBlur($event)\"\n (input)=\"onInput($event)\"\n (paste)=\"onPaste($event)\"\n (dragover)=\"$event.preventDefault()\"\n (keydown)=\"onKeydown($event)\"\n [evoUiClass]=\"{'open-lines': minLines > 0}\"\n [attr.contenteditable]=\"!isDisabled\"\n [attr.placeholder]=\"placeholder\"\n [style.--evo-contenteditable-min-lines]=\"multiline ? minLines : 0\"\n ></span>\n</div>\n<evo-control-error\n *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"\n></evo-control-error>\n", styles: [".evo-contenteditable-input{--evo-input-height: 48px;--evo-input-border-radius: 4px;--evo-input-font-size: 16px;display:flex;align-items:center;height:var(--evo-input-height);color:#212121;font-weight:400;font-size:var(--evo-input-font-size);font-family:var(--evo-font);white-space:nowrap;background-color:#fff;border:1px solid #C6C6C6;border-radius:var(--evo-input-border-radius);outline:none;transition:color .3s,box-shadow .3s,background .3s,border .3s;display:block;flex-basis:100%;height:auto;min-height:48px;max-height:calc(24px * var(--evo-contenteditable-lines) + 24px);padding:11px 16px;overflow:auto;line-height:24px}.evo-contenteditable-input_focused{border:solid 1px #74706F}.evo-contenteditable-input_invalid{border-color:#ff1817!important}.evo-contenteditable-input_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-contenteditable-input_disabled .evo-contenteditable-input__content{display:block}.evo-contenteditable-input_single{display:flex;overflow:hidden}.evo-contenteditable-input_single .evo-contenteditable-input__content{-ms-overflow-style:none;scrollbar-width:none;flex-direction:row;overflow-x:scroll;overflow-y:hidden;white-space:nowrap}.evo-contenteditable-input_single .evo-contenteditable-input__content::-webkit-scrollbar{display:none}.evo-contenteditable-input_single .evo-contenteditable-input__content ::ng-deep br{display:none}.evo-contenteditable-input_single .evo-contenteditable-input__content ::ng-deep *{display:inline;white-space:nowrap}.evo-contenteditable-input:focus-within{border:solid 1px #74706F}.evo-contenteditable-input__content{position:relative;display:inline-block;flex-direction:column;width:100%;min-height:calc(24px * var(--evo-contenteditable-min-lines));white-space:pre-wrap;outline:none}.evo-contenteditable-input__content_open-lines{min-height:calc(calc(24px * var(--evo-contenteditable-min-lines)) + 8px)}.evo-contenteditable-input__content:empty:before{content:attr(placeholder);position:absolute;display:block;color:#9b9b9b;pointer-events:none}\n"], components: [{ type: i1.EvoControlErrorComponent, selector: "evo-control-error", inputs: ["errors", "errorsMessages", "showCount"] }], directives: [{ type: i2.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputContenteditableComponent, decorators: [{
|
|
117
|
+
type: Component,
|
|
118
|
+
args: [{ selector: 'evo-input-contenteditable', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
119
|
+
{
|
|
120
|
+
provide: NG_VALUE_ACCESSOR,
|
|
121
|
+
useExisting: forwardRef(() => EvoInputContenteditableComponent),
|
|
122
|
+
multi: true,
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
provide: EvoBaseControl,
|
|
126
|
+
useExisting: forwardRef(() => EvoInputContenteditableComponent),
|
|
127
|
+
multi: true,
|
|
128
|
+
},
|
|
129
|
+
], template: "<div\n class=\"evo-contenteditable-input\"\n [evoUiClass]=\"inputClass\"\n [style.--evo-contenteditable-lines]=\"multiline ? maxLines : 0\"\n>\n\t<span\n #contenteditable\n class=\"evo-contenteditable-input__content\"\n (blur)=\"onBlur($event)\"\n (input)=\"onInput($event)\"\n (paste)=\"onPaste($event)\"\n (dragover)=\"$event.preventDefault()\"\n (keydown)=\"onKeydown($event)\"\n [evoUiClass]=\"{'open-lines': minLines > 0}\"\n [attr.contenteditable]=\"!isDisabled\"\n [attr.placeholder]=\"placeholder\"\n [style.--evo-contenteditable-min-lines]=\"multiline ? minLines : 0\"\n ></span>\n</div>\n<evo-control-error\n *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"\n></evo-control-error>\n", styles: [".evo-contenteditable-input{--evo-input-height: 48px;--evo-input-border-radius: 4px;--evo-input-font-size: 16px;display:flex;align-items:center;height:var(--evo-input-height);color:#212121;font-weight:400;font-size:var(--evo-input-font-size);font-family:var(--evo-font);white-space:nowrap;background-color:#fff;border:1px solid #C6C6C6;border-radius:var(--evo-input-border-radius);outline:none;transition:color .3s,box-shadow .3s,background .3s,border .3s;display:block;flex-basis:100%;height:auto;min-height:48px;max-height:calc(24px * var(--evo-contenteditable-lines) + 24px);padding:11px 16px;overflow:auto;line-height:24px}.evo-contenteditable-input_focused{border:solid 1px #74706F}.evo-contenteditable-input_invalid{border-color:#ff1817!important}.evo-contenteditable-input_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-contenteditable-input_disabled .evo-contenteditable-input__content{display:block}.evo-contenteditable-input_single{display:flex;overflow:hidden}.evo-contenteditable-input_single .evo-contenteditable-input__content{-ms-overflow-style:none;scrollbar-width:none;flex-direction:row;overflow-x:scroll;overflow-y:hidden;white-space:nowrap}.evo-contenteditable-input_single .evo-contenteditable-input__content::-webkit-scrollbar{display:none}.evo-contenteditable-input_single .evo-contenteditable-input__content ::ng-deep br{display:none}.evo-contenteditable-input_single .evo-contenteditable-input__content ::ng-deep *{display:inline;white-space:nowrap}.evo-contenteditable-input:focus-within{border:solid 1px #74706F}.evo-contenteditable-input__content{position:relative;display:inline-block;flex-direction:column;width:100%;min-height:calc(24px * var(--evo-contenteditable-min-lines));white-space:pre-wrap;outline:none}.evo-contenteditable-input__content_open-lines{min-height:calc(calc(24px * var(--evo-contenteditable-min-lines)) + 8px)}.evo-contenteditable-input__content:empty:before{content:attr(placeholder);position:absolute;display:block;color:#9b9b9b;pointer-events:none}\n"] }]
|
|
130
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Injector }]; }, propDecorators: { contenteditable: [{
|
|
131
|
+
type: ViewChild,
|
|
132
|
+
args: ['contenteditable', { read: ElementRef, static: true }]
|
|
133
|
+
}], blur: [{
|
|
134
|
+
type: Output
|
|
135
|
+
}], multiline: [{
|
|
136
|
+
type: Input
|
|
137
|
+
}], placeholder: [{
|
|
138
|
+
type: Input
|
|
139
|
+
}], autoFocus: [{
|
|
140
|
+
type: Input
|
|
141
|
+
}], maxLines: [{
|
|
142
|
+
type: Input
|
|
143
|
+
}], minLines: [{
|
|
144
|
+
type: Input
|
|
145
|
+
}], disabled: [{
|
|
146
|
+
type: Input
|
|
147
|
+
}], preventStylingHotkeys: [{
|
|
148
|
+
type: Input
|
|
149
|
+
}] } });
|
|
150
150
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWlucHV0LWNvbnRlbnRlZGl0YWJsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldm8tdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9ldm8taW5wdXQtY29udGVudGVkaXRhYmxlL2V2by1pbnB1dC1jb250ZW50ZWRpdGFibGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWlucHV0LWNvbnRlbnRlZGl0YWJsZS9ldm8taW5wdXQtY29udGVudGVkaXRhYmxlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFFdkIsU0FBUyxFQUNULFVBQVUsRUFDVixZQUFZLEVBQ1osVUFBVSxFQUVWLEtBQUssRUFFTCxNQUFNLEVBQ04sU0FBUyxFQUNaLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBd0IsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUN6RSx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ZXZvLWNvbnRyb2wtZXJyb3I+XG4iXX0=
|
package/esm2020/lib/components/evo-input-contenteditable/evo-input-contenteditable.module.mjs
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { EvoInputContenteditableComponent } from './evo-input-contenteditable.component';
|
|
4
|
-
import { EvoUiKitModule } from '../../evo-ui-kit.module';
|
|
5
|
-
import { EvoControlErrorModule } from '../evo-control-error';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class EvoInputContenteditableModule {
|
|
8
|
-
}
|
|
9
|
-
EvoInputContenteditableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputContenteditableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
EvoInputContenteditableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputContenteditableModule, declarations: [EvoInputContenteditableComponent], imports: [CommonModule,
|
|
11
|
-
EvoUiKitModule,
|
|
12
|
-
EvoControlErrorModule], exports: [EvoInputContenteditableComponent] });
|
|
13
|
-
EvoInputContenteditableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputContenteditableModule, imports: [[
|
|
14
|
-
CommonModule,
|
|
15
|
-
EvoUiKitModule,
|
|
16
|
-
EvoControlErrorModule,
|
|
17
|
-
]] });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputContenteditableModule, decorators: [{
|
|
19
|
-
type: NgModule,
|
|
20
|
-
args: [{
|
|
21
|
-
declarations: [
|
|
22
|
-
EvoInputContenteditableComponent,
|
|
23
|
-
],
|
|
24
|
-
imports: [
|
|
25
|
-
CommonModule,
|
|
26
|
-
EvoUiKitModule,
|
|
27
|
-
EvoControlErrorModule,
|
|
28
|
-
],
|
|
29
|
-
exports: [
|
|
30
|
-
EvoInputContenteditableComponent,
|
|
31
|
-
],
|
|
32
|
-
}]
|
|
33
|
-
}] });
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { EvoInputContenteditableComponent } from './evo-input-contenteditable.component';
|
|
4
|
+
import { EvoUiKitModule } from '../../evo-ui-kit.module';
|
|
5
|
+
import { EvoControlErrorModule } from '../evo-control-error';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class EvoInputContenteditableModule {
|
|
8
|
+
}
|
|
9
|
+
EvoInputContenteditableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputContenteditableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
EvoInputContenteditableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputContenteditableModule, declarations: [EvoInputContenteditableComponent], imports: [CommonModule,
|
|
11
|
+
EvoUiKitModule,
|
|
12
|
+
EvoControlErrorModule], exports: [EvoInputContenteditableComponent] });
|
|
13
|
+
EvoInputContenteditableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputContenteditableModule, imports: [[
|
|
14
|
+
CommonModule,
|
|
15
|
+
EvoUiKitModule,
|
|
16
|
+
EvoControlErrorModule,
|
|
17
|
+
]] });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputContenteditableModule, decorators: [{
|
|
19
|
+
type: NgModule,
|
|
20
|
+
args: [{
|
|
21
|
+
declarations: [
|
|
22
|
+
EvoInputContenteditableComponent,
|
|
23
|
+
],
|
|
24
|
+
imports: [
|
|
25
|
+
CommonModule,
|
|
26
|
+
EvoUiKitModule,
|
|
27
|
+
EvoControlErrorModule,
|
|
28
|
+
],
|
|
29
|
+
exports: [
|
|
30
|
+
EvoInputContenteditableComponent,
|
|
31
|
+
],
|
|
32
|
+
}]
|
|
33
|
+
}] });
|
|
34
34
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWlucHV0LWNvbnRlbnRlZGl0YWJsZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldm8tdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9ldm8taW5wdXQtY29udGVudGVkaXRhYmxlL2V2by1pbnB1dC1jb250ZW50ZWRpdGFibGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxnQ0FBZ0MsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7QUFlN0QsTUFBTSxPQUFPLDZCQUE2Qjs7MEhBQTdCLDZCQUE2QjsySEFBN0IsNkJBQTZCLGlCQVhsQyxnQ0FBZ0MsYUFHaEMsWUFBWTtRQUNaLGNBQWM7UUFDZCxxQkFBcUIsYUFHckIsZ0NBQWdDOzJIQUczQiw2QkFBNkIsWUFUN0I7WUFDTCxZQUFZO1lBQ1osY0FBYztZQUNkLHFCQUFxQjtTQUN4QjsyRkFLUSw2QkFBNkI7a0JBYnpDLFFBQVE7bUJBQUM7b0JBQ04sWUFBWSxFQUF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
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldm8tdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9ldm8taW5wdXQtY29udGVudGVkaXRhYmxlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './evo-input-contenteditable.module';
|
|
2
|
-
export * from './evo-input-contenteditable.component';
|
|
1
|
+
export * from './evo-input-contenteditable.module';
|
|
2
|
+
export * from './evo-input-contenteditable.component';
|
|
3
3
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by1pbnB1dC1jb250ZW50ZWRpdGFibGUvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMsdUNBQXVDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2V2by1pbnB1dC1jb250ZW50ZWRpdGFibGUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vZXZvLWlucHV0LWNvbnRlbnRlZGl0YWJsZS5jb21wb25lbnQnO1xuIl19
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export function clearMultiline(value, isMultiline) {
|
|
2
|
-
if (typeof value === 'string') {
|
|
3
|
-
value = isMultiline ? value : value?.replace(/\n/g, '');
|
|
4
|
-
}
|
|
5
|
-
return value;
|
|
6
|
-
}
|
|
1
|
+
export function clearMultiline(value, isMultiline) {
|
|
2
|
+
if (typeof value === 'string') {
|
|
3
|
+
value = isMultiline ? value : value?.replace(/\n/g, '');
|
|
4
|
+
}
|
|
5
|
+
return value;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xlYXItbXVsdGlsaW5lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWlucHV0LWNvbnRlbnRlZGl0YWJsZS91dGlscy9jbGVhci1tdWx0aWxpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxVQUFVLGNBQWMsQ0FBQyxLQUFhLEVBQUUsV0FBb0I7SUFDOUQsSUFBSSxPQUFPLEtBQUssS0FBSyxRQUFRLEVBQUU7UUFDM0IsS0FBSyxHQUFHLFdBQVcsQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxLQUFLLEVBQUUsT0FBTyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQztLQUMzRDtJQUVELE9BQU8sS0FBSyxDQUFDO0FBQ2pCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gY2xlYXJNdWx0aWxpbmUodmFsdWU6IHN0cmluZywgaXNNdWx0aWxpbmU6IGJvb2xlYW4pOiBzdHJpbmcge1xuICAgIGlmICh0eXBlb2YgdmFsdWUgPT09ICdzdHJpbmcnKSB7XG4gICAgICAgIHZhbHVlID0gaXNNdWx0aWxpbmUgPyB2YWx1ZSA6IHZhbHVlPy5yZXBsYWNlKC9cXG4vZywgJycpO1xuICAgIH1cblxuICAgIHJldHVybiB2YWx1ZTtcbn1cbiJdfQ==
|