@evotor-dev/ui-kit 6.0.1 → 6.1.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 +117 -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 +38 -38
- 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 +338 -332
- package/bundles/evotor-dev-ui-kit-icons-system.umd.js.map +1 -1
- package/bundles/evotor-dev-ui-kit-icons.umd.js +568 -564
- package/bundles/evotor-dev-ui-kit-icons.umd.js.map +1 -1
- package/bundles/evotor-dev-ui-kit.umd.js +8266 -8261
- 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 +37 -37
- 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 +336 -332
- 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 +364 -364
- package/esm2015/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.js +43 -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 +62 -62
- 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-theme.js +2 -2
- 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 -169
- 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 +69 -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 +72 -72
- package/evotor-dev-ui-kit.d.ts +5 -5
- package/fesm2015/evotor-dev-ui-kit-icons-category.js +38 -38
- 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 +337 -333
- package/fesm2015/evotor-dev-ui-kit-icons-system.js.map +1 -1
- package/fesm2015/evotor-dev-ui-kit-icons.js +568 -564
- package/fesm2015/evotor-dev-ui-kit-icons.js.map +1 -1
- package/fesm2015/evotor-dev-ui-kit.js +7180 -7175
- 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 +35 -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 +291 -289
- 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 +333 -329
- 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 +15 -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 +21 -21
- 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-theme.d.ts +1 -1
- 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 +32 -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 +2 -2
- package/public_api.d.ts +61 -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 +208 -208
- package/styles/normalize.scss +341 -341
- package/styles/reset.scss +155 -155
- package/styles/variables.scss +137 -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\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,
|
|
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\r\n class=\"evo-tab\"\r\n (click)=\"onChangeTabClick()\"\r\n [evoUiClass]=\"wrapperClasses\"\r\n>\r\n <ng-content></ng-content>\r\n</div>\r\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXRhYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldm8tdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9ldm8tdGFicy9ldm8tdGFiL2V2by10YWIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWt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|
|
|
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,
|
|
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\">\r\n <ng-content></ng-content>\r\n</div>\r\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXRhYi1jb250ZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by10YWJzL2V2by10YWItY29udGVudC9ldm8tdGFiLWNvbnRlbnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXRhYnMvZXZvLXRhYi1jb250ZW50L2V2by10YWItY29udGVudC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoi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yXG59XHJcbiIsIjxkaXYgKm5nSWY9XCJpc0FjdGl2ZVwiPlxyXG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXRhYi1zdGF0ZS5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXRhYnMvZXZvLXRhYi1zdGF0ZS5jb2xsZWN0aW9uLnRzIl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RhdGUge1xyXG4gICAgICAgIHJldHVybiB0aGlzLmZpbmQoKHN0YXRlKSA9PiBzdGF0ZS5pc0FjdGl2ZSk7XHJcbiAgICB9XHJcblxyXG4gICAgcmVtb3ZlVGFiKG5hbWU6IHN0cmluZykge1xyXG4gICAgICAgIGNvbnN0IHRhYlRvUmVtb3ZlID0gdGhpcy5nZXRUYWIobmFtZSk7XHJcbiAgICAgICAgY29uc3QgaW5kZXggPSB0aGlzLmluZGV4T2YodGFiVG9SZW1vdmUpO1xyXG5cclxuICAgICAgICBpZiAoaW5kZXggPiAtMSkge1xyXG4gICAgICAgICAgICB0aGlzLnNwbGljZShpbmRleCwgMSk7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIHNldFRhYihuYW1lOiBzdHJpbmcsIHBhcmFtcz86IHt9KSB7XHJcbiAgICAgICAgY29uc3QgcHJldkFjdGl2ZVRhYiA9IHRoaXMuZmluZCgoc3RhdGUpID0+IHN0YXRlLmlzQWN0aXZlKTtcclxuXHJcbiAgICAgICAgaWYgKHByZXZBY3RpdmVUYWIpIHtcclxuICAgICAgICAgICAgcHJldkFjdGl2ZVRhYi5pc0FjdGl2ZSA9IGZhbHNlO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgY29uc3QgbmV3QWN0aXZlVGFiID0gdGhpcy5nZXRUYWIobmFtZSk7XHJcbiAgICAgICAgbmV3QWN0aXZlVGFiLmlzQWN0aXZlID0gdHJ1ZTtcclxuXHJcbiAgICAgICAgaWYgKHBhcmFtcykge1xyXG4gICAgICAgICAgICBuZXdBY3RpdmVUYWIucGFyYW1zID0gcGFyYW1zO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxufVxyXG4iXX0=
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXRhYnMtc2l6ZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXRhYnMvZXZvLXRhYnMtc2l6ZS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFDLGVBQWUsRUFBYSxNQUFNLE1BQU0sQ0FBQztBQUNqRCxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sdUJBQXVCLENBQUM7O0FBR2xELE1BQU0sT0FBTyxrQkFBa0I7SUFJM0I7UUFGUSxVQUFLLEdBQUcsSUFBSSxlQUFlLENBQWMsV0FBVyxDQUFDLE1BQU0sQ0FBQyxDQUFDO1FBR2pFLElBQUksQ0FBQyxZQUFZLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxZQUFZLEVBQUUsQ0FBQztJQUNsRCxDQUFDO0lBRUQsSUFBSSxJQUFJLENBQUMsS0FBa0I7UUFDdkIsSUFBSSxLQUFLLE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