@bigbinary/neeto-custom-domains-frontend 3.1.7 → 3.1.9
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.
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"alertMessage": "You are permanently deleting the custom domain <strong>{{hostname}}</strong>. This can't be undone.",
|
|
85
85
|
"formikValidation": {
|
|
86
86
|
"required": "Domain is required",
|
|
87
|
-
"valid": "
|
|
87
|
+
"valid": "Enter a valid domain or URL"
|
|
88
88
|
},
|
|
89
89
|
"toolTips": {
|
|
90
90
|
"customDomain": "Add domain of your choice in case you do not prefer to use the default Neeto domain."
|
package/dist/CustomDomain.js
CHANGED
|
@@ -28,7 +28,7 @@ import ActionBlock from '@bigbinary/neetoui/formik/ActionBlock';
|
|
|
28
28
|
import Input from '@bigbinary/neetoui/formik/Input';
|
|
29
29
|
import Form from '@bigbinary/neetoui/formik/Form';
|
|
30
30
|
import Radio from '@bigbinary/neetoui/formik/Radio';
|
|
31
|
-
import { t } from 'i18next';
|
|
31
|
+
import { t as t$1 } from 'i18next';
|
|
32
32
|
import psl from 'psl';
|
|
33
33
|
import { isNil } from 'ramda';
|
|
34
34
|
import * as Yup from 'yup';
|
|
@@ -288,7 +288,7 @@ var isRootLevelDomain = function isRootLevelDomain(hostname) {
|
|
|
288
288
|
};
|
|
289
289
|
var getCustomDomainValidationSchema = function getCustomDomainValidationSchema() {
|
|
290
290
|
return Yup.object().shape({
|
|
291
|
-
hostname: Yup.string().required(t("neetoCustomDomains.formikValidation.required")).matches(HOSTNAME_REGEX, t("neetoCustomDomains.formikValidation.valid"))
|
|
291
|
+
hostname: Yup.string().required(t$1("neetoCustomDomains.formikValidation.required")).matches(HOSTNAME_REGEX, t$1("neetoCustomDomains.formikValidation.valid"))
|
|
292
292
|
});
|
|
293
293
|
};
|
|
294
294
|
var strategyValidationSchema = Yup.object().shape({
|
|
@@ -298,9 +298,9 @@ var strategyOptions = [{
|
|
|
298
298
|
value: "rootToWww",
|
|
299
299
|
label: "neetoCustomDomains.validation.strategy.rootToWww",
|
|
300
300
|
additionalLabelContent: /*#__PURE__*/jsx(Tooltip, {
|
|
301
|
-
content: t("neetoCustomDomains.validation.strategy.recommendedDescription"),
|
|
301
|
+
content: t$1("neetoCustomDomains.validation.strategy.recommendedDescription"),
|
|
302
302
|
children: /*#__PURE__*/jsx(Tag, {
|
|
303
|
-
label: t("neetoCustomDomains.validation.strategy.recommended"),
|
|
303
|
+
label: t$1("neetoCustomDomains.validation.strategy.recommended"),
|
|
304
304
|
style: "info"
|
|
305
305
|
})
|
|
306
306
|
})
|
|
@@ -1158,6 +1158,11 @@ var Validation = function Validation(_ref) {
|
|
|
1158
1158
|
});
|
|
1159
1159
|
};
|
|
1160
1160
|
|
|
1161
|
+
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}}
|
|
1162
|
+
|
|
1163
|
+
var css = ".neeto_custom_domain_stepper button{cursor:default!important}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwcC9qYXZhc2NyaXB0L3N0eWxlc2hlZXRzL2RvbWFpbnMvX292ZXJyaWRlcy5zY3NzIiwiYXBwL2phdmFzY3JpcHQvc3R5bGVzaGVldHMvYXBwbGljYXRpb24uc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDRSxvQ0FDRSx3QkNBSiIsInNvdXJjZXNDb250ZW50IjpbIi5uZWV0b19jdXN0b21fZG9tYWluX3N0ZXBwZXIge1xuICBidXR0b24ge1xuICAgIGN1cnNvcjogZGVmYXVsdCAhaW1wb3J0YW50O1xuICB9XG59XG4iLCIubmVldG9fY3VzdG9tX2RvbWFpbl9zdGVwcGVyIGJ1dHRvbiB7XG4gIGN1cnNvcjogZGVmYXVsdCAhaW1wb3J0YW50O1xufSJdfQ== */";
|
|
1164
|
+
n(css,{});
|
|
1165
|
+
|
|
1161
1166
|
var DomainPane = function DomainPane(_ref) {
|
|
1162
1167
|
var customDomains = _ref.customDomains,
|
|
1163
1168
|
isOpen = _ref.isOpen,
|
|
@@ -1202,7 +1207,7 @@ var DomainPane = function DomainPane(_ref) {
|
|
|
1202
1207
|
style: "h2",
|
|
1203
1208
|
children: t("neetoCustomDomains.addNew")
|
|
1204
1209
|
}), /*#__PURE__*/jsx("div", {
|
|
1205
|
-
className: "-ml-2",
|
|
1210
|
+
className: "-ml-2 neeto_custom_domain_stepper",
|
|
1206
1211
|
children: /*#__PURE__*/jsx(Stepper, {
|
|
1207
1212
|
activeIndex: CURRENT_STEP[getCurrentStep(primaryDomain)],
|
|
1208
1213
|
setActiveIndex: noop,
|