@sankhyalabs/sankhyablocks 1.3.31-beta.14 → 1.3.31-beta.17

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.
Files changed (182) hide show
  1. package/dist/cjs/{SnkMessageBuilder-bb55d4c4.js → SnkMessageBuilder-cb132e6d.js} +134 -1
  2. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  3. package/dist/cjs/css-shim-b8158822.js +6 -0
  4. package/dist/cjs/dom-36862b77.js +75 -0
  5. package/dist/cjs/filter-item-type.enum-e2e1bc5b.js +14 -0
  6. package/dist/cjs/index-02201bc9.js +2397 -0
  7. package/dist/cjs/index-b0b676c5.js +3298 -0
  8. package/dist/cjs/loader.cjs.js +19 -3
  9. package/dist/cjs/sankhyablocks.cjs.js +117 -5
  10. package/dist/cjs/shadow-css-346c0795.js +389 -0
  11. package/dist/cjs/snk-application.cjs.entry.js +542 -66
  12. package/dist/cjs/snk-crud.cjs.entry.js +1 -1
  13. package/dist/cjs/snk-data-unit.cjs.entry.js +23 -24
  14. package/dist/cjs/snk-filter-bar.cjs.entry.js +199 -0
  15. package/dist/cjs/snk-filter-binary-select.cjs.entry.js +47 -0
  16. package/dist/cjs/snk-filter-detail.cjs.entry.js +44 -0
  17. package/dist/cjs/snk-filter-item.cjs.entry.js +131 -0
  18. package/dist/cjs/snk-filter-list.cjs.entry.js +91 -0
  19. package/dist/cjs/snk-filter-number.cjs.entry.js +23 -0
  20. package/dist/cjs/snk-filter-period.cjs.entry.js +26 -0
  21. package/dist/cjs/snk-filter-search.cjs.entry.js +44 -0
  22. package/dist/cjs/snk-filter-text.cjs.entry.js +22 -0
  23. package/dist/cjs/{snk-form_2.cjs.entry.js → snk-form.cjs.entry.js} +3 -65
  24. package/dist/cjs/snk-grid.cjs.entry.js +69 -0
  25. package/dist/cjs/snk-pesquisa.cjs.entry.js +5 -5
  26. package/dist/cjs/snk-taskbar.cjs.entry.js +5 -4
  27. package/dist/cjs/{taskbar-elements-2888ceb6.js → taskbar-elements-efa44ff1.js} +1 -1
  28. package/dist/cjs/teste-pesquisa.cjs.entry.js +5 -5
  29. package/dist/collection/collection-manifest.json +11 -2
  30. package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +7 -0
  31. package/dist/collection/components/snk-application/snk-application.js +775 -695
  32. package/dist/collection/components/snk-crud/snk-crud.js +75 -73
  33. package/dist/collection/components/snk-data-unit/snk-data-unit.js +262 -250
  34. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +88 -0
  35. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +64 -0
  36. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +69 -0
  37. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +118 -0
  38. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +63 -0
  39. package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type.enum.js +10 -0
  40. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +113 -0
  41. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +209 -0
  42. package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +182 -0
  43. package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +99 -0
  44. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +257 -0
  45. package/dist/collection/components/snk-form/snk-form.js +111 -111
  46. package/dist/collection/components/snk-grid/snk-grid.css +14 -1
  47. package/dist/collection/components/snk-grid/snk-grid.js +93 -92
  48. package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +80 -79
  49. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +1 -2
  50. package/dist/collection/components/snk-taskbar/snk-taskbar.js +128 -116
  51. package/dist/collection/components/teste-pesquisa/teste-pesquisa.js +12 -9
  52. package/dist/collection/lib/http/data-fetcher/DataFetcher.js +24 -2
  53. package/dist/collection/lib/http/data-fetcher/fetchers/dataunit-fetcher.js +1 -1
  54. package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js +268 -0
  55. package/dist/collection/lib/message/SnkMessageBuilder.js +3 -1
  56. package/dist/collection/lib/message/resources/snk-data-unit.msg.js +1 -0
  57. package/dist/collection/lib/message/resources/snk-filter-bar.msg.js +14 -0
  58. package/dist/components/SnkMessageBuilder.js +134 -2
  59. package/dist/components/filter-item-type.enum.js +12 -0
  60. package/dist/components/index.d.ts +17 -5
  61. package/dist/components/index.js +21 -0
  62. package/dist/components/index2.js +2384 -0
  63. package/dist/components/snk-application2.js +508 -30
  64. package/dist/components/snk-crud.js +25 -1
  65. package/dist/components/snk-data-unit.js +3 -4
  66. package/dist/components/snk-filter-bar.d.ts +11 -0
  67. package/dist/components/snk-filter-bar.js +6 -0
  68. package/dist/components/snk-filter-bar2.js +230 -0
  69. package/dist/components/snk-filter-binary-select.d.ts +11 -0
  70. package/dist/components/snk-filter-binary-select.js +63 -0
  71. package/dist/components/snk-filter-detail.d.ts +11 -0
  72. package/dist/components/snk-filter-detail.js +6 -0
  73. package/dist/components/snk-filter-detail2.js +58 -0
  74. package/dist/components/snk-filter-item.d.ts +11 -0
  75. package/dist/components/snk-filter-item.js +6 -0
  76. package/dist/components/snk-filter-item2.js +151 -0
  77. package/dist/components/snk-filter-list.d.ts +11 -0
  78. package/dist/components/snk-filter-list.js +6 -0
  79. package/dist/components/snk-filter-list2.js +108 -0
  80. package/dist/components/snk-filter-number.d.ts +11 -0
  81. package/dist/components/snk-filter-number.js +39 -0
  82. package/dist/components/snk-filter-period.d.ts +11 -0
  83. package/dist/components/snk-filter-period.js +42 -0
  84. package/dist/components/snk-filter-search.d.ts +11 -0
  85. package/dist/components/snk-filter-search.js +62 -0
  86. package/dist/components/snk-filter-text.d.ts +11 -0
  87. package/dist/components/snk-filter-text.js +38 -0
  88. package/dist/components/snk-form2.js +1 -1
  89. package/dist/components/snk-grid2.js +28 -4
  90. package/dist/components/snk-pesquisa2.js +1 -1
  91. package/dist/components/snk-taskbar2.js +2 -1
  92. package/dist/components/teste-pesquisa.js +1 -1
  93. package/dist/esm/{SnkMessageBuilder-17d91b88.js → SnkMessageBuilder-cff80920.js} +134 -2
  94. package/dist/esm/app-globals-0f993ce5.js +3 -0
  95. package/dist/esm/css-shim-b3f2ee8d.js +4 -0
  96. package/dist/esm/dom-665d6011.js +73 -0
  97. package/dist/esm/filter-item-type.enum-61fbf80a.js +12 -0
  98. package/dist/esm/index-2b4d2d14.js +3262 -0
  99. package/dist/esm/index-e5b61043.js +2384 -0
  100. package/dist/esm/loader.js +19 -3
  101. package/dist/esm/polyfills/css-shim.js +1 -1
  102. package/dist/esm/sankhyablocks.js +117 -5
  103. package/dist/esm/shadow-css-b18e99d7.js +387 -0
  104. package/dist/esm/snk-application.entry.js +507 -31
  105. package/dist/esm/snk-crud.entry.js +1 -1
  106. package/dist/esm/snk-data-unit.entry.js +4 -5
  107. package/dist/esm/snk-filter-bar.entry.js +195 -0
  108. package/dist/esm/snk-filter-binary-select.entry.js +43 -0
  109. package/dist/esm/snk-filter-detail.entry.js +40 -0
  110. package/dist/esm/snk-filter-item.entry.js +127 -0
  111. package/dist/esm/snk-filter-list.entry.js +87 -0
  112. package/dist/esm/snk-filter-number.entry.js +19 -0
  113. package/dist/esm/snk-filter-period.entry.js +22 -0
  114. package/dist/esm/snk-filter-search.entry.js +40 -0
  115. package/dist/esm/snk-filter-text.entry.js +18 -0
  116. package/dist/esm/{snk-form_2.entry.js → snk-form.entry.js} +3 -64
  117. package/dist/esm/snk-grid.entry.js +65 -0
  118. package/dist/esm/snk-pesquisa.entry.js +2 -2
  119. package/dist/esm/snk-taskbar.entry.js +4 -3
  120. package/dist/esm/{taskbar-elements-5ea74223.js → taskbar-elements-c119510a.js} +1 -1
  121. package/dist/esm/teste-pesquisa.entry.js +2 -2
  122. package/dist/sankhyablocks/SnkMessageBuilder-cff80920.js +299 -0
  123. package/dist/sankhyablocks/app-globals-0f993ce5.js +3 -0
  124. package/dist/sankhyablocks/css-shim-b3f2ee8d.js +4 -0
  125. package/dist/sankhyablocks/dom-665d6011.js +73 -0
  126. package/dist/sankhyablocks/filter-item-type.enum-61fbf80a.js +12 -0
  127. package/dist/sankhyablocks/index-2b4d2d14.js +3262 -0
  128. package/dist/sankhyablocks/index-e5b61043.js +2384 -0
  129. package/dist/sankhyablocks/index.esm.js +1 -0
  130. package/dist/sankhyablocks/sankhyablocks.esm.js +129 -1
  131. package/dist/sankhyablocks/shadow-css-b18e99d7.js +387 -0
  132. package/dist/sankhyablocks/snk-application.entry.js +8306 -0
  133. package/dist/sankhyablocks/snk-crud.entry.js +60 -0
  134. package/dist/sankhyablocks/snk-data-unit.entry.js +272 -0
  135. package/dist/sankhyablocks/snk-filter-bar.entry.js +195 -0
  136. package/dist/sankhyablocks/snk-filter-binary-select.entry.js +43 -0
  137. package/dist/sankhyablocks/snk-filter-detail.entry.js +40 -0
  138. package/dist/sankhyablocks/snk-filter-item.entry.js +127 -0
  139. package/dist/sankhyablocks/snk-filter-list.entry.js +87 -0
  140. package/dist/sankhyablocks/snk-filter-number.entry.js +19 -0
  141. package/dist/sankhyablocks/snk-filter-period.entry.js +22 -0
  142. package/dist/sankhyablocks/snk-filter-search.entry.js +40 -0
  143. package/dist/sankhyablocks/snk-filter-text.entry.js +18 -0
  144. package/dist/sankhyablocks/snk-form.entry.js +111 -0
  145. package/dist/sankhyablocks/snk-grid.entry.js +65 -0
  146. package/dist/sankhyablocks/snk-pesquisa.entry.js +311 -0
  147. package/dist/sankhyablocks/snk-taskbar.entry.js +153 -0
  148. package/dist/sankhyablocks/taskbar-elements-c119510a.js +72 -0
  149. package/dist/sankhyablocks/teste-pesquisa.entry.js +33 -0
  150. package/dist/types/components/snk-application/errorhandler/snk-error-handler.d.ts +1 -0
  151. package/dist/types/components/snk-application/snk-application.d.ts +9 -0
  152. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.d.ts +12 -0
  153. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-number.d.ts +7 -0
  154. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +13 -0
  155. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +12 -0
  156. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-text.d.ts +7 -0
  157. package/dist/types/components/snk-filter-bar/filter-item/filter-item-type.enum.d.ts +9 -0
  158. package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +13 -0
  159. package/dist/types/components/snk-filter-bar/filter-list/snk-filter-list.d.ts +37 -0
  160. package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +43 -0
  161. package/dist/types/components.d.ts +199 -0
  162. package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +1 -0
  163. package/dist/types/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.d.ts +5 -0
  164. package/dist/types/lib/message/resources/snk-filter-bar.msg.d.ts +2 -0
  165. package/dist/types/stencil-public-runtime.d.ts +15 -4
  166. package/loader/package.json +1 -0
  167. package/package.json +5 -5
  168. package/react/components.d.ts +0 -7
  169. package/react/components.js +0 -7
  170. package/react/components.js.map +1 -1
  171. package/dist/cjs/index-c6671817.js +0 -1642
  172. package/dist/esm/index-6a83ac96.js +0 -1614
  173. package/dist/sankhyablocks/p-4c7b32d6.entry.js +0 -1
  174. package/dist/sankhyablocks/p-56a32417.entry.js +0 -1
  175. package/dist/sankhyablocks/p-825d2c38.entry.js +0 -74
  176. package/dist/sankhyablocks/p-ab694dbc.js +0 -1
  177. package/dist/sankhyablocks/p-b559117b.js +0 -1
  178. package/dist/sankhyablocks/p-cd1dc099.js +0 -2
  179. package/dist/sankhyablocks/p-ce2d1214.entry.js +0 -1
  180. package/dist/sankhyablocks/p-d25637c9.entry.js +0 -1
  181. package/dist/sankhyablocks/p-d25803a1.entry.js +0 -1
  182. package/dist/sankhyablocks/p-edf81d2c.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, h, Method, Event, Prop } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import { DataType, ErrorTracking } from "@sankhyalabs/core";
3
3
  import { DependencyType } from "@sankhyalabs/core";
4
4
  import DataUnitFetcher from "../../lib/http/data-fetcher/fetchers/dataunit-fetcher";
@@ -17,6 +17,7 @@ import { SnkErrorHandler } from "./errorhandler/snk-error-handler";
17
17
  import { agGridLicense } from '../../lib/licenses/sankhyalicense.module';
18
18
  import { TotalsFetcher } from "../../lib/http/data-fetcher/fetchers/totals-fetcher";
19
19
  import { SnkMessageBuilder } from "../../lib/message/SnkMessageBuilder";
20
+ import FilterBarConfigFetcher from "../../lib/http/data-fetcher/fetchers/filter-bar-config-fetcher";
20
21
  /**
21
22
  * É possível customizar as mensagens dos blocos de construção através de um pequeno modulo na estrutura da aplicação:
22
23
  * - Criar um arquivo no seguinte caminho: /messages/appmessages.msg.js.
@@ -346,6 +347,12 @@ export class SnkApplication {
346
347
  async saveGridConfig(config) {
347
348
  return this.gridConfigFetcher.saveConfig(config, this.resourceID);
348
349
  }
350
+ /**
351
+ * Obtém as configurações da barra de filtros
352
+ */
353
+ async getFilterBarConfig() {
354
+ return this.filterBarConfigFetcher.getConfig(this.resourceID);
355
+ }
349
356
  async getAuthList(_auth) {
350
357
  return await (new MGEAuthorization()).parseFromJSON(_auth);
351
358
  }
@@ -391,6 +398,12 @@ export class SnkApplication {
391
398
  }
392
399
  return this._authFetcher;
393
400
  }
401
+ get filterBarConfigFetcher() {
402
+ if (!this._filterBarConfigFetcher) {
403
+ this._filterBarConfigFetcher = new FilterBarConfigFetcher();
404
+ }
405
+ return this._filterBarConfigFetcher;
406
+ }
394
407
  async executeSearch(searchArgument, fieldName, dataUnit) {
395
408
  const descriptor = dataUnit === null || dataUnit === void 0 ? void 0 : dataUnit.getField(fieldName);
396
409
  if (!descriptor) {
@@ -427,23 +440,27 @@ export class SnkApplication {
427
440
  }
428
441
  }
429
442
  });
430
- if (mode === "ADVANCED") {
431
- return new Promise(accept => {
432
- const pesquisaContent = document.createElement("snk-pesquisa");
433
- pesquisaContent.argument = argument;
434
- pesquisaContent.searchLoader = (text) => this.pesquisaFetcher.loadAdvancedSearch(ENTITYNAME, text, criteria, searchOptions);
435
- pesquisaContent.selectItem = (option) => {
436
- accept(option);
437
- this.clearPopUpTitle();
438
- this.closePopUp();
439
- };
440
- this.setPopUpTitle(DESCRIPTIONENTITY);
441
- this.showPopUp(pesquisaContent);
442
- });
443
- }
444
- else {
445
- return this.pesquisaFetcher.loadSearchOptions(ENTITYNAME, argument, criteria, searchOptions);
446
- }
443
+ return this.executePreparedSearch(mode, argument, { entity: ENTITYNAME, entityDescription: DESCRIPTIONENTITY, criteria, searchOptions });
444
+ }
445
+ }
446
+ async executePreparedSearch(mode, argument, options) {
447
+ const { entity, entityDescription, criteria, searchOptions } = options;
448
+ if (mode === "ADVANCED") {
449
+ return new Promise(accept => {
450
+ const pesquisaContent = document.createElement("snk-pesquisa");
451
+ pesquisaContent.argument = argument;
452
+ pesquisaContent.searchLoader = (text) => this.pesquisaFetcher.loadAdvancedSearch(entity, text, criteria, searchOptions);
453
+ pesquisaContent.selectItem = (option) => {
454
+ accept(option);
455
+ this.clearPopUpTitle();
456
+ this.closePopUp();
457
+ };
458
+ this.setPopUpTitle(entityDescription);
459
+ this.showPopUp(pesquisaContent);
460
+ });
461
+ }
462
+ else {
463
+ return this.pesquisaFetcher.loadSearchOptions(entity, argument, criteria, searchOptions);
447
464
  }
448
465
  }
449
466
  async isDebugMode() {
@@ -488,766 +505,829 @@ export class SnkApplication {
488
505
  });
489
506
  }
490
507
  render() {
491
- return (h("div", null,
492
- h("ez-loading-bar", { ref: (ref) => this._requestListener.loadingBar = ref }),
493
- h("ez-popup", { opened: false, ref: (ref) => this._popUp = ref, onEzClosePopup: () => this.closePopUp() })));
508
+ return (h("div", null, h("ez-loading-bar", { ref: (ref) => this._requestListener.loadingBar = ref }), h("ez-popup", { opened: false, ref: (ref) => this._popUp = ref, onEzClosePopup: () => this.closePopUp() })));
494
509
  }
495
510
  static get is() { return "snk-application"; }
496
511
  static get encapsulation() { return "scoped"; }
497
- static get originalStyleUrls() { return {
498
- "$": ["snk-application.css"]
499
- }; }
500
- static get styleUrls() { return {
501
- "$": ["snk-application.css"]
502
- }; }
503
- static get properties() { return {
504
- "messagesBuilder": {
505
- "type": "unknown",
506
- "mutable": true,
507
- "complexType": {
508
- "original": "SnkMessageBuilder",
509
- "resolved": "SnkMessageBuilder",
510
- "references": {
511
- "SnkMessageBuilder": {
512
- "location": "import",
513
- "path": "../../lib/message/SnkMessageBuilder"
512
+ static get originalStyleUrls() {
513
+ return {
514
+ "$": ["snk-application.css"]
515
+ };
516
+ }
517
+ static get styleUrls() {
518
+ return {
519
+ "$": ["snk-application.css"]
520
+ };
521
+ }
522
+ static get properties() {
523
+ return {
524
+ "messagesBuilder": {
525
+ "type": "unknown",
526
+ "mutable": true,
527
+ "complexType": {
528
+ "original": "SnkMessageBuilder",
529
+ "resolved": "SnkMessageBuilder",
530
+ "references": {
531
+ "SnkMessageBuilder": {
532
+ "location": "import",
533
+ "path": "../../lib/message/SnkMessageBuilder"
534
+ }
514
535
  }
536
+ },
537
+ "required": false,
538
+ "optional": false,
539
+ "docs": {
540
+ "tags": [],
541
+ "text": "messagesBuilder \u00E9 um utilit\u00E1rio respons\u00E1vel por flexibilizar e padronizar\no uso de mensagens nos blocos de constru\u00E7\u00E3o."
515
542
  }
516
- },
517
- "required": false,
518
- "optional": false,
519
- "docs": {
520
- "tags": [],
521
- "text": "messagesBuilder \u00E9 um utilit\u00E1rio respons\u00E1vel por flexibilizar e padronizar\no uso de mensagens nos blocos de constru\u00E7\u00E3o."
522
543
  }
523
- }
524
- }; }
525
- static get events() { return [{
526
- "method": "applicationLoaded",
527
- "name": "applicationLoaded",
528
- "bubbles": true,
529
- "cancelable": true,
530
- "composed": true,
531
- "docs": {
532
- "tags": [],
533
- "text": "Evento disparado quando a aplica\u00E7\u00E3o for carregada."
534
- },
535
- "complexType": {
536
- "original": "boolean",
537
- "resolved": "boolean",
538
- "references": {}
539
- }
540
- }, {
541
- "method": "applicationLoading",
542
- "name": "applicationLoading",
543
- "bubbles": true,
544
- "cancelable": true,
545
- "composed": true,
546
- "docs": {
547
- "tags": [],
548
- "text": "Evento disparado ao iniciar a carga do componente"
549
- },
550
- "complexType": {
551
- "original": "boolean",
552
- "resolved": "boolean",
553
- "references": {}
554
- }
555
- }]; }
556
- static get methods() { return {
557
- "isUserSup": {
558
- "complexType": {
559
- "signature": "() => Promise<boolean>",
560
- "parameters": [],
561
- "references": {
562
- "Promise": {
563
- "location": "global"
564
- }
544
+ };
545
+ }
546
+ static get events() {
547
+ return [{
548
+ "method": "applicationLoaded",
549
+ "name": "applicationLoaded",
550
+ "bubbles": true,
551
+ "cancelable": true,
552
+ "composed": true,
553
+ "docs": {
554
+ "tags": [],
555
+ "text": "Evento disparado quando a aplica\u00E7\u00E3o for carregada."
565
556
  },
566
- "return": "Promise<boolean>"
567
- },
568
- "docs": {
569
- "text": "Caso o usu\u00E1rio logado seja o SUP.",
570
- "tags": []
571
- }
572
- },
573
- "hasAccess": {
574
- "complexType": {
575
- "signature": "(access: AutorizationType) => Promise<boolean>",
576
- "parameters": [{
577
- "tags": [],
578
- "text": ""
579
- }],
580
- "references": {
581
- "Promise": {
582
- "location": "global"
557
+ "complexType": {
558
+ "original": "boolean",
559
+ "resolved": "boolean",
560
+ "references": {}
561
+ }
562
+ }, {
563
+ "method": "applicationLoading",
564
+ "name": "applicationLoading",
565
+ "bubbles": true,
566
+ "cancelable": true,
567
+ "composed": true,
568
+ "docs": {
569
+ "tags": [],
570
+ "text": "Evento disparado ao iniciar a carga do componente"
571
+ },
572
+ "complexType": {
573
+ "original": "boolean",
574
+ "resolved": "boolean",
575
+ "references": {}
576
+ }
577
+ }];
578
+ }
579
+ static get methods() {
580
+ return {
581
+ "isUserSup": {
582
+ "complexType": {
583
+ "signature": "() => Promise<boolean>",
584
+ "parameters": [],
585
+ "references": {
586
+ "Promise": {
587
+ "location": "global"
588
+ }
583
589
  },
584
- "AutorizationType": {
585
- "location": "import",
586
- "path": "../../lib/http/data-fetcher/fetchers/auth-fetcher"
587
- }
590
+ "return": "Promise<boolean>"
588
591
  },
589
- "return": "Promise<boolean>"
592
+ "docs": {
593
+ "text": "Caso o usu\u00E1rio logado seja o SUP.",
594
+ "tags": []
595
+ }
590
596
  },
591
- "docs": {
592
- "text": "Se o usu\u00E1rio logado tem permiss\u00E3o pra determinada a\u00E7\u00E3o.",
593
- "tags": []
594
- }
595
- },
596
- "getAllAccess": {
597
- "complexType": {
598
- "signature": "() => Promise<any>",
599
- "parameters": [],
600
- "references": {
601
- "Promise": {
602
- "location": "global"
603
- }
597
+ "hasAccess": {
598
+ "complexType": {
599
+ "signature": "(access: AutorizationType) => Promise<boolean>",
600
+ "parameters": [{
601
+ "tags": [],
602
+ "text": ""
603
+ }],
604
+ "references": {
605
+ "Promise": {
606
+ "location": "global"
607
+ },
608
+ "AutorizationType": {
609
+ "location": "import",
610
+ "path": "../../lib/http/data-fetcher/fetchers/auth-fetcher"
611
+ }
612
+ },
613
+ "return": "Promise<boolean>"
604
614
  },
605
- "return": "Promise<any>"
615
+ "docs": {
616
+ "text": "Se o usu\u00E1rio logado tem permiss\u00E3o pra determinada a\u00E7\u00E3o.",
617
+ "tags": []
618
+ }
606
619
  },
607
- "docs": {
608
- "text": "Retorna todos os acessos do usu\u00E1rio logado.",
609
- "tags": []
610
- }
611
- },
612
- "getStringParam": {
613
- "complexType": {
614
- "signature": "(name: string) => Promise<string>",
615
- "parameters": [{
616
- "tags": [],
617
- "text": ""
618
- }],
619
- "references": {
620
- "Promise": {
621
- "location": "global"
622
- }
620
+ "getAllAccess": {
621
+ "complexType": {
622
+ "signature": "() => Promise<any>",
623
+ "parameters": [],
624
+ "references": {
625
+ "Promise": {
626
+ "location": "global"
627
+ }
628
+ },
629
+ "return": "Promise<any>"
623
630
  },
624
- "return": "Promise<string>"
631
+ "docs": {
632
+ "text": "Retorna todos os acessos do usu\u00E1rio logado.",
633
+ "tags": []
634
+ }
625
635
  },
626
- "docs": {
627
- "text": "Retorna o valor de um par\u00E2metro do tipo string.",
628
- "tags": []
629
- }
630
- },
631
- "getIntParam": {
632
- "complexType": {
633
- "signature": "(name: string) => Promise<number>",
634
- "parameters": [{
635
- "tags": [],
636
- "text": ""
637
- }],
638
- "references": {
639
- "Promise": {
640
- "location": "global"
641
- }
636
+ "getStringParam": {
637
+ "complexType": {
638
+ "signature": "(name: string) => Promise<string>",
639
+ "parameters": [{
640
+ "tags": [],
641
+ "text": ""
642
+ }],
643
+ "references": {
644
+ "Promise": {
645
+ "location": "global"
646
+ }
647
+ },
648
+ "return": "Promise<string>"
642
649
  },
643
- "return": "Promise<number>"
650
+ "docs": {
651
+ "text": "Retorna o valor de um par\u00E2metro do tipo string.",
652
+ "tags": []
653
+ }
644
654
  },
645
- "docs": {
646
- "text": "Retorna o valor de um par\u00E2metro do tipo Inteiro.",
647
- "tags": []
648
- }
649
- },
650
- "getFloatParam": {
651
- "complexType": {
652
- "signature": "(name: string) => Promise<number>",
653
- "parameters": [{
654
- "tags": [],
655
- "text": ""
656
- }],
657
- "references": {
658
- "Promise": {
659
- "location": "global"
660
- }
655
+ "getIntParam": {
656
+ "complexType": {
657
+ "signature": "(name: string) => Promise<number>",
658
+ "parameters": [{
659
+ "tags": [],
660
+ "text": ""
661
+ }],
662
+ "references": {
663
+ "Promise": {
664
+ "location": "global"
665
+ }
666
+ },
667
+ "return": "Promise<number>"
661
668
  },
662
- "return": "Promise<number>"
669
+ "docs": {
670
+ "text": "Retorna o valor de um par\u00E2metro do tipo Inteiro.",
671
+ "tags": []
672
+ }
663
673
  },
664
- "docs": {
665
- "text": "Retorna o valor de um par\u00E2metro do tipo Decimal.",
666
- "tags": []
667
- }
668
- },
669
- "getBooleanParam": {
670
- "complexType": {
671
- "signature": "(name: string) => Promise<boolean>",
672
- "parameters": [{
673
- "tags": [],
674
- "text": ""
675
- }],
676
- "references": {
677
- "Promise": {
678
- "location": "global"
679
- }
674
+ "getFloatParam": {
675
+ "complexType": {
676
+ "signature": "(name: string) => Promise<number>",
677
+ "parameters": [{
678
+ "tags": [],
679
+ "text": ""
680
+ }],
681
+ "references": {
682
+ "Promise": {
683
+ "location": "global"
684
+ }
685
+ },
686
+ "return": "Promise<number>"
680
687
  },
681
- "return": "Promise<boolean>"
688
+ "docs": {
689
+ "text": "Retorna o valor de um par\u00E2metro do tipo Decimal.",
690
+ "tags": []
691
+ }
682
692
  },
683
- "docs": {
684
- "text": "Retorna o valor de um par\u00E2metro do tipo booleano.",
685
- "tags": []
686
- }
687
- },
688
- "getDateParam": {
689
- "complexType": {
690
- "signature": "(name: string) => Promise<Date>",
691
- "parameters": [{
692
- "tags": [],
693
- "text": ""
694
- }],
695
- "references": {
696
- "Promise": {
697
- "location": "global"
693
+ "getBooleanParam": {
694
+ "complexType": {
695
+ "signature": "(name: string) => Promise<boolean>",
696
+ "parameters": [{
697
+ "tags": [],
698
+ "text": ""
699
+ }],
700
+ "references": {
701
+ "Promise": {
702
+ "location": "global"
703
+ }
698
704
  },
699
- "Date": {
700
- "location": "global"
701
- }
705
+ "return": "Promise<boolean>"
702
706
  },
703
- "return": "Promise<Date>"
707
+ "docs": {
708
+ "text": "Retorna o valor de um par\u00E2metro do tipo booleano.",
709
+ "tags": []
710
+ }
704
711
  },
705
- "docs": {
706
- "text": "Retorna o valor de um par\u00E2metro do tipo data.",
707
- "tags": []
708
- }
709
- },
710
- "showPopUp": {
711
- "complexType": {
712
- "signature": "(content: HTMLElement) => Promise<void>",
713
- "parameters": [{
714
- "tags": [],
715
- "text": ""
716
- }],
717
- "references": {
718
- "Promise": {
719
- "location": "global"
712
+ "getDateParam": {
713
+ "complexType": {
714
+ "signature": "(name: string) => Promise<Date>",
715
+ "parameters": [{
716
+ "tags": [],
717
+ "text": ""
718
+ }],
719
+ "references": {
720
+ "Promise": {
721
+ "location": "global"
722
+ },
723
+ "Date": {
724
+ "location": "global"
725
+ }
720
726
  },
721
- "HTMLElement": {
722
- "location": "global"
723
- }
727
+ "return": "Promise<Date>"
724
728
  },
725
- "return": "Promise<void>"
729
+ "docs": {
730
+ "text": "Retorna o valor de um par\u00E2metro do tipo data.",
731
+ "tags": []
732
+ }
726
733
  },
727
- "docs": {
728
- "text": "Mostra o conte\u00FAdo passado em um Popup",
729
- "tags": []
730
- }
731
- },
732
- "closePopUp": {
733
- "complexType": {
734
- "signature": "() => Promise<void>",
735
- "parameters": [],
736
- "references": {
737
- "Promise": {
738
- "location": "global"
739
- }
734
+ "showPopUp": {
735
+ "complexType": {
736
+ "signature": "(content: HTMLElement) => Promise<void>",
737
+ "parameters": [{
738
+ "tags": [],
739
+ "text": ""
740
+ }],
741
+ "references": {
742
+ "Promise": {
743
+ "location": "global"
744
+ },
745
+ "HTMLElement": {
746
+ "location": "global"
747
+ }
748
+ },
749
+ "return": "Promise<void>"
740
750
  },
741
- "return": "Promise<void>"
751
+ "docs": {
752
+ "text": "Mostra o conte\u00FAdo passado em um Popup",
753
+ "tags": []
754
+ }
742
755
  },
743
- "docs": {
744
- "text": "Fecha o popup, liberando o conte\u00FAdo.",
745
- "tags": []
746
- }
747
- },
748
- "temOpcional": {
749
- "complexType": {
750
- "signature": "(opcional: string) => Promise<boolean>",
751
- "parameters": [{
752
- "tags": [],
753
- "text": ""
754
- }],
755
- "references": {
756
- "Promise": {
757
- "location": "global"
758
- }
756
+ "closePopUp": {
757
+ "complexType": {
758
+ "signature": "() => Promise<void>",
759
+ "parameters": [],
760
+ "references": {
761
+ "Promise": {
762
+ "location": "global"
763
+ }
764
+ },
765
+ "return": "Promise<void>"
759
766
  },
760
- "return": "Promise<boolean>"
767
+ "docs": {
768
+ "text": "Fecha o popup, liberando o conte\u00FAdo.",
769
+ "tags": []
770
+ }
761
771
  },
762
- "docs": {
763
- "text": "Verifica se a licen\u00E7a do cliente tem determinado opcional (produto)",
764
- "tags": []
765
- }
766
- },
767
- "getConfig": {
768
- "complexType": {
769
- "signature": "(key: string) => Promise<any>",
770
- "parameters": [{
771
- "tags": [],
772
- "text": ""
773
- }],
774
- "references": {
775
- "Promise": {
776
- "location": "global"
777
- }
772
+ "temOpcional": {
773
+ "complexType": {
774
+ "signature": "(opcional: string) => Promise<boolean>",
775
+ "parameters": [{
776
+ "tags": [],
777
+ "text": ""
778
+ }],
779
+ "references": {
780
+ "Promise": {
781
+ "location": "global"
782
+ }
783
+ },
784
+ "return": "Promise<boolean>"
778
785
  },
779
- "return": "Promise<any>"
786
+ "docs": {
787
+ "text": "Verifica se a licen\u00E7a do cliente tem determinado opcional (produto)",
788
+ "tags": []
789
+ }
780
790
  },
781
- "docs": {
782
- "text": "Retorna a configura\u00E7\u00E3o de um recurso por service broker\nVeja tamb\u00E9m o m\u00E9todo \"loadConfig\"",
783
- "tags": []
784
- }
785
- },
786
- "saveConfig": {
787
- "complexType": {
788
- "signature": "(key: string, data: Object) => Promise<any>",
789
- "parameters": [{
790
- "tags": [],
791
- "text": ""
792
- }, {
793
- "tags": [],
794
- "text": ""
795
- }],
796
- "references": {
797
- "Promise": {
798
- "location": "global"
791
+ "getConfig": {
792
+ "complexType": {
793
+ "signature": "(key: string) => Promise<any>",
794
+ "parameters": [{
795
+ "tags": [],
796
+ "text": ""
797
+ }],
798
+ "references": {
799
+ "Promise": {
800
+ "location": "global"
801
+ }
799
802
  },
800
- "Object": {
801
- "location": "global"
802
- }
803
+ "return": "Promise<any>"
803
804
  },
804
- "return": "Promise<any>"
805
+ "docs": {
806
+ "text": "Retorna a configura\u00E7\u00E3o de um recurso por service broker\nVeja tamb\u00E9m o m\u00E9todo \"loadConfig\"",
807
+ "tags": []
808
+ }
805
809
  },
806
- "docs": {
807
- "text": "Salva a configura\u00E7\u00E3o de determinado recurso.",
808
- "tags": []
809
- }
810
- },
811
- "getAttributeFromHTMLWrapper": {
812
- "complexType": {
813
- "signature": "(attribName: string) => Promise<string>",
814
- "parameters": [{
815
- "tags": [],
816
- "text": ""
817
- }],
818
- "references": {
819
- "Promise": {
820
- "location": "global"
821
- }
810
+ "saveConfig": {
811
+ "complexType": {
812
+ "signature": "(key: string, data: Object) => Promise<any>",
813
+ "parameters": [{
814
+ "tags": [],
815
+ "text": ""
816
+ }, {
817
+ "tags": [],
818
+ "text": ""
819
+ }],
820
+ "references": {
821
+ "Promise": {
822
+ "location": "global"
823
+ },
824
+ "Object": {
825
+ "location": "global"
826
+ }
827
+ },
828
+ "return": "Promise<any>"
822
829
  },
823
- "return": "Promise<string>"
830
+ "docs": {
831
+ "text": "Salva a configura\u00E7\u00E3o de determinado recurso.",
832
+ "tags": []
833
+ }
824
834
  },
825
- "docs": {
826
- "text": "Acessa informa\u00E7\u00F5es de contexto \"empurrados\" na abertura da tela",
827
- "tags": []
828
- }
829
- },
830
- "openApp": {
831
- "complexType": {
832
- "signature": "(resourceId: string, pkObject: Object) => Promise<void>",
833
- "parameters": [{
834
- "tags": [],
835
- "text": ""
836
- }, {
837
- "tags": [],
838
- "text": ""
839
- }],
840
- "references": {
841
- "Promise": {
842
- "location": "global"
835
+ "getAttributeFromHTMLWrapper": {
836
+ "complexType": {
837
+ "signature": "(attribName: string) => Promise<string>",
838
+ "parameters": [{
839
+ "tags": [],
840
+ "text": ""
841
+ }],
842
+ "references": {
843
+ "Promise": {
844
+ "location": "global"
845
+ }
843
846
  },
844
- "Object": {
845
- "location": "global"
846
- }
847
+ "return": "Promise<string>"
847
848
  },
848
- "return": "Promise<void>"
849
+ "docs": {
850
+ "text": "Acessa informa\u00E7\u00F5es de contexto \"empurrados\" na abertura da tela",
851
+ "tags": []
852
+ }
849
853
  },
850
- "docs": {
851
- "text": "Abre determinada tela, repassando pkObject",
852
- "tags": []
853
- }
854
- },
855
- "createDataunit": {
856
- "complexType": {
857
- "signature": "(entityName: string, dataUnitName?: string) => Promise<DataUnit>",
858
- "parameters": [{
859
- "tags": [],
860
- "text": ""
861
- }, {
862
- "tags": [],
863
- "text": ""
864
- }],
865
- "references": {
866
- "Promise": {
867
- "location": "global"
854
+ "openApp": {
855
+ "complexType": {
856
+ "signature": "(resourceId: string, pkObject: Object) => Promise<void>",
857
+ "parameters": [{
858
+ "tags": [],
859
+ "text": ""
860
+ }, {
861
+ "tags": [],
862
+ "text": ""
863
+ }],
864
+ "references": {
865
+ "Promise": {
866
+ "location": "global"
867
+ },
868
+ "Object": {
869
+ "location": "global"
870
+ }
868
871
  },
869
- "DataUnit": {
870
- "location": "import",
871
- "path": "@sankhyalabs/core"
872
- }
872
+ "return": "Promise<void>"
873
873
  },
874
- "return": "Promise<DataUnit>"
874
+ "docs": {
875
+ "text": "Abre determinada tela, repassando pkObject",
876
+ "tags": []
877
+ }
875
878
  },
876
- "docs": {
877
- "text": "Cria o DataUnit a partir do nome da entidade. \u00C9 poss\u00EDvel armazen\u00E1-lo no cache\npassando o dataUnitName, assim, se mais de uma chamada for feita, o mesmo DataUnit ser\u00E1 usado",
878
- "tags": []
879
- }
880
- },
881
- "getDataUnit": {
882
- "complexType": {
883
- "signature": "(entityName: string, dataUnitName: string) => Promise<DataUnit>",
884
- "parameters": [{
885
- "tags": [],
886
- "text": ""
887
- }, {
888
- "tags": [],
889
- "text": ""
890
- }],
891
- "references": {
892
- "Promise": {
893
- "location": "global"
879
+ "createDataunit": {
880
+ "complexType": {
881
+ "signature": "(entityName: string, dataUnitName?: string) => Promise<DataUnit>",
882
+ "parameters": [{
883
+ "tags": [],
884
+ "text": ""
885
+ }, {
886
+ "tags": [],
887
+ "text": ""
888
+ }],
889
+ "references": {
890
+ "Promise": {
891
+ "location": "global"
892
+ },
893
+ "DataUnit": {
894
+ "location": "import",
895
+ "path": "@sankhyalabs/core"
896
+ }
894
897
  },
895
- "DataUnit": {
896
- "location": "import",
897
- "path": "@sankhyalabs/core"
898
- }
898
+ "return": "Promise<DataUnit>"
899
899
  },
900
- "return": "Promise<DataUnit>"
900
+ "docs": {
901
+ "text": "Cria o DataUnit a partir do nome da entidade. \u00C9 poss\u00EDvel armazen\u00E1-lo no cache\npassando o dataUnitName, assim, se mais de uma chamada for feita, o mesmo DataUnit ser\u00E1 usado",
902
+ "tags": []
903
+ }
901
904
  },
902
- "docs": {
903
- "text": "Obtem um DataUnit do cache ou cria um caso ainda n\u00E3o tenha sido criado.",
904
- "tags": []
905
- }
906
- },
907
- "getResourceID": {
908
- "complexType": {
909
- "signature": "() => Promise<string>",
910
- "parameters": [],
911
- "references": {
912
- "Promise": {
913
- "location": "global"
914
- }
905
+ "getDataUnit": {
906
+ "complexType": {
907
+ "signature": "(entityName: string, dataUnitName: string) => Promise<DataUnit>",
908
+ "parameters": [{
909
+ "tags": [],
910
+ "text": ""
911
+ }, {
912
+ "tags": [],
913
+ "text": ""
914
+ }],
915
+ "references": {
916
+ "Promise": {
917
+ "location": "global"
918
+ },
919
+ "DataUnit": {
920
+ "location": "import",
921
+ "path": "@sankhyalabs/core"
922
+ }
923
+ },
924
+ "return": "Promise<DataUnit>"
915
925
  },
916
- "return": "Promise<string>"
926
+ "docs": {
927
+ "text": "Obtem um DataUnit do cache ou cria um caso ainda n\u00E3o tenha sido criado.",
928
+ "tags": []
929
+ }
917
930
  },
918
- "docs": {
919
- "text": "Retorna o resourceID da tela em quest\u00E3o.",
920
- "tags": []
921
- }
922
- },
923
- "alert": {
924
- "complexType": {
925
- "signature": "(title: string, message: string, icon?: string, options?: MessageOptions) => Promise<boolean>",
926
- "parameters": [{
927
- "tags": [],
928
- "text": ""
929
- }, {
930
- "tags": [],
931
- "text": ""
932
- }, {
933
- "tags": [],
934
- "text": ""
935
- }, {
936
- "tags": [],
937
- "text": ""
938
- }],
939
- "references": {
940
- "Promise": {
941
- "location": "global"
931
+ "getResourceID": {
932
+ "complexType": {
933
+ "signature": "() => Promise<string>",
934
+ "parameters": [],
935
+ "references": {
936
+ "Promise": {
937
+ "location": "global"
938
+ }
942
939
  },
943
- "MessageOptions": {
944
- "location": "import",
945
- "path": "@sankhyalabs/ezui/dist/collection/utils"
946
- }
940
+ "return": "Promise<string>"
947
941
  },
948
- "return": "Promise<boolean>"
942
+ "docs": {
943
+ "text": "Retorna o resourceID da tela em quest\u00E3o.",
944
+ "tags": []
945
+ }
949
946
  },
950
- "docs": {
951
- "text": "Mostra o di\u00E1logo de alerta de acordo com os par\u00E2metros passados.",
952
- "tags": []
953
- }
954
- },
955
- "error": {
956
- "complexType": {
957
- "signature": "(title: string, message: string, icon?: string, options?: MessageOptions) => Promise<boolean>",
958
- "parameters": [{
959
- "tags": [],
960
- "text": ""
961
- }, {
962
- "tags": [],
963
- "text": ""
964
- }, {
965
- "tags": [],
966
- "text": ""
967
- }, {
968
- "tags": [],
969
- "text": ""
970
- }],
971
- "references": {
972
- "Promise": {
973
- "location": "global"
947
+ "alert": {
948
+ "complexType": {
949
+ "signature": "(title: string, message: string, icon?: string, options?: MessageOptions) => Promise<boolean>",
950
+ "parameters": [{
951
+ "tags": [],
952
+ "text": ""
953
+ }, {
954
+ "tags": [],
955
+ "text": ""
956
+ }, {
957
+ "tags": [],
958
+ "text": ""
959
+ }, {
960
+ "tags": [],
961
+ "text": ""
962
+ }],
963
+ "references": {
964
+ "Promise": {
965
+ "location": "global"
966
+ },
967
+ "MessageOptions": {
968
+ "location": "import",
969
+ "path": "@sankhyalabs/ezui/dist/collection/utils"
970
+ }
974
971
  },
975
- "MessageOptions": {
976
- "location": "import",
977
- "path": "@sankhyalabs/ezui/dist/collection/utils"
978
- }
972
+ "return": "Promise<boolean>"
979
973
  },
980
- "return": "Promise<boolean>"
974
+ "docs": {
975
+ "text": "Mostra o di\u00E1logo de alerta de acordo com os par\u00E2metros passados.",
976
+ "tags": []
977
+ }
981
978
  },
982
- "docs": {
983
- "text": "Mostra o di\u00E1logo de erro de acordo com os par\u00E2metros passados.",
984
- "tags": []
985
- }
986
- },
987
- "message": {
988
- "complexType": {
989
- "signature": "(title: string, message: string, icon?: string, options?: MessageOptions) => Promise<boolean>",
990
- "parameters": [{
991
- "tags": [],
992
- "text": ""
993
- }, {
994
- "tags": [],
995
- "text": ""
996
- }, {
997
- "tags": [],
998
- "text": ""
999
- }, {
1000
- "tags": [],
1001
- "text": ""
1002
- }],
1003
- "references": {
1004
- "Promise": {
1005
- "location": "global"
979
+ "error": {
980
+ "complexType": {
981
+ "signature": "(title: string, message: string, icon?: string, options?: MessageOptions) => Promise<boolean>",
982
+ "parameters": [{
983
+ "tags": [],
984
+ "text": ""
985
+ }, {
986
+ "tags": [],
987
+ "text": ""
988
+ }, {
989
+ "tags": [],
990
+ "text": ""
991
+ }, {
992
+ "tags": [],
993
+ "text": ""
994
+ }],
995
+ "references": {
996
+ "Promise": {
997
+ "location": "global"
998
+ },
999
+ "MessageOptions": {
1000
+ "location": "import",
1001
+ "path": "@sankhyalabs/ezui/dist/collection/utils"
1002
+ }
1006
1003
  },
1007
- "MessageOptions": {
1008
- "location": "import",
1009
- "path": "@sankhyalabs/ezui/dist/collection/utils"
1010
- }
1004
+ "return": "Promise<boolean>"
1011
1005
  },
1012
- "return": "Promise<boolean>"
1006
+ "docs": {
1007
+ "text": "Mostra o di\u00E1logo de erro de acordo com os par\u00E2metros passados.",
1008
+ "tags": []
1009
+ }
1013
1010
  },
1014
- "docs": {
1015
- "text": "Exibe um di\u00E1logo de mensagem comum",
1016
- "tags": []
1017
- }
1018
- },
1019
- "confirm": {
1020
- "complexType": {
1021
- "signature": "(title: string, message: string, icon?: string, dialogType?: DialogType, options?: MessageOptions) => Promise<boolean>",
1022
- "parameters": [{
1023
- "tags": [],
1024
- "text": ""
1025
- }, {
1026
- "tags": [],
1027
- "text": ""
1028
- }, {
1029
- "tags": [],
1030
- "text": ""
1031
- }, {
1032
- "tags": [],
1033
- "text": ""
1034
- }, {
1035
- "tags": [],
1036
- "text": ""
1037
- }],
1038
- "references": {
1039
- "Promise": {
1040
- "location": "global"
1041
- },
1042
- "DialogType": {
1043
- "location": "import",
1044
- "path": "@sankhyalabs/ezui/dist/collection/utils"
1011
+ "message": {
1012
+ "complexType": {
1013
+ "signature": "(title: string, message: string, icon?: string, options?: MessageOptions) => Promise<boolean>",
1014
+ "parameters": [{
1015
+ "tags": [],
1016
+ "text": ""
1017
+ }, {
1018
+ "tags": [],
1019
+ "text": ""
1020
+ }, {
1021
+ "tags": [],
1022
+ "text": ""
1023
+ }, {
1024
+ "tags": [],
1025
+ "text": ""
1026
+ }],
1027
+ "references": {
1028
+ "Promise": {
1029
+ "location": "global"
1030
+ },
1031
+ "MessageOptions": {
1032
+ "location": "import",
1033
+ "path": "@sankhyalabs/ezui/dist/collection/utils"
1034
+ }
1045
1035
  },
1046
- "MessageOptions": {
1047
- "location": "import",
1048
- "path": "@sankhyalabs/ezui/dist/collection/utils"
1049
- }
1036
+ "return": "Promise<boolean>"
1050
1037
  },
1051
- "return": "Promise<boolean>"
1038
+ "docs": {
1039
+ "text": "Exibe um di\u00E1logo de mensagem comum",
1040
+ "tags": []
1041
+ }
1052
1042
  },
1053
- "docs": {
1054
- "text": "Exibe um di\u00E1logo de confirma\u00E7\u00E3o",
1055
- "tags": []
1056
- }
1057
- },
1058
- "info": {
1059
- "complexType": {
1060
- "signature": "(message: string, options?: MessageOptions) => Promise<void>",
1061
- "parameters": [{
1062
- "tags": [],
1063
- "text": ""
1064
- }, {
1065
- "tags": [],
1066
- "text": ""
1067
- }],
1068
- "references": {
1069
- "Promise": {
1070
- "location": "global"
1043
+ "confirm": {
1044
+ "complexType": {
1045
+ "signature": "(title: string, message: string, icon?: string, dialogType?: DialogType, options?: MessageOptions) => Promise<boolean>",
1046
+ "parameters": [{
1047
+ "tags": [],
1048
+ "text": ""
1049
+ }, {
1050
+ "tags": [],
1051
+ "text": ""
1052
+ }, {
1053
+ "tags": [],
1054
+ "text": ""
1055
+ }, {
1056
+ "tags": [],
1057
+ "text": ""
1058
+ }, {
1059
+ "tags": [],
1060
+ "text": ""
1061
+ }],
1062
+ "references": {
1063
+ "Promise": {
1064
+ "location": "global"
1065
+ },
1066
+ "DialogType": {
1067
+ "location": "import",
1068
+ "path": "@sankhyalabs/ezui/dist/collection/utils"
1069
+ },
1070
+ "MessageOptions": {
1071
+ "location": "import",
1072
+ "path": "@sankhyalabs/ezui/dist/collection/utils"
1073
+ }
1071
1074
  },
1072
- "MessageOptions": {
1073
- "location": "import",
1074
- "path": "@sankhyalabs/ezui/dist/collection/utils"
1075
- }
1075
+ "return": "Promise<boolean>"
1076
1076
  },
1077
- "return": "Promise<void>"
1077
+ "docs": {
1078
+ "text": "Exibe um di\u00E1logo de confirma\u00E7\u00E3o",
1079
+ "tags": []
1080
+ }
1078
1081
  },
1079
- "docs": {
1080
- "text": "Mostra uma informa\u00E7\u00E3o ef\u00EAmera (de segundo plano).",
1081
- "tags": []
1082
- }
1083
- },
1084
- "loadFormConfig": {
1085
- "complexType": {
1086
- "signature": "(name: string) => Promise<Array<FieldConfig>>",
1087
- "parameters": [{
1088
- "tags": [],
1089
- "text": ""
1090
- }],
1091
- "references": {
1092
- "Promise": {
1093
- "location": "global"
1094
- },
1095
- "FieldConfig": {
1096
- "location": "import",
1097
- "path": "@sankhyalabs/ezui/dist/types/components/ez-form/ez-form"
1082
+ "info": {
1083
+ "complexType": {
1084
+ "signature": "(message: string, options?: MessageOptions) => Promise<void>",
1085
+ "parameters": [{
1086
+ "tags": [],
1087
+ "text": ""
1088
+ }, {
1089
+ "tags": [],
1090
+ "text": ""
1091
+ }],
1092
+ "references": {
1093
+ "Promise": {
1094
+ "location": "global"
1095
+ },
1096
+ "MessageOptions": {
1097
+ "location": "import",
1098
+ "path": "@sankhyalabs/ezui/dist/collection/utils"
1099
+ }
1098
1100
  },
1099
- "Array": {
1100
- "location": "global"
1101
- }
1101
+ "return": "Promise<void>"
1102
1102
  },
1103
- "return": "Promise<FieldConfig[]>"
1103
+ "docs": {
1104
+ "text": "Mostra uma informa\u00E7\u00E3o ef\u00EAmera (de segundo plano).",
1105
+ "tags": []
1106
+ }
1104
1107
  },
1105
- "docs": {
1106
- "text": "Busca a configura\u00E7\u00E3o de formul\u00E1rio.",
1107
- "tags": []
1108
- }
1109
- },
1110
- "loadGridConfig": {
1111
- "complexType": {
1112
- "signature": "(name: string) => Promise<IGridConfig>",
1113
- "parameters": [{
1114
- "tags": [],
1115
- "text": ""
1116
- }],
1117
- "references": {
1118
- "Promise": {
1119
- "location": "global"
1108
+ "loadFormConfig": {
1109
+ "complexType": {
1110
+ "signature": "(name: string) => Promise<Array<FieldConfig>>",
1111
+ "parameters": [{
1112
+ "tags": [],
1113
+ "text": ""
1114
+ }],
1115
+ "references": {
1116
+ "Promise": {
1117
+ "location": "global"
1118
+ },
1119
+ "FieldConfig": {
1120
+ "location": "import",
1121
+ "path": "@sankhyalabs/ezui/dist/types/components/ez-form/ez-form"
1122
+ },
1123
+ "Array": {
1124
+ "location": "global"
1125
+ }
1120
1126
  },
1121
- "IGridConfig": {
1122
- "location": "import",
1123
- "path": "@sankhyalabs/ezui/dist/types/components/ez-grid/controller/EzGridController"
1124
- }
1127
+ "return": "Promise<FieldConfig[]>"
1125
1128
  },
1126
- "return": "Promise<IGridConfig>"
1129
+ "docs": {
1130
+ "text": "Busca a configura\u00E7\u00E3o de formul\u00E1rio.",
1131
+ "tags": []
1132
+ }
1127
1133
  },
1128
- "docs": {
1129
- "text": "Busca a configura\u00E7\u00E3o de grade.",
1130
- "tags": []
1131
- }
1132
- },
1133
- "loadTotals": {
1134
- "complexType": {
1135
- "signature": "(name: string, resourceID: string, filters: Array<Filter>) => Promise<Map<string, number>>",
1136
- "parameters": [{
1137
- "tags": [],
1138
- "text": ""
1139
- }, {
1140
- "tags": [],
1141
- "text": ""
1142
- }, {
1143
- "tags": [],
1144
- "text": ""
1145
- }],
1146
- "references": {
1147
- "Promise": {
1148
- "location": "global"
1149
- },
1150
- "Map": {
1151
- "location": "global"
1152
- },
1153
- "Array": {
1154
- "location": "global"
1134
+ "loadGridConfig": {
1135
+ "complexType": {
1136
+ "signature": "(name: string) => Promise<IGridConfig>",
1137
+ "parameters": [{
1138
+ "tags": [],
1139
+ "text": ""
1140
+ }],
1141
+ "references": {
1142
+ "Promise": {
1143
+ "location": "global"
1144
+ },
1145
+ "IGridConfig": {
1146
+ "location": "import",
1147
+ "path": "@sankhyalabs/ezui/dist/types/components/ez-grid/controller/EzGridController"
1148
+ }
1155
1149
  },
1156
- "Filter": {
1157
- "location": "import",
1158
- "path": "@sankhyalabs/core"
1159
- }
1150
+ "return": "Promise<IGridConfig>"
1160
1151
  },
1161
- "return": "Promise<Map<string, number>>"
1152
+ "docs": {
1153
+ "text": "Busca a configura\u00E7\u00E3o de grade.",
1154
+ "tags": []
1155
+ }
1162
1156
  },
1163
- "docs": {
1164
- "text": "Busca os totalizadores da grade.",
1165
- "tags": []
1166
- }
1167
- },
1168
- "saveGridConfig": {
1169
- "complexType": {
1170
- "signature": "(config: IGridConfig) => Promise<boolean>",
1171
- "parameters": [{
1172
- "tags": [],
1173
- "text": ""
1174
- }],
1175
- "references": {
1176
- "Promise": {
1177
- "location": "global"
1157
+ "loadTotals": {
1158
+ "complexType": {
1159
+ "signature": "(name: string, resourceID: string, filters: Array<Filter>) => Promise<Map<string, number>>",
1160
+ "parameters": [{
1161
+ "tags": [],
1162
+ "text": ""
1163
+ }, {
1164
+ "tags": [],
1165
+ "text": ""
1166
+ }, {
1167
+ "tags": [],
1168
+ "text": ""
1169
+ }],
1170
+ "references": {
1171
+ "Promise": {
1172
+ "location": "global"
1173
+ },
1174
+ "Map": {
1175
+ "location": "global"
1176
+ },
1177
+ "Array": {
1178
+ "location": "global"
1179
+ },
1180
+ "Filter": {
1181
+ "location": "import",
1182
+ "path": "@sankhyalabs/core"
1183
+ }
1178
1184
  },
1179
- "IGridConfig": {
1180
- "location": "import",
1181
- "path": "@sankhyalabs/ezui/dist/types/components/ez-grid/controller/EzGridController"
1182
- }
1185
+ "return": "Promise<Map<string, number>>"
1183
1186
  },
1184
- "return": "Promise<boolean>"
1187
+ "docs": {
1188
+ "text": "Busca os totalizadores da grade.",
1189
+ "tags": []
1190
+ }
1185
1191
  },
1186
- "docs": {
1187
- "text": "Salva a configura\u00E7\u00E3o de grade.",
1188
- "tags": []
1189
- }
1190
- },
1191
- "executeSearch": {
1192
- "complexType": {
1193
- "signature": "(searchArgument: any, fieldName: string, dataUnit: DataUnit) => Promise<Array<Option> | Option>",
1194
- "parameters": [{
1195
- "tags": [],
1196
- "text": ""
1197
- }, {
1198
- "tags": [],
1199
- "text": ""
1200
- }, {
1201
- "tags": [],
1202
- "text": ""
1203
- }],
1204
- "references": {
1205
- "Promise": {
1206
- "location": "global"
1207
- },
1208
- "Option": {
1209
- "location": "import",
1210
- "path": "@sankhyalabs/ezui/dist/types/components/ez-combo-box/ez-combo-box"
1211
- },
1212
- "DataUnit": {
1213
- "location": "import",
1214
- "path": "@sankhyalabs/core"
1192
+ "saveGridConfig": {
1193
+ "complexType": {
1194
+ "signature": "(config: IGridConfig) => Promise<boolean>",
1195
+ "parameters": [{
1196
+ "tags": [],
1197
+ "text": ""
1198
+ }],
1199
+ "references": {
1200
+ "Promise": {
1201
+ "location": "global"
1202
+ },
1203
+ "IGridConfig": {
1204
+ "location": "import",
1205
+ "path": "@sankhyalabs/ezui/dist/types/components/ez-grid/controller/EzGridController"
1206
+ }
1215
1207
  },
1216
- "Array": {
1217
- "location": "global"
1208
+ "return": "Promise<boolean>"
1209
+ },
1210
+ "docs": {
1211
+ "text": "Salva a configura\u00E7\u00E3o de grade.",
1212
+ "tags": []
1213
+ }
1214
+ },
1215
+ "getFilterBarConfig": {
1216
+ "complexType": {
1217
+ "signature": "() => Promise<Array<SnkFilterItemConfig>>",
1218
+ "parameters": [],
1219
+ "references": {
1220
+ "Promise": {
1221
+ "location": "global"
1222
+ },
1223
+ "SnkFilterItemConfig": {
1224
+ "location": "import",
1225
+ "path": "../snk-filter-bar/filter-item/snk-filter-item"
1226
+ },
1227
+ "Array": {
1228
+ "location": "global"
1229
+ }
1218
1230
  },
1219
- "SearchCriteria": {
1220
- "location": "import",
1221
- "path": "../../lib/http/data-fetcher/fetchers/pesquisa-fetcher"
1231
+ "return": "Promise<SnkFilterItemConfig[]>"
1232
+ },
1233
+ "docs": {
1234
+ "text": "Obt\u00E9m as configura\u00E7\u00F5es da barra de filtros",
1235
+ "tags": []
1236
+ }
1237
+ },
1238
+ "executeSearch": {
1239
+ "complexType": {
1240
+ "signature": "(searchArgument: any, fieldName: string, dataUnit: DataUnit) => Promise<Array<Option> | Option>",
1241
+ "parameters": [{
1242
+ "tags": [],
1243
+ "text": ""
1244
+ }, {
1245
+ "tags": [],
1246
+ "text": ""
1247
+ }, {
1248
+ "tags": [],
1249
+ "text": ""
1250
+ }],
1251
+ "references": {
1252
+ "Promise": {
1253
+ "location": "global"
1254
+ },
1255
+ "Option": {
1256
+ "location": "import",
1257
+ "path": "@sankhyalabs/ezui/dist/types/components/ez-combo-box/ez-combo-box"
1258
+ },
1259
+ "DataUnit": {
1260
+ "location": "import",
1261
+ "path": "@sankhyalabs/core"
1262
+ },
1263
+ "Array": {
1264
+ "location": "global"
1265
+ },
1266
+ "SearchCriteria": {
1267
+ "location": "import",
1268
+ "path": "../../lib/http/data-fetcher/fetchers/pesquisa-fetcher"
1269
+ }
1222
1270
  },
1223
- "HTMLSnkPesquisaElement": {
1224
- "location": "global"
1225
- }
1271
+ "return": "Promise<Option | Option[]>"
1226
1272
  },
1227
- "return": "Promise<Option | Option[]>"
1273
+ "docs": {
1274
+ "text": "",
1275
+ "tags": []
1276
+ }
1228
1277
  },
1229
- "docs": {
1230
- "text": "",
1231
- "tags": []
1232
- }
1233
- },
1234
- "isDebugMode": {
1235
- "complexType": {
1236
- "signature": "() => Promise<boolean>",
1237
- "parameters": [],
1238
- "references": {
1239
- "Promise": {
1240
- "location": "global"
1241
- }
1278
+ "executePreparedSearch": {
1279
+ "complexType": {
1280
+ "signature": "(mode: string, argument: string, options: any) => Promise<Array<Option> | Option>",
1281
+ "parameters": [{
1282
+ "tags": [],
1283
+ "text": ""
1284
+ }, {
1285
+ "tags": [],
1286
+ "text": ""
1287
+ }, {
1288
+ "tags": [],
1289
+ "text": ""
1290
+ }],
1291
+ "references": {
1292
+ "Promise": {
1293
+ "location": "global"
1294
+ },
1295
+ "Option": {
1296
+ "location": "import",
1297
+ "path": "@sankhyalabs/ezui/dist/types/components/ez-combo-box/ez-combo-box"
1298
+ },
1299
+ "Array": {
1300
+ "location": "global"
1301
+ },
1302
+ "HTMLSnkPesquisaElement": {
1303
+ "location": "global"
1304
+ }
1305
+ },
1306
+ "return": "Promise<Option | Option[]>"
1242
1307
  },
1243
- "return": "Promise<boolean>"
1308
+ "docs": {
1309
+ "text": "",
1310
+ "tags": []
1311
+ }
1244
1312
  },
1245
- "docs": {
1246
- "text": "",
1247
- "tags": []
1313
+ "isDebugMode": {
1314
+ "complexType": {
1315
+ "signature": "() => Promise<boolean>",
1316
+ "parameters": [],
1317
+ "references": {
1318
+ "Promise": {
1319
+ "location": "global"
1320
+ }
1321
+ },
1322
+ "return": "Promise<boolean>"
1323
+ },
1324
+ "docs": {
1325
+ "text": "",
1326
+ "tags": []
1327
+ }
1248
1328
  }
1249
- }
1250
- }; }
1329
+ };
1330
+ }
1251
1331
  }
1252
1332
  class RequestListenerLoadingBar {
1253
1333
  constructor() {