@sankhyalabs/sankhyablocks 9.2.0-dev.14 → 9.2.0-dev.2

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 (64) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  3. package/dist/cjs/snk-application.cjs.entry.js +3 -0
  4. package/dist/cjs/snk-data-exporter.cjs.entry.js +1 -1
  5. package/dist/cjs/{snk-data-unit-72715da9.js → snk-data-unit-448fce74.js} +1 -11
  6. package/dist/cjs/snk-data-unit.cjs.entry.js +1 -1
  7. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +15 -25
  8. package/dist/cjs/snk-form_2.cjs.entry.js +1 -27
  9. package/dist/cjs/snk-grid.cjs.entry.js +7 -55
  10. package/dist/cjs/snk-personalized-filter.cjs.entry.js +2 -10
  11. package/dist/cjs/snk-simple-bar.cjs.entry.js +5 -5
  12. package/dist/cjs/snk-simple-crud.cjs.entry.js +8 -45
  13. package/dist/collection/components/snk-application/snk-application.js +2 -0
  14. package/dist/collection/components/snk-data-unit/snk-data-unit.js +28 -173
  15. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +63 -210
  16. package/dist/collection/components/snk-form/snk-form.js +22 -133
  17. package/dist/collection/components/snk-grid/snk-grid.js +83 -333
  18. package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js +21 -83
  19. package/dist/collection/components/snk-simple-bar/snk-simple-bar.js +9 -9
  20. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +119 -414
  21. package/dist/collection/components/snk-taskbar/snk-taskbar.js +36 -102
  22. package/dist/collection/lib/licenses/sankhyalicense.module.js +1 -0
  23. package/dist/components/snk-application2.js +3 -0
  24. package/dist/components/snk-data-unit2.js +1 -11
  25. package/dist/components/snk-filter-bar2.js +15 -26
  26. package/dist/components/snk-form.js +2 -29
  27. package/dist/components/snk-grid2.js +7 -57
  28. package/dist/components/snk-personalized-filter2.js +2 -10
  29. package/dist/components/snk-simple-bar2.js +5 -5
  30. package/dist/components/snk-simple-crud2.js +8 -45
  31. package/dist/esm/loader.js +1 -1
  32. package/dist/esm/sankhyablocks.js +1 -1
  33. package/dist/esm/snk-application.entry.js +3 -0
  34. package/dist/esm/snk-data-exporter.entry.js +1 -1
  35. package/dist/esm/{snk-data-unit-d31619fb.js → snk-data-unit-b7e6e7a6.js} +1 -11
  36. package/dist/esm/snk-data-unit.entry.js +1 -1
  37. package/dist/esm/snk-filter-bar_4.entry.js +15 -25
  38. package/dist/esm/snk-form_2.entry.js +1 -27
  39. package/dist/esm/snk-grid.entry.js +7 -55
  40. package/dist/esm/snk-personalized-filter.entry.js +2 -10
  41. package/dist/esm/snk-simple-bar.entry.js +5 -5
  42. package/dist/esm/snk-simple-crud.entry.js +8 -45
  43. package/dist/sankhyablocks/p-012208e0.entry.js +1 -0
  44. package/dist/sankhyablocks/{p-a2e8c7a7.entry.js → p-158adf33.entry.js} +1 -1
  45. package/dist/sankhyablocks/p-81769310.entry.js +11 -0
  46. package/dist/sankhyablocks/{p-69b815ab.entry.js → p-8d1508aa.entry.js} +1 -1
  47. package/dist/sankhyablocks/p-a86eee47.entry.js +1 -0
  48. package/dist/sankhyablocks/p-fa18530e.entry.js +1 -0
  49. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  50. package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +3 -46
  51. package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +28 -45
  52. package/dist/types/components/snk-form/snk-form.d.ts +4 -29
  53. package/dist/types/components/snk-grid/snk-grid.d.ts +45 -104
  54. package/dist/types/components/snk-personalized-filter/snk-personalized-filter.d.ts +5 -53
  55. package/dist/types/components/snk-simple-bar/snk-simple-bar.d.ts +15 -15
  56. package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +43 -100
  57. package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +21 -23
  58. package/dist/types/components.d.ts +224 -511
  59. package/package.json +3 -4
  60. package/dist/sankhyablocks/p-51464e95.entry.js +0 -1
  61. package/dist/sankhyablocks/p-665dd170.entry.js +0 -11
  62. package/dist/sankhyablocks/p-6fa3d474.entry.js +0 -1
  63. package/dist/sankhyablocks/p-cf7063a4.entry.js +0 -1
  64. /package/dist/sankhyablocks/{p-8b601472.js → p-0e495575.js} +0 -0
@@ -61,10 +61,7 @@ export class SnkSimpleCrud {
61
61
  this.outlineMode = false;
62
62
  }
63
63
  /**
64
- * @description Registra um editor customizado para campos da grade e do formulário.
65
- * @param {string} fieldName - O nome do campo.
66
- * @param {ICustomEditor} customEditor - A instância do editor customizado.
67
- * @returns {Promise<void>}
64
+ * Registra um editor customizado para campos da grade e formulário.
68
65
  */
69
66
  async addCustomEditor(fieldName, customEditor) {
70
67
  if (this._grid && this._form) {
@@ -77,10 +74,7 @@ export class SnkSimpleCrud {
77
74
  this._customEditors = newCustomEditors;
78
75
  }
79
76
  /**
80
- * @description Registra um renderizador customizado para colunas da grade.
81
- * @param {string} fieldName - O nome do campo.
82
- * @param {ICustomRender} customRender - A instância do renderizador customizado.
83
- * @returns {Promise<void>}
77
+ * Registra um render customizado para colunas da grid.
84
78
  */
85
79
  async addGridCustomRender(fieldName, customRender) {
86
80
  if (this._grid) {
@@ -102,28 +96,19 @@ export class SnkSimpleCrud {
102
96
  await this.loadGridConfig(true);
103
97
  }
104
98
  /**
105
- * @description Registra um formatador de valores para uma coluna da grade.
106
- * @param {string} columnName - O nome da coluna.
107
- * @param {ICustomFormatter} customFormatter - A instância do formatador customizado.
108
- * @returns {Promise<void>}
99
+ * Registra um formatador de valores para uma coluna da grid.
109
100
  */
110
101
  async addCustomValueFormatter(columnName, customFormatter) {
111
102
  this._grid.addCustomValueFormatter(columnName, customFormatter);
112
103
  }
113
104
  /**
114
- * @description Remove o formatador de valores de uma coluna da grade.
115
- * @param {string} columnName - O nome da coluna.
116
- * @returns {Promise<void>}
105
+ * Remove o formatador de valores de uma coluna da grid.
117
106
  */
118
107
  async removeCustomValueFormatter(columnName) {
119
108
  this._grid.removeCustomValueFormatter(columnName);
120
109
  }
121
110
  /**
122
- * @description Altera/adiciona uma propriedade nos metadados do campo.
123
- * @param {string} fieldName - O nome do campo.
124
- * @param {string} propName - O nome da propriedade.
125
- * @param {any} value - O valor da propriedade.
126
- * @returns {Promise<void>}
111
+ * Altera/adiciona uma propriedade nos metadados do campo.
127
112
  */
128
113
  async setFieldProp(fieldName, propName, value) {
129
114
  const newCustomFieldProps = new Map(this._fieldsProps);
@@ -180,9 +165,7 @@ export class SnkSimpleCrud {
180
165
  return newTaskBarConfig;
181
166
  }
182
167
  /**
183
- * @description Usado para alternar a visão entre GRID e FORM externamente.
184
- * @param {VIEW_MODE} view - A visão para a qual navegar.
185
- * @returns {Promise<void>}
168
+ * Usado para alternar a visão entre GRID e FORM externamente.
186
169
  */
187
170
  async goToView(view) {
188
171
  this._currentViewMode = view;
@@ -456,11 +439,6 @@ export class SnkSimpleCrud {
456
439
  this.dataUnit = this._inMemoryLoader.dataUnit;
457
440
  this.dataUnitReady.emit(this.dataUnit);
458
441
  }
459
- /**
460
- * @description Define os metadados do DataUnit.
461
- * @param {UnitMetadata} metadata - Os metadados a serem definidos.
462
- * @returns {Promise<void>}
463
- */
464
442
  setMetadata(metadata) {
465
443
  if (this._inMemoryLoader) {
466
444
  this._inMemoryLoader.metadata = metadata;
@@ -470,11 +448,6 @@ export class SnkSimpleCrud {
470
448
  }
471
449
  return Promise.resolve();
472
450
  }
473
- /**
474
- * @description Define os registros do DataUnit.
475
- * @param {Array<Record>} records - Os registros a serem definidos.
476
- * @returns {Promise<void>}
477
- */
478
451
  setRecords(records) {
479
452
  if (this._inMemoryLoader) {
480
453
  this._inMemoryLoader.records = records;
@@ -484,33 +457,23 @@ export class SnkSimpleCrud {
484
457
  }
485
458
  return Promise.resolve();
486
459
  }
487
- /**
488
- * @description Obtém os registros do DataUnit.
489
- * @returns {Promise<Array<Record>>} Uma promessa que resolve com a lista de registros.
490
- */
491
460
  getRecords() {
492
461
  return Promise.resolve(this.dataUnit.records);
493
462
  }
494
463
  /**
495
- * @description Usado para abrir o configurador do CRUD.
496
- * @returns {Promise<void>}
464
+ * Usado para abrir o configurator do CRUD
497
465
  */
498
466
  async openConfigurator() {
499
467
  var _a;
500
468
  (_a = this._snkConfigurator) === null || _a === void 0 ? void 0 : _a.open();
501
469
  }
502
470
  /**
503
- * @description Usado para fechar o configurador do CRUD.
504
- * @returns {Promise<void>}
471
+ * Usado para fechar o configurator do CRUD
505
472
  */
506
473
  async closeConfigurator() {
507
474
  var _a;
508
475
  (_a = this._snkConfigurator) === null || _a === void 0 ? void 0 : _a.close();
509
476
  }
510
- /**
511
- * @description Atualiza a configuração do formulário.
512
- * @returns {Promise<void>}
513
- */
514
477
  async updateConfig() {
515
478
  if (this._formConfigManager == undefined) {
516
479
  this._formConfigManager = new SnkFormConfigManager(this.configName, this.resolveResourceID());
@@ -846,11 +809,8 @@ export class SnkSimpleCrud {
846
809
  "required": false,
847
810
  "optional": true,
848
811
  "docs": {
849
- "tags": [{
850
- "name": "description",
851
- "text": "Define se o componente deve usar o LockManager para controle de carregamento da aplica\u00E7\u00E3o."
852
- }],
853
- "text": ""
812
+ "tags": [],
813
+ "text": "Define se o componente deve usar o LockManager para controle de carregamento da aplica\u00E7\u00E3o"
854
814
  },
855
815
  "attribute": "enable-lock-manager-loading-comp",
856
816
  "reflect": false,
@@ -867,11 +827,8 @@ export class SnkSimpleCrud {
867
827
  "required": false,
868
828
  "optional": true,
869
829
  "docs": {
870
- "tags": [{
871
- "name": "description",
872
- "text": "Ativa o gerenciamento de locks na grade pela Taskbar."
873
- }],
874
- "text": ""
830
+ "tags": [],
831
+ "text": "Ativa o gerenciamento de locks na grade pela Taskbar."
875
832
  },
876
833
  "attribute": "enable-lock-manager-taskbar-click",
877
834
  "reflect": false,
@@ -893,10 +850,7 @@ export class SnkSimpleCrud {
893
850
  "required": false,
894
851
  "optional": false,
895
852
  "docs": {
896
- "tags": [{
897
- "name": "description",
898
- "text": "Estado atual dos dados."
899
- }],
853
+ "tags": [],
900
854
  "text": ""
901
855
  }
902
856
  },
@@ -916,10 +870,7 @@ export class SnkSimpleCrud {
916
870
  "required": false,
917
871
  "optional": false,
918
872
  "docs": {
919
- "tags": [{
920
- "name": "description",
921
- "text": "Inst\u00E2ncia do DataUnit a ser utilizada pelo componente."
922
- }],
873
+ "tags": [],
923
874
  "text": ""
924
875
  }
925
876
  },
@@ -934,11 +885,8 @@ export class SnkSimpleCrud {
934
885
  "required": false,
935
886
  "optional": false,
936
887
  "docs": {
937
- "tags": [{
938
- "name": "description",
939
- "text": "Define o nome da entidade que o componente vai utilizar para fazer as opera\u00E7\u00F5es de CRUD."
940
- }],
941
- "text": ""
888
+ "tags": [],
889
+ "text": "Define o nome da entidade que o componente vai utilizar para fazer as opera\u00E7\u00F5es de CRUD"
942
890
  },
943
891
  "attribute": "entity-name",
944
892
  "reflect": false
@@ -959,10 +907,7 @@ export class SnkSimpleCrud {
959
907
  "required": false,
960
908
  "optional": false,
961
909
  "docs": {
962
- "tags": [{
963
- "name": "description",
964
- "text": "Define o modo de opera\u00E7\u00E3o do CRUD (servidor ou em mem\u00F3ria)."
965
- }],
910
+ "tags": [],
966
911
  "text": ""
967
912
  },
968
913
  "attribute": "mode",
@@ -985,10 +930,7 @@ export class SnkSimpleCrud {
985
930
  "required": false,
986
931
  "optional": false,
987
932
  "docs": {
988
- "tags": [{
989
- "name": "description",
990
- "text": "Configura\u00E7\u00E3o da grade."
991
- }],
933
+ "tags": [],
992
934
  "text": ""
993
935
  }
994
936
  },
@@ -1008,10 +950,7 @@ export class SnkSimpleCrud {
1008
950
  "required": false,
1009
951
  "optional": false,
1010
952
  "docs": {
1011
- "tags": [{
1012
- "name": "description",
1013
- "text": "Configura\u00E7\u00E3o do formul\u00E1rio."
1014
- }],
953
+ "tags": [],
1015
954
  "text": ""
1016
955
  }
1017
956
  },
@@ -1026,10 +965,7 @@ export class SnkSimpleCrud {
1026
965
  "required": false,
1027
966
  "optional": false,
1028
967
  "docs": {
1029
- "tags": [{
1030
- "name": "description",
1031
- "text": "Habilita a inser\u00E7\u00E3o cont\u00EDnua de registros."
1032
- }],
968
+ "tags": [],
1033
969
  "text": ""
1034
970
  },
1035
971
  "attribute": "enable-continuous-insert",
@@ -1047,11 +983,8 @@ export class SnkSimpleCrud {
1047
983
  "required": false,
1048
984
  "optional": false,
1049
985
  "docs": {
1050
- "tags": [{
1051
- "name": "description",
1052
- "text": "Determina se pode haver mais de uma linha selecionada na grade."
1053
- }],
1054
- "text": ""
986
+ "tags": [],
987
+ "text": "Determina se pode haver mais de uma linha selecionada na grade."
1055
988
  },
1056
989
  "attribute": "multiple-selection",
1057
990
  "reflect": false
@@ -1067,10 +1000,7 @@ export class SnkSimpleCrud {
1067
1000
  "required": false,
1068
1001
  "optional": false,
1069
1002
  "docs": {
1070
- "tags": [{
1071
- "name": "description",
1072
- "text": "Determina se ser\u00E1 usada mensagem de confirma\u00E7\u00E3o padr\u00E3o na tentativa de cancelar a edi\u00E7\u00E3o."
1073
- }],
1003
+ "tags": [],
1074
1004
  "text": ""
1075
1005
  },
1076
1006
  "attribute": "use-cancel-confirm",
@@ -1088,11 +1018,8 @@ export class SnkSimpleCrud {
1088
1018
  "required": false,
1089
1019
  "optional": false,
1090
1020
  "docs": {
1091
- "tags": [{
1092
- "name": "description",
1093
- "text": "Determina quantas linhas s\u00E3o retornadas por p\u00E1gina."
1094
- }],
1095
- "text": ""
1021
+ "tags": [],
1022
+ "text": "Determina quantas linhas s\u00E3o retornadas por p\u00E1gina."
1096
1023
  },
1097
1024
  "attribute": "page-size",
1098
1025
  "reflect": false,
@@ -1109,11 +1036,8 @@ export class SnkSimpleCrud {
1109
1036
  "required": false,
1110
1037
  "optional": false,
1111
1038
  "docs": {
1112
- "tags": [{
1113
- "name": "description",
1114
- "text": "Identificador de recursos como configura\u00E7\u00F5es e acesso."
1115
- }],
1116
- "text": ""
1039
+ "tags": [],
1040
+ "text": "Identificador de recursos como configura\u00E7\u00F5es e acesso."
1117
1041
  },
1118
1042
  "attribute": "resource-i-d",
1119
1043
  "reflect": false
@@ -1129,11 +1053,8 @@ export class SnkSimpleCrud {
1129
1053
  "required": false,
1130
1054
  "optional": true,
1131
1055
  "docs": {
1132
- "tags": [{
1133
- "name": "description",
1134
- "text": "Ativa a inser\u00E7\u00E3o de registros no modo grade."
1135
- }],
1136
- "text": ""
1056
+ "tags": [],
1057
+ "text": "Ativa inser\u00E7\u00E3o de registros no modo grade."
1137
1058
  },
1138
1059
  "attribute": "enable-grid-insert",
1139
1060
  "reflect": false,
@@ -1150,11 +1071,8 @@ export class SnkSimpleCrud {
1150
1071
  "required": false,
1151
1072
  "optional": true,
1152
1073
  "docs": {
1153
- "tags": [{
1154
- "name": "description",
1155
- "text": "Define o modo de exibi\u00E7\u00E3o do contador de pagina\u00E7\u00E3o."
1156
- }],
1157
- "text": ""
1074
+ "tags": [],
1075
+ "text": "Define se a grid ser\u00E1 focada ao ser carregada."
1158
1076
  },
1159
1077
  "attribute": "pagination-counter-mode",
1160
1078
  "reflect": false,
@@ -1176,11 +1094,8 @@ export class SnkSimpleCrud {
1176
1094
  "required": false,
1177
1095
  "optional": false,
1178
1096
  "docs": {
1179
- "tags": [{
1180
- "name": "description",
1181
- "text": "Gerenciador das barras de tarefas. \u00C9 poss\u00EDvel determinar bot\u00F5es espec\u00EDficos ou mesmo gerenciar o estado dos bot\u00F5es."
1182
- }],
1183
- "text": ""
1097
+ "tags": [],
1098
+ "text": "Gerenciador das barras de tarefas. \u00C9 poss\u00EDvel determinar bot\u00F5es espec\u00EDficos\nou mesmo gerenciar o estado dos bot\u00F5es."
1184
1099
  }
1185
1100
  },
1186
1101
  "messagesBuilder": {
@@ -1199,11 +1114,8 @@ export class SnkSimpleCrud {
1199
1114
  "required": false,
1200
1115
  "optional": false,
1201
1116
  "docs": {
1202
- "tags": [{
1203
- "name": "description",
1204
- "text": "Respons\u00E1vel por flexibilizar e padronizar o uso de mensagens nos blocos de constru\u00E7\u00E3o."
1205
- }],
1206
- "text": ""
1117
+ "tags": [],
1118
+ "text": "Respons\u00E1vel por flexibilizar e padronizar o uso de mensagens nos blocos de constru\u00E7\u00E3o."
1207
1119
  }
1208
1120
  },
1209
1121
  "useEnterLikeTab": {
@@ -1217,11 +1129,8 @@ export class SnkSimpleCrud {
1217
1129
  "required": false,
1218
1130
  "optional": false,
1219
1131
  "docs": {
1220
- "tags": [{
1221
- "name": "description",
1222
- "text": "Quando verdadeiro, o ENTER far\u00E1 a navega\u00E7\u00E3o como se fosse a tecla TAB na grade."
1223
- }],
1224
- "text": ""
1132
+ "tags": [],
1133
+ "text": "Quando verdadeiro, o ENTER far\u00E1 a navega\u00E7\u00E3o como se fosse a tecla TAB na grade."
1225
1134
  },
1226
1135
  "attribute": "use-enter-like-tab",
1227
1136
  "reflect": false,
@@ -1246,11 +1155,8 @@ export class SnkSimpleCrud {
1246
1155
  "required": false,
1247
1156
  "optional": false,
1248
1157
  "docs": {
1249
- "tags": [{
1250
- "name": "description",
1251
- "text": "A\u00E7\u00F5es a serem colocadas no bot\u00E3o \"Mais op\u00E7\u00F5es\" do componente snk-taskbar."
1252
- }],
1253
- "text": ""
1158
+ "tags": [],
1159
+ "text": "A\u00E7\u00F5es a serem colocadas no bot\u00E3o \"Mais op\u00E7\u00F5es\" do componente snk-taskbar."
1254
1160
  }
1255
1161
  },
1256
1162
  "configName": {
@@ -1264,11 +1170,8 @@ export class SnkSimpleCrud {
1264
1170
  "required": false,
1265
1171
  "optional": false,
1266
1172
  "docs": {
1267
- "tags": [{
1268
- "name": "description",
1269
- "text": "Usado para salvar as configura\u00E7\u00F5es dos blocos de constru\u00E7\u00E3o."
1270
- }],
1271
- "text": ""
1173
+ "tags": [],
1174
+ "text": "Usado para salvar as configura\u00E7\u00F5es dos blocos de constru\u00E7\u00E3o."
1272
1175
  },
1273
1176
  "attribute": "config-name",
1274
1177
  "reflect": false
@@ -1284,11 +1187,8 @@ export class SnkSimpleCrud {
1284
1187
  "required": false,
1285
1188
  "optional": false,
1286
1189
  "docs": {
1287
- "tags": [{
1288
- "name": "description",
1289
- "text": "Usado para exibir os bot\u00F5es de a\u00E7\u00E3o do snk-configurator."
1290
- }],
1291
- "text": ""
1190
+ "tags": [],
1191
+ "text": "Usado para exibir os bot\u00F5es de a\u00E7\u00E3o do snk-configurator."
1292
1192
  },
1293
1193
  "attribute": "show-configurator-buttons",
1294
1194
  "reflect": false,
@@ -1305,11 +1205,8 @@ export class SnkSimpleCrud {
1305
1205
  "required": false,
1306
1206
  "optional": false,
1307
1207
  "docs": {
1308
- "tags": [{
1309
- "name": "description",
1310
- "text": "Chave da configura\u00E7\u00E3o legada da grade."
1311
- }],
1312
- "text": ""
1208
+ "tags": [],
1209
+ "text": "Chave da configura\u00E7\u00E3o legado da grade."
1313
1210
  },
1314
1211
  "attribute": "grid-legacy-config-name",
1315
1212
  "reflect": false
@@ -1325,11 +1222,8 @@ export class SnkSimpleCrud {
1325
1222
  "required": false,
1326
1223
  "optional": false,
1327
1224
  "docs": {
1328
- "tags": [{
1329
- "name": "description",
1330
- "text": "Chave da configura\u00E7\u00E3o legada do formul\u00E1rio."
1331
- }],
1332
- "text": ""
1225
+ "tags": [],
1226
+ "text": "Chave da configura\u00E7\u00E3o legado do formul\u00E1rio."
1333
1227
  },
1334
1228
  "attribute": "form-legacy-config-name",
1335
1229
  "reflect": false
@@ -1345,11 +1239,8 @@ export class SnkSimpleCrud {
1345
1239
  "required": false,
1346
1240
  "optional": false,
1347
1241
  "docs": {
1348
- "tags": [{
1349
- "name": "description",
1350
- "text": "Ignora os campos \"somente leitura\" no modo de inser\u00E7\u00E3o."
1351
- }],
1352
- "text": ""
1242
+ "tags": [],
1243
+ "text": "Ignora os campos \"somente leitura\" no modo de inser\u00E7\u00E3o."
1353
1244
  },
1354
1245
  "attribute": "ignore-read-only-form-fields",
1355
1246
  "reflect": false,
@@ -1366,11 +1257,8 @@ export class SnkSimpleCrud {
1366
1257
  "required": false,
1367
1258
  "optional": true,
1368
1259
  "docs": {
1369
- "tags": [{
1370
- "name": "description",
1371
- "text": "Define se a grade ser\u00E1 focada ao ser carregada."
1372
- }],
1373
- "text": ""
1260
+ "tags": [],
1261
+ "text": "Define se a grid ser\u00E1 focada ao ser carregada."
1374
1262
  },
1375
1263
  "attribute": "auto-focus",
1376
1264
  "reflect": false,
@@ -1387,11 +1275,8 @@ export class SnkSimpleCrud {
1387
1275
  "required": false,
1388
1276
  "optional": false,
1389
1277
  "docs": {
1390
- "tags": [{
1391
- "name": "description",
1392
- "text": "Define a chave customizada para sobrescrever as mensagens (n\u00E3o pegando pela entidade)."
1393
- }],
1394
- "text": ""
1278
+ "tags": [],
1279
+ "text": "Define a chave customizada para sobrescrever as mensagens (N\u00E3o pegando pela entidade)"
1395
1280
  },
1396
1281
  "attribute": "domain-messages-builder",
1397
1282
  "reflect": false
@@ -1407,11 +1292,8 @@ export class SnkSimpleCrud {
1407
1292
  "required": false,
1408
1293
  "optional": false,
1409
1294
  "docs": {
1410
- "tags": [{
1411
- "name": "description",
1412
- "text": "Habilita a edi\u00E7\u00E3o de m\u00FAltiplos registros simult\u00E2neos."
1413
- }],
1414
- "text": ""
1295
+ "tags": [],
1296
+ "text": "Habilita a edi\u00E7\u00E3o de m\u00FAltiplos registros simult\u00E2neos."
1415
1297
  },
1416
1298
  "attribute": "multiple-edition-enabled",
1417
1299
  "reflect": false,
@@ -1428,11 +1310,8 @@ export class SnkSimpleCrud {
1428
1310
  "required": false,
1429
1311
  "optional": false,
1430
1312
  "docs": {
1431
- "tags": [{
1432
- "name": "description",
1433
- "text": "Define se o LayoutFormConfig ser\u00E1 exibido no configurador."
1434
- }],
1435
- "text": ""
1313
+ "tags": [],
1314
+ "text": "Define se o LayoutFormConfig ser\u00E1 exibido no configurador."
1436
1315
  },
1437
1316
  "attribute": "layout-form-config",
1438
1317
  "reflect": false,
@@ -1449,11 +1328,8 @@ export class SnkSimpleCrud {
1449
1328
  "required": false,
1450
1329
  "optional": true,
1451
1330
  "docs": {
1452
- "tags": [{
1453
- "name": "description",
1454
- "text": "Define se a carga dos dados ser\u00E1 feita assim que o componente for carregado."
1455
- }],
1456
- "text": ""
1331
+ "tags": [],
1332
+ "text": "Define se a carga dos dados ser\u00E1 feita assim que o componente for carregado."
1457
1333
  },
1458
1334
  "attribute": "auto-load",
1459
1335
  "reflect": false
@@ -1469,11 +1345,8 @@ export class SnkSimpleCrud {
1469
1345
  "required": false,
1470
1346
  "optional": true,
1471
1347
  "docs": {
1472
- "tags": [{
1473
- "name": "description",
1474
- "text": "Altera visualmente as sombras e bordas do componente.\nQuando `false`, aplica o padr\u00E3o de sombras ao componente (utilizar quando for o elemento principal do layout).\nQuando `true`, aplica o padr\u00E3o de contorno ao componente (utilizar quando estiver contido em outro elemento como um painel ou pop-up)."
1475
- }],
1476
- "text": ""
1348
+ "tags": [],
1349
+ "text": "Altera visualmente as sombras e bordas do componente\nQuando false, aplica o padr\u00E3o de sombras ao componente (Utilizar quando for o elemento principal do layout)\nQuando true, aplica o padr\u00E3o de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)"
1477
1350
  },
1478
1351
  "attribute": "outline-mode",
1479
1352
  "reflect": false,
@@ -1501,11 +1374,8 @@ export class SnkSimpleCrud {
1501
1374
  "cancelable": true,
1502
1375
  "composed": true,
1503
1376
  "docs": {
1504
- "tags": [{
1505
- "name": "description",
1506
- "text": "Emitido quando h\u00E1 qualquer mudan\u00E7a de estado no DataUnit."
1507
- }],
1508
- "text": ""
1377
+ "tags": [],
1378
+ "text": "Emitido quando h\u00E1 qualquer mudan\u00E7a de estado no DataUnit."
1509
1379
  },
1510
1380
  "complexType": {
1511
1381
  "original": "DataState",
@@ -1524,11 +1394,8 @@ export class SnkSimpleCrud {
1524
1394
  "cancelable": true,
1525
1395
  "composed": true,
1526
1396
  "docs": {
1527
- "tags": [{
1528
- "name": "description",
1529
- "text": "Emitido quando o DataUnit est\u00E1 pronto."
1530
- }],
1531
- "text": ""
1397
+ "tags": [],
1398
+ "text": "Emitido quando o DataUnit est\u00E1 pronto."
1532
1399
  },
1533
1400
  "complexType": {
1534
1401
  "original": "DataUnit",
@@ -1547,11 +1414,8 @@ export class SnkSimpleCrud {
1547
1414
  "cancelable": true,
1548
1415
  "composed": true,
1549
1416
  "docs": {
1550
- "tags": [{
1551
- "name": "description",
1552
- "text": "Emitido sempre que houver clique de bot\u00E3o ou a\u00E7\u00E3o na barra de tarefas."
1553
- }],
1554
- "text": ""
1417
+ "tags": [],
1418
+ "text": "Emitido sempre que houver click de bot\u00E3o ou a\u00E7\u00E3o."
1555
1419
  },
1556
1420
  "complexType": {
1557
1421
  "original": "string",
@@ -1565,11 +1429,8 @@ export class SnkSimpleCrud {
1565
1429
  "cancelable": true,
1566
1430
  "composed": true,
1567
1431
  "docs": {
1568
- "tags": [{
1569
- "name": "description",
1570
- "text": "Respons\u00E1vel por notificar quando ocorrer a renderiza\u00E7\u00E3o de itens do formul\u00E1rio."
1571
- }],
1572
- "text": ""
1432
+ "tags": [],
1433
+ "text": "Respons\u00E1vel por notificar quando ocorrer a renderiza\u00E7\u00E3o de itens do formul\u00E1rio."
1573
1434
  },
1574
1435
  "complexType": {
1575
1436
  "original": "Array<HTMLElement>",
@@ -1590,11 +1451,8 @@ export class SnkSimpleCrud {
1590
1451
  "cancelable": true,
1591
1452
  "composed": true,
1592
1453
  "docs": {
1593
- "tags": [{
1594
- "name": "description",
1595
- "text": "Emitido quando a configura\u00E7\u00E3o no configurador do CRUD \u00E9 salva."
1596
- }],
1597
- "text": ""
1454
+ "tags": [],
1455
+ "text": "Emitido quando salva a configura\u00E7\u00E3o no configurator do CRUD."
1598
1456
  },
1599
1457
  "complexType": {
1600
1458
  "original": "any",
@@ -1608,11 +1466,8 @@ export class SnkSimpleCrud {
1608
1466
  "cancelable": true,
1609
1467
  "composed": true,
1610
1468
  "docs": {
1611
- "tags": [{
1612
- "name": "description",
1613
- "text": "Emitido quando o salvamento da configura\u00E7\u00E3o no configurador do CRUD \u00E9 cancelado."
1614
- }],
1615
- "text": ""
1469
+ "tags": [],
1470
+ "text": "Emitido quando cancela o salvamento da configura\u00E7\u00E3o no configurator do CRUD."
1616
1471
  },
1617
1472
  "complexType": {
1618
1473
  "original": "any",
@@ -1627,17 +1482,11 @@ export class SnkSimpleCrud {
1627
1482
  "complexType": {
1628
1483
  "signature": "(fieldName: string, customEditor: ICustomEditor) => Promise<void>",
1629
1484
  "parameters": [{
1630
- "tags": [{
1631
- "name": "param",
1632
- "text": "fieldName - O nome do campo."
1633
- }],
1634
- "text": "- O nome do campo."
1485
+ "tags": [],
1486
+ "text": ""
1635
1487
  }, {
1636
- "tags": [{
1637
- "name": "param",
1638
- "text": "customEditor - A inst\u00E2ncia do editor customizado."
1639
- }],
1640
- "text": "- A inst\u00E2ncia do editor customizado."
1488
+ "tags": [],
1489
+ "text": ""
1641
1490
  }],
1642
1491
  "references": {
1643
1492
  "Promise": {
@@ -1651,37 +1500,19 @@ export class SnkSimpleCrud {
1651
1500
  "return": "Promise<void>"
1652
1501
  },
1653
1502
  "docs": {
1654
- "text": "",
1655
- "tags": [{
1656
- "name": "description",
1657
- "text": "Registra um editor customizado para campos da grade e do formul\u00E1rio."
1658
- }, {
1659
- "name": "param",
1660
- "text": "fieldName - O nome do campo."
1661
- }, {
1662
- "name": "param",
1663
- "text": "customEditor - A inst\u00E2ncia do editor customizado."
1664
- }, {
1665
- "name": "returns",
1666
- "text": undefined
1667
- }]
1503
+ "text": "Registra um editor customizado para campos da grade e formul\u00E1rio.",
1504
+ "tags": []
1668
1505
  }
1669
1506
  },
1670
1507
  "addGridCustomRender": {
1671
1508
  "complexType": {
1672
1509
  "signature": "(fieldName: string, customRender: ICustomRender) => Promise<void>",
1673
1510
  "parameters": [{
1674
- "tags": [{
1675
- "name": "param",
1676
- "text": "fieldName - O nome do campo."
1677
- }],
1678
- "text": "- O nome do campo."
1511
+ "tags": [],
1512
+ "text": ""
1679
1513
  }, {
1680
- "tags": [{
1681
- "name": "param",
1682
- "text": "customRender - A inst\u00E2ncia do renderizador customizado."
1683
- }],
1684
- "text": "- A inst\u00E2ncia do renderizador customizado."
1514
+ "tags": [],
1515
+ "text": ""
1685
1516
  }],
1686
1517
  "references": {
1687
1518
  "Promise": {
@@ -1695,37 +1526,19 @@ export class SnkSimpleCrud {
1695
1526
  "return": "Promise<void>"
1696
1527
  },
1697
1528
  "docs": {
1698
- "text": "",
1699
- "tags": [{
1700
- "name": "description",
1701
- "text": "Registra um renderizador customizado para colunas da grade."
1702
- }, {
1703
- "name": "param",
1704
- "text": "fieldName - O nome do campo."
1705
- }, {
1706
- "name": "param",
1707
- "text": "customRender - A inst\u00E2ncia do renderizador customizado."
1708
- }, {
1709
- "name": "returns",
1710
- "text": undefined
1711
- }]
1529
+ "text": "Registra um render customizado para colunas da grid.",
1530
+ "tags": []
1712
1531
  }
1713
1532
  },
1714
1533
  "addCustomValueFormatter": {
1715
1534
  "complexType": {
1716
1535
  "signature": "(columnName: string, customFormatter: ICustomFormatter) => Promise<void>",
1717
1536
  "parameters": [{
1718
- "tags": [{
1719
- "name": "param",
1720
- "text": "columnName - O nome da coluna."
1721
- }],
1722
- "text": "- O nome da coluna."
1537
+ "tags": [],
1538
+ "text": ""
1723
1539
  }, {
1724
- "tags": [{
1725
- "name": "param",
1726
- "text": "customFormatter - A inst\u00E2ncia do formatador customizado."
1727
- }],
1728
- "text": "- A inst\u00E2ncia do formatador customizado."
1540
+ "tags": [],
1541
+ "text": ""
1729
1542
  }],
1730
1543
  "references": {
1731
1544
  "Promise": {
@@ -1739,31 +1552,16 @@ export class SnkSimpleCrud {
1739
1552
  "return": "Promise<void>"
1740
1553
  },
1741
1554
  "docs": {
1742
- "text": "",
1743
- "tags": [{
1744
- "name": "description",
1745
- "text": "Registra um formatador de valores para uma coluna da grade."
1746
- }, {
1747
- "name": "param",
1748
- "text": "columnName - O nome da coluna."
1749
- }, {
1750
- "name": "param",
1751
- "text": "customFormatter - A inst\u00E2ncia do formatador customizado."
1752
- }, {
1753
- "name": "returns",
1754
- "text": undefined
1755
- }]
1555
+ "text": "Registra um formatador de valores para uma coluna da grid.",
1556
+ "tags": []
1756
1557
  }
1757
1558
  },
1758
1559
  "removeCustomValueFormatter": {
1759
1560
  "complexType": {
1760
1561
  "signature": "(columnName: string) => Promise<void>",
1761
1562
  "parameters": [{
1762
- "tags": [{
1763
- "name": "param",
1764
- "text": "columnName - O nome da coluna."
1765
- }],
1766
- "text": "- O nome da coluna."
1563
+ "tags": [],
1564
+ "text": ""
1767
1565
  }],
1768
1566
  "references": {
1769
1567
  "Promise": {
@@ -1773,40 +1571,22 @@ export class SnkSimpleCrud {
1773
1571
  "return": "Promise<void>"
1774
1572
  },
1775
1573
  "docs": {
1776
- "text": "",
1777
- "tags": [{
1778
- "name": "description",
1779
- "text": "Remove o formatador de valores de uma coluna da grade."
1780
- }, {
1781
- "name": "param",
1782
- "text": "columnName - O nome da coluna."
1783
- }, {
1784
- "name": "returns",
1785
- "text": undefined
1786
- }]
1574
+ "text": "Remove o formatador de valores de uma coluna da grid.",
1575
+ "tags": []
1787
1576
  }
1788
1577
  },
1789
1578
  "setFieldProp": {
1790
1579
  "complexType": {
1791
1580
  "signature": "(fieldName: string, propName: string, value: any) => Promise<void>",
1792
1581
  "parameters": [{
1793
- "tags": [{
1794
- "name": "param",
1795
- "text": "fieldName - O nome do campo."
1796
- }],
1797
- "text": "- O nome do campo."
1582
+ "tags": [],
1583
+ "text": ""
1798
1584
  }, {
1799
- "tags": [{
1800
- "name": "param",
1801
- "text": "propName - O nome da propriedade."
1802
- }],
1803
- "text": "- O nome da propriedade."
1585
+ "tags": [],
1586
+ "text": ""
1804
1587
  }, {
1805
- "tags": [{
1806
- "name": "param",
1807
- "text": "value - O valor da propriedade."
1808
- }],
1809
- "text": "- O valor da propriedade."
1588
+ "tags": [],
1589
+ "text": ""
1810
1590
  }],
1811
1591
  "references": {
1812
1592
  "Promise": {
@@ -1816,34 +1596,16 @@ export class SnkSimpleCrud {
1816
1596
  "return": "Promise<void>"
1817
1597
  },
1818
1598
  "docs": {
1819
- "text": "",
1820
- "tags": [{
1821
- "name": "description",
1822
- "text": "Altera/adiciona uma propriedade nos metadados do campo."
1823
- }, {
1824
- "name": "param",
1825
- "text": "fieldName - O nome do campo."
1826
- }, {
1827
- "name": "param",
1828
- "text": "propName - O nome da propriedade."
1829
- }, {
1830
- "name": "param",
1831
- "text": "value - O valor da propriedade."
1832
- }, {
1833
- "name": "returns",
1834
- "text": undefined
1835
- }]
1599
+ "text": "Altera/adiciona uma propriedade nos metadados do campo.",
1600
+ "tags": []
1836
1601
  }
1837
1602
  },
1838
1603
  "goToView": {
1839
1604
  "complexType": {
1840
1605
  "signature": "(view: VIEW_MODE) => Promise<void>",
1841
1606
  "parameters": [{
1842
- "tags": [{
1843
- "name": "param",
1844
- "text": "view - A vis\u00E3o para a qual navegar."
1845
- }],
1846
- "text": "- A vis\u00E3o para a qual navegar."
1607
+ "tags": [],
1608
+ "text": ""
1847
1609
  }],
1848
1610
  "references": {
1849
1611
  "Promise": {
@@ -1857,28 +1619,16 @@ export class SnkSimpleCrud {
1857
1619
  "return": "Promise<void>"
1858
1620
  },
1859
1621
  "docs": {
1860
- "text": "",
1861
- "tags": [{
1862
- "name": "description",
1863
- "text": "Usado para alternar a vis\u00E3o entre GRID e FORM externamente."
1864
- }, {
1865
- "name": "param",
1866
- "text": "view - A vis\u00E3o para a qual navegar."
1867
- }, {
1868
- "name": "returns",
1869
- "text": undefined
1870
- }]
1622
+ "text": "Usado para alternar a vis\u00E3o entre GRID e FORM externamente.",
1623
+ "tags": []
1871
1624
  }
1872
1625
  },
1873
1626
  "setMetadata": {
1874
1627
  "complexType": {
1875
1628
  "signature": "(metadata: UnitMetadata) => Promise<void>",
1876
1629
  "parameters": [{
1877
- "tags": [{
1878
- "name": "param",
1879
- "text": "metadata - Os metadados a serem definidos."
1880
- }],
1881
- "text": "- Os metadados a serem definidos."
1630
+ "tags": [],
1631
+ "text": ""
1882
1632
  }],
1883
1633
  "references": {
1884
1634
  "Promise": {
@@ -1893,27 +1643,15 @@ export class SnkSimpleCrud {
1893
1643
  },
1894
1644
  "docs": {
1895
1645
  "text": "",
1896
- "tags": [{
1897
- "name": "description",
1898
- "text": "Define os metadados do DataUnit."
1899
- }, {
1900
- "name": "param",
1901
- "text": "metadata - Os metadados a serem definidos."
1902
- }, {
1903
- "name": "returns",
1904
- "text": undefined
1905
- }]
1646
+ "tags": []
1906
1647
  }
1907
1648
  },
1908
1649
  "setRecords": {
1909
1650
  "complexType": {
1910
1651
  "signature": "(records: Array<Record>) => Promise<void>",
1911
1652
  "parameters": [{
1912
- "tags": [{
1913
- "name": "param",
1914
- "text": "records - Os registros a serem definidos."
1915
- }],
1916
- "text": "- Os registros a serem definidos."
1653
+ "tags": [],
1654
+ "text": ""
1917
1655
  }],
1918
1656
  "references": {
1919
1657
  "Promise": {
@@ -1931,16 +1669,7 @@ export class SnkSimpleCrud {
1931
1669
  },
1932
1670
  "docs": {
1933
1671
  "text": "",
1934
- "tags": [{
1935
- "name": "description",
1936
- "text": "Define os registros do DataUnit."
1937
- }, {
1938
- "name": "param",
1939
- "text": "records - Os registros a serem definidos."
1940
- }, {
1941
- "name": "returns",
1942
- "text": undefined
1943
- }]
1672
+ "tags": []
1944
1673
  }
1945
1674
  },
1946
1675
  "getRecords": {
@@ -1963,13 +1692,7 @@ export class SnkSimpleCrud {
1963
1692
  },
1964
1693
  "docs": {
1965
1694
  "text": "",
1966
- "tags": [{
1967
- "name": "description",
1968
- "text": "Obt\u00E9m os registros do DataUnit."
1969
- }, {
1970
- "name": "returns",
1971
- "text": "Uma promessa que resolve com a lista de registros."
1972
- }]
1695
+ "tags": []
1973
1696
  }
1974
1697
  },
1975
1698
  "openConfigurator": {
@@ -1984,14 +1707,8 @@ export class SnkSimpleCrud {
1984
1707
  "return": "Promise<void>"
1985
1708
  },
1986
1709
  "docs": {
1987
- "text": "",
1988
- "tags": [{
1989
- "name": "description",
1990
- "text": "Usado para abrir o configurador do CRUD."
1991
- }, {
1992
- "name": "returns",
1993
- "text": undefined
1994
- }]
1710
+ "text": "Usado para abrir o configurator do CRUD",
1711
+ "tags": []
1995
1712
  }
1996
1713
  },
1997
1714
  "closeConfigurator": {
@@ -2006,14 +1723,8 @@ export class SnkSimpleCrud {
2006
1723
  "return": "Promise<void>"
2007
1724
  },
2008
1725
  "docs": {
2009
- "text": "",
2010
- "tags": [{
2011
- "name": "description",
2012
- "text": "Usado para fechar o configurador do CRUD."
2013
- }, {
2014
- "name": "returns",
2015
- "text": undefined
2016
- }]
1726
+ "text": "Usado para fechar o configurator do CRUD",
1727
+ "tags": []
2017
1728
  }
2018
1729
  },
2019
1730
  "updateConfig": {
@@ -2029,13 +1740,7 @@ export class SnkSimpleCrud {
2029
1740
  },
2030
1741
  "docs": {
2031
1742
  "text": "",
2032
- "tags": [{
2033
- "name": "description",
2034
- "text": "Atualiza a configura\u00E7\u00E3o do formul\u00E1rio."
2035
- }, {
2036
- "name": "returns",
2037
- "text": undefined
2038
- }]
1743
+ "tags": []
2039
1744
  }
2040
1745
  }
2041
1746
  };