@pdfme/ui 4.2.4 → 4.2.5-dev.1
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/dist/index.es.js +3560 -3453
- package/dist/index.umd.js +96 -95
- package/dist/types/class.d.ts +3 -0
- package/dist/types/components/Designer/PluginIcon.d.ts +10 -0
- package/dist/types/components/Designer/RightSidebar/ListView/Item.d.ts +2 -0
- package/dist/types/contexts.d.ts +4 -2
- package/dist/types/helper.d.ts +1 -0
- package/package.json +1 -1
- package/src/Designer.tsx +1 -0
- package/src/components/Designer/LeftSidebar.tsx +6 -14
- package/src/components/Designer/PluginIcon.tsx +47 -0
- package/src/components/Designer/RightSidebar/DetailView/ButtonGroupWidget.tsx +1 -1
- package/src/components/Designer/RightSidebar/DetailView/index.tsx +66 -33
- package/src/components/Designer/RightSidebar/ListView/Item.tsx +7 -1
- package/src/components/Designer/RightSidebar/ListView/SelectableSortableContainer.tsx +25 -5
- package/src/components/Designer/RightSidebar/ListView/SelectableSortableItem.tsx +11 -1
- package/src/components/Designer/index.tsx +13 -2
- package/src/components/Renderer.tsx +10 -0
- package/src/helper.ts +4 -1
- package/src/i18n.ts +33 -11
package/src/i18n.ts
CHANGED
@@ -10,6 +10,7 @@ const dictEn: { [key in keyof Dict]: string } = {
|
|
10
10
|
height: 'Height',
|
11
11
|
opacity: 'Opacity',
|
12
12
|
rotate: 'Rotate',
|
13
|
+
required: 'Required',
|
13
14
|
edit: 'Edit',
|
14
15
|
plsInputName: 'Please input name',
|
15
16
|
fieldMustUniq: 'Name of field is not unique',
|
@@ -26,7 +27,8 @@ const dictEn: { [key in keyof Dict]: string } = {
|
|
26
27
|
addPageAfter: 'Add Page After',
|
27
28
|
removePage: 'Remove Current Page',
|
28
29
|
removePageConfirm: 'Are you sure you want to delete this page? This action cannot be undone.',
|
29
|
-
|
30
|
+
'validation.hexColor': 'Please enter a valid hex color code.',
|
31
|
+
'validation.uniqueName': 'Please enter a unique name.',
|
30
32
|
'schemas.color': 'Color',
|
31
33
|
'schemas.borderWidth': 'Border Width',
|
32
34
|
'schemas.borderColor': 'Border Color',
|
@@ -74,6 +76,7 @@ const dictZh: { [key in keyof Dict]: string } = {
|
|
74
76
|
height: '高度',
|
75
77
|
opacity: '透明度',
|
76
78
|
rotate: '旋转',
|
79
|
+
required: '必需的',
|
77
80
|
edit: '编辑',
|
78
81
|
plsInputName: '请输入名称',
|
79
82
|
fieldMustUniq: '字段名称必须唯一',
|
@@ -89,7 +92,8 @@ const dictZh: { [key in keyof Dict]: string } = {
|
|
89
92
|
addPageAfter: '在之后添加页面',
|
90
93
|
removePage: '删除当前页面',
|
91
94
|
removePageConfirm: '您确定要删除此页面吗?此操作无法撤销。',
|
92
|
-
|
95
|
+
'validation.hexColor': '请输入有效的十六进制颜色代码。',
|
96
|
+
'validation.uniqueName': '请输入一个唯一的名称。',
|
93
97
|
'schemas.color': '颜色',
|
94
98
|
'schemas.borderWidth': '边框宽度',
|
95
99
|
'schemas.borderColor': '边框颜色',
|
@@ -137,6 +141,7 @@ const dictJa: { [key in keyof Dict]: string } = {
|
|
137
141
|
height: '高さ',
|
138
142
|
opacity: '不透明度',
|
139
143
|
rotate: '回転',
|
144
|
+
required: '必須',
|
140
145
|
edit: '編集する',
|
141
146
|
plsInputName: '項目名を入力してください',
|
142
147
|
fieldMustUniq: '他の入力項目名と被っています',
|
@@ -152,7 +157,8 @@ const dictJa: { [key in keyof Dict]: string } = {
|
|
152
157
|
addPageAfter: '次にページを追加',
|
153
158
|
removePage: '現在のページを削除',
|
154
159
|
removePageConfirm: 'ページを削除してもよろしいですか?この操作は元に戻せません。',
|
155
|
-
|
160
|
+
'validation.hexColor': '有効な16進数のカラーコードを入力してください。',
|
161
|
+
'validation.uniqueName': '一意の名前を入力してください。',
|
156
162
|
'schemas.color': '色',
|
157
163
|
'schemas.borderWidth': '枠線の太さ',
|
158
164
|
'schemas.borderColor': '枠線の色',
|
@@ -200,6 +206,7 @@ const dictKo: { [key in keyof Dict]: string } = {
|
|
200
206
|
height: '높이',
|
201
207
|
opacity: '투명도',
|
202
208
|
rotate: '회전',
|
209
|
+
required: '필수의',
|
203
210
|
edit: '편집',
|
204
211
|
plsInputName: '이름을 입력하세요',
|
205
212
|
fieldMustUniq: '필드 이름은 유일해야 합니다',
|
@@ -215,7 +222,8 @@ const dictKo: { [key in keyof Dict]: string } = {
|
|
215
222
|
addPageAfter: '다음에 페이지 추가',
|
216
223
|
removePage: '현재 페이지 제거',
|
217
224
|
removePageConfirm: '이 페이지를 삭제하시겠습니까? 이 작업은 취소할 수 없습니다.',
|
218
|
-
|
225
|
+
'validation.hexColor': '유효한 16진수 색상 코드를 입력하세요.',
|
226
|
+
'validation.uniqueName': '고유한 이름을 입력하세요.',
|
219
227
|
'schemas.color': '색상',
|
220
228
|
'schemas.borderWidth': '테두리 너비',
|
221
229
|
'schemas.borderColor': '테두리 색상',
|
@@ -263,6 +271,7 @@ const dictAr: { [key in keyof Dict]: string } = {
|
|
263
271
|
height: 'الارتفاع',
|
264
272
|
opacity: 'الشفافية',
|
265
273
|
rotate: 'تدوير',
|
274
|
+
required: 'مطلوب',
|
266
275
|
edit: 'تعديل',
|
267
276
|
plsInputName: 'الرجاء إدخال الاسم',
|
268
277
|
fieldMustUniq: 'يجب أن يكون الحقل فريداً',
|
@@ -278,7 +287,8 @@ const dictAr: { [key in keyof Dict]: string } = {
|
|
278
287
|
addPageAfter: 'إضافة صفحة بعد',
|
279
288
|
removePage: 'احذف الصفحة الحالية',
|
280
289
|
removePageConfirm: 'هل أنت متأكد من رغبتك في حذف هذه الصفحة؟ لا يمكن التراجع عن هذا الإجراء.',
|
281
|
-
|
290
|
+
'validation.hexColor': 'الرجاء إدخال رمز لون سداسي عشري صالح.',
|
291
|
+
'validation.uniqueName': 'الرجاء إدخال اسم فريد.',
|
282
292
|
'schemas.color': 'اللون',
|
283
293
|
'schemas.borderWidth': 'عرض الحدود',
|
284
294
|
'schemas.borderColor': 'لون الحدود',
|
@@ -326,6 +336,7 @@ const dictTh: { [key in keyof Dict]: string } = {
|
|
326
336
|
height: 'ความสูง',
|
327
337
|
opacity: 'ความทึบ',
|
328
338
|
rotate: 'หมุน',
|
339
|
+
required: 'ที่จำเป็น',
|
329
340
|
edit: 'แก้ไข',
|
330
341
|
plsInputName: 'กรุณาใส่ชื่อ',
|
331
342
|
fieldMustUniq: 'ชื่อฟิลด์ต้องไม่ซ้ำกัน',
|
@@ -341,7 +352,8 @@ const dictTh: { [key in keyof Dict]: string } = {
|
|
341
352
|
addPageAfter: 'เพิ่มหน้าถัดไป',
|
342
353
|
removePage: 'ลบหน้าปัจจุบัน',
|
343
354
|
removePageConfirm: 'คุณแน่ใจหรือไม่ว่าต้องการลบหน้านี้? การกระทำนี้ไม่สามารถย้อนกลับได้',
|
344
|
-
|
355
|
+
'validation.hexColor': 'กรุณาใส่รหัสสีแบบฐานสิบหกที่ถูกต้อง',
|
356
|
+
'validation.uniqueName': 'กรุณาระบุชื่อที่ไม่ซ้ำ',
|
345
357
|
'schemas.color': 'สี',
|
346
358
|
'schemas.borderWidth': 'ความกว้างของเส้นขอบ',
|
347
359
|
'schemas.borderColor': 'สีขอบ',
|
@@ -389,6 +401,7 @@ const dictIt: { [key in keyof Dict]: string } = {
|
|
389
401
|
height: 'Altezza',
|
390
402
|
opacity: 'Opacità',
|
391
403
|
rotate: 'Ruota',
|
404
|
+
required: 'Necessaria',
|
392
405
|
edit: 'Modifica',
|
393
406
|
plsInputName: 'Inserisci il nome per favore',
|
394
407
|
fieldMustUniq: 'Il nome del campo non è univoco',
|
@@ -406,7 +419,8 @@ const dictIt: { [key in keyof Dict]: string } = {
|
|
406
419
|
removePage: 'Rimuovi la Pagina Corrente',
|
407
420
|
removePageConfirm:
|
408
421
|
'Sei sicuro di voler eliminare questa pagina? Questa azione non può essere annullata.',
|
409
|
-
|
422
|
+
'validation.hexColor': 'Inserisci un codice colore esadecimale valido.',
|
423
|
+
'validation.uniqueName': 'Inserisci un nome univoco.',
|
410
424
|
'schemas.color': 'Colore',
|
411
425
|
'schemas.borderWidth': 'Spessore bordo',
|
412
426
|
'schemas.borderColor': 'Colore bordo',
|
@@ -454,6 +468,7 @@ const dictPl: { [key in keyof Dict]: string } = {
|
|
454
468
|
height: 'Wysokość',
|
455
469
|
opacity: 'przezroczystość',
|
456
470
|
rotate: 'Obrót',
|
471
|
+
required: 'Wymagany',
|
457
472
|
edit: 'Edytuj',
|
458
473
|
plsInputName: 'Wymagane wprowadzenie klucza pola',
|
459
474
|
fieldMustUniq: 'Klucz pola nie jest unikalny',
|
@@ -469,7 +484,8 @@ const dictPl: { [key in keyof Dict]: string } = {
|
|
469
484
|
addPageAfter: 'Dodaj stronę po',
|
470
485
|
removePage: 'Usuń Bieżącą Stronę',
|
471
486
|
removePageConfirm: 'Czy na pewno chcesz usunąć tę stronę? Tej operacji nie można cofnąć.',
|
472
|
-
|
487
|
+
'validation.hexColor': 'Wprowadź poprawny kod koloru szesnastkowego.',
|
488
|
+
'validation.uniqueName': 'Proszę wpisać unikalną nazwę.',
|
473
489
|
'schemas.color': 'Kolor',
|
474
490
|
'schemas.borderWidth': 'Szerokość obramowania',
|
475
491
|
'schemas.borderColor': 'Kolor obramowania',
|
@@ -517,6 +533,7 @@ const dictDe: { [key in keyof Dict]: string } = {
|
|
517
533
|
height: 'Höhe',
|
518
534
|
opacity: 'Opazität',
|
519
535
|
rotate: 'Drehen',
|
536
|
+
required: 'Erforderlich',
|
520
537
|
edit: 'Bearbeiten',
|
521
538
|
plsInputName: 'Bitte geben Sie einen Namen ein',
|
522
539
|
fieldMustUniq: 'Feldname ist nicht eindeutig',
|
@@ -534,7 +551,8 @@ const dictDe: { [key in keyof Dict]: string } = {
|
|
534
551
|
removePage: 'Aktuelle Seite entfernen',
|
535
552
|
removePageConfirm:
|
536
553
|
'Sind Sie sicher, dass Sie diese Seite löschen möchten? Diese Aktion kann nicht rückgängig gemacht werden.',
|
537
|
-
|
554
|
+
'validation.hexColor': 'Bitte geben Sie einen gültigen Hex-Farbcode ein.',
|
555
|
+
'validation.uniqueName': 'Bitte geben Sie einen eindeutigen Namen ein.',
|
538
556
|
'schemas.color': 'Farbe',
|
539
557
|
'schemas.borderWidth': 'Rahmenbreite',
|
540
558
|
'schemas.borderColor': 'Rahmenfarbe',
|
@@ -582,6 +600,7 @@ const dictEs: { [key in keyof Dict]: string } = {
|
|
582
600
|
height: 'Altura',
|
583
601
|
opacity: 'Opacidad',
|
584
602
|
rotate: 'Rotar',
|
603
|
+
required: 'Requerido',
|
585
604
|
edit: 'Editar',
|
586
605
|
plsInputName: 'Introduce el nombre',
|
587
606
|
fieldMustUniq: 'El nombre del campo no es único',
|
@@ -599,7 +618,8 @@ const dictEs: { [key in keyof Dict]: string } = {
|
|
599
618
|
removePage: 'Eliminar página actual',
|
600
619
|
removePageConfirm:
|
601
620
|
'¿Estás seguro de que quieres eliminar esta página? Esta acción no se puede deshacer.',
|
602
|
-
|
621
|
+
'validation.hexColor': 'Introduce un código de color hexadecimal válido.',
|
622
|
+
'validation.uniqueName': 'Por favor, introduzca un nombre único.',
|
603
623
|
'schemas.color': 'Color',
|
604
624
|
'schemas.borderWidth': 'Ancho del borde',
|
605
625
|
'schemas.borderColor': 'Color del borde',
|
@@ -647,6 +667,7 @@ const dictFr: { [key in keyof Dict]: string } = {
|
|
647
667
|
height: 'Hauteur',
|
648
668
|
opacity: 'Opacité',
|
649
669
|
rotate: 'Rotation',
|
670
|
+
required: 'Requis',
|
650
671
|
edit: 'Éditer',
|
651
672
|
plsInputName: 'Veuillez saisir le nom',
|
652
673
|
fieldMustUniq:"Le nom du champ n'est pas unique",
|
@@ -662,7 +683,8 @@ const dictFr: { [key in keyof Dict]: string } = {
|
|
662
683
|
addPageAfter: 'Ajouter une page après',
|
663
684
|
removePage: 'Supprimer la page actuelle',
|
664
685
|
removePageConfirm: 'Êtes-vous sûr de vouloir supprimer cette page ? Cette action est irréversible.',
|
665
|
-
|
686
|
+
'validation.hexColor': 'Veuillez entrer un code couleur hexadécimal valide.',
|
687
|
+
'validation.uniqueName': 'Veuillez saisir un nom unique.',
|
666
688
|
'schemas.color': 'Couleur',
|
667
689
|
'schemas.borderWidth': 'Largeur de la bordure',
|
668
690
|
'schemas.borderColor': 'Couleur de la bordure',
|