@bigbinary/neeto-custom-domains-frontend 3.2.2 → 3.3.1

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 (45) hide show
  1. package/README.md +65 -8
  2. package/app/javascript/src/translations/ar.json +9 -6
  3. package/app/javascript/src/translations/bg.json +9 -6
  4. package/app/javascript/src/translations/ca.json +9 -6
  5. package/app/javascript/src/translations/cs.json +9 -6
  6. package/app/javascript/src/translations/da.json +9 -6
  7. package/app/javascript/src/translations/de.json +9 -6
  8. package/app/javascript/src/translations/en.json +7 -5
  9. package/app/javascript/src/translations/es-MX.json +9 -6
  10. package/app/javascript/src/translations/es.json +9 -6
  11. package/app/javascript/src/translations/et.json +9 -6
  12. package/app/javascript/src/translations/fi.json +9 -6
  13. package/app/javascript/src/translations/fil.json +9 -6
  14. package/app/javascript/src/translations/fr.json +9 -6
  15. package/app/javascript/src/translations/he.json +9 -6
  16. package/app/javascript/src/translations/hi.json +9 -6
  17. package/app/javascript/src/translations/hr.json +9 -6
  18. package/app/javascript/src/translations/hu.json +9 -6
  19. package/app/javascript/src/translations/id.json +9 -6
  20. package/app/javascript/src/translations/it.json +9 -6
  21. package/app/javascript/src/translations/ja.json +9 -6
  22. package/app/javascript/src/translations/ko.json +9 -6
  23. package/app/javascript/src/translations/nl.json +9 -6
  24. package/app/javascript/src/translations/pl.json +9 -6
  25. package/app/javascript/src/translations/pt-BR.json +9 -6
  26. package/app/javascript/src/translations/pt.json +9 -6
  27. package/app/javascript/src/translations/ro.json +9 -6
  28. package/app/javascript/src/translations/ru.json +9 -6
  29. package/app/javascript/src/translations/sk.json +9 -6
  30. package/app/javascript/src/translations/sl.json +9 -6
  31. package/app/javascript/src/translations/sv.json +9 -6
  32. package/app/javascript/src/translations/th.json +9 -6
  33. package/app/javascript/src/translations/tr.json +9 -6
  34. package/app/javascript/src/translations/uk.json +9 -6
  35. package/app/javascript/src/translations/vi.json +9 -6
  36. package/app/javascript/src/translations/zh-CN.json +9 -6
  37. package/app/javascript/src/translations/zh-TW.json +9 -6
  38. package/dist/.ready +1 -0
  39. package/dist/CustomDomain.js +77 -46
  40. package/dist/CustomDomain.js.map +1 -1
  41. package/dist/cjs/CustomDomain.js +74 -43
  42. package/dist/cjs/CustomDomain.js.map +1 -1
  43. package/dist/cjs/index.js +3 -3
  44. package/dist/index.js +3 -3
  45. package/package.json +27 -27
@@ -31,7 +31,7 @@
31
31
  "search": "Tìm kiếm tên miền tùy chỉnh",
32
32
  "notFound": "Không có tên miền tùy chỉnh nào để hiển thị.",
33
33
  "placeholder": "{{subdomainPlaceholder,anyCase}}.yourbusiness.com",
34
- "redirectionTooltipDescription": "Miền tùy chỉnh của bạn đang hoạt động. Truy cập <b>{{fromDomain}}</b> sẽ chuyển hướng bạn đến <b>{{toDomain}}</b>.",
34
+ "redirectionTooltipDescription": "Miền tùy chỉnh của bạn đã được xác minh và đang hoạt động. Truy cập <b>{{fromDomain}}</b> sẽ chuyển hướng bạn đến <b>{{toDomain}}</b>.",
35
35
  "cname": "CNAME",
36
36
  "label": "Tên miền",
37
37
  "domainValidation": "Xác thực tên miền",
@@ -90,13 +90,16 @@
90
90
  "customDomain": "Thêm tên miền theo ý bạn nếu bạn không muốn sử dụng tên miền mặc định của Neeto."
91
91
  },
92
92
  "noData": {
93
- "title": "Không miền tùy chỉnh nào được thêm.",
94
- "helpText": "Thêm miền tùy chỉnh của bạn để có URL cá nhân hóa."
93
+ "title": "Thiết lập miền tùy chỉnh của bạn",
94
+ "helpText": "Thêm miền tùy chỉnh của bạn để có URL cá nhân hóa.",
95
+ "helpTextDefault": "Thêm miền tùy chỉnh của bạn để có URL cá nhân hóa.",
96
+ "helpTextDisconnected": "Để tìm hiểu cách thiết lập miền tùy chỉnh, hãy truy cập bài viết <Link>giúp đỡ</Link>.",
97
+ "helpTextConnected": "Để tìm hiểu thêm về các miền tùy chỉnh, hãy truy cập bài viết <Link>giúp đỡ</Link>."
95
98
  },
96
99
  "tooltipContent": "Xóa miền tùy chỉnh đã thêm hiện tại để thêm một miền mới.",
97
- "activeTooltipDescription": "Miền tùy chỉnh của bạn đang hoạt động.",
98
- "pendingTooltipDescription": "Miền tùy chỉnh của bạn đang chờ xác thực.",
100
+ "activeTooltipDescription": "Miền tùy chỉnh của bạn đã được xác minh và đang hoạt động.",
101
+ "pendingTooltipDescription": "Miền tùy chỉnh của bạn đang chờ xác minh. Các thay đổi DNS có thể mất tới 48 giờ để cập nhật.",
99
102
  "failedTooltipDescription": "Miền tùy chỉnh của bạn không thể xác thực. Vui lòng thử lại sau.",
100
103
  "domainValidationTitle": "Thêm bản ghi DNS vào nhà cung cấp DNS của bạn"
101
104
  }
102
- }
105
+ }
@@ -31,7 +31,7 @@
31
31
  "search": "搜索自定义域名",
32
32
  "notFound": "没有自定义域名可显示。",
33
33
  "placeholder": "{{subdomainPlaceholder,anyCase}}.yourbusiness.com",
34
- "redirectionTooltipDescription": "您的自定义域处于活动状态。访问 <b>{{fromDomain}}</b> 将重定向到 <b>{{toDomain}}</b>。",
34
+ "redirectionTooltipDescription": "您的自定义域名已验证并处于活动状态。访问 <b>{{fromDomain}}</b> 将重定向到 <b>{{toDomain}}</b>。",
35
35
  "cname": "CNAME",
36
36
  "label": "域名",
37
37
  "domainValidation": "域名验证",
@@ -90,13 +90,16 @@
90
90
  "customDomain": "如果您不想使用默认的 Neeto 域名,请添加您选择的域名。"
91
91
  },
92
92
  "noData": {
93
- "title": "没有添加自定义域。",
94
- "helpText": "添加您的自定义域以拥有个性化 URL。"
93
+ "title": "设置您的自定义域名",
94
+ "helpText": "添加您的自定义域以拥有个性化 URL。",
95
+ "helpTextDefault": "添加您的自定义域名以拥有个性化网址。",
96
+ "helpTextDisconnected": "要了解如何设置自定义域名,请访问此 <Link>帮助文章</Link>。",
97
+ "helpTextConnected": "要了解更多关于自定义域名的信息,请访问此 <Link>帮助文章</Link>。"
95
98
  },
96
99
  "tooltipContent": "删除当前添加的自定义域以添加新的域。",
97
- "activeTooltipDescription": "您的自定义域处于活动状态。",
98
- "pendingTooltipDescription": "您的自定义域正在等待验证。",
100
+ "activeTooltipDescription": "您的自定义域名已验证并处于活动状态。",
101
+ "pendingTooltipDescription": "您的自定义域名正在等待验证。DNS更改可能需要最多48小时才能生效。",
99
102
  "failedTooltipDescription": "您的自定义域验证失败。请稍后再试。",
100
103
  "domainValidationTitle": "将 DNS 记录添加到您的 DNS 提供商"
101
104
  }
102
- }
105
+ }
@@ -31,7 +31,7 @@
31
31
  "search": "搜尋自訂網域",
32
32
  "notFound": "沒有自訂網域可顯示。",
33
33
  "placeholder": "{{subdomainPlaceholder,anyCase}}.yourbusiness.com",
34
- "redirectionTooltipDescription": "您的自訂網域是啟用的。訪問 <b>{{fromDomain}}</b> 將重定向到 <b>{{toDomain}}</b>。",
34
+ "redirectionTooltipDescription": "您的自訂網域已被驗證且處於啟用狀態。訪問 <b>{{fromDomain}}</b> 將重定向到 <b>{{toDomain}}</b>。",
35
35
  "cname": "CNAME",
36
36
  "label": "網域名稱",
37
37
  "domainValidation": "網域驗證",
@@ -90,13 +90,16 @@
90
90
  "customDomain": "新增您選擇的網域,以防您不想使用默認的 Neeto 網域。"
91
91
  },
92
92
  "noData": {
93
- "title": "尚未添加任何自訂網域。",
94
- "helpText": "添加您的自訂網域以擁有個性化的 URL。"
93
+ "title": "設置您的自訂網域",
94
+ "helpText": "添加您的自訂網域以擁有個性化的 URL。",
95
+ "helpTextDefault": "添加您的自訂網域以擁有個性化的 URL。",
96
+ "helpTextDisconnected": "要了解如何設置自訂網域,請訪問這篇 <Link>幫助文章</Link>。",
97
+ "helpTextConnected": "要了解更多有關自訂網域的信息,請訪問這篇 <Link>幫助文章</Link>。"
95
98
  },
96
99
  "tooltipContent": "刪除目前已添加的自訂網域以添加新的網域。",
97
- "activeTooltipDescription": "您的自訂網域是啟用的。",
98
- "pendingTooltipDescription": "您的自訂網域正在驗證中。",
100
+ "activeTooltipDescription": "您的自訂網域已被驗證且處於啟用狀態。",
101
+ "pendingTooltipDescription": "您的自訂網域正在等待驗證。DNS 更改可能需要最多 48 小時才能生效。",
99
102
  "failedTooltipDescription": "您的自訂網域驗證失敗。請稍後再試。",
100
103
  "domainValidationTitle": "將 DNS 記錄添加到您的 DNS 提供商"
101
104
  }
102
- }
105
+ }
package/dist/.ready ADDED
@@ -0,0 +1 @@
1
+ Built at 2026-05-29T05:03:54.461Z
@@ -2,12 +2,12 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
2
  import { createElement, useState, useEffect, memo } from 'react';
3
3
  import { isPresent, truncate, isNotEmpty, noop } from '@bigbinary/neeto-cist';
4
4
  import { withT, useQueryParams } from '@bigbinary/neeto-commons-frontend/react-utils';
5
- import Container from '@bigbinary/neeto-molecules/Container';
6
5
  import Spinner from '@bigbinary/neetoui/Spinner';
7
6
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
8
7
  import { useQuery, useQueryClient } from '@tanstack/react-query';
9
8
  import useMutationWithInvalidation from '@bigbinary/neeto-commons-frontend/react-utils/useMutationWithInvalidation';
10
9
  import axios from 'axios';
10
+ import Container from '@bigbinary/neeto-molecules/Container';
11
11
  import Alert from '@bigbinary/neetoui/Alert';
12
12
  import { Trans, useTranslation } from 'react-i18next';
13
13
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -15,11 +15,11 @@ import classNames from 'classnames';
15
15
  import { SINGULAR } from '@bigbinary/neeto-commons-frontend/constants';
16
16
  import CustomDomain$1 from '@bigbinary/neeto-icons/CustomDomain';
17
17
  import ExternalLink from '@bigbinary/neeto-icons/ExternalLink';
18
- import CardLayout from '@bigbinary/neeto-molecules/CardLayout';
19
- import MoreDropdown from '@bigbinary/neeto-molecules/MoreDropdown';
20
18
  import Button from '@bigbinary/neetoui/Button';
21
19
  import Typography from '@bigbinary/neetoui/Typography';
22
20
  import Tooltip from '@bigbinary/neetoui/Tooltip';
21
+ import CardLayout from '@bigbinary/neeto-molecules/CardLayout';
22
+ import MoreDropdown from '@bigbinary/neeto-molecules/MoreDropdown';
23
23
  import CheckCircle from '@bigbinary/neeto-icons/CheckCircle';
24
24
  import Warning2 from '@bigbinary/neeto-icons/Warning2';
25
25
  import CloseCircle from '@bigbinary/neeto-icons/CloseCircle';
@@ -73,7 +73,7 @@ var domainsApi = {
73
73
  var DOMAIN_QUERY_KEY = "custom-domain";
74
74
 
75
75
  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; }
76
- 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; }
76
+ 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), true).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; }
77
77
  var useCreateCustomDomain = function useCreateCustomDomain(url) {
78
78
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
79
79
  return useMutationWithInvalidation(function (payload) {
@@ -161,9 +161,12 @@ var DNS_TARGETS = {
161
161
 
162
162
  var Domain = function Domain(_ref) {
163
163
  var isCustomDomainAdded = _ref.isCustomDomainAdded,
164
+ disconnectedIntegrationCardDescription = _ref.disconnectedIntegrationCardDescription,
165
+ connectedIntegrationCardDescription = _ref.connectedIntegrationCardDescription,
164
166
  openPane = _ref.openPane,
165
167
  customDomains = _ref.customDomains,
166
168
  openDeleteAlert = _ref.openDeleteAlert,
169
+ helpDocUrl = _ref.helpDocUrl,
167
170
  setSelectedCustomDomain = _ref.setSelectedCustomDomain;
168
171
  var _useTranslation = useTranslation(),
169
172
  t = _useTranslation.t;
@@ -259,19 +262,39 @@ var Domain = function Domain(_ref) {
259
262
  "data-testid": "delete-custom-domain-button"
260
263
  }]
261
264
  })]
262
- }), /*#__PURE__*/jsxs(Typography, {
263
- className: "neeto-ui-text-gray-600",
264
- style: "body2",
265
- children: [(customDomain === null || customDomain === void 0 ? void 0 : customDomain.status) === "active" && (customDomain === null || customDomain === void 0 ? void 0 : customDomain.redirection) && /*#__PURE__*/jsx(Trans, {
266
- components: {
267
- b: /*#__PURE__*/jsx("b", {})
268
- },
269
- i18nKey: "neetoCustomDomains.redirectionTooltipDescription",
270
- values: {
271
- fromDomain: customDomain === null || customDomain === void 0 ? void 0 : customDomain.hostname,
272
- toDomain: customDomain === null || customDomain === void 0 || (_customDomain$redirec = customDomain.redirection) === null || _customDomain$redirec === void 0 ? void 0 : _customDomain$redirec.toHostname
273
- }
274
- }), (customDomain === null || customDomain === void 0 ? void 0 : customDomain.status) === "active" && !(customDomain !== null && customDomain !== void 0 && customDomain.redirection) && t("neetoCustomDomains.activeTooltipDescription"), (customDomain === null || customDomain === void 0 ? void 0 : customDomain.status) === "pending" && t("neetoCustomDomains.pendingTooltipDescription"), (customDomain === null || customDomain === void 0 ? void 0 : customDomain.status) === "failed" && t("neetoCustomDomains.failedTooltipDescription")]
265
+ }), /*#__PURE__*/jsxs("div", {
266
+ children: [/*#__PURE__*/jsxs(Typography, {
267
+ className: "neeto-ui-text-gray-600",
268
+ style: "body2",
269
+ children: [(customDomain === null || customDomain === void 0 ? void 0 : customDomain.status) === "active" && (customDomain === null || customDomain === void 0 ? void 0 : customDomain.redirection) && /*#__PURE__*/jsxs("span", {
270
+ children: [/*#__PURE__*/jsx(Trans, {
271
+ components: {
272
+ b: /*#__PURE__*/jsx("b", {})
273
+ },
274
+ i18nKey: "neetoCustomDomains.redirectionTooltipDescription",
275
+ values: {
276
+ fromDomain: customDomain === null || customDomain === void 0 ? void 0 : customDomain.hostname,
277
+ toDomain: customDomain === null || customDomain === void 0 || (_customDomain$redirec = customDomain.redirection) === null || _customDomain$redirec === void 0 ? void 0 : _customDomain$redirec.toHostname
278
+ }
279
+ }), " ", connectedIntegrationCardDescription || ""]
280
+ }), (customDomain === null || customDomain === void 0 ? void 0 : customDomain.status) === "active" && !(customDomain !== null && customDomain !== void 0 && customDomain.redirection) && /*#__PURE__*/jsxs("span", {
281
+ children: [t("neetoCustomDomains.activeTooltipDescription"), " ", connectedIntegrationCardDescription || ""]
282
+ }), (customDomain === null || customDomain === void 0 ? void 0 : customDomain.status) === "pending" && t("neetoCustomDomains.pendingTooltipDescription"), (customDomain === null || customDomain === void 0 ? void 0 : customDomain.status) === "failed" && t("neetoCustomDomains.failedTooltipDescription")]
283
+ }), /*#__PURE__*/jsx(Typography, {
284
+ className: "neeto-ui-text-gray-600 mt-2",
285
+ style: "body2",
286
+ children: /*#__PURE__*/jsx(Trans, {
287
+ i18nKey: "neetoCustomDomains.noData.helpTextConnected",
288
+ components: {
289
+ Link: /*#__PURE__*/jsx(Button, {
290
+ href: helpDocUrl,
291
+ rel: "noreferrer",
292
+ style: "link",
293
+ target: "_blank"
294
+ })
295
+ }
296
+ })
297
+ })]
275
298
  })]
276
299
  })]
277
300
  }, index);
@@ -298,10 +321,26 @@ var Domain = function Domain(_ref) {
298
321
  style: "h4",
299
322
  weight: "medium",
300
323
  children: t("neetoCustomDomains.noData.title")
301
- }), /*#__PURE__*/jsx(Typography, {
302
- className: "neeto-ui-text-gray-600",
303
- style: "body2",
304
- children: t("neetoCustomDomains.noData.helpText")
324
+ }), /*#__PURE__*/jsxs("div", {
325
+ children: [/*#__PURE__*/jsx(Typography, {
326
+ className: "neeto-ui-text-gray-600",
327
+ style: "body2",
328
+ children: disconnectedIntegrationCardDescription || t("neetoCustomDomains.noData.helpTextDefault")
329
+ }), /*#__PURE__*/jsx(Typography, {
330
+ className: "neeto-ui-text-gray-600 mt-2",
331
+ style: "body2",
332
+ children: /*#__PURE__*/jsx(Trans, {
333
+ i18nKey: "neetoCustomDomains.noData.helpTextDisconnected",
334
+ components: {
335
+ Link: /*#__PURE__*/jsx(Button, {
336
+ href: helpDocUrl,
337
+ rel: "noreferrer",
338
+ style: "link",
339
+ target: "_blank"
340
+ })
341
+ }
342
+ })
343
+ })]
305
344
  })]
306
345
  })]
307
346
  })
@@ -983,7 +1022,7 @@ var strategyOptions = [{
983
1022
  }];
984
1023
 
985
1024
  function ownKeys$1(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; }
986
- function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1025
+ function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
987
1026
  var Strategy = withT(function (_ref) {
988
1027
  var t = _ref.t,
989
1028
  hostname = _ref.hostname,
@@ -1069,7 +1108,7 @@ var Strategy = withT(function (_ref) {
1069
1108
  });
1070
1109
 
1071
1110
  function ownKeys(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; }
1072
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1111
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1073
1112
  var DomainField = function DomainField(_ref) {
1074
1113
  var onCreate = _ref.onCreate,
1075
1114
  url = _ref.url,
@@ -1836,7 +1875,7 @@ var Validation = function Validation(_ref) {
1836
1875
  });
1837
1876
  };
1838
1877
 
1839
- var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
1878
+ var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=true===r.prepend?"prepend":"append",d=true===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
1840
1879
 
1841
1880
  var css = ".neeto_custom_domain_stepper button{cursor:default!important}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwcC9qYXZhc2NyaXB0L3N0eWxlc2hlZXRzL2RvbWFpbnMvX292ZXJyaWRlcy5zY3NzIiwiYXBwL2phdmFzY3JpcHQvc3R5bGVzaGVldHMvYXBwbGljYXRpb24uc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDRSxvQ0FDRSx3QkNBSiIsInNvdXJjZXNDb250ZW50IjpbIi5uZWV0b19jdXN0b21fZG9tYWluX3N0ZXBwZXIge1xuICBidXR0b24ge1xuICAgIGN1cnNvcjogZGVmYXVsdCAhaW1wb3J0YW50O1xuICB9XG59XG4iLCIubmVldG9fY3VzdG9tX2RvbWFpbl9zdGVwcGVyIGJ1dHRvbiB7XG4gIGN1cnNvcjogZGVmYXVsdCAhaW1wb3J0YW50O1xufSJdfQ== */";
1842
1881
  n(css,{});
@@ -1930,33 +1969,21 @@ var DomainPane = function DomainPane(_ref) {
1930
1969
  });
1931
1970
  };
1932
1971
 
1933
- var Header = function Header(_ref) {
1934
- var openPane = _ref.openPane,
1935
- breadcrumbs = _ref.breadcrumbs,
1936
- isCustomDomainAdded = _ref.isCustomDomainAdded,
1937
- setSelectedCustomDomain = _ref.setSelectedCustomDomain,
1938
- helpDocUrl = _ref.helpDocUrl,
1972
+ var Header$1 = function Header(_ref) {
1973
+ _ref.openPane;
1974
+ var breadcrumbs = _ref.breadcrumbs;
1975
+ _ref.isCustomDomainAdded;
1976
+ _ref.setSelectedCustomDomain;
1977
+ var helpDocUrl = _ref.helpDocUrl,
1939
1978
  _ref$size = _ref.size,
1940
1979
  size = _ref$size === void 0 ? "large" : _ref$size;
1941
1980
  var _useTranslation = useTranslation(),
1942
1981
  t = _useTranslation.t;
1943
- var handleClick = function handleClick() {
1944
- setSelectedCustomDomain({});
1945
- openPane();
1946
- };
1947
1982
  return /*#__PURE__*/jsx(NeetoHeader, {
1948
1983
  breadcrumbs: breadcrumbs,
1949
1984
  size: size,
1950
1985
  "data-testid": "custom-domain-header",
1951
1986
  title: t("neetoCustomDomains.customDomain", SINGULAR),
1952
- actionBlock: /*#__PURE__*/jsx(Button, {
1953
- "data-testid": "add-new-custom-domain-button",
1954
- disabled: isCustomDomainAdded,
1955
- label: t("neetoCustomDomains.actions.add", {
1956
- what: t("neetoCustomDomains.customDomain", SINGULAR)
1957
- }),
1958
- onClick: handleClick
1959
- }),
1960
1987
  titleHelpPopoverProps: {
1961
1988
  title: t("neetoCustomDomains.customDomain", SINGULAR),
1962
1989
  description: t("neetoCustomDomains.toolTips.customDomain"),
@@ -1966,7 +1993,7 @@ var Header = function Header(_ref) {
1966
1993
  }
1967
1994
  });
1968
1995
  };
1969
- var Header$1 = /*#__PURE__*/memo(Header);
1996
+ var Header = /*#__PURE__*/memo(Header$1);
1970
1997
 
1971
1998
  var CustomDomain = function CustomDomain(_ref) {
1972
1999
  var breadcrumbs = _ref.breadcrumbs,
@@ -1976,6 +2003,8 @@ var CustomDomain = function CustomDomain(_ref) {
1976
2003
  headerSize = _ref.headerSize,
1977
2004
  dnsHelpDocs = _ref.dnsHelpDocs,
1978
2005
  subdomainPlaceholder = _ref.subdomainPlaceholder,
2006
+ disconnectedIntegrationCardDescription = _ref.disconnectedIntegrationCardDescription,
2007
+ connectedIntegrationCardDescription = _ref.connectedIntegrationCardDescription,
1979
2008
  appName = _ref.appName,
1980
2009
  _ref$environment = _ref.environment,
1981
2010
  environment = _ref$environment === void 0 ? "production" : _ref$environment;
@@ -2018,13 +2047,13 @@ var CustomDomain = function CustomDomain(_ref) {
2018
2047
  var isCustomDomainAdded = isNotEmpty(customDomains);
2019
2048
  if (isLoading) {
2020
2049
  return /*#__PURE__*/jsx("div", {
2021
- className: "flex justify-center items-center w-full h-screen",
2050
+ className: "flex h-screen w-full items-center justify-center",
2022
2051
  children: /*#__PURE__*/jsx(Spinner, {})
2023
2052
  });
2024
2053
  }
2025
2054
  return /*#__PURE__*/jsxs("div", {
2026
2055
  children: [/*#__PURE__*/jsxs(Container, {
2027
- children: [/*#__PURE__*/jsx(Header$1, {
2056
+ children: [/*#__PURE__*/jsx(Header, {
2028
2057
  breadcrumbs: breadcrumbs,
2029
2058
  helpDocUrl: helpDocUrl,
2030
2059
  isCustomDomainAdded: isCustomDomainAdded,
@@ -2032,9 +2061,11 @@ var CustomDomain = function CustomDomain(_ref) {
2032
2061
  setSelectedCustomDomain: setSelectedCustomDomain,
2033
2062
  size: headerSize
2034
2063
  }), /*#__PURE__*/jsx("div", {
2035
- className: "flex w-full justify-center h-full",
2064
+ className: "flex h-full w-full justify-center",
2036
2065
  children: /*#__PURE__*/jsx(Domain, {
2066
+ connectedIntegrationCardDescription: connectedIntegrationCardDescription,
2037
2067
  customDomains: customDomains,
2068
+ disconnectedIntegrationCardDescription: disconnectedIntegrationCardDescription,
2038
2069
  helpDocUrl: helpDocUrl,
2039
2070
  isCustomDomainAdded: isCustomDomainAdded,
2040
2071
  openDeleteAlert: openDeleteAlert,