@osovitny/anatoly 3.19.49 → 3.20.0

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.
Files changed (170) hide show
  1. package/fesm2022/osovitny-anatoly.mjs +66 -83
  2. package/fesm2022/osovitny-anatoly.mjs.map +1 -1
  3. package/index.d.ts +2075 -5
  4. package/package.json +51 -52
  5. package/lib/anatoly.module.d.ts +0 -11
  6. package/lib/billing/billing.module.d.ts +0 -21
  7. package/lib/billing/components/buttons/buyaccess-button.component.d.ts +0 -19
  8. package/lib/billing/components/buttons/subscribe-plan-button.component.d.ts +0 -20
  9. package/lib/billing/components/exports.d.ts +0 -10
  10. package/lib/billing/components/index.d.ts +0 -2
  11. package/lib/billing/components/order-summary/order-summary.component.d.ts +0 -22
  12. package/lib/billing/components/payment-methods/payment-methods.component.d.ts +0 -20
  13. package/lib/billing/components/payment-options/payment-options.component.d.ts +0 -18
  14. package/lib/billing/components/pm/braintree/braintree.component.d.ts +0 -27
  15. package/lib/billing/components/pm/paypal/paypal-button.component.d.ts +0 -20
  16. package/lib/billing/components/pm/paypal/paypal-subscribe-button.component.d.ts +0 -25
  17. package/lib/billing/components/pm/paypal/paypal.component.d.ts +0 -50
  18. package/lib/billing/components/pm/stripe/stripe.component.d.ts +0 -23
  19. package/lib/billing/exports.d.ts +0 -5
  20. package/lib/billing/models/paypal-models.d.ts +0 -309
  21. package/lib/billing/services/billing.service.d.ts +0 -33
  22. package/lib/billing/services/payments.service.d.ts +0 -29
  23. package/lib/billing/services/paypal-script.service.d.ts +0 -13
  24. package/lib/billing/utils.d.ts +0 -4
  25. package/lib/core/consts/app-settings.d.ts +0 -11
  26. package/lib/core/consts/core-settings.d.ts +0 -7
  27. package/lib/core/consts/formats.d.ts +0 -11
  28. package/lib/core/consts/ga.d.ts +0 -11
  29. package/lib/core/consts/storageKeys.d.ts +0 -8
  30. package/lib/core/converts/convert.d.ts +0 -16
  31. package/lib/core/converts/dateConvert.d.ts +0 -5
  32. package/lib/core/converts/tz/tzParseTimezone.d.ts +0 -1
  33. package/lib/core/converts/tz/tzTokenizeDate.d.ts +0 -5
  34. package/lib/core/converts/xmlFormatter.d.ts +0 -4
  35. package/lib/core/core.module.d.ts +0 -15
  36. package/lib/core/dom.d.ts +0 -17
  37. package/lib/core/enums/billing.d.ts +0 -34
  38. package/lib/core/enums/enums.d.ts +0 -17
  39. package/lib/core/enums/index.d.ts +0 -2
  40. package/lib/core/exports.d.ts +0 -40
  41. package/lib/core/go/apps-go.service.d.ts +0 -16
  42. package/lib/core/go/go.service.d.ts +0 -25
  43. package/lib/core/guards/once-import.guard.d.ts +0 -1
  44. package/lib/core/guards/starter.guard.d.ts +0 -13
  45. package/lib/core/guid.d.ts +0 -3
  46. package/lib/core/interceptors/httpInterceptor.d.ts +0 -23
  47. package/lib/core/is.d.ts +0 -23
  48. package/lib/core/localization/localization.module.d.ts +0 -8
  49. package/lib/core/localization/localization.service.d.ts +0 -31
  50. package/lib/core/localization/localize.pipe.d.ts +0 -10
  51. package/lib/core/localization/settings.module.d.ts +0 -14
  52. package/lib/core/localization/utils.d.ts +0 -5
  53. package/lib/core/logging/globalErrorHandler.d.ts +0 -9
  54. package/lib/core/logging/logging.service.d.ts +0 -9
  55. package/lib/core/models/qs.d.ts +0 -4
  56. package/lib/core/notifications/alerts.d.ts +0 -10
  57. package/lib/core/notifications/interfaces/notification.d.ts +0 -10
  58. package/lib/core/notifications/services/notification-service.d.ts +0 -15
  59. package/lib/core/performance/stopwatch.d.ts +0 -14
  60. package/lib/core/services/appcontext.service.d.ts +0 -61
  61. package/lib/core/services/browser.service.d.ts +0 -22
  62. package/lib/core/services/dm.service.d.ts +0 -26
  63. package/lib/core/services/google-analytics.service.d.ts +0 -13
  64. package/lib/core/services/idle.service.d.ts +0 -19
  65. package/lib/core/services/loading.service.d.ts +0 -14
  66. package/lib/core/services/script.service.d.ts +0 -13
  67. package/lib/core/services/starter.service.d.ts +0 -16
  68. package/lib/core/services/web-storage.service.d.ts +0 -22
  69. package/lib/core/subs.d.ts +0 -8
  70. package/lib/core/utils/qsutils.d.ts +0 -11
  71. package/lib/core/utils/utils.d.ts +0 -8
  72. package/lib/data/base/api.service.d.ts +0 -20
  73. package/lib/data/base/grid/grid-edit.service.d.ts +0 -16
  74. package/lib/data/base/grid/grid-read.service.d.ts +0 -14
  75. package/lib/data/data.module.d.ts +0 -7
  76. package/lib/data/exports.d.ts +0 -11
  77. package/lib/data/services/billing/currencies-api.service.d.ts +0 -12
  78. package/lib/data/services/billing/currencies-storage.service.d.ts +0 -22
  79. package/lib/data/services/billing/payments-api.service.d.ts +0 -13
  80. package/lib/data/services/billing/promocodes-api.service.d.ts +0 -11
  81. package/lib/data/services/billing/subscriptions-api.service.d.ts +0 -14
  82. package/lib/data/services/billing/transactions-api.service.d.ts +0 -13
  83. package/lib/data/services/core-api.service.d.ts +0 -9
  84. package/lib/data/services/emails-api.service.d.ts +0 -10
  85. package/lib/external/fa.module.d.ts +0 -10
  86. package/lib/external/kendo.module.d.ts +0 -26
  87. package/lib/iam/b2c/b2c.d.ts +0 -4
  88. package/lib/iam/b2c/consts.d.ts +0 -6
  89. package/lib/iam/b2c/index.d.ts +0 -2
  90. package/lib/iam/configs.d.ts +0 -5
  91. package/lib/iam/consts.d.ts +0 -3
  92. package/lib/iam/exports.d.ts +0 -3
  93. package/lib/iam/guards/admin.guard.d.ts +0 -13
  94. package/lib/iam/guards/authentication.guard.d.ts +0 -13
  95. package/lib/iam/guards/index.d.ts +0 -2
  96. package/lib/iam/iam-pages.module.d.ts +0 -11
  97. package/lib/iam/iam-pages.routes.d.ts +0 -6
  98. package/lib/iam/iam.module.d.ts +0 -13
  99. package/lib/iam/pages/signin.page.d.ts +0 -11
  100. package/lib/iam/pages/signout.page.d.ts +0 -11
  101. package/lib/iam/pages/signup.page.d.ts +0 -11
  102. package/lib/iam/redirect.d.ts +0 -3
  103. package/lib/iam/services/auth.service.d.ts +0 -45
  104. package/lib/iam/storage.d.ts +0 -8
  105. package/lib/iam/utils.d.ts +0 -6
  106. package/lib/ui/components/base/components/component.d.ts +0 -25
  107. package/lib/ui/components/base/components/edit.component.d.ts +0 -61
  108. package/lib/ui/components/base/components/enum-edit.component.d.ts +0 -21
  109. package/lib/ui/components/base/dialog.d.ts +0 -19
  110. package/lib/ui/components/base/list.d.ts +0 -27
  111. package/lib/ui/components/base/pages/edit.page.d.ts +0 -6
  112. package/lib/ui/components/base/pages/page.d.ts +0 -6
  113. package/lib/ui/components/base/pages/paged.page.d.ts +0 -18
  114. package/lib/ui/components/card/card-body.component.d.ts +0 -6
  115. package/lib/ui/components/card/card-footer.component.d.ts +0 -6
  116. package/lib/ui/components/card/card-header.component.d.ts +0 -6
  117. package/lib/ui/components/card/card.component.d.ts +0 -6
  118. package/lib/ui/components/check-icon/check-icon.component.d.ts +0 -6
  119. package/lib/ui/components/copy-2-clipboard/copy-2-clipboard.component.d.ts +0 -9
  120. package/lib/ui/components/data-grid/control-panel.component.d.ts +0 -34
  121. package/lib/ui/components/datapager/datapager.component.d.ts +0 -21
  122. package/lib/ui/components/dropdownlists/country/country.dropdownlist.d.ts +0 -13
  123. package/lib/ui/components/dropdownlists/language/language.dropdownlist.d.ts +0 -12
  124. package/lib/ui/components/dropdownlists/moderationstatus/moderationstatus.dropdownlist.d.ts +0 -8
  125. package/lib/ui/components/dropdownlists/publishstatus/publishstatus.dropdownlist.d.ts +0 -8
  126. package/lib/ui/components/dropdownlists/timezone/timezone.dropdownlist.d.ts +0 -14
  127. package/lib/ui/components/exports.d.ts +0 -34
  128. package/lib/ui/components/feature-will-be-ready/feature-will-be-ready.component.d.ts +0 -7
  129. package/lib/ui/components/html-editor/base-editor.component.d.ts +0 -20
  130. package/lib/ui/components/html-editor/defaultoptions.d.ts +0 -1
  131. package/lib/ui/components/html-editor/html-editor.component.d.ts +0 -10
  132. package/lib/ui/components/identity/signin-button.component.d.ts +0 -11
  133. package/lib/ui/components/identity/signout-button.component.d.ts +0 -11
  134. package/lib/ui/components/identity/signup-button.component.d.ts +0 -11
  135. package/lib/ui/components/index.d.ts +0 -2
  136. package/lib/ui/components/no-mobile-support/no-mobile-support.component.d.ts +0 -7
  137. package/lib/ui/components/nodata/nodata.component.d.ts +0 -12
  138. package/lib/ui/components/spinners/loading/loading.component.d.ts +0 -12
  139. package/lib/ui/components/spinners/pagespinner/pagespinner.component.d.ts +0 -25
  140. package/lib/ui/components/spinners/pagespinner/spinkits.d.ts +0 -11
  141. package/lib/ui/components/urlslug/urlslug.component.d.ts +0 -18
  142. package/lib/ui/components/you-agree-to-our-terms/you-agree-to-our-terms.component.d.ts +0 -8
  143. package/lib/ui/dialogs/contact-us/contact-us.dialog.d.ts +0 -12
  144. package/lib/ui/dialogs/exports.d.ts +0 -1
  145. package/lib/ui/dialogs/index.d.ts +0 -2
  146. package/lib/ui/directives/exports.d.ts +0 -4
  147. package/lib/ui/directives/hover.directive.d.ts +0 -8
  148. package/lib/ui/directives/index.d.ts +0 -2
  149. package/lib/ui/directives/native-element.directive.d.ts +0 -11
  150. package/lib/ui/directives/replacer/a-replacer.directive.d.ts +0 -11
  151. package/lib/ui/directives/replacer/image-replacer.directive.d.ts +0 -11
  152. package/lib/ui/directives/replacer/replacer.base.directive.d.ts +0 -11
  153. package/lib/ui/exports.d.ts +0 -6
  154. package/lib/ui/forms/components/address/address.component.d.ts +0 -32
  155. package/lib/ui/forms/components/company/company.component.d.ts +0 -18
  156. package/lib/ui/forms/contact-us/contact-us.d.ts +0 -32
  157. package/lib/ui/forms/exports.d.ts +0 -3
  158. package/lib/ui/forms/index.d.ts +0 -2
  159. package/lib/ui/pipes/exports.d.ts +0 -3
  160. package/lib/ui/pipes/filesize.pipe.d.ts +0 -8
  161. package/lib/ui/pipes/index.d.ts +0 -2
  162. package/lib/ui/pipes/replace-text.pipe.d.ts +0 -7
  163. package/lib/ui/pipes/safeHtml.pipe.d.ts +0 -10
  164. package/lib/ui/ui.module.d.ts +0 -50
  165. package/lib/ui/validation/exports.d.ts +0 -3
  166. package/lib/ui/validation/form-validation-summary.component.d.ts +0 -11
  167. package/lib/ui/validation/index.d.ts +0 -2
  168. package/lib/ui/validation/item-validation-summary.component.d.ts +0 -6
  169. package/lib/ui/validation/validation-summary.component.d.ts +0 -11
  170. package/public-api.d.ts +0 -12
package/package.json CHANGED
@@ -1,64 +1,63 @@
1
1
  {
2
2
  "name": "@osovitny/anatoly",
3
- "version": "3.19.49",
3
+ "version": "3.20.0",
4
4
  "peerDependencies": {
5
- "@angular/common": "19.2.11",
6
- "@angular/core": "19.2.11",
7
- "rxjs": "7.8.2",
8
- "zone.js": "0.15.0",
9
- "@progress/kendo-angular-buttons": "18.5.2",
10
- "@progress/kendo-angular-charts": "18.5.2",
11
- "@progress/kendo-angular-common": "18.5.2",
12
- "@progress/kendo-angular-dateinputs": "18.5.2",
13
- "@progress/kendo-angular-dialog": "18.5.2",
14
- "@progress/kendo-angular-dropdowns": "18.5.2",
15
- "@progress/kendo-angular-excel-export": "18.5.2",
16
- "@progress/kendo-angular-gauges": "18.5.2",
17
- "@progress/kendo-angular-grid": "18.5.2",
18
- "@progress/kendo-angular-icons": "18.5.2",
19
- "@progress/kendo-angular-inputs": "18.5.2",
20
- "@progress/kendo-angular-intl": "18.5.2",
21
- "@progress/kendo-angular-l10n": "18.5.2",
22
- "@progress/kendo-angular-label": "18.5.2",
23
- "@progress/kendo-angular-layout": "18.5.2",
24
- "@progress/kendo-angular-pager": "18.5.2",
25
- "@progress/kendo-angular-pdf-export": "18.5.2",
26
- "@progress/kendo-angular-popup": "18.5.2",
27
- "@progress/kendo-angular-progressbar": "18.5.2",
28
- "@progress/kendo-angular-ripple": "18.5.2",
29
- "@progress/kendo-angular-tooltip": "18.5.2",
30
- "@progress/kendo-angular-treeview": "18.5.2",
31
- "@progress/kendo-angular-upload": "18.5.2",
32
- "@progress/kendo-data-query": "1.7.1",
33
- "@progress/kendo-drawing": "1.21.2",
34
- "@progress/kendo-angular-scrollview": "18.5.2",
35
- "@progress/kendo-svg-icons": "^4.3.0",
36
- "@progress/kendo-angular-scheduler": "18.5.2",
37
- "@progress/kendo-theme-bootstrap": "11.0.2",
38
- "@progress/kendo-font-icons": "4.3.0",
39
- "@progress/kendo-licensing": "1.6.0",
40
- "@azure/msal-angular": "4.0.12",
41
- "@azure/msal-browser": "4.12.0",
42
- "@fortawesome/angular-fontawesome": "1.0.0",
43
- "@fortawesome/fontawesome-free": "6.7.2",
44
- "@fortawesome/fontawesome-svg-core": "6.7.2",
45
- "@fortawesome/free-brands-svg-icons": "6.7.2",
46
- "@fortawesome/free-solid-svg-icons": "6.7.2",
47
- "@microsoft/signalr": "8.0.7",
5
+ "@angular/common": "^20.3.12",
6
+ "@angular/core": "^20.3.12",
7
+ "rxjs": "~7.8.2",
8
+ "@progress/kendo-angular-buttons": "21.0.0",
9
+ "@progress/kendo-angular-charts": "21.0.0",
10
+ "@progress/kendo-angular-common": "21.0.0",
11
+ "@progress/kendo-angular-dateinputs": "21.0.0",
12
+ "@progress/kendo-angular-dialog": "21.0.0",
13
+ "@progress/kendo-angular-dropdowns": "21.0.0",
14
+ "@progress/kendo-angular-excel-export": "21.0.0",
15
+ "@progress/kendo-angular-gauges": "21.0.0",
16
+ "@progress/kendo-angular-grid": "21.0.0",
17
+ "@progress/kendo-angular-icons": "21.0.0",
18
+ "@progress/kendo-angular-inputs": "21.0.0",
19
+ "@progress/kendo-angular-intl": "21.0.0",
20
+ "@progress/kendo-angular-l10n": "21.0.0",
21
+ "@progress/kendo-angular-label": "21.0.0",
22
+ "@progress/kendo-angular-layout": "21.0.0",
23
+ "@progress/kendo-angular-pager": "21.0.0",
24
+ "@progress/kendo-angular-pdf-export": "21.0.0",
25
+ "@progress/kendo-angular-popup": "21.0.0",
26
+ "@progress/kendo-angular-progressbar": "21.0.0",
27
+ "@progress/kendo-angular-ripple": "21.0.0",
28
+ "@progress/kendo-angular-tooltip": "21.0.0",
29
+ "@progress/kendo-angular-treeview": "21.0.0",
30
+ "@progress/kendo-angular-upload": "21.0.0",
31
+ "@progress/kendo-data-query": "1.7.2",
32
+ "@progress/kendo-drawing": "1.23.0",
33
+ "@progress/kendo-angular-scrollview": "21.0.0",
34
+ "@progress/kendo-svg-icons": "^4.5.0",
35
+ "@progress/kendo-angular-scheduler": "21.0.0",
36
+ "@progress/kendo-theme-bootstrap": "12.2.3",
37
+ "@progress/kendo-font-icons": "4.5.0",
38
+ "@progress/kendo-licensing": "1.7.1",
39
+ "@azure/msal-angular": "4.0.21",
40
+ "@azure/msal-browser": "4.26.1",
41
+ "@fortawesome/angular-fontawesome": "3.0.0",
42
+ "@fortawesome/fontawesome-free": "7.1.0",
43
+ "@fortawesome/fontawesome-svg-core": "7.1.0",
44
+ "@fortawesome/free-brands-svg-icons": "7.1.0",
45
+ "@fortawesome/free-solid-svg-icons": "7.1.0",
46
+ "@microsoft/signalr": "10.0.0",
48
47
  "@ngx-translate/core": "16.0.4",
49
48
  "@ngx-translate/http-loader": "16.0.1",
50
49
  "date-fns": "4.1.0",
51
50
  "js-beautify": "1.15.4",
52
- "ngx-captcha": "13.0.0",
53
- "ngx-toastr": "19.0.0",
51
+ "ngx-captcha": "14.0.0",
52
+ "ngx-toastr": "19.1.0",
54
53
  "ngx-sharebuttons": "17.0.0",
55
54
  "ngx-scrollbar": "^18.0.0",
56
- "sweetalert2": "11.21.2",
57
- "uuid": "11.1.0",
58
- "@stripe/stripe-js": "7.3.0",
59
- "braintree-web-drop-in": "1.44.1",
60
- "angular-froala-wysiwyg": "4.5.2",
61
- "froala-editor": "4.5.2"
55
+ "sweetalert2": "11.26.3",
56
+ "uuid": "13.0.0",
57
+ "@stripe/stripe-js": "8.4.0",
58
+ "braintree-web-drop-in": "1.46.0",
59
+ "angular-froala-wysiwyg": "4.7.0",
60
+ "froala-editor": "4.7.0"
62
61
  },
63
62
  "sideEffects": false,
64
63
  "module": "fesm2022/osovitny-anatoly.mjs",
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./core/core.module";
4
- import * as i3 from "./data/data.module";
5
- import * as i4 from "./iam/iam.module";
6
- import * as i5 from "./ui/ui.module";
7
- export declare class AnatolyModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyModule, never, [typeof i1.CommonModule, typeof i2.AnatolyCoreModule, typeof i3.AnatolyDataModule, typeof i4.AnatolyIAMModule, typeof i5.AnatolyUIModule], [typeof i2.AnatolyCoreModule, typeof i3.AnatolyDataModule, typeof i4.AnatolyIAMModule, typeof i5.AnatolyUIModule]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<AnatolyModule>;
11
- }
@@ -1,21 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./components/buttons/buyaccess-button.component";
3
- import * as i2 from "./components/buttons/subscribe-plan-button.component";
4
- import * as i3 from "./components/order-summary/order-summary.component";
5
- import * as i4 from "./components/payment-methods/payment-methods.component";
6
- import * as i5 from "./components/payment-options/payment-options.component";
7
- import * as i6 from "./components/pm/braintree/braintree.component";
8
- import * as i7 from "./components/pm/paypal/paypal-button.component";
9
- import * as i8 from "./components/pm/paypal/paypal-subscribe-button.component";
10
- import * as i9 from "./components/pm/paypal/paypal.component";
11
- import * as i10 from "./components/pm/stripe/stripe.component";
12
- import * as i11 from "@angular/common";
13
- import * as i12 from "@angular/forms";
14
- import * as i13 from "../external/fa.module";
15
- import * as i14 from "../external/kendo.module";
16
- import * as i15 from "../ui/ui.module";
17
- export declare class AnatolyBillingModule {
18
- static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyBillingModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyBillingModule, [typeof i1.BuyAccessButtonComponent, typeof i2.SubscribePlanButtonComponent, typeof i3.OrderSummaryComponent, typeof i4.PaymentMethodsComponent, typeof i5.PaymentOptionsComponent, typeof i6.BraintreeDialog, typeof i7.PaypalButtonComponent, typeof i8.PaypalSubscribeButtonComponent, typeof i9.PayPalComponent, typeof i10.StripeDialog], [typeof i11.CommonModule, typeof i12.ReactiveFormsModule, typeof i12.FormsModule, typeof i13.FaModule, typeof i14.KendoModule, typeof i15.AnatolyUIModule], [typeof i1.BuyAccessButtonComponent, typeof i2.SubscribePlanButtonComponent, typeof i3.OrderSummaryComponent, typeof i4.PaymentMethodsComponent, typeof i5.PaymentOptionsComponent, typeof i6.BraintreeDialog, typeof i7.PaypalButtonComponent, typeof i8.PaypalSubscribeButtonComponent, typeof i9.PayPalComponent, typeof i10.StripeDialog]>;
20
- static ɵinj: i0.ɵɵInjectorDeclaration<AnatolyBillingModule>;
21
- }
@@ -1,19 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { AppContextService } from '../../../core/services/appcontext.service';
3
- import * as i0 from "@angular/core";
4
- export declare class BuyAccessButtonComponent implements OnInit {
5
- private appContext;
6
- contextUpdated: boolean;
7
- isUserSignedIn: boolean;
8
- currentPlan: number;
9
- plan: number;
10
- visibleIfUserSignedIn: boolean;
11
- planselect: EventEmitter<any>;
12
- constructor(appContext: AppContextService);
13
- ngOnInit(): void;
14
- private setDefaults;
15
- private setValues;
16
- onPlanSelect(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<BuyAccessButtonComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<BuyAccessButtonComponent, "anatoly-billing-buyaccess-button", never, { "plan": { "alias": "plan"; "required": false; }; "visibleIfUserSignedIn": { "alias": "visibleIfUserSignedIn"; "required": false; }; }, { "planselect": "planselect"; }, never, never, false, never>;
19
- }
@@ -1,20 +0,0 @@
1
- import { EventEmitter, OnInit } from "@angular/core";
2
- import { AppContextService } from "../../../core/services/appcontext.service";
3
- import * as i0 from "@angular/core";
4
- export declare class SubscribePlanButtonComponent implements OnInit {
5
- private appContext;
6
- contextUpdated: boolean;
7
- isUserSignedIn: boolean;
8
- currentPlanId: number;
9
- requestedPlanId: number;
10
- plan: number;
11
- visibleIfUserSignedIn: boolean;
12
- planselect: EventEmitter<any>;
13
- constructor(appContext: AppContextService);
14
- ngOnInit(): void;
15
- private setDefaults;
16
- private setValues;
17
- onPlanSelect(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<SubscribePlanButtonComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<SubscribePlanButtonComponent, "anatoly-billing-subscribe-plan-button", never, { "plan": { "alias": "plan"; "required": false; }; "visibleIfUserSignedIn": { "alias": "visibleIfUserSignedIn"; "required": false; }; }, { "planselect": "planselect"; }, never, never, false, never>;
20
- }
@@ -1,10 +0,0 @@
1
- export * from './buttons/buyaccess-button.component';
2
- export * from './buttons/subscribe-plan-button.component';
3
- export * from "./order-summary/order-summary.component";
4
- export * from "./payment-methods/payment-methods.component";
5
- export * from "./payment-options/payment-options.component";
6
- export * from "./pm/braintree/braintree.component";
7
- export * from "./pm/paypal/paypal-button.component";
8
- export * from "./pm/paypal/paypal-subscribe-button.component";
9
- export * from "./pm/paypal/paypal.component";
10
- export * from "./pm/stripe/stripe.component";
@@ -1,2 +0,0 @@
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 PaypalSubscribeButtonComponent | typeof PayPalComponent | typeof StripeDialog)[];
@@ -1,22 +0,0 @@
1
- import { ComponentBase } from "../../../ui/components/base/components/component";
2
- import { PaymentsService } from "../../services/payments.service";
3
- import { PromoCodesApiService } from "../../../data/services/billing/promocodes-api.service";
4
- import { NotificationService } from "../../../core/notifications/services/notification-service";
5
- import * as i0 from "@angular/core";
6
- export declare class OrderSummaryComponent extends ComponentBase {
7
- ps: PaymentsService;
8
- private api;
9
- private ns;
10
- showPromoCode: boolean;
11
- promoCode: any;
12
- discount: any;
13
- constructor(ps: PaymentsService, api: PromoCodesApiService, ns: NotificationService);
14
- ngOnInit(): void;
15
- private setDefaults;
16
- private setValues;
17
- toTotal(): number;
18
- onTogglePromoCode(): void;
19
- onApplyPromoCode(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<OrderSummaryComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<OrderSummaryComponent, "anatoly-billing-order-summary", never, {}, {}, never, ["*"], false, never>;
22
- }
@@ -1,20 +0,0 @@
1
- import { ComponentBase } from "../../../ui/components/base/components/component";
2
- import { PaymentsService } from "../../services/payments.service";
3
- import { PaymentMethod } from "../../../core/enums/billing";
4
- import * as i0 from "@angular/core";
5
- export declare class PaymentMethodsComponent extends ComponentBase {
6
- ps: PaymentsService;
7
- paymentMethods: {
8
- id: PaymentMethod;
9
- title: string;
10
- icon: string;
11
- selected: boolean;
12
- }[];
13
- constructor(ps: PaymentsService);
14
- ngOnInit(): void;
15
- private setDefaults;
16
- private setValues;
17
- onPaymentSelect(paymentMethod: any): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<PaymentMethodsComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<PaymentMethodsComponent, "anatoly-billing-payment-methods", never, {}, {}, never, never, false, never>;
20
- }
@@ -1,18 +0,0 @@
1
- import { EventEmitter } from "@angular/core";
2
- import { ComponentBase } from "../../../ui/components/base/components/component";
3
- import { PaymentsService } from "../../services/payments.service";
4
- import * as i0 from "@angular/core";
5
- export declare class PaymentOptionsComponent extends ComponentBase {
6
- ps: PaymentsService;
7
- priceWeekly: any;
8
- priceUpfront: any;
9
- numberOfWeeks: any;
10
- change: EventEmitter<any>;
11
- constructor(ps: PaymentsService);
12
- ngOnInit(): void;
13
- private setDefaults;
14
- private setValues;
15
- onPaymentTypeSelect(pt: any): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<PaymentOptionsComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<PaymentOptionsComponent, "anatoly-billing-payment-options", never, { "priceWeekly": { "alias": "priceWeekly"; "required": false; }; "priceUpfront": { "alias": "priceUpfront"; "required": false; }; "numberOfWeeks": { "alias": "numberOfWeeks"; "required": false; }; }, { "change": "change"; }, never, never, false, never>;
18
- }
@@ -1,27 +0,0 @@
1
- import { DialogBase } from '../../../../ui/components/base/dialog';
2
- import { PaymentsService } from '../../../services/payments.service';
3
- import { NotificationService } from '../../../../core/notifications/services/notification-service';
4
- import { BillingService } from '../../../services/billing.service';
5
- import * as i0 from "@angular/core";
6
- export declare class BraintreeDialog extends DialogBase {
7
- private bs;
8
- private ps;
9
- private ns;
10
- braintreeInstance: any;
11
- deviceData: any;
12
- paidFor: any;
13
- title: any;
14
- description: any;
15
- image: any;
16
- constructor(bs: BillingService, ps: PaymentsService, ns: NotificationService);
17
- ngOnInit(): void;
18
- private setValues;
19
- initializeEmbedForm(): void;
20
- submitPayment(payload: any): void;
21
- closeDialog(): void;
22
- onPay(): void;
23
- onClose(): void;
24
- get visible(): boolean;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<BraintreeDialog, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<BraintreeDialog, "anatoly-billing-braintree-dialog", never, { "paidFor": { "alias": "paidFor"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, never, false, never>;
27
- }
@@ -1,20 +0,0 @@
1
- import { ComponentBase } from '../../../../ui/components/base/components/component';
2
- import { PaymentsService } from '../../../services/payments.service';
3
- import { IPayPalConfig } from '../../../models/paypal-models';
4
- import { BillingService } from '../../../services/billing.service';
5
- import * as i0 from "@angular/core";
6
- export declare class PaypalButtonComponent extends ComponentBase {
7
- private bs;
8
- private ps;
9
- payPalConfig?: IPayPalConfig;
10
- paidForTitle: string;
11
- paidFor: any;
12
- constructor(bs: BillingService, ps: PaymentsService);
13
- ngOnInit(): void;
14
- private setDefaults;
15
- private setValues;
16
- private initPayPal;
17
- get visible(): boolean;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<PaypalButtonComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<PaypalButtonComponent, "anatoly-billing-paypal-button", never, { "paidForTitle": { "alias": "paidForTitle"; "required": false; }; "paidFor": { "alias": "paidFor"; "required": false; }; }, {}, never, never, false, never>;
20
- }
@@ -1,25 +0,0 @@
1
- import { ComponentBase } from '../../../../ui/components/base/components/component';
2
- import { IPayPalConfig } from '../../../models/paypal-models';
3
- import { BillingService } from '../../../services/billing.service';
4
- import * as i0 from "@angular/core";
5
- export declare class PaypalSubscribeButtonComponent extends ComponentBase {
6
- private bs;
7
- private _payPalPlanId;
8
- payPalConfig?: IPayPalConfig;
9
- get payPalPlanId(): any;
10
- set payPalPlanId(value: any);
11
- quantity: any;
12
- planId: any;
13
- addons: any;
14
- subtotal: any;
15
- promoCode: any;
16
- total: any;
17
- currency: string;
18
- constructor(bs: BillingService);
19
- ngOnInit(): void;
20
- private setDefaults;
21
- private setValues;
22
- private initPayPal;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<PaypalSubscribeButtonComponent, never>;
24
- 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; }; "subtotal": { "alias": "subtotal"; "required": false; }; "promoCode": { "alias": "promoCode"; "required": false; }; "total": { "alias": "total"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; }, {}, never, never, false, never>;
25
- }
@@ -1,50 +0,0 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, SimpleChanges } from "@angular/core";
2
- import { IPayPalConfig } from '../../../models/paypal-models';
3
- import { PayPalScriptService } from '../../../services/paypal-script.service';
4
- import * as i0 from "@angular/core";
5
- export declare class PayPalComponent implements OnChanges, OnDestroy, AfterViewInit {
6
- private paypalScriptService;
7
- private cdr;
8
- private ngZone;
9
- /**
10
- * Configuration for paypal.
11
- */
12
- config?: IPayPalConfig;
13
- /**
14
- * If enabled, paypal SDK script will be loaded. Useful if you want to have multiple PayPal components on the same page
15
- * sharing base configuration. In such a case only a single component may register script.
16
- */
17
- registerScript: boolean;
18
- /**
19
- * Emitted when paypal script is loaded
20
- */
21
- scriptLoaded: EventEmitter<any>;
22
- /**
23
- * Id of the element where PayPal button will be rendered
24
- */
25
- payPalButtonContainerId?: string;
26
- private readonly ngUnsubscribe;
27
- private payPalButtonContainerElem?;
28
- set payPalButtonContainer(content: ElementRef);
29
- /**
30
- * Flag that indicates if paypal should be initialized (required for handling script load events and availability of DOM element)
31
- */
32
- private initializePayPal;
33
- /**
34
- * Reference to PayPal global API
35
- */
36
- private payPal;
37
- constructor(paypalScriptService: PayPalScriptService, cdr: ChangeDetectorRef, ngZone: NgZone);
38
- ngOnChanges(changes: SimpleChanges): void;
39
- ngOnDestroy(): void;
40
- ngAfterViewInit(): void;
41
- customInit(payPal: any): void;
42
- reinitialize(config: IPayPalConfig | undefined): void;
43
- private doPayPalCheck;
44
- private initPayPalScript;
45
- private generateElementId;
46
- private initPayPal;
47
- private generateGuid;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<PayPalComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<PayPalComponent, "anatoly-billing-paypal-container", never, { "config": { "alias": "config"; "required": false; }; "registerScript": { "alias": "registerScript"; "required": false; }; }, { "scriptLoaded": "scriptLoaded"; }, never, never, false, never>;
50
- }
@@ -1,23 +0,0 @@
1
- import { DialogBase } from '../../../../ui/components/base/dialog';
2
- import { PaymentsService } from '../../../services/payments.service';
3
- import { BillingService } from '../../../services/billing.service';
4
- import * as i0 from "@angular/core";
5
- export declare class StripeDialog extends DialogBase {
6
- private bs;
7
- private ps;
8
- stripe: any;
9
- stripeCheckout: any;
10
- sessionId: any;
11
- paidFor: any;
12
- title: any;
13
- description: any;
14
- image: any;
15
- constructor(bs: BillingService, ps: PaymentsService);
16
- ngOnInit(): void;
17
- private setValues;
18
- initializeEmbedForm(): Promise<void>;
19
- onClose(): void;
20
- get visible(): boolean;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<StripeDialog, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<StripeDialog, "anatoly-billing-stripe-dialog", never, { "paidFor": { "alias": "paidFor"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, never, false, never>;
23
- }
@@ -1,5 +0,0 @@
1
- export * from './components/exports';
2
- export * from './services/billing.service';
3
- export * from './services/payments.service';
4
- export * from './services/paypal-script.service';
5
- export * from './utils';