ionic-vhframeworks 8.6.9 → 8.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.
@@ -8849,6 +8849,11 @@ export declare class VhQueryCafe {
8849
8849
  * this.vhQueryCafe.writeBill_BillDetails_toDisplayLEDScreens(bill, bill_details);
8850
8850
  */
8851
8851
  writeBill_BillDetails_toDisplayLEDScreens(bill: any, bill_details: any): void;
8852
+ /**
8853
+ * vhQueryCafe
8854
+ * @param bill_details
8855
+ * @returns
8856
+ */
8852
8857
  private changeBillDetails_withPromotions_toRaw;
8853
8858
  private changeBillDetails_withRaw_toPromotions;
8854
8859
  /**
@@ -12968,6 +12973,7 @@ export declare class VhQueryAutoWeb {
12968
12973
  * 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
12969
12974
  */
12970
12975
  addBlock(data: any): Promise<unknown>;
12976
+ private _addBlock;
12971
12977
  /**
12972
12978
  * @example:
12973
12979
  * this.vhQueryAutoWeb.updateBlock('5fb6780ca2148e09806c5b01', {quantity:400})
@@ -12975,10 +12981,11 @@ export declare class VhQueryAutoWeb {
12975
12981
  console.log('updateBlock', bool);
12976
12982
  })
12977
12983
  * @param id_block
12978
- * @param data
12984
+ * @param value
12979
12985
  * @return Promise => bool = true or false
12980
12986
  */
12981
- updateBlock(id_page: string, data: object): Promise<unknown>;
12987
+ updateBlock(id_block: string, value: object): Promise<unknown>;
12988
+ private _updateBlock;
12982
12989
  /**
12983
12990
  * @example:
12984
12991
  * this.vhQueryAutoWeb.deleteBlock('5fb67fda87c0f21d484cbdf3')
@@ -12988,7 +12995,8 @@ export declare class VhQueryAutoWeb {
12988
12995
  * @param id_block
12989
12996
  * @return Promise => bool = true or false
12990
12997
  */
12991
- deleteBlock(id_block: string): Promise<unknown>;
12998
+ deleteBlock(_deleteBlock: string): Promise<unknown>;
12999
+ private _deleteBlock;
12992
13000
  /**
12993
13001
  * @example
12994
13002
  * this.vhQueryAutoWeb.getBlock('5fb67fda87c0f21d484cbdf3')
@@ -13062,6 +13070,8 @@ export declare class VhQueryAutoWeb {
13062
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
13071
  */
13064
13072
  addObject(data: any): Promise<unknown>;
13073
+ private _addObject;
13074
+ pipeDetailPage_byCtrl_Z(): void;
13065
13075
  /**
13066
13076
  * @example:
13067
13077
  * this.vhQueryAutoWeb.updateObject('5fb6780ca2148e09806c5b01', {quantity:400})
@@ -13072,7 +13082,8 @@ export declare class VhQueryAutoWeb {
13072
13082
  * @param data
13073
13083
  * @return Promise => bool = true or false
13074
13084
  */
13075
- updateObject(id_object: string, data: object): Promise<unknown>;
13085
+ updateObject(id_object: string, value: object): Promise<unknown>;
13086
+ private _updateObject;
13076
13087
  /**
13077
13088
  * @example:
13078
13089
  * this.vhQueryAutoWeb.deleteObject('5fb67fda87c0f21d484cbdf3')
@@ -13083,6 +13094,7 @@ export declare class VhQueryAutoWeb {
13083
13094
  * @return Promise => bool = true or false
13084
13095
  */
13085
13096
  deleteObject(id_object: string): Promise<unknown>;
13097
+ private _deleteObject;
13086
13098
  /**
13087
13099
  * @example
13088
13100
  * this.vhQueryAutoWeb.getObject('5fb67fda87c0f21d484cbdf3')
@@ -15034,6 +15046,7 @@ export declare class VhQueryAutoWeb {
15034
15046
  * vcode == 11: 'not logged in
15035
15047
  */
15036
15048
  deleteCommonData(id_commondata: string): Promise<unknown>;
15049
+ private _deleteCommonData;
15037
15050
  /**
15038
15051
  * @example
15039
15052
  * this.vhQueryAutoWeb.getCommonData('5fb67fda87c0f21d484cbdf3')
@@ -17403,6 +17416,11 @@ export declare class VhQueryAutoWeb {
17403
17416
  * @return Promise => null or orror
17404
17417
  */
17405
17418
  deleteBill_Billdetail(id_bill: any): any;
17419
+ /**
17420
+ * vhQueryAutoWeb
17421
+ * @param bill_details
17422
+ * @returns
17423
+ */
17406
17424
  private changeBillDetails_withPromotions_toRaw;
17407
17425
  private changeBillDetails_withRaw_toPromotions;
17408
17426
  /**
@@ -18947,6 +18965,8 @@ export declare class VhDesignAutoWeb {
18947
18965
  private enduser;
18948
18966
  private branchs;
18949
18967
  private database_RAM;
18968
+ private database_Ctrl_Z;
18969
+ private code_Ctrl_Z;
18950
18970
  constructor(vhAlgorithm: VhAlgorithm, vhAuth: VhAuth, vhMGDB_auth: VhMGDB_auth);
18951
18971
  getProjectName(): string;
18952
18972
  /**
@@ -19376,8 +19396,17 @@ export declare class VhDesignAutoWeb {
19376
19396
  getDetailBlock_byBlock(block: any): Promise<unknown>;
19377
19397
  getDetailObject(id_object: any): Promise<unknown>;
19378
19398
  /**
19379
- * vhDesignAutoWeb
19380
- */
19399
+ * 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)
19400
+ * @example
19401
+ * this.vhDesignAutoWeb.getDetailObject_byObject('00Tm41GNYN0aYbAtuncH')
19402
+ .then((object)=>{
19403
+ console.log('getDetailObject', object);
19404
+ }, error=>{
19405
+ console.log('error', error);
19406
+ })
19407
+ * @param id_object
19408
+ * @return Promise => page = {}
19409
+ */
19381
19410
  getDetailObject_byObject(object: any): Promise<unknown>;
19382
19411
  /**
19383
19412
  * vhDesignAutoWeb
@@ -19385,6 +19414,9 @@ export declare class VhDesignAutoWeb {
19385
19414
  startSocketDatabase(): void;
19386
19415
  private checkModifiedType;
19387
19416
  private addBlockOrObject_fromDetailPage;
19417
+ /**
19418
+ * Thên Block hoặc Object nhân bản vào detailpage
19419
+ */
19388
19420
  private addCloneBlockOrObject_fromDetailPage;
19389
19421
  private deleteCloneBlockOrObject_fromDetailPage;
19390
19422
  private updateBlockOrObject_fromDetailPage;
@@ -19753,6 +19785,18 @@ export declare class VhDesignAutoWeb {
19753
19785
  * @Promise => obj ={} or null
19754
19786
  */
19755
19787
  dynamic_getDetailFood(id_sub_or_food: any): Promise<unknown>;
19788
+ createCode_Ctrl_Z(): void;
19789
+ pipeDetailPage_byCtrl_Z_1(): void;
19790
+ pipeDetailPage_byCtrl_Z(): void;
19791
+ private delete_addObject_Ctrl_Z;
19792
+ private delete_addBlock_Ctrl_Z;
19793
+ addObject_Ctrl_Z(_id: any, value: any): void;
19794
+ updateObject_Ctrl_Z(_id: any, value: any): void;
19795
+ addBlock_Ctrl_Z(_id: any, value: any): void;
19796
+ updateBlock_Ctrl_Z(_id: any, value: any): void;
19797
+ deleteObject_Ctrl_Z(_id: any): void;
19798
+ deleteBlock_Ctrl_Z(_id: any): void;
19799
+ deleteCommondata_Ctrl_Z(_id: any): void;
19756
19800
  /**
19757
19801
  * @example:
19758
19802
  * this.vhDesignAutoWeb.addDoc_fromDatabase('atw_pages',{name:name: 'Quảng cáo 1'})
@@ -19766,6 +19810,19 @@ export declare class VhDesignAutoWeb {
19766
19810
  * 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
19767
19811
  */
19768
19812
  static_addDoc_fromDatabase(database: string, colname: string, data: object): Promise<unknown>;
19813
+ /**
19814
+ * @example:
19815
+ * this.vhDesignAutoWeb.addDoc_fromDatabase('atw_pages',{name:name: 'Quảng cáo 1'})
19816
+ .then((ads)=>{
19817
+ console.log('addDoc', ads);
19818
+ }, error=>{
19819
+ console.log('error', error);
19820
+ })
19821
+ * @param data
19822
+ * @return Promise => object = {}
19823
+ * 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
19824
+ */
19825
+ static_setDoc_fromDatabase(database: string, colname: string, _id: string, data: object): Promise<unknown>;
19769
19826
  /**
19770
19827
  * @example:
19771
19828
  * this.vhDesignAutoWeb.updateDoc_fromDatabase('categories', '5fb6780ca2148e09806c5b01', {name: 'Quảng cáo 1'})
@@ -19781,9 +19838,9 @@ export declare class VhDesignAutoWeb {
19781
19838
  static_updateDoc_fromDatabase(database: string, colname: string, id_doc: string, value: object): Promise<unknown>;
19782
19839
  /**
19783
19840
  * @example:
19784
- * this.vhDesignAutoWeb.deleteDoc_fromDatabase('categories', '5fb67fda87c0f21d484cbdf3')
19841
+ * this.vhDesignAutoWeb.static_deleteDoc_fromDatabase('categories', '5fb67fda87c0f21d484cbdf3')
19785
19842
  .then((bool:any)=>{
19786
- console.log('deleteDoc_fromDatabase', bool);
19843
+ console.log('static_deleteDoc_fromDatabase', bool);
19787
19844
  }, error=>{
19788
19845
  reject(error)
19789
19846
  })
@@ -24169,7 +24226,17 @@ export declare class VhQuerySales {
24169
24226
  */
24170
24227
  destroyBillDetails_withPromotions(bill_details: any): any;
24171
24228
  private sumBill_Details;
24229
+ /**
24230
+ * vhQuerySales
24231
+ * @param bill_details
24232
+ * @returns
24233
+ */
24172
24234
  private changeBillDetails_withPromotions_toRaw;
24235
+ /**
24236
+ * vhQuerySales
24237
+ * @param bill_details
24238
+ * @returns
24239
+ */
24173
24240
  private changeBillDetails_withRaw_toPromotions;
24174
24241
  /**
24175
24242
  * @example:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "8.6.9",
3
+ "version": "8.7.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"