ionic-vhframeworks 9.0.4 → 9.0.5
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.
|
@@ -177,6 +177,29 @@ export declare class VhAlgorithm {
|
|
|
177
177
|
private papa;
|
|
178
178
|
private dom;
|
|
179
179
|
constructor(platform: Platform, file: File, socialSharing: SocialSharing, papa: Papa, dom: DomSanitizer);
|
|
180
|
+
private _keyStr;
|
|
181
|
+
encodeString(e: any): string;
|
|
182
|
+
decodeString(e: any): string;
|
|
183
|
+
private _utf8_encode;
|
|
184
|
+
private _utf8_decode;
|
|
185
|
+
/**
|
|
186
|
+
* Hàm dùng xác định biến, trường dữ liệu nào đó có phải là stringify (JSON) hay ko (stringify là loại dữ liệu
|
|
187
|
+
* mà có thể thể parse thành mảng hoặc object)
|
|
188
|
+
* @example:
|
|
189
|
+
* obj = this.vhAlgorithm.isJSON(stringify)
|
|
190
|
+
* @param stringify
|
|
191
|
+
* @returns true/false
|
|
192
|
+
*/
|
|
193
|
+
isJSON(stringify: any): boolean;
|
|
194
|
+
/**
|
|
195
|
+
* Do mysql ko lưu đc kiểu dữ liệu array, object nên khi lưu các trường này phải chuyển sang json(string),
|
|
196
|
+
* do đó khi lấy về phải chuyển các trường này lại thành array, object
|
|
197
|
+
* @example:
|
|
198
|
+
* obj = this.vhAlgorithm.normalizationData_fromMySQL(data)
|
|
199
|
+
* @param docs
|
|
200
|
+
* @returns
|
|
201
|
+
*/
|
|
202
|
+
normalizationData_fromMySQL(docs: any): any;
|
|
180
203
|
/**
|
|
181
204
|
* Chuyển kiểu dữ liệu obj là contructor thành object
|
|
182
205
|
* @example:
|
|
@@ -18534,6 +18557,7 @@ export declare class VhBuildAutoWeb {
|
|
|
18534
18557
|
signUpWebAppOwner(email: string, password: string, phoneNumber: any, info: any): Promise<unknown>;
|
|
18535
18558
|
getProjectName(): string;
|
|
18536
18559
|
getCSSstorage(): any;
|
|
18560
|
+
getDBstorage(): any;
|
|
18537
18561
|
/**
|
|
18538
18562
|
* @example SET:
|
|
18539
18563
|
* this.vhBuildAutoWeb.localStorageSET('local_name', {a=1, b='hai'});
|