@bigbinary/neeto-molecules 1.0.94 → 1.0.96

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.
Files changed (39) hide show
  1. package/dist/CustomDomain.cjs.js +8 -10
  2. package/dist/CustomDomain.cjs.js.map +1 -1
  3. package/dist/CustomDomain.js +10 -13
  4. package/dist/CustomDomain.js.map +1 -1
  5. package/dist/CustomDomainDashboard.cjs.js +8 -10
  6. package/dist/CustomDomainDashboard.cjs.js.map +1 -1
  7. package/dist/CustomDomainDashboard.js +9 -12
  8. package/dist/CustomDomainDashboard.js.map +1 -1
  9. package/dist/IntegrationCard.cjs.js +223 -38
  10. package/dist/IntegrationCard.cjs.js.map +1 -1
  11. package/dist/IntegrationCard.js +227 -42
  12. package/dist/IntegrationCard.js.map +1 -1
  13. package/dist/IntegrationDisconnectAlert.cjs.js +22 -14
  14. package/dist/IntegrationDisconnectAlert.cjs.js.map +1 -1
  15. package/dist/IntegrationDisconnectAlert.js +19 -14
  16. package/dist/IntegrationDisconnectAlert.js.map +1 -1
  17. package/dist/IntegrationWalkthroughModal.cjs.js +17 -9
  18. package/dist/IntegrationWalkthroughModal.cjs.js.map +1 -1
  19. package/dist/IntegrationWalkthroughModal.js +14 -9
  20. package/dist/IntegrationWalkthroughModal.js.map +1 -1
  21. package/dist/IpRestriction.cjs.js +51 -50
  22. package/dist/IpRestriction.cjs.js.map +1 -1
  23. package/dist/IpRestriction.js +52 -51
  24. package/dist/IpRestriction.js.map +1 -1
  25. package/dist/NeetoWidget.cjs.js +5 -20
  26. package/dist/NeetoWidget.cjs.js.map +1 -1
  27. package/dist/NeetoWidget.js +5 -21
  28. package/dist/NeetoWidget.js.map +1 -1
  29. package/dist/Schedule.cjs.js +4 -10
  30. package/dist/Schedule.cjs.js.map +1 -1
  31. package/dist/Schedule.js +5 -11
  32. package/dist/Schedule.js.map +1 -1
  33. package/dist/ShareViaLink.cjs.js +7 -8
  34. package/dist/ShareViaLink.cjs.js.map +1 -1
  35. package/dist/ShareViaLink.js +7 -9
  36. package/dist/ShareViaLink.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/translations/en.json +11 -2
  39. package/types/IntegrationCard.d.ts +14 -5
@@ -1 +1 @@
1
- {"version":3,"file":"IntegrationWalkthroughModal.cjs.js","sources":["../src/components/IntegrationWalkthroughModal/index.jsx"],"sourcesContent":["import React from \"react\";\n\nimport { Modal, Button, Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\nimport { useTranslation } from \"react-i18next\";\n\nconst IntegrationWalkthroughModal = ({\n isOpen,\n onClose,\n videoUrl,\n children,\n}) => {\n const { t } = useTranslation();\n\n return (\n <Modal isOpen={isOpen} size=\"large\" onClose={onClose}>\n <Modal.Header>\n <Typography style=\"h2\" weight=\"semibold\">\n {t(\"neetoMolecules.integrationWalkthroughModal.header\")}\n </Typography>\n </Modal.Header>\n <Modal.Body>\n <div className=\"w-full py-10\">\n <video\n autoPlay\n controls\n muted\n className=\"cursor-pointer\"\n id=\"walkthrough-video\"\n >\n <source src={videoUrl} />\n </video>\n {children}\n </div>\n </Modal.Body>\n <Modal.Footer>\n <Button\n label={t(\"neetoMolecules.integrationWalkthroughModal.continue\")}\n onClick={onClose}\n />\n </Modal.Footer>\n </Modal>\n );\n};\n\nIntegrationWalkthroughModal.propTypes = {\n /**\n * To specify video URL of integration walkthrough that will be embedded.\n */\n videoUrl: PropTypes.string,\n /**\n * To specify whether the integration modal should be opened or closed.\n */\n isOpen: PropTypes.bool,\n /**\n * Handler function that is triggered when the continue or close button is clicked.\n */\n onClose: PropTypes.func,\n};\n\nexport default IntegrationWalkthroughModal;\n"],"names":["IntegrationWalkthroughModal","_ref","isOpen","onClose","videoUrl","children","_useTranslation","useTranslation","t","React","createElement","Modal","size","Header","Typography","style","weight","Body","className","autoPlay","controls","muted","id","src","Footer","Button","label","onClick"],"mappings":";;;;;;;;;;AAMA,IAAMA,2BAA2B,GAAG,SAA9BA,2BAA2BA,CAAAC,IAAA,EAK3B;AAAA,EAAA,IAJJC,MAAM,GAAAD,IAAA,CAANC,MAAM;IACNC,OAAO,GAAAF,IAAA,CAAPE,OAAO;IACPC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IACRC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ,CAAA;EAER,IAAAC,eAAA,GAAcC,2BAAc,EAAE;IAAtBC,CAAC,GAAAF,eAAA,CAADE,CAAC,CAAA;AAET,EAAA,oBACEC,yBAAA,CAAAC,aAAA,CAACC,aAAK,EAAA;AAACT,IAAAA,MAAM,EAAEA,MAAO;AAACU,IAAAA,IAAI,EAAC,OAAO;AAACT,IAAAA,OAAO,EAAEA,OAAAA;AAAQ,GAAA,eACnDM,yBAAA,CAAAC,aAAA,CAACC,aAAK,CAACE,MAAM,EAAA,IAAA,eACXJ,yBAAA,CAAAC,aAAA,CAACI,kBAAU,EAAA;AAACC,IAAAA,KAAK,EAAC,IAAI;AAACC,IAAAA,MAAM,EAAC,UAAA;AAAU,GAAA,EACrCR,CAAC,CAAC,mDAAmD,CAAC,CAC5C,CACA,eACfC,yBAAA,CAAAC,aAAA,CAACC,aAAK,CAACM,IAAI,EACTR,IAAAA,eAAAA,yBAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKQ,IAAAA,SAAS,EAAC,cAAA;GACbT,eAAAA,yBAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;IACES,QAAQ,EAAA,IAAA;IACRC,QAAQ,EAAA,IAAA;IACRC,KAAK,EAAA,IAAA;AACLH,IAAAA,SAAS,EAAC,gBAAgB;AAC1BI,IAAAA,EAAE,EAAC,mBAAA;GAEHb,eAAAA,yBAAA,CAAAC,aAAA,CAAA,QAAA,EAAA;AAAQa,IAAAA,GAAG,EAAEnB,QAAAA;AAAS,GAAA,CAAG,CACnB,EACPC,QAAQ,CACL,CACK,eACbI,yBAAA,CAAAC,aAAA,CAACC,aAAK,CAACa,MAAM,EAAA,IAAA,eACXf,yBAAA,CAAAC,aAAA,CAACe,cAAM,EAAA;AACLC,IAAAA,KAAK,EAAElB,CAAC,CAAC,qDAAqD,CAAE;AAChEmB,IAAAA,OAAO,EAAExB,OAAAA;AAAQ,GAAA,CACjB,CACW,CACT,CAAA;AAEZ;;;;"}
1
+ {"version":3,"file":"IntegrationWalkthroughModal.cjs.js","sources":["../src/components/IntegrationWalkthroughModal/index.jsx"],"sourcesContent":["import React from \"react\";\n\nimport { noop } from \"neetocommons/pure\";\nimport { withT } from \"neetocommons/react-utils\";\nimport { Modal, Button, Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\n\nconst IntegrationWalkthroughModal = ({\n t,\n isOpen = false,\n onClose = noop,\n videoUrl = \"\",\n children,\n}) => (\n <Modal {...{ isOpen, onClose }} size=\"large\">\n <Modal.Header>\n <Typography style=\"h2\" weight=\"semibold\">\n {t(\"neetoMolecules.integrationWalkthroughModal.header\")}\n </Typography>\n </Modal.Header>\n <Modal.Body>\n <div className=\"w-full py-10\">\n <video\n autoPlay\n controls\n muted\n className=\"cursor-pointer\"\n id=\"walkthrough-video\"\n >\n <source src={videoUrl} />\n </video>\n {children}\n </div>\n </Modal.Body>\n <Modal.Footer>\n <Button\n label={t(\"neetoMolecules.integrationWalkthroughModal.continue\")}\n onClick={onClose}\n />\n </Modal.Footer>\n </Modal>\n);\n\nIntegrationWalkthroughModal.propTypes = {\n /**\n * To specify video URL of integration walkthrough that will be embedded.\n */\n videoUrl: PropTypes.string,\n /**\n * To specify whether the integration modal should be opened or closed.\n */\n isOpen: PropTypes.bool,\n /**\n * Handler function that is triggered when the continue or close button is clicked.\n */\n onClose: PropTypes.func,\n};\n\nconst WrappedIntegrationWalkthroughModal = withT(IntegrationWalkthroughModal);\nWrappedIntegrationWalkthroughModal.displayName = \"IntegrationWalkthroughModal\";\n\nexport { IntegrationWalkthroughModal };\nexport default WrappedIntegrationWalkthroughModal;\n"],"names":["IntegrationWalkthroughModal","_ref","t","_ref$isOpen","isOpen","_ref$onClose","onClose","noop","_ref$videoUrl","videoUrl","children","React","createElement","Modal","size","Header","Typography","style","weight","Body","className","autoPlay","controls","muted","id","src","Footer","Button","label","onClick","WrappedIntegrationWalkthroughModal","withT","displayName"],"mappings":";;;;;;;;;;;;;AAOA,IAAMA,2BAA2B,GAAG,SAA9BA,2BAA2BA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAC/BC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAAC,WAAA,GAAAF,IAAA,CACDG,MAAM;AAANA,IAAAA,MAAM,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,WAAA;IAAAE,YAAA,GAAAJ,IAAA,CACdK,OAAO;AAAPA,IAAAA,OAAO,GAAAD,YAAA,KAAGE,KAAAA,CAAAA,GAAAA,SAAI,GAAAF,YAAA;IAAAG,aAAA,GAAAP,IAAA,CACdQ,QAAQ;AAARA,IAAAA,QAAQ,GAAAD,aAAA,KAAG,KAAA,CAAA,GAAA,EAAE,GAAAA,aAAA;IACbE,QAAQ,GAAAT,IAAA,CAARS,QAAQ,CAAA;AAAA,EAAA,oBAERC,yBAAA,CAAAC,aAAA,CAACC,aAAK,EAAA;AAAOT,IAAAA,MAAM,EAANA,MAAM;AAAEE,IAAAA,OAAO,EAAPA,OAAO;AAAIQ,IAAAA,IAAI,EAAC,OAAA;AAAO,GAAA,eAC1CH,yBAAA,CAAAC,aAAA,CAACC,aAAK,CAACE,MAAM,EAAA,IAAA,eACXJ,yBAAA,CAAAC,aAAA,CAACI,kBAAU,EAAA;AAACC,IAAAA,KAAK,EAAC,IAAI;AAACC,IAAAA,MAAM,EAAC,UAAA;AAAU,GAAA,EACrChB,CAAC,CAAC,mDAAmD,CAAC,CAC5C,CACA,eACfS,yBAAA,CAAAC,aAAA,CAACC,aAAK,CAACM,IAAI,EACTR,IAAAA,eAAAA,yBAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKQ,IAAAA,SAAS,EAAC,cAAA;GACbT,eAAAA,yBAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;IACES,QAAQ,EAAA,IAAA;IACRC,QAAQ,EAAA,IAAA;IACRC,KAAK,EAAA,IAAA;AACLH,IAAAA,SAAS,EAAC,gBAAgB;AAC1BI,IAAAA,EAAE,EAAC,mBAAA;GAEHb,eAAAA,yBAAA,CAAAC,aAAA,CAAA,QAAA,EAAA;AAAQa,IAAAA,GAAG,EAAEhB,QAAAA;AAAS,GAAA,CAAG,CACnB,EACPC,QAAQ,CACL,CACK,eACbC,yBAAA,CAAAC,aAAA,CAACC,aAAK,CAACa,MAAM,EAAA,IAAA,eACXf,yBAAA,CAAAC,aAAA,CAACe,cAAM,EAAA;AACLC,IAAAA,KAAK,EAAE1B,CAAC,CAAC,qDAAqD,CAAE;AAChE2B,IAAAA,OAAO,EAAEvB,OAAAA;AAAQ,GAAA,CACjB,CACW,CACT,CAAA;AAAA,EACT;AAiBD,IAAMwB,kCAAkC,GAAGC,gBAAK,CAAC/B,2BAA2B,EAAC;AAC7E8B,kCAAkC,CAACE,WAAW,GAAG,6BAA6B;;;;;"}
@@ -1,18 +1,21 @@
1
1
  import React from 'react';
2
+ import { noop } from '@bigbinary/neeto-commons-frontend/pure';
3
+ import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
2
4
  import { Modal, Typography, Button } from '@bigbinary/neetoui';
3
- import { useTranslation } from 'react-i18next';
4
5
 
5
6
  var IntegrationWalkthroughModal = function IntegrationWalkthroughModal(_ref) {
6
- var isOpen = _ref.isOpen,
7
- onClose = _ref.onClose,
8
- videoUrl = _ref.videoUrl,
7
+ var t = _ref.t,
8
+ _ref$isOpen = _ref.isOpen,
9
+ isOpen = _ref$isOpen === void 0 ? false : _ref$isOpen,
10
+ _ref$onClose = _ref.onClose,
11
+ onClose = _ref$onClose === void 0 ? noop : _ref$onClose,
12
+ _ref$videoUrl = _ref.videoUrl,
13
+ videoUrl = _ref$videoUrl === void 0 ? "" : _ref$videoUrl,
9
14
  children = _ref.children;
10
- var _useTranslation = useTranslation(),
11
- t = _useTranslation.t;
12
15
  return /*#__PURE__*/React.createElement(Modal, {
13
16
  isOpen: isOpen,
14
- size: "large",
15
- onClose: onClose
17
+ onClose: onClose,
18
+ size: "large"
16
19
  }, /*#__PURE__*/React.createElement(Modal.Header, null, /*#__PURE__*/React.createElement(Typography, {
17
20
  style: "h2",
18
21
  weight: "semibold"
@@ -31,6 +34,8 @@ var IntegrationWalkthroughModal = function IntegrationWalkthroughModal(_ref) {
31
34
  onClick: onClose
32
35
  })));
33
36
  };
37
+ var WrappedIntegrationWalkthroughModal = withT(IntegrationWalkthroughModal);
38
+ WrappedIntegrationWalkthroughModal.displayName = "IntegrationWalkthroughModal";
34
39
 
35
- export { IntegrationWalkthroughModal as default };
40
+ export { IntegrationWalkthroughModal, WrappedIntegrationWalkthroughModal as default };
36
41
  //# sourceMappingURL=IntegrationWalkthroughModal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IntegrationWalkthroughModal.js","sources":["../src/components/IntegrationWalkthroughModal/index.jsx"],"sourcesContent":["import React from \"react\";\n\nimport { Modal, Button, Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\nimport { useTranslation } from \"react-i18next\";\n\nconst IntegrationWalkthroughModal = ({\n isOpen,\n onClose,\n videoUrl,\n children,\n}) => {\n const { t } = useTranslation();\n\n return (\n <Modal isOpen={isOpen} size=\"large\" onClose={onClose}>\n <Modal.Header>\n <Typography style=\"h2\" weight=\"semibold\">\n {t(\"neetoMolecules.integrationWalkthroughModal.header\")}\n </Typography>\n </Modal.Header>\n <Modal.Body>\n <div className=\"w-full py-10\">\n <video\n autoPlay\n controls\n muted\n className=\"cursor-pointer\"\n id=\"walkthrough-video\"\n >\n <source src={videoUrl} />\n </video>\n {children}\n </div>\n </Modal.Body>\n <Modal.Footer>\n <Button\n label={t(\"neetoMolecules.integrationWalkthroughModal.continue\")}\n onClick={onClose}\n />\n </Modal.Footer>\n </Modal>\n );\n};\n\nIntegrationWalkthroughModal.propTypes = {\n /**\n * To specify video URL of integration walkthrough that will be embedded.\n */\n videoUrl: PropTypes.string,\n /**\n * To specify whether the integration modal should be opened or closed.\n */\n isOpen: PropTypes.bool,\n /**\n * Handler function that is triggered when the continue or close button is clicked.\n */\n onClose: PropTypes.func,\n};\n\nexport default IntegrationWalkthroughModal;\n"],"names":["IntegrationWalkthroughModal","_ref","isOpen","onClose","videoUrl","children","_useTranslation","useTranslation","t","React","createElement","Modal","size","Header","Typography","style","weight","Body","className","autoPlay","controls","muted","id","src","Footer","Button","label","onClick"],"mappings":";;;;AAMA,IAAMA,2BAA2B,GAAG,SAA9BA,2BAA2BA,CAAAC,IAAA,EAK3B;AAAA,EAAA,IAJJC,MAAM,GAAAD,IAAA,CAANC,MAAM;IACNC,OAAO,GAAAF,IAAA,CAAPE,OAAO;IACPC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IACRC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ,CAAA;EAER,IAAAC,eAAA,GAAcC,cAAc,EAAE;IAAtBC,CAAC,GAAAF,eAAA,CAADE,CAAC,CAAA;AAET,EAAA,oBACEC,KAAA,CAAAC,aAAA,CAACC,KAAK,EAAA;AAACT,IAAAA,MAAM,EAAEA,MAAO;AAACU,IAAAA,IAAI,EAAC,OAAO;AAACT,IAAAA,OAAO,EAAEA,OAAAA;AAAQ,GAAA,eACnDM,KAAA,CAAAC,aAAA,CAACC,KAAK,CAACE,MAAM,EAAA,IAAA,eACXJ,KAAA,CAAAC,aAAA,CAACI,UAAU,EAAA;AAACC,IAAAA,KAAK,EAAC,IAAI;AAACC,IAAAA,MAAM,EAAC,UAAA;AAAU,GAAA,EACrCR,CAAC,CAAC,mDAAmD,CAAC,CAC5C,CACA,eACfC,KAAA,CAAAC,aAAA,CAACC,KAAK,CAACM,IAAI,EACTR,IAAAA,eAAAA,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKQ,IAAAA,SAAS,EAAC,cAAA;GACbT,eAAAA,KAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;IACES,QAAQ,EAAA,IAAA;IACRC,QAAQ,EAAA,IAAA;IACRC,KAAK,EAAA,IAAA;AACLH,IAAAA,SAAS,EAAC,gBAAgB;AAC1BI,IAAAA,EAAE,EAAC,mBAAA;GAEHb,eAAAA,KAAA,CAAAC,aAAA,CAAA,QAAA,EAAA;AAAQa,IAAAA,GAAG,EAAEnB,QAAAA;AAAS,GAAA,CAAG,CACnB,EACPC,QAAQ,CACL,CACK,eACbI,KAAA,CAAAC,aAAA,CAACC,KAAK,CAACa,MAAM,EAAA,IAAA,eACXf,KAAA,CAAAC,aAAA,CAACe,MAAM,EAAA;AACLC,IAAAA,KAAK,EAAElB,CAAC,CAAC,qDAAqD,CAAE;AAChEmB,IAAAA,OAAO,EAAExB,OAAAA;AAAQ,GAAA,CACjB,CACW,CACT,CAAA;AAEZ;;;;"}
1
+ {"version":3,"file":"IntegrationWalkthroughModal.js","sources":["../src/components/IntegrationWalkthroughModal/index.jsx"],"sourcesContent":["import React from \"react\";\n\nimport { noop } from \"neetocommons/pure\";\nimport { withT } from \"neetocommons/react-utils\";\nimport { Modal, Button, Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\n\nconst IntegrationWalkthroughModal = ({\n t,\n isOpen = false,\n onClose = noop,\n videoUrl = \"\",\n children,\n}) => (\n <Modal {...{ isOpen, onClose }} size=\"large\">\n <Modal.Header>\n <Typography style=\"h2\" weight=\"semibold\">\n {t(\"neetoMolecules.integrationWalkthroughModal.header\")}\n </Typography>\n </Modal.Header>\n <Modal.Body>\n <div className=\"w-full py-10\">\n <video\n autoPlay\n controls\n muted\n className=\"cursor-pointer\"\n id=\"walkthrough-video\"\n >\n <source src={videoUrl} />\n </video>\n {children}\n </div>\n </Modal.Body>\n <Modal.Footer>\n <Button\n label={t(\"neetoMolecules.integrationWalkthroughModal.continue\")}\n onClick={onClose}\n />\n </Modal.Footer>\n </Modal>\n);\n\nIntegrationWalkthroughModal.propTypes = {\n /**\n * To specify video URL of integration walkthrough that will be embedded.\n */\n videoUrl: PropTypes.string,\n /**\n * To specify whether the integration modal should be opened or closed.\n */\n isOpen: PropTypes.bool,\n /**\n * Handler function that is triggered when the continue or close button is clicked.\n */\n onClose: PropTypes.func,\n};\n\nconst WrappedIntegrationWalkthroughModal = withT(IntegrationWalkthroughModal);\nWrappedIntegrationWalkthroughModal.displayName = \"IntegrationWalkthroughModal\";\n\nexport { IntegrationWalkthroughModal };\nexport default WrappedIntegrationWalkthroughModal;\n"],"names":["IntegrationWalkthroughModal","_ref","t","_ref$isOpen","isOpen","_ref$onClose","onClose","noop","_ref$videoUrl","videoUrl","children","React","createElement","Modal","size","Header","Typography","style","weight","Body","className","autoPlay","controls","muted","id","src","Footer","Button","label","onClick","WrappedIntegrationWalkthroughModal","withT","displayName"],"mappings":";;;;;AAOA,IAAMA,2BAA2B,GAAG,SAA9BA,2BAA2BA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAC/BC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAAC,WAAA,GAAAF,IAAA,CACDG,MAAM;AAANA,IAAAA,MAAM,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,WAAA;IAAAE,YAAA,GAAAJ,IAAA,CACdK,OAAO;AAAPA,IAAAA,OAAO,GAAAD,YAAA,KAAGE,KAAAA,CAAAA,GAAAA,IAAI,GAAAF,YAAA;IAAAG,aAAA,GAAAP,IAAA,CACdQ,QAAQ;AAARA,IAAAA,QAAQ,GAAAD,aAAA,KAAG,KAAA,CAAA,GAAA,EAAE,GAAAA,aAAA;IACbE,QAAQ,GAAAT,IAAA,CAARS,QAAQ,CAAA;AAAA,EAAA,oBAERC,KAAA,CAAAC,aAAA,CAACC,KAAK,EAAA;AAAOT,IAAAA,MAAM,EAANA,MAAM;AAAEE,IAAAA,OAAO,EAAPA,OAAO;AAAIQ,IAAAA,IAAI,EAAC,OAAA;AAAO,GAAA,eAC1CH,KAAA,CAAAC,aAAA,CAACC,KAAK,CAACE,MAAM,EAAA,IAAA,eACXJ,KAAA,CAAAC,aAAA,CAACI,UAAU,EAAA;AAACC,IAAAA,KAAK,EAAC,IAAI;AAACC,IAAAA,MAAM,EAAC,UAAA;AAAU,GAAA,EACrChB,CAAC,CAAC,mDAAmD,CAAC,CAC5C,CACA,eACfS,KAAA,CAAAC,aAAA,CAACC,KAAK,CAACM,IAAI,EACTR,IAAAA,eAAAA,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKQ,IAAAA,SAAS,EAAC,cAAA;GACbT,eAAAA,KAAA,CAAAC,aAAA,CAAA,OAAA,EAAA;IACES,QAAQ,EAAA,IAAA;IACRC,QAAQ,EAAA,IAAA;IACRC,KAAK,EAAA,IAAA;AACLH,IAAAA,SAAS,EAAC,gBAAgB;AAC1BI,IAAAA,EAAE,EAAC,mBAAA;GAEHb,eAAAA,KAAA,CAAAC,aAAA,CAAA,QAAA,EAAA;AAAQa,IAAAA,GAAG,EAAEhB,QAAAA;AAAS,GAAA,CAAG,CACnB,EACPC,QAAQ,CACL,CACK,eACbC,KAAA,CAAAC,aAAA,CAACC,KAAK,CAACa,MAAM,EAAA,IAAA,eACXf,KAAA,CAAAC,aAAA,CAACe,MAAM,EAAA;AACLC,IAAAA,KAAK,EAAE1B,CAAC,CAAC,qDAAqD,CAAE;AAChE2B,IAAAA,OAAO,EAAEvB,OAAAA;AAAQ,GAAA,CACjB,CACW,CACT,CAAA;AAAA,EACT;AAiBD,IAAMwB,kCAAkC,GAAGC,KAAK,CAAC/B,2BAA2B,EAAC;AAC7E8B,kCAAkC,CAACE,WAAW,GAAG,6BAA6B;;;;"}
@@ -3472,20 +3472,20 @@ var FormRow = function FormRow(_ref) {
3472
3472
  }, function (_ref2) {
3473
3473
  var isSubmitting = _ref2.isSubmitting;
3474
3474
  return /*#__PURE__*/React__default["default"].createElement("div", {
3475
- className: "neeto-ui-bg-white flex w-full flex-row justify-between px-2 py-2"
3475
+ className: "neeto-ui-bg-white neeto-ui-rounded-lg grid grid-cols-12 gap-4 p-3"
3476
3476
  }, /*#__PURE__*/React__default["default"].createElement(formik.Input, {
3477
3477
  autoFocus: true,
3478
- className: "w-5/12 flex-grow px-3 py-2 text-left",
3478
+ className: "col-span-5 text-left",
3479
3479
  "data-cy": "ip-start-text-field",
3480
3480
  name: "ipStart",
3481
3481
  placeholder: t("neetoMolecules.ipRestriction.ipStart")
3482
3482
  }), /*#__PURE__*/React__default["default"].createElement(formik.Input, {
3483
- className: "w-5/12 flex-grow px-3 py-2 text-left",
3483
+ className: "col-span-5 text-left",
3484
3484
  "data-cy": "ip-end-text-field",
3485
3485
  name: "ipEnd",
3486
3486
  placeholder: t("neetoMolecules.ipRestriction.ipEnd")
3487
3487
  }), /*#__PURE__*/React__default["default"].createElement("div", {
3488
- className: "w-5/12 flex-grow px-3 py-2 text-center"
3488
+ className: "col-span-2 flex items-start justify-center gap-1"
3489
3489
  }, /*#__PURE__*/React__default["default"].createElement(formik.Button, {
3490
3490
  "data-cy": "save-changes-button",
3491
3491
  disabled: isSubmitting,
@@ -3528,14 +3528,14 @@ var Row = function Row(_ref) {
3528
3528
  setIsDeleteIpRangeAlertOpen(false);
3529
3529
  };
3530
3530
  return /*#__PURE__*/React__default["default"].createElement("div", {
3531
- className: "neeto-ui-bg-white flex w-full flex-row justify-between px-1 py-2",
3531
+ className: "neeto-ui-bg-white neeto-ui-rounded-lg grid grid-cols-12 items-center gap-4 p-3",
3532
3532
  "data-cy": "ip-range-row"
3533
3533
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Tooltip, {
3534
3534
  content: data.ipStart,
3535
3535
  disabled: data.ipStart.length < TRUNCATE_LENGTH,
3536
3536
  position: "top"
3537
3537
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
3538
- className: "flex w-4/12 flex-grow items-center px-3 py-2 text-left",
3538
+ className: "col-span-5",
3539
3539
  "data-cy": "ip-range-start-value",
3540
3540
  style: "body2"
3541
3541
  }, pure.truncate(data.ipStart, TRUNCATE_LENGTH))), /*#__PURE__*/React__default["default"].createElement(neetoui.Tooltip, {
@@ -3543,11 +3543,11 @@ var Row = function Row(_ref) {
3543
3543
  disabled: data.ipEnd.length < TRUNCATE_LENGTH,
3544
3544
  position: "top"
3545
3545
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
3546
- className: "flex w-4/12 flex-grow items-center px-3 py-2 text-left",
3546
+ className: "col-span-5",
3547
3547
  "data-cy": "ip-range-end-value",
3548
3548
  style: "body2"
3549
3549
  }, pure.truncate(data.ipEnd, TRUNCATE_LENGTH))), /*#__PURE__*/React__default["default"].createElement("div", {
3550
- className: "w-4/12 flex-grow px-3 py-2 text-center"
3550
+ className: "col-span-2 flex justify-center"
3551
3551
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Dropdown, {
3552
3552
  buttonStyle: "text",
3553
3553
  icon: neetoIcons.MenuHorizontal,
@@ -3597,43 +3597,27 @@ var AllowedIpRanges = function AllowedIpRanges() {
3597
3597
  var _useFetchAllowedIpRan = useFetchAllowedIpRanges(),
3598
3598
  allowedIpRanges = _useFetchAllowedIpRan.data;
3599
3599
  return /*#__PURE__*/React__default["default"].createElement("div", {
3600
- className: "space-y-4",
3600
+ className: "space-y-6",
3601
3601
  "data-cy": "allowed-ip-range-container"
3602
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3603
- className: "flex flex-row items-center"
3604
3602
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
3605
3603
  "data-cy": "allowed-ip-range-heading",
3606
- style: "h3"
3607
- }, t("neetoMolecules.ipRestriction.allowedIpRangeTitle")), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
3608
- className: "ml-2",
3609
- "data-cy": "add-allowed-ip-range-button",
3610
- disabled: showAddNew,
3611
- icon: neetoIcons.Plus,
3612
- size: "small",
3613
- tooltipProps: {
3614
- content: "Add",
3615
- position: "top"
3616
- },
3617
- onClick: function onClick() {
3618
- return setShowAddNew(true);
3619
- }
3620
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3621
- className: "neeto-ui-text-gray-500 flex w-full flex-row justify-between"
3604
+ style: "h4"
3605
+ }, t("neetoMolecules.ipRestriction.allowedIpRangeTitle")), /*#__PURE__*/React__default["default"].createElement("div", {
3606
+ className: "space-y-4"
3607
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3608
+ className: "grid grid-cols-12 gap-4 px-3"
3622
3609
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
3623
- className: "w-4/12 flex-grow px-3 py-2 text-left"
3610
+ className: "neeto-ui-text-gray-700 col-span-5 uppercase",
3611
+ style: "h6"
3624
3612
  }, t("neetoMolecules.ipRestriction.ipStart")), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
3625
- className: "w-4/12 flex-grow px-3 py-2 text-left"
3613
+ className: "neeto-ui-text-gray-700 col-span-5 uppercase",
3614
+ style: "h6"
3626
3615
  }, t("neetoMolecules.ipRestriction.ipEnd")), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
3627
- className: "w-4/12 flex-grow px-3 py-2 text-center"
3616
+ className: "neeto-ui-text-gray-700 col-span-2 text-center uppercase",
3617
+ style: "h6"
3628
3618
  }, t("neetoMolecules.ipRestriction.actions"))), /*#__PURE__*/React__default["default"].createElement("div", {
3629
- className: "items-between flex w-full flex-col space-y-2"
3630
- }, showAddNew && /*#__PURE__*/React__default["default"].createElement(FormRow, {
3631
- isAddNew: true,
3632
- data: INITIAL_VALUES,
3633
- onCollapse: function onCollapse() {
3634
- return setShowAddNew(false);
3635
- }
3636
- }), allowedIpRanges === null || allowedIpRanges === void 0 ? void 0 : allowedIpRanges.map(function (allowedIpRange) {
3619
+ className: "w-full space-y-2"
3620
+ }, allowedIpRanges === null || allowedIpRanges === void 0 ? void 0 : allowedIpRanges.map(function (allowedIpRange) {
3637
3621
  return editingRow === allowedIpRange.id ? /*#__PURE__*/React__default["default"].createElement(FormRow, {
3638
3622
  data: allowedIpRange,
3639
3623
  isAddNew: false,
@@ -3646,6 +3630,20 @@ var AllowedIpRanges = function AllowedIpRanges() {
3646
3630
  key: allowedIpRange.id,
3647
3631
  setEditingRow: setEditingRow
3648
3632
  });
3633
+ }), showAddNew && /*#__PURE__*/React__default["default"].createElement(FormRow, {
3634
+ isAddNew: true,
3635
+ data: INITIAL_VALUES,
3636
+ onCollapse: function onCollapse() {
3637
+ return setShowAddNew(false);
3638
+ }
3639
+ })), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
3640
+ "data-cy": "add-allowed-ip-range-button",
3641
+ disabled: showAddNew,
3642
+ label: t("neetoMolecules.ipRestriction.addNew"),
3643
+ style: "link",
3644
+ onClick: function onClick() {
3645
+ return setShowAddNew(true);
3646
+ }
3649
3647
  })));
3650
3648
  };
3651
3649
  var AllowedIpRanges$1 = /*#__PURE__*/React__default["default"].memo(AllowedIpRanges);
@@ -3673,15 +3671,16 @@ var CurrentIp = function CurrentIp() {
3673
3671
  var _useTranslation = reactI18next.useTranslation(),
3674
3672
  t = _useTranslation.t;
3675
3673
  return /*#__PURE__*/React__default["default"].createElement("div", {
3676
- className: "space-y-1",
3674
+ className: "flex flex-wrap items-baseline gap-1",
3677
3675
  "data-cy": "current-ip-container"
3678
3676
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
3679
- "data-cy": "current-ip-heading"
3677
+ "data-cy": "current-ip-heading",
3678
+ style: "body2"
3680
3679
  }, t("neetoMolecules.ipRestriction.currentIpTitle")), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
3681
3680
  "data-cy": "current-ip-value",
3681
+ style: "h4",
3682
3682
  weight: "semibold"
3683
3683
  }, isLoading ? "..." : data.ip), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
3684
- className: "pt-2",
3685
3684
  "data-cy": "current-ip-description",
3686
3685
  style: "body2"
3687
3686
  }, t("neetoMolecules.ipRestriction.currentIpDescription")));
@@ -3764,24 +3763,26 @@ var IpRestriction = function IpRestriction() {
3764
3763
  }
3765
3764
  };
3766
3765
  return /*#__PURE__*/React__default["default"].createElement("div", {
3767
- className: "neeto-ui-bg-white neeto-ui-border-gray-200 neeto-ui-rounded-md mx-auto mb-4 w-full border sm:max-w-screen-sm md:max-w-screen-md lg:max-w-3xl",
3766
+ className: "neeto-ui-bg-white neeto-ui-border-gray-200 neeto-ui-rounded-lg mx-auto mb-4 w-full overflow-hidden border sm:max-w-screen-sm md:max-w-screen-md lg:max-w-3xl",
3768
3767
  "data-cy": "ip-restrictions-card"
3769
3768
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3770
- className: "space-y-2 p-4"
3769
+ className: "space-y-2 p-6"
3770
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3771
+ className: "flex items-center gap-2"
3771
3772
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Checkbox, {
3772
3773
  checked: isIpRestrictionVisible,
3774
+ className: "flex-grow-0",
3773
3775
  "data-cy": "enable-ip-restriction-checkbox",
3774
3776
  disabled: isFetching || isUpdating,
3775
- label: t("neetoMolecules.ipRestriction.switchLabel"),
3776
3777
  onChange: handleOnChange
3777
3778
  }), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
3779
+ style: "h3"
3780
+ }, t("neetoMolecules.ipRestriction.switchLabel"))), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
3778
3781
  "data-cy": "ip-restriction-description",
3779
3782
  style: "body2"
3780
3783
  }, t("neetoMolecules.ipRestriction.description"))), isIpRestrictionVisible && /*#__PURE__*/React__default["default"].createElement("div", {
3781
- className: "neeto-ui-bg-gray-100 w-full space-y-4 p-4"
3782
- }, /*#__PURE__*/React__default["default"].createElement(CurrentIp$1, null), /*#__PURE__*/React__default["default"].createElement(AllowedIpRanges$1, null), /*#__PURE__*/React__default["default"].createElement("div", {
3783
- className: "space-y-3"
3784
- }, /*#__PURE__*/React__default["default"].createElement(neetoui.Callout, {
3784
+ className: "neeto-ui-bg-gray-100 w-full space-y-6 p-6"
3785
+ }, /*#__PURE__*/React__default["default"].createElement(CurrentIp$1, null), /*#__PURE__*/React__default["default"].createElement(AllowedIpRanges$1, null), /*#__PURE__*/React__default["default"].createElement(neetoui.Callout, {
3785
3786
  icon: neetoIcons.Warning,
3786
3787
  style: "warning"
3787
3788
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3789,11 +3790,11 @@ var IpRestriction = function IpRestriction() {
3789
3790
  }, /*#__PURE__*/React__default["default"].createElement(reactI18next.Trans, {
3790
3791
  i18nKey: "neetoMolecules.ipRestriction.warningMessage"
3791
3792
  }))), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
3792
- label: t("neetoMolecules.common.actions.submit"),
3793
+ label: t("neetoMolecules.common.actions.saveChanges"),
3793
3794
  onClick: function onClick() {
3794
3795
  return setIsAlertOpen(true);
3795
3796
  }
3796
- })), /*#__PURE__*/React__default["default"].createElement(neetoui.Alert, {
3797
+ }), /*#__PURE__*/React__default["default"].createElement(neetoui.Alert, {
3797
3798
  isOpen: isAlertOpen,
3798
3799
  isSubmitting: isUpdating,
3799
3800
  title: t("neetoMolecules.ipRestriction.enableAlert.title"),