@snabcentr/client-ui 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- package/directives/index.d.ts +1 -0
- package/esm2020/directives/index.mjs +2 -1
- package/fesm2015/snabcentr-client-ui.mjs +48 -48
- package/fesm2015/snabcentr-client-ui.mjs.map +1 -1
- package/fesm2020/snabcentr-client-ui.mjs +48 -48
- package/fesm2020/snabcentr-client-ui.mjs.map +1 -1
- package/package.json +1 -1
package/directives/index.d.ts
CHANGED
@@ -2,4 +2,5 @@ export * from './next-input-focus/sc-next-input-focus.directive';
|
|
2
2
|
export * from './next-input-focus/sc-next-input-focus.module';
|
3
3
|
export * from './abstract-price-card/abstract-sc-price-card.directive';
|
4
4
|
export * from './tel-link/sc-tel-link.directive';
|
5
|
+
export * from './tel-link/sc-tel-link.module';
|
5
6
|
export * from './terminal-link/sc-terminal-link.directive';
|
@@ -2,5 +2,6 @@ export * from './next-input-focus/sc-next-input-focus.directive';
|
|
2
2
|
export * from './next-input-focus/sc-next-input-focus.module';
|
3
3
|
export * from './abstract-price-card/abstract-sc-price-card.directive';
|
4
4
|
export * from './tel-link/sc-tel-link.directive';
|
5
|
+
export * from './tel-link/sc-tel-link.module';
|
5
6
|
export * from './terminal-link/sc-terminal-link.directive';
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jbGllbnQtdWkvZGlyZWN0aXZlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtEQUFrRCxDQUFDO0FBQ2pFLGNBQWMsK0NBQStDLENBQUM7QUFDOUQsY0FBYyx3REFBd0QsQ0FBQztBQUN2RSxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsK0JBQStCLENBQUM7QUFDOUMsY0FBYyw0Q0FBNEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbmV4dC1pbnB1dC1mb2N1cy9zYy1uZXh0LWlucHV0LWZvY3VzLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL25leHQtaW5wdXQtZm9jdXMvc2MtbmV4dC1pbnB1dC1mb2N1cy5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9hYnN0cmFjdC1wcmljZS1jYXJkL2Fic3RyYWN0LXNjLXByaWNlLWNhcmQuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vdGVsLWxpbmsvc2MtdGVsLWxpbmsuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vdGVsLWxpbmsvc2MtdGVsLWxpbmsubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vdGVybWluYWwtbGluay9zYy10ZXJtaW5hbC1saW5rLmRpcmVjdGl2ZSc7XG4iXX0=
|
@@ -1764,6 +1764,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
1764
1764
|
type: Input
|
1765
1765
|
}] } });
|
1766
1766
|
|
1767
|
+
/* eslint-disable class-methods-use-this */
|
1768
|
+
/**
|
1769
|
+
* Пайп для форматирования номера телефона.
|
1770
|
+
*
|
1771
|
+
* Если переданный номер телефона валиден, он будет отформатирован с использованием метода `formatPhoneNumber` сервиса `ScPhoneService`.
|
1772
|
+
* Если номер невалиден, возвращается исходное значение.
|
1773
|
+
*/
|
1774
|
+
class ScFormatePhonePipe {
|
1775
|
+
/**
|
1776
|
+
* Преобразует строковое значение номера телефона.
|
1777
|
+
*
|
1778
|
+
* @param value Строка, содержащая номер телефона.
|
1779
|
+
* @returns Отформатированный номер телефона, если он валиден, или исходное значение, если он невалиден.
|
1780
|
+
*/
|
1781
|
+
transform(value) {
|
1782
|
+
if (ScPhoneService.isValidPhoneNumber(value)) {
|
1783
|
+
return ScPhoneService.formatPhoneNumber(value);
|
1784
|
+
}
|
1785
|
+
return value; // Возвращаем оригинальный номер, если он невалиден
|
1786
|
+
}
|
1787
|
+
}
|
1788
|
+
ScFormatePhonePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScFormatePhonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
1789
|
+
ScFormatePhonePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: ScFormatePhonePipe, isStandalone: true, name: "scFormatePhone" });
|
1790
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScFormatePhonePipe, decorators: [{
|
1791
|
+
type: Pipe,
|
1792
|
+
args: [{
|
1793
|
+
standalone: true,
|
1794
|
+
name: 'scFormatePhone',
|
1795
|
+
}]
|
1796
|
+
}] });
|
1797
|
+
|
1798
|
+
/**
|
1799
|
+
* Модуль валидации значения номера телефона.
|
1800
|
+
*/
|
1801
|
+
class ScTelLinkModule {
|
1802
|
+
}
|
1803
|
+
ScTelLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScTelLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1804
|
+
ScTelLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: ScTelLinkModule, imports: [ScFormatePhonePipe, ScTelLinkDirective], exports: [ScFormatePhonePipe, ScTelLinkDirective] });
|
1805
|
+
ScTelLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScTelLinkModule });
|
1806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScTelLinkModule, decorators: [{
|
1807
|
+
type: NgModule,
|
1808
|
+
args: [{
|
1809
|
+
imports: [ScFormatePhonePipe, ScTelLinkDirective],
|
1810
|
+
exports: [ScFormatePhonePipe, ScTelLinkDirective],
|
1811
|
+
}]
|
1812
|
+
}] });
|
1813
|
+
|
1767
1814
|
/**
|
1768
1815
|
* Компонент QR кода.
|
1769
1816
|
*/
|
@@ -1968,37 +2015,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
1968
2015
|
}]
|
1969
2016
|
}] });
|
1970
2017
|
|
1971
|
-
/* eslint-disable class-methods-use-this */
|
1972
|
-
/**
|
1973
|
-
* Пайп для форматирования номера телефона.
|
1974
|
-
*
|
1975
|
-
* Если переданный номер телефона валиден, он будет отформатирован с использованием метода `formatPhoneNumber` сервиса `ScPhoneService`.
|
1976
|
-
* Если номер невалиден, возвращается исходное значение.
|
1977
|
-
*/
|
1978
|
-
class ScFormatePhonePipe {
|
1979
|
-
/**
|
1980
|
-
* Преобразует строковое значение номера телефона.
|
1981
|
-
*
|
1982
|
-
* @param value Строка, содержащая номер телефона.
|
1983
|
-
* @returns Отформатированный номер телефона, если он валиден, или исходное значение, если он невалиден.
|
1984
|
-
*/
|
1985
|
-
transform(value) {
|
1986
|
-
if (ScPhoneService.isValidPhoneNumber(value)) {
|
1987
|
-
return ScPhoneService.formatPhoneNumber(value);
|
1988
|
-
}
|
1989
|
-
return value; // Возвращаем оригинальный номер, если он невалиден
|
1990
|
-
}
|
1991
|
-
}
|
1992
|
-
ScFormatePhonePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScFormatePhonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
1993
|
-
ScFormatePhonePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: ScFormatePhonePipe, isStandalone: true, name: "scFormatePhone" });
|
1994
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScFormatePhonePipe, decorators: [{
|
1995
|
-
type: Pipe,
|
1996
|
-
args: [{
|
1997
|
-
standalone: true,
|
1998
|
-
name: 'scFormatePhone',
|
1999
|
-
}]
|
2000
|
-
}] });
|
2001
|
-
|
2002
2018
|
/* eslint-disable no-restricted-syntax,@typescript-eslint/unbound-method */
|
2003
2019
|
/**
|
2004
2020
|
* Компонент формы создания нового контактного лица.
|
@@ -5661,22 +5677,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
5661
5677
|
}] }];
|
5662
5678
|
} });
|
5663
5679
|
|
5664
|
-
/**
|
5665
|
-
* Модуль валидации значения номера телефона.
|
5666
|
-
*/
|
5667
|
-
class ScTelLinkModule {
|
5668
|
-
}
|
5669
|
-
ScTelLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScTelLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
5670
|
-
ScTelLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: ScTelLinkModule, imports: [ScFormatePhonePipe, ScTelLinkDirective], exports: [ScFormatePhonePipe, ScTelLinkDirective] });
|
5671
|
-
ScTelLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScTelLinkModule });
|
5672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScTelLinkModule, decorators: [{
|
5673
|
-
type: NgModule,
|
5674
|
-
args: [{
|
5675
|
-
imports: [ScFormatePhonePipe, ScTelLinkDirective],
|
5676
|
-
exports: [ScFormatePhonePipe, ScTelLinkDirective],
|
5677
|
-
}]
|
5678
|
-
}] });
|
5679
|
-
|
5680
5680
|
/**
|
5681
5681
|
* Модуль компонентов пользователя.
|
5682
5682
|
*/
|
@@ -5992,5 +5992,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
5992
5992
|
* Generated bundle index. Do not edit.
|
5993
5993
|
*/
|
5994
5994
|
|
5995
|
-
export { AbstractScPriceCard, AuthMethod, FilesAndDocumentsComponent, FilesAndDocumentsModule, SC_LINEAR_VALUES, SC_LINEAR_VALUES_TOKEN, SC_LOADING_PAGINATION_CHANGE_INFO, SC_NEXT_PAGE_PAGINATION_CHANGE_INFO, SC_NEXT_PAGE_PAGINATION_CLICK, SC_PRODUCT_PAGINATION_CHANGE_INFO, SC_PRODUCT_PAGINATION_CHANGE_PROVIDERS, SC_PRODUCT_PAGINATION_DEFAULT_OPTIONS, SC_PRODUCT_PAGINATION_OPTIONS, SC_PRODUCT_PAGINATION_PARAMS, SC_USER_INFO, SC_USER_PROVIDERS, ScAccordionComponent, ScAccordionContentDirective, ScAccordionModule, ScAddContactDialogComponent, ScAddContragentBankAccountsDialogComponent, ScAddContragentDialogComponent, ScAddDeliveryAddressDialogComponent, ScAddressesSelectionFieldComponent, ScAskToSampleFormComponent, ScAuthModule, ScBannerComponent, ScBannerModule, ScBrandsListComponent, ScBrandsListModule, ScCartItemMobileComponent, ScCartModule, ScCatalogModule, ScCategoriesListComponent, ScCategoryCardComponent, ScContactsAccordionComponent, ScContactsModule, ScContragentsAccordionComponent, ScContragentsAccordionItemComponent, ScContragentsModule, ScDeliveryAddressAccordionComponent, ScDeliveryAddressAccordionItemComponent, ScDeliveryAddressModule, ScFavoriteBtnComponent, ScFormFieldsModule, ScFormatePhonePipe, ScInputQuantityComponent, ScNewContactFormComponent, ScNewContragentBankAccountsFormComponent, ScNewContragentFormComponent, ScNewsCardComponent, ScNewsCardSkeletonComponent, ScNewsModule, ScNextInputFocusDirective, ScNextInputFocusModule, ScOrderItemMobileComponent, ScOrderModule, ScPaymentStatusComponent, ScPreviewSampleComponent, ScPreviewSampleModule, ScPriceCardComponent, ScPriceHistoryComponent, ScPriceListPaginationComponent, ScPriceWarehouseStockComponent, ScProfileAccordionsContentComponent, ScProfileModule, ScQRCodeDialogComponent, ScQRCodeModule, ScResetUserPasswordComponent, ScShareButtonComponent, ScShareButtonModule, ScSignInFormByEmailComponent, ScSignInFormByPhoneComponent, ScSignInFormComponent, ScSignUpFormComponent, ScSuggestionFieldComponent, ScTelLinkDirective, ScTerminalLinkDirective, ScUpdateUserInfoDialogComponent, ScUserManagersComponent, ScUserModule, ScUserPhoneApproveDialogComponent, ScVerificationModule, ScVerificationPhoneCheckFormComponent, TreeDirective, TreeIconService, TreeLoaderService, TreeTopDirective, nextPageClickEvent, paginationParams$, scBicValidator, scClientUiIconsName, scCorrespondentAccountValidator, scPasswordConfirmMatchingValidator, scUserFactory, stepValidator };
|
5995
|
+
export { AbstractScPriceCard, AuthMethod, FilesAndDocumentsComponent, FilesAndDocumentsModule, SC_LINEAR_VALUES, SC_LINEAR_VALUES_TOKEN, SC_LOADING_PAGINATION_CHANGE_INFO, SC_NEXT_PAGE_PAGINATION_CHANGE_INFO, SC_NEXT_PAGE_PAGINATION_CLICK, SC_PRODUCT_PAGINATION_CHANGE_INFO, SC_PRODUCT_PAGINATION_CHANGE_PROVIDERS, SC_PRODUCT_PAGINATION_DEFAULT_OPTIONS, SC_PRODUCT_PAGINATION_OPTIONS, SC_PRODUCT_PAGINATION_PARAMS, SC_USER_INFO, SC_USER_PROVIDERS, ScAccordionComponent, ScAccordionContentDirective, ScAccordionModule, ScAddContactDialogComponent, ScAddContragentBankAccountsDialogComponent, ScAddContragentDialogComponent, ScAddDeliveryAddressDialogComponent, ScAddressesSelectionFieldComponent, ScAskToSampleFormComponent, ScAuthModule, ScBannerComponent, ScBannerModule, ScBrandsListComponent, ScBrandsListModule, ScCartItemMobileComponent, ScCartModule, ScCatalogModule, ScCategoriesListComponent, ScCategoryCardComponent, ScContactsAccordionComponent, ScContactsModule, ScContragentsAccordionComponent, ScContragentsAccordionItemComponent, ScContragentsModule, ScDeliveryAddressAccordionComponent, ScDeliveryAddressAccordionItemComponent, ScDeliveryAddressModule, ScFavoriteBtnComponent, ScFormFieldsModule, ScFormatePhonePipe, ScInputQuantityComponent, ScNewContactFormComponent, ScNewContragentBankAccountsFormComponent, ScNewContragentFormComponent, ScNewsCardComponent, ScNewsCardSkeletonComponent, ScNewsModule, ScNextInputFocusDirective, ScNextInputFocusModule, ScOrderItemMobileComponent, ScOrderModule, ScPaymentStatusComponent, ScPreviewSampleComponent, ScPreviewSampleModule, ScPriceCardComponent, ScPriceHistoryComponent, ScPriceListPaginationComponent, ScPriceWarehouseStockComponent, ScProfileAccordionsContentComponent, ScProfileModule, ScQRCodeDialogComponent, ScQRCodeModule, ScResetUserPasswordComponent, ScShareButtonComponent, ScShareButtonModule, ScSignInFormByEmailComponent, ScSignInFormByPhoneComponent, ScSignInFormComponent, ScSignUpFormComponent, ScSuggestionFieldComponent, ScTelLinkDirective, ScTelLinkModule, ScTerminalLinkDirective, ScUpdateUserInfoDialogComponent, ScUserManagersComponent, ScUserModule, ScUserPhoneApproveDialogComponent, ScVerificationModule, ScVerificationPhoneCheckFormComponent, TreeDirective, TreeIconService, TreeLoaderService, TreeTopDirective, nextPageClickEvent, paginationParams$, scBicValidator, scClientUiIconsName, scCorrespondentAccountValidator, scPasswordConfirmMatchingValidator, scUserFactory, stepValidator };
|
5996
5996
|
//# sourceMappingURL=snabcentr-client-ui.mjs.map
|