@sankhyalabs/sankhyablocks 9.2.0-ms.13 → 9.2.0-ms.3
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.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/snk-application.cjs.entry.js +3 -0
- package/dist/cjs/snk-filter-bar_4.cjs.entry.js +15 -25
- package/dist/cjs/snk-form_2.cjs.entry.js +1 -27
- package/dist/cjs/snk-grid.cjs.entry.js +0 -4
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +2 -10
- package/dist/cjs/snk-simple-bar.cjs.entry.js +5 -5
- package/dist/cjs/snk-simple-crud.cjs.entry.js +8 -45
- package/dist/collection/components/snk-application/snk-application.js +2 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +63 -210
- package/dist/collection/components/snk-form/snk-form.js +22 -133
- package/dist/collection/components/snk-grid/snk-grid.js +0 -38
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js +21 -83
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +14 -80
- package/dist/collection/components/snk-simple-bar/snk-simple-bar.js +9 -9
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +119 -414
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +36 -102
- package/dist/collection/lib/licenses/sankhyalicense.module.js +1 -0
- package/dist/components/snk-application2.js +3 -0
- package/dist/components/snk-filter-bar2.js +15 -26
- package/dist/components/snk-form.js +2 -29
- package/dist/components/snk-grid2.js +0 -6
- package/dist/components/snk-personalized-filter2.js +2 -10
- package/dist/components/snk-simple-bar2.js +5 -5
- package/dist/components/snk-simple-crud2.js +8 -45
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/snk-application.entry.js +3 -0
- package/dist/esm/snk-filter-bar_4.entry.js +15 -25
- package/dist/esm/snk-form_2.entry.js +1 -27
- package/dist/esm/snk-grid.entry.js +0 -4
- package/dist/esm/snk-personalized-filter.entry.js +2 -10
- package/dist/esm/snk-simple-bar.entry.js +5 -5
- package/dist/esm/snk-simple-crud.entry.js +8 -45
- package/dist/sankhyablocks/p-012208e0.entry.js +1 -0
- package/dist/sankhyablocks/p-81769310.entry.js +11 -0
- package/dist/sankhyablocks/p-a86eee47.entry.js +1 -0
- package/dist/sankhyablocks/p-fa18530e.entry.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +28 -45
- package/dist/types/components/snk-form/snk-form.d.ts +4 -29
- package/dist/types/components/snk-grid/snk-grid.d.ts +0 -5
- package/dist/types/components/snk-personalized-filter/snk-personalized-filter.d.ts +5 -53
- package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +6 -44
- package/dist/types/components/snk-simple-bar/snk-simple-bar.d.ts +15 -15
- package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +43 -100
- package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +21 -23
- package/dist/types/components.d.ts +165 -379
- package/package.json +1 -1
- package/dist/sankhyablocks/p-51464e95.entry.js +0 -1
- package/dist/sankhyablocks/p-665dd170.entry.js +0 -11
- package/dist/sankhyablocks/p-6fa3d474.entry.js +0 -1
- package/dist/sankhyablocks/p-cf7063a4.entry.js +0 -1
@@ -17,26 +17,18 @@ export class SnkForm {
|
|
17
17
|
}
|
18
18
|
/**
|
19
19
|
* Exibe a janela de configurações do formulário.
|
20
|
-
* @async
|
21
|
-
* @returns {Promise<void>}
|
22
20
|
*/
|
23
21
|
async showConfig() {
|
24
22
|
this._showFormConfig = true;
|
25
23
|
}
|
26
24
|
/**
|
27
25
|
* Fecha a janela de configurações do formulário.
|
28
|
-
* @async
|
29
|
-
* @returns {Promise<void>}
|
30
26
|
*/
|
31
27
|
async hideConfig() {
|
32
28
|
this._showFormConfig = false;
|
33
29
|
}
|
34
30
|
/**
|
35
|
-
* Registra um editor customizado para campos
|
36
|
-
* @async
|
37
|
-
* @param {string} fieldName - Nome do campo.
|
38
|
-
* @param {ICustomEditor} customEditor - Editor customizado.
|
39
|
-
* @returns {Promise<void>}
|
31
|
+
* Registra um editor customizado para campos da grade e formulário.
|
40
32
|
*/
|
41
33
|
async addCustomEditor(fieldName, customEditor) {
|
42
34
|
if (this._form) {
|
@@ -49,28 +41,10 @@ export class SnkForm {
|
|
49
41
|
}
|
50
42
|
/**
|
51
43
|
* Altera/adiciona uma propriedade nos metadados do campo.
|
52
|
-
* @async
|
53
|
-
* @param {string} fieldName - Nome do campo.
|
54
|
-
* @param {string} propName - Nome da propriedade.
|
55
|
-
* @param {any} value - Valor da propriedade.
|
56
|
-
* @returns {Promise<void>}
|
57
44
|
*/
|
58
45
|
async setFieldProp(fieldName, propName, value) {
|
59
46
|
await this._form.setFieldProp(fieldName, propName, value);
|
60
47
|
}
|
61
|
-
/**
|
62
|
-
* Valida o formulário.
|
63
|
-
* @async
|
64
|
-
* @returns {Promise<void>}
|
65
|
-
* @description
|
66
|
-
* Este método executa a validação do formulário, verificando se todos os campos estão
|
67
|
-
* preenchidos corretamente de acordo com as regras definidas.
|
68
|
-
* Se a validação falhar, uma exceção será lançada com os detalhes dos erros encontrados.
|
69
|
-
* Caso contrário, o método será resolvido sem erros.
|
70
|
-
*/
|
71
|
-
async validate() {
|
72
|
-
await this._form.validate();
|
73
|
-
}
|
74
48
|
closeConfig() {
|
75
49
|
this.hideConfig();
|
76
50
|
}
|
@@ -229,7 +203,7 @@ export class SnkForm {
|
|
229
203
|
"optional": false,
|
230
204
|
"docs": {
|
231
205
|
"tags": [],
|
232
|
-
"text": "Chave da configura\u00E7\u00E3o
|
206
|
+
"text": "Chave da configura\u00E7\u00E3o legado do formul\u00E1rio."
|
233
207
|
},
|
234
208
|
"attribute": "form-legacy-config-name",
|
235
209
|
"reflect": false
|
@@ -269,11 +243,8 @@ export class SnkForm {
|
|
269
243
|
"cancelable": true,
|
270
244
|
"composed": true,
|
271
245
|
"docs": {
|
272
|
-
"tags": [
|
273
|
-
|
274
|
-
"text": "Esta propriedade foi descontinuada. Ela n\u00E3o tem mais efeito sobre o componente."
|
275
|
-
}],
|
276
|
-
"text": ""
|
246
|
+
"tags": [],
|
247
|
+
"text": "Emitido quando o bot\u00E3o de voltar \u00E9 acionado."
|
277
248
|
},
|
278
249
|
"complexType": {
|
279
250
|
"original": "void",
|
@@ -287,11 +258,8 @@ export class SnkForm {
|
|
287
258
|
"cancelable": true,
|
288
259
|
"composed": true,
|
289
260
|
"docs": {
|
290
|
-
"tags": [
|
291
|
-
|
292
|
-
"text": "Esta propriedade foi descontinuada. Ela n\u00E3o tem mais efeito sobre o componente."
|
293
|
-
}],
|
294
|
-
"text": ""
|
261
|
+
"tags": [],
|
262
|
+
"text": "Emitido sempre que houver click de bot\u00E3o ou a\u00E7\u00E3o."
|
295
263
|
},
|
296
264
|
"complexType": {
|
297
265
|
"original": "string",
|
@@ -306,7 +274,7 @@ export class SnkForm {
|
|
306
274
|
"composed": true,
|
307
275
|
"docs": {
|
308
276
|
"tags": [],
|
309
|
-
"text": "Respons\u00E1vel por notificar quando ocorrer a renderiza\u00E7\u00E3o de itens do formul\u00E1rio
|
277
|
+
"text": "Respons\u00E1vel por notificar quando ocorrer a renderiza\u00E7\u00E3o de itens do formul\u00E1rio."
|
310
278
|
},
|
311
279
|
"complexType": {
|
312
280
|
"original": "Array<HTMLElement>",
|
@@ -337,13 +305,7 @@ export class SnkForm {
|
|
337
305
|
},
|
338
306
|
"docs": {
|
339
307
|
"text": "Exibe a janela de configura\u00E7\u00F5es do formul\u00E1rio.",
|
340
|
-
"tags": [
|
341
|
-
"name": "async",
|
342
|
-
"text": undefined
|
343
|
-
}, {
|
344
|
-
"name": "returns",
|
345
|
-
"text": undefined
|
346
|
-
}]
|
308
|
+
"tags": []
|
347
309
|
}
|
348
310
|
},
|
349
311
|
"hideConfig": {
|
@@ -359,30 +321,18 @@ export class SnkForm {
|
|
359
321
|
},
|
360
322
|
"docs": {
|
361
323
|
"text": "Fecha a janela de configura\u00E7\u00F5es do formul\u00E1rio.",
|
362
|
-
"tags": [
|
363
|
-
"name": "async",
|
364
|
-
"text": undefined
|
365
|
-
}, {
|
366
|
-
"name": "returns",
|
367
|
-
"text": undefined
|
368
|
-
}]
|
324
|
+
"tags": []
|
369
325
|
}
|
370
326
|
},
|
371
327
|
"addCustomEditor": {
|
372
328
|
"complexType": {
|
373
329
|
"signature": "(fieldName: string, customEditor: ICustomEditor) => Promise<void>",
|
374
330
|
"parameters": [{
|
375
|
-
"tags": [
|
376
|
-
|
377
|
-
"text": "fieldName - Nome do campo."
|
378
|
-
}],
|
379
|
-
"text": "- Nome do campo."
|
331
|
+
"tags": [],
|
332
|
+
"text": ""
|
380
333
|
}, {
|
381
|
-
"tags": [
|
382
|
-
|
383
|
-
"text": "customEditor - Editor customizado."
|
384
|
-
}],
|
385
|
-
"text": "- Editor customizado."
|
334
|
+
"tags": [],
|
335
|
+
"text": ""
|
386
336
|
}],
|
387
337
|
"references": {
|
388
338
|
"Promise": {
|
@@ -396,43 +346,22 @@ export class SnkForm {
|
|
396
346
|
"return": "Promise<void>"
|
397
347
|
},
|
398
348
|
"docs": {
|
399
|
-
"text": "Registra um editor customizado para campos
|
400
|
-
"tags": [
|
401
|
-
"name": "async",
|
402
|
-
"text": undefined
|
403
|
-
}, {
|
404
|
-
"name": "param",
|
405
|
-
"text": "fieldName - Nome do campo."
|
406
|
-
}, {
|
407
|
-
"name": "param",
|
408
|
-
"text": "customEditor - Editor customizado."
|
409
|
-
}, {
|
410
|
-
"name": "returns",
|
411
|
-
"text": undefined
|
412
|
-
}]
|
349
|
+
"text": "Registra um editor customizado para campos da grade e formul\u00E1rio.",
|
350
|
+
"tags": []
|
413
351
|
}
|
414
352
|
},
|
415
353
|
"setFieldProp": {
|
416
354
|
"complexType": {
|
417
355
|
"signature": "(fieldName: string, propName: string, value: any) => Promise<void>",
|
418
356
|
"parameters": [{
|
419
|
-
"tags": [
|
420
|
-
|
421
|
-
"text": "fieldName - Nome do campo."
|
422
|
-
}],
|
423
|
-
"text": "- Nome do campo."
|
357
|
+
"tags": [],
|
358
|
+
"text": ""
|
424
359
|
}, {
|
425
|
-
"tags": [
|
426
|
-
|
427
|
-
"text": "propName - Nome da propriedade."
|
428
|
-
}],
|
429
|
-
"text": "- Nome da propriedade."
|
360
|
+
"tags": [],
|
361
|
+
"text": ""
|
430
362
|
}, {
|
431
|
-
"tags": [
|
432
|
-
|
433
|
-
"text": "value - Valor da propriedade."
|
434
|
-
}],
|
435
|
-
"text": "- Valor da propriedade."
|
363
|
+
"tags": [],
|
364
|
+
"text": ""
|
436
365
|
}],
|
437
366
|
"references": {
|
438
367
|
"Promise": {
|
@@ -443,47 +372,7 @@ export class SnkForm {
|
|
443
372
|
},
|
444
373
|
"docs": {
|
445
374
|
"text": "Altera/adiciona uma propriedade nos metadados do campo.",
|
446
|
-
"tags": [
|
447
|
-
"name": "async",
|
448
|
-
"text": undefined
|
449
|
-
}, {
|
450
|
-
"name": "param",
|
451
|
-
"text": "fieldName - Nome do campo."
|
452
|
-
}, {
|
453
|
-
"name": "param",
|
454
|
-
"text": "propName - Nome da propriedade."
|
455
|
-
}, {
|
456
|
-
"name": "param",
|
457
|
-
"text": "value - Valor da propriedade."
|
458
|
-
}, {
|
459
|
-
"name": "returns",
|
460
|
-
"text": undefined
|
461
|
-
}]
|
462
|
-
}
|
463
|
-
},
|
464
|
-
"validate": {
|
465
|
-
"complexType": {
|
466
|
-
"signature": "() => Promise<void>",
|
467
|
-
"parameters": [],
|
468
|
-
"references": {
|
469
|
-
"Promise": {
|
470
|
-
"location": "global"
|
471
|
-
}
|
472
|
-
},
|
473
|
-
"return": "Promise<void>"
|
474
|
-
},
|
475
|
-
"docs": {
|
476
|
-
"text": "Valida o formul\u00E1rio.",
|
477
|
-
"tags": [{
|
478
|
-
"name": "async",
|
479
|
-
"text": undefined
|
480
|
-
}, {
|
481
|
-
"name": "returns",
|
482
|
-
"text": undefined
|
483
|
-
}, {
|
484
|
-
"name": "description",
|
485
|
-
"text": "Este m\u00E9todo executa a valida\u00E7\u00E3o do formul\u00E1rio, verificando se todos os campos est\u00E3o \npreenchidos corretamente de acordo com as regras definidas.\nSe a valida\u00E7\u00E3o falhar, uma exce\u00E7\u00E3o ser\u00E1 lan\u00E7ada com os detalhes dos erros encontrados.\nCaso contr\u00E1rio, o m\u00E9todo ser\u00E1 resolvido sem erros."
|
486
|
-
}]
|
375
|
+
"tags": []
|
487
376
|
}
|
488
377
|
}
|
489
378
|
};
|
@@ -84,7 +84,6 @@ export class SnkGrid {
|
|
84
84
|
this.multipleEditionEnabled = true;
|
85
85
|
this.paginationCounterMode = 'auto';
|
86
86
|
this.suppressCheckboxColumn = undefined;
|
87
|
-
this.suppressFilterColumn = false;
|
88
87
|
this.compact = undefined;
|
89
88
|
}
|
90
89
|
getGridHeaderSelectedBtns() {
|
@@ -97,9 +96,6 @@ export class SnkGrid {
|
|
97
96
|
btns.unshift(TaskbarElement.UPDATE_MULTIPLE);
|
98
97
|
return btns;
|
99
98
|
}
|
100
|
-
async refreshColumnFilterDataSource() {
|
101
|
-
await this._grid.refreshColumnFilterDataSource();
|
102
|
-
}
|
103
99
|
/**
|
104
100
|
* Recarrega a configuração da grade.
|
105
101
|
* @description Este método força o recarregamento da configuração da grade a partir do `ConfigStorage`. A operação é assíncrona, mas o método não aguarda sua conclusão.
|
@@ -1182,24 +1178,6 @@ export class SnkGrid {
|
|
1182
1178
|
"attribute": "suppress-checkbox-column",
|
1183
1179
|
"reflect": false
|
1184
1180
|
},
|
1185
|
-
"suppressFilterColumn": {
|
1186
|
-
"type": "boolean",
|
1187
|
-
"mutable": true,
|
1188
|
-
"complexType": {
|
1189
|
-
"original": "boolean",
|
1190
|
-
"resolved": "boolean",
|
1191
|
-
"references": {}
|
1192
|
-
},
|
1193
|
-
"required": false,
|
1194
|
-
"optional": true,
|
1195
|
-
"docs": {
|
1196
|
-
"tags": [],
|
1197
|
-
"text": "Informa se a grade deve suprimir o filtro de coluna."
|
1198
|
-
},
|
1199
|
-
"attribute": "suppress-filter-column",
|
1200
|
-
"reflect": false,
|
1201
|
-
"defaultValue": "false"
|
1202
|
-
},
|
1203
1181
|
"compact": {
|
1204
1182
|
"type": "boolean",
|
1205
1183
|
"mutable": false,
|
@@ -1294,22 +1272,6 @@ export class SnkGrid {
|
|
1294
1272
|
}
|
1295
1273
|
static get methods() {
|
1296
1274
|
return {
|
1297
|
-
"refreshColumnFilterDataSource": {
|
1298
|
-
"complexType": {
|
1299
|
-
"signature": "() => Promise<void>",
|
1300
|
-
"parameters": [],
|
1301
|
-
"references": {
|
1302
|
-
"Promise": {
|
1303
|
-
"location": "global"
|
1304
|
-
}
|
1305
|
-
},
|
1306
|
-
"return": "Promise<void>"
|
1307
|
-
},
|
1308
|
-
"docs": {
|
1309
|
-
"text": "",
|
1310
|
-
"tags": []
|
1311
|
-
}
|
1312
|
-
},
|
1313
1275
|
"reloadConfig": {
|
1314
1276
|
"complexType": {
|
1315
1277
|
"signature": "() => Promise<void>",
|
@@ -1,21 +1,3 @@
|
|
1
|
-
/**
|
2
|
-
* Componente responsável pela criação, edição e gerenciamento de filtros personalizados.
|
3
|
-
*
|
4
|
-
* Permite alternar entre os modos assistente e avançado, salvar, cancelar e manipular filtros.
|
5
|
-
*
|
6
|
-
* @component
|
7
|
-
* @example
|
8
|
-
* <snk-personalized-filter
|
9
|
-
* entityUri="sua/entidade"
|
10
|
-
* filterId="idFiltro"
|
11
|
-
* configName="nomeConfig"
|
12
|
-
* resourceID="resourceId"
|
13
|
-
* isDefaultFilter={false}
|
14
|
-
* messagesBuilder={messagesBuilderInstance}
|
15
|
-
* onEzSave={handler}
|
16
|
-
* onEzCancel={handler}
|
17
|
-
* />
|
18
|
-
*/
|
19
1
|
import { h, Host, Fragment } from '@stencil/core';
|
20
2
|
import { ApplicationContext, StringUtils } from '@sankhyalabs/core';
|
21
3
|
import { PersonalizedFilterUtils } from './subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils';
|
@@ -52,10 +34,8 @@ export class SnkPersonalizedFilter {
|
|
52
34
|
this.resourceID = undefined;
|
53
35
|
this.isDefaultFilter = false;
|
54
36
|
}
|
55
|
-
|
56
|
-
* Cria um novo filtro
|
57
|
-
* @method
|
58
|
-
* @returns {Promise<void>}
|
37
|
+
/*
|
38
|
+
* Cria um novo filtro se não houver nenhum filtro existente
|
59
39
|
*/
|
60
40
|
async createPersonalizedFilter() {
|
61
41
|
const newPersonalizedFilter = {
|
@@ -91,12 +71,6 @@ export class SnkPersonalizedFilter {
|
|
91
71
|
this._originalFilterAssistent = ObjectUtils.copy(newPersonalizedFilter);
|
92
72
|
this._filterAssistent = ObjectUtils.copy(newPersonalizedFilter);
|
93
73
|
}
|
94
|
-
/**
|
95
|
-
* Carrega o filtro personalizado com base no identificador informado.
|
96
|
-
* @watch filterId
|
97
|
-
* @param newValue Novo valor do filtroId.
|
98
|
-
* @param oldValue Valor anterior do filtroId.
|
99
|
-
*/
|
100
74
|
loadFilter(newValue, oldValue) {
|
101
75
|
if (newValue == null || oldValue == newValue || this.resourceID == undefined) {
|
102
76
|
return;
|
@@ -383,10 +357,7 @@ export class SnkPersonalizedFilter {
|
|
383
357
|
"required": false,
|
384
358
|
"optional": false,
|
385
359
|
"docs": {
|
386
|
-
"tags": [
|
387
|
-
"name": "property",
|
388
|
-
"text": undefined
|
389
|
-
}],
|
360
|
+
"tags": [],
|
390
361
|
"text": "Respons\u00E1vel por flexibilizar e padronizar o uso de mensagens nos blocos de constru\u00E7\u00E3o."
|
391
362
|
}
|
392
363
|
},
|
@@ -401,11 +372,8 @@ export class SnkPersonalizedFilter {
|
|
401
372
|
"required": false,
|
402
373
|
"optional": false,
|
403
374
|
"docs": {
|
404
|
-
"tags": [
|
405
|
-
|
406
|
-
"text": undefined
|
407
|
-
}],
|
408
|
-
"text": "URI da entidade utilizada para buscar os campos dispon\u00EDveis para filtro."
|
375
|
+
"tags": [],
|
376
|
+
"text": "Respons\u00E1vel por receber a URI da entidade."
|
409
377
|
},
|
410
378
|
"attribute": "entity-uri",
|
411
379
|
"reflect": false
|
@@ -421,11 +389,8 @@ export class SnkPersonalizedFilter {
|
|
421
389
|
"required": false,
|
422
390
|
"optional": false,
|
423
391
|
"docs": {
|
424
|
-
"tags": [
|
425
|
-
|
426
|
-
"text": undefined
|
427
|
-
}],
|
428
|
-
"text": "Identificador do filtro a ser carregado."
|
392
|
+
"tags": [],
|
393
|
+
"text": "Id do filtro que ser\u00E1 carregado."
|
429
394
|
},
|
430
395
|
"attribute": "filter-id",
|
431
396
|
"reflect": false
|
@@ -441,11 +406,8 @@ export class SnkPersonalizedFilter {
|
|
441
406
|
"required": false,
|
442
407
|
"optional": false,
|
443
408
|
"docs": {
|
444
|
-
"tags": [
|
445
|
-
|
446
|
-
"text": undefined
|
447
|
-
}],
|
448
|
-
"text": "Nome da configura\u00E7\u00E3o, utilizado para distinguir m\u00FAltiplas inst\u00E2ncias do componente."
|
409
|
+
"tags": [],
|
410
|
+
"text": "Nome da configura\u00E7\u00E3o. Serve para distinguir v\u00E1rias inst\u00E2ncias do componente."
|
449
411
|
},
|
450
412
|
"attribute": "config-name",
|
451
413
|
"reflect": false
|
@@ -461,11 +423,8 @@ export class SnkPersonalizedFilter {
|
|
461
423
|
"required": false,
|
462
424
|
"optional": false,
|
463
425
|
"docs": {
|
464
|
-
"tags": [
|
465
|
-
|
466
|
-
"text": undefined
|
467
|
-
}],
|
468
|
-
"text": "Identificador do recurso utilizado para salvar e recuperar filtros."
|
426
|
+
"tags": [],
|
427
|
+
"text": "Nome da configura\u00E7\u00E3o. Serve para distinguir v\u00E1rias inst\u00E2ncias do componente."
|
469
428
|
},
|
470
429
|
"attribute": "resource-i-d",
|
471
430
|
"reflect": false
|
@@ -481,14 +440,8 @@ export class SnkPersonalizedFilter {
|
|
481
440
|
"required": false,
|
482
441
|
"optional": false,
|
483
442
|
"docs": {
|
484
|
-
"tags": [
|
485
|
-
|
486
|
-
"text": undefined
|
487
|
-
}, {
|
488
|
-
"name": "default",
|
489
|
-
"text": "false"
|
490
|
-
}],
|
491
|
-
"text": "Indica se o filtro \u00E9 o filtro padr\u00E3o do sistema."
|
443
|
+
"tags": [],
|
444
|
+
"text": "Define se o filtro em quest\u00E3o \u00E9 um filtro padr\u00E3o."
|
492
445
|
},
|
493
446
|
"attribute": "is-default-filter",
|
494
447
|
"reflect": false,
|
@@ -510,11 +463,8 @@ export class SnkPersonalizedFilter {
|
|
510
463
|
"cancelable": true,
|
511
464
|
"composed": true,
|
512
465
|
"docs": {
|
513
|
-
"tags": [
|
514
|
-
|
515
|
-
"text": undefined
|
516
|
-
}],
|
517
|
-
"text": "Evento emitido ao cancelar a personaliza\u00E7\u00E3o do filtro."
|
466
|
+
"tags": [],
|
467
|
+
"text": ""
|
518
468
|
},
|
519
469
|
"complexType": {
|
520
470
|
"original": "void",
|
@@ -528,11 +478,8 @@ export class SnkPersonalizedFilter {
|
|
528
478
|
"cancelable": true,
|
529
479
|
"composed": true,
|
530
480
|
"docs": {
|
531
|
-
"tags": [
|
532
|
-
|
533
|
-
"text": undefined
|
534
|
-
}],
|
535
|
-
"text": "Evento emitido ao salvar as altera\u00E7\u00F5es do filtro personalizado."
|
481
|
+
"tags": [],
|
482
|
+
"text": ""
|
536
483
|
},
|
537
484
|
"complexType": {
|
538
485
|
"original": "string",
|
@@ -546,11 +493,8 @@ export class SnkPersonalizedFilter {
|
|
546
493
|
"cancelable": true,
|
547
494
|
"composed": true,
|
548
495
|
"docs": {
|
549
|
-
"tags": [
|
550
|
-
|
551
|
-
"text": undefined
|
552
|
-
}],
|
553
|
-
"text": "Evento emitido ap\u00F3s salvar as altera\u00E7\u00F5es do filtro personalizado."
|
496
|
+
"tags": [],
|
497
|
+
"text": ""
|
554
498
|
},
|
555
499
|
"complexType": {
|
556
500
|
"original": "void",
|
@@ -577,14 +521,8 @@ export class SnkPersonalizedFilter {
|
|
577
521
|
"return": "Promise<void>"
|
578
522
|
},
|
579
523
|
"docs": {
|
580
|
-
"text": "
|
581
|
-
"tags": [
|
582
|
-
"name": "method",
|
583
|
-
"text": undefined
|
584
|
-
}, {
|
585
|
-
"name": "returns",
|
586
|
-
"text": undefined
|
587
|
-
}]
|
524
|
+
"text": "",
|
525
|
+
"tags": []
|
588
526
|
}
|
589
527
|
}
|
590
528
|
};
|
@@ -416,20 +416,8 @@ export class SnkPesquisa {
|
|
416
416
|
"required": false,
|
417
417
|
"optional": false,
|
418
418
|
"docs": {
|
419
|
-
"tags": [
|
420
|
-
|
421
|
-
"text": "{(text: string) => Promise<any>}"
|
422
|
-
}, {
|
423
|
-
"name": "param",
|
424
|
-
"text": "text Texto utilizado como argumento de pesquisa."
|
425
|
-
}, {
|
426
|
-
"name": "returns",
|
427
|
-
"text": "Promise com os dados da pesquisa."
|
428
|
-
}, {
|
429
|
-
"name": "example",
|
430
|
-
"text": "searchLoader={(text) => fetchItems(text)}"
|
431
|
-
}],
|
432
|
-
"text": "Fun\u00E7\u00E3o respons\u00E1vel em carregar os itens do componente snk-pesquisa.\nDeve retornar uma Promise com os dados encontrados."
|
419
|
+
"tags": [],
|
420
|
+
"text": "Fun\u00E7\u00E3o respons\u00E1vel em carregar os itens do componente snk-pesquisa."
|
433
421
|
}
|
434
422
|
},
|
435
423
|
"treeLoader": {
|
@@ -447,17 +435,8 @@ export class SnkPesquisa {
|
|
447
435
|
"required": false,
|
448
436
|
"optional": true,
|
449
437
|
"docs": {
|
450
|
-
"tags": [
|
451
|
-
|
452
|
-
"text": "{(text: string) => Promise<any>}"
|
453
|
-
}, {
|
454
|
-
"name": "param",
|
455
|
-
"text": "text Texto utilizado como argumento de pesquisa para a \u00E1rvore."
|
456
|
-
}, {
|
457
|
-
"name": "returns",
|
458
|
-
"text": "Promise com os dados da \u00E1rvore."
|
459
|
-
}],
|
460
|
-
"text": "Fun\u00E7\u00E3o respons\u00E1vel por carregar a \u00E1rvore hier\u00E1rquica do componente.\nOpcional. Caso n\u00E3o seja fornecida, o modo \u00E1rvore n\u00E3o estar\u00E1 dispon\u00EDvel."
|
438
|
+
"tags": [],
|
439
|
+
"text": "Fun\u00E7\u00E3o respons\u00E1vel por carregar a \u00E1rvore hier\u00E1rquica do componente"
|
461
440
|
}
|
462
441
|
},
|
463
442
|
"selectItem": {
|
@@ -476,20 +455,8 @@ export class SnkPesquisa {
|
|
476
455
|
"required": false,
|
477
456
|
"optional": false,
|
478
457
|
"docs": {
|
479
|
-
"tags": [
|
480
|
-
|
481
|
-
"text": "{(option: IOption) => void}"
|
482
|
-
}, {
|
483
|
-
"name": "param",
|
484
|
-
"text": "option Item selecionado."
|
485
|
-
}, {
|
486
|
-
"name": "returns",
|
487
|
-
"text": "void"
|
488
|
-
}, {
|
489
|
-
"name": "example",
|
490
|
-
"text": "selectItem={(option) => handleSelect(option)}"
|
491
|
-
}],
|
492
|
-
"text": "Fun\u00E7\u00E3o disparada ao selecionar um item da pesquisa."
|
458
|
+
"tags": [],
|
459
|
+
"text": "Fun\u00E7\u00E3o disparada ao selecionar um item."
|
493
460
|
}
|
494
461
|
},
|
495
462
|
"entityName": {
|
@@ -503,14 +470,8 @@ export class SnkPesquisa {
|
|
503
470
|
"required": false,
|
504
471
|
"optional": false,
|
505
472
|
"docs": {
|
506
|
-
"tags": [
|
507
|
-
|
508
|
-
"text": "{string}"
|
509
|
-
}, {
|
510
|
-
"name": "example",
|
511
|
-
"text": "entityName=\"Produto\""
|
512
|
-
}],
|
513
|
-
"text": "Nome da entidade sobre a qual a pesquisa ser\u00E1 realizada."
|
473
|
+
"tags": [],
|
474
|
+
"text": "Nome da entidade onde a pesquisa \u00E9 aplicada."
|
514
475
|
},
|
515
476
|
"attribute": "entity-name",
|
516
477
|
"reflect": false
|
@@ -526,17 +487,8 @@ export class SnkPesquisa {
|
|
526
487
|
"required": false,
|
527
488
|
"optional": false,
|
528
489
|
"docs": {
|
529
|
-
"tags": [
|
530
|
-
|
531
|
-
"text": "{string}"
|
532
|
-
}, {
|
533
|
-
"name": "mutable",
|
534
|
-
"text": undefined
|
535
|
-
}, {
|
536
|
-
"name": "example",
|
537
|
-
"text": "argument=\"Texto para pesquisa\""
|
538
|
-
}],
|
539
|
-
"text": "Argumento utilizado ao chamar a fun\u00E7\u00E3o searchLoader.\nPode ser alterado externamente."
|
490
|
+
"tags": [],
|
491
|
+
"text": "Argumentos que ser\u00E3o usados ao chamar a fun\u00E7\u00E3o searchLoader."
|
540
492
|
},
|
541
493
|
"attribute": "argument",
|
542
494
|
"reflect": false
|
@@ -552,17 +504,8 @@ export class SnkPesquisa {
|
|
552
504
|
"required": false,
|
553
505
|
"optional": false,
|
554
506
|
"docs": {
|
555
|
-
"tags": [
|
556
|
-
|
557
|
-
"text": "{boolean}"
|
558
|
-
}, {
|
559
|
-
"name": "default",
|
560
|
-
"text": "false"
|
561
|
-
}, {
|
562
|
-
"name": "example",
|
563
|
-
"text": "isHierarchyEntity={true}"
|
564
|
-
}],
|
565
|
-
"text": "Define se a popup de pesquisa ter\u00E1 ou n\u00E3o modo hier\u00E1rquico."
|
507
|
+
"tags": [],
|
508
|
+
"text": "Define se a popup de pesquisa possuir\u00E1 ou n\u00E3o modo Hierarquico."
|
566
509
|
},
|
567
510
|
"attribute": "is-hierarchy-entity",
|
568
511
|
"reflect": false,
|
@@ -579,17 +522,8 @@ export class SnkPesquisa {
|
|
579
522
|
"required": false,
|
580
523
|
"optional": false,
|
581
524
|
"docs": {
|
582
|
-
"tags": [
|
583
|
-
|
584
|
-
"text": "{boolean}"
|
585
|
-
}, {
|
586
|
-
"name": "default",
|
587
|
-
"text": "false"
|
588
|
-
}, {
|
589
|
-
"name": "example",
|
590
|
-
"text": "allowsNonAnalytic={true}"
|
591
|
-
}],
|
592
|
-
"text": "Define se permite a sele\u00E7\u00E3o de itens n\u00E3o anal\u00EDticos."
|
525
|
+
"tags": [],
|
526
|
+
"text": "Define se permite sele\u00E7\u00E3o de items n\u00E3o anal\u00EDticos"
|
593
527
|
},
|
594
528
|
"attribute": "allows-non-analytic",
|
595
529
|
"reflect": false,
|