@formio/js 5.0.0-dev.5651.ebc09cb → 5.0.0-dev.5655.a31d680

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.
@@ -151,13 +151,15 @@ class Input extends Multivalue_1.default {
151
151
  else {
152
152
  this.addClass(element, 'text-danger');
153
153
  }
154
- this.setContent(element, this.t(`{{ remaining }} ${type} remaining.`, {
155
- remaining: remaining
154
+ this.setContent(element, this.t(`typeRemaining`, {
155
+ remaining: remaining,
156
+ type: type
156
157
  }));
157
158
  }
158
159
  else {
159
- this.setContent(element, this.t(`{{ count }} ${type}`, {
160
- count: count
160
+ this.setContent(element, this.t(`typeCount`, {
161
+ count: count,
162
+ type: type
161
163
  }));
162
164
  }
163
165
  }
@@ -72,5 +72,7 @@ declare namespace _default {
72
72
  let reCaptchaTokenValidationError: string;
73
73
  let reCaptchaTokenNotSpecifiedError: string;
74
74
  let apiKey: string;
75
+ let typeRemaining: string;
76
+ let typeCount: string;
75
77
  }
76
78
  export default _default;
@@ -73,5 +73,7 @@ exports.default = {
73
73
  submitButtonAriaLabel: 'Submit Form button. Click to submit the form',
74
74
  reCaptchaTokenValidationError: 'ReCAPTCHA: Token validation error',
75
75
  reCaptchaTokenNotSpecifiedError: 'ReCAPTCHA: Token is not specified in submission',
76
- apiKey: 'API Key is not unique: {{key}}'
76
+ apiKey: 'API Key is not unique: {{key}}',
77
+ typeRemaining: '{{ remaining }} {{ type }} remaining.',
78
+ typeCount: '{{ count }} {{ type }}'
77
79
  };
@@ -146,13 +146,15 @@ export default class Input extends Multivalue {
146
146
  else {
147
147
  this.addClass(element, 'text-danger');
148
148
  }
149
- this.setContent(element, this.t(`{{ remaining }} ${type} remaining.`, {
150
- remaining: remaining
149
+ this.setContent(element, this.t(`typeRemaining`, {
150
+ remaining: remaining,
151
+ type: type
151
152
  }));
152
153
  }
153
154
  else {
154
- this.setContent(element, this.t(`{{ count }} ${type}`, {
155
- count: count
155
+ this.setContent(element, this.t(`typeCount`, {
156
+ count: count,
157
+ type: type
156
158
  }));
157
159
  }
158
160
  }
@@ -72,5 +72,7 @@ declare namespace _default {
72
72
  let reCaptchaTokenValidationError: string;
73
73
  let reCaptchaTokenNotSpecifiedError: string;
74
74
  let apiKey: string;
75
+ let typeRemaining: string;
76
+ let typeCount: string;
75
77
  }
76
78
  export default _default;
@@ -71,5 +71,7 @@ export default {
71
71
  submitButtonAriaLabel: 'Submit Form button. Click to submit the form',
72
72
  reCaptchaTokenValidationError: 'ReCAPTCHA: Token validation error',
73
73
  reCaptchaTokenNotSpecifiedError: 'ReCAPTCHA: Token is not specified in submission',
74
- apiKey: 'API Key is not unique: {{key}}'
74
+ apiKey: 'API Key is not unique: {{key}}',
75
+ typeRemaining: '{{ remaining }} {{ type }} remaining.',
76
+ typeCount: '{{ count }} {{ type }}'
75
77
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.0.0-dev.5651.ebc09cb",
3
+ "version": "5.0.0-dev.5655.a31d680",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {