@evotor-dev/ui-kit 7.2.8 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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,79 +1,79 @@
|
|
|
1
|
-
import { Component, forwardRef, Input } 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 * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../evo-control-error/evo-control-error.component";
|
|
7
|
-
import * as i2 from "@angular/forms";
|
|
8
|
-
import * as i3 from "../../directives/evo-ui-class.directive";
|
|
9
|
-
import * as i4 from "@angular/common";
|
|
10
|
-
export class EvoTextareaComponent extends EvoBaseControl {
|
|
11
|
-
constructor() {
|
|
12
|
-
super(...arguments);
|
|
13
|
-
this.placeholder = '';
|
|
14
|
-
this.rows = 3;
|
|
15
|
-
this.disabled = false;
|
|
16
|
-
this.focused = false;
|
|
17
|
-
this.onChange = (_) => { };
|
|
18
|
-
this.onTouched = () => { };
|
|
19
|
-
}
|
|
20
|
-
get value() {
|
|
21
|
-
return this._value;
|
|
22
|
-
}
|
|
23
|
-
get textareaClasses() {
|
|
24
|
-
return {
|
|
25
|
-
'focused': this.focused,
|
|
26
|
-
'disabled': this.disabled,
|
|
27
|
-
'valid': this.currentState[EvoControlStates.valid],
|
|
28
|
-
'invalid': this.currentState[EvoControlStates.invalid],
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
set value(value) {
|
|
32
|
-
this._value = value.trim();
|
|
33
|
-
this.onChange(this.value);
|
|
34
|
-
}
|
|
35
|
-
onFocus() {
|
|
36
|
-
if (!this.focused) {
|
|
37
|
-
this.focused = true;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
onBlur() {
|
|
41
|
-
this.focused = false;
|
|
42
|
-
this.onTouched();
|
|
43
|
-
}
|
|
44
|
-
registerOnChange(fn) {
|
|
45
|
-
this.onChange = fn;
|
|
46
|
-
}
|
|
47
|
-
registerOnTouched(fn) {
|
|
48
|
-
this.onTouched = fn;
|
|
49
|
-
}
|
|
50
|
-
setDisabledState(isDisabled) {
|
|
51
|
-
this.disabled = isDisabled;
|
|
52
|
-
}
|
|
53
|
-
writeValue(value) {
|
|
54
|
-
this.value = value;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
EvoTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoTextareaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
-
EvoTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: EvoTextareaComponent, selector: "evo-textarea", inputs: { placeholder: "placeholder", rows: "rows" }, providers: [
|
|
59
|
-
{
|
|
60
|
-
provide: NG_VALUE_ACCESSOR,
|
|
61
|
-
useExisting: forwardRef(() => EvoTextareaComponent),
|
|
62
|
-
multi: true,
|
|
63
|
-
},
|
|
64
|
-
], usesInheritance: true, ngImport: i0, template: "<textarea [(ngModel)]=\"value\"\n [evoUiClass]=\"textareaClasses\"\n [placeholder]=\"placeholder\"\n [rows]=\"rows\"\n [disabled]=\"disabled\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n class=\"evo-textarea\"></textarea>\n<evo-control-error *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"></evo-control-error>\n", styles: ["@keyframes evo-fx-blink{50%{transform:scale(1);opacity:1}to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:50vw 50%}to{background-position:100vw 50%}}@keyframes evo-fx-blink{50%{transform:scale(1);opacity:1}to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:50vw 50%}to{background-position:100vw 50%}}:host{display:inline-block;--evo-input-prefix-content-margin: 0 12px}.evo-input{position:relative;cursor:text;--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}.evo-input_focused{border:solid 1px #74706F}.evo-input_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-input_invalid{border-color:#ff1817!important}.evo-input_theme-rounded:not(.evo-input_size-small){border-radius:256px}.evo-input_theme-rounded:not(.evo-input_size-small) .evo-input__field{border-radius:256px}.evo-input_size-small{height:32px}.evo-input_size-small .evo-input__field{padding:0 8px}.evo-input_size-small .evo-input__tooltip,.evo-input_size-small .evo-input__loading-spinner{flex:0 0 16px;width:16px;height:16px;margin:0 10px}.evo-input_size-small .evo-input__icon{margin-right:10px}.evo-input_size-small .evo-input__icon img{max-height:16px}.evo-input_size-small .evo-input__tooltip-container{top:100%}.evo-input_size-small .evo-input__tooltip-container:before{left:calc(100% - 28px)}@media (min-width: 1200px){.evo-input_size-small .evo-input__tooltip-container{top:calc(100% + 4px)}.evo-input_size-small .evo-input__tooltip-container:before{left:calc(50% - 6px)}}.evo-input_size-small .evo-input__prefix-icon{width:16px;height:16px}.evo-input_size-small .evo-input__prefix-icon:empty{display:none}.evo-input_size-small .evo-input__icon-clear{width:16px;height:16px}.evo-input__prefix-icon{display:flex;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;margin-left:12px;fill:#91b1b8}.evo-input__prefix-icon:empty{display:none}.evo-input__prefix-content{display:inline-flex;flex-shrink:0;justify-content:center;align-items:center;margin:var(--evo-input-prefix-content-margin)}.evo-input__prefix-content:empty{display:none}.evo-input__prefix-content:not(:empty)~.evo-input__field{padding-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.evo-input__field{flex-grow:1;width:100%;height:100%;margin:0;padding:0 8px 0 16px;color:inherit;font-weight:inherit;font-size:inherit;border:none;border-radius:4px;outline:none}.evo-input__field::-webkit-input-placeholder{color:#9b9b9b}.evo-input__field::-moz-placeholder{color:#9b9b9b;opacity:1}.evo-input__field:-ms-input-placeholder{color:#9b9b9b}.evo-input__field:disabled{color:#b0b0b0;background-color:#f9fafb!important}.evo-input__field:not(:last-child){padding-right:0}.evo-input__prefix{padding-left:20px;font-size:16px;transition:color .2s}.evo-input__prefix_focused{color:#000}.evo-input__prefix:not(:empty)~.evo-input__field{padding-left:0}.evo-input__tooltip,.evo-input__icon-clear{width:24px;height:24px;margin:0 10px;cursor:pointer;-webkit-user-select:none;user-select:none;fill:#91b1b8}.evo-input__icon{margin:0 20px 0 10px}.evo-input__icon img{display:block;width:100%;max-width:60px;height:auto;max-height:22px}.evo-input__tooltip-container{position:absolute;top:calc(100% - 2px);left:0;z-index:1;display:flex;width:100%;padding:10px 10px 10px 20px;color:#212121;line-height:normal;white-space:normal;background-color:#fff8e6;border-radius:4px;box-shadow:0 4px 12px #0003;cursor:default}.evo-input__tooltip-container[hidden]{display:none!important}.evo-input__tooltip-container:before{position:absolute;top:-20px;left:calc(100% - 34px);border:10px solid transparent;border-bottom:10px solid #FFF8E6;pointer-events:none;content:\"\"}@media (min-width: 1200px){.evo-input__tooltip-container{left:calc(50% - 22px)}.evo-input__tooltip-container:before{left:calc(50% - 12px)}}.evo-input__clearable{display:flex;justify-content:center;align-items:center}.evo-input__clearable+.evo-input__additional{margin-left:-10px}.evo-input__additional{display:flex;justify-content:center;align-items:center}.evo-input__additional:not(:last-child) .evo-input__icon{margin-right:10px}.evo-input__additional+.evo-input__loading-spinner{margin-left:0}.evo-input__loading-spinner{margin:0 20px;flex:0 0 16px;width:16px;height:16px;border:2px solid #C6C6C6;border-top-color:#21c68b;border-radius:50%;animation:spin .8s linear infinite}:host{display:inline-block}.evo-textarea{--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;width:100%;height:auto;padding:16px;white-space:normal;transition:box-shadow .3s,border .3s;resize:vertical}.evo-textarea_focused{border:solid 1px #74706F}.evo-textarea_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-textarea_invalid{border-color:#ff1817!important}.evo-textarea::placeholder{color:#9b9b9b}.evo-textarea[disabled]{white-space:normal;background:#F9FAFB}\n"], components: [{ type: i1.EvoControlErrorComponent, selector: "evo-control-error", inputs: ["errors", "errorsMessages", "showCount"] }], directives: [{ type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoTextareaComponent, decorators: [{
|
|
66
|
-
type: Component,
|
|
67
|
-
args: [{ selector: 'evo-textarea', providers: [
|
|
68
|
-
{
|
|
69
|
-
provide: NG_VALUE_ACCESSOR,
|
|
70
|
-
useExisting: forwardRef(() => EvoTextareaComponent),
|
|
71
|
-
multi: true,
|
|
72
|
-
},
|
|
73
|
-
], template: "<textarea [(ngModel)]=\"value\"\n [evoUiClass]=\"textareaClasses\"\n [placeholder]=\"placeholder\"\n [rows]=\"rows\"\n [disabled]=\"disabled\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n class=\"evo-textarea\"></textarea>\n<evo-control-error *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"></evo-control-error>\n", styles: ["@keyframes evo-fx-blink{50%{transform:scale(1);opacity:1}to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:50vw 50%}to{background-position:100vw 50%}}@keyframes evo-fx-blink{50%{transform:scale(1);opacity:1}to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:50vw 50%}to{background-position:100vw 50%}}:host{display:inline-block;--evo-input-prefix-content-margin: 0 12px}.evo-input{position:relative;cursor:text;--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}.evo-input_focused{border:solid 1px #74706F}.evo-input_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-input_invalid{border-color:#ff1817!important}.evo-input_theme-rounded:not(.evo-input_size-small){border-radius:256px}.evo-input_theme-rounded:not(.evo-input_size-small) .evo-input__field{border-radius:256px}.evo-input_size-small{height:32px}.evo-input_size-small .evo-input__field{padding:0 8px}.evo-input_size-small .evo-input__tooltip,.evo-input_size-small .evo-input__loading-spinner{flex:0 0 16px;width:16px;height:16px;margin:0 10px}.evo-input_size-small .evo-input__icon{margin-right:10px}.evo-input_size-small .evo-input__icon img{max-height:16px}.evo-input_size-small .evo-input__tooltip-container{top:100%}.evo-input_size-small .evo-input__tooltip-container:before{left:calc(100% - 28px)}@media (min-width: 1200px){.evo-input_size-small .evo-input__tooltip-container{top:calc(100% + 4px)}.evo-input_size-small .evo-input__tooltip-container:before{left:calc(50% - 6px)}}.evo-input_size-small .evo-input__prefix-icon{width:16px;height:16px}.evo-input_size-small .evo-input__prefix-icon:empty{display:none}.evo-input_size-small .evo-input__icon-clear{width:16px;height:16px}.evo-input__prefix-icon{display:flex;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;margin-left:12px;fill:#91b1b8}.evo-input__prefix-icon:empty{display:none}.evo-input__prefix-content{display:inline-flex;flex-shrink:0;justify-content:center;align-items:center;margin:var(--evo-input-prefix-content-margin)}.evo-input__prefix-content:empty{display:none}.evo-input__prefix-content:not(:empty)~.evo-input__field{padding-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.evo-input__field{flex-grow:1;width:100%;height:100%;margin:0;padding:0 8px 0 16px;color:inherit;font-weight:inherit;font-size:inherit;border:none;border-radius:4px;outline:none}.evo-input__field::-webkit-input-placeholder{color:#9b9b9b}.evo-input__field::-moz-placeholder{color:#9b9b9b;opacity:1}.evo-input__field:-ms-input-placeholder{color:#9b9b9b}.evo-input__field:disabled{color:#b0b0b0;background-color:#f9fafb!important}.evo-input__field:not(:last-child){padding-right:0}.evo-input__prefix{padding-left:20px;font-size:16px;transition:color .2s}.evo-input__prefix_focused{color:#000}.evo-input__prefix:not(:empty)~.evo-input__field{padding-left:0}.evo-input__tooltip,.evo-input__icon-clear{width:24px;height:24px;margin:0 10px;cursor:pointer;-webkit-user-select:none;user-select:none;fill:#91b1b8}.evo-input__icon{margin:0 20px 0 10px}.evo-input__icon img{display:block;width:100%;max-width:60px;height:auto;max-height:22px}.evo-input__tooltip-container{position:absolute;top:calc(100% - 2px);left:0;z-index:1;display:flex;width:100%;padding:10px 10px 10px 20px;color:#212121;line-height:normal;white-space:normal;background-color:#fff8e6;border-radius:4px;box-shadow:0 4px 12px #0003;cursor:default}.evo-input__tooltip-container[hidden]{display:none!important}.evo-input__tooltip-container:before{position:absolute;top:-20px;left:calc(100% - 34px);border:10px solid transparent;border-bottom:10px solid #FFF8E6;pointer-events:none;content:\"\"}@media (min-width: 1200px){.evo-input__tooltip-container{left:calc(50% - 22px)}.evo-input__tooltip-container:before{left:calc(50% - 12px)}}.evo-input__clearable{display:flex;justify-content:center;align-items:center}.evo-input__clearable+.evo-input__additional{margin-left:-10px}.evo-input__additional{display:flex;justify-content:center;align-items:center}.evo-input__additional:not(:last-child) .evo-input__icon{margin-right:10px}.evo-input__additional+.evo-input__loading-spinner{margin-left:0}.evo-input__loading-spinner{margin:0 20px;flex:0 0 16px;width:16px;height:16px;border:2px solid #C6C6C6;border-top-color:#21c68b;border-radius:50%;animation:spin .8s linear infinite}:host{display:inline-block}.evo-textarea{--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;width:100%;height:auto;padding:16px;white-space:normal;transition:box-shadow .3s,border .3s;resize:vertical}.evo-textarea_focused{border:solid 1px #74706F}.evo-textarea_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-textarea_invalid{border-color:#ff1817!important}.evo-textarea::placeholder{color:#9b9b9b}.evo-textarea[disabled]{white-space:normal;background:#F9FAFB}\n"] }]
|
|
74
|
-
}], propDecorators: { placeholder: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], rows: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}] } });
|
|
1
|
+
import { Component, forwardRef, Input } 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 * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../evo-control-error/evo-control-error.component";
|
|
7
|
+
import * as i2 from "@angular/forms";
|
|
8
|
+
import * as i3 from "../../directives/evo-ui-class.directive";
|
|
9
|
+
import * as i4 from "@angular/common";
|
|
10
|
+
export class EvoTextareaComponent extends EvoBaseControl {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.placeholder = '';
|
|
14
|
+
this.rows = 3;
|
|
15
|
+
this.disabled = false;
|
|
16
|
+
this.focused = false;
|
|
17
|
+
this.onChange = (_) => { };
|
|
18
|
+
this.onTouched = () => { };
|
|
19
|
+
}
|
|
20
|
+
get value() {
|
|
21
|
+
return this._value;
|
|
22
|
+
}
|
|
23
|
+
get textareaClasses() {
|
|
24
|
+
return {
|
|
25
|
+
'focused': this.focused,
|
|
26
|
+
'disabled': this.disabled,
|
|
27
|
+
'valid': this.currentState[EvoControlStates.valid],
|
|
28
|
+
'invalid': this.currentState[EvoControlStates.invalid],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
set value(value) {
|
|
32
|
+
this._value = value.trim();
|
|
33
|
+
this.onChange(this.value);
|
|
34
|
+
}
|
|
35
|
+
onFocus() {
|
|
36
|
+
if (!this.focused) {
|
|
37
|
+
this.focused = true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
onBlur() {
|
|
41
|
+
this.focused = false;
|
|
42
|
+
this.onTouched();
|
|
43
|
+
}
|
|
44
|
+
registerOnChange(fn) {
|
|
45
|
+
this.onChange = fn;
|
|
46
|
+
}
|
|
47
|
+
registerOnTouched(fn) {
|
|
48
|
+
this.onTouched = fn;
|
|
49
|
+
}
|
|
50
|
+
setDisabledState(isDisabled) {
|
|
51
|
+
this.disabled = isDisabled;
|
|
52
|
+
}
|
|
53
|
+
writeValue(value) {
|
|
54
|
+
this.value = value;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
EvoTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoTextareaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
+
EvoTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: EvoTextareaComponent, selector: "evo-textarea", inputs: { placeholder: "placeholder", rows: "rows" }, providers: [
|
|
59
|
+
{
|
|
60
|
+
provide: NG_VALUE_ACCESSOR,
|
|
61
|
+
useExisting: forwardRef(() => EvoTextareaComponent),
|
|
62
|
+
multi: true,
|
|
63
|
+
},
|
|
64
|
+
], usesInheritance: true, ngImport: i0, template: "<textarea [(ngModel)]=\"value\"\n [evoUiClass]=\"textareaClasses\"\n [placeholder]=\"placeholder\"\n [rows]=\"rows\"\n [disabled]=\"disabled\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n class=\"evo-textarea\"></textarea>\n<evo-control-error *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"></evo-control-error>\n", styles: ["@keyframes evo-fx-blink{50%{transform:scale(1);opacity:1}to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:50vw 50%}to{background-position:100vw 50%}}@keyframes evo-fx-blink{50%{transform:scale(1);opacity:1}to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:50vw 50%}to{background-position:100vw 50%}}:host{display:inline-block;--evo-input-prefix-content-margin: 0 12px}.evo-input{position:relative;cursor:text;--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}.evo-input_focused{border:solid 1px #74706F}.evo-input_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-input_invalid{border-color:#ff1817!important}.evo-input_theme-rounded:not(.evo-input_size-small){border-radius:256px}.evo-input_theme-rounded:not(.evo-input_size-small) .evo-input__field{border-radius:256px}.evo-input_size-small{height:32px}.evo-input_size-small .evo-input__field{padding:0 8px}.evo-input_size-small .evo-input__tooltip,.evo-input_size-small .evo-input__loading-spinner{flex:0 0 16px;width:16px;height:16px;margin:0 10px}.evo-input_size-small .evo-input__icon{margin-right:10px}.evo-input_size-small .evo-input__icon img{max-height:16px}.evo-input_size-small .evo-input__tooltip-container{top:100%}.evo-input_size-small .evo-input__tooltip-container:before{left:calc(100% - 28px)}@media (min-width: 1200px){.evo-input_size-small .evo-input__tooltip-container{top:calc(100% + 4px)}.evo-input_size-small .evo-input__tooltip-container:before{left:calc(50% - 6px)}}.evo-input_size-small .evo-input__prefix-icon{width:16px;height:16px}.evo-input_size-small .evo-input__prefix-icon:empty{display:none}.evo-input_size-small .evo-input__icon-clear{width:16px;height:16px}.evo-input__prefix-icon{display:flex;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;margin-left:12px;fill:#91b1b8}.evo-input__prefix-icon:empty{display:none}.evo-input__prefix-content{display:inline-flex;flex-shrink:0;justify-content:center;align-items:center;margin:var(--evo-input-prefix-content-margin)}.evo-input__prefix-content:empty{display:none}.evo-input__prefix-content:not(:empty)~.evo-input__field{padding-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.evo-input__field{flex-grow:1;width:100%;height:100%;margin:0;padding:0 8px 0 16px;color:inherit;font-weight:inherit;font-size:inherit;border:none;border-radius:4px;outline:none}.evo-input__field::-webkit-input-placeholder{color:#9b9b9b}.evo-input__field::-moz-placeholder{color:#9b9b9b;opacity:1}.evo-input__field:-ms-input-placeholder{color:#9b9b9b}.evo-input__field:disabled{color:#b0b0b0;background-color:#f9fafb!important}.evo-input__field:not(:last-child){padding-right:0}.evo-input__prefix{padding-left:20px;font-size:16px;transition:color .2s}.evo-input__prefix_focused{color:#000}.evo-input__prefix:not(:empty)~.evo-input__field{padding-left:0}.evo-input__tooltip,.evo-input__icon-clear{width:24px;height:24px;margin:0 10px;cursor:pointer;-webkit-user-select:none;user-select:none;fill:#91b1b8}.evo-input__icon{margin:0 20px 0 10px}.evo-input__icon img{display:block;width:100%;max-width:60px;height:auto;max-height:22px}.evo-input__tooltip-container{position:absolute;top:calc(100% - 2px);left:0;z-index:1;display:flex;width:100%;padding:10px 10px 10px 20px;color:#212121;line-height:normal;white-space:normal;background-color:#fff8e6;border-radius:4px;box-shadow:0 4px 12px #0003;cursor:default}.evo-input__tooltip-container[hidden]{display:none!important}.evo-input__tooltip-container:before{position:absolute;top:-20px;left:calc(100% - 34px);border:10px solid transparent;border-bottom:10px solid #FFF8E6;pointer-events:none;content:\"\"}@media (min-width: 1200px){.evo-input__tooltip-container{left:calc(50% - 22px)}.evo-input__tooltip-container:before{left:calc(50% - 12px)}}.evo-input__clearable{display:flex;justify-content:center;align-items:center}.evo-input__clearable+.evo-input__additional{margin-left:-10px}.evo-input__additional{display:flex;justify-content:center;align-items:center}.evo-input__additional:not(:last-child) .evo-input__icon{margin-right:10px}.evo-input__additional+.evo-input__loading-spinner{margin-left:0}.evo-input__loading-spinner{margin:0 20px;flex:0 0 16px;width:16px;height:16px;border:2px solid #C6C6C6;border-top-color:#21c68b;border-radius:50%;animation:spin .8s linear infinite}:host{display:inline-block}.evo-textarea{--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;width:100%;height:auto;padding:16px;white-space:normal;transition:box-shadow .3s,border .3s;resize:vertical}.evo-textarea_focused{border:solid 1px #74706F}.evo-textarea_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-textarea_invalid{border-color:#ff1817!important}.evo-textarea::placeholder{color:#9b9b9b}.evo-textarea[disabled]{white-space:normal;background:#F9FAFB}\n"], components: [{ type: i1.EvoControlErrorComponent, selector: "evo-control-error", inputs: ["errors", "errorsMessages", "showCount"] }], directives: [{ type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoTextareaComponent, decorators: [{
|
|
66
|
+
type: Component,
|
|
67
|
+
args: [{ selector: 'evo-textarea', providers: [
|
|
68
|
+
{
|
|
69
|
+
provide: NG_VALUE_ACCESSOR,
|
|
70
|
+
useExisting: forwardRef(() => EvoTextareaComponent),
|
|
71
|
+
multi: true,
|
|
72
|
+
},
|
|
73
|
+
], template: "<textarea [(ngModel)]=\"value\"\n [evoUiClass]=\"textareaClasses\"\n [placeholder]=\"placeholder\"\n [rows]=\"rows\"\n [disabled]=\"disabled\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n class=\"evo-textarea\"></textarea>\n<evo-control-error *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"></evo-control-error>\n", styles: ["@keyframes evo-fx-blink{50%{transform:scale(1);opacity:1}to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:50vw 50%}to{background-position:100vw 50%}}@keyframes evo-fx-blink{50%{transform:scale(1);opacity:1}to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:50vw 50%}to{background-position:100vw 50%}}:host{display:inline-block;--evo-input-prefix-content-margin: 0 12px}.evo-input{position:relative;cursor:text;--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}.evo-input_focused{border:solid 1px #74706F}.evo-input_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-input_invalid{border-color:#ff1817!important}.evo-input_theme-rounded:not(.evo-input_size-small){border-radius:256px}.evo-input_theme-rounded:not(.evo-input_size-small) .evo-input__field{border-radius:256px}.evo-input_size-small{height:32px}.evo-input_size-small .evo-input__field{padding:0 8px}.evo-input_size-small .evo-input__tooltip,.evo-input_size-small .evo-input__loading-spinner{flex:0 0 16px;width:16px;height:16px;margin:0 10px}.evo-input_size-small .evo-input__icon{margin-right:10px}.evo-input_size-small .evo-input__icon img{max-height:16px}.evo-input_size-small .evo-input__tooltip-container{top:100%}.evo-input_size-small .evo-input__tooltip-container:before{left:calc(100% - 28px)}@media (min-width: 1200px){.evo-input_size-small .evo-input__tooltip-container{top:calc(100% + 4px)}.evo-input_size-small .evo-input__tooltip-container:before{left:calc(50% - 6px)}}.evo-input_size-small .evo-input__prefix-icon{width:16px;height:16px}.evo-input_size-small .evo-input__prefix-icon:empty{display:none}.evo-input_size-small .evo-input__icon-clear{width:16px;height:16px}.evo-input__prefix-icon{display:flex;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;margin-left:12px;fill:#91b1b8}.evo-input__prefix-icon:empty{display:none}.evo-input__prefix-content{display:inline-flex;flex-shrink:0;justify-content:center;align-items:center;margin:var(--evo-input-prefix-content-margin)}.evo-input__prefix-content:empty{display:none}.evo-input__prefix-content:not(:empty)~.evo-input__field{padding-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.evo-input__field{flex-grow:1;width:100%;height:100%;margin:0;padding:0 8px 0 16px;color:inherit;font-weight:inherit;font-size:inherit;border:none;border-radius:4px;outline:none}.evo-input__field::-webkit-input-placeholder{color:#9b9b9b}.evo-input__field::-moz-placeholder{color:#9b9b9b;opacity:1}.evo-input__field:-ms-input-placeholder{color:#9b9b9b}.evo-input__field:disabled{color:#b0b0b0;background-color:#f9fafb!important}.evo-input__field:not(:last-child){padding-right:0}.evo-input__prefix{padding-left:20px;font-size:16px;transition:color .2s}.evo-input__prefix_focused{color:#000}.evo-input__prefix:not(:empty)~.evo-input__field{padding-left:0}.evo-input__tooltip,.evo-input__icon-clear{width:24px;height:24px;margin:0 10px;cursor:pointer;-webkit-user-select:none;user-select:none;fill:#91b1b8}.evo-input__icon{margin:0 20px 0 10px}.evo-input__icon img{display:block;width:100%;max-width:60px;height:auto;max-height:22px}.evo-input__tooltip-container{position:absolute;top:calc(100% - 2px);left:0;z-index:1;display:flex;width:100%;padding:10px 10px 10px 20px;color:#212121;line-height:normal;white-space:normal;background-color:#fff8e6;border-radius:4px;box-shadow:0 4px 12px #0003;cursor:default}.evo-input__tooltip-container[hidden]{display:none!important}.evo-input__tooltip-container:before{position:absolute;top:-20px;left:calc(100% - 34px);border:10px solid transparent;border-bottom:10px solid #FFF8E6;pointer-events:none;content:\"\"}@media (min-width: 1200px){.evo-input__tooltip-container{left:calc(50% - 22px)}.evo-input__tooltip-container:before{left:calc(50% - 12px)}}.evo-input__clearable{display:flex;justify-content:center;align-items:center}.evo-input__clearable+.evo-input__additional{margin-left:-10px}.evo-input__additional{display:flex;justify-content:center;align-items:center}.evo-input__additional:not(:last-child) .evo-input__icon{margin-right:10px}.evo-input__additional+.evo-input__loading-spinner{margin-left:0}.evo-input__loading-spinner{margin:0 20px;flex:0 0 16px;width:16px;height:16px;border:2px solid #C6C6C6;border-top-color:#21c68b;border-radius:50%;animation:spin .8s linear infinite}:host{display:inline-block}.evo-textarea{--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;width:100%;height:auto;padding:16px;white-space:normal;transition:box-shadow .3s,border .3s;resize:vertical}.evo-textarea_focused{border:solid 1px #74706F}.evo-textarea_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-textarea_invalid{border-color:#ff1817!important}.evo-textarea::placeholder{color:#9b9b9b}.evo-textarea[disabled]{white-space:normal;background:#F9FAFB}\n"] }]
|
|
74
|
+
}], propDecorators: { placeholder: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], rows: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}] } });
|
|
79
79
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXRleHRhcmVhLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by10ZXh0YXJlYS9ldm8tdGV4dGFyZWEuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvL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sLWVycm9yICpuZ0lmPVwic2hvd0Vycm9yc1wiXG4gICAgICAgICAgICAgICAgICAgW2Vycm9yc109XCJjb250cm9sLmVycm9yc1wiXG4gICAgICAgICAgICAgICAgICAgW2Vycm9yc01lc3NhZ2VzXT1cImVycm9yc01lc3NhZ2VzXCI+PC9ldm8tY29udHJvbC1lcnJvcj5cbiJdfQ==
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { EvoTextareaComponent } from './evo-textarea.component';
|
|
4
|
-
import { EvoControlErrorModule } from '../evo-control-error/evo-control-error.module';
|
|
5
|
-
import { EvoUiKitModule } from '../../evo-ui-kit.module';
|
|
6
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class EvoTextareaModule {
|
|
9
|
-
}
|
|
10
|
-
EvoTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
-
EvoTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoTextareaModule, declarations: [EvoTextareaComponent], imports: [CommonModule,
|
|
12
|
-
FormsModule,
|
|
13
|
-
ReactiveFormsModule,
|
|
14
|
-
EvoUiKitModule,
|
|
15
|
-
EvoControlErrorModule], exports: [EvoTextareaComponent] });
|
|
16
|
-
EvoTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoTextareaModule, imports: [[
|
|
17
|
-
CommonModule,
|
|
18
|
-
FormsModule,
|
|
19
|
-
ReactiveFormsModule,
|
|
20
|
-
EvoUiKitModule,
|
|
21
|
-
EvoControlErrorModule,
|
|
22
|
-
]] });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoTextareaModule, decorators: [{
|
|
24
|
-
type: NgModule,
|
|
25
|
-
args: [{
|
|
26
|
-
imports: [
|
|
27
|
-
CommonModule,
|
|
28
|
-
FormsModule,
|
|
29
|
-
ReactiveFormsModule,
|
|
30
|
-
EvoUiKitModule,
|
|
31
|
-
EvoControlErrorModule,
|
|
32
|
-
],
|
|
33
|
-
declarations: [EvoTextareaComponent],
|
|
34
|
-
exports: [EvoTextareaComponent],
|
|
35
|
-
}]
|
|
36
|
-
}] });
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { EvoTextareaComponent } from './evo-textarea.component';
|
|
4
|
+
import { EvoControlErrorModule } from '../evo-control-error/evo-control-error.module';
|
|
5
|
+
import { EvoUiKitModule } from '../../evo-ui-kit.module';
|
|
6
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class EvoTextareaModule {
|
|
9
|
+
}
|
|
10
|
+
EvoTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
EvoTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoTextareaModule, declarations: [EvoTextareaComponent], imports: [CommonModule,
|
|
12
|
+
FormsModule,
|
|
13
|
+
ReactiveFormsModule,
|
|
14
|
+
EvoUiKitModule,
|
|
15
|
+
EvoControlErrorModule], exports: [EvoTextareaComponent] });
|
|
16
|
+
EvoTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoTextareaModule, imports: [[
|
|
17
|
+
CommonModule,
|
|
18
|
+
FormsModule,
|
|
19
|
+
ReactiveFormsModule,
|
|
20
|
+
EvoUiKitModule,
|
|
21
|
+
EvoControlErrorModule,
|
|
22
|
+
]] });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoTextareaModule, decorators: [{
|
|
24
|
+
type: NgModule,
|
|
25
|
+
args: [{
|
|
26
|
+
imports: [
|
|
27
|
+
CommonModule,
|
|
28
|
+
FormsModule,
|
|
29
|
+
ReactiveFormsModule,
|
|
30
|
+
EvoUiKitModule,
|
|
31
|
+
EvoControlErrorModule,
|
|
32
|
+
],
|
|
33
|
+
declarations: [EvoTextareaComponent],
|
|
34
|
+
exports: [EvoTextareaComponent],
|
|
35
|
+
}]
|
|
36
|
+
}] });
|
|
37
37
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXRleHRhcmVhLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by10ZXh0YXJlYS9ldm8tdGV4dGFyZWEubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLCtDQUErQyxDQUFDO0FBQ3RGLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RCxPQUFPLEVBQUUsV0FBVyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZ0JBQWdCLENBQU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yL2Zvcm1zJztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBGb3Jtc01vZHVsZSxcbiAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlLFxuICAgIEV2b1VpS2l0TW9kdWxlLFxuICAgIEV2b0NvbnRyb2xFcnJvck1vZHVsZSxcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbIEV2b1RleHRhcmVhQ29tcG9uZW50IF0sXG4gIGV4cG9ydHM6IFsgRXZvVGV4dGFyZWFDb21wb25lbnQgXSxcbn0pXG5leHBvcnQgY2xhc3MgRXZvVGV4dGFyZWFNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './public-api';
|
|
1
|
+
export * from './public-api';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldm8tdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9ldm8tdGV4dGFyZWEvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './evo-textarea.module';
|
|
2
|
-
export * from './evo-textarea.component';
|
|
1
|
+
export * from './evo-textarea.module';
|
|
2
|
+
export * from './evo-textarea.component';
|
|
3
3
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by10ZXh0YXJlYS9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZXZvLXRleHRhcmVhLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2V2by10ZXh0YXJlYS5jb21wb25lbnQnO1xuIl19
|
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { animate, style, transition, trigger } from '@angular/animations';
|
|
3
|
-
import { delay, filter, map, mergeMap, take, tap } from 'rxjs/operators';
|
|
4
|
-
import { BehaviorSubject, of } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./evo-toast.service";
|
|
7
|
-
import * as i2 from "../evo-icon/evo-icon.component";
|
|
8
|
-
import * as i3 from "@angular/common";
|
|
9
|
-
import * as i4 from "../../directives/evo-ui-class.directive";
|
|
10
|
-
export var EvoToastTypes;
|
|
11
|
-
(function (EvoToastTypes) {
|
|
12
|
-
EvoToastTypes["DEFAULT"] = "default";
|
|
13
|
-
EvoToastTypes["DANGER"] = "danger";
|
|
14
|
-
EvoToastTypes["SUCCESS"] = "success";
|
|
15
|
-
})(EvoToastTypes || (EvoToastTypes = {}));
|
|
16
|
-
export class EvoToastComponent {
|
|
17
|
-
constructor(toastService, cdr) {
|
|
18
|
-
this.toastService = toastService;
|
|
19
|
-
this.cdr = cdr;
|
|
20
|
-
this.isForced = false;
|
|
21
|
-
this.isOpen$ = new BehaviorSubject(false);
|
|
22
|
-
}
|
|
23
|
-
ngOnInit() {
|
|
24
|
-
this.toastService.register();
|
|
25
|
-
this.subscribeToToastPushes();
|
|
26
|
-
}
|
|
27
|
-
handleAnimationDone() {
|
|
28
|
-
if (this.toast) {
|
|
29
|
-
this.$appearTimeout = of({}).pipe(delay(5000)).subscribe(() => {
|
|
30
|
-
this.toast = null;
|
|
31
|
-
this.cdr.detectChanges();
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
else if (!this.isForced) {
|
|
35
|
-
this.toastService.toastComplete();
|
|
36
|
-
}
|
|
37
|
-
this.isOpen$.next(!!this.toast);
|
|
38
|
-
}
|
|
39
|
-
close() {
|
|
40
|
-
this.$appearTimeout.unsubscribe();
|
|
41
|
-
this.toast = null;
|
|
42
|
-
this.cdr.detectChanges();
|
|
43
|
-
}
|
|
44
|
-
subscribeToToastPushes() {
|
|
45
|
-
this.toastService.pushEvents.pipe(tap(() => {
|
|
46
|
-
this.toast = null;
|
|
47
|
-
if (this.$appearTimeout && !this.$appearTimeout.closed) {
|
|
48
|
-
this.isForced = true;
|
|
49
|
-
this.$appearTimeout.unsubscribe();
|
|
50
|
-
}
|
|
51
|
-
}), mergeMap((toast) => {
|
|
52
|
-
return this.isOpen$.pipe(filter((isOpen) => !isOpen), take(1), map(() => toast));
|
|
53
|
-
})).subscribe((toast) => {
|
|
54
|
-
this.toast = toast;
|
|
55
|
-
this.isForced = false;
|
|
56
|
-
this.cdr.detectChanges();
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
EvoToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoToastComponent, deps: [{ token: i1.EvoToastService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
61
|
-
EvoToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: EvoToastComponent, selector: "evo-toast", ngImport: i0, template: "<div class=\"evo-toast__wrapper\"\n [@appear]=\"toast ? 'in' : null\"\n (@appear.done)=\"handleAnimationDone()\"\n *ngIf=\"toast\">\n <div class=\"evo-toast\" [evoUiClass]=\"toast?.type || ''\">\n <ng-container *ngIf=\"toast?.message\">\n <div class=\"evo-toast__message\" [innerHTML]=\"toast?.message\"></div>\n </ng-container>\n <ng-container *ngIf=\"toast?.templateRef\">\n <div class=\"evo-toast__message\">\n <ng-container [ngTemplateOutlet]=\"toast?.templateRef\"></ng-container>\n </div>\n </ng-container>\n <evo-icon class=\"evo-toast__close\" shape=\"close\" (click)=\"close()\"></evo-icon>\n </div>\n</div>\n", styles: [".evo-toast{display:flex;width:300px;padding:16px;background:#403C3D;border-radius:8px;box-shadow:0 8px 10px #0003,0 6px 30px #0000001f,0 16px 24px #00000024}.evo-toast_danger{background:#FF6F6F;box-shadow:0 8px 10px #ff6f6f33,0 6px 30px #ff6f6f1f,0 16px 24px #ff6f6f24}.evo-toast_success{background:#21C68B;box-shadow:0 8px 10px #21c68b33,0 6px 30px #21c68b1f,0 16px 24px #21c68b24}.evo-toast__wrapper{position:fixed;bottom:32px;left:calc(50% - 150px)}.evo-toast__message{flex:1;color:#fff;font-weight:600;font-size:14px}.evo-toast__close{flex-shrink:0;width:24px;height:24px;cursor:pointer;opacity:.5;transition:opacity .25s;-webkit-user-select:none;user-select:none;fill:#fff}.evo-toast__close:hover{opacity:1}.evo-toast_danger::ng-deep a:link,.evo-toast_danger::ng-deep a:hover,.evo-toast_danger::ng-deep a:active,.evo-toast_danger::ng-deep a:visited,.evo-toast_success::ng-deep a:link,.evo-toast_success::ng-deep a:hover,.evo-toast_success::ng-deep a:active,.evo-toast_success::ng-deep a:visited{color:#fff;font-weight:700;text-decoration:underline}.evo-toast_danger::ng-deep *,.evo-toast_success::ng-deep *{color:#fff}\n"], components: [{ type: i2.EvoIconComponent, selector: "evo-icon", inputs: ["shape", "svgWidth", "svgHeight", "svgViewBox"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [
|
|
62
|
-
trigger('appear', [
|
|
63
|
-
transition('void => in', [
|
|
64
|
-
style({
|
|
65
|
-
bottom: '-100px',
|
|
66
|
-
}),
|
|
67
|
-
animate('250ms cubic-bezier(0, 0, 0.2, 1.40)', style({
|
|
68
|
-
bottom: '32px',
|
|
69
|
-
})),
|
|
70
|
-
]),
|
|
71
|
-
transition('in => void', [
|
|
72
|
-
animate('250ms ease-in', style({
|
|
73
|
-
bottom: '-100px',
|
|
74
|
-
})),
|
|
75
|
-
]),
|
|
76
|
-
]),
|
|
77
|
-
] });
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoToastComponent, decorators: [{
|
|
79
|
-
type: Component,
|
|
80
|
-
args: [{ selector: 'evo-toast', animations: [
|
|
81
|
-
trigger('appear', [
|
|
82
|
-
transition('void => in', [
|
|
83
|
-
style({
|
|
84
|
-
bottom: '-100px',
|
|
85
|
-
}),
|
|
86
|
-
animate('250ms cubic-bezier(0, 0, 0.2, 1.40)', style({
|
|
87
|
-
bottom: '32px',
|
|
88
|
-
})),
|
|
89
|
-
]),
|
|
90
|
-
transition('in => void', [
|
|
91
|
-
animate('250ms ease-in', style({
|
|
92
|
-
bottom: '-100px',
|
|
93
|
-
})),
|
|
94
|
-
]),
|
|
95
|
-
]),
|
|
96
|
-
], template: "<div class=\"evo-toast__wrapper\"\n [@appear]=\"toast ? 'in' : null\"\n (@appear.done)=\"handleAnimationDone()\"\n *ngIf=\"toast\">\n <div class=\"evo-toast\" [evoUiClass]=\"toast?.type || ''\">\n <ng-container *ngIf=\"toast?.message\">\n <div class=\"evo-toast__message\" [innerHTML]=\"toast?.message\"></div>\n </ng-container>\n <ng-container *ngIf=\"toast?.templateRef\">\n <div class=\"evo-toast__message\">\n <ng-container [ngTemplateOutlet]=\"toast?.templateRef\"></ng-container>\n </div>\n </ng-container>\n <evo-icon class=\"evo-toast__close\" shape=\"close\" (click)=\"close()\"></evo-icon>\n </div>\n</div>\n", styles: [".evo-toast{display:flex;width:300px;padding:16px;background:#403C3D;border-radius:8px;box-shadow:0 8px 10px #0003,0 6px 30px #0000001f,0 16px 24px #00000024}.evo-toast_danger{background:#FF6F6F;box-shadow:0 8px 10px #ff6f6f33,0 6px 30px #ff6f6f1f,0 16px 24px #ff6f6f24}.evo-toast_success{background:#21C68B;box-shadow:0 8px 10px #21c68b33,0 6px 30px #21c68b1f,0 16px 24px #21c68b24}.evo-toast__wrapper{position:fixed;bottom:32px;left:calc(50% - 150px)}.evo-toast__message{flex:1;color:#fff;font-weight:600;font-size:14px}.evo-toast__close{flex-shrink:0;width:24px;height:24px;cursor:pointer;opacity:.5;transition:opacity .25s;-webkit-user-select:none;user-select:none;fill:#fff}.evo-toast__close:hover{opacity:1}.evo-toast_danger::ng-deep a:link,.evo-toast_danger::ng-deep a:hover,.evo-toast_danger::ng-deep a:active,.evo-toast_danger::ng-deep a:visited,.evo-toast_success::ng-deep a:link,.evo-toast_success::ng-deep a:hover,.evo-toast_success::ng-deep a:active,.evo-toast_success::ng-deep a:visited{color:#fff;font-weight:700;text-decoration:underline}.evo-toast_danger::ng-deep *,.evo-toast_success::ng-deep *{color:#fff}\n"] }]
|
|
97
|
-
}], ctorParameters: function () { return [{ type: i1.EvoToastService }, { type: i0.ChangeDetectorRef }]; } });
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { animate, style, transition, trigger } from '@angular/animations';
|
|
3
|
+
import { delay, filter, map, mergeMap, take, tap } from 'rxjs/operators';
|
|
4
|
+
import { BehaviorSubject, of } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./evo-toast.service";
|
|
7
|
+
import * as i2 from "../evo-icon/evo-icon.component";
|
|
8
|
+
import * as i3 from "@angular/common";
|
|
9
|
+
import * as i4 from "../../directives/evo-ui-class.directive";
|
|
10
|
+
export var EvoToastTypes;
|
|
11
|
+
(function (EvoToastTypes) {
|
|
12
|
+
EvoToastTypes["DEFAULT"] = "default";
|
|
13
|
+
EvoToastTypes["DANGER"] = "danger";
|
|
14
|
+
EvoToastTypes["SUCCESS"] = "success";
|
|
15
|
+
})(EvoToastTypes || (EvoToastTypes = {}));
|
|
16
|
+
export class EvoToastComponent {
|
|
17
|
+
constructor(toastService, cdr) {
|
|
18
|
+
this.toastService = toastService;
|
|
19
|
+
this.cdr = cdr;
|
|
20
|
+
this.isForced = false;
|
|
21
|
+
this.isOpen$ = new BehaviorSubject(false);
|
|
22
|
+
}
|
|
23
|
+
ngOnInit() {
|
|
24
|
+
this.toastService.register();
|
|
25
|
+
this.subscribeToToastPushes();
|
|
26
|
+
}
|
|
27
|
+
handleAnimationDone() {
|
|
28
|
+
if (this.toast) {
|
|
29
|
+
this.$appearTimeout = of({}).pipe(delay(5000)).subscribe(() => {
|
|
30
|
+
this.toast = null;
|
|
31
|
+
this.cdr.detectChanges();
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
else if (!this.isForced) {
|
|
35
|
+
this.toastService.toastComplete();
|
|
36
|
+
}
|
|
37
|
+
this.isOpen$.next(!!this.toast);
|
|
38
|
+
}
|
|
39
|
+
close() {
|
|
40
|
+
this.$appearTimeout.unsubscribe();
|
|
41
|
+
this.toast = null;
|
|
42
|
+
this.cdr.detectChanges();
|
|
43
|
+
}
|
|
44
|
+
subscribeToToastPushes() {
|
|
45
|
+
this.toastService.pushEvents.pipe(tap(() => {
|
|
46
|
+
this.toast = null;
|
|
47
|
+
if (this.$appearTimeout && !this.$appearTimeout.closed) {
|
|
48
|
+
this.isForced = true;
|
|
49
|
+
this.$appearTimeout.unsubscribe();
|
|
50
|
+
}
|
|
51
|
+
}), mergeMap((toast) => {
|
|
52
|
+
return this.isOpen$.pipe(filter((isOpen) => !isOpen), take(1), map(() => toast));
|
|
53
|
+
})).subscribe((toast) => {
|
|
54
|
+
this.toast = toast;
|
|
55
|
+
this.isForced = false;
|
|
56
|
+
this.cdr.detectChanges();
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
EvoToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoToastComponent, deps: [{ token: i1.EvoToastService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
61
|
+
EvoToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: EvoToastComponent, selector: "evo-toast", ngImport: i0, template: "<div class=\"evo-toast__wrapper\"\n [@appear]=\"toast ? 'in' : null\"\n (@appear.done)=\"handleAnimationDone()\"\n *ngIf=\"toast\">\n <div class=\"evo-toast\" [evoUiClass]=\"toast?.type || ''\">\n <ng-container *ngIf=\"toast?.message\">\n <div class=\"evo-toast__message\" [innerHTML]=\"toast?.message\"></div>\n </ng-container>\n <ng-container *ngIf=\"toast?.templateRef\">\n <div class=\"evo-toast__message\">\n <ng-container [ngTemplateOutlet]=\"toast?.templateRef\"></ng-container>\n </div>\n </ng-container>\n <evo-icon class=\"evo-toast__close\" shape=\"close\" (click)=\"close()\"></evo-icon>\n </div>\n</div>\n", styles: [".evo-toast{display:flex;width:300px;padding:16px;background:#403C3D;border-radius:8px;box-shadow:0 8px 10px #0003,0 6px 30px #0000001f,0 16px 24px #00000024}.evo-toast_danger{background:#FF6F6F;box-shadow:0 8px 10px #ff6f6f33,0 6px 30px #ff6f6f1f,0 16px 24px #ff6f6f24}.evo-toast_success{background:#21C68B;box-shadow:0 8px 10px #21c68b33,0 6px 30px #21c68b1f,0 16px 24px #21c68b24}.evo-toast__wrapper{position:fixed;bottom:32px;left:calc(50% - 150px)}.evo-toast__message{flex:1;color:#fff;font-weight:600;font-size:14px}.evo-toast__close{flex-shrink:0;width:24px;height:24px;cursor:pointer;opacity:.5;transition:opacity .25s;-webkit-user-select:none;user-select:none;fill:#fff}.evo-toast__close:hover{opacity:1}.evo-toast_danger::ng-deep a:link,.evo-toast_danger::ng-deep a:hover,.evo-toast_danger::ng-deep a:active,.evo-toast_danger::ng-deep a:visited,.evo-toast_success::ng-deep a:link,.evo-toast_success::ng-deep a:hover,.evo-toast_success::ng-deep a:active,.evo-toast_success::ng-deep a:visited{color:#fff;font-weight:700;text-decoration:underline}.evo-toast_danger::ng-deep *,.evo-toast_success::ng-deep *{color:#fff}\n"], components: [{ type: i2.EvoIconComponent, selector: "evo-icon", inputs: ["shape", "svgWidth", "svgHeight", "svgViewBox"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [
|
|
62
|
+
trigger('appear', [
|
|
63
|
+
transition('void => in', [
|
|
64
|
+
style({
|
|
65
|
+
bottom: '-100px',
|
|
66
|
+
}),
|
|
67
|
+
animate('250ms cubic-bezier(0, 0, 0.2, 1.40)', style({
|
|
68
|
+
bottom: '32px',
|
|
69
|
+
})),
|
|
70
|
+
]),
|
|
71
|
+
transition('in => void', [
|
|
72
|
+
animate('250ms ease-in', style({
|
|
73
|
+
bottom: '-100px',
|
|
74
|
+
})),
|
|
75
|
+
]),
|
|
76
|
+
]),
|
|
77
|
+
] });
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoToastComponent, decorators: [{
|
|
79
|
+
type: Component,
|
|
80
|
+
args: [{ selector: 'evo-toast', animations: [
|
|
81
|
+
trigger('appear', [
|
|
82
|
+
transition('void => in', [
|
|
83
|
+
style({
|
|
84
|
+
bottom: '-100px',
|
|
85
|
+
}),
|
|
86
|
+
animate('250ms cubic-bezier(0, 0, 0.2, 1.40)', style({
|
|
87
|
+
bottom: '32px',
|
|
88
|
+
})),
|
|
89
|
+
]),
|
|
90
|
+
transition('in => void', [
|
|
91
|
+
animate('250ms ease-in', style({
|
|
92
|
+
bottom: '-100px',
|
|
93
|
+
})),
|
|
94
|
+
]),
|
|
95
|
+
]),
|
|
96
|
+
], template: "<div class=\"evo-toast__wrapper\"\n [@appear]=\"toast ? 'in' : null\"\n (@appear.done)=\"handleAnimationDone()\"\n *ngIf=\"toast\">\n <div class=\"evo-toast\" [evoUiClass]=\"toast?.type || ''\">\n <ng-container *ngIf=\"toast?.message\">\n <div class=\"evo-toast__message\" [innerHTML]=\"toast?.message\"></div>\n </ng-container>\n <ng-container *ngIf=\"toast?.templateRef\">\n <div class=\"evo-toast__message\">\n <ng-container [ngTemplateOutlet]=\"toast?.templateRef\"></ng-container>\n </div>\n </ng-container>\n <evo-icon class=\"evo-toast__close\" shape=\"close\" (click)=\"close()\"></evo-icon>\n </div>\n</div>\n", styles: [".evo-toast{display:flex;width:300px;padding:16px;background:#403C3D;border-radius:8px;box-shadow:0 8px 10px #0003,0 6px 30px #0000001f,0 16px 24px #00000024}.evo-toast_danger{background:#FF6F6F;box-shadow:0 8px 10px #ff6f6f33,0 6px 30px #ff6f6f1f,0 16px 24px #ff6f6f24}.evo-toast_success{background:#21C68B;box-shadow:0 8px 10px #21c68b33,0 6px 30px #21c68b1f,0 16px 24px #21c68b24}.evo-toast__wrapper{position:fixed;bottom:32px;left:calc(50% - 150px)}.evo-toast__message{flex:1;color:#fff;font-weight:600;font-size:14px}.evo-toast__close{flex-shrink:0;width:24px;height:24px;cursor:pointer;opacity:.5;transition:opacity .25s;-webkit-user-select:none;user-select:none;fill:#fff}.evo-toast__close:hover{opacity:1}.evo-toast_danger::ng-deep a:link,.evo-toast_danger::ng-deep a:hover,.evo-toast_danger::ng-deep a:active,.evo-toast_danger::ng-deep a:visited,.evo-toast_success::ng-deep a:link,.evo-toast_success::ng-deep a:hover,.evo-toast_success::ng-deep a:active,.evo-toast_success::ng-deep a:visited{color:#fff;font-weight:700;text-decoration:underline}.evo-toast_danger::ng-deep *,.evo-toast_success::ng-deep *{color:#fff}\n"] }]
|
|
97
|
+
}], ctorParameters: function () { return [{ type: i1.EvoToastService }, { type: i0.ChangeDetectorRef }]; } });
|
|
98
98
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXRvYXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by10b2FzdC9ldm8tdG9hc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXRvYXN0L2V2by10b2FzdC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQXFCLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUVyRSxPQUFPLEVBQUUsT0FBTyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDMUUsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsR0FBRyxFQUFFLFFBQVEsRUFBRSxJQUFJLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDekUsT0FBTyxFQUFFLGVBQWUsRUFBRSxFQUFFLEVBQWdCLE1BQU0sTUFBTSxDQUFDOzs7Ozs7QUFFekQsTUFBTSxDQUFOLElBQVksYUFJWDtBQUpELFdBQVksYUFBYTtJQUNyQixvQ0FBbUIsQ0FBQTtJQUNuQixrQ0FBaUIsQ0FBQTtJQUNqQixvQ0FBbUIsQ0FBQTtBQUN2QixDQUFDLEVBSlcsYUFBYSxLQUFiLGFBQWEsUUFJeEI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ICAgICAgICAgICAgICAgfSkpLFxuICAgICAgICAgICAgXSksXG4gICAgICAgICAgICB0cmFuc2l0aW9uKCdpbiA9PiB2b2lkJywgW1xuICAgICAgICAgICAgICAgIGFuaW1hdGUoJzI1MG1zIGVhc2UtaW4nLCBzdHlsZSh7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogJy0xMDBweCcsXG4gICAgICAgICAgICAgICAgfSkpLFxuICAgICAgICAgICAgXSksXG4gICAgICAgIF0pLFxuICAgIF0sXG59KVxuZXhwb3J0IGNsYXNzIEV2b1RvYXN0Q29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcblxuICAgIHRvYXN0OiBFdm9Ub2FzdDtcblxuICAgIHByaXZhdGUgJGFwcGVhclRpbWVvdXQ6IFN1YnNjcmlwdGlvbjtcbiAgICBwcml2YXRlIGlzRm9yY2VkID0gZmFsc2U7XG4gICAgcHJpdmF0ZSBpc09wZW4kOiBCZWhhdmlvclN1YmplY3Q8Ym9vbGVhbj4gPSBuZXcgQmVoYXZpb3JTdWJqZWN0PGJvb2xlYW4+KGZhbHNlKTtcblxuICAgIGNvbnN0cnVjdG9yKFxuICAgICAgICBwcml2YXRlIHRvYXN0U2VydmljZTogRXZvVG9hc3RTZXJ2aWNlLFxuICAgICAgICBwcml2YXRlIHJlYWRvbmx5IGNkcjogQ2hhbmdlRGV0ZWN0b3JSZWYsXG4gICAgKSB7IH1cblxuICAgIG5nT25Jbml0KCkge1xuICAgICAgICB0aGlzLnRvYXN0U2VydmljZS5yZWdpc3RlcigpO1xuICAgICAgICB0aGlzLnN1YnNjcmliZVRvVG9hc3RQdXNoZXMoKTtcbiAgICB9XG5cbiAgICBoYW5kbGVBbmltYXRpb25Eb25lKCkge1xuICAgICAgICBpZiAodGhpcy50b2FzdCkge1xuICAgICAgICAgICAgdGhpcy4kYXBwZWFyVGltZW91dCA9IG9mKHt9KS5waXBlKFxuICAgICAgICAgICAgICAgIGRlbGF5KDUwMDApLFxuICAgICAgICAgICAgKS5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMudG9hc3QgPSBudWxsO1xuICAgICAgICAgICAgICAgIHRoaXMuY2RyLmRldGVjdENoYW5nZXMoKTtcbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9IGVsc2UgaWYgKCF0aGlzLmlzRm9yY2VkKSB7XG4gICAgICAgICAgICB0aGlzLnRvYXN0U2VydmljZS50b2FzdENvbXBsZXRlKCk7XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLmlzT3BlbiQubmV4dCghIXRoaXMudG9hc3QpO1xuICAgIH1cblxuICAgIGNsb3NlKCkge1xuICAgICAgICB0aGlzLiRhcHBlYXJUaW1lb3V0LnVuc3Vic2NyaWJlKCk7XG4gICAgICAgIHRoaXMudG9hc3QgPSBudWxsO1xuICAgICAgICB0aGlzLmNkci5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBzdWJzY3JpYmVUb1RvYXN0UHVzaGVzKCkge1xuICAgICAgICB0aGlzLnRvYXN0U2VydmljZS5wdXNoRXZlbnRzLnBpcGUoXG4gICAgICAgICAgICB0YXAoKCkgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMudG9hc3QgPSBudWxsO1xuXG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuJGFwcGVhclRpbWVvdXQgJiYgIXRoaXMuJGFwcGVhclRpbWVvdXQuY2xvc2VkKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaXNGb3JjZWQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLiRhcHBlYXJUaW1lb3V0LnVuc3Vic2NyaWJlKCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgICBtZXJnZU1hcCgodG9hc3Q6IEV2b1RvYXN0KSA9PiB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuaXNPcGVuJC5waXBlKFxuICAgICA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