@osovitny/anatoly 3.17.138 → 3.17.140
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/esm2022/lib/billing/components/pm/paypal/paypal-subscribe-button.component.mjs +5 -3
- package/esm2022/lib/core/consts/app-settings.mjs +3 -3
- package/esm2022/lib/data/services/billing/subscriptions-api.service.mjs +3 -3
- package/esm2022/lib/ui/components/base/components/component.mjs +4 -15
- package/esm2022/lib/ui/components/you-agree-to-our-terms/you-agree-to-our-terms.component.mjs +4 -4
- package/fesm2022/osovitny-anatoly.mjs +13 -22
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/lib/billing/components/index.d.ts +1 -1
- package/lib/billing/components/pm/paypal/paypal-subscribe-button.component.d.ts +2 -1
- package/lib/core/consts/app-settings.d.ts +3 -3
- package/lib/data/services/billing/subscriptions-api.service.d.ts +1 -1
- package/lib/ui/components/base/components/component.d.ts +2 -4
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BuyAccessButtonComponent, SubscribePlanButtonComponent, OrderSummaryComponent, PaymentMethodsComponent, PaymentOptionsComponent, BraintreeDialog, PaypalButtonComponent, PaypalSubscribeButtonComponent, PayPalComponent, StripeDialog } from "./exports";
|
|
2
|
-
export declare const COMPONENTS: (typeof BuyAccessButtonComponent | typeof SubscribePlanButtonComponent | typeof OrderSummaryComponent | typeof PaymentMethodsComponent | typeof PaymentOptionsComponent | typeof BraintreeDialog | typeof PaypalButtonComponent | typeof
|
|
2
|
+
export declare const COMPONENTS: (typeof PaypalSubscribeButtonComponent | typeof BuyAccessButtonComponent | typeof SubscribePlanButtonComponent | typeof OrderSummaryComponent | typeof PaymentMethodsComponent | typeof PaymentOptionsComponent | typeof BraintreeDialog | typeof PaypalButtonComponent | typeof PayPalComponent | typeof StripeDialog)[];
|
|
@@ -16,6 +16,7 @@ export declare class PaypalSubscribeButtonComponent extends ComponentBase {
|
|
|
16
16
|
set payPalPlanId(value: any);
|
|
17
17
|
quantity: any;
|
|
18
18
|
planId: any;
|
|
19
|
+
addons: any;
|
|
19
20
|
price: any;
|
|
20
21
|
totalPrice: any;
|
|
21
22
|
statusChange: EventEmitter<any>;
|
|
@@ -27,5 +28,5 @@ export declare class PaypalSubscribeButtonComponent extends ComponentBase {
|
|
|
27
28
|
private initPayPal;
|
|
28
29
|
private addSubscription;
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaypalSubscribeButtonComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaypalSubscribeButtonComponent, "anatoly-billing-paypal-subscribe-button", never, { "payPalPlanId": { "alias": "payPalPlanId"; "required": false; }; "quantity": { "alias": "quantity"; "required": false; }; "planId": { "alias": "planId"; "required": false; }; "price": { "alias": "price"; "required": false; }; "totalPrice": { "alias": "totalPrice"; "required": false; }; }, { "statusChange": "statusChange"; }, never, never, false, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaypalSubscribeButtonComponent, "anatoly-billing-paypal-subscribe-button", never, { "payPalPlanId": { "alias": "payPalPlanId"; "required": false; }; "quantity": { "alias": "quantity"; "required": false; }; "planId": { "alias": "planId"; "required": false; }; "addons": { "alias": "addons"; "required": false; }; "price": { "alias": "price"; "required": false; }; "totalPrice": { "alias": "totalPrice"; "required": false; }; }, { "statusChange": "statusChange"; }, never, never, false, never>;
|
|
31
32
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare function getAppSettingsById(id: any): any;
|
|
2
2
|
export declare function getAppSettingsByName(name: any): any;
|
|
3
3
|
export interface ICurrentApp {
|
|
4
|
-
type:
|
|
4
|
+
type: number;
|
|
5
5
|
root: string;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
one: any;
|
|
7
|
+
oneUrl: string;
|
|
8
8
|
}
|
|
9
9
|
export declare function getCurrentApp(): ICurrentApp;
|
|
10
10
|
export declare const AppName: string;
|
|
@@ -6,7 +6,7 @@ export declare class SubscriptionsApiService extends ApiServiceBase {
|
|
|
6
6
|
protected http: HttpClient;
|
|
7
7
|
constructor(http: HttpClient);
|
|
8
8
|
getSubscriptions(data: any): Observable<any[]>;
|
|
9
|
-
addSubscription(subscriptionProvider: any, newSubscriptionId: any, planId: any, price: any, totalPrice: any, success?: Function, error?: Function): void;
|
|
9
|
+
addSubscription(subscriptionProvider: any, newSubscriptionId: any, planId: any, addons: any, price: any, totalPrice: any, success?: Function, error?: Function): void;
|
|
10
10
|
cancelSubscription(subscriptionProvider: any, subscriptionId: any, success?: Function, error?: Function): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionsApiService, never>;
|
|
12
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionsApiService>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import { Subs } from "../../../../core/exports";
|
|
2
|
+
import { Subs, ICurrentApp } from "../../../../core/exports";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare abstract class ComponentBase implements OnInit, OnDestroy {
|
|
5
5
|
protected isDevMode: boolean;
|
|
@@ -7,9 +7,7 @@ export declare abstract class ComponentBase implements OnInit, OnDestroy {
|
|
|
7
7
|
protected dataLoading: boolean;
|
|
8
8
|
protected dataLoaded: boolean;
|
|
9
9
|
protected dataFound: boolean;
|
|
10
|
-
|
|
11
|
-
applicationRoot: any;
|
|
12
|
-
applicationOneUrl: string;
|
|
10
|
+
currentApp: ICurrentApp;
|
|
13
11
|
classes: string;
|
|
14
12
|
title: string;
|
|
15
13
|
isTitleVisible: boolean;
|