ionic-vhframeworks 8.5.6 → 8.5.7

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.
@@ -125,9 +125,48 @@ export declare class VhIDB {
125
125
  }
126
126
  export declare function vhDate(value: any, format: string, locate?: string): string;
127
127
  export declare class VhEventMediator {
128
+ /**
129
+ * configChanged event
130
+ */
128
131
  private configChangedSubject$;
132
+ /**
133
+ * this.vhEventMediator.configChanged.subscribe((msg: any) => {
134
+ if(msg.status === 'update-gap'){
135
+ if(msg.code === this.blockChoosing._id){
136
+ //code thêm ở đây
137
+ }else{
138
+ //code thêm ở đây
139
+ }
140
+ }
141
+ })
142
+ */
129
143
  configChanged: Observable<any>;
144
+ /**
145
+ * this.vhEventMediator.notifyOnConfigChanged({ status: 'update-gap', code: this.blockChoosing._id });
146
+ * @param configData
147
+ */
130
148
  notifyOnConfigChanged(configData: any): void;
149
+ /**
150
+ * configSelected event
151
+ */
152
+ private configSelectedSubject$;
153
+ /**
154
+ * this.vhEventMediator.configSelected.subscribe((msg: any) => {
155
+ if(msg.status === 'choose-object-selected-ruler'){
156
+ if(msg.code === this.object._id){
157
+ //code thêm ở đây
158
+ }else{
159
+ //code thêm ở đây
160
+ }
161
+ }
162
+ })
163
+ */
164
+ configSelected: Observable<any>;
165
+ /**
166
+ * this.vhEventMediator.notifyOnConfigSelected({ status: 'choose-object-selected-ruler', code: this.object._id });
167
+ * @param configData
168
+ */
169
+ notifyOnConfigSelected(configData: any): void;
131
170
  static ɵfac: i0.ɵɵFactoryDeclaration<VhEventMediator, never>;
132
171
  static ɵprov: i0.ɵɵInjectableDeclaration<VhEventMediator>;
133
172
  }
@@ -12858,6 +12897,11 @@ export declare class VhQueryAutoWeb {
12858
12897
  */
12859
12898
  getIDPage_byLink(link: any): Promise<unknown>;
12860
12899
  getDetailFreeBlocks(): Promise<unknown>;
12900
+ /**
12901
+ * Người dùng bắt sự kiện scroll chuột, qua hàm này sẽ hiển thị ra những block nhìn thấy, những block ko nhìn thấy sẽ ẩn đi
12902
+ * this.vhQueryAutoWeb.displayBocksOfPage_byScroll(this, scrollTop);
12903
+ */
12904
+ displayBocksOfPage_byScroll(_this: any, scrollTop: number): void;
12861
12905
  /**
12862
12906
  * Hàm này sẽ bỏ không dùng nữa vì đã có page_detail
12863
12907
  * Hàm này trả về 1 page (có đủ thông tin page), trong page có trường blocks (có đủ thông tin từng block),
@@ -18997,7 +19041,9 @@ export declare class VhDesignAutoWeb {
18997
19041
  */
18998
19042
  signUpWebAppOwner(email: string, password: string, phoneNumber: any, info: any): Promise<unknown>;
18999
19043
  detailPage: any;
19044
+ detailPage_byscroll: any;
19000
19045
  detailFreeBlock: any;
19046
+ displayBocksOfPage_byScroll(_this: any, scrollTop: number): void;
19001
19047
  /**
19002
19048
  * vhDesignAutoWeb
19003
19049
  * @param id_page
@@ -19019,6 +19065,8 @@ export declare class VhDesignAutoWeb {
19019
19065
  * vhDesignAutoWeb
19020
19066
  */
19021
19067
  startSocketDatabase(): void;
19068
+ receiveSelected(_this: any): any;
19069
+ sendSelected(_this: any): any;
19022
19070
  private checkModifiedType;
19023
19071
  private addBlockOrObject_fromDetailPage;
19024
19072
  private addCloneBlockOrObject_fromDetailPage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "8.5.6",
3
+ "version": "8.5.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"