code7-leia 0.1.141 → 0.1.144

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.
@@ -662,7 +662,7 @@ var getLanguage = function getLanguage(language) {
662
662
 
663
663
  var _templateObject$1, _templateObject2$1, _templateObject3;
664
664
  var Container = /*#__PURE__*/styled.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) {
665
- return props.isLoading && 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 "])));
665
+ return props.isloading && 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 #35373f; /* Cor do s\xEDmbolo de carregamento */\n border-radius: 50%;\n width: 15px;\n height: 15px;\n animation: spin 1s linear infinite;\n }\n\n @keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n "])));
666
666
  });
667
667
  var Header = /*#__PURE__*/styled.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"])));
668
668
 
@@ -688,19 +688,19 @@ var Spinner = function Spinner(_ref) {
688
688
  }, React.createElement("span", null), React.createElement("span", null), React.createElement("span", null), React.createElement("span", null));
689
689
  };
690
690
 
691
- var _excluded$1 = ["size", "children", "isLoading", "className"];
691
+ var _excluded$1 = ["size", "children", "isloading", "className"];
692
692
  var Table$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
693
693
  var _ref$size = _ref.size,
694
694
  size = _ref$size === void 0 ? 'medium' : _ref$size,
695
695
  children = _ref.children,
696
- _ref$isLoading = _ref.isLoading,
697
- isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
696
+ _ref$isloading = _ref.isloading,
697
+ isloading = _ref$isloading === void 0 ? false : _ref$isloading,
698
698
  _ref$className = _ref.className,
699
699
  className = _ref$className === void 0 ? '' : _ref$className,
700
700
  props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
701
701
  return React.createElement(TableWrapper, {
702
702
  className: className
703
- }, isLoading ? React.createElement(TableLoadingWrapper, null, React.createElement(Spinner, null)) : null, React.createElement(Table, Object.assign({
703
+ }, isloading ? React.createElement(TableLoadingWrapper, null, React.createElement(Spinner, null)) : null, React.createElement(Table, Object.assign({
704
704
  className: cc([size]),
705
705
  ref: ref
706
706
  }, props), children));
@@ -709,7 +709,7 @@ Table$1.propTypes = {
709
709
  children: PropTypes.node.isRequired,
710
710
  className: PropTypes.string,
711
711
  size: /*#__PURE__*/PropTypes.oneOf(['small', 'medium', 'large']),
712
- isLoading: PropTypes.bool
712
+ isloading: PropTypes.bool
713
713
  };
714
714
 
715
715
  var _templateObject$4, _templateObject2$3, _templateObject3$2;
@@ -741,32 +741,32 @@ var SearchInput = function SearchInput(_ref) {
741
741
 
742
742
  var _templateObject$5, _templateObject2$4, _templateObject3$3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
743
743
  var FullScreen = /*#__PURE__*/styled.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) {
744
- var isOpen = _ref.isOpen;
745
- return isOpen === 1 ? 'flex' : 'none';
744
+ var isopen = _ref.isopen;
745
+ return isopen === 1 ? 'flex' : 'none';
746
746
  }, function (_ref2) {
747
- var isFixed = _ref2.isFixed;
748
- return isFixed === 0 ? 'pointer' : 'default';
747
+ var isfixed = _ref2.isfixed;
748
+ return isfixed === 0 ? 'pointer' : 'default';
749
749
  }, function (_ref3) {
750
- var zIndex = _ref3.zIndex;
751
- return zIndex;
750
+ var zindex = _ref3.zindex;
751
+ return zindex;
752
752
  });
753
753
  var Modal = /*#__PURE__*/styled.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) {
754
- var maxWidth = _ref4.maxWidth;
755
- return maxWidth;
754
+ var maxwidth = _ref4.maxwidth;
755
+ return maxwidth;
756
756
  });
757
757
  var ModalContainer = /*#__PURE__*/styled.div(_templateObject3$3 || (_templateObject3$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n overflow-y: auto;\n max-height: ", ";\n"])), function (_ref5) {
758
- var maxHeight = _ref5.maxHeight;
759
- return maxHeight;
758
+ var maxheight = _ref5.maxheight;
759
+ return maxheight;
760
760
  });
761
761
  var ModalHeader = /*#__PURE__*/styled.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"])));
762
762
  var ModalTitle = /*#__PURE__*/styled.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"])));
763
763
  var ModalButtonClose = /*#__PURE__*/styled.button(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n outline: none;\n cursor: pointer;\n\n :hover {\n opacity: 0.7;\n }\n"])));
764
764
  var ModalContentWrapper = /*#__PURE__*/styled.div(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n overflow-y: ", ";\n max-height: ", ";\n padding: var(--spacement-medium);\n"])), function (_ref6) {
765
- var overflowY = _ref6.overflowY;
766
- return overflowY;
765
+ var overflowy = _ref6.overflowy;
766
+ return overflowy;
767
767
  }, function (_ref7) {
768
- var maxHeight = _ref7.maxHeight;
769
- return maxHeight;
768
+ var maxheight = _ref7.maxheight;
769
+ return maxheight;
770
770
  });
771
771
  var ModalFooterWrapper = /*#__PURE__*/styled.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"])));
772
772
 
@@ -780,61 +780,61 @@ ModalFooter.propTypes = {
780
780
  children: PropTypes.node.isRequired
781
781
  };
782
782
 
783
- var _excluded$3 = ["children", "maxHeight", "overflowY"];
783
+ var _excluded$3 = ["children", "maxheight", "overflowy"];
784
784
  var ModalContent = function ModalContent(_ref) {
785
785
  var children = _ref.children,
786
- _ref$maxHeight = _ref.maxHeight,
787
- maxHeight = _ref$maxHeight === void 0 ? 'max-content' : _ref$maxHeight,
788
- _ref$overflowY = _ref.overflowY,
789
- overflowY = _ref$overflowY === void 0 ? 'initial' : _ref$overflowY,
786
+ _ref$maxheight = _ref.maxheight,
787
+ maxheight = _ref$maxheight === void 0 ? 'max-content' : _ref$maxheight,
788
+ _ref$overflowy = _ref.overflowy,
789
+ overflowy = _ref$overflowy === void 0 ? 'initial' : _ref$overflowy,
790
790
  rest = _objectWithoutPropertiesLoose(_ref, _excluded$3);
791
791
  return React.createElement(ModalContentWrapper, Object.assign({
792
- maxHeight: maxHeight,
793
- overflowY: overflowY
792
+ maxheight: maxheight,
793
+ overflowy: overflowy
794
794
  }, rest), children);
795
795
  };
796
796
  ModalContent.propTypes = {
797
797
  children: PropTypes.node.isRequired,
798
- maxHeight: PropTypes.string,
799
- overflowY: PropTypes.string
798
+ maxheight: PropTypes.string,
799
+ overflowy: PropTypes.string
800
800
  };
801
801
 
802
802
  var Modal$1 = function Modal$1(_ref) {
803
- var isOpen = _ref.isOpen,
803
+ var isopen = _ref.isopen,
804
804
  style = _ref.style,
805
- maxWidth = _ref.maxWidth,
806
- maxHeight = _ref.maxHeight,
805
+ maxwidth = _ref.maxwidth,
806
+ maxheight = _ref.maxheight,
807
807
  className = _ref.className,
808
808
  title = _ref.title,
809
809
  children = _ref.children,
810
810
  onClose = _ref.onClose,
811
811
  contentStyle = _ref.contentStyle,
812
- isFixed = _ref.isFixed,
813
- zIndex = _ref.zIndex;
812
+ isfixed = _ref.isfixed,
813
+ zindex = _ref.zindex;
814
814
  var modalRef = useRef(null);
815
815
  var handleKeyUp = useCallback(function (e) {
816
816
  var keys = {
817
817
  // ESC Key
818
818
  27: function _() {
819
819
  e.preventDefault();
820
- if (!isFixed && onClose) {
820
+ if (!isfixed && onClose) {
821
821
  onClose();
822
822
  }
823
823
  window.removeEventListener('keyup', handleKeyUp, false);
824
824
  }
825
825
  };
826
- if (keys[e.keyCode] && isOpen) {
826
+ if (keys[e.keyCode] && isopen) {
827
827
  keys[e.keyCode]();
828
828
  }
829
- }, [onClose, isOpen, isFixed]);
829
+ }, [onClose, isopen, isfixed]);
830
830
  var handleOutsideClick = useCallback(function (e) {
831
831
  if (modalRef.current && modalRef.current.parentNode === e.target) {
832
- if (!isFixed && onClose) {
832
+ if (!isfixed && onClose) {
833
833
  onClose();
834
834
  }
835
835
  document.removeEventListener('click', handleOutsideClick, false);
836
836
  }
837
- }, [onClose, isFixed]);
837
+ }, [onClose, isfixed]);
838
838
  useEffect(function () {
839
839
  window.addEventListener('keyup', handleKeyUp, false);
840
840
  document.addEventListener('click', handleOutsideClick, false);
@@ -844,17 +844,17 @@ var Modal$1 = function Modal$1(_ref) {
844
844
  };
845
845
  }, [handleKeyUp, handleOutsideClick]);
846
846
  return React.createElement(FullScreen, {
847
- isFixed: isFixed ? 1 : 0,
848
- isOpen: isOpen ? 1 : 0,
849
- zIndex: zIndex != null ? zIndex : 0
847
+ isfixed: isfixed ? 1 : 0,
848
+ isopen: isopen ? 1 : 0,
849
+ zindex: zindex != null ? zindex : 0
850
850
  }, React.createElement(Modal, {
851
851
  ref: modalRef,
852
852
  style: style,
853
- maxWidth: maxWidth,
853
+ maxwidth: maxwidth,
854
854
  className: className
855
855
  }, React.createElement(ModalContainer, {
856
856
  className: "styleOverlay",
857
- maxHeight: maxHeight,
857
+ maxheight: maxheight,
858
858
  style: contentStyle
859
859
  }, React.createElement(ModalHeader, null, React.createElement(ModalTitle, null, String(title)), React.createElement(ModalButtonClose, {
860
860
  type: "button",
@@ -865,43 +865,43 @@ var Modal$1 = function Modal$1(_ref) {
865
865
  }))), children)));
866
866
  };
867
867
  Modal$1.propTypes = {
868
- isOpen: PropTypes.bool.isRequired,
868
+ isopen: PropTypes.bool.isRequired,
869
869
  title: /*#__PURE__*/PropTypes.oneOfType([PropTypes.element, PropTypes.string, PropTypes.func]),
870
870
  children: PropTypes.node.isRequired,
871
871
  onClose: PropTypes.func,
872
872
  style: /*#__PURE__*/PropTypes.objectOf(PropTypes.any),
873
873
  contentStyle: /*#__PURE__*/PropTypes.objectOf(PropTypes.any),
874
874
  className: PropTypes.string,
875
- maxWidth: PropTypes.string,
876
- maxHeight: PropTypes.string,
877
- isFixed: PropTypes.bool,
878
- zIndex: PropTypes.number
875
+ maxwidth: PropTypes.string,
876
+ maxheight: PropTypes.string,
877
+ isfixed: PropTypes.bool,
878
+ zindex: PropTypes.number
879
879
  };
880
880
  Modal$1.defaultProps = {
881
881
  title: '',
882
882
  style: {},
883
883
  contentStyle: {},
884
884
  className: '',
885
- maxWidth: '360px',
886
- maxHeight: 'max-content',
887
- isFixed: false,
885
+ maxwidth: '360px',
886
+ maxheight: 'max-content',
887
+ isfixed: false,
888
888
  onClose: function onClose() {},
889
- zIndex: 9999
889
+ zindex: 9999
890
890
  };
891
891
 
892
892
  var _templateObject$6;
893
893
  var Container$1 = /*#__PURE__*/styled.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) {
894
- var hasBorder = _ref.hasBorder;
895
- 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%)";
894
+ var hasborder = _ref.hasborder;
895
+ 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%)";
896
896
  }, function (_ref2) {
897
- var backgroundColor = _ref2.backgroundColor;
898
- return backgroundColor;
897
+ var backgroundcolor = _ref2.backgroundcolor;
898
+ return backgroundcolor;
899
899
  }, function (_ref3) {
900
- var backgroundIcon = _ref3.backgroundIcon;
901
- return backgroundIcon;
900
+ var backgroundicon = _ref3.backgroundicon;
901
+ return backgroundicon;
902
902
  });
903
903
 
904
- var _excluded$4 = ["icon", "title", "description", "activeButton", "iconButton", "descriptionButton", "widthButton", "button", "backgroundIcon", "backgroundColor", "hasBorder"];
904
+ var _excluded$4 = ["icon", "title", "description", "activeButton", "iconButton", "descriptionButton", "widthButton", "button", "backgroundIcon", "backgroundColor", "hasborder"];
905
905
  var EmptyState = function EmptyState(_ref) {
906
906
  var icon = _ref.icon,
907
907
  title = _ref.title,
@@ -911,12 +911,12 @@ var EmptyState = function EmptyState(_ref) {
911
911
  button = _ref.button,
912
912
  backgroundIcon = _ref.backgroundIcon,
913
913
  backgroundColor = _ref.backgroundColor,
914
- hasBorder = _ref.hasBorder,
914
+ hasborder = _ref.hasborder,
915
915
  rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
916
916
  return React.createElement(Container$1, Object.assign({
917
- backgroundIcon: backgroundIcon,
918
- backgroundColor: backgroundColor,
919
- hasBorder: hasBorder
917
+ backgroundicon: backgroundIcon,
918
+ backgroundcolor: backgroundColor,
919
+ hasborder: hasborder
920
920
  }, rest), React.createElement("div", {
921
921
  className: "content"
922
922
  }, React.createElement("div", {
@@ -936,7 +936,7 @@ EmptyState.propTypes = {
936
936
  button: PropTypes.element,
937
937
  backgroundIcon: PropTypes.string,
938
938
  backgroundColor: PropTypes.string,
939
- hasBorder: PropTypes.bool
939
+ hasborder: PropTypes.bool
940
940
  };
941
941
  EmptyState.defaultProps = {
942
942
  icon: '',
@@ -947,7 +947,7 @@ EmptyState.defaultProps = {
947
947
  widthButton: '140px',
948
948
  backgroundIcon: 'var(--neutral-0)',
949
949
  backgroundColor: 'var(--absolute-white)',
950
- hasBorder: true
950
+ hasborder: true
951
951
  };
952
952
 
953
953
  var _templateObject$7, _templateObject2$5, _templateObject3$4, _templateObject4$1, _templateObject5$1;
@@ -1393,8 +1393,8 @@ var FileArea = function FileArea() {
1393
1393
  var initFiles = useSelector(function (state) {
1394
1394
  return state.files;
1395
1395
  });
1396
- var isLoading = useSelector(function (state) {
1397
- return state.isLoading;
1396
+ var isloading = useSelector(function (state) {
1397
+ return state.isloading;
1398
1398
  });
1399
1399
  var tags = propTags ? propTags.tags : [];
1400
1400
  useEffect(function () {
@@ -1461,7 +1461,7 @@ var FileArea = function FileArea() {
1461
1461
  };
1462
1462
  var renderFiles = function renderFiles() {
1463
1463
  return React.createElement(Container, {
1464
- isLoading: isLoading
1464
+ isloading: isloading
1465
1465
  }, React.createElement("div", {
1466
1466
  id: 'loading'
1467
1467
  }), React.createElement(Header, null, React.createElement("div", {
@@ -1488,10 +1488,13 @@ var FileArea = function FileArea() {
1488
1488
  descriptionButton: t.fileArea.modal.chooseFile,
1489
1489
  widthButton: "230px"
1490
1490
  }) : React.createElement(Table$1, null, React.createElement("thead", null, React.createElement("tr", null, React.createElement("th", {
1491
+ key: "th_file_name",
1491
1492
  className: "th_file_name"
1492
1493
  }, t.fileArea.fileName), React.createElement("th", {
1494
+ key: "th_pressets",
1493
1495
  className: "th_pressets"
1494
1496
  }, t.fileArea.presset), React.createElement("th", {
1497
+ key: "th_actions",
1495
1498
  className: "th_actions"
1496
1499
  }, t.fileArea.actions))), React.createElement("tbody", null, files.map(function (object) {
1497
1500
  return React.createElement("tr", null, React.createElement("td", null, object.name), React.createElement("td", {
@@ -1508,9 +1511,9 @@ var FileArea = function FileArea() {
1508
1511
  }
1509
1512
  }, t.buttons["delete"]))));
1510
1513
  }))), React.createElement(Modal$1, {
1511
- isOpen: modal,
1512
- maxWidth: "600px",
1513
- maxHeight: "max-content",
1514
+ isopen: modal,
1515
+ maxwidth: "600px",
1516
+ maxheight: "max-content",
1514
1517
  onClose: handleOpenModal,
1515
1518
  title: t.fileArea.modal.uploadFile
1516
1519
  }, React.createElement(ModalContent, null, React.createElement("div", {
@@ -1537,9 +1540,9 @@ var FileArea = function FileArea() {
1537
1540
  type: "submit",
1538
1541
  form: "form-tts"
1539
1542
  }, t.buttons.send))), React.createElement(Modal$1, {
1540
- isOpen: modalDelete,
1541
- maxWidth: "600px",
1542
- maxHeight: "max-content",
1543
+ isopen: modalDelete,
1544
+ maxwidth: "600px",
1545
+ maxheight: "max-content",
1543
1546
  onClose: function onClose() {
1544
1547
  return handleOpenModalDelete('');
1545
1548
  },
@@ -1573,7 +1576,7 @@ var FileArea = function FileArea() {
1573
1576
 
1574
1577
  var _templateObject$9, _templateObject2$6, _templateObject3$5, _templateObject4$2, _templateObject5$2;
1575
1578
  var Container$3 = /*#__PURE__*/styled.div(_templateObject$9 || (_templateObject$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n\n"])), function (props) {
1576
- return props.isLoading && 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 "])));
1579
+ return props.isloading && 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 #35373f; /* Cor do s\xEDmbolo de carregamento */\n border-radius: 50%;\n width: 15px;\n height: 15px;\n animation: spin 1s linear infinite;\n }\n\n @keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n "])));
1577
1580
  });
1578
1581
  var Header$1 = /*#__PURE__*/styled.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"])));
1579
1582
  var Inputs = /*#__PURE__*/styled.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"])));
@@ -1640,8 +1643,8 @@ var TestArea = function TestArea() {
1640
1643
  var results = useSelector(function (state) {
1641
1644
  return state.message;
1642
1645
  });
1643
- var isLoading = useSelector(function (state) {
1644
- return state.isLoading;
1646
+ var isloading = useSelector(function (state) {
1647
+ return state.isloading;
1645
1648
  });
1646
1649
  var _useState = useState(''),
1647
1650
  search = _useState[0],
@@ -1683,7 +1686,7 @@ var TestArea = function TestArea() {
1683
1686
  };
1684
1687
  var returnTest = function returnTest() {
1685
1688
  return React.createElement(Container$3, {
1686
- isLoading: isLoading
1689
+ isloading: isloading
1687
1690
  }, React.createElement("div", {
1688
1691
  id: 'loading'
1689
1692
  }), React.createElement(Header$1, null, React.createElement("div", {
@@ -1770,7 +1773,7 @@ var Leia = function Leia(props) {
1770
1773
  var INITIAL_STATE = {
1771
1774
  files: [],
1772
1775
  message: '',
1773
- isLoading: false,
1776
+ isloading: false,
1774
1777
  isChanging: false,
1775
1778
  isOffline: true
1776
1779
  };
@@ -1790,10 +1793,10 @@ function filesReducer(state, action) {
1790
1793
  draft.message = action.payload.message;
1791
1794
  break;
1792
1795
  case Types.LOADING_START:
1793
- draft.isLoading = true;
1796
+ draft.isloading = true;
1794
1797
  break;
1795
1798
  case Types.LOADING_FINISH:
1796
- draft.isLoading = false;
1799
+ draft.isloading = false;
1797
1800
  break;
1798
1801
  case Types.CHANGING_START:
1799
1802
  draft.isChanging = true;