plataforma-fundacao-componentes 2.26.5 → 2.26.6

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 (33) hide show
  1. package/dist/assets/icons/Bell16Icon.d.ts +3 -0
  2. package/dist/assets/icons/BellIcon.d.ts +3 -0
  3. package/dist/assets/icons/PercentLoaderIcon.d.ts +5 -3
  4. package/dist/assets/icons/Settings16Icon.d.ts +3 -0
  5. package/dist/components/button/Button.d.ts +1 -2
  6. package/dist/components/checkbox/Checkbox.d.ts +3 -3
  7. package/dist/components/container/Container.d.ts +3 -3
  8. package/dist/components/dropdownMenu/DropdownMenu.d.ts +5 -10
  9. package/dist/components/floatingPanel/FloatingPanel.d.ts +17 -11
  10. package/dist/components/fullHeightContainer/FullHeightContainer.d.ts +2 -8
  11. package/dist/components/fullHeightContainer/FullHeightContainer.stories.d.ts +4 -4
  12. package/dist/components/iconButton/IconButton.d.ts +2 -10
  13. package/dist/components/input/Input.d.ts +1 -14
  14. package/dist/components/itemDropdownDownload/ItemDropdownDownload.d.ts +2 -8
  15. package/dist/components/notification/Notification.d.ts +5 -12
  16. package/dist/components/notification/Notification.stories.d.ts +7 -8
  17. package/dist/components/notificationPanel/NotificationPanel.d.ts +21 -0
  18. package/dist/components/notificationPanel/NotificationPanel.stories.d.ts +6 -0
  19. package/dist/components/videoModal/VideoModal.d.ts +4 -4
  20. package/dist/hooks/useEvent/useEvent.d.ts +6 -0
  21. package/dist/hooks/useFloatingPanel/useFloatingPanel.d.ts +20 -0
  22. package/dist/hooks/useFloatingPanel/useFloatingPanel.stories.d.ts +8 -0
  23. package/dist/hooks/useSystemInfo/useSystemInfo.d.ts +6 -0
  24. package/dist/hooks/useSystemInfo/useSystemInfo.stories.d.ts +6 -0
  25. package/dist/index.css +228 -197
  26. package/dist/index.d.ts +11 -3
  27. package/dist/index.js +786 -673
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.modern.js +783 -675
  30. package/dist/index.modern.js.map +1 -1
  31. package/dist/libraries/Notification.d.ts +1 -0
  32. package/dist/libraries/System.d.ts +19 -0
  33. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import React, { useMemo, useState, useEffect, memo, isValidElement, useCallback, useRef, useLayoutEffect, createElement, createRef, Fragment as Fragment$1, forwardRef, useImperativeHandle } from 'react';
1
+ import React, { useMemo, useState, useEffect, memo, forwardRef, isValidElement, useCallback, useRef, useLayoutEffect, createElement, Fragment as Fragment$1, createRef, useImperativeHandle } from 'react';
2
2
  import { CSSTransition, TransitionGroup } from 'react-transition-group';
3
3
  import { Chart } from 'chart.js';
4
4
  import moment from 'moment';
5
5
  import DOMPurify from 'dompurify';
6
+ import { useFloating, autoUpdate, offset, flip, shift, size, useTransitionStyles, FloatingPortal, arrow, useHover, useFocus, useDismiss, useRole, useInteractions, FloatingArrow } from '@floating-ui/react';
6
7
  import Sortable from 'sortablejs';
7
8
  import QR from 'qrcode';
8
- import { useFloating, autoUpdate, offset, flip, shift, arrow, useHover, useFocus, useDismiss, useRole, useInteractions, useTransitionStyles, FloatingPortal, FloatingArrow } from '@floating-ui/react';
9
9
  import html2canvas from 'html2canvas';
10
10
  import { jsPDF } from 'jspdf';
11
11
 
@@ -142,37 +142,6 @@ function _objectWithoutPropertiesLoose(source, excluded) {
142
142
  }
143
143
  return target;
144
144
  }
145
- function _unsupportedIterableToArray(o, minLen) {
146
- if (!o) return;
147
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
148
- var n = Object.prototype.toString.call(o).slice(8, -1);
149
- if (n === "Object" && o.constructor) n = o.constructor.name;
150
- if (n === "Map" || n === "Set") return Array.from(o);
151
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
152
- }
153
- function _arrayLikeToArray(arr, len) {
154
- if (len == null || len > arr.length) len = arr.length;
155
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
156
- return arr2;
157
- }
158
- function _createForOfIteratorHelperLoose(o, allowArrayLike) {
159
- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
160
- if (it) return (it = it.call(o)).next.bind(it);
161
- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
162
- if (it) o = it;
163
- var i = 0;
164
- return function () {
165
- if (i >= o.length) return {
166
- done: true
167
- };
168
- return {
169
- done: false,
170
- value: o[i++]
171
- };
172
- };
173
- }
174
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
175
- }
176
145
 
177
146
  var getMergedClassNames = function getMergedClassNames(arr) {
178
147
  return arr.filter(function (el) {
@@ -243,34 +212,33 @@ var Interval = /*#__PURE__*/function () {
243
212
  };
244
213
  return Interval;
245
214
  }();
246
- var getParents = function getParents(anchor) {
247
- if (!anchor) return [];
248
- if (anchor.id === 'root' || !(anchor !== null && anchor !== void 0 && anchor.parentElement)) {
249
- return [anchor];
250
- }
251
- return [anchor].concat(getParents(anchor.parentElement));
252
- };
253
215
 
216
+ var _excluded = ["value", "hideCheck", "indefinido", "className"];
254
217
  var rootClassName$7 = 'percent-loader-icon';
255
- var PercentLoaderIcon = function PercentLoaderIcon(props) {
256
- var _props$value2;
218
+ var PercentLoaderIcon = function PercentLoaderIcon(_ref) {
219
+ var value = _ref.value,
220
+ hideCheck = _ref.hideCheck,
221
+ indefinido = _ref.indefinido,
222
+ _ref$className = _ref.className,
223
+ className = _ref$className === void 0 ? '' : _ref$className,
224
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
257
225
  var getStrokeDashOffset = function getStrokeDashOffset() {
258
- var _props$value;
259
- var v = props.indefinido ? '25' : (_props$value = props.value) != null ? _props$value : '';
226
+ var v = indefinido ? '25' : value != null ? value : '';
260
227
  return 264 - 264 * parseInt(String(v)) / 100;
261
228
  };
262
- var _useState = useState(props.indefinido ? getStrokeDashOffset() : 264),
229
+ var _useState = useState(indefinido ? getStrokeDashOffset() : 264),
263
230
  sdo = _useState[0],
264
231
  setSdo = _useState[1];
265
232
  useEffect(function () {
266
233
  setSdo(getStrokeDashOffset());
267
- }, [props.value, props.indefinido]);
268
- return React.createElement("svg", {
269
- className: getMergedClassNames([rootClassName$7, props.indefinido ? 'indefinido' : '']),
234
+ }, [value, indefinido]);
235
+ var classNames = useMergedClassNames([rootClassName$7, indefinido ? 'indefinido' : '', className]);
236
+ return React.createElement("svg", Object.assign({
237
+ className: classNames,
270
238
  viewBox: '0 0 100 100',
271
239
  fill: 'currentColor',
272
240
  xmlns: 'http://www.w3.org/2000/svg'
273
- }, React.createElement("circle", {
241
+ }, props), React.createElement("circle", {
274
242
  cx: '50',
275
243
  cy: '50',
276
244
  r: '42'
@@ -280,12 +248,12 @@ var PercentLoaderIcon = function PercentLoaderIcon(props) {
280
248
  r: '42',
281
249
  strokeDashoffset: sdo,
282
250
  stroke: 'currentColor'
283
- }), !props.indefinido && !props.hideCheck ? React.createElement("path", {
251
+ }), !indefinido && !hideCheck ? React.createElement("path", {
284
252
  d: 'M710.428,339.1l12.762,12.454,22.376-25.148',
285
253
  fill: 'none',
286
254
  strokeWidth: '5',
287
255
  strokeDasharray: '52',
288
- strokeDashoffset: parseInt(String((_props$value2 = props.value) != null ? _props$value2 : '')) === 100 ? 0 : 52,
256
+ strokeDashoffset: parseInt(String(value != null ? value : '')) === 100 ? 0 : 52,
289
257
  stroke: 'currentColor'
290
258
  }) : undefined);
291
259
  };
@@ -867,12 +835,12 @@ var CreditIcon = function CreditIcon() {
867
835
  }));
868
836
  };
869
837
 
870
- var _excluded = ["className"];
838
+ var _excluded$1 = ["className"];
871
839
  var rootClassName$A = 'icon-component';
872
840
  var InformationIcon = function InformationIcon(_ref) {
873
841
  var _ref$className = _ref.className,
874
842
  className = _ref$className === void 0 ? '' : _ref$className,
875
- props = _objectWithoutPropertiesLoose(_ref, _excluded);
843
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
876
844
  var classNames = useMergedClassNames([rootClassName$A, className]);
877
845
  return React.createElement("svg", Object.assign({
878
846
  viewBox: '0 0 24 24',
@@ -1222,13 +1190,13 @@ var LinkIcon = function LinkIcon() {
1222
1190
  }));
1223
1191
  };
1224
1192
 
1225
- var _excluded$1 = ["theme", "size", "className"];
1193
+ var _excluded$2 = ["theme", "size", "className"];
1226
1194
  var rootClassName$L = 'loader-three-dots';
1227
1195
  var ThreeDotsLoader = function ThreeDotsLoader(_ref) {
1228
1196
  var theme = _ref.theme,
1229
1197
  size = _ref.size,
1230
1198
  className = _ref.className,
1231
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$1);
1199
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$2);
1232
1200
  return React.createElement("div", Object.assign({
1233
1201
  className: useMergedClassNames([rootClassName$L, className != null ? className : '', rootClassName$L + "-" + (theme != null ? theme : 'primary'), rootClassName$L + "-size-" + (size != null ? size : 3)])
1234
1202
  }, rest), React.createElement("div", null), React.createElement("div", null), React.createElement("div", null));
@@ -4630,14 +4598,14 @@ function Banner(props) {
4630
4598
  })));
4631
4599
  }
4632
4600
 
4633
- var _excluded$2 = ["icon", "label", "subtitle", "className"];
4601
+ var _excluded$3 = ["icon", "label", "subtitle", "className"];
4634
4602
  var rootClassName$1D = 'component-big-block-button';
4635
4603
  function BigBlockButton(_ref) {
4636
4604
  var icon = _ref.icon,
4637
4605
  label = _ref.label,
4638
4606
  subtitle = _ref.subtitle,
4639
4607
  className = _ref.className,
4640
- props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
4608
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
4641
4609
  return React.createElement("button", Object.assign({}, props, {
4642
4610
  className: useMergedClassNames([rootClassName$1D, className])
4643
4611
  }), React.createElement("div", {
@@ -4662,44 +4630,55 @@ var NotificationType;
4662
4630
  NotificationType["PrimaryDark"] = "primary-dark";
4663
4631
  NotificationType["PrimaryInvert"] = "primary-invert";
4664
4632
  NotificationType["Error"] = "error";
4633
+ NotificationType["ErrorLight"] = "error-light";
4665
4634
  NotificationType["Default"] = "default";
4666
4635
  NotificationType["Disabled"] = "disabled";
4667
4636
  })(NotificationType || (NotificationType = {}));
4668
4637
 
4638
+ var _excluded$4 = ["className", "bordered", "position", "type", "verticalOuter", "horizontalOuter"];
4669
4639
  var rootClassName$1E = 'component-notification';
4670
- function Notification(props) {
4671
- var getProps = function getProps() {
4672
- var p = {
4673
- className: getMergedClassNames([rootClassName$1E + "-outer", props.className])
4674
- };
4675
- return p;
4676
- };
4640
+ function Notification(_ref) {
4641
+ var _ref$className = _ref.className,
4642
+ className = _ref$className === void 0 ? '' : _ref$className,
4643
+ _ref$bordered = _ref.bordered,
4644
+ bordered = _ref$bordered === void 0 ? false : _ref$bordered,
4645
+ _ref$position = _ref.position,
4646
+ position = _ref$position === void 0 ? NotificationPosition.TopRight : _ref$position,
4647
+ _ref$type = _ref.type,
4648
+ type = _ref$type === void 0 ? NotificationType.Error : _ref$type,
4649
+ _ref$verticalOuter = _ref.verticalOuter,
4650
+ verticalOuter = _ref$verticalOuter === void 0 ? 10 : _ref$verticalOuter,
4651
+ _ref$horizontalOuter = _ref.horizontalOuter,
4652
+ horizontalOuter = _ref$horizontalOuter === void 0 ? 10 : _ref$horizontalOuter,
4653
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
4654
+ var classNames = useMergedClassNames([rootClassName$1E + "-outer", className]);
4677
4655
  var label = useMemo(function () {
4678
- if (!props.count) return 0;
4679
- if (props.count < 0) return '!';
4656
+ if (props.count === true) return ' ';
4657
+ if (props.count === false) return '';
4658
+ if (typeof props.count === 'number') {
4659
+ if (!props.count || !String(props.count)) return 0;
4660
+ if (props.count < 0) return '!';
4661
+ }
4680
4662
  return props.count;
4681
4663
  }, [props.count]);
4682
- return React.createElement("div", Object.assign({}, getProps()), props.children, React.createElement(CSSTransition, {
4683
- "in": !!label,
4664
+ return React.createElement("div", {
4665
+ className: classNames
4666
+ }, props.children, React.createElement(CSSTransition, {
4667
+ "in": Boolean(label),
4684
4668
  classNames: rootClassName$1E,
4685
4669
  timeout: 300,
4686
4670
  unmountOnExit: true
4687
4671
  }, React.createElement("div", {
4688
- className: rootClassName$1E + " " + rootClassName$1E + "-" + props.position + " " + rootClassName$1E + "-" + props.type,
4672
+ "data-bordered": bordered,
4673
+ className: rootClassName$1E + " " + rootClassName$1E + "-" + position + " " + rootClassName$1E + "-" + type,
4689
4674
  style: {
4690
- top: String(props.position).match(/top/) ? 0 - (props.verticalOuter || 0) + "px" : 'unset',
4691
- right: String(props.position).match(/right/) ? 0 - (props.horizontalOuter || 0) + "px" : 'unset',
4692
- left: String(props.position).match(/left/) ? 0 - (props.horizontalOuter || 0) + "px" : 'unset',
4693
- bottom: String(props.position).match(/bottom/) ? 0 - (props.verticalOuter || 0) + "px" : 'unset'
4675
+ top: String(position).match(/top/) ? 0 - (verticalOuter || 0) + "px" : 'unset',
4676
+ right: String(position).match(/right/) ? 0 - (horizontalOuter || 0) + "px" : 'unset',
4677
+ left: String(position).match(/left/) ? 0 - (horizontalOuter || 0) + "px" : 'unset',
4678
+ bottom: String(position).match(/bottom/) ? 0 - (verticalOuter || 0) + "px" : 'unset'
4694
4679
  }
4695
4680
  }, label)));
4696
4681
  }
4697
- Notification.defaultProps = {
4698
- type: NotificationType.Error,
4699
- position: NotificationPosition.TopRight,
4700
- verticalOuter: 10,
4701
- horizontalOuter: 10
4702
- };
4703
4682
 
4704
4683
  var rootClassName$1F = 'bottom-navigation';
4705
4684
  function BottomNavigation(props) {
@@ -4774,9 +4753,9 @@ var ButtonThemes;
4774
4753
  ButtonThemes["HeaderUserBold"] = "header-user-bold";
4775
4754
  })(ButtonThemes || (ButtonThemes = {}));
4776
4755
 
4777
- var _excluded$3 = ["className", "theme", "w100", "leftIcon", "rightIcon", "mobileBottomPage", "loader", "loading", "children"];
4756
+ var _excluded$5 = ["className", "theme", "w100", "leftIcon", "rightIcon", "mobileBottomPage", "loader", "loading", "children"];
4778
4757
  var rootClassName$1H = 'component-button';
4779
- function Button(_ref) {
4758
+ var Button = forwardRef(function (_ref, ref) {
4780
4759
  var className = _ref.className,
4781
4760
  _ref$theme = _ref.theme,
4782
4761
  theme = _ref$theme === void 0 ? ButtonThemes.Primary : _ref$theme,
@@ -4787,7 +4766,7 @@ function Button(_ref) {
4787
4766
  loader = _ref.loader,
4788
4767
  loading = _ref.loading,
4789
4768
  children = _ref.children,
4790
- props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
4769
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
4791
4770
  var handleClick = function handleClick(evt) {
4792
4771
  if (!props.disabled && !loading) {
4793
4772
  var _props$onClick;
@@ -4802,7 +4781,9 @@ function Button(_ref) {
4802
4781
  theme: theme === ButtonThemes.Primary && !props.disabled ? 'secondary' : 'primary'
4803
4782
  }, loader != null ? loader : {})));
4804
4783
  }, [loader, props.disabled, theme]);
4805
- return React.createElement("button", Object.assign({}, props, {
4784
+ return React.createElement("button", Object.assign({
4785
+ ref: ref
4786
+ }, props, {
4806
4787
  className: useMergedClassNames(['nunito', rootClassName$1H, className, rootClassName$1H + "-" + theme, w100 ? rootClassName$1H + "-w100" : '', mobileBottomPage ? rootClassName$1H + "-bottom-mobile" : '']),
4807
4788
  onClick: handleClick
4808
4789
  }), leftIcon && React.createElement("div", {
@@ -4812,7 +4793,8 @@ function Button(_ref) {
4812
4793
  }, children), rightIcon && React.createElement("div", {
4813
4794
  className: getMergedClassNames([rootClassName$1H + "-icon", rootClassName$1H + "-right-icon", loading ? rootClassName$1H + "-hide" : ''])
4814
4795
  }, rightIcon), loading ? loaderElement : undefined);
4815
- }
4796
+ });
4797
+ Button.displayName = 'Button';
4816
4798
  var Button$1 = memo(Button);
4817
4799
 
4818
4800
  var FileTypes;
@@ -5266,32 +5248,31 @@ function useCarouselBehaviour(props) {
5266
5248
  }))), handleChange];
5267
5249
  }
5268
5250
 
5251
+ var _excluded$6 = ["theme", "disabled", "icon", "onClick"];
5269
5252
  var rootClassName$1M = 'component-icon-button';
5270
- function IconButton(props) {
5271
- var handleClick = function handleClick(evt) {
5272
- if (!props.disabled) {
5273
- var _props$onClick;
5274
- (_props$onClick = props.onClick) === null || _props$onClick === void 0 ? void 0 : _props$onClick.call(props, evt);
5253
+ var IconButton = forwardRef(function (_ref, ref) {
5254
+ var _ref$theme = _ref.theme,
5255
+ theme = _ref$theme === void 0 ? 'primary' : _ref$theme,
5256
+ _ref$disabled = _ref.disabled,
5257
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled,
5258
+ _ref$icon = _ref.icon,
5259
+ icon = _ref$icon === void 0 ? '-' : _ref$icon,
5260
+ onClick = _ref.onClick,
5261
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
5262
+ var handleClick = useCallback(function (evt) {
5263
+ if (!disabled) {
5264
+ onClick === null || onClick === void 0 ? void 0 : onClick(evt);
5275
5265
  }
5276
- };
5277
- var getProps = function getProps() {
5278
- var p = _extends({}, props, {
5279
- onClick: handleClick,
5280
- className: getMergedClassNames([rootClassName$1M, props.className, rootClassName$1M + "-" + props.theme])
5281
- });
5282
- delete p.icon;
5283
- delete p.children;
5284
- delete p.theme;
5285
- delete p.w100;
5286
- return p;
5287
- };
5288
- return React.createElement("button", Object.assign({}, getProps()), props.icon);
5289
- }
5290
- IconButton.defaultProps = {
5291
- theme: 'primary',
5292
- disabled: false,
5293
- icon: '-'
5294
- };
5266
+ }, [disabled, onClick]);
5267
+ var classNames = useMergedClassNames([rootClassName$1M, props.className, rootClassName$1M + "-" + theme]);
5268
+ return React.createElement("button", Object.assign({
5269
+ ref: ref,
5270
+ onClick: handleClick
5271
+ }, props, {
5272
+ className: classNames
5273
+ }), icon);
5274
+ });
5275
+ IconButton.displayName = 'IconButton';
5295
5276
  var IconButton$1 = memo(IconButton);
5296
5277
 
5297
5278
  var rootClassName$1N = 'element-paginator';
@@ -7023,7 +7004,7 @@ var CheckboxThemes;
7023
7004
  CheckboxThemes["Blue"] = "blue";
7024
7005
  })(CheckboxThemes || (CheckboxThemes = {}));
7025
7006
 
7026
- var _excluded$4 = ["value", "tag", "onChange", "theme", "className", "error", "type"];
7007
+ var _excluded$7 = ["value", "tag", "onChange", "theme", "className", "error", "type"];
7027
7008
  var rootClassName$1S = 'component-checkbox';
7028
7009
  function Checkbox(_ref) {
7029
7010
  var value = _ref.value,
@@ -7036,7 +7017,7 @@ function Checkbox(_ref) {
7036
7017
  error = _ref$error === void 0 ? false : _ref$error,
7037
7018
  _ref$type = _ref.type,
7038
7019
  type = _ref$type === void 0 ? 'button' : _ref$type,
7039
- props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
7020
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
7040
7021
  var handleClick = useCallback(function (evt) {
7041
7022
  if (!props.disabled) {
7042
7023
  onChange === null || onChange === void 0 ? void 0 : onChange(!value, evt);
@@ -7092,24 +7073,82 @@ Col.defaultProps = {
7092
7073
  };
7093
7074
  var Col$1 = memo(Col);
7094
7075
 
7095
- var rootClassName$1U = 'component-container';
7096
- function Container(props) {
7097
- var getProps = function getProps() {
7098
- var p = _extends({}, props, {
7099
- className: getMergedClassNames([rootClassName$1U, props.className, props.fluid ? 'fluid' : '', props.verticalPadding ? 'vertical-padding' : '', props.hasMobileButton ? 'has-mobile-button' : '', props.hasHeader ? 'has-header' : '', props.hasAdvancedHeader ? 'has-advanced-header' : '']),
7100
- style: _extends({}, props.style, {
7101
- position: props.position
7102
- })
7103
- });
7104
- delete p.position;
7105
- delete p.fluid;
7106
- delete p.verticalPadding;
7107
- delete p.hasMobileButton;
7108
- delete p.hasHeader;
7109
- delete p.hasAdvancedHeader;
7110
- return p;
7076
+ var OS;
7077
+ (function (OS) {
7078
+ OS["Windows"] = "Windows";
7079
+ OS["Linux"] = "Linux";
7080
+ OS["MacOS"] = "MacOS";
7081
+ OS["iOS"] = "iOS";
7082
+ OS["Android"] = "Android";
7083
+ OS["ChromeOS"] = "ChromeOS";
7084
+ OS["Other"] = "Other";
7085
+ })(OS || (OS = {}));
7086
+ var Browser;
7087
+ (function (Browser) {
7088
+ Browser["Brave"] = "Brave";
7089
+ Browser["Chrome"] = "Chrome";
7090
+ Browser["Firefox"] = "Firefox";
7091
+ Browser["Opera"] = "Opera";
7092
+ Browser["Safari"] = "Safari";
7093
+ Browser["Edge"] = "Edge";
7094
+ Browser["IE"] = "IE";
7095
+ Browser["Other"] = "Other";
7096
+ })(Browser || (Browser = {}));
7097
+
7098
+ function useSystemInfo() {
7099
+ var os = useMemo(function () {
7100
+ if (/Android/i.test(navigator.userAgent)) return OS.Android;
7101
+ if (/iPhone/i.test(navigator.userAgent)) return OS.iOS;
7102
+ if (/Windows/i.test(navigator.userAgent)) return OS.Windows;
7103
+ if (/Linux/i.test(navigator.userAgent)) return OS.Linux;
7104
+ if (/CrOS/i.test(navigator.userAgent)) return OS.ChromeOS;
7105
+ if (/Macintosh/i.test(navigator.userAgent)) return OS.MacOS;
7106
+ return OS.Other;
7107
+ }, []);
7108
+ var browser = useMemo(function () {
7109
+ if (/Edge/i.test(navigator.userAgent)) return Browser.Edge;
7110
+ if (/Brave/i.test(navigator.userAgent)) return Browser.Brave;
7111
+ if (/CriOS/i.test(navigator.userAgent)) return Browser.Chrome;
7112
+ if (/Chrome/i.test(navigator.userAgent)) return Browser.Chrome;
7113
+ if (/Firefox/i.test(navigator.userAgent)) return Browser.Firefox;
7114
+ if (/Opera/i.test(navigator.userAgent)) return Browser.Opera;
7115
+ if (/Safari/i.test(navigator.userAgent)) return Browser.Safari;
7116
+ if (/Trident/i.test(navigator.userAgent)) return Browser.IE;
7117
+ if (/MSIE/i.test(navigator.userAgent)) return Browser.IE;
7118
+ return Browser.Other;
7119
+ }, []);
7120
+ var isMobile = useMemo(function () {
7121
+ return /Mobile/.test(navigator.userAgent);
7122
+ }, []);
7123
+ return {
7124
+ os: os,
7125
+ browser: browser,
7126
+ isMobile: isMobile
7111
7127
  };
7112
- return React.createElement("div", Object.assign({}, getProps()), React.createElement("div", {
7128
+ }
7129
+
7130
+ var _excluded$8 = ["position", "fluid", "verticalPadding", "hasMobileButton", "hasHeader", "hasAdvancedHeader", "className", "style"];
7131
+ var rootClassName$1U = 'component-container';
7132
+ function Container(_ref) {
7133
+ var position = _ref.position,
7134
+ fluid = _ref.fluid,
7135
+ verticalPadding = _ref.verticalPadding,
7136
+ hasMobileButton = _ref.hasMobileButton,
7137
+ hasHeader = _ref.hasHeader,
7138
+ hasAdvancedHeader = _ref.hasAdvancedHeader,
7139
+ _ref$className = _ref.className,
7140
+ className = _ref$className === void 0 ? '' : _ref$className,
7141
+ _ref$style = _ref.style,
7142
+ style = _ref$style === void 0 ? {} : _ref$style,
7143
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
7144
+ var mobile = useSystemInfo().isMobile;
7145
+ var classNames = useMergedClassNames([rootClassName$1U, className, fluid ? 'fluid' : '', verticalPadding ? 'vertical-padding' : '', hasMobileButton ? 'has-mobile-button' : '', hasHeader ? 'has-header' : '', hasAdvancedHeader ? 'has-advanced-header' : '', mobile ? 'mobile' : '']);
7146
+ return React.createElement("div", Object.assign({}, props, {
7147
+ className: classNames,
7148
+ style: _extends({
7149
+ position: position
7150
+ }, style)
7151
+ }), React.createElement("div", {
7113
7152
  className: rootClassName$1U + "-insider"
7114
7153
  }, props.children));
7115
7154
  }
@@ -7122,7 +7161,7 @@ Container.defaultProps = {
7122
7161
  };
7123
7162
  var Container$1 = memo(Container);
7124
7163
 
7125
- var _excluded$5 = ["control", "labelPosition", "labelGap", "label", "className"];
7164
+ var _excluded$9 = ["control", "labelPosition", "labelGap", "label", "className"];
7126
7165
  var rootClassName$1V = 'component-control-label';
7127
7166
  function ControlLabel(_ref) {
7128
7167
  var _control$props;
@@ -7131,7 +7170,7 @@ function ControlLabel(_ref) {
7131
7170
  labelGap = _ref.labelGap,
7132
7171
  label = _ref.label,
7133
7172
  className = _ref.className,
7134
- props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
7173
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
7135
7174
  var ref = useRef();
7136
7175
  return React.createElement("label", Object.assign({}, props, {
7137
7176
  className: getMergedClassNames([className, rootClassName$1V, labelPosition ? labelPosition : '', (_control$props = control.props) !== null && _control$props !== void 0 && _control$props.disabled ? 'disabled' : '']),
@@ -7363,7 +7402,7 @@ function DatePickerCalendar(props) {
7363
7402
  }
7364
7403
  var DatePickerCalendar$1 = memo(DatePickerCalendar);
7365
7404
 
7366
- var _excluded$6 = ["language"];
7405
+ var _excluded$a = ["language"];
7367
7406
  var rootClassName$1X = 'component-date-picker';
7368
7407
  function DatePicker(_ref) {
7369
7408
  var _ref$language = _ref.language,
@@ -7373,7 +7412,7 @@ function DatePicker(_ref) {
7373
7412
  months: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'],
7374
7413
  monthsAbrev: ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez']
7375
7414
  } : _ref$language,
7376
- props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
7415
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
7377
7416
  var id = useMemo(function () {
7378
7417
  return "picker_" + getUniqueKey();
7379
7418
  }, []);
@@ -7511,11 +7550,11 @@ DatePicker.defaultProps = {
7511
7550
  };
7512
7551
  var DatePicker$1 = memo(DatePicker);
7513
7552
 
7514
- var _excluded$7 = ["showLabel"];
7553
+ var _excluded$b = ["showLabel"];
7515
7554
  var rootClassName$1Y = 'component-doughnut';
7516
7555
  function Doughnut(_ref) {
7517
7556
  var showLabel = _ref.showLabel,
7518
- props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
7557
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
7519
7558
  var _useProgressiveCount = useProgressiveCount(),
7520
7559
  val = _useProgressiveCount[0],
7521
7560
  setVal = _useProgressiveCount[1];
@@ -7580,6 +7619,96 @@ function DropdownItem(props) {
7580
7619
  }
7581
7620
  var DropdownItem$1 = memo(DropdownItem);
7582
7621
 
7622
+ function useFloatingPanel(_ref) {
7623
+ var stateOpened = _ref.stateOpened,
7624
+ _ref$matchWidth = _ref.matchWidth,
7625
+ matchWidth = _ref$matchWidth === void 0 ? false : _ref$matchWidth,
7626
+ _ref$offset = _ref.offset,
7627
+ offset$1 = _ref$offset === void 0 ? 0 : _ref$offset,
7628
+ _ref$placement = _ref.placement,
7629
+ placement = _ref$placement === void 0 ? 'bottom' : _ref$placement,
7630
+ _ref$strategy = _ref.strategy,
7631
+ strategy = _ref$strategy === void 0 ? 'fixed' : _ref$strategy,
7632
+ _ref$fallbackPlacemen = _ref.fallbackPlacements,
7633
+ fallbackPlacements = _ref$fallbackPlacemen === void 0 ? ['top', 'bottom', 'right-start', 'right'] : _ref$fallbackPlacemen,
7634
+ elements = _ref.elements;
7635
+ var opened = stateOpened[0],
7636
+ setOpened = stateOpened[1];
7637
+ var _useState = useState(null),
7638
+ maxHeight = _useState[0],
7639
+ setMaxHeight = _useState[1];
7640
+ var _useFloating = useFloating({
7641
+ elements: elements,
7642
+ open: opened,
7643
+ onOpenChange: setOpened,
7644
+ whileElementsMounted: autoUpdate,
7645
+ transform: false,
7646
+ placement: placement,
7647
+ strategy: strategy,
7648
+ middleware: [offset(offset$1), flip({
7649
+ fallbackPlacements: fallbackPlacements
7650
+ }), shift(), size({
7651
+ apply: function apply(_ref2) {
7652
+ var rects = _ref2.rects,
7653
+ elements = _ref2.elements,
7654
+ availableHeight = _ref2.availableHeight;
7655
+ if (matchWidth) {
7656
+ Object.assign(elements.floating.style, {
7657
+ width: rects.reference.width + "px"
7658
+ });
7659
+ }
7660
+ setMaxHeight(availableHeight);
7661
+ }
7662
+ })]
7663
+ }),
7664
+ refs = _useFloating.refs,
7665
+ floatingStyles = _useFloating.floatingStyles,
7666
+ context = _useFloating.context;
7667
+ var _useTransitionStyles = useTransitionStyles(context, {
7668
+ duration: 250,
7669
+ initial: function initial(_ref3) {
7670
+ var side = _ref3.side;
7671
+ return {
7672
+ transform: ['top', 'bottom'].includes(side) ? 'translateY(10px)' : '',
7673
+ opacity: 0
7674
+ };
7675
+ },
7676
+ common: {
7677
+ transform: 'translateY(0px)',
7678
+ opacity: 1
7679
+ }
7680
+ }),
7681
+ isMounted = _useTransitionStyles.isMounted,
7682
+ styles = _useTransitionStyles.styles;
7683
+ return {
7684
+ panelRef: refs.setFloating,
7685
+ panelStyles: _extends({}, floatingStyles, {
7686
+ maxHeight: maxHeight
7687
+ }, styles),
7688
+ anchorRef: refs.setReference,
7689
+ isMounted: isMounted
7690
+ };
7691
+ }
7692
+
7693
+ function useEvent(events) {
7694
+ useLayoutEffect(function () {
7695
+ events.forEach(function (_ref) {
7696
+ var event = _ref.event,
7697
+ handler = _ref.handler,
7698
+ target = _ref.target;
7699
+ (target != null ? target : document.body).addEventListener(event, handler);
7700
+ });
7701
+ return function () {
7702
+ events.forEach(function (_ref2) {
7703
+ var event = _ref2.event,
7704
+ handler = _ref2.handler,
7705
+ target = _ref2.target;
7706
+ (target != null ? target : document.body).removeEventListener(event, handler);
7707
+ });
7708
+ };
7709
+ }, [events]);
7710
+ }
7711
+
7583
7712
  function useOutsideClick(refs, handler, options) {
7584
7713
  var _options3;
7585
7714
  if (options === void 0) {
@@ -7607,8 +7736,75 @@ function useOutsideClick(refs, handler, options) {
7607
7736
  }, [refs, handler, handleClickOutside, (_options3 = options) === null || _options3 === void 0 ? void 0 : _options3.events]);
7608
7737
  }
7609
7738
 
7610
- var _excluded$8 = ["opened", "setOpened", "content", "closeOnEsc", "closeOnOutClick", "children", "panelProps"];
7611
- var rootClassName$1_ = 'component-dropdown-menu';
7739
+ var _excluded$c = ["opened", "setOpened", "className", "statedAnchorRef", "matchWidth", "placement", "closeOnEsc", "closeOnOutClick", "style", "fallbackPlacements", "offset"];
7740
+ var rootClassName$1_ = 'floating-panel';
7741
+ function FloatingPanel(_ref) {
7742
+ var opened = _ref.opened,
7743
+ setOpened = _ref.setOpened,
7744
+ _ref$className = _ref.className,
7745
+ className = _ref$className === void 0 ? '' : _ref$className,
7746
+ statedAnchorRef = _ref.statedAnchorRef,
7747
+ matchWidth = _ref.matchWidth,
7748
+ _ref$placement = _ref.placement,
7749
+ placement = _ref$placement === void 0 ? 'bottom' : _ref$placement,
7750
+ _ref$closeOnEsc = _ref.closeOnEsc,
7751
+ closeOnEsc = _ref$closeOnEsc === void 0 ? true : _ref$closeOnEsc,
7752
+ _ref$closeOnOutClick = _ref.closeOnOutClick,
7753
+ closeOnOutClick = _ref$closeOnOutClick === void 0 ? true : _ref$closeOnOutClick,
7754
+ _ref$style = _ref.style,
7755
+ style = _ref$style === void 0 ? {} : _ref$style,
7756
+ _ref$fallbackPlacemen = _ref.fallbackPlacements,
7757
+ fallbackPlacements = _ref$fallbackPlacemen === void 0 ? ['bottom', 'bottom-end', 'bottom-start', 'top', 'top-start', 'top-end', 'left', 'right'] : _ref$fallbackPlacemen,
7758
+ _ref$offset = _ref.offset,
7759
+ offset = _ref$offset === void 0 ? 0 : _ref$offset,
7760
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
7761
+ var _useState = useState(),
7762
+ panelRef = _useState[0],
7763
+ setPanelRef = _useState[1];
7764
+ var _useFloatingPanel = useFloatingPanel({
7765
+ stateOpened: [opened, setOpened],
7766
+ strategy: 'fixed',
7767
+ placement: placement,
7768
+ fallbackPlacements: fallbackPlacements,
7769
+ matchWidth: matchWidth,
7770
+ elements: {
7771
+ floating: panelRef,
7772
+ reference: statedAnchorRef
7773
+ },
7774
+ offset: offset
7775
+ }),
7776
+ isMounted = _useFloatingPanel.isMounted,
7777
+ panelStyles = _useFloatingPanel.panelStyles;
7778
+ var classNames = useMergedClassNames([rootClassName$1_, className]);
7779
+ useEvent([{
7780
+ event: 'keydown',
7781
+ handler: function handler(e) {
7782
+ if (closeOnEsc && opened && 'key' in e && e.key === 'Escape') {
7783
+ setOpened(false);
7784
+ e.preventDefault();
7785
+ e.stopPropagation();
7786
+ }
7787
+ }
7788
+ }]);
7789
+ useOutsideClick([{
7790
+ current: panelRef != null ? panelRef : null
7791
+ }, {
7792
+ current: statedAnchorRef != null ? statedAnchorRef : null
7793
+ }], function (isInside) {
7794
+ if (closeOnOutClick && opened && !isInside) setOpened(false);
7795
+ });
7796
+ return React.createElement(FloatingPortal, null, isMounted && React.createElement("div", Object.assign({}, props, {
7797
+ className: classNames,
7798
+ ref: function ref(r) {
7799
+ return setPanelRef(r);
7800
+ },
7801
+ style: _extends({}, style, panelStyles)
7802
+ }), props.children));
7803
+ }
7804
+ var FloatingPanel$1 = memo(FloatingPanel);
7805
+
7806
+ var _excluded$d = ["opened", "setOpened", "content", "closeOnEsc", "closeOnOutClick", "children", "panelProps", "removePadding"];
7807
+ var rootClassName$1$ = 'component-dropdown-menu';
7612
7808
  function DropdownMenu(_ref) {
7613
7809
  var _panelProps$className;
7614
7810
  var opened = _ref.opened,
@@ -7619,206 +7815,37 @@ function DropdownMenu(_ref) {
7619
7815
  children = _ref.children,
7620
7816
  _ref$panelProps = _ref.panelProps,
7621
7817
  panelProps = _ref$panelProps === void 0 ? {} : _ref$panelProps,
7622
- props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
7623
- var id = useMemo(function () {
7624
- return props.id ? props.id : getUniqueKey();
7625
- }, [props.id]);
7626
- var _useState = useState(null),
7627
- inter = _useState[0],
7628
- setInter = _useState[1];
7629
- var wrapperRef = createRef();
7630
- var panelRef = createRef();
7631
- var interRef = useRef(inter);
7632
- interRef.current = inter;
7633
- useEffect(function () {
7634
- var current = interRef.current;
7635
- if (current) {
7636
- clearInterval(current);
7637
- setInter(null);
7638
- }
7639
- var position = function position() {
7640
- var painel = document.querySelector("#" + id + " ." + rootClassName$1_ + "-panel");
7641
- if (!painel) return;
7642
- var trigger = document.querySelector("#" + id + " ." + rootClassName$1_ + "-children > *");
7643
- var bound = trigger.getBoundingClientRect();
7644
- var pontoCentralX = bound.x + bound.width / 2;
7645
- var pontoCentralY = bound.y + bound.height / 2;
7646
- var windowHeight = window.innerHeight;
7647
- var windowWidth = window.innerWidth;
7648
- if (pontoCentralX < windowWidth / 2) {
7649
- painel.style.left = bound.x + "px";
7650
- if (pontoCentralY < windowHeight / 2) {
7651
- painel.style.top = bound.y + bound.height + "px";
7652
- } else {
7653
- painel.style.top = bound.y - painel.getBoundingClientRect().height + "px";
7654
- }
7655
- } else {
7656
- painel.style.right = windowWidth - bound.x - bound.width + "px";
7657
- if (pontoCentralY < windowHeight / 2) {
7658
- painel.style.top = bound.y + bound.height + "px";
7659
- } else {
7660
- painel.style.top = bound.y - painel.getBoundingClientRect().height + "px";
7661
- }
7662
- }
7663
- };
7664
- if (opened) {
7665
- position();
7666
- var _inter = setInterval(position, 100);
7667
- setInter(_inter);
7668
- }
7669
- return function () {
7670
- if (interRef.current) {
7671
- clearInterval(interRef.current);
7672
- setInter(null);
7673
- }
7674
- };
7675
- }, [opened]);
7676
- useOutsideClick([wrapperRef], function (isInside) {
7677
- if (closeOnOutClick && !isInside) {
7678
- setOpened(false);
7679
- }
7680
- });
7681
- useEffect(function () {
7682
- var onEscPress = function onEscPress(evt) {
7683
- if (evt.key === 'Escape') {
7684
- setOpened(false);
7685
- }
7686
- };
7687
- if (closeOnEsc) {
7688
- if (opened) {
7689
- document.addEventListener('keyup', onEscPress);
7690
- } else {
7691
- document.removeEventListener('keyup', onEscPress);
7692
- }
7693
- }
7694
- return function () {
7695
- document.removeEventListener('keyup', onEscPress);
7696
- };
7697
- }, [opened]);
7698
- return React.createElement("div", Object.assign({}, props, {
7699
- ref: wrapperRef,
7700
- id: id,
7701
- className: [rootClassName$1_, props.className || ''].join(' ')
7702
- }), React.createElement("div", {
7703
- className: rootClassName$1_ + "-children"
7704
- }, children), React.createElement(CSSTransition, {
7705
- "in": opened,
7706
- timeout: 300,
7707
- classNames: rootClassName$1_ + "-panel-fade",
7708
- unmountOnExit: true
7709
- }, React.createElement("div", Object.assign({
7710
- ref: panelRef
7711
- }, panelProps, {
7712
- className: [rootClassName$1_ + "-panel scroll-white", (_panelProps$className = panelProps === null || panelProps === void 0 ? void 0 : panelProps.className) != null ? _panelProps$className : ''].join(' ')
7713
- }), content)));
7714
- }
7715
- DropdownMenu.defaultProps = {
7716
- closeOnOutClick: true,
7717
- closeOnEsc: true
7718
- };
7719
-
7720
- var rootClassName$1$ = 'floating-panel';
7721
- function FloatingPanel(props) {
7722
- var id = useMemo(getUniqueKey, []);
7723
- var onClick = useCallback(function (evt) {
7724
- var wrapper = document.getElementById(id);
7725
- if (!wrapper) return;
7726
- if (!evt.composedPath().includes(wrapper)) {
7727
- props.setOpened(false);
7728
- evt.preventDefault();
7729
- }
7730
- }, [id, props]);
7731
- var onEsc = useCallback(function (evt) {
7732
- if (evt.key === 'Escape') {
7733
- evt.preventDefault();
7734
- evt.stopPropagation();
7735
- props.setOpened(false);
7736
- }
7737
- }, [props]);
7738
- var updatePosition = useCallback(function () {
7739
- var wrapper = document.getElementById(id);
7740
- if (!wrapper) return;
7741
- var computedStyle = wrapper.getBoundingClientRect();
7742
- var panel = document.querySelector("#" + id + " ." + rootClassName$1$);
7743
- if (!panel) return;
7744
- panel.style.top = computedStyle.top + computedStyle.height + "px";
7745
- panel.style.left = computedStyle.left + "px";
7746
- }, [id]);
7747
- var updateSize = useCallback(function () {
7748
- var _document$getElementB;
7749
- var anchor = (_document$getElementB = document.getElementById(id)) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.parentElement;
7750
- var panel = document.querySelector("#" + id + " ." + rootClassName$1$);
7751
- if (!panel || !anchor) return;
7752
- var computedStyle = window.getComputedStyle(anchor);
7753
- panel.style.width = computedStyle.width;
7754
- }, [id]);
7755
- useEffect(function () {
7756
- var wrapper = document.getElementById(id);
7757
- var scrollableElements = getParents(wrapper);
7758
- var positionAndSize = function positionAndSize() {
7759
- updatePosition();
7760
- updateSize();
7761
- };
7762
- var observer = new window.MutationObserver(positionAndSize);
7763
- var timeout;
7764
- if (props.opened) {
7765
- positionAndSize();
7766
- observer.observe(document.body, {
7767
- attributes: true,
7768
- childList: true,
7769
- characterData: true,
7770
- subtree: true
7771
- });
7772
- for (var _iterator = _createForOfIteratorHelperLoose(scrollableElements), _step; !(_step = _iterator()).done;) {
7773
- var el = _step.value;
7774
- el.addEventListener('scroll', updatePosition);
7775
- }
7776
- timeout = setTimeout(function () {
7777
- window.addEventListener('resize', positionAndSize);
7778
- document.addEventListener('keydown', onEsc);
7779
- document.addEventListener('click', onClick);
7780
- }, 300);
7781
- }
7782
- return function () {
7783
- if (timeout) clearTimeout(timeout);
7784
- if (props.opened) {
7785
- observer.disconnect();
7786
- document.removeEventListener('keydown', onEsc);
7787
- document.removeEventListener('click', onClick);
7788
- window.removeEventListener('resize', positionAndSize);
7789
- for (var _iterator2 = _createForOfIteratorHelperLoose(scrollableElements), _step2; !(_step2 = _iterator2()).done;) {
7790
- var _el = _step2.value;
7791
- _el.removeEventListener('scroll', updatePosition);
7792
- }
7793
- }
7794
- };
7795
- }, [props.opened]);
7796
- return React.createElement("div", {
7797
- id: id,
7798
- className: rootClassName$1$ + "-wrapper",
7799
- style: {
7800
- bottom: props.bottom
7801
- }
7802
- }, React.createElement(CSSTransition, {
7803
- "in": props.opened,
7804
- classNames: rootClassName$1$,
7805
- timeout: 300,
7806
- unmountOnExit: true
7807
- }, React.createElement("div", {
7808
- className: useMergedClassNames([rootClassName$1$, props.className, props.boxShadow ? 'shadow' : '', props.radiusStyle])
7809
- }, props.children)));
7818
+ removePadding = _ref.removePadding,
7819
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
7820
+ var _useState = useState(),
7821
+ ref = _useState[0],
7822
+ setRef = _useState[1];
7823
+ var classNames = useMergedClassNames([rootClassName$1$ + "-panel scroll-white", removePadding ? 'no-padding' : '', (_panelProps$className = panelProps === null || panelProps === void 0 ? void 0 : panelProps.className) != null ? _panelProps$className : '']);
7824
+ var anchorClassNames = useMergedClassNames([rootClassName$1$, props.className || '']);
7825
+ return React.createElement(Fragment$1, null, React.createElement("div", Object.assign({}, props, {
7826
+ ref: function ref(r) {
7827
+ return setRef(r);
7828
+ },
7829
+ className: anchorClassNames
7830
+ }), children), React.createElement(FloatingPanel$1, Object.assign({
7831
+ statedAnchorRef: ref,
7832
+ opened: opened != null ? opened : false,
7833
+ setOpened: setOpened,
7834
+ closeOnEsc: closeOnEsc,
7835
+ closeOnOutClick: closeOnOutClick
7836
+ }, panelProps), React.createElement("div", {
7837
+ className: classNames
7838
+ }, content)));
7810
7839
  }
7811
- FloatingPanel.defaultProps = {
7812
- boxShadow: true,
7813
- radiusStyle: 'only-bottom'
7814
- };
7815
- var FloatingPanel$1 = memo(FloatingPanel);
7816
7840
 
7817
7841
  var rootClassName$20 = 'dropdown-selector';
7818
7842
  function DropdownSelector(props) {
7819
7843
  var _useState = useState(false),
7820
7844
  opened = _useState[0],
7821
7845
  setOpened = _useState[1];
7846
+ var _useState2 = useState(null),
7847
+ anchorRef = _useState2[0],
7848
+ setAnchorRef = _useState2[1];
7822
7849
  var label = useMemo(function () {
7823
7850
  var _ref, _props$options$find$l, _props$options, _props$options$find;
7824
7851
  return (_ref = (_props$options$find$l = (_props$options = props.options) === null || _props$options === void 0 ? void 0 : (_props$options$find = _props$options.find(function (opt) {
@@ -7841,6 +7868,9 @@ function DropdownSelector(props) {
7841
7868
  return React.createElement("div", {
7842
7869
  className: useMergedClassNames([rootClassName$20 + "-wrapper", props.w100 ? 'w-100' : '', opened ? 'opened' : ''])
7843
7870
  }, React.createElement("button", {
7871
+ ref: function ref(r) {
7872
+ return setAnchorRef(r);
7873
+ },
7844
7874
  className: useMergedClassNames([rootClassName$20, props.w100 ? 'w-100' : '', opened ? 'opened' : '']),
7845
7875
  onClick: function onClick() {
7846
7876
  setOpened(!opened);
@@ -7850,6 +7880,7 @@ function DropdownSelector(props) {
7850
7880
  }, label), React.createElement("div", {
7851
7881
  className: useMergedClassNames([rootClassName$20 + "-icon", opened ? 'opened' : ''])
7852
7882
  }, React.createElement(ChevronArrowDownIcon, null))), React.createElement(FloatingPanel$1, {
7883
+ statedAnchorRef: anchorRef,
7853
7884
  opened: opened,
7854
7885
  setOpened: setOpened,
7855
7886
  className: rootClassName$20 + "-menu"
@@ -7990,7 +8021,7 @@ var EtiquetasStyle;
7990
8021
  EtiquetasStyle["Yellow"] = "yellow";
7991
8022
  })(EtiquetasStyle || (EtiquetasStyle = {}));
7992
8023
 
7993
- var _excluded$9 = ["theme", "label", "icon", "fitContent"];
8024
+ var _excluded$e = ["theme", "label", "icon", "fitContent"];
7994
8025
  var rootClassName$22 = 'component-etiqueta';
7995
8026
  function Etiqueta(_ref) {
7996
8027
  var _ref$theme = _ref.theme,
@@ -7998,7 +8029,7 @@ function Etiqueta(_ref) {
7998
8029
  label = _ref.label,
7999
8030
  icon = _ref.icon,
8000
8031
  fitContent = _ref.fitContent,
8001
- props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
8032
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
8002
8033
  return React.createElement("div", Object.assign({}, props, {
8003
8034
  className: getMergedClassNames([rootClassName$22, theme, fitContent ? 'fit-content' : undefined])
8004
8035
  }), icon ? React.createElement("div", {
@@ -8367,22 +8398,54 @@ function FooterSicredi(props) {
8367
8398
  }
8368
8399
  var FooterSicredi$1 = memo(FooterSicredi);
8369
8400
 
8401
+ var _excluded$f = ["header", "footer"];
8370
8402
  var rootClassName$27 = 'full-height-container';
8371
- function FullHeightContainer(props) {
8403
+ function FullHeightContainer(_ref) {
8404
+ var header = _ref.header,
8405
+ footer = _ref.footer,
8406
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
8407
+ var headerRef = createRef();
8408
+ var contentRef = createRef();
8409
+ var footerRef = createRef();
8410
+ var mobile = useSystemInfo().isMobile;
8411
+ useLayoutEffect(function () {
8412
+ var observable = new ResizeObserver(function () {
8413
+ if (contentRef.current && header && headerRef.current) {
8414
+ var _headerRef$current;
8415
+ contentRef.current.style.paddingTop = ((_headerRef$current = headerRef.current) === null || _headerRef$current === void 0 ? void 0 : _headerRef$current.getBoundingClientRect().height) + "px";
8416
+ } else if (contentRef.current) {
8417
+ contentRef.current.style.paddingTop = '';
8418
+ }
8419
+ if (contentRef.current && footer && footerRef.current) {
8420
+ var _footerRef$current;
8421
+ contentRef.current.style.paddingBottom = ((_footerRef$current = footerRef.current) === null || _footerRef$current === void 0 ? void 0 : _footerRef$current.getBoundingClientRect().height) + "px";
8422
+ } else if (contentRef.current) {
8423
+ contentRef.current.style.paddingBottom = '';
8424
+ }
8425
+ });
8426
+ if (headerRef.current) {
8427
+ observable.observe(headerRef.current);
8428
+ }
8429
+ if (footerRef.current) {
8430
+ observable.observe(footerRef.current);
8431
+ }
8432
+ return function () {
8433
+ observable.disconnect();
8434
+ };
8435
+ }, [headerRef, footerRef, contentRef, header, footer]);
8372
8436
  return React.createElement("div", {
8373
8437
  className: rootClassName$27
8374
8438
  }, React.createElement("div", {
8375
- className: rootClassName$27 + "-row-header"
8376
- }, props.header), React.createElement("div", {
8377
- className: getMergedClassNames([rootClassName$27 + "-row-content", props.verticalPadding ? 'vertical-padding' : '', props.horizontalPadding ? 'horizontal-padding' : ''])
8378
- }, props.children), props.fixedFooter ? React.createElement("div", {
8379
- className: rootClassName$27 + "-row-footer"
8380
- }, props.fixedFooter) : undefined);
8381
- }
8382
- FullHeightContainer.defaultProps = {
8383
- verticalPadding: true,
8384
- horizontalPadding: true
8385
- };
8439
+ className: rootClassName$27 + "-row-header",
8440
+ ref: headerRef
8441
+ }, header), React.createElement("div", {
8442
+ ref: contentRef,
8443
+ className: getMergedClassNames([rootClassName$27 + "-row-content", props.verticalPadding ? 'vertical-padding' : '', props.horizontalPadding ? 'horizontal-padding' : '', mobile ? 'mobile' : ''])
8444
+ }, props.children), footer ? React.createElement("div", {
8445
+ className: rootClassName$27 + "-row-footer",
8446
+ ref: footerRef
8447
+ }, footer) : undefined);
8448
+ }
8386
8449
  var FullHeightContainer$1 = memo(FullHeightContainer);
8387
8450
 
8388
8451
  var HeaderType;
@@ -8474,7 +8537,7 @@ Information.defaultProps = {
8474
8537
  };
8475
8538
 
8476
8539
  var rootClassName$2b = 'component-input';
8477
- function Input(props) {
8540
+ var Input = forwardRef(function (props, ref) {
8478
8541
  var getProps = function getProps() {
8479
8542
  var p = _extends({}, props, {
8480
8543
  id: props.id ? props.id + "-input" : undefined,
@@ -8499,7 +8562,8 @@ function Input(props) {
8499
8562
  }, !props.hideLabelAndHelperText && React.createElement("div", {
8500
8563
  className: rootClassName$2b + "-label nunito"
8501
8564
  }, props.label || ''), React.createElement("div", {
8502
- className: rootClassName$2b + "-input-container"
8565
+ className: rootClassName$2b + "-input-container",
8566
+ ref: ref
8503
8567
  }, React.createElement("input", Object.assign({}, getProps())), props.rightObject && React.createElement("div", {
8504
8568
  className: rootClassName$2b + "-right-object"
8505
8569
  }, props.rightObject)), !props.hideLabelAndHelperText && React.createElement("div", {
@@ -8509,7 +8573,8 @@ function Input(props) {
8509
8573
  }, props.helperText || ''), props.counter && React.createElement("div", {
8510
8574
  className: rootClassName$2b + "-counter"
8511
8575
  }, "" + String(props.value || '').length + (props.maxLength || props.maxLength === 0 ? "/" + props.maxLength : ''))));
8512
- }
8576
+ });
8577
+ Input.displayName = 'Input';
8513
8578
  Input.defaultProps = {
8514
8579
  value: '',
8515
8580
  loading: false,
@@ -8581,90 +8646,46 @@ InputArea.defaultProps = {
8581
8646
  };
8582
8647
  var InputArea$1 = memo(InputArea);
8583
8648
 
8649
+ var _excluded$g = ["label", "opened", "setOpened", "closeOnOutClick", "closeOnEsc", "downloads"];
8584
8650
  var rootClassName$2d = 'component-item-dropdown-download';
8585
- function ItemDropdownDownload(props) {
8586
- var id = useMemo(function () {
8587
- return props.id ? props.id : getUniqueKey();
8588
- }, [props.id]);
8589
- var filteredProps = useMemo(function () {
8590
- var p = _extends({}, props, {
8591
- className: getMergedClassNames([rootClassName$2d, props.className || '', props.opened ? 'opened' : 'closed']),
8592
- onClick: function onClick(event) {
8593
- if (typeof props.onClick === 'function') {
8594
- props.onClick(event);
8595
- }
8596
- if (typeof props.setOpened === 'function') {
8597
- props.setOpened(!props.opened);
8598
- }
8599
- }
8600
- });
8601
- delete p.label;
8602
- delete p.opened;
8603
- delete p.setOpened;
8604
- delete p.closeOnOutClick;
8605
- delete p.closeOnEsc;
8606
- delete p.downloads;
8607
- return p;
8608
- }, [props]);
8609
- useEffect(function () {
8610
- var onHandleClick = function onHandleClick(evt) {
8611
- if (evt.path) {
8612
- if (document.querySelector("#" + id + " ." + rootClassName$2d + "-panel.panel-fade-enter-done") && !evt.path.includes(document.querySelector("#" + id))) props.setOpened(false);
8613
- } else {
8614
- var aux = evt.target;
8615
- var deveFechar = true;
8616
- while (aux && aux.id !== 'root') {
8617
- if (aux && aux.id && aux.id === id && aux.classList.contains(rootClassName$2d + "-outer")) {
8618
- deveFechar = false;
8619
- break;
8620
- }
8621
- aux = aux.parentElement;
8622
- }
8623
- if (deveFechar) {
8624
- props.setOpened(false);
8625
- }
8626
- }
8627
- };
8628
- var onEscPress = function onEscPress(evt) {
8629
- if (evt.key === 'Escape') {
8630
- props.setOpened(false);
8631
- }
8632
- };
8633
- if (props.closeOnOutClick) {
8634
- if (props.opened) {
8635
- document.addEventListener('mousedown', onHandleClick);
8636
- } else {
8637
- document.removeEventListener('mousedown', onHandleClick);
8651
+ function ItemDropdownDownload(_ref) {
8652
+ var label = _ref.label,
8653
+ opened = _ref.opened,
8654
+ setOpened = _ref.setOpened,
8655
+ _ref$downloads = _ref.downloads,
8656
+ downloads = _ref$downloads === void 0 ? [] : _ref$downloads,
8657
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
8658
+ var _useState = useState(null),
8659
+ ref = _useState[0],
8660
+ setRef = _useState[1];
8661
+ var classNames = useMergedClassNames([rootClassName$2d, props.className || '', opened ? 'opened' : 'closed']);
8662
+ return React.createElement(Fragment$1, null, React.createElement("button", Object.assign({}, props, {
8663
+ ref: function ref(e) {
8664
+ return setRef(e);
8665
+ },
8666
+ className: classNames,
8667
+ onClick: function onClick(evt) {
8668
+ if (typeof props.onClick === 'function') {
8669
+ props.onClick(evt);
8638
8670
  }
8639
- }
8640
- if (props.closeOnEsc) {
8641
- if (props.opened) {
8642
- document.addEventListener('keyup', onEscPress);
8643
- } else {
8644
- document.removeEventListener('keyup', onEscPress);
8671
+ if (typeof setOpened === 'function') {
8672
+ setOpened(!opened);
8645
8673
  }
8646
8674
  }
8647
- return function () {
8648
- document.removeEventListener('mousedown', onHandleClick);
8649
- document.removeEventListener('click', onHandleClick);
8650
- document.removeEventListener('keyup', onEscPress);
8651
- };
8652
- }, [props.opened]);
8653
- return React.createElement("div", {
8654
- className: rootClassName$2d + "-outer",
8655
- id: id
8656
- }, React.createElement("button", Object.assign({}, filteredProps), React.createElement("div", {
8675
+ }), React.createElement("div", {
8657
8676
  className: rootClassName$2d + "-label"
8658
- }, props.label), React.createElement("div", {
8659
- className: getMergedClassNames([rootClassName$2d + "-arrow", props.opened ? 'up' : 'down'])
8660
- }, React.createElement(ChevronArrowDownIcon, null))), React.createElement(CSSTransition, {
8661
- "in": props.opened,
8662
- timeout: 300,
8663
- classNames: 'panel-fade',
8664
- unmountOnExit: true
8665
- }, React.createElement("div", {
8677
+ }, label), React.createElement("div", {
8678
+ className: getMergedClassNames([rootClassName$2d + "-arrow", opened ? 'up' : 'down'])
8679
+ }, React.createElement(ChevronArrowDownIcon, null))), React.createElement(FloatingPanel$1, {
8680
+ matchWidth: true,
8681
+ opened: opened,
8682
+ setOpened: setOpened,
8683
+ statedAnchorRef: ref,
8684
+ placement: 'bottom',
8685
+ fallbackPlacements: ['bottom', 'top', 'left', 'right'],
8686
+ offset: 6,
8666
8687
  className: rootClassName$2d + "-panel"
8667
- }, props.downloads && props.downloads.length ? props.downloads.map(function (download, index) {
8688
+ }, downloads === null || downloads === void 0 ? void 0 : downloads.map(function (download, index) {
8668
8689
  return React.createElement("button", {
8669
8690
  id: download.id || undefined,
8670
8691
  className: rootClassName$2d + "-item " + (download.loading ? 'loading' : ''),
@@ -8681,12 +8702,8 @@ function ItemDropdownDownload(props) {
8681
8702
  }, download.loading ? React.createElement(PercentLoaderIcon, {
8682
8703
  indefinido: true
8683
8704
  }) : React.createElement(CloudDownloadIcon, null)));
8684
- }) : undefined)));
8705
+ })));
8685
8706
  }
8686
- ItemDropdownDownload.defaultProps = {
8687
- closeOnOutClick: true,
8688
- closeOnEsc: true
8689
- };
8690
8707
  var ItemDropdownDownload$1 = memo(ItemDropdownDownload);
8691
8708
 
8692
8709
  var rootClassName$2e = 'component-menu-item';
@@ -8958,7 +8975,7 @@ function useScreenSize() {
8958
8975
  return value;
8959
8976
  }
8960
8977
 
8961
- var _excluded$a = ["className", "compenseColPaddingContent", "footer", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "title"];
8978
+ var _excluded$h = ["className", "compenseColPaddingContent", "footer", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "title"];
8962
8979
  var rootClassName$2g = 'component-modal';
8963
8980
  function Modal(_ref) {
8964
8981
  var className = _ref.className,
@@ -8972,7 +8989,7 @@ function Modal(_ref) {
8972
8989
  _ref$tag = _ref.tag,
8973
8990
  tag = _ref$tag === void 0 ? 'dialog' : _ref$tag,
8974
8991
  title = _ref.title,
8975
- props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
8992
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
8976
8993
  var _useScreenSize = useScreenSize(),
8977
8994
  rankedSize = _useScreenSize.rankedSize;
8978
8995
  var modalProps = useMemo(function () {
@@ -9145,7 +9162,7 @@ PageSubTitle.defaultProps = {
9145
9162
  text: ''
9146
9163
  };
9147
9164
 
9148
- var _excluded$b = ["boundaryCount", "count", "currentPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "siblingCount", "maxLength"];
9165
+ var _excluded$i = ["boundaryCount", "count", "currentPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "siblingCount", "maxLength"];
9149
9166
  function usePagination(props) {
9150
9167
  var _ref;
9151
9168
  if (props === void 0) {
@@ -9169,7 +9186,7 @@ function usePagination(props) {
9169
9186
  _props$siblingCount = _props.siblingCount,
9170
9187
  siblingCount = _props$siblingCount === void 0 ? 1 : _props$siblingCount,
9171
9188
  maxLength = _props.maxLength,
9172
- other = _objectWithoutPropertiesLoose(_props, _excluded$b);
9189
+ other = _objectWithoutPropertiesLoose(_props, _excluded$i);
9173
9190
  var isControlledRef = useRef(pageProp !== undefined);
9174
9191
  var _useState = useState(currentPage),
9175
9192
  pageCurrent = _useState[0],
@@ -9261,7 +9278,7 @@ var ThreeDots = function ThreeDots() {
9261
9278
  }));
9262
9279
  };
9263
9280
 
9264
- var _excluded$c = ["page", "type", "selected"];
9281
+ var _excluded$j = ["page", "type", "selected"];
9265
9282
  var rootClassName$2k = 'pagination-component';
9266
9283
  var Pagination = function Pagination(props) {
9267
9284
  var _useScreenSize = useScreenSize(),
@@ -9387,7 +9404,7 @@ var Pagination = function Pagination(props) {
9387
9404
  var page = _ref2.page,
9388
9405
  type = _ref2.type,
9389
9406
  selected = _ref2.selected,
9390
- item = _objectWithoutPropertiesLoose(_ref2, _excluded$c);
9407
+ item = _objectWithoutPropertiesLoose(_ref2, _excluded$j);
9391
9408
  var children = null;
9392
9409
  if (type === 'start-ellipsis' || type === 'end-ellipsis') {
9393
9410
  children = React.createElement("li", {
@@ -9728,7 +9745,7 @@ var RadioButtonType;
9728
9745
  RadioButtonType["New"] = "new";
9729
9746
  })(RadioButtonType || (RadioButtonType = {}));
9730
9747
 
9731
- var _excluded$d = ["onChange", "value", "className", "theme", "error", "type"];
9748
+ var _excluded$k = ["onChange", "value", "className", "theme", "error", "type"];
9732
9749
  var rootClassName$2o = 'component-radio-button';
9733
9750
  function RadioButton(_ref) {
9734
9751
  var onChange = _ref.onChange,
@@ -9741,7 +9758,7 @@ function RadioButton(_ref) {
9741
9758
  error = _ref$error === void 0 ? false : _ref$error,
9742
9759
  _ref$type = _ref.type,
9743
9760
  type = _ref$type === void 0 ? 'button' : _ref$type,
9744
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
9761
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
9745
9762
  var classNames = useMergedClassNames([rootClassName$2o, theme, className]);
9746
9763
  return React.createElement("button", Object.assign({}, props, {
9747
9764
  type: type,
@@ -10092,25 +10109,23 @@ var Search$1 = memo(Search);
10092
10109
 
10093
10110
  var rootClassName$2r = 'component-select';
10094
10111
  function Select(props) {
10095
- var _props$options3;
10096
- var _useState = useState(getUniqueKey()),
10097
- id = _useState[0];
10098
- var _useState2 = useState(getUniqueKey()),
10099
- panelId = _useState2[0];
10100
- var _useState3 = useState(false),
10101
- panelOpened = _useState3[0],
10102
- setPanelOpened = _useState3[1];
10103
- var _useState4 = useState(''),
10104
- filterInput = _useState4[0],
10105
- setFilterInput = _useState4[1];
10106
- var _useState5 = useState(false),
10107
- fakeSelectFocused = _useState5[0],
10108
- setFakeSelectFocused = _useState5[1];
10109
- var _useState6 = useState(null),
10110
- inter = _useState6[0],
10111
- setInter = _useState6[1];
10112
- var interRef = useRef(inter);
10113
- interRef.current = inter;
10112
+ var _props$options4;
10113
+ var panelId = useMemo(function () {
10114
+ return getUniqueKey();
10115
+ }, []);
10116
+ var _useState = useState(),
10117
+ anchorRef = _useState[0],
10118
+ setAnchorRef = _useState[1];
10119
+ var wrapperRef = createRef();
10120
+ var _useState2 = useState(false),
10121
+ panelOpened = _useState2[0],
10122
+ setPanelOpened = _useState2[1];
10123
+ var _useState3 = useState(''),
10124
+ filterInput = _useState3[0],
10125
+ setFilterInput = _useState3[1];
10126
+ var _useState4 = useState(false),
10127
+ fakeSelectFocused = _useState4[0],
10128
+ setFakeSelectFocused = _useState4[1];
10114
10129
  var getKey = function getKey(option) {
10115
10130
  if (option) {
10116
10131
  if (option.key) return option.key;
@@ -10118,93 +10133,6 @@ function Select(props) {
10118
10133
  }
10119
10134
  return getUniqueKey();
10120
10135
  };
10121
- useEffect(function () {
10122
- var func = function func(evt) {
10123
- var aux = evt.target;
10124
- var deveFechar = true;
10125
- while (aux && aux.id !== 'root') {
10126
- if (aux && aux.id && aux.id === id && aux.classList.contains(rootClassName$2r + "-outer")) {
10127
- deveFechar = false;
10128
- break;
10129
- }
10130
- aux = aux.parentElement;
10131
- }
10132
- if (deveFechar) {
10133
- setPanelOpened(false);
10134
- }
10135
- };
10136
- var onEsc = function onEsc(evt) {
10137
- if (evt.key === 'Escape') {
10138
- setPanelOpened(false);
10139
- evt.preventDefault();
10140
- evt.stopPropagation();
10141
- }
10142
- };
10143
- if (panelOpened) {
10144
- var _document, _document$querySelect;
10145
- document.addEventListener('keydown', onEsc);
10146
- document.addEventListener('click', func);
10147
- document.body.append(document.querySelector("#" + panelId));
10148
- (_document = document) === null || _document === void 0 ? void 0 : (_document$querySelect = _document.querySelector("#" + id)) === null || _document$querySelect === void 0 ? void 0 : _document$querySelect.append(document.querySelector("#" + panelId));
10149
- } else {
10150
- document.removeEventListener('keydown', onEsc);
10151
- document.removeEventListener('click', func);
10152
- setTimeout(function () {
10153
- return setFilterInput('');
10154
- }, 400);
10155
- }
10156
- return function () {
10157
- document.removeEventListener('keydown', onEsc);
10158
- document.removeEventListener('click', func);
10159
- };
10160
- }, [id, panelId, panelOpened]);
10161
- useEffect(function () {
10162
- if (interRef.current) {
10163
- clearInterval(interRef.current);
10164
- setInter(null);
10165
- }
10166
- var position = function position() {
10167
- var trigger = document.querySelector("#" + id);
10168
- var panel = document.querySelector("#" + panelId + ".panel-fade-enter-active, #" + panelId + ".panel-fade-enter-done, #" + panelId + ".panel-fade-exit-active");
10169
- if (!trigger || !panel) return;
10170
- var triggerBound = trigger.getBoundingClientRect();
10171
- panel.style.width = triggerBound.width + "px";
10172
- var windowHeight = window.innerHeight;
10173
- var panelHeight = panel.getBoundingClientRect().height;
10174
- var fitBottom = panelHeight + triggerBound.bottom < windowHeight;
10175
- var fitTop = triggerBound.top - panelHeight > 0;
10176
- if (fitBottom && !props.bottomPanel) {
10177
- panel.style.top = triggerBound.bottom - 16 + "px";
10178
- panel.style.left = 'unset';
10179
- panel.style.bottom = 'unset';
10180
- panel.style.borderRadius = '0 0 8px 8px';
10181
- panel.style.boxShadow = '0 0 2px 0 rgba(90, 100, 90, 0.3)';
10182
- } else if (fitTop && !props.bottomPanel) {
10183
- panel.style.top = triggerBound.top - panelHeight + "px";
10184
- panel.style.left = 'unset';
10185
- panel.style.bottom = 'unset';
10186
- panel.style.borderRadius = '8px';
10187
- panel.style.boxShadow = '0 0 2px 0 rgba(90, 100, 90, 0.3)';
10188
- } else {
10189
- panel.style.top = 'unset';
10190
- panel.style.left = '0';
10191
- panel.style.bottom = '0';
10192
- panel.style.width = '100%';
10193
- panel.style.borderRadius = '8px 8px 0 0';
10194
- panel.style.boxShadow = '0 -10px 0 5000px rgba(0, 0, 0, 0.5)';
10195
- }
10196
- };
10197
- if (panelOpened) {
10198
- position();
10199
- setInter(setInterval(position, 20));
10200
- }
10201
- return function () {
10202
- if (interRef.current) {
10203
- clearInterval(interRef.current);
10204
- setInter(null);
10205
- }
10206
- };
10207
- }, [panelOpened]);
10208
10136
  var opcoes = JSON.stringify(props.options);
10209
10137
  useEffect(function () {
10210
10138
  if (props.preSelectUniqueOption && props.options && props.options.length === 1) {
@@ -10219,7 +10147,7 @@ function Select(props) {
10219
10147
  }
10220
10148
  }
10221
10149
  }, [opcoes]);
10222
- var getRightObject = function getRightObject() {
10150
+ var RightObject = useMemo(function () {
10223
10151
  return React.createElement("div", {
10224
10152
  className: rootClassName$2r + "-objects"
10225
10153
  }, props.clearButton && !props.readOnly && (props.multiple && props.value && Array.isArray(props.value) && props.value.length || !props.multiple && (props.value || props.value === 0 || props.value === false)) ? React.createElement(IconButton$1, {
@@ -10229,10 +10157,12 @@ function Select(props) {
10229
10157
  icon: React.createElement(CloseIcon, null),
10230
10158
  onClick: function onClick() {
10231
10159
  if (props.multiple) {
10160
+ setPanelOpened(false);
10232
10161
  props.onChange([], {
10233
10162
  setPanelOpened: setPanelOpened
10234
10163
  });
10235
10164
  } else {
10165
+ setPanelOpened(false);
10236
10166
  props.onChange(null, {
10237
10167
  setPanelOpened: setPanelOpened
10238
10168
  });
@@ -10247,16 +10177,17 @@ function Select(props) {
10247
10177
  },
10248
10178
  icon: React.createElement(ChevronArrowDownIcon, null)
10249
10179
  }));
10250
- };
10180
+ }, [panelOpened, props]);
10251
10181
  var getInputProps = function getInputProps() {
10252
10182
  var _props$options;
10253
10183
  var p = _extends({}, props, {
10254
10184
  className: getMergedClassNames([rootClassName$2r, props.className]),
10255
10185
  forceFocus: fakeSelectFocused,
10256
10186
  readOnly: true,
10257
- rightObject: getRightObject(),
10187
+ rightObject: RightObject,
10258
10188
  onClick: function onClick() {
10259
- var selectFake = document.querySelector("#" + id + " ." + rootClassName$2r + "-select-fake");
10189
+ var _wrapperRef$current;
10190
+ var selectFake = (_wrapperRef$current = wrapperRef.current) === null || _wrapperRef$current === void 0 ? void 0 : _wrapperRef$current.querySelector("." + rootClassName$2r + "-select-fake");
10260
10191
  if (!props.multiple && isiPhone() && selectFake) {
10261
10192
  selectFake.focus();
10262
10193
  } else {
@@ -10264,7 +10195,8 @@ function Select(props) {
10264
10195
  }
10265
10196
  },
10266
10197
  onFocus: function onFocus(evt) {
10267
- var selectFake = document.querySelector("#" + id + " ." + rootClassName$2r + "-select-fake");
10198
+ var _wrapperRef$current2;
10199
+ var selectFake = (_wrapperRef$current2 = wrapperRef.current) === null || _wrapperRef$current2 === void 0 ? void 0 : _wrapperRef$current2.querySelector("." + rootClassName$2r + "-select-fake");
10268
10200
  if (!props.multiple && isiPhone() && selectFake) {
10269
10201
  selectFake.focus();
10270
10202
  } else {
@@ -10282,7 +10214,7 @@ function Select(props) {
10282
10214
  inputFilter.focus();
10283
10215
  evt.preventDefault();
10284
10216
  } else {
10285
- var firstOption = document.querySelector("#" + id + " ." + rootClassName$2r + "-options div");
10217
+ var firstOption = document.querySelector("#" + panelId + " ." + rootClassName$2r + "-options div");
10286
10218
  if (firstOption) {
10287
10219
  firstOption.focus();
10288
10220
  evt.preventDefault();
@@ -10464,38 +10396,8 @@ function Select(props) {
10464
10396
  return getStringWithoutSpecialChar(op.label).toLowerCase().match(getStringWithoutSpecialChar(filterInput).toLowerCase());
10465
10397
  })) || [];
10466
10398
  }, [props.options, filterInput]);
10467
- return React.createElement("div", {
10468
- id: id,
10469
- className: rootClassName$2r + "-outer"
10470
- }, !props.multiple && isiPhone() && React.createElement("select", {
10471
- className: rootClassName$2r + "-select-fake",
10472
- value: props.value ? String(props.value) : '',
10473
- onChange: function onChange(evt) {
10474
- return props.onChange(evt.target.value, {
10475
- setPanelOpened: setPanelOpened
10476
- });
10477
- },
10478
- tabIndex: props.tabIndex,
10479
- onFocus: function onFocus() {
10480
- return setFakeSelectFocused(true);
10481
- },
10482
- onBlur: function onBlur() {
10483
- return setFakeSelectFocused(false);
10484
- }
10485
- }, React.createElement("option", {
10486
- value: '',
10487
- disabled: true
10488
- }, languageValues.components.select.single.fakeOption), (_props$options3 = props.options) === null || _props$options3 === void 0 ? void 0 : _props$options3.map(function (opt) {
10489
- return React.createElement("option", {
10490
- key: getKey(opt),
10491
- value: typeof opt.value !== 'string' ? String(opt.value) : opt.value
10492
- }, opt.label);
10493
- })), React.createElement(Input$1, Object.assign({}, getInputProps())), React.createElement(CSSTransition, {
10494
- "in": panelOpened,
10495
- timeout: 300,
10496
- classNames: 'panel-fade',
10497
- unmountOnExit: true,
10498
- onEnter: function onEnter() {
10399
+ useLayoutEffect(function () {
10400
+ if (panelOpened) {
10499
10401
  var panel = document.querySelector("#" + panelId);
10500
10402
  if (window.innerHeight < panel.getBoundingClientRect().bottom) {
10501
10403
  panel.style.top = 'unset';
@@ -10515,8 +10417,8 @@ function Select(props) {
10515
10417
  }, 50);
10516
10418
  }
10517
10419
  } else {
10518
- var _props$options4;
10519
- var elProps = (_props$options4 = props.options) === null || _props$options4 === void 0 ? void 0 : _props$options4.map(function (opt, index) {
10420
+ var _props$options3;
10421
+ var elProps = (_props$options3 = props.options) === null || _props$options3 === void 0 ? void 0 : _props$options3.map(function (opt, index) {
10520
10422
  return _extends({}, opt, {
10521
10423
  ind: index
10522
10424
  });
@@ -10533,13 +10435,52 @@ function Select(props) {
10533
10435
  }
10534
10436
  }
10535
10437
  }
10536
- },
10537
- onExit: function onExit() {
10538
- var inputElement = document.querySelector("#" + id + " input");
10438
+ } else {
10439
+ var _wrapperRef$current3;
10440
+ var inputElement = (_wrapperRef$current3 = wrapperRef.current) === null || _wrapperRef$current3 === void 0 ? void 0 : _wrapperRef$current3.querySelector("input");
10539
10441
  if (inputElement && !isiPhone()) {
10540
10442
  inputElement.focus();
10541
10443
  }
10542
10444
  }
10445
+ }, [panelOpened]);
10446
+ return React.createElement("div", {
10447
+ ref: wrapperRef,
10448
+ className: rootClassName$2r + "-outer"
10449
+ }, !props.multiple && isiPhone() && React.createElement("select", {
10450
+ className: rootClassName$2r + "-select-fake",
10451
+ value: props.value ? String(props.value) : '',
10452
+ onChange: function onChange(evt) {
10453
+ return props.onChange(evt.target.value, {
10454
+ setPanelOpened: setPanelOpened
10455
+ });
10456
+ },
10457
+ tabIndex: props.tabIndex,
10458
+ onFocus: function onFocus() {
10459
+ return setFakeSelectFocused(true);
10460
+ },
10461
+ onBlur: function onBlur() {
10462
+ return setFakeSelectFocused(false);
10463
+ }
10464
+ }, React.createElement("option", {
10465
+ value: '',
10466
+ disabled: true
10467
+ }, languageValues.components.select.single.fakeOption), (_props$options4 = props.options) === null || _props$options4 === void 0 ? void 0 : _props$options4.map(function (opt) {
10468
+ return React.createElement("option", {
10469
+ key: getKey(opt),
10470
+ value: typeof opt.value !== 'string' ? String(opt.value) : opt.value
10471
+ }, opt.label);
10472
+ })), React.createElement(Input$1, Object.assign({}, getInputProps(), {
10473
+ ref: function ref(r) {
10474
+ return setAnchorRef(r);
10475
+ }
10476
+ })), React.createElement(FloatingPanel$1, {
10477
+ statedAnchorRef: anchorRef,
10478
+ opened: panelOpened,
10479
+ setOpened: setPanelOpened,
10480
+ matchWidth: true,
10481
+ placement: 'bottom',
10482
+ fallbackPlacements: ['top', 'left', 'right'],
10483
+ offset: 1
10543
10484
  }, React.createElement("div", {
10544
10485
  id: panelId,
10545
10486
  className: rootClassName$2r + "-panel " + (props.multiple ? 'multiple' : '')
@@ -10554,7 +10495,7 @@ function Select(props) {
10554
10495
  hideLabelAndHelperText: true,
10555
10496
  onKeyDown: function onKeyDown(evt) {
10556
10497
  if (evt.key === 'Tab' && !evt.shiftKey || evt.key === 'ArrowDown') {
10557
- var el = document.querySelector("#" + id + " ." + rootClassName$2r + "-options div");
10498
+ var el = document.querySelector("#" + panelId + " ." + rootClassName$2r + "-options div");
10558
10499
  if (el) {
10559
10500
  el.focus();
10560
10501
  evt.preventDefault();
@@ -10641,7 +10582,7 @@ Switch.defaultProps = {
10641
10582
  scale: 1
10642
10583
  };
10643
10584
 
10644
- var _excluded$e = ["columns", "lines", "onSort", "confirmSort", "sortable", "upperHeader", "className"];
10585
+ var _excluded$l = ["columns", "lines", "onSort", "confirmSort", "sortable", "upperHeader", "className"];
10645
10586
  var rootClassName$2t = 'component-table';
10646
10587
  function TypedTable(props) {
10647
10588
  return React.createElement(Table, Object.assign({}, props));
@@ -10654,7 +10595,7 @@ function Table(_ref) {
10654
10595
  sortable = _ref.sortable,
10655
10596
  upperHeader = _ref.upperHeader,
10656
10597
  className = _ref.className,
10657
- props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
10598
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
10658
10599
  var itemsId = useMemo(function () {
10659
10600
  return "table" + getUniqueKey();
10660
10601
  }, []);
@@ -11254,13 +11195,13 @@ function TextEditorColorPicker(props) {
11254
11195
  }, "OK")));
11255
11196
  }
11256
11197
 
11257
- var _excluded$f = ["icon", "active"];
11198
+ var _excluded$m = ["icon", "active"];
11258
11199
  var rootClassName$2C = 'text-editor-header-button';
11259
11200
  function TextEditorHeaderButton(_ref) {
11260
11201
  var _props$className;
11261
11202
  var icon = _ref.icon,
11262
11203
  active = _ref.active,
11263
- props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
11204
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
11264
11205
  return React.createElement("button", Object.assign({
11265
11206
  className: getMergedClassNames([rootClassName$2C, active ? 'active' : '', (_props$className = props.className) != null ? _props$className : ''])
11266
11207
  }, props), icon);
@@ -11809,6 +11750,7 @@ var ToastManager = forwardRef(function (props, ref) {
11809
11750
  return a.id !== id;
11810
11751
  });
11811
11752
  setArrayOfToast(arr);
11753
+ toasts.current = arr;
11812
11754
  };
11813
11755
  useImperativeHandle(ref, function () {
11814
11756
  return {
@@ -12118,7 +12060,7 @@ TopLoader.defaultProps = {
12118
12060
  })
12119
12061
  };
12120
12062
 
12121
- var _excluded$g = ["className", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "urlVideo", "videoPlayerProps"];
12063
+ var _excluded$n = ["className", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "urlVideo", "videoPlayerProps"];
12122
12064
  var rootClassName$2M = 'video-modal';
12123
12065
  function VideoModal(_ref) {
12124
12066
  var _ref2;
@@ -12132,7 +12074,7 @@ function VideoModal(_ref) {
12132
12074
  tag = _ref$tag === void 0 ? 'dialog' : _ref$tag,
12133
12075
  urlVideo = _ref.urlVideo,
12134
12076
  videoPlayerProps = _ref.videoPlayerProps,
12135
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
12077
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
12136
12078
  var _useScreenSize = useScreenSize(),
12137
12079
  rankedSize = _useScreenSize.rankedSize;
12138
12080
  var handleClose = useCallback(function () {
@@ -12158,13 +12100,57 @@ VideoModal.defaultProps = {
12158
12100
  size: 'md'
12159
12101
  };
12160
12102
 
12161
- var _excluded$h = ["className"];
12103
+ var _excluded$o = ["className"];
12162
12104
  var rootClassName$2N = 'icon-component';
12163
- var MiniInformationIcon = function MiniInformationIcon(_ref) {
12105
+ function Bell16Icon(_ref) {
12164
12106
  var _ref$className = _ref.className,
12165
12107
  className = _ref$className === void 0 ? '' : _ref$className,
12166
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
12108
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
12167
12109
  var classNames = useMergedClassNames([rootClassName$2N, className]);
12110
+ return React.createElement("svg", Object.assign({
12111
+ width: '16',
12112
+ height: '16',
12113
+ viewBox: '0 0 16 16',
12114
+ fill: 'none',
12115
+ xmlns: 'http://www.w3.org/2000/svg',
12116
+ className: classNames
12117
+ }, props), React.createElement("path", {
12118
+ fillRule: 'evenodd',
12119
+ clipRule: 'evenodd',
12120
+ d: 'M12.2013 8.544C12.2073 10.042 12.7943 11.453 13.8541 12.516C13.9653 12.626 14.0144 12.78 13.9964 12.931C14.0074 13.042 13.9913 13.158 13.9443 13.266C13.8441 13.515 13.6317 13.669 13.3112 13.678H10.4643C10.3832 14.971 9.31538 16 8.00014 16C6.6859 16 5.61808 14.971 5.53594 13.678H2.68308H2.67406C2.4016 13.678 2.15518 13.512 2.05201 13.252C1.99391 13.121 1.98589 12.973 2.02095 12.834C2.02095 12.716 2.06102 12.603 2.14717 12.516C3.20697 11.453 3.79397 10.042 3.79998 8.542L3.79898 6.082C3.79698 4.199 5.06814 2.543 6.89025 2.055C6.99342 2.029 7.05453 2.016 7.11864 2.003C7.23884 1.978 7.36906 1.966 7.49929 1.957V0.5C7.49929 0.224 7.72367 0 8.00014 0C8.27761 0 8.50099 0.224 8.50099 0.5V1.957C8.63222 1.966 8.76244 1.978 8.89066 2.005C8.94675 2.016 9.00786 2.029 9.06996 2.044C10.9331 2.543 12.2043 4.199 12.2023 6.083L12.2013 8.544ZM9.47866 13.178C9.47866 12.902 9.70304 12.678 9.97951 12.678H12.6571C11.7175 11.508 11.2056 10.066 11.1996 8.546L11.2006 6.082C11.2026 4.651 10.2359 3.392 8.85059 3.022L8.68731 2.984C8.61038 2.9673 8.53764 2.96176 8.46617 2.95631C8.45203 2.95523 8.43793 2.95416 8.42386 2.953L8.30165 2.945C8.28562 2.944 8.20449 2.931 8.18846 2.928L8.04321 2.917C8.02759 2.91815 7.99794 2.91798 7.97065 2.91781C7.95069 2.91769 7.93201 2.91758 7.921 2.918L7.57742 2.953C7.56222 2.95425 7.54698 2.9554 7.53173 2.95656C7.46158 2.96187 7.3911 2.96721 7.32198 2.982L7.18174 3.013C5.76533 3.392 4.79868 4.651 4.80069 6.081L4.80169 8.544C4.79568 10.066 4.28281 11.508 3.34421 12.678H6.02177C6.29824 12.678 6.52262 12.902 6.52262 13.178V13.525C6.52262 14.338 7.18575 15 8.00014 15C8.81553 15 9.47866 14.338 9.47866 13.525V13.178Z',
12121
+ fill: 'currentColor'
12122
+ }));
12123
+ }
12124
+
12125
+ var _excluded$p = ["className"];
12126
+ var rootClassName$2O = 'icon-component';
12127
+ function BellIcon(_ref) {
12128
+ var _ref$className = _ref.className,
12129
+ className = _ref$className === void 0 ? '' : _ref$className,
12130
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
12131
+ var classNames = useMergedClassNames([rootClassName$2O, className]);
12132
+ return React.createElement("svg", Object.assign({
12133
+ width: '24',
12134
+ height: '24',
12135
+ viewBox: '0 0 24 24',
12136
+ fill: 'none',
12137
+ xmlns: 'http://www.w3.org/2000/svg',
12138
+ className: classNames
12139
+ }, props), React.createElement("path", {
12140
+ fillRule: 'evenodd',
12141
+ clipRule: 'evenodd',
12142
+ d: 'M20.8526 19.112C20.9707 19.229 21.0211 19.396 20.9919 19.555C21.01 19.693 20.9929 19.835 20.9343 19.967C20.8253 20.249 20.5095 20.431 20.2067 20.439H15.5633V20.469C15.5633 22.416 13.9648 24 12.0009 24C10.0359 24 8.43735 22.416 8.43735 20.469V20.439H3.78592H3.7728C3.46398 20.439 3.17434 20.244 3.05828 19.949C2.98965 19.793 2.98259 19.615 3.03204 19.448C3.02397 19.324 3.05626 19.203 3.1481 19.112C4.8365 17.432 5.77103 15.203 5.78112 12.833L5.7791 9.058C5.77607 6.292 7.65824 3.858 10.3558 3.141C10.4992 3.104 10.589 3.085 10.6778 3.067C10.8736 3.027 11.0653 3.011 11.2571 2.999L11.4256 2.986L11.4962 2.974V0.5C11.4962 0.223 11.7213 0 12.0009 0C12.2794 0 12.5055 0.223 12.5055 0.5V2.974C12.5103 2.97536 12.5146 2.97579 12.5191 2.97625C12.5212 2.97646 12.5234 2.97668 12.5256 2.977L12.7436 2.999C12.9354 3.011 13.1281 3.027 13.3169 3.066C13.4117 3.085 13.5015 3.104 13.5893 3.127C16.3425 3.858 18.2256 6.292 18.2226 9.059L18.2206 12.835C18.2307 15.203 19.1642 17.432 20.8526 19.112ZM14.5541 19.939C14.5541 19.663 14.7802 19.439 15.0587 19.439H19.7768C18.1277 17.622 17.2215 15.297 17.2114 12.836L17.2134 9.058C17.2164 6.743 15.6411 4.708 13.3835 4.108C13.2793 4.08031 13.2128 4.06599 13.1535 4.05324C13.1422 4.0508 13.1311 4.04841 13.1201 4.046C12.9782 4.01659 12.8431 4.00745 12.7094 3.99841C12.6976 3.99761 12.6858 3.99681 12.674 3.996L12.4883 3.982C12.4722 3.981 12.3551 3.963 12.3399 3.96L12.1906 3.946C12.0765 3.94 12.0412 3.935 12.0069 3.93C12.0059 3.93 12.0049 3.93025 12.0039 3.9305C12.0029 3.93075 12.0019 3.931 12.0009 3.931C11.9998 3.931 11.9988 3.93075 11.9978 3.9305C11.9968 3.93025 11.9958 3.93 11.9948 3.93L11.9912 3.93053C11.9581 3.93535 11.926 3.94004 11.8939 3.941C11.8898 3.941 11.7152 3.951 11.7122 3.952C11.6961 3.955 11.5316 3.98 11.5154 3.982L11.3277 3.996C11.316 3.9968 11.3042 3.99759 11.2925 3.99838C11.1581 4.00743 11.0245 4.01641 10.8927 4.044C10.8816 4.04635 10.8706 4.04864 10.8599 4.0509C10.7928 4.06495 10.7329 4.07749 10.6737 4.093C8.35964 4.708 6.78528 6.743 6.78831 9.057L6.79032 12.835C6.78023 15.297 5.87296 17.622 4.22492 19.439H8.94195C9.2215 19.439 9.44655 19.663 9.44655 19.939V20.469C9.44655 21.865 10.592 23 12.0009 23C13.4087 23 14.5541 21.865 14.5541 20.469V19.939Z',
12143
+ fill: 'currentColor'
12144
+ }));
12145
+ }
12146
+
12147
+ var _excluded$q = ["className"];
12148
+ var rootClassName$2P = 'icon-component';
12149
+ var MiniInformationIcon = function MiniInformationIcon(_ref) {
12150
+ var _ref$className = _ref.className,
12151
+ className = _ref$className === void 0 ? '' : _ref$className,
12152
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
12153
+ var classNames = useMergedClassNames([rootClassName$2P, className]);
12168
12154
  return React.createElement("svg", Object.assign({
12169
12155
  viewBox: '0 0 12 12',
12170
12156
  xmlns: 'http://www.w3.org/2000/svg',
@@ -12179,10 +12165,10 @@ var MiniInformationIcon = function MiniInformationIcon(_ref) {
12179
12165
  }));
12180
12166
  };
12181
12167
 
12182
- var rootClassName$2O = 'icon-component';
12168
+ var rootClassName$2Q = 'icon-component';
12183
12169
  var PhonePlusIcon = function PhonePlusIcon() {
12184
12170
  return React.createElement("svg", {
12185
- className: rootClassName$2O,
12171
+ className: rootClassName$2Q,
12186
12172
  viewBox: '0 0 24 24',
12187
12173
  fill: 'currentColor',
12188
12174
  xmlns: 'http://www.w3.org/2000/svg'
@@ -12193,7 +12179,22 @@ var PhonePlusIcon = function PhonePlusIcon() {
12193
12179
  }));
12194
12180
  };
12195
12181
 
12196
- var rootClassName$2P = 'calendar-header';
12182
+ var rootClassName$2R = 'icon-component';
12183
+ var Settings16Icon = function Settings16Icon() {
12184
+ return React.createElement("svg", {
12185
+ className: rootClassName$2R,
12186
+ viewBox: '0 0 16 16',
12187
+ fill: 'currentColor',
12188
+ xmlns: 'http://www.w3.org/2000/svg'
12189
+ }, React.createElement("path", {
12190
+ fillRule: 'evenodd',
12191
+ clipRule: 'evenodd',
12192
+ d: 'M14.5535 7.29484L15.6965 6.23441C16.0246 5.93023 16.0948 5.45145 15.8674 5.0719L14.5784 2.93093C14.3509 2.55121 13.8816 2.36878 13.4415 2.4906L11.8723 2.92191C11.4921 2.65989 11.0838 2.4382 10.6539 2.2604L10.2522 0.723412C10.1435 0.299985 9.74737 0.00210814 9.29151 5.77838e-06L6.71207 0C6.25442 0 5.85575 0.298948 5.74625 0.725421L5.32683 2.33479C4.94525 2.50579 4.58153 2.71205 4.2409 2.95044L2.55717 2.48922C2.11986 2.36756 1.6502 2.54913 1.42213 2.9299L0.134139 5.0711C-0.0951256 5.44811 -0.0252625 5.92954 0.303601 6.23449L1.592 7.43019C1.55527 7.80953 1.55528 8.19175 1.59201 8.57155L0.303725 9.76539C-0.0245352 10.0698 -0.0947095 10.5496 0.132619 10.9291L1.42167 13.0701C1.65117 13.4496 2.11865 13.6307 2.55691 13.5109L4.2405 13.0497C4.58094 13.2885 4.94474 13.495 5.32679 13.6662L5.74667 15.2782C5.85864 15.7036 6.25569 16 6.71207 16H9.28901C9.74555 16 10.1429 15.7012 10.2526 15.2761L10.653 13.7414C11.0829 13.5634 11.4915 13.3417 11.8712 13.0801L13.4414 13.5117C13.8799 13.633 14.3489 13.4514 14.5773 13.0721L15.8658 10.931C16.0937 10.5506 16.0235 10.0718 15.6954 9.76751L14.5535 8.70641C14.6089 8.23717 14.6089 7.76408 14.5535 7.29484ZM13.6937 12.5407L11.9097 12.0503C11.7491 12.0062 11.5762 12.0386 11.4447 12.1374C11.0153 12.46 10.5366 12.7195 10.0256 12.907C9.86672 12.9653 9.74748 13.0943 9.70618 13.2526L9.25027 15H6.74894L6.27665 13.1868C6.23677 13.0337 6.12389 12.9076 5.97214 12.8467C5.50605 12.6597 5.0692 12.4114 4.67408 12.1091C4.54235 12.0083 4.36796 11.9748 4.20595 12.0192L2.30633 12.5396L1.05444 10.4603L2.50121 9.11961C2.62046 9.0091 2.67779 8.85077 2.65562 8.69315C2.59098 8.23354 2.59098 7.76755 2.6556 7.30899C2.6778 7.15145 2.62059 6.99318 2.50149 6.88265L1.05546 5.54066L2.30673 3.46052L4.20595 3.98078C4.3677 4.02509 4.54181 3.99179 4.67348 3.89135C5.06945 3.5893 5.50662 3.34109 5.97214 3.15426C6.12387 3.09336 6.23674 2.96734 6.27663 2.81427L6.74945 1H9.25003L9.70727 2.74959C9.74865 2.90792 9.86799 3.0369 10.027 3.09512C10.5376 3.28213 11.0153 3.54126 11.4458 3.86464C11.5773 3.96344 11.7501 3.99579 11.9107 3.95166L13.6942 3.46144L14.9457 5.54005L13.6398 6.75159C13.518 6.86461 13.461 7.0274 13.4872 7.18804C13.5748 7.72699 13.5748 8.27401 13.4872 8.81297C13.4611 8.97346 13.5179 9.13612 13.6395 9.24913L14.9447 10.4619L13.6937 12.5407ZM7.99991 4.25049C10.159 4.25049 11.9091 5.92935 11.9091 8.00049C11.9091 10.0716 10.159 11.7505 7.99991 11.7505C5.84085 11.7505 4.09073 10.0716 4.09073 8.00049C4.09073 5.92935 5.84085 4.25049 7.99991 4.25049ZM7.99971 5.25049C6.41637 5.25049 5.13297 6.48163 5.13297 8.00049C5.13297 9.51935 6.41637 10.7505 7.99971 10.7505C9.58304 10.7505 10.8664 9.51935 10.8664 8.00049C10.8664 6.48163 9.58304 5.25049 7.99971 5.25049Z',
12193
+ fill: 'currentColor'
12194
+ }));
12195
+ };
12196
+
12197
+ var rootClassName$2S = 'calendar-header';
12197
12198
  function CalendarHeader(props) {
12198
12199
  var size = useScreenSize();
12199
12200
  var days = useMemo(function () {
@@ -12203,16 +12204,16 @@ function CalendarHeader(props) {
12203
12204
  return props.language.daysOfWeek;
12204
12205
  }, [props.language.daysOfWeek, props.language.daysOfWeekAbrev, size]);
12205
12206
  return React.createElement("div", {
12206
- className: rootClassName$2P
12207
+ className: rootClassName$2S
12207
12208
  }, days.map(function (d, i) {
12208
12209
  return React.createElement("div", {
12209
- className: rootClassName$2P + "-day",
12210
+ className: rootClassName$2S + "-day",
12210
12211
  key: i
12211
12212
  }, d);
12212
12213
  }));
12213
12214
  }
12214
12215
 
12215
- var rootClassName$2Q = 'evento-calendario';
12216
+ var rootClassName$2T = 'evento-calendario';
12216
12217
  function CalendarEvent(props) {
12217
12218
  var _useState = useState(props.forceExpanded || false),
12218
12219
  expanded = _useState[0],
@@ -12241,12 +12242,12 @@ function CalendarEvent(props) {
12241
12242
  return React.createElement(Fragment$1, null, "large");
12242
12243
  case 'medium':
12243
12244
  return React.createElement(Fragment$1, null, React.createElement("div", {
12244
- className: rootClassName$2Q + "-tipo",
12245
+ className: rootClassName$2T + "-tipo",
12245
12246
  style: {
12246
12247
  borderColor: props.color
12247
12248
  }
12248
12249
  }, props.tipoEvento), React.createElement("div", {
12249
- className: rootClassName$2Q + "-label"
12250
+ className: rootClassName$2T + "-label"
12250
12251
  }, React.createElement(CSSTransition, {
12251
12252
  "in": !props.forceExpanded && (!expanded || !props.expandedLabel),
12252
12253
  timeout: 300,
@@ -12256,26 +12257,26 @@ function CalendarEvent(props) {
12256
12257
  opened: props.forceExpanded || expanded && !!props.expandedLabel,
12257
12258
  animateOpacity: true
12258
12259
  }, React.createElement(Fragment$1, null, React.createElement("span", null, props.expandedLabel), React.createElement("div", {
12259
- className: rootClassName$2Q + "-date-label"
12260
+ className: rootClassName$2T + "-date-label"
12260
12261
  }, props.expandedDate)))), React.createElement("div", {
12261
- className: rootClassName$2Q + "-modalidade"
12262
+ className: rootClassName$2T + "-modalidade"
12262
12263
  }, React.createElement("div", {
12263
- className: rootClassName$2Q + "-icon"
12264
+ className: rootClassName$2T + "-icon"
12264
12265
  }, props.icon), React.createElement("div", {
12265
- className: rootClassName$2Q + "-modalidade-label nunito"
12266
+ className: rootClassName$2T + "-modalidade-label nunito"
12266
12267
  }, props.iconLabel)));
12267
12268
  case 'small':
12268
12269
  default:
12269
12270
  return React.createElement(Fragment$1, null, React.createElement("div", {
12270
- className: rootClassName$2Q + "-icon"
12271
+ className: rootClassName$2T + "-icon"
12271
12272
  }, props.icon), React.createElement("div", {
12272
- className: rootClassName$2Q + "-label nunito"
12273
+ className: rootClassName$2T + "-label nunito"
12273
12274
  }, props.tipoEvento, " | ", props.label));
12274
12275
  }
12275
12276
  }, [expanded, props.color, props.expandedDate, props.expandedLabel, props.forceExpanded, props.icon, props.iconLabel, props.label, props.size, props.tipoEvento]);
12276
12277
  return React.createElement("button", {
12277
12278
  ref: ref,
12278
- className: useMergedClassNames([rootClassName$2Q, props.size, props.borderStyle]),
12279
+ className: useMergedClassNames([rootClassName$2T, props.size, props.borderStyle]),
12279
12280
  disabled: props.disabled,
12280
12281
  onClick: function onClick(evt) {
12281
12282
  if (typeof props.onClick === 'function') {
@@ -12301,10 +12302,10 @@ CalendarEvent.defaultProps = {
12301
12302
  };
12302
12303
  var CalendarEvent$1 = memo(CalendarEvent);
12303
12304
 
12304
- var rootClassName$2R = 'calendar-chip';
12305
+ var rootClassName$2U = 'calendar-chip';
12305
12306
  function CalendarChip(props) {
12306
12307
  return React.createElement("button", {
12307
- className: useMergedClassNames([rootClassName$2R, 'nunito']),
12308
+ className: useMergedClassNames([rootClassName$2U, 'nunito']),
12308
12309
  onClick: props.onClick,
12309
12310
  disabled: props.disabled,
12310
12311
  style: {
@@ -12319,11 +12320,11 @@ CalendarChip.defaultProps = {
12319
12320
  };
12320
12321
  var CalendarChip$1 = memo(CalendarChip);
12321
12322
 
12322
- var rootClassName$2S = 'calendar-month-day';
12323
+ var rootClassName$2V = 'calendar-month-day';
12323
12324
  function CalendarMonthDay(props) {
12324
12325
  var _props$eventos, _props$eventos$length, _props$eventos2, _props$eventos$length2, _props$eventos3, _props$eventos4, _props$eventos4$slice;
12325
12326
  var classNames = useMemo(function () {
12326
- return getMergedClassNames([rootClassName$2S, props.pocket ? 'pocket' : '', props.isToday ? 'today' : '', props.disabled ? 'disabled' : '', props.highlightWeekends && (props.day.getDay() === 0 || props.day.getDay() === 6) ? 'highlight' : '']);
12327
+ return getMergedClassNames([rootClassName$2V, props.pocket ? 'pocket' : '', props.isToday ? 'today' : '', props.disabled ? 'disabled' : '', props.highlightWeekends && (props.day.getDay() === 0 || props.day.getDay() === 6) ? 'highlight' : '']);
12327
12328
  }, [props.day, props.disabled, props.highlightWeekends, props.isToday, props.pocket]);
12328
12329
  var date = new Date();
12329
12330
  date.setDate(date.getDate() - 1);
@@ -12337,9 +12338,9 @@ function CalendarMonthDay(props) {
12337
12338
  }
12338
12339
  }
12339
12340
  }, React.createElement("div", {
12340
- className: rootClassName$2S + "-label-line"
12341
+ className: rootClassName$2V + "-label-line"
12341
12342
  }, React.createElement("div", {
12342
- className: rootClassName$2S + "-day nunito",
12343
+ className: rootClassName$2V + "-day nunito",
12343
12344
  onClick: function onClick(evt) {
12344
12345
  if (props.pocket && !props.disabled && typeof props.onPlusButtonClick === 'function') {
12345
12346
  props.onPlusButtonClick(props.day, evt);
@@ -12360,7 +12361,7 @@ function CalendarMonthDay(props) {
12360
12361
  },
12361
12362
  disabled: props.disabled
12362
12363
  }) : undefined)), !props.pocket ? React.createElement(Fragment$1, null, React.createElement("div", {
12363
- className: rootClassName$2S + "-eventos"
12364
+ className: rootClassName$2V + "-eventos"
12364
12365
  }, (_props$eventos4 = props.eventos) === null || _props$eventos4 === void 0 ? void 0 : (_props$eventos4$slice = _props$eventos4.slice(0, 2)) === null || _props$eventos4$slice === void 0 ? void 0 : _props$eventos4$slice.map(function (e) {
12365
12366
  return React.createElement(CalendarEvent$1, Object.assign({
12366
12367
  key: e.id
@@ -12369,7 +12370,7 @@ function CalendarMonthDay(props) {
12369
12370
  }));
12370
12371
  })), props.showAddButton ? React.createElement("button", {
12371
12372
  disabled: props.disabledPrevAddButton ? props.day < date ? true : false : false,
12372
- className: rootClassName$2S + "-button",
12373
+ className: rootClassName$2V + "-button",
12373
12374
  onClick: function onClick(evt) {
12374
12375
  if (typeof props.onAddButtonClick === 'function') {
12375
12376
  var _props$onAddButtonCli;
@@ -12381,7 +12382,7 @@ function CalendarMonthDay(props) {
12381
12382
  }
12382
12383
  var CalendarMonthDay$1 = memo(CalendarMonthDay);
12383
12384
 
12384
- var rootClassName$2T = 'calendar-days';
12385
+ var rootClassName$2W = 'calendar-days';
12385
12386
  function CalendarDays(props) {
12386
12387
  var today = useMemo(function () {
12387
12388
  return new Date();
@@ -12399,7 +12400,7 @@ function CalendarDays(props) {
12399
12400
  return false;
12400
12401
  }, [props.referencia, props.disabledNextMonth, props.disabledPrevMonth]);
12401
12402
  return React.createElement("div", {
12402
- className: rootClassName$2T
12403
+ className: rootClassName$2W
12403
12404
  }, days.map(function (d) {
12404
12405
  var _props$eventos;
12405
12406
  var k = "" + d.getFullYear() + getTwoNumbersIfNotTen(d.getMonth() + 1) + getTwoNumbersIfNotTen(d.getDate());
@@ -12424,8 +12425,8 @@ function CalendarDays(props) {
12424
12425
  }
12425
12426
  var CalendarDays$1 = memo(CalendarDays);
12426
12427
 
12427
- var _excluded$i = ["language", "visao", "referencia"];
12428
- var rootClassName$2U = 'calendar';
12428
+ var _excluded$r = ["language", "visao", "referencia"];
12429
+ var rootClassName$2X = 'calendar';
12429
12430
  function Calendar(_ref) {
12430
12431
  var _ref$language = _ref.language,
12431
12432
  language = _ref$language === void 0 ? ptbrCalendarLanguage : _ref$language,
@@ -12433,7 +12434,7 @@ function Calendar(_ref) {
12433
12434
  visao = _ref$visao === void 0 ? CalendarView.Mensal : _ref$visao,
12434
12435
  _ref$referencia = _ref.referencia,
12435
12436
  referencia = _ref$referencia === void 0 ? new Date() : _ref$referencia,
12436
- props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
12437
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
12437
12438
  var id = useMemo(getUniqueKey, []);
12438
12439
  var _useState = useState(false),
12439
12440
  pocket = _useState[0],
@@ -12441,7 +12442,7 @@ function Calendar(_ref) {
12441
12442
  var pocketRef = useRef(pocket);
12442
12443
  pocketRef.current = pocket;
12443
12444
  var classNames = useMemo(function () {
12444
- return getMergedClassNames([rootClassName$2U, props.loading ? 'loading' : '']);
12445
+ return getMergedClassNames([rootClassName$2X, props.loading ? 'loading' : '']);
12445
12446
  }, [props.loading]);
12446
12447
  var cbResize = useCallback(function (evt) {
12447
12448
  if (pocketRef.current) {
@@ -12517,7 +12518,7 @@ function FormattedText(text) {
12517
12518
  }));
12518
12519
  }
12519
12520
 
12520
- var rootClassName$2V = 'scroll-arrow-overflow';
12521
+ var rootClassName$2Y = 'scroll-arrow-overflow';
12521
12522
  function ScrollArrowOverflow(props) {
12522
12523
  var ref = createRef();
12523
12524
  var atualRef = useRef(0);
@@ -12589,9 +12590,9 @@ function ScrollArrowOverflow(props) {
12589
12590
  };
12590
12591
  }, []);
12591
12592
  return React.createElement("div", {
12592
- className: useMergedClassNames([rootClassName$2V, props.arrows])
12593
+ className: useMergedClassNames([rootClassName$2Y, props.arrows])
12593
12594
  }, React.createElement("div", {
12594
- className: rootClassName$2V + "-navigation"
12595
+ className: rootClassName$2Y + "-navigation"
12595
12596
  }, React.createElement(IconButton$1, {
12596
12597
  disabled: start,
12597
12598
  icon: React.createElement(CircleArrowLeft, null),
@@ -12606,7 +12607,7 @@ function ScrollArrowOverflow(props) {
12606
12607
  }
12607
12608
  })), React.createElement("div", {
12608
12609
  ref: ref,
12609
- className: rootClassName$2V + "-overflow"
12610
+ className: rootClassName$2Y + "-overflow"
12610
12611
  }, props.children));
12611
12612
  }
12612
12613
  ScrollArrowOverflow.defaultProps = {
@@ -12615,26 +12616,26 @@ ScrollArrowOverflow.defaultProps = {
12615
12616
  };
12616
12617
  var ScrollArrowOverflow$1 = memo(ScrollArrowOverflow);
12617
12618
 
12618
- var rootClassName$2W = 'hour-events';
12619
+ var rootClassName$2Z = 'hour-events';
12619
12620
  function HourEvents(props) {
12620
12621
  var _props$language, _props$language2, _props$events, _props$events2, _props$language3, _props$events3;
12621
12622
  var _useState = useState(props.defaultOpened),
12622
12623
  opened = _useState[0],
12623
12624
  setOpened = _useState[1];
12624
12625
  return React.createElement("div", {
12625
- className: rootClassName$2W
12626
+ className: rootClassName$2Z
12626
12627
  }, React.createElement("div", {
12627
- className: rootClassName$2W + "-first-line"
12628
+ className: rootClassName$2Z + "-first-line"
12628
12629
  }, React.createElement("div", {
12629
- className: rootClassName$2W + "-hour"
12630
+ className: rootClassName$2Z + "-hour"
12630
12631
  }, props.hour), React.createElement("div", {
12631
- className: rootClassName$2W + "-line"
12632
+ className: rootClassName$2Z + "-line"
12632
12633
  }), !props.events || !props.events.length ? React.createElement("div", {
12633
- className: rootClassName$2W + "-no-events nunito"
12634
+ className: rootClassName$2Z + "-no-events nunito"
12634
12635
  }, (_props$language = props.language) === null || _props$language === void 0 ? void 0 : _props$language.noEvent) : React.createElement("div", {
12635
- className: rootClassName$2W + "-counter nunito"
12636
+ className: rootClassName$2Z + "-counter nunito"
12636
12637
  }, (_props$language2 = props.language) === null || _props$language2 === void 0 ? void 0 : _props$language2.events((_props$events = props.events) === null || _props$events === void 0 ? void 0 : _props$events.length))), (_props$events2 = props.events) !== null && _props$events2 !== void 0 && _props$events2.length ? React.createElement(Fragment$1, null, React.createElement("div", {
12637
- className: rootClassName$2W + "-toggle"
12638
+ className: rootClassName$2Z + "-toggle"
12638
12639
  }, React.createElement(Button$1, {
12639
12640
  theme: ButtonThemes.DefaultPrimary,
12640
12641
  onClick: function onClick() {
@@ -12669,7 +12670,7 @@ HourEvents.defaultProps = {
12669
12670
  };
12670
12671
  var HourEvents$1 = memo(HourEvents);
12671
12672
 
12672
- var rootClassName$2X = 'inline-month-picker';
12673
+ var rootClassName$2_ = 'inline-month-picker';
12673
12674
  function InlineMonthPicker(props) {
12674
12675
  var _props$labelGen;
12675
12676
  var d = new Date(props.value.getTime());
@@ -12681,13 +12682,13 @@ function InlineMonthPicker(props) {
12681
12682
  }
12682
12683
  };
12683
12684
  return React.createElement("div", {
12684
- className: rootClassName$2X
12685
+ className: rootClassName$2_
12685
12686
  }, React.createElement("div", {
12686
- className: rootClassName$2X + "-icon"
12687
+ className: rootClassName$2_ + "-icon"
12687
12688
  }, React.createElement(CalendarCheckIcon, null)), React.createElement("div", {
12688
- className: rootClassName$2X + "-label"
12689
+ className: rootClassName$2_ + "-label"
12689
12690
  }, (_props$labelGen = props.labelGen) === null || _props$labelGen === void 0 ? void 0 : _props$labelGen.call(props, props.value)), React.createElement("div", {
12690
- className: rootClassName$2X + "-actions"
12691
+ className: rootClassName$2_ + "-actions"
12691
12692
  }, React.createElement(IconButton$1, {
12692
12693
  icon: React.createElement(ChevronArrowLeftIcon, null),
12693
12694
  onClick: function onClick() {
@@ -12713,7 +12714,113 @@ InlineMonthPicker.defaultProps = {
12713
12714
  };
12714
12715
  var InlineMonthPicker$1 = memo(InlineMonthPicker);
12715
12716
 
12716
- var rootClassName$2Y = 'qrcode';
12717
+ var rootClassName$2$ = 'component-notification-panel';
12718
+ function NotificationPanel(_ref) {
12719
+ var opened = _ref.opened,
12720
+ setOpened = _ref.setOpened,
12721
+ icon = _ref.children,
12722
+ _ref$notifications = _ref.notifications,
12723
+ notifications = _ref$notifications === void 0 ? [] : _ref$notifications,
12724
+ title = _ref.title,
12725
+ settingsButton = _ref.settingsButton,
12726
+ loading = _ref.loading,
12727
+ paginator = _ref.paginator;
12728
+ var _useState = useState(null),
12729
+ panelRef = _useState[0],
12730
+ setPanelRef = _useState[1];
12731
+ var _useState2 = useState(null),
12732
+ anchorRef = _useState2[0],
12733
+ setAnchorRef = _useState2[1];
12734
+ var headerRef = React.createRef();
12735
+ var footerRef = React.createRef();
12736
+ var bodyRef = React.createRef();
12737
+ useLayoutEffect(function () {
12738
+ var _headerRef$current$cl, _headerRef$current, _footerRef$current$cl, _footerRef$current, _bodyRef$current;
12739
+ var mh = panelRef === null || panelRef === void 0 ? void 0 : panelRef.style.maxHeight;
12740
+ var headerHeight = (_headerRef$current$cl = (_headerRef$current = headerRef.current) === null || _headerRef$current === void 0 ? void 0 : _headerRef$current.clientHeight) != null ? _headerRef$current$cl : 0;
12741
+ var footerHeight = (_footerRef$current$cl = (_footerRef$current = footerRef.current) === null || _footerRef$current === void 0 ? void 0 : _footerRef$current.clientHeight) != null ? _footerRef$current$cl : 0;
12742
+ (_bodyRef$current = bodyRef.current) === null || _bodyRef$current === void 0 ? void 0 : _bodyRef$current.style.setProperty('max-height', mh && parseFloat(mh) > 20 ? parseFloat(mh) - headerHeight - footerHeight - 20 + "px" : '80vh');
12743
+ }, [bodyRef, footerRef, headerRef, panelRef === null || panelRef === void 0 ? void 0 : panelRef.style.maxHeight]);
12744
+ var _useFloatingPanel = useFloatingPanel({
12745
+ stateOpened: [opened, setOpened],
12746
+ elements: {
12747
+ floating: panelRef,
12748
+ reference: anchorRef
12749
+ },
12750
+ strategy: 'fixed',
12751
+ matchWidth: false,
12752
+ placement: 'bottom-end',
12753
+ offset: 4
12754
+ }),
12755
+ isMounted = _useFloatingPanel.isMounted,
12756
+ panelStyles = _useFloatingPanel.panelStyles;
12757
+ useEvent([{
12758
+ event: 'keydown',
12759
+ handler: function handler(e) {
12760
+ if (opened && 'key' in e && e.key === 'Escape') {
12761
+ setOpened(false);
12762
+ e.preventDefault();
12763
+ e.stopPropagation();
12764
+ }
12765
+ }
12766
+ }]);
12767
+ useOutsideClick([{
12768
+ current: panelRef
12769
+ }, {
12770
+ current: anchorRef
12771
+ }], function (isInside) {
12772
+ if (opened && !isInside) setOpened(false);
12773
+ });
12774
+ return React.createElement(Fragment$1, null, React.createElement("div", {
12775
+ ref: function ref(e) {
12776
+ return setAnchorRef(e);
12777
+ }
12778
+ }, icon), isMounted && React.createElement("div", {
12779
+ ref: function ref(e) {
12780
+ return setPanelRef(e);
12781
+ },
12782
+ className: rootClassName$2$,
12783
+ style: _extends({}, panelStyles)
12784
+ }, React.createElement("div", {
12785
+ className: rootClassName$2$ + "-header",
12786
+ ref: headerRef
12787
+ }, React.createElement(Bell16Icon, {
12788
+ className: rootClassName$2$ + "-header-icon"
12789
+ }), React.createElement("div", {
12790
+ className: rootClassName$2$ + "-header-title"
12791
+ }, title), loading && React.createElement(PercentLoaderIcon, {
12792
+ indefinido: true,
12793
+ className: rootClassName$2$ + "-header-icon"
12794
+ }), settingsButton), React.createElement("div", {
12795
+ className: rootClassName$2$ + "-body scroll-white",
12796
+ ref: bodyRef
12797
+ }, notifications.map(function (n, i) {
12798
+ return React.createElement("div", {
12799
+ key: n.text + "-" + i,
12800
+ className: rootClassName$2$ + "-noti",
12801
+ onClick: n.onClick
12802
+ }, React.createElement("div", {
12803
+ className: rootClassName$2$ + "-noti-left"
12804
+ }, React.createElement("div", {
12805
+ className: rootClassName$2$ + "-noti-head"
12806
+ }, n.alert && React.createElement("span", {
12807
+ className: rootClassName$2$ + "-noti-alert"
12808
+ }), React.createElement("div", {
12809
+ className: rootClassName$2$ + "-noti-title"
12810
+ }, n.title)), n.text && React.createElement("div", {
12811
+ className: rootClassName$2$ + "-noti-text"
12812
+ }, n.text), n.date && React.createElement("div", {
12813
+ className: rootClassName$2$ + "-noti-date"
12814
+ }, n.date)), React.createElement("div", {
12815
+ className: rootClassName$2$ + "-noti-right"
12816
+ }, React.createElement(CircleArrowRight, null)));
12817
+ })), Boolean(paginator) && React.createElement("div", {
12818
+ className: rootClassName$2$ + "-footer",
12819
+ ref: footerRef
12820
+ }, paginator)));
12821
+ }
12822
+
12823
+ var rootClassName$30 = 'qrcode';
12717
12824
  function QRCode(props) {
12718
12825
  var ref = createRef();
12719
12826
  useEffect(function () {
@@ -12732,7 +12839,7 @@ function QRCode(props) {
12732
12839
  });
12733
12840
  }, [props, ref]);
12734
12841
  var className = useMemo(function () {
12735
- return getMergedClassNames([rootClassName$2Y, props.button ? 'button' : '']);
12842
+ return getMergedClassNames([rootClassName$30, props.button ? 'button' : '']);
12736
12843
  }, [props.button]);
12737
12844
  return React.createElement("div", {
12738
12845
  className: className,
@@ -12753,10 +12860,10 @@ QRCode.defaultProps = {
12753
12860
  };
12754
12861
  var QRCode$1 = memo(QRCode);
12755
12862
 
12756
- var rootClassName$2Z = 'icon-component';
12863
+ var rootClassName$31 = 'icon-component';
12757
12864
  var DecreaseIcon = function DecreaseIcon() {
12758
12865
  return React.createElement("svg", {
12759
- className: rootClassName$2Z,
12866
+ className: rootClassName$31,
12760
12867
  viewBox: '0 0 24 24',
12761
12868
  xmlns: 'http://www.w3.org/2000/svg'
12762
12869
  }, React.createElement("path", {
@@ -12767,12 +12874,12 @@ var DecreaseIcon = function DecreaseIcon() {
12767
12874
  }));
12768
12875
  };
12769
12876
 
12770
- var _excluded$j = ["type"];
12771
- var rootClassName$2_ = 'component-table-left-checkbox-with-label';
12877
+ var _excluded$s = ["type"];
12878
+ var rootClassName$32 = 'component-table-left-checkbox-with-label';
12772
12879
  var LeftControlWithLabel = function LeftControlWithLabel(_ref) {
12773
12880
  var _props$spanProps2, _props$spanProps3;
12774
12881
  var type = _ref.type,
12775
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
12882
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
12776
12883
  var style = useMemo(function () {
12777
12884
  var _props$spanProps$styl, _props$spanProps;
12778
12885
  var style = _extends({
@@ -12787,13 +12894,13 @@ var LeftControlWithLabel = function LeftControlWithLabel(_ref) {
12787
12894
  return style;
12788
12895
  }, [props.anchorLabelToCheckbox, props.disabled, props.justifyContent, props.removeUserSelect, props.spanProps]);
12789
12896
  return React.createElement("div", {
12790
- className: getMergedClassNames([rootClassName$2_, props.w100 ? 'w-100' : ''])
12897
+ className: getMergedClassNames([rootClassName$32, props.w100 ? 'w-100' : ''])
12791
12898
  }, React.createElement("span", {
12792
- className: rootClassName$2_ + "-checkbox-wrapper",
12899
+ className: rootClassName$32 + "-checkbox-wrapper",
12793
12900
  "tooltip-position": props['tooltip-position'],
12794
12901
  "tooltip-text": props['tooltip-text']
12795
12902
  }, type === 'addRemove' ? React.createElement(IconButton$1, {
12796
- className: getMergedClassNames([rootClassName$2_ + "-add-remove-button", props.value ? rootClassName$2_ + "-danger" : '']),
12903
+ className: getMergedClassNames([rootClassName$32 + "-add-remove-button", props.value ? rootClassName$32 + "-danger" : '']),
12797
12904
  icon: props.value ? React.createElement(DecreaseIcon, null) : React.createElement(AddIcon, null),
12798
12905
  disabled: props.disabled,
12799
12906
  onClick: function onClick(evt) {
@@ -12807,7 +12914,7 @@ var LeftControlWithLabel = function LeftControlWithLabel(_ref) {
12807
12914
  onChange: props.onChange,
12808
12915
  theme: props.theme
12809
12916
  })), React.createElement("span", Object.assign({}, (_props$spanProps2 = props.spanProps) != null ? _props$spanProps2 : {}, {
12810
- className: getMergedClassNames([rootClassName$2_ + "-label-wrapper", ((_props$spanProps3 = props.spanProps) === null || _props$spanProps3 === void 0 ? void 0 : _props$spanProps3.className) || '']),
12917
+ className: getMergedClassNames([rootClassName$32 + "-label-wrapper", ((_props$spanProps3 = props.spanProps) === null || _props$spanProps3 === void 0 ? void 0 : _props$spanProps3.className) || '']),
12811
12918
  style: style,
12812
12919
  onClick: function onClick(evt) {
12813
12920
  var _props$spanProps4, _props$spanProps4$onC;
@@ -12820,7 +12927,7 @@ var LeftControlWithLabel = function LeftControlWithLabel(_ref) {
12820
12927
  }), props.label));
12821
12928
  };
12822
12929
 
12823
- var rootClassName$2$ = 'tooltip-element';
12930
+ var rootClassName$33 = 'tooltip-element';
12824
12931
  function TooltipElement(_ref) {
12825
12932
  var label = _ref.label,
12826
12933
  _ref$placement = _ref.placement,
@@ -12879,14 +12986,14 @@ function TooltipElement(_ref) {
12879
12986
  isMounted = _useTransitionStyles.isMounted,
12880
12987
  transitionStyles = _useTransitionStyles.styles;
12881
12988
  return React.createElement(Fragment$1, null, React.createElement("div", Object.assign({
12882
- className: rootClassName$2$ + "-reference",
12989
+ className: rootClassName$33 + "-reference",
12883
12990
  ref: refs.setReference
12884
12991
  }, getReferenceProps(wrapperProps)), children), React.createElement(FloatingPortal, null, isMounted && React.createElement("div", Object.assign({
12885
- className: rootClassName$2$ + "-tooltip",
12992
+ className: rootClassName$33 + "-tooltip",
12886
12993
  ref: refs.setFloating,
12887
12994
  style: _extends({}, floatingStyles, transitionStyles)
12888
12995
  }, getFloatingProps()), React.createElement("span", {
12889
- className: rootClassName$2$ + "-label"
12996
+ className: rootClassName$33 + "-label"
12890
12997
  }, label), React.createElement(FloatingArrow, {
12891
12998
  ref: arrowRef,
12892
12999
  context: context,
@@ -12894,8 +13001,8 @@ function TooltipElement(_ref) {
12894
13001
  }))));
12895
13002
  }
12896
13003
 
12897
- var _excluded$k = ["className", "variant", "color", "focus", "style", "alignment", "format", "dangerouslySetInnerHTML", "children"];
12898
- var rootClassName$30 = 'typography';
13004
+ var _excluded$t = ["className", "variant", "color", "focus", "style", "alignment", "format", "dangerouslySetInnerHTML", "children"];
13005
+ var rootClassName$34 = 'typography';
12899
13006
  var Typography = forwardRef(function (_ref, ref) {
12900
13007
  var _ref$className = _ref.className,
12901
13008
  className = _ref$className === void 0 ? '' : _ref$className,
@@ -12914,8 +13021,8 @@ var Typography = forwardRef(function (_ref, ref) {
12914
13021
  } : _ref$format,
12915
13022
  dangerouslySetInnerHTML = _ref.dangerouslySetInnerHTML,
12916
13023
  children = _ref.children,
12917
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
12918
- var classNames = useMergedClassNames([rootClassName$30 + "-tp", focus ? rootClassName$30 + "-focus" : '', color, variant, className]);
13024
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
13025
+ var classNames = useMergedClassNames([rootClassName$34 + "-tp", focus ? rootClassName$34 + "-focus" : '', color, variant, className]);
12919
13026
  var tag = useMemo(function () {
12920
13027
  switch (variant) {
12921
13028
  case 'body':
@@ -43979,7 +44086,7 @@ function useHTMLShare() {
43979
44086
  };
43980
44087
  }
43981
44088
 
43982
- var rootClassName$31 = 'comp-modal-manager';
44089
+ var rootClassName$35 = 'comp-modal-manager';
43983
44090
  var maskRootClassName$1 = 'component-modal-mask';
43984
44091
  var hackFocus$1 = function hackFocus() {
43985
44092
  var tmp = document.createElement('input');
@@ -44047,13 +44154,13 @@ function useModalManager() {
44047
44154
  return [React.createElement(React.Fragment, {
44048
44155
  key: 1
44049
44156
  }, React.createElement(TransitionGroup, {
44050
- className: rootClassName$31 + "-modals"
44157
+ className: rootClassName$35 + "-modals"
44051
44158
  }, arrayOfModal.map(function (obj) {
44052
44159
  var _obj$props2, _obj$props3;
44053
44160
  var ModalComponent = React.createElement(obj.component, obj.props);
44054
44161
  return React.createElement(CSSTransition, {
44055
44162
  timeout: 300,
44056
- classNames: rootClassName$31 + "-mask",
44163
+ classNames: rootClassName$35 + "-mask",
44057
44164
  key: (_obj$props2 = obj.props) === null || _obj$props2 === void 0 ? void 0 : _obj$props2.modalKey,
44058
44165
  unmountOnExit: true
44059
44166
  }, React.createElement(ModalMask, {
@@ -44324,7 +44431,7 @@ function useTimeElapsed(timeLeftInSeconds, callBackZero) {
44324
44431
  return timeToReturn;
44325
44432
  }
44326
44433
 
44327
- var rootClassName$32 = 'comp-toast-manager';
44434
+ var rootClassName$36 = 'comp-toast-manager';
44328
44435
  var count$1 = 0;
44329
44436
  function useToastManager(props) {
44330
44437
  var _props$max;
@@ -44344,6 +44451,7 @@ function useToastManager(props) {
44344
44451
  return a.id !== id;
44345
44452
  });
44346
44453
  setArrayOfToast(arr);
44454
+ toastsRef.current = arr;
44347
44455
  };
44348
44456
  var showToast = useCallback(function (toast) {
44349
44457
  var id = "toaster-" + count$1;
@@ -44369,17 +44477,17 @@ function useToastManager(props) {
44369
44477
  toastsRef.current = [];
44370
44478
  }, []);
44371
44479
  var classNames = useMemo(function () {
44372
- return getMergedClassNames([rootClassName$32 + "-toasts", rootClassName$32 + "-" + verticalPosition, rootClassName$32 + "-" + horizontalPosition, reverse ? rootClassName$32 + "-reverse" : '', animateSize ? rootClassName$32 + "-animate-size" : '']);
44480
+ return getMergedClassNames([rootClassName$36 + "-toasts", rootClassName$36 + "-" + verticalPosition, rootClassName$36 + "-" + horizontalPosition, reverse ? rootClassName$36 + "-reverse" : '', animateSize ? rootClassName$36 + "-animate-size" : '']);
44373
44481
  }, [reverse, animateSize, horizontalPosition, verticalPosition]);
44374
44482
  useLayoutEffect(function () {
44375
- var wrapper = document.querySelector("." + rootClassName$32 + "-toasts");
44483
+ var wrapper = document.querySelector("." + rootClassName$36 + "-toasts");
44376
44484
  if (wrapper && wrapper.childElementCount > 0) {
44377
44485
  var somaDasAlturas = 0;
44378
44486
  if (verticalPosition === 'top' && !reverse) {
44379
44487
  somaDasAlturas = 12;
44380
44488
  for (var i = 0; i < wrapper.children.length; i++) {
44381
44489
  var el = wrapper.children[i];
44382
- if (!el.classList.contains(rootClassName$32 + "-toast-exit")) {
44490
+ if (!el.classList.contains(rootClassName$36 + "-toast-exit")) {
44383
44491
  el.style.transform = "translateY(" + somaDasAlturas + "px)";
44384
44492
  somaDasAlturas += el.getBoundingClientRect().height + 12;
44385
44493
  }
@@ -44387,7 +44495,7 @@ function useToastManager(props) {
44387
44495
  } else if (verticalPosition === 'top') {
44388
44496
  for (var _i = wrapper.children.length - 1; _i >= 0; _i--) {
44389
44497
  var _el = wrapper.children[_i];
44390
- if (!_el.classList.contains(rootClassName$32 + "-toast-exit")) {
44498
+ if (!_el.classList.contains(rootClassName$36 + "-toast-exit")) {
44391
44499
  somaDasAlturas += _el.getBoundingClientRect().height + 12;
44392
44500
  _el.style.transform = "translateY(" + somaDasAlturas + "px)";
44393
44501
  }
@@ -44395,7 +44503,7 @@ function useToastManager(props) {
44395
44503
  } else if (verticalPosition === 'bottom' && !reverse) {
44396
44504
  for (var _i2 = 0; _i2 < wrapper.children.length; _i2++) {
44397
44505
  var _el2 = wrapper.children[_i2];
44398
- if (!_el2.classList.contains(rootClassName$32 + "-toast-exit")) {
44506
+ if (!_el2.classList.contains(rootClassName$36 + "-toast-exit")) {
44399
44507
  somaDasAlturas += _el2.getBoundingClientRect().height + 12;
44400
44508
  _el2.style.transform = "translateY(-" + somaDasAlturas + "px)";
44401
44509
  }
@@ -44404,7 +44512,7 @@ function useToastManager(props) {
44404
44512
  somaDasAlturas = 12;
44405
44513
  for (var _i3 = wrapper.children.length - 1; _i3 >= 0; _i3--) {
44406
44514
  var _el3 = wrapper.children[_i3];
44407
- if (!_el3.classList.contains(rootClassName$32 + "-toast-exit")) {
44515
+ if (!_el3.classList.contains(rootClassName$36 + "-toast-exit")) {
44408
44516
  _el3.style.transform = "translateY(-" + somaDasAlturas + "px)";
44409
44517
  somaDasAlturas += _el3.getBoundingClientRect().height + 12;
44410
44518
  }
@@ -44419,11 +44527,11 @@ function useToastManager(props) {
44419
44527
  }, arrayOfToast.map(function (toast) {
44420
44528
  return React.createElement(CSSTransition, {
44421
44529
  timeout: 300,
44422
- classNames: rootClassName$32 + "-toast",
44530
+ classNames: rootClassName$36 + "-toast",
44423
44531
  key: toast.id,
44424
44532
  unmountOnExit: true
44425
44533
  }, React.createElement("div", {
44426
- className: rootClassName$32 + "-toastzin"
44534
+ className: rootClassName$36 + "-toastzin"
44427
44535
  }, React.createElement(Toast, {
44428
44536
  theme: toast.theme,
44429
44537
  label: toast.label,
@@ -44451,7 +44559,7 @@ function useValidatedState(validation, initialValue) {
44451
44559
  return [value, setValue, validation(value)];
44452
44560
  }
44453
44561
 
44454
- var _excluded$l = ["disabled", "language", "onConfirm", "showIcons"],
44562
+ var _excluded$u = ["disabled", "language", "onConfirm", "showIcons"],
44455
44563
  _excluded2 = ["disabled", "language", "onCancel", "onConfirm", "showIcons"],
44456
44564
  _excluded3 = ["disabled", "language", "onCancel", "onConfirm", "showIcons"];
44457
44565
  function AlertModal(_ref) {
@@ -44461,7 +44569,7 @@ function AlertModal(_ref) {
44461
44569
  onConfirm = _ref.onConfirm,
44462
44570
  _ref$showIcons = _ref.showIcons,
44463
44571
  showIcons = _ref$showIcons === void 0 ? true : _ref$showIcons,
44464
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
44572
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
44465
44573
  var _useState = useState(false),
44466
44574
  loading = _useState[0],
44467
44575
  setLoading = _useState[1];
@@ -44594,5 +44702,5 @@ var getStatusClassName = function getStatusClassName(status) {
44594
44702
  };
44595
44703
  var STATUS_PAUTA = [STATUS_PAUTA_BLOQUEADA, STATUS_PAUTA_LIBERADA, STATUS_PAUTA_ENCERRADA];
44596
44704
 
44597
- export { ATMIcon, Accordion, AconteceuIcon, ActionCard$1 as ActionCard, ActionCardThemes, ActionsColumn, AddAssemblyIcon, AddIcon as AddCircleIcon, AddIcon, AgencyIcon, AlertIcon, AlertModal, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnimatedLink$1 as AnimatedLink, ArrowLeftIcon, ArrowRightIcon, AssembleiasIcon, BackOfficeIcon, Banner, BarChartIcon, BeeIcon, BigBlockButton, BigPlayIcon, BoldIcon, BottomNavigation$1 as BottomNavigation, BreadCrumb, Button$1 as Button, ButtonFileUpload$1 as ButtonFileUpload, ButtonThemes, Calendar$1 as Calendar, CalendarCheckIcon, CalendarEvent$1 as CalendarEvent, CalendarIcon, Card, CardTypes, CardsIcon, Carousel, CarouselPersona$1 as CarouselPersona, CarouselTouchFrendly$1 as CarouselTouchFrendly, CataventoVerde, CheckCircleIcon, CheckIcon, Checkbox$1 as Checkbox, CheckboxThemes, ChequeIcon, ChevronArrowDownIcon, ChevronArrowLeftIcon, ChevronArrowRightIcon, Chip$1 as Chip, CircleArrowLeft, CircleArrowRight, ClockIcon, CloseIcon, CloudDownloadIcon, CloudUploadIcon, Col$1 as Col, Collapse$1 as Collapse, ComitesIcon, ComunidadeIcon, ConfirmModal, Container$1 as Container, ControlLabel$1 as ControlLabel, ControlLabelPosition, CopyIcon, CreditIcon, CrescerIcon, CrescerLogo, DatePicker$1 as DatePicker, DestructiveModal, DevicePlusIcon, Doughnut$1 as Doughnut, DoughnutSquare, DownloadIcon, DraggableIcon, DropdownItem$1 as DropdownItem, DropdownMenu, DropdownSelector$1 as DropdownSelector, EditIcon, ElementPaginator$1 as ElementPaginator, Etapas$1 as Etapas, Etiqueta, EtiquetasStyle, EvidenciasIcon, ExclamationIcon, ExitIconArrowLeft, ExitIconArrowRight, EyeIcon, FUNDACAO_LOGO_BRANCO, FUNDACAO_LOGO_VERDE, FileLoader, FilePlusIcon, FileTypes, FileUpload, FilesIcon, FilterIcon, FloatingPanel$1 as FloatingPanel, FontColorIcon, FontIcon, FooterSicredi$1 as FooterSicredi, FormacaoIcon, FormattedText, FullHeightContainer$1 as FullHeightContainer, FundacaoLogo, FundacaoLogoTheme, FundoSocialIcon, GlobeIcon, GraduationIcon, HEADER_SEPARATOR_PRIMARY, HEADER_SEPARATOR_SECONDARY, HamburgerIcon, HandUpIcon, Header$1 as Header, HeaderSeparator, HeaderType, HomeIcon, HourEvents$1 as HourEvents, IconButton$1 as IconButton, IconButtonType, ImageTypes, Information, InformationIcon, InlineMonthPicker$1 as InlineMonthPicker, Input$1 as Input, InputArea$1 as InputArea, InvestimentIcon, ItalicIcon, ItemDropdownDownload$1 as ItemDropdownDownload, LeftControlWithLabel as LeftCheckboxWithLabel, LeftControlWithLabel, LinkIcon, LinksUteisIcon, ListDotIcon, ListIcon, LoaderIcon, LocalIcon, LockIcon, Menu$1 as Menu, MenuItem, MessageIcon, MiniInformationIcon, Modal, ModalManager, ModalSizes, MoneyByMonth, MoneyFileIcon, MoneyMonthLineChart, NavigatorWithMouse, NotebookIcon, Notification, NotificationPosition, NotificationType, OptionsIcon, PageSubTitle, PageTitle, Pagination, Paginator, ParticipantesIcon, PaymentIcon, PercentLoaderIcon, PhonePlusIcon, PieChartIcon, PlayIcon, PreviaVideo$1 as PreviaVideo, PrintIcon, QRCode$1 as QRCode, QRCodeIcon, QRCodeWhatsapp, RadioButton$1 as RadioButton, RadioButtonType, RedoIcon, RefreshIcon, Row$1 as Row, STATUS_PAUTA, STATUS_PAUTA_BLOQUEADA, STATUS_PAUTA_ENCERRADA, STATUS_PAUTA_LIBERADA, ScreenSize, ScrollArrowOverflow$1 as ScrollArrowOverflow, Search$1 as Search, SearchIcon, Select$1 as Select, SettingsIcon, SicrediLogo, SicrediLogoTheme, SquaresIcon, SustentabilidadeIcon, Switch, Table, TableActions, TableFileNameAndAction$1 as TableFileNameAndAction, TableWithOverflow$1 as TableWithOverflow, Tabs$1 as Tabs, TextEditor, ThreeDotsLoader, ThumbsUpIcon, TimesCircleIcon, Title, Toast, ToastManager, ToastTypes, Tooltip, TooltipElement, TooltipManager, TooltipPosition, TopLoader, TransferenciaIcon, TrashIcon, TrianguloInferior, TwoFileIcon, TypedTable, Typography, UnderlineIcon, UndoIcon, UserIcon, VideoModal, VideoPlayer, WebsiteIcon, getStatusClassName, stringToReactElement, useCallbackedState, useCarouselBehaviour, useControlledTimer, useDraggableContainer, useDropOpened, useHTMLShare, useModalManager, useOutsideClick, usePagination, useProgressiveCount, usePublicMenuList, useScreenSize, useScrollTo, useStorageState, useTimeElapsed, useToastManager, useValidatedState };
44705
+ export { ATMIcon, Accordion, AconteceuIcon, ActionCard$1 as ActionCard, ActionCardThemes, ActionsColumn, AddAssemblyIcon, AddIcon as AddCircleIcon, AddIcon, AgencyIcon, AlertIcon, AlertModal, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnimatedLink$1 as AnimatedLink, ArrowLeftIcon, ArrowRightIcon, AssembleiasIcon, BackOfficeIcon, Banner, BarChartIcon, BeeIcon, Bell16Icon, BellIcon, BigBlockButton, BigPlayIcon, BoldIcon, BottomNavigation$1 as BottomNavigation, BreadCrumb, Browser, Button$1 as Button, ButtonFileUpload$1 as ButtonFileUpload, ButtonThemes, Calendar$1 as Calendar, CalendarCheckIcon, CalendarEvent$1 as CalendarEvent, CalendarIcon, Card, CardTypes, CardsIcon, Carousel, CarouselPersona$1 as CarouselPersona, CarouselTouchFrendly$1 as CarouselTouchFrendly, CataventoVerde, CheckCircleIcon, CheckIcon, Checkbox$1 as Checkbox, CheckboxThemes, ChequeIcon, ChevronArrowDownIcon, ChevronArrowLeftIcon, ChevronArrowRightIcon, Chip$1 as Chip, CircleArrowLeft, CircleArrowRight, ClockIcon, CloseIcon, CloudDownloadIcon, CloudUploadIcon, Col$1 as Col, Collapse$1 as Collapse, ComitesIcon, ComunidadeIcon, ConfirmModal, Container$1 as Container, ControlLabel$1 as ControlLabel, ControlLabelPosition, CopyIcon, CreditIcon, CrescerIcon, CrescerLogo, DatePicker$1 as DatePicker, DestructiveModal, DevicePlusIcon, Doughnut$1 as Doughnut, DoughnutSquare, DownloadIcon, DraggableIcon, DropdownItem$1 as DropdownItem, DropdownMenu, DropdownSelector$1 as DropdownSelector, EditIcon, ElementPaginator$1 as ElementPaginator, Etapas$1 as Etapas, Etiqueta, EtiquetasStyle, EvidenciasIcon, ExclamationIcon, ExitIconArrowLeft, ExitIconArrowRight, EyeIcon, FUNDACAO_LOGO_BRANCO, FUNDACAO_LOGO_VERDE, FileLoader, FilePlusIcon, FileTypes, FileUpload, FilesIcon, FilterIcon, FloatingPanel$1 as FloatingPanel, FontColorIcon, FontIcon, FooterSicredi$1 as FooterSicredi, FormacaoIcon, FormattedText, FullHeightContainer$1 as FullHeightContainer, FundacaoLogo, FundacaoLogoTheme, FundoSocialIcon, GlobeIcon, GraduationIcon, HEADER_SEPARATOR_PRIMARY, HEADER_SEPARATOR_SECONDARY, HamburgerIcon, HandUpIcon, Header$1 as Header, HeaderSeparator, HeaderType, HomeIcon, HourEvents$1 as HourEvents, IconButton$1 as IconButton, IconButtonType, ImageTypes, Information, InformationIcon, InlineMonthPicker$1 as InlineMonthPicker, Input$1 as Input, InputArea$1 as InputArea, InvestimentIcon, ItalicIcon, ItemDropdownDownload$1 as ItemDropdownDownload, LeftControlWithLabel as LeftCheckboxWithLabel, LeftControlWithLabel, LinkIcon, LinksUteisIcon, ListDotIcon, ListIcon, LoaderIcon, LocalIcon, LockIcon, Menu$1 as Menu, MenuItem, MessageIcon, MiniInformationIcon, Modal, ModalManager, ModalSizes, MoneyByMonth, MoneyFileIcon, MoneyMonthLineChart, NavigatorWithMouse, NotebookIcon, Notification, NotificationPanel, NotificationPosition, NotificationType, OS, OptionsIcon, PageSubTitle, PageTitle, Pagination, Paginator, ParticipantesIcon, PaymentIcon, PercentLoaderIcon, PhonePlusIcon, PieChartIcon, PlayIcon, PreviaVideo$1 as PreviaVideo, PrintIcon, QRCode$1 as QRCode, QRCodeIcon, QRCodeWhatsapp, RadioButton$1 as RadioButton, RadioButtonType, RedoIcon, RefreshIcon, Row$1 as Row, STATUS_PAUTA, STATUS_PAUTA_BLOQUEADA, STATUS_PAUTA_ENCERRADA, STATUS_PAUTA_LIBERADA, ScreenSize, ScrollArrowOverflow$1 as ScrollArrowOverflow, Search$1 as Search, SearchIcon, Select$1 as Select, Settings16Icon, SettingsIcon, SicrediLogo, SicrediLogoTheme, SquaresIcon, SustentabilidadeIcon, Switch, Table, TableActions, TableFileNameAndAction$1 as TableFileNameAndAction, TableWithOverflow$1 as TableWithOverflow, Tabs$1 as Tabs, TextEditor, ThreeDotsLoader, ThumbsUpIcon, TimesCircleIcon, Title, Toast, ToastManager, ToastTypes, Tooltip, TooltipElement, TooltipManager, TooltipPosition, TopLoader, TransferenciaIcon, TrashIcon, TrianguloInferior, TwoFileIcon, TypedTable, Typography, UnderlineIcon, UndoIcon, UserIcon, VideoModal, VideoPlayer, WebsiteIcon, getStatusClassName, stringToReactElement, useCallbackedState, useCarouselBehaviour, useControlledTimer, useDraggableContainer, useDropOpened, useEvent, useFloatingPanel, useHTMLShare, useModalManager, useOutsideClick, usePagination, useProgressiveCount, usePublicMenuList, useScreenSize, useScrollTo, useStorageState, useSystemInfo, useTimeElapsed, useToastManager, useValidatedState };
44598
44706
  //# sourceMappingURL=index.modern.js.map