@bigbinary/neeto-integrations-frontend 4.2.7 → 4.2.8
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 +1 -1
- package/dist/Daily.js +2 -2
- package/dist/DailyForm.js +2 -2
- package/dist/Telnyx.js +2 -2
- package/dist/Twilio.js +2 -2
- package/dist/Zoom.js +2 -2
- package/dist/cjs/v2/GoogleMapsForm.js +125 -0
- package/dist/cjs/v2/GoogleMapsForm.js.map +1 -0
- package/dist/cjs/v2/GoogleMapsIcon.js +37 -0
- package/dist/cjs/v2/GoogleMapsIcon.js.map +1 -0
- package/dist/cjs/v2/GoogleMapsManage.js +106 -0
- package/dist/cjs/v2/GoogleMapsManage.js.map +1 -0
- package/dist/cjs/v2/index.js +26 -273
- package/dist/cjs/v2/index.js.map +1 -1
- package/dist/index.js +6 -6
- package/dist/{query-dZxWLxGc.js → query-CyER0UTx.js} +2 -2
- package/dist/{query-dZxWLxGc.js.map → query-CyER0UTx.js.map} +1 -1
- package/dist/{useDailiesApi-dbPtabvs.js → useDailiesApi-CMyuK99l.js} +2 -2
- package/dist/{useDailiesApi-dbPtabvs.js.map → useDailiesApi-CMyuK99l.js.map} +1 -1
- package/dist/{useDisconnectionAlertsApi-CKKd-vBU.js → useDisconnectionAlertsApi-BW25EN1l.js} +2 -2
- package/dist/{useDisconnectionAlertsApi-CKKd-vBU.js.map → useDisconnectionAlertsApi-BW25EN1l.js.map} +1 -1
- package/dist/useGoogleMapsApi-BY5ZIbh1.js +52 -0
- package/dist/useGoogleMapsApi-BY5ZIbh1.js.map +1 -0
- package/dist/useGoogleMapsApi-DypGXFnl.js +48 -0
- package/dist/useGoogleMapsApi-DypGXFnl.js.map +1 -0
- package/dist/{useTelnyxApi-Bdc2eE8x.js → useTelnyxApi-WH39oUwB.js} +2 -2
- package/dist/{useTelnyxApi-Bdc2eE8x.js.map → useTelnyxApi-WH39oUwB.js.map} +1 -1
- package/dist/{useTwilioApi-CFdE3TY_.js → useTwilioApi-nN6VRQYc.js} +2 -2
- package/dist/{useTwilioApi-CFdE3TY_.js.map → useTwilioApi-nN6VRQYc.js.map} +1 -1
- package/dist/{useZoomApi-CcPofKkx.js → useZoomApi-i5CNstmT.js} +2 -2
- package/dist/{useZoomApi-CcPofKkx.js.map → useZoomApi-i5CNstmT.js.map} +1 -1
- package/dist/v2/Daily.js +2 -2
- package/dist/v2/DailyForm.js +2 -2
- package/dist/v2/DisconnectedIntegrationsRibbon.js +2 -2
- package/dist/v2/GoogleMapsForm.js +104 -0
- package/dist/v2/GoogleMapsForm.js.map +1 -0
- package/dist/v2/GoogleMapsIcon.js +35 -0
- package/dist/v2/GoogleMapsIcon.js.map +1 -0
- package/dist/v2/GoogleMapsManage.js +104 -0
- package/dist/v2/GoogleMapsManage.js.map +1 -0
- package/dist/v2/SmsLogs.js +1 -1
- package/dist/v2/Telnyx.js +2 -2
- package/dist/v2/Twilio.js +2 -2
- package/dist/v2/Zoom.js +2 -2
- package/dist/v2/index.js +30 -263
- package/dist/v2/index.js.map +1 -1
- package/package.json +1 -1
package/dist/.ready
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Built at 2026-11-
|
|
1
|
+
Built at 2026-11-20T19:30:03.524Z
|
package/dist/Daily.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import i18next from 'i18next';
|
|
2
2
|
import { isPresent, noop } from '@bigbinary/neeto-cist';
|
|
3
3
|
import { withTitle, useQueryParams } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
4
|
-
import { u as useFetchDaily, a as useDestroyDaily } from './useDailiesApi-
|
|
4
|
+
import { u as useFetchDaily, a as useDestroyDaily } from './useDailiesApi-CMyuK99l.js';
|
|
5
5
|
import Form from './DailyForm.js';
|
|
6
6
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
7
7
|
import { useState } from 'react';
|
|
@@ -16,7 +16,7 @@ import '@babel/runtime/helpers/defineProperty';
|
|
|
16
16
|
import '@tanstack/react-query';
|
|
17
17
|
import '@bigbinary/neeto-commons-frontend/constants';
|
|
18
18
|
import 'axios';
|
|
19
|
-
import './query-
|
|
19
|
+
import './query-CyER0UTx.js';
|
|
20
20
|
import '@bigbinary/neeto-molecules/CardLayout';
|
|
21
21
|
import '@bigbinary/neeto-molecules/Container';
|
|
22
22
|
import '@bigbinary/neeto-molecules/Header';
|
package/dist/DailyForm.js
CHANGED
|
@@ -14,7 +14,7 @@ import ActionBlock from '@bigbinary/neetoui/formik/ActionBlock';
|
|
|
14
14
|
import { useTranslation, Trans } from 'react-i18next';
|
|
15
15
|
import { useHistory } from 'react-router-dom';
|
|
16
16
|
import WalkthroughModal from './WalkthroughModal.js';
|
|
17
|
-
import { b as useCreateDaily } from './useDailiesApi-
|
|
17
|
+
import { b as useCreateDaily } from './useDailiesApi-CMyuK99l.js';
|
|
18
18
|
import * as yup from 'yup';
|
|
19
19
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
20
20
|
import '@bigbinary/neeto-cist';
|
|
@@ -24,7 +24,7 @@ import '@babel/runtime/helpers/defineProperty';
|
|
|
24
24
|
import '@tanstack/react-query';
|
|
25
25
|
import '@bigbinary/neeto-commons-frontend/constants';
|
|
26
26
|
import 'axios';
|
|
27
|
-
import './query-
|
|
27
|
+
import './query-CyER0UTx.js';
|
|
28
28
|
|
|
29
29
|
var MANAGE_DAILY_CO_FORM_INITIAL_VALUES = {
|
|
30
30
|
apiKey: ""
|
package/dist/Telnyx.js
CHANGED
|
@@ -11,7 +11,7 @@ import Tag from '@bigbinary/neetoui/Tag';
|
|
|
11
11
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
12
12
|
import Callout from '@bigbinary/neetoui/Callout';
|
|
13
13
|
import Spinner from '@bigbinary/neetoui/Spinner';
|
|
14
|
-
import { u as useFetchTelnyxMessagingProfileSenders, a as useFetchTelnyxConfiguration, b as useFetchTelnyxSenderOptions, c as useUpsertTelnyxConfiguration } from './useTelnyxApi-
|
|
14
|
+
import { u as useFetchTelnyxMessagingProfileSenders, a as useFetchTelnyxConfiguration, b as useFetchTelnyxSenderOptions, c as useUpsertTelnyxConfiguration } from './useTelnyxApi-WH39oUwB.js';
|
|
15
15
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
16
16
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
17
17
|
import { useStateWithDependency } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
@@ -20,7 +20,7 @@ import * as yup from 'yup';
|
|
|
20
20
|
import '@babel/runtime/helpers/defineProperty';
|
|
21
21
|
import '@tanstack/react-query';
|
|
22
22
|
import 'axios';
|
|
23
|
-
import './query-
|
|
23
|
+
import './query-CyER0UTx.js';
|
|
24
24
|
|
|
25
25
|
var ConnectionTypeCard = function ConnectionTypeCard(_ref) {
|
|
26
26
|
var value = _ref.value,
|
package/dist/Twilio.js
CHANGED
|
@@ -11,7 +11,7 @@ import Tag from '@bigbinary/neetoui/Tag';
|
|
|
11
11
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
12
12
|
import Callout from '@bigbinary/neetoui/Callout';
|
|
13
13
|
import Spinner from '@bigbinary/neetoui/Spinner';
|
|
14
|
-
import { u as useFetchTwilioMessagingServiceSenders, a as useFetchTwilioSmsConfiguration, b as useFetchTwilioSenderOptions, c as useCreateTwilioConfiguration } from './useTwilioApi-
|
|
14
|
+
import { u as useFetchTwilioMessagingServiceSenders, a as useFetchTwilioSmsConfiguration, b as useFetchTwilioSenderOptions, c as useCreateTwilioConfiguration } from './useTwilioApi-nN6VRQYc.js';
|
|
15
15
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
16
16
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
17
17
|
import { useStateWithDependency } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
@@ -19,7 +19,7 @@ import i18next from 'i18next';
|
|
|
19
19
|
import * as yup from 'yup';
|
|
20
20
|
import '@tanstack/react-query';
|
|
21
21
|
import 'axios';
|
|
22
|
-
import './query-
|
|
22
|
+
import './query-CyER0UTx.js';
|
|
23
23
|
|
|
24
24
|
var CONNECTION_TYPES = {
|
|
25
25
|
PHONE_NUMBER: "phone_number",
|
package/dist/Zoom.js
CHANGED
|
@@ -6,7 +6,7 @@ import Spinner from '@bigbinary/neetoui/Spinner';
|
|
|
6
6
|
import Typography from '@bigbinary/neetoui/Typography';
|
|
7
7
|
import { useTranslation, Trans } from 'react-i18next';
|
|
8
8
|
import Manage from './Manage.js';
|
|
9
|
-
import { u as useShowZoom, a as useDestroyZoom } from './useZoomApi-
|
|
9
|
+
import { u as useShowZoom, a as useDestroyZoom } from './useZoomApi-i5CNstmT.js';
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
import '@babel/runtime/helpers/defineProperty';
|
|
12
12
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
@@ -22,7 +22,7 @@ import '@bigbinary/neetoui/Alert';
|
|
|
22
22
|
import '@tanstack/react-query';
|
|
23
23
|
import '@bigbinary/neeto-commons-frontend/constants';
|
|
24
24
|
import 'axios';
|
|
25
|
-
import './query-
|
|
25
|
+
import './query-CyER0UTx.js';
|
|
26
26
|
|
|
27
27
|
var Zoom = function Zoom(_ref) {
|
|
28
28
|
var _ref$connectUrl = _ref.connectUrl,
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var neetoAtoms = require('@bigbinary/neeto-atoms');
|
|
4
|
+
var formik = require('@bigbinary/neeto-atoms/formik');
|
|
5
|
+
var neetoCist = require('@bigbinary/neeto-cist');
|
|
6
|
+
var CardLayout = require('@bigbinary/neeto-molecules/v2/CardLayout');
|
|
7
|
+
var Container = require('@bigbinary/neeto-molecules/v2/Container');
|
|
8
|
+
var Header = require('@bigbinary/neeto-molecules/v2/Header');
|
|
9
|
+
var reactI18next = require('react-i18next');
|
|
10
|
+
var reactRouterDom = require('react-router-dom');
|
|
11
|
+
var useGoogleMapsApi = require('../../useGoogleMapsApi-BY5ZIbh1.js');
|
|
12
|
+
var i18next = require('i18next');
|
|
13
|
+
var yup = require('yup');
|
|
14
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
15
|
+
require('@babel/runtime/helpers/defineProperty');
|
|
16
|
+
require('@tanstack/react-query');
|
|
17
|
+
require('@bigbinary/neeto-commons-frontend/constants');
|
|
18
|
+
require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
19
|
+
require('axios');
|
|
20
|
+
require('../../query-DFg4la-L.js');
|
|
21
|
+
|
|
22
|
+
function _interopNamespaceDefault(e) {
|
|
23
|
+
var n = Object.create(null);
|
|
24
|
+
if (e) {
|
|
25
|
+
Object.keys(e).forEach(function (k) {
|
|
26
|
+
if (k !== 'default') {
|
|
27
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
28
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return e[k]; }
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
n.default = e;
|
|
36
|
+
return Object.freeze(n);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
var yup__namespace = /*#__PURE__*/_interopNamespaceDefault(yup);
|
|
40
|
+
|
|
41
|
+
var GOOGLE_MAPS_FORM_INITIAL_VALUES = {
|
|
42
|
+
apiKey: ""
|
|
43
|
+
};
|
|
44
|
+
var GOOGLE_MAPS_VALIDATION_SCHEMA = yup__namespace.object().shape({
|
|
45
|
+
apiKey: yup__namespace.string().trim().required(i18next.t("neetoIntegrations.errors.required", {
|
|
46
|
+
entity: i18next.t("neetoIntegrations.googleMaps.apiKey")
|
|
47
|
+
}))
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
var Form = function Form(_ref) {
|
|
51
|
+
var _ref$helpDocUrl = _ref.helpDocUrl,
|
|
52
|
+
helpDocUrl = _ref$helpDocUrl === void 0 ? "" : _ref$helpDocUrl,
|
|
53
|
+
_ref$breadcrumbs = _ref.breadcrumbs,
|
|
54
|
+
breadcrumbs = _ref$breadcrumbs === void 0 ? [] : _ref$breadcrumbs,
|
|
55
|
+
_ref$onConnect = _ref.onConnect,
|
|
56
|
+
onConnect = _ref$onConnect === void 0 ? neetoCist.noop : _ref$onConnect;
|
|
57
|
+
var _useTranslation = reactI18next.useTranslation(),
|
|
58
|
+
t = _useTranslation.t;
|
|
59
|
+
var history = reactRouterDom.useHistory();
|
|
60
|
+
var _useCreateGoogleMaps = useGoogleMapsApi.useCreateGoogleMaps({
|
|
61
|
+
onSuccess: function onSuccess() {
|
|
62
|
+
return onConnect();
|
|
63
|
+
}
|
|
64
|
+
}),
|
|
65
|
+
createGoogleMaps = _useCreateGoogleMaps.mutate,
|
|
66
|
+
isConnecting = _useCreateGoogleMaps.isPending;
|
|
67
|
+
var handleSubmit = function handleSubmit(_ref2) {
|
|
68
|
+
var apiKey = _ref2.apiKey;
|
|
69
|
+
return createGoogleMaps({
|
|
70
|
+
apiKey: apiKey.trim()
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
return /*#__PURE__*/jsxRuntime.jsxs(Container, {
|
|
74
|
+
isHeaderFixed: true,
|
|
75
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(Header, {
|
|
76
|
+
breadcrumbs: breadcrumbs,
|
|
77
|
+
title: t("neetoIntegrations.common.connect")
|
|
78
|
+
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
79
|
+
className: "w-full",
|
|
80
|
+
children: /*#__PURE__*/jsxRuntime.jsx(formik.Form, {
|
|
81
|
+
formikProps: {
|
|
82
|
+
initialValues: GOOGLE_MAPS_FORM_INITIAL_VALUES,
|
|
83
|
+
validationSchema: GOOGLE_MAPS_VALIDATION_SCHEMA,
|
|
84
|
+
onSubmit: handleSubmit
|
|
85
|
+
},
|
|
86
|
+
children: /*#__PURE__*/jsxRuntime.jsx(CardLayout, {
|
|
87
|
+
actionBlock: /*#__PURE__*/jsxRuntime.jsx(formik.ActionBlock, {
|
|
88
|
+
cancelButtonProps: {
|
|
89
|
+
onClick: function onClick() {
|
|
90
|
+
return history.goBack();
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
isSubmitting: isConnecting,
|
|
94
|
+
submitButtonProps: {
|
|
95
|
+
label: t("neetoIntegrations.common.connect")
|
|
96
|
+
}
|
|
97
|
+
}),
|
|
98
|
+
children: /*#__PURE__*/jsxRuntime.jsx(formik.Input, {
|
|
99
|
+
autoFocus: true,
|
|
100
|
+
required: true,
|
|
101
|
+
autoComplete: "off",
|
|
102
|
+
dataTestId: "google-maps-api-key",
|
|
103
|
+
label: t("neetoIntegrations.googleMaps.apiKey"),
|
|
104
|
+
name: "apiKey",
|
|
105
|
+
helpText: /*#__PURE__*/jsxRuntime.jsx(reactI18next.Trans, {
|
|
106
|
+
i18nKey: "neetoIntegrations.googleMaps.apiKeyHelpText",
|
|
107
|
+
components: {
|
|
108
|
+
helpLink: /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
|
|
109
|
+
"data-testid": "google-maps-api-key-help-link",
|
|
110
|
+
href: helpDocUrl,
|
|
111
|
+
rel: "noreferrer",
|
|
112
|
+
target: "_blank",
|
|
113
|
+
variant: "link"
|
|
114
|
+
})
|
|
115
|
+
}
|
|
116
|
+
})
|
|
117
|
+
})
|
|
118
|
+
})
|
|
119
|
+
})
|
|
120
|
+
})]
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
module.exports = Form;
|
|
125
|
+
//# sourceMappingURL=GoogleMapsForm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoogleMapsForm.js","sources":["../../../app/javascript/src/v2/components/Integrations/GoogleMaps/constants.js","../../../app/javascript/src/v2/components/Integrations/GoogleMaps/Form.jsx"],"sourcesContent":["import { t } from \"i18next\";\nimport * as yup from \"yup\";\n\nexport const GOOGLE_MAPS_FORM_INITIAL_VALUES = { apiKey: \"\" };\n\nexport const GOOGLE_MAPS_VALIDATION_SCHEMA = yup.object().shape({\n apiKey: yup\n .string()\n .trim()\n .required(\n t(\"neetoIntegrations.errors.required\", {\n entity: t(\"neetoIntegrations.googleMaps.apiKey\"),\n })\n ),\n});\n","import { Button } from \"neetoatoms\";\nimport { Input, Form as FormikForm, ActionBlock } from \"neetoatoms/formik\";\nimport { noop } from \"neetocist\";\nimport CardLayout from \"neetomolecules/v2/CardLayout\";\nimport Container from \"neetomolecules/v2/Container\";\nimport Header from \"neetomolecules/v2/Header\";\nimport { Trans, useTranslation } from \"react-i18next\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { useCreateGoogleMaps } from \"hooks/reactQuery/useGoogleMapsApi\";\n\nimport {\n GOOGLE_MAPS_FORM_INITIAL_VALUES,\n GOOGLE_MAPS_VALIDATION_SCHEMA,\n} from \"./constants\";\n\nconst Form = ({ helpDocUrl = \"\", breadcrumbs = [], onConnect = noop }) => {\n const { t } = useTranslation();\n const history = useHistory();\n\n const { mutate: createGoogleMaps, isPending: isConnecting } =\n useCreateGoogleMaps({ onSuccess: () => onConnect() });\n\n const handleSubmit = ({ apiKey }) =>\n createGoogleMaps({ apiKey: apiKey.trim() });\n\n return (\n <Container isHeaderFixed>\n <Header\n {...{ breadcrumbs }}\n title={t(\"neetoIntegrations.common.connect\")}\n />\n <div className=\"w-full\">\n <FormikForm\n formikProps={{\n initialValues: GOOGLE_MAPS_FORM_INITIAL_VALUES,\n validationSchema: GOOGLE_MAPS_VALIDATION_SCHEMA,\n onSubmit: handleSubmit,\n }}\n >\n <CardLayout\n actionBlock={\n <ActionBlock\n cancelButtonProps={{ onClick: () => history.goBack() }}\n isSubmitting={isConnecting}\n submitButtonProps={{\n label: t(\"neetoIntegrations.common.connect\"),\n }}\n />\n }\n >\n <Input\n autoFocus\n required\n autoComplete=\"off\"\n dataTestId=\"google-maps-api-key\"\n label={t(\"neetoIntegrations.googleMaps.apiKey\")}\n name=\"apiKey\"\n helpText={\n <Trans\n i18nKey=\"neetoIntegrations.googleMaps.apiKeyHelpText\"\n components={{\n helpLink: (\n <Button\n data-testid=\"google-maps-api-key-help-link\"\n href={helpDocUrl}\n rel=\"noreferrer\"\n target=\"_blank\"\n variant=\"link\"\n />\n ),\n }}\n />\n }\n />\n </CardLayout>\n </FormikForm>\n </div>\n </Container>\n );\n};\n\nexport default Form;\n"],"names":["GOOGLE_MAPS_FORM_INITIAL_VALUES","apiKey","GOOGLE_MAPS_VALIDATION_SCHEMA","yup","object","shape","string","trim","required","t","entity","Form","_ref","_ref$helpDocUrl","helpDocUrl","_ref$breadcrumbs","breadcrumbs","_ref$onConnect","onConnect","noop","_useTranslation","useTranslation","history","useHistory","_useCreateGoogleMaps","useCreateGoogleMaps","onSuccess","createGoogleMaps","mutate","isConnecting","isPending","handleSubmit","_ref2","_jsxs","Container","isHeaderFixed","children","_jsx","Header","title","className","FormikForm","formikProps","initialValues","validationSchema","onSubmit","CardLayout","actionBlock","ActionBlock","cancelButtonProps","onClick","goBack","isSubmitting","submitButtonProps","label","Input","autoFocus","autoComplete","dataTestId","name","helpText","Trans","i18nKey","components","helpLink","Button","href","rel","target","variant"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGO,IAAMA,+BAA+B,GAAG;AAAEC,EAAAA,MAAM,EAAE;AAAG,CAAC;AAEtD,IAAMC,6BAA6B,GAAGC,cAAG,CAACC,MAAM,EAAE,CAACC,KAAK,CAAC;AAC9DJ,EAAAA,MAAM,EAAEE,cAAG,CACRG,MAAM,EAAE,CACRC,IAAI,EAAE,CACNC,QAAQ,CACPC,SAAC,CAAC,mCAAmC,EAAE;IACrCC,MAAM,EAAED,SAAC,CAAC,qCAAqC;AACjD,GAAC,CACH;AACJ,CAAC,CAAC;;ACEF,IAAME,IAAI,GAAG,SAAPA,IAAIA,CAAAC,IAAA,EAAgE;AAAA,EAAA,IAAAC,eAAA,GAAAD,IAAA,CAA1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|
|
4
|
+
|
|
5
|
+
var GoogleMapsIcon = function GoogleMapsIcon(_ref) {
|
|
6
|
+
var _ref$size = _ref.size,
|
|
7
|
+
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
8
|
+
_ref$className = _ref.className,
|
|
9
|
+
className = _ref$className === void 0 ? "" : _ref$className;
|
|
10
|
+
return /*#__PURE__*/jsxRuntime.jsxs("svg", {
|
|
11
|
+
className: className,
|
|
12
|
+
"aria-hidden": "true",
|
|
13
|
+
height: size,
|
|
14
|
+
viewBox: "0 0 92.3 132.3",
|
|
15
|
+
width: size,
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("path", {
|
|
18
|
+
d: "M60.2 2.2C55.8.8 51 0 46.1 0 32 0 19.3 6.4 10.8 16.5l21.8 18.3L60.2 2.2z",
|
|
19
|
+
fill: "#1a73e8"
|
|
20
|
+
}), /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
21
|
+
d: "M10.8 16.5C4.1 24.5 0 34.9 0 46.1c0 8.7 1.7 15.7 4.6 22l28-33.3-21.8-18.3z",
|
|
22
|
+
fill: "#ea4335"
|
|
23
|
+
}), /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
24
|
+
d: "M46.2 28.5c9.8 0 17.7 7.9 17.7 17.7 0 4.3-1.6 8.3-4.2 11.4 0 0 13.9-16.6 27.5-32.7-5.6-10.8-15.3-19-27-22.7L32.6 34.8c3.3-3.8 8.1-6.3 13.6-6.3",
|
|
25
|
+
fill: "#4285f4"
|
|
26
|
+
}), /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
27
|
+
d: "M46.2 63.8c-9.8 0-17.7-7.9-17.7-17.7 0-4.3 1.5-8.3 4.1-11.3l-28 33.3c4.8 10.6 12.8 19.2 21 29.9l34.1-40.5c-3.3 3.9-8.1 6.3-13.5 6.3",
|
|
28
|
+
fill: "#fbbc04"
|
|
29
|
+
}), /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
30
|
+
d: "M59.1 109.2c15.4-24.1 33.3-35 33.3-63 0-7.7-1.9-14.9-5.2-21.3L25.6 98c2.6 3.4 5.3 7.3 7.9 11.3 9.4 14.5 6.8 23.1 12.8 23.1s3.4-8.7 12.8-23.2",
|
|
31
|
+
fill: "#34a853"
|
|
32
|
+
})]
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
module.exports = GoogleMapsIcon;
|
|
37
|
+
//# sourceMappingURL=GoogleMapsIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoogleMapsIcon.js","sources":["../../../app/javascript/src/v2/components/Integrations/GoogleMaps/Icon.jsx"],"sourcesContent":["const GoogleMapsIcon = ({ size = 24, className = \"\" }) => (\n <svg\n {...{ className }}\n aria-hidden=\"true\"\n height={size}\n viewBox=\"0 0 92.3 132.3\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M60.2 2.2C55.8.8 51 0 46.1 0 32 0 19.3 6.4 10.8 16.5l21.8 18.3L60.2 2.2z\"\n fill=\"#1a73e8\"\n />\n <path\n d=\"M10.8 16.5C4.1 24.5 0 34.9 0 46.1c0 8.7 1.7 15.7 4.6 22l28-33.3-21.8-18.3z\"\n fill=\"#ea4335\"\n />\n <path\n d=\"M46.2 28.5c9.8 0 17.7 7.9 17.7 17.7 0 4.3-1.6 8.3-4.2 11.4 0 0 13.9-16.6 27.5-32.7-5.6-10.8-15.3-19-27-22.7L32.6 34.8c3.3-3.8 8.1-6.3 13.6-6.3\"\n fill=\"#4285f4\"\n />\n <path\n d=\"M46.2 63.8c-9.8 0-17.7-7.9-17.7-17.7 0-4.3 1.5-8.3 4.1-11.3l-28 33.3c4.8 10.6 12.8 19.2 21 29.9l34.1-40.5c-3.3 3.9-8.1 6.3-13.5 6.3\"\n fill=\"#fbbc04\"\n />\n <path\n d=\"M59.1 109.2c15.4-24.1 33.3-35 33.3-63 0-7.7-1.9-14.9-5.2-21.3L25.6 98c2.6 3.4 5.3 7.3 7.9 11.3 9.4 14.5 6.8 23.1 12.8 23.1s3.4-8.7 12.8-23.2\"\n fill=\"#34a853\"\n />\n </svg>\n);\n\nexport default GoogleMapsIcon;\n"],"names":["GoogleMapsIcon","_ref","_ref$size","size","_ref$className","className","_jsxs","height","viewBox","width","xmlns","children","_jsx","d","fill"],"mappings":";;;;AAAA,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAAC,SAAA,GAAAD,IAAA,CAAME,IAAI;AAAJA,IAAAA,IAAI,GAAAD,SAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,SAAA;IAAAE,cAAA,GAAAH,IAAA,CAAEI,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,cAAA;AAAA,EAAA,oBACjDE,eAAA,CAAA,KAAA,EAAA;AACQD,IAAAA,SAAS,EAATA,SAAS;AACf,IAAA,aAAA,EAAY,MAAM;AAClBE,IAAAA,MAAM,EAAEJ,IAAK;AACbK,IAAAA,OAAO,EAAC,gBAAgB;AACxBC,IAAAA,KAAK,EAAEN,IAAK;AACZO,IAAAA,KAAK,EAAC,4BAA4B;AAAAC,IAAAA,QAAA,gBAElCC,cAAA,CAAA,MAAA,EAAA;AACEC,MAAAA,CAAC,EAAC,0EAA0E;AAC5EC,MAAAA,IAAI,EAAC;KACN,CAAC,eACFF,cAAA,CAAA,MAAA,EAAA;AACEC,MAAAA,CAAC,EAAC,4EAA4E;AAC9EC,MAAAA,IAAI,EAAC;KACN,CAAC,eACFF,cAAA,CAAA,MAAA,EAAA;AACEC,MAAAA,CAAC,EAAC,gJAAgJ;AAClJC,MAAAA,IAAI,EAAC;KACN,CAAC,eACFF,cAAA,CAAA,MAAA,EAAA;AACEC,MAAAA,CAAC,EAAC,qIAAqI;AACvIC,MAAAA,IAAI,EAAC;KACN,CAAC,eACFF,cAAA,CAAA,MAAA,EAAA;AACEC,MAAAA,CAAC,EAAC,8IAA8I;AAChJC,MAAAA,IAAI,EAAC;AAAS,KACf,CAAC;AAAA,GACC,CAAC;AAAA;;;;"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
4
|
+
var React = require('react');
|
|
5
|
+
var neetoAtoms = require('@bigbinary/neeto-atoms');
|
|
6
|
+
var neetoCist = require('@bigbinary/neeto-cist');
|
|
7
|
+
var CopyToClipboardButton = require('@bigbinary/neeto-molecules/v2/CopyToClipboardButton');
|
|
8
|
+
var reactI18next = require('react-i18next');
|
|
9
|
+
var useGoogleMapsApi = require('../../useGoogleMapsApi-BY5ZIbh1.js');
|
|
10
|
+
var v2_GoogleMapsIcon = require('./GoogleMapsIcon.js');
|
|
11
|
+
var v2_Manage = require('./Manage.js');
|
|
12
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
13
|
+
require('@babel/runtime/helpers/defineProperty');
|
|
14
|
+
require('@tanstack/react-query');
|
|
15
|
+
require('@bigbinary/neeto-commons-frontend/constants');
|
|
16
|
+
require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
17
|
+
require('axios');
|
|
18
|
+
require('../../query-DFg4la-L.js');
|
|
19
|
+
require('@bigbinary/neeto-commons-frontend/v2/react-utils');
|
|
20
|
+
require('./DisconnectAlert.js');
|
|
21
|
+
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
22
|
+
require('@bigbinary/neeto-commons-frontend/v2/react-utils/withT');
|
|
23
|
+
|
|
24
|
+
var Manage = function Manage(_ref) {
|
|
25
|
+
var _ref$connectPath = _ref.connectPath,
|
|
26
|
+
connectPath = _ref$connectPath === void 0 ? "" : _ref$connectPath,
|
|
27
|
+
_ref$helpDocUrl = _ref.helpDocUrl,
|
|
28
|
+
helpDocUrl = _ref$helpDocUrl === void 0 ? "" : _ref$helpDocUrl,
|
|
29
|
+
_ref$onDisconnect = _ref.onDisconnect,
|
|
30
|
+
onDisconnect = _ref$onDisconnect === void 0 ? neetoCist.noop : _ref$onDisconnect;
|
|
31
|
+
var _useTranslation = reactI18next.useTranslation(),
|
|
32
|
+
t = _useTranslation.t;
|
|
33
|
+
var _useState = React.useState(false),
|
|
34
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
35
|
+
isDisconnectAlertOpen = _useState2[0],
|
|
36
|
+
setIsDisconnectAlertOpen = _useState2[1];
|
|
37
|
+
var _useFetchGoogleMaps = useGoogleMapsApi.useFetchGoogleMaps(),
|
|
38
|
+
_useFetchGoogleMaps$d = _useFetchGoogleMaps.data,
|
|
39
|
+
_useFetchGoogleMaps$d2 = _useFetchGoogleMaps$d === void 0 ? {} : _useFetchGoogleMaps$d,
|
|
40
|
+
_useFetchGoogleMaps$d3 = _useFetchGoogleMaps$d2.apiKey,
|
|
41
|
+
apiKey = _useFetchGoogleMaps$d3 === void 0 ? null : _useFetchGoogleMaps$d3,
|
|
42
|
+
isLoading = _useFetchGoogleMaps.isLoading;
|
|
43
|
+
var _useDestroyGoogleMaps = useGoogleMapsApi.useDestroyGoogleMaps({
|
|
44
|
+
onSuccess: function onSuccess() {
|
|
45
|
+
setIsDisconnectAlertOpen(false);
|
|
46
|
+
onDisconnect();
|
|
47
|
+
}
|
|
48
|
+
}),
|
|
49
|
+
destroyGoogleMaps = _useDestroyGoogleMaps.mutate,
|
|
50
|
+
isDisconnecting = _useDestroyGoogleMaps.isPending;
|
|
51
|
+
var isConnected = neetoCist.isPresent(apiKey);
|
|
52
|
+
if (isLoading) {
|
|
53
|
+
return /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
54
|
+
className: "flex h-full w-full items-center justify-center",
|
|
55
|
+
children: /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Spinner, {})
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
return /*#__PURE__*/jsxRuntime.jsx(v2_Manage, {
|
|
59
|
+
connectPath: connectPath,
|
|
60
|
+
helpDocUrl: helpDocUrl,
|
|
61
|
+
isConnected: isConnected,
|
|
62
|
+
isDisconnectAlertOpen: isDisconnectAlertOpen,
|
|
63
|
+
isDisconnecting: isDisconnecting,
|
|
64
|
+
setIsDisconnectAlertOpen: setIsDisconnectAlertOpen,
|
|
65
|
+
Icon: v2_GoogleMapsIcon,
|
|
66
|
+
disconnectMessage: t("neetoIntegrations.googleMaps.disconnect.message"),
|
|
67
|
+
disconnectTitle: t("neetoIntegrations.googleMaps.disconnect.title"),
|
|
68
|
+
integration: "googleMaps",
|
|
69
|
+
integrationName: t("neetoIntegrations.googleMaps.title"),
|
|
70
|
+
description: isConnected ? /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
|
|
71
|
+
as: "span",
|
|
72
|
+
variant: "body1",
|
|
73
|
+
children: /*#__PURE__*/jsxRuntime.jsx(reactI18next.Trans, {
|
|
74
|
+
i18nKey: "neetoIntegrations.googleMaps.connectedDescription",
|
|
75
|
+
values: {
|
|
76
|
+
apiKey: apiKey
|
|
77
|
+
},
|
|
78
|
+
components: {
|
|
79
|
+
wrapper: /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
80
|
+
className: "mt-2 flex items-center justify-between gap-x-3 rounded-md border border-border px-3 py-2"
|
|
81
|
+
}),
|
|
82
|
+
span: /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
83
|
+
className: "break-all text-sm"
|
|
84
|
+
}),
|
|
85
|
+
copy: /*#__PURE__*/jsxRuntime.jsx(CopyToClipboardButton, {
|
|
86
|
+
className: "shrink-0 self-start",
|
|
87
|
+
value: apiKey,
|
|
88
|
+
variant: "ghost"
|
|
89
|
+
})
|
|
90
|
+
}
|
|
91
|
+
})
|
|
92
|
+
}) : t("neetoIntegrations.googleMaps.description"),
|
|
93
|
+
title: isConnected ? t("neetoIntegrations.googleMaps.connected") : t("neetoIntegrations.common.connectIntegration", {
|
|
94
|
+
integration: t("neetoIntegrations.googleMaps.title")
|
|
95
|
+
}),
|
|
96
|
+
onClose: function onClose() {
|
|
97
|
+
return setIsDisconnectAlertOpen(false);
|
|
98
|
+
},
|
|
99
|
+
onDisconnect: function onDisconnect() {
|
|
100
|
+
return destroyGoogleMaps();
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
module.exports = Manage;
|
|
106
|
+
//# sourceMappingURL=GoogleMapsManage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoogleMapsManage.js","sources":["../../../app/javascript/src/v2/components/Integrations/GoogleMaps/Manage.jsx"],"sourcesContent":["import { useState } from \"react\";\n\nimport { Spinner, Typography } from \"neetoatoms\";\nimport { isPresent, noop } from \"neetocist\";\nimport CopyToClipboardButton from \"neetomolecules/v2/CopyToClipboardButton\";\nimport { Trans, useTranslation } from \"react-i18next\";\n\nimport {\n useDestroyGoogleMaps,\n useFetchGoogleMaps,\n} from \"hooks/reactQuery/useGoogleMapsApi\";\n\nimport GoogleMapsIcon from \"./Icon\";\n\nimport ManageIntegration from \"../../commons/Manage\";\n\nconst Manage = ({ connectPath = \"\", helpDocUrl = \"\", onDisconnect = noop }) => {\n const { t } = useTranslation();\n const [isDisconnectAlertOpen, setIsDisconnectAlertOpen] = useState(false);\n\n const { data: { apiKey = null } = {}, isLoading } = useFetchGoogleMaps();\n const { mutate: destroyGoogleMaps, isPending: isDisconnecting } =\n useDestroyGoogleMaps({\n onSuccess: () => {\n setIsDisconnectAlertOpen(false);\n onDisconnect();\n },\n });\n\n const isConnected = isPresent(apiKey);\n\n if (isLoading) {\n return (\n <div className=\"flex h-full w-full items-center justify-center\">\n <Spinner />\n </div>\n );\n }\n\n return (\n <ManageIntegration\n {...{\n connectPath,\n helpDocUrl,\n isConnected,\n isDisconnectAlertOpen,\n isDisconnecting,\n setIsDisconnectAlertOpen,\n }}\n Icon={GoogleMapsIcon}\n disconnectMessage={t(\"neetoIntegrations.googleMaps.disconnect.message\")}\n disconnectTitle={t(\"neetoIntegrations.googleMaps.disconnect.title\")}\n integration=\"googleMaps\"\n integrationName={t(\"neetoIntegrations.googleMaps.title\")}\n description={\n isConnected ? (\n <Typography as=\"span\" variant=\"body1\">\n <Trans\n i18nKey=\"neetoIntegrations.googleMaps.connectedDescription\"\n values={{ apiKey }}\n components={{\n wrapper: (\n <div className=\"mt-2 flex items-center justify-between gap-x-3 rounded-md border border-border px-3 py-2\" />\n ),\n span: <span className=\"break-all text-sm\" />,\n copy: (\n <CopyToClipboardButton\n className=\"shrink-0 self-start\"\n value={apiKey}\n variant=\"ghost\"\n />\n ),\n }}\n />\n </Typography>\n ) : (\n t(\"neetoIntegrations.googleMaps.description\")\n )\n }\n title={\n isConnected\n ? t(\"neetoIntegrations.googleMaps.connected\")\n : t(\"neetoIntegrations.common.connectIntegration\", {\n integration: t(\"neetoIntegrations.googleMaps.title\"),\n })\n }\n onClose={() => setIsDisconnectAlertOpen(false)}\n onDisconnect={() => destroyGoogleMaps()}\n />\n );\n};\n\nexport default Manage;\n"],"names":["Manage","_ref","_ref$connectPath","connectPath","_ref$helpDocUrl","helpDocUrl","_ref$onDisconnect","onDisconnect","noop","_useTranslation","useTranslation","t","_useState","useState","_useState2","_slicedToArray","isDisconnectAlertOpen","setIsDisconnectAlertOpen","_useFetchGoogleMaps","useFetchGoogleMaps","_useFetchGoogleMaps$d","data","_useFetchGoogleMaps$d2","_useFetchGoogleMaps$d3","apiKey","isLoading","_useDestroyGoogleMaps","useDestroyGoogleMaps","onSuccess","destroyGoogleMaps","mutate","isDisconnecting","isPending","isConnected","isPresent","_jsx","className","children","Spinner","ManageIntegration","Icon","GoogleMapsIcon","disconnectMessage","disconnectTitle","integration","integrationName","description","Typography","as","variant","Trans","i18nKey","values","components","wrapper","span","copy","CopyToClipboardButton","value","title","onClose"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAgBA,IAAMA,MAAM,GAAG,SAATA,MAAMA,CAAAC,IAAA,EAAmE;AAAA,EAAA,IAAAC,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