@foxy.io/elements 1.52.0-beta.3 → 1.52.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/dist/cdn/foxy-admin-subscription-form.js +1 -1
- package/dist/cdn/foxy-applied-coupon-code-form.js +1 -1
- package/dist/cdn/foxy-cancellation-form.js +1 -1
- package/dist/cdn/foxy-cart-form.js +1 -1
- package/dist/cdn/foxy-client-form.js +1 -1
- package/dist/cdn/foxy-coupon-form.js +1 -1
- package/dist/cdn/foxy-customer-portal-settings-form.js +1 -1
- package/dist/cdn/foxy-customer-portal-settings.js +1 -1
- package/dist/cdn/foxy-customer-portal.js +1 -1
- package/dist/cdn/foxy-customer.js +1 -1
- package/dist/cdn/foxy-donation.js +1 -1
- package/dist/cdn/foxy-experimental-add-to-cart-builder.js +1 -1
- package/dist/cdn/foxy-generate-codes-form.js +1 -1
- package/dist/cdn/foxy-gift-card-code-form.js +1 -1
- package/dist/cdn/foxy-gift-card-form.js +1 -1
- package/dist/cdn/foxy-integration-form.js +1 -1
- package/dist/cdn/foxy-item-form.js +1 -1
- package/dist/cdn/foxy-items-form.js +1 -1
- package/dist/cdn/foxy-passkey-form.js +1 -1
- package/dist/cdn/foxy-store-form.js +1 -1
- package/dist/cdn/foxy-subscription-form.js +1 -1
- package/dist/cdn/foxy-template-set-form.js +1 -1
- package/dist/cdn/foxy-transaction.js +1 -1
- package/dist/cdn/foxy-user-form.js +1 -1
- package/dist/cdn/foxy-users-table.js +1 -1
- package/dist/cdn/{shared-e2d843ca.js → shared-4314488c.js} +4 -4
- package/dist/cdn/{shared-ec015a24.js → shared-a0309d5f.js} +12 -4
- package/dist/cdn/shared-b0ff4acd.js +1 -0
- package/dist/cdn/{shared-96207bb5.js → shared-fa05c80d.js} +1 -1
- package/dist/cdn/translations/applied-coupon-code-form/en.json +4 -3
- package/dist/cdn/translations/cart-form/en.json +3 -2
- package/dist/cdn/translations/client-form/en.json +68 -52
- package/dist/cdn/translations/coupon-form/en.json +24 -20
- package/dist/cdn/translations/customer-portal-settings-form/en.json +57 -37
- package/dist/cdn/translations/generate-codes-form/en.json +24 -20
- package/dist/cdn/translations/gift-card-code-form/en.json +1 -0
- package/dist/cdn/translations/gift-card-form/en.json +25 -20
- package/dist/cdn/translations/passkey-form/en.json +14 -10
- package/dist/cdn/translations/template-set-form/en.json +36 -27
- package/dist/cdn/translations/user-form/en.json +52 -32
- package/dist/elements/public/AppliedCouponCodeForm/AppliedCouponCodeForm.d.ts +0 -3
- package/dist/elements/public/AppliedCouponCodeForm/AppliedCouponCodeForm.js +12 -27
- package/dist/elements/public/AppliedCouponCodeForm/AppliedCouponCodeForm.js.map +1 -1
- package/dist/elements/public/AppliedCouponCodeForm/index.d.ts +2 -1
- package/dist/elements/public/AppliedCouponCodeForm/index.js +2 -1
- package/dist/elements/public/AppliedCouponCodeForm/index.js.map +1 -1
- package/dist/elements/public/ClientForm/ClientForm.js +29 -17
- package/dist/elements/public/ClientForm/ClientForm.js.map +1 -1
- package/dist/elements/public/ClientForm/index.d.ts +1 -1
- package/dist/elements/public/ClientForm/index.js +1 -1
- package/dist/elements/public/ClientForm/index.js.map +1 -1
- package/dist/elements/public/CustomerPortalSettingsForm/CustomerPortalSettingsForm.d.ts +8 -3
- package/dist/elements/public/CustomerPortalSettingsForm/CustomerPortalSettingsForm.js +105 -64
- package/dist/elements/public/CustomerPortalSettingsForm/CustomerPortalSettingsForm.js.map +1 -1
- package/dist/elements/public/CustomerPortalSettingsForm/index.d.ts +2 -1
- package/dist/elements/public/CustomerPortalSettingsForm/index.js +2 -1
- package/dist/elements/public/CustomerPortalSettingsForm/index.js.map +1 -1
- package/dist/elements/public/GenerateCodesForm/GenerateCodesForm.js +14 -7
- package/dist/elements/public/GenerateCodesForm/GenerateCodesForm.js.map +1 -1
- package/dist/elements/public/GenerateCodesForm/index.d.ts +1 -1
- package/dist/elements/public/GenerateCodesForm/index.js +1 -1
- package/dist/elements/public/GenerateCodesForm/index.js.map +1 -1
- package/dist/elements/public/GiftCardCodeForm/GiftCardCodeForm.js +8 -3
- package/dist/elements/public/GiftCardCodeForm/GiftCardCodeForm.js.map +1 -1
- package/dist/elements/public/PasskeyForm/PasskeyForm.d.ts +1 -0
- package/dist/elements/public/PasskeyForm/PasskeyForm.js +23 -3
- package/dist/elements/public/PasskeyForm/PasskeyForm.js.map +1 -1
- package/dist/elements/public/PasskeyForm/index.d.ts +1 -1
- package/dist/elements/public/PasskeyForm/index.js +1 -1
- package/dist/elements/public/PasskeyForm/index.js.map +1 -1
- package/dist/elements/public/TemplateSetForm/TemplateSetForm.js +27 -11
- package/dist/elements/public/TemplateSetForm/TemplateSetForm.js.map +1 -1
- package/dist/elements/public/TemplateSetForm/index.d.ts +1 -0
- package/dist/elements/public/TemplateSetForm/index.js +1 -0
- package/dist/elements/public/TemplateSetForm/index.js.map +1 -1
- package/dist/elements/public/UserForm/UserForm.d.ts +0 -3
- package/dist/elements/public/UserForm/UserForm.js +19 -40
- package/dist/elements/public/UserForm/UserForm.js.map +1 -1
- package/dist/elements/public/UserForm/index.d.ts +2 -1
- package/dist/elements/public/UserForm/index.js +2 -1
- package/dist/elements/public/UserForm/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/cdn/shared-0af553f2.js +0 -1
- package/dist/cdn/shared-3d84ef45.js +0 -1
- package/dist/cdn/shared-d14a664a.js +0 -9
- package/dist/elements/internal/InternalIntegerControl/InternalIntegerControl.d.ts +0 -17
- package/dist/elements/internal/InternalIntegerControl/InternalIntegerControl.js +0 -58
- package/dist/elements/internal/InternalIntegerControl/InternalIntegerControl.js.map +0 -1
- package/dist/elements/internal/InternalIntegerControl/index.d.ts +0 -4
- package/dist/elements/internal/InternalIntegerControl/index.js +0 -6
- package/dist/elements/internal/InternalIntegerControl/index.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./shared-8df8e77c.js";import"./shared-a0baefff.js";import"./shared-a0309d5f.js";import"./shared-a20ef119.js";import{I as e}from"./shared-ec6a369a.js";import{_ as t}from"./shared-8f9014ff.js";import{c as i,h as a,s}from"./shared-ba5c42c7.js";import{i as l}from"./shared-53e42a77.js";import{c as o}from"./shared-4e709717.js";let n,r,d,h,u,c,p=e=>e;customElements.define("foxy-internal-frequency-control",class extends e{constructor(){super(...arguments),this.allowTwiceAMonth=!1,this.options=[{value:"d",label:"day"},{value:"w",label:"week"},{value:"m",label:"month"},{value:"y",label:"year"}],this.layout=null,this.max=999,this.__i18n={formatValue:e=>e.join(""),parseValue:e=>{var t;const i=e.startsWith(".")?`0${e}`:e,a=parseFloat(e.substring(0,Math.max(i.length-1,0))),s=null!==(t=i[i.length-1])&&void 0!==t?t:"";return isNaN(a)?["0",""]:[a.toString(),s]}}}static get properties(){return t(t({},super.properties),{},{allowTwiceAMonth:{type:Boolean,attribute:"allow-twice-a-month"},options:{attribute:!1},layout:{},max:{type:Number}})}static get styles(){return[super.styles,i(n||(n=p`:host{display:block}vaadin-custom-field{width:100%;font-size:0;line-height:0;padding-top:0!important}vaadin-custom-field::part(label){padding-bottom:var(--lumo-space-s)}vaadin-custom-field::part(error-message)[aria-hidden=false]{padding-top:var(--lumo-space-xs)}vaadin-combo-box,vaadin-integer-field{width:calc(50% - (var(--lumo-space-s)/ 2))}vaadin-integer-field{margin-right:var(--lumo-space-s);padding:0}vaadin-combo-box::part(text-field){padding:0}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input{-moz-appearance:textfield}`))]}renderControl(){var e,t;if("summary-item"===this.layout)return this.__renderSummaryItemLayout();const i=null!==(e=this._value)&&void 0!==e?e:"",s=parseFloat(this.__i18n.parseValue(i)[0]),o=this.options.map((({value:e,label:t})=>({label:this.t(t,{count:s}),value:e})));return a(r||(r=p` <vaadin-custom-field ?disabled="${0}" ?readonly="${0}" .checkValidity="${0}" .errorMessage="${0}" .helperText="${0}" .label="${0}" .value="${0}" .i18n="${0}" @change="${0}"> <vaadin-integer-field max="${0}" min="1" prevent-invalid-input has-controls ?disabled="${0}" ?readonly="${0}" ?invalid="${0}" @keydown="${0}"> </vaadin-integer-field> <vaadin-combo-box item-value-path="value" item-label-path="label" ?disabled="${0}" ?readonly="${0}" ?invalid="${0}" .items="${0}" @keydown="${0}"> </vaadin-combo-box> </vaadin-custom-field> `),this.disabled,this.readonly,this._checkValidity,null!==(t=this._errorMessage)&&void 0!==t?t:"",this.helperText,this.label,i,this.__i18n,(e=>{const t=e.currentTarget;this._value=t.value}),l(this.max||void 0),this.disabled,this.readonly,!this._checkValidity(),(e=>{var t;return"Enter"===e.key&&(null===(t=this.nucleon)||void 0===t?void 0:t.submit())}),this.disabled,this.readonly,!this._checkValidity(),o,(e=>{var t;return"Enter"===e.key&&(null===(t=this.nucleon)||void 0===t?void 0:t.submit())}))}updated(e){var t;super.updated(e);const i=this.renderRoot.querySelector("vaadin-custom-field");i&&i.value!==this._value&&(i.value=null!==(t=this._value)&&void 0!==t?t:"")}__renderSummaryItemLayout(){var e,t;const i=null!==(e=this._value)&&void 0!==e?e:"",[n,r]=this.__i18n.parseValue(i),m=parseFloat(n),v=".5m"!==this._value||this.allowTwiceAMonth?this.options.find((e=>e.value===r)):void 0;return a(d||(d=p` <div class="leading-xs"> <div class="flex items-center gap-xs"> <label class="text-m text-body flex-1 whitespace-nowrap" for="input">${0}</label> <input placeholder="${0}" inputmode="numeric" style="min-width:10ch" class="${0}" type="number" step="1" min="1" max="${0}" id="input" .value="${0}" ?disabled="${0}" ?readonly="${0}" @keydown="${0}" @input="${0}"> <div class="${0}"> <div class="flex items-center gap-xs"> <div class="whitespace-nowrap"> ${0} </div> ${0} </div> <select class="${0}" id="select" ?disabled="${0}" ?hidden="${0}" @change="${0}"> <option value="" ?selected="${0}" disabled="disabled" hidden>${0}</option> ${0} ${0} </select> </div> </div> <div style="max-width:32rem"> <p class="text-xs text-secondary">${0}</p> <p class="text-xs text-error" ?hidden="${0}"> ${0} </p> </div> </div> `),this.label,this.placeholder,o({"w-full appearance-none text-right bg-transparent transition-colors":!0,"text-m rounded-s focus-outline-none":!0,"text-secondary":this.readonly,"text-disabled":this.disabled,"font-medium":!this.readonly}),l(null!==(t=this.max)&&void 0!==t?t:void 0),".5m"===i?this.allowTwiceAMonth?2:"":m,this.disabled,this.readonly,(e=>{var t;return"Enter"===e.key&&(null===(t=this.nucleon)||void 0===t?void 0:t.submit())}),(e=>{e.stopPropagation();const t=e.currentTarget,i=r||this.options[0].value;this._value=this.__i18n.formatValue([t.value,i])}),o({"relative rounded-s transition-colors transition-opacity":!0,"focus-within-ring-2 focus-within-ring-primary-50":!this.disabled&&!this.readonly,"text-body hover-opacity-80 cursor-pointer":!this.disabled&&!this.readonly,"text-secondary":this.readonly,"text-disabled":this.disabled,"font-medium":!this.readonly}),".5m"===i?this.t("times_a_month"):v?this.t(v.label,{count:m}):this.t("select"),this.readonly?"":s(h||(h=p`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" style="width: 1em; height: 1em; transform: scale(1.25)"><path fill-rule="evenodd" d="M10.53 3.47a.75.75 0 0 0-1.06 0L6.22 6.72a.75.75 0 0 0 1.06 1.06L10 5.06l2.72 2.72a.75.75 0 1 0 1.06-1.06l-3.25-3.25Zm-4.31 9.81 3.25 3.25a.75.75 0 0 0 1.06 0l3.25-3.25a.75.75 0 1 0-1.06-1.06L10 14.94l-2.72-2.72a.75.75 0 0 0-1.06 1.06Z" clip-rule="evenodd" /></svg>`)),o({"absolute inset-0 opacity-0":!0,"cursor-pointer":!this.disabled&&!this.readonly}),this.disabled,this.readonly,(e=>{e.stopPropagation();const t=e.currentTarget.value;this._value="times_a_month"===t?".5m":this.__i18n.formatValue([m||1,t])}),!v,this.t("select"),!this.allowTwiceAMonth||2!==m&&".5m"!==i?"":a(u||(u=p` <option value="times_a_month" ?selected="${0}"> ${0} </option> `),".5m"===i,this.t("times_a_month")),this.options.map((e=>a(c||(c=p` <option value="${0}" ?selected="${0}"> ${0} </option> `),e.value,".5m"!==i&&e.value===(null==v?void 0:v.value),this.t(e.label,{count:m})))),this.helperText,this.disabled||this.readonly,this._errorMessage)}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as
|
|
1
|
+
import{_ as t}from"./shared-8f9014ff.js";import{B as e}from"./shared-515003f6.js";import{c as r,h as s}from"./shared-ba5c42c7.js";import{y as n}from"./shared-887ac0b0.js";import{I as o}from"./shared-4314488c.js";let i,a,l,c=t=>t;class h{constructor(t="unknown"){this.type=t}}class d extends CustomEvent{constructor(){super("reload")}}class p extends n{constructor(){super(...arguments),this.type="unknown",this.reload=!1}static get scopedElements(){return{"vaadin-button":e,"iron-icon":customElements.get("iron-icon"),"x-i18n":o}}static get styles(){return[super.styles,r(i||(i=c`:host{position:absolute;top:0;right:0;bottom:0;left:0}.container-narrow{max-width:400px}`))]}static get properties(){return t(t({},super.properties),{},{reload:{type:Boolean,reflect:!0},type:{type:String}})}render(){return s(a||(a=c` <article class="bg-base font-lumo text-center leading-m p-m h-full flex flex-col items-center justify-center"> <iron-icon icon="lumo:error" class="text-error w-l h-l mb-m"></iron-icon> <header class="text-xl text-header container-narrow font-medium"> <x-i18n ns="${0}" lang="${0}" key="errors.${0}.title"></x-i18n> </header> <p class="text-m text-secondary container-narrow mb-l"> <x-i18n ns="${0}" lang="${0}" key="errors.${0}.message"></x-i18n> </p> <div class="flex space-x-s"> <a rel="nofollow noreferrer noopener" href="${0}" target="_blank" class="px-m py-xs text-primary font-medium tracking-wide border border-contrast-10 rounded transition-colors duration-200 hover-bg-primary-10 hover-border-primary-10 focus-outline-none focus-shadow-outline" router-ignore> <x-i18n ns="${0}" lang="${0}" key="errors.${0}.action"></x-i18n> </a> ${0} </div> </article> `),this.ns,this.lang,this.type,this.ns,this.lang,this.type,this._i18n.t(`errors.${this.type}.href`).toString(),this.ns,this.lang,this.type,this.reload?s(l||(l=c` <vaadin-button data-testid="reload" theme="primary" @click="${0}"> <x-i18n ns="${0}" lang="${0}" key="reload"></x-i18n> <iron-icon icon="icons:refresh" slot="suffix"></iron-icon> </vaadin-button> `),(()=>this.dispatchEvent(new d)),this.ns,this.lang):"")}}export{p as E,h as F};
|
|
@@ -24,9 +24,10 @@
|
|
|
24
24
|
"v8n_required": "Please enter a coupon code."
|
|
25
25
|
},
|
|
26
26
|
"ignore-usage-limits": {
|
|
27
|
-
"label": "",
|
|
27
|
+
"label": "Ignore usage limits",
|
|
28
28
|
"helper_text": "",
|
|
29
|
-
"
|
|
29
|
+
"checked": "Yes",
|
|
30
|
+
"unchecked": "No"
|
|
30
31
|
},
|
|
31
32
|
"delete": {
|
|
32
33
|
"delete": "Remove",
|
|
@@ -47,4 +48,4 @@
|
|
|
47
48
|
"loading_busy": "Loading",
|
|
48
49
|
"loading_error": "Unknown error"
|
|
49
50
|
}
|
|
50
|
-
}
|
|
51
|
+
}
|
|
@@ -1230,9 +1230,10 @@
|
|
|
1230
1230
|
"v8n_required": "Please enter a coupon code."
|
|
1231
1231
|
},
|
|
1232
1232
|
"ignore-usage-limits": {
|
|
1233
|
-
"label": "",
|
|
1233
|
+
"label": "Ignore usage limits",
|
|
1234
1234
|
"helper_text": "",
|
|
1235
|
-
"
|
|
1235
|
+
"checked": "Yes",
|
|
1236
|
+
"unchecked": "No"
|
|
1236
1237
|
},
|
|
1237
1238
|
"delete": {
|
|
1238
1239
|
"delete": "Remove",
|
|
@@ -17,60 +17,76 @@
|
|
|
17
17
|
"done": "Copied to clipboard"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
"
|
|
21
|
-
"label": "
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"helper_text": ""
|
|
39
|
-
},
|
|
40
|
-
"redirect-uri": {
|
|
41
|
-
"label": "Redirect URI",
|
|
42
|
-
"placeholder": "",
|
|
43
|
-
"helper_text": ""
|
|
44
|
-
},
|
|
45
|
-
"company-name": {
|
|
46
|
-
"label": "Company name",
|
|
47
|
-
"placeholder": "",
|
|
48
|
-
"helper_text": ""
|
|
49
|
-
},
|
|
50
|
-
"company-url": {
|
|
51
|
-
"label": "Company url",
|
|
52
|
-
"placeholder": "",
|
|
53
|
-
"helper_text": ""
|
|
54
|
-
},
|
|
55
|
-
"company-logo": {
|
|
56
|
-
"label": "Company logo",
|
|
57
|
-
"placeholder": "",
|
|
58
|
-
"helper_text": ""
|
|
20
|
+
"general": {
|
|
21
|
+
"label": "",
|
|
22
|
+
"helper_text": "",
|
|
23
|
+
"client-id": {
|
|
24
|
+
"label": "Client ID",
|
|
25
|
+
"placeholder": "",
|
|
26
|
+
"helper_text": ""
|
|
27
|
+
},
|
|
28
|
+
"client-secret": {
|
|
29
|
+
"label": "Client secret",
|
|
30
|
+
"placeholder": "",
|
|
31
|
+
"helper_text": ""
|
|
32
|
+
},
|
|
33
|
+
"redirect-uri": {
|
|
34
|
+
"label": "Redirect URI",
|
|
35
|
+
"placeholder": "",
|
|
36
|
+
"helper_text": ""
|
|
37
|
+
}
|
|
59
38
|
},
|
|
60
|
-
"
|
|
61
|
-
"label": "
|
|
62
|
-
"
|
|
63
|
-
"
|
|
39
|
+
"project": {
|
|
40
|
+
"label": "Project",
|
|
41
|
+
"helper_text": "",
|
|
42
|
+
"project-name": {
|
|
43
|
+
"label": "Name",
|
|
44
|
+
"placeholder": "",
|
|
45
|
+
"helper_text": ""
|
|
46
|
+
},
|
|
47
|
+
"project-description": {
|
|
48
|
+
"label": "Description",
|
|
49
|
+
"placeholder": "",
|
|
50
|
+
"helper_text": ""
|
|
51
|
+
}
|
|
64
52
|
},
|
|
65
|
-
"
|
|
66
|
-
"label": "
|
|
67
|
-
"
|
|
68
|
-
"
|
|
53
|
+
"company": {
|
|
54
|
+
"label": "Company",
|
|
55
|
+
"helper_text": "",
|
|
56
|
+
"company-name": {
|
|
57
|
+
"label": "Name",
|
|
58
|
+
"placeholder": "",
|
|
59
|
+
"helper_text": ""
|
|
60
|
+
},
|
|
61
|
+
"company-url": {
|
|
62
|
+
"label": "URL",
|
|
63
|
+
"placeholder": "",
|
|
64
|
+
"helper_text": ""
|
|
65
|
+
},
|
|
66
|
+
"company-logo": {
|
|
67
|
+
"label": "Logo",
|
|
68
|
+
"placeholder": "",
|
|
69
|
+
"helper_text": ""
|
|
70
|
+
}
|
|
69
71
|
},
|
|
70
|
-
"contact
|
|
71
|
-
"label": "Contact
|
|
72
|
-
"
|
|
73
|
-
"
|
|
72
|
+
"contact": {
|
|
73
|
+
"label": "Contact",
|
|
74
|
+
"helper_text": "",
|
|
75
|
+
"contact-name": {
|
|
76
|
+
"label": "Name",
|
|
77
|
+
"placeholder": "",
|
|
78
|
+
"helper_text": ""
|
|
79
|
+
},
|
|
80
|
+
"contact-email": {
|
|
81
|
+
"label": "Email",
|
|
82
|
+
"placeholder": "",
|
|
83
|
+
"helper_text": ""
|
|
84
|
+
},
|
|
85
|
+
"contact-phone": {
|
|
86
|
+
"label": "Phone",
|
|
87
|
+
"placeholder": "",
|
|
88
|
+
"helper_text": ""
|
|
89
|
+
}
|
|
74
90
|
},
|
|
75
91
|
"timestamps": {
|
|
76
92
|
"date_created": "Created on",
|
|
@@ -96,4 +112,4 @@
|
|
|
96
112
|
"loading_busy": "Loading",
|
|
97
113
|
"loading_error": "Unknown error"
|
|
98
114
|
}
|
|
99
|
-
}
|
|
115
|
+
}
|
|
@@ -72,25 +72,29 @@
|
|
|
72
72
|
"error": {
|
|
73
73
|
"invalid_form": "These parameters won't generate any codes. Please make sure that the length of the code is greater than the length of the prefix, does not exceed 50 characters in total and that the code itself does not contain spaces."
|
|
74
74
|
},
|
|
75
|
-
"
|
|
76
|
-
"label": "
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
"
|
|
75
|
+
"parameters": {
|
|
76
|
+
"label": "",
|
|
77
|
+
"helper_text": "",
|
|
78
|
+
"prefix": {
|
|
79
|
+
"label": "Prefix",
|
|
80
|
+
"placeholder": "Optional",
|
|
81
|
+
"helper_text": "The length value is inclusive of this prefix."
|
|
82
|
+
},
|
|
83
|
+
"length": {
|
|
84
|
+
"label": "Code length",
|
|
85
|
+
"placeholder": "6",
|
|
86
|
+
"helper_text": ""
|
|
87
|
+
},
|
|
88
|
+
"number-of-codes": {
|
|
89
|
+
"label": "Number of codes",
|
|
90
|
+
"placeholder": "10",
|
|
91
|
+
"helper_text": ""
|
|
92
|
+
},
|
|
93
|
+
"current-balance": {
|
|
94
|
+
"label": "Initial balance",
|
|
95
|
+
"placeholder": "0",
|
|
96
|
+
"helper_text": ""
|
|
97
|
+
}
|
|
94
98
|
},
|
|
95
99
|
"example": {
|
|
96
100
|
"label": "Examples",
|
|
@@ -689,4 +693,4 @@
|
|
|
689
693
|
"loading_busy": "Loading",
|
|
690
694
|
"loading_error": "Unknown error"
|
|
691
695
|
}
|
|
692
|
-
}
|
|
696
|
+
}
|
|
@@ -10,19 +10,6 @@
|
|
|
10
10
|
"done": "Copied to clipboard"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
|
-
"session-lifespan-in-minutes": {
|
|
14
|
-
"label": "Session lifespan",
|
|
15
|
-
"option_minute": "Minute",
|
|
16
|
-
"option_minute_plural": "Minutes",
|
|
17
|
-
"option_hour": "Hour",
|
|
18
|
-
"option_hour_plural": "Hours",
|
|
19
|
-
"option_day": "Day",
|
|
20
|
-
"option_day_plural": "Days",
|
|
21
|
-
"option_week": "Week",
|
|
22
|
-
"option_week_plural": "Weeks",
|
|
23
|
-
"helper_text": "The maximum time a customer can be logged in without activity.",
|
|
24
|
-
"v8n_too_long": "We limit session lifespan to 4 weeks for security reasons. Please select a smaller value."
|
|
25
|
-
},
|
|
26
13
|
"allowed-origins": {
|
|
27
14
|
"label": "Allowed origins",
|
|
28
15
|
"helper_text": "The list of origins that are allowed to access the Customer Portal API. Must be https unless it's localhost. You can add up to 10 origins in this section.",
|
|
@@ -30,33 +17,66 @@
|
|
|
30
17
|
"v8n_invalid": "Some of the origins you've entered are invalid. Please check the items marked with ⚠️ and correct them.",
|
|
31
18
|
"v8n_too_many": "We support up to 10 origins. Please remove some of them."
|
|
32
19
|
},
|
|
33
|
-
"jwt-shared-secret": {
|
|
34
|
-
"label": "JWT shared secret",
|
|
35
|
-
"placeholder": "Leave empty to generate automatically",
|
|
36
|
-
"helper_text": "We use this key to sign customer JWTs. Changing it will drop all active sessions.",
|
|
37
|
-
"v8n_invalid": "Only letters (a-z), numbers (0-9) and dashes (-) are allowed in this field.",
|
|
38
|
-
"v8n_too_short": "This value must be at least 40 characters long.",
|
|
39
|
-
"v8n_too_long": "This value can't exceed 100 characters."
|
|
40
|
-
},
|
|
41
20
|
"features": {
|
|
42
21
|
"label": "Features",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
22
|
+
"helper_text": "",
|
|
23
|
+
"sso": {
|
|
24
|
+
"label": "SSO (single sign-on)",
|
|
25
|
+
"helper_text": ""
|
|
26
|
+
},
|
|
27
|
+
"sign-up": {
|
|
28
|
+
"label": "Customer registration",
|
|
29
|
+
"helper_text": ""
|
|
30
|
+
},
|
|
31
|
+
"frequency-modification": {
|
|
32
|
+
"label": "Frequency changes for subscriptions",
|
|
33
|
+
"helper_text": ""
|
|
34
|
+
},
|
|
35
|
+
"next-date-modification": {
|
|
36
|
+
"label": "Next payment date changes for subscriptions",
|
|
37
|
+
"helper_text": ""
|
|
38
|
+
}
|
|
48
39
|
},
|
|
49
|
-
"
|
|
50
|
-
"label": "hCaptcha
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
|
|
40
|
+
"hcaptcha": {
|
|
41
|
+
"label": "hCaptcha settings",
|
|
42
|
+
"helper_text": "By default, we use our own hCaptcha account for all portal installs. If you have a hCaptcha account and would like to use it, enter your keys here.",
|
|
43
|
+
"sign-up-verification-hcaptcha-site-key": {
|
|
44
|
+
"label": "Site key",
|
|
45
|
+
"placeholder": "Provided by Foxy",
|
|
46
|
+
"helper_text": "",
|
|
47
|
+
"v8n_too_long": "This value can't exceed 100 characters."
|
|
48
|
+
},
|
|
49
|
+
"sign-up-verification-hcaptcha-secret-key": {
|
|
50
|
+
"label": "Secret key",
|
|
51
|
+
"placeholder": "Provided by Foxy",
|
|
52
|
+
"helper_text": "",
|
|
53
|
+
"v8n_too_long": "This value can't exceed 100 characters."
|
|
54
|
+
}
|
|
54
55
|
},
|
|
55
|
-
"
|
|
56
|
-
"label": "
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
56
|
+
"security": {
|
|
57
|
+
"label": "Security settings",
|
|
58
|
+
"helper_text": "",
|
|
59
|
+
"session-lifespan-in-minutes": {
|
|
60
|
+
"label": "Session lifespan",
|
|
61
|
+
"option_minute": "Minute",
|
|
62
|
+
"option_minute_plural": "Minutes",
|
|
63
|
+
"option_hour": "Hour",
|
|
64
|
+
"option_hour_plural": "Hours",
|
|
65
|
+
"option_day": "Day",
|
|
66
|
+
"option_day_plural": "Days",
|
|
67
|
+
"option_week": "Week",
|
|
68
|
+
"option_week_plural": "Weeks",
|
|
69
|
+
"helper_text": "The maximum time a customer can be logged in without activity.",
|
|
70
|
+
"v8n_too_long": "We limit session lifespan to 4 weeks for security reasons. Please select a smaller value."
|
|
71
|
+
},
|
|
72
|
+
"jwt-shared-secret": {
|
|
73
|
+
"label": "JWT shared secret",
|
|
74
|
+
"placeholder": "Generate automatically",
|
|
75
|
+
"helper_text": "We use this key to sign customer JWTs. Changing it will drop all active sessions.",
|
|
76
|
+
"v8n_invalid": "Only letters (a-z), numbers (0-9) and dashes (-) are allowed in this field.",
|
|
77
|
+
"v8n_too_short": "This value must be at least 40 characters long.",
|
|
78
|
+
"v8n_too_long": "This value can't exceed 100 characters."
|
|
79
|
+
}
|
|
60
80
|
},
|
|
61
81
|
"subscriptions-allow-frequency-modification": {
|
|
62
82
|
"label": "Frequency options",
|
|
@@ -332,4 +352,4 @@
|
|
|
332
352
|
"loading_busy": "Loading",
|
|
333
353
|
"loading_error": "Unknown error"
|
|
334
354
|
}
|
|
335
|
-
}
|
|
355
|
+
}
|
|
@@ -5,25 +5,29 @@
|
|
|
5
5
|
"error": {
|
|
6
6
|
"invalid_form": "These parameters won't generate any codes. Please make sure that the length of the code is greater than the length of the prefix, does not exceed 50 characters in total and that the code itself does not contain spaces."
|
|
7
7
|
},
|
|
8
|
-
"
|
|
9
|
-
"label": "
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
8
|
+
"parameters": {
|
|
9
|
+
"label": "",
|
|
10
|
+
"helper_text": "",
|
|
11
|
+
"prefix": {
|
|
12
|
+
"label": "Prefix",
|
|
13
|
+
"placeholder": "Optional",
|
|
14
|
+
"helper_text": "The length value is inclusive of this prefix."
|
|
15
|
+
},
|
|
16
|
+
"length": {
|
|
17
|
+
"label": "Code length",
|
|
18
|
+
"placeholder": "6",
|
|
19
|
+
"helper_text": ""
|
|
20
|
+
},
|
|
21
|
+
"number-of-codes": {
|
|
22
|
+
"label": "Number of codes",
|
|
23
|
+
"placeholder": "10",
|
|
24
|
+
"helper_text": ""
|
|
25
|
+
},
|
|
26
|
+
"current-balance": {
|
|
27
|
+
"label": "Initial balance",
|
|
28
|
+
"placeholder": "0",
|
|
29
|
+
"helper_text": ""
|
|
30
|
+
}
|
|
27
31
|
},
|
|
28
32
|
"example": {
|
|
29
33
|
"label": "Examples",
|
|
@@ -44,4 +48,4 @@
|
|
|
44
48
|
"loading_busy": "Loading",
|
|
45
49
|
"loading_error": "Unknown error"
|
|
46
50
|
}
|
|
47
|
-
}
|
|
51
|
+
}
|
|
@@ -78,25 +78,29 @@
|
|
|
78
78
|
"error": {
|
|
79
79
|
"invalid_form": "These parameters won't generate any codes. Please make sure that the length of the code is greater than the length of the prefix, does not exceed 50 characters in total and that the code itself does not contain spaces."
|
|
80
80
|
},
|
|
81
|
-
"
|
|
82
|
-
"label": "
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
"
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"
|
|
81
|
+
"parameters": {
|
|
82
|
+
"label": "",
|
|
83
|
+
"helper_text": "",
|
|
84
|
+
"prefix": {
|
|
85
|
+
"label": "Prefix",
|
|
86
|
+
"placeholder": "Optional",
|
|
87
|
+
"helper_text": "The length value is inclusive of this prefix."
|
|
88
|
+
},
|
|
89
|
+
"length": {
|
|
90
|
+
"label": "Code length",
|
|
91
|
+
"placeholder": "6",
|
|
92
|
+
"helper_text": ""
|
|
93
|
+
},
|
|
94
|
+
"number-of-codes": {
|
|
95
|
+
"label": "Number of codes",
|
|
96
|
+
"placeholder": "10",
|
|
97
|
+
"helper_text": ""
|
|
98
|
+
},
|
|
99
|
+
"current-balance": {
|
|
100
|
+
"label": "Initial balance",
|
|
101
|
+
"placeholder": "0",
|
|
102
|
+
"helper_text": ""
|
|
103
|
+
}
|
|
100
104
|
},
|
|
101
105
|
"example": {
|
|
102
106
|
"label": "Examples",
|
|
@@ -410,6 +414,7 @@
|
|
|
410
414
|
"customer": {
|
|
411
415
|
"label": "Customer",
|
|
412
416
|
"helper_text": "",
|
|
417
|
+
"clear": "Clear",
|
|
413
418
|
"dialog": {
|
|
414
419
|
"cancel": "Cancel",
|
|
415
420
|
"close": "Close",
|
|
@@ -796,4 +801,4 @@
|
|
|
796
801
|
"loading_busy": "Loading",
|
|
797
802
|
"loading_error": "Unknown error"
|
|
798
803
|
}
|
|
799
|
-
}
|
|
804
|
+
}
|
|
@@ -16,15 +16,19 @@
|
|
|
16
16
|
"done": "Copied to clipboard"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
|
-
"
|
|
20
|
-
"label": "
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
19
|
+
"settings": {
|
|
20
|
+
"label": "",
|
|
21
|
+
"helper_text": "",
|
|
22
|
+
"credential-id": {
|
|
23
|
+
"label": "ID",
|
|
24
|
+
"placeholder": "",
|
|
25
|
+
"helper_text": ""
|
|
26
|
+
},
|
|
27
|
+
"last-login-ua": {
|
|
28
|
+
"label": "Last used in",
|
|
29
|
+
"placeholder": "",
|
|
30
|
+
"helper_text": ""
|
|
31
|
+
}
|
|
28
32
|
},
|
|
29
33
|
"timestamps": {
|
|
30
34
|
"date_created": "Created on",
|
|
@@ -50,4 +54,4 @@
|
|
|
50
54
|
"loading_busy": "Loading",
|
|
51
55
|
"loading_error": "Unknown error"
|
|
52
56
|
}
|
|
53
|
-
}
|
|
57
|
+
}
|
|
@@ -17,34 +17,44 @@
|
|
|
17
17
|
"done": "Copied to clipboard"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
"
|
|
21
|
-
"label": "
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"helper_text": "We'll apply this language to our cart, checkout and receipt pages.",
|
|
38
|
-
"v8n_required": "Please select a language for this set"
|
|
20
|
+
"metadata": {
|
|
21
|
+
"label": "",
|
|
22
|
+
"helper_text": "",
|
|
23
|
+
"description": {
|
|
24
|
+
"label": "Description",
|
|
25
|
+
"placeholder": "Required",
|
|
26
|
+
"helper_text": "",
|
|
27
|
+
"v8n_required": "Please enter a description for this set",
|
|
28
|
+
"v8n_too_long": "Please reduce this description to 100 characters or less"
|
|
29
|
+
},
|
|
30
|
+
"code": {
|
|
31
|
+
"label": "Code",
|
|
32
|
+
"placeholder": "Required",
|
|
33
|
+
"helper_text": "",
|
|
34
|
+
"v8n_required": "Please enter a code for this set",
|
|
35
|
+
"v8n_too_long": "Please reduce this code to 50 characters or less"
|
|
36
|
+
}
|
|
39
37
|
},
|
|
40
|
-
"
|
|
41
|
-
"label": "
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
38
|
+
"localization": {
|
|
39
|
+
"label": "",
|
|
40
|
+
"helper_text": "",
|
|
41
|
+
"language": {
|
|
42
|
+
"label": "Language",
|
|
43
|
+
"placeholder": "Select",
|
|
44
|
+
"helper_text": "",
|
|
45
|
+
"v8n_required": "Please select a language for this set"
|
|
46
|
+
},
|
|
47
|
+
"locale-code": {
|
|
48
|
+
"label": "Locale",
|
|
49
|
+
"placeholder": "Select",
|
|
50
|
+
"helper_text": "",
|
|
51
|
+
"v8n_required": "Please select a locale for this set"
|
|
52
|
+
}
|
|
45
53
|
},
|
|
46
54
|
"payment-method-set-uri": {
|
|
47
55
|
"label": "Payment method set",
|
|
56
|
+
"helper_text": "",
|
|
57
|
+
"clear": "Clear",
|
|
48
58
|
"dialog": {
|
|
49
59
|
"cancel": "Cancel",
|
|
50
60
|
"close": "Close",
|
|
@@ -81,8 +91,7 @@
|
|
|
81
91
|
"loading_empty": "Select a payment method set",
|
|
82
92
|
"loading_error": "Unknown error"
|
|
83
93
|
}
|
|
84
|
-
}
|
|
85
|
-
"helper_text": "With this template set applied, your customers will see payment methods from the selected set."
|
|
94
|
+
}
|
|
86
95
|
},
|
|
87
96
|
"language-overrides": {
|
|
88
97
|
"delete_button_title": "Restore default value",
|
|
@@ -119,4 +128,4 @@
|
|
|
119
128
|
"loading_busy": "Loading",
|
|
120
129
|
"loading_error": "Unknown error"
|
|
121
130
|
}
|
|
122
|
-
}
|
|
131
|
+
}
|