ionic-vhframeworks 8.7.1 → 8.7.2

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.
@@ -12962,7 +12962,8 @@ export declare class VhQueryAutoWeb {
12962
12962
  getCanBeClonedBlockOrObject(id_node: string, type: string): Promise<unknown>;
12963
12963
  /**
12964
12964
  * @example:
12965
- * this.vhQueryAutoWeb.addBlock({name:'Danh mục 1'})
12965
+ * let add_code = this.vhAlgorithm.ObjectId(10);
12966
+ * this.vhQueryAutoWeb.addBlock({name:'Khối trống',...}, add_code)
12966
12967
  .then((block)=>{
12967
12968
  console.log('addBlock', block);
12968
12969
  },(error:any)=>{
@@ -12972,11 +12973,11 @@ export declare class VhQueryAutoWeb {
12972
12973
  * @return Promise => obj = {}
12973
12974
  * Luu ý: chỉ có 2 trường hợp, hoặc là thêm thành công, hoặc là báo lỗi error
12974
12975
  */
12975
- addBlock(data: any): Promise<unknown>;
12976
- private _addBlock;
12976
+ addBlock(data: any, add_code?: any): Promise<unknown>;
12977
12977
  /**
12978
12978
  * @example:
12979
- * this.vhQueryAutoWeb.updateBlock('5fb6780ca2148e09806c5b01', {quantity:400})
12979
+ * let add_code = this.vhAlgorithm.ObjectId(10);
12980
+ * this.vhQueryAutoWeb.updateBlock('5fb6780ca2148e09806c5b01', {quantity:400}, add_code)
12980
12981
  .then((bool:any)=>{
12981
12982
  console.log('updateBlock', bool);
12982
12983
  })
@@ -12984,7 +12985,7 @@ export declare class VhQueryAutoWeb {
12984
12985
  * @param value
12985
12986
  * @return Promise => bool = true or false
12986
12987
  */
12987
- updateBlock(id_block: string, value: object): Promise<unknown>;
12988
+ updateBlock(id_block: string, value: object, add_code?: any): Promise<unknown>;
12988
12989
  private _updateBlock;
12989
12990
  /**
12990
12991
  * @example:
@@ -12995,7 +12996,7 @@ export declare class VhQueryAutoWeb {
12995
12996
  * @param id_block
12996
12997
  * @return Promise => bool = true or false
12997
12998
  */
12998
- deleteBlock(_deleteBlock: string): Promise<unknown>;
12999
+ deleteBlock(id_block: string): Promise<unknown>;
12999
13000
  private _deleteBlock;
13000
13001
  /**
13001
13002
  * @example
@@ -13059,22 +13060,42 @@ export declare class VhQueryAutoWeb {
13059
13060
  getDetailBlock_byBlock(block: any): Promise<unknown>;
13060
13061
  /**
13061
13062
  * @example:
13062
- * this.vhQueryAutoWeb.addObject({name:'Danh mục 1'})
13063
- .then((object)=>{
13064
- console.log('addObject', object);
13065
- },(error:any)=>{
13066
- console.log('error', error);
13067
- })
13068
- * @param data
13069
- * @return Promise => obj = {}
13070
- * Luu ý: chỉ có 2 trường hợp, hoặc là thêm thành công, hoặc là báo lỗi error
13063
+ * this.vhQueryAutoWeb.pipeDetailPage_byCtrl_Z()
13071
13064
  */
13072
- addObject(data: any): Promise<unknown>;
13073
- private _addObject;
13074
13065
  pipeDetailPage_byCtrl_Z(): void;
13075
13066
  /**
13076
13067
  * @example:
13077
- * this.vhQueryAutoWeb.updateObject('5fb6780ca2148e09806c5b01', {quantity:400})
13068
+ * this.vhQueryAutoWeb.pipeDetailPage_byCtrl_Y()
13069
+ */
13070
+ pipeDetailPage_byCtrl_Y(): void;
13071
+ /**
13072
+ * @example:
13073
+ * this.vhQueryAutoWeb.pipeDetailPage_byCtrl_C('5fb6780ca2148e09806c5b01')
13074
+ */
13075
+ pipeDetailPage_byCtrl_C(id_copy_node: any): void;
13076
+ /**
13077
+ * @example:
13078
+ * this.vhQueryAutoWeb.pipeDetailPage_byCtrl_V('5fb67fda87c0f21d484cbdf3')
13079
+ */
13080
+ pipeDetailPage_byCtrl_V(id_paste_node: any): void;
13081
+ /**
13082
+ * @example:
13083
+ * let add_code = this.vhAlgorithm.ObjectId(10);
13084
+ * this.vhQueryAutoWeb.addObject({name:'Nút điều hướng',...}, add_code)
13085
+ .then((object)=>{
13086
+ console.log('addObject', object);
13087
+ },(error:any)=>{
13088
+ console.log('error', error);
13089
+ })
13090
+ * @param data
13091
+ * @return Promise => obj = {}
13092
+ * Luu ý: chỉ có 2 trường hợp, hoặc là thêm thành công, hoặc là báo lỗi error
13093
+ */
13094
+ addObject(data: any, add_code?: any): Promise<unknown>;
13095
+ /**
13096
+ * @example:
13097
+ * let update_code = this.vhAlgorithm.ObjectId(10);
13098
+ * this.vhQueryAutoWeb.updateObject('5fb6780ca2148e09806c5b01', {quantity:400}, update_code)
13078
13099
  .then((bool:any)=>{
13079
13100
  console.log('updateObject', bool);
13080
13101
  })
@@ -13082,7 +13103,7 @@ export declare class VhQueryAutoWeb {
13082
13103
  * @param data
13083
13104
  * @return Promise => bool = true or false
13084
13105
  */
13085
- updateObject(id_object: string, value: object): Promise<unknown>;
13106
+ updateObject(id_object: string, value: object, update_code?: any): Promise<unknown>;
13086
13107
  private _updateObject;
13087
13108
  /**
13088
13109
  * @example:
@@ -15046,7 +15067,6 @@ export declare class VhQueryAutoWeb {
15046
15067
  * vcode == 11: 'not logged in
15047
15068
  */
15048
15069
  deleteCommonData(id_commondata: string): Promise<unknown>;
15049
- private _deleteCommonData;
15050
15070
  /**
15051
15071
  * @example
15052
15072
  * this.vhQueryAutoWeb.getCommonData('5fb67fda87c0f21d484cbdf3')
@@ -18966,6 +18986,8 @@ export declare class VhDesignAutoWeb {
18966
18986
  private branchs;
18967
18987
  private database_RAM;
18968
18988
  private database_Ctrl_Z;
18989
+ private database_Ctrl_Y;
18990
+ private database_Ctrl_C;
18969
18991
  private code_Ctrl_Z;
18970
18992
  constructor(vhAlgorithm: VhAlgorithm, vhAuth: VhAuth, vhMGDB_auth: VhMGDB_auth);
18971
18993
  getProjectName(): string;
@@ -19786,17 +19808,44 @@ export declare class VhDesignAutoWeb {
19786
19808
  */
19787
19809
  dynamic_getDetailFood(id_sub_or_food: any): Promise<unknown>;
19788
19810
  createCode_Ctrl_Z(): void;
19789
- pipeDetailPage_byCtrl_Z_1(): void;
19790
- pipeDetailPage_byCtrl_Z(): void;
19811
+ setCode_Ctrl_Z(code: any): void;
19812
+ pipeDetailPage_byCtrl_C(id_copy_nodes: any): Promise<unknown>;
19813
+ pipeDetailPage_byCtrl_V(id_paste_node: any): Promise<unknown>;
19814
+ pipeDetailPage_byCtrl_Z(): Promise<unknown>;
19815
+ pipeDetailPage_byCtrl_Y(): Promise<unknown>;
19816
+ /**
19817
+ * vhDesignAutoWeb
19818
+ * @param block
19819
+ * @returns
19820
+ */
19821
+ pasteDetailBlock_byCtrl_V(block: any, id_paste_node: string): Promise<unknown>;
19822
+ /**
19823
+ * 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)
19824
+ * @example
19825
+ * this.vhDesignAutoWeb.getDetailObject_byObject('00Tm41GNYN0aYbAtuncH')
19826
+ .then((object)=>{
19827
+ console.log('getDetailObject', object);
19828
+ }, error=>{
19829
+ console.log('error', error);
19830
+ })
19831
+ * @param id_object
19832
+ * @return Promise => page = {}
19833
+ */
19834
+ pasteDetailObject_byCtrl_V(object: any, id_paste_node: string): Promise<unknown>;
19791
19835
  private delete_addObject_Ctrl_Z;
19836
+ private create_addObject_Ctrl_Y;
19792
19837
  private delete_addBlock_Ctrl_Z;
19838
+ private create_addBlock_Ctrl_Y;
19839
+ private update_updateObject_Ctrl_Z;
19840
+ private update_updateObject_Ctrl_Y;
19841
+ private update_updateBlock_Ctrl_Z;
19842
+ private update_updateBlock_Ctrl_Y;
19793
19843
  addObject_Ctrl_Z(_id: any, value: any): void;
19794
19844
  updateObject_Ctrl_Z(_id: any, value: any): void;
19795
19845
  addBlock_Ctrl_Z(_id: any, value: any): void;
19796
19846
  updateBlock_Ctrl_Z(_id: any, value: any): void;
19797
19847
  deleteObject_Ctrl_Z(_id: any): void;
19798
19848
  deleteBlock_Ctrl_Z(_id: any): void;
19799
- deleteCommondata_Ctrl_Z(_id: any): void;
19800
19849
  /**
19801
19850
  * @example:
19802
19851
  * 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.7.1",
3
+ "version": "8.7.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"