@snabcentr/client-ui 3.37.9 → 4.1.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/fesm2022/snabcentr-client-ui.mjs +3531 -3946
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/index.d.ts +4351 -3
- package/package.json +1 -3
- package/release_notes.tmp +5 -5
- package/styles/tailwind/tailwind.scss +58 -174
- 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,47 +0,0 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { ScIWarehouse, ScIWarehouseStockCount, ScProduct, ScWarehouseService } from '@snabcentr/client-core';
|
3
|
-
import { Observable } from 'rxjs';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* Компонент данных о наличии товара на складе.
|
7
|
-
*/
|
8
|
-
export declare class ScPriceWarehouseStockComponent implements OnInit {
|
9
|
-
private readonly warehouseService;
|
10
|
-
/**
|
11
|
-
* Строка классов для свойств статусов.
|
12
|
-
*/
|
13
|
-
classList: string;
|
14
|
-
/**
|
15
|
-
* Данные о товаре/услуге.
|
16
|
-
*/
|
17
|
-
product: ScProduct;
|
18
|
-
/**
|
19
|
-
* Признак, что необходимо отобразить подсказку по складам.
|
20
|
-
*/
|
21
|
-
withStockHint: boolean;
|
22
|
-
/**
|
23
|
-
* Признак, что необходимо отобразить список остатков по складам при выбранном основном складе.
|
24
|
-
*/
|
25
|
-
fromMain: boolean;
|
26
|
-
/**
|
27
|
-
* {@link Observable} изменения выбранного склада.
|
28
|
-
*/
|
29
|
-
selectedWarehouse$: Observable<ScIWarehouse | null>;
|
30
|
-
/**
|
31
|
-
* {@link Observable} изменения списка складов.
|
32
|
-
*/
|
33
|
-
warehousesList$?: Observable<Array<{
|
34
|
-
sc: ScIWarehouseStockCount;
|
35
|
-
w: ScIWarehouse | undefined;
|
36
|
-
}> | undefined>;
|
37
|
-
/**
|
38
|
-
* Инициализирует экземпляр класса {@link ScPriceWarehouseStockComponent}.
|
39
|
-
*
|
40
|
-
* @param warehouseService Сервис для работы со складами.
|
41
|
-
*/
|
42
|
-
constructor(warehouseService: ScWarehouseService);
|
43
|
-
/** @inheritDoc */
|
44
|
-
ngOnInit(): void;
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScPriceWarehouseStockComponent, never>;
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScPriceWarehouseStockComponent, "sc-price-warehouse-stock", never, { "classList": { "alias": "classList"; "required": false; }; "product": { "alias": "product"; "required": false; }; "withStockHint": { "alias": "withStockHint"; "required": false; }; "fromMain": { "alias": "fromMain"; "required": false; }; }, {}, never, never, true, never>;
|
47
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./price-list-pagination/sc-price-list-pagination.component";
|
3
|
-
import * as i2 from "./category-card/sc-category-card.component";
|
4
|
-
import * as i3 from "./price-card/sc-price-card.component";
|
5
|
-
import * as i4 from "./price-history/sc-price-history.component";
|
6
|
-
import * as i5 from "@angular/common";
|
7
|
-
import * as i6 from "@angular/router";
|
8
|
-
import * as i7 from "@taiga-ui/core";
|
9
|
-
import * as i8 from "@taiga-ui/legacy";
|
10
|
-
import * as i9 from "@angular/forms";
|
11
|
-
import * as i10 from "@taiga-ui/kit";
|
12
|
-
import * as i11 from "@taiga-ui/cdk";
|
13
|
-
import * as i12 from "@taiga-ui/addon-charts";
|
14
|
-
import * as i13 from "./hover-image-carousel/sc-hover-image-carousel.component";
|
15
|
-
import * as i14 from "./cost-with-discount/cost-with-discount.component";
|
16
|
-
import * as i15 from "./price-card-inline/sc-price-card-inline.component";
|
17
|
-
import * as i16 from "./price-warehouse-stock/sc-price-warehouse-stock.component";
|
18
|
-
import * as i17 from "./sc-favorite-button/sc-favorite-button.component";
|
19
|
-
import * as i18 from "./input-quantity/sc-input-quantity.component";
|
20
|
-
import * as i19 from "../pipes/sc-format-date";
|
21
|
-
import * as i20 from "@snabcentr/client-core";
|
22
|
-
/**
|
23
|
-
* Модуль каталога.
|
24
|
-
*/
|
25
|
-
export declare class ScCatalogModule {
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScCatalogModule, never>;
|
27
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScCatalogModule, [typeof i1.ScPriceListPaginationComponent, typeof i2.ScCategoryCardComponent, typeof i3.ScPriceCardComponent, typeof i4.ScPriceHistoryComponent], [typeof i5.CommonModule, typeof i6.RouterModule, typeof i7.TuiButton, typeof i7.TuiIcon, typeof i8.TuiIslandDirective, typeof i8.TuiInputNumberModule, typeof i7.TuiLabel, typeof i8.TuiTextfieldControllerModule, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i7.TuiHintComponent, typeof i7.TuiHintDirective, typeof i7.TuiHintOptionsDirective, typeof i7.TuiHintUnstyled, typeof i7.TuiHintDriver, typeof i7.TuiHintPosition, typeof i7.TuiHintHover, typeof i7.TuiHintOverflow, typeof i7.TuiHintDescribe, typeof i7.TuiHintHost, typeof i7.TuiHintManual, typeof i7.TuiHintPointer, typeof i10.TuiFieldErrorPipe, typeof i7.TuiLoader, typeof i7.TuiLink, typeof i10.TuiElasticContainer, typeof i11.TuiLet, typeof i11.TuiRepeatTimes, typeof i10.TuiHighlight, typeof i12.TuiLineDaysChart, typeof i11.TuiAutoFocus, typeof i12.TuiLineDaysChartHint, typeof i12.TuiAxes, typeof i10.TuiButtonLoading, typeof i10.TuiAvatar, typeof i10.TuiBadge, typeof i13.ScHoverImageCarouselComponent, typeof i10.TuiLineClamp, typeof i11.TuiHovered, typeof i14.CostWithDiscountComponent, typeof i15.ScPriceCardInlineComponent, typeof i16.ScPriceWarehouseStockComponent, typeof i17.ScFavoriteButtonComponent, typeof i18.ScInputQuantityComponent, typeof i19.ScFormatDatePipe, typeof i20.ScMediaImageTransformerPipe], [typeof i1.ScPriceListPaginationComponent, typeof i2.ScCategoryCardComponent, typeof i3.ScPriceCardComponent, typeof i4.ScPriceHistoryComponent]>;
|
28
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ScCatalogModule>;
|
29
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
/**
|
4
|
-
* Компонент кнопки избранных товаров и категорий.
|
5
|
-
*/
|
6
|
-
export declare class ScFavoriteButtonComponent {
|
7
|
-
/**
|
8
|
-
* Событие нажатия на кнопку.
|
9
|
-
*/
|
10
|
-
clickEvent: EventEmitter<void>;
|
11
|
-
/**
|
12
|
-
* Признак наличия товара или категории в избранных.
|
13
|
-
*/
|
14
|
-
isFavorite: boolean;
|
15
|
-
/**
|
16
|
-
* Признак, что необходимо отобразить загрузку на кнопке.
|
17
|
-
*/
|
18
|
-
showLoader: boolean;
|
19
|
-
/**
|
20
|
-
* Признак, что кнопка деактивирована.
|
21
|
-
*/
|
22
|
-
disabled: boolean;
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScFavoriteButtonComponent, never>;
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScFavoriteButtonComponent, "sc-favorite-button", never, { "isFavorite": { "alias": "isFavorite"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, never, true, never>;
|
25
|
-
}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
import { AfterViewInit } from '@angular/core';
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
3
|
-
import { ScContactsService, ScConvertersService, ScIContactBase, ScIContactOnDataCreate, ScIContactWithRelations, ScUserMetrikaService } 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 ScAddContactDialogComponent implements AfterViewInit {
|
11
|
-
private readonly contactsService;
|
12
|
-
readonly convertersService: ScConvertersService;
|
13
|
-
private readonly userMetrikaService;
|
14
|
-
readonly context: TuiDialogContext<ScIContactWithRelations, Omit<ScIContactOnDataCreate, keyof ScIContactBase>>;
|
15
|
-
/**
|
16
|
-
* Группа с полями контактного лица.
|
17
|
-
*/
|
18
|
-
form: FormGroup<{
|
19
|
-
name: FormControl<string | null>;
|
20
|
-
phone: FormControl<string | null>;
|
21
|
-
email: FormControl<string | null>;
|
22
|
-
position: FormControl<string | null>;
|
23
|
-
}>;
|
24
|
-
/**
|
25
|
-
* {@link Subject} события отправки формы.
|
26
|
-
*/
|
27
|
-
readonly onSubmit: Subject<void>;
|
28
|
-
/**
|
29
|
-
* {@link Observable} запроса добавления контактного лица.
|
30
|
-
*/
|
31
|
-
private readonly request$;
|
32
|
-
/**
|
33
|
-
* {@link Observable} изменения состояния загрузки данных аутентификации по номеру телефона.
|
34
|
-
*/
|
35
|
-
readonly loading$: Observable<boolean>;
|
36
|
-
/**
|
37
|
-
* Инициализирует экземпляр класса {@link ScAddContactDialogComponent}.
|
38
|
-
*
|
39
|
-
* @param contactsService Сервис для работы с контактными лицами.
|
40
|
-
* @param convertersService Сервис конвертации данных.
|
41
|
-
* @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
|
42
|
-
* @param context Контекст диалогового окна, в котором открыт компонент.
|
43
|
-
*/
|
44
|
-
constructor(contactsService: ScContactsService, convertersService: ScConvertersService, userMetrikaService: ScUserMetrikaService, context: TuiDialogContext<ScIContactWithRelations, Omit<ScIContactOnDataCreate, keyof ScIContactBase>>);
|
45
|
-
/** @inheritdoc */
|
46
|
-
ngAfterViewInit(): void;
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddContactDialogComponent, never>;
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddContactDialogComponent, "sc-add-contact-dialog", never, {}, {}, never, never, false, never>;
|
49
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
2
|
-
import { ScIContact } from '@snabcentr/client-core';
|
3
|
-
import { Observable } from 'rxjs';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* Компонент контактного лица в списке.
|
7
|
-
*/
|
8
|
-
export declare class ScContactsAccordionComponent {
|
9
|
-
/**
|
10
|
-
* Контактные лица.
|
11
|
-
*/
|
12
|
-
contacts$: Observable<ScIContact[] | null>;
|
13
|
-
/**
|
14
|
-
* Событие нажатия на кнопку добавления контактного лица.
|
15
|
-
*/
|
16
|
-
addContactClick: EventEmitter<void>;
|
17
|
-
/**
|
18
|
-
* Событие нажатия на кнопку удаления контактного лица.
|
19
|
-
*/
|
20
|
-
deleteButtonClick: EventEmitter<ScIContact>;
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScContactsAccordionComponent, never>;
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScContactsAccordionComponent, "sc-contacts-accordion", never, { "contacts$": { "alias": "contacts$"; "required": false; }; }, { "addContactClick": "addContactClick"; "deleteButtonClick": "deleteButtonClick"; }, never, never, false, never>;
|
23
|
-
}
|
package/contacts/index.d.ts
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
export * from './tokens';
|
2
|
-
export * from './contacts-accordion/sc-contacts-accordion.component';
|
3
|
-
export * from './add-contact-dialog/sc-add-contact-dialog.component';
|
4
|
-
export * from './new-contact-form/sc-new-contact-form.component';
|
5
|
-
export * from './manager-card/sc-manager-card.component';
|
6
|
-
export * from './manager-card-push/sc-manager-card-push.component';
|
7
|
-
export * from './sc-contacts.module';
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { InputSignal } from '@angular/core';
|
2
|
-
import { ScIOrgContact } from '@snabcentr/client-core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* Компонент карточки менеджера.
|
6
|
-
*/
|
7
|
-
export declare class ScManagerCardComponent {
|
8
|
-
/**
|
9
|
-
* Данные менеджера.
|
10
|
-
*/
|
11
|
-
readonly manager: InputSignal<ScIOrgContact>;
|
12
|
-
/**
|
13
|
-
* Объект описаний типов в {@link IOrgContact}.
|
14
|
-
*/
|
15
|
-
protected readonly descriptions: Record<string, string>;
|
16
|
-
/**
|
17
|
-
* Токен для обработчика QR кода.
|
18
|
-
*/
|
19
|
-
protected readonly handleQrClick?: (contact: ScIOrgContact, description?: string) => void;
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScManagerCardComponent, never>;
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScManagerCardComponent, "sc-manager-card", never, { "manager": { "alias": "manager"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
22
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { InputSignal, OutputEmitterRef } from '@angular/core';
|
2
|
-
import { ScIOrgContact } from '@snabcentr/client-core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* Компонент карточки менеджера Push-уведомлений.
|
6
|
-
*/
|
7
|
-
export declare class ScManagerCardPushComponent {
|
8
|
-
/**
|
9
|
-
* Данные менеджера.
|
10
|
-
*/
|
11
|
-
readonly manager: InputSignal<ScIOrgContact>;
|
12
|
-
/**
|
13
|
-
* Событие закрытия уведомления.
|
14
|
-
*/
|
15
|
-
readonly closeEvent: OutputEmitterRef<ScIOrgContact>;
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScManagerCardPushComponent, never>;
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScManagerCardPushComponent, "sc-manager-card-push", never, { "manager": { "alias": "manager"; "required": true; "isSignal": true; }; }, { "closeEvent": "closeEvent"; }, never, never, true, never>;
|
18
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
2
|
-
import { ScISuggestionType } from '@snabcentr/client-core';
|
3
|
-
import { TuiCountryIsoCode } from '@taiga-ui/i18n';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* Компонент формы контактного лица.
|
7
|
-
*/
|
8
|
-
export declare class ScNewContactFormComponent {
|
9
|
-
/**
|
10
|
-
* Перечисление типов подсказок.
|
11
|
-
*/
|
12
|
-
readonly suggestionType: typeof ScISuggestionType;
|
13
|
-
/**
|
14
|
-
* Группа с полями контактного лица.
|
15
|
-
*/
|
16
|
-
form: FormGroup<{
|
17
|
-
name: FormControl<string | null>;
|
18
|
-
phone: FormControl<string | null>;
|
19
|
-
email: FormControl<string | null>;
|
20
|
-
position: FormControl<string | null>;
|
21
|
-
}>;
|
22
|
-
/**
|
23
|
-
* Список стран.
|
24
|
-
*/
|
25
|
-
protected readonly countries: readonly TuiCountryIsoCode[];
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScNewContactFormComponent, never>;
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScNewContactFormComponent, "sc-new-contact-form", never, { "form": { "alias": "form"; "required": false; }; }, {}, never, never, false, never>;
|
28
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./contacts-accordion/sc-contacts-accordion.component";
|
3
|
-
import * as i2 from "./new-contact-form/sc-new-contact-form.component";
|
4
|
-
import * as i3 from "./add-contact-dialog/sc-add-contact-dialog.component";
|
5
|
-
import * as i4 from "@angular/common";
|
6
|
-
import * as i5 from "@angular/forms";
|
7
|
-
import * as i6 from "../accordion/sc-accordion.module";
|
8
|
-
import * as i7 from "@taiga-ui/core";
|
9
|
-
import * as i8 from "@taiga-ui/cdk";
|
10
|
-
import * as i9 from "../form-fields/form-fields.module";
|
11
|
-
import * as i10 from "@maskito/angular";
|
12
|
-
import * as i11 from "@taiga-ui/kit";
|
13
|
-
import * as i12 from "@taiga-ui/legacy";
|
14
|
-
import * as i13 from "@taiga-ui/core/components/data-list";
|
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
|
-
import * as i17 from "@taiga-ui/experimental";
|
19
|
-
import * as i18 from "@taiga-ui/cdk/directives/item";
|
20
|
-
import * as i19 from "@taiga-ui/core/components/label";
|
21
|
-
/**
|
22
|
-
* Модуль контактных лиц.
|
23
|
-
*/
|
24
|
-
export declare class ScContactsModule {
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScContactsModule, never>;
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScContactsModule, [typeof i1.ScContactsAccordionComponent, typeof i2.ScNewContactFormComponent, typeof i3.ScAddContactDialogComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.ScAccordionModule, typeof i7.TuiButton, typeof i7.TuiLoader, typeof i8.TuiLet, typeof i7.TuiNotification, typeof i7.TuiLink, typeof i9.ScFormFieldsModule, typeof i10.MaskitoDirective, typeof i11.TuiFieldErrorPipe, typeof i12.TuiSelectModule, typeof i7.TuiDataListComponent, typeof i7.TuiDataListDirective, typeof i7.TuiOption, typeof i7.TuiOptionNew, typeof i7.TuiOptionWithValue, typeof i7.TuiOptGroup, typeof i11.TuiDataListWrapperComponent, typeof i11.TuiDataListGroupWrapperComponent, typeof i13.TuiDataListDirective, typeof i7.TuiLabel, typeof i12.TuiInputModule, typeof i12.TuiInputPhoneModule, typeof i7.TuiError, typeof i14.ScTelLinkDirective, typeof i15.ScEmailLinkDirective, typeof i16.ScPhoneFormatPipe, typeof i11.TuiButtonLoading, typeof i17.TuiInputPhoneInternational, typeof i18.TuiItem, typeof i19.TuiLabel, typeof i7.TuiSelect, typeof i7.TuiTextfieldComponent, typeof i7.TuiTextfieldDirective, typeof i7.TuiTextfieldOptionsDirective, typeof i7.TuiTextfieldDropdownDirective, typeof i7.TuiTextfieldMultiComponent, typeof i11.TuiSortCountriesPipe], [typeof i1.ScContactsAccordionComponent, typeof i2.ScNewContactFormComponent, typeof i3.ScAddContactDialogComponent]>;
|
27
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ScContactsModule>;
|
28
|
-
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
2
|
-
import { ScIOrgContact } from '@snabcentr/client-core';
|
3
|
-
/**
|
4
|
-
* Токен для обработчика QR кода менеджера.
|
5
|
-
*/
|
6
|
-
export declare const SC_MANAGER_QR_HANDLER: InjectionToken<undefined | ((contact: ScIOrgContact, description?: string) => void)>;
|
@@ -1,49 +0,0 @@
|
|
1
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
2
|
-
import { ScContragentService, ScIBankAccount, ScIOpf } from '@snabcentr/client-core';
|
3
|
-
import { TuiDialogContext } from '@taiga-ui/core';
|
4
|
-
import { Observable, Subject } from 'rxjs';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
/**
|
7
|
-
* Компонент формы создания нового банковского счета контрагента.
|
8
|
-
*/
|
9
|
-
export declare class ScAddContragentBankAccountsDialogComponent {
|
10
|
-
private readonly contragentService;
|
11
|
-
readonly context: TuiDialogContext<ScIBankAccount, {
|
12
|
-
contragentId: number;
|
13
|
-
opf: ScIOpf;
|
14
|
-
}>;
|
15
|
-
/**
|
16
|
-
* Группа с полем банковских реквизитов.
|
17
|
-
*/
|
18
|
-
form: FormGroup<{
|
19
|
-
bankName: FormControl<string | null>;
|
20
|
-
bic: FormControl<string | null>;
|
21
|
-
accountNumber: FormControl<string | null>;
|
22
|
-
correspondentAccount: FormControl<string | null>;
|
23
|
-
currencyId: FormControl<number | null>;
|
24
|
-
}>;
|
25
|
-
/**
|
26
|
-
* {@link Subject} события отправки формы.
|
27
|
-
*/
|
28
|
-
readonly onSubmit: Subject<void>;
|
29
|
-
/**
|
30
|
-
* {@link Observable} запроса создания банковского счёта контрагента.
|
31
|
-
*/
|
32
|
-
private readonly request$;
|
33
|
-
/**
|
34
|
-
* {@link Observable} изменения состояния загрузки данных аутентификации по номеру телефона.
|
35
|
-
*/
|
36
|
-
readonly loading$: Observable<boolean>;
|
37
|
-
/**
|
38
|
-
* Инициализирует экземпляр класса {@link ScAddContragentBankAccountsFormComponent}.
|
39
|
-
*
|
40
|
-
* @param contragentService Сервис работы с контрагентами.
|
41
|
-
* @param context Контекст диалогового окна, в котором открыт компонент.
|
42
|
-
*/
|
43
|
-
constructor(contragentService: ScContragentService, context: TuiDialogContext<ScIBankAccount, {
|
44
|
-
contragentId: number;
|
45
|
-
opf: ScIOpf;
|
46
|
-
}>);
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddContragentBankAccountsDialogComponent, never>;
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddContragentBankAccountsDialogComponent, "sc-add-contragent-bank-account-dialog", never, {}, {}, never, never, false, never>;
|
49
|
-
}
|
@@ -1,161 +0,0 @@
|
|
1
|
-
import { AfterViewInit } from '@angular/core';
|
2
|
-
import { FormArray, FormControl, FormGroup } from '@angular/forms';
|
3
|
-
import { ScContragent, ScContragentService, ScConvertersService, ScICountry, ScICurrency, ScIReferencesTypes, ScISalesDirection, ScLocationsService, ScOpfList, ScReferencesService, ScUserMetrikaService } 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 ScAddContragentDialogComponent implements AfterViewInit {
|
11
|
-
private readonly referencesService;
|
12
|
-
private readonly contragentService;
|
13
|
-
private readonly convertersService;
|
14
|
-
private readonly userMetrikaService;
|
15
|
-
private readonly locationsService;
|
16
|
-
readonly context: TuiDialogContext<ScContragent, void>;
|
17
|
-
/**
|
18
|
-
* Перечисление организационно-правовых форм.
|
19
|
-
*/
|
20
|
-
readonly opfListEnum: typeof ScOpfList;
|
21
|
-
/**
|
22
|
-
* Индекс этапа.
|
23
|
-
*/
|
24
|
-
stepIndex: number;
|
25
|
-
/**
|
26
|
-
* Список этапов создания контрагента.
|
27
|
-
*/
|
28
|
-
readonly steps: string[];
|
29
|
-
/**
|
30
|
-
* Родительская `FormGroup`.
|
31
|
-
*/
|
32
|
-
form: FormGroup<{
|
33
|
-
contragent: FormGroup<any>;
|
34
|
-
}>;
|
35
|
-
/**
|
36
|
-
* {@link Subject} события отправки формы.
|
37
|
-
*/
|
38
|
-
readonly onSubmit: Subject<void>;
|
39
|
-
/**
|
40
|
-
* {@link Observable} запроса добавления контрагента.
|
41
|
-
*/
|
42
|
-
private readonly request$;
|
43
|
-
/**
|
44
|
-
* {@link Observable} изменения состояния загрузки данных аутентификации по номеру телефона.
|
45
|
-
*/
|
46
|
-
readonly loading$: Observable<boolean>;
|
47
|
-
/**
|
48
|
-
* Инициализирует экземпляр класса {@link ScAddContragentDialogComponent}.
|
49
|
-
*
|
50
|
-
* @param referencesService Сервис справочников.
|
51
|
-
* @param contragentService Сервис работы с контрагентами.
|
52
|
-
* @param convertersService Сервис конвертации данных.
|
53
|
-
* @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
|
54
|
-
* @param locationsService Сервис для получения списков стран, регионов, городов.
|
55
|
-
* @param context Контекст диалогового окна, в котором открыт компонент.
|
56
|
-
*/
|
57
|
-
constructor(referencesService: ScReferencesService, contragentService: ScContragentService, convertersService: ScConvertersService, userMetrikaService: ScUserMetrikaService, locationsService: ScLocationsService, context: TuiDialogContext<ScContragent, void>);
|
58
|
-
/** @inheritdoc */
|
59
|
-
ngAfterViewInit(): void;
|
60
|
-
/**
|
61
|
-
* Текущий выбранный ОПФ.
|
62
|
-
*/
|
63
|
-
get selectOpf(): ScOpfList;
|
64
|
-
/**
|
65
|
-
* Список групп полей банковских реквизитов.
|
66
|
-
*/
|
67
|
-
get bankAccounts(): FormArray<ReturnType<ScAddContragentDialogComponent['createBankAccountGroup']>>;
|
68
|
-
/**
|
69
|
-
* Список групп полей контактных лиц.
|
70
|
-
*/
|
71
|
-
get contacts(): FormArray<ReturnType<ScAddContragentDialogComponent['createContactGroup']>>;
|
72
|
-
/**
|
73
|
-
* Выполняет навигацию по форме создания контрагента.
|
74
|
-
*
|
75
|
-
* @param delta Значение, на которое необходимо выполнить навигацию.
|
76
|
-
*/
|
77
|
-
navigate(delta: number): void;
|
78
|
-
/**
|
79
|
-
* Проверяет, может ли пользователь перейти к следующему шагу создания контрагента.
|
80
|
-
* При проверке каждого этапа последовательно проверяется корректность заполнения данных на предыдущих этапах.
|
81
|
-
*
|
82
|
-
* @param index Индекс этапа для которого нужно проверить валидность.
|
83
|
-
* @returns Выводит значение `boolean` на основании {@link index}.
|
84
|
-
*/
|
85
|
-
canNextStep(index: number): boolean;
|
86
|
-
/**
|
87
|
-
* Возвращает {@link Observable} списка направлений продаж.
|
88
|
-
*/
|
89
|
-
getSalesDirections$(): Observable<ScISalesDirection[]>;
|
90
|
-
/**
|
91
|
-
* Возвращает {@link Observable} списка направлений продаж.
|
92
|
-
*
|
93
|
-
* @param directionId Идентификатор направления продаж.
|
94
|
-
*/
|
95
|
-
getDirectionById$(directionId: number): Observable<ScISalesDirection | undefined>;
|
96
|
-
/**
|
97
|
-
* Возвращает {@link Observable} список организационно-правовых форм.
|
98
|
-
*/
|
99
|
-
getOpf$(): Observable<Array<ScIReferencesTypes<ScOpfList, typeof ScOpfList>>>;
|
100
|
-
/**
|
101
|
-
* Возвращает {@link Observable} организационно-правовой формы, соответствующий символьному обозначению (slug) на входе.
|
102
|
-
*
|
103
|
-
* @param slug Символьное обозначение (slug).
|
104
|
-
*/
|
105
|
-
getOpfBySlug$(slug: keyof typeof ScOpfList): Observable<ScIReferencesTypes<ScOpfList, typeof ScOpfList> | undefined>;
|
106
|
-
/**
|
107
|
-
* Возвращает {@link Observable} списка валют.
|
108
|
-
*/
|
109
|
-
getCurrencies$(): Observable<ScICurrency[]>;
|
110
|
-
/**
|
111
|
-
* Возвращает {@link Observable} валюты, соответствующий идентификатору на входе.
|
112
|
-
*
|
113
|
-
* @param currencyId — Идентификатор валюты.
|
114
|
-
*/
|
115
|
-
getCurrencyById$(currencyId: number): Observable<ScICurrency | undefined>;
|
116
|
-
/**
|
117
|
-
* Возвращает {@link Observable} списка стран.
|
118
|
-
*/
|
119
|
-
getCountries$(): Observable<ScICountry[]>;
|
120
|
-
/**
|
121
|
-
* Возвращает {@link Observable} страны, соответствующий идентификатору на входе.
|
122
|
-
*
|
123
|
-
* @param countryId — Идентификатор страны.
|
124
|
-
*/
|
125
|
-
getCountriesById$(countryId: number): Observable<ScICountry | undefined>;
|
126
|
-
/**
|
127
|
-
* Создаёт группу полей банковских реквизитов.
|
128
|
-
*/
|
129
|
-
private createBankAccountGroup;
|
130
|
-
/**
|
131
|
-
* Добавляет Банковские реквизиты.
|
132
|
-
*/
|
133
|
-
addBankAccountGroup(): void;
|
134
|
-
/**
|
135
|
-
* Удаляет банковские реквизиты.
|
136
|
-
*
|
137
|
-
* @param index Индекс банковских реквизитов.
|
138
|
-
*/
|
139
|
-
removeBankAccountGroup(index: number): void;
|
140
|
-
/**
|
141
|
-
* Создаёт группу полей контактного лица.
|
142
|
-
*/
|
143
|
-
createContactGroup(): FormGroup<{
|
144
|
-
name: FormControl<string | null>;
|
145
|
-
phone: FormControl<string | null>;
|
146
|
-
email: FormControl<string | null>;
|
147
|
-
position: FormControl<string | null>;
|
148
|
-
}>;
|
149
|
-
/**
|
150
|
-
* Добавляет контактное лицо контрагента.
|
151
|
-
*/
|
152
|
-
addContactGroup(): void;
|
153
|
-
/**
|
154
|
-
* Удаляет контактное лицо контрагента.
|
155
|
-
*
|
156
|
-
* @param index Индекс контактного лица.
|
157
|
-
*/
|
158
|
-
removeContactGroup(index: number): void;
|
159
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddContragentDialogComponent, [null, null, null, null, null, { optional: true; }]>;
|
160
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddContragentDialogComponent, "sc-add-contragent-dialog", never, {}, {}, never, never, false, never>;
|
161
|
-
}
|
@@ -1,62 +0,0 @@
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
2
|
-
import { ScContragent, ScContragentService, ScIBankAccount, ScIContact } from '@snabcentr/client-core';
|
3
|
-
import { Observable } from 'rxjs';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* Компонент контрагента пользователя.
|
7
|
-
*/
|
8
|
-
export declare class ScContragentsAccordionItemComponent implements OnInit {
|
9
|
-
private readonly contragentService;
|
10
|
-
/**
|
11
|
-
* Контрагент пользователя.
|
12
|
-
*/
|
13
|
-
contragent: ScContragent;
|
14
|
-
/**
|
15
|
-
* Событие нажатия на кнопку удаления контрагента.
|
16
|
-
*/
|
17
|
-
deleteContragentClick: EventEmitter<ScContragent>;
|
18
|
-
/**
|
19
|
-
* Событие нажатия на кнопку добавления банковского счёта контрагенту.
|
20
|
-
*/
|
21
|
-
addContragentBankAccountClick: EventEmitter<ScContragent>;
|
22
|
-
/**
|
23
|
-
* Событие нажатия на кнопку удаления банковского счёта контрагента.
|
24
|
-
*/
|
25
|
-
deleteContragentBankAccountClick: EventEmitter<ScIBankAccount>;
|
26
|
-
/**
|
27
|
-
* Событие нажатия на кнопку добавления контактного лица контрагенту.
|
28
|
-
*/
|
29
|
-
addContragentContactClick: EventEmitter<ScContragent>;
|
30
|
-
/**
|
31
|
-
* Событие нажатия на кнопку удаления контактного лица у контрагента.
|
32
|
-
*/
|
33
|
-
deleteContragentContactClick: EventEmitter<{
|
34
|
-
contact: ScIContact;
|
35
|
-
contragent: ScContragent;
|
36
|
-
}>;
|
37
|
-
/**
|
38
|
-
* Список банковских счетов контрагента.
|
39
|
-
*/
|
40
|
-
bankAccounts$?: Observable<ScIBankAccount[] | null>;
|
41
|
-
/**
|
42
|
-
* Список банковских счетов контрагента.
|
43
|
-
*/
|
44
|
-
contacts$?: Observable<ScIContact[] | null>;
|
45
|
-
/**
|
46
|
-
* Инициализирует экземпляр класса {@link ScContragentsAccordionItemComponent}.
|
47
|
-
*
|
48
|
-
* @param contragentService Сервис работы с контрагентами.
|
49
|
-
*/
|
50
|
-
constructor(contragentService: ScContragentService);
|
51
|
-
/** @inheritDoc */
|
52
|
-
ngOnInit(): void;
|
53
|
-
/**
|
54
|
-
* Обработчик нажатия на кнопку удаления контактного лица у контрагента.
|
55
|
-
*
|
56
|
-
* @param contact Контактное лицо.
|
57
|
-
* @param contragent Контрагент.
|
58
|
-
*/
|
59
|
-
onDeleteContragentContactClick(contact: ScIContact, contragent: ScContragent): void;
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScContragentsAccordionItemComponent, never>;
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScContragentsAccordionItemComponent, "sc-contragents-accordion-item", never, { "contragent": { "alias": "contragent"; "required": false; }; }, { "deleteContragentClick": "deleteContragentClick"; "addContragentBankAccountClick": "addContragentBankAccountClick"; "deleteContragentBankAccountClick": "deleteContragentBankAccountClick"; "addContragentContactClick": "addContragentContactClick"; "deleteContragentContactClick": "deleteContragentContactClick"; }, never, never, false, never>;
|
62
|
-
}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
2
|
-
import { ScContragent, ScContragentService, ScIBankAccount, ScIContact } from '@snabcentr/client-core';
|
3
|
-
import { Observable } from 'rxjs';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* Компонент контрагента пользователя.
|
7
|
-
*/
|
8
|
-
export declare class ScContragentsAccordionComponent {
|
9
|
-
private readonly contragentService;
|
10
|
-
/**
|
11
|
-
* {@link Observable} данных о контрагентах пользователя.
|
12
|
-
*/
|
13
|
-
contragents$: Observable<ScContragent[] | null>;
|
14
|
-
/**
|
15
|
-
* Событие нажатия на кнопку удаления контрагента.
|
16
|
-
*/
|
17
|
-
addContragentClick: EventEmitter<void>;
|
18
|
-
/**
|
19
|
-
* Событие нажатия на кнопку удаления контрагента.
|
20
|
-
*/
|
21
|
-
deleteContragentClick: EventEmitter<ScContragent>;
|
22
|
-
/**
|
23
|
-
* Событие нажатия на кнопку добавления банковского счёта контрагенту.
|
24
|
-
*/
|
25
|
-
addContragentBankAccountClick: EventEmitter<ScContragent>;
|
26
|
-
/**
|
27
|
-
* Событие нажатия на кнопку удаления банковского счёта контрагента.
|
28
|
-
*/
|
29
|
-
deleteContragentBankAccountClick: EventEmitter<ScIBankAccount>;
|
30
|
-
/**
|
31
|
-
* Событие нажатия на кнопку добавления контактного лица контрагенту.
|
32
|
-
*/
|
33
|
-
addContragentContactClick: EventEmitter<ScContragent>;
|
34
|
-
/**
|
35
|
-
* Событие нажатия на кнопку удаления контактного лица у контрагента.
|
36
|
-
*/
|
37
|
-
deleteContragentContactClick: EventEmitter<{
|
38
|
-
contact: ScIContact;
|
39
|
-
contragent: ScContragent;
|
40
|
-
}>;
|
41
|
-
/**
|
42
|
-
* Инициализирует экземпляр класса {@link ScContragentsAccordionComponent}.
|
43
|
-
*
|
44
|
-
* @param contragentService Сервис работы с контрагентами.
|
45
|
-
*/
|
46
|
-
constructor(contragentService: ScContragentService);
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScContragentsAccordionComponent, never>;
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScContragentsAccordionComponent, "sc-contragents-accordion", never, {}, { "addContragentClick": "addContragentClick"; "deleteContragentClick": "deleteContragentClick"; "addContragentBankAccountClick": "addContragentBankAccountClick"; "deleteContragentBankAccountClick": "deleteContragentBankAccountClick"; "addContragentContactClick": "addContragentContactClick"; "deleteContragentContactClick": "deleteContragentContactClick"; }, never, never, false, never>;
|
49
|
-
}
|
package/contragents/index.d.ts
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
export * from './add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component';
|
2
|
-
export * from './add-contragent-dialog/sc-add-contragent-dialog.component';
|
3
|
-
export * from './contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component';
|
4
|
-
export * from './contragents-accordion/sc-contragents-accordion.component';
|
5
|
-
export * from './new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component';
|
6
|
-
export * from './new-contragent-form/sc-new-contragent-form.component';
|
7
|
-
export * from './sc-contragents.module';
|