@bigbinary/neeto-integrations-frontend 3.2.0 → 4.0.0

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 (82) hide show
  1. package/README.md +40 -25
  2. package/app/javascript/src/translations/en.json +5 -6
  3. package/dist/Connect.js +16 -15
  4. package/dist/Connect.js.map +1 -1
  5. package/dist/Daily.js +18 -9
  6. package/dist/Daily.js.map +1 -1
  7. package/dist/DailyForm.js +10 -7
  8. package/dist/DailyForm.js.map +1 -1
  9. package/dist/Demo.js +11 -18
  10. package/dist/Demo.js.map +1 -1
  11. package/dist/DisconnectAlert.js +38 -0
  12. package/dist/DisconnectAlert.js.map +1 -0
  13. package/dist/Finish.js +13 -12
  14. package/dist/Finish.js.map +1 -1
  15. package/dist/{Form-be2e5595.js → Form-CPYZSV18.js} +57 -74
  16. package/dist/Form-CPYZSV18.js.map +1 -0
  17. package/dist/{Form-5be03668.js → Form-DY3ljixO.js} +44 -46
  18. package/dist/Form-DY3ljixO.js.map +1 -0
  19. package/dist/GoogleCalendar.js +5 -19
  20. package/dist/GoogleCalendar.js.map +1 -1
  21. package/dist/Manage.js +67 -62
  22. package/dist/Manage.js.map +1 -1
  23. package/dist/Modal.js +4 -4
  24. package/dist/Modal.js.map +1 -1
  25. package/dist/Twilio.js +20 -21
  26. package/dist/Twilio.js.map +1 -1
  27. package/dist/WalkthroughModal.js +51 -0
  28. package/dist/WalkthroughModal.js.map +1 -0
  29. package/dist/ZapierForm.js +72 -56
  30. package/dist/ZapierForm.js.map +1 -1
  31. package/dist/Zoom.js +14 -6
  32. package/dist/Zoom.js.map +1 -1
  33. package/dist/cjs/Connect.js +20 -24
  34. package/dist/cjs/Connect.js.map +1 -1
  35. package/dist/cjs/Daily.js +22 -20
  36. package/dist/cjs/Daily.js.map +1 -1
  37. package/dist/cjs/DailyForm.js +10 -7
  38. package/dist/cjs/DailyForm.js.map +1 -1
  39. package/dist/cjs/Demo.js +11 -23
  40. package/dist/cjs/Demo.js.map +1 -1
  41. package/dist/cjs/DisconnectAlert.js +40 -0
  42. package/dist/cjs/DisconnectAlert.js.map +1 -0
  43. package/dist/cjs/Finish.js +19 -23
  44. package/dist/cjs/Finish.js.map +1 -1
  45. package/dist/cjs/GoogleCalendar.js +12 -34
  46. package/dist/cjs/GoogleCalendar.js.map +1 -1
  47. package/dist/cjs/Manage.js +71 -75
  48. package/dist/cjs/Manage.js.map +1 -1
  49. package/dist/cjs/Modal.js +9 -15
  50. package/dist/cjs/Modal.js.map +1 -1
  51. package/dist/cjs/Twilio.js +37 -47
  52. package/dist/cjs/Twilio.js.map +1 -1
  53. package/dist/cjs/WalkthroughModal.js +53 -0
  54. package/dist/cjs/WalkthroughModal.js.map +1 -0
  55. package/dist/cjs/ZapierForm.js +87 -84
  56. package/dist/cjs/ZapierForm.js.map +1 -1
  57. package/dist/cjs/Zoom.js +18 -16
  58. package/dist/cjs/Zoom.js.map +1 -1
  59. package/dist/cjs/index.js +15 -11
  60. package/dist/cjs/index.js.map +1 -1
  61. package/dist/{index-4bda54e6.js → index-MS1ts-9f.js} +1 -1
  62. package/dist/{index-4bda54e6.js.map → index-MS1ts-9f.js.map} +1 -1
  63. package/dist/{index-2f3a953b.js → index-dxk7jTL7.js} +1 -1
  64. package/dist/{index-2f3a953b.js.map → index-dxk7jTL7.js.map} +1 -1
  65. package/dist/index.js +13 -9
  66. package/dist/index.js.map +1 -1
  67. package/dist/{query-62fcdf0a.js → query-D2CcgTB0.js} +2 -2
  68. package/dist/{query-62fcdf0a.js.map → query-D2CcgTB0.js.map} +1 -1
  69. package/dist/{query-4f9552ab.js → query-MCAJv0II.js} +1 -1
  70. package/dist/{query-4f9552ab.js.map → query-MCAJv0II.js.map} +1 -1
  71. package/package.json +119 -94
  72. package/types.d.ts +17 -0
  73. package/dist/Form-5be03668.js.map +0 -1
  74. package/dist/Form-be2e5595.js.map +0 -1
  75. package/dist/defineProperty-e90a259c.js +0 -43
  76. package/dist/defineProperty-e90a259c.js.map +0 -1
  77. package/dist/defineProperty-f3094d6c.js +0 -45
  78. package/dist/defineProperty-f3094d6c.js.map +0 -1
  79. package/dist/slicedToArray-b4278ecd.js +0 -57
  80. package/dist/slicedToArray-b4278ecd.js.map +0 -1
  81. package/dist/slicedToArray-f320d9e7.js +0 -61
  82. package/dist/slicedToArray-f320d9e7.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index-4bda54e6.js","sources":["../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"],"names":["ReactPropTypesSecret","ReactPropTypesSecret_1","require$$0","emptyFunction","emptyFunctionWithReset","resetWarningCache","factoryWithThrowingShims","shim","props","propName","componentName","location","propFullName","secret","err","Error","name","isRequired","getShim","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","propTypesModule","exports"],"mappings":";;;;;;;;;;;;AASA,IAAIA,sBAAoB,GAAG,8CAA8C,CAAA;AAEzE,IAAAC,sBAAc,GAAGD,sBAAoB;;;;;;;;ACFrC,IAAIA,oBAAoB,GAAGE,sBAAqC,CAAA;AAEhE,SAASC,aAAaA,GAAG,EAAE;AAC3B,SAASC,sBAAsBA,GAAG,EAAE;AACpCA,sBAAsB,CAACC,iBAAiB,GAAGF,aAAa,CAAA;AAExD,IAAAG,wBAAc,GAAG,SAAjBA,wBAAcA,GAAc;AAC1B,EAAA,SAASC,IAAIA,CAACC,KAAK,EAAEC,QAAQ,EAAEC,aAAa,EAAEC,QAAQ,EAAEC,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OAAOA,cAAc,CAAA;AACvB,CAAC;;;;;;;;AClDM;AACP;AACA;AACEsB,EAAAA,SAAc,CAAAC,OAAA,GAAGxC,wBAAqC,EAAE,CAAA;AAC1D,CAAA;;;;;;"}
1
+ {"version":3,"file":"index-MS1ts-9f.js","sources":["../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"],"names":["ReactPropTypesSecret","ReactPropTypesSecret_1","require$$0","emptyFunction","emptyFunctionWithReset","resetWarningCache","factoryWithThrowingShims","shim","props","propName","componentName","location","propFullName","secret","err","Error","name","isRequired","getShim","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","propTypesModule","exports"],"mappings":";;;;;;;;;;;;AASA,IAAIA,sBAAoB,GAAG,8CAA8C;AAEzE,IAAAC,sBAAc,GAAGD,sBAAoB;;;;;;;;ACFrC,IAAIA,oBAAoB,GAAGE,sBAAqC;AAEhE,SAASC,aAAaA,GAAG;AACzB,SAASC,sBAAsBA,GAAG;AAClCA,sBAAsB,CAACC,iBAAiB,GAAGF,aAAa;AAExD,IAAAG,wBAAc,GAAG,SAAjBA,wBAAcA,GAAc;AAC1B,EAAA,SAASC,IAAIA,CAACC,KAAK,EAAEC,QAAQ,EAAEC,aAAa,EAAEC,QAAQ,EAAEC,YAAY,EAAEC,MAAM,EAAE;IAC5E,IAAIA,MAAM,KAAKb,oBAAoB,EAAE;AACzC;AACM,MAAA;AACD;IACD,IAAIc,GAAG,GAAG,IAAIC,KAAK,CACjB,s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*/getDefaultExportFromCjs(propTypesExports);
84
84
 
85
85
  exports.PropTypes = PropTypes;
86
- //# sourceMappingURL=index-2f3a953b.js.map
86
+ //# sourceMappingURL=index-dxk7jTL7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-2f3a953b.js","sources":["../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"],"names":["ReactPropTypesSecret","ReactPropTypesSecret_1","require$$0","emptyFunction","emptyFunctionWithReset","resetWarningCache","factoryWithThrowingShims","shim","props","propName","componentName","location","propFullName","secret","err","Error","name","isRequired","getShim","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","propTypesModule","exports"],"mappings":";;;;;;;;;;;;;;AASA,IAAIA,sBAAoB,GAAG,8CAA8C,CAAA;AAEzE,IAAAC,sBAAc,GAAGD,sBAAoB;;;;;;;;ACFrC,IAAIA,oBAAoB,GAAGE,sBAAqC,CAAA;AAEhE,SAASC,aAAaA,GAAG,EAAE;AAC3B,SAASC,sBAAsBA,GAAG,EAAE;AACpCA,sBAAsB,CAACC,iBAAiB,GAAGF,aAAa,CAAA;AAExD,IAAAG,wBAAc,GAAG,SAAjBA,wBAAcA,GAAc;AAC1B,EAAA,SAASC,IAAIA,CAACC,KAAK,EAAEC,QAAQ,EAAEC,aAAa,EAAEC,QAAQ,EAAEC,YAAY,EAAEC,MAAM,EAAE;IAC5E,IAAIA,MAAM,KAAKb,oBAAoB,EAAE;AACzC;AACM,MAAA,OAAA;AACD,KAAA;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AqC,EAAE,CAAA;AAC1D,CAAA;;;;;;"}
1
+ {"version":3,"file":"index-dxk7jTL7.js","sources":["../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"],"names":["ReactPropTypesSecret","ReactPropTypesSecret_1","require$$0","emptyFunction","emptyFunctionWithReset","resetWarningCache","factoryWithThrowingShims","shim","props","propName","componentName","location","propFullName","secret","err","Error","name","isRequired","getShim","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","propTypesModule","exports"],"mappings":";;;;;;;;;;;;;;AASA,IAAIA,sBAAoB,GAAG,8CAA8C;AAEzE,IAAAC,sBAAc,GAAGD,sBAAoB;;;;;;;;ACFrC,IAAIA,oBAAoB,GAAGE,sBAAqC;AAEhE,SAASC,aAAaA,GAAG;AACzB,SAASC,sBAAsBA,GAAG;AAClCA,sBAAsB,CAACC,iBAAiB,GAAGF,aAAa;AAExD,IAAAG,wBAAc,GAAG,SAAjBA,wBAAcA,GAAc;AAC1B,EAAA,SAASC,IAAIA,CAACC,KAAK,EAAEC,QAAQ,EAAEC,aAAa,EAAEC,QAAQ,EAAEC,YAAY,EAAEC,MAAM,EAAE;IAC5E,IAAIA,MAAM,KAAKb,oBAAoB,EAAE;AACzC;AACM,MAAA;AACD;IACD,IAAIc,GAAG,GAAG,IAAIC,KAAK,CACjB,sFAAsF,GACtF,+CAA+C,GAC/C,gDACN,CAAK;IACDD,GAAG,CAACE,IAAI,GAAG,qBAAqB;AAChC,IAAA,MAAMF,GAAG;AACb;EACEP,IAAI,CAACU,UAAU,GAAGV,IAAI;EACtB,SAASW,OAAOA,GAAG;AACjB,IAAA,OAAOX,IAAI;AACf;AACA;AACA;AACE,EAAA,IAAIY,cAAc,GAAG;AACnBC,IAAAA,KAAK,EAAEb,IAAI;AACXc,IAAAA,MAAM,EAAEd,IAAI;AACZe,IAAAA,IAAI,EAAEf,IAAI;AACVgB,IAAAA,IAAI,EAAEhB,IAAI;AACViB,IAAAA,MAAM,EAAEjB,IAAI;AACZkB,IAAAA,MAAM,EAAElB,IAAI;AACZmB,IAAAA,MAAM,EAAEnB,IAAI;AACZoB,IAAAA,MAAM,EAAEpB,IAAI;AAEZqB,IAAAA,GAAG,EAAErB,IAAI;AACTsB,IAAAA,OAAO,EAAEX,OAAO;AAChBY,IAAAA,OAAO,EAAEvB,IAAI;AACbwB,IAAAA,WAAW,EAAExB,IAAI;AACjByB,IAAAA,UAAU,EAAEd,OAAO;AACnBe,IAAAA,IAAI,EAAE1B,IAAI;AACV2B,IAAAA,QAAQ,EAAEhB,OAAO;AACjBiB,IAAAA,KAAK,EAAEjB,OAAO;AACdkB,IAAAA,SAAS,EAAElB,OAAO;AAClBmB,IAAAA,KAAK,EAAEnB,OAAO;AACdoB,IAAAA,KAAK,EAAEpB,OAAO;AAEdqB,IAAAA,cAAc,EAAEnC,sBAAsB;AACtCC,IAAAA,iBAAiB,EAAEF;GACpB;EAEDgB,cAAc,CAACqB,SAAS,GAAGrB,cAAc;AAEzC,EAAA,OAAOA,cAAc;AACvB,CAAC;;;;;;;;AClDM;AACP;AACA;AACEsB,EAAAA,SAAc,CAAAC,OAAA,GAAGxC,wBAAqC,EAAE;AAC1D;;;;;;","x_google_ignoreList":[0,1,2]}
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export { default as Manage } from './Manage.js';
2
+ export { default as DisconnectAlert } from './DisconnectAlert.js';
2
3
  export { default as Daily } from './Daily.js';
3
- export { F as DailyForm } from './Form-5be03668.js';
4
+ export { F as DailyForm } from './Form-DY3ljixO.js';
4
5
  export { default as GoogleCalendar } from './GoogleCalendar.js';
5
6
  export { default as Twilio } from './Twilio.js';
6
7
  export { default as Zoom } from './Zoom.js';
@@ -8,28 +9,30 @@ export { default as Modal } from './Modal.js';
8
9
  export { default as Connect } from './Connect.js';
9
10
  export { default as Demo } from './Demo.js';
10
11
  export { default as Finish } from './Finish.js';
11
- import './defineProperty-e90a259c.js';
12
+ export { default as WalkthroughModal } from './WalkthroughModal.js';
13
+ import '@babel/runtime/helpers/defineProperty';
12
14
  import 'classnames';
13
15
  import '@bigbinary/neeto-cist';
14
16
  import '@bigbinary/neeto-commons-frontend/react-utils';
15
17
  import '@bigbinary/neeto-icons/Check';
16
- import '@bigbinary/neeto-molecules/IntegrationDisconnectAlert';
17
18
  import '@bigbinary/neetoui/Button';
18
19
  import '@bigbinary/neetoui/Tooltip';
19
20
  import '@bigbinary/neetoui/Typography';
20
21
  import 'react-i18next';
21
22
  import 'react/jsx-runtime';
23
+ import '@babel/runtime/helpers/objectWithoutProperties';
24
+ import '@bigbinary/neeto-commons-frontend/react-utils/withT';
25
+ import '@bigbinary/neetoui/Alert';
22
26
  import 'i18next';
23
- import './slicedToArray-b4278ecd.js';
27
+ import '@babel/runtime/helpers/slicedToArray';
24
28
  import 'react';
25
29
  import '@bigbinary/neeto-commons-frontend/utils';
26
30
  import '@bigbinary/neeto-icons/misc/Daily';
27
31
  import '@bigbinary/neeto-molecules/CopyToClipboardButton';
28
- import '@bigbinary/neeto-molecules/PageLoader';
32
+ import '@bigbinary/neetoui/Spinner';
33
+ import '@bigbinary/neeto-molecules/CardLayout';
29
34
  import '@bigbinary/neeto-molecules/Container';
30
35
  import '@bigbinary/neeto-molecules/Header';
31
- import '@bigbinary/neeto-molecules/HelpPopover';
32
- import '@bigbinary/neeto-molecules/IntegrationWalkthroughModal';
33
36
  import '@bigbinary/neetoui/formik/Input';
34
37
  import '@bigbinary/neetoui/formik/Form';
35
38
  import '@bigbinary/neetoui/formik/ActionBlock';
@@ -37,8 +40,9 @@ import 'react-router-dom';
37
40
  import '@tanstack/react-query';
38
41
  import '@bigbinary/neeto-commons-frontend/constants';
39
42
  import 'axios';
40
- import './query-62fcdf0a.js';
43
+ import './query-D2CcgTB0.js';
41
44
  import 'yup';
45
+ import '@babel/runtime/helpers/toConsumableArray';
42
46
  import '@bigbinary/neeto-icons/misc/GoogleCalendar';
43
47
  import '@bigbinary/neeto-icons/misc/Google';
44
48
  import '@bigbinary/neetoui/Callout';
@@ -46,5 +50,5 @@ import 'ramda';
46
50
  import '@bigbinary/neetoui/formik/Select';
47
51
  import '@bigbinary/neeto-icons/misc/Zoom';
48
52
  import '@bigbinary/neetoui/Modal';
49
- import './index-4bda54e6.js';
53
+ import './index-MS1ts-9f.js';
50
54
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -11,5 +11,5 @@ var QUERY_KEYS = {
11
11
  ZOOM_DETAILS: "zoom-details"
12
12
  };
13
13
 
14
- export { INTEGRATIONS_ENGINE_DAILY_URL as I, QUERY_KEYS as Q, TWILIO_CONFIGURATION_BASE_URL as T, INTEGRATION_DETAILS_URL as a, INTEGRATIONS_ENGINE_ZOOM_URL as b };
15
- //# sourceMappingURL=query-62fcdf0a.js.map
14
+ export { INTEGRATION_DETAILS_URL as I, QUERY_KEYS as Q, TWILIO_CONFIGURATION_BASE_URL as T, INTEGRATIONS_ENGINE_ZOOM_URL as a, INTEGRATIONS_ENGINE_DAILY_URL as b };
15
+ //# sourceMappingURL=query-D2CcgTB0.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-62fcdf0a.js","sources":["../app/javascript/src/constants/urls.js","../app/javascript/src/constants/query.js"],"sourcesContent":["export const INTEGRATIONS_ENGINE_BASE_URL = \"/neeto_integrations\";\nexport const TWILIO_CONFIGURATION_BASE_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/twilio/sms_configurations`;\nexport const INTEGRATIONS_ENGINE_DAILY_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/daily`;\nexport const INTEGRATIONS_ENGINE_ZOOM_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/zoom`;\nexport const INTEGRATION_DETAILS_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/status`;\n","export const QUERY_KEYS = {\n TWILIO_SMS_CONFIGURATION: \"twilio-sms-configuration\",\n TWILIO_PHONE_NUMBERS: \"twilio-phone-numbers\",\n DAILY_CO_DETAILS: \"daily-co-details\",\n ZOOM_DETAILS: \"zoom-details\",\n};\n"],"names":["INTEGRATIONS_ENGINE_BASE_URL","TWILIO_CONFIGURATION_BASE_URL","concat","INTEGRATIONS_ENGINE_DAILY_URL","INTEGRATIONS_ENGINE_ZOOM_URL","INTEGRATION_DETAILS_URL","QUERY_KEYS","TWILIO_SMS_CONFIGURATION","TWILIO_PHONE_NUMBERS","DAILY_CO_DETAILS","ZOOM_DETAILS"],"mappings":"AAAO,IAAMA,4BAA4B,GAAG,qBAAqB,CAAA;IACpDC,6BAA6B,GAAA,EAAA,CAAAC,MAAA,CAAMF,4BAA4B,EAA4B,4BAAA,EAAA;IAC3FG,6BAA6B,GAAA,EAAA,CAAAD,MAAA,CAAMF,4BAA4B,EAAQ,QAAA,EAAA;IACvEI,4BAA4B,GAAA,EAAA,CAAAF,MAAA,CAAMF,4BAA4B,EAAO,OAAA,EAAA;IACrEK,uBAAuB,GAAA,EAAA,CAAAH,MAAA,CAAMF,4BAA4B,EAAS,SAAA;;ACJxE,IAAMM,UAAU,GAAG;AACxBC,EAAAA,wBAAwB,EAAE,0BAA0B;AACpDC,EAAAA,oBAAoB,EAAE,sBAAsB;AAC5CC,EAAAA,gBAAgB,EAAE,kBAAkB;AACpCC,EAAAA,YAAY,EAAE,cAAA;AAChB;;;;"}
1
+ {"version":3,"file":"query-D2CcgTB0.js","sources":["../app/javascript/src/constants/urls.js","../app/javascript/src/constants/query.js"],"sourcesContent":["export const INTEGRATIONS_ENGINE_BASE_URL = \"/neeto_integrations\";\nexport const TWILIO_CONFIGURATION_BASE_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/twilio/sms_configurations`;\nexport const INTEGRATIONS_ENGINE_DAILY_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/daily`;\nexport const INTEGRATIONS_ENGINE_ZOOM_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/zoom`;\nexport const INTEGRATION_DETAILS_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/status`;\n","export const QUERY_KEYS = {\n TWILIO_SMS_CONFIGURATION: \"twilio-sms-configuration\",\n TWILIO_PHONE_NUMBERS: \"twilio-phone-numbers\",\n DAILY_CO_DETAILS: \"daily-co-details\",\n ZOOM_DETAILS: \"zoom-details\",\n};\n"],"names":["INTEGRATIONS_ENGINE_BASE_URL","TWILIO_CONFIGURATION_BASE_URL","concat","INTEGRATIONS_ENGINE_DAILY_URL","INTEGRATIONS_ENGINE_ZOOM_URL","INTEGRATION_DETAILS_URL","QUERY_KEYS","TWILIO_SMS_CONFIGURATION","TWILIO_PHONE_NUMBERS","DAILY_CO_DETAILS","ZOOM_DETAILS"],"mappings":"AAAO,IAAMA,4BAA4B,GAAG,qBAAqB;IACpDC,6BAA6B,GAAA,EAAA,CAAAC,MAAA,CAAMF,4BAA4B,EAA4B,4BAAA;IAC3FG,6BAA6B,GAAA,EAAA,CAAAD,MAAA,CAAMF,4BAA4B,EAAQ,QAAA;IACvEI,4BAA4B,GAAA,EAAA,CAAAF,MAAA,CAAMF,4BAA4B,EAAO,OAAA;IACrEK,uBAAuB,GAAA,EAAA,CAAAH,MAAA,CAAMF,4BAA4B,EAAS,SAAA;;ACJxE,IAAMM,UAAU,GAAG;AACxBC,EAAAA,wBAAwB,EAAE,0BAA0B;AACpDC,EAAAA,oBAAoB,EAAE,sBAAsB;AAC5CC,EAAAA,gBAAgB,EAAE,kBAAkB;AACpCC,EAAAA,YAAY,EAAE;AAChB;;;;"}
@@ -18,4 +18,4 @@ exports.INTEGRATIONS_ENGINE_ZOOM_URL = INTEGRATIONS_ENGINE_ZOOM_URL;
18
18
  exports.INTEGRATION_DETAILS_URL = INTEGRATION_DETAILS_URL;
19
19
  exports.QUERY_KEYS = QUERY_KEYS;
20
20
  exports.TWILIO_CONFIGURATION_BASE_URL = TWILIO_CONFIGURATION_BASE_URL;
21
- //# sourceMappingURL=query-4f9552ab.js.map
21
+ //# sourceMappingURL=query-MCAJv0II.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-4f9552ab.js","sources":["../app/javascript/src/constants/urls.js","../app/javascript/src/constants/query.js"],"sourcesContent":["export const INTEGRATIONS_ENGINE_BASE_URL = \"/neeto_integrations\";\nexport const TWILIO_CONFIGURATION_BASE_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/twilio/sms_configurations`;\nexport const INTEGRATIONS_ENGINE_DAILY_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/daily`;\nexport const INTEGRATIONS_ENGINE_ZOOM_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/zoom`;\nexport const INTEGRATION_DETAILS_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/status`;\n","export const QUERY_KEYS = {\n TWILIO_SMS_CONFIGURATION: \"twilio-sms-configuration\",\n TWILIO_PHONE_NUMBERS: \"twilio-phone-numbers\",\n DAILY_CO_DETAILS: \"daily-co-details\",\n ZOOM_DETAILS: \"zoom-details\",\n};\n"],"names":["INTEGRATIONS_ENGINE_BASE_URL","TWILIO_CONFIGURATION_BASE_URL","concat","INTEGRATIONS_ENGINE_DAILY_URL","INTEGRATIONS_ENGINE_ZOOM_URL","INTEGRATION_DETAILS_URL","QUERY_KEYS","TWILIO_SMS_CONFIGURATION","TWILIO_PHONE_NUMBERS","DAILY_CO_DETAILS","ZOOM_DETAILS"],"mappings":";;AAAO,IAAMA,4BAA4B,GAAG,qBAAqB,CAAA;IACpDC,6BAA6B,GAAA,EAAA,CAAAC,MAAA,CAAMF,4BAA4B,EAA4B,4BAAA,EAAA;IAC3FG,6BAA6B,GAAA,EAAA,CAAAD,MAAA,CAAMF,4BAA4B,EAAQ,QAAA,EAAA;IACvEI,4BAA4B,GAAA,EAAA,CAAAF,MAAA,CAAMF,4BAA4B,EAAO,OAAA,EAAA;IACrEK,uBAAuB,GAAA,EAAA,CAAAH,MAAA,CAAMF,4BAA4B,EAAS,SAAA;;ACJxE,IAAMM,UAAU,GAAG;AACxBC,EAAAA,wBAAwB,EAAE,0BAA0B;AACpDC,EAAAA,oBAAoB,EAAE,sBAAsB;AAC5CC,EAAAA,gBAAgB,EAAE,kBAAkB;AACpCC,EAAAA,YAAY,EAAE,cAAA;AAChB;;;;;;;;"}
1
+ {"version":3,"file":"query-MCAJv0II.js","sources":["../app/javascript/src/constants/urls.js","../app/javascript/src/constants/query.js"],"sourcesContent":["export const INTEGRATIONS_ENGINE_BASE_URL = \"/neeto_integrations\";\nexport const TWILIO_CONFIGURATION_BASE_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/twilio/sms_configurations`;\nexport const INTEGRATIONS_ENGINE_DAILY_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/daily`;\nexport const INTEGRATIONS_ENGINE_ZOOM_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/zoom`;\nexport const INTEGRATION_DETAILS_URL = `${INTEGRATIONS_ENGINE_BASE_URL}/status`;\n","export const QUERY_KEYS = {\n TWILIO_SMS_CONFIGURATION: \"twilio-sms-configuration\",\n TWILIO_PHONE_NUMBERS: \"twilio-phone-numbers\",\n DAILY_CO_DETAILS: \"daily-co-details\",\n ZOOM_DETAILS: \"zoom-details\",\n};\n"],"names":["INTEGRATIONS_ENGINE_BASE_URL","TWILIO_CONFIGURATION_BASE_URL","concat","INTEGRATIONS_ENGINE_DAILY_URL","INTEGRATIONS_ENGINE_ZOOM_URL","INTEGRATION_DETAILS_URL","QUERY_KEYS","TWILIO_SMS_CONFIGURATION","TWILIO_PHONE_NUMBERS","DAILY_CO_DETAILS","ZOOM_DETAILS"],"mappings":";;AAAO,IAAMA,4BAA4B,GAAG,qBAAqB;IACpDC,6BAA6B,GAAA,EAAA,CAAAC,MAAA,CAAMF,4BAA4B,EAA4B,4BAAA;IAC3FG,6BAA6B,GAAA,EAAA,CAAAD,MAAA,CAAMF,4BAA4B,EAAQ,QAAA;IACvEI,4BAA4B,GAAA,EAAA,CAAAF,MAAA,CAAMF,4BAA4B,EAAO,OAAA;IACrEK,uBAAuB,GAAA,EAAA,CAAAH,MAAA,CAAMF,4BAA4B,EAAS,SAAA;;ACJxE,IAAMM,UAAU,GAAG;AACxBC,EAAAA,wBAAwB,EAAE,0BAA0B;AACpDC,EAAAA,oBAAoB,EAAE,sBAAsB;AAC5CC,EAAAA,gBAAgB,EAAE,kBAAkB;AACpCC,EAAAA,YAAY,EAAE;AAChB;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-integrations-frontend",
3
- "version": "3.2.0",
3
+ "version": "4.0.0",
4
4
  "description": "UI for integrations in neeto products",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://github.com/bigbinary/neeto-integrations-nano",
@@ -28,7 +28,7 @@
28
28
  }
29
29
  },
30
30
  "scripts": {
31
- "build": "NODE_ENV=production rollup -c --environment production",
31
+ "build": "NODE_ENV=production rollup --bundleConfigAsCjs -c --environment production",
32
32
  "build-preview": "NODE_ENV=production webpack",
33
33
  "prepare": "husky install",
34
34
  "release": "yarn build && yalc push --sig"
@@ -50,158 +50,183 @@
50
50
  ]
51
51
  },
52
52
  "devDependencies": {
53
- "@babel/core": "7.23.2",
54
- "@babel/eslint-parser": "7.22.15",
55
- "@babel/plugin-transform-runtime": "7.23.2",
56
- "@babel/preset-env": "7.23.2",
57
- "@babel/preset-react": "7.22.15",
58
- "@babel/preset-typescript": "7.23.2",
59
- "@babel/runtime": "7.23.2",
60
- "@bigbinary/babel-preset-neeto": "1.0.6",
61
- "@bigbinary/eslint-plugin-neeto": "1.5.2",
62
- "@bigbinary/neeto-audit-frontend": "2.0.12",
63
- "@bigbinary/neeto-cist": "1.0.11",
64
- "@bigbinary/neeto-commons-frontend": "4.3.7",
65
- "@bigbinary/neeto-filters-frontend": "4.2.0",
66
- "@bigbinary/neeto-icons": "1.20.0",
67
- "@bigbinary/neeto-molecules": "3.3.11",
68
- "@bigbinary/neetoui": "8.2.2",
53
+ "@babel/core": "7.26.0",
54
+ "@babel/eslint-parser": "7.25.9",
55
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
56
+ "@babel/plugin-transform-runtime": "7.25.9",
57
+ "@babel/preset-env": "7.26.0",
58
+ "@babel/preset-react": "7.25.9",
59
+ "@babel/preset-typescript": "7.26.0",
60
+ "@babel/runtime": "7.26.0",
61
+ "@bigbinary/babel-preset-neeto": "^1.0.3",
62
+ "@bigbinary/eslint-plugin-neeto": "1.5.7",
63
+ "@bigbinary/neeto-cist": "1.0.15",
64
+ "@bigbinary/neeto-commons-frontend": "4.13.22",
65
+ "@bigbinary/neeto-filters-frontend": "4.3.14",
66
+ "@bigbinary/neeto-icons": "1.20.26",
67
+ "@bigbinary/neeto-molecules": "3.15.26",
68
+ "@bigbinary/neetoui": "8.2.62",
69
69
  "@emotion/is-prop-valid": "1.2.0",
70
70
  "@faker-js/faker": "8.2.0",
71
- "@honeybadger-io/js": "6.5.3",
72
- "@honeybadger-io/react": "6.1.9",
73
- "@rollup/plugin-alias": "5.0.1",
71
+ "@honeybadger-io/js": "6.10.1",
72
+ "@honeybadger-io/react": "6.1.25",
73
+ "@rollup/plugin-alias": "5.1.1",
74
74
  "@rollup/plugin-babel": "6.0.4",
75
75
  "@rollup/plugin-commonjs": "25.0.7",
76
- "@rollup/plugin-json": "6.0.1",
77
- "@rollup/plugin-node-resolve": "15.2.3",
76
+ "@rollup/plugin-json": "6.1.0",
77
+ "@rollup/plugin-node-resolve": "15.3.0",
78
78
  "@rollup/plugin-replace": "5.0.4",
79
79
  "@svgr/rollup": "8.1.0",
80
- "@tanstack/react-query": "5.40.0",
81
- "@tanstack/react-query-devtools": "5.40.0",
82
- "antd": "5.10.2",
83
- "autoprefixer": "10.4.16",
84
- "axios": "1.6.0",
85
- "babel-loader": "9.1.3",
86
- "babel-plugin-istanbul": "6.1.1",
80
+ "@tailwindcss/container-queries": "^0.1.1",
81
+ "@tanstack/react-query": "5.59.20",
82
+ "@tanstack/react-query-devtools": "5.59.20",
83
+ "antd": "5.22.0",
84
+ "autoprefixer": "^10.4.5",
85
+ "axios": "1.7.7",
86
+ "babel-loader": "^8.2.5",
87
+ "babel-plugin-istanbul": "^6.1.1",
87
88
  "babel-plugin-js-logger": "1.0.17",
88
89
  "babel-plugin-macros": "3.1.0",
90
+ "babel-plugin-module-resolver": "^5.0.0",
89
91
  "babel-plugin-preval": "^5.1.0",
90
92
  "babel-plugin-transform-react-remove-prop-types": "0.4.24",
91
93
  "babel-preset-react": "6.24.1",
92
- "babel-preset-typescript": "7.0.0-alpha.19",
94
+ "babel-preset-typescript": "^7.0.0-alpha.19",
93
95
  "browserify-zlib": "0.2.0",
94
- "buffer": "6.0.3",
95
- "classnames": "2.3.2",
96
- "crypto-browserify": "3.12.0",
96
+ "buffer": "^6.0.3",
97
+ "classnames": "2.5.1",
98
+ "crypto-browserify": "3.12.1",
97
99
  "css-loader": "6.8.1",
98
- "dompurify": "3.0.2",
100
+ "dompurify": "^2.4.0",
99
101
  "dotenv-webpack": "^8.0.1",
100
- "eslint": "8.52.0",
102
+ "eslint": "8.14.0",
101
103
  "eslint-config-prettier": "8.5.0",
102
- "eslint-plugin-cypress": "2.15.1",
103
- "eslint-plugin-import": "2.29.0",
104
+ "eslint-plugin-cypress": "2.12.1",
105
+ "eslint-plugin-import": "2.31.0",
104
106
  "eslint-plugin-jam3": "0.2.3",
105
107
  "eslint-plugin-json": "3.1.0",
106
108
  "eslint-plugin-prettier": "4.0.0",
107
- "eslint-plugin-promise": "6.1.1",
108
- "eslint-plugin-react": "7.33.2",
109
- "eslint-plugin-react-hooks": "4.6.0",
109
+ "eslint-plugin-promise": "6.0.0",
110
+ "eslint-plugin-react": "7.37.2",
111
+ "eslint-plugin-react-hooks": "4.5.0",
110
112
  "eslint-plugin-security": "^1.7.1",
111
113
  "eslint-plugin-sonarjs": "^0.21.0",
112
- "eslint-plugin-unused-imports": "3.0.0",
114
+ "eslint-plugin-unused-imports": "2.0.0",
113
115
  "eslint-plugin-xss": "^0.1.12",
114
- "formik": "2.4.5",
116
+ "formik": "2.4.6",
115
117
  "html-webpack-plugin": "5.5.3",
116
118
  "https-browserify": "1.0.0",
117
- "husky": "8.0.3",
118
- "i18next": "23.6.0",
119
+ "husky": "7.0.4",
120
+ "i18next": "22.5.1",
119
121
  "i18next-browser-languagedetector": "7.0.1",
120
122
  "js-logger": "1.6.1",
121
- "lint-staged": "15.0.2",
123
+ "lint-staged": "12.4.1",
122
124
  "mini-css-extract-plugin": "2.7.6",
123
125
  "mixpanel-browser": "2.47.0",
124
126
  "os-browserify": "0.3.0",
125
- "path-browserify": "1.0.1",
126
- "postcss": "8.4.31",
127
- "postcss-import": "15.1.0",
128
- "postcss-loader": "7.3.3",
129
- "postcss-preset-env": "9.2.0",
127
+ "path-browserify": "^1.0.1",
128
+ "postcss": "8.4.49",
129
+ "postcss-import": "^15.0.0",
130
+ "postcss-loader": "^7.0.1",
131
+ "postcss-preset-env": "7.8.2",
130
132
  "prettier": "2.6.2",
131
133
  "prettier-plugin-tailwindcss": "0.1.10",
132
134
  "process": "0.11.10",
133
- "qs": "6.11.2",
134
- "ramda": "0.29.1",
135
+ "qs": "^6.11.2",
136
+ "ramda": "0.29.0",
135
137
  "react": "18.2.0",
136
138
  "react-dom": "18.2.0",
137
- "react-helmet": "6.1.0",
138
- "react-i18next": "13.3.1",
139
- "react-router-dom": "5.3.4",
140
- "react-toastify": "8.2.0",
139
+ "react-helmet": "^6.1.0",
140
+ "react-i18next": "12.3.1",
141
+ "react-query": "3.39.3",
142
+ "react-router-dom": "5.3.3",
143
+ "react-toastify": "8.0.2",
141
144
  "react-transition-group": "4.4.5",
142
145
  "react_ujs": "^3.1.1",
143
- "rollup": "2.79.1",
146
+ "rollup": "4.25.0",
144
147
  "rollup-plugin-analyzer": "4.0.0",
145
148
  "rollup-plugin-cleaner": "1.0.0",
146
- "rollup-plugin-copy": "^3.5.0",
149
+ "rollup-plugin-copy": "3.5.0",
147
150
  "rollup-plugin-peer-deps-external": "2.2.4",
148
151
  "rollup-plugin-styles": "4.0.0",
149
- "sass": "1.69.5",
150
- "sass-loader": "13.3.2",
152
+ "sass": "^1.54.9",
153
+ "sass-loader": "^13.0.2",
151
154
  "shakapacker": "6.6.0",
152
- "stream-browserify": "3.0.0",
155
+ "source-map-loader": "4.0.1",
156
+ "stream-browserify": "^3.0.0",
153
157
  "stream-http": "3.2.0",
154
- "style-loader": "3.3.3",
155
- "tailwindcss": "3.4.1",
158
+ "style-loader": "^3.3.1",
159
+ "tailwindcss": "3.4.14",
156
160
  "tty-browserify": "0.0.1",
157
- "url": "0.11.1",
158
- "util": "0.12.5",
161
+ "url": "^0.11.0",
162
+ "util": "^0.12.5",
159
163
  "vm-browserify": "1.1.2",
160
164
  "webpack": "5.88.1",
161
165
  "webpack-assets-manifest": "5.1.0",
162
166
  "webpack-cli": "5.1.4",
163
167
  "webpack-dev-server": "4.15.1",
164
- "yup": "1.3.2"
168
+ "yup": "0.32.11",
169
+ "zustand": "4.3.2"
165
170
  },
166
171
  "peerDependencies": {
167
- "@bigbinary/neeto-cist": "latest",
168
- "@bigbinary/neeto-commons-frontend": "4.3.7",
169
- "@bigbinary/neeto-filters-frontend": "4.2.0",
170
- "@bigbinary/neeto-icons": "1.20.0",
171
- "@bigbinary/neeto-molecules": "3.3.11",
172
- "@bigbinary/neetoui": "8.2.2",
173
- "@honeybadger-io/js": "^6.5.3",
174
- "@honeybadger-io/react": "^6.1.9",
175
- "@tanstack/react-query": "5.40.0",
176
- "@tanstack/react-query-devtools": "5.40.0",
177
- "axios": "^1.6.0",
178
- "classnames": "^2.3.2",
179
- "formik": "^2.4.5",
180
- "i18next": "^23.6.0",
181
- "js-logger": "^1.6.1",
172
+ "@babel/runtime": "7.26.0",
173
+ "@bigbinary/neeto-cist": "1.0.15",
174
+ "@bigbinary/neeto-commons-frontend": "4.13.22",
175
+ "@bigbinary/neeto-filters-frontend": "4.3.14",
176
+ "@bigbinary/neeto-icons": "1.20.26",
177
+ "@bigbinary/neeto-molecules": "3.15.26",
178
+ "@bigbinary/neetoui": "8.2.62",
179
+ "@honeybadger-io/js": "6.10.1",
180
+ "@honeybadger-io/react": "6.1.25",
181
+ "@tailwindcss/container-queries": "^0.1.1",
182
+ "@tanstack/react-query": "5.59.20",
183
+ "@tanstack/react-query-devtools": "5.59.20",
184
+ "antd": "5.22.0",
185
+ "axios": "1.7.7",
186
+ "buffer": "^6.0.3",
187
+ "classnames": "2.5.1",
188
+ "crypto-browserify": "3.12.1",
189
+ "dompurify": "^2.4.0",
190
+ "formik": "2.4.6",
191
+ "https-browserify": "1.0.0",
192
+ "i18next": "22.5.1",
193
+ "js-logger": "1.6.1",
182
194
  "mixpanel-browser": "^2.45.0",
183
- "ramda": "^0.29.1",
184
- "react": "^18.2.0",
185
- "react-dom": "^18.2.0",
195
+ "os-browserify": "0.3.0",
196
+ "path-browserify": "^1.0.1",
197
+ "qs": "^6.11.2",
198
+ "ramda": "0.29.0",
199
+ "react": "18.2.0",
200
+ "react-dom": "18.2.0",
186
201
  "react-helmet": "^6.1.0",
187
- "react-i18next": "^13.3.1",
188
- "react-router-dom": "^5.3.4",
189
- "react-toastify": "^8.2.0",
190
- "yup": "^0.32.11",
202
+ "react-i18next": "12.3.1",
203
+ "react-query": "^3.39.3",
204
+ "react-router-dom": "5.3.3",
205
+ "react-toastify": "8.0.2",
206
+ "source-map-loader": "4.0.1",
207
+ "stream-browserify": "^3.0.0",
208
+ "stream-http": "3.2.0",
209
+ "tailwindcss": "3.4.14",
210
+ "tty-browserify": "0.0.1",
211
+ "url": "^0.11.0",
212
+ "util": "^0.12.5",
213
+ "vm-browserify": "1.1.2",
214
+ "yup": "0.32.11",
191
215
  "zustand": "4.3.2"
192
216
  },
193
217
  "resolutions": {
194
- "postcss": "^8"
218
+ "postcss": "^8",
219
+ "wrap-ansi": "7.0.0",
220
+ "string-width": "4.1.0"
195
221
  },
196
222
  "engines": {
197
- "node": ">=18.12",
223
+ "node": ">=22.13",
198
224
  "npm": ">=9",
199
225
  "yarn": ">=1.22"
200
226
  },
201
227
  "dependencies": {
228
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
202
229
  "babel-plugin-transform-imports": "^2.0.0",
203
- "react-router-nav-prompt": "0.4.1",
204
- "source-map-loader": "^4.0.1",
205
- "zustand": "4.3.2"
230
+ "react-router-nav-prompt": "0.4.1"
206
231
  }
207
232
  }
package/types.d.ts CHANGED
@@ -116,6 +116,21 @@ interface GoogleCalenderProps {
116
116
  handleRedirect: (...args: any[]) => any;
117
117
  }
118
118
 
119
+ interface DisconnectAlertProps{
120
+ isOpen: boolean;
121
+ isDisconnecting: boolean;
122
+ title: string;
123
+ message?: string;
124
+ onClose: (...args: any[]) => any;
125
+ onDisconnect: (...args: any[]) => any;
126
+ };
127
+
128
+ interface WalkthroughModalProps {
129
+ videoUrl: string;
130
+ isOpen: boolean;
131
+ onClose: Function;
132
+ }
133
+
119
134
  export const Card: React.FC<CardProps>;
120
135
  export const Modal: React.FC<ModalProps>;
121
136
  export const Connect: React.FC<ConnectProps>;
@@ -127,3 +142,5 @@ export const Twilio: React.FC<TwilioProps>;
127
142
  export const Daily: React.FC<DailyProps>;
128
143
  export const Zoom: React.FC<ZoomProps>;
129
144
  export const GoogleCalender: React.FC<GoogleCalenderProps>;
145
+ export const DisconnectAlert: React.FC<DisconnectAlertProps>;
146
+ export const WalkthroughModal: React.FC<WalkthroughModalProps>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Form-5be03668.js","sources":["../app/javascript/src/apis/dailies.js","../app/javascript/src/hooks/reactQuery/useDailiesApi.js","../app/javascript/src/components/Integrations/Daily/constants.js","../app/javascript/src/components/Integrations/Daily/Form.jsx"],"sourcesContent":["import axios from \"axios\";\n\nimport { INTEGRATIONS_ENGINE_DAILY_URL } from \"src/constants/urls\";\n\nconst create = payload =>\n axios.post(INTEGRATIONS_ENGINE_DAILY_URL, { daily: payload });\n\nconst show = () => axios.get(INTEGRATIONS_ENGINE_DAILY_URL);\n\nconst destroy = () => axios.delete(INTEGRATIONS_ENGINE_DAILY_URL);\n\nconst dailiesApi = { create, show, destroy };\n\nexport default dailiesApi;\n","import { useQuery } from \"@tanstack/react-query\";\nimport { DEFAULT_STALE_TIME } from \"neetocommons/constants\";\nimport { useMutationWithInvalidation } from \"neetocommons/react-utils\";\n\nimport dailiesApi from \"apis/dailies\";\nimport { QUERY_KEYS } from \"src/constants/query\";\n\nexport const useCreateDaily = (options = {}) =>\n useMutationWithInvalidation(dailiesApi.create, {\n keysToInvalidate: [[QUERY_KEYS.DAILY_CO_DETAILS]],\n ...options,\n });\n\nexport const useFetchDaily = () =>\n useQuery({\n queryKey: [QUERY_KEYS.DAILY_CO_DETAILS],\n queryFn: dailiesApi.show,\n staleTime: DEFAULT_STALE_TIME,\n });\n\nexport const useDestroyDaily = ({ onSuccess }) =>\n useMutationWithInvalidation(dailiesApi.destroy, {\n keysToInvalidate: [[QUERY_KEYS.DAILY_CO_DETAILS]],\n onSuccess,\n });\n","import { t } from \"i18next\";\nimport * as yup from \"yup\";\n\nexport const MANAGE_DAILY_CO_FORM_INITIAL_VALUES = { apiKey: \"\" };\n\nexport const DAILY_CO_VALIDATION_SCHEMA = yup.object().shape({\n apiKey: yup\n .string()\n .trim()\n .required(\n t(\"neetoIntegrations.errors.required\", {\n entity: t(\"neetoIntegrations.daily.apiKey\"),\n })\n ),\n});\n","import { useState } from \"react\";\n\nimport i18next from \"i18next\";\nimport { withTitle } from \"neetocommons/react-utils\";\nimport Container from \"neetomolecules/Container\";\nimport Header from \"neetomolecules/Header\";\nimport HelpPopover from \"neetomolecules/HelpPopover\";\nimport WalkthroughModal from \"neetomolecules/IntegrationWalkthroughModal\";\nimport PageLoader from \"neetomolecules/PageLoader\";\nimport { Button, Typography } from \"neetoui\";\nimport { Input, Form as FormikForm, ActionBlock } from \"neetoui/formik\";\nimport { Trans, useTranslation } from \"react-i18next\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { useCreateDaily } from \"hooks/reactQuery/useDailiesApi\";\n\nimport {\n MANAGE_DAILY_CO_FORM_INITIAL_VALUES,\n DAILY_CO_VALIDATION_SCHEMA,\n} from \"./constants\";\n\nconst Form = ({ helpDocUrl, videoUrl, onConnect, breadcrumbs }) => {\n const { t } = useTranslation();\n const history = useHistory();\n\n const [isDemoModalOpen, setIsDemoModalOpen] = useState(false);\n\n const { mutate: createDaily, isPending: isConnecting } = useCreateDaily({\n onSuccess: () => onConnect?.(),\n });\n\n const handleSubmit = payload => createDaily(payload);\n\n if (isConnecting) {\n return <PageLoader />;\n }\n\n return (\n <Container isHeaderFixed>\n <Header\n {...{ breadcrumbs }}\n title={\n <span className=\"flex items-center gap-2\">\n {t(\"neetoIntegrations.daily.connect.title\")}\n <HelpPopover\n title={t(\"neetoIntegrations.daily.connect.title\")}\n description={\n <Typography lineHeight=\"normal\" style=\"body2\">\n <Trans\n i18nKey=\"neetoIntegrations.daily.helpDoc\"\n components={{\n videoLink: (\n <Button\n style=\"link\"\n onClick={() => setIsDemoModalOpen(true)}\n />\n ),\n }}\n />\n </Typography>\n }\n helpLinkProps={{\n href: helpDocUrl,\n \"data-cy\": \"api-key-help-doc-link\",\n }}\n />\n </span>\n }\n />\n <div className=\"mx-auto w-full max-w-md\">\n <FormikForm\n formikProps={{\n initialValues: MANAGE_DAILY_CO_FORM_INITIAL_VALUES,\n validationSchema: DAILY_CO_VALIDATION_SCHEMA,\n onSubmit: handleSubmit,\n }}\n >\n <div className=\"mt-14 w-full space-y-2\">\n <div className=\"block min-h-20\">\n <Input\n autoFocus\n required\n label={t(\"neetoIntegrations.daily.apiKey\")}\n name=\"apiKey\"\n />\n </div>\n <ActionBlock\n cancelButtonProps={{ onClick: () => history.goBack() }}\n isSubmitting={isConnecting}\n submitButtonProps={{\n label: t(\"neetoIntegrations.common.connect\"),\n }}\n />\n </div>\n </FormikForm>\n <WalkthroughModal\n {...{ videoUrl }}\n isOpen={isDemoModalOpen}\n onClose={() => setIsDemoModalOpen(false)}\n />\n </div>\n </Container>\n );\n};\nexport default withTitle(\n Form,\n i18next.t(\"neetoIntegrations.browserTitles.integrations.dailyco\")\n);\n"],"names":["create","payload","axios","post","INTEGRATIONS_ENGINE_DAILY_URL","daily","show","get","destroy","dailiesApi","useCreateDaily","options","arguments","length","undefined","useMutationWithInvalidation","_objectSpread","keysToInvalidate","QUERY_KEYS","DAILY_CO_DETAILS","useFetchDaily","useQuery","queryKey","queryFn","staleTime","DEFAULT_STALE_TIME","useDestroyDaily","_ref","onSuccess","MANAGE_DAILY_CO_FORM_INITIAL_VALUES","apiKey","DAILY_CO_VALIDATION_SCHEMA","yup","object","shape","string","trim","required","t","entity","Form","helpDocUrl","videoUrl","onConnect","breadcrumbs","_useTranslation","useTranslation","history","useHistory","_useState","useState","_useState2","_slicedToArray","isDemoModalOpen","setIsDemoModalOpen","_useCreateDaily","createDaily","mutate","isConnecting","isPending","handleSubmit","_jsx","PageLoader","_jsxs","Container","isHeaderFixed","children","Header","title","className","HelpPopover","description","Typography","lineHeight","style","Trans","i18nKey","components","videoLink","Button","onClick","helpLinkProps","href","FormikForm","formikProps","initialValues","validationSchema","onSubmit","Input","autoFocus","label","name","ActionBlock","cancelButtonProps","goBack","isSubmitting","submitButtonProps","WalkthroughModal","isOpen","onClose","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aAAG;AACvDC,YAAAA,YAAY,EAAErC,YAAa;AAC3BsC,YAAAA,iBAAiB,EAAE;cACjBN,KAAK,EAAEpD,CAAC,CAAC,kCAAkC,CAAA;AAC7C,aAAA;AAAE,WACH,CAAC,CAAA;SACC,CAAA;AAAC,OACI,CAAC,eACbuB,GAAA,CAACoC,gBAAgB,EAAA;AACTvD,QAAAA,QAAQ,EAARA,QAAQ;AACdwD,QAAAA,MAAM,EAAE7C,eAAgB;QACxB8C,OAAO,EAAE,SAAAA,OAAA,GAAA;UAAA,OAAM7C,kBAAkB,CAAC,KAAK,CAAC,CAAA;AAAA,SAAA;AAAC,OAC1C,CAAC,CAAA;AAAA,KACC,CAAC,CAAA;AAAA,GACG,CAAC,CAAA;AAEhB,CAAC,CAAA;AACD,aAAe8C,SAAS,CACtB5D,IAAI,EACJ6D,OAAO,CAAC/D,CAAC,CAAC,sDAAsD,CAClE,CAAC;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Form-be2e5595.js","sources":["../app/javascript/src/apis/dailies.js","../app/javascript/src/hooks/reactQuery/useDailiesApi.js","../app/javascript/src/components/Integrations/Daily/constants.js","../app/javascript/src/components/Integrations/Daily/Form.jsx"],"sourcesContent":["import axios from \"axios\";\n\nimport { INTEGRATIONS_ENGINE_DAILY_URL } from \"src/constants/urls\";\n\nconst create = payload =>\n axios.post(INTEGRATIONS_ENGINE_DAILY_URL, { daily: payload });\n\nconst show = () => axios.get(INTEGRATIONS_ENGINE_DAILY_URL);\n\nconst destroy = () => axios.delete(INTEGRATIONS_ENGINE_DAILY_URL);\n\nconst dailiesApi = { create, show, destroy };\n\nexport default dailiesApi;\n","import { useQuery } from \"@tanstack/react-query\";\nimport { DEFAULT_STALE_TIME } from \"neetocommons/constants\";\nimport { useMutationWithInvalidation } from \"neetocommons/react-utils\";\n\nimport dailiesApi from \"apis/dailies\";\nimport { QUERY_KEYS } from \"src/constants/query\";\n\nexport const useCreateDaily = (options = {}) =>\n useMutationWithInvalidation(dailiesApi.create, {\n keysToInvalidate: [[QUERY_KEYS.DAILY_CO_DETAILS]],\n ...options,\n });\n\nexport const useFetchDaily = () =>\n useQuery({\n queryKey: [QUERY_KEYS.DAILY_CO_DETAILS],\n queryFn: dailiesApi.show,\n staleTime: DEFAULT_STALE_TIME,\n });\n\nexport const useDestroyDaily = ({ onSuccess }) =>\n useMutationWithInvalidation(dailiesApi.destroy, {\n keysToInvalidate: [[QUERY_KEYS.DAILY_CO_DETAILS]],\n onSuccess,\n });\n","import { t } from \"i18next\";\nimport * as yup from \"yup\";\n\nexport const MANAGE_DAILY_CO_FORM_INITIAL_VALUES = { apiKey: \"\" };\n\nexport const DAILY_CO_VALIDATION_SCHEMA = yup.object().shape({\n apiKey: yup\n .string()\n .trim()\n .required(\n t(\"neetoIntegrations.errors.required\", {\n entity: t(\"neetoIntegrations.daily.apiKey\"),\n })\n ),\n});\n","import { useState } from \"react\";\n\nimport i18next from \"i18next\";\nimport { withTitle } from \"neetocommons/react-utils\";\nimport Container from \"neetomolecules/Container\";\nimport Header from \"neetomolecules/Header\";\nimport HelpPopover from \"neetomolecules/HelpPopover\";\nimport WalkthroughModal from \"neetomolecules/IntegrationWalkthroughModal\";\nimport PageLoader from \"neetomolecules/PageLoader\";\nimport { Button, Typography } from \"neetoui\";\nimport { Input, Form as FormikForm, ActionBlock } from \"neetoui/formik\";\nimport { Trans, useTranslation } from \"react-i18next\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { useCreateDaily } from \"hooks/reactQuery/useDailiesApi\";\n\nimport {\n MANAGE_DAILY_CO_FORM_INITIAL_VALUES,\n DAILY_CO_VALIDATION_SCHEMA,\n} from \"./constants\";\n\nconst Form = ({ helpDocUrl, videoUrl, onConnect, breadcrumbs }) => {\n const { t } = useTranslation();\n const history = useHistory();\n\n const [isDemoModalOpen, setIsDemoModalOpen] = useState(false);\n\n const { mutate: createDaily, isPending: isConnecting } = useCreateDaily({\n onSuccess: () => onConnect?.(),\n });\n\n const handleSubmit = payload => createDaily(payload);\n\n if (isConnecting) {\n return <PageLoader />;\n }\n\n return (\n <Container isHeaderFixed>\n <Header\n {...{ breadcrumbs }}\n title={\n <span className=\"flex items-center gap-2\">\n {t(\"neetoIntegrations.daily.connect.title\")}\n <HelpPopover\n title={t(\"neetoIntegrations.daily.connect.title\")}\n description={\n <Typography lineHeight=\"normal\" style=\"body2\">\n <Trans\n i18nKey=\"neetoIntegrations.daily.helpDoc\"\n components={{\n videoLink: (\n <Button\n style=\"link\"\n onClick={() => setIsDemoModalOpen(true)}\n />\n ),\n }}\n />\n </Typography>\n }\n helpLinkProps={{\n href: helpDocUrl,\n \"data-cy\": \"api-key-help-doc-link\",\n }}\n />\n </span>\n }\n />\n <div className=\"mx-auto w-full max-w-md\">\n <FormikForm\n formikProps={{\n initialValues: MANAGE_DAILY_CO_FORM_INITIAL_VALUES,\n validationSchema: DAILY_CO_VALIDATION_SCHEMA,\n onSubmit: handleSubmit,\n }}\n >\n <div className=\"mt-14 w-full space-y-2\">\n <div className=\"block min-h-20\">\n <Input\n autoFocus\n required\n label={t(\"neetoIntegrations.daily.apiKey\")}\n name=\"apiKey\"\n />\n </div>\n <ActionBlock\n cancelButtonProps={{ onClick: () => history.goBack() }}\n isSubmitting={isConnecting}\n submitButtonProps={{\n label: t(\"neetoIntegrations.common.connect\"),\n }}\n />\n </div>\n </FormikForm>\n <WalkthroughModal\n {...{ videoUrl }}\n isOpen={isDemoModalOpen}\n onClose={() => setIsDemoModalOpen(false)}\n />\n </div>\n </Container>\n );\n};\nexport default withTitle(\n Form,\n i18next.t(\"neetoIntegrations.browserTitles.integrations.dailyco\")\n);\n"],"names":["create","payload","axios","post","INTEGRATIONS_ENGINE_DAILY_URL","daily","show","get","destroy","dailiesApi","useCreateDaily","options","arguments","length","undefined","useMutationWithInvalidation","_objectSpread","keysToInvalidate","QUERY_KEYS","DAILY_CO_DETAILS","useFetchDaily","useQuery","queryKey","queryFn","staleTime","DEFAULT_STALE_TIME","useDestroyDaily","_ref","onSuccess","MANAGE_DAILY_CO_FORM_INITIAL_VALUES","apiKey","DAILY_CO_VALIDATION_SCHEMA","yup","object","shape","string","trim","required","t","entity","Form","helpDocUrl","videoUrl","onConnect","breadcrumbs","_useTranslation","useTranslation","history","useHistory","_useState","useState","_useState2","_slicedToArray","isDemoModalOpen","setIsDemoModalOpen","_useCreateDaily","createDaily","mutate","isConnecting","isPending","handleSubmit","_jsx","PageLoader","_jsxs","Container","isHeaderFixed","children","Header","title","className","HelpPopover","description","Typography","lineHeight","style","Trans","i18nKey","components","videoLink","Button","onClick","helpLinkProps","href","FormikForm","formikProps","initialValues","validationSchema","onSubmit","Input","autoFocus","label","name","ActionBlock","cancelButtonProps","goBack","isSubmitting","submitButtonProps","WalkthroughModal","isOpen","onClose","withTitle","i18next"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAMA,MAAM,GAAG,SAATA,MAAMA,CAAGC,OAAO,EAAA;AAAA,EAAA,OACpBC,yBAAK,CAACC,IAAI,CAACC,mCAA6B,EAAE;AAAEC,IAAAA,KAAK,EAAEJ,OAAAA;AAAQ,GAAC,CAAC,CAAA;AAAA,CAAA,CAAA;AAE/D,IAAMK,IAAI,GAAG,SAAPA,IAAIA,GAAA;AAAA,EAAA,OAASJ,yBAAK,CAACK,GAAG,CAACH,mCAA6B,CAAC,CAAA;AAAA,CAAA,CAAA;AAE3D,IAAMI,OAAO,GAAG,SAAVA,OAAOA,GAAA;AAAA,EAAA,OAASN,yBAAK,CAAA,QAAA,CAAO,CAACE,mCAA6B,CAAC,CAAA;AAAA,CAAA,CAAA;AAEjE,IAAMK,UAAU,GAAG;AAAET,EAAAA,MAAM,EAANA,MAAM;AAAEM,EAAAA,IAAI,EAAJA,IAAI;AAAEE,EAAAA,OAAO,EAAPA,OAAAA;AAAQ,CAAC;;;;ACJrC,IAAME,cAAc,GAAG,SAAjBA,cAAcA,GAAA;AAAA,EAAA,I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function (o) {
5
- return typeof o;
6
- } : function (o) {
7
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
8
- }, _typeof(o);
9
- }
10
-
11
- function _toPrimitive(input, hint) {
12
- if (_typeof(input) !== "object" || input === null) return input;
13
- var prim = input[Symbol.toPrimitive];
14
- if (prim !== undefined) {
15
- var res = prim.call(input, hint || "default");
16
- if (_typeof(res) !== "object") return res;
17
- throw new TypeError("@@toPrimitive must return a primitive value.");
18
- }
19
- return (hint === "string" ? String : Number)(input);
20
- }
21
-
22
- function _toPropertyKey(arg) {
23
- var key = _toPrimitive(arg, "string");
24
- return _typeof(key) === "symbol" ? key : String(key);
25
- }
26
-
27
- function _defineProperty(obj, key, value) {
28
- key = _toPropertyKey(key);
29
- if (key in obj) {
30
- Object.defineProperty(obj, key, {
31
- value: value,
32
- enumerable: true,
33
- configurable: true,
34
- writable: true
35
- });
36
- } else {
37
- obj[key] = value;
38
- }
39
- return obj;
40
- }
41
-
42
- export { _defineProperty as _ };
43
- //# sourceMappingURL=defineProperty-e90a259c.js.map