@pdfme/ui 5.2.13 → 5.2.14

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.
@@ -1,8 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { Plugins, UIOptions } from '@pdfme/common';
3
- export declare const I18nContext: import("react").Context<(key: "type" | "width" | "height" | "rotate" | "opacity" | "required" | "cancel" | "close" | "field" | "fieldName" | "align" | "edit" | "editable" | "plsInputName" | "fieldMustUniq" | "notUniq" | "noKeyName" | "fieldsList" | "editField" | "errorOccurred" | "errorBulkUpdateFieldName" | "commitBulkUpdateFieldName" | "bulkUpdateFieldName" | "addPageAfter" | "removePage" | "removePageConfirm" | "validation.uniqueName" | "validation.hexColor" | "validation.dateTimeFormat" | "schemas.color" | "schemas.borderWidth" | "schemas.borderColor" | "schemas.backgroundColor" | "schemas.textColor" | "schemas.bgColor" | "schemas.horizontal" | "schemas.vertical" | "schemas.left" | "schemas.center" | "schemas.right" | "schemas.top" | "schemas.middle" | "schemas.bottom" | "schemas.padding" | "schemas.text.fontName" | "schemas.text.size" | "schemas.text.spacing" | "schemas.text.textAlign" | "schemas.text.verticalAlign" | "schemas.text.lineHeight" | "schemas.text.min" | "schemas.text.max" | "schemas.text.fit" | "schemas.text.dynamicFontSize" | "schemas.text.format" | "schemas.mvt.typingInstructions" | "schemas.mvt.sampleField" | "schemas.mvt.variablesSampleData" | "schemas.barcodes.barColor" | "schemas.barcodes.includetext" | "schemas.table.alternateBackgroundColor" | "schemas.table.tableStyle" | "schemas.table.showHead" | "schemas.table.headStyle" | "schemas.table.bodyStyle" | "schemas.table.columnStyle" | "schemas.date.format" | "schemas.date.locale" | "schemas.select.options" | "schemas.select.optionPlaceholder" | "schemas.radioGroup.groupName", dict?: {
3
+ export declare const I18nContext: import("react").Context<(key: "type" | "width" | "height" | "rotate" | "opacity" | "required" | "cancel" | "close" | "set" | "clear" | "field" | "fieldName" | "align" | "edit" | "editable" | "plsInputName" | "fieldMustUniq" | "notUniq" | "noKeyName" | "fieldsList" | "editField" | "errorOccurred" | "errorBulkUpdateFieldName" | "commitBulkUpdateFieldName" | "bulkUpdateFieldName" | "addPageAfter" | "removePage" | "removePageConfirm" | "validation.uniqueName" | "validation.hexColor" | "validation.dateTimeFormat" | "schemas.color" | "schemas.borderWidth" | "schemas.borderColor" | "schemas.backgroundColor" | "schemas.textColor" | "schemas.bgColor" | "schemas.horizontal" | "schemas.vertical" | "schemas.left" | "schemas.center" | "schemas.right" | "schemas.top" | "schemas.middle" | "schemas.bottom" | "schemas.padding" | "schemas.text.fontName" | "schemas.text.size" | "schemas.text.spacing" | "schemas.text.textAlign" | "schemas.text.verticalAlign" | "schemas.text.lineHeight" | "schemas.text.min" | "schemas.text.max" | "schemas.text.fit" | "schemas.text.dynamicFontSize" | "schemas.text.format" | "schemas.mvt.typingInstructions" | "schemas.mvt.sampleField" | "schemas.mvt.variablesSampleData" | "schemas.barcodes.barColor" | "schemas.barcodes.includetext" | "schemas.table.alternateBackgroundColor" | "schemas.table.tableStyle" | "schemas.table.showHead" | "schemas.table.headStyle" | "schemas.table.bodyStyle" | "schemas.table.columnStyle" | "schemas.date.format" | "schemas.date.locale" | "schemas.select.options" | "schemas.select.optionPlaceholder" | "schemas.radioGroup.groupName", dict?: {
4
4
  cancel: string;
5
5
  close: string;
6
+ set: string;
7
+ clear: string;
6
8
  field: string;
7
9
  fieldName: string;
8
10
  align: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdfme/ui",
3
- "version": "5.2.13",
3
+ "version": "5.2.14",
4
4
  "sideEffects": false,
5
5
  "author": "hand-dot",
6
6
  "license": "MIT",
package/src/i18n.ts CHANGED
@@ -4,6 +4,8 @@ import { DEFAULT_LANG } from './constants.js';
4
4
  const dictEn: { [key in keyof Dict]: string } = {
5
5
  cancel: 'Cancel',
6
6
  close: 'Close',
7
+ clear: 'Clear',
8
+ set: 'Set',
7
9
  field: 'field',
8
10
  fieldName: 'Name',
9
11
  align: 'Align',
@@ -80,6 +82,8 @@ const dictEn: { [key in keyof Dict]: string } = {
80
82
  const dictZh: { [key in keyof Dict]: string } = {
81
83
  cancel: '取消',
82
84
  close: '关闭',
85
+ clear: '清除',
86
+ set: '设置',
83
87
  field: '字段',
84
88
  fieldName: '名称',
85
89
  align: '对齐',
@@ -154,6 +158,8 @@ const dictZh: { [key in keyof Dict]: string } = {
154
158
  const dictJa: { [key in keyof Dict]: string } = {
155
159
  cancel: 'キャンセル',
156
160
  close: '閉じる',
161
+ clear: 'クリア',
162
+ set: '設定',
157
163
  field: '入力項目',
158
164
  fieldName: '項目名',
159
165
  align: '整列',
@@ -228,6 +234,8 @@ const dictJa: { [key in keyof Dict]: string } = {
228
234
  const dictKo: { [key in keyof Dict]: string } = {
229
235
  cancel: '취소',
230
236
  close: '닫기',
237
+ clear: '지우기',
238
+ set: '설정',
231
239
  field: '필드',
232
240
  fieldName: '이름',
233
241
  align: '정렬',
@@ -302,6 +310,8 @@ const dictKo: { [key in keyof Dict]: string } = {
302
310
  const dictAr: { [key in keyof Dict]: string } = {
303
311
  cancel: 'إلغاء',
304
312
  close: 'إغلاق',
313
+ clear: 'مسح',
314
+ set: 'تعيين',
305
315
  field: 'الحقل',
306
316
  fieldName: 'اسم الحقل',
307
317
  align: 'محاذاة',
@@ -377,6 +387,8 @@ const dictAr: { [key in keyof Dict]: string } = {
377
387
  const dictTh: { [key in keyof Dict]: string } = {
378
388
  cancel: 'ยกเลิก',
379
389
  close: 'ปิด',
390
+ clear: 'ล้าง',
391
+ set: 'ตั้งค่า',
380
392
  field: 'ฟิลด์',
381
393
  fieldName: 'ชื่อฟิลด์',
382
394
  align: 'จัดเรียง',
@@ -451,6 +463,8 @@ const dictTh: { [key in keyof Dict]: string } = {
451
463
  const dictIt: { [key in keyof Dict]: string } = {
452
464
  cancel: 'Annulla',
453
465
  close: 'Chiudi',
466
+ clear: 'Wyczyść',
467
+ set: 'Ustaw',
454
468
  field: 'Campo',
455
469
  fieldName: 'Nome',
456
470
  align: 'Allinea',
@@ -528,6 +542,8 @@ const dictIt: { [key in keyof Dict]: string } = {
528
542
  const dictPl: { [key in keyof Dict]: string } = {
529
543
  cancel: 'Anuluj',
530
544
  close: 'Zamknij',
545
+ clear: 'Cancella',
546
+ set: 'Imposta',
531
547
  field: 'pole',
532
548
  fieldName: 'Klucz pola',
533
549
  align: 'Wyrównanie',
@@ -602,6 +618,8 @@ const dictPl: { [key in keyof Dict]: string } = {
602
618
  const dictDe: { [key in keyof Dict]: string } = {
603
619
  cancel: 'Abbrechen',
604
620
  close: 'Schließen',
621
+ clear: 'Löschen',
622
+ set: 'Festlegen',
605
623
  field: 'Feld',
606
624
  fieldName: 'Name',
607
625
  align: 'Ausrichten',
@@ -679,6 +697,8 @@ const dictDe: { [key in keyof Dict]: string } = {
679
697
  const dictEs: { [key in keyof Dict]: string } = {
680
698
  cancel: 'Cancelar',
681
699
  close: 'Cerrar',
700
+ clear: 'Limpiar',
701
+ set: 'Establecer',
682
702
  field: 'campo',
683
703
  fieldName: 'Nombre',
684
704
  align: 'Alinear',
@@ -755,6 +775,8 @@ const dictEs: { [key in keyof Dict]: string } = {
755
775
  const dictFr: { [key in keyof Dict]: string } = {
756
776
  cancel: 'Annuler',
757
777
  close: 'Fermer',
778
+ clear: 'Effacer',
779
+ set: 'Définir',
758
780
  field: 'Champ',
759
781
  fieldName: 'Nom',
760
782
  align: 'Aligner',