@snabcentr/client-ui 3.37.9 → 4.0.1
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/fesm2022/snabcentr-client-ui.mjs +3482 -3924
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/index.d.ts +4298 -3
- package/package.json +1 -3
- package/release_notes.tmp +2 -8
- package/styles/tailwind/tailwind.scss +0 -176
- package/accordion/index.d.ts +0 -3
- package/accordion/sc-accordion-content.directive.d.ts +0 -9
- package/accordion/sc-accordion.component.d.ts +0 -56
- package/accordion/sc-accordion.module.d.ts +0 -15
- package/auth/enums/auth-method.d.ts +0 -13
- package/auth/index.d.ts +0 -8
- package/auth/interfaces/api-error-response.d.ts +0 -13
- package/auth/interfaces/index.d.ts +0 -3
- package/auth/interfaces/sc-bank-account-form-group.d.ts +0 -11
- package/auth/interfaces/sc-contact-form-group.d.ts +0 -10
- package/auth/sc-auth.module.d.ts +0 -26
- package/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.d.ts +0 -39
- package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +0 -41
- package/auth/sc-sign-in-form/sc-sign-in-form.component.d.ts +0 -53
- package/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.d.ts +0 -106
- package/auth/sign-up-form/sc-sign-up-form.component.d.ts +0 -161
- package/banner/index.d.ts +0 -2
- package/banner/sc-banner.component.d.ts +0 -88
- package/banner/sc-banner.module.d.ts +0 -18
- package/brands-list/index.d.ts +0 -2
- package/brands-list/sc-brands-list.component.d.ts +0 -15
- package/brands-list/sc-brands-list.module.d.ts +0 -12
- package/cart/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.d.ts +0 -102
- package/cart/add-or-editing-cart-item-dialog/index.d.ts +0 -2
- package/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.d.ts +0 -48
- package/cart/cart-item/sc-cart-item.component.d.ts +0 -25
- package/cart/index.d.ts +0 -3
- package/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.d.ts +0 -62
- package/catalog/category-card/sc-category-card.component.d.ts +0 -76
- package/catalog/cost-with-discount/cost-with-discount.component.d.ts +0 -23
- package/catalog/download-price-list/sc-download-price-list.component.d.ts +0 -38
- package/catalog/hover-image-carousel/sc-hover-image-carousel.component.d.ts +0 -48
- package/catalog/index.d.ts +0 -12
- package/catalog/input-quantity/sc-input-quantity.component.d.ts +0 -82
- package/catalog/notify-when-in-stock-dialog/index.d.ts +0 -2
- package/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.d.ts +0 -90
- package/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.d.ts +0 -22
- package/catalog/price-card/sc-price-card.component.d.ts +0 -18
- package/catalog/price-card-inline/sc-price-card-inline.component.d.ts +0 -10
- package/catalog/price-history/sc-price-history.component.d.ts +0 -88
- package/catalog/price-list-pagination/sc-price-list-pagination.component.d.ts +0 -40
- package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +0 -47
- package/catalog/sc-catalog.module.d.ts +0 -29
- package/catalog/sc-favorite-button/sc-favorite-button.component.d.ts +0 -25
- package/contacts/add-contact-dialog/sc-add-contact-dialog.component.d.ts +0 -49
- package/contacts/contacts-accordion/sc-contacts-accordion.component.d.ts +0 -23
- package/contacts/index.d.ts +0 -7
- package/contacts/manager-card/sc-manager-card.component.d.ts +0 -22
- package/contacts/manager-card-push/sc-manager-card-push.component.d.ts +0 -18
- package/contacts/new-contact-form/sc-new-contact-form.component.d.ts +0 -28
- package/contacts/sc-contacts.module.d.ts +0 -28
- package/contacts/tokens/index.d.ts +0 -2
- package/contacts/tokens/sc-manager-qr-handler.token.d.ts +0 -6
- package/contacts/tokens/sc-show-help-notification-in-phone-input.token.d.ts +0 -5
- package/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.d.ts +0 -49
- package/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.d.ts +0 -161
- package/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.d.ts +0 -62
- package/contragents/contragents-accordion/sc-contragents-accordion.component.d.ts +0 -49
- package/contragents/index.d.ts +0 -7
- package/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.d.ts +0 -64
- package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +0 -125
- package/contragents/sc-contragents.module.d.ts +0 -27
- package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +0 -141
- package/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.d.ts +0 -50
- package/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.d.ts +0 -49
- package/delivery-address/index.d.ts +0 -4
- package/delivery-address/sc-delivery-address.module.d.ts +0 -26
- package/dialogs/index.d.ts +0 -1
- package/dialogs/sc-resource-preview/sc-resource-preview.component.d.ts +0 -42
- package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +0 -136
- package/directives/index.d.ts +0 -7
- package/directives/links/index.d.ts +0 -4
- package/directives/links/sc-email-link.directive.d.ts +0 -25
- package/directives/links/sc-link-location.d.ts +0 -5
- package/directives/links/sc-links.d.ts +0 -7
- package/directives/links/sc-tel-link.directive.d.ts +0 -40
- package/directives/next-input-focus/sc-next-input-focus.directive.d.ts +0 -18
- package/directives/next-input-focus/sc-next-input-focus.module.d.ts +0 -10
- package/directives/sc-date-value-transformer.directive.d.ts +0 -8
- package/directives/select-on-focusin/sc-select-on-focusin.directive.d.ts +0 -14
- package/directives/terminal-link/sc-terminal-link.directive.d.ts +0 -34
- package/error-handler/consts/error-change-handler.providers.d.ts +0 -5
- package/error-handler/error-block-status/error-block-status.component.d.ts +0 -37
- package/error-handler/index.d.ts +0 -4
- package/error-handler/interfaces/i-block-error.d.ts +0 -17
- package/error-handler/sc-error-handler.component.d.ts +0 -40
- package/esm2022/accordion/index.mjs +0 -4
- package/esm2022/accordion/sc-accordion-content.directive.mjs +0 -17
- package/esm2022/accordion/sc-accordion.component.mjs +0 -92
- package/esm2022/accordion/sc-accordion.module.mjs +0 -26
- package/esm2022/auth/enums/auth-method.mjs +0 -15
- package/esm2022/auth/index.mjs +0 -9
- package/esm2022/auth/interfaces/api-error-response.mjs +0 -2
- package/esm2022/auth/interfaces/index.mjs +0 -4
- package/esm2022/auth/interfaces/sc-bank-account-form-group.mjs +0 -2
- package/esm2022/auth/interfaces/sc-contact-form-group.mjs +0 -2
- package/esm2022/auth/sc-auth.module.mjs +0 -99
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +0 -87
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +0 -86
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +0 -89
- package/esm2022/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.mjs +0 -187
- package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +0 -333
- package/esm2022/banner/index.mjs +0 -3
- package/esm2022/banner/sc-banner.component.mjs +0 -143
- package/esm2022/banner/sc-banner.module.mjs +0 -30
- package/esm2022/brands-list/index.mjs +0 -3
- package/esm2022/brands-list/sc-brands-list.component.mjs +0 -24
- package/esm2022/brands-list/sc-brands-list.module.mjs +0 -22
- package/esm2022/cart/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.mjs +0 -233
- package/esm2022/cart/add-or-editing-cart-item-dialog/index.mjs +0 -3
- package/esm2022/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.mjs +0 -74
- package/esm2022/cart/cart-item/sc-cart-item.component.mjs +0 -74
- package/esm2022/cart/index.mjs +0 -4
- package/esm2022/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.mjs +0 -110
- package/esm2022/catalog/category-card/sc-category-card.component.mjs +0 -102
- package/esm2022/catalog/cost-with-discount/cost-with-discount.component.mjs +0 -38
- package/esm2022/catalog/download-price-list/sc-download-price-list.component.mjs +0 -56
- package/esm2022/catalog/hover-image-carousel/sc-hover-image-carousel.component.mjs +0 -76
- package/esm2022/catalog/index.mjs +0 -13
- package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +0 -177
- package/esm2022/catalog/notify-when-in-stock-dialog/index.mjs +0 -3
- package/esm2022/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.mjs +0 -173
- package/esm2022/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.mjs +0 -35
- package/esm2022/catalog/price-card/sc-price-card.component.mjs +0 -52
- package/esm2022/catalog/price-card-inline/sc-price-card-inline.component.mjs +0 -56
- package/esm2022/catalog/price-history/sc-price-history.component.mjs +0 -140
- package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +0 -65
- package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +0 -54
- package/esm2022/catalog/sc-catalog.module.mjs +0 -125
- package/esm2022/catalog/sc-favorite-button/sc-favorite-button.component.mjs +0 -42
- package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +0 -91
- package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +0 -38
- package/esm2022/contacts/index.mjs +0 -8
- package/esm2022/contacts/manager-card/sc-manager-card.component.mjs +0 -58
- package/esm2022/contacts/manager-card-push/sc-manager-card-push.component.mjs +0 -28
- package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +0 -37
- package/esm2022/contacts/sc-contacts.module.mjs +0 -92
- package/esm2022/contacts/tokens/index.mjs +0 -3
- package/esm2022/contacts/tokens/sc-manager-qr-handler.token.mjs +0 -24
- package/esm2022/contacts/tokens/sc-show-help-notification-in-phone-input.token.mjs +0 -7
- package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +0 -81
- package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +0 -278
- package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +0 -75
- package/esm2022/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +0 -69
- package/esm2022/contragents/index.mjs +0 -8
- package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +0 -72
- package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +0 -242
- package/esm2022/contragents/sc-contragents.module.mjs +0 -118
- package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +0 -250
- package/esm2022/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +0 -60
- package/esm2022/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +0 -69
- package/esm2022/delivery-address/index.mjs +0 -5
- package/esm2022/delivery-address/sc-delivery-address.module.mjs +0 -99
- package/esm2022/dialogs/index.mjs +0 -2
- package/esm2022/dialogs/sc-resource-preview/sc-resource-preview.component.mjs +0 -68
- package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +0 -170
- package/esm2022/directives/index.mjs +0 -8
- package/esm2022/directives/links/index.mjs +0 -5
- package/esm2022/directives/links/sc-email-link.directive.mjs +0 -49
- package/esm2022/directives/links/sc-link-location.mjs +0 -2
- package/esm2022/directives/links/sc-links.mjs +0 -8
- package/esm2022/directives/links/sc-tel-link.directive.mjs +0 -79
- package/esm2022/directives/next-input-focus/sc-next-input-focus.directive.mjs +0 -43
- package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +0 -19
- package/esm2022/directives/sc-date-value-transformer.directive.mjs +0 -30
- package/esm2022/directives/select-on-focusin/sc-select-on-focusin.directive.mjs +0 -31
- package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +0 -69
- package/esm2022/error-handler/consts/error-change-handler.providers.mjs +0 -8
- package/esm2022/error-handler/error-block-status/error-block-status.component.mjs +0 -76
- package/esm2022/error-handler/index.mjs +0 -5
- package/esm2022/error-handler/interfaces/i-block-error.mjs +0 -2
- package/esm2022/error-handler/sc-error-handler.component.mjs +0 -58
- package/esm2022/feedback/feedback-form/sc-feedback-form.component.mjs +0 -344
- package/esm2022/feedback/gratitude/sc-gratitude.component.mjs +0 -32
- package/esm2022/feedback/index.mjs +0 -4
- package/esm2022/feedback/interfaces/index.mjs +0 -2
- package/esm2022/feedback/interfaces/sc-feedback-form-config.mjs +0 -2
- package/esm2022/files/directives/index.mjs +0 -3
- package/esm2022/files/directives/tree-top.directive.mjs +0 -63
- package/esm2022/files/directives/tree.directive.mjs +0 -47
- package/esm2022/files/file-tree-item/file-tree-item.component.mjs +0 -18
- package/esm2022/files/files-and-documents/files-and-documents.component.mjs +0 -61
- package/esm2022/files/files-and-documents.module.mjs +0 -28
- package/esm2022/files/index.mjs +0 -6
- package/esm2022/files/interfaces/tree-node.mjs +0 -2
- package/esm2022/files/services/index.mjs +0 -3
- package/esm2022/files/services/tree-icon.service.mjs +0 -49
- package/esm2022/files/services/tree-loader.service.mjs +0 -62
- package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +0 -155
- package/esm2022/form-fields/form-fields.module.mjs +0 -69
- package/esm2022/form-fields/index.mjs +0 -4
- package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +0 -175
- package/esm2022/helpers/index.mjs +0 -2
- package/esm2022/helpers/sc-px-converter.mjs +0 -27
- package/esm2022/icons/index.mjs +0 -2
- package/esm2022/icons/sc-client-ui-icons-name.mjs +0 -99
- package/esm2022/loader/index.mjs +0 -2
- package/esm2022/loader/sc-i-loader.mjs +0 -2
- package/esm2022/masks/index.mjs +0 -8
- package/esm2022/masks/sc-account-number-mask.mjs +0 -7
- package/esm2022/masks/sc-bic-mask.mjs +0 -7
- package/esm2022/masks/sc-correspondent-account-mask.mjs +0 -7
- package/esm2022/masks/sc-inn-mask.mjs +0 -13
- package/esm2022/masks/sc-kpp-mask.mjs +0 -7
- package/esm2022/masks/sc-okpo-mask.mjs +0 -13
- package/esm2022/masks/sc-phone-verification-code-mask.mjs +0 -7
- package/esm2022/models/i-sc-image.mjs +0 -2
- package/esm2022/models/index.mjs +0 -2
- package/esm2022/news/index.mjs +0 -4
- package/esm2022/news/news-card/sc-news-card.component.mjs +0 -34
- package/esm2022/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +0 -31
- package/esm2022/news/sc-news.module.mjs +0 -26
- package/esm2022/order/index.mjs +0 -4
- package/esm2022/order/order-item-mobile/sc-order-item-mobile.component.mjs +0 -60
- package/esm2022/order/sc-order.module.mjs +0 -53
- package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +0 -35
- package/esm2022/pages/frequently-asked-questions/sc-frequently-asked-questions.component.mjs +0 -28
- package/esm2022/pages/frequently-asked-questions/sc-page-size-options.mjs +0 -6
- package/esm2022/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.mjs +0 -59
- package/esm2022/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.mjs +0 -106
- package/esm2022/pages/index.mjs +0 -4
- package/esm2022/pipes/index.mjs +0 -3
- package/esm2022/pipes/sc-format-date.mjs +0 -33
- package/esm2022/pipes/sc-phone-format.mjs +0 -44
- package/esm2022/profile/index.mjs +0 -3
- package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +0 -175
- package/esm2022/profile/sc-profile.module.mjs +0 -76
- package/esm2022/providers/date-value-transformer/index.mjs +0 -4
- package/esm2022/providers/date-value-transformer/sc-date-value-transformer-types.mjs +0 -2
- package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-end-time.mjs +0 -26
- package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-start-time.mjs +0 -37
- package/esm2022/providers/index.mjs +0 -12
- package/esm2022/providers/sc-allow-select-terminated.mjs +0 -6
- package/esm2022/providers/sc-country-ids.mjs +0 -6
- package/esm2022/providers/sc-date-formatter.mjs +0 -12
- package/esm2022/providers/sc-date-value-transformer.mjs +0 -12
- package/esm2022/providers/sc-help-notification-close.mjs +0 -7
- package/esm2022/providers/sc-help-notification-limit.mjs +0 -6
- package/esm2022/providers/sc-max-files-in-form-input.mjs +0 -6
- package/esm2022/providers/sc-notify-when-in-stock-required-fields.mjs +0 -6
- package/esm2022/providers/sc-page-size-options.mjs +0 -6
- package/esm2022/providers/sc-user-providers.mjs +0 -33
- package/esm2022/providers/sc-verification-code-timeout.mjs +0 -6
- package/esm2022/public-api.mjs +0 -35
- package/esm2022/qrcode/index.mjs +0 -3
- package/esm2022/qrcode/qrcode-dialog/sc-qrcode-dialog.component.mjs +0 -58
- package/esm2022/qrcode/sc-qrcode.module.mjs +0 -25
- package/esm2022/samples/index.mjs +0 -5
- package/esm2022/samples/interfaces/index.mjs +0 -3
- package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +0 -2
- package/esm2022/samples/interfaces/sc-preview-mosquito-config.mjs +0 -2
- package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +0 -42
- package/esm2022/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.mjs +0 -63
- package/esm2022/samples/sc-sample.module.mjs +0 -68
- package/esm2022/services/index.mjs +0 -2
- package/esm2022/services/sc-help-notification.service.mjs +0 -90
- package/esm2022/share-button/index.mjs +0 -3
- package/esm2022/share-button/sc-share-button.component.mjs +0 -35
- package/esm2022/share-button/sc-share-button.module.mjs +0 -22
- package/esm2022/snabcentr-client-ui.mjs +0 -5
- package/esm2022/user/index.mjs +0 -6
- package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +0 -75
- package/esm2022/user/sc-user.module.mjs +0 -89
- package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +0 -122
- package/esm2022/user/user-managers/sc-user-managers.component.mjs +0 -42
- package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +0 -106
- package/esm2022/validators/index.mjs +0 -7
- package/esm2022/validators/sc-at-least-one-required-validator.mjs +0 -25
- package/esm2022/validators/sc-bic-validator.mjs +0 -10
- package/esm2022/validators/sc-correspondent-account-validator.mjs +0 -10
- package/esm2022/validators/sc-password-confirm-matching-validator.mjs +0 -17
- package/esm2022/validators/sc-phone-validator.mjs +0 -14
- package/esm2022/validators/step-validator.mjs +0 -18
- package/esm2022/verification/index.mjs +0 -4
- package/esm2022/verification/providers/index.mjs +0 -3
- package/esm2022/verification/providers/sc-phone-approve-code-sender.provider.mjs +0 -12
- package/esm2022/verification/providers/sc-phone-approve-code-sender.token.mjs +0 -7
- package/esm2022/verification/sc-verification.module.mjs +0 -88
- package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +0 -277
- package/feedback/feedback-form/sc-feedback-form.component.d.ts +0 -163
- package/feedback/gratitude/sc-gratitude.component.d.ts +0 -20
- package/feedback/index.d.ts +0 -3
- package/feedback/interfaces/index.d.ts +0 -1
- package/feedback/interfaces/sc-feedback-form-config.d.ts +0 -23
- package/files/directives/index.d.ts +0 -2
- package/files/directives/tree-top.directive.d.ts +0 -33
- package/files/directives/tree.directive.d.ts +0 -35
- package/files/file-tree-item/file-tree-item.component.d.ts +0 -9
- package/files/files-and-documents/files-and-documents.component.d.ts +0 -27
- package/files/files-and-documents.module.d.ts +0 -17
- package/files/index.d.ts +0 -5
- package/files/interfaces/tree-node.d.ts +0 -29
- package/files/services/index.d.ts +0 -2
- package/files/services/tree-icon.service.d.ts +0 -23
- package/files/services/tree-loader.service.d.ts +0 -43
- package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +0 -78
- package/form-fields/form-fields.module.d.ts +0 -19
- package/form-fields/index.d.ts +0 -3
- package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +0 -73
- package/helpers/index.d.ts +0 -1
- package/helpers/sc-px-converter.d.ts +0 -15
- package/icons/index.d.ts +0 -1
- package/icons/sc-client-ui-icons-name.d.ts +0 -4
- package/loader/index.d.ts +0 -1
- package/loader/sc-i-loader.d.ts +0 -9
- package/masks/index.d.ts +0 -7
- package/masks/sc-account-number-mask.d.ts +0 -5
- package/masks/sc-bic-mask.d.ts +0 -5
- package/masks/sc-correspondent-account-mask.d.ts +0 -5
- package/masks/sc-inn-mask.d.ts +0 -9
- package/masks/sc-kpp-mask.d.ts +0 -5
- package/masks/sc-okpo-mask.d.ts +0 -9
- package/masks/sc-phone-verification-code-mask.d.ts +0 -5
- package/models/i-sc-image.d.ts +0 -17
- package/models/index.d.ts +0 -1
- package/news/index.d.ts +0 -3
- package/news/news-card/sc-news-card.component.d.ts +0 -22
- package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +0 -16
- package/news/sc-news.module.d.ts +0 -16
- package/order/index.d.ts +0 -3
- package/order/order-item-mobile/sc-order-item-mobile.component.d.ts +0 -39
- package/order/sc-order.module.d.ts +0 -19
- package/order/sc-payment-status/sc-payment-status.component.d.ts +0 -25
- package/pages/frequently-asked-questions/sc-frequently-asked-questions.component.d.ts +0 -18
- package/pages/frequently-asked-questions/sc-page-size-options.d.ts +0 -5
- package/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.d.ts +0 -28
- package/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.d.ts +0 -79
- package/pages/index.d.ts +0 -3
- package/pipes/index.d.ts +0 -2
- package/pipes/sc-format-date.d.ts +0 -20
- package/pipes/sc-phone-format.d.ts +0 -21
- package/profile/index.d.ts +0 -2
- package/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.d.ts +0 -126
- package/profile/sc-profile.module.d.ts +0 -24
- package/providers/date-value-transformer/index.d.ts +0 -3
- package/providers/date-value-transformer/sc-date-value-transformer-types.d.ts +0 -9
- package/providers/date-value-transformer/sc-date-value-transformer-with-end-time.d.ts +0 -16
- package/providers/date-value-transformer/sc-date-value-transformer-with-start-time.d.ts +0 -22
- package/providers/index.d.ts +0 -11
- package/providers/sc-allow-select-terminated.d.ts +0 -5
- package/providers/sc-country-ids.d.ts +0 -5
- package/providers/sc-date-formatter.d.ts +0 -6
- package/providers/sc-date-value-transformer.d.ts +0 -5
- package/providers/sc-help-notification-close.d.ts +0 -6
- package/providers/sc-help-notification-limit.d.ts +0 -5
- package/providers/sc-max-files-in-form-input.d.ts +0 -5
- package/providers/sc-notify-when-in-stock-required-fields.d.ts +0 -5
- package/providers/sc-page-size-options.d.ts +0 -5
- package/providers/sc-user-providers.d.ts +0 -21
- package/providers/sc-verification-code-timeout.d.ts +0 -5
- package/public-api.d.ts +0 -31
- package/qrcode/index.d.ts +0 -2
- package/qrcode/qrcode-dialog/sc-qrcode-dialog.component.d.ts +0 -37
- package/qrcode/sc-qrcode.module.d.ts +0 -14
- package/samples/index.d.ts +0 -4
- package/samples/interfaces/index.d.ts +0 -2
- package/samples/interfaces/sc-i-preview-sample.d.ts +0 -56
- package/samples/interfaces/sc-preview-mosquito-config.d.ts +0 -62
- package/samples/preview-sample/sc-preview-sample.component.d.ts +0 -30
- package/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.d.ts +0 -50
- package/samples/sc-sample.module.d.ts +0 -19
- package/services/index.d.ts +0 -1
- package/services/sc-help-notification.service.d.ts +0 -64
- package/share-button/index.d.ts +0 -2
- package/share-button/sc-share-button.component.d.ts +0 -22
- package/share-button/sc-share-button.module.d.ts +0 -12
- package/user/index.d.ts +0 -5
- package/user/reset-user-password/sc-reset-user-password.component.d.ts +0 -46
- package/user/sc-user.module.d.ts +0 -25
- package/user/update-user-info-dialog/sc-update-user-info-dialog.component.d.ts +0 -63
- package/user/user-managers/sc-user-managers.component.d.ts +0 -26
- package/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.d.ts +0 -53
- package/validators/index.d.ts +0 -6
- package/validators/sc-at-least-one-required-validator.d.ts +0 -10
- package/validators/sc-bic-validator.d.ts +0 -8
- package/validators/sc-correspondent-account-validator.d.ts +0 -8
- package/validators/sc-password-confirm-matching-validator.d.ts +0 -8
- package/validators/sc-phone-validator.d.ts +0 -5
- package/validators/step-validator.d.ts +0 -8
- package/verification/index.d.ts +0 -3
- package/verification/providers/index.d.ts +0 -2
- package/verification/providers/sc-phone-approve-code-sender.provider.d.ts +0 -6
- package/verification/providers/sc-phone-approve-code-sender.token.d.ts +0 -7
- package/verification/sc-verification.module.d.ts +0 -21
- package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +0 -149
@@ -1,56 +0,0 @@
|
|
1
|
-
import { IScImage } from '../../models';
|
2
|
-
/**
|
3
|
-
* Модель данных образцов товара.
|
4
|
-
*/
|
5
|
-
export interface ScIPreviewSample {
|
6
|
-
/**
|
7
|
-
* Заголовок.
|
8
|
-
*/
|
9
|
-
title: string;
|
10
|
-
/**
|
11
|
-
* Описание (подзаголовок).
|
12
|
-
*/
|
13
|
-
description: string;
|
14
|
-
/**
|
15
|
-
* Экземпляры образцов.
|
16
|
-
*/
|
17
|
-
items?: Array<{
|
18
|
-
/**
|
19
|
-
* Ссылка на изображение кнопки переключателя.
|
20
|
-
*/
|
21
|
-
buttonImageUrl: IScImage;
|
22
|
-
/**
|
23
|
-
* Ссылка на изображение в галерее, соответствующее кнопке.
|
24
|
-
*/
|
25
|
-
carouselItemImage: IScImage;
|
26
|
-
/**
|
27
|
-
* Наименование цвета образца.
|
28
|
-
*/
|
29
|
-
color: string;
|
30
|
-
/**
|
31
|
-
* Элементы кнопок взаимодействия.
|
32
|
-
*/
|
33
|
-
actions?: Array<{
|
34
|
-
/**
|
35
|
-
* Значок элемента взаимодействия.
|
36
|
-
*/
|
37
|
-
icon: string;
|
38
|
-
/**
|
39
|
-
* Подпись элемента взаимодействия.
|
40
|
-
*/
|
41
|
-
label: string;
|
42
|
-
/**
|
43
|
-
* Ссылка.
|
44
|
-
*/
|
45
|
-
href?: string;
|
46
|
-
/**
|
47
|
-
* Обработчик элемента взаимодействия.
|
48
|
-
*/
|
49
|
-
handler?: (...atr: unknown[]) => unknown;
|
50
|
-
}>;
|
51
|
-
}>;
|
52
|
-
/**
|
53
|
-
* Ссылка на изображение товара в описании.
|
54
|
-
*/
|
55
|
-
descriptionImageUrl?: string;
|
56
|
-
}
|
@@ -1,62 +0,0 @@
|
|
1
|
-
import { IScImage } from '../../models';
|
2
|
-
/**
|
3
|
-
* Конфигурация для отображения образца москитной сетки.
|
4
|
-
*/
|
5
|
-
export interface ScPreviewMosquitoConfig {
|
6
|
-
/**
|
7
|
-
* Типы москитных сеток.
|
8
|
-
*/
|
9
|
-
netType: string[];
|
10
|
-
/**
|
11
|
-
* Цвета профиля.
|
12
|
-
*/
|
13
|
-
color: string[];
|
14
|
-
/**
|
15
|
-
* Типы креплений москитных сеток к окну.
|
16
|
-
*/
|
17
|
-
mountType: string[];
|
18
|
-
/**
|
19
|
-
* Справочник всех возможных значений описаний конфигураций.
|
20
|
-
*/
|
21
|
-
descriptions: Record<string, Record<string, string>>;
|
22
|
-
/**
|
23
|
-
* Подзаголовок для описания сетки.
|
24
|
-
*/
|
25
|
-
subtitles: Record<string, string>;
|
26
|
-
/**
|
27
|
-
* Иконки для отображения на кнопках.
|
28
|
-
*/
|
29
|
-
icons: Record<string, string>;
|
30
|
-
/**
|
31
|
-
* Минимальная высота светового проёма в миллиметрах.
|
32
|
-
*/
|
33
|
-
minHeight: number;
|
34
|
-
/**
|
35
|
-
* Список максимально возможных высот светового проёма в миллиметрах в зависимости от типа сетки.
|
36
|
-
*/
|
37
|
-
maxHeights: Record<string, number>;
|
38
|
-
/**
|
39
|
-
* Минимальная ширина светового проёма в миллиметрах.
|
40
|
-
*/
|
41
|
-
minWidth: number;
|
42
|
-
/**
|
43
|
-
* Список максимально возможных ширин светового проёма в миллиметрах в зависимости от типа сетки.
|
44
|
-
*/
|
45
|
-
maxWidths: Record<string, number>;
|
46
|
-
/**
|
47
|
-
* Теги, которые будут отображаться на кнопках.
|
48
|
-
*/
|
49
|
-
tags: Record<string, string[]>;
|
50
|
-
/**
|
51
|
-
* Изображения для отображения в карусели по цвету профиля.
|
52
|
-
*/
|
53
|
-
imagePreviewsByColor: Record<string, IScImage[]>;
|
54
|
-
/**
|
55
|
-
* Изображения цветов профиля.
|
56
|
-
*/
|
57
|
-
colorsIcons: Record<string, IScImage>;
|
58
|
-
/**
|
59
|
-
* Ссылка на конфигуратор москитной сетки.
|
60
|
-
*/
|
61
|
-
mosquitoConfiguratorLink: string;
|
62
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { InputSignal, ModelSignal } from '@angular/core';
|
2
|
-
import { ScIPreviewSample } from '../interfaces/sc-i-preview-sample';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* Компонент представления образцов товара.
|
6
|
-
*/
|
7
|
-
export declare class ScPreviewSampleComponent {
|
8
|
-
/**
|
9
|
-
* Индекс элемента в галерее.
|
10
|
-
*/
|
11
|
-
readonly index: ModelSignal<number>;
|
12
|
-
/**
|
13
|
-
* Длительность переключения карусели.
|
14
|
-
*/
|
15
|
-
duration: InputSignal<number>;
|
16
|
-
/**
|
17
|
-
* Объект данных товара.
|
18
|
-
*/
|
19
|
-
sample: InputSignal<ScIPreviewSample>;
|
20
|
-
/**
|
21
|
-
* Признак, что необходимо отображать переключатели на карусели.
|
22
|
-
*/
|
23
|
-
isShowCarouselSwitches: InputSignal<boolean>;
|
24
|
-
/**
|
25
|
-
* Признак, что при горизонтальном отображении компонент должен быть развёрнут.
|
26
|
-
*/
|
27
|
-
isReverse: InputSignal<boolean>;
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScPreviewSampleComponent, never>;
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScPreviewSampleComponent, "sc-preview-sample", never, { "index": { "alias": "index"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "sample": { "alias": "sample"; "required": true; "isSignal": true; }; "isShowCarouselSwitches": { "alias": "isShowCarouselSwitches"; "required": false; "isSignal": true; }; "isReverse": { "alias": "isReverse"; "required": false; "isSignal": true; }; }, { "index": "indexChange"; }, never, never, false, never>;
|
30
|
-
}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
import { InputSignal, OutputEmitterRef, Signal, WritableSignal } from '@angular/core';
|
2
|
-
import { ScPreviewMosquitoConfig } from '../interfaces';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* Компонент представления москитной сетки.
|
6
|
-
*/
|
7
|
-
export declare class ScPreviewSamplesMosquitoComponent {
|
8
|
-
/**
|
9
|
-
* Выбранный индекс цвета профиля.
|
10
|
-
*/
|
11
|
-
readonly colorIndex: WritableSignal<number>;
|
12
|
-
/**
|
13
|
-
* Выбранный индекс типа сетки.
|
14
|
-
*/
|
15
|
-
readonly netTypeIndex: WritableSignal<number>;
|
16
|
-
/**
|
17
|
-
* Выбранный тип сетки.
|
18
|
-
*/
|
19
|
-
readonly netTypeIndexSelected: Signal<string>;
|
20
|
-
/**
|
21
|
-
* Выбранный цвет профиля.
|
22
|
-
*/
|
23
|
-
readonly colorIndexSelected: Signal<string>;
|
24
|
-
/**
|
25
|
-
* Конфигурация для отображения образца москитной сетки.
|
26
|
-
*/
|
27
|
-
readonly config: InputSignal<ScPreviewMosquitoConfig>;
|
28
|
-
/**
|
29
|
-
* Событие, которое происходит при нажатии на кнопку "Назад в Конфигуратор".
|
30
|
-
*/
|
31
|
-
readonly openConfiguratorClick: OutputEmitterRef<void>;
|
32
|
-
/**
|
33
|
-
* Ссылка на страницу конфигуратора.
|
34
|
-
*/
|
35
|
-
readonly configuratorPageUrl: InputSignal<string | undefined>;
|
36
|
-
/**
|
37
|
-
* Событие, которое происходит при нажатии на кнопку "Консультация".
|
38
|
-
*/
|
39
|
-
readonly openConsultationClick: OutputEmitterRef<void>;
|
40
|
-
/**
|
41
|
-
* Интервал автоматического прочитывания списка товаров в миллисекундах.
|
42
|
-
*/
|
43
|
-
readonly autoSlideIntervale: InputSignal<number>;
|
44
|
-
/**
|
45
|
-
* Признак, что необходимо отображать переключатели на карусели.
|
46
|
-
*/
|
47
|
-
protected readonly isShowCarouselSwitches: InputSignal<boolean>;
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScPreviewSamplesMosquitoComponent, never>;
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScPreviewSamplesMosquitoComponent, "sc-preview-samples-mosquito", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "configuratorPageUrl": { "alias": "configuratorPageUrl"; "required": false; "isSignal": true; }; "autoSlideIntervale": { "alias": "autoSlideIntervale"; "required": false; "isSignal": true; }; "isShowCarouselSwitches": { "alias": "isShowCarouselSwitches"; "required": false; "isSignal": true; }; }, { "openConfiguratorClick": "openConfiguratorClick"; "openConsultationClick": "openConsultationClick"; }, never, never, true, never>;
|
50
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./preview-sample/sc-preview-sample.component";
|
3
|
-
import * as i2 from "@angular/common";
|
4
|
-
import * as i3 from "@angular/forms";
|
5
|
-
import * as i4 from "@taiga-ui/core";
|
6
|
-
import * as i5 from "@taiga-ui/kit";
|
7
|
-
import * as i6 from "../form-fields/form-fields.module";
|
8
|
-
import * as i7 from "@taiga-ui/legacy";
|
9
|
-
import * as i8 from "@taiga-ui/cdk/directives/item";
|
10
|
-
import * as i9 from "@taiga-ui/cdk";
|
11
|
-
import * as i10 from "ng-recaptcha-2";
|
12
|
-
/**
|
13
|
-
* Модуль представления образцов товара.
|
14
|
-
*/
|
15
|
-
export declare class ScPreviewSampleModule {
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScPreviewSampleModule, never>;
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScPreviewSampleModule, [typeof i1.ScPreviewSampleComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.TuiError, typeof i5.TuiFieldErrorPipe, typeof i6.ScFormFieldsModule, typeof i7.TuiInputModule, typeof i7.TuiInputPhoneModule, typeof i8.TuiItem, typeof i5.TuiCarouselComponent, typeof i5.TuiCarouselDirective, typeof i5.TuiCarouselAutoscroll, typeof i5.TuiCarouselButtons, typeof i5.TuiCarouselScroll, typeof i5.TuiAvatar, typeof i9.TuiHovered, typeof i9.TuiLet, typeof i4.TuiButton, typeof i5.TuiButtonLoading, typeof i4.TuiLabel, typeof i10.RecaptchaFormsModule, typeof i10.RecaptchaModule], [typeof i1.ScPreviewSampleComponent]>;
|
18
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ScPreviewSampleModule>;
|
19
|
-
}
|
package/services/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './sc-help-notification.service';
|
@@ -1,64 +0,0 @@
|
|
1
|
-
import { ScIOrgContact } from '@snabcentr/client-core';
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* Сервис для отображения Push-уведомлений с контактами для помощи клиенту.
|
6
|
-
*/
|
7
|
-
export declare class ScHelpNotificationService {
|
8
|
-
/**
|
9
|
-
* Список контактов для показа в уведомлении.
|
10
|
-
*/
|
11
|
-
private readonly contactsShow;
|
12
|
-
/**
|
13
|
-
* Сервис для работы с контактными лицами.
|
14
|
-
*/
|
15
|
-
private readonly contactsService;
|
16
|
-
/**
|
17
|
-
* Максимальное количество отображаемых уведомлений.
|
18
|
-
*/
|
19
|
-
private readonly notificationLimit;
|
20
|
-
/**
|
21
|
-
* Поток для закрытия уведомлений.
|
22
|
-
*/
|
23
|
-
private readonly close$;
|
24
|
-
/**
|
25
|
-
* Сервис для работы с пользователем.
|
26
|
-
*/
|
27
|
-
private readonly userService;
|
28
|
-
/**
|
29
|
-
* Список контактов для показа в уведомлении.
|
30
|
-
*/
|
31
|
-
readonly userHelpContacts: Observable<ScIOrgContact[]>;
|
32
|
-
/**
|
33
|
-
* Инициализирует экземпляр класса {@link ScHelpNotificationService}.
|
34
|
-
*/
|
35
|
-
constructor();
|
36
|
-
/**
|
37
|
-
* Установить список контактов для показа в уведомлении.
|
38
|
-
*
|
39
|
-
* @param contacts Данные контактов.
|
40
|
-
*/
|
41
|
-
setShowContacts(...contacts: ScIOrgContact[]): void;
|
42
|
-
/**
|
43
|
-
* Возвращает список менеджеров для показа в уведомлении.
|
44
|
-
*/
|
45
|
-
getContactsShow$(): Observable<ScIOrgContact[]>;
|
46
|
-
/**
|
47
|
-
* Закрывает уведомление по номеру телефона.
|
48
|
-
*
|
49
|
-
* @param contact Контакт.
|
50
|
-
*/
|
51
|
-
closeHelpNotification(contact: ScIOrgContact): void;
|
52
|
-
/**
|
53
|
-
* Закрывает все уведомления.
|
54
|
-
*/
|
55
|
-
closeAllHelpNotification(): void;
|
56
|
-
/**
|
57
|
-
* Показать уведомление по номеру телефона.
|
58
|
-
*
|
59
|
-
* @param phone Номер телефона.
|
60
|
-
*/
|
61
|
-
helpNotificationByPhone(phone: string): void;
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScHelpNotificationService, never>;
|
63
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScHelpNotificationService>;
|
64
|
-
}
|
package/share-button/index.d.ts
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
2
|
-
import { TuiSizeL, TuiSizeM, TuiSizeS } from '@taiga-ui/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* Компонент кнопки "Поделиться".
|
6
|
-
*/
|
7
|
-
export declare class ScShareButtonComponent {
|
8
|
-
/**
|
9
|
-
* Формат внешнего вида кнопки.
|
10
|
-
*/
|
11
|
-
appearance: 'primary' | 'secondary' | 'outline' | 'flat';
|
12
|
-
/**
|
13
|
-
* Размер кнопки.
|
14
|
-
*/
|
15
|
-
size: TuiSizeL | TuiSizeM | TuiSizeS;
|
16
|
-
/**
|
17
|
-
* Событие клика по кнопке "Поделиться".
|
18
|
-
*/
|
19
|
-
clickShareEvent: EventEmitter<void>;
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScShareButtonComponent, never>;
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScShareButtonComponent, "sc-share-button", never, { "appearance": { "alias": "appearance"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "clickShareEvent": "clickShareEvent"; }, never, never, false, never>;
|
22
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./sc-share-button.component";
|
3
|
-
import * as i2 from "@angular/common";
|
4
|
-
import * as i3 from "@taiga-ui/core";
|
5
|
-
/**
|
6
|
-
* Модуль работы кнопки "Поделиться".
|
7
|
-
*/
|
8
|
-
export declare class ScShareButtonModule {
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScShareButtonModule, never>;
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScShareButtonModule, [typeof i1.ScShareButtonComponent], [typeof i2.CommonModule, typeof i3.TuiButton], [typeof i1.ScShareButtonComponent]>;
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ScShareButtonModule>;
|
12
|
-
}
|
package/user/index.d.ts
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
export * from './reset-user-password/sc-reset-user-password.component';
|
2
|
-
export * from './update-user-info-dialog/sc-update-user-info-dialog.component';
|
3
|
-
export * from './user-managers/sc-user-managers.component';
|
4
|
-
export * from './user-phone-approve-dialog/sc-user-phone-approve-dialog.component';
|
5
|
-
export * from './sc-user.module';
|
@@ -1,46 +0,0 @@
|
|
1
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
2
|
-
import { ScUserService } from '@snabcentr/client-core';
|
3
|
-
import { Observable, Subject } from 'rxjs';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* Компонент смены пароля пользователя.
|
7
|
-
*/
|
8
|
-
export declare class ScResetUserPasswordComponent {
|
9
|
-
private readonly userService;
|
10
|
-
/**
|
11
|
-
* Форма для изменения пароля пользователя.
|
12
|
-
*/
|
13
|
-
form: FormGroup<{
|
14
|
-
currentPassword: FormControl<null>;
|
15
|
-
password: FormControl<null>;
|
16
|
-
passwordConfirm: FormControl<null>;
|
17
|
-
}>;
|
18
|
-
/**
|
19
|
-
* {@link Subject} события отправки формы.
|
20
|
-
*/
|
21
|
-
readonly onSubmit: Subject<void>;
|
22
|
-
/**
|
23
|
-
* {@link Observable} запроса данных аутентификации.
|
24
|
-
*/
|
25
|
-
private readonly request$;
|
26
|
-
/**
|
27
|
-
* {@link Observable} изменения состояния загрузки данных аутентификации по email.
|
28
|
-
*/
|
29
|
-
readonly loading$: Observable<boolean>;
|
30
|
-
/**
|
31
|
-
* Сигнал события события смены пароля.
|
32
|
-
*/
|
33
|
-
readonly successResetPassword: Observable<{
|
34
|
-
success: boolean;
|
35
|
-
} | {
|
36
|
-
success: boolean;
|
37
|
-
}>;
|
38
|
-
/**
|
39
|
-
* Инициализирует экземпляр класса {@link ScResetUserPasswordComponent}.
|
40
|
-
*
|
41
|
-
* @param userService Сервис данных о пользователе.
|
42
|
-
*/
|
43
|
-
constructor(userService: ScUserService);
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScResetUserPasswordComponent, never>;
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScResetUserPasswordComponent, "sc-reset-user-password", never, {}, { "successResetPassword": "successResetPassword"; }, never, never, false, never>;
|
46
|
-
}
|
package/user/sc-user.module.d.ts
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./reset-user-password/sc-reset-user-password.component";
|
3
|
-
import * as i2 from "./update-user-info-dialog/sc-update-user-info-dialog.component";
|
4
|
-
import * as i3 from "./user-phone-approve-dialog/sc-user-phone-approve-dialog.component";
|
5
|
-
import * as i4 from "./user-managers/sc-user-managers.component";
|
6
|
-
import * as i5 from "@angular/common";
|
7
|
-
import * as i6 from "@angular/forms";
|
8
|
-
import * as i7 from "@taiga-ui/kit";
|
9
|
-
import * as i8 from "@taiga-ui/legacy";
|
10
|
-
import * as i9 from "@taiga-ui/core";
|
11
|
-
import * as i10 from "@taiga-ui/cdk";
|
12
|
-
import * as i11 from "../verification/sc-verification.module";
|
13
|
-
import * as i12 from "../form-fields/form-fields.module";
|
14
|
-
import * as i13 from "../directives/terminal-link/sc-terminal-link.directive";
|
15
|
-
import * as i14 from "../directives/links/sc-tel-link.directive";
|
16
|
-
import * as i15 from "../directives/links/sc-email-link.directive";
|
17
|
-
import * as i16 from "../pipes/sc-phone-format";
|
18
|
-
/**
|
19
|
-
* Модуль компонентов пользователя.
|
20
|
-
*/
|
21
|
-
export declare class ScUserModule {
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScUserModule, never>;
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScUserModule, [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.TuiFieldErrorPipe, typeof i8.TuiInputPasswordModule, typeof i9.TuiButton, typeof i9.TuiError, typeof i9.TuiLabel, typeof i8.TuiTextfieldControllerModule, typeof i10.TuiLet, typeof i11.ScVerificationModule, typeof i12.ScFormFieldsModule, typeof i9.TuiLoader, typeof i8.TuiInputModule, typeof i8.TuiInputPhoneModule, typeof i7.TuiCheckbox, typeof i9.TuiDataListComponent, typeof i9.TuiDataListDirective, typeof i9.TuiOption, typeof i9.TuiOptionNew, typeof i9.TuiOptionWithValue, typeof i9.TuiOptGroup, typeof i8.TuiSelectModule, typeof i9.TuiLink, typeof i13.ScTerminalLinkDirective, typeof i14.ScTelLinkDirective, typeof i15.ScEmailLinkDirective, typeof i16.ScPhoneFormatPipe, typeof i7.TuiButtonLoading], [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent]>;
|
24
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ScUserModule>;
|
25
|
-
}
|
@@ -1,63 +0,0 @@
|
|
1
|
-
import { AfterViewInit, EventEmitter } from '@angular/core';
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
3
|
-
import { ScISuggestionType, ScUser, ScUserMetrikaService, ScUserService } from '@snabcentr/client-core';
|
4
|
-
import { TuiDialogContext } from '@taiga-ui/core';
|
5
|
-
import { Observable, Subject } from 'rxjs';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
/**
|
8
|
-
* Диалоговое окно изменения данных пользователя.
|
9
|
-
*/
|
10
|
-
export declare class ScUpdateUserInfoDialogComponent implements AfterViewInit {
|
11
|
-
readonly user$: Observable<ScUser>;
|
12
|
-
private readonly userService;
|
13
|
-
private readonly userMetrikaService;
|
14
|
-
readonly context?: TuiDialogContext<ScUser, ScUpdateUserInfoDialogComponent> | undefined;
|
15
|
-
/**
|
16
|
-
* Перечисление типов подсказок.
|
17
|
-
*/
|
18
|
-
readonly suggestionType: typeof ScISuggestionType;
|
19
|
-
/**
|
20
|
-
* Группа полей ввода формы общих данных пользователя для их редактирования.
|
21
|
-
*/
|
22
|
-
readonly form: FormGroup<{
|
23
|
-
name: FormControl<string | null>;
|
24
|
-
email: FormControl<string | null>;
|
25
|
-
phone: FormControl<string | null>;
|
26
|
-
verificationCode: FormControl<string | null>;
|
27
|
-
cityId: FormControl<number | null>;
|
28
|
-
getNews: FormControl<boolean | null>;
|
29
|
-
}>;
|
30
|
-
/**
|
31
|
-
* Сигнал нажатия на кнопку "Отмена".
|
32
|
-
*/
|
33
|
-
readonly cancelButtonClick: EventEmitter<void>;
|
34
|
-
/**
|
35
|
-
* Сигнал события успешного обновления данных пользователя.
|
36
|
-
*/
|
37
|
-
readonly successUpdateDate: Observable<ScUser>;
|
38
|
-
/**
|
39
|
-
* {@link Subject} события отправки формы.
|
40
|
-
*/
|
41
|
-
readonly onSubmit: Subject<void>;
|
42
|
-
/**
|
43
|
-
* {@link Observable} запроса обновления данных пользователя.
|
44
|
-
*/
|
45
|
-
private readonly request$;
|
46
|
-
/**
|
47
|
-
* {@link Observable} изменения состояния загрузки данных аутентификации по email.
|
48
|
-
*/
|
49
|
-
readonly loading$: Observable<boolean>;
|
50
|
-
/**
|
51
|
-
* Инициализирует экземпляр класса {@link ScUpdateUserInfoDialogComponent}.
|
52
|
-
*
|
53
|
-
* @param user$ Поток данных о текущем пользователе.
|
54
|
-
* @param userService Сервис данных о пользователе.
|
55
|
-
* @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
|
56
|
-
* @param context Контекст диалогового окна, в котором открыт компонент.
|
57
|
-
*/
|
58
|
-
constructor(user$: Observable<ScUser>, userService: ScUserService, userMetrikaService: ScUserMetrikaService, context?: TuiDialogContext<ScUser, ScUpdateUserInfoDialogComponent> | undefined);
|
59
|
-
/** @inheritdoc */
|
60
|
-
ngAfterViewInit(): void;
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScUpdateUserInfoDialogComponent, [null, null, null, { optional: true; }]>;
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScUpdateUserInfoDialogComponent, "sc-update-user-info-dialog", never, {}, { "cancelButtonClick": "cancelButtonClick"; "successUpdateDate": "successUpdateDate"; }, never, never, false, never>;
|
63
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
2
|
-
import { ScIManager, ScUserService } from '@snabcentr/client-core';
|
3
|
-
import { Observable } from 'rxjs';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* Компонент персональных менеджеров пользователя.
|
7
|
-
*/
|
8
|
-
export declare class ScUserManagersComponent {
|
9
|
-
private readonly userService;
|
10
|
-
/**
|
11
|
-
* Персональные менеджеры пользователя.
|
12
|
-
*/
|
13
|
-
readonly managers$: Observable<ScIManager[] | undefined>;
|
14
|
-
/**
|
15
|
-
* Событие нажатия на кнопку QR кода.
|
16
|
-
*/
|
17
|
-
readonly qrClickEvent: EventEmitter<ScIManager>;
|
18
|
-
/**
|
19
|
-
* Инициализирует экземпляр класса {@link ScUserManagersComponent}.
|
20
|
-
*
|
21
|
-
* @param userService Сервис данных о пользователе.
|
22
|
-
*/
|
23
|
-
constructor(userService: ScUserService);
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScUserManagersComponent, never>;
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScUserManagersComponent, "sc-user-managers", never, {}, { "qrClickEvent": "qrClickEvent"; }, never, never, false, never>;
|
26
|
-
}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import { AfterViewInit } from '@angular/core';
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
3
|
-
import { ScApprovedData, ScUser, ScUserMetrikaService, ScUserService, ScVerificationService } from '@snabcentr/client-core';
|
4
|
-
import { TuiDialogContext } from '@taiga-ui/core';
|
5
|
-
import { Observable, Subject } from 'rxjs';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
/**
|
8
|
-
* Диалоговое окно подтверждения номера телефона.
|
9
|
-
*/
|
10
|
-
export declare class ScUserPhoneApproveDialogComponent implements AfterViewInit {
|
11
|
-
private readonly verificationService;
|
12
|
-
private readonly userMetrikaService;
|
13
|
-
readonly user$: Observable<ScUser>;
|
14
|
-
private readonly userService;
|
15
|
-
readonly context?: TuiDialogContext<ScApprovedData, ScUserPhoneApproveDialogComponent> | undefined;
|
16
|
-
/**
|
17
|
-
* Наличие кода подтверждения у пользователя.
|
18
|
-
*/
|
19
|
-
haveCode: boolean;
|
20
|
-
/**
|
21
|
-
* Группа полей ввода для подтверждения номера телефона.
|
22
|
-
*/
|
23
|
-
readonly form: FormGroup<{
|
24
|
-
phone: FormControl<string | null>;
|
25
|
-
verificationCode: FormControl<string | null>;
|
26
|
-
}>;
|
27
|
-
/**
|
28
|
-
* {@link Subject} события отправки формы.
|
29
|
-
*/
|
30
|
-
readonly onSubmit: Subject<void>;
|
31
|
-
/**
|
32
|
-
* {@link Observable} запроса подтверждения номера телефона.
|
33
|
-
*/
|
34
|
-
private readonly request$;
|
35
|
-
/**
|
36
|
-
* {@link Observable} изменения состояния запроса подтверждения номера телефона..
|
37
|
-
*/
|
38
|
-
readonly loading$: Observable<boolean>;
|
39
|
-
/**
|
40
|
-
* Инициализирует экземпляр класса {@link ScUserPhoneApproveDialogComponent}.
|
41
|
-
*
|
42
|
-
* @param verificationService Сервис верификации.
|
43
|
-
* @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
|
44
|
-
* @param user$ Поток данных о текущем пользователе.
|
45
|
-
* @param userService Сервис данных о пользователе.
|
46
|
-
* @param context Контекст диалогового окна, в котором открыт компонент.
|
47
|
-
*/
|
48
|
-
constructor(verificationService: ScVerificationService, userMetrikaService: ScUserMetrikaService, user$: Observable<ScUser>, userService: ScUserService, context?: TuiDialogContext<ScApprovedData, ScUserPhoneApproveDialogComponent> | undefined);
|
49
|
-
/** @inheritdoc */
|
50
|
-
ngAfterViewInit(): void;
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScUserPhoneApproveDialogComponent, [null, null, null, null, { optional: true; }]>;
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScUserPhoneApproveDialogComponent, "sc-user-phone-approve-dialog", never, {}, {}, never, never, false, never>;
|
53
|
-
}
|
package/validators/index.d.ts
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
export * from './sc-bic-validator';
|
2
|
-
export * from './sc-correspondent-account-validator';
|
3
|
-
export * from './sc-password-confirm-matching-validator';
|
4
|
-
export * from './sc-phone-validator';
|
5
|
-
export * from './step-validator';
|
6
|
-
export * from './sc-at-least-one-required-validator';
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
2
|
-
/**
|
3
|
-
* Проверяет, что хотя бы одно поле из списка заполнено.
|
4
|
-
* Поддерживает как отдельные поля, так и группы полей.
|
5
|
-
*
|
6
|
-
* @param fields Массив полей для проверки. Каждый элемент может быть строкой или массивом строк.
|
7
|
-
* @param blockName Имя блока для идентификации ошибки
|
8
|
-
* @returns ValidatorFn
|
9
|
-
*/
|
10
|
-
export declare function scAtLeastOneRequiredValidator(fields: Array<string | string[]>, blockName?: string): ValidatorFn;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
2
|
-
/**
|
3
|
-
* Проверяет повторный ввод пароля на эквивалентность паролю.
|
4
|
-
*
|
5
|
-
* @param passwordKey Ключ поля ввода пароля.
|
6
|
-
* @param passwordConfirmKey Ключ поля повторного ввода пароля.
|
7
|
-
*/
|
8
|
-
export declare function scPasswordConfirmMatchingValidator(passwordKey: string, passwordConfirmKey: string): ValidatorFn | null;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
2
|
-
/**
|
3
|
-
* Проверяет кратность значения.
|
4
|
-
*
|
5
|
-
* @param step Шаг кратности.
|
6
|
-
* @param precision Точность, количество чисел после запятой.
|
7
|
-
*/
|
8
|
-
export declare function stepValidator(step: number, precision?: number): ValidatorFn;
|
package/verification/index.d.ts
DELETED