@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
package/loader/sc-i-loader.d.ts
DELETED
package/masks/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './sc-account-number-mask';
|
|
2
|
-
export * from './sc-bic-mask';
|
|
3
|
-
export * from './sc-correspondent-account-mask';
|
|
4
|
-
export * from './sc-inn-mask';
|
|
5
|
-
export * from './sc-kpp-mask';
|
|
6
|
-
export * from './sc-okpo-mask';
|
|
7
|
-
export * from './sc-phone-verification-code-mask';
|
package/masks/sc-bic-mask.d.ts
DELETED
package/masks/sc-inn-mask.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MaskitoOptions } from '@maskito/core';
|
|
2
|
-
/**
|
|
3
|
-
* Маска поля ввода ИНН индивидуального предпринимателя.
|
|
4
|
-
*/
|
|
5
|
-
export declare const scEntrepreneurInnMask: MaskitoOptions;
|
|
6
|
-
/**
|
|
7
|
-
* Маска поля ввода ИНН юридического лица.
|
|
8
|
-
*/
|
|
9
|
-
export declare const scLegalInnMask: MaskitoOptions;
|
package/masks/sc-kpp-mask.d.ts
DELETED
package/masks/sc-okpo-mask.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MaskitoOptions } from '@maskito/core';
|
|
2
|
-
/**
|
|
3
|
-
* Маска поля ввода ОКПО индивидуального предпринимателя.
|
|
4
|
-
*/
|
|
5
|
-
export declare const scEntrepreneurOkpoMask: MaskitoOptions;
|
|
6
|
-
/**
|
|
7
|
-
* Маска поля ввода ОКПО юридического лица.
|
|
8
|
-
*/
|
|
9
|
-
export declare const scLegalOkpoMask: MaskitoOptions;
|
package/methods/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './sc-get-current-route';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ActivatedRoute } from '@angular/router';
|
|
2
|
-
/**
|
|
3
|
-
* Возвращает текущий маршрут.
|
|
4
|
-
* Функция проходит по дереву маршрутов начиная с переданного route и возвращает самый вложенный активный маршрут.
|
|
5
|
-
*
|
|
6
|
-
* @param route Данные маршрута, от которого ищем текущий маршрут в приложении.
|
|
7
|
-
*/
|
|
8
|
-
export declare const scGetCurrentRoute: (route: ActivatedRoute) => ActivatedRoute;
|
package/models/i-sc-image.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Модель данных изображения.
|
|
3
|
-
*/
|
|
4
|
-
export interface IScImage {
|
|
5
|
-
/**
|
|
6
|
-
* Ссылка на изображение в формате по умолчанию.
|
|
7
|
-
*/
|
|
8
|
-
defaultFormat: string;
|
|
9
|
-
/**
|
|
10
|
-
* Ссылка на изображение в формате webp.
|
|
11
|
-
*/
|
|
12
|
-
webp: string;
|
|
13
|
-
/**
|
|
14
|
-
* Краткое описание изображения, если возникла проблема загрузки.
|
|
15
|
-
*/
|
|
16
|
-
alt?: string;
|
|
17
|
-
}
|
package/models/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './i-sc-image';
|
package/news/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { InputSignal } from '@angular/core';
|
|
2
|
-
import { ScINewsTile } from '@snabcentr/client-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Компонент карточки новости.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ScNewsCardComponent {
|
|
8
|
-
/**
|
|
9
|
-
* Данные о новости.
|
|
10
|
-
*/
|
|
11
|
-
news: InputSignal<ScINewsTile>;
|
|
12
|
-
/**
|
|
13
|
-
* Ссылка на страницу новости. Используется именно `href`, так как остановить событие клика для `routerLink` не вышло.
|
|
14
|
-
*/
|
|
15
|
-
href: InputSignal<string | null>;
|
|
16
|
-
/**
|
|
17
|
-
* Признак того, что этот компонент отображается на мобильном устройстве.
|
|
18
|
-
*/
|
|
19
|
-
readonly isMobile: boolean;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScNewsCardComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScNewsCardComponent, "sc-news-card", never, { "news": { "alias": "news"; "required": true; "isSignal": true; }; "href": { "alias": "href"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
22
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Компонент скелетона карточки новости.
|
|
4
|
-
*/
|
|
5
|
-
export declare class ScNewsCardSkeletonComponent {
|
|
6
|
-
/**
|
|
7
|
-
* Признак, что необходимо отобразить скелетон изображения новости.
|
|
8
|
-
*/
|
|
9
|
-
hasImg: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Признак того, что этот компонент отображается на мобильном устройстве.
|
|
12
|
-
*/
|
|
13
|
-
readonly isMobile: boolean;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScNewsCardSkeletonComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScNewsCardSkeletonComponent, "sc-news-card-skeleton", never, { "hasImg": { "alias": "hasImg"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
-
}
|
package/news/sc-news.module.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./news-card/sc-news-card.component";
|
|
3
|
-
import * as i2 from "./news-card-skeleton/sc-news-card-skeleton.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@angular/router";
|
|
6
|
-
import * as i5 from "../share-button/sc-share-button.module";
|
|
7
|
-
import * as i6 from "../pipes/sc-format-date";
|
|
8
|
-
import * as i7 from "@snabcentr/client-core";
|
|
9
|
-
/**
|
|
10
|
-
* Модуль работы с новостями.
|
|
11
|
-
*/
|
|
12
|
-
export declare class ScNewsModule {
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScNewsModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScNewsModule, [typeof i1.ScNewsCardComponent, typeof i2.ScNewsCardSkeletonComponent], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.ScShareButtonModule, typeof i6.ScFormatDatePipe, typeof i7.ScMediaImageTransformerPipe], [typeof i1.ScNewsCardComponent, typeof i2.ScNewsCardSkeletonComponent]>;
|
|
15
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ScNewsModule>;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './sc-noindex.directive';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Директива для замены элемента на HTML-комментарий `<!-- noindex -->` или `<!-- /noindex -->` в runtime.
|
|
5
|
-
* Применяется к элементам с атрибутом `data-noindex="true"` или `data-noindex="false"`.
|
|
6
|
-
* Выполняется только в браузере, не выполняется на сервере (SSR).
|
|
7
|
-
* Используется для SEO оптимизации (преимущественно в Yandex).
|
|
8
|
-
*/
|
|
9
|
-
export declare class ScNoindexDirective implements OnInit {
|
|
10
|
-
/**
|
|
11
|
-
* Ссылка на HTML элемент.
|
|
12
|
-
*/
|
|
13
|
-
private readonly elementRef;
|
|
14
|
-
/**
|
|
15
|
-
* Renderer для безопасной работы с DOM.
|
|
16
|
-
*/
|
|
17
|
-
private readonly renderer;
|
|
18
|
-
/**
|
|
19
|
-
* Признак, что приложение запущено на сервере.
|
|
20
|
-
*/
|
|
21
|
-
private readonly isServer;
|
|
22
|
-
/**
|
|
23
|
-
* Инициализация директивы - замена элемента на комментарий.
|
|
24
|
-
* Выполняется только в браузере.
|
|
25
|
-
*/
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScNoindexDirective, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScNoindexDirective, "[data-noindex]", never, {}, {}, never, never, true, never>;
|
|
29
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Компонент-обертка для автоматического добавления тегов noindex вокруг контента.
|
|
4
|
-
* Автоматически добавляет открывающий `<!-- noindex -->` и закрывающий `<!-- /noindex -->` комментарии.
|
|
5
|
-
*/
|
|
6
|
-
export declare class ScNoindexWrapperComponent {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScNoindexWrapperComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScNoindexWrapperComponent, "sc-noindex-wrapper", never, {}, {}, never, ["*"], true, never>;
|
|
9
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Директива, создающая контекст опций заказа для DI.
|
|
4
|
-
* Позволяет дочерним компонентам получать опции заказа через {@link SC_ORDER_OPTIONS}.
|
|
5
|
-
*/
|
|
6
|
-
export declare class ScOrderAccessorDirective {
|
|
7
|
-
/**
|
|
8
|
-
* Идентификатор заказа (черновика).
|
|
9
|
-
*/
|
|
10
|
-
readonly orderId: import("@angular/core").InputSignal<number | undefined>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderAccessorDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScOrderAccessorDirective, "[scOrder]", never, { "orderId": { "alias": "orderId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, Signal } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* Опции заказа (черновика).
|
|
4
|
-
*/
|
|
5
|
-
export interface ScOrderOptions {
|
|
6
|
-
/**
|
|
7
|
-
* Идентификатор заказа (черновика).
|
|
8
|
-
*/
|
|
9
|
-
readonly orderId: Signal<number | undefined>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Токен для внедрения опций заказа (черновика) в дочерние компоненты.
|
|
13
|
-
*/
|
|
14
|
-
export declare const SC_ORDER_OPTIONS: InjectionToken<ScOrderOptions>;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ScOrderDraft } from '@snabcentr/client-core';
|
|
3
|
-
import { ScOrderItemsByDirection } from '../models/sc-i-cart-items-by-direction';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Компонент страницы черновика заказа (аналог корзины для одного черновика).
|
|
7
|
-
*/
|
|
8
|
-
export declare class ScDraftComponent implements OnInit {
|
|
9
|
-
/**
|
|
10
|
-
* Сервис маршрутизации.
|
|
11
|
-
*/
|
|
12
|
-
private readonly router;
|
|
13
|
-
/**
|
|
14
|
-
* Сервис предоставляющий доступ к данным о маршруте.
|
|
15
|
-
*/
|
|
16
|
-
private readonly route;
|
|
17
|
-
/**
|
|
18
|
-
* Сервис для работы с черновиками заказов.
|
|
19
|
-
*/
|
|
20
|
-
private readonly draftsService;
|
|
21
|
-
/**
|
|
22
|
-
* Сигнал с данными текущего черновика заказа (из параметра orderId в URL).
|
|
23
|
-
*/
|
|
24
|
-
readonly draft: import("@angular/core").ModelSignal<ScOrderDraft | null>;
|
|
25
|
-
/**
|
|
26
|
-
* Идентификаторы выбранных позиций.
|
|
27
|
-
*/
|
|
28
|
-
readonly selectedItemsIds: import("@angular/core").ModelSignal<string[]>;
|
|
29
|
-
/**
|
|
30
|
-
* Источник события удаления или отмены заказа.
|
|
31
|
-
*/
|
|
32
|
-
readonly deleteEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
33
|
-
/**
|
|
34
|
-
* Сервис для работы с диалоговыми окнами.
|
|
35
|
-
*/
|
|
36
|
-
private readonly dialogService;
|
|
37
|
-
/**
|
|
38
|
-
* Текущий ключ маршрута.
|
|
39
|
-
*/
|
|
40
|
-
protected readonly isDraftPage: import("@angular/core").Signal<boolean>;
|
|
41
|
-
/**
|
|
42
|
-
* Ссылка для автоматического управления уничтожением зависимостей.
|
|
43
|
-
*/
|
|
44
|
-
private readonly destroyRef;
|
|
45
|
-
/**
|
|
46
|
-
* Сервис установки SEO-данных приложения.
|
|
47
|
-
*/
|
|
48
|
-
private readonly seoService;
|
|
49
|
-
/** @inheritDoc */
|
|
50
|
-
ngOnInit(): void;
|
|
51
|
-
/**
|
|
52
|
-
* Переход к оформлению заказа по выбранному направлению продаж.
|
|
53
|
-
*
|
|
54
|
-
* @param direction Группа позиций по направлению продаж.
|
|
55
|
-
*/
|
|
56
|
-
protected goToNewOrder(direction: ScOrderItemsByDirection): void;
|
|
57
|
-
/**
|
|
58
|
-
* Удаляет черновик и перенаправляет к списку черновиков.
|
|
59
|
-
*/
|
|
60
|
-
protected clearDraft(): void;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScDraftComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScDraftComponent, "sc-draft", never, { "draft": { "alias": "draft"; "required": false; "isSignal": true; }; "selectedItemsIds": { "alias": "selectedItemsIds"; "required": false; "isSignal": true; }; }, { "draft": "draftChange"; "selectedItemsIds": "selectedItemsIdsChange"; "deleteEvent": "deleteEvent"; }, never, never, true, never>;
|
|
63
|
-
}
|
package/order/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './directives';
|
|
2
|
-
export * from './models/sc-i-cart-items-by-direction';
|
|
3
|
-
export * from './order-item/sc-order-item.component';
|
|
4
|
-
export * from './order-items-list/sc-order-items-list.component';
|
|
5
|
-
export * from './order-items-list-by-directions/sc-order-items-list-by-directions.component';
|
|
6
|
-
export * from './order-items-list-by-stock/sc-order-items-list-by-stock.component';
|
|
7
|
-
export * from './draft/sc-draft.component';
|
|
8
|
-
export * from './sc-payment-status/sc-payment-status.component';
|
|
9
|
-
export * from './sc-order.module';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ScISalesDirection, ScOrderItem } from '@snabcentr/client-core';
|
|
2
|
-
/**
|
|
3
|
-
* Группа позиций заказа по направлению продаж.
|
|
4
|
-
*/
|
|
5
|
-
export declare class ScOrderItemsByDirection {
|
|
6
|
-
/**
|
|
7
|
-
* Направление продаж или undefined для позиций без направления.
|
|
8
|
-
*/
|
|
9
|
-
readonly direction: ScISalesDirection;
|
|
10
|
-
/**
|
|
11
|
-
* Список позиций заказа в данной группе.
|
|
12
|
-
*/
|
|
13
|
-
readonly items: ScOrderItem[];
|
|
14
|
-
/**
|
|
15
|
-
* @param direction Направление продаж.
|
|
16
|
-
* @param allItems Все элементы заказа.
|
|
17
|
-
*/
|
|
18
|
-
constructor(direction: ScISalesDirection, allItems: readonly ScOrderItem[]);
|
|
19
|
-
/**
|
|
20
|
-
* Получает список позиций заказа по идентификаторам.
|
|
21
|
-
*
|
|
22
|
-
* @param itemsIds Идентификаторы позиций.
|
|
23
|
-
*/
|
|
24
|
-
getItemsByIds(itemsIds: string[]): ScOrderItem[];
|
|
25
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { OutputEmitterRef, TemplateRef } from '@angular/core';
|
|
2
|
-
import { TuiDialogContext } from '@taiga-ui/core';
|
|
3
|
-
import { AbstractScPriceCard } from '../../directives';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Компонент карточки элемента корзины.
|
|
7
|
-
*/
|
|
8
|
-
export declare class ScOrderItemComponent extends AbstractScPriceCard {
|
|
9
|
-
/**
|
|
10
|
-
* Видимость подсказки про изменение размеров через конфигуратор.
|
|
11
|
-
*/
|
|
12
|
-
protected readonly isConfiguratorHintVisible: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
-
/**
|
|
14
|
-
* Событие нажатия на кнопку редактирования конфигурации.
|
|
15
|
-
*/
|
|
16
|
-
readonly clickSettings: OutputEmitterRef<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Сервис диалогового окна предварительного просмотра.
|
|
19
|
-
*/
|
|
20
|
-
private readonly previewDialogService;
|
|
21
|
-
/**
|
|
22
|
-
* Признак, что необходимо отобразить элементы редактирования.
|
|
23
|
-
*/
|
|
24
|
-
readonly isShowEditControls: import("@angular/core").InputSignal<boolean>;
|
|
25
|
-
/**
|
|
26
|
-
* Отображает спецификацию.
|
|
27
|
-
*
|
|
28
|
-
* @param specificationPreviewReference Шаблон спецификации.
|
|
29
|
-
*/
|
|
30
|
-
protected showSpecification(specificationPreviewReference: TemplateRef<TuiDialogContext>): void;
|
|
31
|
-
/**
|
|
32
|
-
* Обрабатывает показ подсказки по размерам (синхронизация с подсветкой кнопки настроек).
|
|
33
|
-
*
|
|
34
|
-
* @param visible Признак видимости подсказки.
|
|
35
|
-
*/
|
|
36
|
-
protected configuratorHintVisible(visible: boolean): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderItemComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScOrderItemComponent, "sc-order-item", never, { "isShowEditControls": { "alias": "isShowEditControls"; "required": false; "isSignal": true; }; }, { "clickSettings": "clickSettings"; }, never, never, true, never>;
|
|
39
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
-
import { ScIOrderEditorLoader, ScIOrderLoader, ScOrderItem } from '@snabcentr/client-core';
|
|
3
|
-
import { AbstractScPriceCard } from '../../directives';
|
|
4
|
-
import { ScOrderOptions } from '../directives/sc-order-options';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Компонент списка товаров корзины, заказа или черновика.
|
|
8
|
-
* Позиции разбиты.
|
|
9
|
-
*/
|
|
10
|
-
export declare class ScOrderItemsListComponent {
|
|
11
|
-
/**
|
|
12
|
-
* Внутренний сигнал списка элементов корзины (товаров).
|
|
13
|
-
*/
|
|
14
|
-
protected readonly itemsSignal: import("@angular/core").WritableSignal<ScOrderItem[]>;
|
|
15
|
-
/**
|
|
16
|
-
* Включить выбор позиций чекбоксами.
|
|
17
|
-
*/
|
|
18
|
-
readonly selectable: import("@angular/core").InputSignal<boolean>;
|
|
19
|
-
/**
|
|
20
|
-
* Включить редактирование позиций.
|
|
21
|
-
*/
|
|
22
|
-
readonly editable: import("@angular/core").InputSignal<boolean>;
|
|
23
|
-
/**
|
|
24
|
-
* Внутренняя группа формы для выбора позиций.
|
|
25
|
-
*/
|
|
26
|
-
protected readonly selectionFormGroup: FormGroup<Record<string, FormControl<boolean>>>;
|
|
27
|
-
/**
|
|
28
|
-
* Опции заказа (черновика). Предоставляется директивой {@link ScOrderAccessorDirective} в контексте черновика.
|
|
29
|
-
*/
|
|
30
|
-
protected readonly orderOptions: ScOrderOptions | null;
|
|
31
|
-
/**
|
|
32
|
-
* Идентификаторы выбранных позиций.
|
|
33
|
-
*/
|
|
34
|
-
protected readonly itemsIds: import("@angular/core").Signal<[string, boolean][]>;
|
|
35
|
-
/**
|
|
36
|
-
* Сигнал идентификаторов выбранных позиций.
|
|
37
|
-
*/
|
|
38
|
-
readonly selectedItemsIds: import("@angular/core").Signal<string[]>;
|
|
39
|
-
/**
|
|
40
|
-
* Выходные данные при изменении выбора позиций.
|
|
41
|
-
*/
|
|
42
|
-
readonly selectedItemsIdsChange: import("@angular/core").OutputRef<string[]>;
|
|
43
|
-
/**
|
|
44
|
-
* Сумма стоимости выбранных позиций.
|
|
45
|
-
*/
|
|
46
|
-
readonly sumSelectedItems: import("@angular/core").Signal<number>;
|
|
47
|
-
/**
|
|
48
|
-
* Сервис получения и редактирования списка товаров заказа (корзина / заказ / черновик = заказ).
|
|
49
|
-
* Предоставляется родителем через токен {@link SC_ORDER_LOADER} (реализация {@link ScIOrderLoader}).
|
|
50
|
-
*/
|
|
51
|
-
protected readonly orderItemsListLoader: ScIOrderLoader<ScOrderItem, unknown> | ScIOrderEditorLoader<ScOrderItem, unknown>;
|
|
52
|
-
/**
|
|
53
|
-
* Признак, что можно редактировать позиции.
|
|
54
|
-
*/
|
|
55
|
-
protected readonly canEdit: import("@angular/core").Signal<boolean>;
|
|
56
|
-
/**
|
|
57
|
-
* Ссылка для автоматического управления уничтожением зависимостей.
|
|
58
|
-
*/
|
|
59
|
-
private readonly destroyRef;
|
|
60
|
-
/**
|
|
61
|
-
* Сервис для работы с диалоговыми окнами.
|
|
62
|
-
* Предоставляется родителем через токен {@link SC_DIALOG_SERVICE_TOKEN}.
|
|
63
|
-
*/
|
|
64
|
-
private readonly scDialogService;
|
|
65
|
-
/**
|
|
66
|
-
* Список элементов корзины (товаров). При установке синхронно обновляет контролы выбора в форме.
|
|
67
|
-
*/
|
|
68
|
-
set items(value: ScOrderItem[]);
|
|
69
|
-
/**
|
|
70
|
-
* Синхронизирует контролы формы выбора с текущим списком товаров: удаляет контролы для отсутствующих id, добавляет для новых.
|
|
71
|
-
*/
|
|
72
|
-
private syncSelectionControls;
|
|
73
|
-
/**
|
|
74
|
-
* Удаляет позицию.
|
|
75
|
-
*
|
|
76
|
-
* @param item Позиция товара для удаления.
|
|
77
|
-
* @param priceCard Компонент карточки товара.
|
|
78
|
-
*/
|
|
79
|
-
protected deleteItem(item: ScOrderItem, priceCard: AbstractScPriceCard): void;
|
|
80
|
-
/**
|
|
81
|
-
* Обновляет количество товара.
|
|
82
|
-
*
|
|
83
|
-
* @param newQuantity Новое значение количества товара.
|
|
84
|
-
* @param priceCard Компонент карточки товара.
|
|
85
|
-
*/
|
|
86
|
-
protected patchItem(newQuantity: number | null, priceCard: AbstractScPriceCard): void;
|
|
87
|
-
/**
|
|
88
|
-
* Открывает модальное окно описания товара.
|
|
89
|
-
*
|
|
90
|
-
* @param product Товар/услуга, описание которой необходимо отобразить.
|
|
91
|
-
* @param orderItem Единичная позиция товара/услуги в заказе, для которой необходимо открыть конфигуратор.
|
|
92
|
-
* @param orderId Идентификатор заказа, в котором необходимо открыть конфигуратор.
|
|
93
|
-
*/
|
|
94
|
-
protected openProductInfoDialog(product: ScOrderItem['product'], orderItem?: ScOrderItem, orderId?: number): void;
|
|
95
|
-
/**
|
|
96
|
-
* Открывает модальное окно изменения товара или его конфигуратора.
|
|
97
|
-
*
|
|
98
|
-
* @param item Позиция товара.
|
|
99
|
-
*/
|
|
100
|
-
protected openSettingsDialog(item: ScOrderItem): void;
|
|
101
|
-
/**
|
|
102
|
-
* Открывает диалоговое окно "График изменения стоимости" для товара.
|
|
103
|
-
*
|
|
104
|
-
* @param product Товар/услуга, для которого необходимо отобразить график изменения стоимости.
|
|
105
|
-
*/
|
|
106
|
-
protected openPriceHistoryChartDialog(product: ScOrderItem['product']): void;
|
|
107
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderItemsListComponent, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScOrderItemsListComponent, "sc-order-items-list", never, { "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": true; }; }, { "selectedItemsIdsChange": "selectedItemsIdsChange"; }, never, never, true, never>;
|
|
109
|
-
}
|
package/order/order-items-list-by-directions/sc-order-items-list-by-directions.component.d.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { ScOrderItem } from '@snabcentr/client-core';
|
|
2
|
-
import { ScOrderItemsByDirection } from '../models/sc-i-cart-items-by-direction';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ScOrderItemsListByDirectionsComponent {
|
|
5
|
-
/**
|
|
6
|
-
* Внутренний сигнал списка элементов корзины (товаров).
|
|
7
|
-
*/
|
|
8
|
-
readonly items: import("@angular/core").InputSignal<ScOrderItem[]>;
|
|
9
|
-
/**
|
|
10
|
-
* Включить выбор позиций чекбоксами.
|
|
11
|
-
*/
|
|
12
|
-
readonly selectable: import("@angular/core").InputSignal<boolean>;
|
|
13
|
-
/**
|
|
14
|
-
* Включить редактирование позиций.
|
|
15
|
-
*/
|
|
16
|
-
readonly editable: import("@angular/core").InputSignal<boolean>;
|
|
17
|
-
/**
|
|
18
|
-
* Включить отображение кнопки продолжения.
|
|
19
|
-
*/
|
|
20
|
-
readonly showContinueButton: import("@angular/core").InputSignal<boolean>;
|
|
21
|
-
/**
|
|
22
|
-
* Текст кнопки продолжения.
|
|
23
|
-
*/
|
|
24
|
-
readonly continueButtonText: import("@angular/core").InputSignal<{
|
|
25
|
-
title: string;
|
|
26
|
-
iconStart: string;
|
|
27
|
-
}>;
|
|
28
|
-
/**
|
|
29
|
-
* Событие клика на кнопку продолжения.
|
|
30
|
-
*/
|
|
31
|
-
readonly continueClick: import("@angular/core").OutputEmitterRef<ScOrderItemsByDirection>;
|
|
32
|
-
/**
|
|
33
|
-
* Список направлений продаж из справочника.
|
|
34
|
-
*/
|
|
35
|
-
private readonly directions;
|
|
36
|
-
/**
|
|
37
|
-
* Позиции корзины, сгруппированные по направлениям продаж.
|
|
38
|
-
* Если передан cartDirections, используется он, иначе группировка выполняется автоматически.
|
|
39
|
-
*/
|
|
40
|
-
protected readonly itemsByDirections: import("@angular/core").Signal<ScOrderItemsByDirection[]>;
|
|
41
|
-
/**
|
|
42
|
-
* Позиции корзины, которые больше не предоставляются.
|
|
43
|
-
*/
|
|
44
|
-
protected readonly nullItems: import("@angular/core").Signal<ScOrderItem[]>;
|
|
45
|
-
/**
|
|
46
|
-
* Выходные данные при изменении выбора позиций.
|
|
47
|
-
*/
|
|
48
|
-
readonly selectedItemsIds: import("@angular/core").ModelSignal<string[]>;
|
|
49
|
-
/**
|
|
50
|
-
* Обработчик изменения выбора позиций.
|
|
51
|
-
*
|
|
52
|
-
* @param itemsIds Идентификаторы выбранных позиций.
|
|
53
|
-
* @param direction Направление продаж.
|
|
54
|
-
*/
|
|
55
|
-
protected selectedItemsHandler(itemsIds: string[], direction: ScOrderItemsByDirection): void;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderItemsListByDirectionsComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScOrderItemsListByDirectionsComponent, "sc-order-items-list-by-directions", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "showContinueButton": { "alias": "showContinueButton"; "required": false; "isSignal": true; }; "continueButtonText": { "alias": "continueButtonText"; "required": false; "isSignal": true; }; "selectedItemsIds": { "alias": "selectedItemsIds"; "required": false; "isSignal": true; }; }, { "continueClick": "continueClick"; "selectedItemsIds": "selectedItemsIdsChange"; }, never, ["[footerActions]"], true, never>;
|
|
58
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ScOrderItem } from '@snabcentr/client-core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Компонент списка товаров, разбитых по наличию на складе:
|
|
5
|
-
* - в наличии на складе;
|
|
6
|
-
* - под заказ;
|
|
7
|
-
* - отсутствуют на складе.
|
|
8
|
-
*/
|
|
9
|
-
export declare class ScOrderItemsListByStockComponent {
|
|
10
|
-
/**
|
|
11
|
-
* Список элементов (товаров) для отображения.
|
|
12
|
-
*/
|
|
13
|
-
readonly items: import("@angular/core").InputSignal<ScOrderItem[]>;
|
|
14
|
-
/**
|
|
15
|
-
* Идентификатор склада для проверки наличия.
|
|
16
|
-
*/
|
|
17
|
-
readonly warehouseId: import("@angular/core").InputSignal<number>;
|
|
18
|
-
/**
|
|
19
|
-
* Включить выбор позиций чекбоксами.
|
|
20
|
-
*/
|
|
21
|
-
readonly selectable: import("@angular/core").InputSignal<boolean>;
|
|
22
|
-
/**
|
|
23
|
-
* Включить редактирование позиций.
|
|
24
|
-
*/
|
|
25
|
-
readonly editable: import("@angular/core").InputSignal<boolean>;
|
|
26
|
-
/**
|
|
27
|
-
* Заголовок для секций «под заказ» и «нет на складе». Если не указан — заголовок не выводится.
|
|
28
|
-
*/
|
|
29
|
-
readonly sectionHeader: import("@angular/core").InputSignal<string | undefined>;
|
|
30
|
-
/**
|
|
31
|
-
* Выходные данные при изменении выбора позиций.
|
|
32
|
-
*/
|
|
33
|
-
readonly selectedItemsIds: import("@angular/core").ModelSignal<string[]>;
|
|
34
|
-
/**
|
|
35
|
-
* Позиции в наличии на выбранном складе (не под заказ).
|
|
36
|
-
*/
|
|
37
|
-
protected readonly itemsInWarehouseStock: import("@angular/core").Signal<ScOrderItem[]>;
|
|
38
|
-
/**
|
|
39
|
-
* Позиции под заказ.
|
|
40
|
-
*/
|
|
41
|
-
protected readonly itemsOnOrder: import("@angular/core").Signal<ScOrderItem[]>;
|
|
42
|
-
/**
|
|
43
|
-
* Позиции, которых нет на выбранном складе (не под заказ).
|
|
44
|
-
*/
|
|
45
|
-
protected readonly itemsNotInWarehouseStock: import("@angular/core").Signal<ScOrderItem[]>;
|
|
46
|
-
/**
|
|
47
|
-
* Обработчик изменения выбора позиций.
|
|
48
|
-
*
|
|
49
|
-
* @param itemsIds Идентификаторы выбранных позиций.
|
|
50
|
-
* @param items Позиции.
|
|
51
|
-
*/
|
|
52
|
-
protected selectedItemsHandler(itemsIds: string[], items: ScOrderItem[]): void;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderItemsListByStockComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScOrderItemsListByStockComponent, "sc-order-items-list-by-stock", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "warehouseId": { "alias": "warehouseId"; "required": true; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "sectionHeader": { "alias": "sectionHeader"; "required": false; "isSignal": true; }; "selectedItemsIds": { "alias": "selectedItemsIds"; "required": false; "isSignal": true; }; }, { "selectedItemsIds": "selectedItemsIdsChange"; }, never, never, true, never>;
|
|
55
|
-
}
|