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

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 (98) hide show
  1. package/dist/cjs/{SnkMessageBuilder-cb132e6d.js → SnkMessageBuilder-02c2ca02.js} +7 -3
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  4. package/dist/cjs/snk-application.cjs.entry.js +376 -256
  5. package/dist/cjs/snk-crud.cjs.entry.js +2 -1
  6. package/dist/cjs/snk-data-unit.cjs.entry.js +1 -1
  7. package/dist/cjs/snk-filter-bar.cjs.entry.js +61 -13
  8. package/dist/cjs/snk-filter-detail.cjs.entry.js +6 -1
  9. package/dist/cjs/snk-filter-item.cjs.entry.js +12 -0
  10. package/dist/cjs/snk-filter-list.cjs.entry.js +2 -2
  11. package/dist/cjs/snk-filter-multi-select.cjs.entry.js +23 -0
  12. package/dist/cjs/snk-filter-number.cjs.entry.js +2 -1
  13. package/dist/cjs/snk-filter-search.cjs.entry.js +1 -1
  14. package/dist/cjs/snk-form.cjs.entry.js +19 -1
  15. package/dist/cjs/snk-grid.cjs.entry.js +15 -5
  16. package/dist/cjs/snk-taskbar.cjs.entry.js +14 -11
  17. package/dist/cjs/{taskbar-elements-efa44ff1.js → taskbar-elements-283c737e.js} +36 -17
  18. package/dist/cjs/taskbar-processor-6bd0d35c.js +47 -0
  19. package/dist/collection/collection-manifest.json +1 -0
  20. package/dist/collection/components/snk-crud/snk-crud.js +41 -3
  21. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js +64 -0
  22. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +2 -1
  23. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +1 -1
  24. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +6 -1
  25. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +35 -0
  26. package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +53 -2
  27. package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +15 -0
  28. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +60 -12
  29. package/dist/collection/components/snk-form/snk-form.js +41 -1
  30. package/dist/collection/components/snk-grid/snk-grid.js +35 -3
  31. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +35 -17
  32. package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js +43 -0
  33. package/dist/collection/components/snk-taskbar/snk-taskbar.js +36 -11
  34. package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js +375 -255
  35. package/dist/collection/lib/message/resources/snk-filter-bar.msg.js +7 -3
  36. package/dist/components/SnkMessageBuilder.js +7 -3
  37. package/dist/components/index.d.ts +1 -0
  38. package/dist/components/index.js +1 -0
  39. package/dist/components/snk-application2.js +375 -255
  40. package/dist/components/snk-crud.js +4 -2
  41. package/dist/components/snk-filter-bar2.js +61 -13
  42. package/dist/components/snk-filter-detail2.js +6 -1
  43. package/dist/components/snk-filter-item2.js +14 -1
  44. package/dist/components/snk-filter-list2.js +5 -2
  45. package/dist/components/snk-filter-multi-select.d.ts +11 -0
  46. package/dist/components/snk-filter-multi-select.js +39 -0
  47. package/dist/components/snk-filter-number.js +2 -1
  48. package/dist/components/snk-filter-search.js +1 -1
  49. package/dist/components/snk-form2.js +20 -1
  50. package/dist/components/snk-grid2.js +15 -4
  51. package/dist/components/snk-taskbar2.js +49 -27
  52. package/dist/components/taskbar-processor.js +45 -0
  53. package/dist/{sankhyablocks/SnkMessageBuilder-cff80920.js → esm/SnkMessageBuilder-65d431bd.js} +7 -3
  54. package/dist/esm/loader.js +1 -1
  55. package/dist/esm/sankhyablocks.js +1 -1
  56. package/dist/esm/snk-application.entry.js +376 -256
  57. package/dist/esm/snk-crud.entry.js +3 -2
  58. package/dist/esm/snk-data-unit.entry.js +1 -1
  59. package/dist/esm/snk-filter-bar.entry.js +61 -13
  60. package/dist/esm/snk-filter-detail.entry.js +6 -1
  61. package/dist/esm/snk-filter-item.entry.js +12 -0
  62. package/dist/esm/snk-filter-list.entry.js +2 -2
  63. package/dist/esm/snk-filter-multi-select.entry.js +19 -0
  64. package/dist/esm/snk-filter-number.entry.js +2 -1
  65. package/dist/esm/snk-filter-search.entry.js +1 -1
  66. package/dist/esm/snk-form.entry.js +19 -1
  67. package/dist/esm/snk-grid.entry.js +15 -5
  68. package/dist/esm/snk-taskbar.entry.js +14 -11
  69. package/dist/esm/taskbar-elements-35d64ff9.js +90 -0
  70. package/dist/esm/taskbar-processor-aa6772c9.js +45 -0
  71. package/dist/{esm/SnkMessageBuilder-cff80920.js → sankhyablocks/SnkMessageBuilder-65d431bd.js} +7 -3
  72. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  73. package/dist/sankhyablocks/snk-application.entry.js +376 -256
  74. package/dist/sankhyablocks/snk-crud.entry.js +3 -2
  75. package/dist/sankhyablocks/snk-data-unit.entry.js +1 -1
  76. package/dist/sankhyablocks/snk-filter-bar.entry.js +61 -13
  77. package/dist/sankhyablocks/snk-filter-detail.entry.js +6 -1
  78. package/dist/sankhyablocks/snk-filter-item.entry.js +12 -0
  79. package/dist/sankhyablocks/snk-filter-list.entry.js +2 -2
  80. package/dist/sankhyablocks/snk-filter-multi-select.entry.js +19 -0
  81. package/dist/sankhyablocks/snk-filter-number.entry.js +2 -1
  82. package/dist/sankhyablocks/snk-filter-search.entry.js +1 -1
  83. package/dist/sankhyablocks/snk-form.entry.js +19 -1
  84. package/dist/sankhyablocks/snk-grid.entry.js +15 -5
  85. package/dist/sankhyablocks/snk-taskbar.entry.js +14 -11
  86. package/dist/sankhyablocks/taskbar-elements-35d64ff9.js +90 -0
  87. package/dist/sankhyablocks/taskbar-processor-aa6772c9.js +45 -0
  88. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.d.ts +7 -0
  89. package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +1 -0
  90. package/dist/types/components/snk-filter-bar/filter-list/snk-filter-list.d.ts +3 -0
  91. package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +5 -3
  92. package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +3 -2
  93. package/dist/types/components/snk-taskbar/processor/taskbar-processor.d.ts +12 -0
  94. package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +17 -1
  95. package/dist/types/components.d.ts +78 -2
  96. package/package.json +1 -1
  97. package/dist/esm/taskbar-elements-c119510a.js +0 -72
  98. package/dist/sankhyablocks/taskbar-elements-c119510a.js +0 -72
@@ -7520,261 +7520,10 @@ class FilterBarConfigFetcher extends ResourceFetcher {
7520
7520
  getConfig(resourceID) {
7521
7521
  return new Promise((resolve) => {
7522
7522
  if (resourceID === "br.com.sankhya.fin.cad.movimentacaoFinanceira") {
7523
- resolve([{
7524
- id: "RECDESP",
7525
- visible: true,
7526
- label: "Receitas + Despesas",
7527
- detailTitle: "Selecione o que deseja ver",
7528
- type: FilterItemType.BINARY_SELECT,
7529
- hardFixed: true,
7530
- props: {
7531
- options: [
7532
- { name: "RECEITA", expression: "this.RECDESP = 1", label: "Receitas" },
7533
- { name: "DESPESA", expression: "this.RECDESP = -1", label: "Despesas" }
7534
- ]
7535
- }
7536
- },
7537
- {
7538
- id: "PROVISAO",
7539
- visible: true,
7540
- label: "Real + Provisão",
7541
- detailTitle: "Selecione o que deseja ver",
7542
- type: FilterItemType.BINARY_SELECT,
7543
- hardFixed: true,
7544
- props: {
7545
- options: [
7546
- { name: "REAL", expression: "nullvalue(this.PROVISAO, 'N') = 'N'", label: "Real" },
7547
- { name: "PROVISAO", expression: "nullvalue(this.PROVISAO, 'N') = 'S'", label: "Provisão" }
7548
- ]
7549
- }
7550
- },
7551
- {
7552
- id: "BAIXADO",
7553
- visible: true,
7554
- label: "Pendentes + Baixados",
7555
- detailTitle: "Selecione o que deseja ver",
7556
- type: FilterItemType.BINARY_SELECT,
7557
- hardFixed: true,
7558
- props: {
7559
- options: [
7560
- { name: "PENDENTE", expression: "this.DHBAIXA IS NULL", label: "Pendentes" },
7561
- { name: "BAIXADO", expression: "this.DHBAIXA IS NOT NULL", label: "Baixados" }
7562
- ]
7563
- }
7564
- },
7565
- {
7566
- id: "DTVENC",
7567
- visible: true,
7568
- type: FilterItemType.PERIOD,
7569
- label: "Dt. Vencimento",
7570
- detailTitle: "Informe a data ou período",
7571
- props: {
7572
- expression: {
7573
- fullfill: "onlydate(this.DTVENC) >= :DTVENC.START AND onlydate(this.DTVENC) <= :DTVENC.END",
7574
- onlystart: "onlydate(this.DTVENC) >= :DTVENC",
7575
- onlyend: "onlydate(this.DTVENC) <= :DTVENC"
7576
- }
7577
- }
7578
- },
7579
- {
7580
- id: "CODPARC",
7581
- visible: true,
7582
- type: FilterItemType.SEARCH,
7583
- label: "Parceiro",
7584
- detailTitle: "Informe o parceiro",
7585
- props: {
7586
- expression: "this.CODPARC = :CODPARC",
7587
- searchContext: {
7588
- entity: "Parceiro",
7589
- entityDescription: "Parceiro",
7590
- searchOptions: {
7591
- rootEntity: "Financeiro",
7592
- descriptionFieldName: "NOMEPARC",
7593
- codeFieldName: "CODPARC",
7594
- showInactives: false
7595
- }
7596
- }
7597
- }
7598
- },
7599
- {
7600
- id: "NUFIN",
7601
- type: FilterItemType.NUMBER,
7602
- visible: true,
7603
- label: "Nr. único",
7604
- detailTitle: "Informe o número único",
7605
- props: {
7606
- expression: "this.NUFIN = :NUFIN"
7607
- }
7608
- },
7609
- {
7610
- id: "NUMNOTA",
7611
- visible: true,
7612
- type: FilterItemType.NUMBER,
7613
- label: "Nr. Nota",
7614
- detailTitle: "Informe o número da nota",
7615
- props: {
7616
- expression: "this.NUMNOTA = :NUMNOTA"
7617
- }
7618
- },
7619
- {
7620
- id: "DHBAIXA",
7621
- visible: true,
7622
- type: FilterItemType.PERIOD,
7623
- label: "Data da Baixa",
7624
- detailTitle: "Informe a data ou período",
7625
- props: {
7626
- expression: {
7627
- fullfill: "onlydate(this.DHBAIXA) >= :DHBAIXA.START AND onlydate(this.DHBAIXA) <= :DHBAIXA.END",
7628
- onlystart: "onlydate(this.DHBAIXA) >= :DHBAIXA",
7629
- onlyend: "onlydate(this.DHBAIXA) <= :DHBAIXA"
7630
- }
7631
- }
7632
- },
7633
- {
7634
- id: "CODEMP",
7635
- visible: false,
7636
- type: FilterItemType.SEARCH,
7637
- label: "Empresa",
7638
- detailTitle: "Informe a empresa",
7639
- props: {
7640
- expression: "this.CODEMP = :CODEMP",
7641
- searchContext: {
7642
- entity: "Empresa",
7643
- entityDescription: "Empresa",
7644
- searchOptions: {
7645
- rootEntity: "Financeiro",
7646
- descriptionFieldName: "NOMEFANTASIA",
7647
- codeFieldName: "CODEMP",
7648
- showInactives: false
7649
- }
7650
- }
7651
- }
7652
- },
7653
- {
7654
- id: "CODNAT",
7655
- visible: false,
7656
- type: FilterItemType.SEARCH,
7657
- label: "Natureza",
7658
- detailTitle: "Informe a natureza",
7659
- props: {
7660
- expression: "this.CODNAT = :CODNAT",
7661
- searchContext: {
7662
- entity: "Natureza",
7663
- entityDescription: "Natureza",
7664
- searchOptions: {
7665
- rootEntity: "Financeiro",
7666
- descriptionFieldName: "DESCRNAT",
7667
- codeFieldName: "CODNAT",
7668
- showInactives: false
7669
- }
7670
- }
7671
- }
7672
- },
7673
- {
7674
- id: "DTNEG",
7675
- visible: false,
7676
- type: FilterItemType.PERIOD,
7677
- label: "Dt. Negociação",
7678
- detailTitle: "Informe a data ou período",
7679
- props: {
7680
- expression: {
7681
- fullfill: "onlydate(this.DTNEG) >= :DTNEG.START AND onlydate(this.DTNEG) <= :DTNEG.END",
7682
- onlystart: "onlydate(this.DTNEG) >= :DTNEG",
7683
- onlyend: "onlydate(this.DTNEG) <= :DTNEG"
7684
- }
7685
- }
7686
- },
7687
- {
7688
- id: "NUNOTA",
7689
- visible: false,
7690
- type: FilterItemType.NUMBER,
7691
- label: "Nro Único do Pedido",
7692
- detailTitle: "Informe o número único do pedido",
7693
- props: {
7694
- expression: "this.NUNOTA = :NUNOTA"
7695
- }
7696
- },
7697
- {
7698
- id: "CODCENCUS",
7699
- visible: false,
7700
- type: FilterItemType.SEARCH,
7701
- label: "Centro de resultado",
7702
- detailTitle: "Informe o centro de resultado",
7703
- props: {
7704
- expression: "this.CODCENCUS = :CODCENCUS",
7705
- searchContext: {
7706
- entity: "CentroResultado",
7707
- entityDescription: "Centro de resultado",
7708
- searchOptions: {
7709
- rootEntity: "Financeiro",
7710
- descriptionFieldName: "DESCRCENCUS",
7711
- codeFieldName: "CODCENCUS",
7712
- showInactives: false
7713
- }
7714
- }
7715
- }
7716
- },
7717
- {
7718
- id: "CODCTABCOINT",
7719
- visible: false,
7720
- type: FilterItemType.SEARCH,
7721
- label: "Conta bancária",
7722
- detailTitle: "Informe a conta bancária",
7723
- props: {
7724
- expression: "this.CODCTABCOINT = :CODCTABCOINT",
7725
- searchContext: {
7726
- entity: "ContaBancaria",
7727
- entityDescription: "Conta bancária",
7728
- searchOptions: {
7729
- rootEntity: "Financeiro",
7730
- descriptionFieldName: "DESCRICAO",
7731
- codeFieldName: "CODCTABCOINT",
7732
- showInactives: false
7733
- }
7734
- }
7735
- }
7736
- },
7737
- {
7738
- id: "CODBCO",
7739
- visible: false,
7740
- type: FilterItemType.SEARCH,
7741
- label: "Banco",
7742
- detailTitle: "Informe o banco",
7743
- props: {
7744
- expression: "this.CODBCO = :CODBCO",
7745
- searchContext: {
7746
- entity: "Banco",
7747
- entityDescription: "Banco",
7748
- searchOptions: {
7749
- rootEntity: "Financeiro",
7750
- descriptionFieldName: "NOMEBCO",
7751
- codeFieldName: "CODBCO",
7752
- showInactives: false
7753
- }
7754
- }
7755
- }
7756
- },
7757
- {
7758
- id: "CODPROJ",
7759
- visible: false,
7760
- type: FilterItemType.SEARCH,
7761
- label: "Projeto",
7762
- detailTitle: "Informe o projeto",
7763
- props: {
7764
- expression: "this.CODPROJ = :CODPROJ",
7765
- searchContext: {
7766
- entity: "Projeto",
7767
- entityDescription: "Projeto",
7768
- searchOptions: {
7769
- rootEntity: "Financeiro",
7770
- descriptionFieldName: "IDENTIFICACAO",
7771
- codeFieldName: "CODPROJ",
7772
- showInactives: false
7773
- }
7774
- }
7775
- }
7776
- }
7777
- ]);
7523
+ resolve(getFiltrosMovFin());
7524
+ }
7525
+ else if (resourceID === "br.com.sankhya.fin.cad.movimentacaoBancaria") {
7526
+ resolve(getFiltrosMovBan());
7778
7527
  }
7779
7528
  else {
7780
7529
  resolve(undefined);
@@ -7782,6 +7531,377 @@ class FilterBarConfigFetcher extends ResourceFetcher {
7782
7531
  });
7783
7532
  }
7784
7533
  }
7534
+ function getFiltrosMovBan() {
7535
+ return [{
7536
+ "id": "DTLANC",
7537
+ "visible": true,
7538
+ "type": FilterItemType.PERIOD,
7539
+ "label": "Dt Lançamento",
7540
+ "detailTitle": "Informe a data ou período",
7541
+ "props": {
7542
+ "expression": {
7543
+ "fullfill": "onlydate(this.DTLANC) >= :DTLANC.START AND onlydate(this.DTLANC) <= :DTLANC.END",
7544
+ "onlystart": "onlydate(this.DTLANC) >= :DTLANC",
7545
+ "onlyend": "onlydate(this.DTLANC) <= :DTLANC"
7546
+ }
7547
+ }
7548
+ },
7549
+ {
7550
+ "id": "CODCTABCOINT",
7551
+ "visible": true,
7552
+ "type": FilterItemType.SEARCH,
7553
+ "label": "Conta origem",
7554
+ "detailTitle": "Informe a conta de origem",
7555
+ "props": {
7556
+ "expression": "this.CODCTABCOINT = :CODCTABCOINT",
7557
+ "searchContext": {
7558
+ "entity": "ImplantacaoSaldoConta",
7559
+ "entityDescription": "Conta origem",
7560
+ "searchOptions": {
7561
+ "rootEntity": "MovimentoBancario",
7562
+ "descriptionFieldName": "DESCRICAO",
7563
+ "codeFieldName": "CODCTABCOINT",
7564
+ "showInactives": false
7565
+ }
7566
+ }
7567
+ }
7568
+ },
7569
+ {
7570
+ "id": "CODTIPOPER",
7571
+ "visible": false,
7572
+ "type": FilterItemType.SEARCH,
7573
+ "label": "Tipo de operação",
7574
+ "detailTitle": "Informe o tipo de operação",
7575
+ "props": {
7576
+ "expression": "this.CODTIPOPER = :CODTIPOPER",
7577
+ "searchContext": {
7578
+ "entity": "TipoOperacao",
7579
+ "entityDescription": "Tipo de operação",
7580
+ "searchOptions": {
7581
+ "rootEntity": "MovimentoBancario",
7582
+ "descriptionFieldName": "DESCROPER",
7583
+ "codeFieldName": "CODTIPOPER",
7584
+ "showInactives": false
7585
+ }
7586
+ }
7587
+ }
7588
+ },
7589
+ {
7590
+ "id": "ORIGMOV",
7591
+ "visible": false,
7592
+ "type": FilterItemType.MULTI_SELECT,
7593
+ "label": "Tipo de movimento",
7594
+ "detailTitle": "Escolha um tipo de movimento",
7595
+ "props": {
7596
+ "expression": "this.ORIGMOV = :ORIGMOV",
7597
+ "options": [
7598
+ { "value": "A", "label": "Aplicação" },
7599
+ { "value": "R", "label": "Resgate" },
7600
+ { "value": "S", "label": "Saque" },
7601
+ { "value": "D", "label": "Depósito" },
7602
+ { "value": "T", "label": "Transferência" }
7603
+ ]
7604
+ }
7605
+ },
7606
+ {
7607
+ "id": "NUBCO",
7608
+ "type": FilterItemType.NUMBER,
7609
+ "visible": false,
7610
+ "label": "Nr. único",
7611
+ "detailTitle": "Informe o número único",
7612
+ "props": {
7613
+ "expression": "this.NUBCO = :NUBCO"
7614
+ }
7615
+ },
7616
+ {
7617
+ "id": "VLRLANC",
7618
+ "type": FilterItemType.NUMBER,
7619
+ "visible": false,
7620
+ "label": "Vlr. Lançamento",
7621
+ "detailTitle": "Informe o valor do lançamento",
7622
+ "props": {
7623
+ "expression": "this.VLRLANC = :VLRLANC",
7624
+ "precision": 2
7625
+ }
7626
+ },
7627
+ {
7628
+ "id": "CODLANC",
7629
+ "visible": false,
7630
+ "type": FilterItemType.SEARCH,
7631
+ "label": "Lançamento origem",
7632
+ "detailTitle": "Informe o lançamento de origem",
7633
+ "props": {
7634
+ "expression": "this.CODLANC = :CODLANC",
7635
+ "searchContext": {
7636
+ "entity": "HistoricoBancario",
7637
+ "entityDescription": "Lançamento origem",
7638
+ "searchOptions": {
7639
+ "rootEntity": "MovimentoBancario",
7640
+ "descriptionFieldName": "DESCRLANCBCO",
7641
+ "codeFieldName": "CODLANC",
7642
+ "showInactives": false
7643
+ }
7644
+ }
7645
+ }
7646
+ }];
7647
+ }
7648
+ function getFiltrosMovFin() {
7649
+ return [{
7650
+ id: "RECDESP",
7651
+ visible: true,
7652
+ label: "Receitas + Despesas",
7653
+ detailTitle: "Selecione o que deseja ver",
7654
+ type: FilterItemType.BINARY_SELECT,
7655
+ hardFixed: true,
7656
+ props: {
7657
+ options: [
7658
+ { name: "RECEITA", expression: "this.RECDESP = 1", label: "Receitas" },
7659
+ { name: "DESPESA", expression: "this.RECDESP = -1", label: "Despesas" }
7660
+ ]
7661
+ }
7662
+ },
7663
+ {
7664
+ id: "PROVISAO",
7665
+ visible: true,
7666
+ label: "Real + Provisão",
7667
+ detailTitle: "Selecione o que deseja ver",
7668
+ type: FilterItemType.BINARY_SELECT,
7669
+ hardFixed: true,
7670
+ props: {
7671
+ options: [
7672
+ { name: "REAL", expression: "nullvalue(this.PROVISAO, 'N') = 'N'", label: "Real" },
7673
+ { name: "PROVISAO", expression: "nullvalue(this.PROVISAO, 'N') = 'S'", label: "Provisão" }
7674
+ ]
7675
+ }
7676
+ },
7677
+ {
7678
+ id: "BAIXADO",
7679
+ visible: true,
7680
+ label: "Pendentes + Baixados",
7681
+ detailTitle: "Selecione o que deseja ver",
7682
+ type: FilterItemType.BINARY_SELECT,
7683
+ hardFixed: true,
7684
+ props: {
7685
+ options: [
7686
+ { name: "PENDENTE", expression: "this.DHBAIXA IS NULL", label: "Pendentes" },
7687
+ { name: "BAIXADO", expression: "this.DHBAIXA IS NOT NULL", label: "Baixados" }
7688
+ ]
7689
+ }
7690
+ },
7691
+ {
7692
+ id: "DTVENC",
7693
+ visible: true,
7694
+ type: FilterItemType.PERIOD,
7695
+ label: "Dt. Vencimento",
7696
+ detailTitle: "Informe a data ou período",
7697
+ props: {
7698
+ expression: {
7699
+ fullfill: "onlydate(this.DTVENC) >= :DTVENC.START AND onlydate(this.DTVENC) <= :DTVENC.END",
7700
+ onlystart: "onlydate(this.DTVENC) >= :DTVENC",
7701
+ onlyend: "onlydate(this.DTVENC) <= :DTVENC"
7702
+ }
7703
+ }
7704
+ },
7705
+ {
7706
+ id: "CODPARC",
7707
+ visible: true,
7708
+ type: FilterItemType.SEARCH,
7709
+ label: "Parceiro",
7710
+ detailTitle: "Informe o parceiro",
7711
+ props: {
7712
+ expression: "this.CODPARC = :CODPARC",
7713
+ searchContext: {
7714
+ entity: "Parceiro",
7715
+ entityDescription: "Parceiro",
7716
+ searchOptions: {
7717
+ rootEntity: "Financeiro",
7718
+ descriptionFieldName: "NOMEPARC",
7719
+ codeFieldName: "CODPARC",
7720
+ showInactives: false
7721
+ }
7722
+ }
7723
+ }
7724
+ },
7725
+ {
7726
+ id: "NUFIN",
7727
+ type: FilterItemType.NUMBER,
7728
+ visible: true,
7729
+ label: "Nr. único",
7730
+ detailTitle: "Informe o número único",
7731
+ props: {
7732
+ expression: "this.NUFIN = :NUFIN"
7733
+ }
7734
+ },
7735
+ {
7736
+ id: "NUMNOTA",
7737
+ visible: true,
7738
+ type: FilterItemType.NUMBER,
7739
+ label: "Nr. Nota",
7740
+ detailTitle: "Informe o número da nota",
7741
+ props: {
7742
+ expression: "this.NUMNOTA = :NUMNOTA"
7743
+ }
7744
+ },
7745
+ {
7746
+ id: "DHBAIXA",
7747
+ visible: true,
7748
+ type: FilterItemType.PERIOD,
7749
+ label: "Data da Baixa",
7750
+ detailTitle: "Informe a data ou período",
7751
+ props: {
7752
+ expression: {
7753
+ fullfill: "onlydate(this.DHBAIXA) >= :DHBAIXA.START AND onlydate(this.DHBAIXA) <= :DHBAIXA.END",
7754
+ onlystart: "onlydate(this.DHBAIXA) >= :DHBAIXA",
7755
+ onlyend: "onlydate(this.DHBAIXA) <= :DHBAIXA"
7756
+ }
7757
+ }
7758
+ },
7759
+ {
7760
+ id: "CODEMP",
7761
+ visible: false,
7762
+ type: FilterItemType.SEARCH,
7763
+ label: "Empresa",
7764
+ detailTitle: "Informe a empresa",
7765
+ props: {
7766
+ expression: "this.CODEMP = :CODEMP",
7767
+ searchContext: {
7768
+ entity: "Empresa",
7769
+ entityDescription: "Empresa",
7770
+ searchOptions: {
7771
+ rootEntity: "Financeiro",
7772
+ descriptionFieldName: "NOMEFANTASIA",
7773
+ codeFieldName: "CODEMP",
7774
+ showInactives: false
7775
+ }
7776
+ }
7777
+ }
7778
+ },
7779
+ {
7780
+ id: "CODNAT",
7781
+ visible: false,
7782
+ type: FilterItemType.SEARCH,
7783
+ label: "Natureza",
7784
+ detailTitle: "Informe a natureza",
7785
+ props: {
7786
+ expression: "this.CODNAT = :CODNAT",
7787
+ searchContext: {
7788
+ entity: "Natureza",
7789
+ entityDescription: "Natureza",
7790
+ searchOptions: {
7791
+ rootEntity: "Financeiro",
7792
+ descriptionFieldName: "DESCRNAT",
7793
+ codeFieldName: "CODNAT",
7794
+ showInactives: false
7795
+ }
7796
+ }
7797
+ }
7798
+ },
7799
+ {
7800
+ id: "DTNEG",
7801
+ visible: false,
7802
+ type: FilterItemType.PERIOD,
7803
+ label: "Dt. Negociação",
7804
+ detailTitle: "Informe a data ou período",
7805
+ props: {
7806
+ expression: {
7807
+ fullfill: "onlydate(this.DTNEG) >= :DTNEG.START AND onlydate(this.DTNEG) <= :DTNEG.END",
7808
+ onlystart: "onlydate(this.DTNEG) >= :DTNEG",
7809
+ onlyend: "onlydate(this.DTNEG) <= :DTNEG"
7810
+ }
7811
+ }
7812
+ },
7813
+ {
7814
+ id: "NUNOTA",
7815
+ visible: false,
7816
+ type: FilterItemType.NUMBER,
7817
+ label: "Nro Único do Pedido",
7818
+ detailTitle: "Informe o número único do pedido",
7819
+ props: {
7820
+ expression: "this.NUNOTA = :NUNOTA"
7821
+ }
7822
+ },
7823
+ {
7824
+ id: "CODCENCUS",
7825
+ visible: false,
7826
+ type: FilterItemType.SEARCH,
7827
+ label: "Centro de resultado",
7828
+ detailTitle: "Informe o centro de resultado",
7829
+ props: {
7830
+ expression: "this.CODCENCUS = :CODCENCUS",
7831
+ searchContext: {
7832
+ entity: "CentroResultado",
7833
+ entityDescription: "Centro de resultado",
7834
+ searchOptions: {
7835
+ rootEntity: "Financeiro",
7836
+ descriptionFieldName: "DESCRCENCUS",
7837
+ codeFieldName: "CODCENCUS",
7838
+ showInactives: false
7839
+ }
7840
+ }
7841
+ }
7842
+ },
7843
+ {
7844
+ id: "CODCTABCOINT",
7845
+ visible: false,
7846
+ type: FilterItemType.SEARCH,
7847
+ label: "Conta bancária",
7848
+ detailTitle: "Informe a conta bancária",
7849
+ props: {
7850
+ expression: "this.CODCTABCOINT = :CODCTABCOINT",
7851
+ searchContext: {
7852
+ entity: "ContaBancaria",
7853
+ entityDescription: "Conta bancária",
7854
+ searchOptions: {
7855
+ rootEntity: "Financeiro",
7856
+ descriptionFieldName: "DESCRICAO",
7857
+ codeFieldName: "CODCTABCOINT",
7858
+ showInactives: false
7859
+ }
7860
+ }
7861
+ }
7862
+ },
7863
+ {
7864
+ id: "CODBCO",
7865
+ visible: false,
7866
+ type: FilterItemType.SEARCH,
7867
+ label: "Banco",
7868
+ detailTitle: "Informe o banco",
7869
+ props: {
7870
+ expression: "this.CODBCO = :CODBCO",
7871
+ searchContext: {
7872
+ entity: "Banco",
7873
+ entityDescription: "Banco",
7874
+ searchOptions: {
7875
+ rootEntity: "Financeiro",
7876
+ descriptionFieldName: "NOMEBCO",
7877
+ codeFieldName: "CODBCO",
7878
+ showInactives: false
7879
+ }
7880
+ }
7881
+ }
7882
+ },
7883
+ {
7884
+ id: "CODPROJ",
7885
+ visible: false,
7886
+ type: FilterItemType.SEARCH,
7887
+ label: "Projeto",
7888
+ detailTitle: "Informe o projeto",
7889
+ props: {
7890
+ expression: "this.CODPROJ = :CODPROJ",
7891
+ searchContext: {
7892
+ entity: "Projeto",
7893
+ entityDescription: "Projeto",
7894
+ searchOptions: {
7895
+ rootEntity: "Financeiro",
7896
+ descriptionFieldName: "IDENTIFICACAO",
7897
+ codeFieldName: "CODPROJ",
7898
+ showInactives: false
7899
+ }
7900
+ }
7901
+ }
7902
+ }
7903
+ ];
7904
+ }
7785
7905
 
7786
7906
  const snkApplicationCss = ".sc-snk-application-h{display:flex;flex-direction:column;height:100%}";
7787
7907
 
@@ -1,4 +1,4 @@
1
- import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
1
+ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { d as defineCustomElement$8 } from './snk-filter-bar2.js';
3
3
  import { d as defineCustomElement$7 } from './snk-filter-detail2.js';
4
4
  import { d as defineCustomElement$6 } from './snk-filter-item2.js';
@@ -15,6 +15,7 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
15
15
  constructor() {
16
16
  super();
17
17
  this.__registerHost();
18
+ this.actionClick = createEvent(this, "actionClick", 7);
18
19
  }
19
20
  async gridToForm(keepFormMode = false) {
20
21
  this._backToGrid = !keepFormMode && await this._viewStack.getSelectedIndex() === GRID_MODE;
@@ -59,13 +60,14 @@ const SnkCrud$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
59
60
  }
60
61
  }
61
62
  render() {
62
- return (h("ez-view-stack", { ref: (ref) => this._viewStack = ref }, h("stack-item", null, h("snk-grid", { configName: this.configName, onGridDoubleClick: () => this.gridToForm(true), onActionClick: evt => this.executeAction(evt.detail), actionsList: this.actionsList }, h("slot", { name: "SnkGridHeader" }), h("slot", { name: "SnkGridFooter" }))), h("stack-item", null, h("snk-form", { configName: this.configName, actionsList: this.actionsList, onExit: () => this._viewStack.show(GRID_MODE), recordsValidator: this.recordsValidator, onActionClick: evt => this.executeAction(evt.detail) }))));
63
+ return (h("ez-view-stack", { ref: (ref) => this._viewStack = ref }, h("stack-item", null, h("snk-grid", { configName: this.configName, onGridDoubleClick: () => this.gridToForm(true), taskbarManager: this.taskbarManager, onActionClick: evt => this.executeAction(evt.detail), actionsList: this.actionsList }, h("slot", { name: "SnkGridHeader" }), h("slot", { name: "SnkGridFooter" }), h("slot", { name: "SnkGridTaskBar" }))), h("stack-item", null, h("snk-form", { configName: this.configName, actionsList: this.actionsList, onExit: () => this._viewStack.show(GRID_MODE), recordsValidator: this.recordsValidator, taskbarManager: this.taskbarManager, onActionClick: evt => this.executeAction(evt.detail) }, h("slot", { name: "SnkFormTaskBar" })))));
63
64
  }
64
65
  get _element() { return this; }
65
66
  static get style() { return snkCrudCss; }
66
67
  }, [6, "snk-crud", {
67
68
  "configName": [1, "config-name"],
68
69
  "actionsList": [16],
70
+ "taskbarManager": [16],
69
71
  "recordsValidator": [16],
70
72
  "_dataUnit": [32],
71
73
  "_dataState": [32]