@snabcentr/client-ui 1.18.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/accordion/sc-accordion-content.directive.d.ts +2 -2
- package/accordion/sc-accordion.component.d.ts +4 -4
- package/accordion/sc-accordion.module.d.ts +2 -2
- package/auth/index.d.ts +2 -1
- package/auth/interfaces/{ApiErrorResponse.d.ts → api-error-response.d.ts} +1 -3
- package/auth/interfaces/index.d.ts +3 -0
- package/auth/interfaces/sc-bank-account-form-group.d.ts +11 -0
- package/auth/interfaces/sc-contact-form-group.d.ts +10 -0
- package/auth/sc-auth.module.d.ts +14 -8
- package/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.d.ts +5 -9
- package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +4 -9
- package/auth/sc-sign-in-form/sc-sign-in-form.component.d.ts +9 -5
- package/auth/sign-up-form/sc-sign-up-form.component.d.ts +153 -0
- package/banner/sc-banner.component.d.ts +9 -5
- package/banner/sc-banner.module.d.ts +5 -4
- package/brands-list/index.d.ts +2 -0
- package/brands-list/sc-brands-list.component.d.ts +15 -0
- package/brands-list/sc-brands-list.module.d.ts +12 -0
- package/cart/cart-item-mobile/sc-cart-item-mobile.component.d.ts +16 -16
- package/cart/sc-cart.module.d.ts +3 -3
- package/catalog/categories-list/sc-categories-list.component.d.ts +9 -3
- package/catalog/category-card/sc-category-card.component.d.ts +1 -1
- package/catalog/input-quantity/sc-input-quantity.component.d.ts +6 -14
- package/catalog/price-card/sc-price-card.component.d.ts +11 -105
- package/catalog/price-history/sc-price-history.component.d.ts +11 -5
- package/catalog/price-list-pagination/sc-price-list-pagination.component.d.ts +10 -5
- package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +1 -1
- package/catalog/sc-catalog.module.d.ts +5 -4
- package/catalog/sc-favorite-btn/sc-favorite-btn.component.d.ts +1 -1
- package/contacts/add-contact-dialog/sc-add-contact-dialog.component.d.ts +11 -6
- package/contacts/contacts-accordion/sc-contacts-accordion.component.d.ts +1 -1
- package/contacts/new-contact-form/sc-new-contact-form.component.d.ts +1 -1
- package/contacts/sc-contacts.module.d.ts +6 -1
- package/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.d.ts +3 -3
- package/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.d.ts +23 -15
- package/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.d.ts +1 -1
- package/contragents/contragents-accordion/sc-contragents-accordion.component.d.ts +1 -1
- package/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.d.ts +1 -1
- package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +31 -16
- package/contragents/sc-contragents.module.d.ts +6 -4
- package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +83 -8
- package/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.d.ts +1 -1
- package/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.d.ts +1 -1
- package/delivery-address/sc-delivery-address.module.d.ts +4 -2
- package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +107 -0
- package/directives/index.d.ts +6 -2
- package/directives/next-input-focus/sc-next-input-focus.directive.d.ts +18 -0
- package/directives/next-input-focus/sc-next-input-focus.module.d.ts +10 -0
- package/directives/tel-link/sc-tel-link.directive.d.ts +27 -0
- package/directives/tel-link/sc-tel-link.module.d.ts +11 -0
- package/directives/terminal-link/sc-terminal-link.directive.d.ts +34 -0
- package/esm2022/accordion/sc-accordion-content.directive.mjs +17 -0
- package/esm2022/accordion/sc-accordion.component.mjs +88 -0
- package/esm2022/accordion/sc-accordion.module.mjs +26 -0
- package/esm2022/auth/index.mjs +8 -0
- package/esm2022/auth/interfaces/api-error-response.mjs +2 -0
- package/esm2022/auth/interfaces/index.mjs +4 -0
- package/esm2022/auth/interfaces/sc-bank-account-form-group.mjs +2 -0
- package/esm2022/auth/interfaces/sc-contact-form-group.mjs +2 -0
- package/esm2022/auth/sc-auth.module.mjs +98 -0
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +72 -0
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +70 -0
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +89 -0
- package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +321 -0
- package/esm2022/banner/sc-banner.component.mjs +234 -0
- package/esm2022/banner/sc-banner.module.mjs +29 -0
- package/esm2022/brands-list/index.mjs +3 -0
- package/esm2022/brands-list/sc-brands-list.component.mjs +24 -0
- package/esm2022/brands-list/sc-brands-list.module.mjs +22 -0
- package/esm2022/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +121 -0
- package/esm2022/cart/sc-cart.module.mjs +54 -0
- package/esm2022/catalog/categories-list/sc-categories-list.component.mjs +92 -0
- package/esm2022/catalog/category-card/sc-category-card.component.mjs +120 -0
- package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +141 -0
- package/esm2022/catalog/price-card/sc-price-card.component.mjs +64 -0
- package/esm2022/catalog/price-history/sc-price-history.component.mjs +126 -0
- package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +49 -0
- package/{esm2020 → esm2022}/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +6 -6
- package/esm2022/catalog/sc-catalog.module.mjs +120 -0
- package/esm2022/catalog/sc-favorite-btn/sc-favorite-btn.component.mjs +42 -0
- package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +89 -0
- package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +38 -0
- package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +30 -0
- package/esm2022/contacts/sc-contacts.module.mjs +88 -0
- package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +80 -0
- package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +262 -0
- package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +75 -0
- package/{esm2020 → esm2022}/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +6 -6
- package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +64 -0
- package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +220 -0
- package/esm2022/contragents/sc-contragents.module.mjs +110 -0
- package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +230 -0
- package/{esm2020 → esm2022}/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +6 -6
- package/{esm2020 → esm2022}/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +6 -6
- package/esm2022/delivery-address/sc-delivery-address.module.mjs +84 -0
- package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +131 -0
- package/esm2022/directives/index.mjs +7 -0
- package/esm2022/directives/next-input-focus/sc-next-input-focus.directive.mjs +43 -0
- package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +19 -0
- package/esm2022/directives/tel-link/sc-tel-link.directive.mjs +58 -0
- package/esm2022/directives/tel-link/sc-tel-link.module.mjs +20 -0
- package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +69 -0
- package/esm2022/files/directives/tree-top.directive.mjs +63 -0
- package/{esm2020 → esm2022}/files/directives/tree.directive.mjs +5 -5
- package/esm2022/files/file-tree-item/file-tree-item.component.mjs +18 -0
- package/esm2022/files/files-and-documents/files-and-documents.component.mjs +60 -0
- package/esm2022/files/files-and-documents.module.mjs +27 -0
- package/esm2022/files/services/tree-icon.service.mjs +49 -0
- package/{esm2020 → esm2022}/files/services/tree-loader.service.mjs +5 -5
- package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +128 -0
- package/esm2022/form-fields/form-fields.module.mjs +69 -0
- package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +134 -0
- package/{esm2020 → esm2022}/helpers/sc-px-converter.mjs +4 -4
- package/esm2022/helpers/sc-units-helper.mjs +45 -0
- package/{esm2020 → esm2022}/news/news-card/sc-news-card.component.mjs +4 -4
- package/{esm2020 → esm2022}/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +4 -4
- package/{esm2020 → esm2022}/news/sc-news.module.mjs +5 -5
- package/esm2022/order/order-item-mobile/order-item-mobile.component.mjs +80 -0
- package/esm2022/order/sc-order.module.mjs +29 -0
- package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +35 -0
- package/esm2022/pipes/index.mjs +2 -0
- package/esm2022/pipes/sc-formatted-phone.mjs +34 -0
- package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +182 -0
- package/esm2022/profile/sc-profile.module.mjs +77 -0
- package/{esm2020 → esm2022}/providers/index.mjs +1 -2
- package/esm2022/providers/scUserProviders.mjs +27 -0
- package/esm2022/public-api.mjs +30 -0
- package/esm2022/qrcode/index.mjs +3 -0
- package/esm2022/qrcode/qrcode-dialog/sc-qrcode-dialog.component.mjs +58 -0
- package/esm2022/qrcode/sc-qrcode.module.mjs +25 -0
- package/esm2022/samples/ask-to-sample-form/sc-ask-to-sample-form.component.mjs +37 -0
- package/esm2022/samples/index.mjs +5 -0
- package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +2 -0
- package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +83 -0
- package/esm2022/samples/sc-sample.module.mjs +59 -0
- package/{esm2020 → esm2022}/share-button/sc-share-button.component.mjs +5 -5
- package/esm2022/share-button/sc-share-button.module.mjs +22 -0
- package/esm2022/user/index.mjs +6 -0
- package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +71 -0
- package/esm2022/user/sc-user.module.mjs +89 -0
- package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +117 -0
- package/esm2022/user/user-managers/sc-user-managers.component.mjs +41 -0
- package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +102 -0
- package/{esm2020 → esm2022}/validators/index.mjs +2 -2
- package/esm2022/validators/sc-password-confirm-matching-validator.mjs +17 -0
- package/esm2022/validators/stepValidator.mjs +18 -0
- package/esm2022/verification/sc-verification.module.mjs +68 -0
- package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +198 -0
- package/fesm2022/snabcentr-client-ui.mjs +5710 -0
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -0
- package/files/directives/tree-top.directive.d.ts +1 -1
- package/files/directives/tree.directive.d.ts +1 -1
- package/files/file-tree-item/file-tree-item.component.d.ts +3 -3
- package/files/files-and-documents/files-and-documents.component.d.ts +1 -1
- package/files/files-and-documents.module.d.ts +1 -1
- package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +17 -11
- package/form-fields/form-fields.module.d.ts +5 -3
- package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +10 -2
- package/helpers/sc-units-helper.d.ts +6 -6
- package/news/news-card/sc-news-card.component.d.ts +1 -1
- package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +1 -1
- package/order/order-item-mobile/order-item-mobile.component.d.ts +9 -9
- package/order/sc-order.module.d.ts +4 -2
- package/order/sc-payment-status/sc-payment-status.component.d.ts +1 -1
- package/package.json +42 -45
- package/pipes/index.d.ts +1 -0
- package/pipes/sc-formatted-phone.d.ts +19 -0
- package/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.d.ts +3 -3
- package/profile/sc-profile.module.d.ts +6 -4
- package/providers/index.d.ts +0 -1
- package/providers/scUserProviders.d.ts +2 -3
- package/public-api.d.ts +4 -0
- package/qrcode/index.d.ts +2 -0
- package/qrcode/qrcode-dialog/sc-qrcode-dialog.component.d.ts +37 -0
- package/qrcode/sc-qrcode.module.d.ts +14 -0
- package/samples/ask-to-sample-form/sc-ask-to-sample-form.component.d.ts +18 -0
- package/samples/index.d.ts +4 -0
- package/samples/interfaces/sc-i-preview-sample.d.ts +47 -0
- package/samples/preview-sample/sc-preview-sample.component.d.ts +48 -0
- package/samples/sc-sample.module.d.ts +19 -0
- package/share-button/sc-share-button.component.d.ts +1 -1
- package/share-button/sc-share-button.module.d.ts +1 -1
- package/styles/taiga/taiga-tailwind-preset.js +121 -0
- package/styles/taiga/variables.less +17 -14
- package/styles/tailwind/tailwind.scss +252 -61
- package/user/index.d.ts +1 -0
- package/user/reset-user-password/sc-reset-user-password.component.d.ts +3 -3
- package/user/sc-user.module.d.ts +12 -8
- package/user/update-user-info-dialog/sc-update-user-info-dialog.component.d.ts +13 -9
- package/user/user-managers/sc-user-managers.component.d.ts +26 -0
- package/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.d.ts +13 -8
- package/validators/index.d.ts +1 -1
- package/validators/{scPasswordConfirmMatchingValidator.d.ts → sc-password-confirm-matching-validator.d.ts} +1 -1
- package/verification/sc-verification.module.d.ts +5 -4
- package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +18 -18
- package/directives/carousel-item-hidden/sc-carousel-item-hidden.directive.d.ts +0 -24
- package/directives/carousel-item-hidden/sc-carousel-item-hidden.module.d.ts +0 -11
- package/esm2020/accordion/sc-accordion-content.directive.mjs +0 -17
- package/esm2020/accordion/sc-accordion.component.mjs +0 -88
- package/esm2020/accordion/sc-accordion.module.mjs +0 -25
- package/esm2020/auth/index.mjs +0 -7
- package/esm2020/auth/interfaces/ApiErrorResponse.mjs +0 -2
- package/esm2020/auth/sc-auth.module.mjs +0 -79
- package/esm2020/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +0 -76
- package/esm2020/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +0 -75
- package/esm2020/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +0 -71
- package/esm2020/banner/sc-banner.component.mjs +0 -232
- package/esm2020/banner/sc-banner.module.mjs +0 -26
- package/esm2020/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +0 -120
- package/esm2020/cart/sc-cart.module.mjs +0 -65
- package/esm2020/catalog/categories-list/sc-categories-list.component.mjs +0 -84
- package/esm2020/catalog/category-card/sc-category-card.component.mjs +0 -120
- package/esm2020/catalog/input-quantity/sc-input-quantity.component.mjs +0 -163
- package/esm2020/catalog/price-card/sc-price-card.component.mjs +0 -175
- package/esm2020/catalog/price-history/sc-price-history.component.mjs +0 -114
- package/esm2020/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +0 -37
- package/esm2020/catalog/sc-catalog.module.mjs +0 -128
- package/esm2020/catalog/sc-favorite-btn/sc-favorite-btn.component.mjs +0 -41
- package/esm2020/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +0 -71
- package/esm2020/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +0 -35
- package/esm2020/contacts/new-contact-form/sc-new-contact-form.component.mjs +0 -28
- package/esm2020/contacts/sc-contacts.module.mjs +0 -92
- package/esm2020/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +0 -71
- package/esm2020/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +0 -249
- package/esm2020/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +0 -75
- package/esm2020/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +0 -61
- package/esm2020/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +0 -183
- package/esm2020/contragents/sc-contragents.module.mjs +0 -103
- package/esm2020/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +0 -79
- package/esm2020/delivery-address/sc-delivery-address.module.mjs +0 -77
- package/esm2020/directives/carousel-item-hidden/sc-carousel-item-hidden.directive.mjs +0 -40
- package/esm2020/directives/carousel-item-hidden/sc-carousel-item-hidden.module.mjs +0 -21
- package/esm2020/directives/index.mjs +0 -3
- package/esm2020/files/directives/tree-top.directive.mjs +0 -63
- package/esm2020/files/file-tree-item/file-tree-item.component.mjs +0 -18
- package/esm2020/files/files-and-documents/files-and-documents.component.mjs +0 -60
- package/esm2020/files/files-and-documents.module.mjs +0 -26
- package/esm2020/files/services/tree-icon.service.mjs +0 -48
- package/esm2020/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +0 -122
- package/esm2020/form-fields/form-fields.module.mjs +0 -80
- package/esm2020/form-fields/suggestion-field/sc-suggestion-field.component.mjs +0 -116
- package/esm2020/helpers/sc-units-helper.mjs +0 -44
- package/esm2020/order/order-item-mobile/order-item-mobile.component.mjs +0 -79
- package/esm2020/order/sc-order.module.mjs +0 -25
- package/esm2020/order/sc-payment-status/sc-payment-status.component.mjs +0 -35
- package/esm2020/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +0 -177
- package/esm2020/profile/sc-profile.module.mjs +0 -80
- package/esm2020/providers/productsPagination.mjs +0 -99
- package/esm2020/providers/scUserProviders.mjs +0 -30
- package/esm2020/public-api.mjs +0 -26
- package/esm2020/share-button/sc-share-button.module.mjs +0 -22
- package/esm2020/user/index.mjs +0 -5
- package/esm2020/user/reset-user-password/sc-reset-user-password.component.mjs +0 -67
- package/esm2020/user/sc-user.module.mjs +0 -88
- package/esm2020/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +0 -105
- package/esm2020/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +0 -91
- package/esm2020/validators/scPasswordConfirmMatchingValidator.mjs +0 -17
- package/esm2020/validators/stepValidator.mjs +0 -18
- package/esm2020/verification/sc-verification.module.mjs +0 -73
- package/esm2020/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +0 -184
- package/fesm2015/snabcentr-client-ui.mjs +0 -4861
- package/fesm2015/snabcentr-client-ui.mjs.map +0 -1
- package/fesm2020/snabcentr-client-ui.mjs +0 -4781
- package/fesm2020/snabcentr-client-ui.mjs.map +0 -1
- package/providers/productsPagination.d.ts +0 -43
- /package/{esm2020 → esm2022}/accordion/index.mjs +0 -0
- /package/{esm2020 → esm2022}/auth/enums/auth-method.mjs +0 -0
- /package/{esm2020 → esm2022}/banner/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cart/index.mjs +0 -0
- /package/{esm2020 → esm2022}/catalog/index.mjs +0 -0
- /package/{esm2020 → esm2022}/contacts/index.mjs +0 -0
- /package/{esm2020 → esm2022}/contragents/index.mjs +0 -0
- /package/{esm2020 → esm2022}/delivery-address/index.mjs +0 -0
- /package/{esm2020 → esm2022}/files/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/files/index.mjs +0 -0
- /package/{esm2020 → esm2022}/files/interfaces/tree-node.mjs +0 -0
- /package/{esm2020 → esm2022}/files/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/form-fields/index.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/icons/index.mjs +0 -0
- /package/{esm2020 → esm2022}/icons/sc-client-ui-icons-name.mjs +0 -0
- /package/{esm2020 → esm2022}/loader/index.mjs +0 -0
- /package/{esm2020 → esm2022}/loader/sc-i-loader.mjs +0 -0
- /package/{esm2020 → esm2022}/masks/index.mjs +0 -0
- /package/{esm2020 → esm2022}/masks/sc-account-number-mask.mjs +0 -0
- /package/{esm2020 → esm2022}/masks/sc-bic-mask.mjs +0 -0
- /package/{esm2020 → esm2022}/masks/sc-correspondent-account-mask.mjs +0 -0
- /package/{esm2020 → esm2022}/masks/sc-inn-mask.mjs +0 -0
- /package/{esm2020 → esm2022}/masks/sc-kpp-mask.mjs +0 -0
- /package/{esm2020 → esm2022}/masks/sc-okpo-mask.mjs +0 -0
- /package/{esm2020 → esm2022}/masks/sc-phone-verification-code-mask.mjs +0 -0
- /package/{esm2020 → esm2022}/news/index.mjs +0 -0
- /package/{esm2020 → esm2022}/order/index.mjs +0 -0
- /package/{esm2020 → esm2022}/profile/index.mjs +0 -0
- /package/{esm2020 → esm2022}/share-button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/snabcentr-client-ui.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/sc-linear-values-token.mjs +0 -0
- /package/{esm2020 → esm2022}/validators/scBicValidator.mjs +0 -0
- /package/{esm2020 → esm2022}/validators/scCorrespondentAccountValidator.mjs +0 -0
- /package/{esm2020 → esm2022}/verification/index.mjs +0 -0
@@ -0,0 +1,47 @@
|
|
1
|
+
/**
|
2
|
+
* Модель данных образцов товара.
|
3
|
+
*/
|
4
|
+
export interface ScIPreviewSample {
|
5
|
+
/**
|
6
|
+
* Заголовок.
|
7
|
+
*/
|
8
|
+
title: string;
|
9
|
+
/**
|
10
|
+
* Описание (подзаголовок).
|
11
|
+
*/
|
12
|
+
description: string;
|
13
|
+
/**
|
14
|
+
* Экземпляры образцов.
|
15
|
+
*/
|
16
|
+
items?: Array<{
|
17
|
+
/**
|
18
|
+
* Ссылка на изображение кнопки переключателя.
|
19
|
+
*/
|
20
|
+
buttonImageUrl: string;
|
21
|
+
/**
|
22
|
+
* Ссылка на изображение в галерее, соответствующее кнопке.
|
23
|
+
*/
|
24
|
+
carouselItemImage: string;
|
25
|
+
}>;
|
26
|
+
/**
|
27
|
+
* Ссылка на изображение товара в описании.
|
28
|
+
*/
|
29
|
+
descriptionImageUrl?: string;
|
30
|
+
/**
|
31
|
+
* Элементы кнопок взаимодействия.
|
32
|
+
*/
|
33
|
+
actions?: Array<{
|
34
|
+
/**
|
35
|
+
* Значок элемента взаимодействия.
|
36
|
+
*/
|
37
|
+
icon: string;
|
38
|
+
/**
|
39
|
+
* Подпись элемента взаимодействия.
|
40
|
+
*/
|
41
|
+
label: string;
|
42
|
+
/**
|
43
|
+
* Обработчик элемента взаимодействия.
|
44
|
+
*/
|
45
|
+
handler: (...atr: unknown[]) => unknown;
|
46
|
+
}>;
|
47
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
2
|
+
import { ScIPreviewSample } from '../interfaces/sc-i-preview-sample';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Компонент представления образцов товара.
|
6
|
+
*/
|
7
|
+
export declare class ScPreviewSampleComponent {
|
8
|
+
/**
|
9
|
+
* Индекс элемента в галерее.
|
10
|
+
*/
|
11
|
+
index: number;
|
12
|
+
/**
|
13
|
+
* {@link EventEmitter} изменения индекса элемента в галерее.
|
14
|
+
*/
|
15
|
+
readonly indexChange: EventEmitter<number>;
|
16
|
+
/**
|
17
|
+
* Объект данных товара.
|
18
|
+
*/
|
19
|
+
sample: ScIPreviewSample;
|
20
|
+
/**
|
21
|
+
* Признак, что необходимо отображать переключатели на карусели.
|
22
|
+
*/
|
23
|
+
isShowCarouselSwitches: boolean;
|
24
|
+
/**
|
25
|
+
* Признак, что при горизонтальном отображении компонент должен быть развёрнут.
|
26
|
+
*/
|
27
|
+
isReverse: boolean;
|
28
|
+
/**
|
29
|
+
* {@link Observable} изменения индекса элемента в галерее для автоматического переключения по таймеру.
|
30
|
+
*/
|
31
|
+
indexChangeInterval: import("rxjs").Observable<number>;
|
32
|
+
/**
|
33
|
+
* Переключает на предыдущее изображение в галерее.
|
34
|
+
*/
|
35
|
+
onPrevious(): void;
|
36
|
+
/**
|
37
|
+
* Переключает на следующее изображение в галерее.
|
38
|
+
*/
|
39
|
+
onNext(): void;
|
40
|
+
/**
|
41
|
+
* Обработчик изменения индекса элемента в галерее.
|
42
|
+
*
|
43
|
+
* @param index Индекс элемента в галерее.
|
44
|
+
*/
|
45
|
+
onChangeIndex(index: number): void;
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScPreviewSampleComponent, never>;
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScPreviewSampleComponent, "sc-preview-sample", never, { "index": { "alias": "index"; "required": false; }; "sample": { "alias": "sample"; "required": false; }; "isShowCarouselSwitches": { "alias": "isShowCarouselSwitches"; "required": false; }; "isReverse": { "alias": "isReverse"; "required": false; }; }, { "indexChange": "indexChange"; }, never, never, false, never>;
|
48
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./preview-sample/sc-preview-sample.component";
|
3
|
+
import * as i2 from "./ask-to-sample-form/sc-ask-to-sample-form.component";
|
4
|
+
import * as i3 from "@angular/common";
|
5
|
+
import * as i4 from "@angular/forms";
|
6
|
+
import * as i5 from "@taiga-ui/core";
|
7
|
+
import * as i6 from "@taiga-ui/kit";
|
8
|
+
import * as i7 from "../form-fields/form-fields.module";
|
9
|
+
import * as i8 from "@taiga-ui/legacy";
|
10
|
+
import * as i9 from "@taiga-ui/cdk/directives/item";
|
11
|
+
import * as i10 from "@taiga-ui/cdk";
|
12
|
+
/**
|
13
|
+
* Модуль представления образцов товара.
|
14
|
+
*/
|
15
|
+
export declare class ScPreviewSampleModule {
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScPreviewSampleModule, never>;
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScPreviewSampleModule, [typeof i1.ScPreviewSampleComponent, typeof i2.ScAskToSampleFormComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.TuiError, typeof i6.TuiFieldErrorPipe, typeof i7.ScFormFieldsModule, typeof i8.TuiInputModule, typeof i8.TuiInputPhoneModule, typeof i9.TuiItem, typeof i6.TuiCarouselComponent, typeof i6.TuiCarouselDirective, typeof i6.TuiCarouselAutoscroll, typeof i6.TuiCarouselButtons, typeof i6.TuiCarouselScroll, typeof i6.TuiAvatar, typeof i10.TuiHovered, typeof i10.TuiLet, typeof i5.TuiButton, typeof i5.TuiLabel], [typeof i1.ScPreviewSampleComponent, typeof i2.ScAskToSampleFormComponent]>;
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ScPreviewSampleModule>;
|
19
|
+
}
|
@@ -18,5 +18,5 @@ export declare class ScShareButtonComponent {
|
|
18
18
|
*/
|
19
19
|
clickShareEvent: EventEmitter<void>;
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScShareButtonComponent, never>;
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScShareButtonComponent, "sc-share-button", never, { "appearance": "appearance"; "size": "size"; }, { "clickShareEvent": "clickShareEvent"; }, never, never, false>;
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScShareButtonComponent, "sc-share-button", never, { "appearance": { "alias": "appearance"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "clickShareEvent": "clickShareEvent"; }, never, never, false, never>;
|
22
22
|
}
|
@@ -7,6 +7,6 @@ import * as i3 from "@taiga-ui/core";
|
|
7
7
|
*/
|
8
8
|
export declare class ScShareButtonModule {
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScShareButtonModule, never>;
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScShareButtonModule, [typeof i1.ScShareButtonComponent], [typeof i2.CommonModule, typeof i3.
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScShareButtonModule, [typeof i1.ScShareButtonComponent], [typeof i2.CommonModule, typeof i3.TuiButton], [typeof i1.ScShareButtonComponent]>;
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<ScShareButtonModule>;
|
12
12
|
}
|
@@ -7,10 +7,131 @@ module.exports = {
|
|
7
7
|
'tui-heading': 'var(--tui-font-heading)',
|
8
8
|
'tui-text': 'var(--tui-font-text)',
|
9
9
|
},
|
10
|
+
fontSize: {
|
11
|
+
h1: [
|
12
|
+
'3.125rem',
|
13
|
+
{
|
14
|
+
lineHeight: '3.5rem',
|
15
|
+
fontWeight: '800',
|
16
|
+
},
|
17
|
+
],
|
18
|
+
h2: [
|
19
|
+
'2.75rem',
|
20
|
+
{
|
21
|
+
lineHeight: '3rem',
|
22
|
+
fontWeight: '800',
|
23
|
+
},
|
24
|
+
],
|
25
|
+
h3: [
|
26
|
+
'2.25rem',
|
27
|
+
{
|
28
|
+
lineHeight: '2.5rem',
|
29
|
+
fontWeight: '800',
|
30
|
+
},
|
31
|
+
],
|
32
|
+
h4: [
|
33
|
+
'1.75rem',
|
34
|
+
{
|
35
|
+
lineHeight: '2rem',
|
36
|
+
fontWeight: '800',
|
37
|
+
},
|
38
|
+
],
|
39
|
+
h5: [
|
40
|
+
'1.5rem',
|
41
|
+
{
|
42
|
+
lineHeight: '1.75rem',
|
43
|
+
fontWeight: '800',
|
44
|
+
},
|
45
|
+
],
|
46
|
+
h6: [
|
47
|
+
'1.25rem',
|
48
|
+
{
|
49
|
+
lineHeight: '1.5rem',
|
50
|
+
fontWeight: '800',
|
51
|
+
},
|
52
|
+
],
|
53
|
+
'body-xl-bold': [
|
54
|
+
'1.1875rem',
|
55
|
+
{
|
56
|
+
lineHeight: '1.75rem',
|
57
|
+
fontWeight: ' 800',
|
58
|
+
},
|
59
|
+
],
|
60
|
+
'body-xl': [
|
61
|
+
'1.1875rem',
|
62
|
+
{
|
63
|
+
lineHeight: '1.75rem',
|
64
|
+
fontWeight: '500',
|
65
|
+
},
|
66
|
+
],
|
67
|
+
'body-l-bold': [
|
68
|
+
'1.0625rem',
|
69
|
+
{
|
70
|
+
lineHeight: '1.75rem',
|
71
|
+
fontWeight: ' 800',
|
72
|
+
},
|
73
|
+
],
|
74
|
+
'body-l': [
|
75
|
+
'1.0625rem',
|
76
|
+
{
|
77
|
+
lineHeight: '1.75rem',
|
78
|
+
fontWeight: '500',
|
79
|
+
},
|
80
|
+
],
|
81
|
+
'body-m-bold': [
|
82
|
+
'0.9375rem',
|
83
|
+
{
|
84
|
+
lineHeight: '1.5rem',
|
85
|
+
fontWeight: ' 800',
|
86
|
+
},
|
87
|
+
],
|
88
|
+
'body-m': [
|
89
|
+
'0.9375rem',
|
90
|
+
{
|
91
|
+
lineHeight: '1.5rem',
|
92
|
+
fontWeight: '500',
|
93
|
+
},
|
94
|
+
],
|
95
|
+
'body-s-bold': [
|
96
|
+
'0.8125rem',
|
97
|
+
{
|
98
|
+
lineHeight: '1.25rem',
|
99
|
+
fontWeight: ' 800',
|
100
|
+
},
|
101
|
+
],
|
102
|
+
'body-s': [
|
103
|
+
'0.8125rem',
|
104
|
+
{
|
105
|
+
lineHeight: '1.25rem',
|
106
|
+
fontWeight: '500',
|
107
|
+
},
|
108
|
+
],
|
109
|
+
'body-xs-bold': [
|
110
|
+
'0.6875rem',
|
111
|
+
{
|
112
|
+
lineHeight: '1rem',
|
113
|
+
fontWeight: ' 800',
|
114
|
+
},
|
115
|
+
],
|
116
|
+
'body-xs': [
|
117
|
+
'0.6875rem',
|
118
|
+
{
|
119
|
+
lineHeight: '1rem',
|
120
|
+
fontWeight: '500',
|
121
|
+
},
|
122
|
+
],
|
123
|
+
},
|
10
124
|
boxShadow: {
|
11
125
|
'sc-1': '0px 5px 20px 0px rgba(0, 0, 0, 0.10)',
|
12
126
|
'sc-2': '0px 2px 3px 0px rgba(0, 0, 0, 0.10)',
|
13
127
|
'sc-border-inner': 'inset 0 0 0 0.0625rem',
|
128
|
+
'tui-shadow': 'var(--tui-shadow)',
|
129
|
+
'tui-shadow-hover': 'var(--tui-shadow-hover)',
|
130
|
+
'tui-shadow-dropdown': 'var(--tui-shadow-dropdown)',
|
131
|
+
'tui-shadow-modal': 'var(--tui-shadow-modal)',
|
132
|
+
'tui-shadow-sidebar': 'var(--tui-shadow-sidebar)',
|
133
|
+
'tui-shadow-navigation': 'var(--tui-shadow-navigation)',
|
134
|
+
'tui-shadow-sheet': 'var(--tui-shadow-sheet)',
|
14
135
|
},
|
15
136
|
borderRadius: {
|
16
137
|
'tui-radius-xs': 'var(--tui-radius-xs)',
|
@@ -1,17 +1,20 @@
|
|
1
1
|
:root {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
--tui-
|
6
|
-
--tui-
|
7
|
-
--tui-
|
8
|
-
--tui-
|
9
|
-
--tui-
|
10
|
-
--tui-
|
11
|
-
--tui-
|
12
|
-
--tui-
|
13
|
-
--tui-
|
14
|
-
--tui-
|
2
|
+
// Sizes
|
3
|
+
--tui-skeleton-radius: var(--tui-radius-m);
|
4
|
+
// Base colors
|
5
|
+
--tui-background-accent-1: #ffcc40; // primary buttons, background
|
6
|
+
--tui-background-accent-1-hover: #ffe49b; // primary buttons hover
|
7
|
+
--tui-background-accent-1-pressed: #ffbb00; // primary buttons pressed
|
8
|
+
--tui-background-neutral-1: #f4f4f4; // primary buttons, background
|
9
|
+
--tui-background-neutral-1-hover: #ececec; // primary buttons hover
|
10
|
+
--tui-background-neutral-1-pressed: #e0e0e0; // primary buttons pressed
|
11
|
+
--tui-background-neutral-1: rgba(246, 246, 246, 1); // translucent dark fill
|
12
|
+
--tui-background-neutral-1: rgb(230, 229, 229); // translucent dark fill disabled
|
13
|
+
--tui-background-neutral-1-hover: rgba(238, 239, 239, 1); // translucent dark fill hover
|
14
|
+
--tui-background-neutral-1-pressed: rgba(224, 223, 224, 1); // translucent dark fill pressed
|
15
|
+
--tui-background-neutral-1: rgba(255, 255, 255, 0.16); // translucent light fill
|
16
|
+
--tui-background-neutral-1-hover: rgba(255, 255, 255, 0.24); // translucent light fill hover
|
17
|
+
--tui-background-neutral-1-pressed: rgba(255, 255, 255, 0.4); // translucent light fill pressed
|
15
18
|
}
|
16
19
|
|
17
20
|
sc-input-quantity {
|
@@ -29,7 +32,7 @@ sc-input-quantity {
|
|
29
32
|
}
|
30
33
|
|
31
34
|
&._invalid {
|
32
|
-
color: var(--tui-
|
35
|
+
color: var(--tui-status-negative) !important;
|
33
36
|
}
|
34
37
|
|
35
38
|
input {
|