fw-webbuilder 1.1.211 → 1.1.214
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 +43 -13
- package/package.json +2 -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, OnDestroy, ChangeDetectorRef,
|
|
4
|
+
import { OnInit, ElementRef, Renderer2, SimpleChanges, DoCheck, OnDestroy, ChangeDetectorRef, 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';
|
|
@@ -376,6 +376,7 @@ declare class webBuilderService {
|
|
|
376
376
|
getProjectsByIdUser(query: any, sort: any, page: any, limit: any): Promise<any>;
|
|
377
377
|
updateExpiredAt(id_project: string, expired_at: string): Promise<any>;
|
|
378
378
|
getDashboard(startDate: string, endDate: string): Promise<Object>;
|
|
379
|
+
private getVisitorId;
|
|
379
380
|
static ɵfac: i0.ɵɵFactoryDeclaration<webBuilderService, never>;
|
|
380
381
|
static ɵprov: i0.ɵɵInjectableDeclaration<webBuilderService>;
|
|
381
382
|
}
|
|
@@ -662,7 +663,6 @@ declare class WbDragDrop implements OnInit {
|
|
|
662
663
|
updatePositionDB(): void;
|
|
663
664
|
updateClassAndConfig(codeUpdate: any): void;
|
|
664
665
|
updatePositionAndClass(codeUpdate: any): void;
|
|
665
|
-
updateHeight(): void;
|
|
666
666
|
conditionShowActive(): any;
|
|
667
667
|
conditionShowResize(): any;
|
|
668
668
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbDragDrop, never>;
|
|
@@ -873,15 +873,21 @@ declare class WbCheckboxConfig implements OnInit {
|
|
|
873
873
|
declare class WbCkeditorConfig implements OnInit {
|
|
874
874
|
webBuilderService: webBuilderService;
|
|
875
875
|
private modal;
|
|
876
|
+
private translate;
|
|
876
877
|
data: any;
|
|
877
878
|
device: any;
|
|
878
879
|
configContent: string;
|
|
879
|
-
|
|
880
|
+
configMaxLine: string;
|
|
881
|
+
classMaxLine: string;
|
|
882
|
+
constructor(webBuilderService: webBuilderService, modal: NzModalService, translate: TranslateService);
|
|
880
883
|
ngOnInit(): void;
|
|
881
884
|
handleChangeContent(): void;
|
|
882
885
|
updateConfig(): void;
|
|
886
|
+
onChangeUseMaxLine(): void;
|
|
887
|
+
onChangeMaxLine(): void;
|
|
888
|
+
updateClassAndConfig(): void;
|
|
883
889
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbCkeditorConfig, never>;
|
|
884
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WbCkeditorConfig, "wb-ckeditor-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configContent": { "alias": "configContent"; "required": false; }; }, {}, never, never, true, never>;
|
|
890
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WbCkeditorConfig, "wb-ckeditor-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configContent": { "alias": "configContent"; "required": false; }; "configMaxLine": { "alias": "configMaxLine"; "required": false; }; "classMaxLine": { "alias": "classMaxLine"; "required": false; }; }, {}, never, never, true, never>;
|
|
885
891
|
}
|
|
886
892
|
|
|
887
893
|
declare class WbDialogConfig implements OnInit {
|
|
@@ -1285,13 +1291,20 @@ declare class WbSlideConfig implements OnInit {
|
|
|
1285
1291
|
configIconRight: string;
|
|
1286
1292
|
classBgIconRight: string;
|
|
1287
1293
|
classIconRight: string;
|
|
1294
|
+
classOverflow: any;
|
|
1288
1295
|
loopMethodOptions: any[];
|
|
1296
|
+
layouts: any;
|
|
1297
|
+
overflowOptions: {
|
|
1298
|
+
label: string;
|
|
1299
|
+
value: string;
|
|
1300
|
+
}[];
|
|
1289
1301
|
constructor(webBuilderService: webBuilderService, modal: NzModalService);
|
|
1290
1302
|
ngOnInit(): void;
|
|
1291
1303
|
updateClass(): void;
|
|
1292
1304
|
updateConfig(): void;
|
|
1305
|
+
onChangeLayout(item: any): void;
|
|
1293
1306
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbSlideConfig, never>;
|
|
1294
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WbSlideConfig, "wb-slide-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configSlide": { "alias": "configSlide"; "required": false; }; "configIconLeft": { "alias": "configIconLeft"; "required": false; }; "classBgIconLeft": { "alias": "classBgIconLeft"; "required": false; }; "classIconLeft": { "alias": "classIconLeft"; "required": false; }; "configIconRight": { "alias": "configIconRight"; "required": false; }; "classBgIconRight": { "alias": "classBgIconRight"; "required": false; }; "classIconRight": { "alias": "classIconRight"; "required": false; }; }, {}, never, never, true, never>;
|
|
1307
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WbSlideConfig, "wb-slide-config", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "configSlide": { "alias": "configSlide"; "required": false; }; "configIconLeft": { "alias": "configIconLeft"; "required": false; }; "classBgIconLeft": { "alias": "classBgIconLeft"; "required": false; }; "classIconLeft": { "alias": "classIconLeft"; "required": false; }; "configIconRight": { "alias": "configIconRight"; "required": false; }; "classBgIconRight": { "alias": "classBgIconRight"; "required": false; }; "classIconRight": { "alias": "classIconRight"; "required": false; }; "classOverflow": { "alias": "classOverflow"; "required": false; }; }, {}, never, never, true, never>;
|
|
1295
1308
|
}
|
|
1296
1309
|
|
|
1297
1310
|
declare class WbStickyConfig implements OnInit {
|
|
@@ -1331,6 +1344,7 @@ declare class WbTextFormatConfig implements OnInit {
|
|
|
1331
1344
|
configMaxLine: string;
|
|
1332
1345
|
placeholder: boolean;
|
|
1333
1346
|
configFormatDate: string;
|
|
1347
|
+
classWidthFitContent: string;
|
|
1334
1348
|
dateFormatOptions: any;
|
|
1335
1349
|
textAlignOptions: any[];
|
|
1336
1350
|
justifyOptions: any;
|
|
@@ -1344,7 +1358,7 @@ declare class WbTextFormatConfig implements OnInit {
|
|
|
1344
1358
|
updateClass(): void;
|
|
1345
1359
|
updateConfig(): void;
|
|
1346
1360
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbTextFormatConfig, never>;
|
|
1347
|
-
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>;
|
|
1361
|
+
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; }; "classWidthFitContent": { "alias": "classWidthFitContent"; "required": false; }; }, {}, never, never, true, never>;
|
|
1348
1362
|
}
|
|
1349
1363
|
|
|
1350
1364
|
declare class WbToolTipConfig implements OnInit {
|
|
@@ -1627,7 +1641,7 @@ declare class WbFrameTabConfig implements OnInit {
|
|
|
1627
1641
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameTabConfig, "wb-frame-tab-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>;
|
|
1628
1642
|
}
|
|
1629
1643
|
|
|
1630
|
-
declare class WbFrameCart implements OnInit {
|
|
1644
|
+
declare class WbFrameCart implements OnInit, DoCheck {
|
|
1631
1645
|
webBuilderService: webBuilderService;
|
|
1632
1646
|
map: ComponentMapService;
|
|
1633
1647
|
cartService: CartService;
|
|
@@ -1642,10 +1656,12 @@ declare class WbFrameCart implements OnInit {
|
|
|
1642
1656
|
product: any;
|
|
1643
1657
|
loading: boolean;
|
|
1644
1658
|
products: never[];
|
|
1645
|
-
|
|
1659
|
+
oldCols: number;
|
|
1660
|
+
oldRows: number;
|
|
1646
1661
|
constructor(webBuilderService: webBuilderService, map: ComponentMapService, cartService: CartService, el: ElementRef, authService: AuthService);
|
|
1647
1662
|
ngOnInit(): void;
|
|
1648
1663
|
updateDataClone(): void;
|
|
1664
|
+
ngDoCheck(): void;
|
|
1649
1665
|
ngOnDestroy(): void;
|
|
1650
1666
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1651
1667
|
getOrderHistory(): void;
|
|
@@ -1713,7 +1729,7 @@ declare class WbFrameProductDetailConfig implements OnInit {
|
|
|
1713
1729
|
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>;
|
|
1714
1730
|
}
|
|
1715
1731
|
|
|
1716
|
-
declare class WbFrameProducts implements OnInit {
|
|
1732
|
+
declare class WbFrameProducts implements OnInit, DoCheck {
|
|
1717
1733
|
webBuilderService: webBuilderService;
|
|
1718
1734
|
functionService: FunctionService;
|
|
1719
1735
|
elementRef: ElementRef;
|
|
@@ -1749,13 +1765,15 @@ declare class WbFrameProducts implements OnInit {
|
|
|
1749
1765
|
* để vuốt(slide) theo nhóm
|
|
1750
1766
|
*/
|
|
1751
1767
|
products2D: any;
|
|
1752
|
-
|
|
1768
|
+
oldCols: number;
|
|
1769
|
+
oldRows: number;
|
|
1753
1770
|
autoSlideInterval: any;
|
|
1754
1771
|
constructor(webBuilderService: webBuilderService, functionService: FunctionService, elementRef: ElementRef, authService: AuthService, map: ComponentMapService);
|
|
1755
1772
|
ngOnInit(): void;
|
|
1756
1773
|
updateDataClone(): void;
|
|
1757
1774
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1758
1775
|
ngOnDestroy(): void;
|
|
1776
|
+
ngDoCheck(): void;
|
|
1759
1777
|
calcProducts(): void;
|
|
1760
1778
|
onMouseDown(event: any, type: 'mouse' | 'touch'): void;
|
|
1761
1779
|
onMouseMove(event: any, type: 'mouse' | 'touch'): void;
|
|
@@ -1835,7 +1853,7 @@ declare class WbFrameProductsAdmin implements OnInit {
|
|
|
1835
1853
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbFrameProductsAdmin, "wb-frame-products-admin", never, {}, {}, never, never, true, never>;
|
|
1836
1854
|
}
|
|
1837
1855
|
|
|
1838
|
-
declare class WbFrameProductsByCategory implements OnInit, OnDestroy {
|
|
1856
|
+
declare class WbFrameProductsByCategory implements OnInit, OnDestroy, DoCheck {
|
|
1839
1857
|
webBuilderService: webBuilderService;
|
|
1840
1858
|
private route;
|
|
1841
1859
|
private router;
|
|
@@ -1855,13 +1873,15 @@ declare class WbFrameProductsByCategory implements OnInit, OnDestroy {
|
|
|
1855
1873
|
limit: number;
|
|
1856
1874
|
pageShowChoose: any;
|
|
1857
1875
|
pageGoto: number;
|
|
1858
|
-
|
|
1876
|
+
oldCols: number;
|
|
1877
|
+
oldRows: number;
|
|
1859
1878
|
qpSub?: Subscription;
|
|
1860
1879
|
constructor(webBuilderService: webBuilderService, route: ActivatedRoute, router: Router, map: ComponentMapService);
|
|
1861
1880
|
ngOnInit(): void;
|
|
1862
1881
|
updateDataClone(): void;
|
|
1863
1882
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1864
1883
|
ngOnDestroy(): void;
|
|
1884
|
+
ngDoCheck(): void;
|
|
1865
1885
|
handleGetProduct(): void;
|
|
1866
1886
|
calcProducts(): void;
|
|
1867
1887
|
gotoPreviousPage(): void;
|
|
@@ -2357,6 +2377,9 @@ declare class WbTextConfig implements OnInit {
|
|
|
2357
2377
|
|
|
2358
2378
|
declare class WbTextParagraph implements OnInit {
|
|
2359
2379
|
webBuilderService: webBuilderService;
|
|
2380
|
+
private modal;
|
|
2381
|
+
private translate;
|
|
2382
|
+
private el;
|
|
2360
2383
|
data: any;
|
|
2361
2384
|
device: any;
|
|
2362
2385
|
class: any;
|
|
@@ -2366,11 +2389,18 @@ declare class WbTextParagraph implements OnInit {
|
|
|
2366
2389
|
isClone: any;
|
|
2367
2390
|
product: any;
|
|
2368
2391
|
safeContent: SafeHtml;
|
|
2369
|
-
|
|
2392
|
+
private resizeObserver;
|
|
2393
|
+
private resizeTimeout;
|
|
2394
|
+
constructor(webBuilderService: webBuilderService, modal: NzModalService, translate: TranslateService, el: ElementRef);
|
|
2370
2395
|
ngOnInit(): void;
|
|
2396
|
+
firstTimeRender: boolean;
|
|
2397
|
+
ngAfterViewInit(): void;
|
|
2398
|
+
ngOnDestroy(): void;
|
|
2371
2399
|
updateDataClone(): void;
|
|
2372
2400
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2373
2401
|
getContent(): any;
|
|
2402
|
+
handleChangeContent(): void;
|
|
2403
|
+
updateConfig(): void;
|
|
2374
2404
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbTextParagraph, never>;
|
|
2375
2405
|
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>;
|
|
2376
2406
|
}
|
package/package.json
CHANGED