ionic-vhframeworks 10.9.7 → 10.9.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_tiktok, VhMGDB_socketFacebook, 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_tiktok, VhMGDB_socketFacebook, VhFB_OTP, VhIDDB_database } 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";
@@ -2883,6 +2883,7 @@ export declare class VhQueryCafe {
2883
2883
  private vhAuth;
2884
2884
  private vhAlgorithm;
2885
2885
  private vhDisplayLEDService;
2886
+ private vhIDDB_database;
2886
2887
  private paymentIOS;
2887
2888
  private restriction_main_package;
2888
2889
  private areas;
@@ -2951,7 +2952,7 @@ export declare class VhQueryCafe {
2951
2952
  * @Nghiệp vụ tạo, cập nhật, hủy đơn xuất nhập nguyên liệu (dùng hàm)
2952
2953
  * {createBill_Billdetail} -> {updateBill_Billdetail, deleteBill_Billdetail}
2953
2954
  */
2954
- constructor(vhMGDB_auth: VhMGDB_auth, vhMGDB_database: VhMGDB_database, vhMGDB_rootdatabase: VhMGDB_rootdatabase, vhMGDB_socketMongoDB: VhMGDB_socketMongoDB, vhMGDB_paymentVNPAY: VhMGDB_paymentVNPAY, vhQuery: VhQuery, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm, vhDisplayLEDService: VhDisplayLEDService);
2955
+ constructor(vhMGDB_auth: VhMGDB_auth, vhMGDB_database: VhMGDB_database, vhMGDB_rootdatabase: VhMGDB_rootdatabase, vhMGDB_socketMongoDB: VhMGDB_socketMongoDB, vhMGDB_paymentVNPAY: VhMGDB_paymentVNPAY, vhQuery: VhQuery, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm, vhDisplayLEDService: VhDisplayLEDService, vhIDDB_database: VhIDDB_database);
2955
2956
  /**
2956
2957
  * Hàm trả về năm của billdate
2957
2958
  * @param billdate
@@ -3047,7 +3048,6 @@ export declare class VhQueryCafe {
3047
3048
  * @returns
3048
3049
  */
3049
3050
  private getLocalLiveIndexDB;
3050
- private getLocalLiveIndexDB2;
3051
3051
  private initSyncCollections;
3052
3052
  /**
3053
3053
  * @example:
@@ -5820,7 +5820,7 @@ export declare class VhQueryCafe {
5820
5820
  * @param id_printer
5821
5821
  * @return false or object
5822
5822
  */
5823
- getPrinter(id_printer: string): Promise<unknown>;
5823
+ private getPrinter;
5824
5824
  /**
5825
5825
  * @example
5826
5826
  * this.vhQueryCafe.getPrinters()
@@ -5829,7 +5829,7 @@ export declare class VhQueryCafe {
5829
5829
  })
5830
5830
  * @return array(object) = [{},{},..]
5831
5831
  */
5832
- getPrinters(): Promise<unknown>;
5832
+ private getPrinters;
5833
5833
  /**
5834
5834
  * @example:
5835
5835
  * this.vhQueryCafe.refreshLocalPrintPages()
@@ -5897,7 +5897,7 @@ export declare class VhQueryCafe {
5897
5897
  })
5898
5898
  * @return array(object) = [{},{},..]
5899
5899
  */
5900
- getPrintPages(): Promise<unknown>;
5900
+ private getPrintPages;
5901
5901
  /**
5902
5902
  * Hàm này dùng để thực hiện trừ hàng hóa trong nhiều Payment_Card
5903
5903
  * Hàm chạy ổn định anh sẽ thêm phần trừ số lượng hàng hóa đã sử dụng trong payment_card_code
@@ -13288,6 +13288,7 @@ export declare class VhQuerySales {
13288
13288
  private vhMGDB_lazada;
13289
13289
  private vhMGDB_socketFacebook;
13290
13290
  private vhMGDB_paymentVNPAY;
13291
+ private vhIDDB_database;
13291
13292
  private vhQuery;
13292
13293
  private vhAuth;
13293
13294
  private vhAlgorithm;
@@ -13351,7 +13352,7 @@ export declare class VhQuerySales {
13351
13352
  private callback2syncbilltype;
13352
13353
  private sync_code;
13353
13354
  private colname_array;
13354
- constructor(vhEinvoice: VhEinvoice, 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);
13355
+ constructor(vhEinvoice: VhEinvoice, 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, vhIDDB_database: VhIDDB_database, vhQuery: VhQuery, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm, vhDisplayLEDService: VhDisplayLEDService, iap2: InAppPurchase2, platform: Platform);
13355
13356
  fix_loi_kieu_du_lieu_barcode(): Promise<unknown>;
13356
13357
  /**
13357
13358
  * this.vhQuerySales.fix_mot_lan_duy_nhat_inventory_null()
@@ -16787,7 +16788,7 @@ export declare class VhQuerySales {
16787
16788
  * @param id_printer
16788
16789
  * @return false or object
16789
16790
  */
16790
- getPrinter(id_printer: string): Promise<unknown>;
16791
+ private getPrinter;
16791
16792
  /**
16792
16793
  * @example
16793
16794
  * this.vhQuerySales.getPrinters()
@@ -16796,7 +16797,7 @@ export declare class VhQuerySales {
16796
16797
  })
16797
16798
  * @return array(object) = [{},{},..]
16798
16799
  */
16799
- getPrinters(): Promise<unknown>;
16800
+ private getPrinters;
16800
16801
  /**
16801
16802
  * @example:
16802
16803
  * this.vhQuerySales.refreshLocalPrintPages()
@@ -16864,7 +16865,7 @@ export declare class VhQuerySales {
16864
16865
  })
16865
16866
  * @return array(object) = [{},{},..]
16866
16867
  */
16867
- getPrintPages(): Promise<unknown>;
16868
+ private getPrintPages;
16868
16869
  /**
16869
16870
  * Hàm này dùng để thực hiện trừ hàng hóa trong nhiều Payment_Card
16870
16871
  * Hàm chạy ổn định anh sẽ thêm phần trừ số lượng hàng hóa đã sử dụng trong payment_card_code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "10.9.7",
3
+ "version": "10.9.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"
@@ -1,9 +0,0 @@
1
- export declare function addCustomer(data: any): Promise<any>;
2
- export declare function insertCustomer(_id: string, data: any): Promise<any>;
3
- export declare function addCustomers(list: any[]): Promise<void>;
4
- export declare function updateCustomer(_id: string, data: any): Promise<any>;
5
- export declare function deleteCustomer(id: string): Promise<any>;
6
- export declare function hardDeleteProduct(_id: string): Promise<any>;
7
- export declare function getAllCustomers(): Promise<any>;
8
- export declare function getLiveAllCustomers(): import("rxjs").Observable<any>;
9
- export declare function getCustomerById(_id: string): Promise<any>;
package/lib/db.dexie.d.ts DELETED
@@ -1,11 +0,0 @@
1
- import Dexie from 'dexie';
2
- export declare class AppDB extends Dexie {
3
- products: any;
4
- customers: any;
5
- meta: any;
6
- constructor(dbName: string);
7
- }
8
- export declare function initDB(userId: string): AppDB;
9
- export declare function getDB(): AppDB;
10
- export declare function closeDB(): void;
11
- export declare function deleteDB(userId: string): Promise<void>;
@@ -1,3 +0,0 @@
1
- export declare function setMeta(key: string, value: any): Promise<any>;
2
- export declare function getMeta(key: string): Promise<any>;
3
- export declare function deleteMeta(key: string): Promise<any>;