@osovitny/anatoly 3.19.31 → 3.19.32
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/osovitny-anatoly.mjs +4 -5
- 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 +1 -3
- package/lib/billing/services/billing.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5888,7 +5888,7 @@ class BillingService {
|
|
|
5888
5888
|
this.appContext = appContext;
|
|
5889
5889
|
this.api = api;
|
|
5890
5890
|
this._subscriptionChange = new Subject();
|
|
5891
|
-
this.
|
|
5891
|
+
this.subscriptionChange$ = this._subscriptionChange.asObservable();
|
|
5892
5892
|
}
|
|
5893
5893
|
fireSubscriptionChange(paymentInProgress, paymentFailed) {
|
|
5894
5894
|
this._subscriptionChange.next({ paymentInProgress, paymentFailed });
|
|
@@ -5933,9 +5933,8 @@ class PaypalSubscribeButtonComponent extends ComponentBase {
|
|
|
5933
5933
|
this._payPalPlanId = value;
|
|
5934
5934
|
this.initPayPal();
|
|
5935
5935
|
}
|
|
5936
|
-
constructor(
|
|
5936
|
+
constructor(bs) {
|
|
5937
5937
|
super();
|
|
5938
|
-
this.zone = zone;
|
|
5939
5938
|
this.bs = bs;
|
|
5940
5939
|
}
|
|
5941
5940
|
ngOnInit() {
|
|
@@ -6000,7 +5999,7 @@ class PaypalSubscribeButtonComponent extends ComponentBase {
|
|
|
6000
5999
|
}
|
|
6001
6000
|
};
|
|
6002
6001
|
}
|
|
6003
|
-
static { this.ɵfac = function PaypalSubscribeButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PaypalSubscribeButtonComponent)(i0.ɵɵdirectiveInject(
|
|
6002
|
+
static { this.ɵfac = function PaypalSubscribeButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PaypalSubscribeButtonComponent)(i0.ɵɵdirectiveInject(BillingService)); }; }
|
|
6004
6003
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaypalSubscribeButtonComponent, selectors: [["anatoly-billing-paypal-subscribe-button"]], inputs: { payPalPlanId: "payPalPlanId", quantity: "quantity", planId: "planId", addons: "addons", price: "price", totalPrice: "totalPrice" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "config"]], template: function PaypalSubscribeButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6005
6004
|
i0.ɵɵelement(0, "anatoly-billing-paypal-container", 0);
|
|
6006
6005
|
} if (rf & 2) {
|
|
@@ -6010,7 +6009,7 @@ class PaypalSubscribeButtonComponent extends ComponentBase {
|
|
|
6010
6009
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaypalSubscribeButtonComponent, [{
|
|
6011
6010
|
type: Component,
|
|
6012
6011
|
args: [{ selector: 'anatoly-billing-paypal-subscribe-button', standalone: false, template: "<anatoly-billing-paypal-container [config]='payPalConfig' />\r\n\r\n" }]
|
|
6013
|
-
}], () => [{ type:
|
|
6012
|
+
}], () => [{ type: BillingService }], { payPalPlanId: [{
|
|
6014
6013
|
type: Input
|
|
6015
6014
|
}], quantity: [{
|
|
6016
6015
|
type: Input
|