argous 1.3.2 → 1.3.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.
Files changed (231) hide show
  1. package/dist/components/Alert/Alert.d.ts +5 -19
  2. package/dist/components/Alert/index.d.ts +2 -1
  3. package/dist/components/ArgousAction/ArgousAction.d.ts +5 -26
  4. package/dist/components/ArgousAction/index.d.ts +2 -1
  5. package/dist/components/ArgousAvatar/ArgousAvatar.d.ts +14 -3
  6. package/dist/components/ArgousAvatar/index.d.ts +2 -1
  7. package/dist/components/ArgousComplexPagination/ArgousComplexPagination.d.ts +76 -3
  8. package/dist/components/ArgousComplexPagination/index.d.ts +2 -1
  9. package/dist/components/ArgousComplexTable/ArgousComplexTable.d.ts +158 -3
  10. package/dist/components/ArgousComplexTable/index.d.ts +2 -1
  11. package/dist/components/ArgousComplexTableBody/ArgousComplexTableBody.d.ts +177 -7
  12. package/dist/components/ArgousComplexTableBody/index.d.ts +2 -1
  13. package/dist/components/ArgousComplexTableHead/ArgousComplexTableHead.d.ts +73 -3
  14. package/dist/components/ArgousComplexTableHead/index.d.ts +2 -1
  15. package/dist/components/ArgousComplexTableToolbar/ArgousComplexTableToolBar.d.ts +58 -3
  16. package/dist/components/ArgousComplexTableToolbar/index.d.ts +2 -1
  17. package/dist/components/ArgousInput/ArgousInput.d.ts +8 -2
  18. package/dist/components/ArgousInput/index.d.ts +2 -1
  19. package/dist/components/ArgousPagination/ArgousPagination.d.ts +5 -3
  20. package/dist/components/ArgousPagination/index.d.ts +2 -1
  21. package/dist/components/ArgousProgressBar/ArgousProgressBar.d.ts +21 -31
  22. package/dist/components/ArgousProgressBar/index.d.ts +2 -1
  23. package/dist/components/ArgousSimpleTable/ArgousSimpleTable.d.ts +5 -3
  24. package/dist/components/ArgousSimpleTable/index.d.ts +2 -1
  25. package/dist/components/AutoComplete/AutoComplete.d.ts +8 -2
  26. package/dist/components/AutoComplete/index.d.ts +2 -1
  27. package/dist/components/AutoCompleteFavorites/AutoCompleteFavorites.d.ts +99 -27
  28. package/dist/components/AutoCompleteFavorites/index.d.ts +2 -1
  29. package/dist/components/BarChart/BarChart.d.ts +5 -29
  30. package/dist/components/BarChart/index.d.ts +2 -1
  31. package/dist/components/BarraFerramentas/BarraFerramentas.d.ts +53 -54
  32. package/dist/components/BarraFerramentas/index.d.ts +2 -1
  33. package/dist/components/Button/Button.d.ts +5 -54
  34. package/dist/components/Button/index.d.ts +2 -1
  35. package/dist/components/Cabecalho/Cabecalho.d.ts +8 -2
  36. package/dist/components/Cabecalho/index.d.ts +2 -1
  37. package/dist/components/Calendar/Calendar.d.ts +8 -2
  38. package/dist/components/Calendar/index.d.ts +2 -1
  39. package/dist/components/Cam/Cam.d.ts +24 -24
  40. package/dist/components/Cam/cam.css +8 -0
  41. package/dist/components/Cam/index.d.ts +2 -1
  42. package/dist/components/Carousel/Carousel.d.ts +71 -21
  43. package/dist/components/Carousel/index.d.ts +2 -1
  44. package/dist/components/CartaoUsuario/CartaoUsuario.d.ts +9 -6
  45. package/dist/components/CartaoUsuario/index.d.ts +2 -1
  46. package/dist/components/Collapse/Collapse.d.ts +56 -55
  47. package/dist/components/Collapse/index.d.ts +3 -1
  48. package/dist/components/Compartilhar/Compartilhar.d.ts +7 -3
  49. package/dist/components/Compartilhar/index.d.ts +2 -1
  50. package/dist/components/ConfirmModal/index.d.ts +20 -6
  51. package/dist/components/ContactValidationInput/ContactValidationInput.d.ts +62 -17
  52. package/dist/components/ContactValidationInput/index.d.ts +2 -1
  53. package/dist/components/ContactValidationInput/style.css +10 -0
  54. package/dist/components/Document/icons/ai.svg +20 -0
  55. package/dist/components/Document/icons/audio.svg +16 -0
  56. package/dist/components/Document/icons/avi.svg +15 -0
  57. package/dist/components/Document/icons/css.svg +47 -0
  58. package/dist/components/Document/icons/csv.svg +37 -0
  59. package/dist/components/Document/icons/dbf.svg +30 -0
  60. package/dist/components/Document/icons/doc.svg +47 -0
  61. package/dist/components/Document/icons/dwg.svg +32 -0
  62. package/dist/components/Document/icons/exe.svg +20 -0
  63. package/dist/components/Document/icons/file.svg +11 -0
  64. package/dist/components/Document/icons/fla.svg +23 -0
  65. package/dist/components/Document/icons/html.svg +23 -0
  66. package/dist/components/Document/icons/image.svg +16 -0
  67. package/dist/components/Document/icons/iso.svg +40 -0
  68. package/dist/components/Document/icons/jpg.svg +33 -0
  69. package/dist/components/Document/icons/js.svg +40 -0
  70. package/dist/components/Document/icons/json.svg +45 -0
  71. package/dist/components/Document/icons/mod.svg +41 -0
  72. package/dist/components/Document/icons/mp3.svg +36 -0
  73. package/dist/components/Document/icons/mp4.svg +25 -0
  74. package/dist/components/Document/icons/pdf.svg +35 -0
  75. package/dist/components/Document/icons/png.svg +30 -0
  76. package/dist/components/Document/icons/ppt.svg +31 -0
  77. package/dist/components/Document/icons/psd.svg +50 -0
  78. package/dist/components/Document/icons/rtf.svg +35 -0
  79. package/dist/components/Document/icons/search.svg +20 -0
  80. package/dist/components/Document/icons/svg.svg +34 -0
  81. package/dist/components/Document/icons/txt.svg +29 -0
  82. package/dist/components/Document/icons/video.svg +17 -0
  83. package/dist/components/Document/icons/xls.svg +31 -0
  84. package/dist/components/Document/icons/xml.svg +25 -0
  85. package/dist/components/Document/icons/zip.svg +24 -0
  86. package/dist/components/Document/icons/zip1.svg +18 -0
  87. package/dist/components/Document/index.d.ts +3 -3
  88. package/dist/components/DropArea/DropArea.d.ts +21 -8
  89. package/dist/components/DropArea/index.d.ts +2 -1
  90. package/dist/components/Editor/skins/content/dark/content.min.css +1 -0
  91. package/dist/components/Editor/skins/content/default/content.min.css +1 -0
  92. package/dist/components/Editor/skins/content/document/content.min.css +1 -0
  93. package/dist/components/Editor/skins/content/tinymce-5/content.min.css +1 -0
  94. package/dist/components/Editor/skins/content/tinymce-5-dark/content.min.css +1 -0
  95. package/dist/components/Editor/skins/content/writer/content.min.css +1 -0
  96. package/dist/components/Editor/skins/ui/oxide/content.inline.min.css +1 -0
  97. package/dist/components/Editor/skins/ui/oxide/content.min.css +1 -0
  98. package/dist/components/Editor/skins/ui/oxide/skin.min.css +1 -0
  99. package/dist/components/Editor/skins/ui/oxide/skin.shadowdom.min.css +1 -0
  100. package/dist/components/Editor/skins/ui/oxide-dark/content.inline.min.css +1 -0
  101. package/dist/components/Editor/skins/ui/oxide-dark/content.min.css +1 -0
  102. package/dist/components/Editor/skins/ui/oxide-dark/skin.min.css +1 -0
  103. package/dist/components/Editor/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
  104. package/dist/components/Editor/skins/ui/tinymce-5/content.inline.min.css +1 -0
  105. package/dist/components/Editor/skins/ui/tinymce-5/content.min.css +1 -0
  106. package/dist/components/Editor/skins/ui/tinymce-5/skin.min.css +1 -0
  107. package/dist/components/Editor/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -0
  108. package/dist/components/Editor/skins/ui/tinymce-5-dark/content.inline.min.css +1 -0
  109. package/dist/components/Editor/skins/ui/tinymce-5-dark/content.min.css +1 -0
  110. package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.min.css +1 -0
  111. package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -0
  112. package/dist/components/Editor/tinymce/icons/default/icons.js +194 -0
  113. package/dist/components/Editor/tinymce/icons/default/icons.min.js +1 -0
  114. package/dist/components/Editor/tinymce/skins/content/dark/content.css +66 -0
  115. package/dist/components/Editor/tinymce/skins/content/dark/content.min.css +2 -0
  116. package/dist/components/Editor/tinymce/skins/content/default/content.css +61 -0
  117. package/dist/components/Editor/tinymce/skins/content/default/content.min.css +2 -0
  118. package/dist/components/Editor/tinymce/skins/content/document/content.css +66 -0
  119. package/dist/components/Editor/tinymce/skins/content/document/content.min.css +2 -0
  120. package/dist/components/Editor/tinymce/skins/content/tinymce-5/content.css +61 -0
  121. package/dist/components/Editor/tinymce/skins/content/tinymce-5/content.min.css +2 -0
  122. package/dist/components/Editor/tinymce/skins/content/tinymce-5-dark/content.css +66 -0
  123. package/dist/components/Editor/tinymce/skins/content/tinymce-5-dark/content.min.css +2 -0
  124. package/dist/components/Editor/tinymce/skins/content/writer/content.css +62 -0
  125. package/dist/components/Editor/tinymce/skins/content/writer/content.min.css +2 -0
  126. package/dist/components/Editor/tinymce/skins/ui/oxide/content.css +785 -0
  127. package/dist/components/Editor/tinymce/skins/ui/oxide/content.inline.css +779 -0
  128. package/dist/components/Editor/tinymce/skins/ui/oxide/content.inline.min.css +2 -0
  129. package/dist/components/Editor/tinymce/skins/ui/oxide/content.min.css +2 -0
  130. package/dist/components/Editor/tinymce/skins/ui/oxide/skin.css +3763 -0
  131. package/dist/components/Editor/tinymce/skins/ui/oxide/skin.min.css +2 -0
  132. package/dist/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
  133. package/dist/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +2 -0
  134. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/content.css +766 -0
  135. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.css +779 -0
  136. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +2 -0
  137. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/content.min.css +2 -0
  138. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/skin.css +3766 -0
  139. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/skin.min.css +2 -0
  140. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
  141. package/dist/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +2 -0
  142. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/content.css +785 -0
  143. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.css +779 -0
  144. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +2 -0
  145. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/content.min.css +2 -0
  146. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/skin.css +3857 -0
  147. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/skin.min.css +2 -0
  148. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +30 -0
  149. package/dist/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +2 -0
  150. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.css +766 -0
  151. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.css +779 -0
  152. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +2 -0
  153. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +2 -0
  154. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.css +3857 -0
  155. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +2 -0
  156. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +30 -0
  157. package/dist/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +2 -0
  158. package/dist/components/Editor/tinymce/tinymce.d.ts +3238 -0
  159. package/dist/components/FilePreparer/FilePreparer.d.ts +26 -16
  160. package/dist/components/FilePreparer/index.d.ts +2 -1
  161. package/dist/components/FileUploader/FileUploader.d.ts +8 -21
  162. package/dist/components/FileUploader/index.d.ts +2 -1
  163. package/dist/components/FormVisualizer/FormVisualizer.d.ts +89 -7
  164. package/dist/components/FormVisualizer/index.d.ts +2 -1
  165. package/dist/components/HalfGauge/HalfGauge.d.ts +82 -23
  166. package/dist/components/HalfGauge/index.d.ts +2 -1
  167. package/dist/components/Highlight/Highlight.d.ts +7 -20
  168. package/dist/components/Highlight/index.d.ts +2 -1
  169. package/dist/components/ImageResize/ImageResize.d.ts +28 -8
  170. package/dist/components/ImageResize/index.d.ts +2 -1
  171. package/dist/components/ImageResizeButton/ImageResizeButton.d.ts +25 -2
  172. package/dist/components/ImageResizeButton/index.d.ts +2 -1
  173. package/dist/components/Input/Input.d.ts +8 -2
  174. package/dist/components/Input/index.d.ts +2 -1
  175. package/dist/components/InputTags/InputTags.d.ts +8 -2
  176. package/dist/components/InputTags/index.d.ts +2 -1
  177. package/dist/components/ListSelect/ListSelect.d.ts +8 -2
  178. package/dist/components/ListSelect/index.d.ts +2 -1
  179. package/dist/components/MaterialButton/MaterialButton.d.ts +10 -30
  180. package/dist/components/MaterialButton/index.d.ts +2 -1
  181. package/dist/components/MenuBar/MenuBar.d.ts +8 -2
  182. package/dist/components/MenuBar/index.d.ts +2 -1
  183. package/dist/components/MonthPicker/MonthPicker.d.ts +8 -2
  184. package/dist/components/MonthPicker/index.d.ts +2 -1
  185. package/dist/components/MultipleSelect/MultipleSelect.d.ts +8 -2
  186. package/dist/components/MultipleSelect/index.d.ts +2 -1
  187. package/dist/components/OtpInput/index.d.ts +2 -1
  188. package/dist/components/OutputText/OutputText.d.ts +8 -2
  189. package/dist/components/OutputText/index.d.ts +2 -1
  190. package/dist/components/Pagination/Pagination.d.ts +5 -16
  191. package/dist/components/Pagination/index.d.ts +2 -1
  192. package/dist/components/PercentageDisplay/PercentageDisplay.d.ts +51 -14
  193. package/dist/components/PercentageDisplay/index.d.ts +2 -1
  194. package/dist/components/Programa/Programa.d.ts +47 -72
  195. package/dist/components/Programa/index.d.ts +2 -1
  196. package/dist/components/ProgressBar/ProgressBar.d.ts +5 -20
  197. package/dist/components/ProgressBar/index.d.ts +2 -1
  198. package/dist/components/Select/Select.d.ts +8 -2
  199. package/dist/components/Select/index.d.ts +2 -1
  200. package/dist/components/SimpleTable/SimpleTable.d.ts +10 -27
  201. package/dist/components/SimpleTable/index.d.ts +2 -1
  202. package/dist/components/Stepper/Stepper.d.ts +68 -25
  203. package/dist/components/Stepper/index.d.ts +2 -1
  204. package/dist/components/TablePicker/TablePicker.d.ts +8 -3
  205. package/dist/components/TablePicker/index.d.ts +2 -1
  206. package/dist/components/Tabs/Tabs.d.ts +5 -25
  207. package/dist/components/Tabs/index.d.ts +2 -1
  208. package/dist/components/TextArea/TextArea.d.ts +8 -2
  209. package/dist/components/TextArea/index.d.ts +2 -1
  210. package/dist/components/TextToHtml/TextToHtml.d.ts +36 -32
  211. package/dist/components/TextToHtml/icons/resize_area.svg +2 -0
  212. package/dist/components/TextToHtml/index.d.ts +2 -1
  213. package/dist/components/TextToHtml/style.css +40 -0
  214. package/dist/components/ThreadLog/ThreadLog.d.ts +5 -36
  215. package/dist/components/ThreadLog/index.d.ts +2 -1
  216. package/dist/components/UserCard/UserCard.d.ts +15 -6
  217. package/dist/components/UserCard/index.d.ts +2 -1
  218. package/dist/components/UtilAutoComplete/UtilAutoComplete.d.ts +95 -31
  219. package/dist/components/UtilAutoComplete/index.d.ts +2 -1
  220. package/dist/components/UtilTextField/UtilTextField.d.ts +23 -7
  221. package/dist/components/UtilTextField/index.d.ts +2 -1
  222. package/dist/components/Zoom/Zoom.d.ts +15 -7
  223. package/dist/components/Zoom/index.d.ts +2 -1
  224. package/dist/components/Zoom/style.css +25 -0
  225. package/dist/components/index.d.ts +180 -118
  226. package/dist/fieldsRedux/createField.d.ts +6 -6
  227. package/dist/fieldsRedux/fieldsRedux.d.ts +58 -3
  228. package/dist/fieldsRedux/index.d.ts +2 -17
  229. package/dist/fieldsRedux/passFields.d.ts +0 -2
  230. package/dist/types.d.ts +164 -0
  231. package/package.json +1 -1
@@ -1,14 +1,51 @@
1
- export default PercentageDisplay;
2
- declare function PercentageDisplay({ id, percentage, size, barWidth, fontSize, color, typographyVariant, backgroundColor, barColor, barBackgroundColor }: {
3
- id: any;
4
- percentage?: number | undefined;
5
- size?: number | undefined;
6
- barWidth?: number | undefined;
7
- fontSize?: string | undefined;
8
- color?: string | undefined;
9
- typographyVariant?: undefined;
10
- backgroundColor?: string | undefined;
11
- barColor?: string | undefined;
12
- barBackgroundColor?: string | undefined;
13
- }): React.JSX.Element;
14
- import React from 'react';
1
+ import { TypographyVariant } from '@mui/material';
2
+
3
+
4
+ export interface PercentageDisplayProps {
5
+ /**
6
+ * Identificação do elemento
7
+ */
8
+ id?: string,
9
+ /**
10
+ * Porcentagem
11
+ */
12
+ percentage?: (number|string),
13
+ /**
14
+ * Tamanho do componente
15
+ */
16
+ size?: number,
17
+ /**
18
+ * Largura da barra
19
+ */
20
+ barWidth?: number,
21
+ /**
22
+ * Tamanho da fonte da porcentagem
23
+ */
24
+ fontSize?: string,
25
+ /**
26
+ * Cor da fonte
27
+ */
28
+ color?: string,
29
+ /**
30
+ * Cor de fundo
31
+ */
32
+ backgroundColor?: string,
33
+ /**
34
+ * Cor da barra
35
+ */
36
+ barColor?: string,
37
+ /**
38
+ * Cor de fundo da barra
39
+ */
40
+ barBackgroundColor?: string,
41
+ /**
42
+ * Variant do componente Typography MUI
43
+ */
44
+ typographyVariant?: TypographyVariant
45
+ }
46
+
47
+
48
+ declare function PercentageDisplay(props: PercentageDisplayProps): JSX.Element
49
+
50
+
51
+ export default PercentageDisplay;
@@ -1 +1,2 @@
1
- export { default } from "./PercentageDisplay";
1
+ export { default } from './PercentageDisplay';
2
+ export * from './PercentageDisplay';
@@ -1,73 +1,48 @@
1
- declare const _default: import("react-redux").ConnectedComponent<typeof Programa, {
2
- [x: string]: any;
3
- [x: number]: any;
4
- context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
5
- store?: import("redux").Store | undefined;
6
- }>;
7
- export default _default;
8
- declare function Programa({ code, children, loading, threads, hint, title, panelTitle, hideTitle, setCurrentProgram, programDidMount, favorites, setFavorites, bfHabNavegador, bfAbas, bfFerramentas, bfExecutaFuncao, bfNmFuncaoVoltar, bfNmCompartilhar, bfHabCrud, bfNmSalva, bfNmExclui, bfHabFavorito, bfTitulo, linkCompartilhamento, className, rightSidebar, setRightSidebar, setAddProgramWidget, setProgramAnnotation, annotationParameters, openAnnotationParameters, programAnnotation, fields: _, ...props }: {
9
- [x: string]: any;
10
- code: any;
11
- children: any;
12
- loading?: boolean | undefined;
13
- threads?: never[] | undefined;
14
- hint: any;
15
- title: any;
16
- panelTitle: any;
17
- hideTitle: any;
18
- setCurrentProgram: any;
19
- programDidMount: any;
20
- favorites: any;
21
- setFavorites: any;
22
- bfHabNavegador: any;
23
- bfAbas?: never[] | undefined;
24
- bfFerramentas?: never[] | undefined;
25
- bfExecutaFuncao: any;
26
- bfNmFuncaoVoltar: any;
27
- bfNmCompartilhar: any;
28
- bfHabCrud: any;
29
- bfNmSalva: any;
30
- bfNmExclui: any;
31
- bfHabFavorito?: boolean | undefined;
32
- bfTitulo: any;
33
- linkCompartilhamento: any;
34
- className: any;
35
- rightSidebar: any;
36
- setRightSidebar: any;
37
- setAddProgramWidget: any;
38
- setProgramAnnotation: any;
39
- annotationParameters: any;
40
- openAnnotationParameters: any;
41
- programAnnotation: any;
42
- fields: any;
43
- }): React.JSX.Element;
44
- declare namespace Programa {
45
- namespace propTypes {
46
- let code: PropTypes.Validator<string>;
47
- let loading: PropTypes.Requireable<boolean>;
48
- let children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
49
- let favorites: PropTypes.Requireable<any[]>;
50
- let setFavorites: PropTypes.Requireable<(...args: any[]) => any>;
51
- let setCurrentProgram: PropTypes.Requireable<(...args: any[]) => any>;
52
- let programDidMount: PropTypes.Requireable<(...args: any[]) => any>;
53
- let threads: PropTypes.Requireable<any[]>;
54
- let hideTitle: PropTypes.Requireable<boolean>;
55
- let bfHabNavegador: PropTypes.Requireable<boolean>;
56
- let bfTitulo: PropTypes.Requireable<string>;
57
- let bfFerramentas: PropTypes.Requireable<any[]>;
58
- let bfAbas: PropTypes.Requireable<any[]>;
59
- let bfExecutaFuncao: PropTypes.Requireable<(...args: any[]) => any>;
60
- let bfNmFuncaoVoltar: PropTypes.Requireable<string>;
61
- let bfNmCompartilhar: PropTypes.Requireable<string>;
62
- let bfHabCrud: PropTypes.Requireable<boolean>;
63
- let bfNmSalva: PropTypes.Requireable<string>;
64
- let bfNmExclui: PropTypes.Requireable<string>;
65
- let bfHabFavorito: PropTypes.Requireable<boolean>;
66
- let hint: PropTypes.Requireable<string>;
67
- let linkCompartilhamento: PropTypes.Requireable<string>;
68
- let title: PropTypes.Requireable<string>;
69
- let panelTitle: PropTypes.Requireable<string>;
70
- }
1
+ import { TabArray } from './Tab';
2
+ import { BoxProps } from '@mui/material';
3
+ import * as React from 'react';
4
+
5
+
6
+ export interface ProgramaProps extends BoxProps {
7
+ code: string,
8
+ children: React.ReactNode,
9
+ loading: boolean,
10
+ threads: Array<any>,
11
+ hint: string,
12
+ title: string,
13
+ panelTitle: string,
14
+ hideTitle: boolean,
15
+ programDidMount: () => void,
16
+ bfHabNavegador: boolean,
17
+ /**
18
+ * Abas para a barra de ferramentas
19
+ *
20
+ * Array de arrays
21
+ *
22
+ * Array da aba: [('Label' || undefined), ('active' || undefined), ('alias' || undefined), (Icon || undefined)]
23
+ *
24
+ * - [0] Label: Rótulo da aba.
25
+ * - [1] Active: Quando 'active' inicia o programa com essa aba selecionada.
26
+ * - [2] Alias: O nome que será recebido na função 'bfExecutaFuncao'. Caso não forneça esse nome a função retorna 'T[index]'.
27
+ * - [3] Icon: JSX do ícone da aba.
28
+ *
29
+ */
30
+ bfAbas?: Array<TabArray>,
31
+ bfFerramentas: Array<any>,
32
+ bfExecutaFuncao: (prm: string) => void,
33
+ bfNmFuncaoVoltar: string,
34
+ bfNmCompartilhar: string,
35
+ bfHabCrud: boolean,
36
+ bfNmSalva: string,
37
+ bfNmExclui: string,
38
+ bfHabFavorito: boolean,
39
+ bfTitulo: string,
40
+ linkCompartilhamento: string,
41
+ className: string,
42
+ annotationParameters?: object,
43
+ openAnnotationParameters?: (event: Event, parameters: object) => void
71
44
  }
72
- import React from 'react';
73
- import PropTypes from 'prop-types';
45
+
46
+ declare function Programa(props: ProgramaProps): JSX.Element
47
+
48
+ export default Programa;
@@ -1 +1,2 @@
1
- export { default } from "./Programa";
1
+ export { default } from './Programa';
2
+ export * from './Programa';
@@ -1,23 +1,8 @@
1
- export default ProgressBar;
1
+ export interface ProgressBarProps {}
2
2
  /**
3
3
  * @deprecated
4
+ * @param props
4
5
  */
5
- declare class ProgressBar extends React.Component<any, any, any> {
6
- constructor(props: any);
7
- constructor(props: any, context: any);
8
- getProgressType: () => "bg-success" | "bg-warning" | "bg-purple" | "bg-yellow" | "bg-danger" | "bg-blue-alt";
9
- render(): React.JSX.Element;
10
- }
11
- declare namespace ProgressBar {
12
- namespace propTypes {
13
- let value: PropTypes.Requireable<number>;
14
- let fontSize: PropTypes.Requireable<string>;
15
- let padding: PropTypes.Requireable<string>;
16
- let showValue: PropTypes.Requireable<boolean>;
17
- let type: PropTypes.Requireable<string>;
18
- let trailClass: PropTypes.Requireable<string>;
19
- let progressClass: PropTypes.Requireable<string>;
20
- }
21
- }
22
- import React from 'react';
23
- import PropTypes from 'prop-types';
6
+ declare function ProgressBar(props: ProgressBarProps): JSX.Element
7
+
8
+ export default ProgressBar;
@@ -1 +1,2 @@
1
- export { default } from "./ProgressBar";
1
+ export { default } from './ProgressBar';
2
+ export * from './ProgressBar';
@@ -1,2 +1,8 @@
1
- declare const _default: any;
2
- export default _default;
1
+ export interface SelectProps {}
2
+ /**
3
+ * @deprecated
4
+ * @param props
5
+ */
6
+ declare function Select(props: SelectProps): JSX.Element
7
+
8
+ export default Select;
@@ -1 +1,2 @@
1
- export { default } from "./Select";
1
+ export { default } from './Select';
2
+ export * from './Select';
@@ -1,30 +1,13 @@
1
+ export interface SimpleTableProps {}
1
2
  /**
2
3
  * @deprecated
4
+ * @param props
3
5
  */
4
- export class Action extends React.Component<any, any, any> {
5
- constructor(props: any);
6
- constructor(props: any, context: any);
7
- render(): React.JSX.Element;
8
- }
9
- export namespace Action {
10
- namespace propTypes {
11
- let glyphicon: PropTypes.Requireable<string>;
12
- let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
- let onClick: PropTypes.Requireable<(...args: any[]) => any>;
14
- let sendUpdates: PropTypes.Requireable<any[]>;
15
- let receiveUpdates: PropTypes.Requireable<any[]>;
16
- let onSuccess: PropTypes.Requireable<(...args: any[]) => any>;
17
- let onAllUpdated: PropTypes.Requireable<(...args: any[]) => any>;
18
- let action: PropTypes.Requireable<string>;
19
- let dados: PropTypes.Requireable<object>;
20
- let type: PropTypes.Requireable<string>;
21
- let className: PropTypes.Requireable<string>;
22
- let style: PropTypes.Requireable<object>;
23
- let title: PropTypes.Requireable<string>;
24
- let item: PropTypes.Requireable<object>;
25
- }
26
- }
27
- declare const _default: any;
28
- export default _default;
29
- import React from 'react';
30
- import PropTypes from 'prop-types';
6
+ declare function SimpleTable(props: SimpleTableProps): JSX.Element
7
+
8
+ export default SimpleTable;
9
+ /**
10
+ * @deprecated
11
+ * @param props
12
+ */
13
+ export function Action (props: SimpleTableProps): JSX.Element
@@ -1 +1,2 @@
1
- export { default, Action } from "./SimpleTable";
1
+ export { default } from './SimpleTable';
2
+ export * from './SimpleTable';
@@ -1,25 +1,68 @@
1
- export default Stepper;
2
- declare function Stepper({ children, classes: classesProp, steps, onClick, onNext, onPrevious, onFinish, maxStep: maxStepProps, activeStep, errors, component: Component, backLabel, nextLabel, finishLabel, disableFinish, disableNext, disablePrevious, showProgress, disableActions, orientation, ...props }: {
3
- [x: string]: any;
4
- children: any;
5
- classes?: {} | undefined;
6
- steps?: never[] | undefined;
7
- onClick?: ((index: any) => (event: any) => undefined) | undefined;
8
- onNext?: ((event: any) => undefined) | undefined;
9
- onPrevious?: ((event: any) => undefined) | undefined;
10
- onFinish?: ((event: any) => undefined) | undefined;
11
- maxStep: any;
12
- activeStep?: number | undefined;
13
- errors?: never[] | undefined;
14
- component?: string | undefined;
15
- backLabel?: string | undefined;
16
- nextLabel?: string | undefined;
17
- finishLabel?: string | undefined;
18
- disableFinish?: boolean | undefined;
19
- disableNext?: boolean | undefined;
20
- disablePrevious?: boolean | undefined;
21
- showProgress?: boolean | undefined;
22
- disableActions?: boolean | undefined;
23
- orientation?: string | undefined;
24
- }): React.JSX.Element;
25
- import React from 'react';
1
+ import { OverrideProps, OverridableComponent } from '@mui/material/OverridableComponent';
2
+ import * as React from 'react';
3
+ import { IconType } from 'react-icons';
4
+
5
+ export interface StepperTypeMap<P ={}, D extends React.ElementType = 'div'> {
6
+ props: P & {
7
+ /**
8
+ * Conteudo do Stepper
9
+ */
10
+ children?: React.ReactNode;
11
+ /**
12
+ * Array de passos para o stepper
13
+ */
14
+ steps?: [IconType, string, string?][];
15
+ /**
16
+ * Função chamada ao clicar em algum passo do stepper
17
+ */
18
+ onClick?: (index: number) => (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
19
+ /**
20
+ * Função chamada ao clicar no botão de avançar
21
+ */
22
+ onNext?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
23
+ /**
24
+ * Função chamada ao clicar no botão de voltar
25
+ */
26
+ onPrevious?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
27
+ /**
28
+ * Função chamada ao clicar no botão de finalizar
29
+ */
30
+ onFinish?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
31
+ /**
32
+ * Passo máximo permitido, utilizado para limitar ate onde o usuario pode ir
33
+ */
34
+ maxStep?: number;
35
+ /**
36
+ * Passo atual selecionado
37
+ */
38
+ activeStep?: number;
39
+ /**
40
+ * Array de booleans que mudam o passo para erro
41
+ */
42
+ errors?: boolean[];
43
+ /**
44
+ * Desabilita ações/botões
45
+ */
46
+ disableActions?: boolean;
47
+ /**
48
+ * Orientação do Stepper
49
+ * default: horizontal
50
+ * opções: horizontal ou vertical
51
+ */
52
+ orientation?: string;
53
+ /**
54
+ * Mostra o progresso percorrido
55
+ */
56
+ showProgress?: boolean;
57
+ };
58
+ defaultComponent: D;
59
+ classKey: StepperClassKey;
60
+ }
61
+
62
+ declare const Stepper: OverridableComponent<StepperTypeMap>;
63
+
64
+ export type StepperClassKey = 'root' | 'header' | 'caption' | 'selectedCaption' | 'stepper' | 'icon' | 'mobileDivider'
65
+
66
+ export type StepperProps<D extends React.ElementType = StepperTypeMap['defaultComponent'], P = {}> = OverrideProps<StepperTypeMap<P, D>, D>
67
+
68
+ export default Stepper;
@@ -1 +1,2 @@
1
- export { default } from "./Stepper";
1
+ export { default } from './Stepper';
2
+ export * from './Stepper';
@@ -1,3 +1,8 @@
1
- export default TablePickerWithTheme;
2
- declare function TablePickerWithTheme(props: any): React.JSX.Element;
3
- import React from 'react';
1
+ export interface TablePickerProps {}
2
+ /**
3
+ * @deprecated
4
+ * @param props
5
+ */
6
+ declare function TablePicker(props: TablePickerProps): JSX.Element
7
+
8
+ export default TablePicker;
@@ -1 +1,2 @@
1
- export { default } from "./TablePicker";
1
+ export { default } from './TablePicker';
2
+ export * from './TablePicker';
@@ -1,28 +1,8 @@
1
- export default Tabs;
1
+ export interface TabsProps {}
2
2
  /**
3
3
  * @deprecated
4
+ * @param props
4
5
  */
5
- declare class Tabs extends React.Component<any, any, any> {
6
- constructor(props: any);
7
- constructor(props: any, context: any);
8
- state: {
9
- active: number;
10
- };
11
- render(): React.JSX.Element;
12
- }
13
- declare namespace Tabs {
14
- namespace propTypes {
15
- let tabs: PropTypes.Requireable<any[]>;
16
- let children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
17
- let classContainer: PropTypes.Requireable<string>;
18
- let classContainerIndex: PropTypes.Requireable<any[]>;
19
- let classTabs: PropTypes.Requireable<string>;
20
- let classTabsIndex: PropTypes.Requireable<any[]>;
21
- let classSelected: PropTypes.Requireable<string>;
22
- let classSelectedIndex: PropTypes.Requireable<any[]>;
23
- let classActive: PropTypes.Requireable<string>;
24
- let classActiveIndex: PropTypes.Requireable<any[]>;
25
- }
26
- }
27
- import React from 'react';
28
- import PropTypes from 'prop-types';
6
+ declare function Tabs(props: TabsProps): JSX.Element
7
+
8
+ export default Tabs;
@@ -1 +1,2 @@
1
- export { default } from "./Tabs";
1
+ export { default } from './Tabs';
2
+ export * from './Tabs';
@@ -1,2 +1,8 @@
1
- declare const _default: any;
2
- export default _default;
1
+ export interface TextAreaProps {}
2
+ /**
3
+ * @deprecated
4
+ * @param props
5
+ */
6
+ declare function TextArea(props: TextAreaProps): JSX.Element
7
+
8
+ export default TextArea;
@@ -1 +1,2 @@
1
- export { default } from "./TextArea";
1
+ export { default } from './TextArea';
2
+ export * from './TextArea';
@@ -1,34 +1,38 @@
1
- export const TEXT_TO_HTML_ID: "text-to-html";
2
- export namespace initialStateCharacter {
3
- let key: undefined;
4
- let keyCode: undefined;
5
- let code: undefined;
6
- let string: string;
7
- let dead: boolean;
8
- let shift: boolean;
9
- let mark: never[];
1
+ export interface TextToHtmlInitialValue {
2
+ text?: string,
3
+ cssText?: string
10
4
  }
11
- export namespace initialStateCursor {
12
- let string_1: string;
13
- export { string_1 as string };
5
+
6
+ export interface TextToHtmlProps {
7
+ /**
8
+ * Object containing properties to use as initial value
9
+ */
10
+ initialValue?: TextToHtmlInitialValue,
11
+ /**
12
+ * Function called on change
13
+ * @param htmlString
14
+ * @returns
15
+ */
16
+ onChange?: (htmlString: string) => void,
17
+ /**
18
+ * Function called on delete
19
+ * @param event
20
+ * @param deleted
21
+ * @param newCharacters
22
+ * @returns
23
+ */
24
+ onDelete?: (event: Event, deleted: object, newCharacters: Array<object>) => void,
25
+ /**
26
+ * Number to represent the default spacing in pixels
27
+ */
28
+ defaultSpacing?: number,
29
+ /**
30
+ * Function called to set external values
31
+ */
32
+ setExternalValues?: (state: object) => void
14
33
  }
15
- export namespace textToHtmlInitialValue {
16
- let text: string;
17
- let cssText: string;
18
- let markedPeople: never[];
19
- let characters: never[];
20
- }
21
- declare const _default: React.ForwardRefExoticComponent<{
22
- initialValue?: {
23
- text: string;
24
- cssText: string;
25
- markedPeople: never[];
26
- characters: never[];
27
- } | undefined;
28
- onChange: any;
29
- onDelete: any;
30
- defaultSpacing: any;
31
- setExternalValues: any;
32
- } & React.RefAttributes<any>>;
33
- export default _default;
34
- import React from 'react';
34
+
35
+
36
+ declare function TextToHtml(props: TextToHtmlProps) : JSX.Element
37
+
38
+ export default TextToHtml;
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
2
+ <svg width="800px" height="800px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22.354 9.354l-.707-.707-13 13 .707.707zm0 7l-.707-.707-6 6 .707.707z"/><path fill="none" d="M0 0h24v24H0z"/></svg>
@@ -1 +1,2 @@
1
- export { default } from "./TextToHtml";
1
+ export { default } from './TextToHtml';
2
+ export * from './TextToHtml';
@@ -0,0 +1,40 @@
1
+ .text-to-html-container {
2
+ width: 100%;
3
+ }
4
+
5
+ .text-to-html-text-container {
6
+ position: absolute;
7
+ width: 100%;
8
+ height: 100%;
9
+ overflow: hidden;
10
+ }
11
+
12
+ .text-to-html {
13
+ touch-action: none;
14
+ position: absolute;
15
+ top: 45%;
16
+ left: 13%;
17
+ width: 80%;
18
+ display: flex;
19
+ flex-wrap: wrap;
20
+ align-items: center;
21
+ justify-content: center;
22
+ outline: 0;
23
+ cursor: pointer;
24
+ color: inherit;
25
+ }
26
+
27
+ .text-to-html > p {
28
+ margin: 0;
29
+ }
30
+
31
+ .text-to-html::-webkit-resizer {
32
+ background-color: #fff;
33
+ background-image: url('./icons/resize_area.svg');
34
+ background-repeat: no-repeat;
35
+ background-size: cover;
36
+ }
37
+
38
+ .text-to-html-cursor {
39
+ opacity: 0;
40
+ }
@@ -1,39 +1,8 @@
1
- export default ThreadLog;
1
+ export interface ThreadLogProps {}
2
2
  /**
3
3
  * @deprecated
4
+ * @param props
4
5
  */
5
- declare class ThreadLog extends React.Component<any, any, any> {
6
- constructor(props: any);
7
- constructor(props: any, context: any);
8
- state: {
9
- mouseOver: boolean;
10
- open: boolean;
11
- loading: boolean;
12
- selectPanelClicks: number;
13
- infoProcesso: {
14
- open: boolean;
15
- info: {};
16
- confs: {};
17
- current: {};
18
- };
19
- };
20
- componentWillUnmount(): void;
21
- mouseOver: (boolean: any) => void;
22
- openDetails: () => void;
23
- visualizaProcesso: (processo: any) => void;
24
- buscaInfoProcesso: (idProcesso: any) => void;
25
- timeoutInfoProcesso: NodeJS.Timeout | undefined;
26
- closeInfoProcesso: () => void;
27
- closePanel: () => void;
28
- render(): React.JSX.Element;
29
- }
30
- declare namespace ThreadLog {
31
- namespace propTypes {
32
- let thread: PropTypes.Requireable<object>;
33
- let currentProgram: PropTypes.Requireable<string>;
34
- let qt: PropTypes.Requireable<number>;
35
- let nrPg: PropTypes.Requireable<number>;
36
- }
37
- }
38
- import React from 'react';
39
- import PropTypes from 'prop-types';
6
+ declare function ThreadLog(props: ThreadLogProps): JSX.Element
7
+
8
+ export default ThreadLog;
@@ -1 +1,2 @@
1
- export { default } from "./ThreadLog";
1
+ export { default } from './ThreadLog';
2
+ export * from './ThreadLog';