plataforma-fundacao-componentes 2.24.0 → 2.24.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 (49) hide show
  1. package/dist/components/container/Container.d.ts +1 -7
  2. package/dist/components/formattedText/FormattedText.d.ts +14 -0
  3. package/dist/components/formattedText/FormattedText.stories.d.ts +6 -0
  4. package/dist/components/inputArea/InputArea.d.ts +0 -1
  5. package/dist/components/select/Select.d.ts +4 -1
  6. package/dist/components/textEditor/components/textEditorInput/TextEditorHeaderInput.d.ts +1 -2
  7. package/dist/index.css +925 -2848
  8. package/dist/index.d.ts +2 -23
  9. package/dist/index.js +3116 -3993
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.modern.js +2726 -3587
  12. package/dist/index.modern.js.map +1 -1
  13. package/package.json +22 -16
  14. package/dist/components/aconteceu/Aconteceu.d.ts +0 -24
  15. package/dist/components/aconteceu/Aconteceu.stories.d.ts +0 -9
  16. package/dist/components/advancedSemiHeader/AdvancedSemiHeader.d.ts +0 -10
  17. package/dist/components/advancedSemiHeader/AdvancedSemiHeader.stories.d.ts +0 -8
  18. package/dist/components/assembleiaItem/AssembleiaItem.d.ts +0 -23
  19. package/dist/components/assembleiaItem/AssembleiaItem.stories.d.ts +0 -11
  20. package/dist/components/assembleiaPauta/AssembleiaPauta.d.ts +0 -71
  21. package/dist/components/assembleiaPauta/AssembleiaPauta.stories.d.ts +0 -170
  22. package/dist/components/bannerAssembleia/BannerAssembleia.d.ts +0 -13
  23. package/dist/components/bannerAssembleia/BannerAssembleia.stories.d.ts +0 -8
  24. package/dist/components/bannerPesquisaCpfCnpj/BannerPesquisaCpfCnpj.d.ts +0 -19
  25. package/dist/components/bannerPesquisaCpfCnpj/BannerPesquisaCpfCnpj.stories.d.ts +0 -8
  26. package/dist/components/blocoDeNotas/BlocoDeNotas.d.ts +0 -53
  27. package/dist/components/blocoDeNotas/BlocoDeNotas.stories.d.ts +0 -9
  28. package/dist/components/blocoMinhasAssembleias/BlocoMinhasAssembleias.d.ts +0 -22
  29. package/dist/components/blocoMinhasAssembleias/BlocoMinhasAssembleias.stories.d.ts +0 -20
  30. package/dist/components/editableVideoItem/EditableVideoItem.d.ts +0 -28
  31. package/dist/components/editableVideoItem/EditableVideoItem.stories.d.ts +0 -7
  32. package/dist/components/headerSearchField/HeaderSearchField.d.ts +0 -23
  33. package/dist/components/headerSearchField/HeaderSearchField.stories.d.ts +0 -7
  34. package/dist/components/iconButtonWithLabel/IconButtonWithLabel.d.ts +0 -16
  35. package/dist/components/iconButtonWithLabel/IconButtonWithLabel.stories.d.ts +0 -7
  36. package/dist/components/informativoAssembleiasComImagem/InformativoAssembleiasComImagem.d.ts +0 -14
  37. package/dist/components/informativoAssembleiasComImagem/InformativoAssembleiasComImagem.stories.d.ts +0 -40
  38. package/dist/components/informativoAssembleiasComVideo/InformativoAssembleiasComVideo.d.ts +0 -13
  39. package/dist/components/informativoAssembleiasComVideo/InformativoAssembleiasComVideo.stories.d.ts +0 -10
  40. package/dist/components/notaEdit/NotaEdit.d.ts +0 -22
  41. package/dist/components/notaEdit/NotaEdit.stories.d.ts +0 -7
  42. package/dist/components/progressBar/ProgressBar.d.ts +0 -13
  43. package/dist/components/progressBar/ProgressBar.stories.d.ts +0 -54
  44. package/dist/components/searchBlocoDeNotas/SearchBlocoDeNotas.d.ts +0 -16
  45. package/dist/components/searchBlocoDeNotas/SearchBlocoDeNotas.stories.d.ts +0 -7
  46. package/dist/components/videoItem/VideoItem.d.ts +0 -16
  47. package/dist/components/videoItem/VideoItem.stories.d.ts +0 -7
  48. package/dist/libraries/InformativoAssembleiasComVideoAlign.d.ts +0 -4
  49. package/dist/utils/ErrorUtils.d.ts +0 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plataforma-fundacao-componentes",
3
- "version": "2.24.0",
3
+ "version": "2.24.2",
4
4
  "description": "Made with create-react-library",
5
5
  "author": "Guvidaletti",
6
6
  "license": "MIT",
@@ -18,6 +18,7 @@
18
18
  "build": "microbundle-crl --no-compress --format modern,cjs --css-modules false --jsxFragment React.Fragment",
19
19
  "watch": "microbundle-crl watch --no-compress --format modern,cjs --css-modules false --jsxFragment React.Fragment",
20
20
  "start": "start-storybook -p 6006",
21
+ "lint": "eslint src --max-warnings=0",
21
22
  "build-storybook": "build-storybook",
22
23
  "serve-storybook": "node server",
23
24
  "create-component": "cd src && node createComponent",
@@ -27,21 +28,23 @@
27
28
  "test:lint": "eslint .",
28
29
  "test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
29
30
  "test:watch": "react-scripts test --env=jsdom",
30
- "pack-to-front": "npm version --no-git-tag-version --allow-same-version 0.0.0 && npm pack && tar --strip-components=1 -C C:/Software/Sicredi/plataforma-fundacao-front/node_modules/plataforma-fundacao-componentes/. -xvzf plataforma-fundacao-componentes-0.0.0.tgz package/package.json package/README.md package/dist && del /f plataforma-fundacao-componentes-0.0.0.tgz"
31
+ "pack-to-front": "npm version --no-git-tag-version --allow-same-version 0.0.0 && npm pack && tar --strip-components=1 -C C:/Software/Sicredi/plataforma-fundacao-front/node_modules/plataforma-fundacao-componentes/. -xvzf plataforma-fundacao-componentes-0.0.0.tgz package/package.json package/README.md package/dist && del /f plataforma-fundacao-componentes-0.0.0.tgz",
32
+ "storybook": "start-storybook -p 6006"
31
33
  },
32
34
  "peerDependencies": {
33
35
  "react": "^18.2.0"
34
36
  },
35
37
  "devDependencies": {
36
38
  "@babel/core": "^7.15.0",
37
- "@storybook/addon-actions": "^6.5.15",
38
- "@storybook/addon-essentials": "^6.5.15",
39
- "@storybook/addon-links": "^6.5.15",
40
- "@storybook/addons": "^6.5.15",
41
- "@storybook/node-logger": "^6.5.15",
42
- "@storybook/preset-create-react-app": "^3.2.0",
43
- "@storybook/react": "^6.5.15",
44
- "@storybook/theming": "^6.5.15",
39
+ "@storybook/addon-actions": "^6.5.16",
40
+ "@storybook/addon-essentials": "^6.5.16",
41
+ "@storybook/addon-interactions": "^6.5.16",
42
+ "@storybook/addon-links": "^6.5.16",
43
+ "@storybook/builder-webpack5": "^6.5.16",
44
+ "@storybook/manager-webpack5": "^6.5.16",
45
+ "@storybook/preset-scss": "^1.0.3",
46
+ "@storybook/react": "^6.5.16",
47
+ "@storybook/testing-library": "^0.0.13",
45
48
  "@testing-library/jest-dom": "^4.2.4",
46
49
  "@testing-library/react": "^9.5.0",
47
50
  "@testing-library/user-event": "^7.2.1",
@@ -55,27 +58,30 @@
55
58
  "@types/react-transition-group": "^4.4.2",
56
59
  "@types/resize-observer-browser": "^0.1.7",
57
60
  "@types/sortablejs": "^1.10.7",
58
- "@typescript-eslint/eslint-plugin": "^2.26.0",
59
- "@typescript-eslint/parser": "^2.26.0",
61
+ "@typescript-eslint/eslint-plugin": "^5.54.1",
62
+ "@typescript-eslint/parser": "^ 5.54.1",
60
63
  "babel-eslint": "^10.0.3",
61
64
  "babel-loader": "^8.2.2",
62
65
  "cross-env": "^7.0.2",
63
- "eslint": "^6.8.0",
66
+ "css-loader": "^6.7.3",
67
+ "eslint": "^8.35.0",
64
68
  "husky": "^7.0.0",
65
69
  "microbundle-crl": "^0.13.10",
66
70
  "npm-run-all": "^4.1.5",
67
71
  "prettier": "^2.0.4",
68
72
  "react": "^18.2.0",
69
73
  "react-dom": "^18.2.0",
70
- "react-scripts": "3.4.3",
71
- "typescript": "^3.9.10"
74
+ "react-scripts": "^5.0.1",
75
+ "sass": "^1.58.3",
76
+ "sass-loader": "^13.2.0",
77
+ "style-loader": "^3.3.1",
78
+ "typescript": "^4.9.3"
72
79
  },
73
80
  "files": [
74
81
  "dist"
75
82
  ],
76
83
  "dependencies": {
77
84
  "@loadable/component": "^5.15.2",
78
- "axios": "^0.20.0",
79
85
  "chart.js": "^2.9.3",
80
86
  "dompurify": "^2.4.1",
81
87
  "express": "^4.17.1",
@@ -1,24 +0,0 @@
1
- /// <reference types="react" />
2
- import './Aconteceu.scss';
3
- interface AconteceuProps {
4
- language?: {
5
- label: string;
6
- seeMore: string;
7
- };
8
- text?: string;
9
- url?: string;
10
- onClick: () => void;
11
- loading?: boolean;
12
- blackGround?: boolean;
13
- className?: string;
14
- }
15
- declare function Aconteceu(props: AconteceuProps): JSX.Element;
16
- declare namespace Aconteceu {
17
- var defaultProps: {
18
- language: {
19
- label: string;
20
- seeMore: string;
21
- };
22
- };
23
- }
24
- export default Aconteceu;
@@ -1,9 +0,0 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { Aconteceu as component };
4
- }
5
- export default _default;
6
- export function Youtube(): JSX.Element;
7
- export function Loading(): JSX.Element;
8
- export function FlexBox(): JSX.Element;
9
- import Aconteceu from "./Aconteceu";
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './AdvancedSemiHeader.scss';
3
- interface AdvancedSemiHeaderProps {
4
- logo?: React.ReactNode;
5
- leftButton?: React.ReactNode;
6
- rightContent?: React.ReactNode;
7
- searchField?: React.ReactNode;
8
- }
9
- export default function AdvancedSemiHeader(props: AdvancedSemiHeaderProps): JSX.Element;
10
- export {};
@@ -1,8 +0,0 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { AdvancedSemiHeader as component };
4
- }
5
- export default _default;
6
- export function Primary(): JSX.Element;
7
- export function WithoutSearchField(): JSX.Element;
8
- import AdvancedSemiHeader from "./AdvancedSemiHeader";
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import './AssembleiaItem.scss';
3
- interface AssembleiaItemProps {
4
- nomeCooperativa: string;
5
- presencial?: {
6
- endereco: string;
7
- dataInicio: string;
8
- dataTermino: string;
9
- };
10
- dataInicio?: string;
11
- dataTermino?: string;
12
- modo?: number;
13
- onClick?: (evt: any) => void;
14
- language: {
15
- dataInicio: string;
16
- dataTermino: string;
17
- enderecoDigital: string;
18
- presencial: string;
19
- };
20
- }
21
- declare function AssembleiaItem(props: AssembleiaItemProps): JSX.Element;
22
- declare const _default: React.MemoExoticComponent<typeof AssembleiaItem>;
23
- export default _default;
@@ -1,11 +0,0 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { AssembleiaItem as component };
4
- }
5
- export default _default;
6
- export function HybridExample(): JSX.Element;
7
- export function DigitalExample(): JSX.Element;
8
- export function PresencialExample(): JSX.Element;
9
- export function MultiLineExample(): JSX.Element;
10
- export function ModalExample(): JSX.Element;
11
- import AssembleiaItem from "./AssembleiaItem";
@@ -1,71 +0,0 @@
1
- import React from 'react';
2
- import { PautaStatusType } from '../../libraries/Pautas';
3
- import './AssembleiaPauta.scss';
4
- interface AssembleiaPautaProps {
5
- loading?: boolean;
6
- opened: boolean;
7
- toggleOpened: (evt: any) => void;
8
- titulo: string;
9
- descricao?: string;
10
- status: PautaStatusType;
11
- disabled?: boolean;
12
- readOnly?: boolean;
13
- barIcon: JSX.Element;
14
- onMostrarResultadosClick: (evt?: any) => void;
15
- mostrarResultadosDisabled?: boolean;
16
- mostrarResultadosIcon?: JSX.Element;
17
- showMostrarResultadosButton?: boolean;
18
- onVoteButtonClick: (idItemVoto?: number | null) => Promise<null>;
19
- voteButtonIcon?: JSX.Element;
20
- callBackZerouTempo?: () => void;
21
- tempo?: number;
22
- itens?: {
23
- idItemPauta: number;
24
- descricao: string;
25
- flgAbstencao: number;
26
- representantesChapa: {}[];
27
- ordem: number;
28
- }[];
29
- votos?: {
30
- idItemPauta: number;
31
- idPauta: number;
32
- idEvento: number;
33
- idConvocado: number;
34
- tipo: number;
35
- cpfRepresentante: string;
36
- data: string;
37
- }[];
38
- language?: {
39
- opcoesDeVotoLabel: string;
40
- votarLabel: string;
41
- mostrarResultadosLabel: string;
42
- votoEnviadoLabel: string;
43
- itemAbstencaoLabel: string;
44
- seTiverVotosLabel: string;
45
- barLabel: string;
46
- getStatusLabel: (status?: PautaStatusType) => string;
47
- votarNestaPautaLabel: string;
48
- resultadoParialLabel: string;
49
- };
50
- }
51
- declare function AssembleiaPauta(props: AssembleiaPautaProps): JSX.Element;
52
- declare namespace AssembleiaPauta {
53
- var defaultProps: {
54
- tempo: number;
55
- status: number;
56
- barIcon: string;
57
- language: {
58
- opcoesDeVotoLabel: string;
59
- votarLabel: string;
60
- votoEnviadoLabel: string;
61
- itemAbstencaoLabel: string;
62
- seTiverVotosLabel: string;
63
- barLabel: string;
64
- getStatusLabel: () => string;
65
- votarNestaPautaLabel: string;
66
- resultadoParcialLabel: string;
67
- };
68
- };
69
- }
70
- declare const _default: React.MemoExoticComponent<typeof AssembleiaPauta>;
71
- export default _default;
@@ -1,170 +0,0 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { AssembleiaPauta as component };
4
- }
5
- export default _default;
6
- export function Bloqueada(args: any): JSX.Element;
7
- export namespace Bloqueada {
8
- export namespace args {
9
- export function onVoteButtonClick(): Promise<any>;
10
- export const disabled: boolean;
11
- export const status: number;
12
- export const tempo: number;
13
- export const titulo: string;
14
- export const descricao: string;
15
- export const itens: any;
16
- export namespace language {
17
- export function getStatusLabel(status: any): "encerrada" | "liberada" | "bloqueada";
18
- export const barLabel: string;
19
- export const seTiverVotosLabel: string;
20
- export const opcoesDeVotoLabel: string;
21
- export const itemAbstencaoLabel: string;
22
- export const votoEnviadoLabel: string;
23
- }
24
- }
25
- }
26
- export function Liberada(args: any): JSX.Element;
27
- export namespace Liberada {
28
- export namespace args_1 {
29
- export function onVoteButtonClick_1(): Promise<any>;
30
- export { onVoteButtonClick_1 as onVoteButtonClick };
31
- const status_1: number;
32
- export { status_1 as status };
33
- const tempo_1: number;
34
- export { tempo_1 as tempo };
35
- const titulo_1: string;
36
- export { titulo_1 as titulo };
37
- const descricao_1: string;
38
- export { descricao_1 as descricao };
39
- const itens_1: any;
40
- export { itens_1 as itens };
41
- export const showMostrarResultadosButton: boolean;
42
- export const mostrarResultadosIcon: JSX.Element;
43
- export const voteButtonIcon: JSX.Element;
44
- export function onMostrarResultadosClick(): void;
45
- export namespace language_1 {
46
- export function getStatusLabel_1(status: any): "encerrada" | "liberada" | "bloqueada";
47
- export { getStatusLabel_1 as getStatusLabel };
48
- const barLabel_1: string;
49
- export { barLabel_1 as barLabel };
50
- const seTiverVotosLabel_1: string;
51
- export { seTiverVotosLabel_1 as seTiverVotosLabel };
52
- export const mostrarResultadosLabel: string;
53
- const opcoesDeVotoLabel_1: string;
54
- export { opcoesDeVotoLabel_1 as opcoesDeVotoLabel };
55
- const itemAbstencaoLabel_1: string;
56
- export { itemAbstencaoLabel_1 as itemAbstencaoLabel };
57
- const votoEnviadoLabel_1: string;
58
- export { votoEnviadoLabel_1 as votoEnviadoLabel };
59
- }
60
- export { language_1 as language };
61
- }
62
- export { args_1 as args };
63
- }
64
- export function LiberadaComVotos(args: any): JSX.Element;
65
- export namespace LiberadaComVotos {
66
- export namespace args_2 {
67
- export function onVoteButtonClick_2(): Promise<any>;
68
- export { onVoteButtonClick_2 as onVoteButtonClick };
69
- export const votos: any;
70
- const status_2: number;
71
- export { status_2 as status };
72
- const tempo_2: number;
73
- export { tempo_2 as tempo };
74
- const titulo_2: string;
75
- export { titulo_2 as titulo };
76
- const descricao_2: string;
77
- export { descricao_2 as descricao };
78
- const itens_2: any;
79
- export { itens_2 as itens };
80
- export namespace language_2 {
81
- export function getStatusLabel_2(status: any): "encerrada" | "liberada" | "bloqueada";
82
- export { getStatusLabel_2 as getStatusLabel };
83
- const barLabel_2: string;
84
- export { barLabel_2 as barLabel };
85
- const seTiverVotosLabel_2: string;
86
- export { seTiverVotosLabel_2 as seTiverVotosLabel };
87
- const opcoesDeVotoLabel_2: string;
88
- export { opcoesDeVotoLabel_2 as opcoesDeVotoLabel };
89
- const itemAbstencaoLabel_2: string;
90
- export { itemAbstencaoLabel_2 as itemAbstencaoLabel };
91
- const votoEnviadoLabel_2: string;
92
- export { votoEnviadoLabel_2 as votoEnviadoLabel };
93
- }
94
- export { language_2 as language };
95
- }
96
- export { args_2 as args };
97
- }
98
- export function Encerrada(args: any): JSX.Element;
99
- export namespace Encerrada {
100
- export namespace args_3 {
101
- export function onVoteButtonClick_3(): Promise<any>;
102
- export { onVoteButtonClick_3 as onVoteButtonClick };
103
- const disabled_1: boolean;
104
- export { disabled_1 as disabled };
105
- const status_3: number;
106
- export { status_3 as status };
107
- const tempo_3: number;
108
- export { tempo_3 as tempo };
109
- const titulo_3: string;
110
- export { titulo_3 as titulo };
111
- const descricao_3: string;
112
- export { descricao_3 as descricao };
113
- const itens_3: any;
114
- export { itens_3 as itens };
115
- export namespace language_3 {
116
- export function getStatusLabel_3(status: any): "encerrada" | "liberada" | "bloqueada";
117
- export { getStatusLabel_3 as getStatusLabel };
118
- const barLabel_3: string;
119
- export { barLabel_3 as barLabel };
120
- const seTiverVotosLabel_3: string;
121
- export { seTiverVotosLabel_3 as seTiverVotosLabel };
122
- const opcoesDeVotoLabel_3: string;
123
- export { opcoesDeVotoLabel_3 as opcoesDeVotoLabel };
124
- const itemAbstencaoLabel_3: string;
125
- export { itemAbstencaoLabel_3 as itemAbstencaoLabel };
126
- const votoEnviadoLabel_3: string;
127
- export { votoEnviadoLabel_3 as votoEnviadoLabel };
128
- }
129
- export { language_3 as language };
130
- }
131
- export { args_3 as args };
132
- }
133
- export function EncerradaComVotos(args: any): JSX.Element;
134
- export namespace EncerradaComVotos {
135
- export namespace args_4 {
136
- export function onVoteButtonClick_4(): Promise<any>;
137
- export { onVoteButtonClick_4 as onVoteButtonClick };
138
- const votos_1: any;
139
- export { votos_1 as votos };
140
- const disabled_2: boolean;
141
- export { disabled_2 as disabled };
142
- const status_4: number;
143
- export { status_4 as status };
144
- const tempo_4: number;
145
- export { tempo_4 as tempo };
146
- const titulo_4: string;
147
- export { titulo_4 as titulo };
148
- const descricao_4: string;
149
- export { descricao_4 as descricao };
150
- const itens_4: any;
151
- export { itens_4 as itens };
152
- export namespace language_4 {
153
- export function getStatusLabel_4(status: any): "encerrada" | "liberada" | "bloqueada";
154
- export { getStatusLabel_4 as getStatusLabel };
155
- const barLabel_4: string;
156
- export { barLabel_4 as barLabel };
157
- const seTiverVotosLabel_4: string;
158
- export { seTiverVotosLabel_4 as seTiverVotosLabel };
159
- const opcoesDeVotoLabel_4: string;
160
- export { opcoesDeVotoLabel_4 as opcoesDeVotoLabel };
161
- const itemAbstencaoLabel_4: string;
162
- export { itemAbstencaoLabel_4 as itemAbstencaoLabel };
163
- const votoEnviadoLabel_4: string;
164
- export { votoEnviadoLabel_4 as votoEnviadoLabel };
165
- }
166
- export { language_4 as language };
167
- }
168
- export { args_4 as args };
169
- }
170
- import AssembleiaPauta from "./AssembleiaPauta";
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import './BannerAssembleia.scss';
3
- interface BannerAssembleiaProps {
4
- imgUrl: string;
5
- breadCrumb?: string;
6
- buttonLabel: string;
7
- onButtonClick: (evt: any) => void;
8
- green?: boolean;
9
- text: string;
10
- }
11
- declare function BannerAssembleia(props: BannerAssembleiaProps): JSX.Element;
12
- declare const _default: React.MemoExoticComponent<typeof BannerAssembleia>;
13
- export default _default;
@@ -1,8 +0,0 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { BannerAssembleia as component };
4
- }
5
- export default _default;
6
- export function FirstExample(): JSX.Element;
7
- export function GreenExample(): JSX.Element;
8
- import BannerAssembleia from "./BannerAssembleia";
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { InputProps } from '../input/Input';
3
- import './BannerPesquisaCpfCnpj.scss';
4
- interface BannerPesquisaCpfCnpjProps {
5
- title?: string;
6
- subtitle?: string;
7
- inputProps?: InputProps;
8
- urlImg?: string;
9
- theme?: 'white' | 'secondary-light' | 'secondary-lighter';
10
- captcha?: React.ReactNode;
11
- }
12
- declare function BannerPesquisaCpfCnpj(props: BannerPesquisaCpfCnpjProps): JSX.Element;
13
- declare namespace BannerPesquisaCpfCnpj {
14
- var defaultProps: {
15
- theme: string;
16
- };
17
- }
18
- declare const _default: React.MemoExoticComponent<typeof BannerPesquisaCpfCnpj>;
19
- export default _default;
@@ -1,8 +0,0 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { BannerPesquisaCpfCnpj as component };
4
- }
5
- export default _default;
6
- export function FirstExample(): JSX.Element;
7
- export function CaptchaExample(): JSX.Element;
8
- import BannerPesquisaCpfCnpj from "./BannerPesquisaCpfCnpj";
@@ -1,53 +0,0 @@
1
- /// <reference types="react" />
2
- import { IconButtonType } from '../../libraries/IconButtonTheme';
3
- import './BlocoDeNotas.scss';
4
- interface NotaType {
5
- id?: number | string;
6
- dataEdicao?: string;
7
- titulo?: string;
8
- texto?: string;
9
- usuario?: string;
10
- }
11
- interface BlocoDeNotasProps {
12
- title?: string;
13
- onDeleteClick?: (evt?: any) => void;
14
- onNewNotaClick?: (evt?: any) => void;
15
- notas?: NotaType[];
16
- onEditNotaClick?: (evt?: any) => void;
17
- onDbClickNota?: (evt?: any) => void;
18
- onSingleClickNota?: (evt?: any) => void;
19
- seeMoreLabel?: string;
20
- onSeeMoreClick?: (evt?: any) => void;
21
- hideSeeMore?: boolean;
22
- actionButtonsTheme?: IconButtonType;
23
- highlightId?: number | string;
24
- loading?: boolean;
25
- hideEdit?: boolean;
26
- hideAdd?: boolean;
27
- hideDelete?: boolean;
28
- hideDataEdicao?: boolean;
29
- selected: (string | number)[];
30
- setSelected: (evt?: any) => void;
31
- className?: string;
32
- }
33
- declare function BlocoDeNotas(props: BlocoDeNotasProps): JSX.Element;
34
- declare namespace BlocoDeNotas {
35
- var defaultProps: {
36
- title: string;
37
- notas: never[];
38
- actionButtonsTheme: string;
39
- seeMoreLabel: string;
40
- };
41
- }
42
- export default BlocoDeNotas;
43
- /**
44
- * [
45
- {
46
- "dataEdicao": "01/04/2021",
47
- "id": 0,
48
- "texto": "string",
49
- "titulo": "string",
50
- "usuario": "string"
51
- }
52
- ]
53
- */
@@ -1,9 +0,0 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { BlocoDeNotas as component };
4
- }
5
- export default _default;
6
- export function FirstExample(): JSX.Element;
7
- export function SecondExample(): JSX.Element;
8
- export function ThirdExample(): JSX.Element;
9
- import BlocoDeNotas from "./BlocoDeNotas";
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- import './BlocoMinhasAssembleias.scss';
3
- interface BlocoMinhasAssembleiasProps {
4
- leftIcon?: React.ReactNode;
5
- rightIcon?: React.ReactNode;
6
- title?: string;
7
- linked?: string;
8
- subtitle?: string;
9
- notFound?: string;
10
- showNotFound?: boolean;
11
- className?: string;
12
- onClick?: (event?: any) => void;
13
- }
14
- declare function BlocoMinhasAssembleias(props: BlocoMinhasAssembleiasProps): JSX.Element;
15
- declare namespace BlocoMinhasAssembleias {
16
- var defaultProps: {
17
- leftIcon: JSX.Element;
18
- rightIcon: JSX.Element;
19
- };
20
- }
21
- declare const _default: React.MemoExoticComponent<typeof BlocoMinhasAssembleias>;
22
- export default _default;
@@ -1,20 +0,0 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { BlocoMinhasAssembleias as component };
4
- }
5
- export default _default;
6
- export function FirstExample(args: any): JSX.Element;
7
- export namespace FirstExample {
8
- export namespace args {
9
- export const leftIcon: JSX.Element;
10
- export const rightIcon: JSX.Element;
11
- const title_1: string;
12
- export { title_1 as title };
13
- export const linked: string;
14
- export const subtitle: string;
15
- export const showNotFound: boolean;
16
- export const notFound: string;
17
- export function onClick(): void;
18
- }
19
- }
20
- import BlocoMinhasAssembleias from "./BlocoMinhasAssembleias";
@@ -1,28 +0,0 @@
1
- import React from 'react';
2
- import './EditableVideoItem.scss';
3
- interface EditableVideoItemProps {
4
- title: string;
5
- url: string;
6
- disabled?: boolean;
7
- urlProps?: {
8
- placeholder?: string;
9
- maxLength?: number;
10
- validations?: ((val: any) => {
11
- error: boolean;
12
- helperText?: string;
13
- })[];
14
- };
15
- titleProps?: {
16
- placeholder?: string;
17
- maxLength?: number;
18
- validations?: ((val: any) => {
19
- error: boolean;
20
- helperText?: string;
21
- })[];
22
- };
23
- onRemoveClick: () => Promise<any>;
24
- onEditConfirm: (title: string, url: string) => Promise<any>;
25
- }
26
- declare function EditableVideoItem(props: EditableVideoItemProps): JSX.Element;
27
- declare const _default: React.MemoExoticComponent<typeof EditableVideoItem>;
28
- export default _default;
@@ -1,7 +0,0 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { EditableVideoItem as component };
4
- }
5
- export default _default;
6
- export function FirstExample(): JSX.Element;
7
- import EditableVideoItem from "./EditableVideoItem";
@@ -1,23 +0,0 @@
1
- declare function HeaderSearchField(props: any): JSX.Element;
2
- declare namespace HeaderSearchField {
3
- export namespace propTypes {
4
- export const inputProps: PropTypes.Requireable<PropTypes.InferProps<{
5
- value: PropTypes.Requireable<any>;
6
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
7
- disabled: PropTypes.Requireable<boolean>;
8
- }>>;
9
- export const results: PropTypes.Requireable<(object | null | undefined)[]>;
10
- export const panelOpened: PropTypes.Requireable<boolean>;
11
- export const rightIcon: PropTypes.Requireable<object>;
12
- export const onRightObjectClick: PropTypes.Requireable<(...args: any[]) => any>;
13
- export const onMaskClick: PropTypes.Requireable<(...args: any[]) => any>;
14
- export const loading: PropTypes.Requireable<boolean>;
15
- export const disabled: PropTypes.Requireable<boolean>;
16
- }
17
- export namespace defaultProps {
18
- export function onRightObjectClick_1(): void;
19
- export { onRightObjectClick_1 as onRightObjectClick };
20
- }
21
- }
22
- export default HeaderSearchField;
23
- import PropTypes from "prop-types";
@@ -1,7 +0,0 @@
1
- declare namespace _default {
2
- export const title: string;
3
- export { HeaderSearchField as component };
4
- }
5
- export default _default;
6
- export function Primary(): JSX.Element;
7
- import HeaderSearchField from "./HeaderSearchField";