ionic-vhframeworks 8.2.8 → 8.3.0
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.
|
@@ -11831,6 +11831,7 @@ export declare class VhQueryAutoWeb {
|
|
|
11831
11831
|
private vhDesignAutoWeb;
|
|
11832
11832
|
private vhEventMediator;
|
|
11833
11833
|
private http;
|
|
11834
|
+
private renderFactory;
|
|
11834
11835
|
private subprojects;
|
|
11835
11836
|
private pages;
|
|
11836
11837
|
private blocks;
|
|
@@ -11842,7 +11843,16 @@ export declare class VhQueryAutoWeb {
|
|
|
11842
11843
|
private sync_code;
|
|
11843
11844
|
private socket;
|
|
11844
11845
|
private configChanged;
|
|
11845
|
-
|
|
11846
|
+
private renderer;
|
|
11847
|
+
constructor(vhMGDB_database: VhMGDB_database, vhMGDB_socketMongoDB: VhMGDB_socketMongoDB, vhQuery: VhQuery, vhAuth: VhAuth, vhMGDB_rootdatabase: VhMGDB_rootdatabase, vhMGDB_auth: VhMGDB_auth, vhOTP: VhOTP, vhAlgorithm: VhAlgorithm, vhBuildAutoWeb: VhBuildAutoWeb, vhDesignAutoWeb: VhDesignAutoWeb, vhEventMediator: VhEventMediator, http: HttpClient, renderFactory: RendererFactory2);
|
|
11848
|
+
createFlexboxTemplate(id_node: string): Promise<unknown>;
|
|
11849
|
+
binarizeAndFlexboxNode(id_node: string): Promise<unknown>;
|
|
11850
|
+
checkAndArangeVertical(arrayPosition: any, dataPositionNode: any): any[];
|
|
11851
|
+
checkAndArangeHorizontal(arrayPosition: any, dataPositionNode: any): any[];
|
|
11852
|
+
checkCanArangeHorizontal(arrayPosition: any): boolean;
|
|
11853
|
+
findObjectsOfNode(id_node: any, node: any): any;
|
|
11854
|
+
createComponent(object: any, divComponent: any): void;
|
|
11855
|
+
createHTMLandCSSandJS(objects: any, container: any): void;
|
|
11846
11856
|
/**
|
|
11847
11857
|
* Khi người dùng vô web,app thì cần load chi nhánh về trước để người dùng chọn chi nhánh trải nghiệm
|
|
11848
11858
|
* Lưu ý: hàm này chỉ dùng cho dự án Build
|
|
@@ -12506,11 +12516,11 @@ export declare class VhQueryAutoWeb {
|
|
|
12506
12516
|
* type: 1
|
|
12507
12517
|
* }
|
|
12508
12518
|
* this.vhQueryAutoWeb.addEWADocument(data)
|
|
12509
|
-
|
|
12510
|
-
|
|
12511
|
-
|
|
12512
|
-
|
|
12513
|
-
|
|
12519
|
+
.then((EWAdocument)=>{
|
|
12520
|
+
console.log('addEWADocument', EWAdocument);
|
|
12521
|
+
},(error:any)=>{
|
|
12522
|
+
console.log('error', error);
|
|
12523
|
+
})
|
|
12514
12524
|
* @param id_EWAdocument
|
|
12515
12525
|
* @param data : {}
|
|
12516
12526
|
* @return Promise => obj = {} /error
|
|
@@ -12518,23 +12528,23 @@ export declare class VhQueryAutoWeb {
|
|
|
12518
12528
|
*/
|
|
12519
12529
|
addEWADocument(data: object): Promise<unknown>;
|
|
12520
12530
|
/**
|
|
12521
|
-
|
|
12522
|
-
|
|
12523
|
-
|
|
12524
|
-
|
|
12525
|
-
|
|
12526
|
-
|
|
12527
|
-
|
|
12531
|
+
* @example:
|
|
12532
|
+
* let data = {
|
|
12533
|
+
* name: 'TCL',
|
|
12534
|
+
* code_type: 10,
|
|
12535
|
+
* type: 1
|
|
12536
|
+
* }
|
|
12537
|
+
* this.vhQueryAutoWeb.addEWADocument_byID('5fb6780ca2148e09806c5b01', data)
|
|
12528
12538
|
.then((EWAdocument)=>{
|
|
12529
12539
|
console.log('addEWADocument_byID', EWAdocument);
|
|
12530
12540
|
},(error:any)=>{
|
|
12531
12541
|
console.log('error', error);
|
|
12532
12542
|
})
|
|
12533
|
-
|
|
12534
|
-
|
|
12535
|
-
|
|
12536
|
-
|
|
12537
|
-
|
|
12543
|
+
* @param id_EWAdocument
|
|
12544
|
+
* @param data : {}
|
|
12545
|
+
* @return Promise => obj = {} /error
|
|
12546
|
+
* Luu ý: chỉ có 2 trường hợp, hoặc là thêm thành công, hoặc là báo lỗi error
|
|
12547
|
+
*/
|
|
12538
12548
|
addEWADocument_byID(id_EWAdocument: string, data: object): Promise<unknown>;
|
|
12539
12549
|
/**
|
|
12540
12550
|
* @example:
|
|
@@ -13070,7 +13080,7 @@ export declare class VhQueryAutoWeb {
|
|
|
13070
13080
|
/**
|
|
13071
13081
|
* Hàm này trả về 1 object (có đủ thông tin object), trong mỗi object có trường objects (có đủ thông tin từng object)
|
|
13072
13082
|
* @example
|
|
13073
|
-
* this.vhQueryAutoWeb.
|
|
13083
|
+
* this.vhQueryAutoWeb.getDetailObject_byObject('00Tm41GNYN0aYbAtuncH')
|
|
13074
13084
|
.then((object)=>{
|
|
13075
13085
|
console.log('getDetailObject', object);
|
|
13076
13086
|
}, error=>{
|
|
@@ -13079,7 +13089,7 @@ export declare class VhQueryAutoWeb {
|
|
|
13079
13089
|
* @param id_object
|
|
13080
13090
|
* @return Promise => page = {}
|
|
13081
13091
|
*/
|
|
13082
|
-
|
|
13092
|
+
getDetailObject_byObject(object: any): Promise<unknown>;
|
|
13083
13093
|
/**
|
|
13084
13094
|
* @example
|
|
13085
13095
|
* this.vhQueryAutoWeb.getObjects_byIBlock('00Tm41GNYN0aYbAtuncH')
|