ionic-vhframeworks 9.8.5 → 9.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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare function checkSales_addProductAndSubsProduct(product: any, subProductArray: any): boolean;
|
|
2
2
|
export declare function checkSales_addSubProduct(id_product: string, subProduct: any): boolean;
|
|
3
3
|
export declare function checkSales_updateSubProduct(id_subproduct: string, value: any): boolean;
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
4
|
+
export declare function checkSales_updateProduct_Type3(id_product: string, value: any): boolean;
|
|
5
|
+
export declare function checkSales_updateProduct_Type3_fw(id_product: string, value: any): boolean;
|
|
6
6
|
export declare function checkSales_updateProduct_Type2(id_product: string, value: any): boolean;
|
|
7
7
|
export declare function checkSales_updateProduct_Type5(id_product: string, value: any): boolean;
|
|
8
8
|
export declare function checkCafe_addProductAndSubsProduct_type1(product: any, subProductArray: any): boolean;
|
|
@@ -345,6 +345,12 @@ export declare class VhAlgorithm {
|
|
|
345
345
|
* Hàm bỏ tất cả các ký tự trống trong chuỗi
|
|
346
346
|
*/
|
|
347
347
|
removeAllSpaces(str: string): string;
|
|
348
|
+
/**
|
|
349
|
+
* Hàm trả ra tất cả chuỗi con liên tiếp từ 2 từ trở lên
|
|
350
|
+
* @param str
|
|
351
|
+
* @returns array
|
|
352
|
+
*/
|
|
353
|
+
getWordSubstrings(str: string): string[];
|
|
348
354
|
/**
|
|
349
355
|
* Hàm này lấy về 1 unit của sản phẩm theo ratio truyền vào
|
|
350
356
|
* @example
|
|
@@ -3043,6 +3049,17 @@ export declare class VhQueryCafe {
|
|
|
3043
3049
|
* @return Promise => null
|
|
3044
3050
|
*/
|
|
3045
3051
|
refreshLocalProducts(): any;
|
|
3052
|
+
/**
|
|
3053
|
+
* @example:
|
|
3054
|
+
* this.vhQueryCafe.refreshLocalProducts_Delete_Hidden(3)
|
|
3055
|
+
.then(()=>{
|
|
3056
|
+
do something.....
|
|
3057
|
+
})
|
|
3058
|
+
* Hàm này refresh giá trị mới nhất cho hàm getlocalProduct(), getlocalProducts() trong localstorage
|
|
3059
|
+
* @param type
|
|
3060
|
+
* @return Promise => null
|
|
3061
|
+
*/
|
|
3062
|
+
refreshLocalProducts_Delete_Hidden(type: any): any;
|
|
3046
3063
|
/**
|
|
3047
3064
|
* @example:
|
|
3048
3065
|
* this.vhQueryCafe.addProduct({name:'camera 2', quantity:20, price:200000})
|
|
@@ -23359,6 +23376,17 @@ export declare class VhQuerySales {
|
|
|
23359
23376
|
* @return Promise => null
|
|
23360
23377
|
*/
|
|
23361
23378
|
refreshLocalProducts(): any;
|
|
23379
|
+
/**
|
|
23380
|
+
* @example:
|
|
23381
|
+
* this.vhQuerySales.refreshLocalProducts_Delete_Hidden(3)
|
|
23382
|
+
.then(()=>{
|
|
23383
|
+
do something.....
|
|
23384
|
+
})
|
|
23385
|
+
* Hàm này refresh giá trị mới nhất cho hàm getlocalProduct(), getlocalProducts() trong localstorage
|
|
23386
|
+
* @param type
|
|
23387
|
+
* @return Promise => null
|
|
23388
|
+
*/
|
|
23389
|
+
refreshLocalProducts_Delete_Hidden(type: any): any;
|
|
23362
23390
|
/**
|
|
23363
23391
|
* @example:
|
|
23364
23392
|
* this.vhQuerySales.addProduct({name:'camera 2', quantity:20, price:200000})
|