simpo-component-library 3.6.674 → 3.6.677
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/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
- package/esm2022/lib/elements/add-section/add-section.component.mjs +34 -17
- package/esm2022/lib/sections/footer/footer.component.mjs +15 -10
- package/esm2022/lib/services/rest.service.mjs +4 -1
- package/fesm2022/simpo-component-library.mjs +46 -22
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/elements/add-section/add-section.component.d.ts +6 -1
- package/lib/sections/footer/footer.component.d.ts +4 -1
- package/lib/services/rest.service.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.677.tgz +0 -0
- package/simpo-component-library-3.6.674.tgz +0 -0
|
@@ -2,6 +2,7 @@ import { MatDialogRef } from '@angular/material/dialog';
|
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
3
|
import { EventsService } from '../../services/events.service';
|
|
4
4
|
import { ElementServiceService } from '../editor-service.service';
|
|
5
|
+
import { RestService } from '@simpo-ui/services/rest.service';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class AddSectionComponent {
|
|
7
8
|
dialog: MatDialogRef<AddSectionComponent>;
|
|
@@ -9,20 +10,24 @@ export declare class AddSectionComponent {
|
|
|
9
10
|
private http;
|
|
10
11
|
private _eventService;
|
|
11
12
|
private editorService;
|
|
13
|
+
private restService;
|
|
12
14
|
private elementService;
|
|
13
15
|
Object?: Object;
|
|
14
|
-
constructor(dialog: MatDialogRef<AddSectionComponent>, data: any, http: HttpClient, _eventService: EventsService, editorService: ElementServiceService, elementService: ElementServiceService);
|
|
16
|
+
constructor(dialog: MatDialogRef<AddSectionComponent>, data: any, http: HttpClient, _eventService: EventsService, editorService: ElementServiceService, restService: RestService, elementService: ElementServiceService);
|
|
15
17
|
businessType: 'STATIC' | 'E_COMMERCE';
|
|
16
18
|
ngOnInit(): void;
|
|
17
19
|
selectedTab: string;
|
|
20
|
+
businessId: string | null;
|
|
18
21
|
tabs: any;
|
|
19
22
|
sections: any;
|
|
20
23
|
selectedSection: any;
|
|
21
24
|
selectedSectionName: any;
|
|
22
25
|
loader: boolean;
|
|
23
26
|
tabShiftLoader: boolean;
|
|
27
|
+
referEarnExist: boolean;
|
|
24
28
|
selectSection(ele: any): void;
|
|
25
29
|
getAllSections(): void;
|
|
30
|
+
checkAppInstalled(): void;
|
|
26
31
|
getObjectKeys(obj: any): any[];
|
|
27
32
|
getSectionLength(section: any): number;
|
|
28
33
|
addNewSection(componentId: any, sectionType: any, event: any): void;
|
|
@@ -5,11 +5,13 @@ import { EventsService } from '../../services/events.service';
|
|
|
5
5
|
import { MatDialog } from '@angular/material/dialog';
|
|
6
6
|
import { RestService } from '../../services/rest.service';
|
|
7
7
|
import { Subscription } from 'rxjs';
|
|
8
|
+
import { Router } from '@angular/router';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class FooterComponent extends BaseSection {
|
|
10
11
|
private _eventService;
|
|
11
12
|
private restService;
|
|
12
13
|
private matDialog;
|
|
14
|
+
private readonly router;
|
|
13
15
|
data?: FooterSectionModel;
|
|
14
16
|
index?: number;
|
|
15
17
|
edit?: boolean;
|
|
@@ -19,7 +21,7 @@ export declare class FooterComponent extends BaseSection {
|
|
|
19
21
|
linkEditorSubscription?: Subscription;
|
|
20
22
|
footerType: string;
|
|
21
23
|
screenWidth: number;
|
|
22
|
-
constructor(_eventService: EventsService, restService: RestService, matDialog: MatDialog);
|
|
24
|
+
constructor(_eventService: EventsService, restService: RestService, matDialog: MatDialog, router: Router);
|
|
23
25
|
ngOnInit(): Promise<void>;
|
|
24
26
|
ngOnDestroy(): void;
|
|
25
27
|
getScreenSize(event?: number): void;
|
|
@@ -33,6 +35,7 @@ export declare class FooterComponent extends BaseSection {
|
|
|
33
35
|
redirectToPage(pageData: any): void;
|
|
34
36
|
createNewLink(folderIndex: number): void;
|
|
35
37
|
createNewFolder(): void;
|
|
38
|
+
goToHome(): void;
|
|
36
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
37
40
|
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "simpo-footer", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
|
38
41
|
}
|
|
@@ -128,6 +128,7 @@ export declare class RestService implements OnDestroy {
|
|
|
128
128
|
getAllStaffList(): Observable<Object>;
|
|
129
129
|
requestRedeemption(passbookId: any): Observable<Object>;
|
|
130
130
|
PassbookAppStatus(bId: any): Observable<Object>;
|
|
131
|
+
checkAppInstalled(bId: any, appName: string): Observable<Object>;
|
|
131
132
|
getAllPassbookDues(bId: any, userId: any): Observable<Object>;
|
|
132
133
|
getToken(): string;
|
|
133
134
|
getAllTransactions(payload: any): Observable<Object>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|