plataforma-fundacao-componentes 2.26.2 → 2.26.3
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/assets/icons/InformationIcon.d.ts +2 -2
- package/dist/assets/icons/MiniInformationIcon.d.ts +3 -0
- package/dist/components/checkbox/Checkbox.d.ts +286 -3
- package/dist/components/input/Input.d.ts +4 -4
- package/dist/components/input/Input.stories.d.ts +1 -0
- package/dist/components/inputArea/InputArea.d.ts +2 -2
- package/dist/components/modal/Modal.d.ts +4 -4
- package/dist/components/radioButton/RadioButton.d.ts +4 -3
- package/dist/components/radioButton/RadioButton.stories.d.ts +1 -0
- package/dist/components/search/Search.d.ts +2 -2
- package/dist/components/select/Select.d.ts +2 -2
- package/dist/components/table/components/leftControlWithLabel/LeftControlWithLabel.d.ts +3 -3
- package/dist/components/videoModal/VideoModal.d.ts +6 -6
- package/dist/index.css +42 -20
- package/dist/index.d.ts +2 -1
- package/dist/index.js +127 -84
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +129 -87
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useMemo, useState, useEffect, memo, isValidElement, useCallback, useRef, useLayoutEffect, createRef, Fragment as Fragment$1,
|
|
1
|
+
import React, { useMemo, useState, useEffect, memo, isValidElement, useCallback, useRef, useLayoutEffect, createElement, createRef, Fragment as Fragment$1, forwardRef, useImperativeHandle } from 'react';
|
|
2
2
|
import { CSSTransition, TransitionGroup } from 'react-transition-group';
|
|
3
3
|
import { Chart } from 'chart.js';
|
|
4
4
|
import moment from 'moment';
|
|
@@ -866,13 +866,19 @@ var CreditIcon = function CreditIcon() {
|
|
|
866
866
|
}));
|
|
867
867
|
};
|
|
868
868
|
|
|
869
|
+
var _excluded = ["className"];
|
|
869
870
|
var rootClassName$A = 'icon-component';
|
|
870
|
-
var InformationIcon = function InformationIcon() {
|
|
871
|
-
|
|
872
|
-
className:
|
|
871
|
+
var InformationIcon = function InformationIcon(_ref) {
|
|
872
|
+
var _ref$className = _ref.className,
|
|
873
|
+
className = _ref$className === void 0 ? '' : _ref$className,
|
|
874
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
875
|
+
var classNames = useMergedClassNames([rootClassName$A, className]);
|
|
876
|
+
return React.createElement("svg", Object.assign({
|
|
873
877
|
viewBox: '0 0 24 24',
|
|
874
878
|
xmlns: 'http://www.w3.org/2000/svg'
|
|
875
|
-
},
|
|
879
|
+
}, props, {
|
|
880
|
+
className: classNames
|
|
881
|
+
}), React.createElement("path", {
|
|
876
882
|
d: 'M21.5 12C21.5 17.2467 17.2467 21.5 12 21.5C6.75329 21.5 2.5 17.2467 2.5 12C2.5 6.75329 6.75329 2.5 12 2.5C17.2467 2.5 21.5 6.75329 21.5 12Z',
|
|
877
883
|
fill: 'none',
|
|
878
884
|
stroke: 'currentColor'
|
|
@@ -1215,13 +1221,13 @@ var LinkIcon = function LinkIcon() {
|
|
|
1215
1221
|
}));
|
|
1216
1222
|
};
|
|
1217
1223
|
|
|
1218
|
-
var _excluded = ["theme", "size", "className"];
|
|
1224
|
+
var _excluded$1 = ["theme", "size", "className"];
|
|
1219
1225
|
var rootClassName$L = 'loader-three-dots';
|
|
1220
1226
|
var ThreeDotsLoader = function ThreeDotsLoader(_ref) {
|
|
1221
1227
|
var theme = _ref.theme,
|
|
1222
1228
|
size = _ref.size,
|
|
1223
1229
|
className = _ref.className,
|
|
1224
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
1230
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
|
1225
1231
|
return React.createElement("div", Object.assign({
|
|
1226
1232
|
className: useMergedClassNames([rootClassName$L, className != null ? className : '', rootClassName$L + "-" + (theme != null ? theme : 'primary'), rootClassName$L + "-size-" + (size != null ? size : 3)])
|
|
1227
1233
|
}, rest), React.createElement("div", null), React.createElement("div", null), React.createElement("div", null));
|
|
@@ -4623,14 +4629,14 @@ function Banner(props) {
|
|
|
4623
4629
|
})));
|
|
4624
4630
|
}
|
|
4625
4631
|
|
|
4626
|
-
var _excluded$
|
|
4632
|
+
var _excluded$2 = ["icon", "label", "subtitle", "className"];
|
|
4627
4633
|
var rootClassName$1D = 'component-big-block-button';
|
|
4628
4634
|
function BigBlockButton(_ref) {
|
|
4629
4635
|
var icon = _ref.icon,
|
|
4630
4636
|
label = _ref.label,
|
|
4631
4637
|
subtitle = _ref.subtitle,
|
|
4632
4638
|
className = _ref.className,
|
|
4633
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4639
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
|
4634
4640
|
return React.createElement("button", Object.assign({}, props, {
|
|
4635
4641
|
className: useMergedClassNames([rootClassName$1D, className])
|
|
4636
4642
|
}), React.createElement("div", {
|
|
@@ -4767,7 +4773,7 @@ var ButtonThemes;
|
|
|
4767
4773
|
ButtonThemes["HeaderUserBold"] = "header-user-bold";
|
|
4768
4774
|
})(ButtonThemes || (ButtonThemes = {}));
|
|
4769
4775
|
|
|
4770
|
-
var _excluded$
|
|
4776
|
+
var _excluded$3 = ["className", "theme", "w100", "leftIcon", "rightIcon", "mobileBottomPage", "loader", "loading", "children"];
|
|
4771
4777
|
var rootClassName$1H = 'component-button';
|
|
4772
4778
|
function Button(_ref) {
|
|
4773
4779
|
var className = _ref.className,
|
|
@@ -4780,7 +4786,7 @@ function Button(_ref) {
|
|
|
4780
4786
|
loader = _ref.loader,
|
|
4781
4787
|
loading = _ref.loading,
|
|
4782
4788
|
children = _ref.children,
|
|
4783
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4789
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
4784
4790
|
var handleClick = function handleClick(evt) {
|
|
4785
4791
|
if (!props.disabled && !loading) {
|
|
4786
4792
|
var _props$onClick;
|
|
@@ -7008,31 +7014,42 @@ MoneyByMonth.defaultProps = {
|
|
|
7008
7014
|
labels: ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez']
|
|
7009
7015
|
};
|
|
7010
7016
|
|
|
7017
|
+
var CheckboxThemes;
|
|
7018
|
+
(function (CheckboxThemes) {
|
|
7019
|
+
CheckboxThemes["Primary"] = "primary";
|
|
7020
|
+
CheckboxThemes["Classic"] = "classic";
|
|
7021
|
+
CheckboxThemes["Dark"] = "dark";
|
|
7022
|
+
CheckboxThemes["Blue"] = "blue";
|
|
7023
|
+
})(CheckboxThemes || (CheckboxThemes = {}));
|
|
7024
|
+
|
|
7025
|
+
var _excluded$4 = ["value", "tag", "onChange", "theme", "className", "error", "type"];
|
|
7011
7026
|
var rootClassName$1S = 'component-checkbox';
|
|
7012
|
-
function Checkbox(
|
|
7013
|
-
var
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7027
|
+
function Checkbox(_ref) {
|
|
7028
|
+
var value = _ref.value,
|
|
7029
|
+
_ref$tag = _ref.tag,
|
|
7030
|
+
tag = _ref$tag === void 0 ? 'button' : _ref$tag,
|
|
7031
|
+
onChange = _ref.onChange,
|
|
7032
|
+
_ref$theme = _ref.theme,
|
|
7033
|
+
theme = _ref$theme === void 0 ? CheckboxThemes.Primary : _ref$theme,
|
|
7034
|
+
_ref$error = _ref.error,
|
|
7035
|
+
error = _ref$error === void 0 ? false : _ref$error,
|
|
7036
|
+
_ref$type = _ref.type,
|
|
7037
|
+
type = _ref$type === void 0 ? 'button' : _ref$type,
|
|
7038
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
7039
|
+
var handleClick = useCallback(function (evt) {
|
|
7040
|
+
if (!props.disabled) {
|
|
7041
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(!value, evt);
|
|
7042
|
+
}
|
|
7043
|
+
}, [onChange, value, props.disabled]);
|
|
7044
|
+
var classNames = useMergedClassNames([rootClassName$1S, rootClassName$1S + "-" + theme]);
|
|
7045
|
+
return createElement(tag || 'button', _extends({}, props, {
|
|
7046
|
+
className: classNames,
|
|
7047
|
+
onClick: handleClick,
|
|
7048
|
+
'data-error': error,
|
|
7049
|
+
'data-checked': value,
|
|
7050
|
+
'aria-disabled': props.disabled || props['aria-disabled'],
|
|
7051
|
+
type: type
|
|
7052
|
+
}));
|
|
7036
7053
|
}
|
|
7037
7054
|
Checkbox.defaultProps = {
|
|
7038
7055
|
disabled: false,
|
|
@@ -7074,7 +7091,7 @@ Col.defaultProps = {
|
|
|
7074
7091
|
};
|
|
7075
7092
|
var Col$1 = memo(Col);
|
|
7076
7093
|
|
|
7077
|
-
var _excluded$
|
|
7094
|
+
var _excluded$5 = ["control", "labelPosition", "labelGap", "label", "className"];
|
|
7078
7095
|
var rootClassName$1U = 'component-control-label';
|
|
7079
7096
|
function ControlLabel(_ref) {
|
|
7080
7097
|
var _control$props;
|
|
@@ -7083,7 +7100,7 @@ function ControlLabel(_ref) {
|
|
|
7083
7100
|
labelGap = _ref.labelGap,
|
|
7084
7101
|
label = _ref.label,
|
|
7085
7102
|
className = _ref.className,
|
|
7086
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7103
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
|
|
7087
7104
|
var ref = useRef();
|
|
7088
7105
|
return React.createElement("label", Object.assign({}, props, {
|
|
7089
7106
|
className: getMergedClassNames([className, rootClassName$1U, labelPosition ? labelPosition : '', (_control$props = control.props) !== null && _control$props !== void 0 && _control$props.disabled ? 'disabled' : '']),
|
|
@@ -7345,7 +7362,7 @@ function DatePickerCalendar(props) {
|
|
|
7345
7362
|
}
|
|
7346
7363
|
var DatePickerCalendar$1 = memo(DatePickerCalendar);
|
|
7347
7364
|
|
|
7348
|
-
var _excluded$
|
|
7365
|
+
var _excluded$6 = ["language"];
|
|
7349
7366
|
var rootClassName$1X = 'component-date-picker';
|
|
7350
7367
|
function DatePicker(_ref) {
|
|
7351
7368
|
var _ref$language = _ref.language,
|
|
@@ -7355,7 +7372,7 @@ function DatePicker(_ref) {
|
|
|
7355
7372
|
months: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'],
|
|
7356
7373
|
monthsAbrev: ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez']
|
|
7357
7374
|
} : _ref$language,
|
|
7358
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7375
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
|
|
7359
7376
|
var id = useMemo(function () {
|
|
7360
7377
|
return "picker_" + getUniqueKey();
|
|
7361
7378
|
}, []);
|
|
@@ -7493,11 +7510,11 @@ DatePicker.defaultProps = {
|
|
|
7493
7510
|
};
|
|
7494
7511
|
var DatePicker$1 = memo(DatePicker);
|
|
7495
7512
|
|
|
7496
|
-
var _excluded$
|
|
7513
|
+
var _excluded$7 = ["showLabel"];
|
|
7497
7514
|
var rootClassName$1Y = 'component-doughnut';
|
|
7498
7515
|
function Doughnut(_ref) {
|
|
7499
7516
|
var showLabel = _ref.showLabel,
|
|
7500
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7517
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
7501
7518
|
var _useProgressiveCount = useProgressiveCount(),
|
|
7502
7519
|
val = _useProgressiveCount[0],
|
|
7503
7520
|
setVal = _useProgressiveCount[1];
|
|
@@ -7589,7 +7606,7 @@ function useOutsideClick(refs, handler, options) {
|
|
|
7589
7606
|
}, [refs, handler, handleClickOutside, (_options3 = options) === null || _options3 === void 0 ? void 0 : _options3.events]);
|
|
7590
7607
|
}
|
|
7591
7608
|
|
|
7592
|
-
var _excluded$
|
|
7609
|
+
var _excluded$8 = ["opened", "setOpened", "content", "closeOnEsc", "closeOnOutClick", "children", "panelProps"];
|
|
7593
7610
|
var rootClassName$1_ = 'component-dropdown-menu';
|
|
7594
7611
|
function DropdownMenu(_ref) {
|
|
7595
7612
|
var _panelProps$className;
|
|
@@ -7601,7 +7618,7 @@ function DropdownMenu(_ref) {
|
|
|
7601
7618
|
children = _ref.children,
|
|
7602
7619
|
_ref$panelProps = _ref.panelProps,
|
|
7603
7620
|
panelProps = _ref$panelProps === void 0 ? {} : _ref$panelProps,
|
|
7604
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7621
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
7605
7622
|
var id = useMemo(function () {
|
|
7606
7623
|
return props.id ? props.id : getUniqueKey();
|
|
7607
7624
|
}, [props.id]);
|
|
@@ -7972,7 +7989,7 @@ var EtiquetasStyle;
|
|
|
7972
7989
|
EtiquetasStyle["Yellow"] = "yellow";
|
|
7973
7990
|
})(EtiquetasStyle || (EtiquetasStyle = {}));
|
|
7974
7991
|
|
|
7975
|
-
var _excluded$
|
|
7992
|
+
var _excluded$9 = ["theme", "label", "icon", "fitContent"];
|
|
7976
7993
|
var rootClassName$22 = 'component-etiqueta';
|
|
7977
7994
|
function Etiqueta(_ref) {
|
|
7978
7995
|
var _ref$theme = _ref.theme,
|
|
@@ -7980,7 +7997,7 @@ function Etiqueta(_ref) {
|
|
|
7980
7997
|
label = _ref.label,
|
|
7981
7998
|
icon = _ref.icon,
|
|
7982
7999
|
fitContent = _ref.fitContent,
|
|
7983
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8000
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
7984
8001
|
return React.createElement("div", Object.assign({}, props, {
|
|
7985
8002
|
className: getMergedClassNames([rootClassName$22, theme, fitContent ? 'fit-content' : undefined])
|
|
7986
8003
|
}), icon ? React.createElement("div", {
|
|
@@ -8940,7 +8957,7 @@ function useScreenSize() {
|
|
|
8940
8957
|
return value;
|
|
8941
8958
|
}
|
|
8942
8959
|
|
|
8943
|
-
var _excluded$
|
|
8960
|
+
var _excluded$a = ["className", "compenseColPaddingContent", "footer", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "title"];
|
|
8944
8961
|
var rootClassName$2g = 'component-modal';
|
|
8945
8962
|
function Modal(_ref) {
|
|
8946
8963
|
var className = _ref.className,
|
|
@@ -8954,7 +8971,7 @@ function Modal(_ref) {
|
|
|
8954
8971
|
_ref$tag = _ref.tag,
|
|
8955
8972
|
tag = _ref$tag === void 0 ? 'dialog' : _ref$tag,
|
|
8956
8973
|
title = _ref.title,
|
|
8957
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8974
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
|
|
8958
8975
|
var _useScreenSize = useScreenSize(),
|
|
8959
8976
|
rankedSize = _useScreenSize.rankedSize;
|
|
8960
8977
|
var modalProps = useMemo(function () {
|
|
@@ -9203,7 +9220,7 @@ function Paginator(props) {
|
|
|
9203
9220
|
}
|
|
9204
9221
|
Paginator.defaultProps = {};
|
|
9205
9222
|
|
|
9206
|
-
var _excluded$
|
|
9223
|
+
var _excluded$b = ["boundaryCount", "count", "currentPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "siblingCount", "maxLength"];
|
|
9207
9224
|
function usePagination(props) {
|
|
9208
9225
|
var _ref;
|
|
9209
9226
|
if (props === void 0) {
|
|
@@ -9227,7 +9244,7 @@ function usePagination(props) {
|
|
|
9227
9244
|
_props$siblingCount = _props.siblingCount,
|
|
9228
9245
|
siblingCount = _props$siblingCount === void 0 ? 1 : _props$siblingCount,
|
|
9229
9246
|
maxLength = _props.maxLength,
|
|
9230
|
-
other = _objectWithoutPropertiesLoose(_props, _excluded$
|
|
9247
|
+
other = _objectWithoutPropertiesLoose(_props, _excluded$b);
|
|
9231
9248
|
var isControlledRef = useRef(pageProp !== undefined);
|
|
9232
9249
|
var _useState = useState(currentPage),
|
|
9233
9250
|
pageCurrent = _useState[0],
|
|
@@ -9319,7 +9336,7 @@ var ThreeDots = function ThreeDots() {
|
|
|
9319
9336
|
}));
|
|
9320
9337
|
};
|
|
9321
9338
|
|
|
9322
|
-
var _excluded$
|
|
9339
|
+
var _excluded$c = ["page", "type", "selected"];
|
|
9323
9340
|
var rootClassName$2l = 'pagination-component';
|
|
9324
9341
|
var Pagination = function Pagination(props) {
|
|
9325
9342
|
var _useScreenSize = useScreenSize(),
|
|
@@ -9445,7 +9462,7 @@ var Pagination = function Pagination(props) {
|
|
|
9445
9462
|
var page = _ref2.page,
|
|
9446
9463
|
type = _ref2.type,
|
|
9447
9464
|
selected = _ref2.selected,
|
|
9448
|
-
item = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9465
|
+
item = _objectWithoutPropertiesLoose(_ref2, _excluded$c);
|
|
9449
9466
|
var children = null;
|
|
9450
9467
|
if (type === 'start-ellipsis' || type === 'end-ellipsis') {
|
|
9451
9468
|
children = React.createElement("li", {
|
|
@@ -9710,23 +9727,32 @@ var RadioButtonType;
|
|
|
9710
9727
|
RadioButtonType["New"] = "new";
|
|
9711
9728
|
})(RadioButtonType || (RadioButtonType = {}));
|
|
9712
9729
|
|
|
9730
|
+
var _excluded$d = ["onChange", "value", "className", "theme", "error", "type"];
|
|
9713
9731
|
var rootClassName$2o = 'component-radio-button';
|
|
9714
|
-
function RadioButton(
|
|
9715
|
-
var
|
|
9716
|
-
|
|
9717
|
-
|
|
9718
|
-
|
|
9719
|
-
|
|
9720
|
-
|
|
9721
|
-
|
|
9722
|
-
|
|
9732
|
+
function RadioButton(_ref) {
|
|
9733
|
+
var onChange = _ref.onChange,
|
|
9734
|
+
value = _ref.value,
|
|
9735
|
+
_ref$className = _ref.className,
|
|
9736
|
+
className = _ref$className === void 0 ? '' : _ref$className,
|
|
9737
|
+
_ref$theme = _ref.theme,
|
|
9738
|
+
theme = _ref$theme === void 0 ? RadioButtonType.New : _ref$theme,
|
|
9739
|
+
_ref$error = _ref.error,
|
|
9740
|
+
error = _ref$error === void 0 ? false : _ref$error,
|
|
9741
|
+
_ref$type = _ref.type,
|
|
9742
|
+
type = _ref$type === void 0 ? 'button' : _ref$type,
|
|
9743
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
|
|
9744
|
+
var classNames = useMergedClassNames([rootClassName$2o, theme, className]);
|
|
9745
|
+
return React.createElement("button", Object.assign({}, props, {
|
|
9746
|
+
type: type,
|
|
9747
|
+
"data-checked": value,
|
|
9748
|
+
"data-error": error,
|
|
9749
|
+
className: classNames,
|
|
9750
|
+
onClick: function onClick() {
|
|
9751
|
+
if (!props.disabled) {
|
|
9752
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(!value);
|
|
9723
9753
|
}
|
|
9724
|
-
}
|
|
9725
|
-
|
|
9726
|
-
delete p.onChange;
|
|
9727
|
-
return p;
|
|
9728
|
-
}, [props]);
|
|
9729
|
-
return React.createElement("button", Object.assign({}, buttonProps));
|
|
9754
|
+
}
|
|
9755
|
+
}));
|
|
9730
9756
|
}
|
|
9731
9757
|
RadioButton.defaultProps = {
|
|
9732
9758
|
disabled: false,
|
|
@@ -10638,7 +10664,7 @@ ActionsColumn.defaultProps = {
|
|
|
10638
10664
|
buttons: []
|
|
10639
10665
|
};
|
|
10640
10666
|
|
|
10641
|
-
var _excluded$
|
|
10667
|
+
var _excluded$e = ["columns", "lines", "onSort", "confirmSort", "sortable", "upperHeader", "className"];
|
|
10642
10668
|
var rootClassName$2u = 'component-table';
|
|
10643
10669
|
function TypedTable(props) {
|
|
10644
10670
|
return React.createElement(Table, Object.assign({}, props));
|
|
@@ -10651,7 +10677,7 @@ function Table(_ref) {
|
|
|
10651
10677
|
sortable = _ref.sortable,
|
|
10652
10678
|
upperHeader = _ref.upperHeader,
|
|
10653
10679
|
className = _ref.className,
|
|
10654
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
10680
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
|
|
10655
10681
|
var itemsId = useMemo(function () {
|
|
10656
10682
|
return "table" + getUniqueKey();
|
|
10657
10683
|
}, []);
|
|
@@ -11227,13 +11253,13 @@ function TextEditorColorPicker(props) {
|
|
|
11227
11253
|
}, "OK")));
|
|
11228
11254
|
}
|
|
11229
11255
|
|
|
11230
|
-
var _excluded$
|
|
11256
|
+
var _excluded$f = ["icon", "active"];
|
|
11231
11257
|
var rootClassName$2C = 'text-editor-header-button';
|
|
11232
11258
|
function TextEditorHeaderButton(_ref) {
|
|
11233
11259
|
var _props$className;
|
|
11234
11260
|
var icon = _ref.icon,
|
|
11235
11261
|
active = _ref.active,
|
|
11236
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
11262
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
|
|
11237
11263
|
return React.createElement("button", Object.assign({
|
|
11238
11264
|
className: getMergedClassNames([rootClassName$2C, active ? 'active' : '', (_props$className = props.className) != null ? _props$className : ''])
|
|
11239
11265
|
}, props), icon);
|
|
@@ -12091,7 +12117,7 @@ TopLoader.defaultProps = {
|
|
|
12091
12117
|
})
|
|
12092
12118
|
};
|
|
12093
12119
|
|
|
12094
|
-
var _excluded$
|
|
12120
|
+
var _excluded$g = ["className", "id", "mobileOn", "modalKey", "onClose", "preventEscExit", "preventMaskExit", "size", "tag", "urlVideo", "videoPlayerProps"];
|
|
12095
12121
|
var rootClassName$2M = 'video-modal';
|
|
12096
12122
|
function VideoModal(_ref) {
|
|
12097
12123
|
var _ref2;
|
|
@@ -12105,7 +12131,7 @@ function VideoModal(_ref) {
|
|
|
12105
12131
|
tag = _ref$tag === void 0 ? 'dialog' : _ref$tag,
|
|
12106
12132
|
urlVideo = _ref.urlVideo,
|
|
12107
12133
|
videoPlayerProps = _ref.videoPlayerProps,
|
|
12108
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12134
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
|
|
12109
12135
|
var _useScreenSize = useScreenSize(),
|
|
12110
12136
|
rankedSize = _useScreenSize.rankedSize;
|
|
12111
12137
|
var handleClose = useCallback(function () {
|
|
@@ -12376,7 +12402,7 @@ function CalendarDays(props) {
|
|
|
12376
12402
|
}
|
|
12377
12403
|
var CalendarDays$1 = memo(CalendarDays);
|
|
12378
12404
|
|
|
12379
|
-
var _excluded$
|
|
12405
|
+
var _excluded$h = ["language", "visao", "referencia"];
|
|
12380
12406
|
var rootClassName$2T = 'calendar';
|
|
12381
12407
|
function Calendar(_ref) {
|
|
12382
12408
|
var _ref$language = _ref.language,
|
|
@@ -12385,7 +12411,7 @@ function Calendar(_ref) {
|
|
|
12385
12411
|
visao = _ref$visao === void 0 ? CalendarView.Mensal : _ref$visao,
|
|
12386
12412
|
_ref$referencia = _ref.referencia,
|
|
12387
12413
|
referencia = _ref$referencia === void 0 ? new Date() : _ref$referencia,
|
|
12388
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12414
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
|
|
12389
12415
|
var id = useMemo(getUniqueKey, []);
|
|
12390
12416
|
var _useState = useState(false),
|
|
12391
12417
|
pocket = _useState[0],
|
|
@@ -44215,9 +44241,12 @@ var DecreaseIcon = function DecreaseIcon() {
|
|
|
44215
44241
|
}));
|
|
44216
44242
|
};
|
|
44217
44243
|
|
|
44244
|
+
var _excluded$i = ["type"];
|
|
44218
44245
|
var rootClassName$2$ = 'component-table-left-checkbox-with-label';
|
|
44219
|
-
var LeftControlWithLabel = function LeftControlWithLabel(
|
|
44246
|
+
var LeftControlWithLabel = function LeftControlWithLabel(_ref) {
|
|
44220
44247
|
var _props$spanProps2, _props$spanProps3;
|
|
44248
|
+
var type = _ref.type,
|
|
44249
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
|
|
44221
44250
|
var style = useMemo(function () {
|
|
44222
44251
|
var _props$spanProps$styl, _props$spanProps;
|
|
44223
44252
|
var style = _extends({
|
|
@@ -44237,7 +44266,7 @@ var LeftControlWithLabel = function LeftControlWithLabel(props) {
|
|
|
44237
44266
|
className: rootClassName$2$ + "-checkbox-wrapper",
|
|
44238
44267
|
"tooltip-position": props['tooltip-position'],
|
|
44239
44268
|
"tooltip-text": props['tooltip-text']
|
|
44240
|
-
},
|
|
44269
|
+
}, type === 'addRemove' ? React.createElement(IconButton$1, {
|
|
44241
44270
|
className: getMergedClassNames([rootClassName$2$ + "-add-remove-button", props.value ? rootClassName$2$ + "-danger" : '']),
|
|
44242
44271
|
icon: props.value ? React.createElement(DecreaseIcon, null) : React.createElement(AddIcon, null),
|
|
44243
44272
|
disabled: props.disabled,
|
|
@@ -44265,7 +44294,28 @@ var LeftControlWithLabel = function LeftControlWithLabel(props) {
|
|
|
44265
44294
|
}), props.label));
|
|
44266
44295
|
};
|
|
44267
44296
|
|
|
44268
|
-
var _excluded$
|
|
44297
|
+
var _excluded$j = ["className"];
|
|
44298
|
+
var rootClassName$30 = 'icon-component';
|
|
44299
|
+
var MiniInformationIcon = function MiniInformationIcon(_ref) {
|
|
44300
|
+
var _ref$className = _ref.className,
|
|
44301
|
+
className = _ref$className === void 0 ? '' : _ref$className,
|
|
44302
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
|
|
44303
|
+
var classNames = useMergedClassNames([rootClassName$30, className]);
|
|
44304
|
+
return React.createElement("svg", Object.assign({
|
|
44305
|
+
viewBox: '0 0 12 12',
|
|
44306
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
44307
|
+
fill: 'none'
|
|
44308
|
+
}, props, {
|
|
44309
|
+
className: classNames
|
|
44310
|
+
}), React.createElement("path", {
|
|
44311
|
+
fillRule: 'evenodd',
|
|
44312
|
+
clipRule: 'evenodd',
|
|
44313
|
+
d: 'M12 6C12 2.68564 9.31436 0 6 0C2.68564 0 0 2.68564 0 6C0 7.01942 0.254625 8.00224 0.733857 8.87715C1.10309 9.55088 1.5972 10.1477 2.18733 10.6329C3.25333 11.5114 4.58947 12 6 12C9.31436 12 12 9.31436 12 6ZM0.75 6C0.75 3.09986 3.09986 0.75 6 0.75C8.90014 0.75 11.25 3.09986 11.25 6C11.25 8.90014 8.90014 11.25 6 11.25C4.76512 11.25 3.59719 10.8229 2.66398 10.0539C2.14748 9.62916 1.7149 9.10668 1.3916 8.51678C0.972551 7.75174 0.75 6.89272 0.75 6ZM5.625 5.12622V8.90472C5.625 9.11183 5.79289 9.27972 6 9.27972C6.20711 9.27972 6.375 9.11183 6.375 8.90472V5.12622C6.375 4.91911 6.20711 4.75122 6 4.75122C5.79289 4.75122 5.625 4.91911 5.625 5.12622ZM6 3.09521C6.25875 3.09521 6.46875 3.30446 6.46875 3.56396C6.46875 3.82271 6.25875 4.03271 6 4.03271C5.74125 4.03271 5.53125 3.82271 5.53125 3.56396C5.53125 3.30446 5.74125 3.09521 6 3.09521Z',
|
|
44314
|
+
fill: 'currentColor'
|
|
44315
|
+
}));
|
|
44316
|
+
};
|
|
44317
|
+
|
|
44318
|
+
var _excluded$k = ["disabled", "language", "onConfirm", "showIcons"],
|
|
44269
44319
|
_excluded2 = ["disabled", "language", "onCancel", "onConfirm", "showIcons"],
|
|
44270
44320
|
_excluded3 = ["disabled", "language", "onCancel", "onConfirm", "showIcons"];
|
|
44271
44321
|
function AlertModal(_ref) {
|
|
@@ -44275,7 +44325,7 @@ function AlertModal(_ref) {
|
|
|
44275
44325
|
onConfirm = _ref.onConfirm,
|
|
44276
44326
|
_ref$showIcons = _ref.showIcons,
|
|
44277
44327
|
showIcons = _ref$showIcons === void 0 ? true : _ref$showIcons,
|
|
44278
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
44328
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
|
|
44279
44329
|
var _useState = useState(false),
|
|
44280
44330
|
loading = _useState[0],
|
|
44281
44331
|
setLoading = _useState[1];
|
|
@@ -44373,14 +44423,6 @@ function DestructiveModal(_ref3) {
|
|
|
44373
44423
|
}, props));
|
|
44374
44424
|
}
|
|
44375
44425
|
|
|
44376
|
-
var CheckboxThemes;
|
|
44377
|
-
(function (CheckboxThemes) {
|
|
44378
|
-
CheckboxThemes["Primary"] = "primary";
|
|
44379
|
-
CheckboxThemes["Classic"] = "classic";
|
|
44380
|
-
CheckboxThemes["Dark"] = "dark";
|
|
44381
|
-
CheckboxThemes["Blue"] = "blue";
|
|
44382
|
-
})(CheckboxThemes || (CheckboxThemes = {}));
|
|
44383
|
-
|
|
44384
44426
|
var ControlLabelPosition;
|
|
44385
44427
|
(function (ControlLabelPosition) {
|
|
44386
44428
|
ControlLabelPosition["Left"] = "left";
|
|
@@ -44416,5 +44458,5 @@ var getStatusClassName = function getStatusClassName(status) {
|
|
|
44416
44458
|
};
|
|
44417
44459
|
var STATUS_PAUTA = [STATUS_PAUTA_BLOQUEADA, STATUS_PAUTA_LIBERADA, STATUS_PAUTA_ENCERRADA];
|
|
44418
44460
|
|
|
44419
|
-
export { ATMIcon, Accordion, AconteceuIcon, ActionCard$1 as ActionCard, ActionCardThemes, ActionsColumn, AddAssemblyIcon, AddIcon as AddCircleIcon, AddIcon, AgencyIcon, AlertIcon, AlertModal, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnimatedLink$1 as AnimatedLink, ArrowLeftIcon, ArrowRightIcon, AssembleiasIcon, BackOfficeIcon, Banner, BarChartIcon, BeeIcon, BigBlockButton, BigPlayIcon, BoldIcon, BottomNavigation$1 as BottomNavigation, BreadCrumb, Button$1 as Button, ButtonFileUpload$1 as ButtonFileUpload, ButtonThemes, Calendar$1 as Calendar, CalendarCheckIcon, CalendarEvent$1 as CalendarEvent, CalendarIcon, Card, CardTypes, CardsIcon, Carousel, CarouselPersona$1 as CarouselPersona, CarouselTouchFrendly$1 as CarouselTouchFrendly, CataventoVerde, CheckCircleIcon, CheckIcon, Checkbox$1 as Checkbox, CheckboxThemes, ChequeIcon, ChevronArrowDownIcon, ChevronArrowLeftIcon, ChevronArrowRightIcon, Chip$1 as Chip, CircleArrowLeft, CircleArrowRight, ClockIcon, CloseIcon, CloudDownloadIcon, CloudUploadIcon, Col$1 as Col, Collapse$1 as Collapse, ComitesIcon, ComunidadeIcon, ConfirmModal, Container$1 as Container, ControlLabel$1 as ControlLabel, ControlLabelPosition, CopyIcon, CreditIcon, CrescerIcon, CrescerLogo, DatePicker$1 as DatePicker, DestructiveModal, DevicePlusIcon, Doughnut$1 as Doughnut, DoughnutSquare, DownloadIcon, DraggableIcon, DropdownItem$1 as DropdownItem, DropdownMenu, DropdownSelector$1 as DropdownSelector, EditIcon, ElementPaginator$1 as ElementPaginator, Etapas$1 as Etapas, Etiqueta, EtiquetasStyle, EvidenciasIcon, ExclamationIcon, ExitIconArrowLeft, ExitIconArrowRight, EyeIcon, FUNDACAO_LOGO_BRANCO, FUNDACAO_LOGO_VERDE, FileLoader, FilePlusIcon, FileTypes, FileUpload, FilesIcon, FilterIcon, FloatingPanel$1 as FloatingPanel, FontColorIcon, FontIcon, FooterSicredi$1 as FooterSicredi, FormacaoIcon, FormattedText, FullHeightContainer$1 as FullHeightContainer, FundacaoLogo, FundacaoLogoTheme, FundoSocialIcon, GlobeIcon, GraduationIcon, HEADER_SEPARATOR_PRIMARY, HEADER_SEPARATOR_SECONDARY, HamburgerIcon, HandUpIcon, Header$1 as Header, HeaderSeparator, HeaderType, HomeIcon, HourEvents$1 as HourEvents, IconButton$1 as IconButton, IconButtonType, ImageTypes, Information, InformationIcon, InlineMonthPicker$1 as InlineMonthPicker, Input$1 as Input, InputArea$1 as InputArea, InvestimentIcon, ItalicIcon, ItemDropdownDownload$1 as ItemDropdownDownload, LeftControlWithLabel as LeftCheckboxWithLabel, LeftControlWithLabel, LinkIcon, LinksUteisIcon, ListDotIcon, ListIcon, LoaderIcon, LocalIcon, LockIcon, Menu$1 as Menu, MenuItem, MessageIcon, Modal, ModalManager, ModalSizes, MoneyByMonth, MoneyFileIcon, MoneyMonthLineChart, NavigatorWithMouse, NotebookIcon, Notification, NotificationPosition, NotificationType, OptionsIcon, PageSubTitle, PageTitle, Pagination, Paginator, ParticipantesIcon, PaymentIcon, PercentLoaderIcon, PhonePlusIcon, PieChartIcon, PlayIcon, PreviaVideo$1 as PreviaVideo, PrintIcon, QRCode$1 as QRCode, QRCodeIcon, QRCodeWhatsapp, RadioButton$1 as RadioButton, RadioButtonType, RedoIcon, RefreshIcon, Row$1 as Row, STATUS_PAUTA, STATUS_PAUTA_BLOQUEADA, STATUS_PAUTA_ENCERRADA, STATUS_PAUTA_LIBERADA, ScreenSize, ScrollArrowOverflow$1 as ScrollArrowOverflow, Search$1 as Search, SearchIcon, Select$1 as Select, SettingsIcon, SicrediLogo, SicrediLogoTheme, SquaresIcon, SustentabilidadeIcon, Switch, Table, TableActions, TableFileNameAndAction$1 as TableFileNameAndAction, TableWithOverflow$1 as TableWithOverflow, Tabs$1 as Tabs, TextEditor, ThreeDotsLoader, ThumbsUpIcon, TimesCircleIcon, Title, Toast, ToastManager, ToastTypes, Tooltip, TooltipManager, TooltipPosition, TopLoader, TransferenciaIcon, TrashIcon, TrianguloInferior, TwoFileIcon, TypedTable, UnderlineIcon, UndoIcon, UserIcon, VideoModal, VideoPlayer, WebsiteIcon, getStatusClassName, stringToReactElement, useCallbackedState, useCarouselBehaviour, useControlledTimer, useDraggableContainer, useDropOpened, useHTMLShare, useModalManager, useOutsideClick, usePagination, useProgressiveCount, usePublicMenuList, useScreenSize, useScrollTo, useStorageState, useTimeElapsed, useToastManager, useValidatedState };
|
|
44461
|
+
export { ATMIcon, Accordion, AconteceuIcon, ActionCard$1 as ActionCard, ActionCardThemes, ActionsColumn, AddAssemblyIcon, AddIcon as AddCircleIcon, AddIcon, AgencyIcon, AlertIcon, AlertModal, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnimatedLink$1 as AnimatedLink, ArrowLeftIcon, ArrowRightIcon, AssembleiasIcon, BackOfficeIcon, Banner, BarChartIcon, BeeIcon, BigBlockButton, BigPlayIcon, BoldIcon, BottomNavigation$1 as BottomNavigation, BreadCrumb, Button$1 as Button, ButtonFileUpload$1 as ButtonFileUpload, ButtonThemes, Calendar$1 as Calendar, CalendarCheckIcon, CalendarEvent$1 as CalendarEvent, CalendarIcon, Card, CardTypes, CardsIcon, Carousel, CarouselPersona$1 as CarouselPersona, CarouselTouchFrendly$1 as CarouselTouchFrendly, CataventoVerde, CheckCircleIcon, CheckIcon, Checkbox$1 as Checkbox, CheckboxThemes, ChequeIcon, ChevronArrowDownIcon, ChevronArrowLeftIcon, ChevronArrowRightIcon, Chip$1 as Chip, CircleArrowLeft, CircleArrowRight, ClockIcon, CloseIcon, CloudDownloadIcon, CloudUploadIcon, Col$1 as Col, Collapse$1 as Collapse, ComitesIcon, ComunidadeIcon, ConfirmModal, Container$1 as Container, ControlLabel$1 as ControlLabel, ControlLabelPosition, CopyIcon, CreditIcon, CrescerIcon, CrescerLogo, DatePicker$1 as DatePicker, DestructiveModal, DevicePlusIcon, Doughnut$1 as Doughnut, DoughnutSquare, DownloadIcon, DraggableIcon, DropdownItem$1 as DropdownItem, DropdownMenu, DropdownSelector$1 as DropdownSelector, EditIcon, ElementPaginator$1 as ElementPaginator, Etapas$1 as Etapas, Etiqueta, EtiquetasStyle, EvidenciasIcon, ExclamationIcon, ExitIconArrowLeft, ExitIconArrowRight, EyeIcon, FUNDACAO_LOGO_BRANCO, FUNDACAO_LOGO_VERDE, FileLoader, FilePlusIcon, FileTypes, FileUpload, FilesIcon, FilterIcon, FloatingPanel$1 as FloatingPanel, FontColorIcon, FontIcon, FooterSicredi$1 as FooterSicredi, FormacaoIcon, FormattedText, FullHeightContainer$1 as FullHeightContainer, FundacaoLogo, FundacaoLogoTheme, FundoSocialIcon, GlobeIcon, GraduationIcon, HEADER_SEPARATOR_PRIMARY, HEADER_SEPARATOR_SECONDARY, HamburgerIcon, HandUpIcon, Header$1 as Header, HeaderSeparator, HeaderType, HomeIcon, HourEvents$1 as HourEvents, IconButton$1 as IconButton, IconButtonType, ImageTypes, Information, InformationIcon, InlineMonthPicker$1 as InlineMonthPicker, Input$1 as Input, InputArea$1 as InputArea, InvestimentIcon, ItalicIcon, ItemDropdownDownload$1 as ItemDropdownDownload, LeftControlWithLabel as LeftCheckboxWithLabel, LeftControlWithLabel, LinkIcon, LinksUteisIcon, ListDotIcon, ListIcon, LoaderIcon, LocalIcon, LockIcon, Menu$1 as Menu, MenuItem, MessageIcon, MiniInformationIcon, Modal, ModalManager, ModalSizes, MoneyByMonth, MoneyFileIcon, MoneyMonthLineChart, NavigatorWithMouse, NotebookIcon, Notification, NotificationPosition, NotificationType, OptionsIcon, PageSubTitle, PageTitle, Pagination, Paginator, ParticipantesIcon, PaymentIcon, PercentLoaderIcon, PhonePlusIcon, PieChartIcon, PlayIcon, PreviaVideo$1 as PreviaVideo, PrintIcon, QRCode$1 as QRCode, QRCodeIcon, QRCodeWhatsapp, RadioButton$1 as RadioButton, RadioButtonType, RedoIcon, RefreshIcon, Row$1 as Row, STATUS_PAUTA, STATUS_PAUTA_BLOQUEADA, STATUS_PAUTA_ENCERRADA, STATUS_PAUTA_LIBERADA, ScreenSize, ScrollArrowOverflow$1 as ScrollArrowOverflow, Search$1 as Search, SearchIcon, Select$1 as Select, SettingsIcon, SicrediLogo, SicrediLogoTheme, SquaresIcon, SustentabilidadeIcon, Switch, Table, TableActions, TableFileNameAndAction$1 as TableFileNameAndAction, TableWithOverflow$1 as TableWithOverflow, Tabs$1 as Tabs, TextEditor, ThreeDotsLoader, ThumbsUpIcon, TimesCircleIcon, Title, Toast, ToastManager, ToastTypes, Tooltip, TooltipManager, TooltipPosition, TopLoader, TransferenciaIcon, TrashIcon, TrianguloInferior, TwoFileIcon, TypedTable, UnderlineIcon, UndoIcon, UserIcon, VideoModal, VideoPlayer, WebsiteIcon, getStatusClassName, stringToReactElement, useCallbackedState, useCarouselBehaviour, useControlledTimer, useDraggableContainer, useDropOpened, useHTMLShare, useModalManager, useOutsideClick, usePagination, useProgressiveCount, usePublicMenuList, useScreenSize, useScrollTo, useStorageState, useTimeElapsed, useToastManager, useValidatedState };
|
|
44420
44462
|
//# sourceMappingURL=index.modern.js.map
|