fw-webbuilder 1.1.280 → 1.1.282
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 +30 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ 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';
|
|
8
8
|
import { Overlay } from '@angular/cdk/overlay';
|
|
9
|
-
import {
|
|
9
|
+
import { NzModalService, NzModalRef } from 'ng-zorro-antd/modal';
|
|
10
10
|
import { TranslateService } from '@ngx-translate/core';
|
|
11
11
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
12
12
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
@@ -710,6 +710,7 @@ declare class WbDragDrop implements OnInit {
|
|
|
710
710
|
webBuilderService: webBuilderService;
|
|
711
711
|
el: ElementRef;
|
|
712
712
|
private renderer;
|
|
713
|
+
private modal;
|
|
713
714
|
/**
|
|
714
715
|
* DOM phần tử cha
|
|
715
716
|
*/
|
|
@@ -756,7 +757,7 @@ declare class WbDragDrop implements OnInit {
|
|
|
756
757
|
private mouseUpListener;
|
|
757
758
|
private getSnapTargets;
|
|
758
759
|
updateMinHeightSub: any;
|
|
759
|
-
constructor(webBuilderService: webBuilderService, el: ElementRef, renderer: Renderer2);
|
|
760
|
+
constructor(webBuilderService: webBuilderService, el: ElementRef, renderer: Renderer2, modal: NzModalService);
|
|
760
761
|
ngOnInit(): void;
|
|
761
762
|
ngAfterViewInit(): void;
|
|
762
763
|
/**
|
|
@@ -789,6 +790,7 @@ declare class WbDragDrop implements OnInit {
|
|
|
789
790
|
handleChooseItems(): void;
|
|
790
791
|
handleChooseItem(): void;
|
|
791
792
|
getLeftDrag(): 0 | -24;
|
|
793
|
+
initialRect: any;
|
|
792
794
|
handleResizePointerDown(e: any, direction: any): void;
|
|
793
795
|
handleResizePointerMove(e: any): void;
|
|
794
796
|
handleResizePointerUp(e: any): void;
|
|
@@ -1202,7 +1204,7 @@ declare class WbImageListNumberConfig implements OnInit {
|
|
|
1202
1204
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbImageListNumberConfig, "wb-image-list-number-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configNumber": { "alias": "configNumber"; "required": false; }; "classGrid": { "alias": "classGrid"; "required": false; }; }, {}, never, never, true, never>;
|
|
1203
1205
|
}
|
|
1204
1206
|
|
|
1205
|
-
declare class WbLinkPageConfig implements OnInit {
|
|
1207
|
+
declare class WbLinkPageConfig implements OnInit, OnChanges {
|
|
1206
1208
|
webBuilderService: webBuilderService;
|
|
1207
1209
|
private modal;
|
|
1208
1210
|
private translate;
|
|
@@ -1213,6 +1215,13 @@ declare class WbLinkPageConfig implements OnInit {
|
|
|
1213
1215
|
dialogTypeOptions: any[];
|
|
1214
1216
|
drawerPositionOptions: any[];
|
|
1215
1217
|
pages: any;
|
|
1218
|
+
pageGroups: {
|
|
1219
|
+
label: string;
|
|
1220
|
+
type: string;
|
|
1221
|
+
pages: any[];
|
|
1222
|
+
}[];
|
|
1223
|
+
selectedPageId: string | null;
|
|
1224
|
+
pageTypeMap: Record<string, string>;
|
|
1216
1225
|
clickActionOptions: {
|
|
1217
1226
|
label: string;
|
|
1218
1227
|
value: string;
|
|
@@ -1220,9 +1229,16 @@ declare class WbLinkPageConfig implements OnInit {
|
|
|
1220
1229
|
blocks: any;
|
|
1221
1230
|
constructor(webBuilderService: webBuilderService, modal: NzModalService, translate: TranslateService);
|
|
1222
1231
|
get filteredFreeblocks(): any;
|
|
1232
|
+
getPageTypeName(type: string): string;
|
|
1233
|
+
getPageName(item: any): string;
|
|
1234
|
+
getPageLabel(item: any): string;
|
|
1235
|
+
buildPageGroups(): void;
|
|
1223
1236
|
ngOnInit(): void;
|
|
1237
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1238
|
+
initSelectedPage(): void;
|
|
1239
|
+
onSelectPage(pageId: string): void;
|
|
1224
1240
|
getPages(): void;
|
|
1225
|
-
getBlocks(): void;
|
|
1241
|
+
getBlocks(pageId?: string): void;
|
|
1226
1242
|
updateClass(): void;
|
|
1227
1243
|
updateConfig(): void;
|
|
1228
1244
|
openManageImgs(): void;
|
|
@@ -1886,6 +1902,9 @@ declare class WbFrameProducts implements OnInit, OnDestroy {
|
|
|
1886
1902
|
elementRef: ElementRef;
|
|
1887
1903
|
authService: AuthService;
|
|
1888
1904
|
map: ComponentMapService;
|
|
1905
|
+
private route;
|
|
1906
|
+
private modal;
|
|
1907
|
+
private translate;
|
|
1889
1908
|
data: any;
|
|
1890
1909
|
device: any;
|
|
1891
1910
|
class: any;
|
|
@@ -1919,8 +1938,12 @@ declare class WbFrameProducts implements OnInit, OnDestroy {
|
|
|
1919
1938
|
changeGridSub: any;
|
|
1920
1939
|
private lastGridSignature;
|
|
1921
1940
|
autoSlideInterval: any;
|
|
1922
|
-
constructor(webBuilderService: webBuilderService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService);
|
|
1941
|
+
constructor(webBuilderService: webBuilderService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService, route: ActivatedRoute, modal: NzModalService, translate: TranslateService);
|
|
1942
|
+
onDblClick(event: MouseEvent): void;
|
|
1943
|
+
handleEditContent(): void;
|
|
1923
1944
|
ngOnInit(): void;
|
|
1945
|
+
loadRelateDataByRoute(): void;
|
|
1946
|
+
handleFetchRelateData(product: any): void;
|
|
1924
1947
|
updateDataClone(): void;
|
|
1925
1948
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1926
1949
|
ngDoCheck(): void;
|
|
@@ -2265,9 +2288,11 @@ declare class WbBreadcumb implements OnInit {
|
|
|
2265
2288
|
routeSub?: Subscription;
|
|
2266
2289
|
constructor(route: ActivatedRoute, webBuilderService: webBuilderService, router: Router);
|
|
2267
2290
|
ngOnInit(): void;
|
|
2291
|
+
updateItemName(slug?: string | null): void;
|
|
2268
2292
|
updateDataClone(): void;
|
|
2269
2293
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2270
2294
|
handleNavigate(): void;
|
|
2295
|
+
getIcon(): any;
|
|
2271
2296
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbBreadcumb, never>;
|
|
2272
2297
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbBreadcumb, "wb-breadcumb", 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>;
|
|
2273
2298
|
}
|