ionic-vhframeworks 8.7.7 → 8.7.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.
@@ -1840,10 +1840,8 @@ export declare class VhImage {
1840
1840
  .then((rsp:any)=>{
1841
1841
  console.log('rsp', rsp);
1842
1842
  if(rsp.vcode === 0){
1843
- if(options.compress_type == 'no-compress-all'){
1843
+ if(options.compress_type == 'no-compress'){
1844
1844
 
1845
- }else if(options.compress_type == 'no-compress-one'){
1846
-
1847
1845
  }else if(options.compress_type == 'compress-sreen'){
1848
1846
 
1849
1847
  }else if(options.compress_type == 'compress-frame'){
@@ -1866,11 +1864,10 @@ export declare class VhImage {
1866
1864
  * @param path: 'images/database/categories' or 'images/database/categories/products'
1867
1865
  * @param options: {compress_type, resolution}
1868
1866
  * @field compress_type:
1869
- * + 'no-compress-all': Không nén ảnh sau khi tải lên, 1 ảnh dùng chung cho tất cả các thiết bị (platform)
1870
- * + 'no-compress-one': Không nén ảnh sau khi tải lên, mỗi thiết bị upload lên server 1 ảnh riêng
1867
+ * + 'no-compress': Không nén ảnh sau khi tải lên
1871
1868
  * + 'compress-sreen': Nén ảnh sau khi tải lên, nén ảnh theo tỉ lệ màn hình của mỗi thiết bị
1872
1869
  * + 'compress-frame': Nén ảnh sau khi tải lên, nén ảnh theo tỉ lệ màn hình của mỗi khung hình thiết bị
1873
- * @field resolution: {desktop: {width, height}, mobile_landscape: {}, mobile_portrait:{}, tablet_landscape:{}, tablet_portrait:{}}
1870
+ * @field resolution: {} hoặc {width, height} của màn hình hoặc {width, height} của khung hình
1874
1871
  * @returns Object => obj = {vcode, message, data, error}
1875
1872
  * vcode === 0 : upload ảnh thành công
1876
1873
  * vcode === 1 : lỗi import file ảnh
@@ -14693,9 +14690,7 @@ export declare class VhQueryAutoWeb {
14693
14690
  * @param query
14694
14691
  * @param value
14695
14692
  * @param sort null hoặc {}:không sắp xếp; {date:1}: sắp xếp date theo ASC; {date:-1}: sắp xếp date theo DESC
14696
- * @param limit null hoặc 0: không giới hạn record get về; 2: get về 2 record
14697
- * @param page — null hoặc 0 hoặc 1: get về trang đầu tiên; 2: get về trang thứ 2
14698
- * @return Promise object => response = {vcode, msg, data(array), limit, page, totalpages}
14693
+ * @return Promise object => response = {vcode, msg, data(array)}
14699
14694
  */
14700
14695
  searchList(colname: string, value: any, query?: any, sort?: object): Promise<unknown>;
14701
14696
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "8.7.7",
3
+ "version": "8.7.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"