@lion/ui 0.11.4 → 0.11.5

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 (155) hide show
  1. package/components/calendar/src/LionCalendar.js +3 -0
  2. package/components/calendar/translations/tr.js +11 -0
  3. package/components/form-core/src/localizeNamespaceLoader.js +4 -0
  4. package/components/form-core/src/validate/ValidateMixin.js +6 -6
  5. package/components/form-core/test-suites/ValidateMixin.suite.js +116 -1
  6. package/components/form-core/translations/tr-TR.js +5 -0
  7. package/components/form-core/translations/tr.js +6 -0
  8. package/components/input-datepicker/src/localizeNamespaceLoader.js +7 -1
  9. package/components/input-datepicker/translations/tr-TR.js +5 -0
  10. package/components/input-datepicker/translations/tr.js +3 -0
  11. package/components/input-file/src/LionInputFile.js +39 -11
  12. package/components/input-file/src/LionSelectedFileList.js +0 -1
  13. package/components/input-file/test/lion-input-file.test.js +98 -4
  14. package/components/input-file/translations/bg.js +1 -1
  15. package/components/input-file/translations/cs.js +1 -1
  16. package/components/input-file/translations/de.js +6 -1
  17. package/components/input-file/translations/en.js +6 -2
  18. package/components/input-file/translations/es.js +1 -1
  19. package/components/input-file/translations/fr.js +1 -1
  20. package/components/input-file/translations/hu.js +1 -1
  21. package/components/input-file/translations/it.js +1 -1
  22. package/components/input-file/translations/nl.js +6 -1
  23. package/components/input-file/translations/pl.js +1 -1
  24. package/components/input-file/translations/ro.js +1 -1
  25. package/components/input-file/translations/ru.js +7 -3
  26. package/components/input-file/translations/sk.js +1 -1
  27. package/components/input-file/translations/uk.js +1 -1
  28. package/components/input-file/translations/zh.js +1 -1
  29. package/components/input-stepper/src/LionInputStepper.js +19 -3
  30. package/components/input-stepper/test/lion-input-stepper.test.js +94 -0
  31. package/components/overlays/translations/tr-TR.js +5 -0
  32. package/components/overlays/translations/tr.js +4 -0
  33. package/components/pagination/src/LionPagination.js +2 -0
  34. package/components/pagination/translations/tr.js +6 -0
  35. package/components/validate-messages/src/getLocalizedMessage.js +4 -0
  36. package/components/validate-messages/translations/tr-TR.js +13 -0
  37. package/components/validate-messages/translations/tr.js +56 -0
  38. package/custom-elements.json +49 -38
  39. package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
  40. package/dist-types/components/calendar/translations/tr.d.ts +11 -0
  41. package/dist-types/components/calendar/translations/tr.d.ts.map +1 -0
  42. package/dist-types/components/form-core/src/localizeNamespaceLoader.d.ts.map +1 -1
  43. package/dist-types/components/form-core/test-suites/ValidateMixin.suite.d.ts.map +1 -1
  44. package/dist-types/components/form-core/translations/tr-TR.d.ts +8 -0
  45. package/dist-types/components/form-core/translations/tr-TR.d.ts.map +1 -0
  46. package/dist-types/components/form-core/translations/tr.d.ts +8 -0
  47. package/dist-types/components/form-core/translations/tr.d.ts.map +1 -0
  48. package/dist-types/components/input-datepicker/src/localizeNamespaceLoader.d.ts.map +1 -1
  49. package/dist-types/components/input-datepicker/translations/tr-TR.d.ts +5 -0
  50. package/dist-types/components/input-datepicker/translations/tr-TR.d.ts.map +1 -0
  51. package/dist-types/components/input-datepicker/translations/tr.d.ts +5 -0
  52. package/dist-types/components/input-datepicker/translations/tr.d.ts.map +1 -0
  53. package/dist-types/components/input-file/src/LionInputFile.d.ts +1 -0
  54. package/dist-types/components/input-file/src/LionInputFile.d.ts.map +1 -1
  55. package/dist-types/components/input-file/src/LionSelectedFileList.d.ts.map +1 -1
  56. package/dist-types/components/input-file/src/localizeNamespaceLoader.d.ts +1 -1
  57. package/dist-types/components/input-file/src/localizeNamespaceLoader.d.ts.map +1 -1
  58. package/dist-types/components/input-file/test/lion-input-file.test.d.ts.map +1 -1
  59. package/dist-types/components/input-file/translations/de-DE.d.ts +5 -0
  60. package/dist-types/components/input-file/translations/de.d.ts +5 -0
  61. package/dist-types/components/input-file/translations/en-AU.d.ts +5 -1
  62. package/dist-types/components/input-file/translations/en-GB.d.ts +5 -1
  63. package/dist-types/components/input-file/translations/en-PH.d.ts +5 -1
  64. package/dist-types/components/input-file/translations/en-US.d.ts +5 -1
  65. package/dist-types/components/input-file/translations/en.d.ts +5 -1
  66. package/dist-types/components/input-file/translations/nl-BE.d.ts +5 -0
  67. package/dist-types/components/input-file/translations/nl-NL.d.ts +5 -0
  68. package/dist-types/components/input-file/translations/nl.d.ts +5 -0
  69. package/dist-types/components/input-file/translations/ru-RU.d.ts +5 -1
  70. package/dist-types/components/input-file/translations/ru.d.ts +5 -1
  71. package/dist-types/components/input-stepper/src/LionInputStepper.d.ts.map +1 -1
  72. package/dist-types/components/overlays/translations/tr-TR.d.ts +6 -0
  73. package/dist-types/components/overlays/translations/tr-TR.d.ts.map +1 -0
  74. package/dist-types/components/overlays/translations/tr.d.ts +6 -0
  75. package/dist-types/components/overlays/translations/tr.d.ts.map +1 -0
  76. package/dist-types/components/pagination/src/LionPagination.d.ts.map +1 -1
  77. package/dist-types/components/pagination/translations/tr.d.ts +8 -0
  78. package/dist-types/components/pagination/translations/tr.d.ts.map +1 -0
  79. package/dist-types/components/validate-messages/src/getLocalizedMessage.d.ts.map +1 -1
  80. package/dist-types/components/validate-messages/translations/tr-TR.d.ts +55 -0
  81. package/dist-types/components/validate-messages/translations/tr-TR.d.ts.map +1 -0
  82. package/dist-types/components/validate-messages/translations/tr.d.ts +73 -0
  83. package/dist-types/components/validate-messages/translations/tr.d.ts.map +1 -0
  84. package/dist-types/tsconfig.tsbuildinfo +1 -1
  85. package/docs/components/checkbox-group/api-table.md +3 -3
  86. package/docs/components/checkbox-group/overview.md +2 -2
  87. package/docs/components/collapsible/overview.md +1 -1
  88. package/docs/components/combobox/api-table.md +1 -1
  89. package/docs/components/combobox/overview.md +1 -1
  90. package/docs/components/combobox/use-cases.md +1 -1
  91. package/docs/components/dialog/overview.md +1 -1
  92. package/docs/components/fieldset/api-table.md +1 -1
  93. package/docs/components/fieldset/overview.md +5 -5
  94. package/docs/components/form/overview.md +3 -3
  95. package/docs/components/form/use-cases.md +2 -2
  96. package/docs/components/icon/use-cases.md +1 -1
  97. package/docs/components/input/api-table.md +1 -1
  98. package/docs/components/input/overview.md +1 -1
  99. package/docs/components/input-amount/api-table.md +1 -1
  100. package/docs/components/input-amount/overview.md +3 -3
  101. package/docs/components/input-date/api-table.md +1 -1
  102. package/docs/components/input-date/overview.md +3 -3
  103. package/docs/components/input-datepicker/api-table.md +1 -1
  104. package/docs/components/input-datepicker/overview.md +5 -5
  105. package/docs/components/input-email/api-table.md +1 -1
  106. package/docs/components/input-email/overview.md +2 -2
  107. package/docs/components/input-file/api-table.md +3 -2
  108. package/docs/components/input-file/overview.md +1 -1
  109. package/docs/components/input-iban/api-table.md +1 -1
  110. package/docs/components/input-iban/overview.md +2 -2
  111. package/docs/components/input-range/api-table.md +1 -1
  112. package/docs/components/input-range/overview.md +2 -2
  113. package/docs/components/input-stepper/api-table.md +1 -1
  114. package/docs/components/input-stepper/overview.md +1 -1
  115. package/docs/components/input-stepper/use-cases.md +16 -0
  116. package/docs/components/input-tel/api-table.md +1 -1
  117. package/docs/components/input-tel/overview.md +1 -1
  118. package/docs/components/input-tel/use-cases.md +6 -6
  119. package/docs/components/input-tel-dropdown/api-table.md +1 -1
  120. package/docs/components/input-tel-dropdown/overview.md +1 -1
  121. package/docs/components/listbox/api-table.md +1 -1
  122. package/docs/components/listbox/use-cases.md +1 -1
  123. package/docs/components/radio-group/api-table.md +2 -2
  124. package/docs/components/radio-group/overview.md +3 -3
  125. package/docs/components/select/api-table.md +1 -1
  126. package/docs/components/select/use-cases.md +1 -1
  127. package/docs/components/select-rich/api-table.md +1 -1
  128. package/docs/components/select-rich/use-cases.md +1 -1
  129. package/docs/components/switch/api-table.md +1 -1
  130. package/docs/components/tabs/examples.md +1 -1
  131. package/docs/components/textarea/api-table.md +1 -1
  132. package/docs/fundamentals/index.md +4 -4
  133. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  134. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  135. package/docs/fundamentals/rationales/accessibility.md +1 -1
  136. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  137. package/docs/fundamentals/systems/core/overview.md +1 -1
  138. package/docs/fundamentals/systems/form/api-table.md +1 -1
  139. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  140. package/docs/fundamentals/systems/form/model-value.md +1 -1
  141. package/docs/fundamentals/systems/form/overview.md +28 -28
  142. package/docs/fundamentals/systems/form/validate.md +2 -2
  143. package/docs/fundamentals/systems/localize/overview.md +4 -4
  144. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  145. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  146. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  147. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  148. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  149. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  150. package/docs/guides/how-to/create-a-form.md +4 -4
  151. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  152. package/docs/guides/index.md +8 -8
  153. package/docs/guides/principles/index.md +5 -5
  154. package/docs/guides/principles/styling.md +1 -1
  155. package/package.json +1 -1
@@ -4,7 +4,7 @@ export default {
4
4
  allowedFileValidatorComplex:
5
5
  'Nahrajte súbor {allowedTypesArray} alebo {allowedTypesLastItem} s maximálnou veľkosťou {maxSize}.',
6
6
  dragAndDropText: 'Súbory presuňte sem alebo',
7
- fileNameDescriptionLabel: 'Názov súboru: {fileName}',
7
+ fileNameDescriptionLabel: 'Názov súboru: ',
8
8
  generalValidatorMessage: '"{validatorMessage}", pre {listOfErroneousFiles}.',
9
9
  noFilesSelected: 'Neboli vybrané žiadne súbory.',
10
10
  numberOfFiles: 'Počet súborov: {numberOfFiles}.',
@@ -4,7 +4,7 @@ export default {
4
4
  allowedFileValidatorComplex:
5
5
  'Завантажте файл {allowedTypesArray} або {allowedTypesLastItem} розміром до {maxSize}.',
6
6
  dragAndDropText: 'Перетягніть файли сюди або',
7
- fileNameDescriptionLabel: 'Ім’я файлу: {fileName}',
7
+ fileNameDescriptionLabel: 'Ім’я файлу: ',
8
8
  generalValidatorMessage: '"{validatorMessage}", для {listOfErroneousFiles}.',
9
9
  noFilesSelected: 'Не вибрано жодного файлу.',
10
10
  numberOfFiles: '{numberOfFiles} файли(-ів).',
@@ -4,7 +4,7 @@ export default {
4
4
  allowedFileValidatorComplex:
5
5
  '请上传最大 {maxSize} 的 {allowedTypesArray} 或 {allowedTypesLastItem} 文件。',
6
6
  dragAndDropText: '将您的文件拖放到此处,或',
7
- fileNameDescriptionLabel: '文件名: {fileName}',
7
+ fileNameDescriptionLabel: '文件名: ',
8
8
  generalValidatorMessage: '"{validatorMessage}", 例如 {listOfErroneousFiles}。',
9
9
  noFilesSelected: '未选择任何文件。',
10
10
  numberOfFiles: '{numberOfFiles} 个文件。',
@@ -266,7 +266,15 @@ export class LionInputStepper extends LocalizeMixin(LionInput) {
266
266
  */
267
267
  __increment() {
268
268
  const { step, min, max } = this.values;
269
- const newValue = this.currentValue + step;
269
+ const stepMin = min !== Infinity ? min : 0;
270
+
271
+ let newValue = this.currentValue + step;
272
+
273
+ if ((this.currentValue + stepMin) % step !== 0) {
274
+ // If the value is not aligned to step, align it to the nearest step
275
+ newValue = Math.floor(this.currentValue / step) * step + step + (stepMin % step);
276
+ }
277
+
270
278
  if (newValue <= max || max === Infinity) {
271
279
  this.modelValue = newValue < min && min !== Infinity ? `${min}` : `${newValue}`;
272
280
  this.__toggleSpinnerButtonsState();
@@ -279,8 +287,16 @@ export class LionInputStepper extends LocalizeMixin(LionInput) {
279
287
  * @private
280
288
  */
281
289
  __decrement() {
282
- const { step, min, max } = this.values;
283
- const newValue = this.currentValue - step;
290
+ const { step, max, min } = this.values;
291
+ const stepMin = min !== Infinity ? min : 0;
292
+
293
+ let newValue = this.currentValue - step;
294
+
295
+ if ((this.currentValue + stepMin) % step !== 0) {
296
+ // If the value is not aligned to step, align it to the nearest step
297
+ newValue = Math.floor(this.currentValue / step) * step + (stepMin % step);
298
+ }
299
+
284
300
  if (newValue >= min || min === Infinity) {
285
301
  this.modelValue = newValue > max && max !== Infinity ? `${max}` : `${newValue}`;
286
302
  this.__toggleSpinnerButtonsState();
@@ -265,6 +265,100 @@ describe('<lion-input-stepper>', () => {
265
265
  await nextFrame();
266
266
  expect(incrementButton?.getAttribute('disabled')).to.equal('true');
267
267
  });
268
+
269
+ describe('It align to steps', () => {
270
+ it('aligns the value to the nearest step when incrementing', async () => {
271
+ let el = await fixture(
272
+ html`<lion-input-stepper step="10" min="0" max="100" value="55"></lion-input-stepper>`,
273
+ );
274
+ let incrementButton = el.querySelector('[slot=suffix]');
275
+ incrementButton?.dispatchEvent(new Event('click'));
276
+ await el.updateComplete;
277
+ expect(el.modelValue).to.equal(60, 'Fail + : (0 > 100 by 10; val 55)');
278
+
279
+ // min 1
280
+ el = await fixture(
281
+ html`<lion-input-stepper step="10" min="1" max="100" value="55"></lion-input-stepper>`,
282
+ );
283
+ incrementButton = el.querySelector('[slot=suffix]');
284
+ incrementButton?.dispatchEvent(new Event('click'));
285
+ await el.updateComplete;
286
+ expect(el.modelValue).to.equal(61, 'Fail + : (1 > 100 by 10; val 55)');
287
+
288
+ // min 34
289
+ el = await fixture(
290
+ html`<lion-input-stepper step="10" min="34" max="100" value="55"></lion-input-stepper>`,
291
+ );
292
+ incrementButton = el.querySelector('[slot=suffix]');
293
+ incrementButton?.dispatchEvent(new Event('click'));
294
+ await el.updateComplete;
295
+ expect(el.modelValue).to.equal(64, 'Fail + : (34 > 100 by 10; val 55)');
296
+
297
+ // min -23
298
+ el = await fixture(
299
+ html`<lion-input-stepper step="10" min="-23" max="100" value="55"></lion-input-stepper>`,
300
+ );
301
+ incrementButton = el.querySelector('[slot=suffix]');
302
+ incrementButton?.dispatchEvent(new Event('click'));
303
+ await el.updateComplete;
304
+ expect(el.modelValue).to.equal(57, 'Fail + : (-23 > 100 by 10; val 55)'); // -23 > -13 > -3 > 7 > ... > 57
305
+
306
+ // min -23
307
+ el = await fixture(
308
+ html`<lion-input-stepper step="10" min="-23" max="100" value="-9"></lion-input-stepper>`,
309
+ );
310
+ incrementButton = el.querySelector('[slot=suffix]');
311
+ incrementButton?.dispatchEvent(new Event('click'));
312
+ await el.updateComplete;
313
+ expect(el.modelValue).to.equal(-3, 'Fail + : (-23 > 100 by 10; val 55)'); // -23 > -13 > -3 > 7
314
+ });
315
+
316
+ it('aligns the value to the nearest step when decrementing', async () => {
317
+ let el = await fixture(
318
+ html`<lion-input-stepper step="10" min="0" max="100" value="55"></lion-input-stepper>`,
319
+ );
320
+ let decrementButton = el.querySelector('[slot=prefix]');
321
+ decrementButton?.dispatchEvent(new Event('click'));
322
+ await el.updateComplete;
323
+ expect(el.modelValue).to.equal(50, 'Fail - : (0 > 100 by 10; val 55)');
324
+
325
+ // min 1
326
+ el = await fixture(
327
+ html`<lion-input-stepper step="10" min="1" max="100" value="55"></lion-input-stepper>`,
328
+ );
329
+ decrementButton = el.querySelector('[slot=prefix]');
330
+ decrementButton?.dispatchEvent(new Event('click'));
331
+ await el.updateComplete;
332
+ expect(el.modelValue).to.equal(51, 'Fail - : (1 > 100 by 10; val 55)');
333
+
334
+ // min 34
335
+ el = await fixture(
336
+ html`<lion-input-stepper step="10" min="34" max="100" value="55"></lion-input-stepper>`,
337
+ );
338
+ decrementButton = el.querySelector('[slot=prefix]');
339
+ decrementButton?.dispatchEvent(new Event('click'));
340
+ await el.updateComplete;
341
+ expect(el.modelValue).to.equal(54, 'Fail - : (34 > 100 by 10; val 55)');
342
+
343
+ // min -23
344
+ el = await fixture(
345
+ html`<lion-input-stepper step="10" min="-23" max="100" value="55"></lion-input-stepper>`,
346
+ );
347
+ decrementButton = el.querySelector('[slot=prefix]');
348
+ decrementButton?.dispatchEvent(new Event('click'));
349
+ await el.updateComplete;
350
+ expect(el.modelValue).to.equal(47, 'Fail - : (-23 > 100 by 10; val 55)'); // -23 > -13 > -3 > 7 > ... > 47
351
+
352
+ // min -23
353
+ el = await fixture(
354
+ html`<lion-input-stepper step="10" min="-23" max="100" value="-9"></lion-input-stepper>`,
355
+ );
356
+ decrementButton = el.querySelector('[slot=prefix]');
357
+ decrementButton?.dispatchEvent(new Event('click'));
358
+ await el.updateComplete;
359
+ expect(el.modelValue).to.equal(-13, 'Fail - : (-23 > 100 by 10; val 55)'); // -23 > -13 > -3 > 7
360
+ });
361
+ });
268
362
  });
269
363
 
270
364
  describe('Accessibility', () => {
@@ -0,0 +1,5 @@
1
+ import tr from './tr.js';
2
+
3
+ export default {
4
+ ...tr,
5
+ };
@@ -0,0 +1,4 @@
1
+ export default {
2
+ back: 'Geri',
3
+ close: 'Kapat',
4
+ };
@@ -73,6 +73,8 @@ export class LionPagination extends LocalizeMixin(LitElement) {
73
73
  return import('@lion/ui/pagination-translations/ru.js');
74
74
  case 'sk-SK':
75
75
  return import('@lion/ui/pagination-translations/sk.js');
76
+ case 'tr-TR':
77
+ return import('@lion/ui/pagination-translations/tr.js');
76
78
  case 'uk-UA':
77
79
  return import('@lion/ui/pagination-translations/uk.js');
78
80
  case 'zh-CN':
@@ -0,0 +1,6 @@
1
+ export default {
2
+ label: 'Sayfa gezintisi',
3
+ previous: 'Önceki sayfa',
4
+ next: 'Sonraki sayfa',
5
+ page: '{page}. sayfa',
6
+ };
@@ -85,6 +85,10 @@ export async function loadValidateNamespace({ localize }) {
85
85
  return import('@lion/ui/validate-messages-translations/sk-SK.js');
86
86
  case 'sk':
87
87
  return import('@lion/ui/validate-messages-translations/sk.js');
88
+ case 'tr-TR':
89
+ return import('@lion/ui/validate-messages-translations/tr-TR.js');
90
+ case 'tr':
91
+ return import('@lion/ui/validate-messages-translations/tr.js');
88
92
  case 'uk-UA':
89
93
  return import('@lion/ui/validate-messages-translations/uk-UA.js');
90
94
  case 'uk':
@@ -0,0 +1,13 @@
1
+ import tr from './tr.js';
2
+
3
+ export default {
4
+ ...tr,
5
+ error: {
6
+ ...tr.error,
7
+ IsDate: 'Lütfen geçerli bir tarih girin (GG/AA/YYYY).',
8
+ },
9
+ warning: {
10
+ ...tr.warning,
11
+ IsDate: 'Lütfen geçerli bir tarih girin (GG/AA/YYYY).',
12
+ },
13
+ };
@@ -0,0 +1,56 @@
1
+ export default {
2
+ error: {
3
+ Required: '{fieldName} alanını doldurun.',
4
+ _RequiredUpload: '{fieldName} dosyasını yükleyin.',
5
+ _RequiredSelect: '{fieldName} seçin.',
6
+ EqualsLength: '{fieldName} alanı tam olarak {params} karakter olmalıdır.',
7
+ MinLength: '{fieldName} alanı en az {params} karakter olmalıdır.',
8
+ MaxLength: '{fieldName} alanı en fazla {params} karakter olmalıdır.',
9
+ MinMaxLength: '{fieldName} alanı {params.min} ile {params.max} karakter arasında olmalıdır.',
10
+ Pattern: 'Geçerli bir {fieldName} girin.',
11
+ IsNumber: 'Geçerli bir {fieldName} girin.',
12
+ MinNumber: '{fieldName}, {params} veya daha büyük olmalıdır.',
13
+ MaxNumber: '{fieldName}, {params} veya daha küçük olmalıdır.',
14
+ MinMaxNumber: '{fieldName}, {params.min} ile {params.max} arasında olmalıdır.',
15
+ IsDate: 'Geçerli bir tarih girin (GG/AA/YYYY).',
16
+ MinDate: '{fieldName}, {params, date, YYYYMMDD} veya daha sonraki bir tarih olmalıdır.',
17
+ MaxDate: '{fieldName}, {params, date, YYYYMMDD} veya daha önceki bir tarih olmalıdır.',
18
+ MinMaxDate:
19
+ '{fieldName}, {params.min, date, YYYYMMDD} ile {params.max, date, YYYYMMDD} arasında olmalıdır.',
20
+ IsDateDisabled: 'Bu tarih kullanılamaz. Lütfen başka bir tarih seçin.',
21
+ IsEmail: 'Geçerli bir {fieldName} girin ("ad@örnek.com" formatında).',
22
+ MatchesOption: 'Eşleşen sonuç bulunamadı. Farklı bir anahtar kelime ya da kategori deneyin.',
23
+ },
24
+ warning: {
25
+ Required: '{fieldName} alanını doldurun.',
26
+ _RequiredUpload: '{fieldName} dosyasını yükleyin.',
27
+ _RequiredSelect: '{fieldName} seçin.',
28
+ EqualsLength: '{fieldName} alanı tam olarak {params} karakter olmalıdır.',
29
+ MinLength: '{fieldName} alanı en az {params} karakter olmalıdır.',
30
+ MaxLength: '{fieldName} alanı en fazla {params} karakter olmalıdır.',
31
+ MinMaxLength: '{fieldName} alanı {params.min} ile {params.max} karakter arasında olmalıdır.',
32
+ IsNumber: 'Geçerli bir {fieldName} girin.',
33
+ MinNumber: '{fieldName}, {params} veya daha büyük olmalıdır.',
34
+ MaxNumber: '{fieldName}, {params} veya daha küçük olmalıdır.',
35
+ MinMaxNumber: '{fieldName}, {params.min} ile {params.max} arasında olmalıdır.',
36
+ IsDate: 'Geçerli bir tarih girin (GG/AA/YYYY).',
37
+ MinDate: '{fieldName}, {params, date, YYYYMMDD} veya daha sonraki bir tarih olmalıdır.',
38
+ MaxDate: '{fieldName}, {params, date, YYYYMMDD} veya daha önceki bir tarih olmalıdır.',
39
+ MinMaxDate:
40
+ '{fieldName}, {params.min, date, YYYYMMDD} ile {params.max, date, YYYYMMDD} arasında olmalıdır.',
41
+ IsDateDisabled: 'Bu tarih kullanılamaz. Lütfen başka bir tarih seçin.',
42
+ IsEmail: 'Geçerli bir {fieldName} girin ("ad@örnek.com" formatında).',
43
+ MatchesOption: 'Eşleşen sonuç bulunamadı. Farklı bir anahtar kelime ya da kategori deneyin.',
44
+ },
45
+ success: {
46
+ DefaultOk: 'Tamam',
47
+ RandomOk:
48
+ 'success.DefaultOk,success.Correct,success.Succeeded,success.Ok,success.ThisIsRight,success.Changed,success.OkCorrect',
49
+ Correct: 'Doğru',
50
+ Succeeded: 'Başarılı',
51
+ Ok: 'Tamam!',
52
+ ThisIsRight: 'Bu doğru.',
53
+ Changed: 'Değiştirildi!',
54
+ OkCorrect: 'Tamam, doğru.',
55
+ },
56
+ };
@@ -6226,7 +6226,7 @@
6226
6226
  "name": "_allValidators",
6227
6227
  "description": "Combination of validators provided by Application Developer and the default validators",
6228
6228
  "type": {
6229
- "text": "Validator[]"
6229
+ "text": "(Validator | MetaValidator)[]"
6230
6230
  },
6231
6231
  "privacy": "protected",
6232
6232
  "readonly": true,
@@ -9170,7 +9170,7 @@
9170
9170
  "name": "_allValidators",
9171
9171
  "description": "Combination of validators provided by Application Developer and the default validators",
9172
9172
  "type": {
9173
- "text": "Validator[]"
9173
+ "text": "(Validator | MetaValidator)[]"
9174
9174
  },
9175
9175
  "privacy": "protected",
9176
9176
  "readonly": true,
@@ -12586,7 +12586,7 @@
12586
12586
  "name": "_allValidators",
12587
12587
  "description": "Combination of validators provided by Application Developer and the default validators",
12588
12588
  "type": {
12589
- "text": "Validator[]"
12589
+ "text": "(Validator | MetaValidator)[]"
12590
12590
  },
12591
12591
  "privacy": "protected",
12592
12592
  "readonly": true,
@@ -15635,7 +15635,7 @@
15635
15635
  "name": "_allValidators",
15636
15636
  "description": "Combination of validators provided by Application Developer and the default validators",
15637
15637
  "type": {
15638
- "text": "Validator[]"
15638
+ "text": "(Validator | MetaValidator)[]"
15639
15639
  },
15640
15640
  "privacy": "protected",
15641
15641
  "readonly": true,
@@ -21069,7 +21069,7 @@
21069
21069
  "name": "_allValidators",
21070
21070
  "description": "Combination of validators provided by Application Developer and the default validators",
21071
21071
  "type": {
21072
- "text": "Validator[]"
21072
+ "text": "(Validator | MetaValidator)[]"
21073
21073
  },
21074
21074
  "privacy": "protected",
21075
21075
  "readonly": true,
@@ -25187,7 +25187,7 @@
25187
25187
  "name": "_allValidators",
25188
25188
  "description": "Combination of validators provided by Application Developer and the default validators",
25189
25189
  "type": {
25190
- "text": "Validator[]"
25190
+ "text": "(Validator | MetaValidator)[]"
25191
25191
  },
25192
25192
  "privacy": "protected",
25193
25193
  "readonly": true,
@@ -27851,7 +27851,7 @@
27851
27851
  "name": "_allValidators",
27852
27852
  "description": "Combination of validators provided by Application Developer and the default validators",
27853
27853
  "type": {
27854
- "text": "Validator[]"
27854
+ "text": "(Validator | MetaValidator)[]"
27855
27855
  },
27856
27856
  "privacy": "protected",
27857
27857
  "readonly": true,
@@ -31125,7 +31125,7 @@
31125
31125
  "name": "_allValidators",
31126
31126
  "description": "Combination of validators provided by Application Developer and the default validators",
31127
31127
  "type": {
31128
- "text": "Validator[]"
31128
+ "text": "(Validator | MetaValidator)[]"
31129
31129
  },
31130
31130
  "privacy": "protected",
31131
31131
  "readonly": true,
@@ -33792,7 +33792,7 @@
33792
33792
  "name": "_allValidators",
33793
33793
  "description": "Combination of validators provided by Application Developer and the default validators",
33794
33794
  "type": {
33795
- "text": "Validator[]"
33795
+ "text": "(Validator | MetaValidator)[]"
33796
33796
  },
33797
33797
  "privacy": "protected",
33798
33798
  "readonly": true,
@@ -36533,7 +36533,7 @@
36533
36533
  "name": "_allValidators",
36534
36534
  "description": "Combination of validators provided by Application Developer and the default validators",
36535
36535
  "type": {
36536
- "text": "Validator[]"
36536
+ "text": "(Validator | MetaValidator)[]"
36537
36537
  },
36538
36538
  "privacy": "protected",
36539
36539
  "readonly": true,
@@ -39475,7 +39475,7 @@
39475
39475
  "name": "_allValidators",
39476
39476
  "description": "Combination of validators provided by Application Developer and the default validators",
39477
39477
  "type": {
39478
- "text": "Validator[]"
39478
+ "text": "(Validator | MetaValidator)[]"
39479
39479
  },
39480
39480
  "privacy": "protected",
39481
39481
  "readonly": true,
@@ -44795,7 +44795,7 @@
44795
44795
  "name": "_allValidators",
44796
44796
  "description": "Combination of validators provided by Application Developer and the default validators",
44797
44797
  "type": {
44798
- "text": "Validator[]"
44798
+ "text": "(Validator | MetaValidator)[]"
44799
44799
  },
44800
44800
  "privacy": "protected",
44801
44801
  "readonly": true,
@@ -47658,7 +47658,7 @@
47658
47658
  "name": "_allValidators",
47659
47659
  "description": "Combination of validators provided by Application Developer and the default validators",
47660
47660
  "type": {
47661
- "text": "Validator[]"
47661
+ "text": "(Validator | MetaValidator)[]"
47662
47662
  },
47663
47663
  "privacy": "protected",
47664
47664
  "readonly": true,
@@ -49903,7 +49903,7 @@
49903
49903
  "name": "_allValidators",
49904
49904
  "description": "Combination of validators provided by Application Developer and the default validators",
49905
49905
  "type": {
49906
- "text": "Validator[]"
49906
+ "text": "(Validator | MetaValidator)[]"
49907
49907
  },
49908
49908
  "privacy": "protected",
49909
49909
  "readonly": true
@@ -57351,7 +57351,7 @@
57351
57351
  "name": "_allValidators",
57352
57352
  "description": "Combination of validators provided by Application Developer and the default validators",
57353
57353
  "type": {
57354
- "text": "Validator[]"
57354
+ "text": "(Validator | MetaValidator)[]"
57355
57355
  },
57356
57356
  "privacy": "protected",
57357
57357
  "readonly": true,
@@ -60111,7 +60111,7 @@
60111
60111
  "name": "_allValidators",
60112
60112
  "description": "Combination of validators provided by Application Developer and the default validators",
60113
60113
  "type": {
60114
- "text": "Validator[]"
60114
+ "text": "(Validator | MetaValidator)[]"
60115
60115
  },
60116
60116
  "privacy": "protected",
60117
60117
  "readonly": true,
@@ -63667,7 +63667,7 @@
63667
63667
  "name": "_allValidators",
63668
63668
  "description": "Combination of validators provided by Application Developer and the default validators",
63669
63669
  "type": {
63670
- "text": "Validator[]"
63670
+ "text": "(Validator | MetaValidator)[]"
63671
63671
  },
63672
63672
  "privacy": "protected",
63673
63673
  "readonly": true,
@@ -65467,7 +65467,7 @@
65467
65467
  "name": "_allValidators",
65468
65468
  "description": "Combination of validators provided by Application Developer and the default validators",
65469
65469
  "type": {
65470
- "text": "Validator[]"
65470
+ "text": "(Validator | MetaValidator)[]"
65471
65471
  },
65472
65472
  "privacy": "protected",
65473
65473
  "readonly": true,
@@ -69072,7 +69072,7 @@
69072
69072
  "name": "_allValidators",
69073
69073
  "description": "Combination of validators provided by Application Developer and the default validators",
69074
69074
  "type": {
69075
- "text": "Validator[]"
69075
+ "text": "(Validator | MetaValidator)[]"
69076
69076
  },
69077
69077
  "privacy": "protected",
69078
69078
  "readonly": true,
@@ -72408,7 +72408,7 @@
72408
72408
  "name": "_allValidators",
72409
72409
  "description": "Combination of validators provided by Application Developer and the default validators",
72410
72410
  "type": {
72411
- "text": "Validator[]"
72411
+ "text": "(Validator | MetaValidator)[]"
72412
72412
  },
72413
72413
  "privacy": "protected",
72414
72414
  "readonly": true,
@@ -75767,7 +75767,7 @@
75767
75767
  "name": "_allValidators",
75768
75768
  "description": "Combination of validators provided by Application Developer and the default validators",
75769
75769
  "type": {
75770
- "text": "Validator[]"
75770
+ "text": "(Validator | MetaValidator)[]"
75771
75771
  },
75772
75772
  "privacy": "protected",
75773
75773
  "readonly": true,
@@ -79429,7 +79429,7 @@
79429
79429
  "name": "_allValidators",
79430
79430
  "description": "Combination of validators provided by Application Developer and the default validators",
79431
79431
  "type": {
79432
- "text": "Validator[]"
79432
+ "text": "(Validator | MetaValidator)[]"
79433
79433
  },
79434
79434
  "privacy": "protected",
79435
79435
  "readonly": true,
@@ -81611,6 +81611,7 @@
81611
81611
  }
81612
81612
  }
81613
81613
  ],
81614
+ "default": "''",
81614
81615
  "attribute": "button-label"
81615
81616
  },
81616
81617
  {
@@ -82585,7 +82586,7 @@
82585
82586
  "name": "_allValidators",
82586
82587
  "description": "Combination of validators provided by Application Developer and the default validators",
82587
82588
  "type": {
82588
- "text": "Validator[]"
82589
+ "text": "(Validator | MetaValidator)[]"
82589
82590
  },
82590
82591
  "privacy": "protected",
82591
82592
  "readonly": true,
@@ -82947,6 +82948,15 @@
82947
82948
  "module": "components/form-core/src/LionField.js"
82948
82949
  }
82949
82950
  },
82951
+ {
82952
+ "kind": "field",
82953
+ "name": "_initialButtonLabel",
82954
+ "type": {
82955
+ "text": "string"
82956
+ },
82957
+ "default": "''",
82958
+ "privacy": "protected"
82959
+ },
82950
82960
  {
82951
82961
  "kind": "method",
82952
82962
  "name": "_inputGroupAfterTemplate",
@@ -84543,6 +84553,7 @@
84543
84553
  }
84544
84554
  }
84545
84555
  ],
84556
+ "default": "''",
84546
84557
  "fieldName": "buttonLabel"
84547
84558
  },
84548
84559
  {
@@ -86768,7 +86779,7 @@
86768
86779
  "name": "_allValidators",
86769
86780
  "description": "Combination of validators provided by Application Developer and the default validators",
86770
86781
  "type": {
86771
- "text": "Validator[]"
86782
+ "text": "(Validator | MetaValidator)[]"
86772
86783
  },
86773
86784
  "privacy": "protected",
86774
86785
  "readonly": true,
@@ -90773,7 +90784,7 @@
90773
90784
  "name": "_allValidators",
90774
90785
  "description": "Combination of validators provided by Application Developer and the default validators",
90775
90786
  "type": {
90776
- "text": "Validator[]"
90787
+ "text": "(Validator | MetaValidator)[]"
90777
90788
  },
90778
90789
  "privacy": "protected",
90779
90790
  "readonly": true,
@@ -94009,7 +94020,7 @@
94009
94020
  "name": "_allValidators",
94010
94021
  "description": "Combination of validators provided by Application Developer and the default validators",
94011
94022
  "type": {
94012
- "text": "Validator[]"
94023
+ "text": "(Validator | MetaValidator)[]"
94013
94024
  },
94014
94025
  "privacy": "protected",
94015
94026
  "readonly": true,
@@ -97544,7 +97555,7 @@
97544
97555
  "name": "_allValidators",
97545
97556
  "description": "Combination of validators provided by Application Developer and the default validators",
97546
97557
  "type": {
97547
- "text": "Validator[]"
97558
+ "text": "(Validator | MetaValidator)[]"
97548
97559
  },
97549
97560
  "privacy": "protected",
97550
97561
  "readonly": true,
@@ -101079,7 +101090,7 @@
101079
101090
  "name": "_allValidators",
101080
101091
  "description": "Combination of validators provided by Application Developer and the default validators",
101081
101092
  "type": {
101082
- "text": "Validator[]"
101093
+ "text": "(Validator | MetaValidator)[]"
101083
101094
  },
101084
101095
  "privacy": "protected",
101085
101096
  "readonly": true,
@@ -104661,7 +104672,7 @@
104661
104672
  "name": "_allValidators",
104662
104673
  "description": "Combination of validators provided by Application Developer and the default validators",
104663
104674
  "type": {
104664
- "text": "Validator[]"
104675
+ "text": "(Validator | MetaValidator)[]"
104665
104676
  },
104666
104677
  "privacy": "protected",
104667
104678
  "readonly": true,
@@ -107635,7 +107646,7 @@
107635
107646
  "name": "_allValidators",
107636
107647
  "description": "Combination of validators provided by Application Developer and the default validators",
107637
107648
  "type": {
107638
- "text": "Validator[]"
107649
+ "text": "(Validator | MetaValidator)[]"
107639
107650
  },
107640
107651
  "privacy": "protected",
107641
107652
  "readonly": true,
@@ -111939,7 +111950,7 @@
111939
111950
  "name": "_allValidators",
111940
111951
  "description": "Combination of validators provided by Application Developer and the default validators",
111941
111952
  "type": {
111942
- "text": "Validator[]"
111953
+ "text": "(Validator | MetaValidator)[]"
111943
111954
  },
111944
111955
  "privacy": "protected",
111945
111956
  "readonly": true,
@@ -119413,7 +119424,7 @@
119413
119424
  "name": "_allValidators",
119414
119425
  "description": "Combination of validators provided by Application Developer and the default validators",
119415
119426
  "type": {
119416
- "text": "Validator[]"
119427
+ "text": "(Validator | MetaValidator)[]"
119417
119428
  },
119418
119429
  "privacy": "protected",
119419
119430
  "readonly": true,
@@ -122750,7 +122761,7 @@
122750
122761
  "name": "_allValidators",
122751
122762
  "description": "Combination of validators provided by Application Developer and the default validators",
122752
122763
  "type": {
122753
- "text": "Validator[]"
122764
+ "text": "(Validator | MetaValidator)[]"
122754
122765
  },
122755
122766
  "privacy": "protected",
122756
122767
  "readonly": true,
@@ -125789,7 +125800,7 @@
125789
125800
  "name": "_allValidators",
125790
125801
  "description": "Combination of validators provided by Application Developer and the default validators",
125791
125802
  "type": {
125792
- "text": "Validator[]"
125803
+ "text": "(Validator | MetaValidator)[]"
125793
125804
  },
125794
125805
  "privacy": "protected",
125795
125806
  "readonly": true,
@@ -130169,7 +130180,7 @@
130169
130180
  "name": "_allValidators",
130170
130181
  "description": "Combination of validators provided by Application Developer and the default validators",
130171
130182
  "type": {
130172
- "text": "Validator[]"
130183
+ "text": "(Validator | MetaValidator)[]"
130173
130184
  },
130174
130185
  "privacy": "protected",
130175
130186
  "readonly": true,
@@ -133595,7 +133606,7 @@
133595
133606
  "name": "_allValidators",
133596
133607
  "description": "Combination of validators provided by Application Developer and the default validators",
133597
133608
  "type": {
133598
- "text": "Validator[]"
133609
+ "text": "(Validator | MetaValidator)[]"
133599
133610
  },
133600
133611
  "privacy": "protected",
133601
133612
  "readonly": true,
@@ -137424,7 +137435,7 @@
137424
137435
  "name": "_allValidators",
137425
137436
  "description": "Combination of validators provided by Application Developer and the default validators",
137426
137437
  "type": {
137427
- "text": "Validator[]"
137438
+ "text": "(Validator | MetaValidator)[]"
137428
137439
  },
137429
137440
  "privacy": "protected",
137430
137441
  "readonly": true,
@@ -141599,7 +141610,7 @@
141599
141610
  "name": "_allValidators",
141600
141611
  "description": "Combination of validators provided by Application Developer and the default validators",
141601
141612
  "type": {
141602
- "text": "Validator[]"
141613
+ "text": "(Validator | MetaValidator)[]"
141603
141614
  },
141604
141615
  "privacy": "protected",
141605
141616
  "readonly": true,