ionic-vhframeworks 8.8.4 → 8.8.6

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.
@@ -12926,7 +12926,8 @@ export declare class VhQueryAutoWeb {
12926
12926
  private makeFirstLayout;
12927
12927
  /**
12928
12928
  * @example:
12929
- * this.vhQueryAutoWeb.updatePage('5fb6780ca2148e09806c5b01', {quantity:400})
12929
+ * let update_code = this.vhAlgorithm.ObjectId(10);
12930
+ * this.vhQueryAutoWeb.updatePage('5fb6780ca2148e09806c5b01', {quantity:400}, update_code)
12930
12931
  .then((bool:any)=>{
12931
12932
  console.log('updatePage', bool);
12932
12933
  })
@@ -12934,7 +12935,8 @@ export declare class VhQueryAutoWeb {
12934
12935
  * @param data
12935
12936
  * @return Promise => bool = true or false
12936
12937
  */
12937
- updatePage(id_page: string, data: object): Promise<unknown>;
12938
+ updatePage(id_page: string, value: object, update_code?: any): Promise<unknown>;
12939
+ _updatePage(id_page: string, value: object): Promise<unknown>;
12938
12940
  /**
12939
12941
  * @example:
12940
12942
  * this.vhQueryAutoWeb.deletePage('5fb67fda87c0f21d484cbdf3')
@@ -13076,8 +13078,8 @@ export declare class VhQueryAutoWeb {
13076
13078
  addBlock(data: any, add_code?: any): Promise<unknown>;
13077
13079
  /**
13078
13080
  * @example:
13079
- * let add_code = this.vhAlgorithm.ObjectId(10);
13080
- * this.vhQueryAutoWeb.updateBlock('5fb6780ca2148e09806c5b01', {quantity:400}, add_code)
13081
+ * let update_code = this.vhAlgorithm.ObjectId(10);
13082
+ * this.vhQueryAutoWeb.updateBlock('5fb6780ca2148e09806c5b01', {quantity:400}, update_code)
13081
13083
  .then((bool:any)=>{
13082
13084
  console.log('updateBlock', bool);
13083
13085
  })
@@ -13085,7 +13087,7 @@ export declare class VhQueryAutoWeb {
13085
13087
  * @param value
13086
13088
  * @return Promise => bool = true or false
13087
13089
  */
13088
- updateBlock(id_block: string, value: object, add_code?: any): Promise<unknown>;
13090
+ updateBlock(id_block: string, value: object, update_code?: any): Promise<unknown>;
13089
13091
  private _updateBlock;
13090
13092
  /**
13091
13093
  * @example:
@@ -13171,13 +13173,23 @@ export declare class VhQueryAutoWeb {
13171
13173
  /**
13172
13174
  * @example:
13173
13175
  * this.vhQueryAutoWeb.pipeDetailPage_byCtrl_C('5fb6780ca2148e09806c5b01')
13176
+ .then((rsp)=>{
13177
+ console.log('pipeDetailPage_byCtrl_C', rsp);
13178
+ },(error:any)=>{
13179
+ console.log('error', error)
13180
+ })
13174
13181
  */
13175
- pipeDetailPage_byCtrl_C(id_copy_node: any): void;
13182
+ pipeDetailPage_byCtrl_C(id_copy_node: any): Promise<unknown>;
13176
13183
  /**
13177
13184
  * @example:
13178
13185
  * this.vhQueryAutoWeb.pipeDetailPage_byCtrl_V('5fb67fda87c0f21d484cbdf3')
13186
+ .then((rsp)=>{
13187
+ console.log('pipeDetailPage_byCtrl_V', rsp);
13188
+ },(error:any)=>{
13189
+ console.log('error', error)
13190
+ })
13179
13191
  */
13180
- pipeDetailPage_byCtrl_V(id_paste_node: any): void;
13192
+ pipeDetailPage_byCtrl_V(id_paste_node: any): Promise<unknown>;
13181
13193
  /**
13182
13194
  * @example:
13183
13195
  * let add_code = this.vhAlgorithm.ObjectId(10);
@@ -19247,8 +19259,9 @@ export declare class VhDesignAutoWeb {
19247
19259
  private enduser;
19248
19260
  private branchs;
19249
19261
  private database_RAM;
19250
- private database_Ctrl_Z;
19251
- private database_Ctrl_Y;
19262
+ private memoryPageZY;
19263
+ private memory_Ctrl_Z;
19264
+ private memory_Ctrl_Y;
19252
19265
  private database_Ctrl_C;
19253
19266
  private code_Ctrl_Z;
19254
19267
  constructor(vhAlgorithm: VhAlgorithm, vhAuth: VhAuth, vhMGDB_auth: VhMGDB_auth);
@@ -20106,16 +20119,22 @@ export declare class VhDesignAutoWeb {
20106
20119
  dynamic_getDetailFood(id_sub_or_food: any): Promise<unknown>;
20107
20120
  createCode_Ctrl_Z(): void;
20108
20121
  setCode_Ctrl_Z(code: any): void;
20109
- pipeDetailPage_byCtrl_C(id_copy_nodes: any): Promise<unknown>;
20122
+ /**
20123
+ * this.vhDesignAutoWeb.pipeDetailPage_byCtrl_C('5fb67fda87c0f21d484cbdf3')
20124
+ .then((doc)=>{
20125
+ console.log('pipeDetailPage_byCtrl_C', doc);
20126
+ },(error:any)=>{
20127
+ console.log('error', error)
20128
+ })
20129
+ */
20130
+ pipeDetailPage_byCtrl_C(node: any): Promise<unknown>;
20110
20131
  pipeDetailPage_byCtrl_V(id_paste_node: any): Promise<unknown>;
20111
- pipeDetailPage_byCtrl_Z(): Promise<unknown>;
20112
- pipeDetailPage_byCtrl_Y(): Promise<unknown>;
20113
20132
  /**
20114
- * vhDesignAutoWeb
20115
- * @param block
20116
- * @returns
20117
- */
20118
- pasteDetailBlock_byCtrl_V(block: any, id_paste_node: string): Promise<unknown>;
20133
+ * vhDesignAutoWeb
20134
+ * @param block
20135
+ * @returns
20136
+ */
20137
+ pasteDetailBlock_toPage_byCtrl_V(block: any, id_paste_node: string): Promise<unknown>;
20119
20138
  /**
20120
20139
  * Hàm này trả về 1 object (có đủ thông tin object), trong mỗi object có trường objects (có đủ thông tin từng object)
20121
20140
  * @example
@@ -20128,7 +20147,11 @@ export declare class VhDesignAutoWeb {
20128
20147
  * @param id_object
20129
20148
  * @return Promise => page = {}
20130
20149
  */
20131
- pasteDetailObject_byCtrl_V(object: any, id_paste_node: string): Promise<unknown>;
20150
+ pasteDetailObject_toBlock_byCtrl_V(object: any, id_paste_node: string): Promise<unknown>;
20151
+ pasteDetailObject_toObject_byCtrl_V(object: any, id_paste_node: string): Promise<unknown>;
20152
+ private finished_Ctrl_ZY;
20153
+ pipeDetailPage_byCtrl_Z(): Promise<unknown>;
20154
+ pipeDetailPage_byCtrl_Y(): Promise<unknown>;
20132
20155
  private deleteANDbackupObject_Ctrl_Z;
20133
20156
  private deleteANDbackupObject_Ctrl_Y;
20134
20157
  private restoreObject_Ctrl_Y;
@@ -20142,7 +20165,15 @@ export declare class VhDesignAutoWeb {
20142
20165
  private update_updateObject_Ctrl_Z;
20143
20166
  private update_updateObject_Ctrl_Y;
20144
20167
  private update_updateBlock_Ctrl_Z;
20168
+ private update_updatePage_Ctrl_Z;
20145
20169
  private update_updateBlock_Ctrl_Y;
20170
+ private update_updatePage_Ctrl_Y;
20171
+ /**
20172
+ *
20173
+ * @param _id
20174
+ * @param value
20175
+ * @returns
20176
+ */
20146
20177
  addObject_Ctrl_Z(_id: any, value: any): void;
20147
20178
  private _addObject_Ctrl_Z;
20148
20179
  updateObject_Ctrl_Z(_id: any, value: any): void;
@@ -20151,6 +20182,7 @@ export declare class VhDesignAutoWeb {
20151
20182
  addBlock_Ctrl_Z(_id: any, value: any): void;
20152
20183
  updateBlock_Ctrl_Z(_id: any, value: any): void;
20153
20184
  deleteBlock_Ctrl_Z(_id: any): void;
20185
+ updatePage_Ctrl_Z(_id: any, value: any): void;
20154
20186
  /**
20155
20187
  * @example:
20156
20188
  * this.vhDesignAutoWeb.addDoc_fromDatabase('atw_pages',{name:name: 'Quảng cáo 1'})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "8.8.4",
3
+ "version": "8.8.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"