plataforma-fundacao-componentes 2.26.9 → 2.26.11

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.
@@ -7034,37 +7034,51 @@ Checkbox.defaultProps = {
7034
7034
  };
7035
7035
  var Checkbox$1 = memo(Checkbox);
7036
7036
 
7037
+ var _excluded$8 = ["cols", "xs", "sm", "md", "lg", "xl", "centralized", "end", "padding", "noPaddingTop", "buttonActionsCol", "gap", "children", "className", "style", "fullfill", "tag"];
7037
7038
  var rootClassName$1T = 'component-col';
7038
- function Col(props) {
7039
- var p = useMemo(function () {
7040
- var cols = props.cols ? props.cols : [12, 12, 12, 12, 12];
7041
- var size = ['xs', 'sm', 'md', 'lg', 'xl'];
7042
- var getSizes = cols.map(function (n, index) {
7043
- return rootClassName$1T + "-" + size[index] + "-" + n;
7044
- });
7045
- var rp = _extends({}, props, {
7046
- style: _extends({}, props.style || {}, {
7047
- gap: props.gap
7048
- }),
7049
- className: getMergedClassNames([props.className, rootClassName$1T].concat(getSizes, [props.centralized ? 'centralized' : '', props.end ? 'end' : '', props.noPadding ? 'no-padding' : '', props.noPaddingTop ? 'no-padding-top' : '', props.buttonActionsCol ? 'button-actions-col' : '']))
7050
- });
7051
- delete rp.noPadding;
7052
- delete rp.centralized;
7053
- delete rp.end;
7054
- delete rp.cols;
7055
- delete rp.children;
7056
- delete rp.buttonActionsCol;
7057
- delete rp.noPaddingTop;
7058
- return rp;
7059
- }, [props]);
7060
- return React.createElement("div", Object.assign({}, p), props.children);
7039
+ function Col(_ref) {
7040
+ var cols = _ref.cols,
7041
+ xs = _ref.xs,
7042
+ sm = _ref.sm,
7043
+ md = _ref.md,
7044
+ lg = _ref.lg,
7045
+ xl = _ref.xl,
7046
+ centralized = _ref.centralized,
7047
+ end = _ref.end,
7048
+ padding = _ref.padding,
7049
+ noPaddingTop = _ref.noPaddingTop,
7050
+ buttonActionsCol = _ref.buttonActionsCol,
7051
+ gap = _ref.gap,
7052
+ children = _ref.children,
7053
+ _ref$className = _ref.className,
7054
+ className = _ref$className === void 0 ? '' : _ref$className,
7055
+ _ref$style = _ref.style,
7056
+ style = _ref$style === void 0 ? {} : _ref$style,
7057
+ _ref$fullfill = _ref.fullfill,
7058
+ fullfill = _ref$fullfill === void 0 ? false : _ref$fullfill,
7059
+ _ref$tag = _ref.tag,
7060
+ tag = _ref$tag === void 0 ? 'div' : _ref$tag,
7061
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
7062
+ var sizeClasses = useMemo(function () {
7063
+ if (cols) {
7064
+ var columns = cols ? cols : [12, 12, 12, 12, 12];
7065
+ var sizes = ['xs', 'sm', 'md', 'lg', 'xl'];
7066
+ return columns.map(function (n, index) {
7067
+ return rootClassName$1T + "-" + sizes[index] + "-" + n;
7068
+ });
7069
+ } else {
7070
+ return [xs && rootClassName$1T + "-xs-" + xs, sm && rootClassName$1T + "-sm-" + sm, md && rootClassName$1T + "-md-" + md, lg && rootClassName$1T + "-lg-" + lg, xl && rootClassName$1T + "-xl-" + xl];
7071
+ }
7072
+ }, [cols, lg, md, sm, xl, xs]);
7073
+ var classNames = useMergedClassNames([rootClassName$1T, className].concat(sizeClasses, [centralized ? 'centralized' : '', end ? 'end' : '', noPaddingTop ? 'no-padding-top' : '', buttonActionsCol ? 'button-actions-col' : '', fullfill ? 'fullfill' : '']));
7074
+ return createElement(tag, _extends({}, props, {
7075
+ className: classNames,
7076
+ style: _extends({}, style, {
7077
+ gap: gap,
7078
+ padding: padding
7079
+ })
7080
+ }), children);
7061
7081
  }
7062
- Col.defaultProps = {
7063
- cols: [12, 12, 12, 12, 12],
7064
- centralized: false,
7065
- end: false,
7066
- noPadding: false
7067
- };
7068
7082
  var Col$1 = memo(Col);
7069
7083
 
7070
7084
  var OS;
@@ -7121,7 +7135,7 @@ function useSystemInfo() {
7121
7135
  };
7122
7136
  }
7123
7137
 
7124
- var _excluded$8 = ["position", "fluid", "verticalPadding", "hasMobileButton", "hasHeader", "hasAdvancedHeader", "horizontalPadding", "className", "style", "insiderProps"];
7138
+ var _excluded$9 = ["position", "fluid", "verticalPadding", "hasMobileButton", "hasHeader", "hasAdvancedHeader", "horizontalPadding", "className", "style", "insiderProps"];
7125
7139
  var rootClassName$1U = 'component-container';
7126
7140
  function Container(_ref) {
7127
7141
  var _insiderProps$classNa;
@@ -7144,7 +7158,7 @@ function Container(_ref) {
7144
7158
  style = _ref$style === void 0 ? {} : _ref$style,
7145
7159
  _ref$insiderProps = _ref.insiderProps,
7146
7160
  insiderProps = _ref$insiderProps === void 0 ? {} : _ref$insiderProps,
7147
- props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
7161
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
7148
7162
  var mobile = useSystemInfo().isMobile;
7149
7163
  var classNames = useMergedClassNames([rootClassName$1U, className, fluid ? 'fluid' : '', verticalPadding ? 'vertical-padding' : '', hasMobileButton ? 'has-mobile-button' : '', hasHeader ? 'has-header' : '', hasAdvancedHeader ? 'has-advanced-header' : '', mobile ? 'mobile' : '']);
7150
7164
  var insiderClassNames = useMergedClassNames([rootClassName$1U + "-insider", horizontalPadding ? 'horizontal-padding' : '', (_insiderProps$classNa = insiderProps.className) != null ? _insiderProps$classNa : '']);
@@ -7159,7 +7173,7 @@ function Container(_ref) {
7159
7173
  }
7160
7174
  var Container$1 = memo(Container);
7161
7175
 
7162
- var _excluded$9 = ["control", "labelPosition", "labelGap", "label", "className"];
7176
+ var _excluded$a = ["control", "labelPosition", "labelGap", "label", "className"];
7163
7177
  var rootClassName$1V = 'component-control-label';
7164
7178
  function ControlLabel(_ref) {
7165
7179
  var _control$props;
@@ -7168,7 +7182,7 @@ function ControlLabel(_ref) {
7168
7182
  labelGap = _ref.labelGap,
7169
7183
  label = _ref.label,
7170
7184
  className = _ref.className,
7171
- props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
7185
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
7172
7186
  var ref = useRef();
7173
7187
  return React.createElement("label", Object.assign({}, props, {
7174
7188
  className: getMergedClassNames([className, rootClassName$1V, labelPosition ? labelPosition : '', (_control$props = control.props) !== null && _control$props !== void 0 && _control$props.disabled ? 'disabled' : '']),
@@ -7400,7 +7414,7 @@ function DatePickerCalendar(props) {
7400
7414
  }
7401
7415
  var DatePickerCalendar$1 = memo(DatePickerCalendar);
7402
7416
 
7403
- var _excluded$a = ["language"];
7417
+ var _excluded$b = ["language"];
7404
7418
  var rootClassName$1X = 'component-date-picker';
7405
7419
  function DatePicker(_ref) {
7406
7420
  var _ref$language = _ref.language,
@@ -7410,7 +7424,7 @@ function DatePicker(_ref) {
7410
7424
  months: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'],
7411
7425
  monthsAbrev: ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez']
7412
7426
  } : _ref$language,
7413
- props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
7427
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
7414
7428
  var id = useMemo(function () {
7415
7429
  return "picker_" + getUniqueKey();
7416
7430
  }, []);
@@ -7548,11 +7562,11 @@ DatePicker.defaultProps = {
7548
7562
  };
7549
7563
  var DatePicker$1 = memo(DatePicker);
7550
7564
 
7551
- var _excluded$b = ["showLabel"];
7565
+ var _excluded$c = ["showLabel"];
7552
7566
  var rootClassName$1Y = 'component-doughnut';
7553
7567
  function Doughnut(_ref) {
7554
7568
  var showLabel = _ref.showLabel,
7555
- props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
7569
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
7556
7570
  var _useProgressiveCount = useProgressiveCount(),
7557
7571
  val = _useProgressiveCount[0],
7558
7572
  setVal = _useProgressiveCount[1];
@@ -7736,7 +7750,7 @@ function useOutsideClick(refs, handler, options) {
7736
7750
  }, [refs, handler, handleClickOutside, (_options3 = options) === null || _options3 === void 0 ? void 0 : _options3.events]);
7737
7751
  }
7738
7752
 
7739
- var _excluded$c = ["opened", "setOpened", "className", "statedAnchorRef", "matchWidth", "placement", "closeOnEsc", "closeOnOutClick", "style", "fallbackPlacements", "offset", "heightAvaliableCallback"];
7753
+ var _excluded$d = ["opened", "setOpened", "className", "statedAnchorRef", "matchWidth", "placement", "closeOnEsc", "closeOnOutClick", "style", "fallbackPlacements", "offset", "heightAvaliableCallback"];
7740
7754
  var rootClassName$1_ = 'floating-panel';
7741
7755
  function FloatingPanel(_ref) {
7742
7756
  var opened = _ref.opened,
@@ -7758,7 +7772,7 @@ function FloatingPanel(_ref) {
7758
7772
  _ref$offset = _ref.offset,
7759
7773
  offset = _ref$offset === void 0 ? 0 : _ref$offset,
7760
7774
  heightAvaliableCallback = _ref.heightAvaliableCallback,
7761
- props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
7775
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
7762
7776
  var _useState = useState(),
7763
7777
  panelRef = _useState[0],
7764
7778
  setPanelRef = _useState[1];
@@ -7805,7 +7819,7 @@ function FloatingPanel(_ref) {
7805
7819
  }
7806
7820
  var FloatingPanel$1 = memo(FloatingPanel);
7807
7821
 
7808
- var _excluded$d = ["opened", "setOpened", "content", "closeOnEsc", "closeOnOutClick", "children", "panelProps", "removePadding"];
7822
+ var _excluded$e = ["opened", "setOpened", "content", "closeOnEsc", "closeOnOutClick", "children", "panelProps", "removePadding"];
7809
7823
  var rootClassName$1$ = 'component-dropdown-menu';
7810
7824
  function DropdownMenu(_ref) {
7811
7825
  var _panelProps$className;
@@ -7818,7 +7832,7 @@ function DropdownMenu(_ref) {
7818
7832
  _ref$panelProps = _ref.panelProps,
7819
7833
  panelProps = _ref$panelProps === void 0 ? {} : _ref$panelProps,
7820
7834
  removePadding = _ref.removePadding,
7821
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
7835
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
7822
7836
  var _useState = useState(),
7823
7837
  ref = _useState[0],
7824
7838
  setRef = _useState[1];
@@ -8023,7 +8037,7 @@ var EtiquetasStyle;
8023
8037
  EtiquetasStyle["Yellow"] = "yellow";
8024
8038
  })(EtiquetasStyle || (EtiquetasStyle = {}));
8025
8039
 
8026
- var _excluded$e = ["theme", "label", "icon", "fitContent"];
8040
+ var _excluded$f = ["theme", "label", "icon", "fitContent"];
8027
8041
  var rootClassName$22 = 'component-etiqueta';
8028
8042
  function Etiqueta(_ref) {
8029
8043
  var _ref$theme = _ref.theme,
@@ -8031,7 +8045,7 @@ function Etiqueta(_ref) {
8031
8045
  label = _ref.label,
8032
8046
  icon = _ref.icon,
8033
8047
  fitContent = _ref.fitContent,
8034
- props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
8048
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
8035
8049
  return React.createElement("div", Object.assign({}, props, {
8036
8050
  className: getMergedClassNames([rootClassName$22, theme, fitContent ? 'fit-content' : undefined])
8037
8051
  }), icon ? React.createElement("div", {
@@ -8221,21 +8235,31 @@ FileUpload.defaultProps = {
8221
8235
  error: false
8222
8236
  };
8223
8237
 
8238
+ var _excluded$g = ["tag", "centralized", "columnDirection", "className", "verticalMargin", "children", "style"];
8224
8239
  var rootClassName$25 = 'component-row';
8225
- function Row(props) {
8226
- var getProps = function getProps() {
8227
- var p = _extends({}, props, {
8228
- className: getMergedClassNames([rootClassName$25, props.centralized ? 'centralized' : '', props.columnDirection ? 'column' : '', props.className])
8229
- });
8230
- delete p.centralized;
8231
- delete p.columnDirection;
8232
- return p;
8233
- };
8234
- return React.createElement("div", Object.assign({}, getProps()), props.children);
8240
+ function Row(_ref) {
8241
+ var _style$marginTop;
8242
+ var _ref$tag = _ref.tag,
8243
+ tag = _ref$tag === void 0 ? 'div' : _ref$tag,
8244
+ _ref$centralized = _ref.centralized,
8245
+ centralized = _ref$centralized === void 0 ? false : _ref$centralized,
8246
+ columnDirection = _ref.columnDirection,
8247
+ _ref$className = _ref.className,
8248
+ className = _ref$className === void 0 ? '' : _ref$className,
8249
+ verticalMargin = _ref.verticalMargin,
8250
+ children = _ref.children,
8251
+ _ref$style = _ref.style,
8252
+ style = _ref$style === void 0 ? {} : _ref$style,
8253
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
8254
+ var classNames = useMergedClassNames([rootClassName$25, centralized ? 'centralized' : '', columnDirection ? 'column' : '', className]);
8255
+ return createElement(tag, _extends({
8256
+ className: classNames,
8257
+ style: _extends({}, style, {
8258
+ marginTop: verticalMargin !== null && verticalMargin !== void 0 && verticalMargin[0] ? (verticalMargin === null || verticalMargin === void 0 ? void 0 : verticalMargin[0]) + "px" : (_style$marginTop = style.marginTop) != null ? _style$marginTop : undefined,
8259
+ marginBottom: verticalMargin !== null && verticalMargin !== void 0 && verticalMargin[1] ? (verticalMargin === null || verticalMargin === void 0 ? void 0 : verticalMargin[1]) + "px" : style.marginBottom
8260
+ })
8261
+ }, props), children);
8235
8262
  }
8236
- Row.defaultProps = {
8237
- centralized: false
8238
- };
8239
8263
  var Row$1 = memo(Row);
8240
8264
 
8241
8265
  var rootClassName$26 = 'footer-sicredi';
@@ -8400,12 +8424,12 @@ function FooterSicredi(props) {
8400
8424
  }
8401
8425
  var FooterSicredi$1 = memo(FooterSicredi);
8402
8426
 
8403
- var _excluded$f = ["header", "footer"];
8427
+ var _excluded$h = ["header", "footer"];
8404
8428
  var rootClassName$27 = 'full-height-container';
8405
8429
  function FullHeightContainer(_ref) {
8406
8430
  var header = _ref.header,
8407
8431
  footer = _ref.footer,
8408
- props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
8432
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
8409
8433
  var headerRef = createRef();
8410
8434
  var contentRef = createRef();
8411
8435
  var footerRef = createRef();
@@ -8647,7 +8671,7 @@ InputArea.defaultProps = {
8647
8671
  };
8648
8672
  var InputArea$1 = memo(InputArea);
8649
8673
 
8650
- var _excluded$g = ["label", "opened", "setOpened", "closeOnOutClick", "closeOnEsc", "downloads"];
8674
+ var _excluded$i = ["label", "opened", "setOpened", "closeOnOutClick", "closeOnEsc", "downloads"];
8651
8675
  var rootClassName$2d = 'component-item-dropdown-download';
8652
8676
  function ItemDropdownDownload(_ref) {
8653
8677
  var label = _ref.label,
@@ -8655,7 +8679,7 @@ function ItemDropdownDownload(_ref) {
8655
8679
  setOpened = _ref.setOpened,
8656
8680
  _ref$downloads = _ref.downloads,
8657
8681
  downloads = _ref$downloads === void 0 ? [] : _ref$downloads,
8658
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
8682
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
8659
8683
  var _useState = useState(null),
8660
8684
  ref = _useState[0],
8661
8685
  setRef = _useState[1];
@@ -8976,7 +9000,7 @@ function useScreenSize() {
8976
9000
  return value;
8977
9001
  }
8978
9002
 
8979
- var _excluded$h = ["className", "compenseColPaddingContent", "footer", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "title"];
9003
+ var _excluded$j = ["className", "compenseColPaddingContent", "footer", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "title"];
8980
9004
  var rootClassName$2g = 'component-modal';
8981
9005
  function Modal(_ref) {
8982
9006
  var className = _ref.className,
@@ -8990,7 +9014,7 @@ function Modal(_ref) {
8990
9014
  _ref$tag = _ref.tag,
8991
9015
  tag = _ref$tag === void 0 ? 'dialog' : _ref$tag,
8992
9016
  title = _ref.title,
8993
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
9017
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
8994
9018
  var _useScreenSize = useScreenSize(),
8995
9019
  rankedSize = _useScreenSize.rankedSize;
8996
9020
  var modalProps = useMemo(function () {
@@ -9163,7 +9187,7 @@ PageSubTitle.defaultProps = {
9163
9187
  text: ''
9164
9188
  };
9165
9189
 
9166
- var _excluded$i = ["boundaryCount", "count", "currentPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "siblingCount", "maxLength"];
9190
+ var _excluded$k = ["boundaryCount", "count", "currentPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "siblingCount", "maxLength"];
9167
9191
  function usePagination(props) {
9168
9192
  var _ref;
9169
9193
  if (props === void 0) {
@@ -9187,7 +9211,7 @@ function usePagination(props) {
9187
9211
  _props$siblingCount = _props.siblingCount,
9188
9212
  siblingCount = _props$siblingCount === void 0 ? 1 : _props$siblingCount,
9189
9213
  maxLength = _props.maxLength,
9190
- other = _objectWithoutPropertiesLoose(_props, _excluded$i);
9214
+ other = _objectWithoutPropertiesLoose(_props, _excluded$k);
9191
9215
  var isControlledRef = useRef(pageProp !== undefined);
9192
9216
  var _useState = useState(currentPage),
9193
9217
  pageCurrent = _useState[0],
@@ -9279,7 +9303,7 @@ var ThreeDots = function ThreeDots() {
9279
9303
  }));
9280
9304
  };
9281
9305
 
9282
- var _excluded$j = ["page", "type", "selected"];
9306
+ var _excluded$l = ["page", "type", "selected"];
9283
9307
  var rootClassName$2k = 'pagination-component';
9284
9308
  var Pagination = function Pagination(props) {
9285
9309
  var _useScreenSize = useScreenSize(),
@@ -9354,7 +9378,7 @@ var Pagination = function Pagination(props) {
9354
9378
  return React.createElement(Row$1, {
9355
9379
  className: getMergedClassNames([rootClassName$2k, countPages ? 'hasLeftItem' : '', countPages || rowsPerPage ? 'oneOf' : ''])
9356
9380
  }, countPages || rowsPerPage ? React.createElement(Col$1, {
9357
- noPadding: true,
9381
+ padding: 0,
9358
9382
  cols: rowsPerPage && countPages ? [12, 12, 6, 6, 6] : rowsPerPage || countPages ? [12, 6, 6, 6, 6] : [12, 12, 12, 12, 12]
9359
9383
  }, countPages || rowsPerPage ? React.createElement("div", {
9360
9384
  className: getMergedClassNames(['paginationLeftContainer', 'nunito', countPages && rowsPerPage ? 'both' : countPages || rowsPerPage ? 'oneOf' : ''])
@@ -9397,7 +9421,7 @@ var Pagination = function Pagination(props) {
9397
9421
  }, React.createElement("p", {
9398
9422
  className: 'nunito'
9399
9423
  }, rowsPerPage && rows, " "), React.createElement(ChevronArrowDownIcon, null)))))) : undefined) : undefined) : undefined, React.createElement(Col$1, {
9400
- noPadding: true,
9424
+ padding: 0,
9401
9425
  cols: rowsPerPage && countPages ? [12, 12, 6, 6, 6] : rowsPerPage || countPages ? [12, 6, 6, 6, 6] : [12, 12, 12, 12, 12],
9402
9426
  centralized: alignCenter,
9403
9427
  end: alignEnd
@@ -9405,7 +9429,7 @@ var Pagination = function Pagination(props) {
9405
9429
  var page = _ref2.page,
9406
9430
  type = _ref2.type,
9407
9431
  selected = _ref2.selected,
9408
- item = _objectWithoutPropertiesLoose(_ref2, _excluded$j);
9432
+ item = _objectWithoutPropertiesLoose(_ref2, _excluded$l);
9409
9433
  var children = null;
9410
9434
  if (type === 'start-ellipsis' || type === 'end-ellipsis') {
9411
9435
  children = React.createElement("li", {
@@ -9746,7 +9770,7 @@ var RadioButtonType;
9746
9770
  RadioButtonType["New"] = "new";
9747
9771
  })(RadioButtonType || (RadioButtonType = {}));
9748
9772
 
9749
- var _excluded$k = ["onChange", "value", "className", "theme", "error", "type"];
9773
+ var _excluded$m = ["onChange", "value", "className", "theme", "error", "type"];
9750
9774
  var rootClassName$2o = 'component-radio-button';
9751
9775
  function RadioButton(_ref) {
9752
9776
  var onChange = _ref.onChange,
@@ -9759,7 +9783,7 @@ function RadioButton(_ref) {
9759
9783
  error = _ref$error === void 0 ? false : _ref$error,
9760
9784
  _ref$type = _ref.type,
9761
9785
  type = _ref$type === void 0 ? 'button' : _ref$type,
9762
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
9786
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
9763
9787
  var classNames = useMergedClassNames([rootClassName$2o, theme, className]);
9764
9788
  return React.createElement("button", Object.assign({}, props, {
9765
9789
  type: type,
@@ -10568,38 +10592,35 @@ Select.defaultProps = {
10568
10592
  };
10569
10593
  var Select$1 = memo(Select);
10570
10594
 
10595
+ var _excluded$n = ["theme", "value", "onChange", "className", "error"];
10571
10596
  var rootClassName$2s = 'component-switch';
10572
- function Switch(props) {
10573
- var handleClick = function handleClick() {
10574
- var _props$onChange;
10575
- (_props$onChange = props.onChange) === null || _props$onChange === void 0 ? void 0 : _props$onChange.call(props, !props.value);
10576
- };
10577
- var getProps = function getProps() {
10578
- var p = _extends({}, props, {
10579
- className: getMergedClassNames([rootClassName$2s, props.className || '', rootClassName$2s + "-" + (props.value ? 'on' : 'off')]),
10580
- onClick: handleClick,
10581
- style: _extends({
10582
- transform: "scale(" + props.scale + ")"
10583
- }, props.style)
10584
- });
10585
- delete p.onChange;
10586
- delete p.value;
10587
- delete p.scale;
10588
- return p;
10589
- };
10590
- return React.createElement("button", Object.assign({}, getProps()), React.createElement("div", {
10597
+ function Switch(_ref) {
10598
+ var _ref$theme = _ref.theme,
10599
+ theme = _ref$theme === void 0 ? 'android' : _ref$theme,
10600
+ _ref$value = _ref.value,
10601
+ value = _ref$value === void 0 ? false : _ref$value,
10602
+ onChange = _ref.onChange,
10603
+ _ref$className = _ref.className,
10604
+ className = _ref$className === void 0 ? '' : _ref$className,
10605
+ _ref$error = _ref.error,
10606
+ error = _ref$error === void 0 ? false : _ref$error,
10607
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
10608
+ var classNames = useMergedClassNames([rootClassName$2s, className, theme]);
10609
+ return React.createElement("button", Object.assign({}, props, {
10610
+ className: classNames,
10611
+ "data-checked": value ? 'true' : 'false',
10612
+ "data-error": error ? 'true' : 'false',
10613
+ onClick: function onClick(event) {
10614
+ return onChange === null || onChange === void 0 ? void 0 : onChange(!value, event);
10615
+ }
10616
+ }), React.createElement("div", {
10591
10617
  className: rootClassName$2s + "-track"
10592
10618
  }), React.createElement("div", {
10593
10619
  className: rootClassName$2s + "-thumb"
10594
10620
  }));
10595
10621
  }
10596
- Switch.defaultProps = {
10597
- disabled: false,
10598
- value: false,
10599
- scale: 1
10600
- };
10601
10622
 
10602
- var _excluded$l = ["columns", "lines", "onSort", "confirmSort", "sortable", "upperHeader", "className"];
10623
+ var _excluded$o = ["columns", "lines", "onSort", "confirmSort", "sortable", "upperHeader", "className"];
10603
10624
  var rootClassName$2t = 'component-table';
10604
10625
  function TypedTable(props) {
10605
10626
  return React.createElement(Table, Object.assign({}, props));
@@ -10612,7 +10633,7 @@ function Table(_ref) {
10612
10633
  sortable = _ref.sortable,
10613
10634
  upperHeader = _ref.upperHeader,
10614
10635
  className = _ref.className,
10615
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
10636
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
10616
10637
  var itemsId = useMemo(function () {
10617
10638
  return "table" + getUniqueKey();
10618
10639
  }, []);
@@ -11212,13 +11233,13 @@ function TextEditorColorPicker(props) {
11212
11233
  }, "OK")));
11213
11234
  }
11214
11235
 
11215
- var _excluded$m = ["icon", "active"];
11236
+ var _excluded$p = ["icon", "active"];
11216
11237
  var rootClassName$2C = 'text-editor-header-button';
11217
11238
  function TextEditorHeaderButton(_ref) {
11218
11239
  var _props$className;
11219
11240
  var icon = _ref.icon,
11220
11241
  active = _ref.active,
11221
- props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
11242
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
11222
11243
  return React.createElement("button", Object.assign({
11223
11244
  className: getMergedClassNames([rootClassName$2C, active ? 'active' : '', (_props$className = props.className) != null ? _props$className : ''])
11224
11245
  }, props), icon);
@@ -12077,7 +12098,7 @@ TopLoader.defaultProps = {
12077
12098
  })
12078
12099
  };
12079
12100
 
12080
- var _excluded$n = ["className", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "urlVideo", "videoPlayerProps"];
12101
+ var _excluded$q = ["className", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "urlVideo", "videoPlayerProps"];
12081
12102
  var rootClassName$2M = 'video-modal';
12082
12103
  function VideoModal(_ref) {
12083
12104
  var _ref2;
@@ -12091,7 +12112,7 @@ function VideoModal(_ref) {
12091
12112
  tag = _ref$tag === void 0 ? 'dialog' : _ref$tag,
12092
12113
  urlVideo = _ref.urlVideo,
12093
12114
  videoPlayerProps = _ref.videoPlayerProps,
12094
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
12115
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
12095
12116
  var _useScreenSize = useScreenSize(),
12096
12117
  rankedSize = _useScreenSize.rankedSize;
12097
12118
  var handleClose = useCallback(function () {
@@ -12117,12 +12138,12 @@ VideoModal.defaultProps = {
12117
12138
  size: 'md'
12118
12139
  };
12119
12140
 
12120
- var _excluded$o = ["className"];
12141
+ var _excluded$r = ["className"];
12121
12142
  var rootClassName$2N = 'icon-component';
12122
12143
  var Bell16Icon = function Bell16Icon(_ref) {
12123
12144
  var _ref$className = _ref.className,
12124
12145
  className = _ref$className === void 0 ? '' : _ref$className,
12125
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
12146
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
12126
12147
  var classNames = useMergedClassNames([rootClassName$2N, className]);
12127
12148
  return React.createElement("svg", Object.assign({
12128
12149
  width: '16',
@@ -12139,12 +12160,12 @@ var Bell16Icon = function Bell16Icon(_ref) {
12139
12160
  }));
12140
12161
  };
12141
12162
 
12142
- var _excluded$p = ["className"];
12163
+ var _excluded$s = ["className"];
12143
12164
  var rootClassName$2O = 'icon-component';
12144
12165
  var BellIcon = function BellIcon(_ref) {
12145
12166
  var _ref$className = _ref.className,
12146
12167
  className = _ref$className === void 0 ? '' : _ref$className,
12147
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
12168
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
12148
12169
  var classNames = useMergedClassNames([rootClassName$2O, className]);
12149
12170
  return React.createElement("svg", Object.assign({
12150
12171
  width: '24',
@@ -12161,12 +12182,12 @@ var BellIcon = function BellIcon(_ref) {
12161
12182
  }));
12162
12183
  };
12163
12184
 
12164
- var _excluded$q = ["className"];
12185
+ var _excluded$t = ["className"];
12165
12186
  var rootClassName$2P = 'icon-component';
12166
12187
  var MiniInformationIcon = function MiniInformationIcon(_ref) {
12167
12188
  var _ref$className = _ref.className,
12168
12189
  className = _ref$className === void 0 ? '' : _ref$className,
12169
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
12190
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
12170
12191
  var classNames = useMergedClassNames([rootClassName$2P, className]);
12171
12192
  return React.createElement("svg", Object.assign({
12172
12193
  viewBox: '0 0 12 12',
@@ -12442,7 +12463,7 @@ function CalendarDays(props) {
12442
12463
  }
12443
12464
  var CalendarDays$1 = memo(CalendarDays);
12444
12465
 
12445
- var _excluded$r = ["language", "visao", "referencia"];
12466
+ var _excluded$u = ["language", "visao", "referencia"];
12446
12467
  var rootClassName$2X = 'calendar';
12447
12468
  function Calendar(_ref) {
12448
12469
  var _ref$language = _ref.language,
@@ -12451,7 +12472,7 @@ function Calendar(_ref) {
12451
12472
  visao = _ref$visao === void 0 ? CalendarView.Mensal : _ref$visao,
12452
12473
  _ref$referencia = _ref.referencia,
12453
12474
  referencia = _ref$referencia === void 0 ? new Date() : _ref$referencia,
12454
- props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
12475
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
12455
12476
  var id = useMemo(getUniqueKey, []);
12456
12477
  var _useState = useState(false),
12457
12478
  pocket = _useState[0],
@@ -12891,12 +12912,12 @@ var DecreaseIcon = function DecreaseIcon() {
12891
12912
  }));
12892
12913
  };
12893
12914
 
12894
- var _excluded$s = ["type"];
12915
+ var _excluded$v = ["type"];
12895
12916
  var rootClassName$32 = 'component-table-left-checkbox-with-label';
12896
12917
  var LeftControlWithLabel = function LeftControlWithLabel(_ref) {
12897
12918
  var _props$spanProps2, _props$spanProps3;
12898
12919
  var type = _ref.type,
12899
- props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
12920
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
12900
12921
  var style = useMemo(function () {
12901
12922
  var _props$spanProps$styl, _props$spanProps;
12902
12923
  var style = _extends({
@@ -13018,7 +13039,7 @@ function TooltipElement(_ref) {
13018
13039
  }))));
13019
13040
  }
13020
13041
 
13021
- var _excluded$t = ["className", "variant", "color", "focus", "style", "alignment", "format", "dangerouslySetInnerHTML", "children"];
13042
+ var _excluded$w = ["className", "variant", "color", "focus", "style", "alignment", "format", "dangerouslySetInnerHTML", "children"];
13022
13043
  var rootClassName$34 = 'typography';
13023
13044
  var Typography = forwardRef(function (_ref, ref) {
13024
13045
  var _ref$className = _ref.className,
@@ -13038,7 +13059,7 @@ var Typography = forwardRef(function (_ref, ref) {
13038
13059
  } : _ref$format,
13039
13060
  dangerouslySetInnerHTML = _ref.dangerouslySetInnerHTML,
13040
13061
  children = _ref.children,
13041
- props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
13062
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
13042
13063
  var classNames = useMergedClassNames([rootClassName$34 + "-tp", focus ? rootClassName$34 + "-focus" : '', color, variant, className]);
13043
13064
  var tag = useMemo(function () {
13044
13065
  switch (variant) {
@@ -13079,6 +13100,143 @@ var Typography = forwardRef(function (_ref, ref) {
13079
13100
  });
13080
13101
  Typography.displayName = 'Typography';
13081
13102
 
13103
+ var _excluded$x = ["className", "options", "value", "onChange", "disabled"];
13104
+ var rootClassName$35 = 'v-slider';
13105
+ var optionHeight = 24;
13106
+ var optionGap = 16;
13107
+ var VerticalSlider = forwardRef(function (_ref, ref) {
13108
+ var _ref$className = _ref.className,
13109
+ className = _ref$className === void 0 ? '' : _ref$className,
13110
+ _ref$options = _ref.options,
13111
+ options = _ref$options === void 0 ? [] : _ref$options,
13112
+ _ref$value = _ref.value,
13113
+ value = _ref$value === void 0 ? null : _ref$value,
13114
+ onChange = _ref.onChange,
13115
+ disabled = _ref.disabled,
13116
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
13117
+ var classNames = useMergedClassNames([rootClassName$35, className]);
13118
+ var fillRef = createRef();
13119
+ var movingRef = useRef({
13120
+ moving: false,
13121
+ y: 0,
13122
+ height: 0,
13123
+ elementIndex: 0
13124
+ });
13125
+ useLayoutEffect(function () {
13126
+ var index = options.findIndex(function (o) {
13127
+ return o.value === value;
13128
+ });
13129
+ if (fillRef.current) {
13130
+ var height = (index + 1) * optionHeight;
13131
+ var gaps = index * optionGap;
13132
+ var h = Math.max(height + gaps, 24);
13133
+ fillRef.current.style.height = h + "px";
13134
+ movingRef.current.height = h;
13135
+ }
13136
+ }, [options, value]);
13137
+ useLayoutEffect(function () {
13138
+ var up = function up() {
13139
+ var _fillRef$current;
13140
+ if (disabled) return;
13141
+ var wasMoving = Boolean(movingRef.current.moving);
13142
+ movingRef.current.moving = false;
13143
+ (_fillRef$current = fillRef.current) === null || _fillRef$current === void 0 ? void 0 : _fillRef$current.classList.remove('grabbing');
13144
+ if (wasMoving) {
13145
+ var _options$movingRef$cu, _options$movingRef$cu2;
13146
+ onChange((_options$movingRef$cu = (_options$movingRef$cu2 = options[movingRef.current.elementIndex]) === null || _options$movingRef$cu2 === void 0 ? void 0 : _options$movingRef$cu2.value) != null ? _options$movingRef$cu : null, movingRef.current.elementIndex);
13147
+ }
13148
+ };
13149
+ window.addEventListener('mouseup', up);
13150
+ window.addEventListener('touchend', up);
13151
+ return function () {
13152
+ window.removeEventListener('mouseup', up);
13153
+ window.removeEventListener('touchend', up);
13154
+ };
13155
+ }, [disabled, fillRef, onChange, options]);
13156
+ var heights = useMemo(function () {
13157
+ return options.map(function (_, i) {
13158
+ if (i === 0 || i === options.length - 1) return optionHeight + optionGap / 2;
13159
+ return optionHeight + optionGap;
13160
+ });
13161
+ }, [options]);
13162
+ var acc = useMemo(function () {
13163
+ return heights.reduce(function (ac, at, i) {
13164
+ if (i === 0) return [at];
13165
+ return [].concat(ac, [ac[i - 1] + at]);
13166
+ }, []);
13167
+ }, [heights]);
13168
+ var handleMove = useCallback(function (evt) {
13169
+ var _evt$currentTarget;
13170
+ if (disabled || !movingRef.current.moving || !fillRef.current) return;
13171
+ evt.preventDefault();
13172
+ evt.stopPropagation();
13173
+ var el = (_evt$currentTarget = evt.currentTarget) === null || _evt$currentTarget === void 0 ? void 0 : _evt$currentTarget.getBoundingClientRect();
13174
+ var clientY = 'clientY' in evt ? evt.clientY : evt.touches[0].clientY;
13175
+ var clickHeight = el.y + el.height - clientY;
13176
+ var i = acc.findIndex(function (a) {
13177
+ return a > clickHeight;
13178
+ });
13179
+ var height = (i + 1) * optionHeight;
13180
+ var gaps = i * optionGap;
13181
+ var h = Math.max(height + gaps, 24);
13182
+ fillRef.current.style.height = h + "px";
13183
+ movingRef.current.elementIndex = i;
13184
+ }, [acc, disabled, fillRef]);
13185
+ var handleStart = useCallback(function (evt) {
13186
+ var _fillRef$current2;
13187
+ if (disabled) return;
13188
+ evt.preventDefault();
13189
+ evt.stopPropagation();
13190
+ movingRef.current.moving = true;
13191
+ (_fillRef$current2 = fillRef.current) === null || _fillRef$current2 === void 0 ? void 0 : _fillRef$current2.classList.add('grabbing');
13192
+ }, [disabled, fillRef]);
13193
+ var handleSelect = useCallback(function (evt) {
13194
+ if (disabled) return;
13195
+ var el = evt.currentTarget.getBoundingClientRect();
13196
+ var clickHeight = el.y + el.height - evt.clientY;
13197
+ var h = acc.findIndex(function (a) {
13198
+ return a > clickHeight;
13199
+ });
13200
+ onChange(options[h].value, h);
13201
+ }, [acc, disabled, onChange, options]);
13202
+ return React.createElement("div", Object.assign({}, props, {
13203
+ className: classNames,
13204
+ ref: ref,
13205
+ "aria-disabled": disabled
13206
+ }), React.createElement("div", {
13207
+ className: rootClassName$35 + "-input"
13208
+ }, React.createElement("div", {
13209
+ className: rootClassName$35 + "-track",
13210
+ onMouseMove: handleMove,
13211
+ onTouchMove: handleMove,
13212
+ onMouseDown: handleSelect
13213
+ }, React.createElement("div", {
13214
+ className: rootClassName$35 + "-fill",
13215
+ "data-checked": value !== null,
13216
+ ref: fillRef
13217
+ }, React.createElement("div", {
13218
+ className: rootClassName$35 + "-thumb",
13219
+ onMouseDown: handleStart,
13220
+ onTouchStart: handleStart,
13221
+ onDragStart: function onDragStart(e) {
13222
+ e.preventDefault();
13223
+ }
13224
+ })))), React.createElement("div", {
13225
+ className: rootClassName$35 + "-options"
13226
+ }, options.map(function (opt, i) {
13227
+ return React.createElement("div", {
13228
+ key: opt.value + "-" + i,
13229
+ className: rootClassName$35 + "-option",
13230
+ "data-checked": value === opt.value,
13231
+ onClick: function onClick() {
13232
+ if (disabled || value === opt.value) return;
13233
+ onChange(opt.value, i);
13234
+ }
13235
+ }, opt.label);
13236
+ })));
13237
+ });
13238
+ VerticalSlider.displayName = 'VerticalSlider';
13239
+
13082
13240
  function useCallbackedState(callback, initialValue) {
13083
13241
  var _useState = useState(initialValue),
13084
13242
  value = _useState[0],
@@ -44011,13 +44169,13 @@ function useHTMLShare() {
44011
44169
  };
44012
44170
  }
44013
44171
  if (scale === void 0) {
44014
- scale = 1.5;
44172
+ scale = 1.0;
44015
44173
  }
44016
44174
  return new Promise(function (resolve, reject) {
44017
44175
  html2canvas(element, {
44018
44176
  scale: scale
44019
44177
  }).then(function (canvas) {
44020
- var _opt$pdfWidth, _opt$pdfHeight, _opt$imageX, _opt$imageY, _opt$imageWidth, _opt$imageHeight;
44178
+ var _opt$pdfWidth, _opt$pdfHeight, _opt$quality, _opt$imageX, _opt$imageY, _opt$imageWidth, _opt$imageHeight;
44021
44179
  var opt = _extends({
44022
44180
  pdfWidth: canvas.width,
44023
44181
  pdfHeight: canvas.height,
@@ -44028,10 +44186,10 @@ function useHTMLShare() {
44028
44186
  quality: 1.0,
44029
44187
  orientation: 'p'
44030
44188
  }, typeof options === 'function' ? options(canvas) : {});
44031
- var doc = new jsPDF(opt.orientation, 'px', [(_opt$pdfWidth = opt.pdfWidth) != null ? _opt$pdfWidth : 0, (_opt$pdfHeight = opt.pdfHeight) != null ? _opt$pdfHeight : 0]);
44032
- var png = canvas.toDataURL('image/png', opt.quality);
44189
+ var doc = new jsPDF(opt.orientation, 'px', [(_opt$pdfWidth = opt.pdfWidth) != null ? _opt$pdfWidth : 0, (_opt$pdfHeight = opt.pdfHeight) != null ? _opt$pdfHeight : 0], true);
44190
+ var imgData = canvas.toDataURL('image/jpeg', (_opt$quality = opt.quality) != null ? _opt$quality : 1.0);
44033
44191
  doc.internal.scaleFactor = scale;
44034
- doc.addImage(png, 'png', (_opt$imageX = opt.imageX) != null ? _opt$imageX : 0, (_opt$imageY = opt.imageY) != null ? _opt$imageY : 0, (_opt$imageWidth = opt.imageWidth) != null ? _opt$imageWidth : 0, (_opt$imageHeight = opt.imageHeight) != null ? _opt$imageHeight : 0, undefined, 'NONE');
44192
+ doc.addImage(imgData, 'JPEG', (_opt$imageX = opt.imageX) != null ? _opt$imageX : 0, (_opt$imageY = opt.imageY) != null ? _opt$imageY : 0, (_opt$imageWidth = opt.imageWidth) != null ? _opt$imageWidth : 0, (_opt$imageHeight = opt.imageHeight) != null ? _opt$imageHeight : 0, undefined, 'MEDIUM');
44035
44193
  doc.save(fileName);
44036
44194
  resolve();
44037
44195
  })["catch"](function () {
@@ -44103,7 +44261,7 @@ function useHTMLShare() {
44103
44261
  };
44104
44262
  }
44105
44263
 
44106
- var rootClassName$35 = 'comp-modal-manager';
44264
+ var rootClassName$36 = 'comp-modal-manager';
44107
44265
  var maskRootClassName$1 = 'component-modal-mask';
44108
44266
  var hackFocus$1 = function hackFocus() {
44109
44267
  var tmp = document.createElement('input');
@@ -44171,13 +44329,13 @@ function useModalManager() {
44171
44329
  return [React.createElement(React.Fragment, {
44172
44330
  key: 1
44173
44331
  }, React.createElement(TransitionGroup, {
44174
- className: rootClassName$35 + "-modals"
44332
+ className: rootClassName$36 + "-modals"
44175
44333
  }, arrayOfModal.map(function (obj) {
44176
44334
  var _obj$props2, _obj$props3;
44177
44335
  var ModalComponent = React.createElement(obj.component, obj.props);
44178
44336
  return React.createElement(CSSTransition, {
44179
44337
  timeout: 300,
44180
- classNames: rootClassName$35 + "-mask",
44338
+ classNames: rootClassName$36 + "-mask",
44181
44339
  key: (_obj$props2 = obj.props) === null || _obj$props2 === void 0 ? void 0 : _obj$props2.modalKey,
44182
44340
  unmountOnExit: true
44183
44341
  }, React.createElement(ModalMask, {
@@ -44448,7 +44606,7 @@ function useTimeElapsed(timeLeftInSeconds, callBackZero) {
44448
44606
  return timeToReturn;
44449
44607
  }
44450
44608
 
44451
- var rootClassName$36 = 'comp-toast-manager';
44609
+ var rootClassName$37 = 'comp-toast-manager';
44452
44610
  var count$1 = 0;
44453
44611
  function useToastManager(props) {
44454
44612
  var _props$max;
@@ -44494,17 +44652,17 @@ function useToastManager(props) {
44494
44652
  toastsRef.current = [];
44495
44653
  }, []);
44496
44654
  var classNames = useMemo(function () {
44497
- return getMergedClassNames([rootClassName$36 + "-toasts", rootClassName$36 + "-" + verticalPosition, rootClassName$36 + "-" + horizontalPosition, reverse ? rootClassName$36 + "-reverse" : '', animateSize ? rootClassName$36 + "-animate-size" : '']);
44655
+ return getMergedClassNames([rootClassName$37 + "-toasts", rootClassName$37 + "-" + verticalPosition, rootClassName$37 + "-" + horizontalPosition, reverse ? rootClassName$37 + "-reverse" : '', animateSize ? rootClassName$37 + "-animate-size" : '']);
44498
44656
  }, [reverse, animateSize, horizontalPosition, verticalPosition]);
44499
44657
  useLayoutEffect(function () {
44500
- var wrapper = document.querySelector("." + rootClassName$36 + "-toasts");
44658
+ var wrapper = document.querySelector("." + rootClassName$37 + "-toasts");
44501
44659
  if (wrapper && wrapper.childElementCount > 0) {
44502
44660
  var somaDasAlturas = 0;
44503
44661
  if (verticalPosition === 'top' && !reverse) {
44504
44662
  somaDasAlturas = 12;
44505
44663
  for (var i = 0; i < wrapper.children.length; i++) {
44506
44664
  var el = wrapper.children[i];
44507
- if (!el.classList.contains(rootClassName$36 + "-toast-exit")) {
44665
+ if (!el.classList.contains(rootClassName$37 + "-toast-exit")) {
44508
44666
  el.style.transform = "translateY(" + somaDasAlturas + "px)";
44509
44667
  somaDasAlturas += el.getBoundingClientRect().height + 12;
44510
44668
  }
@@ -44512,7 +44670,7 @@ function useToastManager(props) {
44512
44670
  } else if (verticalPosition === 'top') {
44513
44671
  for (var _i = wrapper.children.length - 1; _i >= 0; _i--) {
44514
44672
  var _el = wrapper.children[_i];
44515
- if (!_el.classList.contains(rootClassName$36 + "-toast-exit")) {
44673
+ if (!_el.classList.contains(rootClassName$37 + "-toast-exit")) {
44516
44674
  somaDasAlturas += _el.getBoundingClientRect().height + 12;
44517
44675
  _el.style.transform = "translateY(" + somaDasAlturas + "px)";
44518
44676
  }
@@ -44520,7 +44678,7 @@ function useToastManager(props) {
44520
44678
  } else if (verticalPosition === 'bottom' && !reverse) {
44521
44679
  for (var _i2 = 0; _i2 < wrapper.children.length; _i2++) {
44522
44680
  var _el2 = wrapper.children[_i2];
44523
- if (!_el2.classList.contains(rootClassName$36 + "-toast-exit")) {
44681
+ if (!_el2.classList.contains(rootClassName$37 + "-toast-exit")) {
44524
44682
  somaDasAlturas += _el2.getBoundingClientRect().height + 12;
44525
44683
  _el2.style.transform = "translateY(-" + somaDasAlturas + "px)";
44526
44684
  }
@@ -44529,7 +44687,7 @@ function useToastManager(props) {
44529
44687
  somaDasAlturas = 12;
44530
44688
  for (var _i3 = wrapper.children.length - 1; _i3 >= 0; _i3--) {
44531
44689
  var _el3 = wrapper.children[_i3];
44532
- if (!_el3.classList.contains(rootClassName$36 + "-toast-exit")) {
44690
+ if (!_el3.classList.contains(rootClassName$37 + "-toast-exit")) {
44533
44691
  _el3.style.transform = "translateY(-" + somaDasAlturas + "px)";
44534
44692
  somaDasAlturas += _el3.getBoundingClientRect().height + 12;
44535
44693
  }
@@ -44544,11 +44702,11 @@ function useToastManager(props) {
44544
44702
  }, arrayOfToast.map(function (toast) {
44545
44703
  return React.createElement(CSSTransition, {
44546
44704
  timeout: 300,
44547
- classNames: rootClassName$36 + "-toast",
44705
+ classNames: rootClassName$37 + "-toast",
44548
44706
  key: toast.id,
44549
44707
  unmountOnExit: true
44550
44708
  }, React.createElement("div", {
44551
- className: rootClassName$36 + "-toastzin"
44709
+ className: rootClassName$37 + "-toastzin"
44552
44710
  }, React.createElement(Toast, {
44553
44711
  theme: toast.theme,
44554
44712
  label: toast.label,
@@ -44576,7 +44734,7 @@ function useValidatedState(validation, initialValue) {
44576
44734
  return [value, setValue, validation(value)];
44577
44735
  }
44578
44736
 
44579
- var _excluded$u = ["disabled", "language", "onConfirm", "showIcons"],
44737
+ var _excluded$y = ["disabled", "language", "onConfirm", "showIcons"],
44580
44738
  _excluded2 = ["disabled", "language", "onCancel", "onConfirm", "showIcons"],
44581
44739
  _excluded3 = ["disabled", "language", "onCancel", "onConfirm", "showIcons"];
44582
44740
  function AlertModal(_ref) {
@@ -44586,7 +44744,7 @@ function AlertModal(_ref) {
44586
44744
  onConfirm = _ref.onConfirm,
44587
44745
  _ref$showIcons = _ref.showIcons,
44588
44746
  showIcons = _ref$showIcons === void 0 ? true : _ref$showIcons,
44589
- props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
44747
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
44590
44748
  var _useState = useState(false),
44591
44749
  loading = _useState[0],
44592
44750
  setLoading = _useState[1];
@@ -44719,5 +44877,5 @@ var getStatusClassName = function getStatusClassName(status) {
44719
44877
  };
44720
44878
  var STATUS_PAUTA = [STATUS_PAUTA_BLOQUEADA, STATUS_PAUTA_LIBERADA, STATUS_PAUTA_ENCERRADA];
44721
44879
 
44722
- 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 };
44880
+ 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, VerticalSlider, 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 };
44723
44881
  //# sourceMappingURL=index.modern.js.map