@osovitny/anatoly 3.19.23 → 3.19.25

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.
@@ -3450,8 +3450,6 @@ class BrowserService {
3450
3450
  // Reactive update stream
3451
3451
  this._updated = new BehaviorSubject(null);
3452
3452
  this.updated$ = this._updated.asObservable();
3453
- // Cached lowercase UserAgent string
3454
- this.userAgent = navigator.userAgent.toLowerCase();
3455
3453
  this.init();
3456
3454
  }
3457
3455
  init() {
@@ -3527,6 +3525,9 @@ class BrowserService {
3527
3525
  }
3528
3526
  return !this.isMobileOrTablet();
3529
3527
  }
3528
+ get userAgent() {
3529
+ return navigator.userAgent.toLowerCase();
3530
+ }
3530
3531
  static { this.ɵfac = function BrowserService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BrowserService)(i0.ɵɵinject(i1$5.Platform), i0.ɵɵinject(i2.BreakpointObserver)); }; }
3531
3532
  static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BrowserService, factory: BrowserService.ɵfac, providedIn: 'root' }); }
3532
3533
  }
@@ -4727,7 +4728,7 @@ function PaymentMethodsComponent_For_9_Template(rf, ctx) { if (rf & 1) {
4727
4728
  i0.ɵɵadvance(2);
4728
4729
  i0.ɵɵtextInterpolate1("Pay with ", item_r2.title, "");
4729
4730
  i0.ɵɵadvance(2);
4730
- i0.ɵɵpropertyInterpolate1("src", "./dist/@lib/images/payment-icons/", item_r2.icon, ".png", i0.ɵɵsanitizeUrl);
4731
+ i0.ɵɵpropertyInterpolate1("src", "/assets/@lib/images/payment-icons/", item_r2.icon, ".png", i0.ɵɵsanitizeUrl);
4731
4732
  i0.ɵɵpropertyInterpolate1("alt", "payment-icon ", item_r2.title, "");
4732
4733
  } }
4733
4734
  class PaymentMethodsComponent extends ComponentBase {
@@ -4791,7 +4792,7 @@ class PaymentMethodsComponent extends ComponentBase {
4791
4792
  }
4792
4793
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaymentMethodsComponent, [{
4793
4794
  type: Component,
4794
- args: [{ selector: "anatoly-billing-payment-methods", standalone: false, template: "<div class='card p-0 mb-3'>\r\n <div class='card-header'>\r\n <div class='card-title'>\r\n <h2>Select a payment method</h2>\r\n </div>\r\n </div>\r\n <div class='card-body'>\r\n <div class='payment__select-method'>\r\n <ul>\r\n @for (item of paymentMethods; track item) {\r\n <li (click)='onPaymentSelect(item)' [class.selected]='item.selected'>\r\n <div class='payment-name'>Pay with {{ item.title }}</div>\r\n <div class='icon-img'>\r\n <img src='./dist/@lib/images/payment-icons/{{item.icon}}.png' alt='payment-icon {{item.title}}'>\r\n </div>\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
4795
+ args: [{ selector: "anatoly-billing-payment-methods", standalone: false, template: "<div class='card p-0 mb-3'>\r\n <div class='card-header'>\r\n <div class='card-title'>\r\n <h2>Select a payment method</h2>\r\n </div>\r\n </div>\r\n <div class='card-body'>\r\n <div class='payment__select-method'>\r\n <ul>\r\n @for (item of paymentMethods; track item) {\r\n <li (click)='onPaymentSelect(item)' [class.selected]='item.selected'>\r\n <div class='payment-name'>Pay with {{ item.title }}</div>\r\n <div class='icon-img'>\r\n <img src='/assets/@lib/images/payment-icons/{{item.icon}}.png' alt='payment-icon {{item.title}}'>\r\n </div>\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
4795
4796
  }], () => [{ type: PaymentsService }], null); })();
4796
4797
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PaymentMethodsComponent, { className: "PaymentMethodsComponent", filePath: "lib/billing/components/payment-methods/payment-methods.component.ts", lineNumber: 30 }); })();
4797
4798