@evotor-dev/ui-kit 6.2.0 → 6.4.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/.releaserc.json +6 -6
- package/README.md +121 -117
- package/assets/color-icons/404.svg +11 -11
- package/assets/color-icons/alert-circle.svg +6 -6
- package/assets/color-icons/alert-triangle.svg +6 -6
- package/assets/color-icons/application.svg +6 -6
- package/assets/color-icons/backup.svg +17 -17
- package/assets/color-icons/bank.svg +12 -12
- package/assets/color-icons/barcode.svg +12 -12
- package/assets/color-icons/big-data.svg +17 -17
- package/assets/color-icons/biil.svg +10 -10
- package/assets/color-icons/bill.svg +10 -10
- package/assets/color-icons/blank.svg +10 -10
- package/assets/color-icons/card-attention.svg +20 -20
- package/assets/color-icons/card.svg +9 -9
- package/assets/color-icons/cards.svg +18 -18
- package/assets/color-icons/cash.svg +19 -19
- package/assets/color-icons/check.svg +6 -6
- package/assets/color-icons/clock.svg +6 -6
- package/assets/color-icons/cloud.svg +6 -6
- package/assets/color-icons/code.svg +14 -14
- package/assets/color-icons/comment-approved.svg +20 -20
- package/assets/color-icons/comment-declined.svg +19 -19
- package/assets/color-icons/comment.svg +20 -20
- package/assets/color-icons/data-matrix-znak.svg +23 -23
- package/assets/color-icons/data-matrix.svg +29 -29
- package/assets/color-icons/document-fail.svg +14 -14
- package/assets/color-icons/document-signed.svg +15 -15
- package/assets/color-icons/document.svg +11 -11
- package/assets/color-icons/evotor-payment.svg +17 -17
- package/assets/color-icons/gift.svg +17 -17
- package/assets/color-icons/highlight.svg +21 -21
- package/assets/color-icons/hr.svg +22 -22
- package/assets/color-icons/info-circle.svg +6 -6
- package/assets/color-icons/link.svg +11 -11
- package/assets/color-icons/mail-new.svg +10 -10
- package/assets/color-icons/market.svg +13 -13
- package/assets/color-icons/money.svg +17 -17
- package/assets/color-icons/news.svg +10 -10
- package/assets/color-icons/not-found.svg +15 -15
- package/assets/color-icons/number-1.svg +6 -6
- package/assets/color-icons/number-2.svg +6 -6
- package/assets/color-icons/number-3.svg +6 -6
- package/assets/color-icons/number.svg +6 -6
- package/assets/color-icons/numbers.svg +13 -13
- package/assets/color-icons/ok.svg +6 -6
- package/assets/color-icons/person.svg +9 -9
- package/assets/color-icons/phone.svg +13 -13
- package/assets/color-icons/piechart.svg +15 -15
- package/assets/color-icons/power.svg +10 -10
- package/assets/color-icons/production.svg +24 -24
- package/assets/color-icons/purse.svg +12 -12
- package/assets/color-icons/qr.svg +6 -6
- package/assets/color-icons/rating.svg +19 -19
- package/assets/color-icons/recommended.svg +12 -12
- package/assets/color-icons/sbp.svg +6 -6
- package/assets/color-icons/settings.svg +6 -6
- package/assets/color-icons/shelf.svg +11 -11
- package/assets/color-icons/sim-activated.svg +20 -20
- package/assets/color-icons/sim-cancel.svg +19 -19
- package/assets/color-icons/sim-normal.svg +16 -16
- package/assets/color-icons/sim-waiting.svg +19 -19
- package/assets/color-icons/software-check.svg +16 -16
- package/assets/color-icons/software-fail.svg +15 -15
- package/assets/color-icons/software-support.svg +11 -11
- package/assets/color-icons/software.svg +11 -11
- package/assets/color-icons/stop.svg +13 -13
- package/assets/color-icons/tap-on-phone.svg +16 -16
- package/assets/color-icons/telegram.svg +10 -10
- package/assets/color-icons/terminal-fail.svg +14 -14
- package/assets/color-icons/terminal-free.svg +15 -15
- package/assets/color-icons/terminal-off.svg +14 -14
- package/assets/color-icons/terminal-success.svg +14 -14
- package/assets/color-icons/terminal.svg +13 -13
- package/assets/color-icons/traffic-light-green.svg +9 -9
- package/assets/color-icons/traffic-light-red.svg +9 -9
- package/assets/color-icons/traffic-light-yellow.svg +9 -9
- package/assets/color-icons/usb.svg +23 -23
- package/assets/color-icons/version-check.svg +15 -15
- package/assets/color-icons/version-fail.svg +14 -14
- package/assets/color-icons/version.svg +10 -10
- package/assets/color-icons/wait.svg +6 -6
- package/assets/color-icons/waiting.svg +15 -15
- package/assets/color-icons/warning.svg +6 -6
- package/assets/color-icons/wi-fi.svg +5 -5
- package/assets/color-icons/wifi.svg +5 -5
- package/bundles/evotor-dev-ui-kit-icons-category.umd.js +74 -38
- package/bundles/evotor-dev-ui-kit-icons-category.umd.js.map +1 -1
- package/bundles/evotor-dev-ui-kit-icons-emotions.umd.js +18 -18
- package/bundles/evotor-dev-ui-kit-icons-header.umd.js +28 -28
- package/bundles/evotor-dev-ui-kit-icons-info.umd.js +40 -40
- package/bundles/evotor-dev-ui-kit-icons-navigation.umd.js +56 -56
- package/bundles/evotor-dev-ui-kit-icons-navigation.umd.js.map +1 -1
- package/bundles/evotor-dev-ui-kit-icons-side-menu.umd.js +64 -64
- package/bundles/evotor-dev-ui-kit-icons-side-menu.umd.js.map +1 -1
- package/bundles/evotor-dev-ui-kit-icons-system.umd.js +384 -336
- package/bundles/evotor-dev-ui-kit-icons-system.umd.js.map +1 -1
- package/bundles/evotor-dev-ui-kit-icons.umd.js +624 -568
- package/bundles/evotor-dev-ui-kit-icons.umd.js.map +1 -1
- package/bundles/evotor-dev-ui-kit.umd.js +8323 -8271
- package/bundles/evotor-dev-ui-kit.umd.js.map +1 -1
- package/esm2015/evotor-dev-ui-kit.js +4 -4
- package/esm2015/icons/category/evotor-dev-ui-kit-icons-category.js +4 -4
- package/esm2015/icons/category/index.js +62 -38
- package/esm2015/icons/emotions/evotor-dev-ui-kit-icons-emotions.js +4 -4
- package/esm2015/icons/emotions/index.js +17 -17
- package/esm2015/icons/evotor-dev-ui-kit-icons.js +4 -4
- package/esm2015/icons/header/evotor-dev-ui-kit-icons-header.js +4 -4
- package/esm2015/icons/header/index.js +27 -27
- package/esm2015/icons/index.js +8 -8
- package/esm2015/icons/info/evotor-dev-ui-kit-icons-info.js +4 -4
- package/esm2015/icons/info/index.js +39 -39
- package/esm2015/icons/navigation/evotor-dev-ui-kit-icons-navigation.js +4 -4
- package/esm2015/icons/navigation/index.js +56 -56
- package/esm2015/icons/side-menu/evotor-dev-ui-kit-icons-side-menu.js +4 -4
- package/esm2015/icons/side-menu/index.js +64 -64
- package/esm2015/icons/system/evotor-dev-ui-kit-icons-system.js +4 -4
- package/esm2015/icons/system/index.js +368 -336
- package/esm2015/lib/common/Serializable.js +6 -6
- package/esm2015/lib/common/animations/expand.animation.js +28 -28
- package/esm2015/lib/common/animations/index.js +4 -4
- package/esm2015/lib/common/animations/sidebar.animation.js +10 -10
- package/esm2015/lib/common/animations/skip-initial-render.animation.js +3 -3
- package/esm2015/lib/common/collection/evo-collection-fabric.js +10 -10
- package/esm2015/lib/common/collection/evo-collection.js +7 -7
- package/esm2015/lib/common/collection/index.js +3 -3
- package/esm2015/lib/common/constants/css-breakpoints.js +9 -9
- package/esm2015/lib/common/constants/view-breakpoint-streams.js +24 -24
- package/esm2015/lib/common/evo-base-control.js +47 -47
- package/esm2015/lib/common/evo-control-state-manager/evo-control-state-manager.js +13 -13
- package/esm2015/lib/common/evo-control-state-manager/evo-control-state.interface.js +2 -2
- package/esm2015/lib/common/evo-control-state-manager/evo-control-states.enum.js +6 -6
- package/esm2015/lib/common/form-helper/form-helper.js +31 -31
- package/esm2015/lib/common/types/evo-color.js +2 -2
- package/esm2015/lib/common/types/evo-size.js +2 -2
- package/esm2015/lib/common/types/index.js +3 -3
- package/esm2015/lib/components/evo-accordion/evo-accordion-content/evo-accordion-content.component.js +36 -36
- package/esm2015/lib/components/evo-accordion/evo-accordion-panel/evo-accordion-panel.component.js +24 -24
- package/esm2015/lib/components/evo-accordion/evo-accordion-title/evo-accordion-title.component.js +62 -62
- package/esm2015/lib/components/evo-accordion/evo-accordion.component.js +23 -23
- package/esm2015/lib/components/evo-accordion/evo-accordion.module.js +66 -66
- package/esm2015/lib/components/evo-accordion/index.js +2 -2
- package/esm2015/lib/components/evo-accordion/public-api.js +6 -6
- package/esm2015/lib/components/evo-alert/evo-alert.component.js +83 -83
- package/esm2015/lib/components/evo-alert/evo-alert.module.js +29 -29
- package/esm2015/lib/components/evo-alert/index.js +2 -2
- package/esm2015/lib/components/evo-alert/public-api.js +3 -3
- package/esm2015/lib/components/evo-autocomplete/components/evo-autocomplete.component.js +365 -364
- package/esm2015/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.js +49 -43
- package/esm2015/lib/components/evo-autocomplete/evo-autocomplete.module.js +58 -58
- package/esm2015/lib/components/evo-autocomplete/helpers/switch-query-to-list.js +6 -6
- package/esm2015/lib/components/evo-autocomplete/index.js +2 -2
- package/esm2015/lib/components/evo-autocomplete/models/DaDataParty.js +28 -28
- package/esm2015/lib/components/evo-autocomplete/models/dadata.model.js +48 -48
- package/esm2015/lib/components/evo-autocomplete/public-api.js +7 -7
- package/esm2015/lib/components/evo-autocomplete/types/evo-autocomplete-size.js +2 -2
- package/esm2015/lib/components/evo-badge/evo-badge.component.js +45 -45
- package/esm2015/lib/components/evo-badge/evo-badge.module.js +28 -28
- package/esm2015/lib/components/evo-badge/index.js +3 -3
- package/esm2015/lib/components/evo-badge/public-api.js +3 -3
- package/esm2015/lib/components/evo-badge/types/evo-badge-color.js +2 -2
- package/esm2015/lib/components/evo-badge/types/evo-badge-size.js +2 -2
- package/esm2015/lib/components/evo-badge/types/index.js +3 -3
- package/esm2015/lib/components/evo-banner/evo-banner.component.js +116 -116
- package/esm2015/lib/components/evo-banner/evo-banner.module.js +27 -27
- package/esm2015/lib/components/evo-banner/index.js +2 -2
- package/esm2015/lib/components/evo-banner/public-api.js +3 -3
- package/esm2015/lib/components/evo-button/evo-button.component.js +87 -87
- package/esm2015/lib/components/evo-button/evo-button.module.js +26 -26
- package/esm2015/lib/components/evo-button/index.js +2 -2
- package/esm2015/lib/components/evo-button/public-api.js +3 -3
- package/esm2015/lib/components/evo-checkbox/evo-checkbox.component.js +87 -87
- package/esm2015/lib/components/evo-checkbox/evo-checkbox.module.js +34 -34
- package/esm2015/lib/components/evo-checkbox/index.js +2 -2
- package/esm2015/lib/components/evo-checkbox/public-api.js +3 -3
- package/esm2015/lib/components/evo-chip/evo-chip.component.js +138 -138
- package/esm2015/lib/components/evo-chip/evo-chip.module.js +45 -45
- package/esm2015/lib/components/evo-chip/index.js +2 -2
- package/esm2015/lib/components/evo-chip/public-api.js +3 -3
- package/esm2015/lib/components/evo-control-error/evo-control-error.component.js +43 -43
- package/esm2015/lib/components/evo-control-error/evo-control-error.module.js +30 -30
- package/esm2015/lib/components/evo-control-error/index.js +2 -2
- package/esm2015/lib/components/evo-control-error/public-api.js +3 -3
- package/esm2015/lib/components/evo-control-label/evo-control-label.component.js +23 -23
- package/esm2015/lib/components/evo-control-label/evo-control-label.module.js +22 -22
- package/esm2015/lib/components/evo-control-label/index.js +2 -2
- package/esm2015/lib/components/evo-control-label/public-api.js +3 -3
- package/esm2015/lib/components/evo-counter/evo-counter.component.js +43 -43
- package/esm2015/lib/components/evo-counter/evo-counter.module.js +30 -30
- package/esm2015/lib/components/evo-counter/index.js +2 -2
- package/esm2015/lib/components/evo-counter/public-api.js +3 -3
- package/esm2015/lib/components/evo-datepicker/evo-datepicker.component.js +557 -557
- package/esm2015/lib/components/evo-datepicker/evo-datepicker.module.js +34 -34
- package/esm2015/lib/components/evo-datepicker/flatpickr-options.interface.js +2 -2
- package/esm2015/lib/components/evo-datepicker/index.js +2 -2
- package/esm2015/lib/components/evo-datepicker/public-api.js +3 -3
- package/esm2015/lib/components/evo-datepicker/templates/index.js +114 -114
- package/esm2015/lib/components/evo-dropdown/evo-dropdown-origin.directive.js +41 -41
- package/esm2015/lib/components/evo-dropdown/evo-dropdown-position-description.js +51 -51
- package/esm2015/lib/components/evo-dropdown/evo-dropdown.component.js +112 -112
- package/esm2015/lib/components/evo-dropdown/evo-dropdown.module.js +20 -20
- package/esm2015/lib/components/evo-dropdown/index.js +2 -2
- package/esm2015/lib/components/evo-dropdown/public-api.js +5 -5
- package/esm2015/lib/components/evo-dropdown/types/evo-dropdown-positions.js +2 -2
- package/esm2015/lib/components/evo-icon/classes/evo-icons-library.js +19 -19
- package/esm2015/lib/components/evo-icon/evo-icon.component.js +57 -57
- package/esm2015/lib/components/evo-icon/evo-icon.module.js +57 -57
- package/esm2015/lib/components/evo-icon/index.js +2 -2
- package/esm2015/lib/components/evo-icon/interfaces/icons-category.js +2 -2
- package/esm2015/lib/components/evo-icon/interfaces/icons-source.js +2 -2
- package/esm2015/lib/components/evo-icon/public-api.js +6 -6
- package/esm2015/lib/components/evo-icon-button/evo-icon-button.component.js +67 -67
- package/esm2015/lib/components/evo-icon-button/evo-icon-button.module.js +26 -26
- package/esm2015/lib/components/evo-icon-button/index.js +2 -2
- package/esm2015/lib/components/evo-icon-button/public-api.js +3 -3
- package/esm2015/lib/components/evo-icon-button/types/evo-icon-button-size.js +2 -2
- package/esm2015/lib/components/evo-icon-button/types/evo-icon-button-theme.js +2 -2
- package/esm2015/lib/components/evo-icon-number/components/evo-icon-number/evo-icon-number.component.js +19 -0
- package/esm2015/lib/components/evo-icon-number/evo-icon-number.module.js +18 -0
- package/esm2015/lib/components/evo-icon-number/index.js +2 -0
- package/esm2015/lib/components/evo-icon-number/public-api.js +3 -0
- package/esm2015/lib/components/evo-input/evo-input-icon/evo-input-icon.directive.js +13 -13
- package/esm2015/lib/components/evo-input/evo-input.component.js +363 -363
- package/esm2015/lib/components/evo-input/evo-input.module.js +66 -66
- package/esm2015/lib/components/evo-input/index.js +2 -2
- package/esm2015/lib/components/evo-input/public-api.js +4 -4
- package/esm2015/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.js +157 -157
- package/esm2015/lib/components/evo-input-contenteditable/evo-input-contenteditable.module.js +34 -34
- package/esm2015/lib/components/evo-input-contenteditable/index.js +2 -2
- package/esm2015/lib/components/evo-input-contenteditable/public-api.js +3 -3
- package/esm2015/lib/components/evo-input-contenteditable/utils/clear-multiline.js +7 -7
- package/esm2015/lib/components/evo-loader/evo-circular-loader.component.js +23 -23
- package/esm2015/lib/components/evo-loader/evo-loader.component.js +28 -28
- package/esm2015/lib/components/evo-loader/evo-loader.module.js +33 -33
- package/esm2015/lib/components/evo-loader/index.js +2 -2
- package/esm2015/lib/components/evo-loader/public-api.js +4 -4
- package/esm2015/lib/components/evo-modal/evo-modal.component.js +122 -122
- package/esm2015/lib/components/evo-modal/evo-modal.module.js +32 -32
- package/esm2015/lib/components/evo-modal/evo-modal.service.js +32 -32
- package/esm2015/lib/components/evo-modal/index.js +2 -2
- package/esm2015/lib/components/evo-modal/public-api.js +4 -4
- package/esm2015/lib/components/evo-navbar/evo-navbar-item/evo-navbar-item.component.js +63 -63
- package/esm2015/lib/components/evo-navbar/evo-navbar.component.js +51 -51
- package/esm2015/lib/components/evo-navbar/evo-navbar.module.js +24 -24
- package/esm2015/lib/components/evo-navbar/index.js +2 -2
- package/esm2015/lib/components/evo-navbar/interfaces/nav-item-main-info.js +2 -2
- package/esm2015/lib/components/evo-navbar/interfaces/nav-item-router-link.js +2 -2
- package/esm2015/lib/components/evo-navbar/interfaces/nav-item.href.js +2 -2
- package/esm2015/lib/components/evo-navbar/public-api.js +4 -4
- package/esm2015/lib/components/evo-navbar/types/nav-item.js +2 -2
- package/esm2015/lib/components/evo-note/evo-note.component.js +45 -45
- package/esm2015/lib/components/evo-note/evo-note.module.js +45 -45
- package/esm2015/lib/components/evo-note/index.js +2 -2
- package/esm2015/lib/components/evo-note/public.api.js +4 -4
- package/esm2015/lib/components/evo-note/types/evo-note-type.js +2 -2
- package/esm2015/lib/components/evo-paginator/evo-paginator.component.js +114 -114
- package/esm2015/lib/components/evo-paginator/evo-paginator.module.js +22 -22
- package/esm2015/lib/components/evo-paginator/index.js +2 -2
- package/esm2015/lib/components/evo-paginator/public-api.js +3 -3
- package/esm2015/lib/components/evo-plus-minus/evo-plus-minus.component.js +30 -30
- package/esm2015/lib/components/evo-plus-minus/evo-plus-minus.module.js +22 -22
- package/esm2015/lib/components/evo-plus-minus/index.js +2 -2
- package/esm2015/lib/components/evo-plus-minus/public-api.js +3 -3
- package/esm2015/lib/components/evo-popover/evo-popover.component.js +177 -177
- package/esm2015/lib/components/evo-popover/evo-popover.module.js +26 -26
- package/esm2015/lib/components/evo-popover/index.js +2 -2
- package/esm2015/lib/components/evo-popover/public-api.js +3 -3
- package/esm2015/lib/components/evo-portal/evo-portal-outlet.class.js +7 -7
- package/esm2015/lib/components/evo-portal/evo-portal-outlet.directive.js +19 -19
- package/esm2015/lib/components/evo-portal/evo-portal.module.js +32 -32
- package/esm2015/lib/components/evo-portal/evo-portal.service.js +92 -92
- package/esm2015/lib/components/evo-portal/index.js +2 -2
- package/esm2015/lib/components/evo-portal/public-api.js +5 -5
- package/esm2015/lib/components/evo-radio/evo-radio.component.js +56 -56
- package/esm2015/lib/components/evo-radio/evo-radio.module.js +26 -26
- package/esm2015/lib/components/evo-radio/index.js +2 -2
- package/esm2015/lib/components/evo-radio/public-api.js +3 -3
- package/esm2015/lib/components/evo-radio-group/evo-radio-group.component.js +128 -128
- package/esm2015/lib/components/evo-radio-group/evo-radio-group.module.js +34 -34
- package/esm2015/lib/components/evo-radio-group/index.js +2 -2
- package/esm2015/lib/components/evo-radio-group/public-api.js +3 -3
- package/esm2015/lib/components/evo-radio-group/typings/options.js +2 -2
- package/esm2015/lib/components/evo-radioshape/components/evo-radioshape.component.js +61 -61
- package/esm2015/lib/components/evo-radioshape/evo-radioshape.module.js +33 -33
- package/esm2015/lib/components/evo-radioshape/index.js +2 -2
- package/esm2015/lib/components/evo-radioshape/public-api.js +3 -3
- package/esm2015/lib/components/evo-segmented-bar/evo-segmented-bar/evo-segmented-bar.component.js +24 -24
- package/esm2015/lib/components/evo-segmented-bar/evo-segmented-bar-button/evo-segmented-bar-button.component.js +79 -79
- package/esm2015/lib/components/evo-segmented-bar/evo-segmented-bar.module.js +39 -39
- package/esm2015/lib/components/evo-segmented-bar/index.js +2 -2
- package/esm2015/lib/components/evo-segmented-bar/public-api.js +4 -4
- package/esm2015/lib/components/evo-select/evo-select.component.js +121 -121
- package/esm2015/lib/components/evo-select/evo-select.module.js +34 -34
- package/esm2015/lib/components/evo-select/index.js +2 -2
- package/esm2015/lib/components/evo-select/public-api.js +3 -3
- package/esm2015/lib/components/evo-sidebar/enums/evo-sidebar-close-targets.js +8 -8
- package/esm2015/lib/components/evo-sidebar/enums/evo-sidebar-sizes.js +7 -7
- package/esm2015/lib/components/evo-sidebar/enums/evo-sidebar-states.js +6 -6
- package/esm2015/lib/components/evo-sidebar/evo-sidebar-content/evo-sidebar-content.component.js +38 -38
- package/esm2015/lib/components/evo-sidebar/evo-sidebar-footer/evo-sidebar-footer.component.js +19 -19
- package/esm2015/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.js +47 -47
- package/esm2015/lib/components/evo-sidebar/evo-sidebar-portal.js +21 -21
- package/esm2015/lib/components/evo-sidebar/evo-sidebar.component.js +174 -174
- package/esm2015/lib/components/evo-sidebar/evo-sidebar.module.js +90 -90
- package/esm2015/lib/components/evo-sidebar/evo-sidebar.service.js +102 -102
- package/esm2015/lib/components/evo-sidebar/index.js +2 -2
- package/esm2015/lib/components/evo-sidebar/interfaces.js +2 -2
- package/esm2015/lib/components/evo-sidebar/public-api.js +12 -12
- package/esm2015/lib/components/evo-sidebar/sidebar-injection-token.js +3 -3
- package/esm2015/lib/components/evo-sidebar/tokens.js +12 -12
- package/esm2015/lib/components/evo-stepper/evo-stepper-events.js +25 -25
- package/esm2015/lib/components/evo-stepper/evo-stepper-item/evo-stepper-item.component.js +35 -35
- package/esm2015/lib/components/evo-stepper/evo-stepper.component.js +72 -72
- package/esm2015/lib/components/evo-stepper/evo-stepper.module.js +27 -27
- package/esm2015/lib/components/evo-stepper/index.js +2 -2
- package/esm2015/lib/components/evo-stepper/public-api.js +4 -4
- package/esm2015/lib/components/evo-submenu/evo-submenu.component.js +160 -160
- package/esm2015/lib/components/evo-submenu/evo-submenu.module.js +36 -36
- package/esm2015/lib/components/evo-submenu/index.js +2 -2
- package/esm2015/lib/components/evo-submenu/public-api.js +3 -3
- package/esm2015/lib/components/evo-switcher/components/evo-switcher-item/evo-switcher-item.component.js +15 -15
- package/esm2015/lib/components/evo-switcher/evo-switcher.component.js +36 -36
- package/esm2015/lib/components/evo-switcher/evo-switcher.module.js +27 -27
- package/esm2015/lib/components/evo-switcher/index.js +2 -2
- package/esm2015/lib/components/evo-switcher/public-api.js +4 -4
- package/esm2015/lib/components/evo-table/evo-table/evo-table.component.js +71 -69
- package/esm2015/lib/components/evo-table/evo-table-column/evo-table-column.component.js +35 -35
- package/esm2015/lib/components/evo-table/evo-table.module.js +23 -23
- package/esm2015/lib/components/evo-table/index.js +2 -2
- package/esm2015/lib/components/evo-table/public-api.js +4 -4
- package/esm2015/lib/components/evo-tabs/enums/evo-tabs-size.js +6 -6
- package/esm2015/lib/components/evo-tabs/evo-tab/evo-tab.component.js +92 -92
- package/esm2015/lib/components/evo-tabs/evo-tab-content/evo-tab-content.component.js +40 -40
- package/esm2015/lib/components/evo-tabs/evo-tab-state.collection.js +43 -43
- package/esm2015/lib/components/evo-tabs/evo-tabs-size.service.js +24 -24
- package/esm2015/lib/components/evo-tabs/evo-tabs.component.js +88 -88
- package/esm2015/lib/components/evo-tabs/evo-tabs.module.js +30 -30
- package/esm2015/lib/components/evo-tabs/evo-tabs.service.js +67 -67
- package/esm2015/lib/components/evo-tabs/index.js +2 -2
- package/esm2015/lib/components/evo-tabs/public-api.js +9 -9
- package/esm2015/lib/components/evo-textarea/evo-textarea.component.js +84 -84
- package/esm2015/lib/components/evo-textarea/evo-textarea.module.js +37 -37
- package/esm2015/lib/components/evo-textarea/index.js +2 -2
- package/esm2015/lib/components/evo-textarea/public-api.js +3 -3
- package/esm2015/lib/components/evo-toast/evo-toast.component.js +103 -103
- package/esm2015/lib/components/evo-toast/evo-toast.module.js +45 -45
- package/esm2015/lib/components/evo-toast/evo-toast.service.js +49 -49
- package/esm2015/lib/components/evo-toast/index.js +2 -2
- package/esm2015/lib/components/evo-toast/public-api.js +4 -4
- package/esm2015/lib/components/evo-toggle/evo-toggle.component.js +70 -70
- package/esm2015/lib/components/evo-toggle/evo-toggle.module.js +30 -30
- package/esm2015/lib/components/evo-toggle/index.js +2 -2
- package/esm2015/lib/components/evo-toggle/public-api.js +3 -3
- package/esm2015/lib/components/evo-upload/evo-upload.component.js +292 -292
- package/esm2015/lib/components/evo-upload/evo-upload.module.js +59 -59
- package/esm2015/lib/components/evo-upload/index.js +2 -2
- package/esm2015/lib/components/evo-upload/public-api.js +3 -3
- package/esm2015/lib/decorators/deprecate-method.decorator.js +8 -8
- package/esm2015/lib/decorators/deprecate-variable.decorator.js +17 -17
- package/esm2015/lib/decorators/index.js +2 -2
- package/esm2015/lib/decorators/public-api.js +3 -3
- package/esm2015/lib/directives/evo-click-outside.directive.js +40 -40
- package/esm2015/lib/directives/evo-is-expanded.directive.js +72 -72
- package/esm2015/lib/directives/evo-let/evo-let.directive.js +36 -36
- package/esm2015/lib/directives/evo-ui-class.directive.js +159 -159
- package/esm2015/lib/directives/index.js +2 -2
- package/esm2015/lib/directives/public-api.js +5 -5
- package/esm2015/lib/evo-ui-kit.module.js +65 -65
- package/esm2015/lib/operators/enter-zone.operator.js +9 -9
- package/esm2015/lib/operators/index.js +2 -2
- package/esm2015/lib/operators/public-api.js +2 -2
- package/esm2015/lib/pipes/declination.pipe.js +40 -40
- package/esm2015/lib/pipes/evo-pipes.module.js +17 -17
- package/esm2015/lib/pipes/index.js +2 -2
- package/esm2015/lib/pipes/public-api.js +4 -4
- package/esm2015/lib/pipes/safe-html.pipe.js +18 -18
- package/esm2015/lib/services/evo-expanded.service.js +23 -23
- package/esm2015/lib/services/index.js +2 -2
- package/esm2015/lib/services/public-api.js +2 -2
- package/esm2015/lib/services/window.service.js +49 -49
- package/esm2015/public_api.js +73 -72
- package/evotor-dev-ui-kit.d.ts +5 -5
- package/fesm2015/evotor-dev-ui-kit-icons-category.js +63 -39
- package/fesm2015/evotor-dev-ui-kit-icons-category.js.map +1 -1
- package/fesm2015/evotor-dev-ui-kit-icons-emotions.js +18 -18
- package/fesm2015/evotor-dev-ui-kit-icons-header.js +28 -28
- package/fesm2015/evotor-dev-ui-kit-icons-info.js +40 -40
- package/fesm2015/evotor-dev-ui-kit-icons-navigation.js +56 -56
- package/fesm2015/evotor-dev-ui-kit-icons-navigation.js.map +1 -1
- package/fesm2015/evotor-dev-ui-kit-icons-side-menu.js +64 -64
- package/fesm2015/evotor-dev-ui-kit-icons-side-menu.js.map +1 -1
- package/fesm2015/evotor-dev-ui-kit-icons-system.js +369 -337
- package/fesm2015/evotor-dev-ui-kit-icons-system.js.map +1 -1
- package/fesm2015/evotor-dev-ui-kit-icons.js +624 -568
- package/fesm2015/evotor-dev-ui-kit-icons.js.map +1 -1
- package/fesm2015/evotor-dev-ui-kit.js +7225 -7186
- package/fesm2015/evotor-dev-ui-kit.js.map +1 -1
- package/icons/category/evotor-dev-ui-kit-icons-category.d.ts +5 -5
- package/icons/category/index.d.ts +59 -35
- 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 +319 -291
- 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 +365 -333
- 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 -15
- 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/evo-button.component.d.ts +33 -33
- package/lib/components/evo-button/evo-button.module.d.ts +9 -9
- package/lib/components/evo-button/index.d.ts +1 -1
- package/lib/components/evo-button/public-api.d.ts +2 -2
- package/lib/components/evo-checkbox/evo-checkbox.component.d.ts +26 -26
- 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 +23 -23
- 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 -0
- package/lib/components/evo-icon-number/evo-icon-number.module.d.ts +8 -0
- package/lib/components/evo-icon-number/index.d.ts +1 -0
- package/lib/components/evo-icon-number/public-api.d.ts +2 -0
- 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 +37 -37
- 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-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 -32
- 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 +17 -17
- 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 +62 -61
- package/styles/components/evo-alert.scss +64 -64
- package/styles/components/evo-button-loader.scss +53 -53
- package/styles/components/evo-button-wrapper.scss +21 -21
- package/styles/components/evo-button.scss +233 -233
- package/styles/components/evo-card.scss +40 -40
- package/styles/components/evo-chip.scss +169 -169
- package/styles/components/evo-form.scss +273 -273
- package/styles/components/evo-grid.scss +27 -27
- package/styles/components/evo-icon.scss +3 -3
- package/styles/components/evo-link.scss +41 -41
- package/styles/components/evo-list.scss +38 -38
- package/styles/components/evo-modal-mixins.scss +32 -32
- package/styles/components/evo-sidebar-mixins.scss +20 -20
- package/styles/components/evo-spinner.scss +12 -12
- 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 +67 -67
- package/styles/icons.scss +173 -173
- package/styles/keyframes.scss +37 -37
- package/styles/main.scss +19 -19
- package/styles/mixins.scss +211 -208
- package/styles/normalize.scss +341 -341
- package/styles/reset.scss +155 -155
- package/styles/variables.scss +140 -137
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
import { Component, Input, Optional } from '@angular/core';
|
|
2
|
-
import { filter, takeUntil } from 'rxjs/operators';
|
|
3
|
-
import { NavigationEnd } from '@angular/router';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import { EvoTabsSize } from '../enums/evo-tabs-size';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../evo-tabs.service";
|
|
8
|
-
import * as i2 from "../evo-tabs-size.service";
|
|
9
|
-
import * as i3 from "@angular/router";
|
|
10
|
-
import * as i4 from "../../../directives/evo-ui-class.directive";
|
|
11
|
-
export class EvoTabComponent {
|
|
12
|
-
constructor(tabsService, cd, sizeService, routerLink, routerLinkWithHref, router) {
|
|
13
|
-
this.tabsService = tabsService;
|
|
14
|
-
this.cd = cd;
|
|
15
|
-
this.sizeService = sizeService;
|
|
16
|
-
this.routerLink = routerLink;
|
|
17
|
-
this.routerLinkWithHref = routerLinkWithHref;
|
|
18
|
-
this.router = router;
|
|
19
|
-
this.selected = false;
|
|
20
|
-
this.size = this.sizeService.size;
|
|
21
|
-
this.destroy$ = new Subject();
|
|
22
|
-
}
|
|
23
|
-
set groupName(tabGroupId) {
|
|
24
|
-
this._groupName = tabGroupId;
|
|
25
|
-
this.subscribeToTabChanges();
|
|
26
|
-
}
|
|
27
|
-
get groupName() {
|
|
28
|
-
return this._groupName;
|
|
29
|
-
}
|
|
30
|
-
get wrapperClasses() {
|
|
31
|
-
return {
|
|
32
|
-
selected: this.selected,
|
|
33
|
-
'size-small': this.size === EvoTabsSize.small,
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
ngOnInit() {
|
|
37
|
-
this.subscribeOnNavigationEnd();
|
|
38
|
-
}
|
|
39
|
-
ngAfterViewInit() {
|
|
40
|
-
this.initByUrl();
|
|
41
|
-
}
|
|
42
|
-
ngOnDestroy() {
|
|
43
|
-
this.destroy$.next();
|
|
44
|
-
this.destroy$.complete();
|
|
45
|
-
}
|
|
46
|
-
onChangeTabClick() {
|
|
47
|
-
this.setTabActive();
|
|
48
|
-
}
|
|
49
|
-
initByUrl() {
|
|
50
|
-
var _a, _b;
|
|
51
|
-
const urlTree = ((_a = this.routerLink) === null || _a === void 0 ? void 0 : _a.urlTree) || ((_b = this.routerLinkWithHref) === null || _b === void 0 ? void 0 : _b.urlTree);
|
|
52
|
-
if (!(urlTree && this.router.isActive(urlTree, true))) {
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
this.setTabActive();
|
|
56
|
-
}
|
|
57
|
-
setTabActive() {
|
|
58
|
-
this.tabsService.setTab(this.groupName, this.name);
|
|
59
|
-
}
|
|
60
|
-
subscribeOnNavigationEnd() {
|
|
61
|
-
var _a;
|
|
62
|
-
(_a = this.router) === null || _a === void 0 ? void 0 : _a.events.pipe(filter((event) => event instanceof NavigationEnd), takeUntil(this.destroy$)).subscribe(() => this.initByUrl());
|
|
63
|
-
}
|
|
64
|
-
subscribeToTabChanges() {
|
|
65
|
-
this.tabsService
|
|
66
|
-
.getTabEventsSubscription(this.groupName, this.name)
|
|
67
|
-
.pipe(takeUntil(this.destroy$))
|
|
68
|
-
.subscribe((data) => {
|
|
69
|
-
this.selected = data.isActive;
|
|
70
|
-
this.cd.detectChanges();
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
EvoTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabComponent, deps: [{ token: i1.EvoTabsService }, { token: i0.ChangeDetectorRef }, { token: i2.EvoTabsSizeService }, { token: i3.RouterLink, optional: true }, { token: i3.RouterLinkWithHref, optional: true }, { token: i3.Router, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
75
|
-
EvoTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoTabComponent, selector: "evo-tab, [evoTab]", inputs: { name: "name" }, ngImport: i0, template: "<div\
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabComponent, decorators: [{
|
|
77
|
-
type: Component,
|
|
78
|
-
args: [{
|
|
79
|
-
selector: 'evo-tab, [evoTab]',
|
|
80
|
-
templateUrl: './evo-tab.component.html',
|
|
81
|
-
styleUrls: ['./evo-tab.component.scss'],
|
|
82
|
-
}]
|
|
83
|
-
}], ctorParameters: function () { return [{ type: i1.EvoTabsService }, { type: i0.ChangeDetectorRef }, { type: i2.EvoTabsSizeService }, { type: i3.RouterLink, decorators: [{
|
|
84
|
-
type: Optional
|
|
85
|
-
}] }, { type: i3.RouterLinkWithHref, decorators: [{
|
|
86
|
-
type: Optional
|
|
87
|
-
}] }, { type: i3.Router, decorators: [{
|
|
88
|
-
type: Optional
|
|
89
|
-
}] }]; }, propDecorators: { name: [{
|
|
90
|
-
type: Input
|
|
91
|
-
}] } });
|
|
92
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input, Optional } from '@angular/core';
|
|
2
|
+
import { filter, takeUntil } from 'rxjs/operators';
|
|
3
|
+
import { NavigationEnd } from '@angular/router';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import { EvoTabsSize } from '../enums/evo-tabs-size';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../evo-tabs.service";
|
|
8
|
+
import * as i2 from "../evo-tabs-size.service";
|
|
9
|
+
import * as i3 from "@angular/router";
|
|
10
|
+
import * as i4 from "../../../directives/evo-ui-class.directive";
|
|
11
|
+
export class EvoTabComponent {
|
|
12
|
+
constructor(tabsService, cd, sizeService, routerLink, routerLinkWithHref, router) {
|
|
13
|
+
this.tabsService = tabsService;
|
|
14
|
+
this.cd = cd;
|
|
15
|
+
this.sizeService = sizeService;
|
|
16
|
+
this.routerLink = routerLink;
|
|
17
|
+
this.routerLinkWithHref = routerLinkWithHref;
|
|
18
|
+
this.router = router;
|
|
19
|
+
this.selected = false;
|
|
20
|
+
this.size = this.sizeService.size;
|
|
21
|
+
this.destroy$ = new Subject();
|
|
22
|
+
}
|
|
23
|
+
set groupName(tabGroupId) {
|
|
24
|
+
this._groupName = tabGroupId;
|
|
25
|
+
this.subscribeToTabChanges();
|
|
26
|
+
}
|
|
27
|
+
get groupName() {
|
|
28
|
+
return this._groupName;
|
|
29
|
+
}
|
|
30
|
+
get wrapperClasses() {
|
|
31
|
+
return {
|
|
32
|
+
selected: this.selected,
|
|
33
|
+
'size-small': this.size === EvoTabsSize.small,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
ngOnInit() {
|
|
37
|
+
this.subscribeOnNavigationEnd();
|
|
38
|
+
}
|
|
39
|
+
ngAfterViewInit() {
|
|
40
|
+
this.initByUrl();
|
|
41
|
+
}
|
|
42
|
+
ngOnDestroy() {
|
|
43
|
+
this.destroy$.next();
|
|
44
|
+
this.destroy$.complete();
|
|
45
|
+
}
|
|
46
|
+
onChangeTabClick() {
|
|
47
|
+
this.setTabActive();
|
|
48
|
+
}
|
|
49
|
+
initByUrl() {
|
|
50
|
+
var _a, _b;
|
|
51
|
+
const urlTree = ((_a = this.routerLink) === null || _a === void 0 ? void 0 : _a.urlTree) || ((_b = this.routerLinkWithHref) === null || _b === void 0 ? void 0 : _b.urlTree);
|
|
52
|
+
if (!(urlTree && this.router.isActive(urlTree, true))) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
this.setTabActive();
|
|
56
|
+
}
|
|
57
|
+
setTabActive() {
|
|
58
|
+
this.tabsService.setTab(this.groupName, this.name);
|
|
59
|
+
}
|
|
60
|
+
subscribeOnNavigationEnd() {
|
|
61
|
+
var _a;
|
|
62
|
+
(_a = this.router) === null || _a === void 0 ? void 0 : _a.events.pipe(filter((event) => event instanceof NavigationEnd), takeUntil(this.destroy$)).subscribe(() => this.initByUrl());
|
|
63
|
+
}
|
|
64
|
+
subscribeToTabChanges() {
|
|
65
|
+
this.tabsService
|
|
66
|
+
.getTabEventsSubscription(this.groupName, this.name)
|
|
67
|
+
.pipe(takeUntil(this.destroy$))
|
|
68
|
+
.subscribe((data) => {
|
|
69
|
+
this.selected = data.isActive;
|
|
70
|
+
this.cd.detectChanges();
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
EvoTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabComponent, deps: [{ token: i1.EvoTabsService }, { token: i0.ChangeDetectorRef }, { token: i2.EvoTabsSizeService }, { token: i3.RouterLink, optional: true }, { token: i3.RouterLinkWithHref, optional: true }, { token: i3.Router, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
75
|
+
EvoTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoTabComponent, selector: "evo-tab, [evoTab]", inputs: { name: "name" }, ngImport: i0, template: "<div\n class=\"evo-tab\"\n (click)=\"onChangeTabClick()\"\n [evoUiClass]=\"wrapperClasses\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [".evo-tab{position:relative;display:flex;align-items:center;height:48px;padding:10px 16px;color:#212121;font-weight:600;font-size:14px;white-space:nowrap;text-transform:uppercase;text-decoration:none;cursor:pointer;transition:all .3s}.evo-tab:hover{color:#f05023}.evo-tab_selected{color:#f05023;box-shadow:inset 0 -2px #f05023;cursor:default}.evo-tab_size-small{height:32px;padding:6px 8px;font-weight:400;font-size:12px;text-transform:none}\n"], directives: [{ type: i4.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }] });
|
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabComponent, decorators: [{
|
|
77
|
+
type: Component,
|
|
78
|
+
args: [{
|
|
79
|
+
selector: 'evo-tab, [evoTab]',
|
|
80
|
+
templateUrl: './evo-tab.component.html',
|
|
81
|
+
styleUrls: ['./evo-tab.component.scss'],
|
|
82
|
+
}]
|
|
83
|
+
}], ctorParameters: function () { return [{ type: i1.EvoTabsService }, { type: i0.ChangeDetectorRef }, { type: i2.EvoTabsSizeService }, { type: i3.RouterLink, decorators: [{
|
|
84
|
+
type: Optional
|
|
85
|
+
}] }, { type: i3.RouterLinkWithHref, decorators: [{
|
|
86
|
+
type: Optional
|
|
87
|
+
}] }, { type: i3.Router, decorators: [{
|
|
88
|
+
type: Optional
|
|
89
|
+
}] }]; }, propDecorators: { name: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}] } });
|
|
92
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXRhYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldm8tdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9ldm8tdGFicy9ldm8tdG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XBlKFxuICAgICAgICAgICAgICAgIGZpbHRlcigoZXZlbnQpID0+IGV2ZW50IGluc3RhbmNlb2YgTmF2aWdhdGlvbkVuZCksXG4gICAgICAgICAgICAgICAgdGFrZVVudGlsKHRoaXMuZGVzdHJveSQpLFxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgLnN1YnNjcmliZSgoKSA9PiB0aGlzLmluaXRCeVVybCgpKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIHN1YnNjcmliZVRvVGFiQ2hhbmdlcygpIHtcbiAgICAgICAgdGhpcy50YWJzU2VydmljZVxuICAgICAgICAgICAgLmdldFRhYkV2ZW50c1N1YnNjcmlwdGlvbih0aGlzLmdyb3VwTmFtZSwgdGhpcy5uYW1lKVxuICAgICAgICAgICAgLnBpcGUodGFrZVVudGlsKHRoaXMuZGVzdHJveSQpKVxuICAgICAgICAgICAgLnN1YnNjcmliZSgoZGF0YTogRXZvVGFiU3RhdGUpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLnNlbGVjdGVkID0gZGF0YS5pc0FjdGl2ZTtcbiAgICAgICAgICAgICAgICB0aGlzLmNkLmRldGVjdENoYW5nZXMoKTtcbiAgICAgICAgICAgIH0pO1xuICAgIH1cbn1cbiIsIjxkaXZcbiAgICBjbGFzcz1cImV2by10YWJcIlxuICAgIChjbGljayk9XCJvbkNoYW5nZVRhYkNsaWNrKClcIlxuICAgIFtldm9VaUNsYXNzXT1cIndyYXBwZXJDbGFzc2VzXCJcbj5cbiAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { takeUntil } from 'rxjs/operators';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../evo-tabs.service";
|
|
6
|
-
import * as i2 from "@angular/common";
|
|
7
|
-
export class EvoTabContentComponent {
|
|
8
|
-
constructor(tabsService) {
|
|
9
|
-
this.tabsService = tabsService;
|
|
10
|
-
this.isActive = false;
|
|
11
|
-
this.destroy$ = new Subject();
|
|
12
|
-
}
|
|
13
|
-
set tabsRef(tabsRef) {
|
|
14
|
-
[this.groupName, this.tabName] = tabsRef.split('#');
|
|
15
|
-
if (!this.groupName || !this.tabName) {
|
|
16
|
-
throw Error('[EvoUiKit]: specify both group and name divided by # for evo-tab-content!');
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
ngOnInit() {
|
|
20
|
-
this.tabsService.getTabEventsSubscription(this.groupName, this.tabName).pipe(takeUntil(this.destroy$)).subscribe((data) => {
|
|
21
|
-
this.isActive = data.isActive;
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
ngOnDestroy() {
|
|
25
|
-
this.destroy$.next();
|
|
26
|
-
this.destroy$.complete();
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
EvoTabContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabContentComponent, deps: [{ token: i1.EvoTabsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
-
EvoTabContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoTabContentComponent, selector: "evo-tab-content, [evoTabContent]", inputs: { tabsRef: "tabsRef" }, ngImport: i0, template: "<div *ngIf=\"isActive\">\
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabContentComponent, decorators: [{
|
|
32
|
-
type: Component,
|
|
33
|
-
args: [{
|
|
34
|
-
selector: 'evo-tab-content, [evoTabContent]',
|
|
35
|
-
templateUrl: './evo-tab-content.component.html',
|
|
36
|
-
}]
|
|
37
|
-
}], ctorParameters: function () { return [{ type: i1.EvoTabsService }]; }, propDecorators: { tabsRef: [{
|
|
38
|
-
type: Input
|
|
39
|
-
}] } });
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { takeUntil } from 'rxjs/operators';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../evo-tabs.service";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
export class EvoTabContentComponent {
|
|
8
|
+
constructor(tabsService) {
|
|
9
|
+
this.tabsService = tabsService;
|
|
10
|
+
this.isActive = false;
|
|
11
|
+
this.destroy$ = new Subject();
|
|
12
|
+
}
|
|
13
|
+
set tabsRef(tabsRef) {
|
|
14
|
+
[this.groupName, this.tabName] = tabsRef.split('#');
|
|
15
|
+
if (!this.groupName || !this.tabName) {
|
|
16
|
+
throw Error('[EvoUiKit]: specify both group and name divided by # for evo-tab-content!');
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
ngOnInit() {
|
|
20
|
+
this.tabsService.getTabEventsSubscription(this.groupName, this.tabName).pipe(takeUntil(this.destroy$)).subscribe((data) => {
|
|
21
|
+
this.isActive = data.isActive;
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
ngOnDestroy() {
|
|
25
|
+
this.destroy$.next();
|
|
26
|
+
this.destroy$.complete();
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
EvoTabContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabContentComponent, deps: [{ token: i1.EvoTabsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
+
EvoTabContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoTabContentComponent, selector: "evo-tab-content, [evoTabContent]", inputs: { tabsRef: "tabsRef" }, ngImport: i0, template: "<div *ngIf=\"isActive\">\n <ng-content></ng-content>\n</div>\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabContentComponent, decorators: [{
|
|
32
|
+
type: Component,
|
|
33
|
+
args: [{
|
|
34
|
+
selector: 'evo-tab-content, [evoTabContent]',
|
|
35
|
+
templateUrl: './evo-tab-content.component.html',
|
|
36
|
+
}]
|
|
37
|
+
}], ctorParameters: function () { return [{ type: i1.EvoTabsService }]; }, propDecorators: { tabsRef: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}] } });
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXRhYi1jb250ZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by10YWJzL2V2by10YWItY29udGVudC9ldm8tdGFiLWNvbnRlbnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXRhYnMvZXZvLXRhYi1jb250ZW50L2V2by10YWItY29udGVudC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBcUIsTUFBTSxlQUFlLENBQUM7QUFFcEUsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTNDLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7Ozs7QUFNL0IsTUFBTSxPQUFPLHNCQUFzQjtJQWdCL0IsWUFDWSxXQUEyQjtRQUEzQixnQkFBVyxHQUFYLFdBQVcsQ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UgZ3JvdXBOYW1lOiBzdHJpbmc7XG4gICAgcHJpdmF0ZSB0YWJOYW1lOiBzdHJpbmc7XG4gICAgcHJpdmF0ZSBkZXN0cm95JCA9IG5ldyBTdWJqZWN0PHZvaWQ+KCk7XG5cbiAgICBjb25zdHJ1Y3RvcihcbiAgICAgICAgcHJpdmF0ZSB0YWJzU2VydmljZTogRXZvVGFic1NlcnZpY2UsXG4gICAgKSB7XG4gICAgfVxuXG4gICAgbmdPbkluaXQoKSB7XG4gICAgICAgIHRoaXMudGFic1NlcnZpY2UuZ2V0VGFiRXZlbnRzU3Vic2NyaXB0aW9uKHRoaXMuZ3JvdXBOYW1lLCB0aGlzLnRhYk5hbWUpLnBpcGUoXG4gICAgICAgICAgICB0YWtlVW50aWwodGhpcy5kZXN0cm95JClcbiAgICAgICAgKS5zdWJzY3JpYmUoKGRhdGE6IEV2b1RhYlN0YXRlKSA9PiB7XG4gICAgICAgICAgICB0aGlzLmlzQWN0aXZlID0gZGF0YS5pc0FjdGl2ZTtcbiAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgbmdPbkRlc3Ryb3koKSB7XG4gICAgICAgIHRoaXMuZGVzdHJveSQubmV4dCgpO1xuICAgICAgICB0aGlzLmRlc3Ryb3kkLmNvbXBsZXRlKCk7XG4gICAgfVxufVxuIiwiPGRpdiAqbmdJZj1cImlzQWN0aXZlXCI+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvZGl2PlxuIl19
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
export class EvoTabStateCollection extends Array {
|
|
2
|
-
constructor(items) {
|
|
3
|
-
super(...items);
|
|
4
|
-
}
|
|
5
|
-
static create(tabs) {
|
|
6
|
-
const array = Object.create(EvoTabStateCollection.prototype);
|
|
7
|
-
for (let i = 0; i < tabs.length; i++) {
|
|
8
|
-
array.push(tabs[i]);
|
|
9
|
-
}
|
|
10
|
-
return array;
|
|
11
|
-
}
|
|
12
|
-
initTab(name) {
|
|
13
|
-
this.push({ name: name, isActive: false });
|
|
14
|
-
}
|
|
15
|
-
hasTab(name) {
|
|
16
|
-
return this.some((state) => state.name === name);
|
|
17
|
-
}
|
|
18
|
-
getTab(name) {
|
|
19
|
-
return this.find((state) => state.name === name);
|
|
20
|
-
}
|
|
21
|
-
getActiveTab() {
|
|
22
|
-
return this.find((state) => state.isActive);
|
|
23
|
-
}
|
|
24
|
-
removeTab(name) {
|
|
25
|
-
const tabToRemove = this.getTab(name);
|
|
26
|
-
const index = this.indexOf(tabToRemove);
|
|
27
|
-
if (index > -1) {
|
|
28
|
-
this.splice(index, 1);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
setTab(name, params) {
|
|
32
|
-
const prevActiveTab = this.find((state) => state.isActive);
|
|
33
|
-
if (prevActiveTab) {
|
|
34
|
-
prevActiveTab.isActive = false;
|
|
35
|
-
}
|
|
36
|
-
const newActiveTab = this.getTab(name);
|
|
37
|
-
newActiveTab.isActive = true;
|
|
38
|
-
if (params) {
|
|
39
|
-
newActiveTab.params = params;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export class EvoTabStateCollection extends Array {
|
|
2
|
+
constructor(items) {
|
|
3
|
+
super(...items);
|
|
4
|
+
}
|
|
5
|
+
static create(tabs) {
|
|
6
|
+
const array = Object.create(EvoTabStateCollection.prototype);
|
|
7
|
+
for (let i = 0; i < tabs.length; i++) {
|
|
8
|
+
array.push(tabs[i]);
|
|
9
|
+
}
|
|
10
|
+
return array;
|
|
11
|
+
}
|
|
12
|
+
initTab(name) {
|
|
13
|
+
this.push({ name: name, isActive: false });
|
|
14
|
+
}
|
|
15
|
+
hasTab(name) {
|
|
16
|
+
return this.some((state) => state.name === name);
|
|
17
|
+
}
|
|
18
|
+
getTab(name) {
|
|
19
|
+
return this.find((state) => state.name === name);
|
|
20
|
+
}
|
|
21
|
+
getActiveTab() {
|
|
22
|
+
return this.find((state) => state.isActive);
|
|
23
|
+
}
|
|
24
|
+
removeTab(name) {
|
|
25
|
+
const tabToRemove = this.getTab(name);
|
|
26
|
+
const index = this.indexOf(tabToRemove);
|
|
27
|
+
if (index > -1) {
|
|
28
|
+
this.splice(index, 1);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
setTab(name, params) {
|
|
32
|
+
const prevActiveTab = this.find((state) => state.isActive);
|
|
33
|
+
if (prevActiveTab) {
|
|
34
|
+
prevActiveTab.isActive = false;
|
|
35
|
+
}
|
|
36
|
+
const newActiveTab = this.getTab(name);
|
|
37
|
+
newActiveTab.isActive = true;
|
|
38
|
+
if (params) {
|
|
39
|
+
newActiveTab.params = params;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXRhYi1zdGF0ZS5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXRhYnMvZXZvLXRhYi1zdGF0ZS5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU1BLE1BQU0sT0FBTyxxQkFBc0IsU0FBUSxLQUFrQjtJQUV6RCxZQUFvQixLQUFrQjtRQUNsQyxLQUFLLENBQUMsR0FBRyxLQUFLLENBQUMsQ0FBQztJQUNwQixDQUFDO0lBRUQsTUFBTSxDQUFDLE1BQU0sQ0FBQyxJQUFXO1FBQ3JCLE1BQU0sS0FBSyxHQUEwQixNQUFNLENBQUMsTUFBTSxDQUFDLHFCQUFxQixDQUFDLFNBQVMsQ0FBQyxDQUFDO1FBRXBGLEtBQUssSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxJQUFJLENBQUMsTUFBTSxFQU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luZCgoc3RhdGUpID0+IHN0YXRlLmlzQWN0aXZlKTtcblxuICAgICAgICBpZiAocHJldkFjdGl2ZVRhYikge1xuICAgICAgICAgICAgcHJldkFjdGl2ZVRhYi5pc0FjdGl2ZSA9IGZhbHNlO1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3QgbmV3QWN0aXZlVGFiID0gdGhpcy5nZXRUYWIobmFtZSk7XG4gICAgICAgIG5ld0FjdGl2ZVRhYi5pc0FjdGl2ZSA9IHRydWU7XG5cbiAgICAgICAgaWYgKHBhcmFtcykge1xuICAgICAgICAgICAgbmV3QWN0aXZlVGFiLnBhcmFtcyA9IHBhcmFtcztcbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { EvoTabsSize } from './enums/evo-tabs-size';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class EvoTabsSizeService {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.size$ = new BehaviorSubject(EvoTabsSize.normal);
|
|
8
|
-
this.sizeChanges$ = this.size$.asObservable();
|
|
9
|
-
}
|
|
10
|
-
set size(value) {
|
|
11
|
-
if (value !== this.size$.value) {
|
|
12
|
-
this.size$.next(value);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
get size() {
|
|
16
|
-
return this.size$.value;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
EvoTabsSizeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabsSizeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20
|
-
EvoTabsSizeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabsSizeService });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabsSizeService, decorators: [{
|
|
22
|
-
type: Injectable
|
|
23
|
-
}], ctorParameters: function () { return []; } });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { EvoTabsSize } from './enums/evo-tabs-size';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class EvoTabsSizeService {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.size$ = new BehaviorSubject(EvoTabsSize.normal);
|
|
8
|
+
this.sizeChanges$ = this.size$.asObservable();
|
|
9
|
+
}
|
|
10
|
+
set size(value) {
|
|
11
|
+
if (value !== this.size$.value) {
|
|
12
|
+
this.size$.next(value);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
get size() {
|
|
16
|
+
return this.size$.value;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
EvoTabsSizeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabsSizeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20
|
+
EvoTabsSizeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabsSizeService });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoTabsSizeService, decorators: [{
|
|
22
|
+
type: Injectable
|
|
23
|
+
}], ctorParameters: function () { return []; } });
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXRhYnMtc2l6ZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBv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