fw-webbuilder 1.1.222 → 1.1.224
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/fesm2022/fw-webbuilder.mjs +1 -1
- package/index.d.ts +20 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Subject, Observable, Subscription } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { OnInit, ElementRef, Renderer2, SimpleChanges, DoCheck, OnDestroy, ChangeDetectorRef, InjectionToken } from '@angular/core';
|
|
4
|
+
import { OnInit, ElementRef, Renderer2, SimpleChanges, DoCheck, OnDestroy, ChangeDetectorRef, AfterViewInit, InjectionToken } from '@angular/core';
|
|
5
5
|
import { SocialAuthService } from '@abacritt/angularx-social-login';
|
|
6
6
|
import * as ng_zorro_antd_message from 'ng-zorro-antd/message';
|
|
7
7
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
@@ -379,6 +379,7 @@ declare class webBuilderService {
|
|
|
379
379
|
updateExpiredAt(id_project: string, expired_at: string): Promise<any>;
|
|
380
380
|
getDashboard(startDate: string, endDate: string): Promise<Object>;
|
|
381
381
|
private getVisitorId;
|
|
382
|
+
addAdminUser(data: any): Promise<any>;
|
|
382
383
|
static ɵfac: i0.ɵɵFactoryDeclaration<webBuilderService, never>;
|
|
383
384
|
static ɵprov: i0.ɵɵInjectableDeclaration<webBuilderService>;
|
|
384
385
|
}
|
|
@@ -452,6 +453,7 @@ declare class AuthService {
|
|
|
452
453
|
getEndUser(): any;
|
|
453
454
|
sendEndUserActivationEmail(token: any): Promise<Object>;
|
|
454
455
|
changeEndUserPassword(currentPassword: string, newPassword: string): Promise<any>;
|
|
456
|
+
updateProfile(_id: string, data: any): Promise<any>;
|
|
455
457
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
456
458
|
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
457
459
|
}
|
|
@@ -2486,12 +2488,13 @@ declare class WbVideoConfig implements OnInit {
|
|
|
2486
2488
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbVideoConfig, "wb-video-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "class": { "alias": "class"; "required": false; }; "config": { "alias": "config"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
|
|
2487
2489
|
}
|
|
2488
2490
|
|
|
2489
|
-
declare class WbMenuHorizontal implements OnInit {
|
|
2491
|
+
declare class WbMenuHorizontal implements OnInit, OnDestroy {
|
|
2490
2492
|
webBuilderService: webBuilderService;
|
|
2491
2493
|
map: ComponentMapService;
|
|
2492
2494
|
private router;
|
|
2493
2495
|
private route;
|
|
2494
2496
|
private el;
|
|
2497
|
+
private cdr;
|
|
2495
2498
|
data: any;
|
|
2496
2499
|
device: any;
|
|
2497
2500
|
class: any;
|
|
@@ -2507,11 +2510,15 @@ declare class WbMenuHorizontal implements OnInit {
|
|
|
2507
2510
|
curBlock: any;
|
|
2508
2511
|
dialogStyle: any;
|
|
2509
2512
|
scrollbarEle: any;
|
|
2510
|
-
|
|
2513
|
+
activeBlockId: string | null;
|
|
2514
|
+
constructor(webBuilderService: webBuilderService, map: ComponentMapService, router: Router, route: ActivatedRoute, el: ElementRef, cdr: ChangeDetectorRef);
|
|
2511
2515
|
ngOnInit(): void;
|
|
2512
2516
|
updateDataClone(): void;
|
|
2513
2517
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2514
2518
|
ngAfterViewInit(): void;
|
|
2519
|
+
ngOnDestroy(): void;
|
|
2520
|
+
onScroll: () => void;
|
|
2521
|
+
findActiveBlockId(): string | null;
|
|
2515
2522
|
handleChooseItem(e: Event, item: any, depth: number): void;
|
|
2516
2523
|
onClick(item: any): void;
|
|
2517
2524
|
/**
|
|
@@ -2547,10 +2554,11 @@ declare class WbMenuHorizontalConfig implements OnInit {
|
|
|
2547
2554
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbMenuHorizontalConfig, "wb-menu-horizontal-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "class": { "alias": "class"; "required": false; }; "config": { "alias": "config"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
|
|
2548
2555
|
}
|
|
2549
2556
|
|
|
2550
|
-
declare class WbMenuMobile implements OnInit {
|
|
2557
|
+
declare class WbMenuMobile implements OnInit, AfterViewInit, OnDestroy {
|
|
2551
2558
|
webBuilderService: webBuilderService;
|
|
2552
2559
|
private router;
|
|
2553
2560
|
private route;
|
|
2561
|
+
private cdr;
|
|
2554
2562
|
data: any;
|
|
2555
2563
|
device: any;
|
|
2556
2564
|
class: any;
|
|
@@ -2560,10 +2568,16 @@ declare class WbMenuMobile implements OnInit {
|
|
|
2560
2568
|
isClone: any;
|
|
2561
2569
|
product: any;
|
|
2562
2570
|
linkPage: any;
|
|
2563
|
-
|
|
2571
|
+
scrollbarEle: any;
|
|
2572
|
+
activeBlockId: string | null;
|
|
2573
|
+
constructor(webBuilderService: webBuilderService, router: Router, route: ActivatedRoute, cdr: ChangeDetectorRef);
|
|
2564
2574
|
ngOnInit(): void;
|
|
2565
2575
|
updateDataClone(): void;
|
|
2566
2576
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2577
|
+
ngAfterViewInit(): void;
|
|
2578
|
+
ngOnDestroy(): void;
|
|
2579
|
+
onScroll: () => void;
|
|
2580
|
+
findActiveBlockId(): string | null;
|
|
2567
2581
|
handleChooseItem(e: Event, item: any, depth: number): void;
|
|
2568
2582
|
onClick(item: any): void;
|
|
2569
2583
|
/**
|
|
@@ -2571,6 +2585,7 @@ declare class WbMenuMobile implements OnInit {
|
|
|
2571
2585
|
* */
|
|
2572
2586
|
scrollToBlockWhenAvailable(blockId: string, offset?: number): void;
|
|
2573
2587
|
handleOpenMenuMobile(e: any, item: any): void;
|
|
2588
|
+
checkActive(item: any): boolean;
|
|
2574
2589
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbMenuMobile, never>;
|
|
2575
2590
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbMenuMobile, "wb-menu-mobile", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "class": { "alias": "class"; "required": false; }; "config": { "alias": "config"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "type": { "alias": "type"; "required": false; }; "isClone": { "alias": "isClone"; "required": false; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
|
|
2576
2591
|
}
|