ionic-vhframeworks 8.7.9 → 8.8.0
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.
|
@@ -273,9 +273,10 @@ export declare class VhAlgorithm {
|
|
|
273
273
|
waitingStack(): Promise<unknown>;
|
|
274
274
|
searchList(value: any, array_list: any, array_field: any): any[];
|
|
275
275
|
/**
|
|
276
|
+
* Ham đổi chuỗi alias có dấu thành không dấu
|
|
276
277
|
* @example:
|
|
277
278
|
* this.vhAlgorithm.changeAlias(alias);
|
|
278
|
-
*
|
|
279
|
+
* @alias: chuỗi có dấu và các ký tự đặc biệt
|
|
279
280
|
*/
|
|
280
281
|
changeAlias(alias: any): any;
|
|
281
282
|
/**
|
|
@@ -13339,6 +13340,19 @@ export declare class VhQueryAutoWeb {
|
|
|
13339
13340
|
* @return Promise => array(object) = [{},{},..]
|
|
13340
13341
|
*/
|
|
13341
13342
|
getNewFields_byFields(query: any, projection?: object, sort?: any, limit?: number): Promise<unknown>;
|
|
13343
|
+
/**
|
|
13344
|
+
* @example
|
|
13345
|
+
* this.vhQueryAutoWeb.getNewFields_byFields_byPages({id_object:{$eq:'00Tm41GNYN0aYbAtuncH'}}, {}, {}, 0,0)
|
|
13346
|
+
.then((newfields)=>{
|
|
13347
|
+
console.log('getNewFields_byFields_byPages', newfields);
|
|
13348
|
+
})
|
|
13349
|
+
* @param query
|
|
13350
|
+
* @param projection
|
|
13351
|
+
* @param sort
|
|
13352
|
+
* @param limit
|
|
13353
|
+
* @return Promise => array(object) = [{},{},..]
|
|
13354
|
+
*/
|
|
13355
|
+
getNewFields_byFields_byPages(query: any, projection?: object, sort?: any, limit?: number, page?: number): Promise<unknown>;
|
|
13342
13356
|
/**
|
|
13343
13357
|
* @example:
|
|
13344
13358
|
* this.vhQueryAutoWeb.addProduct({name:'Sản phẩm 1'})
|
|
@@ -14797,8 +14811,8 @@ export declare class VhQueryAutoWeb {
|
|
|
14797
14811
|
*/
|
|
14798
14812
|
getCategorys_byFields(query: object, projection?: object, sort?: object, limit?: number, page?: number): Promise<unknown>;
|
|
14799
14813
|
/**
|
|
14800
|
-
* @example
|
|
14801
|
-
* this.vhQueryAutoWeb.getCategorySteps_byIdFatherCategory("5QKS9fq2rsl4egOJCf7h", {},{},6,1)
|
|
14814
|
+
* @example:▲
|
|
14815
|
+
* this.vhQueryAutoWeb.getCategorySteps_byIdFatherCategory("5QKS9fq2rsl4egOJCf7h", {}, {},{},6,1)
|
|
14802
14816
|
.then(response=>{
|
|
14803
14817
|
console.log('response', response);
|
|
14804
14818
|
if(response.vcode === 0){
|
|
@@ -14808,6 +14822,7 @@ export declare class VhQueryAutoWeb {
|
|
|
14808
14822
|
},(error:any)=>{
|
|
14809
14823
|
console.log('error', error)
|
|
14810
14824
|
})
|
|
14825
|
+
* @param query
|
|
14811
14826
|
* @param id_father_category: chuối giá trị "5QKS9fq2rsl4egOJCf7h" (một nhánh) hoặc chuỗi trống "" (cả cây danh mục)
|
|
14812
14827
|
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
14813
14828
|
* @param sort — null hoặc {}:không sắp xếp; {date:1}: sắp xếp theo ASC; {date:-1}: sắp xếp theo DESC
|
|
@@ -14815,7 +14830,7 @@ export declare class VhQueryAutoWeb {
|
|
|
14815
14830
|
* @param page — null hoặc 0 hoặc 1: get về trang đầu tiên; 2: get về trang thứ 2
|
|
14816
14831
|
* @return Promise object => response = {vcode, msg, data(array), limit, page, totalpages}
|
|
14817
14832
|
*/
|
|
14818
|
-
getCategorySteps_byIdFatherCategory(id_father_category: string, projection?: object, sort?: object, limit?: number, page?: number): Promise<unknown>;
|
|
14833
|
+
getCategorySteps_byIdFatherCategory(id_father_category: string, query: object, projection?: object, sort?: object, limit?: number, page?: number): Promise<unknown>;
|
|
14819
14834
|
/**
|
|
14820
14835
|
* Lấy về cây danh mục phân cấp mới theo các phần tử nhánh và lá trong mảng IdCategoryArray
|
|
14821
14836
|
* @example:
|
|
@@ -20022,6 +20037,23 @@ export declare class VhDesignAutoWeb {
|
|
|
20022
20037
|
* @return Promise => array(object) = [{},{},..]
|
|
20023
20038
|
*/
|
|
20024
20039
|
static_getDocs_fromService_byFields(database: string, colname: string, query: any, projection?: object, sort?: any, limit?: number): Promise<unknown>;
|
|
20040
|
+
/**
|
|
20041
|
+
* @example:
|
|
20042
|
+
* this.vhDesignAutoWeb.static_getDocs_fromService_byFields_byPages('uvpDssEj8bizjfseCgAc', webapp_abouts', {name:{$eq:'ten abc'}}, {},{},1)
|
|
20043
|
+
.then(array=>{
|
|
20044
|
+
console.log('array', array);
|
|
20045
|
+
},(error:any)=>{
|
|
20046
|
+
console.log('error', error)
|
|
20047
|
+
})
|
|
20048
|
+
* @param colname
|
|
20049
|
+
* @param query
|
|
20050
|
+
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
20051
|
+
* @param sort — null hoặc {}:không sắp xếp; {date:1}: sắp xếp theo ASC; {date:-1}: sắp xếp theo DESC
|
|
20052
|
+
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
20053
|
+
* @param page — null hoặc 0 hoặc 1: get về trang đầu tiên; 2: get về trang thứ 2
|
|
20054
|
+
* @return Promise => array(object) = [{},{},..]
|
|
20055
|
+
*/
|
|
20056
|
+
static_getDocs_fromService_byFields_byPages(database: string, colname: string, query: any, projection?: object, sort?: any, limit?: number, page?: number): Promise<unknown>;
|
|
20025
20057
|
/**
|
|
20026
20058
|
* @example:
|
|
20027
20059
|
* this.vhDesignAutoWeb.getDocs_byFields_fromService_vhuserweb('webapp_abouts', {name:{$eq:'name abc'}}, {},{},6,1)
|