synos-helena 24.0.1 → 24.1.0-samuel.0

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 (116) hide show
  1. package/lib/dark.css.gz +0 -0
  2. package/lib/dark.css.map.gz +0 -0
  3. package/lib/dark.js +1 -1
  4. package/lib/dark.js.gz +0 -0
  5. package/lib/dark.js.map +1 -1
  6. package/lib/dark.js.map.gz +0 -0
  7. package/lib/helena.css.gz +0 -0
  8. package/lib/helena.css.map.gz +0 -0
  9. package/lib/helena.js +1 -1
  10. package/lib/helena.js.gz +0 -0
  11. package/lib/helena.js.map +1 -1
  12. package/lib/helena.js.map.gz +0 -0
  13. package/lib/icons/exception.svg.gz +0 -0
  14. package/lib/icons/export.svg.gz +0 -0
  15. package/lib/icons/field-time.svg.gz +0 -0
  16. package/lib/icons/file-calculator.svg.gz +0 -0
  17. package/lib/icons/hand-service.svg.gz +0 -0
  18. package/lib/icons/import.svg.gz +0 -0
  19. package/lib/icons/package.svg.gz +0 -0
  20. package/lib/icons/process-config.svg.gz +0 -0
  21. package/lib/icons/transmission.svg.gz +0 -0
  22. package/lib/images/empty-notification.svg.gz +0 -0
  23. package/lib/images/micro-download.svg.gz +0 -0
  24. package/lib/images/micro-gerproc.svg.gz +0 -0
  25. package/lib/images/micro-insight.svg.gz +0 -0
  26. package/lib/images/synchro-logo.svg.gz +0 -0
  27. package/lib/index.css.gz +0 -0
  28. package/lib/index.css.map +1 -1
  29. package/lib/index.css.map.gz +0 -0
  30. package/lib/index.js +1 -1
  31. package/lib/index.js.LICENSE.txt +18 -6
  32. package/lib/index.js.LICENSE.txt.gz +0 -0
  33. package/lib/index.js.gz +0 -0
  34. package/lib/index.js.map +1 -1
  35. package/lib/index.js.map.gz +0 -0
  36. package/lib/light.css.gz +0 -0
  37. package/lib/light.css.map.gz +0 -0
  38. package/lib/light.js +1 -1
  39. package/lib/light.js.gz +0 -0
  40. package/lib/light.js.map +1 -1
  41. package/lib/light.js.map.gz +0 -0
  42. package/lib/themes/colors/ant-yellows.less.gz +0 -0
  43. package/lib/themes/colors/blues.less.gz +0 -0
  44. package/lib/themes/colors/gray.less.gz +0 -0
  45. package/lib/themes/colors/pinks.less.gz +0 -0
  46. package/lib/themes/colors/reds.less.gz +0 -0
  47. package/lib/themes/dark.less.gz +0 -0
  48. package/lib/themes/default.less.gz +0 -0
  49. package/lib/themes/general_custom.less.gz +0 -0
  50. package/lib/themes/light.less.gz +0 -0
  51. package/package.json +8 -9
  52. package/lib/src/HLAlert/HLAlert.d.ts +0 -4
  53. package/lib/src/HLArticle/HLArticle.d.ts +0 -4
  54. package/lib/src/HLBadge/HLBadge.d.ts +0 -4
  55. package/lib/src/HLButton/HLButton.d.ts +0 -4
  56. package/lib/src/HLCard/HLCard.d.ts +0 -7
  57. package/lib/src/HLCheckbox/HLCheckbox.d.ts +0 -5
  58. package/lib/src/HLCode/HLCode.d.ts +0 -4
  59. package/lib/src/HLCollapse/HLCollapse.d.ts +0 -7
  60. package/lib/src/HLCollapse/Panel/Panel.d.ts +0 -4
  61. package/lib/src/HLCollapseInfoPanel/HLCollapseInfoPanel.d.ts +0 -4
  62. package/lib/src/HLContext/HLContext.d.ts +0 -4
  63. package/lib/src/HLCpfCnpj/HLCpfCnpj.d.ts +0 -4
  64. package/lib/src/HLDatePicker/DatePicker.d.ts +0 -8
  65. package/lib/src/HLDatePicker/HLDatePicker.d.ts +0 -6
  66. package/lib/src/HLDatePicker/MonthPicker/MonthPicker.d.ts +0 -6
  67. package/lib/src/HLDatePicker/RangePicker/RangePicker.d.ts +0 -6
  68. package/lib/src/HLDatePicker/utils.d.ts +0 -5
  69. package/lib/src/HLDeferredRender/HLDeferredRender.d.ts +0 -4
  70. package/lib/src/HLDescriptions/HLDescriptions.d.ts +0 -4
  71. package/lib/src/HLDiffViewer/HLDiffViewer.d.ts +0 -4
  72. package/lib/src/HLDivider/HLDivider.d.ts +0 -4
  73. package/lib/src/HLDrawer/HLDrawer.d.ts +0 -4
  74. package/lib/src/HLDropdown/HLDropdown.d.ts +0 -4
  75. package/lib/src/HLDropdownButton/HLDropdownButton.d.ts +0 -4
  76. package/lib/src/HLEditTable/HLEditTable.d.ts +0 -4
  77. package/lib/src/HLEnvironmentText/HLEnvironmentText.d.ts +0 -6
  78. package/lib/src/HLEnvironmentText/HLEnvironmentTypes.d.ts +0 -13
  79. package/lib/src/HLErrorBoundary/HLErrorBoundary.d.ts +0 -13
  80. package/lib/src/HLException/Error/Error.d.ts +0 -4
  81. package/lib/src/HLException/HLException.d.ts +0 -5
  82. package/lib/src/HLException/Page500/Page500.d.ts +0 -4
  83. package/lib/src/HLException/PageError/PageError.d.ts +0 -4
  84. package/lib/src/HLForm/HLForm.d.ts +0 -7
  85. package/lib/src/HLFromTo/HLFromTo.d.ts +0 -6
  86. package/lib/src/HLHeader/HLHeader.d.ts +0 -6
  87. package/lib/src/HLHeaderButton/HLHeaderButton.d.ts +0 -4
  88. package/lib/src/HLHeaderSearch/HLHeaderSearch.d.ts +0 -4
  89. package/lib/src/HLHelpContext/HLHelpContext.d.ts +0 -8
  90. package/lib/src/HLInput/HLInput.d.ts +0 -5
  91. package/lib/src/HLInput/Password/Password.d.ts +0 -5
  92. package/lib/src/HLInputMonetary/HLInputMonetary.d.ts +0 -5
  93. package/lib/src/HLInputMonetaryFormatOnBlur/HLInputMonetaryFormatOnBlur.d.ts +0 -5
  94. package/lib/src/HLMain/HLMain.d.ts +0 -4
  95. package/lib/src/HLMarkdown/HLMarkdown.d.ts +0 -4
  96. package/lib/src/HLModulesMenu/HLModulesMenu.d.ts +0 -4
  97. package/lib/src/HLNotification/HLNotification.d.ts +0 -6
  98. package/lib/src/HLNotification/notificationList/NotificationList.d.ts +0 -6
  99. package/lib/src/HLPageHeader/HLPageHeader.d.ts +0 -4
  100. package/lib/src/HLPopover/HLPopover.d.ts +0 -4
  101. package/lib/src/HLPowerSearch/lib/SelectStoreInterface.d.ts +0 -11
  102. package/lib/src/HLProgress/HLProgress.d.ts +0 -4
  103. package/lib/src/HLRadio/HLRadio.d.ts +0 -5
  104. package/lib/src/HLSelect/HLSelect.d.ts +0 -5
  105. package/lib/src/HLSideMenu/HLSideMenu.d.ts +0 -4
  106. package/lib/src/HLSpin/HLSpin.d.ts +0 -4
  107. package/lib/src/HLSwitch/HLSwitch.d.ts +0 -4
  108. package/lib/src/HLTable/HLTable.d.ts +0 -75
  109. package/lib/src/HLTextArea/HLTextArea.d.ts +0 -5
  110. package/lib/src/HLTooltip/HLTootip.d.ts +0 -4
  111. package/lib/src/HLTotalizer/HLTotalizer.d.ts +0 -4
  112. package/lib/src/HLUserBox/HLUserBox.d.ts +0 -4
  113. package/lib/src/index.d.ts +0 -75
  114. package/lib/src/util/CustomHooks.d.ts +0 -2
  115. package/lib/src/util/Permissions.d.ts +0 -19
  116. package/lib/src/util/constants.d.ts +0 -15
Binary file
package/lib/light.css.gz CHANGED
Binary file
Binary file
package/lib/light.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["synchro-helena"]=o():e["synchro-helena"]=o()}(self,(function(){return(()=>{"use strict";var e={r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},o={};return e.r(o),o})()}));
1
+ !function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["synchro-helena"]=o():e["synchro-helena"]=o()}(self,(()=>(()=>{"use strict";var e={r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},o={};return e.r(o),o})()));
2
2
  //# sourceMappingURL=light.js.map
package/lib/light.js.gz CHANGED
Binary file
package/lib/light.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"light.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAQ,kBAAoBD,IAE5BD,EAAK,kBAAoBC,IAR3B,CASGK,MAAM,WACT,M,mBCTA,IAAIC,EAAsB,CCA1BA,EAAyBL,IACH,oBAAXM,QAA0BA,OAAOC,aAC1CC,OAAOC,eAAeT,EAASM,OAAOC,YAAa,CAAEG,MAAO,WAE7DF,OAAOC,eAAeT,EAAS,aAAc,CAAEU,OAAO,M","sources":["webpack://synchro-helena/webpack/universalModuleDefinition","webpack://synchro-helena/webpack/bootstrap","webpack://synchro-helena/webpack/runtime/make namespace object"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"synchro-helena\"] = factory();\n\telse\n\t\troot[\"synchro-helena\"] = factory();\n})(self, function() {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["root","factory","exports","module","define","amd","self","__webpack_require__","Symbol","toStringTag","Object","defineProperty","value"],"sourceRoot":""}
1
+ {"version":3,"file":"light.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAQ,kBAAoBD,IAE5BD,EAAK,kBAAoBC,GAC1B,CATD,CASGK,MAAM,I,mBCRT,IAAIC,EAAsB,CCA1BA,EAAyBL,IACH,oBAAXM,QAA0BA,OAAOC,aAC1CC,OAAOC,eAAeT,EAASM,OAAOC,YAAa,CAAEG,MAAO,WAE7DF,OAAOC,eAAeT,EAAS,aAAc,CAAEU,OAAO,GAAO,G","sources":["webpack://synchro-helena/webpack/universalModuleDefinition","webpack://synchro-helena/webpack/bootstrap","webpack://synchro-helena/webpack/runtime/make namespace object"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"synchro-helena\"] = factory();\n\telse\n\t\troot[\"synchro-helena\"] = factory();\n})(self, () => {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["root","factory","exports","module","define","amd","self","__webpack_require__","Symbol","toStringTag","Object","defineProperty","value"],"sourceRoot":""}
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synos-helena",
3
- "version": "24.0.1",
3
+ "version": "24.1.0-samuel.0",
4
4
  "description": "A set of components of the helena project",
5
5
  "main": "lib/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -38,8 +38,8 @@
38
38
  }
39
39
  },
40
40
  "peerDependencies": {
41
- "react": "^16.0.0",
42
- "react-dom": "^16.0.0"
41
+ "react": "^18.3.1",
42
+ "react-dom": "^18.3.1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@babel/core": "^7.8.6",
@@ -70,7 +70,7 @@
70
70
  "babel-loader": "^8.0.0",
71
71
  "babel-plugin-root-import": "^6.1.0",
72
72
  "compression-webpack-plugin": "^6.1.1",
73
- "copy-webpack-plugin": "^6.3.2",
73
+ "copy-webpack-plugin": "^12.0.2",
74
74
  "css-loader": "^5.0.1",
75
75
  "cz-customizable": "^6.3.0",
76
76
  "dts-bundle-webpack": "^1.0.2",
@@ -82,11 +82,11 @@
82
82
  "eslint-plugin-react": "^7.20.3",
83
83
  "eslint-plugin-react-hooks": "^4.0.4",
84
84
  "file-loader": "^6.2.0",
85
- "html-webpack-plugin": "^4.5.0",
85
+ "html-webpack-plugin": "^5.6.0",
86
86
  "less": "^3.12.2",
87
87
  "less-loader": "^7.1.0",
88
88
  "less-vars-to-js": "^1.3.0",
89
- "mini-css-extract-plugin": "^1.3.1",
89
+ "mini-css-extract-plugin": "^2.9.0",
90
90
  "prettier": "^2.2.1",
91
91
  "prettier-eslint": "^11.0.0",
92
92
  "prettier-eslint-cli": "^5.0.0",
@@ -94,12 +94,11 @@
94
94
  "react-dom": "^17.0.1",
95
95
  "standard-version": "^9.3.0",
96
96
  "style-loader": "^2.0.0",
97
- "terser-webpack-plugin": "^5.0.3",
97
+ "terser-webpack-plugin": "^5.3.10",
98
98
  "themes-switch": "^1.0.8",
99
99
  "ts-loader": "^8.0.11",
100
100
  "url-loader": "^4.1.1",
101
- "webpack": "^5.7.0",
102
- "webpack-clean-obsolete-chunks": "^0.4.0",
101
+ "webpack": "^5.93.0",
103
102
  "webpack-cli": "^4.2.0"
104
103
  },
105
104
  "dependencies": {
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLAlertPropTypes } from './index';
3
- declare const HLAlert: React.FC<HLAlertPropTypes>;
4
- export default HLAlert;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLArticlePropTypes } from './index';
3
- declare const HLArticle: React.FC<HLArticlePropTypes>;
4
- export default HLArticle;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLBadgePropsPropTypes } from './index';
3
- declare const HLBadge: React.FC<HLBadgePropsPropTypes>;
4
- export default HLBadge;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLButtonPropTypes } from './index';
3
- declare const HLButton: React.FC<HLButtonPropTypes>;
4
- export default HLButton;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { Card } from 'antd';
3
- import { HLCardPropTypes } from './index';
4
- declare const HLCard: React.FC<HLCardPropTypes> & {
5
- Meta: typeof Card.Meta;
6
- };
7
- export default HLCard;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import '@ant-design/compatible/assets/index.css';
3
- import { HLCheckboxPropTypes } from './index';
4
- declare const HLCheckbox: React.FC<HLCheckboxPropTypes>;
5
- export default HLCheckbox;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLCodePropTypes } from './index';
3
- declare const HLCode: React.FC<HLCodePropTypes>;
4
- export default HLCode;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import Panel from './Panel/Panel';
3
- import { HLCollapsePropTypes } from './index';
4
- declare const HLCollapse: React.FC<HLCollapsePropTypes> & {
5
- Panel: typeof Panel;
6
- };
7
- export default HLCollapse;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PanelPropTypes } from './index';
3
- declare const Panel: React.FC<PanelPropTypes>;
4
- export default Panel;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLCollapseInfoPanelPropTypes } from './index';
3
- declare const HLCollapseInfoPanel: React.FC<HLCollapseInfoPanelPropTypes>;
4
- export default HLCollapseInfoPanel;
@@ -1,4 +0,0 @@
1
- import '@ant-design/compatible/assets/index.css';
2
- import 'moment/locale/pt-br';
3
- declare const _default: any;
4
- export default _default;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLCpfCnpjPropTypes } from './index';
3
- declare const HLCpfCnpj: React.FC<HLCpfCnpjPropTypes>;
4
- export default HLCpfCnpj;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import '@ant-design/compatible/assets/index.css';
3
- import 'antd/es/date-picker/style/index';
4
- import { DatePickerProps } from './index';
5
- import { RangeDatePickerProps } from './RangePicker/index';
6
- export declare const DatePicker: React.FC<DatePickerProps>;
7
- export declare const MonthPicker: React.FC<DatePickerProps>;
8
- export declare const RangePicker: React.FC<RangeDatePickerProps>;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import '@ant-design/compatible/assets/index.css';
3
- import { HLDatePickerChildren, HLDatePickerPropTypes } from './index';
4
- import 'moment/locale/pt-br';
5
- declare const HLDatePicker: React.FC<HLDatePickerPropTypes> & HLDatePickerChildren;
6
- export default HLDatePicker;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import '@ant-design/compatible/assets/index.css';
3
- import { HLMonthPickerProps } from './index';
4
- import 'moment/locale/pt-br';
5
- declare const MonthPicker: React.FC<HLMonthPickerProps>;
6
- export default MonthPicker;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import '@ant-design/compatible/assets/index.css';
3
- import { HLRangePickerProps } from './index';
4
- import 'moment/locale/pt-br';
5
- declare const RangePicker: React.FC<HLRangePickerProps>;
6
- export default RangePicker;
@@ -1,5 +0,0 @@
1
- import moment, { Moment } from 'moment';
2
- import dayjs, { Dayjs } from 'dayjs';
3
- export declare const getData: (date: Moment | Dayjs | string | number | undefined, format: string | undefined, useDayjs?: boolean) => Moment | Dayjs | undefined | null;
4
- export declare const toGMTFormat: (miliseconds: any, useDayjs?: boolean) => dayjs.Dayjs | moment.Moment;
5
- export declare const toGMTTime: (miliseconds: any) => number;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLDeferredRenderPropTypes } from '.';
3
- declare const DeferredRender: React.FC<HLDeferredRenderPropTypes>;
4
- export default DeferredRender;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLDescriptionsPropTypes, HLDescriptionsChildren } from './index';
3
- declare const HLDescriptions: React.FC<HLDescriptionsPropTypes> & HLDescriptionsChildren;
4
- export default HLDescriptions;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLDiffViewerPropTypes } from './index';
3
- declare const HLDiffViewer: React.FC<HLDiffViewerPropTypes>;
4
- export default HLDiffViewer;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLDividerPropTypes } from './index';
3
- declare const HLDivider: React.FC<HLDividerPropTypes>;
4
- export default HLDivider;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLDrawerPropTypes } from './index';
3
- declare const HLDrawer: React.FC<HLDrawerPropTypes>;
4
- export default HLDrawer;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLDropdownPropTypes } from './index';
3
- declare const HLDropdown: React.FC<HLDropdownPropTypes>;
4
- export default HLDropdown;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLDropdownButtonPropTypes } from './index';
3
- declare const HLDropdownButton: React.FC<HLDropdownButtonPropTypes>;
4
- export default HLDropdownButton;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLEditTablePropTypes } from './index';
3
- declare const HLEditTable: React.FC<HLEditTablePropTypes>;
4
- export default HLEditTable;
@@ -1,6 +0,0 @@
1
- import { HLEnvironmentTextPropTypes } from '.';
2
- declare const HLEnvironmentText: {
3
- (props: HLEnvironmentTextPropTypes): JSX.Element;
4
- displayName: string;
5
- };
6
- export default HLEnvironmentText;
@@ -1,13 +0,0 @@
1
- declare type EnvironmentsType = 'DEV' | 'QA' | 'UAT' | 'PROD';
2
- declare type LocationsType = 'header' | 'footer';
3
- declare enum LocationsEnum {
4
- Header = "header",
5
- Footer = "footer"
6
- }
7
- declare enum EnvironmentsEnum {
8
- DEV = "Desenvolvimento",
9
- QA = "Qualidade",
10
- UAT = "Homologa\u00E7\u00E3o",
11
- PROD = "Produ\u00E7\u00E3o"
12
- }
13
- export { EnvironmentsType, LocationsType, EnvironmentsEnum, LocationsEnum };
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { HLErrorBoundaryPropTypes, HLErrorBoundaryStateType } from './index';
3
- declare class HLErrorBoundary extends React.Component<HLErrorBoundaryPropTypes, HLErrorBoundaryStateType> {
4
- constructor(props: any);
5
- static getDerivedStateFromError(error: any): {
6
- errorCatch: boolean;
7
- };
8
- pageRefresh: () => void;
9
- getErrorContent(serviceDescription: any): JSX.Element;
10
- componentDidCatch(): void;
11
- render(): JSX.Element;
12
- }
13
- export default HLErrorBoundary;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { ErrorPropTypes } from '.';
3
- declare const Error: React.FC<ErrorPropTypes>;
4
- export default Error;
@@ -1,5 +0,0 @@
1
- declare const HLException: {
2
- Page500: import("react").FC<import("./Page500").Page500PropTypes>;
3
- PageError: import("react").FC<import("./PageError").PageErrorPropTypes>;
4
- };
5
- export default HLException;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { Page500PropTypes } from './index';
3
- declare const Page500: React.FC<Page500PropTypes>;
4
- export default Page500;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PageErrorPropTypes } from '.';
3
- declare const PageError: React.FC<PageErrorPropTypes>;
4
- export default PageError;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { Form } from 'antd';
3
- import { HLFormPropTypes } from '.';
4
- declare const HLForm: React.FC<HLFormPropTypes> & {
5
- Item: typeof Form.Item;
6
- };
7
- export default HLForm;
@@ -1,6 +0,0 @@
1
- import { HLFromToProps } from './index';
2
- declare const HLFromTo: {
3
- <L, R, T>(props: HLFromToProps<L, R, T>): JSX.Element;
4
- displayName: string;
5
- };
6
- export default HLFromTo;
@@ -1,6 +0,0 @@
1
- import { HLHeaderPropTypes } from './index';
2
- declare const HLHeader: {
3
- (props: HLHeaderPropTypes): JSX.Element;
4
- displayName: string;
5
- };
6
- export default HLHeader;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLHeaderButtonPropTypes } from './index';
3
- declare const HLHeaderButton: React.FC<HLHeaderButtonPropTypes>;
4
- export default HLHeaderButton;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLHeaderSearchPropTypes } from './index';
3
- declare const HLHeaderSearch: React.FC<HLHeaderSearchPropTypes>;
4
- export default HLHeaderSearch;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { HLHelpContextProps, HLHelpContextState } from '.';
3
- declare class HLHelpContext extends React.Component<HLHelpContextProps, HLHelpContextState> {
4
- constructor(props: HLHelpContextProps);
5
- _onCancel: () => void;
6
- render(): JSX.Element;
7
- }
8
- export default HLHelpContext;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import '@ant-design/compatible/assets/index.css';
3
- import { HLInputChildren, HLInputPropTypes } from './index';
4
- declare const HLInput: React.FC<HLInputPropTypes> & HLInputChildren;
5
- export default HLInput;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import '@ant-design/compatible/assets/index.css';
3
- import { PasswordPropTypes } from './index';
4
- declare const Password: React.FC<PasswordPropTypes>;
5
- export default Password;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import '@ant-design/compatible/assets/index.css';
3
- import { HLInputMonetaryPropTypes } from './index';
4
- declare const HLInputMonetary: React.FC<HLInputMonetaryPropTypes>;
5
- export default HLInputMonetary;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import '@ant-design/compatible/assets/index.css';
3
- import { HLInputMonetaryPropTypes } from './index';
4
- declare const HLInputMonetaryFormatOnBlur: React.FC<HLInputMonetaryPropTypes>;
5
- export default HLInputMonetaryFormatOnBlur;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLMainPropTypes } from './index';
3
- declare const HLMain: React.FC<HLMainPropTypes>;
4
- export default HLMain;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLMarkdownPropTypes } from '.';
3
- declare const HLMarkdown: React.FC<HLMarkdownPropTypes>;
4
- export default HLMarkdown;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLModulesMenuPropTypes } from './index';
3
- declare const HLModulesMenu: React.FC<HLModulesMenuPropTypes>;
4
- export default HLModulesMenu;
@@ -1,6 +0,0 @@
1
- import { HLNotificationPropTypes } from './index';
2
- declare const HLNotification: {
3
- (props: HLNotificationPropTypes): JSX.Element;
4
- displayName: string;
5
- };
6
- export default HLNotification;
@@ -1,6 +0,0 @@
1
- import { NotificationListPropTypes } from './index';
2
- declare const NotificationList: {
3
- (props: NotificationListPropTypes): JSX.Element;
4
- displayName: string;
5
- };
6
- export default NotificationList;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLPageHeaderPropTypes } from './index';
3
- declare const HLPageHeader: React.FC<HLPageHeaderPropTypes>;
4
- export default HLPageHeader;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLPopoverPropTypes } from './index';
3
- declare const HLPopover: React.FC<HLPopoverPropTypes>;
4
- export default HLPopover;
@@ -1,11 +0,0 @@
1
- import { SelectStorePropTypes } from '..';
2
- declare class SelectStoreInterface implements SelectStorePropTypes {
3
- lista: never[];
4
- loading: boolean;
5
- query: string;
6
- loadAllValues: boolean;
7
- constructor();
8
- initialize(): void;
9
- _onPowerSearch(query: string, key: string, label: any): void;
10
- }
11
- export default SelectStoreInterface;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLProgressPropTypes } from './index';
3
- declare const HLProgress: React.FC<HLProgressPropTypes>;
4
- export default HLProgress;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import '@ant-design/compatible/assets/index.css';
3
- import { HLRadioPropTypes } from './index';
4
- declare const HLRadio: React.FC<HLRadioPropTypes>;
5
- export default HLRadio;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import '@ant-design/compatible/assets/index.css';
3
- import { HLSelectPropTypes } from './index';
4
- declare const HLSelect: React.FC<HLSelectPropTypes>;
5
- export default HLSelect;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLSideMenuPropTypes } from './index';
3
- declare const HLSideMenu: React.FC<HLSideMenuPropTypes>;
4
- export default HLSideMenu;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLSpinPropTypes } from './index';
3
- declare const HLSpin: React.FC<HLSpinPropTypes>;
4
- export default HLSpin;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { SwitchProps } from 'antd/lib/switch';
3
- declare const HLSwitch: React.FC<SwitchProps>;
4
- export default HLSwitch;
@@ -1,75 +0,0 @@
1
- import React, { ReactElement } from 'react';
2
- import { Table, Input } from 'antd';
3
- import { IColumnsType, IProps, IState, PaginationProps } from './index';
4
- import { FilterValue, SorterResult, TableCurrentDataSource } from 'antd/lib/table/interface';
5
- import { CheckboxChangeEvent } from 'antd/lib/checkbox';
6
- declare class HLTable extends React.Component<IProps, IState> {
7
- static displayName: string;
8
- static defaultProps: {
9
- enableSelectVisualization: boolean;
10
- size: string;
11
- enableDownload: boolean;
12
- showSorterTooltip: boolean;
13
- autosaveOptions: boolean;
14
- hideActionBar: boolean;
15
- moveColumn: boolean;
16
- infoModal: {
17
- tooltip: undefined;
18
- title: undefined;
19
- text: undefined;
20
- };
21
- renderWithEllipsisAndWhiteSpace: boolean;
22
- };
23
- searchText: Record<string, string>;
24
- searchInput?: Input | null;
25
- static Summary: typeof Table.Summary;
26
- constructor(props: IProps);
27
- UNSAFE_componentWillReceiveProps(nextProps: IProps): void;
28
- componentDidMount(): void;
29
- _getFromLocalStorage(context: string): Record<string, IColumnsType[]> | string;
30
- _putOnLocalStorage(context: string, value: Record<string, unknown[]>): void;
31
- handleVisibleChange(value: boolean): void;
32
- handleCheckBoxAllChange(e: CheckboxChangeEvent): void;
33
- handleCheckBoxChange(e: CheckboxChangeEvent): void;
34
- contarColunasFixasAntesDaColuna(colunas: any, indice: any): number;
35
- /**
36
- * move a coluna para o primeiro id, caso exista colunas fixadas, ele move para o próximo ID disponível.
37
- *
38
- * @param column coluna a ser movida
39
- *
40
- */
41
- moveColunaParaPrimeira: (column: any) => void;
42
- /**
43
- * Função criada para mover a coluna para o próximo ID, caso seja permitido, quando é uma coluna com fixed, ele não move.
44
- *
45
- * @param column Coluna a ser movida
46
- *
47
- */
48
- moveColunaProximoIndex: (column: any) => void;
49
- /**
50
- * Função criada para mover a coluna para o ID anterior, caso seja permitido, quando é uma coluna com fixed, ele não move.
51
- *
52
- * @param column coluna a ser movida
53
- * @returns return caso seja uma coluna fixed
54
- */
55
- moveColunaIndexAnterior: (column: any) => void;
56
- /**
57
- * Filtra os novos valores de coluna baseadas nas colunas visíveis, definidas pela funcionalidade de
58
- * visualização de colunas, onde é possível editar as colunas a serem visualizadas na tabela.
59
- *
60
- * @param {IColumnsType[]} colunas a serem filtradas.
61
- * @returns {IColumnsType[]} as colunas filtradas, baseada nas colunas visíveis.
62
- */
63
- _getNewVisibleColumns(columns: IColumnsType[]): IColumnsType[];
64
- /**
65
- * Retorna as colunas associadas à tabela formatadas, caso necessário, com valores default.
66
- *
67
- * @returns a columns formatada.
68
- */
69
- getColumns(): IColumnsType[];
70
- _itemRenderPagination(current: number, type: string, originalElement: ReactElement): ReactElement;
71
- _onChange(pagination: PaginationProps, filters: Record<string, FilterValue | null>, sorter: SorterResult<any> | SorterResult<any>[], extra: TableCurrentDataSource<any>): void;
72
- _filterColumns(e: any): void;
73
- render(): ReactElement;
74
- }
75
- export default HLTable;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import '@ant-design/compatible/assets/index.css';
3
- import { HLTextAreaProptypes } from './index';
4
- declare const HLTextArea: React.FC<HLTextAreaProptypes>;
5
- export default HLTextArea;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { TooltipProps } from 'antd/lib/tooltip';
3
- declare const HLTooltip: React.FC<TooltipProps>;
4
- export default HLTooltip;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLTotalizerPropTypes } from './index';
3
- declare const HLTotalizer: React.FC<HLTotalizerPropTypes>;
4
- export default HLTotalizer;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { HLUserBoxPropTypes } from './index';
3
- declare const HLUserBox: React.FC<HLUserBoxPropTypes>;
4
- export default HLUserBox;