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