@snabcentr/client-ui 4.6.6 → 5.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 +3362 -4046
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/package.json +35 -36
- package/release_notes.tmp +2 -14
- package/styles/taiga/variables.less +16 -17
- package/styles/tailwind/tailwind.scss +0 -8
- package/types/snabcentr-client-ui.d.ts +5704 -0
- 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/index.d.ts +0 -2
- 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 -27
- package/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.d.ts +0 -55
- package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +0 -45
- 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 -113
- package/auth/sign-up-form/sc-sign-up-form.component.d.ts +0 -166
- package/banner/index.d.ts +0 -2
- package/banner/sc-banner.component.d.ts +0 -79
- package/banner/sc-banner.module.d.ts +0 -17
- 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 -98
- 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 -49
- package/cart/index.d.ts +0 -2
- package/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.d.ts +0 -62
- package/catalog/catalog-filters/collapsible/sc-catalog-filter-collapsible.component.d.ts +0 -47
- package/catalog/catalog-filters/index.d.ts +0 -4
- package/catalog/catalog-filters/sc-catalog-filters.component.d.ts +0 -180
- package/catalog/catalog-filters/tokens/sc-catalog-products-filters.d.ts +0 -7
- package/catalog/catalog-filters/tokens/sc-catalog-show-products-recursively.d.ts +0 -5
- 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 -15
- 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/catalog/seo-tags/sc-seo-tags.component.d.ts +0 -20
- package/configurators/index.d.ts +0 -3
- package/configurators/models/index.d.ts +0 -3
- package/configurators/models/sandwich/sc-i-configurator-search-product-sandwich.d.ts +0 -22
- package/configurators/models/sandwich/sc-i-sandwich-settings.d.ts +0 -18
- package/configurators/models/sandwich_m2/sc-i-sandwich-m2-settings.d.ts +0 -18
- package/configurators/sandwich/index.d.ts +0 -3
- package/configurators/sandwich/sandwich-skeleton/sc-sandwich-skeleton.component.d.ts +0 -8
- package/configurators/sandwich/sc-i-new-cart-item-sandwich.d.ts +0 -14
- package/configurators/sandwich/sc-sandwich.component.d.ts +0 -182
- package/configurators/sandwich_m2/index.d.ts +0 -4
- package/configurators/sandwich_m2/sandwich-m2-skeleton/sc-sandwich-m2-skeleton.component.d.ts +0 -8
- package/configurators/sandwich_m2/sc-i-new-cart-item-sandwich-m2.d.ts +0 -23
- package/configurators/sandwich_m2/sc-sandwich-m2-item-submit-state.d.ts +0 -13
- package/configurators/sandwich_m2/sc-sandwich-m2.component.d.ts +0 -267
- 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 -27
- 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 -158
- 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 -119
- package/contragents/sc-contragents.module.d.ts +0 -26
- 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 -25
- 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 -9
- 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 -27
- package/directives/next-input-focus/sc-next-input-focus.module.d.ts +0 -10
- package/directives/print/sc-print.directive.d.ts +0 -21
- package/directives/sc-date-value-transformer.directive.d.ts +0 -8
- package/directives/sc-focus-first-invalid-field.directive.d.ts +0 -30
- 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 -6
- package/error-handler/error-block-status/error-block-status.component.d.ts +0 -45
- 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/index.mjs +0 -3
- 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 -103
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +0 -100
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +0 -81
- 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 -203
- package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +0 -334
- package/esm2022/banner/index.mjs +0 -3
- package/esm2022/banner/sc-banner.component.mjs +0 -131
- package/esm2022/banner/sc-banner.module.mjs +0 -29
- 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 -229
- 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 -75
- package/esm2022/cart/index.mjs +0 -3
- package/esm2022/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.mjs +0 -110
- package/esm2022/catalog/catalog-filters/collapsible/sc-catalog-filter-collapsible.component.mjs +0 -59
- package/esm2022/catalog/catalog-filters/index.mjs +0 -5
- package/esm2022/catalog/catalog-filters/sc-catalog-filters.component.mjs +0 -402
- package/esm2022/catalog/catalog-filters/tokens/sc-catalog-products-filters.mjs +0 -10
- package/esm2022/catalog/catalog-filters/tokens/sc-catalog-show-products-recursively.mjs +0 -6
- package/esm2022/catalog/category-card/sc-category-card.component.mjs +0 -102
- package/esm2022/catalog/cost-with-discount/cost-with-discount.component.mjs +0 -39
- 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 -16
- package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +0 -189
- 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 -73
- 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 -61
- package/esm2022/catalog/sc-catalog.module.mjs +0 -126
- package/esm2022/catalog/sc-favorite-button/sc-favorite-button.component.mjs +0 -42
- package/esm2022/catalog/seo-tags/sc-seo-tags.component.mjs +0 -25
- package/esm2022/configurators/index.mjs +0 -4
- package/esm2022/configurators/models/index.mjs +0 -4
- package/esm2022/configurators/models/sandwich/sc-i-configurator-search-product-sandwich.mjs +0 -2
- package/esm2022/configurators/models/sandwich/sc-i-sandwich-settings.mjs +0 -2
- package/esm2022/configurators/models/sandwich_m2/sc-i-sandwich-m2-settings.mjs +0 -2
- package/esm2022/configurators/sandwich/index.mjs +0 -4
- package/esm2022/configurators/sandwich/sandwich-skeleton/sc-sandwich-skeleton.component.mjs +0 -14
- package/esm2022/configurators/sandwich/sc-i-new-cart-item-sandwich.mjs +0 -2
- package/esm2022/configurators/sandwich/sc-sandwich.component.mjs +0 -382
- package/esm2022/configurators/sandwich_m2/index.mjs +0 -5
- package/esm2022/configurators/sandwich_m2/sandwich-m2-skeleton/sc-sandwich-m2-skeleton.component.mjs +0 -14
- package/esm2022/configurators/sandwich_m2/sc-i-new-cart-item-sandwich-m2.mjs +0 -2
- package/esm2022/configurators/sandwich_m2/sc-sandwich-m2-item-submit-state.mjs +0 -5
- package/esm2022/configurators/sandwich_m2/sc-sandwich-m2.component.mjs +0 -561
- 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 -37
- 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 -89
- package/esm2022/contacts/tokens/index.mjs +0 -3
- package/esm2022/contacts/tokens/sc-manager-qr-handler.token.mjs +0 -25
- package/esm2022/contacts/tokens/sc-show-help-notification-in-phone-input.token.mjs +0 -9
- 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 -266
- package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +0 -74
- package/esm2022/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +0 -68
- 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 -224
- package/esm2022/contragents/sc-contragents.module.mjs +0 -115
- package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +0 -248
- 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 -68
- package/esm2022/delivery-address/index.mjs +0 -5
- package/esm2022/delivery-address/sc-delivery-address.module.mjs +0 -96
- package/esm2022/dialogs/index.mjs +0 -2
- package/esm2022/dialogs/sc-resource-preview/sc-resource-preview.component.mjs +0 -73
- package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +0 -170
- package/esm2022/directives/index.mjs +0 -10
- 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 -70
- package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +0 -19
- package/esm2022/directives/print/sc-print.directive.mjs +0 -36
- package/esm2022/directives/sc-date-value-transformer.directive.mjs +0 -30
- package/esm2022/directives/sc-focus-first-invalid-field.directive.mjs +0 -85
- 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 -10
- package/esm2022/error-handler/error-block-status/error-block-status.component.mjs +0 -88
- 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 -156
- package/esm2022/form-fields/form-fields.module.mjs +0 -66
- package/esm2022/form-fields/index.mjs +0 -4
- package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +0 -174
- 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/methods/index.mjs +0 -2
- package/esm2022/methods/sc-get-current-route.mjs +0 -14
- 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/noindex-wrapper/directives/index.mjs +0 -2
- package/esm2022/noindex-wrapper/directives/sc-noindex.directive.mjs +0 -58
- package/esm2022/noindex-wrapper/index.mjs +0 -3
- package/esm2022/noindex-wrapper/sc-noindex-wrapper.component.mjs +0 -18
- package/esm2022/order/directives/index.mjs +0 -3
- package/esm2022/order/directives/sc-order-accessor.directive.mjs +0 -28
- package/esm2022/order/directives/sc-order-options.mjs +0 -11
- package/esm2022/order/draft/sc-draft.component.mjs +0 -118
- package/esm2022/order/index.mjs +0 -10
- package/esm2022/order/models/sc-i-cart-items-by-direction.mjs +0 -22
- package/esm2022/order/order-item/sc-order-item.component.mjs +0 -108
- package/esm2022/order/order-items-list/sc-order-items-list.component.mjs +0 -208
- package/esm2022/order/order-items-list-by-directions/sc-order-items-list-by-directions.component.mjs +0 -75
- package/esm2022/order/order-items-list-by-stock/sc-order-items-list-by-stock.component.mjs +0 -75
- package/esm2022/order/sc-order.module.mjs +0 -52
- 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 -49
- package/esm2022/pages/frequently-asked-questions/sc-page-size-options.mjs +0 -8
- 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 -107
- 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 -174
- package/esm2022/profile/sc-profile.module.mjs +0 -73
- package/esm2022/providers/cleanup-recaptcha-artifacts.mjs +0 -30
- 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 -17
- package/esm2022/providers/sc-allow-select-terminated.mjs +0 -8
- package/esm2022/providers/sc-banner-duration.mjs +0 -8
- package/esm2022/providers/sc-country-ids.mjs +0 -8
- package/esm2022/providers/sc-date-formatter.mjs +0 -15
- package/esm2022/providers/sc-date-value-transformer.mjs +0 -12
- package/esm2022/providers/sc-debounce-time-default.mjs +0 -9
- package/esm2022/providers/sc-dialog-service.providers.mjs +0 -6
- package/esm2022/providers/sc-help-notification-close.mjs +0 -9
- package/esm2022/providers/sc-help-notification-limit.mjs +0 -8
- package/esm2022/providers/sc-hidden-print-elements.token.mjs +0 -10
- package/esm2022/providers/sc-max-files-in-form-input.mjs +0 -8
- package/esm2022/providers/sc-notify-when-in-stock-required-fields.mjs +0 -8
- package/esm2022/providers/sc-page-size-options.mjs +0 -8
- package/esm2022/providers/sc-user-providers.mjs +0 -38
- package/esm2022/providers/sc-verification-code-timeout.mjs +0 -8
- 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 -66
- package/esm2022/services/index.mjs +0 -3
- package/esm2022/services/print.service.mjs +0 -49
- package/esm2022/services/sc-help-notification.service.mjs +0 -100
- 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 -74
- package/esm2022/user/sc-user.module.mjs +0 -86
- package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +0 -121
- package/esm2022/user/user-managers/sc-user-managers.component.mjs +0 -40
- package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +0 -105
- 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 -3
- package/esm2022/verification/sc-verification.module.mjs +0 -86
- package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +0 -259
- 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 -18
- package/form-fields/index.d.ts +0 -3
- package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +0 -73
- package/icons/index.d.ts +0 -1
- package/icons/sc-client-ui-icons-name.d.ts +0 -4
- package/index.d.ts +0 -5
- 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/methods/index.d.ts +0 -1
- package/methods/sc-get-current-route.d.ts +0 -8
- 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/noindex-wrapper/directives/index.d.ts +0 -1
- package/noindex-wrapper/directives/sc-noindex.directive.d.ts +0 -29
- package/noindex-wrapper/index.d.ts +0 -2
- package/noindex-wrapper/sc-noindex-wrapper.component.d.ts +0 -9
- package/order/directives/index.d.ts +0 -2
- package/order/directives/sc-order-accessor.directive.d.ts +0 -13
- package/order/directives/sc-order-options.d.ts +0 -14
- package/order/draft/sc-draft.component.d.ts +0 -63
- package/order/index.d.ts +0 -9
- package/order/models/sc-i-cart-items-by-direction.d.ts +0 -25
- package/order/order-item/sc-order-item.component.d.ts +0 -39
- package/order/order-items-list/sc-order-items-list.component.d.ts +0 -109
- package/order/order-items-list-by-directions/sc-order-items-list-by-directions.component.d.ts +0 -58
- package/order/order-items-list-by-stock/sc-order-items-list-by-stock.component.d.ts +0 -55
- package/order/sc-order.module.d.ts +0 -18
- 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 -22
- 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 -23
- package/providers/cleanup-recaptcha-artifacts.d.ts +0 -7
- 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 -16
- package/providers/sc-allow-select-terminated.d.ts +0 -5
- package/providers/sc-banner-duration.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-debounce-time-default.d.ts +0 -5
- package/providers/sc-dialog-service.providers.d.ts +0 -45
- package/providers/sc-help-notification-close.d.ts +0 -6
- package/providers/sc-help-notification-limit.d.ts +0 -5
- package/providers/sc-hidden-print-elements.token.d.ts +0 -6
- 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 -34
- 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 -2
- package/services/print.service.d.ts +0 -31
- package/services/sc-help-notification.service.d.ts +0 -70
- 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 -24
- 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 -23
- 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 -2
- package/verification/sc-verification.module.d.ts +0 -21
- package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +0 -145
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, InputSignal, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ScBanner } from '@snabcentr/client-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Баннер с прокруткой переданных {@link TemplateRef} элементов, и баннеров локации.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ScBannerComponent {
|
|
8
|
-
/**
|
|
9
|
-
* Признак, что необходимо показывать кнопки навигации.
|
|
10
|
-
*/
|
|
11
|
-
navigateButton: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Интервал автоматической смены слайдов в миллисекундах (используйте 0, чтобы отключить автоматическую смену слайда).
|
|
14
|
-
*/
|
|
15
|
-
duration: number;
|
|
16
|
-
/**
|
|
17
|
-
* Местоположение баннера.
|
|
18
|
-
*/
|
|
19
|
-
bannerLocation: InputSignal<string | undefined>;
|
|
20
|
-
/**
|
|
21
|
-
* Признак, что компонент должен растягиваться.
|
|
22
|
-
*/
|
|
23
|
-
resizable: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Событие загрузки баннеров с количеством полученных баннеров.
|
|
26
|
-
*/
|
|
27
|
-
loadBannersEvent: EventEmitter<number>;
|
|
28
|
-
/**
|
|
29
|
-
* Событие нажатия на изображение баннера.
|
|
30
|
-
*/
|
|
31
|
-
clickBannerEvent: EventEmitter<ScBanner>;
|
|
32
|
-
/**
|
|
33
|
-
* Список ссылок на элемент представлений шаблонов.
|
|
34
|
-
*/
|
|
35
|
-
bannersListRef: QueryList<TemplateRef<any>>;
|
|
36
|
-
/**
|
|
37
|
-
* Свойство, от которого зависит соотношение `:host` компонента.
|
|
38
|
-
*/
|
|
39
|
-
aspectRatio: string;
|
|
40
|
-
/**
|
|
41
|
-
* Идентификатор текущего баннера.
|
|
42
|
-
*/
|
|
43
|
-
protected currentBannerId: number;
|
|
44
|
-
/**
|
|
45
|
-
* Сервис для работы с данными о баннерах.
|
|
46
|
-
*/
|
|
47
|
-
private readonly bannerService;
|
|
48
|
-
/**
|
|
49
|
-
* Сервис для сбора метрик о действиях пользователей.
|
|
50
|
-
*/
|
|
51
|
-
private readonly userMetrikaService;
|
|
52
|
-
/**
|
|
53
|
-
* Список баннеров.
|
|
54
|
-
*/
|
|
55
|
-
protected readonly banners$: import("rxjs").Observable<ScBanner[]>;
|
|
56
|
-
protected readonly banners: import("@angular/core").Signal<ScBanner[]>;
|
|
57
|
-
/**
|
|
58
|
-
* Общее количество слайдов (баннеры + контент-проекция).
|
|
59
|
-
* Используется для отключения автоскролла при 0–1 слайдах, чтобы не вызывать
|
|
60
|
-
* tuiClamp с max < min в TuiCarouselComponent.onAutoscroll → updateIndex.
|
|
61
|
-
*/
|
|
62
|
-
readonly totalItems: import("@angular/core").Signal<number>;
|
|
63
|
-
/**
|
|
64
|
-
* trackBy для *ngFor баннеров: сохраняет узлы при обновлении списка,
|
|
65
|
-
* чтобы карусель не видела 0 слайдов между тиками и не вызывала tuiClamp(…, -1).
|
|
66
|
-
*
|
|
67
|
-
* @param _index Индекс.
|
|
68
|
-
* @param banner Данные о баннере.
|
|
69
|
-
*/
|
|
70
|
-
trackByBannerId(_index: number, banner: ScBanner): number;
|
|
71
|
-
/**
|
|
72
|
-
* Обработчик нажатия на баннер.
|
|
73
|
-
*
|
|
74
|
-
* @param banner Баннер, по ссылке которого совершён переход.
|
|
75
|
-
*/
|
|
76
|
-
onClick(banner: ScBanner): void;
|
|
77
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScBannerComponent, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScBannerComponent, "sc-banner", never, { "navigateButton": { "alias": "navigateButton"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "bannerLocation": { "alias": "bannerLocation"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; }; }, { "loadBannersEvent": "loadBannersEvent"; "clickBannerEvent": "clickBannerEvent"; }, ["bannersListRef"], never, false, never>;
|
|
79
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./sc-banner.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/router";
|
|
5
|
-
import * as i4 from "@taiga-ui/core";
|
|
6
|
-
import * as i5 from "@taiga-ui/cdk/directives/item";
|
|
7
|
-
import * as i6 from "@taiga-ui/kit";
|
|
8
|
-
import * as i7 from "@ng-web-apis/intersection-observer";
|
|
9
|
-
import * as i8 from "@snabcentr/client-core";
|
|
10
|
-
/**
|
|
11
|
-
* Модуль баннеров.
|
|
12
|
-
*/
|
|
13
|
-
export declare class ScBannerModule {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScBannerModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScBannerModule, [typeof i1.ScBannerComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.TuiButton, typeof i5.TuiItem, typeof i6.TuiCarouselComponent, typeof i6.TuiCarouselDirective, typeof i6.TuiCarouselAutoscroll, typeof i6.TuiCarouselButtons, typeof i6.TuiCarouselScroll, typeof i4.TuiLoader, typeof i7.WaIntersectionObserverDirective, typeof i7.WaIntersectionObservee, typeof i7.WaIntersectionRoot, typeof i8.ScMediaImageTransformerPipe], [typeof i1.ScBannerComponent]>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ScBannerModule>;
|
|
17
|
-
}
|
package/brands-list/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Компонент списка брэндов.
|
|
4
|
-
*/
|
|
5
|
-
export declare class ScBrandsListComponent {
|
|
6
|
-
/**
|
|
7
|
-
* Список элементов брендов.
|
|
8
|
-
*/
|
|
9
|
-
items: Array<{
|
|
10
|
-
src: string;
|
|
11
|
-
alt: string;
|
|
12
|
-
}>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScBrandsListComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScBrandsListComponent, "sc-brands-list", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./sc-brands-list.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@taiga-ui/cdk";
|
|
5
|
-
/**
|
|
6
|
-
* Модуль списка брэндов.
|
|
7
|
-
*/
|
|
8
|
-
export declare class ScBrandsListModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScBrandsListModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScBrandsListModule, [typeof i1.ScBrandsListComponent], [typeof i2.CommonModule, typeof i3.TuiRepeatTimes], [typeof i1.ScBrandsListComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ScBrandsListModule>;
|
|
12
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { ScINewOrderItemBase, ScOrderItem, ScProduct } from '@snabcentr/client-core';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Компонент добавления / изменения товара в корзине.
|
|
8
|
-
*/
|
|
9
|
-
export declare class ScAddOrEditingCartItemFormComponent implements OnInit {
|
|
10
|
-
/**
|
|
11
|
-
* Группа полей добавления / изменения товара в корзине.
|
|
12
|
-
*/
|
|
13
|
-
readonly form: FormGroup<{
|
|
14
|
-
length?: FormControl<number | null>;
|
|
15
|
-
quantity: FormControl<number | null>;
|
|
16
|
-
marker: FormControl<string | null>;
|
|
17
|
-
}>;
|
|
18
|
-
/**
|
|
19
|
-
* Данные о товаре.
|
|
20
|
-
*/
|
|
21
|
-
readonly product: import("@angular/core").InputSignal<ScProduct>;
|
|
22
|
-
/**
|
|
23
|
-
* Признак того, что для указанной категории или продукта действует конфигуратор длины.
|
|
24
|
-
*/
|
|
25
|
-
protected readonly isLengthConfigurator: import("@angular/core").Signal<boolean>;
|
|
26
|
-
/**
|
|
27
|
-
* Данные о товаре в корзине.
|
|
28
|
-
*/
|
|
29
|
-
readonly orderItem: import("@angular/core").InputSignal<ScOrderItem | undefined>;
|
|
30
|
-
/**
|
|
31
|
-
* Признак загрузки данных.
|
|
32
|
-
*/
|
|
33
|
-
readonly isLoading: import("@angular/core").InputSignal<boolean>;
|
|
34
|
-
/**
|
|
35
|
-
* Признак возможности продажи товара на метраж.
|
|
36
|
-
*/
|
|
37
|
-
protected readonly productIsMeasurable: import("@angular/core").Signal<boolean>;
|
|
38
|
-
/**
|
|
39
|
-
* Кратность количества для товара.
|
|
40
|
-
*/
|
|
41
|
-
protected readonly productMultiplicity: import("@angular/core").Signal<number>;
|
|
42
|
-
/**
|
|
43
|
-
* Минимальный метраж для товара.
|
|
44
|
-
*/
|
|
45
|
-
protected readonly minLength: import("@angular/core").Signal<number | undefined>;
|
|
46
|
-
/**
|
|
47
|
-
* Максимальный метраж для товара.
|
|
48
|
-
*/
|
|
49
|
-
protected readonly maxLength: import("@angular/core").Signal<number | undefined>;
|
|
50
|
-
/**
|
|
51
|
-
* Шаг изменения метража.
|
|
52
|
-
*/
|
|
53
|
-
protected readonly lengthStep: import("@angular/core").Signal<number>;
|
|
54
|
-
/**
|
|
55
|
-
* Подсказка по минимальному и максимальному метражу товара.
|
|
56
|
-
*/
|
|
57
|
-
protected readonly lengthHint: import("@angular/core").Signal<string>;
|
|
58
|
-
/**
|
|
59
|
-
* Итоговая стоимость заказа.
|
|
60
|
-
*/
|
|
61
|
-
protected totalCost$: Observable<number>;
|
|
62
|
-
/**
|
|
63
|
-
* {@link Output} события добавления товара в корзину.
|
|
64
|
-
*/
|
|
65
|
-
readonly addProduct: import("@angular/core").OutputEmitterRef<ScINewOrderItemBase>;
|
|
66
|
-
/**
|
|
67
|
-
* {@link Output} события редактирования товара в корзине.
|
|
68
|
-
*/
|
|
69
|
-
readonly editCartItem: import("@angular/core").OutputEmitterRef<Omit<ScINewOrderItemBase, "productId">>;
|
|
70
|
-
/**
|
|
71
|
-
* Сервис для сбора метрик о действиях пользователей.
|
|
72
|
-
*/
|
|
73
|
-
private readonly userMetrikaService;
|
|
74
|
-
/**
|
|
75
|
-
* Сервис конвертации данных.
|
|
76
|
-
*/
|
|
77
|
-
private readonly convertersService;
|
|
78
|
-
/** @inheritDoc */
|
|
79
|
-
ngOnInit(): void;
|
|
80
|
-
/**
|
|
81
|
-
* Обработчик события шага метража.
|
|
82
|
-
*
|
|
83
|
-
* @param step Шаг.
|
|
84
|
-
*/
|
|
85
|
-
protected onStepLength(step: number): void;
|
|
86
|
-
/**
|
|
87
|
-
* Обработчик события шага количества.
|
|
88
|
-
*
|
|
89
|
-
* @param step Шаг.
|
|
90
|
-
*/
|
|
91
|
-
protected onStepQuantity(step: number): void;
|
|
92
|
-
/**
|
|
93
|
-
* Обработчик события отправки формы.
|
|
94
|
-
*/
|
|
95
|
-
protected onSubmit(): void;
|
|
96
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddOrEditingCartItemFormComponent, never>;
|
|
97
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddOrEditingCartItemFormComponent, "sc-add-or-editing-cart-item-form", never, { "product": { "alias": "product"; "required": true; "isSignal": true; }; "orderItem": { "alias": "orderItem"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, { "addProduct": "addProduct"; "editCartItem": "editCartItem"; }, never, never, true, never>;
|
|
98
|
-
}
|
package/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { Signal } from '@angular/core';
|
|
2
|
-
import { ScCart, ScINewOrderItemBase, ScIOrderEditorLoader, ScOrderDraft, ScOrderItem, ScProduct } from '@snabcentr/client-core';
|
|
3
|
-
import { TuiDialogContext } from '@taiga-ui/core';
|
|
4
|
-
import { Observable, Subject } from 'rxjs';
|
|
5
|
-
import { ScAddOrEditingCartItemFormComponent } from './add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Компонент добавления / изменения товара в корзине.
|
|
9
|
-
*/
|
|
10
|
-
export declare class ScAddOrEditingCartItemDialogComponent {
|
|
11
|
-
/**
|
|
12
|
-
* Компонент формы добавления / изменения товара в корзине.
|
|
13
|
-
*/
|
|
14
|
-
readonly formComponent: Signal<ScAddOrEditingCartItemFormComponent>;
|
|
15
|
-
/**
|
|
16
|
-
* {@link Subject} события отправки формы.
|
|
17
|
-
*/
|
|
18
|
-
readonly onSubmit: Subject<ScINewOrderItemBase>;
|
|
19
|
-
/**
|
|
20
|
-
* {@link Observable} запроса добавления / изменения товара в корзине.
|
|
21
|
-
*/
|
|
22
|
-
readonly submit$: Observable<{} | ScCart | ScOrderDraft>;
|
|
23
|
-
/**
|
|
24
|
-
* {@link Observable} изменения состояния загрузки данных.
|
|
25
|
-
*/
|
|
26
|
-
readonly loading: Signal<boolean>;
|
|
27
|
-
/**
|
|
28
|
-
* Контекст диалогового окна.
|
|
29
|
-
*/
|
|
30
|
-
readonly context: TuiDialogContext<boolean, {
|
|
31
|
-
product: ScProduct;
|
|
32
|
-
orderItem: ScOrderItem | undefined;
|
|
33
|
-
orderId: number | undefined;
|
|
34
|
-
}>;
|
|
35
|
-
/**
|
|
36
|
-
* Данные о товаре.
|
|
37
|
-
*/
|
|
38
|
-
readonly product: ScProduct;
|
|
39
|
-
/**
|
|
40
|
-
* Данные о товаре в корзине.
|
|
41
|
-
*/
|
|
42
|
-
readonly orderItem: ScOrderItem | undefined;
|
|
43
|
-
/**
|
|
44
|
-
* Сервис получения и редактирования списка товаров заказа (корзина / заказ / черновик = заказ).
|
|
45
|
-
*/
|
|
46
|
-
protected readonly orderService: ScIOrderEditorLoader<ScOrderItem, ScCart | ScOrderDraft>;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddOrEditingCartItemDialogComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddOrEditingCartItemDialogComponent, "sc-add-or-editing-cart-item-dialog", never, {}, {}, never, never, true, never>;
|
|
49
|
-
}
|
package/cart/index.d.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { Signal } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { TuiDialogContext } from '@taiga-ui/core';
|
|
4
|
-
import { Observable, Subject } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Компонент диалога для добавления товаров в корзину из CSV файла.
|
|
8
|
-
*/
|
|
9
|
-
export declare class ScCartAddProductsFromCsvDialogComponent {
|
|
10
|
-
/**
|
|
11
|
-
* Контекст диалогового окна, в котором открыт компонент.
|
|
12
|
-
*/
|
|
13
|
-
protected readonly context: TuiDialogContext;
|
|
14
|
-
/**
|
|
15
|
-
* Сервис для работы с корзиной.
|
|
16
|
-
*/
|
|
17
|
-
private readonly cartService;
|
|
18
|
-
/**
|
|
19
|
-
* Объект окна.
|
|
20
|
-
*/
|
|
21
|
-
private readonly window;
|
|
22
|
-
/**
|
|
23
|
-
* {@link Subject} события скачивания цен каталога.
|
|
24
|
-
*/
|
|
25
|
-
protected readonly onDownloadClick: Subject<void>;
|
|
26
|
-
/**
|
|
27
|
-
* {@link Observable} запроса на скачивание цен каталога.
|
|
28
|
-
*/
|
|
29
|
-
protected readonly downloadRequest$: Observable<Blob | null | undefined>;
|
|
30
|
-
/**
|
|
31
|
-
* Признак того, что запрос выполняется.
|
|
32
|
-
*/
|
|
33
|
-
protected readonly isDownloadLoading: Signal<boolean>;
|
|
34
|
-
/**
|
|
35
|
-
* {@link Subject} события отправки формы.
|
|
36
|
-
*/
|
|
37
|
-
protected readonly onSubmit$: Subject<void>;
|
|
38
|
-
/**
|
|
39
|
-
* {@link Observable} запроса на добавление товаров из CSV файла.
|
|
40
|
-
*/
|
|
41
|
-
protected readonly submitRequest$: Observable<import("@snabcentr/client-core").ScCart | null>;
|
|
42
|
-
/**
|
|
43
|
-
* Признак того, что запрос на добавление товаров выполняется.
|
|
44
|
-
*/
|
|
45
|
-
protected readonly isSubmitLoading: Signal<boolean>;
|
|
46
|
-
/**
|
|
47
|
-
* Поле для загрузки файла.
|
|
48
|
-
*/
|
|
49
|
-
protected readonly control: FormControl<File | null>;
|
|
50
|
-
/**
|
|
51
|
-
* Метод для удаления загруженного файла.
|
|
52
|
-
*/
|
|
53
|
-
protected removeFile(): void;
|
|
54
|
-
/**
|
|
55
|
-
* Метод для скачивания примера файла.
|
|
56
|
-
*
|
|
57
|
-
* @param blob Бинарный объект.
|
|
58
|
-
*/
|
|
59
|
-
private downloadExampleFile;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScCartAddProductsFromCsvDialogComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScCartAddProductsFromCsvDialogComponent, "sc-cart-add-products-from-csv-dialog", never, {}, {}, never, never, true, never>;
|
|
62
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Контейнер сворачивания для длинного списка вариантов фильтра.
|
|
5
|
-
*
|
|
6
|
-
* Когда число элементов превышает порог: свёрнут — fade с обрезкой, развёрнут — scrollbar.
|
|
7
|
-
* Иначе рендерит контент без обёртки и кнопки переключения.
|
|
8
|
-
*
|
|
9
|
-
* Контент проецируется как `<ng-template>` — это сохраняет инжектор `ControlContainer`
|
|
10
|
-
* родителя для `formControlName`/`formGroupName` внутри проецируемого фрагмента.
|
|
11
|
-
*/
|
|
12
|
-
export declare class ScCatalogFilterCollapsibleComponent {
|
|
13
|
-
/**
|
|
14
|
-
* Порог числа вариантов, после которого включается сворачивание с {@link TuiFade}.
|
|
15
|
-
*/
|
|
16
|
-
private static readonly COLLAPSE_THRESHOLD;
|
|
17
|
-
/**
|
|
18
|
-
* Число элементов содержимого, по которому решается необходимость сворачивания.
|
|
19
|
-
*/
|
|
20
|
-
readonly itemsCount: import("@angular/core").InputSignal<number>;
|
|
21
|
-
/**
|
|
22
|
-
* Показывать ли кнопку сброса значений группы.
|
|
23
|
-
*/
|
|
24
|
-
readonly showReset: import("@angular/core").InputSignal<boolean>;
|
|
25
|
-
/**
|
|
26
|
-
* Событие нажатия на кнопку сброса группы.
|
|
27
|
-
*/
|
|
28
|
-
readonly resetGroup: import("@angular/core").OutputEmitterRef<void>;
|
|
29
|
-
/**
|
|
30
|
-
* Проецируемое содержимое (объявляется в шаблоне родителя как `<ng-template>`).
|
|
31
|
-
*/
|
|
32
|
-
protected readonly contentTpl: import("@angular/core").Signal<TemplateRef<any>>;
|
|
33
|
-
/**
|
|
34
|
-
* Развёрнут ли список.
|
|
35
|
-
*/
|
|
36
|
-
protected readonly isExpanded: import("@angular/core").WritableSignal<boolean>;
|
|
37
|
-
/**
|
|
38
|
-
* Нужно ли сворачивание для текущего числа элементов.
|
|
39
|
-
*/
|
|
40
|
-
protected readonly isCollapsible: import("@angular/core").Signal<boolean>;
|
|
41
|
-
/**
|
|
42
|
-
* Переключает развёрнутость списка.
|
|
43
|
-
*/
|
|
44
|
-
protected toggle(): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScCatalogFilterCollapsibleComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScCatalogFilterCollapsibleComponent, "sc-catalog-filter-collapsible", never, { "itemsCount": { "alias": "itemsCount"; "required": true; "isSignal": true; }; "showReset": { "alias": "showReset"; "required": false; "isSignal": true; }; }, { "resetGroup": "resetGroup"; }, ["contentTpl"], never, true, never>;
|
|
47
|
-
}
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
-
import { ScCatalogFilter, ScICheckboxFilter, ScPropertyFilters, ScRangeFilter, ScToggleFilter } from '@snabcentr/client-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Компонент вывода фильтров каталога.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ScCatalogFiltersComponent {
|
|
8
|
-
/**
|
|
9
|
-
* Подписки синхронизации контролов формы (range slider, single-select checkbox).
|
|
10
|
-
*/
|
|
11
|
-
private formSyncs;
|
|
12
|
-
/**
|
|
13
|
-
* Сервис для работы с фильтрами каталога.
|
|
14
|
-
*/
|
|
15
|
-
private readonly catalogFilterService;
|
|
16
|
-
/**
|
|
17
|
-
* Пайп, возвращающий идентификатор или символьное обозначение (slug) исходя из настроек окружения.
|
|
18
|
-
*/
|
|
19
|
-
private readonly idOrSlugPipe;
|
|
20
|
-
/**
|
|
21
|
-
* Subject для хранения фильтров продуктов.
|
|
22
|
-
*/
|
|
23
|
-
private readonly catalogProductsFilters$;
|
|
24
|
-
/**
|
|
25
|
-
* Признак необходимости отображать фильтры для вложенных категорий.
|
|
26
|
-
*/
|
|
27
|
-
private readonly isRecursively;
|
|
28
|
-
/**
|
|
29
|
-
* Показывать ли кнопку «Показать результаты».
|
|
30
|
-
*/
|
|
31
|
-
readonly showResultsButton: import("@angular/core").InputSignal<boolean>;
|
|
32
|
-
/**
|
|
33
|
-
* Событие нажатия на кнопку сброса всех фильтров.
|
|
34
|
-
*/
|
|
35
|
-
readonly resetFilters: import("@angular/core").OutputEmitterRef<void>;
|
|
36
|
-
/**
|
|
37
|
-
* Событие нажатия на кнопку показа результатов.
|
|
38
|
-
*/
|
|
39
|
-
readonly showResults: import("@angular/core").OutputEmitterRef<void>;
|
|
40
|
-
/**
|
|
41
|
-
* FormGroup для фильтров.
|
|
42
|
-
*/
|
|
43
|
-
readonly form: FormGroup<Record<string, FormControl<boolean> | FormGroup<Record<string, FormControl<boolean>>> | FormGroup<{
|
|
44
|
-
from: FormControl<number>;
|
|
45
|
-
to: FormControl<number>;
|
|
46
|
-
slider: FormControl<[number, number]>;
|
|
47
|
-
}>>>;
|
|
48
|
-
/**
|
|
49
|
-
* {@link Observable} фильтров категории.
|
|
50
|
-
*/
|
|
51
|
-
protected readonly filters: import("@angular/core").Signal<(ScRangeFilter | ScToggleFilter | {
|
|
52
|
-
values: {
|
|
53
|
-
id: string;
|
|
54
|
-
label: string;
|
|
55
|
-
}[];
|
|
56
|
-
type: "checkbox";
|
|
57
|
-
isMultiple: boolean;
|
|
58
|
-
selectedValues?: string[];
|
|
59
|
-
id: string;
|
|
60
|
-
label: string;
|
|
61
|
-
})[] | undefined>;
|
|
62
|
-
/**
|
|
63
|
-
* Инициализирует экземпляр класса {@link ScCatalogFiltersComponent}.
|
|
64
|
-
*/
|
|
65
|
-
constructor();
|
|
66
|
-
/**
|
|
67
|
-
* Обновляет состав контролов формы на основе переданных фильтров.
|
|
68
|
-
*
|
|
69
|
-
* @param filters Массив фильтров для создания контролов.
|
|
70
|
-
*/
|
|
71
|
-
protected updateFormControls(filters: ScCatalogFilter[]): void;
|
|
72
|
-
/**
|
|
73
|
-
* Преобразует значения формы в объект фильтров свойств.
|
|
74
|
-
*
|
|
75
|
-
* @param value Значения формы.
|
|
76
|
-
* @returns Объект фильтров свойств.
|
|
77
|
-
*/
|
|
78
|
-
protected buildPropertyFilters(value: Record<string, unknown>): ScPropertyFilters;
|
|
79
|
-
/**
|
|
80
|
-
* Создаёт FormGroup для checkbox: на каждый {@code value.id} — булевый контрол.
|
|
81
|
-
*
|
|
82
|
-
* Единый формат и для одного, и для множества значений: шаблон рендерит их одинаково.
|
|
83
|
-
* Различие в API-выводе для одиночного значения (boolean вместо массива) обрабатывается в {@link processCheckboxFilter}.
|
|
84
|
-
*
|
|
85
|
-
* @param checkboxFilter Фильтр типа checkbox.
|
|
86
|
-
*/
|
|
87
|
-
protected createCheckboxFormControl(checkboxFilter: ScICheckboxFilter): FormGroup<Record<string, FormControl<boolean>>>;
|
|
88
|
-
/**
|
|
89
|
-
* Создаёт {@link FormGroup} для range: {@code from}, {@code to}, {@code slider} (кортеж для {@link TuiRange}).
|
|
90
|
-
*
|
|
91
|
-
* @param rangeFilter Фильтр типа range.
|
|
92
|
-
*/
|
|
93
|
-
protected createRangeFormControl(rangeFilter: ScRangeFilter): FormGroup<{
|
|
94
|
-
from: FormControl<number>;
|
|
95
|
-
to: FormControl<number>;
|
|
96
|
-
slider: FormControl<[number, number]>;
|
|
97
|
-
}>;
|
|
98
|
-
/**
|
|
99
|
-
* Реализует single-select поведение для FormGroup с булевыми контролами:
|
|
100
|
-
* при появлении нового true остальные контролы группы сбрасываются в false.
|
|
101
|
-
*
|
|
102
|
-
* Сохраняет последнее «стабильное» состояние и сравнивает следующее значение с ним —
|
|
103
|
-
* новый true (отсутствовал в prev) считается выбранным, остальные сбрасываются через setValue.
|
|
104
|
-
*
|
|
105
|
-
* @param group FormGroup checkbox-фильтра (id → boolean).
|
|
106
|
-
*/
|
|
107
|
-
private syncSingleSelectCheckbox;
|
|
108
|
-
/**
|
|
109
|
-
* Связывает поля «от»/«до» с контролом слайдера.
|
|
110
|
-
*
|
|
111
|
-
* @param group FormGroup range-фильтра.
|
|
112
|
-
*/
|
|
113
|
-
private syncRangeFromToAndSlider;
|
|
114
|
-
/**
|
|
115
|
-
* Создает FormControl для toggle.
|
|
116
|
-
*
|
|
117
|
-
* @param toggleFilter Фильтр типа toggle.
|
|
118
|
-
*/
|
|
119
|
-
protected createToggleFormControl(toggleFilter: ScToggleFilter): FormControl<boolean>;
|
|
120
|
-
/**
|
|
121
|
-
* Обрабатывает checkbox: FormGroup → string[] выбранных id; для единственного значения — boolean (как toggle).
|
|
122
|
-
*
|
|
123
|
-
* @param result Объект результата для заполнения.
|
|
124
|
-
* @param checkboxFilter Метафильтр checkbox.
|
|
125
|
-
* @param controlValue Значение контрола формы (запись id → boolean).
|
|
126
|
-
*/
|
|
127
|
-
private processCheckboxFilter;
|
|
128
|
-
/**
|
|
129
|
-
* Обрабатывает range фильтр.
|
|
130
|
-
*
|
|
131
|
-
* @param result Объект результата для заполнения.
|
|
132
|
-
* @param filterId Идентификатор фильтра.
|
|
133
|
-
* @param range Значение контрола формы (объект с границами).
|
|
134
|
-
* @param range.from Начальное значение диапазона.
|
|
135
|
-
* @param range.to Конечное значение диапазона.
|
|
136
|
-
*/
|
|
137
|
-
private processRangeFilter;
|
|
138
|
-
/**
|
|
139
|
-
* Обрабатывает toggle фильтр.
|
|
140
|
-
*
|
|
141
|
-
* @param result Объект результата для заполнения.
|
|
142
|
-
* @param filterId Идентификатор фильтра.
|
|
143
|
-
* @param controlValue Значение контрола формы.
|
|
144
|
-
*/
|
|
145
|
-
private processToggleFilter;
|
|
146
|
-
/**
|
|
147
|
-
* Сбрасывает поле «от» диапазона к минимальному значению фильтра.
|
|
148
|
-
*
|
|
149
|
-
* @param filterId Идентификатор фильтра.
|
|
150
|
-
* @param min Минимальное значение диапазона.
|
|
151
|
-
*/
|
|
152
|
-
protected resetRangeFrom(filterId: string, min: string | number): void;
|
|
153
|
-
/**
|
|
154
|
-
* Сбрасывает поле «до» диапазона к максимальному значению фильтра.
|
|
155
|
-
*
|
|
156
|
-
* @param filterId Идентификатор фильтра.
|
|
157
|
-
* @param max Максимальное значение диапазона.
|
|
158
|
-
*/
|
|
159
|
-
protected resetRangeTo(filterId: string, max: string | number): void;
|
|
160
|
-
/**
|
|
161
|
-
* Сбрасывает все чекбоксы группы в `false`.
|
|
162
|
-
*
|
|
163
|
-
* @param filterId Идентификатор фильтра (ключ FormGroup в форме).
|
|
164
|
-
*/
|
|
165
|
-
protected resetCheckboxGroup(filterId: string): void;
|
|
166
|
-
/**
|
|
167
|
-
* Сбрасывает все фильтры и оповещает родителя о нажатии кнопки сброса.
|
|
168
|
-
*/
|
|
169
|
-
protected onResetFiltersClick(): void;
|
|
170
|
-
/**
|
|
171
|
-
* Оповещает родителя о нажатии кнопки показа результатов.
|
|
172
|
-
*/
|
|
173
|
-
protected onShowResultsClick(): void;
|
|
174
|
-
/**
|
|
175
|
-
* Сбрасывает все фильтры к исходным значениям.
|
|
176
|
-
*/
|
|
177
|
-
private resetAllFilters;
|
|
178
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScCatalogFiltersComponent, never>;
|
|
179
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScCatalogFiltersComponent, "sc-catalog-filters", never, { "showResultsButton": { "alias": "showResultsButton"; "required": false; "isSignal": true; }; }, { "resetFilters": "resetFilters"; "showResults": "showResults"; }, never, never, true, never>;
|
|
180
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { ScPropertyFilters } from '@snabcentr/client-core';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
/**
|
|
5
|
-
* Токен для инъекции {@link Subject} для хранения фильтров продуктов.
|
|
6
|
-
*/
|
|
7
|
-
export declare const SC_CATALOG_PRODUCTS_FILTERS: InjectionToken<Subject<ScPropertyFilters>>;
|