ionic-vhframeworks 8.4.4 → 8.4.7

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.
@@ -511,8 +511,33 @@ export declare class VhAuth {
511
511
  * @return Promise => user = {}
512
512
  */
513
513
  onAuthStateChanged(): Promise<unknown>;
514
- signUpOwner_AutoWeb_Designer(email: string, password: string, phoneNumber: string, info: object): Promise<unknown>;
515
- signUpOwner_AutoWeb_Mongo_Designer(email: string, password: string, phoneNumber: string, info: object): Promise<unknown>;
514
+ /**
515
+ * @example:
516
+ * this.vhAuth.signUpOwner_AutoWeb_Designer('huyleduc92@gmail.com', 'Vh123456', '+84909925359',{})
517
+ .then((rsp:any)=>{
518
+ if(rsp.vcode === 0){
519
+ let owner = rsp.data;
520
+ }else if(rsp.vcode === 1){
521
+ //thông báo trùng số đt
522
+ }else if(rsp.vcode === 2){
523
+ //thông báo trùng email
524
+ }else if(rsp.vcode === 3){
525
+ //thông báo số điện thoại sai định dạng
526
+ }
527
+ })
528
+ * @param email
529
+ * @param pwd: password
530
+ * @param phoneNumber
531
+ * @param info
532
+ * @return Promise object => rsp = {vcode, message}
533
+ * vcode === 0: phoneNumber, email trước đây chưa ký trên hệ thông nên bây giờ có thể dùng để đăng ký
534
+ * mã opt gửi về điện thoại người dùng
535
+ * vcode === 1: Hiện thị ra thông báo cho người dùng biết rằng số điện thoại của họ đã được đăng ký sử dụng trước đây, nên giờ ko dùng đc nữa, phải dùng số đt khác
536
+ * vcode === 2: Hiện thị ra thông báo cho người dùng biết rằng email của họ đã được đăng ký sử dụng trước đây, nên giờ ko dùng đc nữa, phải dùng email khác
537
+ * vcode === 3: Hiện thị ra thông báo cho người dùng biết rằng số điện thoại của họ nhập vào không đúng với định dạng của nhà mạng
538
+ * @notice : nhớ kiểm tra email đúng cú pháp và chuỗi trước @gmail.com có chiều dài lớn hơn bằng 6 thì nút "Đồng ý" mới sáng lên
539
+ */
540
+ signUpOwner_AutoWeb_Designer(email: string, pwd: string, phoneNumber: string, info: object): Promise<unknown>;
516
541
  signUpOwner_AutoWeb_Developer(email: string, password: string, phoneNumber: string, info: any): Promise<unknown>;
517
542
  /**
518
543
  * @example:
@@ -883,7 +908,7 @@ export declare class VhAuth {
883
908
  initializeBuildProject(projectname: string, dbstorage: string, imgstorage: string, cssstorage: string, dbserverversion: string, camserverversion: string, fwcode: number, database: string): any;
884
909
  /**
885
910
  * @example:
886
- * this.vhAuth.initializeDesignProject('vhsales','firebase-mongo', 'viethas', 'firebase', 'research', 'research', 324852)
911
+ * this.vhAuth.initializeDesignProject('vhuserweb','mongo', 'viethas', 'mongo', 'research', 'research', 240...)
887
912
  .then(()=>{
888
913
  resolve(null);
889
914
  },error=>{
@@ -12009,7 +12034,7 @@ export declare class VhQueryAutoWeb {
12009
12034
  * @example:
12010
12035
  * this.vhQueryAutoWeb.signUpWebAppOwner('huyleduc92@gmail.com', '123456', '+84909925359',{})
12011
12036
  .then((owner)=>{
12012
- console.log('signUpOwner_AutoWeb_Build', owner);
12037
+ console.log('signUpWebAppOwner', owner);
12013
12038
  },(error:any)=>{
12014
12039
  console.log('error', error);
12015
12040
  })
@@ -18964,7 +18989,9 @@ export declare class VhDesignAutoWeb {
18964
18989
  */
18965
18990
  signUpWebAppOwner(email: string, password: string, phoneNumber: any, info: any): Promise<unknown>;
18966
18991
  detailPage: any;
18992
+ detailFreeBlock: any;
18967
18993
  getDetailPage(id_page: any): Promise<unknown>;
18994
+ getDetailFreeBlock(id_block: any): Promise<unknown>;
18968
18995
  getDetailBlock(id_block: any): Promise<unknown>;
18969
18996
  getDetailBlock_byBlock(block: any): Promise<unknown>;
18970
18997
  getDetailObject(id_object: any): Promise<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "8.4.4",
3
+ "version": "8.4.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"