code7-leia 0.1.140 → 0.1.143

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.
@@ -670,7 +670,7 @@ var getLanguage = function getLanguage(language) {
670
670
 
671
671
  var _templateObject$1, _templateObject2$1, _templateObject3;
672
672
  var Container = /*#__PURE__*/styled__default.div(_templateObject$1 || (_templateObject$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n\n\n .tag {\n padding: 4px 8px 4px 8px;\n background: #C7F9ED;\n border-radius: 4px;\n }\n\n .tags {\n display: flex;\n justify-content: left;\n gap: 4px;\n }\n\n .divDelete {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 4px;\n }\n\n .buttonDelete {\n color: #5b0a1f;\n background: #fae0d2;\n padding: 12px 20px;\n border-radius: 4px;\n }\n\n .buttonDelete:hover {\n background: #f5bba7;\n }\n\n .button {\n padding: 8px 16px 8px 16px;\n border-radius: 4px;\n gap: 10px;\n }\n\n .cancel {\n background: #F3F5F9;\n color: #5A5D68;\n }\n\n .send {\n background: #102693;\n color: white;\n }\n\n .delete {\n background: #871821;\n color: white;\n }\n\n .presset {\n padding-top: 10px;\n display: flex;\n flex-direction: column;\n }\n\n #warning {\n padding: 10px;\n background: #FAE0D2;\n color: #871821;\n }\n"])), function (props) {
673
- return props.isLoading && styled.css(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteralLoose(["\n #loading {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgb(151,154,165, 0.7);\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 9999;\n }\n\n #loading::after {\n content: \"\";\n border: 4px solid #f3f3f3; /* Cor do s\xEDmbolo de carregamento */\n border-top: 4px solid #3498db; /* Cor do s\xEDmbolo de carregamento */\n border-radius: 50%;\n width: 30px;\n height: 30px;\n animation: spin 1s linear infinite;\n }\n\n @keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n "])));
673
+ return props.isloading && styled.css(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteralLoose(["\n #loading {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgb(151,154,165, 0.7);\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 9999;\n }\n\n #loading::after {\n content: \"\";\n border: 4px solid #f3f3f3; /* Cor do s\xEDmbolo de carregamento */\n border-top: 4px solid #3498db; /* Cor do s\xEDmbolo de carregamento */\n border-radius: 50%;\n width: 30px;\n height: 30px;\n animation: spin 1s linear infinite;\n }\n\n @keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n "])));
674
674
  });
675
675
  var Header = /*#__PURE__*/styled__default.div(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n\n .infos {\n display: flex;\n flex-direction: column;\n padding: 14px 0;\n\n h2 {\n font-size: 20px\n }\n\n p {\n font-size: 14px\n }\n }\n\n .actions {\n display: flex;\n justify-content: space-between;\n padding-bottom: 14px;\n\n button {\n background: #102693;\n padding: 10px 20px;\n color: white;\n border-radius: 4px;\n }\n }\n\n"])));
676
676
 
@@ -696,19 +696,19 @@ var Spinner = function Spinner(_ref) {
696
696
  }, React__default.createElement("span", null), React__default.createElement("span", null), React__default.createElement("span", null), React__default.createElement("span", null));
697
697
  };
698
698
 
699
- var _excluded$1 = ["size", "children", "isLoading", "className"];
699
+ var _excluded$1 = ["size", "children", "isloading", "className"];
700
700
  var Table$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
701
701
  var _ref$size = _ref.size,
702
702
  size = _ref$size === void 0 ? 'medium' : _ref$size,
703
703
  children = _ref.children,
704
- _ref$isLoading = _ref.isLoading,
705
- isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
704
+ _ref$isloading = _ref.isloading,
705
+ isloading = _ref$isloading === void 0 ? false : _ref$isloading,
706
706
  _ref$className = _ref.className,
707
707
  className = _ref$className === void 0 ? '' : _ref$className,
708
708
  props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
709
709
  return React__default.createElement(TableWrapper, {
710
710
  className: className
711
- }, isLoading ? React__default.createElement(TableLoadingWrapper, null, React__default.createElement(Spinner, null)) : null, React__default.createElement(Table, Object.assign({
711
+ }, isloading ? React__default.createElement(TableLoadingWrapper, null, React__default.createElement(Spinner, null)) : null, React__default.createElement(Table, Object.assign({
712
712
  className: cc([size]),
713
713
  ref: ref
714
714
  }, props), children));
@@ -717,7 +717,7 @@ Table$1.propTypes = {
717
717
  children: PropTypes.node.isRequired,
718
718
  className: PropTypes.string,
719
719
  size: /*#__PURE__*/PropTypes.oneOf(['small', 'medium', 'large']),
720
- isLoading: PropTypes.bool
720
+ isloading: PropTypes.bool
721
721
  };
722
722
 
723
723
  var _templateObject$4, _templateObject2$3, _templateObject3$2;
@@ -749,32 +749,32 @@ var SearchInput = function SearchInput(_ref) {
749
749
 
750
750
  var _templateObject$5, _templateObject2$4, _templateObject3$3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
751
751
  var FullScreen = /*#__PURE__*/styled__default.div(_templateObject$5 || (_templateObject$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: ", ";\n cursor: ", ";\n\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n justify-content: center;\n align-items: center;\n z-index: ", ";\n animation: fadeIn 380ms ease-in-out 1;\n background-color: #2f3845b8;\n backdrop-filter: blur(2px);\n\n @keyframes fadeIn {\n from {\n background-color: #2f384521;\n }\n to {\n background-color: #2f3845b8;\n }\n }\n"])), function (_ref) {
752
- var isOpen = _ref.isOpen;
753
- return isOpen === 1 ? 'flex' : 'none';
752
+ var isopen = _ref.isopen;
753
+ return isopen === 1 ? 'flex' : 'none';
754
754
  }, function (_ref2) {
755
- var isFixed = _ref2.isFixed;
756
- return isFixed === 0 ? 'pointer' : 'default';
755
+ var isfixed = _ref2.isfixed;
756
+ return isfixed === 0 ? 'pointer' : 'default';
757
757
  }, function (_ref3) {
758
- var zIndex = _ref3.zIndex;
759
- return zIndex;
758
+ var zindex = _ref3.zindex;
759
+ return zindex;
760
760
  });
761
761
  var Modal = /*#__PURE__*/styled__default.div(_templateObject2$4 || (_templateObject2$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: #fff;\n border-radius: 3px;\n position: relative;\n cursor: default;\n width: 100%;\n max-width: ", ";\n animation: slideIn 350ms cubic-bezier(0.42, 0, 0.21, 1) 1;\n\n @keyframes slideIn {\n from {\n transform: translateY(-120px);\n opacity: 0;\n }\n\n 20% {\n opacity: 0;\n }\n\n to {\n transform: translateY(0);\n opacity: 1;\n }\n }\n"])), function (_ref4) {
762
- var maxWidth = _ref4.maxWidth;
763
- return maxWidth;
762
+ var maxwidth = _ref4.maxwidth;
763
+ return maxwidth;
764
764
  });
765
765
  var ModalContainer = /*#__PURE__*/styled__default.div(_templateObject3$3 || (_templateObject3$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n overflow-y: auto;\n max-height: ", ";\n"])), function (_ref5) {
766
- var maxHeight = _ref5.maxHeight;
767
- return maxHeight;
766
+ var maxheight = _ref5.maxheight;
767
+ return maxheight;
768
768
  });
769
769
  var ModalHeader = /*#__PURE__*/styled__default.header(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid #dadce3;\n padding: var(--spacement-medium);\n"])));
770
770
  var ModalTitle = /*#__PURE__*/styled__default.div(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: normal;\n font-size: 20px;\n line-height: 150%;\n letter-spacing: 0.0075em;\n color: var(--neutral-4);\n"])));
771
771
  var ModalButtonClose = /*#__PURE__*/styled__default.button(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n outline: none;\n cursor: pointer;\n\n :hover {\n opacity: 0.7;\n }\n"])));
772
772
  var ModalContentWrapper = /*#__PURE__*/styled__default.div(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n overflow-y: ", ";\n max-height: ", ";\n padding: var(--spacement-medium);\n"])), function (_ref6) {
773
- var overflowY = _ref6.overflowY;
774
- return overflowY;
773
+ var overflowy = _ref6.overflowy;
774
+ return overflowy;
775
775
  }, function (_ref7) {
776
- var maxHeight = _ref7.maxHeight;
777
- return maxHeight;
776
+ var maxheight = _ref7.maxheight;
777
+ return maxheight;
778
778
  });
779
779
  var ModalFooterWrapper = /*#__PURE__*/styled__default.div(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: var(--spacement-medium);\n background: var(--neutral-0);\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: var(--spacement-medium);\n"])));
780
780
 
@@ -788,61 +788,61 @@ ModalFooter.propTypes = {
788
788
  children: PropTypes.node.isRequired
789
789
  };
790
790
 
791
- var _excluded$3 = ["children", "maxHeight", "overflowY"];
791
+ var _excluded$3 = ["children", "maxheight", "overflowy"];
792
792
  var ModalContent = function ModalContent(_ref) {
793
793
  var children = _ref.children,
794
- _ref$maxHeight = _ref.maxHeight,
795
- maxHeight = _ref$maxHeight === void 0 ? 'max-content' : _ref$maxHeight,
796
- _ref$overflowY = _ref.overflowY,
797
- overflowY = _ref$overflowY === void 0 ? 'initial' : _ref$overflowY,
794
+ _ref$maxheight = _ref.maxheight,
795
+ maxheight = _ref$maxheight === void 0 ? 'max-content' : _ref$maxheight,
796
+ _ref$overflowy = _ref.overflowy,
797
+ overflowy = _ref$overflowy === void 0 ? 'initial' : _ref$overflowy,
798
798
  rest = _objectWithoutPropertiesLoose(_ref, _excluded$3);
799
799
  return React__default.createElement(ModalContentWrapper, Object.assign({
800
- maxHeight: maxHeight,
801
- overflowY: overflowY
800
+ maxheight: maxheight,
801
+ overflowy: overflowy
802
802
  }, rest), children);
803
803
  };
804
804
  ModalContent.propTypes = {
805
805
  children: PropTypes.node.isRequired,
806
- maxHeight: PropTypes.string,
807
- overflowY: PropTypes.string
806
+ maxheight: PropTypes.string,
807
+ overflowy: PropTypes.string
808
808
  };
809
809
 
810
810
  var Modal$1 = function Modal$1(_ref) {
811
- var isOpen = _ref.isOpen,
811
+ var isopen = _ref.isopen,
812
812
  style = _ref.style,
813
- maxWidth = _ref.maxWidth,
814
- maxHeight = _ref.maxHeight,
813
+ maxwidth = _ref.maxwidth,
814
+ maxheight = _ref.maxheight,
815
815
  className = _ref.className,
816
816
  title = _ref.title,
817
817
  children = _ref.children,
818
818
  onClose = _ref.onClose,
819
819
  contentStyle = _ref.contentStyle,
820
- isFixed = _ref.isFixed,
821
- zIndex = _ref.zIndex;
820
+ isfixed = _ref.isfixed,
821
+ zindex = _ref.zindex;
822
822
  var modalRef = React.useRef(null);
823
823
  var handleKeyUp = React.useCallback(function (e) {
824
824
  var keys = {
825
825
  // ESC Key
826
826
  27: function _() {
827
827
  e.preventDefault();
828
- if (!isFixed && onClose) {
828
+ if (!isfixed && onClose) {
829
829
  onClose();
830
830
  }
831
831
  window.removeEventListener('keyup', handleKeyUp, false);
832
832
  }
833
833
  };
834
- if (keys[e.keyCode] && isOpen) {
834
+ if (keys[e.keyCode] && isopen) {
835
835
  keys[e.keyCode]();
836
836
  }
837
- }, [onClose, isOpen, isFixed]);
837
+ }, [onClose, isopen, isfixed]);
838
838
  var handleOutsideClick = React.useCallback(function (e) {
839
839
  if (modalRef.current && modalRef.current.parentNode === e.target) {
840
- if (!isFixed && onClose) {
840
+ if (!isfixed && onClose) {
841
841
  onClose();
842
842
  }
843
843
  document.removeEventListener('click', handleOutsideClick, false);
844
844
  }
845
- }, [onClose, isFixed]);
845
+ }, [onClose, isfixed]);
846
846
  React.useEffect(function () {
847
847
  window.addEventListener('keyup', handleKeyUp, false);
848
848
  document.addEventListener('click', handleOutsideClick, false);
@@ -852,17 +852,17 @@ var Modal$1 = function Modal$1(_ref) {
852
852
  };
853
853
  }, [handleKeyUp, handleOutsideClick]);
854
854
  return React__default.createElement(FullScreen, {
855
- isFixed: isFixed ? 1 : 0,
856
- isOpen: isOpen ? 1 : 0,
857
- zIndex: zIndex != null ? zIndex : 0
855
+ isfixed: isfixed ? 1 : 0,
856
+ isopen: isopen ? 1 : 0,
857
+ zindex: zindex != null ? zindex : 0
858
858
  }, React__default.createElement(Modal, {
859
859
  ref: modalRef,
860
860
  style: style,
861
- maxWidth: maxWidth,
861
+ maxwidth: maxwidth,
862
862
  className: className
863
863
  }, React__default.createElement(ModalContainer, {
864
864
  className: "styleOverlay",
865
- maxHeight: maxHeight,
865
+ maxheight: maxheight,
866
866
  style: contentStyle
867
867
  }, React__default.createElement(ModalHeader, null, React__default.createElement(ModalTitle, null, String(title)), React__default.createElement(ModalButtonClose, {
868
868
  type: "button",
@@ -873,43 +873,43 @@ var Modal$1 = function Modal$1(_ref) {
873
873
  }))), children)));
874
874
  };
875
875
  Modal$1.propTypes = {
876
- isOpen: PropTypes.bool.isRequired,
876
+ isopen: PropTypes.bool.isRequired,
877
877
  title: /*#__PURE__*/PropTypes.oneOfType([PropTypes.element, PropTypes.string, PropTypes.func]),
878
878
  children: PropTypes.node.isRequired,
879
879
  onClose: PropTypes.func,
880
880
  style: /*#__PURE__*/PropTypes.objectOf(PropTypes.any),
881
881
  contentStyle: /*#__PURE__*/PropTypes.objectOf(PropTypes.any),
882
882
  className: PropTypes.string,
883
- maxWidth: PropTypes.string,
884
- maxHeight: PropTypes.string,
885
- isFixed: PropTypes.bool,
886
- zIndex: PropTypes.number
883
+ maxwidth: PropTypes.string,
884
+ maxheight: PropTypes.string,
885
+ isfixed: PropTypes.bool,
886
+ zindex: PropTypes.number
887
887
  };
888
888
  Modal$1.defaultProps = {
889
889
  title: '',
890
890
  style: {},
891
891
  contentStyle: {},
892
892
  className: '',
893
- maxWidth: '360px',
894
- maxHeight: 'max-content',
895
- isFixed: false,
893
+ maxwidth: '360px',
894
+ maxheight: 'max-content',
895
+ isfixed: false,
896
896
  onClose: function onClose() {},
897
- zIndex: 9999
897
+ zindex: 9999
898
898
  };
899
899
 
900
900
  var _templateObject$6;
901
901
  var Container$1 = /*#__PURE__*/styled__default.div(_templateObject$6 || (_templateObject$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n justify-content: center;\n padding: 24px 0;\n height: 193px;\n\n background: ", ";\n background-position: top, right, bottom, left;\n background-repeat: repeat-x, repeat-y;\n background-size: 40px 1px, 1px 40px;\n background-color: ", ";\n\n & .content {\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n & > .icon {\n background-color: ", ";\n border-radius: 16px;\n width: 145px;\n height: 145px;\n\n display: flex;\n justify-content: center;\n\n & svg {\n width: 100%;\n height: 70%;\n margin: 20px;\n }\n }\n\n & .description {\n max-width: 600px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n padding: 8px 0 8px 24px;\n\n .button-add {\n cursor: pointer;\n }\n\n .start-icon {\n display: flex;\n align-items: center;\n }\n }\n }\n"])), function (_ref) {
902
- var hasBorder = _ref.hasBorder;
903
- return hasBorder && "linear-gradient(\n to right,\n #dadce3 50%,\n rgba(255, 255, 255, 0) 0%\n ),\n linear-gradient(#dadce3 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, #dadce3 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(#dadce3 50%, rgba(255, 255, 255, 0) 0%)";
902
+ var hasborder = _ref.hasborder;
903
+ return hasborder && "linear-gradient(\n to right,\n #dadce3 50%,\n rgba(255, 255, 255, 0) 0%\n ),\n linear-gradient(#dadce3 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, #dadce3 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(#dadce3 50%, rgba(255, 255, 255, 0) 0%)";
904
904
  }, function (_ref2) {
905
- var backgroundColor = _ref2.backgroundColor;
906
- return backgroundColor;
905
+ var backgroundcolor = _ref2.backgroundcolor;
906
+ return backgroundcolor;
907
907
  }, function (_ref3) {
908
- var backgroundIcon = _ref3.backgroundIcon;
909
- return backgroundIcon;
908
+ var backgroundicon = _ref3.backgroundicon;
909
+ return backgroundicon;
910
910
  });
911
911
 
912
- var _excluded$4 = ["icon", "title", "description", "activeButton", "iconButton", "descriptionButton", "widthButton", "button", "backgroundIcon", "backgroundColor", "hasBorder"];
912
+ var _excluded$4 = ["icon", "title", "description", "activeButton", "iconButton", "descriptionButton", "widthButton", "button", "backgroundIcon", "backgroundColor", "hasborder"];
913
913
  var EmptyState = function EmptyState(_ref) {
914
914
  var icon = _ref.icon,
915
915
  title = _ref.title,
@@ -919,12 +919,12 @@ var EmptyState = function EmptyState(_ref) {
919
919
  button = _ref.button,
920
920
  backgroundIcon = _ref.backgroundIcon,
921
921
  backgroundColor = _ref.backgroundColor,
922
- hasBorder = _ref.hasBorder,
922
+ hasborder = _ref.hasborder,
923
923
  rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
924
924
  return React__default.createElement(Container$1, Object.assign({
925
- backgroundIcon: backgroundIcon,
926
- backgroundColor: backgroundColor,
927
- hasBorder: hasBorder
925
+ backgroundicon: backgroundIcon,
926
+ backgroundcolor: backgroundColor,
927
+ hasborder: hasborder
928
928
  }, rest), React__default.createElement("div", {
929
929
  className: "content"
930
930
  }, React__default.createElement("div", {
@@ -944,7 +944,7 @@ EmptyState.propTypes = {
944
944
  button: PropTypes.element,
945
945
  backgroundIcon: PropTypes.string,
946
946
  backgroundColor: PropTypes.string,
947
- hasBorder: PropTypes.bool
947
+ hasborder: PropTypes.bool
948
948
  };
949
949
  EmptyState.defaultProps = {
950
950
  icon: '',
@@ -955,7 +955,7 @@ EmptyState.defaultProps = {
955
955
  widthButton: '140px',
956
956
  backgroundIcon: 'var(--neutral-0)',
957
957
  backgroundColor: 'var(--absolute-white)',
958
- hasBorder: true
958
+ hasborder: true
959
959
  };
960
960
 
961
961
  var _templateObject$7, _templateObject2$5, _templateObject3$4, _templateObject4$1, _templateObject5$1;
@@ -1401,8 +1401,8 @@ var FileArea = function FileArea() {
1401
1401
  var initFiles = reactRedux.useSelector(function (state) {
1402
1402
  return state.files;
1403
1403
  });
1404
- var isLoading = reactRedux.useSelector(function (state) {
1405
- return state.isLoading;
1404
+ var isloading = reactRedux.useSelector(function (state) {
1405
+ return state.isloading;
1406
1406
  });
1407
1407
  var tags = propTags ? propTags.tags : [];
1408
1408
  React.useEffect(function () {
@@ -1469,7 +1469,7 @@ var FileArea = function FileArea() {
1469
1469
  };
1470
1470
  var renderFiles = function renderFiles() {
1471
1471
  return React__default.createElement(Container, {
1472
- isLoading: isLoading
1472
+ isloading: isloading
1473
1473
  }, React__default.createElement("div", {
1474
1474
  id: 'loading'
1475
1475
  }), React__default.createElement(Header, null, React__default.createElement("div", {
@@ -1496,10 +1496,13 @@ var FileArea = function FileArea() {
1496
1496
  descriptionButton: t.fileArea.modal.chooseFile,
1497
1497
  widthButton: "230px"
1498
1498
  }) : React__default.createElement(Table$1, null, React__default.createElement("thead", null, React__default.createElement("tr", null, React__default.createElement("th", {
1499
+ key: "th_file_name",
1499
1500
  className: "th_file_name"
1500
1501
  }, t.fileArea.fileName), React__default.createElement("th", {
1502
+ key: "th_pressets",
1501
1503
  className: "th_pressets"
1502
1504
  }, t.fileArea.presset), React__default.createElement("th", {
1505
+ key: "th_actions",
1503
1506
  className: "th_actions"
1504
1507
  }, t.fileArea.actions))), React__default.createElement("tbody", null, files.map(function (object) {
1505
1508
  return React__default.createElement("tr", null, React__default.createElement("td", null, object.name), React__default.createElement("td", {
@@ -1516,9 +1519,9 @@ var FileArea = function FileArea() {
1516
1519
  }
1517
1520
  }, t.buttons["delete"]))));
1518
1521
  }))), React__default.createElement(Modal$1, {
1519
- isOpen: modal,
1520
- maxWidth: "600px",
1521
- maxHeight: "max-content",
1522
+ isopen: modal,
1523
+ maxwidth: "600px",
1524
+ maxheight: "max-content",
1522
1525
  onClose: handleOpenModal,
1523
1526
  title: t.fileArea.modal.uploadFile
1524
1527
  }, React__default.createElement(ModalContent, null, React__default.createElement("div", {
@@ -1545,9 +1548,9 @@ var FileArea = function FileArea() {
1545
1548
  type: "submit",
1546
1549
  form: "form-tts"
1547
1550
  }, t.buttons.send))), React__default.createElement(Modal$1, {
1548
- isOpen: modalDelete,
1549
- maxWidth: "600px",
1550
- maxHeight: "max-content",
1551
+ isopen: modalDelete,
1552
+ maxwidth: "600px",
1553
+ maxheight: "max-content",
1551
1554
  onClose: function onClose() {
1552
1555
  return handleOpenModalDelete('');
1553
1556
  },
@@ -1581,7 +1584,7 @@ var FileArea = function FileArea() {
1581
1584
 
1582
1585
  var _templateObject$9, _templateObject2$6, _templateObject3$5, _templateObject4$2, _templateObject5$2;
1583
1586
  var Container$3 = /*#__PURE__*/styled__default.div(_templateObject$9 || (_templateObject$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n\n"])), function (props) {
1584
- return props.isLoading && styled.css(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n #loading {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgb(151,154,165, 0.7);\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 9999;\n }\n\n #loading::after {\n content: \"\";\n border: 4px solid #f3f3f3; /* Cor do s\xEDmbolo de carregamento */\n border-top: 4px solid #3498db; /* Cor do s\xEDmbolo de carregamento */\n border-radius: 50%;\n width: 30px;\n height: 30px;\n animation: spin 1s linear infinite;\n }\n\n @keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n "])));
1587
+ return props.isloading && styled.css(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n #loading {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgb(151,154,165, 0.7);\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 9999;\n }\n\n #loading::after {\n content: \"\";\n border: 4px solid #f3f3f3; /* Cor do s\xEDmbolo de carregamento */\n border-top: 4px solid #3498db; /* Cor do s\xEDmbolo de carregamento */\n border-radius: 50%;\n width: 30px;\n height: 30px;\n animation: spin 1s linear infinite;\n }\n\n @keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n "])));
1585
1588
  });
1586
1589
  var Header$1 = /*#__PURE__*/styled__default.div(_templateObject3$5 || (_templateObject3$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n .infos {\n display: flex;\n flex-direction: column;\n padding: 14px 0;\n\n h2 {\n font-size: 20px\n }\n\n p {\n font-size: 14px\n }\n }\n"])));
1587
1590
  var Inputs = /*#__PURE__*/styled__default.div(_templateObject4$2 || (_templateObject4$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n\n button {\n background: #102693;\n padding: 10px 20px;\n color: white;\n border-radius: 4px;\n width: 190px;\n height: 40px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n svg {\n width: 23px;\n height: 23px;\n }\n }\n"])));
@@ -1648,8 +1651,8 @@ var TestArea = function TestArea() {
1648
1651
  var results = reactRedux.useSelector(function (state) {
1649
1652
  return state.message;
1650
1653
  });
1651
- var isLoading = reactRedux.useSelector(function (state) {
1652
- return state.isLoading;
1654
+ var isloading = reactRedux.useSelector(function (state) {
1655
+ return state.isloading;
1653
1656
  });
1654
1657
  var _useState = React.useState(''),
1655
1658
  search = _useState[0],
@@ -1662,9 +1665,6 @@ var TestArea = function TestArea() {
1662
1665
  setPresset = _useState3[1];
1663
1666
  var dispatch = reactRedux.useDispatch();
1664
1667
  var tags = propTags ? propTags.tags : [];
1665
- React.useEffect(function () {
1666
- console.log('isLoading: ', isLoading);
1667
- }, [isLoading]);
1668
1668
  var optionsPersona = personas && personas.map(function (persona) {
1669
1669
  return {
1670
1670
  label: persona.name,
@@ -1694,8 +1694,10 @@ var TestArea = function TestArea() {
1694
1694
  };
1695
1695
  var returnTest = function returnTest() {
1696
1696
  return React__default.createElement(Container$3, {
1697
- isLoading: isLoading
1698
- }, React__default.createElement(Header$1, null, React__default.createElement("div", {
1697
+ isloading: isloading
1698
+ }, React__default.createElement("div", {
1699
+ id: 'loading'
1700
+ }), React__default.createElement(Header$1, null, React__default.createElement("div", {
1699
1701
  className: 'infos'
1700
1702
  }, React__default.createElement("h2", null, t.test), React__default.createElement("p", null, t.testArea.description))), React__default.createElement(Inputs, null, React__default.createElement(InputTest, {
1701
1703
  placeholder: t.testArea.typeSentence,
@@ -1779,7 +1781,7 @@ var Leia = function Leia(props) {
1779
1781
  var INITIAL_STATE = {
1780
1782
  files: [],
1781
1783
  message: '',
1782
- isLoading: false,
1784
+ isloading: false,
1783
1785
  isChanging: false,
1784
1786
  isOffline: true
1785
1787
  };
@@ -1799,10 +1801,10 @@ function filesReducer(state, action) {
1799
1801
  draft.message = action.payload.message;
1800
1802
  break;
1801
1803
  case Types.LOADING_START:
1802
- draft.isLoading = true;
1804
+ draft.isloading = true;
1803
1805
  break;
1804
1806
  case Types.LOADING_FINISH:
1805
- draft.isLoading = false;
1807
+ draft.isloading = false;
1806
1808
  break;
1807
1809
  case Types.CHANGING_START:
1808
1810
  draft.isChanging = true;