@bigbinary/neeto-integrations-frontend 4.0.50 → 4.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/.ready CHANGED
@@ -1 +1 @@
1
- Built at 2026-10-10T08:09:36.060Z
1
+ Built at 2026-10-19T13:14:00.090Z
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var neetoAtoms = require('@bigbinary/neeto-atoms');
3
+ var StickyRibbon = require('@bigbinary/neeto-molecules/v2/StickyRibbon');
4
4
  var ramda = require('ramda');
5
5
  var reactI18next = require('react-i18next');
6
6
  var reactRouterDom = require('react-router-dom');
@@ -22,7 +22,6 @@ var IntegrationLinks = function IntegrationLinks(_ref) {
22
22
  var linkPath = alert.redirectPath || path;
23
23
  return /*#__PURE__*/jsxRuntime.jsxs("span", {
24
24
  children: [index > 0 && ", ", /*#__PURE__*/jsxRuntime.jsx(reactRouterDom.Link, {
25
- className: "font-semibold underline",
26
25
  to: linkPath,
27
26
  children: label
28
27
  })]
@@ -46,33 +45,27 @@ var DisconnectedIntegrationsRibbon = function DisconnectedIntegrationsRibbon(_re
46
45
  if (ramda.isEmpty(knownAlerts)) return null;
47
46
  var singleAlert = knownAlerts.length === 1 ? knownAlerts[0] : null;
48
47
  var connectPath = singleAlert ? singleAlert.redirectPath || integrationRouteMap[singleAlert.serviceName].path : "";
49
- return /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Badge, {
50
- className: "sticky top-0 z-50 w-full p-2.5 text-center",
48
+ return /*#__PURE__*/jsxRuntime.jsx(StickyRibbon, {
51
49
  "data-testid": "disconnected-integrations-ribbon",
52
- size: "lg",
53
- variant: "amber",
50
+ kind: "warning",
54
51
  onDismiss: function onDismiss() {
55
52
  return dismissAlerts(knownAlerts.map(function (alert) {
56
53
  return alert.id;
57
54
  }));
58
55
  },
59
- children: /*#__PURE__*/jsxRuntime.jsx("span", {
60
- className: "w-full",
61
- children: /*#__PURE__*/jsxRuntime.jsx(reactI18next.Trans, {
62
- count: knownAlerts.length,
63
- i18nKey: "neetoIntegrations.disconnectionRibbon.message",
64
- components: {
65
- integrations: /*#__PURE__*/jsxRuntime.jsx(IntegrationLinks, {
66
- integrationRouteMap: integrationRouteMap,
67
- alerts: knownAlerts
68
- }),
69
- connectLink: /*#__PURE__*/jsxRuntime.jsx(reactRouterDom.Link, {
70
- className: "font-semibold underline",
71
- to: connectPath
72
- })
73
- },
74
- defaults: singleAlert ? "Your <integrations /> integration has been disconnected due to a permission issue. <connectLink>Connect it now</connectLink>." : "Your <integrations /> integrations have been disconnected due to a permission issue."
75
- })
56
+ children: /*#__PURE__*/jsxRuntime.jsx(reactI18next.Trans, {
57
+ count: knownAlerts.length,
58
+ i18nKey: "neetoIntegrations.disconnectionRibbon.message",
59
+ components: {
60
+ integrations: /*#__PURE__*/jsxRuntime.jsx(IntegrationLinks, {
61
+ integrationRouteMap: integrationRouteMap,
62
+ alerts: knownAlerts
63
+ }),
64
+ connectLink: /*#__PURE__*/jsxRuntime.jsx(reactRouterDom.Link, {
65
+ to: connectPath
66
+ })
67
+ },
68
+ defaults: singleAlert ? "Your <integrations /> integration has been disconnected due to a permission issue. <connectLink>Connect it now</connectLink>." : "Your <integrations /> integrations have been disconnected due to a permission issue."
76
69
  })
77
70
  });
78
71
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DisconnectedIntegrationsRibbon.js","sources":["../../../app/javascript/src/v2/components/DisconnectedIntegrationsRibbon/index.jsx"],"sourcesContent":["import { Badge } from \"@bigbinary/neeto-atoms\";\nimport { isEmpty } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\nimport { Link } from \"react-router-dom\";\n\nimport {\n useFetchDisconnectionAlerts,\n useDismissDisconnectionAlerts,\n} from \"hooks/reactQuery/useDisconnectionAlertsApi\";\n\nconst IntegrationLinks = ({ alerts, integrationRouteMap }) =>\n alerts.map((alert, index) => {\n const { label, path } = integrationRouteMap[alert.serviceName];\n const linkPath = alert.redirectPath || path;\n\n return (\n <span key={alert.id}>\n {index > 0 && \", \"}\n <Link className=\"font-semibold underline\" to={linkPath}>\n {label}\n </Link>\n </span>\n );\n });\n\nconst DisconnectedIntegrationsRibbon = ({ integrationRouteMap = {} }) => {\n useTranslation();\n\n const { data: { disconnectionAlerts: alerts = [] } = {} } =\n useFetchDisconnectionAlerts();\n\n const { mutate: dismissAlerts } = useDismissDisconnectionAlerts();\n\n const knownAlerts = alerts.filter(\n alert => integrationRouteMap[alert.serviceName]\n );\n\n if (isEmpty(knownAlerts)) return null;\n\n const singleAlert = knownAlerts.length === 1 ? knownAlerts[0] : null;\n const connectPath = singleAlert\n ? singleAlert.redirectPath ||\n integrationRouteMap[singleAlert.serviceName].path\n : \"\";\n\n return (\n <Badge\n className=\"sticky top-0 z-50 w-full p-2.5 text-center\"\n data-testid=\"disconnected-integrations-ribbon\"\n size=\"lg\"\n variant=\"amber\"\n onDismiss={() => dismissAlerts(knownAlerts.map(alert => alert.id))}\n >\n <span className=\"w-full\">\n <Trans\n count={knownAlerts.length}\n i18nKey=\"neetoIntegrations.disconnectionRibbon.message\"\n components={{\n integrations: (\n <IntegrationLinks\n {...{ integrationRouteMap }}\n alerts={knownAlerts}\n />\n ),\n connectLink: (\n <Link className=\"font-semibold underline\" to={connectPath} />\n ),\n }}\n defaults={\n singleAlert\n ? \"Your <integrations /> integration has been disconnected due to a permission issue. <connectLink>Connect it now</connectLink>.\"\n : \"Your <integrations /> integrations have been disconnected due to a permission issue.\"\n }\n />\n </span>\n </Badge>\n );\n};\n\nexport default DisconnectedIntegrationsRibbon;\n"],"names":["IntegrationLinks","_ref","alerts","integrationRouteMap","map","alert","index","_integrationRouteMap$","serviceName","label","path","linkPath","redirectPath","_jsxs","children","_jsx","Link","className","to","id","DisconnectedIntegrationsRibbon","_ref2","_ref2$integrationRout","useTranslation","_useFetchDisconnectio","useFetchDisconnectionAlerts","_useFetchDisconnectio2","data","_useFetchDisconnectio3","_useFetchDisconnectio4","disconnectionAlerts","_useDismissDisconnect","useDismissDisconnectionAlerts","dismissAlerts","mutate","knownAlerts","filter","isEmpty","singleAlert","length","connectPath","Badge","size","variant","onDismiss","Trans","count","i18nKey","components","integrations","connectLink","defaults"],"mappings":";;;;;;;;;;;;;;AAUA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,MAAM,GAAAD,IAAA,CAANC,MAAM;IAAEC,mBAAmB,GAAAF,IAAA,CAAnBE,mBAAmB;EAAA,OACrDD,MAAM,CAACE,GAAG,CAAC,UAACC,KAAK,EAAEC,KAAK,EAAK;AAC3B,IAAA,IAAAC,qBAAA,GAAwBJ,mBAAmB,CAACE,KAAK,CAACG,WAAW,CAAC;MAAtDC,KAAK,GAAAF,qBAAA,CAALE,KAAK;MAAEC,IAAI,GAAAH,qBAAA,CAAJG,IAAI;AACnB,IAAA,IAAMC,QAAQ,GAAGN,KAAK,CAACO,YAAY,IAAIF,IAAI;AAE3C,IAAA,oBACEG,eAAA,CAAA,MAAA,EAAA;MAAAC,QAAA,EAAA,CACGR,KAAK,GAAG,CAAC,IAAI,IAAI,eAClBS,cAAA,CAACC,mBAAI,EAAA;AAACC,QAAAA,SAAS,EAAC,yBAAyB;AAACC,QAAAA,EAAE,EAAEP,QAAS;AAAAG,QAAAA,QAAA,EACpDL;AAAK,OACF,CAAC;KAAA,EAJEJ,KAAK,CAACc,EAKX,CAAC;AAEX,EAAA,CAAC,CAAC;AAAA,CAAA;AAEJ,IAAMC,8BAA8B,GAAG,SAAjCA,8BAA8BA,CAAAC,KAAA,EAAqC;AAAA,EAAA,IAAAC,qBAAA,GAAAD,KAAA,CAA/BlB,mBAAmB;AAAnBA,IAAAA,mBAAmB,GAAAmB,qBAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,qBAAA;AAChEC,EAAAA,2BAAc,EAAE;AAEhB,EAAA,IAAAC,qBAAA,GACEC,qDAA2B,EAAE;IAAAC,sBAAA,GAAAF,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AAH,QAAA,eACtBC,cAAA,CAAC8B,kBAAK,EAAA;QACJC,KAAK,EAAEX,WAAW,CAACI,MAAO;AAC1BQ,QAAAA,OAAO,EAAC,+CAA+C;AACvDC,QAAAA,UAAU,EAAE;UACVC,YAAY,eACVlC,cAAA,CAACf,gBAAgB,EAAA;AACTG,YAAAA,mBAAmB,EAAnBA,mBAAmB;AACzBD,YAAAA,MAAM,EAAEiC;AAAY,WACrB,CACF;UACDe,WAAW,eACTnC,cAAA,CAACC,mBAAI,EAAA;AAACC,YAAAA,SAAS,EAAC,yBAAyB;AAACC,YAAAA,EAAE,EAAEsB;WAAc;SAE9D;AACFW,QAAAA,QAAQ,EACNb,WAAW,GACP,+HAA+H,GAC/H;OAEP;KACG;AAAC,GACF,CAAC;AAEZ;;;;"}
1
+ {"version":3,"file":"DisconnectedIntegrationsRibbon.js","sources":["../../../app/javascript/src/v2/components/DisconnectedIntegrationsRibbon/index.jsx"],"sourcesContent":["import StickyRibbon from \"@bigbinary/neeto-molecules/v2/StickyRibbon\";\nimport { isEmpty } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\nimport { Link } from \"react-router-dom\";\n\nimport {\n useFetchDisconnectionAlerts,\n useDismissDisconnectionAlerts,\n} from \"hooks/reactQuery/useDisconnectionAlertsApi\";\n\nconst IntegrationLinks = ({ alerts, integrationRouteMap }) =>\n alerts.map((alert, index) => {\n const { label, path } = integrationRouteMap[alert.serviceName];\n const linkPath = alert.redirectPath || path;\n\n return (\n <span key={alert.id}>\n {index > 0 && \", \"}\n <Link to={linkPath}>{label}</Link>\n </span>\n );\n });\n\nconst DisconnectedIntegrationsRibbon = ({ integrationRouteMap = {} }) => {\n useTranslation();\n\n const { data: { disconnectionAlerts: alerts = [] } = {} } =\n useFetchDisconnectionAlerts();\n\n const { mutate: dismissAlerts } = useDismissDisconnectionAlerts();\n\n const knownAlerts = alerts.filter(\n alert => integrationRouteMap[alert.serviceName]\n );\n\n if (isEmpty(knownAlerts)) return null;\n\n const singleAlert = knownAlerts.length === 1 ? knownAlerts[0] : null;\n const connectPath = singleAlert\n ? singleAlert.redirectPath ||\n integrationRouteMap[singleAlert.serviceName].path\n : \"\";\n\n return (\n <StickyRibbon\n data-testid=\"disconnected-integrations-ribbon\"\n kind=\"warning\"\n onDismiss={() => dismissAlerts(knownAlerts.map(alert => alert.id))}\n >\n <Trans\n count={knownAlerts.length}\n i18nKey=\"neetoIntegrations.disconnectionRibbon.message\"\n components={{\n integrations: (\n <IntegrationLinks {...{ integrationRouteMap }} alerts={knownAlerts} />\n ),\n connectLink: <Link to={connectPath} />,\n }}\n defaults={\n singleAlert\n ? \"Your <integrations /> integration has been disconnected due to a permission issue. <connectLink>Connect it now</connectLink>.\"\n : \"Your <integrations /> integrations have been disconnected due to a permission issue.\"\n }\n />\n </StickyRibbon>\n );\n};\n\nexport default DisconnectedIntegrationsRibbon;\n"],"names":["IntegrationLinks","_ref","alerts","integrationRouteMap","map","alert","index","_integrationRouteMap$","serviceName","label","path","linkPath","redirectPath","_jsxs","children","_jsx","Link","to","id","DisconnectedIntegrationsRibbon","_ref2","_ref2$integrationRout","useTranslation","_useFetchDisconnectio","useFetchDisconnectionAlerts","_useFetchDisconnectio2","data","_useFetchDisconnectio3","_useFetchDisconnectio4","disconnectionAlerts","_useDismissDisconnect","useDismissDisconnectionAlerts","dismissAlerts","mutate","knownAlerts","filter","isEmpty","singleAlert","length","connectPath","StickyRibbon","kind","onDismiss","Trans","count","i18nKey","components","integrations","connectLink","defaults"],"mappings":";;;;;;;;;;;;;;AAUA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,MAAM,GAAAD,IAAA,CAANC,MAAM;IAAEC,mBAAmB,GAAAF,IAAA,CAAnBE,mBAAmB;EAAA,OACrDD,MAAM,CAACE,GAAG,CAAC,UAACC,KAAK,EAAEC,KAAK,EAAK;AAC3B,IAAA,IAAAC,qBAAA,GAAwBJ,mBAAmB,C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AC;AAED,EAAA,IAAI4B,aAAO,CAACF,WAAW,CAAC,EAAE,OAAO,IAAI;AAErC,EAAA,IAAMG,WAAW,GAAGH,WAAW,CAACI,MAAM,KAAK,CAAC,GAAGJ,WAAW,CAAC,CAAC,CAAC,GAAG,IAAI;AACpE,EAAA,IAAMK,WAAW,GAAGF,WAAW,GAC3BA,WAAW,CAACzB,YAAY,IACxBT,mBAAmB,CAACkC,WAAW,CAAC7B,WAAW,CAAC,CAACE,IAAI,GACjD,EAAE;EAEN,oBACEK,cAAA,CAACyB,YAAY,EAAA;AACX,IAAA,aAAA,EAAY,kCAAkC;AAC9CC,IAAAA,IAAI,EAAC,SAAS;IACdC,SAAS,EAAE,SAAXA,SAASA,GAAA;AAAA,MAAA,OAAQV,aAAa,CAACE,WAAW,CAAC9B,GAAG,CAAC,UAAAC,KAAK,EAAA;QAAA,OAAIA,KAAK,CAACa,EAAE;AAAA,MAAA,CAAA,CAAC,CAAC;IAAA,CAAC;IAAAJ,QAAA,eAEnEC,cAAA,CAAC4B,kBAAK,EAAA;MACJC,KAAK,EAAEV,WAAW,CAACI,MAAO;AAC1BO,MAAAA,OAAO,EAAC,+CAA+C;AACvDC,MAAAA,UAAU,EAAE;QACVC,YAAY,eACVhC,cAAA,CAACf,gBAAgB,EAAA;AAAOG,UAAAA,mBAAmB,EAAnBA,mBAAmB;AAAID,UAAAA,MAAM,EAAEgC;AAAY,SAAE,CACtE;QACDc,WAAW,eAAEjC,cAAA,CAACC,mBAAI,EAAA;AAACC,UAAAA,EAAE,EAAEsB;SAAc;OACrC;AACFU,MAAAA,QAAQ,EACNZ,WAAW,GACP,+HAA+H,GAC/H;KAEP;AAAC,GACU,CAAC;AAEnB;;;;"}
@@ -22,6 +22,7 @@ require('@bigbinary/neeto-commons-frontend/v2/react-utils');
22
22
  require('react/jsx-runtime');
23
23
  require('@babel/runtime/helpers/objectWithoutProperties');
24
24
  require('@bigbinary/neeto-commons-frontend/v2/react-utils/withT');
25
+ require('@bigbinary/neeto-molecules/v2/StickyRibbon');
25
26
  require('ramda');
26
27
  require('react-i18next');
27
28
  require('react-router-dom');
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import { Badge } from '@bigbinary/neeto-atoms';
1
+ import StickyRibbon from '@bigbinary/neeto-molecules/v2/StickyRibbon';
2
2
  import { isEmpty } from 'ramda';
3
3
  import { useTranslation, Trans } from 'react-i18next';
4
4
  import { Link } from 'react-router-dom';
@@ -20,7 +20,6 @@ var IntegrationLinks = function IntegrationLinks(_ref) {
20
20
  var linkPath = alert.redirectPath || path;
21
21
  return /*#__PURE__*/jsxs("span", {
22
22
  children: [index > 0 && ", ", /*#__PURE__*/jsx(Link, {
23
- className: "font-semibold underline",
24
23
  to: linkPath,
25
24
  children: label
26
25
  })]
@@ -44,33 +43,27 @@ var DisconnectedIntegrationsRibbon = function DisconnectedIntegrationsRibbon(_re
44
43
  if (isEmpty(knownAlerts)) return null;
45
44
  var singleAlert = knownAlerts.length === 1 ? knownAlerts[0] : null;
46
45
  var connectPath = singleAlert ? singleAlert.redirectPath || integrationRouteMap[singleAlert.serviceName].path : "";
47
- return /*#__PURE__*/jsx(Badge, {
48
- className: "sticky top-0 z-50 w-full p-2.5 text-center",
46
+ return /*#__PURE__*/jsx(StickyRibbon, {
49
47
  "data-testid": "disconnected-integrations-ribbon",
50
- size: "lg",
51
- variant: "amber",
48
+ kind: "warning",
52
49
  onDismiss: function onDismiss() {
53
50
  return dismissAlerts(knownAlerts.map(function (alert) {
54
51
  return alert.id;
55
52
  }));
56
53
  },
57
- children: /*#__PURE__*/jsx("span", {
58
- className: "w-full",
59
- children: /*#__PURE__*/jsx(Trans, {
60
- count: knownAlerts.length,
61
- i18nKey: "neetoIntegrations.disconnectionRibbon.message",
62
- components: {
63
- integrations: /*#__PURE__*/jsx(IntegrationLinks, {
64
- integrationRouteMap: integrationRouteMap,
65
- alerts: knownAlerts
66
- }),
67
- connectLink: /*#__PURE__*/jsx(Link, {
68
- className: "font-semibold underline",
69
- to: connectPath
70
- })
71
- },
72
- defaults: singleAlert ? "Your <integrations /> integration has been disconnected due to a permission issue. <connectLink>Connect it now</connectLink>." : "Your <integrations /> integrations have been disconnected due to a permission issue."
73
- })
54
+ children: /*#__PURE__*/jsx(Trans, {
55
+ count: knownAlerts.length,
56
+ i18nKey: "neetoIntegrations.disconnectionRibbon.message",
57
+ components: {
58
+ integrations: /*#__PURE__*/jsx(IntegrationLinks, {
59
+ integrationRouteMap: integrationRouteMap,
60
+ alerts: knownAlerts
61
+ }),
62
+ connectLink: /*#__PURE__*/jsx(Link, {
63
+ to: connectPath
64
+ })
65
+ },
66
+ defaults: singleAlert ? "Your <integrations /> integration has been disconnected due to a permission issue. <connectLink>Connect it now</connectLink>." : "Your <integrations /> integrations have been disconnected due to a permission issue."
74
67
  })
75
68
  });
76
69
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DisconnectedIntegrationsRibbon.js","sources":["../../app/javascript/src/v2/components/DisconnectedIntegrationsRibbon/index.jsx"],"sourcesContent":["import { Badge } from \"@bigbinary/neeto-atoms\";\nimport { isEmpty } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\nimport { Link } from \"react-router-dom\";\n\nimport {\n useFetchDisconnectionAlerts,\n useDismissDisconnectionAlerts,\n} from \"hooks/reactQuery/useDisconnectionAlertsApi\";\n\nconst IntegrationLinks = ({ alerts, integrationRouteMap }) =>\n alerts.map((alert, index) => {\n const { label, path } = integrationRouteMap[alert.serviceName];\n const linkPath = alert.redirectPath || path;\n\n return (\n <span key={alert.id}>\n {index > 0 && \", \"}\n <Link className=\"font-semibold underline\" to={linkPath}>\n {label}\n </Link>\n </span>\n );\n });\n\nconst DisconnectedIntegrationsRibbon = ({ integrationRouteMap = {} }) => {\n useTranslation();\n\n const { data: { disconnectionAlerts: alerts = [] } = {} } =\n useFetchDisconnectionAlerts();\n\n const { mutate: dismissAlerts } = useDismissDisconnectionAlerts();\n\n const knownAlerts = alerts.filter(\n alert => integrationRouteMap[alert.serviceName]\n );\n\n if (isEmpty(knownAlerts)) return null;\n\n const singleAlert = knownAlerts.length === 1 ? knownAlerts[0] : null;\n const connectPath = singleAlert\n ? singleAlert.redirectPath ||\n integrationRouteMap[singleAlert.serviceName].path\n : \"\";\n\n return (\n <Badge\n className=\"sticky top-0 z-50 w-full p-2.5 text-center\"\n data-testid=\"disconnected-integrations-ribbon\"\n size=\"lg\"\n variant=\"amber\"\n onDismiss={() => dismissAlerts(knownAlerts.map(alert => alert.id))}\n >\n <span className=\"w-full\">\n <Trans\n count={knownAlerts.length}\n i18nKey=\"neetoIntegrations.disconnectionRibbon.message\"\n components={{\n integrations: (\n <IntegrationLinks\n {...{ integrationRouteMap }}\n alerts={knownAlerts}\n />\n ),\n connectLink: (\n <Link className=\"font-semibold underline\" to={connectPath} />\n ),\n }}\n defaults={\n singleAlert\n ? \"Your <integrations /> integration has been disconnected due to a permission issue. <connectLink>Connect it now</connectLink>.\"\n : \"Your <integrations /> integrations have been disconnected due to a permission issue.\"\n }\n />\n </span>\n </Badge>\n );\n};\n\nexport default DisconnectedIntegrationsRibbon;\n"],"names":["IntegrationLinks","_ref","alerts","integrationRouteMap","map","alert","index","_integrationRouteMap$","serviceName","label","path","linkPath","redirectPath","_jsxs","children","_jsx","Link","className","to","id","DisconnectedIntegrationsRibbon","_ref2","_ref2$integrationRout","useTranslation","_useFetchDisconnectio","useFetchDisconnectionAlerts","_useFetchDisconnectio2","data","_useFetchDisconnectio3","_useFetchDisconnectio4","disconnectionAlerts","_useDismissDisconnect","useDismissDisconnectionAlerts","dismissAlerts","mutate","knownAlerts","filter","isEmpty","singleAlert","length","connectPath","Badge","size","variant","onDismiss","Trans","count","i18nKey","components","integrations","connectLink","defaults"],"mappings":";;;;;;;;;;;;AAUA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,MAAM,GAAAD,IAAA,CAANC,MAAM;IAAEC,mBAAmB,GAAAF,IAAA,CAAnBE,mBAAmB;EAAA,OACrDD,MAAM,CAACE,GAAG,CAAC,UAACC,KAAK,EAAEC,KAAK,EAAK;AAC3B,IAAA,IAAAC,qBAAA,GAAwBJ,mBAAmB,CAACE,KAAK,CAACG,WAAW,CAAC;MAAtDC,KAAK,GAAAF,qBAAA,CAALE,KAAK;MAAEC,IAAI,GAAAH,qBAAA,CAAJG,IAAI;AACnB,IAAA,IAAMC,QAAQ,GAAGN,KAAK,CAACO,YAAY,IAAIF,IAAI;AAE3C,IAAA,oBACEG,IAAA,CAAA,MAAA,EAAA;MAAAC,QAAA,EAAA,CACGR,KAAK,GAAG,CAAC,IAAI,IAAI,eAClBS,GAAA,CAACC,IAAI,EAAA;AAACC,QAAAA,SAAS,EAAC,yBAAyB;AAACC,QAAAA,EAAE,EAAEP,QAAS;AAAAG,QAAAA,QAAA,EACpDL;AAAK,OACF,CAAC;KAAA,EAJEJ,KAAK,CAACc,EAKX,CAAC;AAEX,EAAA,CAAC,CAAC;AAAA,CAAA;AAEJ,IAAMC,8BAA8B,GAAG,SAAjCA,8BAA8BA,CAAAC,KAAA,EAAqC;AAAA,EAAA,IAAAC,qBAAA,GAAAD,KAAA,CAA/BlB,mBAAmB;AAAnBA,IAAAA,mBAAmB,GAAAmB,qBAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,qBAAA;AAChEC,EAAAA,cAAc,EAAE;AAEhB,EAAA,IAAAC,qBAAA,GACEC,2BAA2B,EAAE;IAAAC,sBAAA,GAAAF,qBAAA,CADvBG,IAAI;AAAAC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C8B,KAAK,EAAA;QACJC,KAAK,EAAEX,WAAW,CAACI,MAAO;AAC1BQ,QAAAA,OAAO,EAAC,+CAA+C;AACvDC,QAAAA,UAAU,EAAE;UACVC,YAAY,eACVlC,GAAA,CAACf,gBAAgB,EAAA;AACTG,YAAAA,mBAAmB,EAAnBA,mBAAmB;AACzBD,YAAAA,MAAM,EAAEiC;AAAY,WACrB,CACF;UACDe,WAAW,eACTnC,GAAA,CAACC,IAAI,EAAA;AAACC,YAAAA,SAAS,EAAC,yBAAyB;AAACC,YAAAA,EAAE,EAAEsB;WAAc;SAE9D;AACFW,QAAAA,QAAQ,EACNb,WAAW,GACP,+HAA+H,GAC/H;OAEP;KACG;AAAC,GACF,CAAC;AAEZ;;;;"}
1
+ {"version":3,"file":"DisconnectedIntegrationsRibbon.js","sources":["../../app/javascript/src/v2/components/DisconnectedIntegrationsRibbon/index.jsx"],"sourcesContent":["import StickyRibbon from \"@bigbinary/neeto-molecules/v2/StickyRibbon\";\nimport { isEmpty } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\nimport { Link } from \"react-router-dom\";\n\nimport {\n useFetchDisconnectionAlerts,\n useDismissDisconnectionAlerts,\n} from \"hooks/reactQuery/useDisconnectionAlertsApi\";\n\nconst IntegrationLinks = ({ alerts, integrationRouteMap }) =>\n alerts.map((alert, index) => {\n const { label, path } = integrationRouteMap[alert.serviceName];\n const linkPath = alert.redirectPath || path;\n\n return (\n <span key={alert.id}>\n {index > 0 && \", \"}\n <Link to={linkPath}>{label}</Link>\n </span>\n );\n });\n\nconst DisconnectedIntegrationsRibbon = ({ integrationRouteMap = {} }) => {\n useTranslation();\n\n const { data: { disconnectionAlerts: alerts = [] } = {} } =\n useFetchDisconnectionAlerts();\n\n const { mutate: dismissAlerts } = useDismissDisconnectionAlerts();\n\n const knownAlerts = alerts.filter(\n alert => integrationRouteMap[alert.serviceName]\n );\n\n if (isEmpty(knownAlerts)) return null;\n\n const singleAlert = knownAlerts.length === 1 ? knownAlerts[0] : null;\n const connectPath = singleAlert\n ? singleAlert.redirectPath ||\n integrationRouteMap[singleAlert.serviceName].path\n : \"\";\n\n return (\n <StickyRibbon\n data-testid=\"disconnected-integrations-ribbon\"\n kind=\"warning\"\n onDismiss={() => dismissAlerts(knownAlerts.map(alert => alert.id))}\n >\n <Trans\n count={knownAlerts.length}\n i18nKey=\"neetoIntegrations.disconnectionRibbon.message\"\n components={{\n integrations: (\n <IntegrationLinks {...{ integrationRouteMap }} alerts={knownAlerts} />\n ),\n connectLink: <Link to={connectPath} />,\n }}\n defaults={\n singleAlert\n ? \"Your <integrations /> integration has been disconnected due to a permission issue. <connectLink>Connect it now</connectLink>.\"\n : \"Your <integrations /> integrations have been disconnected due to a permission issue.\"\n }\n />\n </StickyRibbon>\n );\n};\n\nexport default DisconnectedIntegrationsRibbon;\n"],"names":["IntegrationLinks","_ref","alerts","integrationRouteMap","map","alert","index","_integrationRouteMap$","serviceName","label","path","linkPath","redirectPath","_jsxs","children","_jsx","Link","to","id","DisconnectedIntegrationsRibbon","_ref2","_ref2$integrationRout","useTranslation","_useFetchDisconnectio","useFetchDisconnectionAlerts","_useFetchDisconnectio2","data","_useFetchDisconnectio3","_useFetchDisconnectio4","disconnectionAlerts","_useDismissDisconnect","useDismissDisconnectionAlerts","dismissAlerts","mutate","knownAlerts","filter","isEmpty","singleAlert","length","connectPath","StickyRibbon","kind","onDismiss","Trans","count","i18nKey","components","integrations","connectLink","defaults"],"mappings":";;;;;;;;;;;;AAUA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,MAAM,GAAAD,IAAA,CAANC,MAAM;IAAEC,mBAAmB,GAAAF,IAAA,CAAnBE,mBAAmB;EAAA,OACrDD,MAAM,CAACE,GAAG,CAAC,UAACC,KAAK,EAAEC,KAAK,EAAK;AAC3B,IAAA,IAAAC,qBAAA,GAAwBJ,mBAAmB,CAACE,KAAK,CAACG,WAAW,CAAC;MAAt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AAW,CAAC,EAAE,OAAO,IAAI;AAErC,EAAA,IAAMG,WAAW,GAAGH,WAAW,CAACI,MAAM,KAAK,CAAC,GAAGJ,WAAW,CAAC,CAAC,CAAC,GAAG,IAAI;AACpE,EAAA,IAAMK,WAAW,GAAGF,WAAW,GAC3BA,WAAW,CAACzB,YAAY,IACxBT,mBAAmB,CAACkC,WAAW,CAAC7B,WAAW,CAAC,CAACE,IAAI,GACjD,EAAE;EAEN,oBACEK,GAAA,CAACyB,YAAY,EAAA;AACX,IAAA,aAAA,EAAY,kCAAkC;AAC9CC,IAAAA,IAAI,EAAC,SAAS;IACdC,SAAS,EAAE,SAAXA,SAASA,GAAA;AAAA,MAAA,OAAQV,aAAa,CAACE,WAAW,CAAC9B,GAAG,CAAC,UAAAC,KAAK,EAAA;QAAA,OAAIA,KAAK,CAACa,EAAE;AAAA,MAAA,CAAA,CAAC,CAAC;IAAA,CAAC;IAAAJ,QAAA,eAEnEC,GAAA,CAAC4B,KAAK,EAAA;MACJC,KAAK,EAAEV,WAAW,CAACI,MAAO;AAC1BO,MAAAA,OAAO,EAAC,+CAA+C;AACvDC,MAAAA,UAAU,EAAE;QACVC,YAAY,eACVhC,GAAA,CAACf,gBAAgB,EAAA;AAAOG,UAAAA,mBAAmB,EAAnBA,mBAAmB;AAAID,UAAAA,MAAM,EAAEgC;AAAY,SAAE,CACtE;QACDc,WAAW,eAAEjC,GAAA,CAACC,IAAI,EAAA;AAACC,UAAAA,EAAE,EAAEsB;SAAc;OACrC;AACFU,MAAAA,QAAQ,EACNZ,WAAW,GACP,+HAA+H,GAC/H;KAEP;AAAC,GACU,CAAC;AAEnB;;;;"}
package/dist/v2/index.js CHANGED
@@ -20,6 +20,7 @@ import '@bigbinary/neeto-commons-frontend/v2/react-utils';
20
20
  import 'react/jsx-runtime';
21
21
  import '@babel/runtime/helpers/objectWithoutProperties';
22
22
  import '@bigbinary/neeto-commons-frontend/v2/react-utils/withT';
23
+ import '@bigbinary/neeto-molecules/v2/StickyRibbon';
23
24
  import 'ramda';
24
25
  import 'react-i18next';
25
26
  import 'react-router-dom';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-integrations-frontend",
3
- "version": "4.0.50",
3
+ "version": "4.0.51",
4
4
  "description": "UI for integrations in neeto products",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://github.com/bigbinary/neeto-integrations-nano",
@@ -73,12 +73,12 @@
73
73
  "@babel/runtime": "7.29.7",
74
74
  "@bigbinary/babel-preset-neeto": "^1.0.3",
75
75
  "@bigbinary/eslint-plugin-neeto": "1.9.1",
76
- "@bigbinary/neeto-atoms": "1.0.144",
76
+ "@bigbinary/neeto-atoms": "1.0.145",
77
77
  "@bigbinary/neeto-cist": "1.0.17",
78
- "@bigbinary/neeto-commons-frontend": "4.13.165",
79
- "@bigbinary/neeto-filters-frontend": "4.3.45",
78
+ "@bigbinary/neeto-commons-frontend": "4.14.1",
79
+ "@bigbinary/neeto-filters-frontend": "4.5.1",
80
80
  "@bigbinary/neeto-icons": "1.20.89",
81
- "@bigbinary/neeto-molecules": "5.5.6",
81
+ "@bigbinary/neeto-molecules": "5.7.6",
82
82
  "@bigbinary/neetoui": "8.8.3",
83
83
  "@emotion/is-prop-valid": "1.2.0",
84
84
  "@faker-js/faker": "8.2.0",
@@ -97,7 +97,7 @@
97
97
  "@tanstack/react-query-devtools": "5.59.20",
98
98
  "antd": "5.22.1",
99
99
  "autoprefixer": "^10.4.5",
100
- "axios": "1.18.1",
100
+ "axios": "1.20.0",
101
101
  "babel-loader": "^8.2.5",
102
102
  "babel-plugin-istanbul": "^6.1.1",
103
103
  "babel-plugin-js-logger": "1.0.17",
@@ -112,7 +112,7 @@
112
112
  "classnames": "2.5.1",
113
113
  "crypto-browserify": "3.12.1",
114
114
  "css-loader": "6.8.1",
115
- "dompurify": "3.4.12",
115
+ "dompurify": "3.4.16",
116
116
  "dotenv-webpack": "^8.0.1",
117
117
  "eslint": "^9.25.1",
118
118
  "eslint-config-prettier": "^10.1.2",
@@ -143,14 +143,14 @@
143
143
  "mixpanel-browser": "2.47.0",
144
144
  "os-browserify": "0.3.0",
145
145
  "path-browserify": "^1.0.1",
146
- "postcss": "8.5.23",
146
+ "postcss": "8.5.29",
147
147
  "postcss-import": "^15.0.0",
148
148
  "postcss-loader": "^7.0.1",
149
149
  "postcss-preset-env": "7.8.2",
150
150
  "prettier": "3",
151
151
  "prettier-plugin-tailwindcss": "^0.7.1",
152
152
  "process": "0.11.10",
153
- "qs": "6.15.2",
153
+ "qs": "6.16.0",
154
154
  "ramda": "0.29.0",
155
155
  "react": "18.3.1",
156
156
  "react-dom": "18.3.1",
@@ -187,12 +187,12 @@
187
187
  },
188
188
  "peerDependencies": {
189
189
  "@babel/runtime": "7.29.7",
190
- "@bigbinary/neeto-atoms": "1.0.144",
190
+ "@bigbinary/neeto-atoms": "1.0.145",
191
191
  "@bigbinary/neeto-cist": "1.0.17",
192
- "@bigbinary/neeto-commons-frontend": "4.13.165",
193
- "@bigbinary/neeto-filters-frontend": "4.3.45",
192
+ "@bigbinary/neeto-commons-frontend": "4.14.1",
193
+ "@bigbinary/neeto-filters-frontend": "4.5.1",
194
194
  "@bigbinary/neeto-icons": "1.20.89",
195
- "@bigbinary/neeto-molecules": "5.5.6",
195
+ "@bigbinary/neeto-molecules": "5.7.6",
196
196
  "@bigbinary/neetoui": "8.8.3",
197
197
  "@honeybadger-io/js": "6.10.1",
198
198
  "@honeybadger-io/react": "6.1.25",
@@ -200,11 +200,11 @@
200
200
  "@tanstack/react-query": "5.59.20",
201
201
  "@tanstack/react-query-devtools": "5.59.20",
202
202
  "antd": "5.22.1",
203
- "axios": "1.18.1",
203
+ "axios": "1.20.0",
204
204
  "buffer": "^6.0.3",
205
205
  "classnames": "2.5.1",
206
206
  "crypto-browserify": "3.12.1",
207
- "dompurify": "3.4.12",
207
+ "dompurify": "3.4.16",
208
208
  "formik": "2.4.6",
209
209
  "https-browserify": "1.0.0",
210
210
  "i18next": "22.5.1",
@@ -213,7 +213,7 @@
213
213
  "mixpanel-browser": "^2.45.0",
214
214
  "os-browserify": "0.3.0",
215
215
  "path-browserify": "^1.0.1",
216
- "qs": "6.15.2",
216
+ "qs": "6.16.0",
217
217
  "ramda": "0.29.0",
218
218
  "react": "18.3.1",
219
219
  "react-dom": "18.3.1",