@evotor-dev/ui-kit 7.2.8 → 7.2.9
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,86 +1,86 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
-
import { EVO_BUTTON_THEMES_MAP } from '../../constants/evo-button-themes-map';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../evo-loader/evo-circular-loader.component";
|
|
5
|
-
import * as i2 from "../../../../directives/evo-ui-class.directive";
|
|
6
|
-
import * as i3 from "@angular/common";
|
|
7
|
-
export class EvoButtonComponent {
|
|
8
|
-
constructor(elRef) {
|
|
9
|
-
this.elRef = elRef;
|
|
10
|
-
this.size = 'normal';
|
|
11
|
-
this.color = 'success';
|
|
12
|
-
this.shape = 'rounded';
|
|
13
|
-
this._isOutline = false;
|
|
14
|
-
this._isDisabled = false;
|
|
15
|
-
this._isLoading = false;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* `theme` is a complex prop, that sets a number of inner parameters, described in `EvoButtonThemeParams`
|
|
19
|
-
*/
|
|
20
|
-
set theme(value) {
|
|
21
|
-
const selectedTheme = EVO_BUTTON_THEMES_MAP.get(value) ?? EVO_BUTTON_THEMES_MAP.get('rounded-solid');
|
|
22
|
-
this.shape = selectedTheme.shape;
|
|
23
|
-
this._isOutline = selectedTheme.isOutline;
|
|
24
|
-
}
|
|
25
|
-
set disabled(value) {
|
|
26
|
-
this._isDisabled = value;
|
|
27
|
-
if (!this.isLoading) {
|
|
28
|
-
this.elRef.nativeElement.disabled = value;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
set loading(value) {
|
|
32
|
-
this._isLoading = value;
|
|
33
|
-
if (!this._isDisabled) {
|
|
34
|
-
this.elRef.nativeElement.disabled = value;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
get isLoading() {
|
|
38
|
-
return this._isLoading;
|
|
39
|
-
}
|
|
40
|
-
get buttonClasses() {
|
|
41
|
-
const classes = [];
|
|
42
|
-
if (this.color) {
|
|
43
|
-
classes.push(`color_${this.color}`);
|
|
44
|
-
}
|
|
45
|
-
if (this.shape) {
|
|
46
|
-
classes.push(`shape_${this.shape}`);
|
|
47
|
-
}
|
|
48
|
-
if (this.size) {
|
|
49
|
-
classes.push(`size_${this.size}`);
|
|
50
|
-
}
|
|
51
|
-
if (this._isOutline) {
|
|
52
|
-
classes.push(`is-outline`);
|
|
53
|
-
}
|
|
54
|
-
if (this._isDisabled) {
|
|
55
|
-
classes.push('is-disabled');
|
|
56
|
-
}
|
|
57
|
-
if (this.isLoading) {
|
|
58
|
-
classes.push('is-loading');
|
|
59
|
-
}
|
|
60
|
-
return classes;
|
|
61
|
-
}
|
|
62
|
-
get buttonStyles() {
|
|
63
|
-
const result = {};
|
|
64
|
-
if (this.isLoading) {
|
|
65
|
-
result['visibility'] = 'hidden';
|
|
66
|
-
}
|
|
67
|
-
return result;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
EvoButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoButtonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
71
|
-
EvoButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: EvoButtonComponent, selector: "button[evoButton], a[evoButton]", inputs: { size: "size", color: "color", theme: "theme", disabled: "disabled", loading: "loading" }, ngImport: i0, template: "<div class=\"evo-button\" [evoUiClass]=\"buttonClasses\">\
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoButtonComponent, decorators: [{
|
|
73
|
-
type: Component,
|
|
74
|
-
args: [{ selector: 'button[evoButton], a[evoButton]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"evo-button\" [evoUiClass]=\"buttonClasses\">\
|
|
75
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { size: [{
|
|
76
|
-
type: Input
|
|
77
|
-
}], color: [{
|
|
78
|
-
type: Input
|
|
79
|
-
}], theme: [{
|
|
80
|
-
type: Input
|
|
81
|
-
}], disabled: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}], loading: [{
|
|
84
|
-
type: Input
|
|
85
|
-
}] } });
|
|
86
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import { EVO_BUTTON_THEMES_MAP } from '../../constants/evo-button-themes-map';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../evo-loader/evo-circular-loader.component";
|
|
5
|
+
import * as i2 from "../../../../directives/evo-ui-class.directive";
|
|
6
|
+
import * as i3 from "@angular/common";
|
|
7
|
+
export class EvoButtonComponent {
|
|
8
|
+
constructor(elRef) {
|
|
9
|
+
this.elRef = elRef;
|
|
10
|
+
this.size = 'normal';
|
|
11
|
+
this.color = 'success';
|
|
12
|
+
this.shape = 'rounded';
|
|
13
|
+
this._isOutline = false;
|
|
14
|
+
this._isDisabled = false;
|
|
15
|
+
this._isLoading = false;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* `theme` is a complex prop, that sets a number of inner parameters, described in `EvoButtonThemeParams`
|
|
19
|
+
*/
|
|
20
|
+
set theme(value) {
|
|
21
|
+
const selectedTheme = EVO_BUTTON_THEMES_MAP.get(value) ?? EVO_BUTTON_THEMES_MAP.get('rounded-solid');
|
|
22
|
+
this.shape = selectedTheme.shape;
|
|
23
|
+
this._isOutline = selectedTheme.isOutline;
|
|
24
|
+
}
|
|
25
|
+
set disabled(value) {
|
|
26
|
+
this._isDisabled = value;
|
|
27
|
+
if (!this.isLoading) {
|
|
28
|
+
this.elRef.nativeElement.disabled = value;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
set loading(value) {
|
|
32
|
+
this._isLoading = value;
|
|
33
|
+
if (!this._isDisabled) {
|
|
34
|
+
this.elRef.nativeElement.disabled = value;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
get isLoading() {
|
|
38
|
+
return this._isLoading;
|
|
39
|
+
}
|
|
40
|
+
get buttonClasses() {
|
|
41
|
+
const classes = [];
|
|
42
|
+
if (this.color) {
|
|
43
|
+
classes.push(`color_${this.color}`);
|
|
44
|
+
}
|
|
45
|
+
if (this.shape) {
|
|
46
|
+
classes.push(`shape_${this.shape}`);
|
|
47
|
+
}
|
|
48
|
+
if (this.size) {
|
|
49
|
+
classes.push(`size_${this.size}`);
|
|
50
|
+
}
|
|
51
|
+
if (this._isOutline) {
|
|
52
|
+
classes.push(`is-outline`);
|
|
53
|
+
}
|
|
54
|
+
if (this._isDisabled) {
|
|
55
|
+
classes.push('is-disabled');
|
|
56
|
+
}
|
|
57
|
+
if (this.isLoading) {
|
|
58
|
+
classes.push('is-loading');
|
|
59
|
+
}
|
|
60
|
+
return classes;
|
|
61
|
+
}
|
|
62
|
+
get buttonStyles() {
|
|
63
|
+
const result = {};
|
|
64
|
+
if (this.isLoading) {
|
|
65
|
+
result['visibility'] = 'hidden';
|
|
66
|
+
}
|
|
67
|
+
return result;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
EvoButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoButtonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
71
|
+
EvoButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: EvoButtonComponent, selector: "button[evoButton], a[evoButton]", inputs: { size: "size", color: "color", theme: "theme", disabled: "disabled", loading: "loading" }, ngImport: i0, template: "<div class=\"evo-button\" [evoUiClass]=\"buttonClasses\">\n <span class=\"evo-button__content\" [ngStyle]=\"buttonStyles\">\n <ng-content></ng-content>\n </span>\n <evo-circular-loader class=\"evo-button__loader\" *ngIf=\"isLoading\"></evo-circular-loader>\n</div>\n", styles: [":host{display:inline-block;margin:0;padding:0;vertical-align:top;background:none;border:0;outline:none;--evo-button-background-color: transparent;--evo-button-background-gradient: none;--evo-button-text-color: none;--evo-button-border-color: none;--evo-button-hover-text-color: none;--evo-button-hover-shadow: none;--evo-button-overflow: hidden}.evo-button{--inner-button-primary-color: #21C68B;--inner-button-secondary-color: #FFFFFF;--inner-text-color: var(--inner-button-secondary-color);--inner-background-color: var(--inner-button-primary-color);--inner-border-color: var(--inner-button-primary-color);display:flex;justify-content:center;align-items:center;height:40px;padding:0 24px;font-size:16px;line-height:1;white-space:nowrap;text-align:center;color:var(--inner-text-color);fill:var(--inner-text-color);border:none;outline:none;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;overflow:hidden;box-sizing:border-box;z-index:auto;transition:box-shadow .3s,color .3s}.evo-button__content{position:relative;display:flex;flex-flow:row nowrap;align-items:center;overflow:var(--evo-button-overflow);z-index:3}.evo-button__loader{position:absolute;inset:0;width:100%;height:100%;padding:4px 0;z-index:2;--evo-circular-loader-color: var(--inner-text-color)}.evo-button:before{content:\"\";position:absolute;inset:0;z-index:1;background-color:var(--inner-background-color);border:solid 1px var(--inner-border-color);border-radius:inherit;transition:background .3s,color .3s,border .3s}.evo-button:after{content:\"\";position:absolute;inset:0;z-index:2;opacity:0;transition:opacity .3s,background-color .3s}.evo-button:hover{box-shadow:var(--evo-button-hover-shadow)}.evo-button:hover:after{opacity:.2;background-color:#fff}.evo-button:focus:after,.evo-button:active:after{opacity:.1;background-color:#000}.evo-button:disabled,.evo-button_is-disabled{--inner-text-color: #FFFFFF !important;--inner-background-color: #C6C6C6 !important;--inner-border-color: transparent !important;pointer-events:none}.evo-button:disabled .evo-button:after,.evo-button_is-disabled .evo-button:after{display:none}.evo-button_is-outline:not(.evo-button_is-outline:hover):not(.evo-button_is-outline_is-disabled):not(.evo-button_is-outline:active){--inner-text-color: var(--inner-button-primary-color);--inner-background-color: transparent;--inner-border-color: var(--inner-button-primary-color)}.evo-button_is-outline:hover{--inner-text-color: var(--inner-button-secondary-color);--inner-background-color: var(--inner-button-primary-color)}.evo-button_is-outline:hover:not(:focus):not(:active):after{background:transparent;border:none}.evo-button_is-loading{position:relative;pointer-events:none}.evo-button.evo-button_shape_rounded{border-radius:30px;font-weight:500;font-family:var(--evo-font-secondary);text-transform:uppercase}.evo-button.evo-button_shape_rectangle{border-radius:4px;padding:0 12px;font-weight:600;font-family:var(--evo-font);text-transform:unset}.evo-button.evo-button_shape_semi-rectangle{border-radius:8px;padding:0 8px;font-weight:700;font-family:var(--evo-font);text-transform:unset}.evo-button.evo-button_color_secondary{--inner-button-primary-color: #231F20;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_success{--inner-button-primary-color: #21C68B;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_bonus{--inner-button-primary-color: #C72AAE;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_text{--inner-button-primary-color: #212121;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_link{--inner-button-primary-color: #0986E2;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_error{--inner-button-primary-color: #FF1817;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_white{--inner-button-primary-color: #FFFFFF;--inner-button-secondary-color: #212121}.evo-button.evo-button_color_primary{--inner-button-primary-color: #F05023;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_size_small.evo-button_shape_rounded{height:32px;padding:0 16px;font-family:var(--evo-font-secondary);font-style:normal;font-weight:500;font-size:14px;line-height:20px}.evo-button.evo-button_size_normal.evo-button_shape_rounded{height:40px;padding:0 24px;font-family:var(--evo-font-secondary);font-style:normal;font-weight:500;font-size:16px;line-height:20px}.evo-button.evo-button_size_large.evo-button_shape_rounded{height:56px;padding:0 40px;font-family:var(--evo-font-secondary);font-style:normal;font-weight:500;font-size:18px;line-height:20px}.evo-button.evo-button_size_small.evo-button_shape_rectangle,.evo-button.evo-button_size_normal.evo-button_shape_rectangle,.evo-button.evo-button_size_large.evo-button_shape_rectangle{height:32px;font-family:var(--evo-font);font-style:normal;font-size:14px;line-height:24px;font-weight:600}.evo-button.evo-button_size_small.evo-button_shape_semi-rectangle,.evo-button.evo-button_size_normal.evo-button_shape_semi-rectangle,.evo-button.evo-button_size_large.evo-button_shape_semi-rectangle{height:24px;font-family:var(--evo-font);font-style:normal;font-size:12px;line-height:18px;font-weight:700}.evo-button.evo-button_color_white.evo-button_shape_rounded:not(.evo-button.evo-button_color_white.evo-button_shape_rounded:disabled):is(.evo-button.evo-button_color_white.evo-button_shape_rounded:hover):after{z-index:3}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled):not(.evo-button_is-outline){--inner-button-secondary-color: var(--evo-button-text-color)}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled):not(.evo-button_is-outline):hover{--inner-button-secondary-color: var(--evo-button-hover-text-color)}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled):not(.evo-button_is-outline):before{background-color:var(--evo-button-background-color);background-image:var(--evo-button-background-gradient);border-color:transparent}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled).evo-button_is-outline{--inner-button-primary-color: var(--evo-button-border-color)}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled).evo-button_is-outline:hover:before,.evo-button.evo-button_color_custom:not(.evo-button_is-disabled).evo-button_is-outline:active:before{background-color:var(--evo-button-background-color);background-image:var(--evo-button-background-gradient)}\n"], components: [{ type: i1.EvoCircularLoaderComponent, selector: "evo-circular-loader" }], directives: [{ type: i2.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoButtonComponent, decorators: [{
|
|
73
|
+
type: Component,
|
|
74
|
+
args: [{ selector: 'button[evoButton], a[evoButton]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"evo-button\" [evoUiClass]=\"buttonClasses\">\n <span class=\"evo-button__content\" [ngStyle]=\"buttonStyles\">\n <ng-content></ng-content>\n </span>\n <evo-circular-loader class=\"evo-button__loader\" *ngIf=\"isLoading\"></evo-circular-loader>\n</div>\n", styles: [":host{display:inline-block;margin:0;padding:0;vertical-align:top;background:none;border:0;outline:none;--evo-button-background-color: transparent;--evo-button-background-gradient: none;--evo-button-text-color: none;--evo-button-border-color: none;--evo-button-hover-text-color: none;--evo-button-hover-shadow: none;--evo-button-overflow: hidden}.evo-button{--inner-button-primary-color: #21C68B;--inner-button-secondary-color: #FFFFFF;--inner-text-color: var(--inner-button-secondary-color);--inner-background-color: var(--inner-button-primary-color);--inner-border-color: var(--inner-button-primary-color);display:flex;justify-content:center;align-items:center;height:40px;padding:0 24px;font-size:16px;line-height:1;white-space:nowrap;text-align:center;color:var(--inner-text-color);fill:var(--inner-text-color);border:none;outline:none;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;overflow:hidden;box-sizing:border-box;z-index:auto;transition:box-shadow .3s,color .3s}.evo-button__content{position:relative;display:flex;flex-flow:row nowrap;align-items:center;overflow:var(--evo-button-overflow);z-index:3}.evo-button__loader{position:absolute;inset:0;width:100%;height:100%;padding:4px 0;z-index:2;--evo-circular-loader-color: var(--inner-text-color)}.evo-button:before{content:\"\";position:absolute;inset:0;z-index:1;background-color:var(--inner-background-color);border:solid 1px var(--inner-border-color);border-radius:inherit;transition:background .3s,color .3s,border .3s}.evo-button:after{content:\"\";position:absolute;inset:0;z-index:2;opacity:0;transition:opacity .3s,background-color .3s}.evo-button:hover{box-shadow:var(--evo-button-hover-shadow)}.evo-button:hover:after{opacity:.2;background-color:#fff}.evo-button:focus:after,.evo-button:active:after{opacity:.1;background-color:#000}.evo-button:disabled,.evo-button_is-disabled{--inner-text-color: #FFFFFF !important;--inner-background-color: #C6C6C6 !important;--inner-border-color: transparent !important;pointer-events:none}.evo-button:disabled .evo-button:after,.evo-button_is-disabled .evo-button:after{display:none}.evo-button_is-outline:not(.evo-button_is-outline:hover):not(.evo-button_is-outline_is-disabled):not(.evo-button_is-outline:active){--inner-text-color: var(--inner-button-primary-color);--inner-background-color: transparent;--inner-border-color: var(--inner-button-primary-color)}.evo-button_is-outline:hover{--inner-text-color: var(--inner-button-secondary-color);--inner-background-color: var(--inner-button-primary-color)}.evo-button_is-outline:hover:not(:focus):not(:active):after{background:transparent;border:none}.evo-button_is-loading{position:relative;pointer-events:none}.evo-button.evo-button_shape_rounded{border-radius:30px;font-weight:500;font-family:var(--evo-font-secondary);text-transform:uppercase}.evo-button.evo-button_shape_rectangle{border-radius:4px;padding:0 12px;font-weight:600;font-family:var(--evo-font);text-transform:unset}.evo-button.evo-button_shape_semi-rectangle{border-radius:8px;padding:0 8px;font-weight:700;font-family:var(--evo-font);text-transform:unset}.evo-button.evo-button_color_secondary{--inner-button-primary-color: #231F20;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_success{--inner-button-primary-color: #21C68B;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_bonus{--inner-button-primary-color: #C72AAE;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_text{--inner-button-primary-color: #212121;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_link{--inner-button-primary-color: #0986E2;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_error{--inner-button-primary-color: #FF1817;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_white{--inner-button-primary-color: #FFFFFF;--inner-button-secondary-color: #212121}.evo-button.evo-button_color_primary{--inner-button-primary-color: #F05023;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_size_small.evo-button_shape_rounded{height:32px;padding:0 16px;font-family:var(--evo-font-secondary);font-style:normal;font-weight:500;font-size:14px;line-height:20px}.evo-button.evo-button_size_normal.evo-button_shape_rounded{height:40px;padding:0 24px;font-family:var(--evo-font-secondary);font-style:normal;font-weight:500;font-size:16px;line-height:20px}.evo-button.evo-button_size_large.evo-button_shape_rounded{height:56px;padding:0 40px;font-family:var(--evo-font-secondary);font-style:normal;font-weight:500;font-size:18px;line-height:20px}.evo-button.evo-button_size_small.evo-button_shape_rectangle,.evo-button.evo-button_size_normal.evo-button_shape_rectangle,.evo-button.evo-button_size_large.evo-button_shape_rectangle{height:32px;font-family:var(--evo-font);font-style:normal;font-size:14px;line-height:24px;font-weight:600}.evo-button.evo-button_size_small.evo-button_shape_semi-rectangle,.evo-button.evo-button_size_normal.evo-button_shape_semi-rectangle,.evo-button.evo-button_size_large.evo-button_shape_semi-rectangle{height:24px;font-family:var(--evo-font);font-style:normal;font-size:12px;line-height:18px;font-weight:700}.evo-button.evo-button_color_white.evo-button_shape_rounded:not(.evo-button.evo-button_color_white.evo-button_shape_rounded:disabled):is(.evo-button.evo-button_color_white.evo-button_shape_rounded:hover):after{z-index:3}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled):not(.evo-button_is-outline){--inner-button-secondary-color: var(--evo-button-text-color)}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled):not(.evo-button_is-outline):hover{--inner-button-secondary-color: var(--evo-button-hover-text-color)}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled):not(.evo-button_is-outline):before{background-color:var(--evo-button-background-color);background-image:var(--evo-button-background-gradient);border-color:transparent}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled).evo-button_is-outline{--inner-button-primary-color: var(--evo-button-border-color)}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled).evo-button_is-outline:hover:before,.evo-button.evo-button_color_custom:not(.evo-button_is-disabled).evo-button_is-outline:active:before{background-color:var(--evo-button-background-color);background-image:var(--evo-button-background-gradient)}\n"] }]
|
|
75
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { size: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], color: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], theme: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], disabled: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], loading: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}] } });
|
|
86
|
+
//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ic7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gcmVzdWx0O1xuICAgIH1cbn1cbiIsIjxkaXYgY2xhc3M9XCJldm8tYnV0dG9uXCIgW2V2b1VpQ2xhc3NdPVwiYnV0dG9uQ2xhc3Nlc1wiPlxuICAgIDxzcGFuIGNsYXNzPVwiZXZvLWJ1dHRvbl9fY29udGVudFwiIFtuZ1N0eWxlXT1cImJ1dHRvblN0eWxlc1wiPlxuICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9zcGFuPlxuICAgIDxldm8tY2lyY3VsYXItbG9hZGVyIGNsYXNzPVwiZXZvLWJ1dHRvbl9fbG9hZGVyXCIgKm5nSWY9XCJpc0xvYWRpbmdcIj48L2V2by1jaXJjdWxhci1sb2FkZXI+XG48L2Rpdj5cbiJdfQ==
|
package/esm2020/lib/components/evo-button/components/evo-button-old/evo-button-old.component.mjs
CHANGED
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../../../directives/evo-ui-class.directive";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated use EvoButtonComponent
|
|
7
|
-
*/
|
|
8
|
-
export var EvoButtonSizes;
|
|
9
|
-
(function (EvoButtonSizes) {
|
|
10
|
-
EvoButtonSizes["small"] = "small";
|
|
11
|
-
EvoButtonSizes["large"] = "large";
|
|
12
|
-
})(EvoButtonSizes || (EvoButtonSizes = {}));
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated use EvoButtonColor with EvoButtonTheme
|
|
15
|
-
*/
|
|
16
|
-
export var EvoButtonStyles;
|
|
17
|
-
(function (EvoButtonStyles) {
|
|
18
|
-
EvoButtonStyles["lined"] = "lined";
|
|
19
|
-
EvoButtonStyles["darkblue"] = "darkblue";
|
|
20
|
-
EvoButtonStyles["darkblueLined"] = "darkblue-lined";
|
|
21
|
-
EvoButtonStyles["green"] = "green";
|
|
22
|
-
EvoButtonStyles["greenlined"] = "green-lined";
|
|
23
|
-
EvoButtonStyles["purple"] = "purple";
|
|
24
|
-
EvoButtonStyles["red"] = "red";
|
|
25
|
-
})(EvoButtonStyles || (EvoButtonStyles = {}));
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated use EvoButtonComponent
|
|
28
|
-
*/
|
|
29
|
-
export class EvoButtonOldComponent {
|
|
30
|
-
constructor(elRef) {
|
|
31
|
-
this.elRef = elRef;
|
|
32
|
-
this._disabled = false;
|
|
33
|
-
this._loading = false;
|
|
34
|
-
}
|
|
35
|
-
set disabled(value) {
|
|
36
|
-
this._disabled = value;
|
|
37
|
-
if (!this.loading) {
|
|
38
|
-
this.elRef.nativeElement.disabled = value;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
set loading(value) {
|
|
42
|
-
this._loading = value;
|
|
43
|
-
if (!this.disabled) {
|
|
44
|
-
this.elRef.nativeElement.disabled = value;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
get disabled() {
|
|
48
|
-
return this._disabled;
|
|
49
|
-
}
|
|
50
|
-
get loading() {
|
|
51
|
-
return this._loading;
|
|
52
|
-
}
|
|
53
|
-
get totalClasses() {
|
|
54
|
-
const classes = [];
|
|
55
|
-
if (this.size) {
|
|
56
|
-
classes.push(this.size);
|
|
57
|
-
}
|
|
58
|
-
if (this.color) {
|
|
59
|
-
classes.push(this.color);
|
|
60
|
-
}
|
|
61
|
-
if (this.loading) {
|
|
62
|
-
classes.push('loading');
|
|
63
|
-
}
|
|
64
|
-
if (this.disabled) {
|
|
65
|
-
classes.push('disabled');
|
|
66
|
-
}
|
|
67
|
-
return classes;
|
|
68
|
-
}
|
|
69
|
-
get totalStyles() {
|
|
70
|
-
const result = {};
|
|
71
|
-
if (this.loading) {
|
|
72
|
-
result['visibility'] = 'hidden';
|
|
73
|
-
}
|
|
74
|
-
return result;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
EvoButtonOldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoButtonOldComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
78
|
-
EvoButtonOldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: EvoButtonOldComponent, selector: "evo-button, button[evo-button]", inputs: { color: "color", size: "size", disabled: "disabled", loading: "loading" }, ngImport: i0, template: "<div class=\"evo-button\" [evoUiClass]=\"totalClasses\">\
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoButtonOldComponent, decorators: [{
|
|
80
|
-
type: Component,
|
|
81
|
-
args: [{ selector: 'evo-button, button[evo-button]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"evo-button\" [evoUiClass]=\"totalClasses\">\
|
|
82
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { color: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], size: [{
|
|
85
|
-
type: Input
|
|
86
|
-
}], disabled: [{
|
|
87
|
-
type: Input
|
|
88
|
-
}], loading: [{
|
|
89
|
-
type: Input
|
|
90
|
-
}] } });
|
|
91
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../../../directives/evo-ui-class.directive";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated use EvoButtonComponent
|
|
7
|
+
*/
|
|
8
|
+
export var EvoButtonSizes;
|
|
9
|
+
(function (EvoButtonSizes) {
|
|
10
|
+
EvoButtonSizes["small"] = "small";
|
|
11
|
+
EvoButtonSizes["large"] = "large";
|
|
12
|
+
})(EvoButtonSizes || (EvoButtonSizes = {}));
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated use EvoButtonColor with EvoButtonTheme
|
|
15
|
+
*/
|
|
16
|
+
export var EvoButtonStyles;
|
|
17
|
+
(function (EvoButtonStyles) {
|
|
18
|
+
EvoButtonStyles["lined"] = "lined";
|
|
19
|
+
EvoButtonStyles["darkblue"] = "darkblue";
|
|
20
|
+
EvoButtonStyles["darkblueLined"] = "darkblue-lined";
|
|
21
|
+
EvoButtonStyles["green"] = "green";
|
|
22
|
+
EvoButtonStyles["greenlined"] = "green-lined";
|
|
23
|
+
EvoButtonStyles["purple"] = "purple";
|
|
24
|
+
EvoButtonStyles["red"] = "red";
|
|
25
|
+
})(EvoButtonStyles || (EvoButtonStyles = {}));
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated use EvoButtonComponent
|
|
28
|
+
*/
|
|
29
|
+
export class EvoButtonOldComponent {
|
|
30
|
+
constructor(elRef) {
|
|
31
|
+
this.elRef = elRef;
|
|
32
|
+
this._disabled = false;
|
|
33
|
+
this._loading = false;
|
|
34
|
+
}
|
|
35
|
+
set disabled(value) {
|
|
36
|
+
this._disabled = value;
|
|
37
|
+
if (!this.loading) {
|
|
38
|
+
this.elRef.nativeElement.disabled = value;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
set loading(value) {
|
|
42
|
+
this._loading = value;
|
|
43
|
+
if (!this.disabled) {
|
|
44
|
+
this.elRef.nativeElement.disabled = value;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
get disabled() {
|
|
48
|
+
return this._disabled;
|
|
49
|
+
}
|
|
50
|
+
get loading() {
|
|
51
|
+
return this._loading;
|
|
52
|
+
}
|
|
53
|
+
get totalClasses() {
|
|
54
|
+
const classes = [];
|
|
55
|
+
if (this.size) {
|
|
56
|
+
classes.push(this.size);
|
|
57
|
+
}
|
|
58
|
+
if (this.color) {
|
|
59
|
+
classes.push(this.color);
|
|
60
|
+
}
|
|
61
|
+
if (this.loading) {
|
|
62
|
+
classes.push('loading');
|
|
63
|
+
}
|
|
64
|
+
if (this.disabled) {
|
|
65
|
+
classes.push('disabled');
|
|
66
|
+
}
|
|
67
|
+
return classes;
|
|
68
|
+
}
|
|
69
|
+
get totalStyles() {
|
|
70
|
+
const result = {};
|
|
71
|
+
if (this.loading) {
|
|
72
|
+
result['visibility'] = 'hidden';
|
|
73
|
+
}
|
|
74
|
+
return result;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
EvoButtonOldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoButtonOldComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
78
|
+
EvoButtonOldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: EvoButtonOldComponent, selector: "evo-button, button[evo-button]", inputs: { color: "color", size: "size", disabled: "disabled", loading: "loading" }, ngImport: i0, template: "<div class=\"evo-button\" [evoUiClass]=\"totalClasses\">\n <span [ngStyle]=\"totalStyles\">\n <ng-content></ng-content>\n </span>\n <span *ngIf=\"loading\" class=\"evo-button__dots\">\n <span class=\"evo-button__dot\"></span>\n <span class=\"evo-button__dot\"></span>\n <span class=\"evo-button__dot\"></span>\n </span>\n</div>\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%}}.evo-button{display:flex;justify-content:center;align-items:center;min-width:96px;height:40px;padding:0 24px;color:#fff;font-weight:500;font-size:16px;font-family:var(--evo-font-secondary);line-height:1;white-space:nowrap;text-align:center;text-transform:uppercase;background:#F05023 none;border:solid 1px transparent;border-radius:30px;outline:none;cursor:pointer;transition:background-color .3s,color .3s,border .3s;-webkit-user-select:none;user-select:none}.evo-button:hover{color:#fff;background-color:#f3734f}.evo-button:active,.evo-button:focus{color:#fff;background-color:#d8481f;outline:none}.evo-button:disabled,.evo-button_disabled{color:#fff!important;background:rgba(0,0,0,.16)!important;border-color:transparent!important;pointer-events:none}.evo-button_lined{color:#f05023;background-color:#fff;border:1px solid #F05023}.evo-button_lined:hover{color:#fff;background-color:#f05023}.evo-button_lined:active,.evo-button_lined:focus{color:#fff;background-color:#d8481f;border-color:#d8481f}.evo-button_darkblue{background-color:#546e7a}.evo-button_darkblue:hover{background-color:#7596a5}.evo-button_darkblue:active,.evo-button_darkblue:focus{background-color:#283239}.evo-button_darkblue-lined{color:#403c3d;background-color:#fff;border:1px solid #403C3D}.evo-button_darkblue-lined:hover{color:#fff;background-color:#403c3d}.evo-button_darkblue-lined:active,.evo-button_darkblue-lined:focus{color:#fff;background-color:#343031;border-color:#343031}.evo-button_green{background-color:#21c68b}.evo-button_green:hover{background-color:#4cd2a2}.evo-button_green:active,.evo-button_green:focus{background-color:#1c9e6e}.evo-button_green-lined{color:#21c68b;background-color:#fff;border:1px solid #21C68B}.evo-button_green-lined:hover{color:#fff;background-color:#21c68b}.evo-button_green-lined:active,.evo-button_green-lined:focus{color:#fff;background-color:#1c9e6e;border-color:#1c9e6e}.evo-button_red{color:#fff;background-color:#ff1817}.evo-button_red:hover{background-color:#ff4645}.evo-button_red:active,.evo-button_red:focus{background-color:#e51715}.evo-button_purple{background-color:#c72aae}.evo-button_purple:hover{background-color:#d255be}.evo-button_purple:active,.evo-button_purple:focus{background-color:#9f228b}.evo-button_white{background-color:transparent;border:1px solid #FFFFFF}.evo-button_white:hover{color:#403c3d;background-color:#fff}.evo-button_white:active,.evo-button_white:focus{color:#fff;background-color:transparent}.evo-button_small{min-width:72px;height:32px;padding:0 16px;font-size:14px}.evo-button_large{min-width:120px;height:56px;padding:0 40px;font-size:18px}.evo-button_icon{display:inline-flex;align-items:center;padding-right:22px;padding-left:22px}.evo-button_loading{position:relative;pointer-events:none}.evo-button__dots{position:absolute;top:50%;left:50%;margin-top:-5px;margin-left:-30px}.evo-button__dot{float:left;width:10px;height:10px;margin:0 5px;background:currentColor;border-radius:50%;transform:scale(0);animation:evo-fx-blink 1s ease infinite 0ms}.evo-button__dot:nth-child(2){animation:evo-fx-blink 1s ease infinite .3s}.evo-button__dot:nth-child(3){animation:evo-fx-blink 1s ease infinite .6s}:host{display:inline-block;margin:0;padding:0;vertical-align:top;background:none;border:0;outline:none}\n"], directives: [{ type: i1.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoButtonOldComponent, decorators: [{
|
|
80
|
+
type: Component,
|
|
81
|
+
args: [{ selector: 'evo-button, button[evo-button]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"evo-button\" [evoUiClass]=\"totalClasses\">\n <span [ngStyle]=\"totalStyles\">\n <ng-content></ng-content>\n </span>\n <span *ngIf=\"loading\" class=\"evo-button__dots\">\n <span class=\"evo-button__dot\"></span>\n <span class=\"evo-button__dot\"></span>\n <span class=\"evo-button__dot\"></span>\n </span>\n</div>\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%}}.evo-button{display:flex;justify-content:center;align-items:center;min-width:96px;height:40px;padding:0 24px;color:#fff;font-weight:500;font-size:16px;font-family:var(--evo-font-secondary);line-height:1;white-space:nowrap;text-align:center;text-transform:uppercase;background:#F05023 none;border:solid 1px transparent;border-radius:30px;outline:none;cursor:pointer;transition:background-color .3s,color .3s,border .3s;-webkit-user-select:none;user-select:none}.evo-button:hover{color:#fff;background-color:#f3734f}.evo-button:active,.evo-button:focus{color:#fff;background-color:#d8481f;outline:none}.evo-button:disabled,.evo-button_disabled{color:#fff!important;background:rgba(0,0,0,.16)!important;border-color:transparent!important;pointer-events:none}.evo-button_lined{color:#f05023;background-color:#fff;border:1px solid #F05023}.evo-button_lined:hover{color:#fff;background-color:#f05023}.evo-button_lined:active,.evo-button_lined:focus{color:#fff;background-color:#d8481f;border-color:#d8481f}.evo-button_darkblue{background-color:#546e7a}.evo-button_darkblue:hover{background-color:#7596a5}.evo-button_darkblue:active,.evo-button_darkblue:focus{background-color:#283239}.evo-button_darkblue-lined{color:#403c3d;background-color:#fff;border:1px solid #403C3D}.evo-button_darkblue-lined:hover{color:#fff;background-color:#403c3d}.evo-button_darkblue-lined:active,.evo-button_darkblue-lined:focus{color:#fff;background-color:#343031;border-color:#343031}.evo-button_green{background-color:#21c68b}.evo-button_green:hover{background-color:#4cd2a2}.evo-button_green:active,.evo-button_green:focus{background-color:#1c9e6e}.evo-button_green-lined{color:#21c68b;background-color:#fff;border:1px solid #21C68B}.evo-button_green-lined:hover{color:#fff;background-color:#21c68b}.evo-button_green-lined:active,.evo-button_green-lined:focus{color:#fff;background-color:#1c9e6e;border-color:#1c9e6e}.evo-button_red{color:#fff;background-color:#ff1817}.evo-button_red:hover{background-color:#ff4645}.evo-button_red:active,.evo-button_red:focus{background-color:#e51715}.evo-button_purple{background-color:#c72aae}.evo-button_purple:hover{background-color:#d255be}.evo-button_purple:active,.evo-button_purple:focus{background-color:#9f228b}.evo-button_white{background-color:transparent;border:1px solid #FFFFFF}.evo-button_white:hover{color:#403c3d;background-color:#fff}.evo-button_white:active,.evo-button_white:focus{color:#fff;background-color:transparent}.evo-button_small{min-width:72px;height:32px;padding:0 16px;font-size:14px}.evo-button_large{min-width:120px;height:56px;padding:0 40px;font-size:18px}.evo-button_icon{display:inline-flex;align-items:center;padding-right:22px;padding-left:22px}.evo-button_loading{position:relative;pointer-events:none}.evo-button__dots{position:absolute;top:50%;left:50%;margin-top:-5px;margin-left:-30px}.evo-button__dot{float:left;width:10px;height:10px;margin:0 5px;background:currentColor;border-radius:50%;transform:scale(0);animation:evo-fx-blink 1s ease infinite 0ms}.evo-button__dot:nth-child(2){animation:evo-fx-blink 1s ease infinite .3s}.evo-button__dot:nth-child(3){animation:evo-fx-blink 1s ease infinite .6s}:host{display:inline-block;margin:0;padding:0;vertical-align:top;background:none;border:0;outline:none}\n"] }]
|
|
82
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { color: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], size: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], disabled: [{
|
|
87
|
+
type: Input
|
|
88
|
+
}], loading: [{
|
|
89
|
+
type: Input
|
|
90
|
+
}] } });
|
|
91
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWJ1dHRvbi1vbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWJ1dHRvbi9jb21wb25lbnRzL2V2by1idXR0b24tb2xkL2V2by1idXR0b24tb2xkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by1idXR0b24vY29tcG9uZW50cy9ldm8tYnV0dG9uLW9sZC9ldm8tYnV0dG9uLW9sZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsdUJBQXVCLEVBQUUsU0FBUyxFQUFjLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQzs7OztBQUVwRjs7R0FFRztB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0cmluZ1tdIHtcbiAgICAgICAgY29uc3QgY2xhc3Nlczogc3RyaW5nW10gPSBbXTtcblxuICAgICAgICBpZiAodGhpcy5zaXplKSB7XG4gICAgICAgICAgICBjbGFzc2VzLnB1c2godGhpcy5zaXplKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0aGlzLmNvbG9yKSB7XG4gICAgICAgICAgICBjbGFzc2VzLnB1c2godGhpcy5jb2xvcik7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodGhpcy5sb2FkaW5nKSB7XG4gICAgICAgICAgICBjbGFzc2VzLnB1c2goJ2xvYWRpbmcnKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0aGlzLmRpc2FibGVkKSB7XG4gICAgICAgICAgICBjbGFzc2VzLnB1c2goJ2Rpc2FibGVkJyk7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gY2xhc3NlcztcbiAgICB9XG5cbiAgICBnZXQgdG90YWxTdHlsZXMoKToge1tzdHlsZUtleTogc3RyaW5nXTogYW55fSB7XG4gICAgICAgIGNvbnN0IHJlc3VsdCA9IHt9O1xuXG4gICAgICAgIGlmICh0aGlzLmxvYWRpbmcpIHtcbiAgICAgICAgICAgIHJlc3VsdFsndmlzaWJpbGl0eSddID0gJ2hpZGRlbic7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gcmVzdWx0O1xuICAgIH1cbn1cbiIsIjxkaXYgY2xhc3M9XCJldm8tYnV0dG9uXCIgW2V2b1VpQ2xhc3NdPVwidG90YWxDbGFzc2VzXCI+XG4gICAgPHNwYW4gW25nU3R5bGVdPVwidG90YWxTdHlsZXNcIj5cbiAgICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICAgIDwvc3Bhbj5cbiAgICA8c3BhbiAqbmdJZj1cImxvYWRpbmdcIiBjbGFzcz1cImV2by1idXR0b25fX2RvdHNcIj5cbiAgICAgICAgPHNwYW4gY2xhc3M9XCJldm8tYnV0dG9uX19kb3RcIj48L3NwYW4+XG4gICAgICAgIDxzcGFuIGNsYXNzPVwiZXZvLWJ1dHRvbl9fZG90XCI+PC9zcGFuPlxuICAgICAgICA8c3BhbiBjbGFzcz1cImV2by1idXR0b25fX2RvdFwiPjwvc3Bhbj5cbiAgICA8L3NwYW4+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export const EVO_BUTTON_THEMES_MAP = new Map([
|
|
2
|
-
[
|
|
3
|
-
'rectangle-outline',
|
|
4
|
-
{
|
|
5
|
-
shape: 'rectangle',
|
|
6
|
-
isOutline: true,
|
|
7
|
-
},
|
|
8
|
-
],
|
|
9
|
-
[
|
|
10
|
-
'rounded-outline',
|
|
11
|
-
{
|
|
12
|
-
shape: 'rounded',
|
|
13
|
-
isOutline: true,
|
|
14
|
-
},
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
'rounded-solid',
|
|
18
|
-
{
|
|
19
|
-
shape: 'rounded',
|
|
20
|
-
isOutline: false,
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
[
|
|
24
|
-
'semi-rectangle-solid',
|
|
25
|
-
{
|
|
26
|
-
shape: 'semi-rectangle',
|
|
27
|
-
isOutline: false,
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
]);
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export const EVO_BUTTON_THEMES_MAP = new Map([
|
|
2
|
+
[
|
|
3
|
+
'rectangle-outline',
|
|
4
|
+
{
|
|
5
|
+
shape: 'rectangle',
|
|
6
|
+
isOutline: true,
|
|
7
|
+
},
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
'rounded-outline',
|
|
11
|
+
{
|
|
12
|
+
shape: 'rounded',
|
|
13
|
+
isOutline: true,
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
'rounded-solid',
|
|
18
|
+
{
|
|
19
|
+
shape: 'rounded',
|
|
20
|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