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/fesm2022/fw-webbuilder.mjs +1 -1
- package/index.d.ts +5 -1
- package/package.json +1 -1
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
|
-
*
|
|
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>;
|