@snabcentr/client-ui 1.19.0 → 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 +1 -1
- package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +1 -1
- package/auth/sc-sign-in-form/sc-sign-in-form.component.d.ts +1 -1
- 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/{esm2020 → esm2022}/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +6 -6
- 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 -64
- package/esm2020/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +0 -63
- package/esm2020/banner/sc-banner.component.mjs +0 -234
- 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 -4858
- package/fesm2015/snabcentr-client-ui.mjs.map +0 -1
- package/fesm2020/snabcentr-client-ui.mjs +0 -4778
- 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
@@ -29,5 +29,5 @@ export declare class TreeTopDirective implements TreeNode {
|
|
29
29
|
*/
|
30
30
|
createdAt?: string;
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreeTopDirective, never>;
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeTopDirective, "[scTopNodeText]", never, { "text": "scTopNodeText"; "icon": "scTopNodeIcon"; "link": "scTopNodeLink"; "hasChildren": "scTopNodeChilds"; "id": "scTopNodeParent"; "createdAt": "scTopNodeDate"; }, {}, never, never, false>;
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeTopDirective, "[scTopNodeText]", never, { "text": { "alias": "scTopNodeText"; "required": false; }; "icon": { "alias": "scTopNodeIcon"; "required": false; }; "link": { "alias": "scTopNodeLink"; "required": false; }; "hasChildren": { "alias": "scTopNodeChilds"; "required": false; }; "id": { "alias": "scTopNodeParent"; "required": false; }; "createdAt": { "alias": "scTopNodeDate"; "required": false; }; }, {}, never, never, false, never>;
|
33
33
|
}
|
@@ -31,5 +31,5 @@ export declare class TreeDirective {
|
|
31
31
|
*/
|
32
32
|
onToggled(node: TreeNode): void;
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreeDirective, never>;
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeDirective, "[scTree]", ["scTree"], {}, {}, never, never, false>;
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeDirective, "[scTree]", ["scTree"], {}, {}, never, never, false, never>;
|
35
35
|
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { TuiTreeItemContent } from '@taiga-ui/kit';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
/**
|
4
4
|
* Компонент для удаления стандартного значка элемента дерева.
|
5
5
|
*/
|
6
|
-
export declare class FileTreeItemComponent extends
|
6
|
+
export declare class FileTreeItemComponent extends TuiTreeItemContent {
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileTreeItemComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileTreeItemComponent, "sc-file-tree-item", never, {}, {}, never, never, false>;
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileTreeItemComponent, "sc-file-tree-item", never, {}, {}, never, never, false, never>;
|
9
9
|
}
|
@@ -23,5 +23,5 @@ export declare class FilesAndDocumentsComponent {
|
|
23
23
|
*/
|
24
24
|
constructor(loading: unknown, iconService: TreeIconService, filesService: ScFilesService);
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilesAndDocumentsComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilesAndDocumentsComponent, "sc-files-and-documents", never, {}, {}, never, never, false>;
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilesAndDocumentsComponent, "sc-files-and-documents", never, {}, {}, never, never, false, never>;
|
27
27
|
}
|
@@ -11,6 +11,6 @@ import * as i7 from "@taiga-ui/core";
|
|
11
11
|
*/
|
12
12
|
export declare class FilesAndDocumentsModule {
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilesAndDocumentsModule, never>;
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FilesAndDocumentsModule, [typeof i1.FilesAndDocumentsComponent, typeof i2.TreeDirective, typeof i3.TreeTopDirective, typeof i4.FileTreeItemComponent], [typeof i5.CommonModule, typeof i6.
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FilesAndDocumentsModule, [typeof i1.FilesAndDocumentsComponent, typeof i2.TreeDirective, typeof i3.TreeTopDirective, typeof i4.FileTreeItemComponent], [typeof i5.CommonModule, typeof i6.TuiTreeComponent, typeof i6.TuiTreeItem, typeof i6.TuiTreeItemContent, typeof i6.TuiTreeChildren, typeof i6.TuiTreeItemController, typeof i6.TuiTreeControllerDirective, typeof i6.TuiTreeNode, typeof i7.TuiIcon, typeof i7.TuiLoader, typeof i7.TuiLink], [typeof i1.FilesAndDocumentsComponent]>;
|
15
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<FilesAndDocumentsModule>;
|
16
16
|
}
|
@@ -34,9 +34,18 @@ export declare class ScAddressesSelectionFieldComponent implements OnInit {
|
|
34
34
|
*/
|
35
35
|
cities$: Observable<ScICity[] | null>;
|
36
36
|
/**
|
37
|
-
*
|
37
|
+
* Ссылка для автоматического управления уничтожением зависимостей.
|
38
38
|
*/
|
39
|
-
|
39
|
+
private destroyRef;
|
40
|
+
/**
|
41
|
+
* Функция преобразования объекта сортировки в значение, отображаемое в поле ввода.
|
42
|
+
*
|
43
|
+
* @param item Выбранный объект выпадающего списка.
|
44
|
+
* @param item.name Название страны/региона/города, которое будет отображено в поле.
|
45
|
+
*/
|
46
|
+
readonly stringify: (item: {
|
47
|
+
name: string;
|
48
|
+
}) => string;
|
40
49
|
/**
|
41
50
|
* Инициализирует экземпляр класса {@link ScAddressesSelectionFieldComponent}.
|
42
51
|
*
|
@@ -44,22 +53,19 @@ export declare class ScAddressesSelectionFieldComponent implements OnInit {
|
|
44
53
|
* @param locationsService Сервис для получения списков стран, регионов, городов.
|
45
54
|
*/
|
46
55
|
constructor(formGroupDirective: FormGroupDirective, locationsService: ScLocationsService);
|
56
|
+
/**
|
57
|
+
* `FormControl` поля идентификатора города.
|
58
|
+
*/
|
59
|
+
get cityIdControl(): FormControl<string | null>;
|
47
60
|
/** @inheritDoc */
|
48
61
|
ngOnInit(): void;
|
49
62
|
/**
|
50
63
|
* Заполнение полей банковских реквизитов на основе выбранной подсказки.
|
51
64
|
*
|
52
65
|
* @param suggestion Объект подсказки по банку.
|
66
|
+
* @param city Идентификатор записи города.
|
53
67
|
*/
|
54
68
|
onSelectedCity(city: ScICity | null): void;
|
55
|
-
/**
|
56
|
-
* Функция преобразования объекта сортировки в значение, отображаемое в поле ввода.
|
57
|
-
*
|
58
|
-
* @param item Выбранный объект выпадающего списка.
|
59
|
-
*/
|
60
|
-
readonly stringify: (item: {
|
61
|
-
name: string;
|
62
|
-
}) => string;
|
63
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddressesSelectionFieldComponent, [{ skipSelf: true; }, null]>;
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddressesSelectionFieldComponent, "sc-addresses-selection-field", never, {}, {}, never, never, false>;
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddressesSelectionFieldComponent, "sc-addresses-selection-field", never, {}, {}, never, never, false, never>;
|
65
71
|
}
|
@@ -3,15 +3,17 @@ import * as i1 from "./addresses-selection-field/sc-addresses-selection-field.co
|
|
3
3
|
import * as i2 from "./suggestion-field/sc-suggestion-field.component";
|
4
4
|
import * as i3 from "@angular/common";
|
5
5
|
import * as i4 from "@angular/forms";
|
6
|
-
import * as i5 from "@taiga-ui/
|
6
|
+
import * as i5 from "@taiga-ui/legacy";
|
7
7
|
import * as i6 from "@taiga-ui/core";
|
8
8
|
import * as i7 from "@taiga-ui/cdk";
|
9
|
-
import * as i8 from "@
|
9
|
+
import * as i8 from "@taiga-ui/kit";
|
10
|
+
import * as i9 from "@taiga-ui/core/components/data-list";
|
11
|
+
import * as i10 from "@maskito/angular";
|
10
12
|
/**
|
11
13
|
* Модуль полей ввода.
|
12
14
|
*/
|
13
15
|
export declare class ScFormFieldsModule {
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScFormFieldsModule, never>;
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScFormFieldsModule, [typeof i1.ScAddressesSelectionFieldComponent, typeof i2.ScSuggestionFieldComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.TuiInputModule, typeof
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScFormFieldsModule, [typeof i1.ScAddressesSelectionFieldComponent, typeof i2.ScSuggestionFieldComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.TuiInputModule, typeof i5.TuiTextfieldControllerModule, typeof i6.TuiLabel, typeof i7.TuiLet, typeof i8.TuiFieldErrorPipe, typeof i6.TuiError, typeof i6.TuiDataListComponent, typeof i6.TuiDataListDirective, typeof i6.TuiOption, typeof i6.TuiOptGroup, typeof i6.TuiLoader, typeof i5.TuiComboBoxModule, typeof i8.TuiDataListWrapperComponent, typeof i8.TuiDataListGroupWrapperComponent, typeof i9.TuiDataListDirective, typeof i8.TuiFilterByInputPipe, typeof i8.TuiStringifyContentPipe, typeof i5.TuiInputPhoneModule, typeof i6.TuiButton, typeof i10.MaskitoDirective], [typeof i1.ScAddressesSelectionFieldComponent, typeof i2.ScSuggestionFieldComponent]>;
|
16
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<ScFormFieldsModule>;
|
17
19
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
2
2
|
import { NgControl } from '@angular/forms';
|
3
3
|
import { ScISuggestionType, ScSuggestion, ScSuggestionService } from '@snabcentr/client-core';
|
4
4
|
import { Observable } from 'rxjs';
|
@@ -13,6 +13,10 @@ export declare class ScSuggestionFieldComponent implements OnInit {
|
|
13
13
|
* Тип подсказок.
|
14
14
|
*/
|
15
15
|
type: ScISuggestionType;
|
16
|
+
/**
|
17
|
+
* Событие выбора результата подсказки.
|
18
|
+
*/
|
19
|
+
selectedClick: EventEmitter<ScSuggestion>;
|
16
20
|
/**
|
17
21
|
* {@link Observable} подсказок.
|
18
22
|
*/
|
@@ -25,6 +29,10 @@ export declare class ScSuggestionFieldComponent implements OnInit {
|
|
25
29
|
* Перечисление типов подсказок.
|
26
30
|
*/
|
27
31
|
readonly suggestionType: typeof ScISuggestionType;
|
32
|
+
/**
|
33
|
+
* Компонент обёртка выпадающего списка.
|
34
|
+
*/
|
35
|
+
private readonly host;
|
28
36
|
/**
|
29
37
|
* Инициализирует экземпляр класса {@link ScSuggestionFieldComponent}.
|
30
38
|
*
|
@@ -41,5 +49,5 @@ export declare class ScSuggestionFieldComponent implements OnInit {
|
|
41
49
|
*/
|
42
50
|
onSelected(suggestion: ScSuggestion): void;
|
43
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScSuggestionFieldComponent, [{ skipSelf: true; }, null]>;
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScSuggestionFieldComponent, "sc-suggestion-field", never, { "type": "type"; }, {}, never, never, false>;
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScSuggestionFieldComponent, "sc-suggestion-field", never, { "type": { "alias": "type"; "required": false; }; }, { "selectedClick": "selectedClick"; }, never, never, false, never>;
|
45
53
|
}
|
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
4
4
|
* Класс хэлпер для работы со значениями единиц измерения товара.
|
5
5
|
*/
|
6
|
-
export declare class
|
6
|
+
export declare class ScUnitsHelper {
|
7
7
|
readonly linearValues: string[];
|
8
8
|
/**
|
9
|
-
* Инициирует экземпляр класса {@link
|
9
|
+
* Инициирует экземпляр класса {@link ScUnitsHelper}.
|
10
10
|
*
|
11
11
|
* @param linearValues Единицы измерения линейной величины.
|
12
12
|
*/
|
@@ -14,15 +14,15 @@ export declare class UnitsHelper {
|
|
14
14
|
/**
|
15
15
|
* Возвращает признак возможности продажи товара на метраж.
|
16
16
|
*
|
17
|
-
* @param
|
17
|
+
* @param product Товар для которого нужно проверить возможность продажи на метраж.
|
18
18
|
*/
|
19
19
|
productIsMeasurable(product: ScProduct): boolean;
|
20
20
|
/**
|
21
21
|
* Возвращает кратность количества для товара.
|
22
22
|
*
|
23
|
-
* @param
|
23
|
+
* @param product Товар для которого нужно вернуть кратность количества.
|
24
24
|
*/
|
25
25
|
productMultiplicity(product: ScProduct): number;
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScUnitsHelper, never>;
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ScUnitsHelper>;
|
28
28
|
}
|
@@ -22,5 +22,5 @@ export declare class ScNewsCardComponent {
|
|
22
22
|
*/
|
23
23
|
readonly isMobile: boolean;
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScNewsCardComponent, never>;
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScNewsCardComponent, "sc-news-card", never, { "news": "news"; }, { "clickCardEvent": "clickCardEvent"; "clickShareEvent": "clickShareEvent"; }, never, never, false>;
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScNewsCardComponent, "sc-news-card", never, { "news": { "alias": "news"; "required": false; }; }, { "clickCardEvent": "clickCardEvent"; "clickShareEvent": "clickShareEvent"; }, never, never, false, never>;
|
26
26
|
}
|
@@ -12,5 +12,5 @@ export declare class ScNewsCardSkeletonComponent {
|
|
12
12
|
*/
|
13
13
|
readonly isMobile: boolean;
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScNewsCardSkeletonComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScNewsCardSkeletonComponent, "sc-news-card-skeleton", never, { "hasImg": "hasImg"; }, {}, never, never, false>;
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScNewsCardSkeletonComponent, "sc-news-card-skeleton", never, { "hasImg": { "alias": "hasImg"; "required": false; }; }, {}, never, never, false, never>;
|
16
16
|
}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
2
2
|
import { ScCartItem, ScIUrls, ScProduct } from '@snabcentr/client-core';
|
3
|
-
import { TuiPreviewDialogService } from '@taiga-ui/
|
4
|
-
import {
|
3
|
+
import { TuiPreviewDialogService } from '@taiga-ui/kit';
|
4
|
+
import { ScUnitsHelper } from '../../helpers/sc-units-helper';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
/**
|
7
7
|
* Компонент карточки элемента заказа.
|
8
8
|
*/
|
9
9
|
export declare class ScOrderItemMobileComponent {
|
10
|
-
readonly unitsHelper:
|
10
|
+
readonly unitsHelper: ScUnitsHelper;
|
11
11
|
private readonly previewDialogService;
|
12
12
|
private readonly urls;
|
13
13
|
private readonly pathImageNotFound;
|
@@ -27,10 +27,6 @@ export declare class ScOrderItemMobileComponent {
|
|
27
27
|
* Событие нажатия на дополнительные действия.
|
28
28
|
*/
|
29
29
|
clickActionsEvent: EventEmitter<void>;
|
30
|
-
/**
|
31
|
-
* Продукт элемента заказа.
|
32
|
-
*/
|
33
|
-
get product(): ScProduct | undefined;
|
34
30
|
/**
|
35
31
|
* Инициирует экземпляр класса {@link ScOrderItemMobileComponent}.
|
36
32
|
*
|
@@ -39,7 +35,11 @@ export declare class ScOrderItemMobileComponent {
|
|
39
35
|
* @param urls Список ссылок на разделы backend'a.
|
40
36
|
* @param pathImageNotFound Путь до изображения 'Товар не найден'.
|
41
37
|
*/
|
42
|
-
constructor(unitsHelper:
|
38
|
+
constructor(unitsHelper: ScUnitsHelper, previewDialogService: TuiPreviewDialogService, urls: ScIUrls, pathImageNotFound: string);
|
39
|
+
/**
|
40
|
+
* Продукт элемента заказа.
|
41
|
+
*/
|
42
|
+
get product(): ScProduct | undefined;
|
43
43
|
/**
|
44
44
|
* Отобразить спецификацию.
|
45
45
|
*/
|
@@ -49,5 +49,5 @@ export declare class ScOrderItemMobileComponent {
|
|
49
49
|
*/
|
50
50
|
getCardImage(): string;
|
51
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderItemMobileComponent, never>;
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScOrderItemMobileComponent, "sc-order-item-mobile", never, { "orderItem": "orderItem"; }, { "clickCardEvent": "clickCardEvent"; "clickActionsEvent": "clickActionsEvent"; }, never, never, false>;
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScOrderItemMobileComponent, "sc-order-item-mobile", never, { "orderItem": { "alias": "orderItem"; "required": false; }; }, { "clickCardEvent": "clickCardEvent"; "clickActionsEvent": "clickActionsEvent"; }, never, never, false, never>;
|
53
53
|
}
|
@@ -4,12 +4,14 @@ import * as i2 from "./sc-payment-status/sc-payment-status.component";
|
|
4
4
|
import * as i3 from "@angular/common";
|
5
5
|
import * as i4 from "@taiga-ui/core";
|
6
6
|
import * as i5 from "@taiga-ui/layout";
|
7
|
-
import * as i6 from "
|
7
|
+
import * as i6 from "@taiga-ui/kit";
|
8
|
+
import * as i7 from "../catalog/sc-catalog.module";
|
9
|
+
import * as i8 from "@taiga-ui/polymorpheus";
|
8
10
|
/**
|
9
11
|
* Модуль заказов.
|
10
12
|
*/
|
11
13
|
export declare class ScOrderModule {
|
12
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderModule, never>;
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScOrderModule, [typeof i1.ScOrderItemMobileComponent, typeof i2.ScPaymentStatusComponent], [typeof i3.CommonModule, typeof i4.
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScOrderModule, [typeof i1.ScOrderItemMobileComponent, typeof i2.ScPaymentStatusComponent], [typeof i3.CommonModule, typeof i4.TuiLink, typeof i4.TuiButton, typeof i4.TuiIcon, typeof i5.TuiBlockStatusComponent, typeof i5.TuiBlockStatusDirective, typeof i6.TuiPreviewComponent, typeof i6.TuiPreviewTitle, typeof i6.TuiPreviewPagination, typeof i6.TuiPreviewAction, typeof i6.TuiPreviewZoom, typeof i7.ScCatalogModule, typeof i8.PolymorpheusTemplate, typeof i8.PolymorpheusOutlet], [typeof i1.ScOrderItemMobileComponent, typeof i2.ScPaymentStatusComponent]>;
|
14
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<ScOrderModule>;
|
15
17
|
}
|
@@ -21,5 +21,5 @@ export declare class ScPaymentStatusComponent {
|
|
21
21
|
*/
|
22
22
|
backToOrderClick: EventEmitter<void>;
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScPaymentStatusComponent, never>;
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScPaymentStatusComponent, "sc-payment-status", never, { "status": "status"; "orderId": "orderId"; }, { "backToOrdersClick": "backToOrdersClick"; "backToOrderClick": "backToOrderClick"; }, never, never, false>;
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScPaymentStatusComponent, "sc-payment-status", never, { "status": { "alias": "status"; "required": false; }; "orderId": { "alias": "orderId"; "required": false; }; }, { "backToOrdersClick": "backToOrdersClick"; "backToOrderClick": "backToOrderClick"; }, never, never, false, never>;
|
25
25
|
}
|
package/package.json
CHANGED
@@ -1,54 +1,53 @@
|
|
1
1
|
{
|
2
2
|
"name": "@snabcentr/client-ui",
|
3
|
-
"version": "
|
3
|
+
"version": "2.0.0",
|
4
4
|
"author": "Snabcentr Ltd.",
|
5
5
|
"repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
|
6
6
|
"license": "Commercial",
|
7
7
|
"description": "Snabcentr client UI package.",
|
8
8
|
"peerDependencies": {
|
9
|
-
"@angular/common": "
|
10
|
-
"@angular/compiler": "
|
11
|
-
"@angular/core": "
|
12
|
-
"@angular/forms": "
|
13
|
-
"@angular/platform-browser": "
|
14
|
-
"@angular/platform-browser-dynamic": "
|
15
|
-
"@angular/router": "
|
16
|
-
"@maskito/angular": "
|
17
|
-
"@maskito/core": "
|
18
|
-
"@
|
19
|
-
"@ng-web-apis/
|
20
|
-
"@ng-web-apis/
|
21
|
-
"@
|
22
|
-
"@snabcentr/client-core": "
|
23
|
-
"@taiga-ui/addon-charts": "
|
24
|
-
"@taiga-ui/addon-commerce": "
|
25
|
-
"@taiga-ui/addon-doc": "
|
26
|
-
"@taiga-ui/addon-mobile": "
|
27
|
-
"@taiga-ui/addon-
|
28
|
-
"@taiga-ui/
|
29
|
-
"@taiga-ui/
|
30
|
-
"@taiga-ui/
|
31
|
-
"@taiga-ui/
|
32
|
-
"@taiga-ui/
|
33
|
-
"@taiga-ui/
|
34
|
-
"@taiga-ui/
|
35
|
-
"@taiga-ui/
|
36
|
-
"@
|
37
|
-
"
|
38
|
-
"
|
39
|
-
"
|
40
|
-
"
|
41
|
-
"
|
9
|
+
"@angular/common": ">=18.2.2",
|
10
|
+
"@angular/compiler": ">=18.2.2",
|
11
|
+
"@angular/core": ">=18.2.2",
|
12
|
+
"@angular/forms": ">=18.2.2",
|
13
|
+
"@angular/platform-browser": ">=18.2.2",
|
14
|
+
"@angular/platform-browser-dynamic": ">=18.2.2",
|
15
|
+
"@angular/router": ">=18.2.2",
|
16
|
+
"@maskito/angular": ">=3.0.1",
|
17
|
+
"@maskito/core": ">=3.0.1",
|
18
|
+
"@maskito/kit": ">=3.0.1",
|
19
|
+
"@ng-web-apis/common": ">=4.2.1",
|
20
|
+
"@ng-web-apis/intersection-observer": ">=4.2.1",
|
21
|
+
"@ng-web-apis/storage": ">=4.2.1",
|
22
|
+
"@snabcentr/client-core": ">=2.0.0",
|
23
|
+
"@taiga-ui/addon-charts": ">=4.5.0",
|
24
|
+
"@taiga-ui/addon-commerce": ">=4.5.0",
|
25
|
+
"@taiga-ui/addon-doc": ">=4.5.0",
|
26
|
+
"@taiga-ui/addon-mobile": ">=4.5.0",
|
27
|
+
"@taiga-ui/addon-table": ">=4.5.0",
|
28
|
+
"@taiga-ui/cdk": ">=4.5.0",
|
29
|
+
"@taiga-ui/core": ">=4.5.0",
|
30
|
+
"@taiga-ui/dompurify": ">=4.1.2",
|
31
|
+
"@taiga-ui/event-plugins": ">=4.0.1",
|
32
|
+
"@taiga-ui/i18n": ">=4.5.0",
|
33
|
+
"@taiga-ui/icons": ">=4.5.0",
|
34
|
+
"@taiga-ui/kit": ">=4.5.0",
|
35
|
+
"@taiga-ui/layout": ">=4.5.0",
|
36
|
+
"@taiga-ui/legacy": ">=4.5.0",
|
37
|
+
"@taiga-ui/polymorpheus": ">=4.6.4",
|
38
|
+
"@taiga-ui/styles": ">=4.5.0",
|
39
|
+
"angular8-yandex-maps": ">=18.2.0",
|
40
|
+
"angularx-qrcode": ">=18.0.1",
|
41
|
+
"dompurify": ">=3.1.6",
|
42
|
+
"rxjs": ">=7.8.1",
|
43
|
+
"schema-dts": ">=1.1.2",
|
44
|
+
"zone.js": ">=0.14.0"
|
42
45
|
},
|
43
46
|
"dependencies": {
|
44
|
-
"tslib": "
|
47
|
+
"tslib": ">=2.7.0"
|
45
48
|
},
|
46
49
|
"sideEffects": false,
|
47
|
-
"module": "
|
48
|
-
"es2020": "fesm2020/snabcentr-client-ui.mjs",
|
49
|
-
"esm2020": "esm2020/snabcentr-client-ui.mjs",
|
50
|
-
"fesm2020": "fesm2020/snabcentr-client-ui.mjs",
|
51
|
-
"fesm2015": "fesm2015/snabcentr-client-ui.mjs",
|
50
|
+
"module": "fesm2022/snabcentr-client-ui.mjs",
|
52
51
|
"typings": "index.d.ts",
|
53
52
|
"exports": {
|
54
53
|
"./package.json": {
|
@@ -56,11 +55,9 @@
|
|
56
55
|
},
|
57
56
|
".": {
|
58
57
|
"types": "./index.d.ts",
|
59
|
-
"
|
60
|
-
"
|
61
|
-
"
|
62
|
-
"node": "./fesm2015/snabcentr-client-ui.mjs",
|
63
|
-
"default": "./fesm2020/snabcentr-client-ui.mjs"
|
58
|
+
"esm2022": "./esm2022/snabcentr-client-ui.mjs",
|
59
|
+
"esm": "./esm2022/snabcentr-client-ui.mjs",
|
60
|
+
"default": "./fesm2022/snabcentr-client-ui.mjs"
|
64
61
|
}
|
65
62
|
}
|
66
63
|
}
|
package/pipes/index.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './sc-formatted-phone';
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
/**
|
4
|
+
* Пайп для форматирования номера телефона.
|
5
|
+
*
|
6
|
+
* Если переданный номер телефона валиден, он будет отформатирован с использованием метода `formatPhoneNumber` сервиса `ScPhoneService`.
|
7
|
+
* Если номер невалиден, возвращается исходное значение.
|
8
|
+
*/
|
9
|
+
export declare class ScFormatePhonePipe implements PipeTransform {
|
10
|
+
/**
|
11
|
+
* Преобразует строковое значение номера телефона.
|
12
|
+
*
|
13
|
+
* @param value Строка, содержащая номер телефона.
|
14
|
+
* @returns Отформатированный номер телефона, если он валиден, или исходное значение, если он невалиден.
|
15
|
+
*/
|
16
|
+
transform(value: string): string;
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScFormatePhonePipe, never>;
|
18
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ScFormatePhonePipe, "scFormatePhone", true>;
|
19
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
2
|
+
import { FormControl } from '@angular/forms';
|
2
3
|
import { ScContragent, ScIBankAccount, ScICity, ScIContact, ScIDeliveryAddress, ScLocationsService, ScUser, ScUserService, ScVerificationService } from '@snabcentr/client-core';
|
3
4
|
import { Observable, Subject } from 'rxjs';
|
4
|
-
import { FormControl } from '@angular/forms';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
/**
|
7
7
|
* Компонент контента профиля пользователя в виде раскрывающихся смысловых блоков.
|
@@ -110,7 +110,7 @@ export declare class ScProfileAccordionsContentComponent {
|
|
110
110
|
*
|
111
111
|
* @param user$ Поток информации о текущем пользователе.
|
112
112
|
* @param locationsService Сервис для получения списков стран, регионов, городов.
|
113
|
-
* @param userService Сервис
|
113
|
+
* @param userService Сервис данных о пользователе.
|
114
114
|
* @param verificationService Сервис верификации.
|
115
115
|
*/
|
116
116
|
constructor(user$: Observable<ScUser>, locationsService: ScLocationsService, userService: ScUserService, verificationService: ScVerificationService);
|
@@ -121,5 +121,5 @@ export declare class ScProfileAccordionsContentComponent {
|
|
121
121
|
*/
|
122
122
|
getUserCity$(cityId: number): Observable<ScICity>;
|
123
123
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScProfileAccordionsContentComponent, never>;
|
124
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScProfileAccordionsContentComponent, "sc-profile-accordions-content", never, {}, { "editProfileClick": "editProfileClick"; "approvePhoneClick": "approvePhoneClick"; "addContragentClick": "addContragentClick"; "deleteContragentClick": "deleteContragentClick"; "addContragentBankAccountClick": "addContragentBankAccountClick"; "deleteContragentBankAccountClick": "deleteContragentBankAccountClick"; "addContragentContactClick": "addContragentContactClick"; "deleteContragentContactClick": "deleteContragentContactClick"; "addDeliveryAddressClick": "addDeliveryAddressClick"; "deleteDeliveryAddressClick": "deleteDeliveryAddressClick"; "addDeliveryAddressContactClick": "addDeliveryAddressContactClick"; "deleteDeliveryAddressContactClick": "deleteDeliveryAddressContactClick"; "addUserContactClick": "addUserContactClick"; "deleteUserContactClick": "deleteUserContactClick"; }, never, never, false>;
|
124
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScProfileAccordionsContentComponent, "sc-profile-accordions-content", never, {}, { "editProfileClick": "editProfileClick"; "approvePhoneClick": "approvePhoneClick"; "addContragentClick": "addContragentClick"; "deleteContragentClick": "deleteContragentClick"; "addContragentBankAccountClick": "addContragentBankAccountClick"; "deleteContragentBankAccountClick": "deleteContragentBankAccountClick"; "addContragentContactClick": "addContragentContactClick"; "deleteContragentContactClick": "deleteContragentContactClick"; "addDeliveryAddressClick": "addDeliveryAddressClick"; "deleteDeliveryAddressClick": "deleteDeliveryAddressClick"; "addDeliveryAddressContactClick": "addDeliveryAddressContactClick"; "deleteDeliveryAddressContactClick": "deleteDeliveryAddressContactClick"; "addUserContactClick": "addUserContactClick"; "deleteUserContactClick": "deleteUserContactClick"; }, never, never, false, never>;
|
125
125
|
}
|
@@ -7,14 +7,16 @@ import * as i5 from "../contragents/sc-contragents.module";
|
|
7
7
|
import * as i6 from "../delivery-address/sc-delivery-address.module";
|
8
8
|
import * as i7 from "@taiga-ui/core";
|
9
9
|
import * as i8 from "@taiga-ui/cdk";
|
10
|
-
import * as i9 from "@
|
11
|
-
import * as i10 from "
|
12
|
-
import * as i11 from "../
|
10
|
+
import * as i9 from "@angular/forms";
|
11
|
+
import * as i10 from "../contacts/sc-contacts.module";
|
12
|
+
import * as i11 from "../directives/terminal-link/sc-terminal-link.directive";
|
13
|
+
import * as i12 from "../directives/tel-link/sc-tel-link.module";
|
14
|
+
import * as i13 from "@taiga-ui/kit";
|
13
15
|
/**
|
14
16
|
* Модуль профиля пользователя.
|
15
17
|
*/
|
16
18
|
export declare class ScProfileModule {
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScProfileModule, never>;
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScProfileModule, [typeof i1.ScProfileAccordionsContentComponent], [typeof i2.CommonModule, typeof i3.ScUserModule, typeof i4.ScAccordionModule, typeof i5.ScContragentsModule, typeof i6.ScDeliveryAddressModule, typeof i7.
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScProfileModule, [typeof i1.ScProfileAccordionsContentComponent], [typeof i2.CommonModule, typeof i3.ScUserModule, typeof i4.ScAccordionModule, typeof i5.ScContragentsModule, typeof i6.ScDeliveryAddressModule, typeof i7.TuiLoader, typeof i8.TuiLet, typeof i7.TuiLink, typeof i7.TuiLabel, typeof i7.TuiIcon, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i7.TuiButton, typeof i10.ScContactsModule, typeof i11.ScTerminalLinkDirective, typeof i12.ScTelLinkModule, typeof i13.TuiCheckbox], [typeof i1.ScProfileAccordionsContentComponent]>;
|
19
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<ScProfileModule>;
|
20
22
|
}
|
package/providers/index.d.ts
CHANGED
@@ -8,10 +8,9 @@ export declare const SC_USER_INFO: InjectionToken<Observable<ScUser | undefined>
|
|
8
8
|
/**
|
9
9
|
* Фабрика создания потока данных о текущем пользователе.
|
10
10
|
*
|
11
|
-
* @param userService Сервис
|
12
|
-
* @param destroy$ Сервис завершения {@link Observable} через `takeUntil`.
|
11
|
+
* @param userService Сервис данных о пользователе.
|
13
12
|
*/
|
14
|
-
export declare function scUserFactory(userService: ScUserService
|
13
|
+
export declare function scUserFactory(userService: ScUserService): Observable<ScUser | undefined>;
|
15
14
|
/**
|
16
15
|
* Провайдер потока данных о текущем пользователе.
|
17
16
|
*/
|
package/public-api.d.ts
CHANGED
@@ -11,9 +11,13 @@ export * from './files';
|
|
11
11
|
export * from './form-fields';
|
12
12
|
export * from './icons';
|
13
13
|
export * from './loader';
|
14
|
+
export * from './brands-list';
|
14
15
|
export * from './news';
|
15
16
|
export * from './order';
|
17
|
+
export * from './pipes';
|
18
|
+
export * from './samples';
|
16
19
|
export * from './providers';
|
20
|
+
export * from './qrcode';
|
17
21
|
export * from './share-button';
|
18
22
|
export * from './user';
|
19
23
|
export * from './validators';
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { ScITerminalProvider, ScVCardService } from '@snabcentr/client-core';
|
2
|
+
import { TuiDialogContext } from '@taiga-ui/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Компонент QR кода.
|
6
|
+
*/
|
7
|
+
export declare class ScQRCodeDialogComponent {
|
8
|
+
private readonly vCardService;
|
9
|
+
readonly context: TuiDialogContext<void, {
|
10
|
+
qrdata: string;
|
11
|
+
}>;
|
12
|
+
readonly terminal: ScITerminalProvider;
|
13
|
+
/**
|
14
|
+
* Свойство, от которого зависит наличие атрибута `data-terminal-view` у `:host` компонента.
|
15
|
+
*/
|
16
|
+
private terminalView;
|
17
|
+
/**
|
18
|
+
* Инициализирует экземпляр класса {@link ScQRCodeDialogComponent}.
|
19
|
+
*
|
20
|
+
* @param vCardService Сервис для работы с vCard.
|
21
|
+
* @param context Контекст диалогового окна, в котором открыт компонент.
|
22
|
+
* @param terminal Провайдер данных о терминале.
|
23
|
+
*/
|
24
|
+
constructor(vCardService: ScVCardService, context: TuiDialogContext<void, {
|
25
|
+
qrdata: string;
|
26
|
+
}>, terminal: ScITerminalProvider);
|
27
|
+
/**
|
28
|
+
* Выполняет скачивание генерируемого vCard файла контакта.
|
29
|
+
*/
|
30
|
+
downloadVCard(): void;
|
31
|
+
/**
|
32
|
+
* Проверяет что в диалоговое окно были переданы данные в формате `vCard`.
|
33
|
+
*/
|
34
|
+
isVCardData(): boolean;
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScQRCodeDialogComponent, never>;
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScQRCodeDialogComponent, "sc-qrcode-dialog", never, {}, {}, never, never, false, never>;
|
37
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./qrcode-dialog/sc-qrcode-dialog.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "angularx-qrcode";
|
5
|
+
import * as i4 from "@taiga-ui/core";
|
6
|
+
import * as i5 from "@taiga-ui/kit";
|
7
|
+
/**
|
8
|
+
* Модуль QR кода.
|
9
|
+
*/
|
10
|
+
export declare class ScQRCodeModule {
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScQRCodeModule, never>;
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScQRCodeModule, [typeof i1.ScQRCodeDialogComponent], [typeof i2.CommonModule, typeof i3.QRCodeModule, typeof i4.TuiButton, typeof i4.TuiDialog, typeof i5.TuiPreviewComponent, typeof i5.TuiPreviewTitle, typeof i5.TuiPreviewPagination, typeof i5.TuiPreviewAction, typeof i5.TuiPreviewZoom], [typeof i1.ScQRCodeDialogComponent]>;
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ScQRCodeModule>;
|
14
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
2
|
+
import { ScISuggestionType } from '@snabcentr/client-core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Компонент формы запроса бесплатного образца.
|
6
|
+
*/
|
7
|
+
export declare class ScAskToSampleFormComponent {
|
8
|
+
/**
|
9
|
+
* Группа полей ввода для формы «Пожелания и предложения по улучшению сайта».
|
10
|
+
*/
|
11
|
+
form: FormGroup;
|
12
|
+
/**
|
13
|
+
* Перечисление типов подсказок.
|
14
|
+
*/
|
15
|
+
readonly suggestionType: typeof ScISuggestionType;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScAskToSampleFormComponent, never>;
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScAskToSampleFormComponent, "sc-ask-to-sample-form", never, {}, {}, never, never, false, never>;
|
18
|
+
}
|