simpo-component-library 3.6.331 → 3.6.333
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/elements/editor-service.service.mjs +19 -7
- package/esm2022/lib/sections/header-section/header-section.component.mjs +18 -11
- package/esm2022/lib/services/local-storage.token.mjs +23 -0
- package/esm2022/lib/services/storage-like.mjs +2 -0
- package/esm2022/lib/tokens/api-token.mjs +1 -2
- package/fesm2022/simpo-component-library.mjs +52 -17
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/elements/editor-service.service.d.ts +4 -2
- package/lib/sections/header-section/header-section.component.d.ts +3 -1
- package/lib/services/local-storage.token.d.ts +3 -0
- package/lib/services/storage-like.d.ts +8 -0
- package/lib/tokens/api-token.d.ts +0 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.333.tgz +0 -0
- package/simpo-component-library-3.6.331.tgz +0 -0
@@ -1,16 +1,18 @@
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
2
|
+
import { StorageLike } from '../services/storage-like';
|
2
3
|
import * as i0 from "@angular/core";
|
3
4
|
export declare class ElementServiceService {
|
4
5
|
private http;
|
5
6
|
private BASE_URL;
|
6
7
|
private CMIS_URL;
|
7
|
-
private
|
8
|
-
constructor(http: HttpClient, BASE_URL: string, CMIS_URL: string,
|
8
|
+
private storage;
|
9
|
+
constructor(http: HttpClient, BASE_URL: string, CMIS_URL: string, storage: StorageLike);
|
9
10
|
openSocialBrand(componentName: any, height: any, width: any, data: any): void;
|
10
11
|
getComponentApi(businessType?: 'STATIC' | 'E_COMMERCE'): import("rxjs").Observable<Object>;
|
11
12
|
regenerateText(request: any): import("rxjs").Observable<Object>;
|
12
13
|
getImageLibrary(): import("rxjs").Observable<Object>;
|
13
14
|
saveImagesToBusinessLibrary(mediaRequest: any): import("rxjs").Observable<Object>;
|
15
|
+
private parseJson;
|
14
16
|
getTemplate(): import("rxjs").Observable<Object>;
|
15
17
|
getAllVehicleTypes(data: any): import("rxjs").Observable<Object>;
|
16
18
|
getAllCombos(data: any): import("rxjs").Observable<Object>;
|
@@ -8,6 +8,7 @@ import { StorageServiceService } from '../../services/storage.service';
|
|
8
8
|
import { Header_Type, ProductCardTheme } from '../../styles/index';
|
9
9
|
import { MovingTextModal } from '../moving-text/moving-text.modal';
|
10
10
|
import { RestService } from '../../services/rest.service';
|
11
|
+
import { StorageLike } from '../../services/storage-like';
|
11
12
|
import * as i0 from "@angular/core";
|
12
13
|
export declare class HeaderSectionComponent implements OnInit {
|
13
14
|
private readonly _eventService;
|
@@ -17,6 +18,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
17
18
|
private readonly storageService;
|
18
19
|
private restService;
|
19
20
|
private eventService;
|
21
|
+
private storage;
|
20
22
|
data?: HeaderSectionModel;
|
21
23
|
nextComponent: any;
|
22
24
|
index?: number;
|
@@ -33,7 +35,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
33
35
|
theme: typeof ProductCardTheme;
|
34
36
|
HeaderStyling: typeof Header_Type;
|
35
37
|
parentHeight: number;
|
36
|
-
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService, eventService: EventsService);
|
38
|
+
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService, eventService: EventsService, storage: StorageLike);
|
37
39
|
searchChangeTimeout: any;
|
38
40
|
waitBeforeSearch(): void;
|
39
41
|
searchProducts(): void;
|
@@ -3,4 +3,3 @@ export declare const API_URL: InjectionToken<string>;
|
|
3
3
|
export declare const ECOMMERCE_URL: InjectionToken<String>;
|
4
4
|
export declare const CMIS_URL: InjectionToken<String>;
|
5
5
|
export declare const BUCKET_URL: InjectionToken<String>;
|
6
|
-
export declare const LOCAL_STORAGE: InjectionToken<any>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|