ionic-vhframeworks 9.4.8 → 9.4.9

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.
@@ -8,7 +8,7 @@
8
8
  */
9
9
  import { OnInit, EventEmitter, PipeTransform, RendererFactory2 } from "@angular/core";
10
10
  import { Router } from "@angular/router";
11
- import { VhMGDB_auth, VhMGDB_database, VhMGDB_rootdatabase, VhMGDB_f3rdclouds, VhMGDB_image, VhMGDB_socketMongoDB, VhMGDB_paymentVNPAY, VhMGDB_clouds, VhMGDB_shopee, VhMGDB_tiki, VhMGDB_sendo, VhMGDB_lazada, VhMGDB_socketMongoDB_Sales, VhMGDB_socketFacebook, VhMGDB_pattern, VhFB_OTP } from 'vhmongo-new';
11
+ import { VhMGDB_auth, VhMGDB_database, VhMGDB_rootdatabase, VhMGDB_f3rdclouds, VhMGDB_image, VhMGDB_socketMongoDB, VhMGDB_paymentVNPAY, VhMGDB_clouds, VhMGDB_shopee, VhMGDB_tiki, VhMGDB_sendo, VhMGDB_lazada, VhMGDB_socketFacebook, VhMGDB_pattern, VhFB_OTP } from 'vhmongo-new';
12
12
  import { ImagePicker } from "@ionic-native/image-picker/ngx";
13
13
  import { WebView } from "@ionic-native/ionic-webview/ngx";
14
14
  import { Camera } from "@ionic-native/camera/ngx";
@@ -21542,7 +21542,6 @@ export declare class VhQuerySales {
21542
21542
  private vhMGDB_sendo;
21543
21543
  private vhMGDB_lazada;
21544
21544
  private vhMGDB_socketFacebook;
21545
- private vhMGDB_socketMongoDB_Sales;
21546
21545
  private vhMGDB_paymentVNPAY;
21547
21546
  private vhQuery;
21548
21547
  private vhAuth;
@@ -21603,7 +21602,7 @@ export declare class VhQuerySales {
21603
21602
  private subjectcustomer_classs;
21604
21603
  private callbacksyncopeningbill;
21605
21604
  private sync_code;
21606
- constructor(vhMGDB_auth: VhMGDB_auth, vhMGDB_rootdatabase: VhMGDB_rootdatabase, vhMGDB_database: VhMGDB_database, vhMGDB_socketMongoDB: VhMGDB_socketMongoDB, vhMGDB_tiki: VhMGDB_tiki, vhMGDB_sendo: VhMGDB_sendo, vhMGDB_lazada: VhMGDB_lazada, vhMGDB_socketFacebook: VhMGDB_socketFacebook, vhMGDB_socketMongoDB_Sales: VhMGDB_socketMongoDB_Sales, vhMGDB_paymentVNPAY: VhMGDB_paymentVNPAY, vhQuery: VhQuery, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm, vhDisplayLEDService: VhDisplayLEDService, iap2: InAppPurchase2, platform: Platform);
21605
+ constructor(vhMGDB_auth: VhMGDB_auth, vhMGDB_rootdatabase: VhMGDB_rootdatabase, vhMGDB_database: VhMGDB_database, vhMGDB_socketMongoDB: VhMGDB_socketMongoDB, vhMGDB_tiki: VhMGDB_tiki, vhMGDB_sendo: VhMGDB_sendo, vhMGDB_lazada: VhMGDB_lazada, vhMGDB_socketFacebook: VhMGDB_socketFacebook, vhMGDB_paymentVNPAY: VhMGDB_paymentVNPAY, vhQuery: VhQuery, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm, vhDisplayLEDService: VhDisplayLEDService, iap2: InAppPurchase2, platform: Platform);
21607
21606
  fix_loi_kieu_du_lieu_barcode(): Promise<unknown>;
21608
21607
  /**
21609
21608
  * this.vhQuerySales.fix_mot_lan_duy_nhat_inventory_null()
@@ -22730,6 +22729,16 @@ export declare class VhQuerySales {
22730
22729
  * @returns Promise bool = true or false
22731
22730
  */
22732
22731
  syncCollections_Mobile(): Promise<unknown>;
22732
+ /**
22733
+ * @example:
22734
+ this.vhQuerySales.syncCollections_Sales365_Mobile().then((bool:any)=>{
22735
+ if(bool){
22736
+ do something...
22737
+ }
22738
+ })
22739
+ * @returns Promise bool = true or false
22740
+ */
22741
+ syncCollections_Sales365_Mobile(): Promise<unknown>;
22733
22742
  /**
22734
22743
  * @example:
22735
22744
  this.vhQuerySales.syncCollections_Desktop().then((bool:any)=>{
@@ -22740,35 +22749,18 @@ export declare class VhQuerySales {
22740
22749
  * @returns Promise bool = true or false
22741
22750
  */
22742
22751
  syncCollections_Desktop(): Promise<unknown>;
22743
- private checkExpireBranch_Sales;
22744
22752
  /**
22745
- *
22746
22753
  * @example:
22747
- * this.vhQuerySales.observableSyncBills('5fb6780ca2148e09806c5b01', 5)
22748
- .subscribe((rsp)=> {
22749
- if(rsp.vcode === 0){
22750
- //-----------your code 0-----------
22751
- let bill = rsp.data;
22752
- console.log('observableSyncBills', bill);
22753
- }else if(rsp.vcode === 1){
22754
- //-----------your code 1-----------
22755
- }else if(rsp.vcode === 2){
22756
- //-----------your code 2-----------
22757
- }
22758
- },(error:any) => {
22759
- console.log(error);
22760
- })
22761
- * @param id_bill
22762
- * @param bill_type
22763
- * @returns Observable => bill hoặc null;
22764
- * @return Observable object => rsp = {vcode, message, data}
22765
- * vcode == 0: repaired bill by another device
22766
- * vcode == 1: changed bill_type by another device
22767
- * vcode == 2: deleted bill by unknown device
22768
- * @notice : nhớ đóng closeSyncOpeningBill() khi thoát trang hiện tại this.vhQueryCafe.closeSyncOpeningBill();
22754
+ this.vhQuerySales.syncCollections_Desktop().then((bool:any)=>{
22755
+ if(bool){
22756
+ do something...
22757
+ }
22758
+ })
22759
+ * @returns Promise bool = true or false
22769
22760
  */
22770
- private observableSyncBills;
22771
- private observableSyncProducts;
22761
+ syncCollections_Sales365_Desktop(): Promise<unknown>;
22762
+ private checkExpireBranch_Sales;
22763
+ private checkExpireBranch_Sales365;
22772
22764
  private initSyncCollections;
22773
22765
  /**
22774
22766
  * @example:
@@ -32824,7 +32816,6 @@ export declare class VhQuerySMS {
32824
32816
  private vhMGDB_sendo;
32825
32817
  private vhMGDB_lazada;
32826
32818
  private vhMGDB_socketFacebook;
32827
- private vhMGDB_socketMongoDB_Sales;
32828
32819
  private vhMGDB_paymentVNPAY;
32829
32820
  private vhQuery;
32830
32821
  private vhAuth;
@@ -32833,7 +32824,7 @@ export declare class VhQuerySMS {
32833
32824
  private iap2;
32834
32825
  private platform;
32835
32826
  private hwinfo;
32836
- constructor(vhMGDB_auth: VhMGDB_auth, vhMGDB_rootdatabase: VhMGDB_rootdatabase, vhMGDB_database: VhMGDB_database, vhMGDB_socketMongoDB: VhMGDB_socketMongoDB, vhMGDB_tiki: VhMGDB_tiki, vhMGDB_sendo: VhMGDB_sendo, vhMGDB_lazada: VhMGDB_lazada, vhMGDB_socketFacebook: VhMGDB_socketFacebook, vhMGDB_socketMongoDB_Sales: VhMGDB_socketMongoDB_Sales, vhMGDB_paymentVNPAY: VhMGDB_paymentVNPAY, vhQuery: VhQuery, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm, vhDisplayLEDService: VhDisplayLEDService, iap2: InAppPurchase2, platform: Platform);
32827
+ constructor(vhMGDB_auth: VhMGDB_auth, vhMGDB_rootdatabase: VhMGDB_rootdatabase, vhMGDB_database: VhMGDB_database, vhMGDB_socketMongoDB: VhMGDB_socketMongoDB, vhMGDB_tiki: VhMGDB_tiki, vhMGDB_sendo: VhMGDB_sendo, vhMGDB_lazada: VhMGDB_lazada, vhMGDB_socketFacebook: VhMGDB_socketFacebook, vhMGDB_paymentVNPAY: VhMGDB_paymentVNPAY, vhQuery: VhQuery, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm, vhDisplayLEDService: VhDisplayLEDService, iap2: InAppPurchase2, platform: Platform);
32837
32828
  /**
32838
32829
  * @example:
32839
32830
  * this.vhQuerySMS.updateSKHDT('5fb6780ca2148e09806c5b01', {name: 'Quảng cáo 1'})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "9.4.8",
3
+ "version": "9.4.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"