@snabcentr/client-ui 4.2.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/index.d.ts +3 -0
- package/accordion/sc-accordion-content.directive.d.ts +9 -0
- package/accordion/sc-accordion.component.d.ts +56 -0
- package/accordion/sc-accordion.module.d.ts +15 -0
- package/auth/enums/auth-method.d.ts +13 -0
- package/auth/index.d.ts +8 -0
- package/auth/interfaces/api-error-response.d.ts +13 -0
- 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 +26 -0
- package/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.d.ts +39 -0
- package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +41 -0
- package/auth/sc-sign-in-form/sc-sign-in-form.component.d.ts +53 -0
- package/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.d.ts +106 -0
- package/auth/sign-up-form/sc-sign-up-form.component.d.ts +161 -0
- package/banner/index.d.ts +2 -0
- package/banner/sc-banner.component.d.ts +88 -0
- package/banner/sc-banner.module.d.ts +18 -0
- 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/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.d.ts +102 -0
- package/cart/add-or-editing-cart-item-dialog/index.d.ts +2 -0
- package/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.d.ts +48 -0
- package/cart/cart-item/sc-cart-item.component.d.ts +25 -0
- package/cart/index.d.ts +3 -0
- package/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.d.ts +62 -0
- package/catalog/category-card/sc-category-card.component.d.ts +76 -0
- package/catalog/cost-with-discount/cost-with-discount.component.d.ts +23 -0
- package/catalog/download-price-list/sc-download-price-list.component.d.ts +38 -0
- package/catalog/hover-image-carousel/sc-hover-image-carousel.component.d.ts +48 -0
- package/catalog/index.d.ts +12 -0
- package/catalog/input-quantity/sc-input-quantity.component.d.ts +82 -0
- package/catalog/notify-when-in-stock-dialog/index.d.ts +2 -0
- package/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.d.ts +90 -0
- package/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.d.ts +22 -0
- package/catalog/price-card/sc-price-card.component.d.ts +18 -0
- package/catalog/price-card-inline/sc-price-card-inline.component.d.ts +10 -0
- package/catalog/price-history/sc-price-history.component.d.ts +88 -0
- package/catalog/price-list-pagination/sc-price-list-pagination.component.d.ts +40 -0
- package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +47 -0
- package/catalog/sc-catalog.module.d.ts +29 -0
- package/catalog/sc-favorite-button/sc-favorite-button.component.d.ts +25 -0
- package/contacts/add-contact-dialog/sc-add-contact-dialog.component.d.ts +49 -0
- package/contacts/contacts-accordion/sc-contacts-accordion.component.d.ts +23 -0
- package/contacts/index.d.ts +7 -0
- package/contacts/manager-card/sc-manager-card.component.d.ts +22 -0
- package/contacts/manager-card-push/sc-manager-card-push.component.d.ts +18 -0
- package/contacts/new-contact-form/sc-new-contact-form.component.d.ts +28 -0
- package/contacts/sc-contacts.module.d.ts +28 -0
- package/contacts/tokens/index.d.ts +2 -0
- package/contacts/tokens/sc-manager-qr-handler.token.d.ts +6 -0
- package/contacts/tokens/sc-show-help-notification-in-phone-input.token.d.ts +5 -0
- package/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.d.ts +49 -0
- package/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.d.ts +161 -0
- package/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.d.ts +62 -0
- package/contragents/contragents-accordion/sc-contragents-accordion.component.d.ts +49 -0
- package/contragents/index.d.ts +7 -0
- package/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.d.ts +64 -0
- package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +125 -0
- package/contragents/sc-contragents.module.d.ts +27 -0
- package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +141 -0
- package/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.d.ts +50 -0
- package/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.d.ts +49 -0
- package/delivery-address/index.d.ts +4 -0
- package/delivery-address/sc-delivery-address.module.d.ts +26 -0
- package/dialogs/index.d.ts +1 -0
- package/dialogs/sc-resource-preview/sc-resource-preview.component.d.ts +42 -0
- package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +136 -0
- package/directives/index.d.ts +7 -0
- package/directives/links/index.d.ts +4 -0
- package/directives/links/sc-email-link.directive.d.ts +25 -0
- package/directives/links/sc-link-location.d.ts +5 -0
- package/directives/links/sc-links.d.ts +7 -0
- package/directives/links/sc-tel-link.directive.d.ts +40 -0
- 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/sc-date-value-transformer.directive.d.ts +8 -0
- package/directives/select-on-focusin/sc-select-on-focusin.directive.d.ts +14 -0
- package/directives/terminal-link/sc-terminal-link.directive.d.ts +34 -0
- package/error-handler/consts/error-change-handler.providers.d.ts +5 -0
- package/error-handler/error-block-status/error-block-status.component.d.ts +37 -0
- package/error-handler/index.d.ts +4 -0
- package/error-handler/interfaces/i-block-error.d.ts +17 -0
- package/error-handler/sc-error-handler.component.d.ts +40 -0
- package/esm2022/accordion/index.mjs +4 -0
- package/esm2022/accordion/sc-accordion-content.directive.mjs +17 -0
- package/esm2022/accordion/sc-accordion.component.mjs +92 -0
- package/esm2022/accordion/sc-accordion.module.mjs +26 -0
- package/esm2022/auth/enums/auth-method.mjs +15 -0
- package/esm2022/auth/index.mjs +9 -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 +99 -0
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +87 -0
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +86 -0
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +89 -0
- package/esm2022/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.mjs +187 -0
- package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +333 -0
- package/esm2022/banner/index.mjs +3 -0
- package/esm2022/banner/sc-banner.component.mjs +143 -0
- package/esm2022/banner/sc-banner.module.mjs +30 -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/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.mjs +233 -0
- package/esm2022/cart/add-or-editing-cart-item-dialog/index.mjs +3 -0
- package/esm2022/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.mjs +74 -0
- package/esm2022/cart/cart-item/sc-cart-item.component.mjs +74 -0
- package/esm2022/cart/index.mjs +4 -0
- package/esm2022/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.mjs +110 -0
- package/esm2022/catalog/category-card/sc-category-card.component.mjs +102 -0
- package/esm2022/catalog/cost-with-discount/cost-with-discount.component.mjs +38 -0
- package/esm2022/catalog/download-price-list/sc-download-price-list.component.mjs +56 -0
- package/esm2022/catalog/hover-image-carousel/sc-hover-image-carousel.component.mjs +76 -0
- package/esm2022/catalog/index.mjs +13 -0
- package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +177 -0
- package/esm2022/catalog/notify-when-in-stock-dialog/index.mjs +3 -0
- package/esm2022/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.mjs +173 -0
- package/esm2022/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.mjs +35 -0
- package/esm2022/catalog/price-card/sc-price-card.component.mjs +52 -0
- package/esm2022/catalog/price-card-inline/sc-price-card-inline.component.mjs +56 -0
- package/esm2022/catalog/price-history/sc-price-history.component.mjs +140 -0
- package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +65 -0
- package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +54 -0
- package/esm2022/catalog/sc-catalog.module.mjs +125 -0
- package/esm2022/catalog/sc-favorite-button/sc-favorite-button.component.mjs +42 -0
- package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +91 -0
- package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +38 -0
- package/esm2022/contacts/index.mjs +8 -0
- package/esm2022/contacts/manager-card/sc-manager-card.component.mjs +58 -0
- package/esm2022/contacts/manager-card-push/sc-manager-card-push.component.mjs +28 -0
- package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +37 -0
- package/esm2022/contacts/sc-contacts.module.mjs +92 -0
- package/esm2022/contacts/tokens/index.mjs +3 -0
- package/esm2022/contacts/tokens/sc-manager-qr-handler.token.mjs +24 -0
- package/esm2022/contacts/tokens/sc-show-help-notification-in-phone-input.token.mjs +7 -0
- package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +81 -0
- package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +278 -0
- package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +75 -0
- package/esm2022/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +69 -0
- package/esm2022/contragents/index.mjs +8 -0
- package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +72 -0
- package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +242 -0
- package/esm2022/contragents/sc-contragents.module.mjs +118 -0
- package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +250 -0
- package/esm2022/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +60 -0
- package/esm2022/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +69 -0
- package/esm2022/delivery-address/index.mjs +5 -0
- package/esm2022/delivery-address/sc-delivery-address.module.mjs +99 -0
- package/esm2022/dialogs/index.mjs +2 -0
- package/esm2022/dialogs/sc-resource-preview/sc-resource-preview.component.mjs +68 -0
- package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +170 -0
- package/esm2022/directives/index.mjs +8 -0
- package/esm2022/directives/links/index.mjs +5 -0
- package/esm2022/directives/links/sc-email-link.directive.mjs +49 -0
- package/esm2022/directives/links/sc-link-location.mjs +2 -0
- package/esm2022/directives/links/sc-links.mjs +8 -0
- package/esm2022/directives/links/sc-tel-link.directive.mjs +79 -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/sc-date-value-transformer.directive.mjs +30 -0
- package/esm2022/directives/select-on-focusin/sc-select-on-focusin.directive.mjs +31 -0
- package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +69 -0
- package/esm2022/error-handler/consts/error-change-handler.providers.mjs +8 -0
- package/esm2022/error-handler/error-block-status/error-block-status.component.mjs +76 -0
- package/esm2022/error-handler/index.mjs +5 -0
- package/esm2022/error-handler/interfaces/i-block-error.mjs +2 -0
- package/esm2022/error-handler/sc-error-handler.component.mjs +58 -0
- package/esm2022/feedback/feedback-form/sc-feedback-form.component.mjs +344 -0
- package/esm2022/feedback/gratitude/sc-gratitude.component.mjs +32 -0
- package/esm2022/feedback/index.mjs +4 -0
- package/esm2022/feedback/interfaces/index.mjs +2 -0
- package/esm2022/feedback/interfaces/sc-feedback-form-config.mjs +2 -0
- package/esm2022/files/directives/index.mjs +3 -0
- package/esm2022/files/directives/tree-top.directive.mjs +63 -0
- package/esm2022/files/directives/tree.directive.mjs +47 -0
- package/esm2022/files/file-tree-item/file-tree-item.component.mjs +18 -0
- package/esm2022/files/files-and-documents/files-and-documents.component.mjs +61 -0
- package/esm2022/files/files-and-documents.module.mjs +28 -0
- package/esm2022/files/index.mjs +6 -0
- package/esm2022/files/interfaces/tree-node.mjs +2 -0
- package/esm2022/files/services/index.mjs +3 -0
- package/esm2022/files/services/tree-icon.service.mjs +49 -0
- package/esm2022/files/services/tree-loader.service.mjs +62 -0
- package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +155 -0
- package/esm2022/form-fields/form-fields.module.mjs +69 -0
- package/esm2022/form-fields/index.mjs +4 -0
- package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +175 -0
- package/esm2022/helpers/index.mjs +2 -0
- package/esm2022/helpers/sc-px-converter.mjs +27 -0
- package/esm2022/icons/index.mjs +2 -0
- package/esm2022/icons/sc-client-ui-icons-name.mjs +99 -0
- package/esm2022/loader/index.mjs +2 -0
- package/esm2022/loader/sc-i-loader.mjs +2 -0
- package/esm2022/masks/index.mjs +8 -0
- package/esm2022/masks/sc-account-number-mask.mjs +7 -0
- package/esm2022/masks/sc-bic-mask.mjs +7 -0
- package/esm2022/masks/sc-correspondent-account-mask.mjs +7 -0
- package/esm2022/masks/sc-inn-mask.mjs +13 -0
- package/esm2022/masks/sc-kpp-mask.mjs +7 -0
- package/esm2022/masks/sc-okpo-mask.mjs +13 -0
- package/esm2022/masks/sc-phone-verification-code-mask.mjs +7 -0
- package/esm2022/models/i-sc-image.mjs +2 -0
- package/esm2022/models/index.mjs +2 -0
- package/esm2022/news/index.mjs +4 -0
- package/esm2022/news/news-card/sc-news-card.component.mjs +34 -0
- package/esm2022/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +31 -0
- package/esm2022/news/sc-news.module.mjs +26 -0
- package/esm2022/order/index.mjs +4 -0
- package/esm2022/order/order-item-mobile/sc-order-item-mobile.component.mjs +60 -0
- package/esm2022/order/sc-order.module.mjs +53 -0
- package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +35 -0
- package/esm2022/pages/frequently-asked-questions/sc-frequently-asked-questions.component.mjs +28 -0
- package/esm2022/pages/frequently-asked-questions/sc-page-size-options.mjs +6 -0
- package/esm2022/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.mjs +59 -0
- package/esm2022/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.mjs +106 -0
- package/esm2022/pages/index.mjs +6 -0
- package/esm2022/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.mjs +30 -0
- package/esm2022/pages/public-offer/sc-public-offer.component.mjs +32 -0
- package/esm2022/pipes/index.mjs +3 -0
- package/esm2022/pipes/sc-format-date.mjs +33 -0
- package/esm2022/pipes/sc-phone-format.mjs +44 -0
- package/esm2022/profile/index.mjs +3 -0
- package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +175 -0
- package/esm2022/profile/sc-profile.module.mjs +76 -0
- package/esm2022/providers/date-value-transformer/index.mjs +4 -0
- package/esm2022/providers/date-value-transformer/sc-date-value-transformer-types.mjs +2 -0
- package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-end-time.mjs +26 -0
- package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-start-time.mjs +37 -0
- package/esm2022/providers/index.mjs +12 -0
- package/esm2022/providers/sc-allow-select-terminated.mjs +6 -0
- package/esm2022/providers/sc-country-ids.mjs +6 -0
- package/esm2022/providers/sc-date-formatter.mjs +12 -0
- package/esm2022/providers/sc-date-value-transformer.mjs +12 -0
- package/esm2022/providers/sc-help-notification-close.mjs +7 -0
- package/esm2022/providers/sc-help-notification-limit.mjs +6 -0
- package/esm2022/providers/sc-max-files-in-form-input.mjs +6 -0
- package/esm2022/providers/sc-notify-when-in-stock-required-fields.mjs +6 -0
- package/esm2022/providers/sc-page-size-options.mjs +6 -0
- package/esm2022/providers/sc-user-providers.mjs +33 -0
- package/esm2022/providers/sc-verification-code-timeout.mjs +6 -0
- package/esm2022/public-api.mjs +35 -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/index.mjs +5 -0
- package/esm2022/samples/interfaces/index.mjs +3 -0
- package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +2 -0
- package/esm2022/samples/interfaces/sc-preview-mosquito-config.mjs +2 -0
- package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +42 -0
- package/esm2022/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.mjs +63 -0
- package/esm2022/samples/sc-sample.module.mjs +68 -0
- package/esm2022/services/index.mjs +2 -0
- package/esm2022/services/sc-help-notification.service.mjs +90 -0
- package/esm2022/share-button/index.mjs +3 -0
- package/esm2022/share-button/sc-share-button.component.mjs +35 -0
- package/esm2022/share-button/sc-share-button.module.mjs +22 -0
- package/esm2022/snabcentr-client-ui.mjs +5 -0
- package/esm2022/user/index.mjs +6 -0
- package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +75 -0
- package/esm2022/user/sc-user.module.mjs +89 -0
- package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +122 -0
- package/esm2022/user/user-managers/sc-user-managers.component.mjs +42 -0
- package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +106 -0
- package/esm2022/validators/index.mjs +7 -0
- package/esm2022/validators/sc-at-least-one-required-validator.mjs +25 -0
- package/esm2022/validators/sc-bic-validator.mjs +10 -0
- package/esm2022/validators/sc-correspondent-account-validator.mjs +10 -0
- package/esm2022/validators/sc-password-confirm-matching-validator.mjs +17 -0
- package/esm2022/validators/sc-phone-validator.mjs +14 -0
- package/esm2022/validators/step-validator.mjs +18 -0
- package/esm2022/verification/index.mjs +4 -0
- package/esm2022/verification/providers/index.mjs +3 -0
- package/esm2022/verification/providers/sc-phone-approve-code-sender.provider.mjs +12 -0
- package/esm2022/verification/providers/sc-phone-approve-code-sender.token.mjs +7 -0
- package/esm2022/verification/sc-verification.module.mjs +88 -0
- package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +277 -0
- package/feedback/feedback-form/sc-feedback-form.component.d.ts +163 -0
- package/feedback/gratitude/sc-gratitude.component.d.ts +20 -0
- package/feedback/index.d.ts +3 -0
- package/feedback/interfaces/index.d.ts +1 -0
- package/feedback/interfaces/sc-feedback-form-config.d.ts +23 -0
- package/fesm2022/snabcentr-client-ui.mjs +3977 -3508
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/files/directives/index.d.ts +2 -0
- package/files/directives/tree-top.directive.d.ts +33 -0
- package/files/directives/tree.directive.d.ts +35 -0
- package/files/file-tree-item/file-tree-item.component.d.ts +9 -0
- package/files/files-and-documents/files-and-documents.component.d.ts +27 -0
- package/files/files-and-documents.module.d.ts +17 -0
- package/files/index.d.ts +5 -0
- package/files/interfaces/tree-node.d.ts +29 -0
- package/files/services/index.d.ts +2 -0
- package/files/services/tree-icon.service.d.ts +23 -0
- package/files/services/tree-loader.service.d.ts +43 -0
- package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +78 -0
- package/form-fields/form-fields.module.d.ts +19 -0
- package/form-fields/index.d.ts +3 -0
- package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +73 -0
- package/helpers/index.d.ts +1 -0
- package/helpers/sc-px-converter.d.ts +15 -0
- package/icons/index.d.ts +1 -0
- package/icons/sc-client-ui-icons-name.d.ts +4 -0
- package/index.d.ts +3 -4314
- package/loader/index.d.ts +1 -0
- package/loader/sc-i-loader.d.ts +9 -0
- package/masks/index.d.ts +7 -0
- package/masks/sc-account-number-mask.d.ts +5 -0
- package/masks/sc-bic-mask.d.ts +5 -0
- package/masks/sc-correspondent-account-mask.d.ts +5 -0
- package/masks/sc-inn-mask.d.ts +9 -0
- package/masks/sc-kpp-mask.d.ts +5 -0
- package/masks/sc-okpo-mask.d.ts +9 -0
- package/masks/sc-phone-verification-code-mask.d.ts +5 -0
- package/models/i-sc-image.d.ts +17 -0
- package/models/index.d.ts +1 -0
- package/news/index.d.ts +3 -0
- package/news/news-card/sc-news-card.component.d.ts +22 -0
- package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +16 -0
- package/news/sc-news.module.d.ts +16 -0
- package/order/index.d.ts +3 -0
- package/order/order-item-mobile/sc-order-item-mobile.component.d.ts +39 -0
- package/order/sc-order.module.d.ts +19 -0
- package/order/sc-payment-status/sc-payment-status.component.d.ts +25 -0
- package/package.json +3 -1
- package/pages/frequently-asked-questions/sc-frequently-asked-questions.component.d.ts +18 -0
- package/pages/frequently-asked-questions/sc-page-size-options.d.ts +5 -0
- package/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.d.ts +28 -0
- package/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.d.ts +79 -0
- package/pages/index.d.ts +5 -0
- package/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.d.ts +17 -0
- package/pages/public-offer/sc-public-offer.component.d.ts +22 -0
- package/pipes/index.d.ts +2 -0
- package/pipes/sc-format-date.d.ts +20 -0
- package/pipes/sc-phone-format.d.ts +21 -0
- package/profile/index.d.ts +2 -0
- package/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.d.ts +126 -0
- package/profile/sc-profile.module.d.ts +24 -0
- package/providers/date-value-transformer/index.d.ts +3 -0
- package/providers/date-value-transformer/sc-date-value-transformer-types.d.ts +9 -0
- package/providers/date-value-transformer/sc-date-value-transformer-with-end-time.d.ts +16 -0
- package/providers/date-value-transformer/sc-date-value-transformer-with-start-time.d.ts +22 -0
- package/providers/index.d.ts +11 -0
- package/providers/sc-allow-select-terminated.d.ts +5 -0
- package/providers/sc-country-ids.d.ts +5 -0
- package/providers/sc-date-formatter.d.ts +6 -0
- package/providers/sc-date-value-transformer.d.ts +5 -0
- package/providers/sc-help-notification-close.d.ts +6 -0
- package/providers/sc-help-notification-limit.d.ts +5 -0
- package/providers/sc-max-files-in-form-input.d.ts +5 -0
- package/providers/sc-notify-when-in-stock-required-fields.d.ts +5 -0
- package/providers/sc-page-size-options.d.ts +5 -0
- package/providers/sc-user-providers.d.ts +21 -0
- package/providers/sc-verification-code-timeout.d.ts +5 -0
- package/public-api.d.ts +31 -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/release_notes.tmp +2 -9
- package/samples/index.d.ts +4 -0
- package/samples/interfaces/index.d.ts +2 -0
- package/samples/interfaces/sc-i-preview-sample.d.ts +56 -0
- package/samples/interfaces/sc-preview-mosquito-config.d.ts +62 -0
- package/samples/preview-sample/sc-preview-sample.component.d.ts +30 -0
- package/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.d.ts +50 -0
- package/samples/sc-sample.module.d.ts +19 -0
- package/services/index.d.ts +1 -0
- package/services/sc-help-notification.service.d.ts +64 -0
- package/share-button/index.d.ts +2 -0
- package/share-button/sc-share-button.component.d.ts +22 -0
- package/share-button/sc-share-button.module.d.ts +12 -0
- package/styles/tailwind/tailwind.scss +180 -0
- package/user/index.d.ts +5 -0
- package/user/reset-user-password/sc-reset-user-password.component.d.ts +46 -0
- package/user/sc-user.module.d.ts +25 -0
- package/user/update-user-info-dialog/sc-update-user-info-dialog.component.d.ts +63 -0
- 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 +53 -0
- package/validators/index.d.ts +6 -0
- package/validators/sc-at-least-one-required-validator.d.ts +10 -0
- package/validators/sc-bic-validator.d.ts +8 -0
- package/validators/sc-correspondent-account-validator.d.ts +8 -0
- package/validators/sc-password-confirm-matching-validator.d.ts +8 -0
- package/validators/sc-phone-validator.d.ts +5 -0
- package/validators/step-validator.d.ts +8 -0
- package/verification/index.d.ts +3 -0
- package/verification/providers/index.d.ts +2 -0
- package/verification/providers/sc-phone-approve-code-sender.provider.d.ts +6 -0
- package/verification/providers/sc-phone-approve-code-sender.token.d.ts +7 -0
- package/verification/sc-verification.module.d.ts +21 -0
- package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +149 -0
@@ -0,0 +1,88 @@
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
2
|
+
import { IntersectionObserverService } from '@ng-web-apis/intersection-observer';
|
3
|
+
import { ScBanner, ScBannerService, ScUserMetrikaService } from '@snabcentr/client-core';
|
4
|
+
import { Observable, Subject } from 'rxjs';
|
5
|
+
import { ScPxConverter } from '../helpers';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
/**
|
8
|
+
* Баннер с прокруткой переданных {@link TemplateRef} элементов, и баннеров локации.
|
9
|
+
*/
|
10
|
+
export declare class ScBannerComponent {
|
11
|
+
private readonly cdr;
|
12
|
+
private readonly bannerService;
|
13
|
+
private readonly entries$;
|
14
|
+
private readonly element;
|
15
|
+
private pxConverter;
|
16
|
+
private readonly userMetrikaService;
|
17
|
+
/**
|
18
|
+
* Признак, что необходимо показывать кнопки навигации.
|
19
|
+
*/
|
20
|
+
navigateButton: boolean;
|
21
|
+
/**
|
22
|
+
* Интервал автоматической смены слайдов в миллисекундах (используйте 0, чтобы отключить автоматическую смену слайда).
|
23
|
+
*/
|
24
|
+
duration: number;
|
25
|
+
/**
|
26
|
+
* Местоположение баннера.
|
27
|
+
*/
|
28
|
+
bannerLocation?: string;
|
29
|
+
/**
|
30
|
+
* Признак, что компонент должен растягиваться.
|
31
|
+
*/
|
32
|
+
resizable: boolean;
|
33
|
+
/**
|
34
|
+
* Событие загрузки баннеров с количеством полученных баннеров.
|
35
|
+
*/
|
36
|
+
loadBannersEvent: EventEmitter<number>;
|
37
|
+
/**
|
38
|
+
* Событие нажатия на изображение баннера.
|
39
|
+
*/
|
40
|
+
clickBannerEvent: EventEmitter<ScBanner>;
|
41
|
+
/**
|
42
|
+
* Список ссылок на элемент представлений шаблонов.
|
43
|
+
*/
|
44
|
+
bannersListRef: QueryList<TemplateRef<any>>;
|
45
|
+
/**
|
46
|
+
* Идентификатор текущего баннера.
|
47
|
+
*/
|
48
|
+
currentBannerId: number;
|
49
|
+
/**
|
50
|
+
* {@link Subject} изменения состояния таймера.
|
51
|
+
*/
|
52
|
+
readonly toggleTimer$: Subject<boolean>;
|
53
|
+
/**
|
54
|
+
* {@link Observable} обновления списка баннеров.
|
55
|
+
*/
|
56
|
+
readonly banners$: Observable<ScBanner[]>;
|
57
|
+
/**
|
58
|
+
* Список баннеров.
|
59
|
+
*/
|
60
|
+
banners?: ScBanner[];
|
61
|
+
/**
|
62
|
+
* Свойство, от которого зависит соотношение `:host` компонента.
|
63
|
+
*/
|
64
|
+
aspectRatio: string;
|
65
|
+
/**
|
66
|
+
* Инициализирует экземпляр класса {@link ScBannerComponent}.
|
67
|
+
*
|
68
|
+
* @param cdr Объект для работы с обнаружением изменений.
|
69
|
+
* @param bannerService Сервис для работы с баннерами.
|
70
|
+
* @param entries$ Intersection Observer Service.
|
71
|
+
* @param element Элемент баннера.
|
72
|
+
* @param pxConverter Экземпляр класса-помощника для конвертации пикселей.
|
73
|
+
* @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
|
74
|
+
*/
|
75
|
+
constructor(cdr: ChangeDetectorRef, bannerService: ScBannerService, entries$: IntersectionObserverService, element: ElementRef<Element>, pxConverter: ScPxConverter, userMetrikaService: ScUserMetrikaService);
|
76
|
+
/**
|
77
|
+
* Свойство, от которого зависит наличие класса `!hidden` у `:host` компонента.
|
78
|
+
*/
|
79
|
+
private get isHidden();
|
80
|
+
/**
|
81
|
+
* Обработчик нажатия на баннер, генерирующий событие {@link clickBannerImgEvent}.
|
82
|
+
*
|
83
|
+
* @param banner Баннер, по ссылке которого совершён переход.
|
84
|
+
*/
|
85
|
+
onClick(banner: ScBanner): void;
|
86
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScBannerComponent, never>;
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScBannerComponent, "sc-banner", never, { "navigateButton": { "alias": "navigateButton"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "bannerLocation": { "alias": "bannerLocation"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; }, { "loadBannersEvent": "loadBannersEvent"; "clickBannerEvent": "clickBannerEvent"; }, ["bannersListRef"], never, false, never>;
|
88
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./sc-banner.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/router";
|
5
|
+
import * as i4 from "@taiga-ui/core";
|
6
|
+
import * as i5 from "@taiga-ui/cdk/directives/item";
|
7
|
+
import * as i6 from "@taiga-ui/kit";
|
8
|
+
import * as i7 from "@ng-web-apis/intersection-observer";
|
9
|
+
import * as i8 from "@taiga-ui/cdk";
|
10
|
+
import * as i9 from "@snabcentr/client-core";
|
11
|
+
/**
|
12
|
+
* Модуль баннеров.
|
13
|
+
*/
|
14
|
+
export declare class ScBannerModule {
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScBannerModule, never>;
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScBannerModule, [typeof i1.ScBannerComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.TuiButton, typeof i5.TuiItem, typeof i6.TuiCarouselComponent, typeof i6.TuiCarouselDirective, typeof i6.TuiCarouselAutoscroll, typeof i6.TuiCarouselButtons, typeof i6.TuiCarouselScroll, typeof i4.TuiLoader, typeof i7.WaIntersectionObserverDirective, typeof i7.WaIntersectionObservee, typeof i7.WaIntersectionRoot, typeof i8.TuiLet, typeof i9.ScMediaImageTransformerPipe], [typeof i1.ScBannerComponent]>;
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ScBannerModule>;
|
18
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
/**
|
3
|
+
* Компонент списка брэндов.
|
4
|
+
*/
|
5
|
+
export declare class ScBrandsListComponent {
|
6
|
+
/**
|
7
|
+
* Список элементов брендов.
|
8
|
+
*/
|
9
|
+
items: Array<{
|
10
|
+
src: string;
|
11
|
+
alt: string;
|
12
|
+
}>;
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScBrandsListComponent, never>;
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScBrandsListComponent, "sc-brands-list", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
|
15
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./sc-brands-list.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@taiga-ui/cdk";
|
5
|
+
/**
|
6
|
+
* Модуль списка брэндов.
|
7
|
+
*/
|
8
|
+
export declare class ScBrandsListModule {
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScBrandsListModule, never>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScBrandsListModule, [typeof i1.ScBrandsListComponent], [typeof i2.CommonModule, typeof i3.TuiRepeatTimes], [typeof i1.ScBrandsListComponent]>;
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ScBrandsListModule>;
|
12
|
+
}
|
@@ -0,0 +1,102 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
3
|
+
import { ScCartItem, ScINewCartItemBase, ScProduct } from '@snabcentr/client-core';
|
4
|
+
import { Observable } from 'rxjs';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
/**
|
7
|
+
* Компонент добавления / изменения товара в корзине.
|
8
|
+
*/
|
9
|
+
export declare class ScAddOrEditingCartItemFormComponent implements OnInit {
|
10
|
+
/**
|
11
|
+
* Группа полей добавления / изменения товара в корзине.
|
12
|
+
*/
|
13
|
+
readonly form: FormGroup<{
|
14
|
+
length?: FormControl<number | null>;
|
15
|
+
quantity: FormControl<number | null>;
|
16
|
+
marker: FormControl<string | null>;
|
17
|
+
}>;
|
18
|
+
/**
|
19
|
+
* Данные о товаре.
|
20
|
+
*/
|
21
|
+
readonly product: import("@angular/core").InputSignal<ScProduct>;
|
22
|
+
/**
|
23
|
+
* Признак того, что для указанной категории или продукта действует конфигуратор длины.
|
24
|
+
*/
|
25
|
+
protected readonly isLengthConfigurator: import("@angular/core").Signal<boolean>;
|
26
|
+
/**
|
27
|
+
* Данные о товаре в корзине.
|
28
|
+
*/
|
29
|
+
readonly cartItem: import("@angular/core").InputSignal<ScCartItem | undefined>;
|
30
|
+
/**
|
31
|
+
* Признак загрузки данных.
|
32
|
+
*/
|
33
|
+
readonly isLoading: import("@angular/core").InputSignal<boolean>;
|
34
|
+
/**
|
35
|
+
* Признак возможности продажи товара на метраж.
|
36
|
+
*/
|
37
|
+
protected readonly productIsMeasurable: import("@angular/core").Signal<boolean>;
|
38
|
+
/**
|
39
|
+
* Кратность количества для товара.
|
40
|
+
*/
|
41
|
+
protected readonly productMultiplicity: import("@angular/core").Signal<number>;
|
42
|
+
/**
|
43
|
+
* Минимальный метраж для товара.
|
44
|
+
*/
|
45
|
+
protected readonly minLength: import("@angular/core").Signal<number | undefined>;
|
46
|
+
/**
|
47
|
+
* Максимальный метраж для товара.
|
48
|
+
*/
|
49
|
+
protected readonly maxLength: import("@angular/core").Signal<number | undefined>;
|
50
|
+
/**
|
51
|
+
* Шаг изменения метража.
|
52
|
+
*/
|
53
|
+
protected readonly lengthStep: import("@angular/core").Signal<number | undefined>;
|
54
|
+
/**
|
55
|
+
* Подсказка по минимальному и максимальному метражу товара.
|
56
|
+
*/
|
57
|
+
protected readonly lengthHint: import("@angular/core").Signal<string>;
|
58
|
+
/**
|
59
|
+
* Итоговая стоимость заказа.
|
60
|
+
*/
|
61
|
+
protected totalCost$: Observable<number>;
|
62
|
+
/**
|
63
|
+
* {@link Output} события добавления товара в корзину.
|
64
|
+
*/
|
65
|
+
readonly addToCart: import("@angular/core").OutputEmitterRef<ScINewCartItemBase>;
|
66
|
+
/**
|
67
|
+
* {@link Output} события редактирования товара в корзине.
|
68
|
+
*/
|
69
|
+
readonly editCartItem: import("@angular/core").OutputEmitterRef<Omit<ScINewCartItemBase, "productId">>;
|
70
|
+
/**
|
71
|
+
* Объект-помощник для работы со значениями единиц измерения товара.
|
72
|
+
*/
|
73
|
+
private readonly unitsHelper;
|
74
|
+
/**
|
75
|
+
* Сервис для сбора метрик о действиях пользователей.
|
76
|
+
*/
|
77
|
+
private readonly userMetrikaService;
|
78
|
+
/**
|
79
|
+
* Сервис конвертации данных.
|
80
|
+
*/
|
81
|
+
private readonly convertersService;
|
82
|
+
/** @inheritDoc */
|
83
|
+
ngOnInit(): void;
|
84
|
+
/**
|
85
|
+
* Обработчик события шага метража.
|
86
|
+
*
|
87
|
+
* @param step Шаг.
|
88
|
+
*/
|
89
|
+
protected onStepLength(step: number): void;
|
90
|
+
/**
|
91
|
+
* Обработчик события шага количества.
|
92
|
+
*
|
93
|
+
* @param step Шаг.
|
94
|
+
*/
|
95
|
+
protected onStepQuantity(step: number): void;
|
96
|
+
/**
|
97
|
+
* Обработчик события отправки формы.
|
98
|
+
*/
|
99
|
+
protected onSubmit(): void;
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddOrEditingCartItemFormComponent, never>;
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddOrEditingCartItemFormComponent, "sc-add-or-editing-cart-item-form", never, { "product": { "alias": "product"; "required": true; "isSignal": true; }; "cartItem": { "alias": "cartItem"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, { "addToCart": "addToCart"; "editCartItem": "editCartItem"; }, never, never, true, never>;
|
102
|
+
}
|
package/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.d.ts
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
import { Signal } from '@angular/core';
|
2
|
+
import { ScCartItem, ScINewCartItemBase, ScProduct } from '@snabcentr/client-core';
|
3
|
+
import { TuiDialogContext } from '@taiga-ui/core';
|
4
|
+
import { Observable, Subject } from 'rxjs';
|
5
|
+
import { ScAddOrEditingCartItemFormComponent } from './add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
/**
|
8
|
+
* Компонент добавления / изменения товара в корзине.
|
9
|
+
*/
|
10
|
+
export declare class ScAddOrEditingCartItemDialogComponent {
|
11
|
+
/**
|
12
|
+
* Компонент формы добавления / изменения товара в корзине.
|
13
|
+
*/
|
14
|
+
readonly formComponent: Signal<ScAddOrEditingCartItemFormComponent>;
|
15
|
+
/**
|
16
|
+
* {@link Subject} события отправки формы.
|
17
|
+
*/
|
18
|
+
readonly onSubmit: Subject<ScINewCartItemBase | Omit<ScINewCartItemBase, 'productId'>>;
|
19
|
+
/**
|
20
|
+
* {@link Observable} запроса добавления / изменения товара в корзине.
|
21
|
+
*/
|
22
|
+
readonly submit$: Observable<import("@snabcentr/client-core").ScCart | null>;
|
23
|
+
/**
|
24
|
+
* {@link Observable} изменения состояния загрузки данных.
|
25
|
+
*/
|
26
|
+
readonly loading: Signal<boolean>;
|
27
|
+
/**
|
28
|
+
* Контекст диалогового окна.
|
29
|
+
*/
|
30
|
+
readonly context: TuiDialogContext<boolean, {
|
31
|
+
product: ScProduct;
|
32
|
+
cartItem: ScCartItem | undefined;
|
33
|
+
}>;
|
34
|
+
/**
|
35
|
+
* Данные о товаре.
|
36
|
+
*/
|
37
|
+
readonly product: ScProduct;
|
38
|
+
/**
|
39
|
+
* Данные о товаре в корзине.
|
40
|
+
*/
|
41
|
+
readonly cartItem: ScCartItem | undefined;
|
42
|
+
/**
|
43
|
+
* Сервис для работы с корзиной.
|
44
|
+
*/
|
45
|
+
private readonly cartService;
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddOrEditingCartItemDialogComponent, never>;
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddOrEditingCartItemDialogComponent, "sc-add-or-editing-cart-item-dialog", never, {}, {}, never, never, true, never>;
|
48
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { OutputEmitterRef, TemplateRef } from '@angular/core';
|
2
|
+
import { TuiDialogContext } from '@taiga-ui/core';
|
3
|
+
import { AbstractScPriceCard } from '../../directives/abstract-price-card/abstract-sc-price-card.directive';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
/**
|
6
|
+
* Компонент карточки элемента корзины.
|
7
|
+
*/
|
8
|
+
export declare class ScCartItemComponent extends AbstractScPriceCard {
|
9
|
+
/**
|
10
|
+
* Событие нажатия на кнопку редактирования конфигурации.
|
11
|
+
*/
|
12
|
+
readonly clickSettings: OutputEmitterRef<void>;
|
13
|
+
/**
|
14
|
+
* Сервис диалогового окна предварительного просмотра.
|
15
|
+
*/
|
16
|
+
private readonly previewDialogService;
|
17
|
+
/**
|
18
|
+
* Отображает спецификацию.
|
19
|
+
*
|
20
|
+
* @param specificationPreviewReference Шаблон спецификации.
|
21
|
+
*/
|
22
|
+
protected showSpecification(specificationPreviewReference: TemplateRef<TuiDialogContext>): void;
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScCartItemComponent, never>;
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScCartItemComponent, "sc-cart-item", never, {}, { "clickSettings": "clickSettings"; }, never, never, true, never>;
|
25
|
+
}
|
package/cart/index.d.ts
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
import { Signal } from '@angular/core';
|
2
|
+
import { FormControl } from '@angular/forms';
|
3
|
+
import { TuiDialogContext } from '@taiga-ui/core';
|
4
|
+
import { Observable, Subject } from 'rxjs';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
/**
|
7
|
+
* Компонент диалога для добавления товаров в корзину из CSV файла.
|
8
|
+
*/
|
9
|
+
export declare class ScCartAddProductsFromCsvDialogComponent {
|
10
|
+
/**
|
11
|
+
* Контекст диалогового окна, в котором открыт компонент.
|
12
|
+
*/
|
13
|
+
protected readonly context: TuiDialogContext;
|
14
|
+
/**
|
15
|
+
* Сервис для работы с корзиной.
|
16
|
+
*/
|
17
|
+
private readonly cartService;
|
18
|
+
/**
|
19
|
+
* Объект окна.
|
20
|
+
*/
|
21
|
+
private readonly window;
|
22
|
+
/**
|
23
|
+
* {@link Subject} события скачивания цен каталога.
|
24
|
+
*/
|
25
|
+
protected readonly onDownloadClick: Subject<void>;
|
26
|
+
/**
|
27
|
+
* {@link Observable} запроса на скачивание цен каталога.
|
28
|
+
*/
|
29
|
+
protected readonly downloadRequest$: Observable<Blob | null | undefined>;
|
30
|
+
/**
|
31
|
+
* Признак того, что запрос выполняется.
|
32
|
+
*/
|
33
|
+
protected readonly isDownloadLoading: Signal<boolean>;
|
34
|
+
/**
|
35
|
+
* {@link Subject} события отправки формы.
|
36
|
+
*/
|
37
|
+
protected readonly onSubmit$: Subject<void>;
|
38
|
+
/**
|
39
|
+
* {@link Observable} запроса на добавление товаров из CSV файла.
|
40
|
+
*/
|
41
|
+
protected readonly submitRequest$: Observable<import("@snabcentr/client-core").ScCart | null>;
|
42
|
+
/**
|
43
|
+
* Признак того, что запрос на добавление товаров выполняется.
|
44
|
+
*/
|
45
|
+
protected readonly isSubmitLoading: Signal<boolean>;
|
46
|
+
/**
|
47
|
+
* Поле для загрузки файла.
|
48
|
+
*/
|
49
|
+
protected readonly control: FormControl<File | null>;
|
50
|
+
/**
|
51
|
+
* Метод для удаления загруженного файла.
|
52
|
+
*/
|
53
|
+
protected removeFile(): void;
|
54
|
+
/**
|
55
|
+
* Метод для скачивания примера файла.
|
56
|
+
*
|
57
|
+
* @param blob Бинарный объект.
|
58
|
+
*/
|
59
|
+
private downloadExampleFile;
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScCartAddProductsFromCsvDialogComponent, never>;
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScCartAddProductsFromCsvDialogComponent, "sc-cart-add-products-from-csv-dialog", never, {}, {}, never, never, true, never>;
|
62
|
+
}
|
@@ -0,0 +1,76 @@
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, InputSignal } from '@angular/core';
|
2
|
+
import { ScCategory, ScIUrls } from '@snabcentr/client-core';
|
3
|
+
import { TuiLooseUnion } from '@taiga-ui/cdk';
|
4
|
+
import { TuiSizeS } from '@taiga-ui/core';
|
5
|
+
import { Observable } from 'rxjs';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
/**
|
8
|
+
* Карточка категории.
|
9
|
+
*/
|
10
|
+
export declare class ScCategoryCardComponent {
|
11
|
+
private readonly urls;
|
12
|
+
private readonly pathImageNotFound;
|
13
|
+
private readonly cdr;
|
14
|
+
/**
|
15
|
+
* Данные о категории.
|
16
|
+
*/
|
17
|
+
category?: ScCategory;
|
18
|
+
/**
|
19
|
+
* Размер карточки категории.
|
20
|
+
*/
|
21
|
+
size: TuiSizeS;
|
22
|
+
/**
|
23
|
+
* Вид отображения карточки.
|
24
|
+
*/
|
25
|
+
appearance: InputSignal<TuiLooseUnion<'root' | 'normal'>>;
|
26
|
+
/**
|
27
|
+
* Признак, что необходимо отобразить лоадер для кнопки избранных товаров и категорий.
|
28
|
+
*/
|
29
|
+
favoriteShowLoader: boolean;
|
30
|
+
/**
|
31
|
+
* {@link Observable} изменения статуса авторизации.
|
32
|
+
*/
|
33
|
+
readonly authStatus$: Observable<boolean>;
|
34
|
+
/**
|
35
|
+
* Признак наведения на карточку.
|
36
|
+
*/
|
37
|
+
protected isHover: boolean;
|
38
|
+
/**
|
39
|
+
* Признак что категория имеет поведение наведения и скрытия названия.
|
40
|
+
*/
|
41
|
+
enableHover: boolean;
|
42
|
+
/**
|
43
|
+
* Признак того, отображается этот компонент на мобильном устройстве или нет.
|
44
|
+
*/
|
45
|
+
readonly isMobile: boolean;
|
46
|
+
/**
|
47
|
+
* Событие нажатия на кнопку избранной категории.
|
48
|
+
*/
|
49
|
+
clickOnFavoriteEvent: EventEmitter<ScCategory>;
|
50
|
+
/**
|
51
|
+
* Ссылка на страницу категории. Используется именно `href`, так как остановить событие клика для `routerLink` не вышло.
|
52
|
+
*/
|
53
|
+
href?: string;
|
54
|
+
/**
|
55
|
+
* Инициализирует экземпляр класса {@link CategoryCardComponent}.
|
56
|
+
*
|
57
|
+
* @param urls Список ссылок приложения.
|
58
|
+
* @param pathImageNotFound Путь до изображения 'Товар не найден'.
|
59
|
+
* @param cdr Объект для работы с обнаружением изменений.
|
60
|
+
*/
|
61
|
+
constructor(urls: ScIUrls, pathImageNotFound: string, cdr: ChangeDetectorRef);
|
62
|
+
/**
|
63
|
+
* Обработчик события наведения.
|
64
|
+
*
|
65
|
+
* @param isHover Признак наведения на карточку.
|
66
|
+
*/
|
67
|
+
protected onHovered(isHover: boolean): void;
|
68
|
+
/**
|
69
|
+
* Устанавливает компонент в очередь на обновление.
|
70
|
+
*
|
71
|
+
* @deprecated
|
72
|
+
*/
|
73
|
+
markForCheck(): void;
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScCategoryCardComponent, never>;
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScCategoryCardComponent, "sc-category-card", never, { "category": { "alias": "category"; "required": false; }; "size": { "alias": "size"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "enableHover": { "alias": "enableHover"; "required": false; }; "href": { "alias": "href"; "required": false; }; }, { "clickOnFavoriteEvent": "clickOnFavoriteEvent"; }, never, never, false, never>;
|
76
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { ScIWarehouse, ScProduct } from '@snabcentr/client-core';
|
2
|
+
import { TuiSizeL, TuiSizeS } from '@taiga-ui/core';
|
3
|
+
import { Observable } from 'rxjs';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
/**
|
6
|
+
* Компонент центы товара с отображением скидки.
|
7
|
+
*/
|
8
|
+
export declare class CostWithDiscountComponent {
|
9
|
+
/**
|
10
|
+
* {@link Observable} изменения выбранного склада.
|
11
|
+
*/
|
12
|
+
readonly warehouseSelect$: Observable<ScIWarehouse | null>;
|
13
|
+
/**
|
14
|
+
* Объект товара.
|
15
|
+
*/
|
16
|
+
product: ScProduct;
|
17
|
+
/**
|
18
|
+
* Размер компонента.
|
19
|
+
*/
|
20
|
+
size: TuiSizeS | TuiSizeL;
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CostWithDiscountComponent, never>;
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CostWithDiscountComponent, "sc-cost-with-discount", never, { "product": { "alias": "product"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
23
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { ScMimeTypes } from '@snabcentr/client-core';
|
2
|
+
import { Subject } from 'rxjs';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Компонент скачивания каталога.
|
6
|
+
*/
|
7
|
+
export declare class ScDownloadPriceListComponent {
|
8
|
+
/**
|
9
|
+
* Идентификатор категории, для которой нужно скачать прайс.
|
10
|
+
*/
|
11
|
+
categoryId: import("@angular/core").InputSignal<number | undefined>;
|
12
|
+
/**
|
13
|
+
* {@link Subject} события скачивания цен каталога.
|
14
|
+
*/
|
15
|
+
protected readonly onDownload: Subject<ScMimeTypes>;
|
16
|
+
/**
|
17
|
+
* {@link Observable} запроса на скачивание цен каталога.
|
18
|
+
*/
|
19
|
+
protected readonly request$: import("rxjs").Observable<Blob | ScMimeTypes | undefined>;
|
20
|
+
/**
|
21
|
+
* Текст подсказки при скачивании.
|
22
|
+
*/
|
23
|
+
protected readonly pdfLoadingHint: string;
|
24
|
+
/**
|
25
|
+
* Сервис для работы с каталогом.
|
26
|
+
*/
|
27
|
+
private readonly catalogService;
|
28
|
+
/**
|
29
|
+
* Объект окна.
|
30
|
+
*/
|
31
|
+
private readonly window;
|
32
|
+
/**
|
33
|
+
* Перечисление MIME-типов.
|
34
|
+
*/
|
35
|
+
protected readonly mimeTypes: typeof ScMimeTypes;
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScDownloadPriceListComponent, never>;
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScDownloadPriceListComponent, "sc-download-price-list", never, { "categoryId": { "alias": "categoryId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
38
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import { InputSignal, Signal, WritableSignal } from '@angular/core';
|
2
|
+
import { ScIImage } from '@snabcentr/client-core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Компонент просмотра изображений через событие наведения.
|
6
|
+
*/
|
7
|
+
export declare class ScHoverImageCarouselComponent {
|
8
|
+
/**
|
9
|
+
* Массив изображений.
|
10
|
+
*/
|
11
|
+
readonly images: InputSignal<ScIImage[]>;
|
12
|
+
/**
|
13
|
+
* Признак что необходимо отобразить элементы управления.
|
14
|
+
*/
|
15
|
+
readonly isShowActions: InputSignal<boolean>;
|
16
|
+
/**
|
17
|
+
* {@link WritableSignal} для отслеживания текущего индекса изображения.
|
18
|
+
*/
|
19
|
+
readonly currentIndex: WritableSignal<number>;
|
20
|
+
/**
|
21
|
+
* {@link WritableSignal} для отслеживания текущего индекса изображения.
|
22
|
+
*/
|
23
|
+
readonly currentImage: Signal<ScIImage>;
|
24
|
+
/**
|
25
|
+
* Название товара.
|
26
|
+
*/
|
27
|
+
readonly productName: InputSignal<string | undefined>;
|
28
|
+
/**
|
29
|
+
* Обработчик события `mousemove.silent`.
|
30
|
+
*
|
31
|
+
* @param offsetX Отступ курсора мыши по оси X от края {@link HTMLElement}.
|
32
|
+
* @param target Объект {@link HTMLElement} в котором лежат изображения
|
33
|
+
*/
|
34
|
+
private onHover;
|
35
|
+
/**
|
36
|
+
* Обработчик события `mouseleave.silent`.
|
37
|
+
*/
|
38
|
+
private onLeave;
|
39
|
+
/**
|
40
|
+
* Обработчик события наведения указателя мыши на точку.
|
41
|
+
*
|
42
|
+
* @param hovered Признак что указатель мыши наведен на точку.
|
43
|
+
* @param index Индекс изображения, который соответствует точке.
|
44
|
+
*/
|
45
|
+
protected onDotHovered(hovered: boolean, index: number): void;
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScHoverImageCarouselComponent, never>;
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScHoverImageCarouselComponent, "sc-hover-image-carousel", never, { "images": { "alias": "images"; "required": true; "isSignal": true; }; "isShowActions": { "alias": "isShowActions"; "required": false; "isSignal": true; }; "productName": { "alias": "productName"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
48
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export * from './download-price-list/sc-download-price-list.component';
|
2
|
+
export * from './category-card/sc-category-card.component';
|
3
|
+
export * from './hover-image-carousel/sc-hover-image-carousel.component';
|
4
|
+
export * from './input-quantity/sc-input-quantity.component';
|
5
|
+
export * from './notify-when-in-stock-dialog';
|
6
|
+
export * from './price-card/sc-price-card.component';
|
7
|
+
export * from './price-card-inline/sc-price-card-inline.component';
|
8
|
+
export * from './price-history/sc-price-history.component';
|
9
|
+
export * from './price-list-pagination/sc-price-list-pagination.component';
|
10
|
+
export * from './price-warehouse-stock/sc-price-warehouse-stock.component';
|
11
|
+
export * from './sc-favorite-button/sc-favorite-button.component';
|
12
|
+
export * from './sc-catalog.module';
|