@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
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Component, EventEmitter, forwardRef, Input, Output, ViewChild, } from '@angular/core';
|
|
2
|
+
import { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { EvoControlStates } from '../../common/evo-control-state-manager/evo-control-states.enum';
|
|
4
|
+
import { EvoBaseControl } from '../../common/evo-base-control';
|
|
5
|
+
import { EvoControlErrorComponent } from '../evo-control-error/evo-control-error.component';
|
|
6
|
+
import { EvoUiClassDirective } from '../../directives/evo-ui-class.directive';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@angular/forms";
|
|
9
|
+
export class EvoCheckboxComponent extends EvoBaseControl {
|
|
10
|
+
set setIndeterminate(value) {
|
|
11
|
+
this.indeterminate = value;
|
|
12
|
+
}
|
|
13
|
+
constructor(injector, cdr) {
|
|
14
|
+
super(injector);
|
|
15
|
+
this.injector = injector;
|
|
16
|
+
this.cdr = cdr;
|
|
17
|
+
this.indeterminateChange = new EventEmitter();
|
|
18
|
+
this.indeterminate = undefined;
|
|
19
|
+
this.disabled = false;
|
|
20
|
+
}
|
|
21
|
+
onChange(_) { }
|
|
22
|
+
onTouched() { }
|
|
23
|
+
get value() {
|
|
24
|
+
return this._value;
|
|
25
|
+
}
|
|
26
|
+
set value(value) {
|
|
27
|
+
this._value = value;
|
|
28
|
+
this.onChange(value);
|
|
29
|
+
this.cdr.detectChanges();
|
|
30
|
+
}
|
|
31
|
+
get checkboxClass() {
|
|
32
|
+
return {
|
|
33
|
+
invalid: this.currentState[EvoControlStates.invalid],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
onInputChange(value) {
|
|
37
|
+
this.value = value;
|
|
38
|
+
if (this.indeterminate === true) {
|
|
39
|
+
this.indeterminate = false;
|
|
40
|
+
this.indeterminateChange.emit(false);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
writeValue(value) {
|
|
44
|
+
this.value = value;
|
|
45
|
+
}
|
|
46
|
+
// eslint-disable-next-line
|
|
47
|
+
registerOnChange(fn) {
|
|
48
|
+
this.onChange = fn;
|
|
49
|
+
}
|
|
50
|
+
// eslint-disable-next-line
|
|
51
|
+
registerOnTouched(fn) {
|
|
52
|
+
this.onTouched = fn;
|
|
53
|
+
}
|
|
54
|
+
setDisabledState(state) {
|
|
55
|
+
this.disabled = state;
|
|
56
|
+
this.cdr.detectChanges();
|
|
57
|
+
}
|
|
58
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoCheckboxComponent, deps: [{ token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
59
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.10", type: EvoCheckboxComponent, isStandalone: true, selector: "evo-checkbox", inputs: { setIndeterminate: ["indeterminate", "setIndeterminate"] }, outputs: { indeterminateChange: "indeterminateChange" }, providers: [
|
|
60
|
+
{
|
|
61
|
+
provide: NG_VALUE_ACCESSOR,
|
|
62
|
+
useExisting: forwardRef(() => EvoCheckboxComponent),
|
|
63
|
+
multi: true,
|
|
64
|
+
},
|
|
65
|
+
], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<label class=\"evo-checkbox\">\n <input\n #inputElement\n type=\"checkbox\"\n class=\"evo-checkbox__input\"\n [indeterminate]=\"indeterminate\"\n [evoUiClass]=\"checkboxClass\"\n [disabled]=\"disabled\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onInputChange($event)\"\n />\n <span class=\"evo-checkbox__text\">\n <ng-content />\n </span>\n</label>\n\n@if (showErrors) {\n <evo-control-error [errors]=\"control.errors\" [errorsMessages]=\"errorsMessages\" />\n}\n", styles: [":host{display:inline-block;color:#212121}.evo-checkbox{position:relative;display:inline-block;min-height:24px;margin:0;color:inherit}.evo-checkbox__input{position:absolute;top:1px;left:0;z-index:-1;width:16px;height:16px;opacity:0;appearance:none}.evo-checkbox__text{position:relative;display:inline-block;padding-top:1px;padding-left:32px;color:inherit;font-size:14px;line-height:22px;cursor:pointer;-webkit-user-select:none;user-select:none}.evo-checkbox__text:empty{padding-left:20px}.evo-checkbox__text:empty:after{content:\"1\";display:inline-block;width:0;visibility:hidden;opacity:0}.evo-checkbox__text:before{content:\"\";position:absolute;top:0;left:0;box-sizing:border-box;width:16px;height:16px;margin:4px;background:#fff none center;border:2px solid #C6C6C6;border-radius:2px;transition:background .3s,border-color .3s}input:checked+.evo-checkbox__text:before{background:#0986e2 url('data:image/svg+xml,<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" fill=\"%23ffffff\">%0A <path d=\"M6.85333,11.8133 C6.50667,12.16 5.94667,12.16 5.6,11.8133 L2.40889,8.62222 C2.06222,8.27556 2.06222,7.71556 2.40889,7.36889 C2.75556,7.02222 3.31556,7.02222 3.66222,7.36889 L6.22222,9.92889 L12.3378,3.81333 C12.6844,3.46667 13.2444,3.46667 13.5911,3.81333 C13.9378,4.16 13.9378,4.72 13.5911,5.06667 L6.85333,11.8133 Z\" id=\"Shape\"></path>%0A</svg>%0A') no-repeat center;border-color:#0986e2}input:indeterminate+.evo-checkbox__text:before{background:#0986e2 url('data:image/svg+xml,<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" fill=\"%23ffffff\">%0A <path d=\"M4,7 C3.44772,7 3,7.44772 3,8 C3,8.55229 3.44772,9 4,9 L12,9 C12.5523,9 13,8.55229 13,8 C13,7.44772 12.5523,7 12,7 L4,7 Z\" id=\"Shape\"></path>%0A</svg>%0A') no-repeat center;border-color:#0986e2}input:disabled:not(:checked)+.evo-checkbox__text{cursor:default}input:disabled:not(:checked)+.evo-checkbox__text:before{background-color:#f4f6f8;border-color:#c6c6c6}input.evo-checkbox_invalid+.evo-checkbox__text:before{border-color:#ff1817}input:disabled:checked+.evo-checkbox__text,input:disabled:indeterminate+.evo-checkbox__text{cursor:default}input:disabled:checked+.evo-checkbox__text:before,input:disabled:indeterminate+.evo-checkbox__text:before{background-color:#c6c6c6;border-color:#c6c6c6}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { kind: "component", type: EvoControlErrorComponent, selector: "evo-control-error", inputs: ["errors", "errorsMessages", "showCount"] }] }); }
|
|
66
|
+
}
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoCheckboxComponent, decorators: [{
|
|
68
|
+
type: Component,
|
|
69
|
+
args: [{ selector: 'evo-checkbox', providers: [
|
|
70
|
+
{
|
|
71
|
+
provide: NG_VALUE_ACCESSOR,
|
|
72
|
+
useExisting: forwardRef(() => EvoCheckboxComponent),
|
|
73
|
+
multi: true,
|
|
74
|
+
},
|
|
75
|
+
], standalone: true, imports: [FormsModule, EvoUiClassDirective, EvoControlErrorComponent], template: "<label class=\"evo-checkbox\">\n <input\n #inputElement\n type=\"checkbox\"\n class=\"evo-checkbox__input\"\n [indeterminate]=\"indeterminate\"\n [evoUiClass]=\"checkboxClass\"\n [disabled]=\"disabled\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onInputChange($event)\"\n />\n <span class=\"evo-checkbox__text\">\n <ng-content />\n </span>\n</label>\n\n@if (showErrors) {\n <evo-control-error [errors]=\"control.errors\" [errorsMessages]=\"errorsMessages\" />\n}\n", styles: [":host{display:inline-block;color:#212121}.evo-checkbox{position:relative;display:inline-block;min-height:24px;margin:0;color:inherit}.evo-checkbox__input{position:absolute;top:1px;left:0;z-index:-1;width:16px;height:16px;opacity:0;appearance:none}.evo-checkbox__text{position:relative;display:inline-block;padding-top:1px;padding-left:32px;color:inherit;font-size:14px;line-height:22px;cursor:pointer;-webkit-user-select:none;user-select:none}.evo-checkbox__text:empty{padding-left:20px}.evo-checkbox__text:empty:after{content:\"1\";display:inline-block;width:0;visibility:hidden;opacity:0}.evo-checkbox__text:before{content:\"\";position:absolute;top:0;left:0;box-sizing:border-box;width:16px;height:16px;margin:4px;background:#fff none center;border:2px solid #C6C6C6;border-radius:2px;transition:background .3s,border-color .3s}input:checked+.evo-checkbox__text:before{background:#0986e2 url('data:image/svg+xml,<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" fill=\"%23ffffff\">%0A <path d=\"M6.85333,11.8133 C6.50667,12.16 5.94667,12.16 5.6,11.8133 L2.40889,8.62222 C2.06222,8.27556 2.06222,7.71556 2.40889,7.36889 C2.75556,7.02222 3.31556,7.02222 3.66222,7.36889 L6.22222,9.92889 L12.3378,3.81333 C12.6844,3.46667 13.2444,3.46667 13.5911,3.81333 C13.9378,4.16 13.9378,4.72 13.5911,5.06667 L6.85333,11.8133 Z\" id=\"Shape\"></path>%0A</svg>%0A') no-repeat center;border-color:#0986e2}input:indeterminate+.evo-checkbox__text:before{background:#0986e2 url('data:image/svg+xml,<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" fill=\"%23ffffff\">%0A <path d=\"M4,7 C3.44772,7 3,7.44772 3,8 C3,8.55229 3.44772,9 4,9 L12,9 C12.5523,9 13,8.55229 13,8 C13,7.44772 12.5523,7 12,7 L4,7 Z\" id=\"Shape\"></path>%0A</svg>%0A') no-repeat center;border-color:#0986e2}input:disabled:not(:checked)+.evo-checkbox__text{cursor:default}input:disabled:not(:checked)+.evo-checkbox__text:before{background-color:#f4f6f8;border-color:#c6c6c6}input.evo-checkbox_invalid+.evo-checkbox__text:before{border-color:#ff1817}input:disabled:checked+.evo-checkbox__text,input:disabled:indeterminate+.evo-checkbox__text{cursor:default}input:disabled:checked+.evo-checkbox__text:before,input:disabled:indeterminate+.evo-checkbox__text:before{background-color:#c6c6c6;border-color:#c6c6c6}\n"] }]
|
|
76
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }], propDecorators: { setIndeterminate: [{
|
|
77
|
+
type: Input,
|
|
78
|
+
args: ['indeterminate']
|
|
79
|
+
}], indeterminateChange: [{
|
|
80
|
+
type: Output
|
|
81
|
+
}], inputElement: [{
|
|
82
|
+
type: ViewChild,
|
|
83
|
+
args: ['inputElement']
|
|
84
|
+
}] } });
|
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWNoZWNrYm94LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by1jaGVja2JveC9ldm8tY2hlY2tib3guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWNoZWNrYm94L2V2by1jaGVja2JveC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUgsU0FBUyxFQUVULFlBQVksRUFDWixVQUFVLEVBRVYsS0FBSyxFQUNMLE1BQU0sRUFDTixTQUFTLEdBQ1osTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUF1QixXQUFXLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUNwRixPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSxnRUFBZ0UsQ0FBQztBQUNoRyxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sK0JBQStCLENBQUM7QUFDN0QsT0FBTy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bnQgLz5cbiAgICA8L3NwYW4+XG48L2xhYmVsPlxuXG5AaWYgKHNob3dFcnJvcnMpIHtcbiAgICA8ZXZvLWNvbnRyb2wtZXJyb3IgW2Vycm9yc109XCJjb250cm9sLmVycm9yc1wiIFtlcnJvcnNNZXNzYWdlc109XCJlcnJvcnNNZXNzYWdlc1wiIC8+XG59XG4iXX0=
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { EvoCheckboxComponent } from './evo-checkbox.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class EvoCheckboxModule {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: EvoCheckboxModule, imports: [EvoCheckboxComponent], exports: [EvoCheckboxComponent] }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoCheckboxModule, imports: [EvoCheckboxComponent] }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoCheckboxModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
imports: [EvoCheckboxComponent],
|
|
13
|
+
exports: [EvoCheckboxComponent],
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWNoZWNrYm94Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by1jaGVja2JveC9ldm8tY2hlY2tib3gubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7O0FBTTlELE1BQU0sT0FBTyxpQkFBaUI7K0dBQWpCLGlCQUFpQjtnSEFBakIsaUJBQWlCLFlBSGhCLG9CQUFvQixhQUNwQixvQkFBb0I7Z0hBRXJCLGlCQUFpQixZQUhoQixvQkFBb0I7OzRGQUdyQixpQkFBaUI7a0JBSjdCLFFBQVE7bUJBQUM7b0JBQ04sT0FBTyxFQUFFLENBQUMsb0JBQW9CLENBQUM7b0JBQy9CLE9BQU8sRUFBRSxDQUFDLG9CQUFvQixDQUFDO2lCQUNsQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtFdm9DaGVja2JveENvbXBvbmVudH0gZnJvbSAnLi9ldm8tY2hlY2tib3guY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbRXZvQ2hlY2tib3hDb21wb25lbnRdLFxuICAgIGV4cG9ydHM6IFtFdm9DaGVja2JveENvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIEV2b0NoZWNrYm94TW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { Component, EventEmitter, forwardRef, Input, Output } from '@angular/core';
|
|
2
|
+
import { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { EvoBaseControl } from '../../common/evo-base-control';
|
|
4
|
+
import { EvoControlStates } from '../../common/evo-control-state-manager/evo-control-states.enum';
|
|
5
|
+
import { EvoIconComponent } from '../evo-icon/evo-icon.component';
|
|
6
|
+
import { EvoUiClassDirective } from '../../directives/evo-ui-class.directive';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@angular/forms";
|
|
9
|
+
export var EvoChipType;
|
|
10
|
+
(function (EvoChipType) {
|
|
11
|
+
EvoChipType["radio"] = "radio";
|
|
12
|
+
EvoChipType["checkbox"] = "checkbox";
|
|
13
|
+
EvoChipType["label"] = "label";
|
|
14
|
+
})(EvoChipType || (EvoChipType = {}));
|
|
15
|
+
export var EvoChipTheme;
|
|
16
|
+
(function (EvoChipTheme) {
|
|
17
|
+
EvoChipTheme["grey"] = "grey";
|
|
18
|
+
EvoChipTheme["white"] = "white";
|
|
19
|
+
})(EvoChipTheme || (EvoChipTheme = {}));
|
|
20
|
+
export class EvoChipComponent extends EvoBaseControl {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
this.closeTitle = '';
|
|
24
|
+
this.close = new EventEmitter();
|
|
25
|
+
this.templateVariables = {
|
|
26
|
+
chipTypes: EvoChipType,
|
|
27
|
+
chipThemes: EvoChipTheme,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
// eslint-disable-next-line
|
|
31
|
+
set setInitialValue(value) {
|
|
32
|
+
this.inheritedValue = value;
|
|
33
|
+
}
|
|
34
|
+
get classes() {
|
|
35
|
+
const states = {
|
|
36
|
+
touched: this.control?.touched,
|
|
37
|
+
valid: this.currentState[EvoControlStates.valid],
|
|
38
|
+
invalid: this.currentState[EvoControlStates.invalid],
|
|
39
|
+
disabled: this.control?.disabled,
|
|
40
|
+
};
|
|
41
|
+
const result = Object.keys(states).filter((key) => states[key]);
|
|
42
|
+
result.push(`theme-${this.theme || EvoChipTheme.grey}`);
|
|
43
|
+
result.push(`type-${this.type}`);
|
|
44
|
+
return result;
|
|
45
|
+
}
|
|
46
|
+
// eslint-disable-next-line
|
|
47
|
+
get value() {
|
|
48
|
+
return this._value;
|
|
49
|
+
}
|
|
50
|
+
// eslint-disable-next-line
|
|
51
|
+
set value(value) {
|
|
52
|
+
this._value = value;
|
|
53
|
+
this.onChange(value);
|
|
54
|
+
this.onTouched();
|
|
55
|
+
}
|
|
56
|
+
ngOnInit() {
|
|
57
|
+
this.initDefaultParams();
|
|
58
|
+
}
|
|
59
|
+
ngAfterViewInit() {
|
|
60
|
+
if (this.control) {
|
|
61
|
+
this.control.valueChanges.subscribe(() => {
|
|
62
|
+
this.writeValue(this.control.value);
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
// eslint-disable-next-line
|
|
67
|
+
writeValue(value) {
|
|
68
|
+
this._value = value;
|
|
69
|
+
}
|
|
70
|
+
// eslint-disable-next-line
|
|
71
|
+
registerOnChange(fn) {
|
|
72
|
+
this.onChange = fn;
|
|
73
|
+
}
|
|
74
|
+
// eslint-disable-next-line
|
|
75
|
+
registerOnTouched(fn) {
|
|
76
|
+
this.onTouched = fn;
|
|
77
|
+
}
|
|
78
|
+
onInputChange(value) {
|
|
79
|
+
this.value = value;
|
|
80
|
+
}
|
|
81
|
+
onCloseClick(e) {
|
|
82
|
+
this.close.emit(e);
|
|
83
|
+
}
|
|
84
|
+
initDefaultParams() {
|
|
85
|
+
if (!this.type) {
|
|
86
|
+
this.type = EvoChipType.radio;
|
|
87
|
+
}
|
|
88
|
+
if (!this.theme) {
|
|
89
|
+
this.theme = EvoChipTheme.grey;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
onChange(value) { }
|
|
93
|
+
onTouched() { }
|
|
94
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoChipComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
95
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.10", type: EvoChipComponent, isStandalone: true, selector: "evo-chip", inputs: { type: "type", theme: "theme", counter: "counter", disabled: "disabled", name: "name", closable: "closable", closeTitle: "closeTitle", setInitialValue: ["value", "setInitialValue"] }, outputs: { close: "close" }, providers: [
|
|
96
|
+
{
|
|
97
|
+
provide: NG_VALUE_ACCESSOR,
|
|
98
|
+
useExisting: forwardRef(() => EvoChipComponent),
|
|
99
|
+
multi: true,
|
|
100
|
+
},
|
|
101
|
+
], usesInheritance: true, ngImport: i0, template: "<label class=\"chip\" [evoUiClass]=\"classes\">\n @switch (type) {\n @case (templateVariables?.chipTypes.checkbox) {\n <input\n type=\"checkbox\"\n [disabled]=\"disabled\"\n [ngModel]=\"value\"\n [value]=\"inheritedValue\"\n [name]=\"name\"\n (ngModelChange)=\"onInputChange($event)\"\n />\n }\n @case (templateVariables?.chipTypes.radio) {\n <input\n type=\"radio\"\n [disabled]=\"disabled\"\n [ngModel]=\"value\"\n [value]=\"inheritedValue\"\n [name]=\"name\"\n (ngModelChange)=\"onInputChange($event)\"\n />\n }\n }\n\n <div class=\"chip__label\" [evoUiClass]=\"{disabled: disabled}\">\n <span class=\"chip__text\">\n <ng-content />\n </span>\n\n @if ((type !== templateVariables?.chipTypes.label || !closable) && counter !== undefined) {\n <div class=\"chip__counter\">\n <span class=\"chip__counter-value\">\n {{ counter }}\n </span>\n </div>\n }\n\n @if (closable) {\n <button\n type=\"button\"\n class=\"chip__close\"\n [disabled]=\"disabled\"\n [title]=\"closeTitle\"\n (click)=\"onCloseClick($event)\"\n >\n <evo-icon shape=\"decline\" />\n </button>\n }\n </div>\n</label>\n", styles: [".chip{position:relative;display:inline-flex;max-width:100%}.chip__label{display:flex;align-items:center;max-width:inherit;height:32px;margin:0;padding:3px 12px;overflow:hidden;color:#0986e2;font-family:var(--evo-font);font-style:normal;font-size:14px;line-height:24px;font-weight:600;background-color:#f4f6f8;border-radius:16px;cursor:pointer;transition:color .3s,background-color .3s;-webkit-user-select:none;user-select:none}.chip input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.chip input:disabled+.chip__label,.chip .chip__label_disabled{color:#fff!important;background-color:#c6c6c6!important}.chip input:checked+.chip__label{color:#fff;background-color:#0986e2}.chip input:checked+.chip__label:focus,.chip input:checked+.chip__label:hover{background-color:#3a9ee8}.chip input:checked+.chip__label:active{background-color:#0879cb}.chip input:not(:checked)+.chip__label{color:#0986e2}.chip_theme-white:not(.chip_type-label) input:not(:checked)+.chip__label{background-color:#fff}.chip_theme-white:not(.chip_type-label) input:not(:checked):focus+.chip__label,.chip_theme-white:not(.chip_type-label) input:not(:checked):hover+.chip__label{background-color:#fdfdfe}.chip_theme-white:not(.chip_type-label) input:not(:checked):active+.chip__label{background-color:#dcdddf}.chip_theme-grey:not(.chip_type-label) input:not(:checked)+.chip__label{background-color:#f4f6f8}.chip_theme-grey:not(.chip_type-label) input:not(:checked):focus+.chip__label,.chip_theme-grey:not(.chip_type-label) input:not(:checked):hover+.chip__label{background-color:#f6f8f9}.chip_theme-grey:not(.chip_type-label) input:not(:checked):active+.chip__label{background-color:#dcdddf}.chip_type-label .chip__label{color:#fff;background-color:#0986e2;cursor:default}.chip__text{display:inline-block;align-items:center;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chip__counter{display:flex;justify-content:center;align-items:center;min-width:18px;min-height:18px;margin-right:-5px;margin-left:8px;overflow:hidden;color:#fff;font-weight:700;font-size:12px;background-color:#f05023;border-radius:9px}.chip__counter-value{margin:0 3px;line-height:16px}.chip__close{position:relative;display:block;width:24px;height:24px;margin:0 -9px 0 8px;padding:0;color:#fff;background:none;border:none;cursor:pointer;transition:opacity .3s}.chip__close:not(:disabled):hover{opacity:.8}.chip__close:not(:disabled):active{opacity:.9}.chip__close evo-icon{z-index:1;display:block;width:100%;height:100%;fill:currentColor}:host{display:inline-block;max-width:100%}\n"], dependencies: [{ kind: "directive", type: EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: EvoIconComponent, selector: "evo-icon", inputs: ["shape", "svgWidth", "svgHeight", "svgViewBox"] }] }); }
|
|
102
|
+
}
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoChipComponent, decorators: [{
|
|
104
|
+
type: Component,
|
|
105
|
+
args: [{ selector: 'evo-chip', providers: [
|
|
106
|
+
{
|
|
107
|
+
provide: NG_VALUE_ACCESSOR,
|
|
108
|
+
useExisting: forwardRef(() => EvoChipComponent),
|
|
109
|
+
multi: true,
|
|
110
|
+
},
|
|
111
|
+
], standalone: true, imports: [EvoUiClassDirective, FormsModule, EvoIconComponent], template: "<label class=\"chip\" [evoUiClass]=\"classes\">\n @switch (type) {\n @case (templateVariables?.chipTypes.checkbox) {\n <input\n type=\"checkbox\"\n [disabled]=\"disabled\"\n [ngModel]=\"value\"\n [value]=\"inheritedValue\"\n [name]=\"name\"\n (ngModelChange)=\"onInputChange($event)\"\n />\n }\n @case (templateVariables?.chipTypes.radio) {\n <input\n type=\"radio\"\n [disabled]=\"disabled\"\n [ngModel]=\"value\"\n [value]=\"inheritedValue\"\n [name]=\"name\"\n (ngModelChange)=\"onInputChange($event)\"\n />\n }\n }\n\n <div class=\"chip__label\" [evoUiClass]=\"{disabled: disabled}\">\n <span class=\"chip__text\">\n <ng-content />\n </span>\n\n @if ((type !== templateVariables?.chipTypes.label || !closable) && counter !== undefined) {\n <div class=\"chip__counter\">\n <span class=\"chip__counter-value\">\n {{ counter }}\n </span>\n </div>\n }\n\n @if (closable) {\n <button\n type=\"button\"\n class=\"chip__close\"\n [disabled]=\"disabled\"\n [title]=\"closeTitle\"\n (click)=\"onCloseClick($event)\"\n >\n <evo-icon shape=\"decline\" />\n </button>\n }\n </div>\n</label>\n", styles: [".chip{position:relative;display:inline-flex;max-width:100%}.chip__label{display:flex;align-items:center;max-width:inherit;height:32px;margin:0;padding:3px 12px;overflow:hidden;color:#0986e2;font-family:var(--evo-font);font-style:normal;font-size:14px;line-height:24px;font-weight:600;background-color:#f4f6f8;border-radius:16px;cursor:pointer;transition:color .3s,background-color .3s;-webkit-user-select:none;user-select:none}.chip input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.chip input:disabled+.chip__label,.chip .chip__label_disabled{color:#fff!important;background-color:#c6c6c6!important}.chip input:checked+.chip__label{color:#fff;background-color:#0986e2}.chip input:checked+.chip__label:focus,.chip input:checked+.chip__label:hover{background-color:#3a9ee8}.chip input:checked+.chip__label:active{background-color:#0879cb}.chip input:not(:checked)+.chip__label{color:#0986e2}.chip_theme-white:not(.chip_type-label) input:not(:checked)+.chip__label{background-color:#fff}.chip_theme-white:not(.chip_type-label) input:not(:checked):focus+.chip__label,.chip_theme-white:not(.chip_type-label) input:not(:checked):hover+.chip__label{background-color:#fdfdfe}.chip_theme-white:not(.chip_type-label) input:not(:checked):active+.chip__label{background-color:#dcdddf}.chip_theme-grey:not(.chip_type-label) input:not(:checked)+.chip__label{background-color:#f4f6f8}.chip_theme-grey:not(.chip_type-label) input:not(:checked):focus+.chip__label,.chip_theme-grey:not(.chip_type-label) input:not(:checked):hover+.chip__label{background-color:#f6f8f9}.chip_theme-grey:not(.chip_type-label) input:not(:checked):active+.chip__label{background-color:#dcdddf}.chip_type-label .chip__label{color:#fff;background-color:#0986e2;cursor:default}.chip__text{display:inline-block;align-items:center;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chip__counter{display:flex;justify-content:center;align-items:center;min-width:18px;min-height:18px;margin-right:-5px;margin-left:8px;overflow:hidden;color:#fff;font-weight:700;font-size:12px;background-color:#f05023;border-radius:9px}.chip__counter-value{margin:0 3px;line-height:16px}.chip__close{position:relative;display:block;width:24px;height:24px;margin:0 -9px 0 8px;padding:0;color:#fff;background:none;border:none;cursor:pointer;transition:opacity .3s}.chip__close:not(:disabled):hover{opacity:.8}.chip__close:not(:disabled):active{opacity:.9}.chip__close evo-icon{z-index:1;display:block;width:100%;height:100%;fill:currentColor}:host{display:inline-block;max-width:100%}\n"] }]
|
|
112
|
+
}], propDecorators: { type: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], theme: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], counter: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], disabled: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}], name: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}], closable: [{
|
|
123
|
+
type: Input
|
|
124
|
+
}], closeTitle: [{
|
|
125
|
+
type: Input
|
|
126
|
+
}], setInitialValue: [{
|
|
127
|
+
type: Input,
|
|
128
|
+
args: ['value']
|
|
129
|
+
}], close: [{
|
|
130
|
+
type: Output
|
|
131
|
+
}] } });
|
|
132
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWNoaXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWNoaXAvZXZvLWNoaXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vL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gICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIH1cblxuICAgICAgICBAaWYgKGNsb3NhYmxlKSB7XG4gICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJjaGlwX19jbG9zZVwiXG4gICAgICAgICAgICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcbiAgICAgICAgICAgICAgICBbdGl0bGVdPVwiY2xvc2VUaXRsZVwiXG4gICAgICAgICAgICAgICAgKGNsaWNrKT1cIm9uQ2xvc2VDbGljaygkZXZlbnQpXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8ZXZvLWljb24gc2hhcGU9XCJkZWNsaW5lXCIgLz5cbiAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICB9XG4gICAgPC9kaXY+XG48L2xhYmVsPlxuIl19
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { EvoChipComponent } from './evo-chip.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class EvoChipModule {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: EvoChipModule, imports: [EvoChipComponent], exports: [EvoChipComponent] }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoChipModule, imports: [EvoChipComponent] }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoChipModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
imports: [EvoChipComponent],
|
|
13
|
+
exports: [EvoChipComponent],
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWNoaXAubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWNoaXAvZXZvLWNoaXAubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sc0JBQXNCLENBQUM7O0FBTXRELE1BQU0sT0FBTyxhQUFhOytHQUFiLGFBQWE7Z0hBQWIsYUFBYSxZQUhaLGdCQUFnQixhQUNoQixnQkFBZ0I7Z0hBRWpCLGFBQWEsWUFIWixnQkFBZ0I7OzRGQUdqQixhQUFhO2tCQUp6QixRQUFRO21CQUFDO29CQUNOLE9BQU8sRUFBRSxDQUFDLGdCQUFnQixDQUFDO29CQUMzQixPQUFPLEVBQUUsQ0FBQyxnQkFBZ0IsQ0FBQztpQkFDOUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7RXZvQ2hpcENvbXBvbmVudH0gZnJvbSAnLi9ldm8tY2hpcC5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtFdm9DaGlwQ29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbRXZvQ2hpcENvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIEV2b0NoaXBNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import { SafeHtmlPipe } from '../../pipes/safe-html.pipe';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class EvoControlErrorComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.showCount = 1;
|
|
7
|
+
this.defaultErrorMessages = {
|
|
8
|
+
required: 'Заполните поле',
|
|
9
|
+
email: 'Неправильно указана почта',
|
|
10
|
+
phone: 'Введите телефон',
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
get errorsMap() {
|
|
14
|
+
const messages = {
|
|
15
|
+
...this.defaultErrorMessages,
|
|
16
|
+
...(this.errorsMessages || {}),
|
|
17
|
+
};
|
|
18
|
+
const errorKeys = Object.keys(this.errors || {});
|
|
19
|
+
const result = [];
|
|
20
|
+
for (let index = 0; index < this.showCount && index < errorKeys.length; index++) {
|
|
21
|
+
if (messages[errorKeys[index]]) {
|
|
22
|
+
result.push(messages[errorKeys[index]]);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return result;
|
|
26
|
+
}
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoControlErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.10", type: EvoControlErrorComponent, isStandalone: true, selector: "evo-control-error", inputs: { errors: "errors", errorsMessages: "errorsMessages", showCount: "showCount" }, ngImport: i0, template: "@for (errorMsg of errorsMap; track errorMsg) {\n <div class=\"evo-error\" [innerHTML]=\"errorMsg | safeHtml\"></div>\n}\n", styles: [".evo-error:not(:empty){margin-top:8px;font-family:var(--evo-font);font-style:normal;font-size:14px;line-height:22px;font-weight:400;font-style:italic;color:#ff1817}\n"], dependencies: [{ kind: "pipe", type: SafeHtmlPipe, name: "safeHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoControlErrorComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{ selector: 'evo-control-error', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [SafeHtmlPipe], template: "@for (errorMsg of errorsMap; track errorMsg) {\n <div class=\"evo-error\" [innerHTML]=\"errorMsg | safeHtml\"></div>\n}\n", styles: [".evo-error:not(:empty){margin-top:8px;font-family:var(--evo-font);font-style:normal;font-size:14px;line-height:22px;font-weight:400;font-style:italic;color:#ff1817}\n"] }]
|
|
33
|
+
}], propDecorators: { errors: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], errorsMessages: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], showCount: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}] } });
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWNvbnRyb2wtZXJyb3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWNvbnRyb2wtZXJyb3IvZXZvLWNvbnRyb2wtZXJyb3IuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWNvbnRyb2wtZXJyb3IvZXZvLWNvbnRyb2wtZXJyb3IuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxLQUFLLE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KGVycm9yTXNnIG9mIGVycm9yc01hcDsgdHJhY2sgZXJyb3JNc2cpIHtcbiAgICA8ZGl2IGNsYXNzPVwiZXZvLWVycm9yXCIgW2lubmVySFRNTF09XCJlcnJvck1zZyB8IHNhZmVIdG1sXCI+PC9kaXY+XG59XG4iXX0=
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { EvoControlErrorComponent } from './evo-control-error.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class EvoControlErrorModule {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoControlErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: EvoControlErrorModule, imports: [EvoControlErrorComponent], exports: [EvoControlErrorComponent] }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoControlErrorModule }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoControlErrorModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
imports: [EvoControlErrorComponent],
|
|
13
|
+
exports: [EvoControlErrorComponent],
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWNvbnRyb2wtZXJyb3IubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWNvbnRyb2wtZXJyb3IvZXZvLWNvbnRyb2wtZXJyb3IubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sK0JBQStCLENBQUM7O0FBTXZFLE1BQU0sT0FBTyxxQkFBcUI7K0dBQXJCLHFCQUFxQjtnSEFBckIscUJBQXFCLFlBSHBCLHdCQUF3QixhQUN4Qix3QkFBd0I7Z0hBRXpCLHFCQUFxQjs7NEZBQXJCLHFCQUFxQjtrQkFKakMsUUFBUTttQkFBQztvQkFDTixPQUFPLEVBQUUsQ0FBQyx3QkFBd0IsQ0FBQztvQkFDbkMsT0FBTyxFQUFFLENBQUMsd0JBQXdCLENBQUM7aUJBQ3RDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0V2b0NvbnRyb2xFcnJvckNvbXBvbmVudH0gZnJvbSAnLi9ldm8tY29udHJvbC1lcnJvci5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtFdm9Db250cm9sRXJyb3JDb21wb25lbnRdLFxuICAgIGV4cG9ydHM6IFtFdm9Db250cm9sRXJyb3JDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBFdm9Db250cm9sRXJyb3JNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class EvoControlLabelComponent {
|
|
5
|
+
get isStringLabel() {
|
|
6
|
+
return typeof this.label === 'string';
|
|
7
|
+
}
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoControlLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.10", type: EvoControlLabelComponent, isStandalone: true, selector: "evo-control-label", inputs: { label: "label", context: "context" }, ngImport: i0, template: "<div class=\"evo-control-label\">\n <label class=\"evo-control-label__text\">\n @if (isStringLabel) {\n {{ label || ' ' }}\n } @else {\n <ng-container [ngTemplateOutlet]=\"label\" [ngTemplateOutletContext]=\"context\" />\n }\n </label>\n <div class=\"evo-control-label__content\">\n <ng-content />\n </div>\n</div>\n", styles: [":host{display:block}.evo-control-label{white-space:inherit}.evo-control-label__text{display:flex;justify-content:flex-start;align-items:center;margin-right:8px;margin-bottom:8px;font-family:var(--evo-font);font-style:normal;font-size:14px;line-height:22px;font-weight:400;color:#727272;white-space:inherit;cursor:default}.evo-control-label__content{white-space:normal}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoControlLabelComponent, decorators: [{
|
|
12
|
+
type: Component,
|
|
13
|
+
args: [{ selector: 'evo-control-label', standalone: true, imports: [NgTemplateOutlet], template: "<div class=\"evo-control-label\">\n <label class=\"evo-control-label__text\">\n @if (isStringLabel) {\n {{ label || ' ' }}\n } @else {\n <ng-container [ngTemplateOutlet]=\"label\" [ngTemplateOutletContext]=\"context\" />\n }\n </label>\n <div class=\"evo-control-label__content\">\n <ng-content />\n </div>\n</div>\n", styles: [":host{display:block}.evo-control-label{white-space:inherit}.evo-control-label__text{display:flex;justify-content:flex-start;align-items:center;margin-right:8px;margin-bottom:8px;font-family:var(--evo-font);font-style:normal;font-size:14px;line-height:22px;font-weight:400;color:#727272;white-space:inherit;cursor:default}.evo-control-label__content{white-space:normal}\n"] }]
|
|
14
|
+
}], propDecorators: { label: [{
|
|
15
|
+
type: Input
|
|
16
|
+
}], context: [{
|
|
17
|
+
type: Input
|
|
18
|
+
}] } });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWNvbnRyb2wtbGFiZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWNvbnRyb2wtbGFiZWwvZXZvLWNvbnRyb2wtbGFiZWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWNvbnRyb2wtbGFiZWwvZXZvLWNvbnRyb2wtbGFiZWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQWMsTUFBTSxlQUFlLENBQUM7QUFDNUQsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0saUJBQWlCLENBQUM7O0FBU2pELE1BQU0sT0FBTyx3QkFBd0I7SUFLakMsSUFBSSxhQUFhO1FBQ2IsT0FBTyxPQUFPLElBQUksQ0FBQyxLQUFLLEtBQUssUUFBUSxDQUFDO0lBQzFDLENBQUM7K0dBUFEsd0JBQXdCO21HQUF4Qix3QkFBd0IsNkhDVnJDLGlZQVlBLDRhREpjLGdCQUFnQjs7NEZBRWpCLHdCQUF3QjtrQkFQcEMsU0FBUzsrQkFDSSxtQkFBbUIsY0FHakIsSUFBSSxXQUNQLENBQUMsZ0JBQWdCLENBQUM7OEJBSWxCLEtBQUs7c0JBQWIsS0FBSztnQkFD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aW5lciBbbmdUZW1wbGF0ZU91dGxldF09XCJsYWJlbFwiIFtuZ1RlbXBsYXRlT3V0bGV0Q29udGV4dF09XCJjb250ZXh0XCIgLz5cbiAgICAgICAgfVxuICAgIDwvbGFiZWw+XG4gICAgPGRpdiBjbGFzcz1cImV2by1jb250cm9sLWxhYmVsX19jb250ZW50XCI+XG4gICAgICAgIDxuZy1jb250ZW50IC8+XG4gICAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { EvoControlLabelComponent } from './evo-control-label.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class EvoControlLabelModule {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoControlLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: EvoControlLabelModule, imports: [EvoControlLabelComponent], exports: [EvoControlLabelComponent] }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoControlLabelModule }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoControlLabelModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
imports: [EvoControlLabelComponent],
|
|
13
|
+
exports: [EvoControlLabelComponent],
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWNvbnRyb2wtbGFiZWwubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWNvbnRyb2wtbGFiZWwvZXZvLWNvbnRyb2wtbGFiZWwubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sK0JBQStCLENBQUM7O0FBTXZFLE1BQU0sT0FBTyxxQkFBcUI7K0dBQXJCLHFCQUFxQjtnSEFBckIscUJBQXFCLFlBSHBCLHdCQUF3QixhQUN4Qix3QkFBd0I7Z0hBRXpCLHFCQUFxQjs7NEZBQXJCLHFCQUFxQjtrQkFKakMsUUFBUTttQkFBQztvQkFDTixPQUFPLEVBQUUsQ0FBQyx3QkFBd0IsQ0FBQztvQkFDbkMsT0FBTyxFQUFFLENBQUMsd0JBQXdCLENBQUM7aUJBQ3RDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0V2b0NvbnRyb2xMYWJlbENvbXBvbmVudH0gZnJvbSAnLi9ldm8tY29udHJvbC1sYWJlbC5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtFdm9Db250cm9sTGFiZWxDb21wb25lbnRdLFxuICAgIGV4cG9ydHM6IFtFdm9Db250cm9sTGFiZWxDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBFdm9Db250cm9sTGFiZWxNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import { EvoUiClassDirective } from '../../directives/evo-ui-class.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export var EvoCounterSize;
|
|
5
|
+
(function (EvoCounterSize) {
|
|
6
|
+
EvoCounterSize["small"] = "small";
|
|
7
|
+
EvoCounterSize["normal"] = "normal";
|
|
8
|
+
})(EvoCounterSize || (EvoCounterSize = {}));
|
|
9
|
+
export class EvoCounterComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.size = EvoCounterSize.normal;
|
|
12
|
+
}
|
|
13
|
+
set setSize(size) {
|
|
14
|
+
if (EvoCounterSize[size]) {
|
|
15
|
+
this.size = EvoCounterSize[size];
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
get blockClasses() {
|
|
19
|
+
return {
|
|
20
|
+
disabled: this.disabled,
|
|
21
|
+
[`size-${this.size}`]: this.size !== EvoCounterSize.normal,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoCounterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: EvoCounterComponent, isStandalone: true, selector: "evo-counter", inputs: { value: "value", disabled: "disabled", setSize: ["size", "setSize"] }, ngImport: i0, template: "<div class=\"evo-counter\" [evoUiClass]=\"blockClasses\">\n <span class=\"evo-counter__value\">{{value}}</span>\n</div>\n", styles: [".evo-counter{display:inline-flex;justify-content:center;align-items:center;width:fit-content;min-width:20px;height:20px;padding:1px 6px;background-color:#f05023;border-radius:32px}.evo-counter_disabled{background-color:#c6c6c6}.evo-counter__value{color:#fff;font:var(--evo-font);font-weight:700;font-size:13px;line-height:18px}.evo-counter_size-small{min-width:18px;height:18px;padding:0 6px}.evo-counter_size-small .evo-counter__value{font-weight:600;font-size:10px;line-height:14px}\n"], dependencies: [{ kind: "directive", type: EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoCounterComponent, decorators: [{
|
|
28
|
+
type: Component,
|
|
29
|
+
args: [{ selector: 'evo-counter', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [EvoUiClassDirective], template: "<div class=\"evo-counter\" [evoUiClass]=\"blockClasses\">\n <span class=\"evo-counter__value\">{{value}}</span>\n</div>\n", styles: [".evo-counter{display:inline-flex;justify-content:center;align-items:center;width:fit-content;min-width:20px;height:20px;padding:1px 6px;background-color:#f05023;border-radius:32px}.evo-counter_disabled{background-color:#c6c6c6}.evo-counter__value{color:#fff;font:var(--evo-font);font-weight:700;font-size:13px;line-height:18px}.evo-counter_size-small{min-width:18px;height:18px;padding:0 6px}.evo-counter_size-small .evo-counter__value{font-weight:600;font-size:10px;line-height:14px}\n"] }]
|
|
30
|
+
}], propDecorators: { value: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], disabled: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}], setSize: [{
|
|
35
|
+
type: Input,
|
|
36
|
+
args: ['size']
|
|
37
|
+
}] } });
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWNvdW50ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWNvdW50ZXIvZXZvLWNvdW50ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWNvdW50ZXIvZXZvLWNvdW50ZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ik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ICAgICAgICAgdGhpcy5zaXplID0gRXZvQ291bnRlclNpemVbc2l6ZV07XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBnZXQgYmxvY2tDbGFzc2VzKCk6IHtbY3NzQ2xhc3M6IHN0cmluZ106IGJvb2xlYW59IHtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIGRpc2FibGVkOiB0aGlzLmRpc2FibGVkLFxuICAgICAgICAgICAgW2BzaXplLSR7dGhpcy5zaXplfWBdOiB0aGlzLnNpemUgIT09IEV2b0NvdW50ZXJTaXplLm5vcm1hbCxcbiAgICAgICAgfTtcbiAgICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwiZXZvLWNvdW50ZXJcIiBbZXZvVWlDbGFzc109XCJibG9ja0NsYXNzZXNcIj5cbiAgICA8c3BhbiBjbGFzcz1cImV2by1jb3VudGVyX192YWx1ZVwiPnt7dmFsdWV9fTwvc3Bhbj5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { EvoCounterComponent } from './evo-counter.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class EvoCounterModule {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoCounterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: EvoCounterModule, imports: [EvoCounterComponent], exports: [EvoCounterComponent] }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoCounterModule }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EvoCounterModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
imports: [EvoCounterComponent],
|
|
13
|
+
exports: [EvoCounterComponent],
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWNvdW50ZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLWNvdW50ZXIvZXZvLWNvdW50ZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0seUJBQXlCLENBQUM7O0FBTTVELE1BQU0sT0FBTyxnQkFBZ0I7K0dBQWhCLGdCQUFnQjtnSEFBaEIsZ0JBQWdCLFlBSGYsbUJBQW1CLGFBQ25CLG1CQUFtQjtnSEFFcEIsZ0JBQWdCOzs0RkFBaEIsZ0JBQWdCO2tCQUo1QixRQUFRO21CQUFDO29CQUNOLE9BQU8sRUFBRSxDQUFDLG1CQUFtQixDQUFDO29CQUM5QixPQUFPLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztpQkFDakMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7RXZvQ291bnRlckNvbXBvbmVudH0gZnJvbSAnLi9ldm8tY291bnRlci5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtFdm9Db3VudGVyQ29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbRXZvQ291bnRlckNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIEV2b0NvdW50ZXJNb2R1bGUge31cbiJdfQ==
|