synos-helena 21.14.8 → 22.0.2-3.beta

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 (124) hide show
  1. package/lib/dark.css +0 -2
  2. package/lib/dark.js +61 -2
  3. package/lib/helena.css +0 -2
  4. package/lib/helena.js +61 -2
  5. package/lib/index.css +0 -2
  6. package/lib/index.js +34826 -3
  7. package/lib/light.css +0 -2
  8. package/lib/light.js +61 -2
  9. package/lib/src/HLAlert/HLAlert.d.ts +4 -0
  10. package/lib/src/HLArticle/HLArticle.d.ts +4 -0
  11. package/lib/src/HLBadge/HLBadge.d.ts +4 -0
  12. package/lib/src/HLButton/HLButton.d.ts +4 -0
  13. package/lib/src/HLCard/HLCard.d.ts +7 -0
  14. package/lib/src/HLCheckbox/HLCheckbox.d.ts +5 -0
  15. package/lib/src/HLCode/HLCode.d.ts +4 -0
  16. package/lib/src/HLCollapse/HLCollapse.d.ts +7 -0
  17. package/lib/src/HLCollapse/Panel/Panel.d.ts +4 -0
  18. package/lib/src/HLCollapseInfoPanel/HLCollapseInfoPanel.d.ts +4 -0
  19. package/lib/src/HLContext/HLContext.d.ts +3 -0
  20. package/lib/src/HLCpfCnpj/HLCpfCnpj.d.ts +4 -0
  21. package/lib/src/HLDatePicker/DatePicker.d.ts +8 -0
  22. package/lib/src/HLDatePicker/HLDatePicker.d.ts +6 -0
  23. package/lib/src/HLDatePicker/MonthPicker/MonthPicker.d.ts +6 -0
  24. package/lib/src/HLDatePicker/RangePicker/RangePicker.d.ts +6 -0
  25. package/lib/src/HLDatePicker/utils.d.ts +5 -0
  26. package/lib/src/HLDeferredRender/HLDeferredRender.d.ts +4 -0
  27. package/lib/src/HLDescriptions/HLDescriptions.d.ts +4 -0
  28. package/lib/src/HLDiffViewer/HLDiffViewer.d.ts +4 -0
  29. package/lib/src/HLDivider/HLDivider.d.ts +4 -0
  30. package/lib/src/HLDrawer/HLDrawer.d.ts +4 -0
  31. package/lib/src/HLDropdown/HLDropdown.d.ts +4 -0
  32. package/lib/src/HLDropdownButton/HLDropdownButton.d.ts +4 -0
  33. package/lib/src/HLEditTable/HLEditTable.d.ts +4 -0
  34. package/lib/src/HLErrorBoundary/HLErrorBoundary.d.ts +13 -0
  35. package/lib/src/HLException/Error/Error.d.ts +4 -0
  36. package/lib/src/HLException/HLException.d.ts +6 -0
  37. package/lib/src/HLException/Page500/Page500.d.ts +4 -0
  38. package/lib/src/HLForm/HLForm.d.ts +7 -0
  39. package/lib/src/HLFromTo/HLFromTo.d.ts +7 -0
  40. package/lib/src/HLHeader/HLHeader.d.ts +7 -0
  41. package/lib/src/HLHeaderButton/HLHeaderButton.d.ts +4 -0
  42. package/lib/src/HLHeaderSearch/HLHeaderSearch.d.ts +4 -0
  43. package/lib/src/HLInput/HLInput.d.ts +5 -0
  44. package/lib/src/HLInput/Password/Password.d.ts +5 -0
  45. package/lib/src/HLInputMonetary/HLInputMonetary.d.ts +5 -0
  46. package/lib/src/HLMain/HLMain.d.ts +4 -0
  47. package/lib/src/HLMarkdown/HLMarkdown.d.ts +4 -0
  48. package/lib/src/HLModulesMenu/HLModulesMenu.d.ts +4 -0
  49. package/lib/src/HLNotification/HLNotification.d.ts +7 -0
  50. package/lib/src/HLNotification/notificationList/NotificationList.d.ts +7 -0
  51. package/lib/src/HLPageHeader/HLPageHeader.d.ts +4 -0
  52. package/lib/src/HLPopover/HLPopover.d.ts +4 -0
  53. package/lib/src/HLPowerSearch/lib/SelectStoreInterface.d.ts +11 -0
  54. package/lib/src/HLProgress/HLProgress.d.ts +4 -0
  55. package/lib/src/HLRadio/HLRadio.d.ts +5 -0
  56. package/lib/src/HLSelect/HLSelect.d.ts +5 -0
  57. package/lib/src/HLSideMenu/HLSideMenu.d.ts +4 -0
  58. package/lib/src/HLSpin/HLSpin.d.ts +4 -0
  59. package/lib/src/HLSwitch/HLSwitch.d.ts +4 -0
  60. package/lib/src/HLTable/HLTable.d.ts +65 -0
  61. package/lib/src/HLTextArea/HLTextArea.d.ts +5 -0
  62. package/lib/src/HLTooltip/HLTootip.d.ts +4 -0
  63. package/lib/src/HLTotalizer/HLTotalizer.d.ts +4 -0
  64. package/lib/src/HLUserBox/HLUserBox.d.ts +4 -0
  65. package/lib/src/index.d.ts +72 -0
  66. package/lib/src/util/CustomHooks.d.ts +2 -0
  67. package/lib/src/util/Permissions.d.ts +19 -0
  68. package/lib/src/util/constants.d.ts +15 -0
  69. package/package.json +7 -4
  70. package/CHANGELOG.md +0 -831
  71. package/lib/dark.css.gz +0 -0
  72. package/lib/dark.css.map +0 -1
  73. package/lib/dark.css.map.gz +0 -0
  74. package/lib/dark.js.gz +0 -0
  75. package/lib/dark.js.map +0 -1
  76. package/lib/dark.js.map.gz +0 -0
  77. package/lib/helena.css.gz +0 -0
  78. package/lib/helena.css.map +0 -1
  79. package/lib/helena.css.map.gz +0 -0
  80. package/lib/helena.js.gz +0 -0
  81. package/lib/helena.js.map +0 -1
  82. package/lib/helena.js.map.gz +0 -0
  83. package/lib/icons/exception.svg.gz +0 -0
  84. package/lib/icons/export.svg.gz +0 -0
  85. package/lib/icons/field-time.svg.gz +0 -0
  86. package/lib/icons/file-calculator.svg.gz +0 -0
  87. package/lib/icons/hand-service.svg.gz +0 -0
  88. package/lib/icons/import.svg.gz +0 -0
  89. package/lib/icons/package.svg.gz +0 -0
  90. package/lib/icons/process-config.svg.gz +0 -0
  91. package/lib/icons/transmission.svg.gz +0 -0
  92. package/lib/images/empty-notification.svg.gz +0 -0
  93. package/lib/images/micro-download.svg.gz +0 -0
  94. package/lib/images/micro-gerproc.svg.gz +0 -0
  95. package/lib/images/micro-insight.svg.gz +0 -0
  96. package/lib/images/synchro-logo.svg.gz +0 -0
  97. package/lib/index.css.gz +0 -0
  98. package/lib/index.css.map +0 -1
  99. package/lib/index.css.map.gz +0 -0
  100. package/lib/index.js.LICENSE.txt +0 -70
  101. package/lib/index.js.LICENSE.txt.gz +0 -0
  102. package/lib/index.js.gz +0 -0
  103. package/lib/index.js.map +0 -1
  104. package/lib/index.js.map.gz +0 -0
  105. package/lib/light.css.gz +0 -0
  106. package/lib/light.css.map +0 -1
  107. package/lib/light.css.map.gz +0 -0
  108. package/lib/light.js.gz +0 -0
  109. package/lib/light.js.map +0 -1
  110. package/lib/light.js.map.gz +0 -0
  111. package/lib/themes/colors/ant-blues.less.gz +0 -0
  112. package/lib/themes/colors/ant-yellows.less.gz +0 -0
  113. package/lib/themes/colors/blues.less.gz +0 -0
  114. package/lib/themes/colors/dark-olive-greens.less.gz +0 -0
  115. package/lib/themes/colors/gray.less.gz +0 -0
  116. package/lib/themes/colors/greens.less.gz +0 -0
  117. package/lib/themes/colors/pinks.less.gz +0 -0
  118. package/lib/themes/colors/purples.less.gz +0 -0
  119. package/lib/themes/colors/reds.less.gz +0 -0
  120. package/lib/themes/colors/yellows.less.gz +0 -0
  121. package/lib/themes/dark.less.gz +0 -0
  122. package/lib/themes/default.less.gz +0 -0
  123. package/lib/themes/general_custom.less.gz +0 -0
  124. package/lib/themes/light.less.gz +0 -0
package/lib/light.css CHANGED
@@ -25734,5 +25734,3 @@ div.ant-typography-edit-content.ant-typography-rtl {
25734
25734
  color: #5c5c5c;
25735
25735
  }
25736
25736
 
25737
-
25738
- /*# sourceMappingURL=light.css.map*/
package/lib/light.js CHANGED
@@ -1,2 +1,61 @@
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})()}));
2
- //# sourceMappingURL=light.js.map
1
+ /*
2
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
3
+ * This devtool is neither made for production nor for readable output files.
4
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
5
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
6
+ * or disable the default devtool with "devtool: false".
7
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
8
+ */
9
+ (function webpackUniversalModuleDefinition(root, factory) {
10
+ if(typeof exports === 'object' && typeof module === 'object')
11
+ module.exports = factory();
12
+ else if(typeof define === 'function' && define.amd)
13
+ define([], factory);
14
+ else if(typeof exports === 'object')
15
+ exports["synchro-helena"] = factory();
16
+ else
17
+ root["synchro-helena"] = factory();
18
+ })(self, function() {
19
+ return /******/ (() => { // webpackBootstrap
20
+ /******/ "use strict";
21
+ /******/ var __webpack_modules__ = ({
22
+
23
+ /***/ "./src/assets/themes/light.less":
24
+ /*!**************************************!*\
25
+ !*** ./src/assets/themes/light.less ***!
26
+ \**************************************/
27
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
28
+
29
+ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://synchro-helena/./src/assets/themes/light.less?");
30
+
31
+ /***/ })
32
+
33
+ /******/ });
34
+ /************************************************************************/
35
+ /******/ // The require scope
36
+ /******/ var __webpack_require__ = {};
37
+ /******/
38
+ /************************************************************************/
39
+ /******/ /* webpack/runtime/make namespace object */
40
+ /******/ (() => {
41
+ /******/ // define __esModule on exports
42
+ /******/ __webpack_require__.r = (exports) => {
43
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
44
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
45
+ /******/ }
46
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
47
+ /******/ };
48
+ /******/ })();
49
+ /******/
50
+ /************************************************************************/
51
+ /******/
52
+ /******/ // startup
53
+ /******/ // Load entry module and return exports
54
+ /******/ // This entry module can't be inlined because the eval devtool is used.
55
+ /******/ var __webpack_exports__ = {};
56
+ /******/ __webpack_modules__["./src/assets/themes/light.less"](0, __webpack_exports__, __webpack_require__);
57
+ /******/
58
+ /******/ return __webpack_exports__;
59
+ /******/ })()
60
+ ;
61
+ });
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLAlertPropTypes } from './index';
3
+ declare const HLAlert: React.FC<HLAlertPropTypes>;
4
+ export default HLAlert;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLArticlePropTypes } from './index';
3
+ declare const HLArticle: React.FC<HLArticlePropTypes>;
4
+ export default HLArticle;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLBadgePropsPropTypes } from './index';
3
+ declare const HLBadge: React.FC<HLBadgePropsPropTypes>;
4
+ export default HLBadge;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLButtonPropTypes } from './index';
3
+ declare const HLButton: React.FC<HLButtonPropTypes>;
4
+ export default HLButton;
@@ -0,0 +1,7 @@
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;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLCodePropTypes } from './index';
3
+ declare const HLCode: React.FC<HLCodePropTypes>;
4
+ export default HLCode;
@@ -0,0 +1,7 @@
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;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { PanelPropTypes } from './index';
3
+ declare const Panel: React.FC<PanelPropTypes>;
4
+ export default Panel;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLCollapseInfoPanelPropTypes } from './index';
3
+ declare const HLCollapseInfoPanel: React.FC<HLCollapseInfoPanelPropTypes>;
4
+ export default HLCollapseInfoPanel;
@@ -0,0 +1,3 @@
1
+ import '@ant-design/compatible/assets/index.css';
2
+ declare const _default: any;
3
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLCpfCnpjPropTypes } from './index';
3
+ declare const HLCpfCnpj: React.FC<HLCpfCnpjPropTypes>;
4
+ export default HLCpfCnpj;
@@ -0,0 +1,8 @@
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>;
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1,5 @@
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) => moment.Moment | dayjs.Dayjs;
5
+ export declare const toGMTTime: (miliseconds: any) => number;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLDeferredRenderPropTypes } from '.';
3
+ declare const DeferredRender: React.FC<HLDeferredRenderPropTypes>;
4
+ export default DeferredRender;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLDescriptionsPropTypes, HLDescriptionsChildren } from './index';
3
+ declare const HLDescriptions: React.FC<HLDescriptionsPropTypes> & HLDescriptionsChildren;
4
+ export default HLDescriptions;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLDiffViewerPropTypes } from './index';
3
+ declare const HLDiffViewer: React.FC<HLDiffViewerPropTypes>;
4
+ export default HLDiffViewer;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLDividerPropTypes } from './index';
3
+ declare const HLDivider: React.FC<HLDividerPropTypes>;
4
+ export default HLDivider;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLDrawerPropTypes } from './index';
3
+ declare const HLDrawer: React.FC<HLDrawerPropTypes>;
4
+ export default HLDrawer;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLDropdownPropTypes } from './index';
3
+ declare const HLDropdown: React.FC<HLDropdownPropTypes>;
4
+ export default HLDropdown;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLDropdownButtonPropTypes } from './index';
3
+ declare const HLDropdownButton: React.FC<HLDropdownButtonPropTypes>;
4
+ export default HLDropdownButton;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLEditTablePropTypes } from './index';
3
+ declare const HLEditTable: React.FC<HLEditTablePropTypes>;
4
+ export default HLEditTable;
@@ -0,0 +1,13 @@
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;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ErrorPropTypes } from '.';
3
+ declare const Error: React.FC<ErrorPropTypes>;
4
+ export default Error;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ declare const HLException: {
3
+ Page500: import("react").FC<import("./Page500").Page500PropTypes>;
4
+ Error: import("react").FC<import("./Error").ErrorPropTypes>;
5
+ };
6
+ export default HLException;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { Page500PropTypes } from './index';
3
+ declare const Page500: React.FC<Page500PropTypes>;
4
+ export default Page500;
@@ -0,0 +1,7 @@
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;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { HLFromToProps } from './index';
3
+ declare const HLFromTo: {
4
+ <L, R, T>(props: HLFromToProps<L, R, T>): JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default HLFromTo;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { HLHeaderPropTypes } from './index';
3
+ declare const HLHeader: {
4
+ (props: HLHeaderPropTypes): JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default HLHeader;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLHeaderButtonPropTypes } from './index';
3
+ declare const HLHeaderButton: React.FC<HLHeaderButtonPropTypes>;
4
+ export default HLHeaderButton;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLHeaderSearchPropTypes } from './index';
3
+ declare const HLHeaderSearch: React.FC<HLHeaderSearchPropTypes>;
4
+ export default HLHeaderSearch;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLMainPropTypes } from './index';
3
+ declare const HLMain: React.FC<HLMainPropTypes>;
4
+ export default HLMain;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLMarkdownPropTypes } from '.';
3
+ declare const HLMarkdown: React.FC<HLMarkdownPropTypes>;
4
+ export default HLMarkdown;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLModulesMenuPropTypes } from './index';
3
+ declare const HLModulesMenu: React.FC<HLModulesMenuPropTypes>;
4
+ export default HLModulesMenu;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { HLNotificationPropTypes } from './index';
3
+ declare const HLNotification: {
4
+ (props: HLNotificationPropTypes): JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default HLNotification;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { NotificationListPropTypes } from './index';
3
+ declare const NotificationList: {
4
+ (props: NotificationListPropTypes): JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default NotificationList;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLPageHeaderPropTypes } from './index';
3
+ declare const HLPageHeader: React.FC<HLPageHeaderPropTypes>;
4
+ export default HLPageHeader;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLPopoverPropTypes } from './index';
3
+ declare const HLPopover: React.FC<HLPopoverPropTypes>;
4
+ export default HLPopover;
@@ -0,0 +1,11 @@
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;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLProgressPropTypes } from './index';
3
+ declare const HLProgress: React.FC<HLProgressPropTypes>;
4
+ export default HLProgress;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLSideMenuPropTypes } from './index';
3
+ declare const HLSideMenu: React.FC<HLSideMenuPropTypes>;
4
+ export default HLSideMenu;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLSpinPropTypes } from './index';
3
+ declare const HLSpin: React.FC<HLSpinPropTypes>;
4
+ export default HLSpin;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SwitchProps } from 'antd/lib/switch';
3
+ declare const HLSwitch: React.FC<SwitchProps>;
4
+ export default HLSwitch;
@@ -0,0 +1,65 @@
1
+ import React, { ReactElement } from 'react';
2
+ import { 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
+ };
22
+ searchText: Record<string, string>;
23
+ searchInput?: Input | null;
24
+ constructor(props: IProps);
25
+ UNSAFE_componentWillReceiveProps(nextProps: IProps): void;
26
+ componentDidMount(): void;
27
+ _getFromLocalStorage(context: string): Record<string, IColumnsType[]> | string;
28
+ _putOnLocalStorage(context: string, value: Record<string, unknown[]>): void;
29
+ handleVisibleChange(value: boolean): void;
30
+ handleCheckBoxAllChange(e: CheckboxChangeEvent): void;
31
+ handleCheckBoxChange(e: CheckboxChangeEvent): void;
32
+ contarColunasFixasAntesDaColuna(colunas: any, indice: any): number;
33
+ /**
34
+ * move a coluna para o primeiro id, caso exista colunas fixadas, ele move para o próximo ID disponível.
35
+ *
36
+ * @param column coluna a ser movida
37
+ *
38
+ */
39
+ moveColunaParaPrimeira: (column: any) => void;
40
+ /**
41
+ * Função criada para mover a coluna para o próximo ID, caso seja permitido, quando é uma coluna com fixed, ele não move.
42
+ *
43
+ * @param column Coluna a ser movida
44
+ *
45
+ */
46
+ moveColunaProximoIndex: (column: any) => void;
47
+ /**
48
+ * Função criada para mover a coluna para o ID anterior, caso seja permitido, quando é uma coluna com fixed, ele não move.
49
+ *
50
+ * @param column coluna a ser movida
51
+ * @returns return caso seja uma coluna fixed
52
+ */
53
+ moveColunaIndexAnterior: (column: any) => void;
54
+ /**
55
+ * Retorna as colunas associadas à tabela formatadas, caso necessário, com valores default.
56
+ *
57
+ * @returns a columns formatada.
58
+ */
59
+ getColumns(): IColumnsType[];
60
+ _itemRenderPagination(current: number, type: string, originalElement: ReactElement): ReactElement;
61
+ _onChange(pagination: PaginationProps, filters: Record<string, FilterValue | null>, sorter: SorterResult<any> | SorterResult<any>[], extra: TableCurrentDataSource<any>): void;
62
+ _filterColumns(e: any): void;
63
+ render(): ReactElement;
64
+ }
65
+ export default HLTable;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TooltipProps } from 'antd/lib/tooltip';
3
+ declare const HLTooltip: React.FC<TooltipProps>;
4
+ export default HLTooltip;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLTotalizerPropTypes } from './index';
3
+ declare const HLTotalizer: React.FC<HLTotalizerPropTypes>;
4
+ export default HLTotalizer;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { HLUserBoxPropTypes } from './index';
3
+ declare const HLUserBox: React.FC<HLUserBoxPropTypes>;
4
+ export default HLUserBox;
@@ -0,0 +1,72 @@
1
+ import AdvancedPowerSelectStoreInterface from './HLAdvancedPowerSelect/lib/AdvancedPowerSelectStoreInterface';
2
+ import HLAdvancedPowerSelect from './HLAdvancedPowerSelect/HLAdvancedPowerSelect';
3
+ import HLAlert from './HLAlert/HLAlert';
4
+ import HLArticle from './HLArticle/HLArticle';
5
+ import HLAssociateDisassociate from './HLAssociateDisassociate/HLAssociateDisassociate';
6
+ import HLAssociationManager from './HLAssociationManager/HLAssociationManager';
7
+ import HLBigDecimalInputNumber from './HLBigDecimalInputNumber/HLBigDecimalInputNumber';
8
+ import HLBreadcrumb from './HLBreadcrumb/HLBreadcrumb';
9
+ import HLButton from './HLButton/HLButton';
10
+ import HLCard from './HLCard/HLCard';
11
+ import HLCheckbox from './HLCheckbox/HLCheckbox';
12
+ import HLCode from './HLCode/HLCode';
13
+ import HLCollapse from './HLCollapse/HLCollapse';
14
+ import HLCollapseInfoPanel from './HLCollapseInfoPanel/HLCollapseInfoPanel';
15
+ import HLContext from './HLContext/HLContext';
16
+ import HLCpfCnpj from './HLCpfCnpj/HLCpfCnpj';
17
+ import HLDatePicker from './HLDatePicker/HLDatePicker';
18
+ import HLDeferredRender from './HLDeferredRender/HLDeferredRender';
19
+ import HLDescriptions from './HLDescriptions/HLDescriptions';
20
+ import HLDiffViewer from './HLDiffViewer/HLDiffViewer';
21
+ import HLDivider from './HLDivider/HLDivider';
22
+ import HLDrawer from './HLDrawer/HLDrawer';
23
+ import HLDropdown from './HLDropdown/HLDropdown';
24
+ import HLDropdownButton from './HLDropdownButton/HLDropdownButton';
25
+ import HLEditTable from './HLEditTable/HLEditTable';
26
+ import HLErrorBoundary from './HLErrorBoundary/HLErrorBoundary';
27
+ import HLException from './HLException/HLException';
28
+ import HLForm from './HLForm/HLForm';
29
+ import HLFormAction from './HLFormAction/HLFormAction';
30
+ import HLFormGroup from './HLFormGroup/HLFormGroup';
31
+ import HLFromTo from './HLFromTo/HLFromTo';
32
+ import HLHeader from './HLHeader/HLHeader';
33
+ import HLIcon from './HLIcon/HLIcon';
34
+ import HLInput from './HLInput/HLInput';
35
+ import HLInputMonetary from './HLInputMonetary/HLInputMonetary';
36
+ import HLInputNumber from './HLInputNumber/HLInputNumber';
37
+ import HLLayout from './HLLayout/HLLayout';
38
+ import HLMain from './HLMain/HLMain';
39
+ import HLMarkdown from './HLMarkdown/HLMarkdown';
40
+ import HLMenu from './HLMenu/HLMenu';
41
+ import HLModal from './HLModal/HLModal';
42
+ import HLPageHeader from './HLPageHeader/HLPageHeader';
43
+ import HLPopover from './HLPopover/HLPopover';
44
+ import HLPowerSearch from './HLPowerSearch/HLPowerSearch';
45
+ import HLPowerSelect from './HLPowerSelect/HLPowerSelect';
46
+ import HLProgress from './HLProgress/HLProgress';
47
+ import HLRadio from './HLRadio/HLRadio';
48
+ import HLSelect from './HLSelect/HLSelect';
49
+ import HLSelectMultiple from './HLSelectMultiple/HLSelectMultiple';
50
+ import HLSideMenu from './HLSideMenu/HLSideMenu';
51
+ import HLSpin from './HLSpin/HLSpin';
52
+ import HLSwitch from './HLSwitch/HLSwitch';
53
+ import HLTable from './HLTable/HLTable';
54
+ import HLTableDataLimitAlert from './HLTableDataLimitAlert/HLTableDataLimitAlert';
55
+ import HLTabs from './HLTabs/HLTabs';
56
+ import HLTag from './HLTag/HLTag';
57
+ import HLTagRounded from './HLTagRounded/HLTagRounded';
58
+ import HLTextArea from './HLTextArea/HLTextArea';
59
+ import HLTooltip from './HLTooltip/HLTootip';
60
+ import HLTotalizer from './HLTotalizer/HLTotalizer';
61
+ import HLTree from './HLTree/HLTree';
62
+ import HLUserBox from './HLUserBox/HLUserBox';
63
+ import HLNotification from './HLNotification/HLNotification';
64
+ import HLHealthCheck from './HLHealthCheck/HLHealthCheck';
65
+ import HLModulesMenu from './HLModulesMenu/HLModulesMenu';
66
+ import PowerSearchOperators from './HLPowerSearch/lib/Operators';
67
+ import PowerSelectStoreInterface from './HLPowerSelect/lib/PowerSelectStoreInterface';
68
+ import SearchObject from './HLPowerSearch/lib/SearchObject';
69
+ import SearchType from './HLPowerSearch/lib/SearchType';
70
+ import SelectStoreInterface from './HLPowerSearch/lib/SelectStoreInterface';
71
+ import HLBadge from './HLBadge/HLBadge';
72
+ export { AdvancedPowerSelectStoreInterface, HLAdvancedPowerSelect, HLAlert, HLArticle, HLAssociateDisassociate, HLAssociationManager, HLBigDecimalInputNumber, HLBreadcrumb, HLButton, HLCard, HLCheckbox, HLBadge, HLCode, HLCollapse, HLCollapseInfoPanel, HLContext, HLCpfCnpj, HLDatePicker, HLDeferredRender, HLDescriptions, HLDiffViewer, HLDivider, HLDrawer, HLDropdown, HLDropdownButton, HLEditTable, HLErrorBoundary, HLException, HLForm, HLFormAction, HLFormGroup, HLFromTo, HLHeader, HLIcon, HLInput, HLInputMonetary, HLInputNumber, HLLayout, HLMain, HLMarkdown, HLMenu, HLModal, HLPageHeader, HLPopover, HLPowerSearch, HLPowerSelect, HLProgress, HLRadio, HLSelect, HLSelectMultiple, HLSideMenu, HLSpin, HLSwitch, HLTable, HLTableDataLimitAlert, HLTabs, HLTag, HLTagRounded, HLTextArea, HLTooltip, HLTotalizer, HLTree, HLUserBox, HLNotification, HLHealthCheck, HLModulesMenu, PowerSearchOperators, PowerSelectStoreInterface, SearchObject, SearchType, SelectStoreInterface, };
@@ -0,0 +1,2 @@
1
+ export declare const usePrevious: (value: any) => undefined;
2
+ export declare const useStateWithCallback: (initialState: any) => any[];
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ export declare type PermissionsType = {
3
+ resourceId: string;
4
+ components?: {
5
+ readOnlyAccess: (props: any) => React.ReactElement<any, any>;
6
+ fullAccess: (props: any) => React.ReactElement<any, any>;
7
+ };
8
+ authFunctions?: {
9
+ readOnlyAccess: (props: any) => boolean;
10
+ fullAccess: (props: any) => boolean;
11
+ };
12
+ };
13
+ declare class DefaultPermissions implements PermissionsType {
14
+ resourceId: string;
15
+ components: any;
16
+ authFunctions: any;
17
+ constructor(p?: PermissionsType);
18
+ }
19
+ export default DefaultPermissions;