fw-webbuilder 1.1.290 → 1.1.292

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.
package/index.d.ts CHANGED
@@ -498,7 +498,10 @@ declare class webBuilderService {
498
498
  openManageImgsForEditor(callback: (url: string, meta?: any) => void): void;
499
499
  /**
500
500
  * hàm chuyển tên thành slug
501
- * vd: "Giới thieu" => "gioi-thieu"
501
+ * Chuyển đổi tên/tiêu đề thành URL Slug chuẩn SEO.
502
+ * Loại bỏ toàn bộ ký tự đặc biệt, dấu câu, khoảng trắng thừa, gộp dấu gạch ngang liên tiếp.
503
+ * vd: "MỞ ĐĂNG KÝ LỚP HỌC TRẢI NGHIỆM HSK 1 - 3.0 - HOÀN TOÀN MIỄN PHÍ - DẪN DẮT BỞI THS. TIỂU MINH"
504
+ * => "mo-dang-ky-lop-hoc-trai-nghiem-hsk-1-3-0-hoan-toan-mien-phi-dan-dat-boi-ths-tieu-minh"
502
505
  * @param name tên cần format
503
506
  */
504
507
  convertNameToSlug(name: string): string;
@@ -588,6 +591,7 @@ declare class AuthService {
588
591
  handleGoogleLogin(idToken: string): Promise<any>;
589
592
  handleLogout(): Promise<any>;
590
593
  checkAuthUser(): Observable<boolean>;
594
+ setUser(user: any): void;
591
595
  getUser(): any;
592
596
  sendActivationEmail(token: any): Promise<Object>;
593
597
  forgotPassword(email: string): Promise<Object>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.290",
3
+ "version": "1.1.292",
4
4
  "peerDependencies": {
5
5
  "@fingerprintjs/fingerprintjs": "^5.2.0",
6
6
  "@abacritt/angularx-social-login": "2.4.0",