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.
package/dist/index.js CHANGED
@@ -7027,37 +7027,51 @@ Checkbox.defaultProps = {
7027
7027
  };
7028
7028
  var Checkbox$1 = React.memo(Checkbox);
7029
7029
 
7030
+ var _excluded$8 = ["cols", "xs", "sm", "md", "lg", "xl", "centralized", "end", "padding", "noPaddingTop", "buttonActionsCol", "gap", "children", "className", "style", "fullfill", "tag"];
7030
7031
  var rootClassName$1T = 'component-col';
7031
- function Col(props) {
7032
- var p = React.useMemo(function () {
7033
- var cols = props.cols ? props.cols : [12, 12, 12, 12, 12];
7034
- var size = ['xs', 'sm', 'md', 'lg', 'xl'];
7035
- var getSizes = cols.map(function (n, index) {
7036
- return rootClassName$1T + "-" + size[index] + "-" + n;
7037
- });
7038
- var rp = _extends({}, props, {
7039
- style: _extends({}, props.style || {}, {
7040
- gap: props.gap
7041
- }),
7042
- 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' : '']))
7043
- });
7044
- delete rp.noPadding;
7045
- delete rp.centralized;
7046
- delete rp.end;
7047
- delete rp.cols;
7048
- delete rp.children;
7049
- delete rp.buttonActionsCol;
7050
- delete rp.noPaddingTop;
7051
- return rp;
7052
- }, [props]);
7053
- return React__default.createElement("div", Object.assign({}, p), props.children);
7032
+ function Col(_ref) {
7033
+ var cols = _ref.cols,
7034
+ xs = _ref.xs,
7035
+ sm = _ref.sm,
7036
+ md = _ref.md,
7037
+ lg = _ref.lg,
7038
+ xl = _ref.xl,
7039
+ centralized = _ref.centralized,
7040
+ end = _ref.end,
7041
+ padding = _ref.padding,
7042
+ noPaddingTop = _ref.noPaddingTop,
7043
+ buttonActionsCol = _ref.buttonActionsCol,
7044
+ gap = _ref.gap,
7045
+ children = _ref.children,
7046
+ _ref$className = _ref.className,
7047
+ className = _ref$className === void 0 ? '' : _ref$className,
7048
+ _ref$style = _ref.style,
7049
+ style = _ref$style === void 0 ? {} : _ref$style,
7050
+ _ref$fullfill = _ref.fullfill,
7051
+ fullfill = _ref$fullfill === void 0 ? false : _ref$fullfill,
7052
+ _ref$tag = _ref.tag,
7053
+ tag = _ref$tag === void 0 ? 'div' : _ref$tag,
7054
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
7055
+ var sizeClasses = React.useMemo(function () {
7056
+ if (cols) {
7057
+ var columns = cols ? cols : [12, 12, 12, 12, 12];
7058
+ var sizes = ['xs', 'sm', 'md', 'lg', 'xl'];
7059
+ return columns.map(function (n, index) {
7060
+ return rootClassName$1T + "-" + sizes[index] + "-" + n;
7061
+ });
7062
+ } else {
7063
+ 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];
7064
+ }
7065
+ }, [cols, lg, md, sm, xl, xs]);
7066
+ var classNames = useMergedClassNames([rootClassName$1T, className].concat(sizeClasses, [centralized ? 'centralized' : '', end ? 'end' : '', noPaddingTop ? 'no-padding-top' : '', buttonActionsCol ? 'button-actions-col' : '', fullfill ? 'fullfill' : '']));
7067
+ return React.createElement(tag, _extends({}, props, {
7068
+ className: classNames,
7069
+ style: _extends({}, style, {
7070
+ gap: gap,
7071
+ padding: padding
7072
+ })
7073
+ }), children);
7054
7074
  }
7055
- Col.defaultProps = {
7056
- cols: [12, 12, 12, 12, 12],
7057
- centralized: false,
7058
- end: false,
7059
- noPadding: false
7060
- };
7061
7075
  var Col$1 = React.memo(Col);
7062
7076
 
7063
7077
  (function (OS) {
@@ -7112,7 +7126,7 @@ function useSystemInfo() {
7112
7126
  };
7113
7127
  }
7114
7128
 
7115
- var _excluded$8 = ["position", "fluid", "verticalPadding", "hasMobileButton", "hasHeader", "hasAdvancedHeader", "horizontalPadding", "className", "style", "insiderProps"];
7129
+ var _excluded$9 = ["position", "fluid", "verticalPadding", "hasMobileButton", "hasHeader", "hasAdvancedHeader", "horizontalPadding", "className", "style", "insiderProps"];
7116
7130
  var rootClassName$1U = 'component-container';
7117
7131
  function Container(_ref) {
7118
7132
  var _insiderProps$classNa;
@@ -7135,7 +7149,7 @@ function Container(_ref) {
7135
7149
  style = _ref$style === void 0 ? {} : _ref$style,
7136
7150
  _ref$insiderProps = _ref.insiderProps,
7137
7151
  insiderProps = _ref$insiderProps === void 0 ? {} : _ref$insiderProps,
7138
- props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
7152
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
7139
7153
  var mobile = useSystemInfo().isMobile;
7140
7154
  var classNames = useMergedClassNames([rootClassName$1U, className, fluid ? 'fluid' : '', verticalPadding ? 'vertical-padding' : '', hasMobileButton ? 'has-mobile-button' : '', hasHeader ? 'has-header' : '', hasAdvancedHeader ? 'has-advanced-header' : '', mobile ? 'mobile' : '']);
7141
7155
  var insiderClassNames = useMergedClassNames([rootClassName$1U + "-insider", horizontalPadding ? 'horizontal-padding' : '', (_insiderProps$classNa = insiderProps.className) != null ? _insiderProps$classNa : '']);
@@ -7150,7 +7164,7 @@ function Container(_ref) {
7150
7164
  }
7151
7165
  var Container$1 = React.memo(Container);
7152
7166
 
7153
- var _excluded$9 = ["control", "labelPosition", "labelGap", "label", "className"];
7167
+ var _excluded$a = ["control", "labelPosition", "labelGap", "label", "className"];
7154
7168
  var rootClassName$1V = 'component-control-label';
7155
7169
  function ControlLabel(_ref) {
7156
7170
  var _control$props;
@@ -7159,7 +7173,7 @@ function ControlLabel(_ref) {
7159
7173
  labelGap = _ref.labelGap,
7160
7174
  label = _ref.label,
7161
7175
  className = _ref.className,
7162
- props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
7176
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
7163
7177
  var ref = React.useRef();
7164
7178
  return React__default.createElement("label", Object.assign({}, props, {
7165
7179
  className: getMergedClassNames([className, rootClassName$1V, labelPosition ? labelPosition : '', (_control$props = control.props) !== null && _control$props !== void 0 && _control$props.disabled ? 'disabled' : '']),
@@ -7391,7 +7405,7 @@ function DatePickerCalendar(props) {
7391
7405
  }
7392
7406
  var DatePickerCalendar$1 = React.memo(DatePickerCalendar);
7393
7407
 
7394
- var _excluded$a = ["language"];
7408
+ var _excluded$b = ["language"];
7395
7409
  var rootClassName$1X = 'component-date-picker';
7396
7410
  function DatePicker(_ref) {
7397
7411
  var _ref$language = _ref.language,
@@ -7401,7 +7415,7 @@ function DatePicker(_ref) {
7401
7415
  months: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'],
7402
7416
  monthsAbrev: ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez']
7403
7417
  } : _ref$language,
7404
- props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
7418
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
7405
7419
  var id = React.useMemo(function () {
7406
7420
  return "picker_" + getUniqueKey();
7407
7421
  }, []);
@@ -7539,11 +7553,11 @@ DatePicker.defaultProps = {
7539
7553
  };
7540
7554
  var DatePicker$1 = React.memo(DatePicker);
7541
7555
 
7542
- var _excluded$b = ["showLabel"];
7556
+ var _excluded$c = ["showLabel"];
7543
7557
  var rootClassName$1Y = 'component-doughnut';
7544
7558
  function Doughnut(_ref) {
7545
7559
  var showLabel = _ref.showLabel,
7546
- props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
7560
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
7547
7561
  var _useProgressiveCount = useProgressiveCount(),
7548
7562
  val = _useProgressiveCount[0],
7549
7563
  setVal = _useProgressiveCount[1];
@@ -7727,7 +7741,7 @@ function useOutsideClick(refs, handler, options) {
7727
7741
  }, [refs, handler, handleClickOutside, (_options3 = options) === null || _options3 === void 0 ? void 0 : _options3.events]);
7728
7742
  }
7729
7743
 
7730
- var _excluded$c = ["opened", "setOpened", "className", "statedAnchorRef", "matchWidth", "placement", "closeOnEsc", "closeOnOutClick", "style", "fallbackPlacements", "offset", "heightAvaliableCallback"];
7744
+ var _excluded$d = ["opened", "setOpened", "className", "statedAnchorRef", "matchWidth", "placement", "closeOnEsc", "closeOnOutClick", "style", "fallbackPlacements", "offset", "heightAvaliableCallback"];
7731
7745
  var rootClassName$1_ = 'floating-panel';
7732
7746
  function FloatingPanel(_ref) {
7733
7747
  var opened = _ref.opened,
@@ -7749,7 +7763,7 @@ function FloatingPanel(_ref) {
7749
7763
  _ref$offset = _ref.offset,
7750
7764
  offset = _ref$offset === void 0 ? 0 : _ref$offset,
7751
7765
  heightAvaliableCallback = _ref.heightAvaliableCallback,
7752
- props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
7766
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
7753
7767
  var _useState = React.useState(),
7754
7768
  panelRef = _useState[0],
7755
7769
  setPanelRef = _useState[1];
@@ -7796,7 +7810,7 @@ function FloatingPanel(_ref) {
7796
7810
  }
7797
7811
  var FloatingPanel$1 = React.memo(FloatingPanel);
7798
7812
 
7799
- var _excluded$d = ["opened", "setOpened", "content", "closeOnEsc", "closeOnOutClick", "children", "panelProps", "removePadding"];
7813
+ var _excluded$e = ["opened", "setOpened", "content", "closeOnEsc", "closeOnOutClick", "children", "panelProps", "removePadding"];
7800
7814
  var rootClassName$1$ = 'component-dropdown-menu';
7801
7815
  function DropdownMenu(_ref) {
7802
7816
  var _panelProps$className;
@@ -7809,7 +7823,7 @@ function DropdownMenu(_ref) {
7809
7823
  _ref$panelProps = _ref.panelProps,
7810
7824
  panelProps = _ref$panelProps === void 0 ? {} : _ref$panelProps,
7811
7825
  removePadding = _ref.removePadding,
7812
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
7826
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
7813
7827
  var _useState = React.useState(),
7814
7828
  ref = _useState[0],
7815
7829
  setRef = _useState[1];
@@ -8013,7 +8027,7 @@ var Etapas$1 = React.memo(Etapas);
8013
8027
  EtiquetasStyle["Yellow"] = "yellow";
8014
8028
  })(exports.EtiquetasStyle || (exports.EtiquetasStyle = {}));
8015
8029
 
8016
- var _excluded$e = ["theme", "label", "icon", "fitContent"];
8030
+ var _excluded$f = ["theme", "label", "icon", "fitContent"];
8017
8031
  var rootClassName$22 = 'component-etiqueta';
8018
8032
  function Etiqueta(_ref) {
8019
8033
  var _ref$theme = _ref.theme,
@@ -8021,7 +8035,7 @@ function Etiqueta(_ref) {
8021
8035
  label = _ref.label,
8022
8036
  icon = _ref.icon,
8023
8037
  fitContent = _ref.fitContent,
8024
- props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
8038
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
8025
8039
  return React__default.createElement("div", Object.assign({}, props, {
8026
8040
  className: getMergedClassNames([rootClassName$22, theme, fitContent ? 'fit-content' : undefined])
8027
8041
  }), icon ? React__default.createElement("div", {
@@ -8211,21 +8225,31 @@ FileUpload.defaultProps = {
8211
8225
  error: false
8212
8226
  };
8213
8227
 
8228
+ var _excluded$g = ["tag", "centralized", "columnDirection", "className", "verticalMargin", "children", "style"];
8214
8229
  var rootClassName$25 = 'component-row';
8215
- function Row(props) {
8216
- var getProps = function getProps() {
8217
- var p = _extends({}, props, {
8218
- className: getMergedClassNames([rootClassName$25, props.centralized ? 'centralized' : '', props.columnDirection ? 'column' : '', props.className])
8219
- });
8220
- delete p.centralized;
8221
- delete p.columnDirection;
8222
- return p;
8223
- };
8224
- return React__default.createElement("div", Object.assign({}, getProps()), props.children);
8230
+ function Row(_ref) {
8231
+ var _style$marginTop;
8232
+ var _ref$tag = _ref.tag,
8233
+ tag = _ref$tag === void 0 ? 'div' : _ref$tag,
8234
+ _ref$centralized = _ref.centralized,
8235
+ centralized = _ref$centralized === void 0 ? false : _ref$centralized,
8236
+ columnDirection = _ref.columnDirection,
8237
+ _ref$className = _ref.className,
8238
+ className = _ref$className === void 0 ? '' : _ref$className,
8239
+ verticalMargin = _ref.verticalMargin,
8240
+ children = _ref.children,
8241
+ _ref$style = _ref.style,
8242
+ style = _ref$style === void 0 ? {} : _ref$style,
8243
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
8244
+ var classNames = useMergedClassNames([rootClassName$25, centralized ? 'centralized' : '', columnDirection ? 'column' : '', className]);
8245
+ return React.createElement(tag, _extends({
8246
+ className: classNames,
8247
+ style: _extends({}, style, {
8248
+ 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,
8249
+ marginBottom: verticalMargin !== null && verticalMargin !== void 0 && verticalMargin[1] ? (verticalMargin === null || verticalMargin === void 0 ? void 0 : verticalMargin[1]) + "px" : style.marginBottom
8250
+ })
8251
+ }, props), children);
8225
8252
  }
8226
- Row.defaultProps = {
8227
- centralized: false
8228
- };
8229
8253
  var Row$1 = React.memo(Row);
8230
8254
 
8231
8255
  var rootClassName$26 = 'footer-sicredi';
@@ -8390,12 +8414,12 @@ function FooterSicredi(props) {
8390
8414
  }
8391
8415
  var FooterSicredi$1 = React.memo(FooterSicredi);
8392
8416
 
8393
- var _excluded$f = ["header", "footer"];
8417
+ var _excluded$h = ["header", "footer"];
8394
8418
  var rootClassName$27 = 'full-height-container';
8395
8419
  function FullHeightContainer(_ref) {
8396
8420
  var header = _ref.header,
8397
8421
  footer = _ref.footer,
8398
- props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
8422
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
8399
8423
  var headerRef = React.createRef();
8400
8424
  var contentRef = React.createRef();
8401
8425
  var footerRef = React.createRef();
@@ -8636,7 +8660,7 @@ InputArea.defaultProps = {
8636
8660
  };
8637
8661
  var InputArea$1 = React.memo(InputArea);
8638
8662
 
8639
- var _excluded$g = ["label", "opened", "setOpened", "closeOnOutClick", "closeOnEsc", "downloads"];
8663
+ var _excluded$i = ["label", "opened", "setOpened", "closeOnOutClick", "closeOnEsc", "downloads"];
8640
8664
  var rootClassName$2d = 'component-item-dropdown-download';
8641
8665
  function ItemDropdownDownload(_ref) {
8642
8666
  var label = _ref.label,
@@ -8644,7 +8668,7 @@ function ItemDropdownDownload(_ref) {
8644
8668
  setOpened = _ref.setOpened,
8645
8669
  _ref$downloads = _ref.downloads,
8646
8670
  downloads = _ref$downloads === void 0 ? [] : _ref$downloads,
8647
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
8671
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
8648
8672
  var _useState = React.useState(null),
8649
8673
  ref = _useState[0],
8650
8674
  setRef = _useState[1];
@@ -8964,7 +8988,7 @@ function useScreenSize() {
8964
8988
  return value;
8965
8989
  }
8966
8990
 
8967
- var _excluded$h = ["className", "compenseColPaddingContent", "footer", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "title"];
8991
+ var _excluded$j = ["className", "compenseColPaddingContent", "footer", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "title"];
8968
8992
  var rootClassName$2g = 'component-modal';
8969
8993
  function Modal(_ref) {
8970
8994
  var className = _ref.className,
@@ -8978,7 +9002,7 @@ function Modal(_ref) {
8978
9002
  _ref$tag = _ref.tag,
8979
9003
  tag = _ref$tag === void 0 ? 'dialog' : _ref$tag,
8980
9004
  title = _ref.title,
8981
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
9005
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
8982
9006
  var _useScreenSize = useScreenSize(),
8983
9007
  rankedSize = _useScreenSize.rankedSize;
8984
9008
  var modalProps = React.useMemo(function () {
@@ -9151,7 +9175,7 @@ PageSubTitle.defaultProps = {
9151
9175
  text: ''
9152
9176
  };
9153
9177
 
9154
- var _excluded$i = ["boundaryCount", "count", "currentPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "siblingCount", "maxLength"];
9178
+ var _excluded$k = ["boundaryCount", "count", "currentPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "siblingCount", "maxLength"];
9155
9179
  function usePagination(props) {
9156
9180
  var _ref;
9157
9181
  if (props === void 0) {
@@ -9175,7 +9199,7 @@ function usePagination(props) {
9175
9199
  _props$siblingCount = _props.siblingCount,
9176
9200
  siblingCount = _props$siblingCount === void 0 ? 1 : _props$siblingCount,
9177
9201
  maxLength = _props.maxLength,
9178
- other = _objectWithoutPropertiesLoose(_props, _excluded$i);
9202
+ other = _objectWithoutPropertiesLoose(_props, _excluded$k);
9179
9203
  var isControlledRef = React.useRef(pageProp !== undefined);
9180
9204
  var _useState = React.useState(currentPage),
9181
9205
  pageCurrent = _useState[0],
@@ -9267,7 +9291,7 @@ var ThreeDots = function ThreeDots() {
9267
9291
  }));
9268
9292
  };
9269
9293
 
9270
- var _excluded$j = ["page", "type", "selected"];
9294
+ var _excluded$l = ["page", "type", "selected"];
9271
9295
  var rootClassName$2k = 'pagination-component';
9272
9296
  var Pagination = function Pagination(props) {
9273
9297
  var _useScreenSize = useScreenSize(),
@@ -9342,7 +9366,7 @@ var Pagination = function Pagination(props) {
9342
9366
  return React__default.createElement(Row$1, {
9343
9367
  className: getMergedClassNames([rootClassName$2k, countPages ? 'hasLeftItem' : '', countPages || rowsPerPage ? 'oneOf' : ''])
9344
9368
  }, countPages || rowsPerPage ? React__default.createElement(Col$1, {
9345
- noPadding: true,
9369
+ padding: 0,
9346
9370
  cols: rowsPerPage && countPages ? [12, 12, 6, 6, 6] : rowsPerPage || countPages ? [12, 6, 6, 6, 6] : [12, 12, 12, 12, 12]
9347
9371
  }, countPages || rowsPerPage ? React__default.createElement("div", {
9348
9372
  className: getMergedClassNames(['paginationLeftContainer', 'nunito', countPages && rowsPerPage ? 'both' : countPages || rowsPerPage ? 'oneOf' : ''])
@@ -9385,7 +9409,7 @@ var Pagination = function Pagination(props) {
9385
9409
  }, React__default.createElement("p", {
9386
9410
  className: 'nunito'
9387
9411
  }, rowsPerPage && rows, " "), React__default.createElement(ChevronArrowDownIcon, null)))))) : undefined) : undefined) : undefined, React__default.createElement(Col$1, {
9388
- noPadding: true,
9412
+ padding: 0,
9389
9413
  cols: rowsPerPage && countPages ? [12, 12, 6, 6, 6] : rowsPerPage || countPages ? [12, 6, 6, 6, 6] : [12, 12, 12, 12, 12],
9390
9414
  centralized: alignCenter,
9391
9415
  end: alignEnd
@@ -9393,7 +9417,7 @@ var Pagination = function Pagination(props) {
9393
9417
  var page = _ref2.page,
9394
9418
  type = _ref2.type,
9395
9419
  selected = _ref2.selected,
9396
- item = _objectWithoutPropertiesLoose(_ref2, _excluded$j);
9420
+ item = _objectWithoutPropertiesLoose(_ref2, _excluded$l);
9397
9421
  var children = null;
9398
9422
  if (type === 'start-ellipsis' || type === 'end-ellipsis') {
9399
9423
  children = React__default.createElement("li", {
@@ -9733,7 +9757,7 @@ var PreviaVideo$1 = React.memo(PreviaVideo);
9733
9757
  RadioButtonType["New"] = "new";
9734
9758
  })(exports.RadioButtonType || (exports.RadioButtonType = {}));
9735
9759
 
9736
- var _excluded$k = ["onChange", "value", "className", "theme", "error", "type"];
9760
+ var _excluded$m = ["onChange", "value", "className", "theme", "error", "type"];
9737
9761
  var rootClassName$2o = 'component-radio-button';
9738
9762
  function RadioButton(_ref) {
9739
9763
  var onChange = _ref.onChange,
@@ -9746,7 +9770,7 @@ function RadioButton(_ref) {
9746
9770
  error = _ref$error === void 0 ? false : _ref$error,
9747
9771
  _ref$type = _ref.type,
9748
9772
  type = _ref$type === void 0 ? 'button' : _ref$type,
9749
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
9773
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
9750
9774
  var classNames = useMergedClassNames([rootClassName$2o, theme, className]);
9751
9775
  return React__default.createElement("button", Object.assign({}, props, {
9752
9776
  type: type,
@@ -10555,38 +10579,35 @@ Select.defaultProps = {
10555
10579
  };
10556
10580
  var Select$1 = React.memo(Select);
10557
10581
 
10582
+ var _excluded$n = ["theme", "value", "onChange", "className", "error"];
10558
10583
  var rootClassName$2s = 'component-switch';
10559
- function Switch(props) {
10560
- var handleClick = function handleClick() {
10561
- var _props$onChange;
10562
- (_props$onChange = props.onChange) === null || _props$onChange === void 0 ? void 0 : _props$onChange.call(props, !props.value);
10563
- };
10564
- var getProps = function getProps() {
10565
- var p = _extends({}, props, {
10566
- className: getMergedClassNames([rootClassName$2s, props.className || '', rootClassName$2s + "-" + (props.value ? 'on' : 'off')]),
10567
- onClick: handleClick,
10568
- style: _extends({
10569
- transform: "scale(" + props.scale + ")"
10570
- }, props.style)
10571
- });
10572
- delete p.onChange;
10573
- delete p.value;
10574
- delete p.scale;
10575
- return p;
10576
- };
10577
- return React__default.createElement("button", Object.assign({}, getProps()), React__default.createElement("div", {
10584
+ function Switch(_ref) {
10585
+ var _ref$theme = _ref.theme,
10586
+ theme = _ref$theme === void 0 ? 'android' : _ref$theme,
10587
+ _ref$value = _ref.value,
10588
+ value = _ref$value === void 0 ? false : _ref$value,
10589
+ onChange = _ref.onChange,
10590
+ _ref$className = _ref.className,
10591
+ className = _ref$className === void 0 ? '' : _ref$className,
10592
+ _ref$error = _ref.error,
10593
+ error = _ref$error === void 0 ? false : _ref$error,
10594
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
10595
+ var classNames = useMergedClassNames([rootClassName$2s, className, theme]);
10596
+ return React__default.createElement("button", Object.assign({}, props, {
10597
+ className: classNames,
10598
+ "data-checked": value ? 'true' : 'false',
10599
+ "data-error": error ? 'true' : 'false',
10600
+ onClick: function onClick(event) {
10601
+ return onChange === null || onChange === void 0 ? void 0 : onChange(!value, event);
10602
+ }
10603
+ }), React__default.createElement("div", {
10578
10604
  className: rootClassName$2s + "-track"
10579
10605
  }), React__default.createElement("div", {
10580
10606
  className: rootClassName$2s + "-thumb"
10581
10607
  }));
10582
10608
  }
10583
- Switch.defaultProps = {
10584
- disabled: false,
10585
- value: false,
10586
- scale: 1
10587
- };
10588
10609
 
10589
- var _excluded$l = ["columns", "lines", "onSort", "confirmSort", "sortable", "upperHeader", "className"];
10610
+ var _excluded$o = ["columns", "lines", "onSort", "confirmSort", "sortable", "upperHeader", "className"];
10590
10611
  var rootClassName$2t = 'component-table';
10591
10612
  function TypedTable(props) {
10592
10613
  return React__default.createElement(Table, Object.assign({}, props));
@@ -10599,7 +10620,7 @@ function Table(_ref) {
10599
10620
  sortable = _ref.sortable,
10600
10621
  upperHeader = _ref.upperHeader,
10601
10622
  className = _ref.className,
10602
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
10623
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
10603
10624
  var itemsId = React.useMemo(function () {
10604
10625
  return "table" + getUniqueKey();
10605
10626
  }, []);
@@ -11198,13 +11219,13 @@ function TextEditorColorPicker(props) {
11198
11219
  }, "OK")));
11199
11220
  }
11200
11221
 
11201
- var _excluded$m = ["icon", "active"];
11222
+ var _excluded$p = ["icon", "active"];
11202
11223
  var rootClassName$2C = 'text-editor-header-button';
11203
11224
  function TextEditorHeaderButton(_ref) {
11204
11225
  var _props$className;
11205
11226
  var icon = _ref.icon,
11206
11227
  active = _ref.active,
11207
- props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
11228
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
11208
11229
  return React__default.createElement("button", Object.assign({
11209
11230
  className: getMergedClassNames([rootClassName$2C, active ? 'active' : '', (_props$className = props.className) != null ? _props$className : ''])
11210
11231
  }, props), icon);
@@ -12061,7 +12082,7 @@ TopLoader.defaultProps = {
12061
12082
  })
12062
12083
  };
12063
12084
 
12064
- var _excluded$n = ["className", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "urlVideo", "videoPlayerProps"];
12085
+ var _excluded$q = ["className", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "urlVideo", "videoPlayerProps"];
12065
12086
  var rootClassName$2M = 'video-modal';
12066
12087
  function VideoModal(_ref) {
12067
12088
  var _ref2;
@@ -12075,7 +12096,7 @@ function VideoModal(_ref) {
12075
12096
  tag = _ref$tag === void 0 ? 'dialog' : _ref$tag,
12076
12097
  urlVideo = _ref.urlVideo,
12077
12098
  videoPlayerProps = _ref.videoPlayerProps,
12078
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
12099
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
12079
12100
  var _useScreenSize = useScreenSize(),
12080
12101
  rankedSize = _useScreenSize.rankedSize;
12081
12102
  var handleClose = React.useCallback(function () {
@@ -12101,12 +12122,12 @@ VideoModal.defaultProps = {
12101
12122
  size: 'md'
12102
12123
  };
12103
12124
 
12104
- var _excluded$o = ["className"];
12125
+ var _excluded$r = ["className"];
12105
12126
  var rootClassName$2N = 'icon-component';
12106
12127
  var Bell16Icon = function Bell16Icon(_ref) {
12107
12128
  var _ref$className = _ref.className,
12108
12129
  className = _ref$className === void 0 ? '' : _ref$className,
12109
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
12130
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
12110
12131
  var classNames = useMergedClassNames([rootClassName$2N, className]);
12111
12132
  return React__default.createElement("svg", Object.assign({
12112
12133
  width: '16',
@@ -12123,12 +12144,12 @@ var Bell16Icon = function Bell16Icon(_ref) {
12123
12144
  }));
12124
12145
  };
12125
12146
 
12126
- var _excluded$p = ["className"];
12147
+ var _excluded$s = ["className"];
12127
12148
  var rootClassName$2O = 'icon-component';
12128
12149
  var BellIcon = function BellIcon(_ref) {
12129
12150
  var _ref$className = _ref.className,
12130
12151
  className = _ref$className === void 0 ? '' : _ref$className,
12131
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
12152
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
12132
12153
  var classNames = useMergedClassNames([rootClassName$2O, className]);
12133
12154
  return React__default.createElement("svg", Object.assign({
12134
12155
  width: '24',
@@ -12145,12 +12166,12 @@ var BellIcon = function BellIcon(_ref) {
12145
12166
  }));
12146
12167
  };
12147
12168
 
12148
- var _excluded$q = ["className"];
12169
+ var _excluded$t = ["className"];
12149
12170
  var rootClassName$2P = 'icon-component';
12150
12171
  var MiniInformationIcon = function MiniInformationIcon(_ref) {
12151
12172
  var _ref$className = _ref.className,
12152
12173
  className = _ref$className === void 0 ? '' : _ref$className,
12153
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
12174
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
12154
12175
  var classNames = useMergedClassNames([rootClassName$2P, className]);
12155
12176
  return React__default.createElement("svg", Object.assign({
12156
12177
  viewBox: '0 0 12 12',
@@ -12426,7 +12447,7 @@ function CalendarDays(props) {
12426
12447
  }
12427
12448
  var CalendarDays$1 = React.memo(CalendarDays);
12428
12449
 
12429
- var _excluded$r = ["language", "visao", "referencia"];
12450
+ var _excluded$u = ["language", "visao", "referencia"];
12430
12451
  var rootClassName$2X = 'calendar';
12431
12452
  function Calendar(_ref) {
12432
12453
  var _ref$language = _ref.language,
@@ -12435,7 +12456,7 @@ function Calendar(_ref) {
12435
12456
  visao = _ref$visao === void 0 ? CalendarView.Mensal : _ref$visao,
12436
12457
  _ref$referencia = _ref.referencia,
12437
12458
  referencia = _ref$referencia === void 0 ? new Date() : _ref$referencia,
12438
- props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
12459
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
12439
12460
  var id = React.useMemo(getUniqueKey, []);
12440
12461
  var _useState = React.useState(false),
12441
12462
  pocket = _useState[0],
@@ -12875,12 +12896,12 @@ var DecreaseIcon = function DecreaseIcon() {
12875
12896
  }));
12876
12897
  };
12877
12898
 
12878
- var _excluded$s = ["type"];
12899
+ var _excluded$v = ["type"];
12879
12900
  var rootClassName$32 = 'component-table-left-checkbox-with-label';
12880
12901
  var LeftControlWithLabel = function LeftControlWithLabel(_ref) {
12881
12902
  var _props$spanProps2, _props$spanProps3;
12882
12903
  var type = _ref.type,
12883
- props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
12904
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
12884
12905
  var style = React.useMemo(function () {
12885
12906
  var _props$spanProps$styl, _props$spanProps;
12886
12907
  var style = _extends({
@@ -13002,7 +13023,7 @@ function TooltipElement(_ref) {
13002
13023
  }))));
13003
13024
  }
13004
13025
 
13005
- var _excluded$t = ["className", "variant", "color", "focus", "style", "alignment", "format", "dangerouslySetInnerHTML", "children"];
13026
+ var _excluded$w = ["className", "variant", "color", "focus", "style", "alignment", "format", "dangerouslySetInnerHTML", "children"];
13006
13027
  var rootClassName$34 = 'typography';
13007
13028
  var Typography = React.forwardRef(function (_ref, ref) {
13008
13029
  var _ref$className = _ref.className,
@@ -13022,7 +13043,7 @@ var Typography = React.forwardRef(function (_ref, ref) {
13022
13043
  } : _ref$format,
13023
13044
  dangerouslySetInnerHTML = _ref.dangerouslySetInnerHTML,
13024
13045
  children = _ref.children,
13025
- props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
13046
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
13026
13047
  var classNames = useMergedClassNames([rootClassName$34 + "-tp", focus ? rootClassName$34 + "-focus" : '', color, variant, className]);
13027
13048
  var tag = React.useMemo(function () {
13028
13049
  switch (variant) {
@@ -13063,6 +13084,143 @@ var Typography = React.forwardRef(function (_ref, ref) {
13063
13084
  });
13064
13085
  Typography.displayName = 'Typography';
13065
13086
 
13087
+ var _excluded$x = ["className", "options", "value", "onChange", "disabled"];
13088
+ var rootClassName$35 = 'v-slider';
13089
+ var optionHeight = 24;
13090
+ var optionGap = 16;
13091
+ var VerticalSlider = React.forwardRef(function (_ref, ref) {
13092
+ var _ref$className = _ref.className,
13093
+ className = _ref$className === void 0 ? '' : _ref$className,
13094
+ _ref$options = _ref.options,
13095
+ options = _ref$options === void 0 ? [] : _ref$options,
13096
+ _ref$value = _ref.value,
13097
+ value = _ref$value === void 0 ? null : _ref$value,
13098
+ onChange = _ref.onChange,
13099
+ disabled = _ref.disabled,
13100
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
13101
+ var classNames = useMergedClassNames([rootClassName$35, className]);
13102
+ var fillRef = React.createRef();
13103
+ var movingRef = React.useRef({
13104
+ moving: false,
13105
+ y: 0,
13106
+ height: 0,
13107
+ elementIndex: 0
13108
+ });
13109
+ React.useLayoutEffect(function () {
13110
+ var index = options.findIndex(function (o) {
13111
+ return o.value === value;
13112
+ });
13113
+ if (fillRef.current) {
13114
+ var height = (index + 1) * optionHeight;
13115
+ var gaps = index * optionGap;
13116
+ var h = Math.max(height + gaps, 24);
13117
+ fillRef.current.style.height = h + "px";
13118
+ movingRef.current.height = h;
13119
+ }
13120
+ }, [options, value]);
13121
+ React.useLayoutEffect(function () {
13122
+ var up = function up() {
13123
+ var _fillRef$current;
13124
+ if (disabled) return;
13125
+ var wasMoving = Boolean(movingRef.current.moving);
13126
+ movingRef.current.moving = false;
13127
+ (_fillRef$current = fillRef.current) === null || _fillRef$current === void 0 ? void 0 : _fillRef$current.classList.remove('grabbing');
13128
+ if (wasMoving) {
13129
+ var _options$movingRef$cu, _options$movingRef$cu2;
13130
+ 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);
13131
+ }
13132
+ };
13133
+ window.addEventListener('mouseup', up);
13134
+ window.addEventListener('touchend', up);
13135
+ return function () {
13136
+ window.removeEventListener('mouseup', up);
13137
+ window.removeEventListener('touchend', up);
13138
+ };
13139
+ }, [disabled, fillRef, onChange, options]);
13140
+ var heights = React.useMemo(function () {
13141
+ return options.map(function (_, i) {
13142
+ if (i === 0 || i === options.length - 1) return optionHeight + optionGap / 2;
13143
+ return optionHeight + optionGap;
13144
+ });
13145
+ }, [options]);
13146
+ var acc = React.useMemo(function () {
13147
+ return heights.reduce(function (ac, at, i) {
13148
+ if (i === 0) return [at];
13149
+ return [].concat(ac, [ac[i - 1] + at]);
13150
+ }, []);
13151
+ }, [heights]);
13152
+ var handleMove = React.useCallback(function (evt) {
13153
+ var _evt$currentTarget;
13154
+ if (disabled || !movingRef.current.moving || !fillRef.current) return;
13155
+ evt.preventDefault();
13156
+ evt.stopPropagation();
13157
+ var el = (_evt$currentTarget = evt.currentTarget) === null || _evt$currentTarget === void 0 ? void 0 : _evt$currentTarget.getBoundingClientRect();
13158
+ var clientY = 'clientY' in evt ? evt.clientY : evt.touches[0].clientY;
13159
+ var clickHeight = el.y + el.height - clientY;
13160
+ var i = acc.findIndex(function (a) {
13161
+ return a > clickHeight;
13162
+ });
13163
+ var height = (i + 1) * optionHeight;
13164
+ var gaps = i * optionGap;
13165
+ var h = Math.max(height + gaps, 24);
13166
+ fillRef.current.style.height = h + "px";
13167
+ movingRef.current.elementIndex = i;
13168
+ }, [acc, disabled, fillRef]);
13169
+ var handleStart = React.useCallback(function (evt) {
13170
+ var _fillRef$current2;
13171
+ if (disabled) return;
13172
+ evt.preventDefault();
13173
+ evt.stopPropagation();
13174
+ movingRef.current.moving = true;
13175
+ (_fillRef$current2 = fillRef.current) === null || _fillRef$current2 === void 0 ? void 0 : _fillRef$current2.classList.add('grabbing');
13176
+ }, [disabled, fillRef]);
13177
+ var handleSelect = React.useCallback(function (evt) {
13178
+ if (disabled) return;
13179
+ var el = evt.currentTarget.getBoundingClientRect();
13180
+ var clickHeight = el.y + el.height - evt.clientY;
13181
+ var h = acc.findIndex(function (a) {
13182
+ return a > clickHeight;
13183
+ });
13184
+ onChange(options[h].value, h);
13185
+ }, [acc, disabled, onChange, options]);
13186
+ return React__default.createElement("div", Object.assign({}, props, {
13187
+ className: classNames,
13188
+ ref: ref,
13189
+ "aria-disabled": disabled
13190
+ }), React__default.createElement("div", {
13191
+ className: rootClassName$35 + "-input"
13192
+ }, React__default.createElement("div", {
13193
+ className: rootClassName$35 + "-track",
13194
+ onMouseMove: handleMove,
13195
+ onTouchMove: handleMove,
13196
+ onMouseDown: handleSelect
13197
+ }, React__default.createElement("div", {
13198
+ className: rootClassName$35 + "-fill",
13199
+ "data-checked": value !== null,
13200
+ ref: fillRef
13201
+ }, React__default.createElement("div", {
13202
+ className: rootClassName$35 + "-thumb",
13203
+ onMouseDown: handleStart,
13204
+ onTouchStart: handleStart,
13205
+ onDragStart: function onDragStart(e) {
13206
+ e.preventDefault();
13207
+ }
13208
+ })))), React__default.createElement("div", {
13209
+ className: rootClassName$35 + "-options"
13210
+ }, options.map(function (opt, i) {
13211
+ return React__default.createElement("div", {
13212
+ key: opt.value + "-" + i,
13213
+ className: rootClassName$35 + "-option",
13214
+ "data-checked": value === opt.value,
13215
+ onClick: function onClick() {
13216
+ if (disabled || value === opt.value) return;
13217
+ onChange(opt.value, i);
13218
+ }
13219
+ }, opt.label);
13220
+ })));
13221
+ });
13222
+ VerticalSlider.displayName = 'VerticalSlider';
13223
+
13066
13224
  function useCallbackedState(callback, initialValue) {
13067
13225
  var _useState = React.useState(initialValue),
13068
13226
  value = _useState[0],
@@ -43995,13 +44153,13 @@ function useHTMLShare() {
43995
44153
  };
43996
44154
  }
43997
44155
  if (scale === void 0) {
43998
- scale = 1.5;
44156
+ scale = 1.0;
43999
44157
  }
44000
44158
  return new Promise(function (resolve, reject) {
44001
44159
  html2canvas(element, {
44002
44160
  scale: scale
44003
44161
  }).then(function (canvas) {
44004
- var _opt$pdfWidth, _opt$pdfHeight, _opt$imageX, _opt$imageY, _opt$imageWidth, _opt$imageHeight;
44162
+ var _opt$pdfWidth, _opt$pdfHeight, _opt$quality, _opt$imageX, _opt$imageY, _opt$imageWidth, _opt$imageHeight;
44005
44163
  var opt = _extends({
44006
44164
  pdfWidth: canvas.width,
44007
44165
  pdfHeight: canvas.height,
@@ -44012,10 +44170,10 @@ function useHTMLShare() {
44012
44170
  quality: 1.0,
44013
44171
  orientation: 'p'
44014
44172
  }, typeof options === 'function' ? options(canvas) : {});
44015
- var doc = new jspdf.jsPDF(opt.orientation, 'px', [(_opt$pdfWidth = opt.pdfWidth) != null ? _opt$pdfWidth : 0, (_opt$pdfHeight = opt.pdfHeight) != null ? _opt$pdfHeight : 0]);
44016
- var png = canvas.toDataURL('image/png', opt.quality);
44173
+ var doc = new jspdf.jsPDF(opt.orientation, 'px', [(_opt$pdfWidth = opt.pdfWidth) != null ? _opt$pdfWidth : 0, (_opt$pdfHeight = opt.pdfHeight) != null ? _opt$pdfHeight : 0], true);
44174
+ var imgData = canvas.toDataURL('image/jpeg', (_opt$quality = opt.quality) != null ? _opt$quality : 1.0);
44017
44175
  doc.internal.scaleFactor = scale;
44018
- 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');
44176
+ 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');
44019
44177
  doc.save(fileName);
44020
44178
  resolve();
44021
44179
  })["catch"](function () {
@@ -44087,7 +44245,7 @@ function useHTMLShare() {
44087
44245
  };
44088
44246
  }
44089
44247
 
44090
- var rootClassName$35 = 'comp-modal-manager';
44248
+ var rootClassName$36 = 'comp-modal-manager';
44091
44249
  var maskRootClassName$1 = 'component-modal-mask';
44092
44250
  var hackFocus$1 = function hackFocus() {
44093
44251
  var tmp = document.createElement('input');
@@ -44155,13 +44313,13 @@ function useModalManager() {
44155
44313
  return [React__default.createElement(React__default.Fragment, {
44156
44314
  key: 1
44157
44315
  }, React__default.createElement(reactTransitionGroup.TransitionGroup, {
44158
- className: rootClassName$35 + "-modals"
44316
+ className: rootClassName$36 + "-modals"
44159
44317
  }, arrayOfModal.map(function (obj) {
44160
44318
  var _obj$props2, _obj$props3;
44161
44319
  var ModalComponent = React__default.createElement(obj.component, obj.props);
44162
44320
  return React__default.createElement(reactTransitionGroup.CSSTransition, {
44163
44321
  timeout: 300,
44164
- classNames: rootClassName$35 + "-mask",
44322
+ classNames: rootClassName$36 + "-mask",
44165
44323
  key: (_obj$props2 = obj.props) === null || _obj$props2 === void 0 ? void 0 : _obj$props2.modalKey,
44166
44324
  unmountOnExit: true
44167
44325
  }, React__default.createElement(ModalMask, {
@@ -44432,7 +44590,7 @@ function useTimeElapsed(timeLeftInSeconds, callBackZero) {
44432
44590
  return timeToReturn;
44433
44591
  }
44434
44592
 
44435
- var rootClassName$36 = 'comp-toast-manager';
44593
+ var rootClassName$37 = 'comp-toast-manager';
44436
44594
  var count$1 = 0;
44437
44595
  function useToastManager(props) {
44438
44596
  var _props$max;
@@ -44478,17 +44636,17 @@ function useToastManager(props) {
44478
44636
  toastsRef.current = [];
44479
44637
  }, []);
44480
44638
  var classNames = React.useMemo(function () {
44481
- return getMergedClassNames([rootClassName$36 + "-toasts", rootClassName$36 + "-" + verticalPosition, rootClassName$36 + "-" + horizontalPosition, reverse ? rootClassName$36 + "-reverse" : '', animateSize ? rootClassName$36 + "-animate-size" : '']);
44639
+ return getMergedClassNames([rootClassName$37 + "-toasts", rootClassName$37 + "-" + verticalPosition, rootClassName$37 + "-" + horizontalPosition, reverse ? rootClassName$37 + "-reverse" : '', animateSize ? rootClassName$37 + "-animate-size" : '']);
44482
44640
  }, [reverse, animateSize, horizontalPosition, verticalPosition]);
44483
44641
  React.useLayoutEffect(function () {
44484
- var wrapper = document.querySelector("." + rootClassName$36 + "-toasts");
44642
+ var wrapper = document.querySelector("." + rootClassName$37 + "-toasts");
44485
44643
  if (wrapper && wrapper.childElementCount > 0) {
44486
44644
  var somaDasAlturas = 0;
44487
44645
  if (verticalPosition === 'top' && !reverse) {
44488
44646
  somaDasAlturas = 12;
44489
44647
  for (var i = 0; i < wrapper.children.length; i++) {
44490
44648
  var el = wrapper.children[i];
44491
- if (!el.classList.contains(rootClassName$36 + "-toast-exit")) {
44649
+ if (!el.classList.contains(rootClassName$37 + "-toast-exit")) {
44492
44650
  el.style.transform = "translateY(" + somaDasAlturas + "px)";
44493
44651
  somaDasAlturas += el.getBoundingClientRect().height + 12;
44494
44652
  }
@@ -44496,7 +44654,7 @@ function useToastManager(props) {
44496
44654
  } else if (verticalPosition === 'top') {
44497
44655
  for (var _i = wrapper.children.length - 1; _i >= 0; _i--) {
44498
44656
  var _el = wrapper.children[_i];
44499
- if (!_el.classList.contains(rootClassName$36 + "-toast-exit")) {
44657
+ if (!_el.classList.contains(rootClassName$37 + "-toast-exit")) {
44500
44658
  somaDasAlturas += _el.getBoundingClientRect().height + 12;
44501
44659
  _el.style.transform = "translateY(" + somaDasAlturas + "px)";
44502
44660
  }
@@ -44504,7 +44662,7 @@ function useToastManager(props) {
44504
44662
  } else if (verticalPosition === 'bottom' && !reverse) {
44505
44663
  for (var _i2 = 0; _i2 < wrapper.children.length; _i2++) {
44506
44664
  var _el2 = wrapper.children[_i2];
44507
- if (!_el2.classList.contains(rootClassName$36 + "-toast-exit")) {
44665
+ if (!_el2.classList.contains(rootClassName$37 + "-toast-exit")) {
44508
44666
  somaDasAlturas += _el2.getBoundingClientRect().height + 12;
44509
44667
  _el2.style.transform = "translateY(-" + somaDasAlturas + "px)";
44510
44668
  }
@@ -44513,7 +44671,7 @@ function useToastManager(props) {
44513
44671
  somaDasAlturas = 12;
44514
44672
  for (var _i3 = wrapper.children.length - 1; _i3 >= 0; _i3--) {
44515
44673
  var _el3 = wrapper.children[_i3];
44516
- if (!_el3.classList.contains(rootClassName$36 + "-toast-exit")) {
44674
+ if (!_el3.classList.contains(rootClassName$37 + "-toast-exit")) {
44517
44675
  _el3.style.transform = "translateY(-" + somaDasAlturas + "px)";
44518
44676
  somaDasAlturas += _el3.getBoundingClientRect().height + 12;
44519
44677
  }
@@ -44528,11 +44686,11 @@ function useToastManager(props) {
44528
44686
  }, arrayOfToast.map(function (toast) {
44529
44687
  return React__default.createElement(reactTransitionGroup.CSSTransition, {
44530
44688
  timeout: 300,
44531
- classNames: rootClassName$36 + "-toast",
44689
+ classNames: rootClassName$37 + "-toast",
44532
44690
  key: toast.id,
44533
44691
  unmountOnExit: true
44534
44692
  }, React__default.createElement("div", {
44535
- className: rootClassName$36 + "-toastzin"
44693
+ className: rootClassName$37 + "-toastzin"
44536
44694
  }, React__default.createElement(Toast, {
44537
44695
  theme: toast.theme,
44538
44696
  label: toast.label,
@@ -44560,7 +44718,7 @@ function useValidatedState(validation, initialValue) {
44560
44718
  return [value, setValue, validation(value)];
44561
44719
  }
44562
44720
 
44563
- var _excluded$u = ["disabled", "language", "onConfirm", "showIcons"],
44721
+ var _excluded$y = ["disabled", "language", "onConfirm", "showIcons"],
44564
44722
  _excluded2 = ["disabled", "language", "onCancel", "onConfirm", "showIcons"],
44565
44723
  _excluded3 = ["disabled", "language", "onCancel", "onConfirm", "showIcons"];
44566
44724
  function AlertModal(_ref) {
@@ -44570,7 +44728,7 @@ function AlertModal(_ref) {
44570
44728
  onConfirm = _ref.onConfirm,
44571
44729
  _ref$showIcons = _ref.showIcons,
44572
44730
  showIcons = _ref$showIcons === void 0 ? true : _ref$showIcons,
44573
- props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
44731
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
44574
44732
  var _useState = React.useState(false),
44575
44733
  loading = _useState[0],
44576
44734
  setLoading = _useState[1];
@@ -44903,6 +45061,7 @@ exports.Typography = Typography;
44903
45061
  exports.UnderlineIcon = UnderlineIcon;
44904
45062
  exports.UndoIcon = UndoIcon;
44905
45063
  exports.UserIcon = UserIcon;
45064
+ exports.VerticalSlider = VerticalSlider;
44906
45065
  exports.VideoModal = VideoModal;
44907
45066
  exports.VideoPlayer = VideoPlayer;
44908
45067
  exports.WebsiteIcon = WebsiteIcon;