vhobjects-user 0.6.9 → 0.7.1

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.
@@ -22,23 +22,24 @@ import * as i20 from "./frames/frame-products-favorited/user/frame-products-favo
22
22
  import * as i21 from "./frames/frame-repeat/user/frame-repeat/frame-repeat.component";
23
23
  import * as i22 from "./frames/frame-snimei-detail/user/frame-snimei-detail/frame-snimei-detail.component";
24
24
  import * as i23 from "./frames/frame-product-by-category-view-more/user/frame-product-by-category-view-more/frame-product-by-category-view-more.component";
25
- import * as i24 from "@angular/common";
26
- import * as i25 from "vhobjects-service";
27
- import * as i26 from "@angular/cdk/portal";
28
- import * as i27 from "@angular/cdk/drag-drop";
29
- import * as i28 from "@angular/forms";
30
- import * as i29 from "@ckeditor/ckeditor5-angular";
31
- import * as i30 from "ng-dynamic-component";
32
- import * as i31 from "@ng-bootstrap/ng-bootstrap";
33
- import * as i32 from "ngx-color-picker";
34
- import * as i33 from "./vhstringpercent.pipe";
35
- import * as i34 from "@ngx-translate/core";
36
- import * as i35 from "./vh-language.pipe";
37
- import * as i36 from "./vh-drag-drop/vh-virtual-selected/vh-virtual-selected.module";
38
- import * as i37 from "./vh-drag-drop/vh-drag-drop.module";
39
- import * as i38 from "@angular/material/dialog";
25
+ import * as i24 from "./frames/frame-display-subcategory/user/frame-display-subcategory/frame-display-subcategory.component";
26
+ import * as i25 from "@angular/common";
27
+ import * as i26 from "vhobjects-service";
28
+ import * as i27 from "@angular/cdk/portal";
29
+ import * as i28 from "@angular/cdk/drag-drop";
30
+ import * as i29 from "@angular/forms";
31
+ import * as i30 from "@ckeditor/ckeditor5-angular";
32
+ import * as i31 from "ng-dynamic-component";
33
+ import * as i32 from "@ng-bootstrap/ng-bootstrap";
34
+ import * as i33 from "ngx-color-picker";
35
+ import * as i34 from "./vhstringpercent.pipe";
36
+ import * as i35 from "@ngx-translate/core";
37
+ import * as i36 from "./vh-language.pipe";
38
+ import * as i37 from "./vh-drag-drop/vh-virtual-selected/vh-virtual-selected.module";
39
+ import * as i38 from "./vh-drag-drop/vh-drag-drop.module";
40
+ import * as i39 from "@angular/material/dialog";
40
41
  export declare class FrameComponentModule {
41
42
  static ɵfac: i0.ɵɵFactoryDeclaration<FrameComponentModule, never>;
42
- static ɵmod: i0.ɵɵNgModuleDeclaration<FrameComponentModule, [typeof i1.AtwFrameBlank, typeof i2.AtwFrameCategories, typeof i3.AtwFrameNewsGroup, typeof i4.AtwFrameProductByCategory, typeof i5.AtwFrameProductRelate, typeof i6.AtwFrameProducts, typeof i7.AtwFrameComment, typeof i8.AtwFrameSearchByKeyword, typeof i9.AtwFrameProductDetail, typeof i10.AtwFrameCategoryDetail, typeof i11.AtwFrameCartProducts, typeof i12.AtwFrameBanner, typeof i13.AtwFrameCollapse, typeof i14.AtwFrameTabs, typeof i15.AtwFrameCartProductsChoosed, typeof i16.AtwFrameProductsViewed, typeof i17.AtwSearchCustomize, typeof i18.AtwFrameResult, typeof i19.AtwFrameTab2States, typeof i20.AtwFrameProductsFavorited, typeof i21.AtwFrameRepeat, typeof i22.AtwFrameSnimeiDetail, typeof i23.AtwFrameProductByCategoryViewMore], [typeof i24.CommonModule, typeof i25.NgZorroAntModule, typeof i26.PortalModule, typeof i27.DragDropModule, typeof i28.FormsModule, typeof i25.MaterialModule, typeof i29.CKEditorModule, typeof i28.ReactiveFormsModule, typeof i30.DynamicModule, typeof i31.NgbCarouselModule, typeof i32.ColorPickerModule, typeof i33.VhStringPercentPipeModule, typeof i34.TranslateModule, typeof i35.VhLanguagePipeModule, typeof i36.VhVirtualSelectedModule, typeof i37.VhDragDropModule, typeof i38.MatDialogModule], [typeof i1.AtwFrameBlank, typeof i2.AtwFrameCategories, typeof i3.AtwFrameNewsGroup, typeof i4.AtwFrameProductByCategory, typeof i5.AtwFrameProductRelate, typeof i6.AtwFrameProducts, typeof i7.AtwFrameComment, typeof i8.AtwFrameSearchByKeyword, typeof i9.AtwFrameProductDetail, typeof i10.AtwFrameCategoryDetail, typeof i11.AtwFrameCartProducts, typeof i12.AtwFrameBanner, typeof i13.AtwFrameCollapse, typeof i14.AtwFrameTabs, typeof i15.AtwFrameCartProductsChoosed, typeof i16.AtwFrameProductsViewed, typeof i17.AtwSearchCustomize, typeof i18.AtwFrameResult, typeof i19.AtwFrameTab2States, typeof i20.AtwFrameProductsFavorited, typeof i21.AtwFrameRepeat, typeof i22.AtwFrameSnimeiDetail, typeof i23.AtwFrameProductByCategoryViewMore]>;
43
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FrameComponentModule, [typeof i1.AtwFrameBlank, typeof i2.AtwFrameCategories, typeof i3.AtwFrameNewsGroup, typeof i4.AtwFrameProductByCategory, typeof i5.AtwFrameProductRelate, typeof i6.AtwFrameProducts, typeof i7.AtwFrameComment, typeof i8.AtwFrameSearchByKeyword, typeof i9.AtwFrameProductDetail, typeof i10.AtwFrameCategoryDetail, typeof i11.AtwFrameCartProducts, typeof i12.AtwFrameBanner, typeof i13.AtwFrameCollapse, typeof i14.AtwFrameTabs, typeof i15.AtwFrameCartProductsChoosed, typeof i16.AtwFrameProductsViewed, typeof i17.AtwSearchCustomize, typeof i18.AtwFrameResult, typeof i19.AtwFrameTab2States, typeof i20.AtwFrameProductsFavorited, typeof i21.AtwFrameRepeat, typeof i22.AtwFrameSnimeiDetail, typeof i23.AtwFrameProductByCategoryViewMore, typeof i24.AtwFrameDisplaySubcategory], [typeof i25.CommonModule, typeof i26.NgZorroAntModule, typeof i27.PortalModule, typeof i28.DragDropModule, typeof i29.FormsModule, typeof i26.MaterialModule, typeof i30.CKEditorModule, typeof i29.ReactiveFormsModule, typeof i31.DynamicModule, typeof i32.NgbCarouselModule, typeof i33.ColorPickerModule, typeof i34.VhStringPercentPipeModule, typeof i35.TranslateModule, typeof i36.VhLanguagePipeModule, typeof i37.VhVirtualSelectedModule, typeof i38.VhDragDropModule, typeof i39.MatDialogModule], [typeof i1.AtwFrameBlank, typeof i2.AtwFrameCategories, typeof i3.AtwFrameNewsGroup, typeof i4.AtwFrameProductByCategory, typeof i5.AtwFrameProductRelate, typeof i6.AtwFrameProducts, typeof i7.AtwFrameComment, typeof i8.AtwFrameSearchByKeyword, typeof i9.AtwFrameProductDetail, typeof i10.AtwFrameCategoryDetail, typeof i11.AtwFrameCartProducts, typeof i12.AtwFrameBanner, typeof i13.AtwFrameCollapse, typeof i14.AtwFrameTabs, typeof i15.AtwFrameCartProductsChoosed, typeof i16.AtwFrameProductsViewed, typeof i17.AtwSearchCustomize, typeof i18.AtwFrameResult, typeof i19.AtwFrameTab2States, typeof i20.AtwFrameProductsFavorited, typeof i21.AtwFrameRepeat, typeof i22.AtwFrameSnimeiDetail, typeof i23.AtwFrameProductByCategoryViewMore, typeof i24.AtwFrameDisplaySubcategory]>;
43
44
  static ɵinj: i0.ɵɵInjectorDeclaration<FrameComponentModule>;
44
45
  }
@@ -0,0 +1,171 @@
1
+ import { ElementRef, EventEmitter, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { Subscription } from 'rxjs';
4
+ import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb';
5
+ import { FunctionService } from 'vhobjects-service';
6
+ import { PopupHoverService } from '../../../services/popup-hover.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class HoverFrameDisplaySubcategory implements OnInit {
9
+ private vhQueryAutoWeb;
10
+ private vhEventMediator;
11
+ functionService: FunctionService;
12
+ element: ElementRef;
13
+ private platformId;
14
+ router: Router;
15
+ private activatedRoute;
16
+ popupHoverService: PopupHoverService;
17
+ array_object_selected: any[];
18
+ resolution: any;
19
+ data: any;
20
+ id_subproject: string;
21
+ type: any;
22
+ objectChoosing: any;
23
+ device: any;
24
+ blockChoosing: any;
25
+ isPressingShift: any;
26
+ /** Biến này để kiểm tra xem frame cha có phải clone hay không */
27
+ isClone: any;
28
+ showToolBarObject: EventEmitter<any>;
29
+ category: any;
30
+ indexObject: any;
31
+ setinterval: any;
32
+ rows: any;
33
+ listProducts: any;
34
+ selectingItemOnFrame: boolean;
35
+ products2D: any;
36
+ class: any;
37
+ config: any;
38
+ loadComplete: boolean;
39
+ /** Dùng để sử dụng khi copy */
40
+ subscribe: Subscription;
41
+ marginData: any;
42
+ blocks_array: Array<any>;
43
+ staticdata: any;
44
+ animation: any;
45
+ observer: IntersectionObserver;
46
+ subscription: Subscription;
47
+ isItemVisible: boolean;
48
+ /** ----------------- SLIDE --------------------- */
49
+ /** Chú ý: không được xóa biến, các biến này dùng trong hàm trong functionService */
50
+ translateX: any;
51
+ isSliding: boolean;
52
+ rowNumber: number;
53
+ colNumber: number;
54
+ isLoop: boolean;
55
+ slide_method: string;
56
+ loop_method: string;
57
+ widthOfFrame: number;
58
+ transition: string;
59
+ /** xác định ở cuối slide */
60
+ isLastRight: boolean;
61
+ /** xác định ở đầu slide */
62
+ isLastLeft: boolean;
63
+ groupNumber: number;
64
+ oldTranslateX: number;
65
+ onMouseDown: boolean;
66
+ initialMouseX: number;
67
+ currentMouseX: number;
68
+ currentIndex: number;
69
+ /** ----------------- SLIDE --------------------- */
70
+ loading: boolean;
71
+ updateUISubs: any;
72
+ configChangedSubscription: Subscription;
73
+ /** ----------------- PAGINATION --------------------- */
74
+ heightFrameDB: any;
75
+ heightFrameProducts: any;
76
+ pageCurrent: number;
77
+ totalPages: number;
78
+ pageShowChoose: any;
79
+ pageGoto: number;
80
+ /** ----------------- PAGINATION --------------------- */
81
+ heightFrame: any;
82
+ totalDocs: number;
83
+ prevHeight: any;
84
+ hanldleProcessResizeOffset: EventEmitter<any>;
85
+ isComponentExist: ElementRef<HTMLDivElement>;
86
+ private routeSubscription;
87
+ private link_object;
88
+ constructor(vhQueryAutoWeb: VhQueryAutoWeb, vhEventMediator: VhEventMediator, functionService: FunctionService, element: ElementRef, // Dùng cho hàm setAnimationVisible trong functionService
89
+ platformId: Object, router: Router, activatedRoute: ActivatedRoute, popupHoverService: PopupHoverService);
90
+ ngOnInit(): void;
91
+ outputs: {
92
+ showToolBarObject: (event: any) => void;
93
+ };
94
+ private getDetailObject;
95
+ ngOnChanges(changes: SimpleChanges): void;
96
+ private setHeight;
97
+ /**
98
+ * Kiểm tra sự thay đổi kích thước của object
99
+ */
100
+ checkResizeOffset(): number | false;
101
+ /** Hàm này trả về một chuỗi để chia layout cho grid
102
+ * @param value
103
+ *
104
+ * @example
105
+ * cols = 4
106
+ * gap = 12
107
+ * Kết quả: calc(25% - 9px)
108
+ * @return calc(${100/cols}% - ${(gap/cols)*(cols-1)}px)
109
+ *
110
+ */
111
+ calcSpaceGrid(value: any): string;
112
+ private get getWidthItem();
113
+ private get getHeightItem();
114
+ processData(products: any): void;
115
+ handleGetDataToSlide(): void;
116
+ handleNext(): void;
117
+ handlePrev(): void;
118
+ ngOnDestroy(): void;
119
+ isShowToolBarObject(event: any): void;
120
+ /**
121
+ * hàm này để kiểm tra objectChoosing có nằm trong mảng array_object_select hay ko để set lại zIndex cho object cho mục đích virtual_select
122
+ * @return boolean
123
+ */
124
+ checkZindex(object: any): boolean;
125
+ onMouseDonw(event: any, type: 'mouse' | 'touch'): void;
126
+ onMouseMove(event: any, type: 'mouse' | 'touch'): void;
127
+ onMouseUp(event: any, type: 'mouse' | 'touch'): void;
128
+ onMouseLeave(event: any): void;
129
+ trackByFn(index: number, item: any): any;
130
+ /**
131
+ * hàm xử lý chuyển đổi cách hiển thị bằng position với top và left thành margin
132
+ */
133
+ processConvert(): void;
134
+ /** ----------------- PAGINATION --------------------- */
135
+ /** Chuyển trang -----------------
136
+ *
137
+ * @param value
138
+ */
139
+ transferFn(value: number): void;
140
+ /** Chuyển về trang trước đó
141
+ *
142
+ */
143
+ previewFn(): void;
144
+ /** Chuyển đến trang kế tiếp
145
+ *
146
+ */
147
+ nextFn(): void;
148
+ /** Chuyển trang đến trang trước
149
+ *
150
+ */
151
+ gotoPreviousPage(): void;
152
+ /** Chuyển trang đến trang sau
153
+ *
154
+ */
155
+ gotoNextPage(): void;
156
+ changePage(): void;
157
+ /** ----------------- PAGINATION --------------------- */
158
+ /**
159
+ * Ngăn mặc định trình duyệt mở file khi thả
160
+ * @param event
161
+ * @returns
162
+ */
163
+ onDragOver(event: DragEvent): void;
164
+ /**
165
+ * Xử lý khi thả file
166
+ * @param event
167
+ */
168
+ onDrop(event: DragEvent): void;
169
+ static ɵfac: i0.ɵɵFactoryDeclaration<HoverFrameDisplaySubcategory, never>;
170
+ static ɵcmp: i0.ɵɵComponentDeclaration<HoverFrameDisplaySubcategory, "hover-atw-frame-display-subcategory", never, { "array_object_selected": "array_object_selected"; "resolution": "resolution"; "data": "data"; "id_subproject": "id_subproject"; "type": "type"; "objectChoosing": "objectChoosing"; "device": "device"; "blockChoosing": "blockChoosing"; "isPressingShift": "isPressingShift"; "isClone": "isClone"; }, { "showToolBarObject": "showToolBarObject"; "category": "category"; "hanldleProcessResizeOffset": "hanldleProcessResizeOffset"; }, never, never>;
171
+ }
@@ -1,4 +1,4 @@
1
- import { ElementRef, EventEmitter, OnInit, SimpleChanges } from '@angular/core';
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb';
3
3
  import { PipeFrameService } from '../../../../../services/pipe-frame.service';
4
4
  import { Subscription } from 'rxjs';
@@ -25,7 +25,6 @@ export declare class AtwFrameCategories implements OnInit {
25
25
  /** Biến này để kiểm tra xem frame cha có phải clone hay không */
26
26
  isClone: any;
27
27
  showToolBarObject: EventEmitter<any>;
28
- category: any;
29
28
  indexObject: any;
30
29
  setinterval: any;
31
30
  rows: any;
@@ -89,7 +88,6 @@ export declare class AtwFrameCategories implements OnInit {
89
88
  showToolBarObject: (event: any) => void;
90
89
  };
91
90
  getDetailObject(): void;
92
- ngOnChanges(changes: SimpleChanges): void;
93
91
  private setHeight;
94
92
  /**
95
93
  * Kiểm tra sự thay đổi kích thước của object
@@ -164,5 +162,5 @@ export declare class AtwFrameCategories implements OnInit {
164
162
  */
165
163
  onDrop(event: DragEvent): void;
166
164
  static ɵfac: i0.ɵɵFactoryDeclaration<AtwFrameCategories, never>;
167
- static ɵcmp: i0.ɵɵComponentDeclaration<AtwFrameCategories, "atw-frame-categories", never, { "array_object_selected": "array_object_selected"; "resolution": "resolution"; "data": "data"; "id_subproject": "id_subproject"; "type": "type"; "objectChoosing": "objectChoosing"; "device": "device"; "blockChoosing": "blockChoosing"; "isPressingShift": "isPressingShift"; "isClone": "isClone"; }, { "showToolBarObject": "showToolBarObject"; "category": "category"; "hanldleProcessResizeOffset": "hanldleProcessResizeOffset"; }, never, never>;
165
+ static ɵcmp: i0.ɵɵComponentDeclaration<AtwFrameCategories, "atw-frame-categories", never, { "array_object_selected": "array_object_selected"; "resolution": "resolution"; "data": "data"; "id_subproject": "id_subproject"; "type": "type"; "objectChoosing": "objectChoosing"; "device": "device"; "blockChoosing": "blockChoosing"; "isPressingShift": "isPressingShift"; "isClone": "isClone"; }, { "showToolBarObject": "showToolBarObject"; "hanldleProcessResizeOffset": "hanldleProcessResizeOffset"; }, never, never>;
168
166
  }
@@ -0,0 +1,171 @@
1
+ import { ElementRef, EventEmitter, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { Subscription } from 'rxjs';
4
+ import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb';
5
+ import { FunctionService } from 'vhobjects-service/src/services';
6
+ import { PipeFrameService } from '../../../../../services/pipe-frame.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class AtwFrameDisplaySubcategory implements OnInit {
9
+ private vhQueryAutoWeb;
10
+ private vhEventMediator;
11
+ functionService: FunctionService;
12
+ element: ElementRef;
13
+ private platformId;
14
+ router: Router;
15
+ private activatedRoute;
16
+ pipeFrameService: PipeFrameService;
17
+ array_object_selected: any[];
18
+ resolution: any;
19
+ data: any;
20
+ id_subproject: string;
21
+ type: any;
22
+ objectChoosing: any;
23
+ device: any;
24
+ blockChoosing: any;
25
+ isPressingShift: any;
26
+ /** Biến này để kiểm tra xem frame cha có phải clone hay không */
27
+ isClone: any;
28
+ showToolBarObject: EventEmitter<any>;
29
+ category: any;
30
+ indexObject: any;
31
+ setinterval: any;
32
+ rows: any;
33
+ listProducts: any;
34
+ selectingItemOnFrame: boolean;
35
+ products2D: any;
36
+ class: any;
37
+ config: any;
38
+ loadComplete: boolean;
39
+ /** Dùng để sử dụng khi copy */
40
+ subscribe: Subscription;
41
+ marginData: any;
42
+ blocks_array: Array<any>;
43
+ staticdata: any;
44
+ animation: any;
45
+ observer: IntersectionObserver;
46
+ subscription: Subscription;
47
+ isItemVisible: boolean;
48
+ /** ----------------- SLIDE --------------------- */
49
+ /** Chú ý: không được xóa biến, các biến này dùng trong hàm trong functionService */
50
+ translateX: any;
51
+ isSliding: boolean;
52
+ rowNumber: number;
53
+ colNumber: number;
54
+ isLoop: boolean;
55
+ slide_method: string;
56
+ loop_method: string;
57
+ widthOfFrame: number;
58
+ transition: string;
59
+ /** xác định ở cuối slide */
60
+ isLastRight: boolean;
61
+ /** xác định ở đầu slide */
62
+ isLastLeft: boolean;
63
+ groupNumber: number;
64
+ oldTranslateX: number;
65
+ onMouseDown: boolean;
66
+ initialMouseX: number;
67
+ currentMouseX: number;
68
+ currentIndex: number;
69
+ /** ----------------- SLIDE --------------------- */
70
+ loading: boolean;
71
+ updateUISubs: any;
72
+ configChangedSubscription: Subscription;
73
+ /** ----------------- PAGINATION --------------------- */
74
+ heightFrameDB: any;
75
+ heightFrameProducts: any;
76
+ pageCurrent: number;
77
+ totalPages: number;
78
+ pageShowChoose: any;
79
+ pageGoto: number;
80
+ /** ----------------- PAGINATION --------------------- */
81
+ heightFrame: any;
82
+ totalDocs: number;
83
+ prevHeight: any;
84
+ hanldleProcessResizeOffset: EventEmitter<any>;
85
+ isComponentExist: ElementRef<HTMLDivElement>;
86
+ private routeSubscription;
87
+ private link_object;
88
+ constructor(vhQueryAutoWeb: VhQueryAutoWeb, vhEventMediator: VhEventMediator, functionService: FunctionService, element: ElementRef, // Dùng cho hàm setAnimationVisible trong functionService
89
+ platformId: Object, router: Router, activatedRoute: ActivatedRoute, pipeFrameService: PipeFrameService);
90
+ ngOnInit(): void;
91
+ outputs: {
92
+ showToolBarObject: (event: any) => void;
93
+ };
94
+ private getDetailObject;
95
+ ngOnChanges(changes: SimpleChanges): void;
96
+ private setHeight;
97
+ /**
98
+ * Kiểm tra sự thay đổi kích thước của object
99
+ */
100
+ checkResizeOffset(): number | false;
101
+ /** Hàm này trả về một chuỗi để chia layout cho grid
102
+ * @param value
103
+ *
104
+ * @example
105
+ * cols = 4
106
+ * gap = 12
107
+ * Kết quả: calc(25% - 9px)
108
+ * @return calc(${100/cols}% - ${(gap/cols)*(cols-1)}px)
109
+ *
110
+ */
111
+ calcSpaceGrid(value: any): string;
112
+ private get getWidthItem();
113
+ private get getHeightItem();
114
+ processData(products: any): void;
115
+ handleGetDataToSlide(): void;
116
+ handleNext(): void;
117
+ handlePrev(): void;
118
+ ngOnDestroy(): void;
119
+ isShowToolBarObject(event: any): void;
120
+ /**
121
+ * hàm này để kiểm tra objectChoosing có nằm trong mảng array_object_select hay ko để set lại zIndex cho object cho mục đích virtual_select
122
+ * @return boolean
123
+ */
124
+ checkZindex(object: any): boolean;
125
+ onMouseDonw(event: any, type: 'mouse' | 'touch'): void;
126
+ onMouseMove(event: any, type: 'mouse' | 'touch'): void;
127
+ onMouseUp(event: any, type: 'mouse' | 'touch'): void;
128
+ onMouseLeave(event: any): void;
129
+ trackByFn(index: number, item: any): any;
130
+ /**
131
+ * hàm xử lý chuyển đổi cách hiển thị bằng position với top và left thành margin
132
+ */
133
+ processConvert(): void;
134
+ /** ----------------- PAGINATION --------------------- */
135
+ /** Chuyển trang -----------------
136
+ *
137
+ * @param value
138
+ */
139
+ transferFn(value: number): void;
140
+ /** Chuyển về trang trước đó
141
+ *
142
+ */
143
+ previewFn(): void;
144
+ /** Chuyển đến trang kế tiếp
145
+ *
146
+ */
147
+ nextFn(): void;
148
+ /** Chuyển trang đến trang trước
149
+ *
150
+ */
151
+ gotoPreviousPage(): void;
152
+ /** Chuyển trang đến trang sau
153
+ *
154
+ */
155
+ gotoNextPage(): void;
156
+ changePage(): void;
157
+ /** ----------------- PAGINATION --------------------- */
158
+ /**
159
+ * Ngăn mặc định trình duyệt mở file khi thả
160
+ * @param event
161
+ * @returns
162
+ */
163
+ onDragOver(event: DragEvent): void;
164
+ /**
165
+ * Xử lý khi thả file
166
+ * @param event
167
+ */
168
+ onDrop(event: DragEvent): void;
169
+ static ɵfac: i0.ɵɵFactoryDeclaration<AtwFrameDisplaySubcategory, never>;
170
+ static ɵcmp: i0.ɵɵComponentDeclaration<AtwFrameDisplaySubcategory, "atw-frame-display-subcategory", never, { "array_object_selected": "array_object_selected"; "resolution": "resolution"; "data": "data"; "id_subproject": "id_subproject"; "type": "type"; "objectChoosing": "objectChoosing"; "device": "device"; "blockChoosing": "blockChoosing"; "isPressingShift": "isPressingShift"; "isClone": "isClone"; }, { "showToolBarObject": "showToolBarObject"; "category": "category"; "hanldleProcessResizeOffset": "hanldleProcessResizeOffset"; }, never, never>;
171
+ }
@@ -19,20 +19,21 @@ import * as i16 from "./frame_hover/hover_frame-search-by-keyword/frame-search-b
19
19
  import * as i17 from "./frame_hover/hover_frame-category-detail/frame-category-detail.component";
20
20
  import * as i18 from "./frame_hover/hover_frame-categories/frame-categories.component";
21
21
  import * as i19 from "./frame_hover/hover_frame-comment/frame-comment.component";
22
- import * as i20 from "@angular/common";
23
- import * as i21 from "vhobjects-service";
24
- import * as i22 from "@angular/material/dialog";
25
- import * as i23 from "@angular/cdk/portal";
26
- import * as i24 from "@angular/cdk/drag-drop";
27
- import * as i25 from "@angular/forms";
28
- import * as i26 from "@ckeditor/ckeditor5-angular";
29
- import * as i27 from "ng-dynamic-component";
30
- import * as i28 from "@ng-bootstrap/ng-bootstrap";
31
- import * as i29 from "ngx-color-picker";
32
- import * as i30 from "@ngx-translate/core";
33
- import * as i31 from "./vh-language.pipe";
34
- import * as i32 from "./vh-drag-drop/vh-drag-drop.module";
35
- import * as i33 from "./vh-drag-drop/vh-virtual-selected/vh-virtual-selected.module";
22
+ import * as i20 from "./frame_hover/hover-frame-display-subcategory/frame-display-subcategory.component";
23
+ import * as i21 from "@angular/common";
24
+ import * as i22 from "vhobjects-service";
25
+ import * as i23 from "@angular/material/dialog";
26
+ import * as i24 from "@angular/cdk/portal";
27
+ import * as i25 from "@angular/cdk/drag-drop";
28
+ import * as i26 from "@angular/forms";
29
+ import * as i27 from "@ckeditor/ckeditor5-angular";
30
+ import * as i28 from "ng-dynamic-component";
31
+ import * as i29 from "@ng-bootstrap/ng-bootstrap";
32
+ import * as i30 from "ngx-color-picker";
33
+ import * as i31 from "@ngx-translate/core";
34
+ import * as i32 from "./vh-language.pipe";
35
+ import * as i33 from "./vh-drag-drop/vh-drag-drop.module";
36
+ import * as i34 from "./vh-drag-drop/vh-virtual-selected/vh-virtual-selected.module";
36
37
  export declare class HoverFramePipe implements PipeTransform {
37
38
  transform(value: string): any;
38
39
  static ɵfac: i0.ɵɵFactoryDeclaration<HoverFramePipe, never>;
@@ -40,6 +41,6 @@ export declare class HoverFramePipe implements PipeTransform {
40
41
  }
41
42
  export declare class HoverFrameComponentModule {
42
43
  static ɵfac: i0.ɵɵFactoryDeclaration<HoverFrameComponentModule, never>;
43
- static ɵmod: i0.ɵɵNgModuleDeclaration<HoverFrameComponentModule, [typeof i1.HoverFrameBlankComponent, typeof i2.HoverFrameBannerComponent, typeof i3.HoverFrameCollapseComponent, typeof i4.HoverFrameTabsComponent, typeof i5.HoverFrameRepeatComponent, typeof i6.HoverFrameProductsComponent, typeof i7.HoverFrameProductsFavoritedComponent, typeof i8.HoverFrameProductRelateComponent, typeof i9.HoverFrameProductDetailComponent, typeof i10.HoverFrameProductsViewedComponent, typeof i11.HoverFrameCartProductsComponent, typeof i12.HoverFrameCartProductsChoosedComponent, typeof i13.HoverFrameProductByCategoryComponent, typeof i14.HoverFrameProductByCategoryViewMoreComponent, typeof i15.HoverFrameResultComponent, typeof i16.HoverFrameSearchByKeywordComponent, typeof i17.HoverFrameCategoryDetailComponent, typeof i18.HoverFrameCategoriesComponent, typeof i19.HoverFrameCommentComponent, typeof HoverFramePipe], [typeof i20.CommonModule, typeof i21.NgZorroAntModule, typeof i22.MatDialogModule, typeof i23.PortalModule, typeof i24.DragDropModule, typeof i25.FormsModule, typeof i21.MaterialModule, typeof i26.CKEditorModule, typeof i25.ReactiveFormsModule, typeof i27.DynamicModule, typeof i28.NgbCarouselModule, typeof i29.ColorPickerModule, typeof i30.TranslateModule, typeof i31.VhLanguagePipeModule, typeof i32.VhDragDropModule, typeof i33.VhVirtualSelectedModule], [typeof HoverFramePipe]>;
44
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HoverFrameComponentModule, [typeof i1.HoverFrameBlankComponent, typeof i2.HoverFrameBannerComponent, typeof i3.HoverFrameCollapseComponent, typeof i4.HoverFrameTabsComponent, typeof i5.HoverFrameRepeatComponent, typeof i6.HoverFrameProductsComponent, typeof i7.HoverFrameProductsFavoritedComponent, typeof i8.HoverFrameProductRelateComponent, typeof i9.HoverFrameProductDetailComponent, typeof i10.HoverFrameProductsViewedComponent, typeof i11.HoverFrameCartProductsComponent, typeof i12.HoverFrameCartProductsChoosedComponent, typeof i13.HoverFrameProductByCategoryComponent, typeof i14.HoverFrameProductByCategoryViewMoreComponent, typeof i15.HoverFrameResultComponent, typeof i16.HoverFrameSearchByKeywordComponent, typeof i17.HoverFrameCategoryDetailComponent, typeof i18.HoverFrameCategoriesComponent, typeof i19.HoverFrameCommentComponent, typeof i20.HoverFrameDisplaySubcategory, typeof HoverFramePipe], [typeof i21.CommonModule, typeof i22.NgZorroAntModule, typeof i23.MatDialogModule, typeof i24.PortalModule, typeof i25.DragDropModule, typeof i26.FormsModule, typeof i22.MaterialModule, typeof i27.CKEditorModule, typeof i26.ReactiveFormsModule, typeof i28.DynamicModule, typeof i29.NgbCarouselModule, typeof i30.ColorPickerModule, typeof i31.TranslateModule, typeof i32.VhLanguagePipeModule, typeof i33.VhDragDropModule, typeof i34.VhVirtualSelectedModule], [typeof HoverFramePipe]>;
44
45
  static ɵinj: i0.ɵɵInjectorDeclaration<HoverFrameComponentModule>;
45
46
  }
@@ -0,0 +1,47 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { Router } from '@angular/router';
4
+ import { Subscription } from 'rxjs';
5
+ import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb';
6
+ import { FunctionService } from 'vhobjects-service/src/services';
7
+ import * as i0 from "@angular/core";
8
+ export declare class AtwButtonViewDetailCategory implements OnInit {
9
+ private matDialog;
10
+ private router;
11
+ private vhQueryAutoWeb;
12
+ functionService: FunctionService;
13
+ private vhEventMediator;
14
+ private element;
15
+ private platformId;
16
+ data: any;
17
+ type: any;
18
+ device: any;
19
+ id_subproject: any;
20
+ category: any;
21
+ closePopup: any;
22
+ hanldleProcessResizeOffset: EventEmitter<any>;
23
+ isComponentExist: ElementRef<HTMLDivElement>;
24
+ prevHeight: any;
25
+ config: any;
26
+ animation: any;
27
+ cutWebMan: boolean;
28
+ staticdata: any;
29
+ class: any;
30
+ observer: IntersectionObserver;
31
+ subscription: Subscription;
32
+ clientSize: any;
33
+ /** Subscription để theo dõi sự kiện thay đổi ngôn ngữ */
34
+ languageChangedSubscription: any;
35
+ constructor(matDialog: MatDialog, router: Router, vhQueryAutoWeb: VhQueryAutoWeb, functionService: FunctionService, vhEventMediator: VhEventMediator, element: ElementRef, // Dùng cho hàm setAnimationVisible trong functionService
36
+ platformId: Object);
37
+ ngOnInit(): void;
38
+ ngAfterViewInit(): void;
39
+ ngOnDestroy(): void;
40
+ /**
41
+ * Điều hướng tới link hoặc hyper_link khi có.
42
+ */
43
+ navigate(e: any): void;
44
+ showRoute(): any;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<AtwButtonViewDetailCategory, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<AtwButtonViewDetailCategory, "atw-button-view-detail-category", never, { "data": "data"; "type": "type"; "device": "device"; "id_subproject": "id_subproject"; "category": "category"; "closePopup": "closePopup"; }, { "hanldleProcessResizeOffset": "hanldleProcessResizeOffset"; }, never, never>;
47
+ }
@@ -28,9 +28,11 @@ export declare class AtwTableOfContent {
28
28
  /** Danh sách các phần tử trong mục lục */
29
29
  anchorElements: any;
30
30
  configChangedSubscription: any;
31
+ private observerSetId;
31
32
  constructor(functionService: FunctionService, vhQueryAutoWeb: VhQueryAutoWeb, platformId: Object);
32
33
  ngOnInit(): void;
33
34
  ngAfterViewInit(): void;
35
+ ngOnDestroy(): void;
34
36
  /**
35
37
  * Lấy ra component field của frame để gán
36
38
  * vào selector để truy xuất cho phù hợp
@@ -41,7 +43,7 @@ export declare class AtwTableOfContent {
41
43
  * @param id
42
44
  */
43
45
  scrollTo(id: string): void;
44
- setHeadingId(): void;
46
+ private setHeadingId;
45
47
  static ɵfac: i0.ɵɵFactoryDeclaration<AtwTableOfContent, never>;
46
48
  static ɵcmp: i0.ɵɵComponentDeclaration<AtwTableOfContent, "atw-table-of-content", never, { "product": "product"; "category": "category"; "data": "data"; "type": "type"; "device": "device"; "index": "index"; "id_subproject": "id_subproject"; }, { "hanldleProcessResizeOffset": "hanldleProcessResizeOffset"; }, never, never>;
47
49
  }