ionic-vhframeworks 8.8.3 → 8.8.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.
@@ -13171,13 +13171,23 @@ export declare class VhQueryAutoWeb {
13171
13171
  /**
13172
13172
  * @example:
13173
13173
  * this.vhQueryAutoWeb.pipeDetailPage_byCtrl_C('5fb6780ca2148e09806c5b01')
13174
+ .then((rsp)=>{
13175
+ console.log('pipeDetailPage_byCtrl_C', rsp);
13176
+ },(error:any)=>{
13177
+ console.log('error', error)
13178
+ })
13174
13179
  */
13175
- pipeDetailPage_byCtrl_C(id_copy_node: any): void;
13180
+ pipeDetailPage_byCtrl_C(id_copy_node: any): Promise<unknown>;
13176
13181
  /**
13177
13182
  * @example:
13178
13183
  * this.vhQueryAutoWeb.pipeDetailPage_byCtrl_V('5fb67fda87c0f21d484cbdf3')
13184
+ .then((rsp)=>{
13185
+ console.log('pipeDetailPage_byCtrl_V', rsp);
13186
+ },(error:any)=>{
13187
+ console.log('error', error)
13188
+ })
13179
13189
  */
13180
- pipeDetailPage_byCtrl_V(id_paste_node: any): void;
13190
+ pipeDetailPage_byCtrl_V(id_paste_node: any): Promise<unknown>;
13181
13191
  /**
13182
13192
  * @example:
13183
13193
  * let add_code = this.vhAlgorithm.ObjectId(10);
@@ -15263,6 +15273,91 @@ export declare class VhQueryAutoWeb {
15263
15273
  * @return Promise => array(object) = [{},{},..]
15264
15274
  */
15265
15275
  getCommonDatas_byFields(query: any, projection?: object, sort?: any, limit?: number): Promise<unknown>;
15276
+ /**
15277
+ * Hàm này dùng cho dữ liệu cấu hình, cài đặt trong quá trình thiết kế liên quan đến dự án, page, block, object và admin
15278
+ * @example:
15279
+ * this.vhQueryAutoWeb.addSetup({name:'config 1'})
15280
+ .then((rsp:any)=>{
15281
+ if(rsp.vcode === 0){
15282
+ let setup = rsp.data;
15283
+ }
15284
+ }, error=>{
15285
+ reject(error)
15286
+ })
15287
+ * @param data
15288
+ * @return Promise => rsp ={vcode, msg, data(object)} / error
15289
+ * @notice : hàm này chỉ add được dữ liệu sau khi khách hàng hoặc nhân viên đã đăng nhập
15290
+ * vcode == 0: success
15291
+ * vcode == 11: 'not logged in
15292
+ */
15293
+ addSetup(data: any): Promise<unknown>;
15294
+ /**
15295
+ * @example:
15296
+ * this.vhQueryAutoWeb.updateSetup('5fb6780ca2148e09806c5b01', {quantity:400})
15297
+ .then((rsp:any)=>{
15298
+ if(rsp.vcode === 0){
15299
+ console.log('updateSetup succeed');
15300
+ }
15301
+ }, error=>{
15302
+ console.log('error', error);
15303
+ })
15304
+ * @param id_setup
15305
+ * @param data
15306
+ * @return Promise object => rsp ={vcode, msg, data(undefined)} / error
15307
+ * @notice : hàm này chỉ add được dữ liệu sau khi khách hàng hoặc nhân viên đã đăng nhập
15308
+ * vcode == 0: success
15309
+ * vcode == 11: 'not logged in
15310
+ */
15311
+ updateSetup(id_setup: string, data: object): Promise<unknown>;
15312
+ /**
15313
+ * @example:
15314
+ * this.vhQueryAutoWeb.deleteSetup('5fb67fda87c0f21d484cbdf3')
15315
+ .then((rsp:any)=>{
15316
+ if(rsp.vcode === 0){
15317
+ console.log('deleteProduct succeed');
15318
+ }
15319
+ }, error=>{
15320
+ reject(error)
15321
+ })
15322
+ * @param id_setup
15323
+ * @return Promise => rsp ={vcode, msg} / error
15324
+ * @notice : hàm này chỉ add được dữ liệu sau khi khách hàng hoặc nhân viên đã đăng nhập
15325
+ * vcode == 0: success
15326
+ * vcode == 11: 'not logged in
15327
+ */
15328
+ deleteSetup(id_setup: string): Promise<unknown>;
15329
+ /**
15330
+ * @example
15331
+ * this.vhQueryAutoWeb.getSetup('5fb67fda87c0f21d484cbdf3')
15332
+ .then((setup)=>{
15333
+ console.log('getSetup', setup);
15334
+ })
15335
+ * @param id_setup
15336
+ * @return Promise => obj ={} or null
15337
+ */
15338
+ getSetup(id_setup: string): Promise<unknown>;
15339
+ /**
15340
+ * @example
15341
+ * this.vhQueryAutoWeb.getSetups()
15342
+ .then((response)=>{
15343
+ console.log('getSetups', response);
15344
+ })
15345
+ * @return array(object) = [{},{},..]
15346
+ */
15347
+ private getSetups;
15348
+ /**
15349
+ * @example
15350
+ * this.vhQueryAutoWeb.getSetups_byFields({id_news:{$eq:'00Tm41GNYN0aYbAtuncH'}}, {}, {}, 0)
15351
+ .then((products)=>{
15352
+ console.log('getSetups_byFields', products);
15353
+ })
15354
+ * @param query
15355
+ * @param projection
15356
+ * @param sort
15357
+ * @param limit
15358
+ * @return Promise => array(object) = [{},{},..]
15359
+ */
15360
+ getSetups_byFields(query: any, projection?: object, sort?: any, limit?: number): Promise<unknown>;
15266
15361
  /**
15267
15362
  * @example:
15268
15363
  * this.vhQueryAutoWeb.addNewsCategory({name:'Danh mục 1'})
@@ -20021,16 +20116,22 @@ export declare class VhDesignAutoWeb {
20021
20116
  dynamic_getDetailFood(id_sub_or_food: any): Promise<unknown>;
20022
20117
  createCode_Ctrl_Z(): void;
20023
20118
  setCode_Ctrl_Z(code: any): void;
20024
- pipeDetailPage_byCtrl_C(id_copy_nodes: any): Promise<unknown>;
20119
+ /**
20120
+ * this.vhDesignAutoWeb.pipeDetailPage_byCtrl_C('5fb67fda87c0f21d484cbdf3')
20121
+ .then((doc)=>{
20122
+ console.log('pipeDetailPage_byCtrl_C', doc);
20123
+ },(error:any)=>{
20124
+ console.log('error', error)
20125
+ })
20126
+ */
20127
+ pipeDetailPage_byCtrl_C(node: any): Promise<unknown>;
20025
20128
  pipeDetailPage_byCtrl_V(id_paste_node: any): Promise<unknown>;
20026
- pipeDetailPage_byCtrl_Z(): Promise<unknown>;
20027
- pipeDetailPage_byCtrl_Y(): Promise<unknown>;
20028
20129
  /**
20029
- * vhDesignAutoWeb
20030
- * @param block
20031
- * @returns
20032
- */
20033
- pasteDetailBlock_byCtrl_V(block: any, id_paste_node: string): Promise<unknown>;
20130
+ * vhDesignAutoWeb
20131
+ * @param block
20132
+ * @returns
20133
+ */
20134
+ pasteDetailBlock_toPage_byCtrl_V(block: any, id_paste_node: string): Promise<unknown>;
20034
20135
  /**
20035
20136
  * 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)
20036
20137
  * @example
@@ -20043,7 +20144,10 @@ export declare class VhDesignAutoWeb {
20043
20144
  * @param id_object
20044
20145
  * @return Promise => page = {}
20045
20146
  */
20046
- pasteDetailObject_byCtrl_V(object: any, id_paste_node: string): Promise<unknown>;
20147
+ pasteDetailObject_toBlock_byCtrl_V(object: any, id_paste_node: string): Promise<unknown>;
20148
+ pasteDetailObject_toObject_byCtrl_V(object: any, id_paste_node: string): Promise<unknown>;
20149
+ pipeDetailPage_byCtrl_Z(): Promise<unknown>;
20150
+ pipeDetailPage_byCtrl_Y(): Promise<unknown>;
20047
20151
  private deleteANDbackupObject_Ctrl_Z;
20048
20152
  private deleteANDbackupObject_Ctrl_Y;
20049
20153
  private restoreObject_Ctrl_Y;
@@ -20058,6 +20162,12 @@ export declare class VhDesignAutoWeb {
20058
20162
  private update_updateObject_Ctrl_Y;
20059
20163
  private update_updateBlock_Ctrl_Z;
20060
20164
  private update_updateBlock_Ctrl_Y;
20165
+ /**
20166
+ *
20167
+ * @param _id
20168
+ * @param value
20169
+ * @returns
20170
+ */
20061
20171
  addObject_Ctrl_Z(_id: any, value: any): void;
20062
20172
  private _addObject_Ctrl_Z;
20063
20173
  updateObject_Ctrl_Z(_id: any, value: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "8.8.3",
3
+ "version": "8.8.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"