ionic-vhframeworks 8.8.0 → 8.8.2

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.
@@ -1843,7 +1843,7 @@ export declare class VhImage {
1843
1843
  if(rsp.vcode === 0){
1844
1844
  if(options.compress_type == 'no-compress'){
1845
1845
 
1846
- }else if(options.compress_type == 'compress-sreen'){
1846
+ }else if(options.compress_type == 'compress-screen'){
1847
1847
 
1848
1848
  }else if(options.compress_type == 'compress-frame'){
1849
1849
 
@@ -1866,10 +1866,10 @@ export declare class VhImage {
1866
1866
  * @param options: {compress_type, resolution}
1867
1867
  * @field compress_type:
1868
1868
  * + 'no-compress': Không nén ảnh sau khi tải lên
1869
- * + '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ị
1869
+ * + 'compress-screen': 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ị
1870
1870
  * + '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ị
1871
1871
  * @field resolution: {} hoặc {width, height} của màn hình hoặc {width, height} của khung hình
1872
- * @returns Object => obj = {vcode, message, data, error}
1872
+ * @returns Object => obj = {vcode, msg, data, error}
1873
1873
  * vcode === 0 : upload ảnh thành công
1874
1874
  * vcode === 1 : lỗi import file ảnh
1875
1875
  * vcode === 2 : lỗi upload file ảnh
@@ -12060,9 +12060,9 @@ export declare class VhQueryAutoWeb {
12060
12060
  */
12061
12061
  deployWebAppsource_toBuild_byEmail(build_email: string, build_password: string): Promise<unknown>;
12062
12062
  /**
12063
- * Hàm này đẩy source webapp từ dự án Autoweb_design lên hosting dự án Autoweb_build
12063
+ * Hàm này đẩy source webapp từ dự án Autoweb_design lên hosting dự án Autoweb_build, dùng database Cloud Mongo của Viethas
12064
12064
  * @example:
12065
- * this.vhQueryAutoWeb.deployWebAppsource_toHosting_byEmail('domain05', 'devdomain05@gmail.com','123456')
12065
+ * this.vhQueryAutoWeb.deployWebAppsource_toMongoHosting_byEmail('domain05', 'devdomain05@gmail.com','123456')
12066
12066
  .then((rsp:any)=>{
12067
12067
  console.log('rsp', rsp);
12068
12068
  if(rsp.vcode === 0){
@@ -12080,7 +12080,48 @@ export declare class VhQueryAutoWeb {
12080
12080
  * vcode == 0: Message sent to email address successfully
12081
12081
  * vcode == 1: Email address does not exist
12082
12082
  */
12083
- deployWebAppsource_toHosting_byEmail(hosting: string, hosting_email: string, hosting_password: string, cloning_options: any): Promise<unknown>;
12083
+ deployWebAppsource_toMongoHosting_byEmail(hosting: string, hosting_email: string, hosting_password: string, cloning_options: any): Promise<unknown>;
12084
+ /**
12085
+ * Hàm này đẩy source webapp từ dự án Autoweb_design lên hosting dự án Autoweb_build, dùng database MySQL của hosting
12086
+ * @example:
12087
+ * this.vhQueryAutoWeb.deployWebAppsource_toMySqlHosting_byEmail('domain05', 'devdomain05@gmail.com','123456')
12088
+ .then((rsp:any)=>{
12089
+ console.log('rsp', rsp);
12090
+ if(rsp.vcode === 0){
12091
+ //-----------your code 0-----------
12092
+ }else if(rsp.vcode === 1){
12093
+ //-----------your code 1-----------
12094
+ }
12095
+ },(error:any)=>{
12096
+ console.log('error', error)
12097
+ })
12098
+ * @param hosting_email
12099
+ * @param hosting_password
12100
+ * @param cloning_options = {source_webapp:none/renew/overwrite, template_webapp: none/renew/overwrite, commondata_webapp: none/renew/overwrite, database_webapp: none/renew/overwrite}
12101
+ * @return Promise object => response = {vcode, msg}
12102
+ * vcode == 0: Message sent to email address successfully
12103
+ * vcode == 1: Email address does not exist
12104
+ */
12105
+ deployWebAppsource_toMySqlHosting_byEmail(hosting: string, hosting_email: string, hosting_password: string, cloning_options: any): Promise<unknown>;
12106
+ /**
12107
+ * Hàm này tải source webapp từ dự án Autoweb_design về dạng package, chép lên hosting, chạy url cài đặt, sau đó vào website bình thường
12108
+ * @example:
12109
+ * this.vhQueryAutoWeb.deployWebAppsource_toMySqlHosting_byEmail()
12110
+ .then((rsp:any)=>{
12111
+ console.log('rsp', rsp);
12112
+ if(rsp.vcode === 0){
12113
+ //-----------your code 0-----------
12114
+ let url = rsp.data;
12115
+ window.open(url);
12116
+ }else if(rsp.vcode === 1){
12117
+ //-----------your code 1-----------
12118
+ }
12119
+ },(error:any)=>{
12120
+ console.log('error', error)
12121
+ })
12122
+ * @return Promise object => response = {vcode, msg, data}
12123
+ */
12124
+ deployWebAppsource_toPackage(): Promise<unknown>;
12084
12125
  /**
12085
12126
  * Hàm này tạo tài khoản hosting cho dự án Autoweb_Build
12086
12127
  * @example:
@@ -12945,6 +12986,18 @@ export declare class VhQueryAutoWeb {
12945
12986
  *
12946
12987
  */
12947
12988
  pipeDetailPage_byLink(link: any): Promise<unknown>;
12989
+ /**
12990
+ * Hàm này giúp đồng bộ giao diện người dùng khi có sự thay đổi giá trị ở database một cách tự động,
12991
+ * nghĩa là khi thêm, xóa, sửa các giá trị trong database thì giao diện tự động thay đổi theo
12992
+ * @example:
12993
+ this.vhQueryAutoWeb.pipeDetailPage('66bb408265449c3a4b8a8965')
12994
+ .then(() => {
12995
+ //Do something if you find it necessary.
12996
+ })
12997
+ * @param block_or_object
12998
+ * @returns null: chỉ là 1 tìn hiệu để biết database có sự thay đổi
12999
+ */
13000
+ pipeDetailPage(id_page: string): Promise<unknown>;
12948
13001
  /**
12949
13002
  * Hàm kiểm tra block hay object có phải là nhân bản không
12950
13003
  * @example:
@@ -14811,6 +14864,7 @@ export declare class VhQueryAutoWeb {
14811
14864
  */
14812
14865
  getCategorys_byFields(query: object, projection?: object, sort?: object, limit?: number, page?: number): Promise<unknown>;
14813
14866
  /**
14867
+ * Lấy về cây danh mục phân cấp mới theo id_father_category
14814
14868
  * @example:▲
14815
14869
  * this.vhQueryAutoWeb.getCategorySteps_byIdFatherCategory("5QKS9fq2rsl4egOJCf7h", {}, {},{},6,1)
14816
14870
  .then(response=>{
@@ -19242,7 +19296,7 @@ export declare class VhDesignAutoWeb {
19242
19296
  deployWebAppsource_toBuild_byEmail(database: string, build_email: string, build_password: string): Promise<any>;
19243
19297
  /**
19244
19298
  * @example:
19245
- * this.vhDesignAutoWeb.deployWebAppsource_toHosting_byEmail('nlQaKuDIMi6M7XtwmNMk', 'domain05', 'devhosting@gmail.com', '***')
19299
+ * this.vhDesignAutoWeb.deployWebAppsource_toMongoHosting_byEmail('nlQaKuDIMi6M7XtwmNMk', 'domain05', 'devhosting@gmail.com', '***')
19246
19300
  .then((response:any)=>{
19247
19301
  console.log('response', response);
19248
19302
  if(response.vcode === 0){
@@ -19260,7 +19314,29 @@ export declare class VhDesignAutoWeb {
19260
19314
  * vcode == 0: Message sent to email address successfully
19261
19315
  * vcode == 1: Email address does not exist
19262
19316
  */
19263
- deployWebAppsource_toHosting_byEmail(database: string, hosting: string, hosting_email: string, hosting_password: string, cloning_options: any): Promise<any>;
19317
+ deployWebAppsource_toMongoHosting_byEmail(database: string, hosting: string, hosting_email: string, hosting_password: string, cloning_options: any): Promise<any>;
19318
+ /**
19319
+ * @example:
19320
+ * this.vhDesignAutoWeb.deployWebAppsource_toMySqlHosting_byEmail('nlQaKuDIMi6M7XtwmNMk', 'domain05', 'devhosting@gmail.com', '***')
19321
+ .then((response:any)=>{
19322
+ console.log('response', response);
19323
+ if(response.vcode === 0){
19324
+ //-----------your code 0-----------
19325
+ }else if(response.vcode === 1){
19326
+ //-----------your code 1-----------
19327
+ }
19328
+ },(error:any)=>{
19329
+ console.log('error', error)
19330
+ })
19331
+ * @param email
19332
+ * @param password
19333
+ * @param cloning_options = {source_webapp:none/renew/overwrite, template_webapp: none/renew/overwrite, database_webapp: none/renew/overwrite}
19334
+ * @return Promise object => response = {vcode, msg}
19335
+ * vcode == 0: Message sent to email address successfully
19336
+ * vcode == 1: Email address does not exist
19337
+ */
19338
+ deployWebAppsource_toMySqlHosting_byEmail(database: string, hosting: string, hosting_email: string, hosting_password: string, cloning_options: any): Promise<any>;
19339
+ deployWebAppsource_toPackage(database: string): Promise<any>;
19264
19340
  /**
19265
19341
  * @example:
19266
19342
  * this.vhDesignAutoWeb.forgotPasswordEndUser_byEmail('salesf110@gmail.com','h674567')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "8.8.0",
3
+ "version": "8.8.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"