@infrab4a/connect-angular 3.10.1 → 3.10.3

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 (83) hide show
  1. package/angular-connect.module.d.ts +20 -20
  2. package/angular-elastic-search.module.d.ts +9 -9
  3. package/angular-firebase-auth.module.d.ts +10 -10
  4. package/angular-firestore.module.d.ts +15 -15
  5. package/angular-hasura-graphql.module.d.ts +16 -16
  6. package/bundles/infrab4a-connect-angular.umd.js +2548 -2554
  7. package/bundles/infrab4a-connect-angular.umd.js.map +1 -1
  8. package/consts/backend-url.const.d.ts +1 -1
  9. package/consts/category-structure.d.ts +1 -1
  10. package/consts/default-shop.const.d.ts +1 -1
  11. package/consts/es-config.const.d.ts +1 -1
  12. package/consts/hasura-options.const.d.ts +1 -1
  13. package/consts/index.d.ts +5 -5
  14. package/esm2015/angular-connect.module.js +63 -63
  15. package/esm2015/angular-elastic-search.module.js +34 -34
  16. package/esm2015/angular-firebase-auth.module.js +113 -113
  17. package/esm2015/angular-firestore.module.js +394 -394
  18. package/esm2015/angular-hasura-graphql.module.js +172 -172
  19. package/esm2015/consts/backend-url.const.js +1 -1
  20. package/esm2015/consts/category-structure.js +2 -2
  21. package/esm2015/consts/default-shop.const.js +2 -2
  22. package/esm2015/consts/es-config.const.js +2 -2
  23. package/esm2015/consts/hasura-options.const.js +2 -2
  24. package/esm2015/consts/index.js +6 -6
  25. package/esm2015/index.js +6 -6
  26. package/esm2015/infrab4a-connect-angular.js +4 -4
  27. package/esm2015/services/auth.service.js +42 -42
  28. package/esm2015/services/cart.service.js +281 -281
  29. package/esm2015/services/catalog/adapters/category-structure.adapter.js +2 -2
  30. package/esm2015/services/catalog/adapters/index.js +4 -4
  31. package/esm2015/services/catalog/adapters/new-category-structure.adapter.js +51 -51
  32. package/esm2015/services/catalog/adapters/old-category-structure.adapter.js +27 -27
  33. package/esm2015/services/catalog/catalog.service.js +96 -94
  34. package/esm2015/services/catalog/category.service.js +56 -61
  35. package/esm2015/services/catalog/enums/index.js +2 -2
  36. package/esm2015/services/catalog/enums/product-sorts.enum.js +11 -11
  37. package/esm2015/services/catalog/index.js +6 -6
  38. package/esm2015/services/catalog/models/category-with-tree.model.js +10 -10
  39. package/esm2015/services/catalog/models/index.js +2 -2
  40. package/esm2015/services/catalog/types/index.js +2 -2
  41. package/esm2015/services/catalog/types/product-sort.type.js +2 -2
  42. package/esm2015/services/checkout-subscription.service.js +53 -53
  43. package/esm2015/services/checkout.service.js +70 -70
  44. package/esm2015/services/coupon.service.js +244 -240
  45. package/esm2015/services/home-shop.service.js +116 -116
  46. package/esm2015/services/index.js +10 -10
  47. package/esm2015/services/order.service.js +32 -32
  48. package/esm2015/services/shipping.service.js +98 -98
  49. package/esm2015/services/types/index.js +3 -3
  50. package/esm2015/services/types/required-checkout-data.type.js +2 -2
  51. package/esm2015/services/types/required-checkout-subscription-data.type.js +2 -2
  52. package/esm2015/services/types/shipping-methods.type.js +2 -2
  53. package/fesm2015/infrab4a-connect-angular.js +1804 -1803
  54. package/fesm2015/infrab4a-connect-angular.js.map +1 -1
  55. package/index.d.ts +5 -5
  56. package/infrab4a-connect-angular.d.ts +5 -5
  57. package/package.json +2 -2
  58. package/services/auth.service.d.ts +19 -19
  59. package/services/cart.service.d.ts +42 -42
  60. package/services/catalog/adapters/category-structure.adapter.d.ts +4 -4
  61. package/services/catalog/adapters/index.d.ts +3 -3
  62. package/services/catalog/adapters/new-category-structure.adapter.d.ts +14 -14
  63. package/services/catalog/adapters/old-category-structure.adapter.d.ts +10 -10
  64. package/services/catalog/catalog.service.d.ts +54 -54
  65. package/services/catalog/category.service.d.ts +15 -15
  66. package/services/catalog/enums/index.d.ts +1 -1
  67. package/services/catalog/enums/product-sorts.enum.d.ts +9 -9
  68. package/services/catalog/index.d.ts +5 -5
  69. package/services/catalog/models/category-with-tree.model.d.ts +4 -4
  70. package/services/catalog/models/index.d.ts +1 -1
  71. package/services/catalog/types/index.d.ts +1 -1
  72. package/services/catalog/types/product-sort.type.d.ts +2 -2
  73. package/services/checkout-subscription.service.d.ts +18 -18
  74. package/services/checkout.service.d.ts +23 -23
  75. package/services/coupon.service.d.ts +28 -28
  76. package/services/home-shop.service.d.ts +25 -25
  77. package/services/index.d.ts +9 -9
  78. package/services/order.service.d.ts +13 -13
  79. package/services/shipping.service.d.ts +19 -19
  80. package/services/types/index.d.ts +2 -2
  81. package/services/types/required-checkout-data.type.d.ts +2 -2
  82. package/services/types/required-checkout-subscription-data.type.d.ts +2 -2
  83. package/services/types/shipping-methods.type.d.ts +12 -12
@@ -1,20 +1,20 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { AngularFireModule, FirebaseAppConfig, FirebaseOptions } from '@angular/fire';
3
- import { AxiosElasticSearchConfig, Shops } from '@infrab4a/connect';
4
- import { HasuraGraphQLOptions } from './angular-hasura-graphql.module';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/fire";
7
- import * as i2 from "./angular-firestore.module";
8
- import * as i3 from "./angular-hasura-graphql.module";
9
- export declare class AngularConnectModule {
10
- static initializeApp(defaultShop: Shops, options: {
11
- firebase: FirebaseOptions;
12
- elasticSearch: AxiosElasticSearchConfig;
13
- hasura: HasuraGraphQLOptions;
14
- backendUrl: string;
15
- oldCategoryStructure?: boolean;
16
- }, nameOrConfig?: string | FirebaseAppConfig): ModuleWithProviders<AngularFireModule>;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<AngularConnectModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<AngularConnectModule, never, [typeof i1.AngularFireModule, typeof i2.AngularFirestoreModule, typeof i3.AngularHasuraGraphQLModule], never>;
19
- static ɵinj: i0.ɵɵInjectorDeclaration<AngularConnectModule>;
20
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { AngularFireModule, FirebaseAppConfig, FirebaseOptions } from '@angular/fire';
3
+ import { AxiosElasticSearchConfig, Shops } from '@infrab4a/connect';
4
+ import { HasuraGraphQLOptions } from './angular-hasura-graphql.module';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/fire";
7
+ import * as i2 from "./angular-firestore.module";
8
+ import * as i3 from "./angular-hasura-graphql.module";
9
+ export declare class AngularConnectModule {
10
+ static initializeApp(defaultShop: Shops, options: {
11
+ firebase: FirebaseOptions;
12
+ elasticSearch: AxiosElasticSearchConfig;
13
+ hasura: HasuraGraphQLOptions;
14
+ backendUrl: string;
15
+ oldCategoryStructure?: boolean;
16
+ }, nameOrConfig?: string | FirebaseAppConfig): ModuleWithProviders<AngularFireModule>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<AngularConnectModule, never>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AngularConnectModule, never, [typeof i1.AngularFireModule, typeof i2.AngularFirestoreModule, typeof i3.AngularHasuraGraphQLModule], never>;
19
+ static ɵinj: i0.ɵɵInjectorDeclaration<AngularConnectModule>;
20
+ }
@@ -1,9 +1,9 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { AxiosElasticSearchConfig } from '@infrab4a/connect';
3
- import * as i0 from "@angular/core";
4
- export declare class AngularElasticSeachModule {
5
- static initializeApp(options: AxiosElasticSearchConfig): ModuleWithProviders<AngularElasticSeachModule>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AngularElasticSeachModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<AngularElasticSeachModule, never, never, never>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<AngularElasticSeachModule>;
9
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { AxiosElasticSearchConfig } from '@infrab4a/connect';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AngularElasticSeachModule {
5
+ static initializeApp(options: AxiosElasticSearchConfig): ModuleWithProviders<AngularElasticSeachModule>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AngularElasticSeachModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AngularElasticSeachModule, never, never, never>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<AngularElasticSeachModule>;
9
+ }
@@ -1,10 +1,10 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { AngularFireModule, FirebaseAppConfig, FirebaseOptions } from '@angular/fire';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/fire";
5
- export declare class AngularFirebaseAuthModule {
6
- static initializeApp(options: FirebaseOptions, nameOrConfig?: string | FirebaseAppConfig): ModuleWithProviders<AngularFireModule>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AngularFirebaseAuthModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<AngularFirebaseAuthModule, never, [typeof i1.AngularFireModule], never>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<AngularFirebaseAuthModule>;
10
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { AngularFireModule, FirebaseAppConfig, FirebaseOptions } from '@angular/fire';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/fire";
5
+ export declare class AngularFirebaseAuthModule {
6
+ static initializeApp(options: FirebaseOptions, nameOrConfig?: string | FirebaseAppConfig): ModuleWithProviders<AngularFireModule>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AngularFirebaseAuthModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AngularFirebaseAuthModule, never, [typeof i1.AngularFireModule], never>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<AngularFirebaseAuthModule>;
10
+ }
@@ -1,15 +1,15 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { AngularFireModule, FirebaseAppConfig, FirebaseOptions } from '@angular/fire';
3
- import { AxiosElasticSearchConfig } from '@infrab4a/connect';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/fire";
6
- import * as i2 from "./angular-elastic-search.module";
7
- export declare class AngularFirestoreModule {
8
- static initializeApp(options: {
9
- firebase: FirebaseOptions;
10
- elasticSearch: AxiosElasticSearchConfig;
11
- }, nameOrConfig?: string | FirebaseAppConfig): ModuleWithProviders<AngularFireModule>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<AngularFirestoreModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<AngularFirestoreModule, never, [typeof i1.AngularFireModule, typeof i2.AngularElasticSeachModule], never>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<AngularFirestoreModule>;
15
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { AngularFireModule, FirebaseAppConfig, FirebaseOptions } from '@angular/fire';
3
+ import { AxiosElasticSearchConfig } from '@infrab4a/connect';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/fire";
6
+ import * as i2 from "./angular-elastic-search.module";
7
+ export declare class AngularFirestoreModule {
8
+ static initializeApp(options: {
9
+ firebase: FirebaseOptions;
10
+ elasticSearch: AxiosElasticSearchConfig;
11
+ }, nameOrConfig?: string | FirebaseAppConfig): ModuleWithProviders<AngularFireModule>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<AngularFirestoreModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AngularFirestoreModule, never, [typeof i1.AngularFireModule, typeof i2.AngularElasticSeachModule], never>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<AngularFirestoreModule>;
15
+ }
@@ -1,16 +1,16 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { HasuraGraphQLAuthOptions } from '@infrab4a/connect';
3
- import * as i0 from "@angular/core";
4
- export declare type HasuraGraphQLOptions = {
5
- endpoint: string;
6
- credentials: HasuraGraphQLAuthOptions;
7
- };
8
- export declare class AngularHasuraGraphQLModule {
9
- static initializeApp(options: {
10
- endpoint: string;
11
- credentials: HasuraGraphQLAuthOptions;
12
- }): ModuleWithProviders<AngularHasuraGraphQLModule>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<AngularHasuraGraphQLModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<AngularHasuraGraphQLModule, never, never, never>;
15
- static ɵinj: i0.ɵɵInjectorDeclaration<AngularHasuraGraphQLModule>;
16
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { HasuraGraphQLAuthOptions } from '@infrab4a/connect';
3
+ import * as i0 from "@angular/core";
4
+ export declare type HasuraGraphQLOptions = {
5
+ endpoint: string;
6
+ credentials: HasuraGraphQLAuthOptions;
7
+ };
8
+ export declare class AngularHasuraGraphQLModule {
9
+ static initializeApp(options: {
10
+ endpoint: string;
11
+ credentials: HasuraGraphQLAuthOptions;
12
+ }): ModuleWithProviders<AngularHasuraGraphQLModule>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AngularHasuraGraphQLModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AngularHasuraGraphQLModule, never, never, never>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<AngularHasuraGraphQLModule>;
16
+ }