@osovitny/anatoly 3.17.84 → 3.17.85
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.
|
@@ -15,4 +15,5 @@
|
|
|
15
15
|
export * from './components/exports';
|
|
16
16
|
export * from './services/payments.service';
|
|
17
17
|
export * from './services/paypal-script.service';
|
|
18
|
-
|
|
18
|
+
export * from './utils';
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwb3J0cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuYXRvbHkvc3JjL2xpYi9iaWxsaW5nL2V4cG9ydHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7RUFhRTtBQUVGLGNBQWMsc0JBQXNCLENBQUE7QUFDcEMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsU0FBUyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiLypcclxuPGZpbGU+XHJcbiAgUHJvamVjdDpcclxuICAgIEBvc292aXRueS9hbmF0b2x5XHJcblxyXG4gIEF1dGhvcnM6XHJcbiAgICBWYWRpbSBPc292aXRueSB2YWRpbS5vc292aXRueUBvc292aXRueS5jb21cclxuXHJcbiAgQ3JlYXRlZDpcclxuICAgIDggTm92IDIwMjRcclxuXHJcbiAgQ29weXJpZ2h0IChjKSAyMDE2LTIwMjUgT3Nvdml0bnkgSW5jLiBBbGwgcmlnaHRzIHJlc2VydmVkLlxyXG48L2ZpbGU+XHJcbiovXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2NvbXBvbmVudHMvZXhwb3J0cydcclxuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9wYXltZW50cy5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9wYXlwYWwtc2NyaXB0LnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL3V0aWxzJ1xyXG4iXX0=
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
<file>
|
|
3
|
+
Project:
|
|
4
|
+
Atlas Cross
|
|
5
|
+
|
|
6
|
+
Authors:
|
|
7
|
+
Leon Malyan leon.malyan@atlascross.io
|
|
8
|
+
|
|
9
|
+
Created:
|
|
10
|
+
25 May 2024
|
|
11
|
+
|
|
12
|
+
Copyright (c) 2023-2024 Atlas Cross Inc. All rights reserved.
|
|
13
|
+
</file>
|
|
14
|
+
*/
|
|
15
|
+
export class BillingUtils {
|
|
16
|
+
static convert2AmountWithCurrency(amount, currency) {
|
|
17
|
+
switch (currency) {
|
|
18
|
+
case 'GBP':
|
|
19
|
+
return '£' + amount;
|
|
20
|
+
case 'EUR':
|
|
21
|
+
return '€' + amount;
|
|
22
|
+
case 'USD':
|
|
23
|
+
return '$' + amount;
|
|
24
|
+
}
|
|
25
|
+
return amount;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvYmlsbGluZy91dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7OztFQWFFO0FBRUYsTUFBTSxPQUFPLFlBQVk7SUFDaEIsTUFBTSxDQUFDLDBCQUEwQixDQUFDLE1BQU0sRUFBRSxRQUFRO1FBQ3ZELFFBQVEsUUFBUSxFQUFFLENBQUM7WUFDakIsS0FBSyxLQUFLO2dCQUNSLE9BQU8sR0FBRyxHQUFHLE1BQU0sQ0FBQztZQUV0QixLQUFLLEtBQUs7Z0JBQ1IsT0FBTyxHQUFHLEdBQUcsTUFBTSxDQUFDO1lBRXRCLEtBQUssS0FBSztnQkFDUixPQUFPLEdBQUcsR0FBRyxNQUFNLENBQUM7UUFDeEIsQ0FBQztRQUVELE9BQU8sTUFBTSxDQUFDO0lBQ2hCLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbIi8qXHJcbjxmaWxlPlxyXG4gIFByb2plY3Q6XHJcbiAgICBBdGxhcyBDcm9zc1xyXG5cclxuICBBdXRob3JzOlxyXG4gICAgTGVvbiBNYWx5YW4gbGVvbi5tYWx5YW5AYXRsYXNjcm9zcy5pb1xyXG5cclxuICBDcmVhdGVkOlxyXG4gICAgMjUgTWF5IDIwMjRcclxuXHJcbiAgQ29weXJpZ2h0IChjKSAyMDIzLTIwMjQgQXRsYXMgQ3Jvc3MgSW5jLiBBbGwgcmlnaHRzIHJlc2VydmVkLlxyXG48L2ZpbGU+XHJcbiovXHJcblxyXG5leHBvcnQgY2xhc3MgQmlsbGluZ1V0aWxzIHtcclxuICBwdWJsaWMgc3RhdGljIGNvbnZlcnQyQW1vdW50V2l0aEN1cnJlbmN5KGFtb3VudCwgY3VycmVuY3kpIHtcclxuICAgIHN3aXRjaCAoY3VycmVuY3kpIHtcclxuICAgICAgY2FzZSAnR0JQJzpcclxuICAgICAgICByZXR1cm4gJ8KjJyArIGFtb3VudDtcclxuXHJcbiAgICAgIGNhc2UgJ0VVUic6XHJcbiAgICAgICAgcmV0dXJuICfigqwnICsgYW1vdW50O1xyXG5cclxuICAgICAgY2FzZSAnVVNEJzpcclxuICAgICAgICByZXR1cm4gJyQnICsgYW1vdW50O1xyXG4gICAgfVxyXG5cclxuICAgIHJldHVybiBhbW91bnQ7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -4963,6 +4963,34 @@ class StripeDialog extends DialogBase {
|
|
|
4963
4963
|
*/
|
|
4964
4964
|
//braintree
|
|
4965
4965
|
|
|
4966
|
+
/*
|
|
4967
|
+
<file>
|
|
4968
|
+
Project:
|
|
4969
|
+
Atlas Cross
|
|
4970
|
+
|
|
4971
|
+
Authors:
|
|
4972
|
+
Leon Malyan leon.malyan@atlascross.io
|
|
4973
|
+
|
|
4974
|
+
Created:
|
|
4975
|
+
25 May 2024
|
|
4976
|
+
|
|
4977
|
+
Copyright (c) 2023-2024 Atlas Cross Inc. All rights reserved.
|
|
4978
|
+
</file>
|
|
4979
|
+
*/
|
|
4980
|
+
class BillingUtils {
|
|
4981
|
+
static convert2AmountWithCurrency(amount, currency) {
|
|
4982
|
+
switch (currency) {
|
|
4983
|
+
case 'GBP':
|
|
4984
|
+
return '£' + amount;
|
|
4985
|
+
case 'EUR':
|
|
4986
|
+
return '€' + amount;
|
|
4987
|
+
case 'USD':
|
|
4988
|
+
return '$' + amount;
|
|
4989
|
+
}
|
|
4990
|
+
return amount;
|
|
4991
|
+
}
|
|
4992
|
+
}
|
|
4993
|
+
|
|
4966
4994
|
/*
|
|
4967
4995
|
<file>
|
|
4968
4996
|
Project:
|
|
@@ -9488,5 +9516,5 @@ class AnatolyModule {
|
|
|
9488
9516
|
* Generated bundle index. Do not edit.
|
|
9489
9517
|
*/
|
|
9490
9518
|
|
|
9491
|
-
export { AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppSettings, AppVersion, AuthService, AuthenticationGuard, BaseGoService, BraintreeDialog, Browser, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, ClientApps, CompanyComponent, ComponentBase, ContactUsDialog, ContactUsForm, Convert, Copy2ClipboardComponent, CoreApiService, CountryDropdownlist, CurrenciesApiService, CurrenciesStorageService, DOM, DataPagerComponent, DataViewType, DateConvert, DefaultEditorOptions, DialogBase, DigitalMarketingService, DiscountCodeStatus, DiscountCodeType, DiscountCodesApiService, EditComponentBase, EditPageBase, EmailsApiService, EnumEditComponentBase, FileSizePipe, FormValidationSummaryComponent, FormsHtmlEditorComponent, GABillingEvents, GAEvents, GlobalErrorHandler, GoogleAnalyticsService, GridEditServiceBase, GridReadServiceBase, Guid, HoveringDirective, HtmlEditorComponent, HtmlEditorComponentBase, IdleService, InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10NUrl, L10nUtils, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, MSALUtils, NativeElementDirective, NodataComponent, NotificationService, PageBase, PageSpinnerComponent, PagedPageBase, PayPalComponent, PayPalScriptService, PaymentMethod, PaymentStage, PaymentType, PaymentsApiService, PaymentsService, PaypalButtonComponent, QSUtils, ReplaceTextPipe, SafeHtmlPipe, ScriptService, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, StarterGuard, StarterService, Stopwatch, StripeDialog, Subs, SubscribePlanButtonComponent, TimezoneDropdownlist, TransactionsApiService, UrlSlugComponent, Utils, ValidationSummaryComponent, XmlFormatter, dateFormats, dateTimeFormats, getAppSettingsById, getAppSettingsByName, is, localizationInitializerFactory, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
|
|
9519
|
+
export { AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppSettings, AppVersion, AuthService, AuthenticationGuard, BaseGoService, BillingUtils, BraintreeDialog, Browser, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, ClientApps, CompanyComponent, ComponentBase, ContactUsDialog, ContactUsForm, Convert, Copy2ClipboardComponent, CoreApiService, CountryDropdownlist, CurrenciesApiService, CurrenciesStorageService, DOM, DataPagerComponent, DataViewType, DateConvert, DefaultEditorOptions, DialogBase, DigitalMarketingService, DiscountCodeStatus, DiscountCodeType, DiscountCodesApiService, EditComponentBase, EditPageBase, EmailsApiService, EnumEditComponentBase, FileSizePipe, FormValidationSummaryComponent, FormsHtmlEditorComponent, GABillingEvents, GAEvents, GlobalErrorHandler, GoogleAnalyticsService, GridEditServiceBase, GridReadServiceBase, Guid, HoveringDirective, HtmlEditorComponent, HtmlEditorComponentBase, IdleService, InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10NUrl, L10nUtils, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, MSALUtils, NativeElementDirective, NodataComponent, NotificationService, PageBase, PageSpinnerComponent, PagedPageBase, PayPalComponent, PayPalScriptService, PaymentMethod, PaymentStage, PaymentType, PaymentsApiService, PaymentsService, PaypalButtonComponent, QSUtils, ReplaceTextPipe, SafeHtmlPipe, ScriptService, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, StarterGuard, StarterService, Stopwatch, StripeDialog, Subs, SubscribePlanButtonComponent, TimezoneDropdownlist, TransactionsApiService, UrlSlugComponent, Utils, ValidationSummaryComponent, XmlFormatter, dateFormats, dateTimeFormats, getAppSettingsById, getAppSettingsByName, is, localizationInitializerFactory, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
|
|
9492
9520
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|