@lion/ui 0.7.8 → 0.8.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/components/accordion/src/LionAccordion.js +20 -14
- package/components/accordion/test/lion-accordion.test.js +84 -28
- package/components/calendar/src/LionCalendar.js +3 -1
- package/components/combobox/test/lion-combobox.test.js +124 -120
- package/components/combobox/test/validators.test.js +2 -2
- package/components/combobox/test-helpers/combobox-helpers.js +8 -9
- package/components/core/src/browserDetection.js +9 -1
- package/components/form-core/test-suites/NativeTextFieldMixin.suite.js +9 -10
- package/components/validate-messages/translations/cs.js +4 -4
- package/components/validate-messages/translations/es.js +2 -2
- package/components/validate-messages/translations/hu.js +2 -2
- package/components/validate-messages/translations/it.js +2 -2
- package/components/validate-messages/translations/nl.js +2 -2
- package/components/validate-messages/translations/pl.js +2 -2
- package/components/validate-messages/translations/ru.js +2 -2
- package/components/validate-messages/translations/sk.js +2 -2
- package/components/validate-messages/translations/uk.js +2 -2
- package/custom-elements.json +735 -2528
- package/dist-types/components/accordion/src/LionAccordion.d.ts +11 -1
- package/dist-types/components/accordion/src/LionAccordion.d.ts.map +1 -1
- package/dist-types/components/accordion/test/lion-accordion.test.d.ts.map +1 -1
- package/dist-types/components/calendar/src/LionCalendar.d.ts +0 -1
- package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
- package/dist-types/components/combobox/test-helpers/combobox-helpers.d.ts +2 -2
- package/dist-types/components/combobox/test-helpers/combobox-helpers.d.ts.map +1 -1
- package/dist-types/components/form-core/test-suites/NativeTextFieldMixin.suite.d.ts.map +1 -1
- package/dist-types/components/icon/src/LionIcon.d.ts +2 -2
- package/dist-types/components/icon/src/LionIcon.d.ts.map +1 -1
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/accordion/api-table.md +6 -4
- package/docs/components/accordion/use-cases.md +43 -4
- package/docs/components/checkbox-group/overview.md +2 -2
- package/docs/components/checkbox-group/use-cases.md +20 -59
- package/docs/components/collapsible/overview.md +1 -1
- package/docs/components/combobox/overview.md +1 -1
- package/docs/components/combobox/use-cases.md +3 -4
- package/docs/components/dialog/overview.md +1 -1
- package/docs/components/fieldset/overview.md +5 -5
- package/docs/components/fieldset/use-cases.md +9 -2
- package/docs/components/form/overview.md +3 -3
- package/docs/components/form/use-cases.md +2 -1
- package/docs/components/icon/use-cases.md +1 -1
- package/docs/components/input/overview.md +1 -1
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-amount/use-cases.md +2 -2
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-date/use-cases.md +5 -4
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-datepicker/use-cases.md +2 -3
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-file/overview.md +1 -1
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-stepper/overview.md +1 -1
- package/docs/components/input-tel/overview.md +1 -1
- package/docs/components/input-tel/use-cases.md +6 -6
- package/docs/components/input-tel-dropdown/overview.md +1 -1
- package/docs/components/listbox/use-cases.md +1 -1
- package/docs/components/pagination/use-cases.md +3 -1
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select/use-cases.md +1 -1
- package/docs/components/select-rich/use-cases.md +1 -1
- package/docs/components/steps/overview.md +6 -2
- package/docs/components/steps/use-cases.md +9 -3
- package/docs/components/tabs/examples.md +1 -1
- package/docs/fundamentals/index.md +4 -4
- package/docs/fundamentals/node-tools/providence-analytics/LocalConfiguration.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/QueryResult.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/analyzer.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/dashboard.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/overview.md +3 -3
- package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
- package/docs/fundamentals/rationales/accessibility.md +1 -1
- package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
- package/docs/fundamentals/systems/core/overview.md +1 -1
- package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
- package/docs/fundamentals/systems/form/model-value.md +1 -1
- package/docs/fundamentals/systems/form/overview.md +28 -28
- package/docs/fundamentals/systems/form/use-cases.md +2 -1
- package/docs/fundamentals/systems/form/validate.md +2 -2
- package/docs/fundamentals/systems/localize/overview.md +4 -4
- package/docs/fundamentals/systems/localize/use-cases.md +3 -1
- package/docs/fundamentals/systems/overlays/configuration.md +2 -2
- package/docs/fundamentals/systems/overlays/overview.md +5 -5
- package/docs/fundamentals/systems/overlays/use-cases.md +5 -3
- package/docs/fundamentals/tools/helpers/overview.md +1 -1
- package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
- package/docs/guides/how-to/create-a-custom-field.md +5 -5
- package/docs/guides/how-to/create-a-form.md +4 -4
- package/docs/guides/how-to/extend-a-native-input.md +2 -2
- package/docs/guides/index.md +8 -8
- package/docs/guides/principles/index.md +5 -5
- package/docs/guides/principles/styling.md +1 -1
- package/package.json +1 -1
|
@@ -25,13 +25,13 @@ describe('MatchesOption validation', () => {
|
|
|
25
25
|
config.node = el;
|
|
26
26
|
const validator = new MatchesOption();
|
|
27
27
|
|
|
28
|
-
mimicUserTyping(el, 'Artichoke');
|
|
28
|
+
await mimicUserTyping(el, 'Artichoke');
|
|
29
29
|
await el.updateComplete;
|
|
30
30
|
|
|
31
31
|
isEnabled = validator.execute('Artichoke', undefined, config);
|
|
32
32
|
expect(isEnabled).to.be.false;
|
|
33
33
|
|
|
34
|
-
mimicUserTyping(el, 'Foo');
|
|
34
|
+
await mimicUserTyping(el, 'Foo');
|
|
35
35
|
await el.updateComplete;
|
|
36
36
|
|
|
37
37
|
isEnabled = validator.execute('Foo', undefined, config);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getListboxMembers } from '@lion/ui/listbox-test-helpers.js';
|
|
2
|
+
import { sendKeys } from '@web/test-runner-commands';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @typedef {import('@lion/ui/combobox.js').LionCombobox} LionCombobox
|
|
@@ -34,17 +35,15 @@ export function getComboboxMembers(el) {
|
|
|
34
35
|
|
|
35
36
|
/**
|
|
36
37
|
* @param {LionCombobox} el
|
|
37
|
-
* @param {string}
|
|
38
|
+
* @param {string} keys
|
|
38
39
|
*/
|
|
39
|
-
|
|
40
|
-
export function mimicUserTyping(el, value) {
|
|
40
|
+
export async function mimicUserTyping(el, keys) {
|
|
41
41
|
const { _inputNode } = getComboboxMembers(el);
|
|
42
|
-
_inputNode.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
_inputNode.dispatchEvent(new KeyboardEvent('keydown', { key: value }));
|
|
42
|
+
_inputNode.value = '';
|
|
43
|
+
_inputNode.focus();
|
|
44
|
+
await sendKeys({
|
|
45
|
+
type: keys,
|
|
46
|
+
});
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
/**
|
|
@@ -9,11 +9,19 @@ function checkChrome(flavor = 'google-chrome') {
|
|
|
9
9
|
return flavor === 'google-chrome';
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
// eslint-disable-next-line prefer-destructuring
|
|
13
|
+
const navigator = /** @type {Navigator & {userAgentData: {brands:{brand:string}[]}}} */ (
|
|
14
|
+
globalThis.navigator
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
const isChromium =
|
|
18
|
+
!!navigator.userAgentData &&
|
|
19
|
+
navigator.userAgentData.brands.some(data => data.brand === 'Chromium');
|
|
13
20
|
|
|
14
21
|
if (flavor === 'chromium') {
|
|
15
22
|
return isChromium;
|
|
16
23
|
}
|
|
24
|
+
|
|
17
25
|
const winNav = globalThis.navigator;
|
|
18
26
|
const vendorName = winNav?.vendor;
|
|
19
27
|
const isOpera =
|
|
@@ -4,11 +4,7 @@ import { defineCE, expect, fixture, html, triggerFocusFor, unsafeStatic } from '
|
|
|
4
4
|
import { sendKeys } from '@web/test-runner-commands';
|
|
5
5
|
import { spy } from 'sinon';
|
|
6
6
|
import { NativeTextFieldMixin } from '@lion/ui/form-core.js';
|
|
7
|
-
|
|
8
|
-
const isSafari = (() => {
|
|
9
|
-
const ua = navigator.userAgent.toLowerCase();
|
|
10
|
-
return ua.indexOf('safari') !== -1 && ua.indexOf('chrome') === -1;
|
|
11
|
-
})();
|
|
7
|
+
import { browserDetection } from '@lion/ui/core.js';
|
|
12
8
|
|
|
13
9
|
/**
|
|
14
10
|
* @typedef {import('../types/FormControlMixinTypes.js').FormControlHost} FormControlHost
|
|
@@ -54,10 +50,6 @@ export function runNativeTextFieldMixinSuite(customConfig) {
|
|
|
54
50
|
});
|
|
55
51
|
|
|
56
52
|
it('move focus to a next focusable element after writing some text', async () => {
|
|
57
|
-
if (isSafari) {
|
|
58
|
-
// TODO: This test is broken on Safari, to be fixed later
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
53
|
const el = /** @type {NativeTextFieldClass} */ (await fixture(html`<${tag}></${tag}>`));
|
|
62
54
|
// @ts-ignore [allow-protected] in test
|
|
63
55
|
const setValueAndPreserveCaretSpy = spy(el, '_setValueAndPreserveCaret');
|
|
@@ -71,8 +63,15 @@ export function runNativeTextFieldMixinSuite(customConfig) {
|
|
|
71
63
|
await sendKeys({
|
|
72
64
|
press: 'Tab',
|
|
73
65
|
});
|
|
74
|
-
|
|
66
|
+
|
|
75
67
|
expect(setValueAndPreserveCaretSpy.calledOnce).to.be.false;
|
|
68
|
+
|
|
69
|
+
// TODO: This seems to work in practice, but not in the test. Investigate.
|
|
70
|
+
if (browserDetection.isMacSafari || browserDetection.isFirefox) {
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
expect(document.activeElement).to.not.equal(_inputNode);
|
|
76
75
|
});
|
|
77
76
|
});
|
|
78
77
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
error: {
|
|
3
3
|
Required: 'Zadejte rovněž {fieldName}.',
|
|
4
|
-
_RequiredUpload: 'Nahrajte {
|
|
5
|
-
_RequiredSelect: 'Vyberte rovněž {
|
|
4
|
+
_RequiredUpload: 'Nahrajte {fieldName}.',
|
|
5
|
+
_RequiredSelect: 'Vyberte rovněž {fieldName}.',
|
|
6
6
|
EqualsLength: 'Zadejte správné {fieldName}, přesně {params} znaků.',
|
|
7
7
|
MinLength: 'Zadejte správné {fieldName} (alespoň {params}).',
|
|
8
8
|
MaxLength: 'Zadejte správné {fieldName} (až {params} znaků).',
|
|
@@ -23,8 +23,8 @@ export default {
|
|
|
23
23
|
},
|
|
24
24
|
warning: {
|
|
25
25
|
Required: 'Zadejte rovněž {fieldName}.',
|
|
26
|
-
_RequiredUpload: 'Nahrajte {
|
|
27
|
-
_RequiredSelect: 'Vyberte rovněž {
|
|
26
|
+
_RequiredUpload: 'Nahrajte {fieldName}.',
|
|
27
|
+
_RequiredSelect: 'Vyberte rovněž {fieldName}.',
|
|
28
28
|
EqualsLength: 'Zadejte správné {fieldName}, přesně {params} znaků.',
|
|
29
29
|
MinLength: 'Zadejte správné {fieldName} (alespoň {params}).',
|
|
30
30
|
MaxLength: 'Zadejte správné {fieldName} (až {params} znaků).',
|
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
error: {
|
|
3
3
|
Required: 'Introduzca también un/a {fieldName}.',
|
|
4
4
|
_RequiredUpload: 'Cargue un {fieldName}.',
|
|
5
|
-
_RequiredSelect: 'Seleccione también un/a {
|
|
5
|
+
_RequiredSelect: 'Seleccione también un/a {fieldName}.',
|
|
6
6
|
EqualsLength: 'Introduzca un/a {fieldName} correcto/a de exactamente {params} caracteres.',
|
|
7
7
|
MinLength: 'Introduzca un/a {fieldName} correcto/a (de al menos {params} caracteres).',
|
|
8
8
|
MaxLength: 'Introduzca un/a {fieldName} correcto/a (hasta {params} caracteres).',
|
|
@@ -26,7 +26,7 @@ export default {
|
|
|
26
26
|
warning: {
|
|
27
27
|
Required: 'Introduzca también un/a {fieldName}.',
|
|
28
28
|
_RequiredUpload: 'Cargue un {fieldName}.',
|
|
29
|
-
_RequiredSelect: 'Seleccione también un/a {
|
|
29
|
+
_RequiredSelect: 'Seleccione también un/a {fieldName}.',
|
|
30
30
|
EqualsLength: 'Introduzca un/a {fieldName} correcto/a de exactamente {params} caracteres.',
|
|
31
31
|
MinLength: 'Introduzca un/a {fieldName} correcto/a (de al menos {params} caracteres).',
|
|
32
32
|
MaxLength: 'Introduzca un/a {fieldName} correcto/a (hasta {params} caracteres).',
|
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
error: {
|
|
3
3
|
Required: 'Továbbá adjon meg egy {fieldName} értéket.',
|
|
4
4
|
_RequiredUpload: 'Töltsön fel egy {fieldName} elemet.',
|
|
5
|
-
_RequiredSelect: 'Továbbá válasszon ki egy {
|
|
5
|
+
_RequiredSelect: 'Továbbá válasszon ki egy {fieldName} értéket.',
|
|
6
6
|
EqualsLength: 'Adjon meg egy helyes {fieldName} értéket (pontosan {params} karakter).',
|
|
7
7
|
MinLength: 'Adjon meg egy helyes {fieldName} értéket (legalább {params}).',
|
|
8
8
|
MaxLength: 'Adjon meg egy helyes {fieldName} értéket (legfeljebb {params} karakter).',
|
|
@@ -26,7 +26,7 @@ export default {
|
|
|
26
26
|
warning: {
|
|
27
27
|
Required: 'Továbbá adjon meg egy {fieldName} értéket.',
|
|
28
28
|
_RequiredUpload: 'Töltsön fel egy {fieldName} elemet.',
|
|
29
|
-
_RequiredSelect: 'Továbbá válasszon ki egy {
|
|
29
|
+
_RequiredSelect: 'Továbbá válasszon ki egy {fieldName} értéket.',
|
|
30
30
|
EqualsLength: 'Adjon meg egy helyes {fieldName} értéket (pontosan {params} karakter).',
|
|
31
31
|
MinLength: 'Adjon meg egy helyes {fieldName} értéket (legalább {params}).',
|
|
32
32
|
MaxLength: 'Adjon meg egy helyes {fieldName} értéket (legfeljebb {params} karakter).',
|
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
error: {
|
|
3
3
|
Required: 'Inserire anche un(a) {fieldName}.',
|
|
4
4
|
_RequiredUpload: 'Caricare un {fieldName}.',
|
|
5
|
-
_RequiredSelect: 'Selezionare anche un(a) {
|
|
5
|
+
_RequiredSelect: 'Selezionare anche un(a) {fieldName}.',
|
|
6
6
|
EqualsLength: 'Inserire un(a) {fieldName} corretto(a) di esattamente {params} caratteri.',
|
|
7
7
|
MinLength: 'Inserire un(a) {fieldName} corretto(a) (almeno {params}).',
|
|
8
8
|
MaxLength: 'Inserire un(a) {fieldName} corretto(a) (fino a {params} caratteri).',
|
|
@@ -26,7 +26,7 @@ export default {
|
|
|
26
26
|
warning: {
|
|
27
27
|
Required: 'Inserire anche un(a) {fieldName}.',
|
|
28
28
|
_RequiredUpload: 'Caricare un {fieldName}.',
|
|
29
|
-
_RequiredSelect: 'Selezionare anche un(a) {
|
|
29
|
+
_RequiredSelect: 'Selezionare anche un(a) {fieldName}.',
|
|
30
30
|
EqualsLength: 'Inserire un(a) {fieldName} corretto(a) di esattamente {params} caratteri.',
|
|
31
31
|
MinLength: 'Inserire un(a) {fieldName} corretto(a) (almeno {params}).',
|
|
32
32
|
MaxLength: 'Inserire un(a) {fieldName} corretto(a) (fino a {params} caratteri).',
|
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
error: {
|
|
3
3
|
Required: 'Vul een {fieldName} in.',
|
|
4
4
|
_RequiredUpload: 'Upload een {fieldName}.',
|
|
5
|
-
_RequiredSelect: 'Selecteer een {
|
|
5
|
+
_RequiredSelect: 'Selecteer een {fieldName}.',
|
|
6
6
|
EqualsLength: 'Vul een {fieldName} in gelijk aan {params} karakters.',
|
|
7
7
|
MinLength: 'Vul een {fieldName} in van minimaal {params} karakters.',
|
|
8
8
|
MaxLength: 'Vul een {fieldName} in van maximaal {params} karakters.',
|
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
warning: {
|
|
26
26
|
Required: 'Vul een {fieldName} in.',
|
|
27
27
|
_RequiredUpload: 'Upload een {fieldName}.',
|
|
28
|
-
_RequiredSelect: 'Selecteer een {
|
|
28
|
+
_RequiredSelect: 'Selecteer een {fieldName}.',
|
|
29
29
|
EqualsLength: 'Vul een {fieldName} in gelijk aan {params} karakters.',
|
|
30
30
|
MinLength: 'Vul een {fieldName} in van minimaal {params} karakters.',
|
|
31
31
|
MaxLength: 'Vul een {fieldName} in van maximaal {params} karakters.',
|
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
error: {
|
|
3
3
|
Required: 'Proszę również podać wartość {fieldName}.',
|
|
4
4
|
_RequiredUpload: 'Prześlij plik {fieldName}.',
|
|
5
|
-
_RequiredSelect: 'Wprowadź prawidłową wartość w polu {
|
|
5
|
+
_RequiredSelect: 'Wprowadź prawidłową wartość w polu {fieldName}.',
|
|
6
6
|
EqualsLength: 'Wprowadź prawidłową wartość w polu {fieldName} (maks. liczba znaków: {params}).',
|
|
7
7
|
MinLength: 'Proszę podać prawidłową wartość {fieldName} (co najmniej {params} znaków).',
|
|
8
8
|
MaxLength: 'Proszę podać prawidłową wartość {fieldName} (maks. {params} znaków).',
|
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
warning: {
|
|
26
26
|
Required: 'Proszę również podać wartość {fieldName}.',
|
|
27
27
|
_RequiredUpload: 'Prześlij plik {fieldName}.',
|
|
28
|
-
_RequiredSelect: 'Wprowadź prawidłową wartość w polu {
|
|
28
|
+
_RequiredSelect: 'Wprowadź prawidłową wartość w polu {fieldName}.',
|
|
29
29
|
EqualsLength: 'Wprowadź prawidłową wartość w polu {fieldName} (maks. liczba znaków: {params}).',
|
|
30
30
|
MinLength: 'Proszę podać prawidłową wartość {fieldName} (co najmniej {params} znaków).',
|
|
31
31
|
MaxLength: 'Proszę podać prawidłową wartość {fieldName} (maks. {params} znaków).',
|
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
error: {
|
|
3
3
|
Required: 'Введите значение поля {fieldName}.',
|
|
4
4
|
_RequiredUpload: 'Загрузите {fieldName}.',
|
|
5
|
-
_RequiredSelect: 'Также выберите значение поля {
|
|
5
|
+
_RequiredSelect: 'Также выберите значение поля {fieldName}.',
|
|
6
6
|
EqualsLength: 'Введите корректное значение поля {fieldName} — ровно {params} симв.',
|
|
7
7
|
MinLength: 'Введите корректное значение поля {fieldName} (не менее {params}).',
|
|
8
8
|
MaxLength: 'Введите корректное значение поля {fieldName} (до {params} симв.).',
|
|
@@ -26,7 +26,7 @@ export default {
|
|
|
26
26
|
warning: {
|
|
27
27
|
Required: 'Введите значение поля {fieldName}.',
|
|
28
28
|
_RequiredUpload: 'Загрузите {fieldName}.',
|
|
29
|
-
_RequiredSelect: 'Также выберите значение поля {
|
|
29
|
+
_RequiredSelect: 'Также выберите значение поля {fieldName}.',
|
|
30
30
|
EqualsLength: 'Введите корректное значение поля {fieldName} — ровно {paramsn} симв.',
|
|
31
31
|
MinLength: 'Введите корректное значение поля {fieldName} (не менее {params}).',
|
|
32
32
|
MaxLength: 'Введите корректное значение поля {fieldName} (до {params} симв.).',
|
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
error: {
|
|
3
3
|
Required: 'Uveďte aj {fieldName}.',
|
|
4
4
|
_RequiredUpload: 'Nahrajte pole {fieldName}.',
|
|
5
|
-
_RequiredSelect: 'Vyberte aj hodnotu v poli {
|
|
5
|
+
_RequiredSelect: 'Vyberte aj hodnotu v poli {fieldName}.',
|
|
6
6
|
EqualsLength: 'Do poľa {fieldName} zadajte platnú hodnotu v dĺžke presne {params} znaky/-ov.',
|
|
7
7
|
MinLength: 'Uveďte správne {fieldName} (najmenej {params}).',
|
|
8
8
|
MaxLength: 'Uveďte správne {fieldName} (maximálne {params} znakov).',
|
|
@@ -24,7 +24,7 @@ export default {
|
|
|
24
24
|
warning: {
|
|
25
25
|
Required: 'Uveďte aj {fieldName}.',
|
|
26
26
|
_RequiredUpload: 'Nahrajte pole {fieldName}.',
|
|
27
|
-
_RequiredSelect: 'Vyberte aj hodnotu v poli {
|
|
27
|
+
_RequiredSelect: 'Vyberte aj hodnotu v poli {fieldName}.',
|
|
28
28
|
EqualsLength: 'Do poľa {fieldName} zadajte platnú hodnotu v dĺžke presne {params} znaky/-ov.',
|
|
29
29
|
MinLength: 'Uveďte správne {fieldName} (najmenej {params}).',
|
|
30
30
|
MaxLength: 'Uveďte správne {fieldName} (maximálne {params} znakov).',
|
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
error: {
|
|
3
3
|
Required: 'Уведіть також значення {fieldName}.',
|
|
4
4
|
_RequiredUpload: 'Завантажте {fieldName}.',
|
|
5
|
-
_RequiredSelect: 'Виберіть також {
|
|
5
|
+
_RequiredSelect: 'Виберіть також {fieldName}.',
|
|
6
6
|
EqualsLength:
|
|
7
7
|
'Введіть правильне значення {fieldName}, кількість символів має бути точно {params}.',
|
|
8
8
|
MinLength: 'Уведіть правильне значення {fieldName} (щонайменше {params}).',
|
|
@@ -27,7 +27,7 @@ export default {
|
|
|
27
27
|
warning: {
|
|
28
28
|
Required: 'Уведіть також значення {fieldName}.',
|
|
29
29
|
_RequiredUpload: 'Завантажте {fieldName}.',
|
|
30
|
-
_RequiredSelect: 'Виберіть також {
|
|
30
|
+
_RequiredSelect: 'Виберіть також {fieldName}.',
|
|
31
31
|
EqualsLength:
|
|
32
32
|
'Введіть правильне значення {fieldName}, кількість символів має бути точно {params}.',
|
|
33
33
|
MinLength: 'Уведіть правильне значення {fieldName} (щонайменше {params}).',
|