@bigbinary/neeto-integrations-frontend 3.0.0 → 3.1.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.
- package/app/javascript/src/translations/en.json +1 -1
- package/dist/Daily.cjs.js +26 -75
- package/dist/Daily.cjs.js.map +1 -1
- package/dist/Daily.js +24 -72
- package/dist/Daily.js.map +1 -1
- package/dist/GoogleCalender.cjs.js +25 -74
- package/dist/GoogleCalender.cjs.js.map +1 -1
- package/dist/GoogleCalender.js +26 -74
- package/dist/GoogleCalender.js.map +1 -1
- package/dist/Twilio.cjs.js.map +1 -1
- package/dist/Twilio.js.map +1 -1
- package/dist/ZapierForm.cjs.js +1 -1
- package/dist/ZapierForm.cjs.js.map +1 -1
- package/dist/ZapierForm.js +1 -1
- package/dist/ZapierForm.js.map +1 -1
- package/dist/Zoom.cjs.js +20 -69
- package/dist/Zoom.cjs.js.map +1 -1
- package/dist/Zoom.js +21 -69
- package/dist/Zoom.js.map +1 -1
- package/dist/index.cjs.js +28 -77
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +28 -76
- package/dist/index.js.map +1 -1
- package/package.json +15 -13
package/dist/Daily.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import React__default, { useState } from 'react';
|
|
3
1
|
import i18next, { t as t$1 } from 'i18next';
|
|
4
2
|
import { humanize, noop, isNotEmpty, isPresent } from '@bigbinary/neeto-cist';
|
|
5
3
|
import { useMutationWithInvalidation, withT, withTitle, useQueryParams } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
6
4
|
import { useQuery } from '@tanstack/react-query';
|
|
7
5
|
import { DEFAULT_STALE_TIME } from '@bigbinary/neeto-commons-frontend/constants';
|
|
8
6
|
import axios from 'axios';
|
|
7
|
+
import * as React from 'react';
|
|
8
|
+
import { useState } from 'react';
|
|
9
9
|
import Container from '@bigbinary/neeto-molecules/Container';
|
|
10
10
|
import Header from '@bigbinary/neeto-molecules/Header';
|
|
11
11
|
import HelpPopover from '@bigbinary/neeto-molecules/HelpPopover';
|
|
12
12
|
import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
|
|
13
13
|
import Button from '@bigbinary/neetoui/Button';
|
|
14
|
+
import Typography from '@bigbinary/neetoui/Typography';
|
|
14
15
|
import Input from '@bigbinary/neetoui/formik/Input';
|
|
15
16
|
import FormikFormWrapper from '@bigbinary/neetoui/formik/Form';
|
|
16
17
|
import ActionBlock from '@bigbinary/neetoui/formik/ActionBlock';
|
|
17
18
|
import { Trans, useTranslation } from 'react-i18next';
|
|
18
19
|
import { useHistory } from 'react-router-dom';
|
|
19
|
-
import classnames from 'classnames';
|
|
20
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
21
20
|
import '@bigbinary/neeto-molecules/IntegrationCard';
|
|
22
21
|
import DisconnectAlert from '@bigbinary/neeto-molecules/IntegrationDisconnectAlert';
|
|
23
22
|
import WalkthroughModal from '@bigbinary/neeto-molecules/IntegrationWalkthroughModal';
|
|
23
|
+
import classnames from 'classnames';
|
|
24
24
|
import Check from '@bigbinary/neeto-icons/Check';
|
|
25
25
|
import Tooltip from '@bigbinary/neetoui/Tooltip';
|
|
26
|
-
import Typography from '@bigbinary/neetoui/Typography';
|
|
27
26
|
import { buildUrl } from '@bigbinary/neeto-commons-frontend/utils';
|
|
28
27
|
import DailyIcon from '@bigbinary/neeto-icons/misc/Daily';
|
|
29
28
|
import CopyToClipboardButton from '@bigbinary/neeto-molecules/CopyToClipboardButton';
|
|
29
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
30
30
|
import '@bigbinary/neeto-icons/misc/GoogleCalendar';
|
|
31
31
|
import '@bigbinary/neeto-icons/misc/Google';
|
|
32
32
|
import '@bigbinary/neetoui/Callout';
|
|
@@ -104,11 +104,11 @@ var QUERY_KEYS = {
|
|
|
104
104
|
ZOOM_DETAILS: "zoom-details"
|
|
105
105
|
};
|
|
106
106
|
|
|
107
|
-
function ownKeys$
|
|
108
|
-
function _objectSpread$
|
|
107
|
+
function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
108
|
+
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
109
109
|
var useCreateDaily = function useCreateDaily() {
|
|
110
110
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
111
|
-
return useMutationWithInvalidation(dailiesApi.create, _objectSpread$
|
|
111
|
+
return useMutationWithInvalidation(dailiesApi.create, _objectSpread$3({
|
|
112
112
|
keysToInvalidate: [[QUERY_KEYS.DAILY_CO_DETAILS]]
|
|
113
113
|
}, options));
|
|
114
114
|
};
|
|
@@ -182,52 +182,6 @@ function _slicedToArray(arr, i) {
|
|
|
182
182
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
186
|
-
if (source == null) return {};
|
|
187
|
-
var target = {};
|
|
188
|
-
var sourceKeys = Object.keys(source);
|
|
189
|
-
var key, i;
|
|
190
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
191
|
-
key = sourceKeys[i];
|
|
192
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
193
|
-
target[key] = source[key];
|
|
194
|
-
}
|
|
195
|
-
return target;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
function _objectWithoutProperties(source, excluded) {
|
|
199
|
-
if (source == null) return {};
|
|
200
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
201
|
-
var key, i;
|
|
202
|
-
if (Object.getOwnPropertySymbols) {
|
|
203
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
204
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
205
|
-
key = sourceSymbolKeys[i];
|
|
206
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
207
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
208
|
-
target[key] = source[key];
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
return target;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
var _excluded = ["className", "children"];
|
|
215
|
-
function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
216
|
-
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
217
|
-
var ExternalLink = function ExternalLink(_ref) {
|
|
218
|
-
var _ref$className = _ref.className,
|
|
219
|
-
className = _ref$className === void 0 ? "" : _ref$className,
|
|
220
|
-
_ref$children = _ref.children,
|
|
221
|
-
children = _ref$children === void 0 ? null : _ref$children,
|
|
222
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
223
|
-
return /*#__PURE__*/jsx("a", _objectSpread$3(_objectSpread$3({
|
|
224
|
-
className: classnames(["neeto-ui-text-primary-800 hover:neeto-ui-text-primary-800 visited:neeto-ui-text-primary-600 font-medium", className])
|
|
225
|
-
}, props), {}, {
|
|
226
|
-
children: children
|
|
227
|
-
}));
|
|
228
|
-
};
|
|
229
|
-
var ExternalLink$1 = /*#__PURE__*/React__default.memo(ExternalLink);
|
|
230
|
-
|
|
231
185
|
function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
232
186
|
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
233
187
|
var Manage$1 = withT(function (_ref) {
|
|
@@ -728,26 +682,24 @@ var Form = function Form(_ref) {
|
|
|
728
682
|
className: "flex items-center gap-2",
|
|
729
683
|
children: [t("neetoIntegrations.daily.connect.title"), /*#__PURE__*/jsx(HelpPopover, {
|
|
730
684
|
title: t("neetoIntegrations.daily.connect.title"),
|
|
731
|
-
description: /*#__PURE__*/jsx(
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
label: /*#__PURE__*/jsx(Button, {
|
|
744
|
-
className: "mt-8",
|
|
745
|
-
label: t("neetoIntegrations.daily.walkthroughText"),
|
|
746
|
-
style: "link",
|
|
747
|
-
onClick: function onClick() {
|
|
748
|
-
return setIsDemoModalOpen(true);
|
|
685
|
+
description: /*#__PURE__*/jsx(Typography, {
|
|
686
|
+
lineHeight: "normal",
|
|
687
|
+
style: "body2",
|
|
688
|
+
children: /*#__PURE__*/jsx(Trans, {
|
|
689
|
+
i18nKey: "neetoIntegrations.daily.helpDoc",
|
|
690
|
+
components: {
|
|
691
|
+
videoLink: /*#__PURE__*/jsx(Button, {
|
|
692
|
+
style: "link",
|
|
693
|
+
onClick: function onClick() {
|
|
694
|
+
return setIsDemoModalOpen(true);
|
|
695
|
+
}
|
|
696
|
+
})
|
|
749
697
|
}
|
|
750
698
|
})
|
|
699
|
+
}),
|
|
700
|
+
helpLinkProps: {
|
|
701
|
+
href: helpDocUrl,
|
|
702
|
+
"data-cy": "api-key-help-doc-link"
|
|
751
703
|
}
|
|
752
704
|
})]
|
|
753
705
|
})
|