@evotor-dev/ui-kit 8.0.0-beta.2 → 8.0.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -20
- package/assets/icons/category/barcode.svg +1 -0
- package/assets/icons/category/calculator.svg +1 -0
- package/assets/icons/category/courier.svg +1 -0
- package/assets/icons/category/credit-blank.svg +1 -0
- package/assets/icons/category/folder-outline.svg +1 -0
- package/assets/icons/category/internet.svg +1 -0
- package/assets/icons/category/law.svg +1 -0
- package/assets/icons/category/person-add.svg +1 -0
- package/assets/icons/category/person-check.svg +1 -0
- package/assets/icons/category/person-clientcard.svg +1 -0
- package/assets/icons/category/person-customer-details-off.svg +1 -0
- package/assets/icons/category/person-customer-details.svg +1 -0
- package/assets/icons/category/person-group.svg +1 -0
- package/assets/icons/category/person-loyality.svg +1 -0
- package/assets/icons/category/person-owner.svg +1 -0
- package/assets/icons/category/person-profile.svg +1 -0
- package/assets/icons/category/person-self-employed.svg +1 -0
- package/assets/icons/category/person-seller.svg +1 -0
- package/assets/icons/category/person.svg +1 -0
- package/assets/icons/category/personnel.svg +1 -0
- package/assets/icons/category/restaurant.svg +1 -0
- package/assets/icons/category/scissors.svg +1 -0
- package/assets/icons/category/service-package.svg +1 -0
- package/assets/icons/category/service.svg +1 -0
- package/assets/icons/category/shipping.svg +1 -0
- package/assets/icons/category/terminal-rent.svg +1 -0
- package/assets/icons/category/transport.svg +1 -0
- package/assets/icons/emotions/happy.svg +1 -0
- package/assets/icons/emotions/neutral.svg +1 -0
- package/assets/icons/emotions/sad.svg +1 -0
- package/assets/icons/emotions/very-happy.svg +1 -0
- package/assets/icons/emotions/very-sad.svg +1 -0
- package/assets/icons/header/bell.svg +1 -0
- package/assets/icons/header/cart.svg +1 -0
- package/assets/icons/header/close.svg +1 -0
- package/assets/icons/header/exit.svg +1 -0
- package/assets/icons/header/menu.svg +1 -0
- package/assets/icons/header/order.svg +1 -0
- package/assets/icons/header/profile.svg +1 -0
- package/assets/icons/header/request.svg +1 -0
- package/assets/icons/header/search.svg +1 -0
- package/assets/icons/header/settings.svg +1 -0
- package/assets/icons/index.ts +1 -0
- package/assets/icons/info/arrow-back.svg +1 -0
- package/assets/icons/info/arrow-down.svg +1 -0
- package/assets/icons/info/arrow-forward.svg +1 -0
- package/assets/icons/info/arrow-up.svg +1 -0
- package/assets/icons/info/down-circle-add.svg +1 -0
- package/assets/icons/info/down-circle.svg +1 -0
- package/assets/icons/info/graph.svg +1 -0
- package/assets/icons/info/left-circle.svg +1 -0
- package/assets/icons/info/megaphone.svg +1 -0
- package/assets/icons/info/right-down.svg +1 -0
- package/assets/icons/info/rouble.svg +1 -0
- package/assets/icons/info/sale.svg +1 -0
- package/assets/icons/info/up-circle-add.svg +1 -0
- package/assets/icons/info/up-circle.svg +1 -0
- package/assets/icons/info/warehouse.svg +1 -0
- package/assets/icons/info/web.svg +1 -0
- package/assets/icons/navigation/arrow-left.svg +1 -0
- package/assets/icons/navigation/arrow-northeast.svg +1 -0
- package/assets/icons/navigation/arrow-right.svg +1 -0
- package/assets/icons/navigation/arrow-southwest.svg +1 -0
- package/assets/icons/navigation/chevron-down-rounded.svg +1 -0
- package/assets/icons/navigation/chevron-left.svg +1 -0
- package/assets/icons/navigation/chevron-right.svg +1 -0
- package/assets/icons/navigation/chevron-up-rounded.svg +1 -0
- package/assets/icons/navigation/drop-down.svg +1 -0
- package/assets/icons/navigation/drop-up.svg +1 -0
- package/assets/icons/navigation/expand-less.svg +1 -0
- package/assets/icons/navigation/expand-more.svg +1 -0
- package/assets/icons/navigation/fold-horizontal.svg +1 -0
- package/assets/icons/navigation/fold.svg +1 -0
- package/assets/icons/navigation/low-priority.svg +1 -0
- package/assets/icons/navigation/minus-outlined.svg +1 -0
- package/assets/icons/navigation/more.svg +1 -0
- package/assets/icons/navigation/plus-outlined.svg +1 -0
- package/assets/icons/navigation/sorting.svg +1 -0
- package/assets/icons/navigation/subdirectory-left.svg +1 -0
- package/assets/icons/navigation/subdirectory-right.svg +1 -0
- package/assets/icons/navigation/unfold-horizontal.svg +1 -0
- package/assets/icons/navigation/unfold-less.svg +1 -0
- package/assets/icons/navigation/unfold-more.svg +1 -0
- package/assets/icons/ng-package.json +3 -0
- package/assets/icons/side-menu/accounting-nav.svg +1 -0
- package/assets/icons/side-menu/acquiring.svg +1 -0
- package/assets/icons/side-menu/bill-correction.svg +1 -0
- package/assets/icons/side-menu/bill.svg +1 -0
- package/assets/icons/side-menu/bookshelf.svg +1 -0
- package/assets/icons/side-menu/combined.svg +1 -0
- package/assets/icons/side-menu/credit.svg +1 -0
- package/assets/icons/side-menu/datamatrix.svg +1 -0
- package/assets/icons/side-menu/edo.svg +1 -0
- package/assets/icons/side-menu/go-market.svg +1 -0
- package/assets/icons/side-menu/key.svg +1 -0
- package/assets/icons/side-menu/lk.svg +1 -0
- package/assets/icons/side-menu/my-apps.svg +1 -0
- package/assets/icons/side-menu/payment.svg +1 -0
- package/assets/icons/side-menu/purchase.svg +1 -0
- package/assets/icons/side-menu/qr.svg +1 -0
- package/assets/icons/side-menu/reports.svg +1 -0
- package/assets/icons/side-menu/research-nav.svg +1 -0
- package/assets/icons/side-menu/reviews.svg +1 -0
- package/assets/icons/side-menu/rouble-outlined.svg +1 -0
- package/assets/icons/side-menu/sber.svg +1 -0
- package/assets/icons/side-menu/services.svg +1 -0
- package/assets/icons/side-menu/shop-2.svg +1 -0
- package/assets/icons/side-menu/shop.svg +1 -0
- package/assets/icons/side-menu/stats.svg +1 -0
- package/assets/icons/side-menu/support-add.svg +1 -0
- package/assets/icons/side-menu/support.svg +1 -0
- package/assets/icons/side-menu/wallet.svg +1 -0
- package/assets/icons/system/accounting.svg +1 -0
- package/assets/icons/system/alco.svg +1 -0
- package/assets/icons/system/alert-circle.svg +1 -0
- package/assets/icons/system/alert-triangle.svg +1 -0
- package/assets/icons/system/alert.svg +1 -0
- package/assets/icons/system/archive.svg +1 -0
- package/assets/icons/system/article.svg +1 -0
- package/assets/icons/system/attach.svg +1 -0
- package/assets/icons/system/block.svg +1 -0
- package/assets/icons/system/book.svg +1 -0
- package/assets/icons/system/bulb.svg +1 -0
- package/assets/icons/system/bundle.svg +1 -0
- package/assets/icons/system/business-case.svg +1 -0
- package/assets/icons/system/calendar.svg +1 -0
- package/assets/icons/system/call-end.svg +1 -0
- package/assets/icons/system/call-later.svg +1 -0
- package/assets/icons/system/cashback.svg +1 -0
- package/assets/icons/system/cast.svg +1 -0
- package/assets/icons/system/chart.svg +1 -0
- package/assets/icons/system/chat.svg +1 -0
- package/assets/icons/system/check-all.svg +1 -0
- package/assets/icons/system/check-rounded.svg +1 -0
- package/assets/icons/system/check-square-outlined.svg +1 -0
- package/assets/icons/system/check.svg +1 -0
- package/assets/icons/system/clock-outlined.svg +1 -0
- package/assets/icons/system/clock-solid.svg +1 -0
- package/assets/icons/system/clock.svg +1 -0
- package/assets/icons/system/comment.svg +1 -0
- package/assets/icons/system/compare-add.svg +1 -0
- package/assets/icons/system/compare-remove.svg +1 -0
- package/assets/icons/system/comparsion.svg +1 -0
- package/assets/icons/system/copy.svg +1 -0
- package/assets/icons/system/crown.svg +1 -0
- package/assets/icons/system/decline.svg +1 -0
- package/assets/icons/system/delete-outlined.svg +1 -0
- package/assets/icons/system/delete-solid.svg +1 -0
- package/assets/icons/system/delete.svg +1 -0
- package/assets/icons/system/dialog.svg +1 -0
- package/assets/icons/system/display-mode.svg +1 -0
- package/assets/icons/system/doc.svg +1 -0
- package/assets/icons/system/document-copy.svg +1 -0
- package/assets/icons/system/document-filled.svg +1 -0
- package/assets/icons/system/document.svg +1 -0
- package/assets/icons/system/download.svg +1 -0
- package/assets/icons/system/drag.svg +1 -0
- package/assets/icons/system/edit-rounded.svg +1 -0
- package/assets/icons/system/edit.svg +1 -0
- package/assets/icons/system/empty-cart.svg +1 -0
- package/assets/icons/system/event.svg +1 -0
- package/assets/icons/system/external-link.svg +1 -0
- package/assets/icons/system/eye-off.svg +1 -0
- package/assets/icons/system/eye.svg +1 -0
- package/assets/icons/system/feed.svg +1 -0
- package/assets/icons/system/file.svg +1 -0
- package/assets/icons/system/filter.svg +1 -0
- package/assets/icons/system/fire.svg +1 -0
- package/assets/icons/system/fiscal.svg +1 -0
- package/assets/icons/system/folder-alert.svg +1 -0
- package/assets/icons/system/folder-check.svg +1 -0
- package/assets/icons/system/folder-few-check.svg +1 -0
- package/assets/icons/system/folder-move.svg +1 -0
- package/assets/icons/system/folder.svg +1 -0
- package/assets/icons/system/gift.svg +1 -0
- package/assets/icons/system/go-to-chat.svg +1 -0
- package/assets/icons/system/go-to-minichat.svg +1 -0
- package/assets/icons/system/goods.svg +1 -0
- package/assets/icons/system/graph-square.svg +1 -0
- package/assets/icons/system/healing.svg +1 -0
- package/assets/icons/system/help-outlined.svg +1 -0
- package/assets/icons/system/help-solid.svg +1 -0
- package/assets/icons/system/help.svg +1 -0
- package/assets/icons/system/history.svg +1 -0
- package/assets/icons/system/id.svg +1 -0
- package/assets/icons/system/image.svg +1 -0
- package/assets/icons/system/import-export.svg +1 -0
- package/assets/icons/system/import.svg +1 -0
- package/assets/icons/system/incoming-call.svg +1 -0
- package/assets/icons/system/info.svg +1 -0
- package/assets/icons/system/insurance.svg +1 -0
- package/assets/icons/system/insurancelost.svg +1 -0
- package/assets/icons/system/lamp.svg +1 -0
- package/assets/icons/system/like.svg +1 -0
- package/assets/icons/system/linked-circle-outlined.svg +1 -0
- package/assets/icons/system/linked-rounded.svg +1 -0
- package/assets/icons/system/linked.svg +1 -0
- package/assets/icons/system/list.svg +1 -0
- package/assets/icons/system/location-arrow.svg +1 -0
- package/assets/icons/system/location-pin.svg +1 -0
- package/assets/icons/system/location.svg +1 -0
- package/assets/icons/system/lock.svg +1 -0
- package/assets/icons/system/login.svg +1 -0
- package/assets/icons/system/logo-1c.svg +1 -0
- package/assets/icons/system/logo-android.svg +1 -0
- package/assets/icons/system/logo-apple.svg +1 -0
- package/assets/icons/system/logo-chestniy-znak.svg +1 -0
- package/assets/icons/system/logo-evotor.svg +1 -0
- package/assets/icons/system/logo-facebook.svg +1 -0
- package/assets/icons/system/logo-gomarket.svg +1 -0
- package/assets/icons/system/logo-instagram.svg +1 -0
- package/assets/icons/system/logo-linux.svg +1 -0
- package/assets/icons/system/logo-ok.svg +1 -0
- package/assets/icons/system/logo-sber.svg +1 -0
- package/assets/icons/system/logo-sbp.svg +1 -0
- package/assets/icons/system/logo-telegram.svg +1 -0
- package/assets/icons/system/logo-twitter.svg +1 -0
- package/assets/icons/system/logo-vk.svg +1 -0
- package/assets/icons/system/logo-whatsapp.svg +1 -0
- package/assets/icons/system/logo-windows.svg +1 -0
- package/assets/icons/system/mail.svg +1 -0
- package/assets/icons/system/minus-rounded.svg +1 -0
- package/assets/icons/system/minus.svg +1 -0
- package/assets/icons/system/monitoring.svg +1 -0
- package/assets/icons/system/mute-1.svg +1 -0
- package/assets/icons/system/mute.svg +1 -0
- package/assets/icons/system/new.svg +1 -0
- package/assets/icons/system/news.svg +1 -0
- package/assets/icons/system/offline.svg +1 -0
- package/assets/icons/system/online.svg +1 -0
- package/assets/icons/system/open-outside.svg +1 -0
- package/assets/icons/system/os-version.svg +1 -0
- package/assets/icons/system/outgoing-call.svg +1 -0
- package/assets/icons/system/password.svg +1 -0
- package/assets/icons/system/paste.svg +1 -0
- package/assets/icons/system/pause-circle.svg +1 -0
- package/assets/icons/system/pause.svg +1 -0
- package/assets/icons/system/phone.svg +1 -0
- package/assets/icons/system/pickup-point.svg +1 -0
- package/assets/icons/system/pin-outline.svg +1 -0
- package/assets/icons/system/pin.svg +1 -0
- package/assets/icons/system/play-circle.svg +1 -0
- package/assets/icons/system/plus-rounded.svg +1 -0
- package/assets/icons/system/plus.svg +1 -0
- package/assets/icons/system/point-up.svg +1 -0
- package/assets/icons/system/power-on.svg +1 -0
- package/assets/icons/system/power.svg +1 -0
- package/assets/icons/system/print.svg +1 -0
- package/assets/icons/system/printer.svg +1 -0
- package/assets/icons/system/promo.svg +1 -0
- package/assets/icons/system/refresh.svg +1 -0
- package/assets/icons/system/refund.svg +1 -0
- package/assets/icons/system/remote.svg +1 -0
- package/assets/icons/system/renew.svg +1 -0
- package/assets/icons/system/research.svg +1 -0
- package/assets/icons/system/route.svg +1 -0
- package/assets/icons/system/sale-options.svg +1 -0
- package/assets/icons/system/save.svg +1 -0
- package/assets/icons/system/scanner.svg +1 -0
- package/assets/icons/system/selected.svg +1 -0
- package/assets/icons/system/send.svg +1 -0
- package/assets/icons/system/share.svg +1 -0
- package/assets/icons/system/sim.svg +1 -0
- package/assets/icons/system/smartphone.svg +1 -0
- package/assets/icons/system/specify.svg +1 -0
- package/assets/icons/system/star-border.svg +1 -0
- package/assets/icons/system/star-outlined.svg +1 -0
- package/assets/icons/system/star-solid.svg +1 -0
- package/assets/icons/system/star.svg +1 -0
- package/assets/icons/system/support-agent.svg +1 -0
- package/assets/icons/system/swap.svg +1 -0
- package/assets/icons/system/sync-error.svg +1 -0
- package/assets/icons/system/sync-problem.svg +1 -0
- package/assets/icons/system/sync.svg +1 -0
- package/assets/icons/system/table.svg +1 -0
- package/assets/icons/system/terminal-add.svg +1 -0
- package/assets/icons/system/terminal.svg +1 -0
- package/assets/icons/system/tools.svg +1 -0
- package/assets/icons/system/unarchive.svg +1 -0
- package/assets/icons/system/unlock.svg +1 -0
- package/assets/icons/system/unpin.svg +1 -0
- package/assets/icons/system/upload.svg +1 -0
- package/assets/icons/system/usb.svg +1 -0
- package/assets/icons/system/user-add.svg +1 -0
- package/assets/icons/system/user-check.svg +1 -0
- package/assets/icons/system/user-group.svg +1 -0
- package/assets/icons/system/user.svg +1 -0
- package/assets/icons/system/usergroup.svg +1 -0
- package/assets/icons/system/video-call.svg +1 -0
- package/assets/icons/system/volume-off.svg +1 -0
- package/assets/icons/system/warranty-ended.svg +1 -0
- package/assets/icons/system/warranty.svg +1 -0
- package/assets/icons/system/wifi.svg +1 -0
- package/assets/icons/system/work.svg +1 -0
- package/esm2022/icons/index.mjs +2 -0
- package/esm2022/lib/common/animations/expand.animation.mjs +28 -0
- package/esm2022/lib/common/animations/sidebar.animation.mjs +10 -0
- package/esm2022/lib/common/animations/skip-initial-render.animation.mjs +3 -0
- package/esm2022/lib/common/collection/evo-collection-fabric.mjs +15 -0
- package/esm2022/lib/common/collection/evo-collection.mjs +7 -0
- package/esm2022/lib/common/constants/view-breakpoint-streams.mjs +24 -0
- package/esm2022/lib/common/evo-base-control.mjs +46 -0
- package/esm2022/lib/common/evo-control-state-manager/evo-control-state-manager.mjs +13 -0
- package/esm2022/lib/common/evo-control-state-manager/evo-control-state.interface.mjs +2 -0
- package/esm2022/lib/common/form-helper/form-helper.mjs +31 -0
- package/esm2022/lib/common/tokens/assets-path.mjs +22 -0
- package/esm2022/lib/common/tokens/icon-resolver.mjs +30 -0
- package/esm2022/lib/common/tokens/index.mjs +2 -0
- package/esm2022/lib/common/tokens/public_api.mjs +3 -0
- package/esm2022/lib/components/evo-accordion/evo-accordion-content/evo-accordion-content.component.mjs +35 -0
- package/esm2022/lib/components/evo-accordion/evo-accordion-panel/evo-accordion-panel.component.mjs +23 -0
- package/esm2022/lib/components/evo-accordion/evo-accordion-title/evo-accordion-title.component.mjs +57 -0
- package/esm2022/lib/components/evo-accordion/evo-accordion.component.mjs +19 -0
- package/esm2022/lib/components/evo-accordion/evo-accordion.module.mjs +39 -0
- package/esm2022/lib/components/evo-autocomplete/components/evo-autocomplete/evo-autocomplete.component.mjs +402 -0
- package/esm2022/lib/components/evo-autocomplete/components/evo-autocomplete-default-option/evo-autocomplete-default-option.component.mjs +44 -0
- package/esm2022/lib/components/evo-autocomplete/components/evo-autocomplete-footer/evo-autocomplete-footer.component.mjs +11 -0
- package/esm2022/lib/components/evo-autocomplete/components/evo-autocomplete-header/evo-autocomplete-header.component.mjs +11 -0
- package/esm2022/lib/components/evo-autocomplete/evo-autocomplete.module.mjs +23 -0
- package/esm2022/lib/components/evo-autocomplete/helpers/switch-query-to-list.mjs +8 -0
- package/esm2022/lib/components/evo-autocomplete/models/DaDataParty.mjs +29 -0
- package/esm2022/lib/components/evo-autocomplete/models/dadata.model.mjs +48 -0
- package/esm2022/lib/components/evo-autocomplete/public-api.mjs +9 -0
- package/esm2022/lib/components/evo-badge/evo-badge.component.mjs +40 -0
- package/esm2022/lib/components/evo-badge/evo-badge.module.mjs +16 -0
- package/esm2022/lib/components/evo-badge/types/evo-badge-color.mjs +2 -0
- package/esm2022/lib/components/evo-button/components/evo-button/evo-button.component.mjs +86 -0
- package/esm2022/lib/components/evo-button/evo-button.module.mjs +16 -0
- package/esm2022/lib/components/evo-button/public-api.mjs +4 -0
- package/esm2022/lib/components/evo-checkbox/evo-checkbox.component.mjs +85 -0
- package/esm2022/lib/components/evo-checkbox/evo-checkbox.module.mjs +16 -0
- package/esm2022/lib/components/evo-chip/evo-chip.component.mjs +132 -0
- package/esm2022/lib/components/evo-chip/evo-chip.module.mjs +16 -0
- package/esm2022/lib/components/evo-control-error/evo-control-error.component.mjs +40 -0
- package/esm2022/lib/components/evo-control-error/evo-control-error.module.mjs +16 -0
- package/esm2022/lib/components/evo-control-label/evo-control-label.component.mjs +19 -0
- package/esm2022/lib/components/evo-control-label/evo-control-label.module.mjs +16 -0
- package/esm2022/lib/components/evo-counter/evo-counter.component.mjs +38 -0
- package/esm2022/lib/components/evo-counter/evo-counter.module.mjs +16 -0
- package/esm2022/lib/components/evo-datepicker/evo-datepicker.component.mjs +561 -0
- package/esm2022/lib/components/evo-datepicker/evo-datepicker.module.mjs +16 -0
- package/esm2022/lib/components/evo-datepicker/flatpickr-options.interface.mjs +2 -0
- package/esm2022/lib/components/evo-dropdown/evo-dropdown-origin.directive.mjs +42 -0
- package/esm2022/lib/components/evo-dropdown/evo-dropdown-position-description.mjs +75 -0
- package/esm2022/lib/components/evo-dropdown/evo-dropdown.component.mjs +109 -0
- package/esm2022/lib/components/evo-dropdown/evo-dropdown.module.mjs +17 -0
- package/esm2022/lib/components/evo-icon/evo-icon.component.mjs +74 -0
- package/esm2022/lib/components/evo-icon/evo-icon.service.mjs +48 -0
- package/esm2022/lib/components/evo-icon/interfaces/icon-options.mjs +2 -0
- package/esm2022/lib/components/evo-icon/interfaces/icons-category.mjs +2 -0
- package/esm2022/lib/components/evo-icon/public-api.mjs +5 -0
- package/esm2022/lib/components/evo-icon-button/evo-icon-button.component.mjs +55 -0
- package/esm2022/lib/components/evo-icon-button/evo-icon-button.module.mjs +16 -0
- package/esm2022/lib/components/evo-icon-button/types/evo-icon-button-color.mjs +2 -0
- package/esm2022/lib/components/evo-icon-button/types/evo-icon-button-size.mjs +2 -0
- package/esm2022/lib/components/evo-icon-button/types/index.mjs +3 -0
- package/esm2022/lib/components/evo-icon-number/components/evo-icon-number/evo-icon-number.component.mjs +13 -0
- package/esm2022/lib/components/evo-icon-number/evo-icon-number.module.mjs +16 -0
- package/esm2022/lib/components/evo-input/evo-input-icon/evo-input-icon.directive.mjs +14 -0
- package/esm2022/lib/components/evo-input/evo-input.component.mjs +372 -0
- package/esm2022/lib/components/evo-input/evo-input.module.mjs +17 -0
- package/esm2022/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.mjs +151 -0
- package/esm2022/lib/components/evo-input-contenteditable/evo-input-contenteditable.module.mjs +16 -0
- package/esm2022/lib/components/evo-input-contenteditable/utils/clear-multiline.mjs +7 -0
- package/esm2022/lib/components/evo-loader/evo-circular-loader.component.mjs +18 -0
- package/esm2022/lib/components/evo-loader/evo-loader.module.mjs +17 -0
- package/esm2022/lib/components/evo-loader/public-api.mjs +3 -0
- package/esm2022/lib/components/evo-modal/evo-modal.component.mjs +127 -0
- package/esm2022/lib/components/evo-modal/evo-modal.module.mjs +18 -0
- package/esm2022/lib/components/evo-modal/evo-modal.service.mjs +32 -0
- package/esm2022/lib/components/evo-navbar/evo-navbar-item/evo-navbar-item.component.mjs +88 -0
- package/esm2022/lib/components/evo-navbar/evo-navbar.component.mjs +49 -0
- package/esm2022/lib/components/evo-navbar/evo-navbar.module.mjs +19 -0
- package/esm2022/lib/components/evo-navbar/interfaces/nav-item-main-info.mjs +2 -0
- package/esm2022/lib/components/evo-navbar/interfaces/nav-item-router-link.mjs +2 -0
- package/esm2022/lib/components/evo-navbar/types/nav-item.mjs +2 -0
- package/esm2022/lib/components/evo-navigation-button/evo-navigation-button.component.mjs +12 -0
- package/esm2022/lib/components/evo-navigation-button/evo-navigation-button.module.mjs +16 -0
- package/esm2022/lib/components/evo-note/evo-note.component.mjs +39 -0
- package/esm2022/lib/components/evo-note/evo-note.module.mjs +16 -0
- package/esm2022/lib/components/evo-paginator/evo-paginator.component.mjs +109 -0
- package/esm2022/lib/components/evo-paginator/evo-paginator.module.mjs +16 -0
- package/esm2022/lib/components/evo-popover/evo-popover.component.mjs +177 -0
- package/esm2022/lib/components/evo-popover/evo-popover.module.mjs +16 -0
- package/esm2022/lib/components/evo-portal/evo-portal-outlet.class.mjs +7 -0
- package/esm2022/lib/components/evo-portal/evo-portal-outlet.directive.mjs +20 -0
- package/esm2022/lib/components/evo-portal/evo-portal.module.mjs +18 -0
- package/esm2022/lib/components/evo-portal/evo-portal.service.mjs +99 -0
- package/esm2022/lib/components/evo-radio/evo-radio.component.mjs +53 -0
- package/esm2022/lib/components/evo-radio/evo-radio.module.mjs +16 -0
- package/esm2022/lib/components/evo-radioshape/components/evo-radioshape.component.mjs +58 -0
- package/esm2022/lib/components/evo-radioshape/evo-radioshape.module.mjs +16 -0
- package/esm2022/lib/components/evo-sidebar/evo-sidebar-content/evo-sidebar-content.component.mjs +34 -0
- package/esm2022/lib/components/evo-sidebar/evo-sidebar-footer/evo-sidebar-footer.component.mjs +13 -0
- package/esm2022/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.mjs +33 -0
- package/esm2022/lib/components/evo-sidebar/evo-sidebar.component.mjs +162 -0
- package/esm2022/lib/components/evo-sidebar/evo-sidebar.module.mjs +59 -0
- package/esm2022/lib/components/evo-sidebar/evo-sidebar.service.mjs +99 -0
- package/esm2022/lib/components/evo-sidebar/interfaces.mjs +2 -0
- package/esm2022/lib/components/evo-sidebar/tokens.mjs +12 -0
- package/esm2022/lib/components/evo-stepper/evo-stepper-events.mjs +25 -0
- package/esm2022/lib/components/evo-stepper/evo-stepper-item/evo-stepper-item.component.mjs +31 -0
- package/esm2022/lib/components/evo-stepper/evo-stepper.component.mjs +63 -0
- package/esm2022/lib/components/evo-stepper/evo-stepper.module.mjs +17 -0
- package/esm2022/lib/components/evo-table/evo-table/evo-table.component.mjs +68 -0
- package/esm2022/lib/components/evo-table/evo-table-column/evo-table-column.component.mjs +32 -0
- package/esm2022/lib/components/evo-table/evo-table.module.mjs +17 -0
- package/esm2022/lib/components/evo-tabs/evo-tab/evo-tab.component.mjs +88 -0
- package/esm2022/lib/components/evo-tabs/evo-tab-content/evo-tab-content.component.mjs +39 -0
- package/esm2022/lib/components/evo-tabs/evo-tab-state.collection.mjs +45 -0
- package/esm2022/lib/components/evo-tabs/evo-tabs-size.service.mjs +24 -0
- package/esm2022/lib/components/evo-tabs/evo-tabs.component.mjs +82 -0
- package/esm2022/lib/components/evo-tabs/evo-tabs.module.mjs +20 -0
- package/esm2022/lib/components/evo-tabs/evo-tabs.service.mjs +67 -0
- package/esm2022/lib/components/evo-textarea/evo-textarea.component.mjs +84 -0
- package/esm2022/lib/components/evo-textarea/evo-textarea.module.mjs +16 -0
- package/esm2022/lib/components/evo-toast/evo-toast.component.mjs +102 -0
- package/esm2022/lib/components/evo-toast/evo-toast.module.mjs +16 -0
- package/esm2022/lib/components/evo-toast/evo-toast.service.mjs +49 -0
- package/esm2022/lib/components/evo-toggle/evo-toggle.component.mjs +67 -0
- package/esm2022/lib/components/evo-toggle/evo-toggle.module.mjs +16 -0
- package/esm2022/lib/components/evo-upload/evo-upload.component.mjs +292 -0
- package/esm2022/lib/components/evo-upload/evo-upload.module.mjs +16 -0
- package/esm2022/lib/decorators/deprecate-method.decorator.mjs +9 -0
- package/esm2022/lib/decorators/deprecate-variable.decorator.mjs +18 -0
- package/esm2022/lib/directives/evo-click-outside.directive.mjs +41 -0
- package/esm2022/lib/directives/evo-is-expanded.directive.mjs +72 -0
- package/esm2022/lib/directives/evo-let/evo-let.directive.mjs +46 -0
- package/esm2022/lib/directives/evo-ui-class.directive.mjs +171 -0
- package/esm2022/lib/evo-ui-kit.module.mjs +27 -0
- package/esm2022/lib/operators/enter-zone.operator.mjs +9 -0
- package/esm2022/lib/pipes/declination.pipe.mjs +39 -0
- package/esm2022/lib/pipes/evo-pipes.module.mjs +18 -0
- package/esm2022/lib/pipes/safe-html.pipe.mjs +21 -0
- package/esm2022/lib/services/evo-expanded.service.mjs +23 -0
- package/esm2022/lib/services/window.service.mjs +49 -0
- package/esm2022/lib/utils/create-token.mjs +8 -0
- package/esm2022/lib/utils/index.mjs +2 -0
- package/esm2022/lib/utils/public_api.mjs +2 -0
- package/esm2022/public_api.mjs +68 -0
- package/fesm2022/evotor-dev-ui-kit-icons.mjs +8 -0
- package/fesm2022/evotor-dev-ui-kit-icons.mjs.map +1 -0
- package/fesm2022/evotor-dev-ui-kit.mjs +6182 -0
- package/fesm2022/evotor-dev-ui-kit.mjs.map +1 -0
- package/icons/index.d.ts +294 -321
- package/lib/common/collection/evo-collection-fabric.d.ts +1 -1
- package/lib/common/evo-base-control.d.ts +1 -1
- package/lib/common/tokens/assets-path.d.ts +11 -0
- package/lib/common/tokens/icon-resolver.d.ts +3 -0
- package/lib/common/tokens/index.d.ts +1 -0
- package/lib/common/tokens/public_api.d.ts +2 -0
- package/lib/components/evo-accordion/evo-accordion-content/evo-accordion-content.component.d.ts +3 -3
- package/lib/components/evo-accordion/evo-accordion-panel/evo-accordion-panel.component.d.ts +2 -2
- package/lib/components/evo-accordion/evo-accordion-title/evo-accordion-title.component.d.ts +2 -2
- package/lib/components/evo-accordion/evo-accordion.component.d.ts +2 -5
- package/lib/components/evo-accordion/evo-accordion.module.d.ts +6 -8
- package/lib/components/evo-autocomplete/components/evo-autocomplete/evo-autocomplete.component.d.ts +128 -0
- package/lib/components/evo-autocomplete/components/evo-autocomplete-default-option/evo-autocomplete-default-option.component.d.ts +16 -0
- package/lib/components/evo-autocomplete/components/evo-autocomplete-footer/evo-autocomplete-footer.component.d.ts +5 -0
- package/lib/components/evo-autocomplete/components/evo-autocomplete-header/evo-autocomplete-header.component.d.ts +5 -0
- package/lib/components/evo-autocomplete/evo-autocomplete.module.d.ts +5 -10
- package/lib/components/evo-autocomplete/public-api.d.ts +4 -2
- package/lib/components/evo-badge/evo-badge.component.d.ts +1 -1
- package/lib/components/evo-badge/evo-badge.module.d.ts +1 -3
- package/lib/components/evo-button/components/evo-button/evo-button.component.d.ts +1 -1
- package/lib/components/evo-button/evo-button.module.d.ts +1 -5
- package/lib/components/evo-button/public-api.d.ts +0 -1
- package/lib/components/evo-checkbox/evo-checkbox.component.d.ts +2 -2
- package/lib/components/evo-checkbox/evo-checkbox.module.d.ts +1 -5
- package/lib/components/evo-chip/evo-chip.component.d.ts +3 -3
- package/lib/components/evo-chip/evo-chip.module.d.ts +1 -5
- package/lib/components/evo-control-error/evo-control-error.component.d.ts +2 -2
- package/lib/components/evo-control-error/evo-control-error.module.d.ts +1 -4
- package/lib/components/evo-control-label/evo-control-label.component.d.ts +2 -2
- package/lib/components/evo-control-label/evo-control-label.module.d.ts +1 -2
- package/lib/components/evo-counter/evo-counter.component.d.ts +1 -1
- package/lib/components/evo-counter/evo-counter.module.d.ts +1 -3
- package/lib/components/evo-datepicker/evo-datepicker.component.d.ts +3 -3
- package/lib/components/evo-datepicker/evo-datepicker.module.d.ts +1 -5
- package/lib/components/evo-dropdown/evo-dropdown-origin.directive.d.ts +2 -2
- package/lib/components/evo-dropdown/evo-dropdown.component.d.ts +2 -2
- package/lib/components/evo-dropdown/evo-dropdown.module.d.ts +1 -3
- package/lib/components/evo-icon/evo-icon.component.d.ts +7 -11
- package/lib/components/evo-icon/evo-icon.service.d.ts +16 -0
- package/lib/components/evo-icon/interfaces/icon-options.d.ts +4 -0
- package/lib/components/evo-icon/public-api.d.ts +1 -2
- package/lib/components/evo-icon-button/evo-icon-button.component.d.ts +4 -13
- package/lib/components/evo-icon-button/evo-icon-button.module.d.ts +1 -2
- package/lib/components/evo-icon-button/types/evo-icon-button-color.d.ts +2 -0
- package/lib/components/evo-icon-button/types/index.d.ts +2 -0
- package/lib/components/evo-icon-number/components/evo-icon-number/evo-icon-number.component.d.ts +1 -1
- package/lib/components/evo-icon-number/evo-icon-number.module.d.ts +1 -2
- package/lib/components/evo-input/evo-input-icon/evo-input-icon.directive.d.ts +1 -1
- package/lib/components/evo-input/evo-input.component.d.ts +6 -6
- package/lib/components/evo-input/evo-input.module.d.ts +1 -7
- package/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.d.ts +4 -4
- package/lib/components/evo-input-contenteditable/evo-input-contenteditable.module.d.ts +1 -4
- package/lib/components/evo-loader/evo-circular-loader.component.d.ts +1 -1
- package/lib/components/evo-loader/evo-loader.module.d.ts +2 -5
- package/lib/components/evo-loader/public-api.d.ts +0 -1
- package/lib/components/evo-modal/evo-modal.component.d.ts +1 -1
- package/lib/components/evo-modal/evo-modal.module.d.ts +1 -4
- package/lib/components/evo-modal/evo-modal.service.d.ts +1 -1
- package/lib/components/evo-navbar/evo-navbar-item/evo-navbar-item.component.d.ts +11 -4
- package/lib/components/evo-navbar/evo-navbar.component.d.ts +4 -1
- package/lib/components/evo-navbar/evo-navbar.module.d.ts +1 -5
- package/lib/components/evo-navbar/interfaces/nav-item-main-info.d.ts +4 -0
- package/lib/components/evo-navigation-button/evo-navigation-button.component.d.ts +1 -1
- package/lib/components/evo-navigation-button/evo-navigation-button.module.d.ts +1 -3
- package/lib/components/evo-note/evo-note.component.d.ts +1 -1
- package/lib/components/evo-note/evo-note.module.d.ts +1 -4
- package/lib/components/evo-paginator/evo-paginator.component.d.ts +1 -1
- package/lib/components/evo-paginator/evo-paginator.module.d.ts +1 -2
- package/lib/components/evo-popover/evo-popover.component.d.ts +5 -5
- package/lib/components/evo-popover/evo-popover.module.d.ts +1 -3
- package/lib/components/evo-portal/evo-portal-outlet.directive.d.ts +1 -1
- package/lib/components/evo-portal/evo-portal.module.d.ts +1 -2
- package/lib/components/evo-radio/evo-radio.component.d.ts +1 -1
- package/lib/components/evo-radio/evo-radio.module.d.ts +1 -3
- package/lib/components/evo-radioshape/components/evo-radioshape.component.d.ts +2 -2
- package/lib/components/evo-radioshape/evo-radioshape.module.d.ts +1 -3
- package/lib/components/evo-sidebar/evo-sidebar-content/evo-sidebar-content.component.d.ts +2 -2
- package/lib/components/evo-sidebar/evo-sidebar-footer/evo-sidebar-footer.component.d.ts +1 -1
- package/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.d.ts +6 -6
- package/lib/components/evo-sidebar/evo-sidebar.component.d.ts +21 -23
- package/lib/components/evo-sidebar/evo-sidebar.module.d.ts +1 -4
- package/lib/components/evo-sidebar/evo-sidebar.service.d.ts +6 -9
- package/lib/components/evo-sidebar/interfaces.d.ts +2 -1
- package/lib/components/evo-stepper/evo-stepper-events.d.ts +1 -1
- package/lib/components/evo-stepper/evo-stepper-item/evo-stepper-item.component.d.ts +3 -3
- package/lib/components/evo-stepper/evo-stepper.component.d.ts +4 -4
- package/lib/components/evo-stepper/evo-stepper.module.d.ts +1 -3
- package/lib/components/evo-table/evo-table/evo-table.component.d.ts +1 -1
- package/lib/components/evo-table/evo-table-column/evo-table-column.component.d.ts +1 -1
- package/lib/components/evo-table/evo-table.module.d.ts +1 -2
- package/lib/components/evo-tabs/evo-tab/evo-tab.component.d.ts +8 -8
- package/lib/components/evo-tabs/evo-tab-content/evo-tab-content.component.d.ts +3 -3
- package/lib/components/evo-tabs/evo-tab-state.collection.d.ts +2 -2
- package/lib/components/evo-tabs/evo-tabs-size.service.d.ts +1 -1
- package/lib/components/evo-tabs/evo-tabs.component.d.ts +3 -2
- package/lib/components/evo-tabs/evo-tabs.module.d.ts +1 -3
- package/lib/components/evo-tabs/evo-tabs.service.d.ts +3 -3
- package/lib/components/evo-textarea/evo-textarea.component.d.ts +3 -1
- package/lib/components/evo-textarea/evo-textarea.module.d.ts +1 -5
- package/lib/components/evo-toast/evo-toast.component.d.ts +3 -3
- package/lib/components/evo-toast/evo-toast.module.d.ts +1 -4
- package/lib/components/evo-toggle/evo-toggle.component.d.ts +2 -2
- package/lib/components/evo-toggle/evo-toggle.module.d.ts +1 -4
- package/lib/components/evo-upload/evo-upload.component.d.ts +4 -4
- package/lib/components/evo-upload/evo-upload.module.d.ts +1 -7
- package/lib/directives/evo-click-outside.directive.d.ts +2 -2
- package/lib/directives/evo-is-expanded.directive.d.ts +6 -6
- package/lib/directives/evo-let/evo-let.directive.d.ts +2 -2
- package/lib/directives/evo-ui-class.directive.d.ts +1 -1
- package/lib/evo-ui-kit.module.d.ts +9 -9
- package/lib/pipes/declination.pipe.d.ts +1 -1
- package/lib/pipes/evo-pipes.module.d.ts +1 -1
- package/lib/pipes/safe-html.pipe.d.ts +2 -2
- package/lib/services/evo-expanded.service.d.ts +1 -1
- package/lib/services/window.service.d.ts +3 -3
- package/lib/utils/create-token.d.ts +3 -0
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/public_api.d.ts +1 -0
- package/package.json +19 -83
- package/public_api.d.ts +2 -8
- package/styles/components/evo-form.scss +2 -2
- package/styles/components/evo-title.scss +4 -4
- package/styles/main.scss +1 -1
- package/styles/mixins/_evo-input-mixins.scss +0 -6
- package/styles/mixins.scss +0 -42
- package/styles/variables.scss +0 -8
- package/esm2020/icons/category/evotor-dev-ui-kit-icons-category.mjs +0 -5
- package/esm2020/icons/category/index.mjs +0 -62
- package/esm2020/icons/emotions/evotor-dev-ui-kit-icons-emotions.mjs +0 -5
- package/esm2020/icons/emotions/index.mjs +0 -18
- package/esm2020/icons/header/evotor-dev-ui-kit-icons-header.mjs +0 -5
- package/esm2020/icons/header/index.mjs +0 -28
- package/esm2020/icons/index.mjs +0 -9
- package/esm2020/icons/info/evotor-dev-ui-kit-icons-info.mjs +0 -5
- package/esm2020/icons/info/index.mjs +0 -40
- package/esm2020/icons/navigation/evotor-dev-ui-kit-icons-navigation.mjs +0 -5
- package/esm2020/icons/navigation/index.mjs +0 -56
- package/esm2020/icons/side-menu/evotor-dev-ui-kit-icons-side-menu.mjs +0 -5
- package/esm2020/icons/side-menu/index.mjs +0 -64
- package/esm2020/icons/system/evotor-dev-ui-kit-icons-system.mjs +0 -5
- package/esm2020/icons/system/index.mjs +0 -372
- package/esm2020/lib/common/animations/expand.animation.mjs +0 -28
- package/esm2020/lib/common/animations/sidebar.animation.mjs +0 -10
- package/esm2020/lib/common/animations/skip-initial-render.animation.mjs +0 -3
- package/esm2020/lib/common/collection/evo-collection-fabric.mjs +0 -10
- package/esm2020/lib/common/collection/evo-collection.mjs +0 -7
- package/esm2020/lib/common/constants/view-breakpoint-streams.mjs +0 -24
- package/esm2020/lib/common/evo-base-control.mjs +0 -46
- package/esm2020/lib/common/evo-control-state-manager/evo-control-state-manager.mjs +0 -13
- package/esm2020/lib/common/evo-control-state-manager/evo-control-state.interface.mjs +0 -2
- package/esm2020/lib/common/form-helper/form-helper.mjs +0 -31
- package/esm2020/lib/components/evo-accordion/evo-accordion-content/evo-accordion-content.component.mjs +0 -31
- package/esm2020/lib/components/evo-accordion/evo-accordion-panel/evo-accordion-panel.component.mjs +0 -19
- package/esm2020/lib/components/evo-accordion/evo-accordion-title/evo-accordion-title.component.mjs +0 -57
- package/esm2020/lib/components/evo-accordion/evo-accordion.component.mjs +0 -17
- package/esm2020/lib/components/evo-accordion/evo-accordion.module.mjs +0 -64
- package/esm2020/lib/components/evo-alert/evo-alert.component.mjs +0 -79
- package/esm2020/lib/components/evo-alert/evo-alert.module.mjs +0 -27
- package/esm2020/lib/components/evo-alert/index.mjs +0 -2
- package/esm2020/lib/components/evo-alert/public-api.mjs +0 -3
- package/esm2020/lib/components/evo-autocomplete/components/evo-autocomplete.component.mjs +0 -358
- package/esm2020/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.mjs +0 -43
- package/esm2020/lib/components/evo-autocomplete/evo-autocomplete.module.mjs +0 -56
- package/esm2020/lib/components/evo-autocomplete/helpers/switch-query-to-list.mjs +0 -6
- package/esm2020/lib/components/evo-autocomplete/models/DaDataParty.mjs +0 -28
- package/esm2020/lib/components/evo-autocomplete/models/dadata.model.mjs +0 -48
- package/esm2020/lib/components/evo-autocomplete/public-api.mjs +0 -7
- package/esm2020/lib/components/evo-badge/evo-badge.component.mjs +0 -40
- package/esm2020/lib/components/evo-badge/evo-badge.module.mjs +0 -26
- package/esm2020/lib/components/evo-badge/types/evo-badge-color.mjs +0 -2
- package/esm2020/lib/components/evo-banner/evo-banner.component.mjs +0 -109
- package/esm2020/lib/components/evo-banner/evo-banner.module.mjs +0 -23
- package/esm2020/lib/components/evo-banner/index.mjs +0 -2
- package/esm2020/lib/components/evo-banner/public-api.mjs +0 -3
- package/esm2020/lib/components/evo-button/components/evo-button/evo-button.component.mjs +0 -86
- package/esm2020/lib/components/evo-button/components/evo-button-old/evo-button-old.component.mjs +0 -91
- package/esm2020/lib/components/evo-button/evo-button.module.mjs +0 -21
- package/esm2020/lib/components/evo-button/public-api.mjs +0 -5
- package/esm2020/lib/components/evo-checkbox/evo-checkbox.component.mjs +0 -86
- package/esm2020/lib/components/evo-checkbox/evo-checkbox.module.mjs +0 -32
- package/esm2020/lib/components/evo-chip/evo-chip.component.mjs +0 -130
- package/esm2020/lib/components/evo-chip/evo-chip.module.mjs +0 -43
- package/esm2020/lib/components/evo-control-error/evo-control-error.component.mjs +0 -41
- package/esm2020/lib/components/evo-control-error/evo-control-error.module.mjs +0 -28
- package/esm2020/lib/components/evo-control-label/evo-control-label.component.mjs +0 -19
- package/esm2020/lib/components/evo-control-label/evo-control-label.module.mjs +0 -20
- package/esm2020/lib/components/evo-counter/evo-counter.component.mjs +0 -38
- package/esm2020/lib/components/evo-counter/evo-counter.module.mjs +0 -28
- package/esm2020/lib/components/evo-datepicker/evo-datepicker.component.mjs +0 -561
- package/esm2020/lib/components/evo-datepicker/evo-datepicker.module.mjs +0 -32
- package/esm2020/lib/components/evo-datepicker/flatpickr-options.interface.mjs +0 -2
- package/esm2020/lib/components/evo-dropdown/evo-dropdown-origin.directive.mjs +0 -41
- package/esm2020/lib/components/evo-dropdown/evo-dropdown-position-description.mjs +0 -51
- package/esm2020/lib/components/evo-dropdown/evo-dropdown.component.mjs +0 -107
- package/esm2020/lib/components/evo-dropdown/evo-dropdown.module.mjs +0 -20
- package/esm2020/lib/components/evo-icon/classes/evo-icons-library.mjs +0 -19
- package/esm2020/lib/components/evo-icon/evo-icon.component.mjs +0 -56
- package/esm2020/lib/components/evo-icon/evo-icon.module.mjs +0 -55
- package/esm2020/lib/components/evo-icon/interfaces/icons-category.mjs +0 -2
- package/esm2020/lib/components/evo-icon/public-api.mjs +0 -6
- package/esm2020/lib/components/evo-icon-button/evo-icon-button.component.mjs +0 -64
- package/esm2020/lib/components/evo-icon-button/evo-icon-button.module.mjs +0 -24
- package/esm2020/lib/components/evo-icon-button/types/evo-icon-button-size.mjs +0 -2
- package/esm2020/lib/components/evo-icon-button/types/evo-icon-button-theme.mjs +0 -2
- package/esm2020/lib/components/evo-icon-number/components/evo-icon-number/evo-icon-number.component.mjs +0 -14
- package/esm2020/lib/components/evo-icon-number/evo-icon-number.module.mjs +0 -18
- package/esm2020/lib/components/evo-input/evo-input-icon/evo-input-icon.directive.mjs +0 -13
- package/esm2020/lib/components/evo-input/evo-input.component.mjs +0 -358
- package/esm2020/lib/components/evo-input/evo-input.module.mjs +0 -64
- package/esm2020/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.mjs +0 -150
- package/esm2020/lib/components/evo-input-contenteditable/evo-input-contenteditable.module.mjs +0 -32
- package/esm2020/lib/components/evo-input-contenteditable/utils/clear-multiline.mjs +0 -7
- package/esm2020/lib/components/evo-loader/evo-circular-loader.component.mjs +0 -18
- package/esm2020/lib/components/evo-loader/evo-loader.component.mjs +0 -27
- package/esm2020/lib/components/evo-loader/evo-loader.module.mjs +0 -31
- package/esm2020/lib/components/evo-loader/public-api.mjs +0 -4
- package/esm2020/lib/components/evo-modal/evo-modal.component.mjs +0 -127
- package/esm2020/lib/components/evo-modal/evo-modal.module.mjs +0 -30
- package/esm2020/lib/components/evo-modal/evo-modal.service.mjs +0 -32
- package/esm2020/lib/components/evo-navbar/evo-navbar-item/evo-navbar-item.component.mjs +0 -58
- package/esm2020/lib/components/evo-navbar/evo-navbar.component.mjs +0 -46
- package/esm2020/lib/components/evo-navbar/evo-navbar.module.mjs +0 -24
- package/esm2020/lib/components/evo-navbar/interfaces/nav-item-main-info.mjs +0 -2
- package/esm2020/lib/components/evo-navbar/interfaces/nav-item-router-link.mjs +0 -2
- package/esm2020/lib/components/evo-navbar/types/nav-item.mjs +0 -2
- package/esm2020/lib/components/evo-navigation-button/evo-navigation-button.component.mjs +0 -12
- package/esm2020/lib/components/evo-navigation-button/evo-navigation-button.module.mjs +0 -43
- package/esm2020/lib/components/evo-note/evo-note.component.mjs +0 -40
- package/esm2020/lib/components/evo-note/evo-note.module.mjs +0 -43
- package/esm2020/lib/components/evo-paginator/evo-paginator.component.mjs +0 -109
- package/esm2020/lib/components/evo-paginator/evo-paginator.module.mjs +0 -20
- package/esm2020/lib/components/evo-plus-minus/evo-plus-minus.component.mjs +0 -26
- package/esm2020/lib/components/evo-plus-minus/evo-plus-minus.module.mjs +0 -20
- package/esm2020/lib/components/evo-plus-minus/index.mjs +0 -2
- package/esm2020/lib/components/evo-plus-minus/public-api.mjs +0 -3
- package/esm2020/lib/components/evo-popover/evo-popover.component.mjs +0 -173
- package/esm2020/lib/components/evo-popover/evo-popover.module.mjs +0 -24
- package/esm2020/lib/components/evo-portal/evo-portal-outlet.class.mjs +0 -7
- package/esm2020/lib/components/evo-portal/evo-portal-outlet.directive.mjs +0 -19
- package/esm2020/lib/components/evo-portal/evo-portal.module.mjs +0 -30
- package/esm2020/lib/components/evo-portal/evo-portal.service.mjs +0 -92
- package/esm2020/lib/components/evo-radio/evo-radio.component.mjs +0 -51
- package/esm2020/lib/components/evo-radio/evo-radio.module.mjs +0 -24
- package/esm2020/lib/components/evo-radio-group/evo-radio-group.component.mjs +0 -123
- package/esm2020/lib/components/evo-radio-group/evo-radio-group.module.mjs +0 -32
- package/esm2020/lib/components/evo-radio-group/index.mjs +0 -2
- package/esm2020/lib/components/evo-radio-group/public-api.mjs +0 -3
- package/esm2020/lib/components/evo-radio-group/typings/options.mjs +0 -2
- package/esm2020/lib/components/evo-radioshape/components/evo-radioshape.component.mjs +0 -56
- package/esm2020/lib/components/evo-radioshape/evo-radioshape.module.mjs +0 -31
- package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar/evo-segmented-bar.component.mjs +0 -21
- package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar-button/evo-segmented-bar-button.component.mjs +0 -77
- package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar.module.mjs +0 -24
- package/esm2020/lib/components/evo-segmented-bar/index.mjs +0 -2
- package/esm2020/lib/components/evo-segmented-bar/public-api.mjs +0 -4
- package/esm2020/lib/components/evo-select/evo-select.component.mjs +0 -115
- package/esm2020/lib/components/evo-select/evo-select.module.mjs +0 -32
- package/esm2020/lib/components/evo-select/index.mjs +0 -2
- package/esm2020/lib/components/evo-select/public-api.mjs +0 -3
- package/esm2020/lib/components/evo-sidebar/evo-sidebar-content/evo-sidebar-content.component.mjs +0 -33
- package/esm2020/lib/components/evo-sidebar/evo-sidebar-footer/evo-sidebar-footer.component.mjs +0 -13
- package/esm2020/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.mjs +0 -40
- package/esm2020/lib/components/evo-sidebar/evo-sidebar.component.mjs +0 -172
- package/esm2020/lib/components/evo-sidebar/evo-sidebar.module.mjs +0 -88
- package/esm2020/lib/components/evo-sidebar/evo-sidebar.service.mjs +0 -105
- package/esm2020/lib/components/evo-sidebar/interfaces.mjs +0 -2
- package/esm2020/lib/components/evo-sidebar/tokens.mjs +0 -12
- package/esm2020/lib/components/evo-stepper/evo-stepper-events.mjs +0 -25
- package/esm2020/lib/components/evo-stepper/evo-stepper-item/evo-stepper-item.component.mjs +0 -31
- package/esm2020/lib/components/evo-stepper/evo-stepper.component.mjs +0 -67
- package/esm2020/lib/components/evo-stepper/evo-stepper.module.mjs +0 -25
- package/esm2020/lib/components/evo-submenu/evo-submenu.component.mjs +0 -159
- package/esm2020/lib/components/evo-submenu/evo-submenu.module.mjs +0 -26
- package/esm2020/lib/components/evo-submenu/index.mjs +0 -2
- package/esm2020/lib/components/evo-submenu/public-api.mjs +0 -3
- package/esm2020/lib/components/evo-switcher/components/evo-switcher-item/evo-switcher-item.component.mjs +0 -11
- package/esm2020/lib/components/evo-switcher/evo-switcher.component.mjs +0 -32
- package/esm2020/lib/components/evo-switcher/evo-switcher.module.mjs +0 -25
- package/esm2020/lib/components/evo-switcher/index.mjs +0 -2
- package/esm2020/lib/components/evo-switcher/public-api.mjs +0 -4
- package/esm2020/lib/components/evo-table/evo-table/evo-table.component.mjs +0 -67
- package/esm2020/lib/components/evo-table/evo-table-column/evo-table-column.component.mjs +0 -31
- package/esm2020/lib/components/evo-table/evo-table.module.mjs +0 -21
- package/esm2020/lib/components/evo-tabs/evo-tab/evo-tab.component.mjs +0 -88
- package/esm2020/lib/components/evo-tabs/evo-tab-content/evo-tab-content.component.mjs +0 -37
- package/esm2020/lib/components/evo-tabs/evo-tab-state.collection.mjs +0 -43
- package/esm2020/lib/components/evo-tabs/evo-tabs-size.service.mjs +0 -24
- package/esm2020/lib/components/evo-tabs/evo-tabs.component.mjs +0 -83
- package/esm2020/lib/components/evo-tabs/evo-tabs.module.mjs +0 -28
- package/esm2020/lib/components/evo-tabs/evo-tabs.service.mjs +0 -67
- package/esm2020/lib/components/evo-textarea/evo-textarea.component.mjs +0 -79
- package/esm2020/lib/components/evo-textarea/evo-textarea.module.mjs +0 -35
- package/esm2020/lib/components/evo-toast/evo-toast.component.mjs +0 -98
- package/esm2020/lib/components/evo-toast/evo-toast.module.mjs +0 -43
- package/esm2020/lib/components/evo-toast/evo-toast.service.mjs +0 -49
- package/esm2020/lib/components/evo-toggle/evo-toggle.component.mjs +0 -64
- package/esm2020/lib/components/evo-toggle/evo-toggle.module.mjs +0 -28
- package/esm2020/lib/components/evo-upload/evo-upload.component.mjs +0 -287
- package/esm2020/lib/components/evo-upload/evo-upload.module.mjs +0 -57
- package/esm2020/lib/decorators/deprecate-method.decorator.mjs +0 -8
- package/esm2020/lib/decorators/deprecate-variable.decorator.mjs +0 -17
- package/esm2020/lib/directives/evo-click-outside.directive.mjs +0 -40
- package/esm2020/lib/directives/evo-is-expanded.directive.mjs +0 -71
- package/esm2020/lib/directives/evo-let/evo-let.directive.mjs +0 -45
- package/esm2020/lib/directives/evo-ui-class.directive.mjs +0 -169
- package/esm2020/lib/evo-ui-kit.module.mjs +0 -63
- package/esm2020/lib/operators/enter-zone.operator.mjs +0 -9
- package/esm2020/lib/pipes/declination.pipe.mjs +0 -40
- package/esm2020/lib/pipes/evo-pipes.module.mjs +0 -17
- package/esm2020/lib/pipes/safe-html.pipe.mjs +0 -18
- package/esm2020/lib/services/evo-expanded.service.mjs +0 -23
- package/esm2020/lib/services/window.service.mjs +0 -49
- package/esm2020/public_api.mjs +0 -74
- package/fesm2015/evotor-dev-ui-kit-icons-category.mjs +0 -68
- package/fesm2015/evotor-dev-ui-kit-icons-category.mjs.map +0 -1
- package/fesm2015/evotor-dev-ui-kit-icons-emotions.mjs +0 -24
- package/fesm2015/evotor-dev-ui-kit-icons-emotions.mjs.map +0 -1
- package/fesm2015/evotor-dev-ui-kit-icons-header.mjs +0 -34
- package/fesm2015/evotor-dev-ui-kit-icons-header.mjs.map +0 -1
- package/fesm2015/evotor-dev-ui-kit-icons-info.mjs +0 -46
- package/fesm2015/evotor-dev-ui-kit-icons-info.mjs.map +0 -1
- package/fesm2015/evotor-dev-ui-kit-icons-navigation.mjs +0 -62
- package/fesm2015/evotor-dev-ui-kit-icons-navigation.mjs.map +0 -1
- package/fesm2015/evotor-dev-ui-kit-icons-side-menu.mjs +0 -70
- package/fesm2015/evotor-dev-ui-kit-icons-side-menu.mjs.map +0 -1
- package/fesm2015/evotor-dev-ui-kit-icons-system.mjs +0 -378
- package/fesm2015/evotor-dev-ui-kit-icons-system.mjs.map +0 -1
- package/fesm2015/evotor-dev-ui-kit-icons.mjs +0 -648
- package/fesm2015/evotor-dev-ui-kit-icons.mjs.map +0 -1
- package/fesm2015/evotor-dev-ui-kit.mjs +0 -7395
- package/fesm2015/evotor-dev-ui-kit.mjs.map +0 -1
- package/fesm2020/evotor-dev-ui-kit-icons-category.mjs +0 -68
- package/fesm2020/evotor-dev-ui-kit-icons-category.mjs.map +0 -1
- package/fesm2020/evotor-dev-ui-kit-icons-emotions.mjs +0 -24
- package/fesm2020/evotor-dev-ui-kit-icons-emotions.mjs.map +0 -1
- package/fesm2020/evotor-dev-ui-kit-icons-header.mjs +0 -34
- package/fesm2020/evotor-dev-ui-kit-icons-header.mjs.map +0 -1
- package/fesm2020/evotor-dev-ui-kit-icons-info.mjs +0 -46
- package/fesm2020/evotor-dev-ui-kit-icons-info.mjs.map +0 -1
- package/fesm2020/evotor-dev-ui-kit-icons-navigation.mjs +0 -62
- package/fesm2020/evotor-dev-ui-kit-icons-navigation.mjs.map +0 -1
- package/fesm2020/evotor-dev-ui-kit-icons-side-menu.mjs +0 -70
- package/fesm2020/evotor-dev-ui-kit-icons-side-menu.mjs.map +0 -1
- package/fesm2020/evotor-dev-ui-kit-icons-system.mjs +0 -378
- package/fesm2020/evotor-dev-ui-kit-icons-system.mjs.map +0 -1
- package/fesm2020/evotor-dev-ui-kit-icons.mjs +0 -648
- package/fesm2020/evotor-dev-ui-kit-icons.mjs.map +0 -1
- package/fesm2020/evotor-dev-ui-kit.mjs +0 -7375
- package/fesm2020/evotor-dev-ui-kit.mjs.map +0 -1
- package/icons/category/index.d.ts +0 -59
- package/icons/emotions/index.d.ts +0 -15
- package/icons/header/index.d.ts +0 -25
- package/icons/info/index.d.ts +0 -37
- package/icons/navigation/index.d.ts +0 -53
- package/icons/side-menu/index.d.ts +0 -61
- package/icons/system/index.d.ts +0 -369
- package/lib/components/evo-alert/evo-alert.component.d.ts +0 -38
- package/lib/components/evo-alert/evo-alert.module.d.ts +0 -9
- package/lib/components/evo-alert/index.d.ts +0 -1
- package/lib/components/evo-alert/public-api.d.ts +0 -2
- package/lib/components/evo-autocomplete/components/evo-autocomplete.component.d.ts +0 -115
- package/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.d.ts +0 -16
- package/lib/components/evo-banner/evo-banner.component.d.ts +0 -46
- package/lib/components/evo-banner/evo-banner.module.d.ts +0 -9
- package/lib/components/evo-banner/index.d.ts +0 -1
- package/lib/components/evo-banner/public-api.d.ts +0 -2
- package/lib/components/evo-button/components/evo-button-old/evo-button-old.component.d.ts +0 -39
- package/lib/components/evo-icon/classes/evo-icons-library.d.ts +0 -11
- package/lib/components/evo-icon/evo-icon.module.d.ts +0 -16
- package/lib/components/evo-icon-button/types/evo-icon-button-theme.d.ts +0 -1
- package/lib/components/evo-loader/evo-loader.component.d.ts +0 -14
- package/lib/components/evo-plus-minus/evo-plus-minus.component.d.ts +0 -13
- package/lib/components/evo-plus-minus/evo-plus-minus.module.d.ts +0 -8
- package/lib/components/evo-plus-minus/index.d.ts +0 -1
- package/lib/components/evo-plus-minus/public-api.d.ts +0 -2
- package/lib/components/evo-radio-group/evo-radio-group.component.d.ts +0 -56
- package/lib/components/evo-radio-group/evo-radio-group.module.d.ts +0 -11
- package/lib/components/evo-radio-group/index.d.ts +0 -1
- package/lib/components/evo-radio-group/public-api.d.ts +0 -2
- package/lib/components/evo-radio-group/typings/options.d.ts +0 -6
- package/lib/components/evo-segmented-bar/evo-segmented-bar/evo-segmented-bar.component.d.ts +0 -10
- package/lib/components/evo-segmented-bar/evo-segmented-bar-button/evo-segmented-bar-button.component.d.ts +0 -22
- package/lib/components/evo-segmented-bar/evo-segmented-bar.module.d.ts +0 -11
- package/lib/components/evo-segmented-bar/index.d.ts +0 -1
- package/lib/components/evo-segmented-bar/public-api.d.ts +0 -3
- package/lib/components/evo-select/evo-select.component.d.ts +0 -37
- package/lib/components/evo-select/evo-select.module.d.ts +0 -11
- package/lib/components/evo-select/index.d.ts +0 -1
- package/lib/components/evo-select/public-api.d.ts +0 -2
- package/lib/components/evo-submenu/evo-submenu.component.d.ts +0 -49
- package/lib/components/evo-submenu/evo-submenu.module.d.ts +0 -11
- package/lib/components/evo-submenu/index.d.ts +0 -1
- package/lib/components/evo-submenu/public-api.d.ts +0 -2
- package/lib/components/evo-switcher/components/evo-switcher-item/evo-switcher-item.component.d.ts +0 -9
- package/lib/components/evo-switcher/evo-switcher.component.d.ts +0 -14
- package/lib/components/evo-switcher/evo-switcher.module.d.ts +0 -10
- package/lib/components/evo-switcher/index.d.ts +0 -1
- package/lib/components/evo-switcher/public-api.d.ts +0 -3
- package/styles/components/evo-alert.scss +0 -64
- /package/{esm2020 → esm2022}/evotor-dev-ui-kit.mjs +0 -0
- /package/{esm2020 → esm2022}/icons/evotor-dev-ui-kit-icons.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/common/Serializable.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/common/animations/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/common/collection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/common/constants/css-breakpoints.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/common/evo-control-state-manager/evo-control-states.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/common/types/evo-color.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/common/types/evo-size.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/common/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-accordion/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-accordion/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-autocomplete/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-autocomplete/types/evo-autocomplete-size.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-badge/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-badge/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-badge/types/evo-badge-size.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-badge/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-button/constants/evo-button-themes-map.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-button/types/evo-button-color.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-button/types/evo-button-shape.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-button/types/evo-button-size.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-button/types/evo-button-theme-params.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-button/types/evo-button-theme.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-button/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-checkbox/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-checkbox/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-chip/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-chip/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-control-error/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-control-error/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-control-label/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-control-label/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-counter/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-counter/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-datepicker/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-datepicker/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-datepicker/templates/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-dropdown/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-dropdown/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-dropdown/types/evo-dropdown-positions.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-icon/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-icon/interfaces/icons-source.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-icon-button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-icon-button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-icon-number/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-icon-number/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-input/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-input-contenteditable/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-input-contenteditable/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-loader/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-modal/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-modal/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-navbar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-navbar/interfaces/nav-item.href.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-navbar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-navigation-button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-navigation-button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-note/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-note/public.api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-note/types/evo-note-type.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-paginator/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-paginator/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-popover/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-popover/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-portal/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-portal/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-radio/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-radio/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-radioshape/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-radioshape/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-sidebar/enums/evo-sidebar-close-targets.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-sidebar/enums/evo-sidebar-sizes.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-sidebar/enums/evo-sidebar-states.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-sidebar/evo-sidebar-portal.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-sidebar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-sidebar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-sidebar/sidebar-injection-token.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-stepper/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-stepper/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-table/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-table/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-tabs/enums/evo-tabs-size.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-tabs/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-tabs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-textarea/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-textarea/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-toast/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-toast/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-toggle/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-toggle/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-upload/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/evo-upload/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/decorators/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/decorators/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/operators/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/operators/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/pipes/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/public-api.mjs +0 -0
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver, Injector, NgModule, } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { EvoSidebarComponent } from './evo-sidebar.component';
|
|
4
|
-
import { EvoSidebarHeaderComponent } from './evo-sidebar-header/evo-sidebar-header.component';
|
|
5
|
-
import { EvoSidebarFooterComponent } from './evo-sidebar-footer/evo-sidebar-footer.component';
|
|
6
|
-
import { EvoSidebarService } from './evo-sidebar.service';
|
|
7
|
-
import { EvoUiKitModule } from '../../evo-ui-kit.module';
|
|
8
|
-
import { EvoIconModule } from '../evo-icon/evo-icon.module';
|
|
9
|
-
import { iconChevronLeft } from '@evotor-dev/ui-kit/icons/navigation';
|
|
10
|
-
import { iconClose } from '@evotor-dev/ui-kit/icons/header';
|
|
11
|
-
import { EvoSidebarContentComponent } from './evo-sidebar-content/evo-sidebar-content.component';
|
|
12
|
-
import { EVO_SIDEBAR_CONFIG } from './tokens';
|
|
13
|
-
import { EvoSidebarPortal } from './evo-sidebar-portal';
|
|
14
|
-
import { EvoAbstractPortal } from '../evo-portal';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
import * as i1 from "../evo-icon/evo-icon.module";
|
|
17
|
-
export const portalProvider = {
|
|
18
|
-
provide: EvoAbstractPortal,
|
|
19
|
-
useClass: EvoSidebarPortal,
|
|
20
|
-
deps: [ApplicationRef, Injector, ComponentFactoryResolver],
|
|
21
|
-
};
|
|
22
|
-
const components = [
|
|
23
|
-
EvoSidebarComponent,
|
|
24
|
-
EvoSidebarHeaderComponent,
|
|
25
|
-
EvoSidebarContentComponent,
|
|
26
|
-
EvoSidebarFooterComponent,
|
|
27
|
-
];
|
|
28
|
-
export class EvoSidebarModule {
|
|
29
|
-
static forRoot(config) {
|
|
30
|
-
return {
|
|
31
|
-
ngModule: EvoSidebarModule,
|
|
32
|
-
providers: [
|
|
33
|
-
portalProvider,
|
|
34
|
-
{
|
|
35
|
-
provide: EVO_SIDEBAR_CONFIG,
|
|
36
|
-
useValue: config,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
provide: EvoSidebarService,
|
|
40
|
-
useClass: EvoSidebarService,
|
|
41
|
-
deps: [EvoAbstractPortal, EVO_SIDEBAR_CONFIG],
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
EvoSidebarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoSidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
48
|
-
EvoSidebarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: EvoSidebarModule, declarations: [EvoSidebarComponent,
|
|
49
|
-
EvoSidebarHeaderComponent,
|
|
50
|
-
EvoSidebarContentComponent,
|
|
51
|
-
EvoSidebarFooterComponent], imports: [CommonModule,
|
|
52
|
-
EvoUiKitModule, i1.EvoIconModule], exports: [EvoSidebarComponent,
|
|
53
|
-
EvoSidebarHeaderComponent,
|
|
54
|
-
EvoSidebarContentComponent,
|
|
55
|
-
EvoSidebarFooterComponent] });
|
|
56
|
-
EvoSidebarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoSidebarModule, providers: [portalProvider, EvoSidebarService], imports: [CommonModule,
|
|
57
|
-
EvoUiKitModule,
|
|
58
|
-
EvoIconModule.forRoot([
|
|
59
|
-
{
|
|
60
|
-
name: 'sidebarIcons',
|
|
61
|
-
shapes: {
|
|
62
|
-
'chevron-left': iconChevronLeft,
|
|
63
|
-
close: iconClose,
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
])] });
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoSidebarModule, decorators: [{
|
|
68
|
-
type: NgModule,
|
|
69
|
-
args: [{
|
|
70
|
-
imports: [
|
|
71
|
-
CommonModule,
|
|
72
|
-
EvoUiKitModule,
|
|
73
|
-
EvoIconModule.forRoot([
|
|
74
|
-
{
|
|
75
|
-
name: 'sidebarIcons',
|
|
76
|
-
shapes: {
|
|
77
|
-
'chevron-left': iconChevronLeft,
|
|
78
|
-
close: iconClose,
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
]),
|
|
82
|
-
],
|
|
83
|
-
declarations: [...components],
|
|
84
|
-
exports: [...components],
|
|
85
|
-
providers: [portalProvider,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Nb2R1bGUge1xuICAgIHN0YXRpYyBmb3JSb290KGNvbmZpZz86IEV2b1NpZGViYXJDb25maWcpOiBNb2R1bGVXaXRoUHJvdmlkZXJzPEV2b1NpZGViYXJNb2R1bGU+IHtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIG5nTW9kdWxlOiBFdm9TaWRlYmFyTW9kdWxlLFxuICAgICAgICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgICAgICAgICAgcG9ydGFsUHJvdmlkZXIsXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBwcm92aWRlOiBFVk9fU0lERUJBUl9DT05GSUcsXG4gICAgICAgICAgICAgICAgICAgIHVzZVZhbHVlOiBjb25maWcsXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgIHByb3ZpZGU6IEV2b1NpZGViYXJTZXJ2aWNlLFxuICAgICAgICAgICAgICAgICAgICB1c2VDbGFzczogRXZvU2lkZWJhclNlcnZpY2UsXG4gICAgICAgICAgICAgICAgICAgIGRlcHM6IFtFdm9BYnN0cmFjdFBvcnRhbCwgRVZPX1NJREVCQVJfQ09ORklHXSxcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgXSxcbiAgICAgICAgfTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { Inject, Injectable, Optional } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { distinctUntilChanged, filter, take, tap } from 'rxjs/operators';
|
|
4
|
-
import { cloneDeep, isEqual } from 'lodash-es';
|
|
5
|
-
import { evoSidebarDefaultConfig, evoSidebarRootId, EVO_SIDEBAR_CONFIG } from './tokens';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../evo-portal";
|
|
8
|
-
export class EvoSidebarService {
|
|
9
|
-
constructor(portal, // EvoSidebarPortal provided
|
|
10
|
-
_config) {
|
|
11
|
-
this.portal = portal;
|
|
12
|
-
this._config = _config;
|
|
13
|
-
this.sidebarEvents$ = new Subject();
|
|
14
|
-
this.registeredSidebars = {};
|
|
15
|
-
this.config = {
|
|
16
|
-
...evoSidebarDefaultConfig,
|
|
17
|
-
..._config,
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
deregister(id) {
|
|
21
|
-
delete this.registeredSidebars[id];
|
|
22
|
-
}
|
|
23
|
-
register(id) {
|
|
24
|
-
if (this.registeredSidebars[id]) {
|
|
25
|
-
throw Error(`[EvoUiKit]: Another evo-sidebar with id = "${id}" already registered!`);
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
this.registeredSidebars[id] = { id, isOpen: false };
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
open(idOrParams, params) {
|
|
32
|
-
if (typeof idOrParams === 'string') {
|
|
33
|
-
this.sidebarEvents$.next({
|
|
34
|
-
id: idOrParams,
|
|
35
|
-
isOpen: true,
|
|
36
|
-
params,
|
|
37
|
-
});
|
|
38
|
-
return this.getOpenedSidebarActions(idOrParams);
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
this.openWithDefaultHost(idOrParams);
|
|
42
|
-
return this.getOpenedSidebarActions(evoSidebarRootId);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
openWithDefaultHost(params) {
|
|
46
|
-
if (!this.portal.hasAttachedPortal()) {
|
|
47
|
-
this.portal.attach(this.config.host);
|
|
48
|
-
setTimeout(() => {
|
|
49
|
-
this.open(evoSidebarRootId, params);
|
|
50
|
-
}, 0);
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
this.open(evoSidebarRootId, params);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
close(idOrParams, params) {
|
|
57
|
-
if (typeof idOrParams === 'string') {
|
|
58
|
-
this.sidebarEvents$.next({ id: idOrParams, isOpen: false, params });
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
this.closeWithDefaultHost(idOrParams);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
closeWithDefaultHost(params) {
|
|
65
|
-
this.sidebarEvents$.next({ id: evoSidebarRootId, isOpen: false, params });
|
|
66
|
-
}
|
|
67
|
-
getEventsSubscription(id, immediate) {
|
|
68
|
-
return this.sidebarEvents$.pipe(filter((data) => data.id === id), filter((data) => {
|
|
69
|
-
if (!data.isOpen) {
|
|
70
|
-
return data.params && data.params.closeTarget ? true : immediate;
|
|
71
|
-
}
|
|
72
|
-
return true;
|
|
73
|
-
}), distinctUntilChanged((prev, next) => {
|
|
74
|
-
return immediate ? false : isEqual(prev, next);
|
|
75
|
-
}), tap((data) => {
|
|
76
|
-
if (!immediate) {
|
|
77
|
-
this.registeredSidebars[data.id] = cloneDeep(data);
|
|
78
|
-
}
|
|
79
|
-
}));
|
|
80
|
-
}
|
|
81
|
-
cleanupDefaultHost() {
|
|
82
|
-
if (!this.portal.hasAttachedPortal()) {
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
this.portal.detach();
|
|
86
|
-
}
|
|
87
|
-
getOpenedSidebarActions(id) {
|
|
88
|
-
return {
|
|
89
|
-
afterClosed: () => {
|
|
90
|
-
return this.getEventsSubscription(id).pipe(filter(({ isOpen }) => !isOpen), take(1));
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
EvoSidebarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoSidebarService, deps: [{ token: i1.EvoAbstractPortal }, { token: EVO_SIDEBAR_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
96
|
-
EvoSidebarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoSidebarService });
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoSidebarService, decorators: [{
|
|
98
|
-
type: Injectable
|
|
99
|
-
}], ctorParameters: function () { return [{ type: i1.EvoAbstractPortal }, { type: undefined, decorators: [{
|
|
100
|
-
type: Optional
|
|
101
|
-
}, {
|
|
102
|
-
type: Inject,
|
|
103
|
-
args: [EVO_SIDEBAR_CONFIG]
|
|
104
|
-
}] }]; } });
|
|
105
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXNpZGViYXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by1zaWRlYmFyL2V2by1zaWRlYmFyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzdELE9BQU8sRUFBYyxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDM0MsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sRUFBRSxJQUFJLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDekUsT0FBTyxFQUFFLFNBQVMsRUFBRSxPQUFPLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFHL0MsT0FBTyxFQUFFLHVCQUF1QixFQUFFLGdCQUFnQixFQUFFLGtCQUFrQixFQUFFLE1BQU0sVUFBVSxDQUFDOzs7QUFHekYsTUFBTSxPQUFPLGlCQUFpQjtJQU0xQixZQUNZLE1BQXlCLEVBQUUsNEJBQTRCO0lBRTNCLE9BQXlCO1FBRnJELFdBQU0sR0FBTixNQUFNLENBQW1CO1FBRUcsWUFBTyxHQUFQLE9BQU8sQ0FBa0I7UUFQekQsbUJBQWMsR0FB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3J0YWwoKSkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG4gICAgICAgIHRoaXMucG9ydGFsLmRldGFjaCgpO1xuICAgIH1cblxuICAgIGdldE9wZW5lZFNpZGViYXJBY3Rpb25zKGlkOiBzdHJpbmcpOiBFdm9PcGVuZWRTaWRlYmFyQWN0aW9ucyB7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICBhZnRlckNsb3NlZDogKCkgPT4ge1xuICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLmdldEV2ZW50c1N1YnNjcmlwdGlvbihpZCkucGlwZShcbiAgICAgICAgICAgICAgICAgICAgZmlsdGVyKCh7IGlzT3BlbiB9KSA9PiAhaXNPcGVuKSxcbiAgICAgICAgICAgICAgICAgICAgdGFrZSgxKSxcbiAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgfVxuICAgICAgICB9O1xuICAgIH1cblxufVxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJmYWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by1zaWRlYmFyL2ludGVyZmFjZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7VHlwZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge09ic2VydmFibGV9IGZyb20gJ3J4anMnO1xuaW1wb3J0IHtFdm9TaWRlYmFyQ2xvc2VUYXJnZXRzfSBmcm9tICcuL2VudW1zL2V2by1zaWRlYmFyLWNsb3NlLXRhcmdldHMnO1xuaW1wb3J0IHtFdm9TaWRlYmFyU2l6ZXN9IGZyb20gJy4vZW51bXMvZXZvLXNpZGViYXItc2l6ZXMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIEV2b1NpZGViYXJDb25maWcge1xuICAgIGhvc3Q/OiBzdHJpbmc7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgRXZvU2lkZWJhclN0YXRlIHtcbiAgICBpZDogc3RyaW5nO1xuICAgIGlzT3BlbjogYm9vbGVhbjtcbiAgICBwYXJhbXM/OiBFdm9TaWRlYmFyUGFyYW1zO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIEV2b1NpZGViYXJQYXJhbXMge1xuICAgIGNsb3NlVGFyZ2V0PzogRXZvU2lkZWJhckNsb3NlVGFyZ2V0cztcbiAgICBjb21wb25lbnQ/OiBUeXBlPGFueT47XG4gICAgY2xvc2VPbk5hdmlnYXRpb24/OiBib29sZWFuO1xuICAgIHNpemU/OiBFdm9TaWRlYmFyU2l6ZXM7XG4gICAgZGF0YT86IGFueTtcbiAgICBbcHJvcGVydHk6IHN0cmluZ106IGFueTtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBFdm9PcGVuZWRTaWRlYmFyQWN0aW9ucyB7XG4gICAgYWZ0ZXJDbG9zZWQ6ICgpID0+IE9ic2VydmFibGU8RXZvU2lkZWJhclBhcmFtcz47XG59XG4iXX0=
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
// Root ID
|
|
3
|
-
export const evoSidebarRootId = 'EVO_SIDEBAR_ROOT_ID';
|
|
4
|
-
export const EVO_SIDEBAR_ROOT_ID = new InjectionToken(evoSidebarRootId);
|
|
5
|
-
// Config
|
|
6
|
-
export const evoSidebarDefaultConfig = {
|
|
7
|
-
host: 'body',
|
|
8
|
-
};
|
|
9
|
-
export const EVO_SIDEBAR_CONFIG = new InjectionToken('EVO_SIDEBAR_CONFIG');
|
|
10
|
-
// Sidebar Data
|
|
11
|
-
export const EVO_SIDEBAR_DATA = new InjectionToken('EVO_SIDEBAR_DATA');
|
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ZWN0aW9uVG9rZW48c3RyaW5nPihcbiAgICBldm9TaWRlYmFyUm9vdElkXG4pO1xuXG4vLyBDb25maWdcbmV4cG9ydCBjb25zdCBldm9TaWRlYmFyRGVmYXVsdENvbmZpZzogRXZvU2lkZWJhckNvbmZpZyA9IHtcbiAgICBob3N0OiAnYm9keScsXG59O1xuXG5leHBvcnQgY29uc3QgRVZPX1NJREVCQVJfQ09ORklHID0gbmV3IEluamVjdGlvblRva2VuPEV2b1NpZGViYXJDb25maWc+KCdFVk9fU0lERUJBUl9DT05GSUcnKTtcblxuLy8gU2lkZWJhciBEYXRhXG5leHBvcnQgY29uc3QgRVZPX1NJREVCQVJfREFUQSA9IG5ldyBJbmplY3Rpb25Ub2tlbignRVZPX1NJREVCQVJfREFUQScpO1xuIl19
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { filter } from 'rxjs/operators';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export var EvoStepperEvent;
|
|
6
|
-
(function (EvoStepperEvent) {
|
|
7
|
-
EvoStepperEvent["LABEL_CHANGED"] = "LABEL_CHANGED";
|
|
8
|
-
})(EvoStepperEvent || (EvoStepperEvent = {}));
|
|
9
|
-
export class EvoStepperEvents {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.events$ = new Subject();
|
|
12
|
-
}
|
|
13
|
-
getEvents(type) {
|
|
14
|
-
return this.events$.pipe(filter(event => event === type));
|
|
15
|
-
}
|
|
16
|
-
emit(type) {
|
|
17
|
-
this.events$.next(type);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
EvoStepperEvents.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoStepperEvents, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21
|
-
EvoStepperEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoStepperEvents });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoStepperEvents, decorators: [{
|
|
23
|
-
type: Injectable
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXN0ZXBwZXItZXZlbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXN0ZXBwZXIvZXZvLXN0ZXBwZXItZXZlbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFjLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUMzQyxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7O0FBRXhDLE1BQU0sQ0FBTixJQUFZLGVBRVg7QUFGRCxXQUFZLGVBQWU7SUFDdkIsa0RBQStCLENBQUE7QUFDbkMsQ0FBQyxFQUZXLGVBQWUsS0FBZixlQUFlLFFBRTFCO0FBR0QsTUFBTSxPQUFPLGdCQUFnQjtJQUQ3QjtRQUdZLFlBQU8sR0FBRyxJQUFJLE9BQU8sRUFBbUIsQ0FBQztLQVlwRDtJQVZHLFNBQVMsQ0FBQyxJQUFxQjtRQUMzQixPQUFPLElBQUksQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUNwQixNQUFNLENBQUMsS0FBSyxDQUFDLEVBQUUsQ0FBQyxLQUFLLEtBQUssSUFBSSxDQUFDLENBQ2xDLENBQUM7SUFDTixDQUFDO0lBRUQsSUFBSSxDQUFDLElBQXFCO1FBQ3RCLElBQUksQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQzVCLENBQUM7OzhHQVpRLGdCQUFnQjtrSEFBaEIsZ0JBQWdCOzRGQUFoQixnQkFBZ0I7a0JBRDVCLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBPYnNlcnZhYmxlLCBTdWJqZWN0IH0gZnJvbSAncnhqcyc7XG5pbXBvcnQgeyBmaWx0ZXIgfSBmcm9tICdyeGpzL29wZXJhdG9ycyc7XG5cbmV4cG9ydCBlbnVtIEV2b1N0ZXBwZXJFdmVudCB7XG4gICAgTEFCRUxfQ0hBTkdFRCA9ICdMQUJFTF9DSEFOR0VEJ1xufVxuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgRXZvU3RlcHBlckV2ZW50cyB7XG5cbiAgICBwcml2YXRlIGV2ZW50cyQgPSBuZXcgU3ViamVjdDxFdm9TdGVwcGVyRXZlbnQ+KCk7XG5cbiAgICBnZXRFdmVudHModHlwZTogRXZvU3RlcHBlckV2ZW50KTogT2JzZXJ2YWJsZTxFdm9TdGVwcGVyRXZlbnQ+IHtcbiAgICAgICAgcmV0dXJuIHRoaXMuZXZlbnRzJC5waXBlKFxuICAgICAgICAgICAgZmlsdGVyKGV2ZW50ID0+IGV2ZW50ID09PSB0eXBlKSxcbiAgICAgICAgKTtcbiAgICB9XG5cbiAgICBlbWl0KHR5cGU6IEV2b1N0ZXBwZXJFdmVudCkge1xuICAgICAgICB0aGlzLmV2ZW50cyQubmV4dCh0eXBlKTtcbiAgICB9XG5cbn1cbiJdfQ==
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Component, Input, ContentChild, TemplateRef, Host } from '@angular/core';
|
|
2
|
-
import { EvoStepperEvent } from '../evo-stepper-events';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../evo-stepper-events";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
export class EvoStepperItemComponent {
|
|
7
|
-
constructor(stepperEvents) {
|
|
8
|
-
this.stepperEvents = stepperEvents;
|
|
9
|
-
this.isSelected = false;
|
|
10
|
-
}
|
|
11
|
-
ngOnChanges(changes) {
|
|
12
|
-
const { firstChange } = changes.label;
|
|
13
|
-
if (!firstChange) {
|
|
14
|
-
this.stepperEvents.emit(EvoStepperEvent.LABEL_CHANGED);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
EvoStepperItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoStepperItemComponent, deps: [{ token: i1.EvoStepperEvents, host: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
-
EvoStepperItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EvoStepperItemComponent, selector: "evo-stepper-item", inputs: { label: "label" }, queries: [{ propertyName: "contentTemp", first: true, predicate: TemplateRef, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"evo-stepper-content\" *ngIf=\"isSelected\">\n <ng-container *ngIf=\"contentTemp\">\n <ng-container *ngTemplateOutlet=\"contentTemp\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"!contentTemp\">\n <ng-content></ng-content>\n </ng-container>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoStepperItemComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{ selector: 'evo-stepper-item', template: "<div class=\"evo-stepper-content\" *ngIf=\"isSelected\">\n <ng-container *ngIf=\"contentTemp\">\n <ng-container *ngTemplateOutlet=\"contentTemp\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"!contentTemp\">\n <ng-content></ng-content>\n </ng-container>\n</div>" }]
|
|
23
|
-
}], ctorParameters: function () { return [{ type: i1.EvoStepperEvents, decorators: [{
|
|
24
|
-
type: Host
|
|
25
|
-
}] }]; }, propDecorators: { label: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], contentTemp: [{
|
|
28
|
-
type: ContentChild,
|
|
29
|
-
args: [TemplateRef]
|
|
30
|
-
}] } });
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXN0ZXBwZXItaXRlbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldm8tdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9ldm8tc3RlcHBlci9ldm8tc3RlcHBlci1pdGVtL2V2by1zdGVwcGVyLWl0ZW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXN0ZXBwZXIvZXZvLXN0ZXBwZXItaXRlbS9ldm8tc3RlcHBlci1pdGVtLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLFlBQVksRUFBRSxXQUFXLEVBQTRCLElBQUksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM1RyxPQUFPLEVBQUUsZUFBZSxFQUFvQixNQUFNLHVCQUF1QixDQUFDOzs7O0FBTzFFLE1BQU0sT0FBTyx1QkFBdUI7SUFRaEMsWUF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HBlckl0ZW1Db21wb25lbnQgaW1wbGVtZW50cyBPbkNoYW5nZXMge1xuXG4gICAgQElucHV0KCkgbGFiZWw6IHN0cmluZztcblxuICAgIGlzU2VsZWN0ZWQgPSBmYWxzZTtcblxuICAgIEBDb250ZW50Q2hpbGQoVGVtcGxhdGVSZWYpIGNvbnRlbnRUZW1wOiBUZW1wbGF0ZVJlZjxhbnk+O1xuXG4gICAgY29uc3RydWN0b3IoXG4gICAgICAgIEBIb3N0KClcbiAgICAgICAgcHJpdmF0ZSBzdGVwcGVyRXZlbnRzOiBFdm9TdGVwcGVyRXZlbnRzXG4gICAgKSB7IH1cblxuICAgIG5nT25DaGFuZ2VzKGNoYW5nZXM6IFNpbXBsZUNoYW5nZXMpIHtcbiAgICAgICAgY29uc3QgeyBmaXJzdENoYW5nZSB9ID0gY2hhbmdlcy5sYWJlbDtcblxuICAgICAgICBpZiAoIWZpcnN0Q2hhbmdlKSB7XG4gICAgICAgICAgICB0aGlzLnN0ZXBwZXJFdmVudHMuZW1pdChFdm9TdGVwcGVyRXZlbnQuTEFCRUxfQ0hBTkdFRCk7XG4gICAgICAgIH1cbiAgICB9XG5cbn1cbiIsIjxkaXYgY2xhc3M9XCJldm8tc3RlcHBlci1jb250ZW50XCIgKm5nSWY9XCJpc1NlbGVjdGVkXCI+XG4gIDxuZy1jb250YWluZXIgKm5nSWY9XCJjb250ZW50VGVtcFwiPlxuICAgIDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJjb250ZW50VGVtcFwiPjwvbmctY29udGFpbmVyPlxuICA8L25nLWNvbnRhaW5lcj5cbiAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIiFjb250ZW50VGVtcFwiPlxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgPC9uZy1jb250YWluZXI+XG48L2Rpdj4iXX0=
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Component, Input, ContentChildren, Output, EventEmitter, } from '@angular/core';
|
|
2
|
-
import { EvoStepperItemComponent } from './evo-stepper-item/evo-stepper-item.component';
|
|
3
|
-
import { map } from 'rxjs/operators';
|
|
4
|
-
import { concat, asyncScheduler, of, scheduled, merge } from 'rxjs';
|
|
5
|
-
import { EvoStepperEvent, EvoStepperEvents } from './evo-stepper-events';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "./evo-stepper-events";
|
|
8
|
-
import * as i2 from "@angular/common";
|
|
9
|
-
import * as i3 from "../../directives/evo-ui-class.directive";
|
|
10
|
-
export class EvoStepperComponent {
|
|
11
|
-
constructor(cd, stepperEvents) {
|
|
12
|
-
this.cd = cd;
|
|
13
|
-
this.stepperEvents = stepperEvents;
|
|
14
|
-
this.currentStepIndex = 0;
|
|
15
|
-
this.clickableItems = false;
|
|
16
|
-
this.onChange = new EventEmitter();
|
|
17
|
-
this.clickItem = new EventEmitter();
|
|
18
|
-
}
|
|
19
|
-
ngAfterViewInit() {
|
|
20
|
-
this.stepsList$ = concat(scheduled(of(null), asyncScheduler), merge(this.stepComponentsList.changes, this.stepperEvents.getEvents(EvoStepperEvent.LABEL_CHANGED))).pipe(map(() => this.getStepsList()));
|
|
21
|
-
this.cd.detectChanges();
|
|
22
|
-
}
|
|
23
|
-
ngOnChanges(changes) {
|
|
24
|
-
if (this.stepComponentsList && changes.currentStepIndex !== undefined) {
|
|
25
|
-
const index = changes.currentStepIndex.currentValue;
|
|
26
|
-
this.changeCurrentStep(index);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
getStepsList() {
|
|
30
|
-
const currentStepComponent = this.stepComponentsList.find((stepComponent, i) => i === this.currentStepIndex);
|
|
31
|
-
currentStepComponent.isSelected = true;
|
|
32
|
-
return this.stepComponentsList.map(({ label }) => ({ label }));
|
|
33
|
-
}
|
|
34
|
-
changeCurrentStep(index) {
|
|
35
|
-
this.stepComponentsList.forEach((step, i) => step.isSelected = (index === i));
|
|
36
|
-
this.currentStepIndex = index;
|
|
37
|
-
this.onChange.emit(index);
|
|
38
|
-
this.cd.markForCheck();
|
|
39
|
-
}
|
|
40
|
-
handleItemClick(index) {
|
|
41
|
-
if (this.clickableItems) {
|
|
42
|
-
this.clickItem.emit(index);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
EvoStepperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoStepperComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.EvoStepperEvents }], target: i0.ɵɵFactoryTarget.Component });
|
|
47
|
-
EvoStepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EvoStepperComponent, selector: "evo-stepper", inputs: { currentStepIndex: "currentStepIndex", clickableItems: "clickableItems" }, outputs: { onChange: "onChange", clickItem: "clickItem" }, providers: [
|
|
48
|
-
EvoStepperEvents,
|
|
49
|
-
], queries: [{ propertyName: "stepComponentsList", predicate: EvoStepperItemComponent }], usesOnChanges: true, ngImport: i0, template: "<div class=\"evo-stepper\">\n\n <ng-container\n *ngIf=\"stepsList$ | async as stepsList\"\n >\n\n <div class=\"evo-stepper__current-step-name\">{{stepsList[currentStepIndex].label}}</div>\n\n <!-- List -->\n <div class=\"evo-stepper__list\">\n <div\n class=\"evo-stepper__item\"\n *ngFor=\"let step of stepsList; index as i\"\n [evoUiClass]=\"{'active': currentStepIndex == i, 'completed': i < currentStepIndex, 'clickable': clickableItems}\"\n >\n\n <div\n class=\"evo-stepper__item-inner\"\n (click)=\"handleItemClick(i)\"\n >\n\n <div class=\"evo-stepper__item-point\">\n <div class=\"evo-stepper__item-number\">{{i + 1}}</div>\n </div>\n\n <div class=\"evo-stepper__item-name\">{{step.label}}</div>\n\n </div>\n\n </div>\n </div>\n\n </ng-container>\n\n <!-- Content -->\n <ng-content></ng-content>\n\n</div>\n", styles: [":host{display:block}.evo-stepper__current-step-name{display:none}.evo-stepper__list{display:flex;flex-direction:row;justify-content:center;align-items:flex-start;margin-bottom:40px}.evo-stepper__item{position:relative;display:flex;flex:1;flex-direction:column;justify-content:flex-start;align-items:center;padding:0 10px;text-align:center}.evo-stepper__item:before,.evo-stepper__item:after{position:absolute;top:13px;display:block;content:\"\";height:2px;background:#91B1B8}.evo-stepper__item:before{right:calc(50% + 16px);left:0}.evo-stepper__item:after{right:0;left:calc(50% + 16px)}.evo-stepper__item:first-child:before{display:none}.evo-stepper__item:last-child:after{display:none}.evo-stepper__item_completed:before,.evo-stepper__item_completed:after{background:#21C68B}.evo-stepper__item_completed .evo-stepper__item-point{background:#21C68B}.evo-stepper__item_completed .evo-stepper__item-point:before{top:6px}.evo-stepper__item_completed .evo-stepper__item-number{top:-24px}.evo-stepper__item_completed .evo-stepper__item-name{color:#21c68b}.evo-stepper__item_completed.evo-stepper__item_clickable .evo-stepper__item-inner{cursor:pointer}.evo-stepper__item_completed.evo-stepper__item_clickable .evo-stepper__item-point:hover{background:#4dd1a2}.evo-stepper__item_active:before{background:#21C68B}.evo-stepper__item_active:after{background:#91B1B8}.evo-stepper__item_active .evo-stepper__item-name{color:#21c68b}.evo-stepper__item_active .evo-stepper__item-point{background:#21C68B}.evo-stepper__item-inner{display:flex;flex-direction:column;align-items:center}.evo-stepper__item-point{position:relative;width:28px;height:28px;overflow:hidden;color:#fff;line-height:28px;text-align:center;background:#91B1B8;border-radius:50%;transition:background .3s}.evo-stepper__item-point:before{position:absolute;top:24px;left:11px;display:block;content:\"\";width:6px;height:12px;border-right:2px solid #FFFFFF;border-bottom:2px solid #FFFFFF;transform:rotate(45deg);transition:top .3s}.evo-stepper__item-number{position:relative;top:0;font-weight:600;transition:top .3s}.evo-stepper__item-name{margin-top:10px;color:#91b1b8;font-weight:600;transition:color .3s}@media (max-width: 768px){.evo-stepper__current-step-name{display:block;margin-bottom:12px;color:#21c68b;font-weight:600;text-align:center}.evo-stepper__list{margin-bottom:30px}.evo-stepper__item:before,.evo-stepper__item:after{top:7px}.evo-stepper__item:before{right:calc(50% + 10px)}.evo-stepper__item:after{left:calc(50% + 10px)}.evo-stepper__item_active .evo-stepper__item-point,.evo-stepper__item_completed .evo-stepper__item-point{border:2px solid #21C68B}.evo-stepper__item_completed .evo-stepper__item-point:before{display:none}.evo-stepper__item-point{width:16px;height:16px;background-color:transparent;border:2px solid #91B1B8}.evo-stepper__item-name,.evo-stepper__item-number{display:none}}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] });
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoStepperComponent, decorators: [{
|
|
51
|
-
type: Component,
|
|
52
|
-
args: [{ selector: 'evo-stepper', providers: [
|
|
53
|
-
EvoStepperEvents,
|
|
54
|
-
], template: "<div class=\"evo-stepper\">\n\n <ng-container\n *ngIf=\"stepsList$ | async as stepsList\"\n >\n\n <div class=\"evo-stepper__current-step-name\">{{stepsList[currentStepIndex].label}}</div>\n\n <!-- List -->\n <div class=\"evo-stepper__list\">\n <div\n class=\"evo-stepper__item\"\n *ngFor=\"let step of stepsList; index as i\"\n [evoUiClass]=\"{'active': currentStepIndex == i, 'completed': i < currentStepIndex, 'clickable': clickableItems}\"\n >\n\n <div\n class=\"evo-stepper__item-inner\"\n (click)=\"handleItemClick(i)\"\n >\n\n <div class=\"evo-stepper__item-point\">\n <div class=\"evo-stepper__item-number\">{{i + 1}}</div>\n </div>\n\n <div class=\"evo-stepper__item-name\">{{step.label}}</div>\n\n </div>\n\n </div>\n </div>\n\n </ng-container>\n\n <!-- Content -->\n <ng-content></ng-content>\n\n</div>\n", styles: [":host{display:block}.evo-stepper__current-step-name{display:none}.evo-stepper__list{display:flex;flex-direction:row;justify-content:center;align-items:flex-start;margin-bottom:40px}.evo-stepper__item{position:relative;display:flex;flex:1;flex-direction:column;justify-content:flex-start;align-items:center;padding:0 10px;text-align:center}.evo-stepper__item:before,.evo-stepper__item:after{position:absolute;top:13px;display:block;content:\"\";height:2px;background:#91B1B8}.evo-stepper__item:before{right:calc(50% + 16px);left:0}.evo-stepper__item:after{right:0;left:calc(50% + 16px)}.evo-stepper__item:first-child:before{display:none}.evo-stepper__item:last-child:after{display:none}.evo-stepper__item_completed:before,.evo-stepper__item_completed:after{background:#21C68B}.evo-stepper__item_completed .evo-stepper__item-point{background:#21C68B}.evo-stepper__item_completed .evo-stepper__item-point:before{top:6px}.evo-stepper__item_completed .evo-stepper__item-number{top:-24px}.evo-stepper__item_completed .evo-stepper__item-name{color:#21c68b}.evo-stepper__item_completed.evo-stepper__item_clickable .evo-stepper__item-inner{cursor:pointer}.evo-stepper__item_completed.evo-stepper__item_clickable .evo-stepper__item-point:hover{background:#4dd1a2}.evo-stepper__item_active:before{background:#21C68B}.evo-stepper__item_active:after{background:#91B1B8}.evo-stepper__item_active .evo-stepper__item-name{color:#21c68b}.evo-stepper__item_active .evo-stepper__item-point{background:#21C68B}.evo-stepper__item-inner{display:flex;flex-direction:column;align-items:center}.evo-stepper__item-point{position:relative;width:28px;height:28px;overflow:hidden;color:#fff;line-height:28px;text-align:center;background:#91B1B8;border-radius:50%;transition:background .3s}.evo-stepper__item-point:before{position:absolute;top:24px;left:11px;display:block;content:\"\";width:6px;height:12px;border-right:2px solid #FFFFFF;border-bottom:2px solid #FFFFFF;transform:rotate(45deg);transition:top .3s}.evo-stepper__item-number{position:relative;top:0;font-weight:600;transition:top .3s}.evo-stepper__item-name{margin-top:10px;color:#91b1b8;font-weight:600;transition:color .3s}@media (max-width: 768px){.evo-stepper__current-step-name{display:block;margin-bottom:12px;color:#21c68b;font-weight:600;text-align:center}.evo-stepper__list{margin-bottom:30px}.evo-stepper__item:before,.evo-stepper__item:after{top:7px}.evo-stepper__item:before{right:calc(50% + 10px)}.evo-stepper__item:after{left:calc(50% + 10px)}.evo-stepper__item_active .evo-stepper__item-point,.evo-stepper__item_completed .evo-stepper__item-point{border:2px solid #21C68B}.evo-stepper__item_completed .evo-stepper__item-point:before{display:none}.evo-stepper__item-point{width:16px;height:16px;background-color:transparent;border:2px solid #91B1B8}.evo-stepper__item-name,.evo-stepper__item-number{display:none}}\n"] }]
|
|
55
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.EvoStepperEvents }]; }, propDecorators: { stepComponentsList: [{
|
|
56
|
-
type: ContentChildren,
|
|
57
|
-
args: [EvoStepperItemComponent]
|
|
58
|
-
}], currentStepIndex: [{
|
|
59
|
-
type: Input
|
|
60
|
-
}], clickableItems: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}], onChange: [{
|
|
63
|
-
type: Output
|
|
64
|
-
}], clickItem: [{
|
|
65
|
-
type: Output
|
|
66
|
-
}] } });
|
|
67
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXN0ZXBwZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXN0ZXBwZXIvZXZvLXN0ZXBwZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXN0ZXBwZXIvZXZvLXN0ZXBwZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILFNBQVMsRUFBRSxLQUFLLEVBQWEsZUFBZSxFQUNsQixNQUFNLEVBQUUsWUFBW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GNsYXNzPVwiZXZvLXN0ZXBwZXJfX2l0ZW1cIlxuICAgICAgICAqbmdGb3I9XCJsZXQgc3RlcCBvZiBzdGVwc0xpc3Q7IGluZGV4IGFzIGlcIlxuICAgICAgICBbZXZvVWlDbGFzc109XCJ7J2FjdGl2ZSc6IGN1cnJlbnRTdGVwSW5kZXggPT0gaSwgJ2NvbXBsZXRlZCc6IGkgPCBjdXJyZW50U3RlcEluZGV4LCAnY2xpY2thYmxlJzogY2xpY2thYmxlSXRlbXN9XCJcbiAgICAgICAgPlxuXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBjbGFzcz1cImV2by1zdGVwcGVyX19pdGVtLWlubmVyXCJcbiAgICAgICAgICAoY2xpY2spPVwiaGFuZGxlSXRlbUNsaWNrKGkpXCJcbiAgICAgICAgICA+XG5cbiAgICAgICAgICA8ZGl2IGNsYXNzPVwiZXZvLXN0ZXBwZXJfX2l0ZW0tcG9pbnRcIj5cbiAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImV2by1zdGVwcGVyX19pdGVtLW51bWJlclwiPnt7aSArIDF9fTwvZGl2PlxuICAgICAgICAgIDwvZGl2PlxuXG4gICAgICAgICAgPGRpdiBjbGFzcz1cImV2by1zdGVwcGVyX19pdGVtLW5hbWVcIj57e3N0ZXAubGFiZWx9fTwvZGl2PlxuXG4gICAgICAgIDwvZGl2PlxuXG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cblxuICA8L25nLWNvbnRhaW5lcj5cblxuICA8IS0tIENvbnRlbnQgLS0+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cblxuPC9kaXY+XG4iXX0=
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { EvoStepperComponent } from './evo-stepper.component';
|
|
4
|
-
import { EvoStepperItemComponent } from './evo-stepper-item/evo-stepper-item.component';
|
|
5
|
-
import { EvoUiKitModule } from '../../evo-ui-kit.module';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class EvoStepperModule {
|
|
8
|
-
}
|
|
9
|
-
EvoStepperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
EvoStepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: EvoStepperModule, declarations: [EvoStepperComponent, EvoStepperItemComponent], imports: [CommonModule,
|
|
11
|
-
EvoUiKitModule], exports: [EvoStepperComponent, EvoStepperItemComponent] });
|
|
12
|
-
EvoStepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoStepperModule, imports: [CommonModule,
|
|
13
|
-
EvoUiKitModule] });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EvoStepperModule, decorators: [{
|
|
15
|
-
type: NgModule,
|
|
16
|
-
args: [{
|
|
17
|
-
imports: [
|
|
18
|
-
CommonModule,
|
|
19
|
-
EvoUiKitModule,
|
|
20
|
-
],
|
|
21
|
-
declarations: [EvoStepperComponent, EvoStepperItemComponent],
|
|
22
|
-
exports: [EvoStepperComponent, EvoStepperItemComponent],
|
|
23
|
-
}]
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXN0ZXBwZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXN0ZXBwZXIvZXZvLXN0ZXBwZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOi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