@snabcentr/client-ui 4.4.3 → 5.0.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 +3730 -3948
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/index.d.ts +4466 -3
- package/package.json +1 -3
- package/release_notes.tmp +1 -10
- package/styles/tailwind/tailwind.scss +5 -177
- 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 -7
- package/esm2022/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.mjs +0 -46
- package/esm2022/pages/privacy-policy/sc-privacy-policy.component.mjs +0 -30
- package/esm2022/pages/public-offer/sc-public-offer.component.mjs +0 -50
- 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 -6
- package/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.d.ts +0 -17
- package/pages/privacy-policy/sc-privacy-policy.component.d.ts +0 -17
- package/pages/public-offer/sc-public-offer.component.d.ts +0 -22
- 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,163 +0,0 @@
|
|
|
1
|
-
import { InputSignal, OutputEmitterRef, Signal } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { ScFeedbackForms, ScISuggestionType, ScUploadedFile } from '@snabcentr/client-core';
|
|
4
|
-
import { TuiLooseUnion } from '@taiga-ui/cdk';
|
|
5
|
-
import { TuiDialogContext } from '@taiga-ui/core';
|
|
6
|
-
import { TuiCountryIsoCode } from '@taiga-ui/i18n';
|
|
7
|
-
import { TuiFileLike } from '@taiga-ui/kit';
|
|
8
|
-
import { Observable, Subject } from 'rxjs';
|
|
9
|
-
import { ScFeedbackFormConfig, ScFeedbackFormFieldType } from '../interfaces';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Компонент формы обратной связи.
|
|
13
|
-
*/
|
|
14
|
-
export declare class ScFeedbackFormComponent {
|
|
15
|
-
/**
|
|
16
|
-
* Контекст диалогового окна, в котором открыт компонент.
|
|
17
|
-
*/
|
|
18
|
-
protected readonly context: TuiDialogContext<void, {
|
|
19
|
-
onClickOfferHandler: () => void;
|
|
20
|
-
} & ScFeedbackFormConfig> | null;
|
|
21
|
-
/**
|
|
22
|
-
* Символьное обозначение (slug) формы.
|
|
23
|
-
*/
|
|
24
|
-
readonly slugInput: InputSignal<TuiLooseUnion<ScFeedbackForms>>;
|
|
25
|
-
/**
|
|
26
|
-
* Список полей, доступных в данной форме.
|
|
27
|
-
*/
|
|
28
|
-
readonly fieldsInput: InputSignal<ScFeedbackFormFieldType[]>;
|
|
29
|
-
/**
|
|
30
|
-
* Символьное обозначение (slug) формы.
|
|
31
|
-
*/
|
|
32
|
-
protected readonly slug: Signal<TuiLooseUnion<ScFeedbackForms>>;
|
|
33
|
-
/**
|
|
34
|
-
* Список полей, доступных в данной форме.
|
|
35
|
-
*/
|
|
36
|
-
protected readonly fields: Signal<ScFeedbackFormFieldType[]>;
|
|
37
|
-
/**
|
|
38
|
-
* Событие нажатия на кнопку договора оферты.
|
|
39
|
-
*/
|
|
40
|
-
readonly clickOffer: OutputEmitterRef<void>;
|
|
41
|
-
/**
|
|
42
|
-
* Событие успешной отправки формы.
|
|
43
|
-
*/
|
|
44
|
-
readonly sendSuccess: OutputEmitterRef<void>;
|
|
45
|
-
/**
|
|
46
|
-
* Сервис обратной связи.
|
|
47
|
-
*/
|
|
48
|
-
private readonly feedbackService;
|
|
49
|
-
/**
|
|
50
|
-
* Сервис конвертации данных.
|
|
51
|
-
*/
|
|
52
|
-
private readonly convertersService;
|
|
53
|
-
/**
|
|
54
|
-
* Максимальное количество файлов, отправляемых в форме.
|
|
55
|
-
*/
|
|
56
|
-
private readonly maxFilesInForm;
|
|
57
|
-
/**
|
|
58
|
-
* Сервис данных о пользователе.
|
|
59
|
-
*/
|
|
60
|
-
private readonly user$;
|
|
61
|
-
/**
|
|
62
|
-
* Поле ввода для recaptcha.
|
|
63
|
-
*/
|
|
64
|
-
protected readonly recaptchaControl: FormControl<string | null>;
|
|
65
|
-
/**
|
|
66
|
-
* Группа полей ввода для формы «Пожелания и предложения по улучшению сайта».
|
|
67
|
-
*/
|
|
68
|
-
protected readonly form: FormGroup<{
|
|
69
|
-
name: FormControl<string | null>;
|
|
70
|
-
phone: FormControl<string | null>;
|
|
71
|
-
email: FormControl<string | null>;
|
|
72
|
-
message: FormControl<string | null>;
|
|
73
|
-
files: FormControl<ScUploadedFile[] | null>;
|
|
74
|
-
isShouldUseMessenger: FormControl<boolean | null>;
|
|
75
|
-
}>;
|
|
76
|
-
/**
|
|
77
|
-
* Перечисление типов подсказок.
|
|
78
|
-
*/
|
|
79
|
-
protected readonly suggestionType: typeof ScISuggestionType;
|
|
80
|
-
/**
|
|
81
|
-
* {@link Subject} события отправки формы.
|
|
82
|
-
*/
|
|
83
|
-
protected readonly onSubmit: Subject<void>;
|
|
84
|
-
/**
|
|
85
|
-
* {@link Observable} запроса на отправку данных.
|
|
86
|
-
*/
|
|
87
|
-
protected readonly request$: Observable<undefined | null>;
|
|
88
|
-
/**
|
|
89
|
-
* {@link Observable} изменения состояния загрузки данных.
|
|
90
|
-
*/
|
|
91
|
-
protected readonly loading$: Observable<boolean>;
|
|
92
|
-
/**
|
|
93
|
-
* Управляет состоянием загруженных файлов.
|
|
94
|
-
*/
|
|
95
|
-
protected readonly loadedFile: FormControl<TuiFileLike[] | null>;
|
|
96
|
-
/**
|
|
97
|
-
* Observable, который отслеживает, приняты ли файлы в соответствии с требованиями по типу размеру и т.д.
|
|
98
|
-
*/
|
|
99
|
-
protected readonly accepted$: Observable<File[]>;
|
|
100
|
-
/**
|
|
101
|
-
* Список файлов, которые были отклонены при загрузке.
|
|
102
|
-
*/
|
|
103
|
-
protected rejected: readonly File[];
|
|
104
|
-
/**
|
|
105
|
-
* Список стран.
|
|
106
|
-
*/
|
|
107
|
-
protected readonly countries: readonly TuiCountryIsoCode[];
|
|
108
|
-
/**
|
|
109
|
-
* Инициализирует экземпляр класса {@link ScFeedbackFormComponent}.
|
|
110
|
-
*/
|
|
111
|
-
constructor();
|
|
112
|
-
/**
|
|
113
|
-
* Удаляет валидацию со всех полей ввода.
|
|
114
|
-
*/
|
|
115
|
-
private clearAllValidators;
|
|
116
|
-
/**
|
|
117
|
-
* Устанавливает валидацию со для указанных полей ввода.
|
|
118
|
-
*
|
|
119
|
-
* @param fields Поля, для которых нужно установить валидацию.
|
|
120
|
-
*/
|
|
121
|
-
private setAllValidators;
|
|
122
|
-
/**
|
|
123
|
-
* Обрабатывает отклоненные файлы.
|
|
124
|
-
*
|
|
125
|
-
* @param files Список файлов, которые были отклонены.
|
|
126
|
-
*/
|
|
127
|
-
protected onReject(files: readonly File[]): void;
|
|
128
|
-
/**
|
|
129
|
-
* Удаляет файл из списка загруженных и отклоненных файлов.
|
|
130
|
-
*
|
|
131
|
-
* @param file Файл, который нужно удалить.
|
|
132
|
-
*/
|
|
133
|
-
protected onRemove(file: File): void;
|
|
134
|
-
/**
|
|
135
|
-
* Очищает список файлов.
|
|
136
|
-
*/
|
|
137
|
-
protected onRemoveAll(): void;
|
|
138
|
-
/**
|
|
139
|
-
* Загружает файл в форму обратной связи.
|
|
140
|
-
*
|
|
141
|
-
* @param files Набор файлов.
|
|
142
|
-
*/
|
|
143
|
-
private onUploadFile;
|
|
144
|
-
/**
|
|
145
|
-
* Проверяет количество файлов загруженных пользователем.
|
|
146
|
-
*
|
|
147
|
-
* @param maxLength максимальное допустимое количество файлов для отправки.
|
|
148
|
-
*/
|
|
149
|
-
private maxFilesLength;
|
|
150
|
-
/**
|
|
151
|
-
* Выполняет очистку полей формы.
|
|
152
|
-
*/
|
|
153
|
-
private resetForm;
|
|
154
|
-
/**
|
|
155
|
-
* Проверяет, что номер телефона подходит для использования в мессенджерах.
|
|
156
|
-
*
|
|
157
|
-
* @param value Номер телефона, который необходимо проверить.
|
|
158
|
-
* @returns Признак того, что номер телефона подходит для мессенджеров.
|
|
159
|
-
*/
|
|
160
|
-
protected isValidPhoneNumberForMessenger(value: string): boolean;
|
|
161
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScFeedbackFormComponent, never>;
|
|
162
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScFeedbackFormComponent, "sc-feedback-form", never, { "slugInput": { "alias": "slug"; "required": false; "isSignal": true; }; "fieldsInput": { "alias": "fields"; "required": false; "isSignal": true; }; }, { "clickOffer": "clickOffer"; "sendSuccess": "sendSuccess"; }, never, never, true, never>;
|
|
163
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { TuiDialogContext } from '@taiga-ui/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Компонент «Спасибо!».
|
|
5
|
-
*/
|
|
6
|
-
export declare class ScGratitudeComponent {
|
|
7
|
-
/**
|
|
8
|
-
* Контекст диалогового окна, в котором открыт компонент.
|
|
9
|
-
*/
|
|
10
|
-
protected readonly context: TuiDialogContext<void, {
|
|
11
|
-
autoClose: number;
|
|
12
|
-
subTitle: string;
|
|
13
|
-
}> | null;
|
|
14
|
-
/**
|
|
15
|
-
* Инициализирует экземпляр класса {@link ScGratitudeComponent}.
|
|
16
|
-
*/
|
|
17
|
-
constructor();
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScGratitudeComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScGratitudeComponent, "sc-gratitude", never, {}, {}, never, never, true, never>;
|
|
20
|
-
}
|
package/feedback/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './sc-feedback-form-config';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ScFeedbackForms } from '@snabcentr/client-core';
|
|
2
|
-
import { TuiLooseUnion } from '@taiga-ui/cdk';
|
|
3
|
-
/**
|
|
4
|
-
* Типы доступных полей для форм обратной связи.
|
|
5
|
-
*/
|
|
6
|
-
export type ScFeedbackFormFieldType = 'name' | 'email' | 'phone' | 'message' | 'files' | 'isShouldUseMessenger';
|
|
7
|
-
/**
|
|
8
|
-
* Конфигурация формы обратной связи.
|
|
9
|
-
*/
|
|
10
|
-
export interface ScFeedbackFormConfig {
|
|
11
|
-
/**
|
|
12
|
-
* Уникальный идентификатор формы, используемый в API-запросах.
|
|
13
|
-
*/
|
|
14
|
-
slug: TuiLooseUnion<ScFeedbackForms>;
|
|
15
|
-
/**
|
|
16
|
-
* Название формы, отображаемое пользователю.
|
|
17
|
-
*/
|
|
18
|
-
title: string;
|
|
19
|
-
/**
|
|
20
|
-
* Список полей, доступных в данной форме.
|
|
21
|
-
*/
|
|
22
|
-
fields: ScFeedbackFormFieldType[];
|
|
23
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { TreeNode } from '../interfaces/tree-node';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Директива отвечающая за корневые элементы дерева.
|
|
5
|
-
*/
|
|
6
|
-
export declare class TreeTopDirective implements TreeNode {
|
|
7
|
-
/**
|
|
8
|
-
* Отображаемое имя корневого элемента дерева.
|
|
9
|
-
*/
|
|
10
|
-
text: string;
|
|
11
|
-
/**
|
|
12
|
-
* Значок корневого элемента дерева.
|
|
13
|
-
*/
|
|
14
|
-
icon: string;
|
|
15
|
-
/**
|
|
16
|
-
* Ссылка корневого элемента дерева.
|
|
17
|
-
*/
|
|
18
|
-
link?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Признак наличия дочерних элементов.
|
|
21
|
-
*/
|
|
22
|
-
hasChildren: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Идентификатор корневого элемента дерева.
|
|
25
|
-
*/
|
|
26
|
-
id?: number;
|
|
27
|
-
/**
|
|
28
|
-
* Дата создания корневого элемента дерева.
|
|
29
|
-
*/
|
|
30
|
-
createdAt?: string;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeTopDirective, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeTopDirective, "[scTopNodeText]", never, { "text": { "alias": "scTopNodeText"; "required": false; }; "icon": { "alias": "scTopNodeIcon"; "required": false; }; "link": { "alias": "scTopNodeLink"; "required": false; }; "hasChildren": { "alias": "scTopNodeChilds"; "required": false; }; "id": { "alias": "scTopNodeParent"; "required": false; }; "createdAt": { "alias": "scTopNodeDate"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { TuiHandler } from '@taiga-ui/cdk';
|
|
2
|
-
import { TuiTreeService } from '@taiga-ui/kit';
|
|
3
|
-
import { TreeNode } from '../interfaces/tree-node';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Директива отвечающая за обработку действий над элементами дерева.
|
|
7
|
-
*/
|
|
8
|
-
export declare class TreeDirective {
|
|
9
|
-
readonly service: TuiTreeService<TreeNode>;
|
|
10
|
-
/**
|
|
11
|
-
* Карта данных дерева.
|
|
12
|
-
*/
|
|
13
|
-
map: Map<TreeNode, boolean>;
|
|
14
|
-
/**
|
|
15
|
-
* Проверяет указанный элемент дерева на наличие дочерних элементов и возвращает массив дочерних элементов, если они есть, либо пустой массив.
|
|
16
|
-
*
|
|
17
|
-
* @param node Элемент дерева.
|
|
18
|
-
* @returns Возвращает массив типа TreeNode[].
|
|
19
|
-
*/
|
|
20
|
-
childrenHandler: TuiHandler<TreeNode, readonly TreeNode[]>;
|
|
21
|
-
/**
|
|
22
|
-
* Инициализирует экземпляр класса {@link TreeDirective}.
|
|
23
|
-
*
|
|
24
|
-
* @param service Сервис для работы с деревом.
|
|
25
|
-
*/
|
|
26
|
-
constructor(service: TuiTreeService<TreeNode>);
|
|
27
|
-
/**
|
|
28
|
-
* Обрабатывает нажатие на указанный элемент дерева.
|
|
29
|
-
*
|
|
30
|
-
* @param node Элемент дерева.
|
|
31
|
-
*/
|
|
32
|
-
onToggled(node: TreeNode): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeDirective, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeDirective, "[scTree]", ["scTree"], {}, {}, never, never, false, never>;
|
|
35
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TuiTreeItemContent } from '@taiga-ui/kit';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Компонент для удаления стандартного значка элемента дерева.
|
|
5
|
-
*/
|
|
6
|
-
export declare class FileTreeItemComponent extends TuiTreeItemContent {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileTreeItemComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileTreeItemComponent, "sc-file-tree-item", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ScFilesService } from '@snabcentr/client-core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { TreeNode } from '../interfaces/tree-node';
|
|
4
|
-
import { TreeIconService } from '../services/tree-icon.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Компонент файлов и документов.
|
|
8
|
-
*/
|
|
9
|
-
export declare class FilesAndDocumentsComponent {
|
|
10
|
-
readonly loading: unknown;
|
|
11
|
-
readonly iconService: TreeIconService;
|
|
12
|
-
private readonly filesService;
|
|
13
|
-
/**
|
|
14
|
-
* Данные визуализации и их начальное получение.
|
|
15
|
-
*/
|
|
16
|
-
data$: Observable<TreeNode[]>;
|
|
17
|
-
/**
|
|
18
|
-
* Инициализирует экземпляр класса {@link FilesAndDocumentsComponent}.
|
|
19
|
-
*
|
|
20
|
-
* @param loading Объект отвечающий за значок загрузки, в момент раскрытия элемента дерева.
|
|
21
|
-
* @param iconService Сервис для определения и назначения значка элементу дерева.
|
|
22
|
-
* @param filesService Сервис для загрузки файлов.
|
|
23
|
-
*/
|
|
24
|
-
constructor(loading: unknown, iconService: TreeIconService, filesService: ScFilesService);
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilesAndDocumentsComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilesAndDocumentsComponent, "sc-files-and-documents", never, {}, {}, never, never, false, never>;
|
|
27
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./files-and-documents/files-and-documents.component";
|
|
3
|
-
import * as i2 from "./directives/tree.directive";
|
|
4
|
-
import * as i3 from "./directives/tree-top.directive";
|
|
5
|
-
import * as i4 from "./file-tree-item/file-tree-item.component";
|
|
6
|
-
import * as i5 from "@angular/common";
|
|
7
|
-
import * as i6 from "@taiga-ui/kit";
|
|
8
|
-
import * as i7 from "@taiga-ui/core";
|
|
9
|
-
import * as i8 from "../pipes/sc-format-date";
|
|
10
|
-
/**
|
|
11
|
-
* Модуль файлов и документов.
|
|
12
|
-
*/
|
|
13
|
-
export declare class FilesAndDocumentsModule {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilesAndDocumentsModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FilesAndDocumentsModule, [typeof i1.FilesAndDocumentsComponent, typeof i2.TreeDirective, typeof i3.TreeTopDirective, typeof i4.FileTreeItemComponent], [typeof i5.CommonModule, typeof i6.TuiTreeComponent, typeof i6.TuiTreeItem, typeof i6.TuiTreeItemContent, typeof i6.TuiTreeChildren, typeof i6.TuiTreeItemController, typeof i6.TuiTreeControllerDirective, typeof i6.TuiTreeNode, typeof i7.TuiIcon, typeof i7.TuiLoader, typeof i7.TuiLink, typeof i8.ScFormatDatePipe], [typeof i1.FilesAndDocumentsComponent]>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FilesAndDocumentsModule>;
|
|
17
|
-
}
|
package/files/index.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Интерфейс для реализации компонентами, отображающими элемент дерева.
|
|
3
|
-
*/
|
|
4
|
-
export interface TreeNode {
|
|
5
|
-
/**
|
|
6
|
-
* Признак наличия дочерних элементов.
|
|
7
|
-
*/
|
|
8
|
-
hasChildren: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Отображаемое имя элемента дерева.
|
|
11
|
-
*/
|
|
12
|
-
text: string;
|
|
13
|
-
/**
|
|
14
|
-
* Отображаемый значок элемента дерева.
|
|
15
|
-
*/
|
|
16
|
-
icon: string;
|
|
17
|
-
/**
|
|
18
|
-
* Идентификатор элемента дерева.
|
|
19
|
-
*/
|
|
20
|
-
id?: number;
|
|
21
|
-
/**
|
|
22
|
-
* Ссылка элемента дерева.
|
|
23
|
-
*/
|
|
24
|
-
link?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Дата создания элемента дерева.
|
|
27
|
-
*/
|
|
28
|
-
createdAt?: string;
|
|
29
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ScDocumentInfo } from '@snabcentr/client-core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Сервис работающий с значками элементов дерева.
|
|
5
|
-
*/
|
|
6
|
-
export declare class TreeIconService {
|
|
7
|
-
/**
|
|
8
|
-
* Назначает значок элементу дерева в зависимости от типа файла.
|
|
9
|
-
*
|
|
10
|
-
* @param info Объект пришедших данных о файле.
|
|
11
|
-
* @returns Возвращает название значка в виде строки.
|
|
12
|
-
*/
|
|
13
|
-
getIconName(info: ScDocumentInfo): string;
|
|
14
|
-
/**
|
|
15
|
-
* Проверяет на признак наличия дочерних элементов.
|
|
16
|
-
*
|
|
17
|
-
* @param info Объект пришедших данных о файле.
|
|
18
|
-
* @returns Возвращает true при наличии дочерних элементов и false при их отсутствии.
|
|
19
|
-
*/
|
|
20
|
-
hasChildren(info: ScDocumentInfo): boolean;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeIconService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TreeIconService>;
|
|
23
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ScFilesService } from '@snabcentr/client-core';
|
|
2
|
-
import { TuiTreeLoader } from '@taiga-ui/kit';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { TreeNode } from '../interfaces/tree-node';
|
|
5
|
-
import { TreeIconService } from './tree-icon.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Сервис для асинхронного раскрытия вложенности.
|
|
9
|
-
*/
|
|
10
|
-
export declare class TreeLoaderService implements TuiTreeLoader<TreeNode> {
|
|
11
|
-
private readonly filesService;
|
|
12
|
-
private readonly iconService;
|
|
13
|
-
/**
|
|
14
|
-
* Инициализирует экземпляр класса {@link TreeLoaderService}
|
|
15
|
-
*
|
|
16
|
-
* @param filesService Сервис для получения файлов директории.
|
|
17
|
-
* @param iconService Сервис для определения и назначения значка элементу дерева.
|
|
18
|
-
*/
|
|
19
|
-
constructor(filesService: ScFilesService, iconService: TreeIconService);
|
|
20
|
-
/**
|
|
21
|
-
* Загружает дочерние элементы дерева.
|
|
22
|
-
*
|
|
23
|
-
* @param item Элемент дерева.
|
|
24
|
-
* @returns Массив дочерних элементов.
|
|
25
|
-
*/
|
|
26
|
-
loadChildren(item: TreeNode): Observable<TreeNode[]>;
|
|
27
|
-
/**
|
|
28
|
-
* Проверяет указанный элемент дерева на наличие дочерних элементов и возвращает массив дочерних элементов, если они есть, либо пустой массив.
|
|
29
|
-
*
|
|
30
|
-
* @param node Элемент дерева.
|
|
31
|
-
* @returns Возвращает массив типа TreeNode[].
|
|
32
|
-
*/
|
|
33
|
-
hasChildren(node: TreeNode): boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Загружает и заполняет массив дочерних элементов.
|
|
36
|
-
*
|
|
37
|
-
* @param id Идентификатор директории, чьи дочернии элементы загружаются.
|
|
38
|
-
* @returns Возвращает массив дочерних элементов.
|
|
39
|
-
*/
|
|
40
|
-
private initData;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeLoaderService, never>;
|
|
42
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TreeLoaderService>;
|
|
43
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroupDirective } from '@angular/forms';
|
|
3
|
-
import { ScICity, ScICountry, ScIRegion, ScLocationsService } from '@snabcentr/client-core';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Компонент поля ввода страны/региона/города.
|
|
8
|
-
*/
|
|
9
|
-
export declare class ScAddressesSelectionFieldComponent implements OnInit {
|
|
10
|
-
private readonly formGroupDirective;
|
|
11
|
-
private readonly locationsService;
|
|
12
|
-
/**
|
|
13
|
-
* Флаг возможности выбора страны.
|
|
14
|
-
*/
|
|
15
|
-
readonly canSelectCountry: import("@angular/core").ModelSignal<boolean>;
|
|
16
|
-
/**
|
|
17
|
-
* Идентификатор текущей страны системы.
|
|
18
|
-
*/
|
|
19
|
-
private readonly russiaCountryId;
|
|
20
|
-
/**
|
|
21
|
-
* FormControl для поля страны.
|
|
22
|
-
*/
|
|
23
|
-
protected readonly countryControl: FormControl<ScICountry | null>;
|
|
24
|
-
/**
|
|
25
|
-
* FormControl для поля региона.
|
|
26
|
-
*/
|
|
27
|
-
protected readonly regionControl: FormControl<ScIRegion | null>;
|
|
28
|
-
/**
|
|
29
|
-
* FormControl для поля города.
|
|
30
|
-
*/
|
|
31
|
-
protected cityControl: FormControl<ScICity | null>;
|
|
32
|
-
/**
|
|
33
|
-
* {@link Observable} изменения списка стран.
|
|
34
|
-
*/
|
|
35
|
-
protected countries$: Observable<ScICountry[] | null>;
|
|
36
|
-
/**
|
|
37
|
-
* {@link Observable} изменения списка регионов.
|
|
38
|
-
*/
|
|
39
|
-
protected regions$: Observable<ScIRegion[] | null>;
|
|
40
|
-
/**
|
|
41
|
-
* {@link Observable} изменения списка городов.
|
|
42
|
-
*/
|
|
43
|
-
protected cities$: Observable<ScICity[] | null>;
|
|
44
|
-
/**
|
|
45
|
-
* Ссылка для автоматического управления уничтожением зависимостей.
|
|
46
|
-
*/
|
|
47
|
-
private destroyRef;
|
|
48
|
-
/**
|
|
49
|
-
* Функция преобразования объекта сортировки в значение, отображаемое в поле ввода.
|
|
50
|
-
*
|
|
51
|
-
* @param item Выбранный объект выпадающего списка.
|
|
52
|
-
* @param item.name Название страны/региона/города, которое будет отображено в поле.
|
|
53
|
-
*/
|
|
54
|
-
protected readonly stringify: (item: {
|
|
55
|
-
name: string;
|
|
56
|
-
}) => string;
|
|
57
|
-
/**
|
|
58
|
-
* Инициализирует экземпляр класса {@link ScAddressesSelectionFieldComponent}.
|
|
59
|
-
*
|
|
60
|
-
* @param formGroupDirective Директива c `FormGroup` из DOM.
|
|
61
|
-
* @param locationsService Сервис для получения списков стран, регионов, городов.
|
|
62
|
-
*/
|
|
63
|
-
constructor(formGroupDirective: FormGroupDirective, locationsService: ScLocationsService);
|
|
64
|
-
/**
|
|
65
|
-
* `FormControl` поля идентификатора города.
|
|
66
|
-
*/
|
|
67
|
-
get cityIdControl(): FormControl<string | null>;
|
|
68
|
-
/** @inheritDoc */
|
|
69
|
-
ngOnInit(): void;
|
|
70
|
-
/**
|
|
71
|
-
* Заполнение полей банковских реквизитов на основе выбранной подсказки.
|
|
72
|
-
*
|
|
73
|
-
* @param city Идентификатор записи города.
|
|
74
|
-
*/
|
|
75
|
-
protected onSelectedCity(city: ScICity | null): void;
|
|
76
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddressesSelectionFieldComponent, [{ skipSelf: true; }, null]>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddressesSelectionFieldComponent, "sc-addresses-selection-field", never, { "canSelectCountry": { "alias": "canSelectCountry"; "required": false; "isSignal": true; }; }, { "canSelectCountry": "canSelectCountryChange"; }, never, never, false, never>;
|
|
78
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./addresses-selection-field/sc-addresses-selection-field.component";
|
|
3
|
-
import * as i2 from "./suggestion-field/sc-suggestion-field.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
import * as i5 from "@taiga-ui/legacy";
|
|
7
|
-
import * as i6 from "@taiga-ui/core";
|
|
8
|
-
import * as i7 from "@taiga-ui/cdk";
|
|
9
|
-
import * as i8 from "@taiga-ui/kit";
|
|
10
|
-
import * as i9 from "@taiga-ui/core/components/data-list";
|
|
11
|
-
import * as i10 from "@maskito/angular";
|
|
12
|
-
/**
|
|
13
|
-
* Модуль полей ввода.
|
|
14
|
-
*/
|
|
15
|
-
export declare class ScFormFieldsModule {
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScFormFieldsModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScFormFieldsModule, [typeof i1.ScAddressesSelectionFieldComponent, typeof i2.ScSuggestionFieldComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.TuiInputModule, typeof i5.TuiTextfieldControllerModule, typeof i6.TuiLabel, typeof i7.TuiLet, typeof i8.TuiFieldErrorPipe, typeof i6.TuiError, typeof i6.TuiDataListComponent, typeof i6.TuiDataListDirective, typeof i6.TuiOption, typeof i6.TuiOptionNew, typeof i6.TuiOptionWithValue, typeof i6.TuiOptGroup, typeof i6.TuiLoader, typeof i5.TuiComboBoxModule, typeof i8.TuiDataListWrapperComponent, typeof i8.TuiDataListGroupWrapperComponent, typeof i9.TuiDataListDirective, typeof i8.TuiFilterByInputPipe, typeof i8.TuiStringifyContentPipe, typeof i5.TuiInputPhoneModule, typeof i6.TuiButton, typeof i10.MaskitoDirective], [typeof i1.ScAddressesSelectionFieldComponent, typeof i2.ScSuggestionFieldComponent]>;
|
|
18
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ScFormFieldsModule>;
|
|
19
|
-
}
|
package/form-fields/index.d.ts
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
import { ScISuggestionOrganization, ScISuggestionType, ScSuggestion, ScSuggestionService } from '@snabcentr/client-core';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Компонент подсказок для поля ввода.
|
|
8
|
-
*/
|
|
9
|
-
export declare class ScSuggestionFieldComponent implements OnInit {
|
|
10
|
-
readonly control: NgControl;
|
|
11
|
-
private readonly suggestionService;
|
|
12
|
-
/**
|
|
13
|
-
* Тип подсказок.
|
|
14
|
-
*/
|
|
15
|
-
type: ScISuggestionType;
|
|
16
|
-
/**
|
|
17
|
-
* Событие выбора результата подсказки.
|
|
18
|
-
*/
|
|
19
|
-
selectedClick: EventEmitter<ScSuggestion>;
|
|
20
|
-
/**
|
|
21
|
-
* {@link Observable} подсказок.
|
|
22
|
-
*/
|
|
23
|
-
suggestions$?: Observable<ScSuggestion[] | null>;
|
|
24
|
-
/**
|
|
25
|
-
* {@link Observable} состояние запроса подсказок.
|
|
26
|
-
*/
|
|
27
|
-
loading$?: Observable<boolean>;
|
|
28
|
-
/**
|
|
29
|
-
* Перечисление типов подсказок.
|
|
30
|
-
*/
|
|
31
|
-
readonly suggestionType: typeof ScISuggestionType;
|
|
32
|
-
/**
|
|
33
|
-
* Компонент обёртка выпадающего списка.
|
|
34
|
-
*/
|
|
35
|
-
private readonly host;
|
|
36
|
-
/**
|
|
37
|
-
* Минимальная длина поискового запроса для получения данных.
|
|
38
|
-
*/
|
|
39
|
-
private readonly minLengthSearchTerm;
|
|
40
|
-
/**
|
|
41
|
-
* Признак, что разрешено выбирать записи ликвидированных организаций.
|
|
42
|
-
*/
|
|
43
|
-
private readonly allowSelectTerminated;
|
|
44
|
-
/**
|
|
45
|
-
* Инициализирует экземпляр класса {@link ScSuggestionFieldComponent}.
|
|
46
|
-
*
|
|
47
|
-
* @param control Контрол поля ввода.
|
|
48
|
-
* @param suggestionService Сервис работы с API подсказок.
|
|
49
|
-
*/
|
|
50
|
-
constructor(control: NgControl, suggestionService: ScSuggestionService);
|
|
51
|
-
/** @inheritDoc */
|
|
52
|
-
ngOnInit(): void;
|
|
53
|
-
/**
|
|
54
|
-
* Заполнение полей основе выбранной подсказки.
|
|
55
|
-
*
|
|
56
|
-
* @param suggestion Объект подсказки.
|
|
57
|
-
*/
|
|
58
|
-
onSelected(suggestion: ScSuggestion): void;
|
|
59
|
-
/**
|
|
60
|
-
* Возвращает признак, что элемент выпадающего списка подсказок отключён.
|
|
61
|
-
*
|
|
62
|
-
* @param suggestion Объект подсказки.
|
|
63
|
-
*/
|
|
64
|
-
isDisabledSuggestion(suggestion: ScSuggestion): boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Проверяет прекращена ли деятельность указанной организации.
|
|
67
|
-
*
|
|
68
|
-
* @param suggestion Объект подсказки по организации.
|
|
69
|
-
*/
|
|
70
|
-
isOrgTerminated(suggestion: ScISuggestionOrganization): boolean;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScSuggestionFieldComponent, [{ skipSelf: true; }, null]>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScSuggestionFieldComponent, "sc-suggestion-field", never, { "type": { "alias": "type"; "required": false; }; }, { "selectedClick": "selectedClick"; }, never, never, false, never>;
|
|
73
|
-
}
|
package/helpers/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './sc-px-converter';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Класс-помощник для конвертации пикселей.
|
|
4
|
-
*/
|
|
5
|
-
export declare class ScPxConverter {
|
|
6
|
-
private rootFontSize;
|
|
7
|
-
/**
|
|
8
|
-
* Конвертирует пиксели в rem.
|
|
9
|
-
*
|
|
10
|
-
* @param px Значение которое необходимо конвертировать.
|
|
11
|
-
*/
|
|
12
|
-
pxToRem(px: number): number;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScPxConverter, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScPxConverter>;
|
|
15
|
-
}
|