@bigbinary/neeto-integrations-frontend 2.12.4 → 2.12.6
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 +4 -1
- package/dist/Daily.cjs.js +44 -25
- package/dist/Daily.cjs.js.map +1 -1
- package/dist/Daily.js +41 -25
- package/dist/Daily.js.map +1 -1
- package/dist/GoogleCalender.cjs.js +44 -25
- package/dist/GoogleCalender.cjs.js.map +1 -1
- package/dist/GoogleCalender.js +41 -25
- package/dist/GoogleCalender.js.map +1 -1
- package/dist/ZapierForm.cjs.js +4 -7
- package/dist/ZapierForm.cjs.js.map +1 -1
- package/dist/ZapierForm.js +4 -8
- package/dist/ZapierForm.js.map +1 -1
- package/dist/Zoom.cjs.js +44 -25
- package/dist/Zoom.cjs.js.map +1 -1
- package/dist/Zoom.js +41 -25
- package/dist/Zoom.js.map +1 -1
- package/dist/index.cjs.js +44 -25
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +41 -25
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
package/dist/GoogleCalender.js
CHANGED
|
@@ -15,6 +15,9 @@ import i18next, { t as t$1 } from 'i18next';
|
|
|
15
15
|
import { DEFAULT_STALE_TIME } from '@bigbinary/neeto-commons-frontend/constants';
|
|
16
16
|
import { useQuery } from 'react-query';
|
|
17
17
|
import axios from 'axios';
|
|
18
|
+
import Container from '@bigbinary/neeto-molecules/Container';
|
|
19
|
+
import Header from '@bigbinary/neeto-molecules/Header';
|
|
20
|
+
import HelpPopover from '@bigbinary/neeto-molecules/HelpPopover';
|
|
18
21
|
import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
|
|
19
22
|
import { Form as Form$2, Input } from '@bigbinary/neetoui/formik';
|
|
20
23
|
import 'ramda';
|
|
@@ -374,7 +377,8 @@ var DAILY_CO_VALIDATION_SCHEMA = yup.object().shape({
|
|
|
374
377
|
var Form = function Form(_ref) {
|
|
375
378
|
var helpDocUrl = _ref.helpDocUrl,
|
|
376
379
|
videoUrl = _ref.videoUrl,
|
|
377
|
-
onConnect = _ref.onConnect
|
|
380
|
+
onConnect = _ref.onConnect,
|
|
381
|
+
breadcrumbs = _ref.breadcrumbs;
|
|
378
382
|
var _useTranslation = useTranslation(),
|
|
379
383
|
t = _useTranslation.t;
|
|
380
384
|
var _useState = useState(false),
|
|
@@ -394,7 +398,37 @@ var Form = function Form(_ref) {
|
|
|
394
398
|
if (isConnecting) {
|
|
395
399
|
return /*#__PURE__*/React__default.createElement(PageLoader, null);
|
|
396
400
|
}
|
|
397
|
-
return /*#__PURE__*/React__default.createElement(
|
|
401
|
+
return /*#__PURE__*/React__default.createElement(Container, {
|
|
402
|
+
isHeaderFixed: true
|
|
403
|
+
}, /*#__PURE__*/React__default.createElement(Header, {
|
|
404
|
+
breadcrumbs: breadcrumbs,
|
|
405
|
+
title: /*#__PURE__*/React__default.createElement("span", {
|
|
406
|
+
className: "flex items-center gap-2"
|
|
407
|
+
}, t("neetoIntegrations.daily.connect.title"), /*#__PURE__*/React__default.createElement(HelpPopover, {
|
|
408
|
+
title: t("neetoIntegrations.daily.connect.title"),
|
|
409
|
+
description: /*#__PURE__*/React__default.createElement(Trans, {
|
|
410
|
+
i18nKey: "neetoIntegrations.daily.helpDoc",
|
|
411
|
+
components: {
|
|
412
|
+
externalLink: /*#__PURE__*/React__default.createElement(ExternalLink$1, {
|
|
413
|
+
"data-cy": "api-key-help-doc-link",
|
|
414
|
+
href: helpDocUrl,
|
|
415
|
+
rel: "noreferrer",
|
|
416
|
+
target: "_blank"
|
|
417
|
+
})
|
|
418
|
+
}
|
|
419
|
+
}),
|
|
420
|
+
helpLinkProps: {
|
|
421
|
+
label: /*#__PURE__*/React__default.createElement(Button, {
|
|
422
|
+
className: "mt-8",
|
|
423
|
+
label: t("neetoIntegrations.daily.walkthroughText"),
|
|
424
|
+
style: "link",
|
|
425
|
+
onClick: function onClick() {
|
|
426
|
+
return setIsDemoModalOpen(true);
|
|
427
|
+
}
|
|
428
|
+
})
|
|
429
|
+
}
|
|
430
|
+
}))
|
|
431
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
|
398
432
|
className: "mx-auto w-full max-w-md"
|
|
399
433
|
}, /*#__PURE__*/React__default.createElement(Form$2, {
|
|
400
434
|
formikProps: {
|
|
@@ -405,32 +439,14 @@ var Form = function Form(_ref) {
|
|
|
405
439
|
}, function (_ref2) {
|
|
406
440
|
var dirty = _ref2.dirty;
|
|
407
441
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
408
|
-
className: "mt-
|
|
442
|
+
className: "mt-14 w-full space-y-5"
|
|
409
443
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
410
|
-
className: "block"
|
|
444
|
+
className: "block min-h-20"
|
|
411
445
|
}, /*#__PURE__*/React__default.createElement(Input, {
|
|
412
446
|
autoFocus: true,
|
|
413
447
|
required: true,
|
|
414
448
|
label: t("neetoIntegrations.daily.apiKey"),
|
|
415
|
-
name: "apiKey"
|
|
416
|
-
helpText: /*#__PURE__*/React__default.createElement(Trans, {
|
|
417
|
-
i18nKey: "neetoIntegrations.daily.helpDoc",
|
|
418
|
-
components: {
|
|
419
|
-
externalLink: /*#__PURE__*/React__default.createElement(ExternalLink$1, {
|
|
420
|
-
"data-cy": "api-key-help-doc-link",
|
|
421
|
-
href: helpDocUrl,
|
|
422
|
-
rel: "noreferrer",
|
|
423
|
-
target: "_blank"
|
|
424
|
-
})
|
|
425
|
-
}
|
|
426
|
-
})
|
|
427
|
-
}), /*#__PURE__*/React__default.createElement(Button, {
|
|
428
|
-
className: "mt-8",
|
|
429
|
-
label: t("neetoIntegrations.daily.walkthroughText"),
|
|
430
|
-
style: "link",
|
|
431
|
-
onClick: function onClick() {
|
|
432
|
-
return setIsDemoModalOpen(true);
|
|
433
|
-
}
|
|
449
|
+
name: "apiKey"
|
|
434
450
|
})), /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(Button, {
|
|
435
451
|
disabled: isConnecting || !dirty,
|
|
436
452
|
label: t("neetoIntegrations.common.connect"),
|
|
@@ -443,7 +459,7 @@ var Form = function Form(_ref) {
|
|
|
443
459
|
onClose: function onClose() {
|
|
444
460
|
return setIsDemoModalOpen(false);
|
|
445
461
|
}
|
|
446
|
-
}));
|
|
462
|
+
})));
|
|
447
463
|
};
|
|
448
464
|
var Form$1 = withTitle(Form, i18next.t("neetoIntegrations.browserTitles.integrations.dailyco"));
|
|
449
465
|
|
|
@@ -499,7 +515,7 @@ var Manage = function Manage(_ref) {
|
|
|
499
515
|
apiKey: apiKey
|
|
500
516
|
}
|
|
501
517
|
}) : description,
|
|
502
|
-
title: isConnected ? t("neetoIntegrations.daily.connected") : t("neetoIntegrations.daily.connect"),
|
|
518
|
+
title: isConnected ? t("neetoIntegrations.daily.connected") : t("neetoIntegrations.daily.connect.account"),
|
|
503
519
|
onClose: function onClose() {
|
|
504
520
|
return setIsDisconnectAlertOpen(false);
|
|
505
521
|
},
|