@pdfme/ui 5.2.1-dev.1 → 5.2.1-dev.2

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,6 +1,6 @@
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" | "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.headStyle" | "schemas.table.bodyStyle" | "schemas.table.columnStyle" | "schemas.date.format" | "schemas.select.options" | "schemas.select.optionPlaceholder", dict?: {
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" | "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.headStyle" | "schemas.table.bodyStyle" | "schemas.table.columnStyle" | "schemas.date.format" | "schemas.select.options" | "schemas.select.optionPlaceholder" | "schemas.radioGroup.groupName", dict?: {
4
4
  cancel: string;
5
5
  close: string;
6
6
  field: string;
@@ -68,6 +68,7 @@ export declare const I18nContext: import("react").Context<(key: "type" | "width"
68
68
  'schemas.date.format': string;
69
69
  'schemas.select.options': string;
70
70
  'schemas.select.optionPlaceholder': string;
71
+ 'schemas.radioGroup.groupName': string;
71
72
  } | undefined) => string>;
72
73
  export declare const FontContext: import("react").Context<Record<string, {
73
74
  data: string | ArrayBuffer | Uint8Array;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdfme/ui",
3
- "version": "5.2.1-dev.1",
3
+ "version": "5.2.1-dev.2",
4
4
  "sideEffects": false,
5
5
  "author": "hand-dot",
6
6
  "license": "MIT",
package/src/i18n.ts CHANGED
@@ -71,6 +71,7 @@ const dictEn: { [key in keyof Dict]: string } = {
71
71
  'schemas.date.format': 'Date Format',
72
72
  'schemas.select.options': 'Options',
73
73
  'schemas.select.optionPlaceholder': 'Enter an option',
74
+ 'schemas.radioGroup.groupName': 'Group Name',
74
75
  };
75
76
 
76
77
  const dictZh: { [key in keyof Dict]: string } = {
@@ -141,6 +142,7 @@ const dictZh: { [key in keyof Dict]: string } = {
141
142
  'schemas.date.format': '日期格式',
142
143
  'schemas.select.options': '选项',
143
144
  'schemas.select.optionPlaceholder': '请输入选项',
145
+ 'schemas.radioGroup.groupName': '组名',
144
146
  };
145
147
 
146
148
  const dictJa: { [key in keyof Dict]: string } = {
@@ -211,6 +213,7 @@ const dictJa: { [key in keyof Dict]: string } = {
211
213
  'schemas.date.format': '日付形式',
212
214
  'schemas.select.options': 'オプション',
213
215
  'schemas.select.optionPlaceholder': 'オプションを入力してください',
216
+ 'schemas.radioGroup.groupName': 'グループ名',
214
217
  };
215
218
 
216
219
  const dictKo: { [key in keyof Dict]: string } = {
@@ -281,6 +284,7 @@ const dictKo: { [key in keyof Dict]: string } = {
281
284
  'schemas.date.format': '날짜 형식',
282
285
  'schemas.select.options': '옵션',
283
286
  'schemas.select.optionPlaceholder': '옵션을 입력하세요',
287
+ 'schemas.radioGroup.groupName': '그룹 이름',
284
288
  };
285
289
 
286
290
  const dictAr: { [key in keyof Dict]: string } = {
@@ -352,6 +356,7 @@ const dictAr: { [key in keyof Dict]: string } = {
352
356
  'schemas.date.format': 'تنسيق التاريخ',
353
357
  'schemas.select.options': 'خيارات',
354
358
  'schemas.select.optionPlaceholder': 'أدخل خيارًا',
359
+ 'schemas.radioGroup.groupName': 'اسم المجموعة',
355
360
  };
356
361
 
357
362
  const dictTh: { [key in keyof Dict]: string } = {
@@ -422,6 +427,7 @@ const dictTh: { [key in keyof Dict]: string } = {
422
427
  'schemas.date.format': 'รูปแบบวันที่',
423
428
  'schemas.select.options': 'ตัวเลือก',
424
429
  'schemas.select.optionPlaceholder': 'กรอกตัวเลือก',
430
+ 'schemas.radioGroup.groupName': 'ชื่อกลุ่ม',
425
431
  };
426
432
 
427
433
  const dictIt: { [key in keyof Dict]: string } = {
@@ -495,6 +501,7 @@ const dictIt: { [key in keyof Dict]: string } = {
495
501
  'schemas.date.format': 'Formato data',
496
502
  'schemas.select.options': 'Opzioni',
497
503
  'schemas.select.optionPlaceholder': 'Inserisci un\'opzione',
504
+ 'schemas.radioGroup.groupName': 'Nome del Gruppo',
498
505
  };
499
506
 
500
507
  const dictPl: { [key in keyof Dict]: string } = {
@@ -565,6 +572,7 @@ const dictPl: { [key in keyof Dict]: string } = {
565
572
  'schemas.date.format': 'Format daty',
566
573
  'schemas.select.options': 'Opcje',
567
574
  'schemas.select.optionPlaceholder': 'Wpisz opcję',
575
+ 'schemas.radioGroup.groupName': 'Nazwa grupy',
568
576
  };
569
577
 
570
578
  const dictDe: { [key in keyof Dict]: string } = {
@@ -638,6 +646,7 @@ const dictDe: { [key in keyof Dict]: string } = {
638
646
  'schemas.date.format': 'Datumsformat',
639
647
  'schemas.select.options': 'Optionen',
640
648
  'schemas.select.optionPlaceholder': 'Geben Sie eine Option ein',
649
+ 'schemas.radioGroup.groupName': 'Gruppenname',
641
650
  };
642
651
 
643
652
  const dictEs: { [key in keyof Dict]: string } = {
@@ -710,6 +719,7 @@ const dictEs: { [key in keyof Dict]: string } = {
710
719
  'schemas.date.format': 'Formato de fecha',
711
720
  'schemas.select.options': 'Opciones',
712
721
  'schemas.select.optionPlaceholder': 'Ingrese una opción',
722
+ 'schemas.radioGroup.groupName': 'Nombre del grupo',
713
723
  };
714
724
 
715
725
  const dictFr: { [key in keyof Dict]: string } = {
@@ -783,6 +793,7 @@ const dictFr: { [key in keyof Dict]: string } = {
783
793
  'schemas.date.format': 'Format de date',
784
794
  'schemas.select.options': 'Options',
785
795
  'schemas.select.optionPlaceholder': 'Entrez une option',
796
+ 'schemas.radioGroup.groupName': 'Nom du groupe',
786
797
  };
787
798
 
788
799
  const dictionaries: { [key in Lang]: Dict } = {