fw-webbuilder 1.1.170 → 1.1.172
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 +36 -15
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { NzModalRef, NzModalService } 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 { NzTableQueryParams } from 'ng-zorro-antd/table';
|
|
13
|
-
import { SafeHtml
|
|
13
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
14
14
|
|
|
15
15
|
declare class SocketService {
|
|
16
16
|
private apiUrl;
|
|
@@ -672,7 +672,6 @@ declare class WbBlockBlank implements OnInit {
|
|
|
672
672
|
webBuilderService: webBuilderService;
|
|
673
673
|
map: ComponentMapService;
|
|
674
674
|
modalRef: NzModalRef<WbBlockBlank>;
|
|
675
|
-
private el;
|
|
676
675
|
data: any;
|
|
677
676
|
device: any;
|
|
678
677
|
class: any;
|
|
@@ -687,12 +686,12 @@ declare class WbBlockBlank implements OnInit {
|
|
|
687
686
|
right: null;
|
|
688
687
|
bottom: null;
|
|
689
688
|
};
|
|
690
|
-
constructor(webBuilderService: webBuilderService, map: ComponentMapService, modalRef: NzModalRef<WbBlockBlank
|
|
689
|
+
constructor(webBuilderService: webBuilderService, map: ComponentMapService, modalRef: NzModalRef<WbBlockBlank>);
|
|
691
690
|
ngOnInit(): void;
|
|
692
691
|
updatePoisitionBlockChatBox(is_first: boolean): void;
|
|
693
692
|
ngOnChanges(changes: SimpleChanges): void;
|
|
694
693
|
ngOnDestroy(): void;
|
|
695
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WbBlockBlank, [null, null, { optional: true; }
|
|
694
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WbBlockBlank, [null, null, { optional: true; }]>;
|
|
696
695
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbBlockBlank, "wb-block-blank", 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; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
|
|
697
696
|
}
|
|
698
697
|
|
|
@@ -1316,7 +1315,6 @@ declare class WbTextFormatConfig implements OnInit {
|
|
|
1316
1315
|
updateClassAndConfig(): void;
|
|
1317
1316
|
updateClass(): void;
|
|
1318
1317
|
updateConfig(): void;
|
|
1319
|
-
updateHeight(): void;
|
|
1320
1318
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbTextFormatConfig, never>;
|
|
1321
1319
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbTextFormatConfig, "wb-text-format-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "classContent": { "alias": "classContent"; "required": false; }; "classGap": { "alias": "classGap"; "required": false; }; "classCursor": { "alias": "classCursor"; "required": false; }; "classFontWeight": { "alias": "classFontWeight"; "required": false; }; "classAlign": { "alias": "classAlign"; "required": false; }; "classLineHeight": { "alias": "classLineHeight"; "required": false; }; "classLetterSpacing": { "alias": "classLetterSpacing"; "required": false; }; "classAlignFlex": { "alias": "classAlignFlex"; "required": false; }; "classMargin": { "alias": "classMargin"; "required": false; }; "classMaxLine": { "alias": "classMaxLine"; "required": false; }; "classPadding": { "alias": "classPadding"; "required": false; }; "classMinWidth": { "alias": "classMinWidth"; "required": false; }; "classMinHeight": { "alias": "classMinHeight"; "required": false; }; "configContent": { "alias": "configContent"; "required": false; }; "configNotFound": { "alias": "configNotFound"; "required": false; }; "configHref": { "alias": "configHref"; "required": false; }; "configTag": { "alias": "configTag"; "required": false; }; "configMaxLine": { "alias": "configMaxLine"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "configFormatDate": { "alias": "configFormatDate"; "required": false; }; }, {}, never, never, true, never>;
|
|
1322
1320
|
}
|
|
@@ -1660,16 +1658,20 @@ declare class WbFrameProductDetail implements OnInit {
|
|
|
1660
1658
|
}
|
|
1661
1659
|
|
|
1662
1660
|
declare class WbFrameProductDetailConfig implements OnInit {
|
|
1661
|
+
webBuilderService: webBuilderService;
|
|
1662
|
+
map: CommonConfigMapService;
|
|
1663
1663
|
data: any;
|
|
1664
1664
|
device: any;
|
|
1665
1665
|
class: any;
|
|
1666
1666
|
config: any;
|
|
1667
1667
|
animation: any;
|
|
1668
1668
|
type: any;
|
|
1669
|
-
|
|
1669
|
+
tabs: any[];
|
|
1670
|
+
constructor(webBuilderService: webBuilderService, map: CommonConfigMapService);
|
|
1670
1671
|
ngOnInit(): void;
|
|
1672
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1671
1673
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbFrameProductDetailConfig, never>;
|
|
1672
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProductDetailConfig, "wb-frame-product-detail-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,
|
|
1674
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProductDetailConfig, "wb-frame-product-detail-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>;
|
|
1673
1675
|
}
|
|
1674
1676
|
|
|
1675
1677
|
declare class WbFrameProducts implements OnInit {
|
|
@@ -2105,7 +2107,7 @@ declare class WbButton implements OnInit {
|
|
|
2105
2107
|
openDrawer(): void;
|
|
2106
2108
|
navigate(): void;
|
|
2107
2109
|
/**
|
|
2108
|
-
* Hàm chờ khối xuất hiện và cuộn đến
|
|
2110
|
+
* Hàm chờ khối xuất hiện và cuộn đến chuẩn xác
|
|
2109
2111
|
* */
|
|
2110
2112
|
scrollToBlockWhenAvailable(blockId: string, offset?: number): void;
|
|
2111
2113
|
positionModal(): any;
|
|
@@ -2162,7 +2164,7 @@ declare class WbImage implements OnInit {
|
|
|
2162
2164
|
private getCursorPos;
|
|
2163
2165
|
onClick(e: any): void;
|
|
2164
2166
|
/**
|
|
2165
|
-
* Hàm chờ khối xuất hiện và cuộn đến
|
|
2167
|
+
* Hàm chờ khối xuất hiện và cuộn đến chuẩn xác
|
|
2166
2168
|
* */
|
|
2167
2169
|
scrollToBlockWhenAvailable(blockId: string, offset?: number): void;
|
|
2168
2170
|
getSrc(): any;
|
|
@@ -2226,6 +2228,7 @@ declare class WbText implements OnInit {
|
|
|
2226
2228
|
private authService;
|
|
2227
2229
|
private cart;
|
|
2228
2230
|
private translate;
|
|
2231
|
+
private el;
|
|
2229
2232
|
data: any;
|
|
2230
2233
|
device: any;
|
|
2231
2234
|
class: any;
|
|
@@ -2234,14 +2237,18 @@ declare class WbText implements OnInit {
|
|
|
2234
2237
|
type: any;
|
|
2235
2238
|
isClone: any;
|
|
2236
2239
|
product: any;
|
|
2237
|
-
|
|
2240
|
+
private resizeObserver;
|
|
2241
|
+
private resizeTimeout;
|
|
2242
|
+
constructor(webBuilderService: webBuilderService, router: Router, authService: AuthService, cart: CartService, translate: TranslateService, el: ElementRef);
|
|
2238
2243
|
ngOnInit(): void;
|
|
2239
2244
|
onClick(e: any): void;
|
|
2245
|
+
ngAfterViewInit(): void;
|
|
2246
|
+
ngOnDestroy(): void;
|
|
2240
2247
|
orderLabel: any;
|
|
2241
2248
|
getContent(): any;
|
|
2242
2249
|
conditionDisplay(): any;
|
|
2243
2250
|
/**
|
|
2244
|
-
* Hàm chờ khối xuất hiện và cuộn đến
|
|
2251
|
+
* Hàm chờ khối xuất hiện và cuộn đến chuẩn xác
|
|
2245
2252
|
* */
|
|
2246
2253
|
scrollToBlockWhenAvailable(blockId: string, offset?: number): void;
|
|
2247
2254
|
getIcon(): any;
|
|
@@ -2268,7 +2275,6 @@ declare class WbTextConfig implements OnInit {
|
|
|
2268
2275
|
|
|
2269
2276
|
declare class WbTextParagraph implements OnInit {
|
|
2270
2277
|
webBuilderService: webBuilderService;
|
|
2271
|
-
private sanitizer;
|
|
2272
2278
|
data: any;
|
|
2273
2279
|
device: any;
|
|
2274
2280
|
class: any;
|
|
@@ -2278,10 +2284,9 @@ declare class WbTextParagraph implements OnInit {
|
|
|
2278
2284
|
isClone: any;
|
|
2279
2285
|
product: any;
|
|
2280
2286
|
safeContent: SafeHtml;
|
|
2281
|
-
constructor(webBuilderService: webBuilderService
|
|
2287
|
+
constructor(webBuilderService: webBuilderService);
|
|
2282
2288
|
ngOnInit(): void;
|
|
2283
2289
|
getContent(): any;
|
|
2284
|
-
getContentSafe(rawHtml: string): SafeHtml;
|
|
2285
2290
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbTextParagraph, never>;
|
|
2286
2291
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbTextParagraph, "wb-text-paragraph", 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>;
|
|
2287
2292
|
}
|
|
@@ -2338,8 +2343,10 @@ declare class WbVideoConfig implements OnInit {
|
|
|
2338
2343
|
|
|
2339
2344
|
declare class WbMenuHorizontal implements OnInit {
|
|
2340
2345
|
webBuilderService: webBuilderService;
|
|
2346
|
+
map: ComponentMapService;
|
|
2341
2347
|
private router;
|
|
2342
2348
|
private route;
|
|
2349
|
+
private el;
|
|
2343
2350
|
data: any;
|
|
2344
2351
|
device: any;
|
|
2345
2352
|
class: any;
|
|
@@ -2349,12 +2356,26 @@ declare class WbMenuHorizontal implements OnInit {
|
|
|
2349
2356
|
isClone: any;
|
|
2350
2357
|
product: any;
|
|
2351
2358
|
linkPage: any;
|
|
2352
|
-
|
|
2359
|
+
/** danh sách blocks trong data_list để khi hover vào xuất hiện và ẩn đi ko mất DOM để ko phải get lại api */
|
|
2360
|
+
freeblocks: any;
|
|
2361
|
+
/** block hiện tại */
|
|
2362
|
+
curBlock: any;
|
|
2363
|
+
dialogStyle: any;
|
|
2364
|
+
scrollbarEle: any;
|
|
2365
|
+
constructor(webBuilderService: webBuilderService, map: ComponentMapService, router: Router, route: ActivatedRoute, el: ElementRef);
|
|
2353
2366
|
ngOnInit(): void;
|
|
2367
|
+
ngAfterViewInit(): void;
|
|
2354
2368
|
handleChooseItem(e: Event, item: any, depth: number): void;
|
|
2355
2369
|
onClick(item: any): void;
|
|
2370
|
+
/**
|
|
2371
|
+
* Hàm chờ khối xuất hiện và cuộn đến chuẩn xác
|
|
2372
|
+
* */
|
|
2373
|
+
scrollToBlockWhenAvailable(blockId: string, offset?: number): void;
|
|
2356
2374
|
handleOpenMenuMobile(e: any, item: any): void;
|
|
2357
2375
|
checkActive(item: any): boolean;
|
|
2376
|
+
handleShowDialog(event: MouseEvent, item: any): void;
|
|
2377
|
+
getDialogStyle(block: any): any;
|
|
2378
|
+
handleHiddenDialog(): void;
|
|
2358
2379
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbMenuHorizontal, never>;
|
|
2359
2380
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbMenuHorizontal, "wb-menu-horizontal", 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>;
|
|
2360
2381
|
}
|