@pdfme/ui 3.4.3 → 4.0.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/dist/index.es.js +60294 -59344
- package/dist/index.umd.js +116 -117
- package/dist/types/class.d.ts +60 -10
- package/dist/types/components/AppContextProvider.d.ts +2 -2
- package/dist/types/components/CtlBar.d.ts +2 -0
- package/dist/types/components/Designer/Canvas/Padding.d.ts +6 -0
- package/dist/types/components/Designer/Canvas/index.d.ts +2 -1
- package/dist/types/components/Designer/LeftSidebar.d.ts +8 -0
- package/dist/types/components/Designer/index.d.ts +2 -1
- package/dist/types/components/Preview.d.ts +1 -1
- package/dist/types/components/Renderer.d.ts +4 -3
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/contexts.d.ts +12 -3
- package/dist/types/helper.d.ts +21 -33
- package/dist/types/hooks.d.ts +1 -0
- package/dist/types/types.d.ts +0 -1
- package/package.json +1 -1
- package/src/Designer.tsx +8 -3
- package/src/Form.tsx +6 -3
- package/src/Viewer.tsx +0 -1
- package/src/class.ts +28 -5
- package/src/components/AppContextProvider.tsx +3 -1
- package/src/components/CtlBar.tsx +57 -6
- package/src/components/Designer/Canvas/Padding.tsx +54 -0
- package/src/components/Designer/Canvas/index.tsx +89 -22
- package/src/components/Designer/LeftSidebar.tsx +81 -0
- package/src/components/Designer/{Sidebar → RightSidebar}/DetailView/index.tsx +8 -13
- package/src/components/Designer/{Sidebar → RightSidebar}/ListView/index.tsx +3 -11
- package/src/components/Designer/{Sidebar → RightSidebar}/index.tsx +5 -20
- package/src/components/Designer/index.tsx +166 -101
- package/src/components/Paper.tsx +1 -2
- package/src/components/Preview.tsx +72 -22
- package/src/components/Renderer.tsx +12 -11
- package/src/constants.ts +1 -1
- package/src/helper.ts +114 -118
- package/src/hooks.ts +46 -14
- package/src/i18n.ts +194 -7
- package/src/types.ts +0 -1
- /package/dist/types/components/Designer/{Sidebar → RightSidebar}/DetailView/AlignWidget.d.ts +0 -0
- /package/dist/types/components/Designer/{Sidebar → RightSidebar}/DetailView/WidgetRenderer.d.ts +0 -0
- /package/dist/types/components/Designer/{Sidebar → RightSidebar}/DetailView/index.d.ts +0 -0
- /package/dist/types/components/Designer/{Sidebar → RightSidebar}/ListView/Item.d.ts +0 -0
- /package/dist/types/components/Designer/{Sidebar → RightSidebar}/ListView/SelectableSortableContainer.d.ts +0 -0
- /package/dist/types/components/Designer/{Sidebar → RightSidebar}/ListView/SelectableSortableItem.d.ts +0 -0
- /package/dist/types/components/Designer/{Sidebar → RightSidebar}/ListView/index.d.ts +0 -0
- /package/dist/types/components/Designer/{Sidebar → RightSidebar}/index.d.ts +0 -0
- /package/src/components/Designer/{Sidebar → RightSidebar}/DetailView/AlignWidget.tsx +0 -0
- /package/src/components/Designer/{Sidebar → RightSidebar}/DetailView/WidgetRenderer.tsx +0 -0
- /package/src/components/Designer/{Sidebar → RightSidebar}/ListView/Item.tsx +0 -0
- /package/src/components/Designer/{Sidebar → RightSidebar}/ListView/SelectableSortableContainer.tsx +0 -0
- /package/src/components/Designer/{Sidebar → RightSidebar}/ListView/SelectableSortableItem.tsx +0 -0
package/src/i18n.ts
CHANGED
@@ -16,7 +16,6 @@ const dictEn: { [key in keyof Dict]: string } = {
|
|
16
16
|
notUniq: '(Not unique name)',
|
17
17
|
noKeyName: 'No name',
|
18
18
|
fieldsList: 'Field List',
|
19
|
-
addNewField: 'Add new field',
|
20
19
|
editField: 'Edit Field',
|
21
20
|
type: 'Type',
|
22
21
|
errorOccurred: 'An error occurred',
|
@@ -24,10 +23,14 @@ const dictEn: { [key in keyof Dict]: string } = {
|
|
24
23
|
'Cannot commit the change because the number of items has been changed.',
|
25
24
|
commitBulkUpdateFieldName: 'Commit Changes',
|
26
25
|
bulkUpdateFieldName: 'Bulk update field names',
|
26
|
+
addPageAfter: 'Add Page After',
|
27
|
+
removePage: 'Remove Current Page',
|
28
|
+
removePageConfirm: 'Are you sure you want to delete this page? This action cannot be undone.',
|
27
29
|
hexColorPrompt: 'Please enter a valid hex color code.',
|
28
30
|
'schemas.color': 'Color',
|
29
31
|
'schemas.borderWidth': 'Border Width',
|
30
32
|
'schemas.borderColor': 'Border Color',
|
33
|
+
'schemas.backgroundColor': 'Background Color',
|
31
34
|
'schemas.textColor': 'Text Color',
|
32
35
|
'schemas.bgColor': 'Background Color',
|
33
36
|
'schemas.horizontal': 'Horizontal',
|
@@ -38,6 +41,7 @@ const dictEn: { [key in keyof Dict]: string } = {
|
|
38
41
|
'schemas.top': 'Top',
|
39
42
|
'schemas.middle': 'Middle',
|
40
43
|
'schemas.bottom': 'Bottom',
|
44
|
+
'schemas.padding': 'Padding',
|
41
45
|
'schemas.text.fontName': 'Font Name',
|
42
46
|
'schemas.text.size': 'Size',
|
43
47
|
'schemas.text.spacing': 'Spacing',
|
@@ -50,6 +54,11 @@ const dictEn: { [key in keyof Dict]: string } = {
|
|
50
54
|
'schemas.text.dynamicFontSize': 'Dynamic Font Size',
|
51
55
|
'schemas.barcodes.barColor': 'Bar Color',
|
52
56
|
'schemas.barcodes.includetext': 'Include Text',
|
57
|
+
'schemas.table.alternateBackgroundColor': 'Alternate Background Color',
|
58
|
+
'schemas.table.tableStyle': 'Table Style',
|
59
|
+
'schemas.table.headStyle': 'Header Style',
|
60
|
+
'schemas.table.bodyStyle': 'Body Style',
|
61
|
+
'schemas.table.columnStyle': 'Column Style',
|
53
62
|
};
|
54
63
|
|
55
64
|
const dictJa: { [key in keyof Dict]: string } = {
|
@@ -67,17 +76,20 @@ const dictJa: { [key in keyof Dict]: string } = {
|
|
67
76
|
notUniq: '(他の項目名と重複しています)',
|
68
77
|
noKeyName: '項目名なし',
|
69
78
|
fieldsList: '入力項目一覧',
|
70
|
-
addNewField: '入力項目を追加',
|
71
79
|
editField: '入力項目を編集',
|
72
80
|
type: 'タイプ',
|
73
81
|
errorOccurred: 'エラーが発生しました',
|
74
82
|
errorBulkUpdateFieldName: '項目数が変更されているため変更をコミットできません。',
|
75
83
|
commitBulkUpdateFieldName: '変更を反映',
|
76
84
|
bulkUpdateFieldName: '項目名を一括変更',
|
85
|
+
addPageAfter: '次にページを追加',
|
86
|
+
removePage: '現在のページを削除',
|
87
|
+
removePageConfirm: 'ページを削除してもよろしいですか?この操作は元に戻せません。',
|
77
88
|
hexColorPrompt: '有効な16進数のカラーコードを入力してください。',
|
78
89
|
'schemas.color': '色',
|
79
90
|
'schemas.borderWidth': '枠線の太さ',
|
80
91
|
'schemas.borderColor': '枠線の色',
|
92
|
+
'schemas.backgroundColor': '背景色',
|
81
93
|
'schemas.textColor': 'テキストの色',
|
82
94
|
'schemas.bgColor': '背景色',
|
83
95
|
'schemas.horizontal': '水平',
|
@@ -88,6 +100,7 @@ const dictJa: { [key in keyof Dict]: string } = {
|
|
88
100
|
'schemas.top': '上',
|
89
101
|
'schemas.middle': '中間',
|
90
102
|
'schemas.bottom': '下',
|
103
|
+
'schemas.padding': 'パディング',
|
91
104
|
'schemas.text.fontName': 'フォント名',
|
92
105
|
'schemas.text.size': 'サイズ',
|
93
106
|
'schemas.text.spacing': '間隔',
|
@@ -100,6 +113,11 @@ const dictJa: { [key in keyof Dict]: string } = {
|
|
100
113
|
'schemas.text.dynamicFontSize': '動的フォントサイズ',
|
101
114
|
'schemas.barcodes.barColor': 'バーの色',
|
102
115
|
'schemas.barcodes.includetext': 'テキストを含める',
|
116
|
+
'schemas.table.alternateBackgroundColor': '交互の背景色',
|
117
|
+
'schemas.table.tableStyle': 'テーブルスタイル',
|
118
|
+
'schemas.table.headStyle': 'ヘッダースタイル',
|
119
|
+
'schemas.table.bodyStyle': 'ボディスタイル',
|
120
|
+
'schemas.table.columnStyle': 'カラムスタイル',
|
103
121
|
};
|
104
122
|
|
105
123
|
const dictAr: { [key in keyof Dict]: string } = {
|
@@ -117,17 +135,20 @@ const dictAr: { [key in keyof Dict]: string } = {
|
|
117
135
|
notUniq: '(غير فريد)',
|
118
136
|
noKeyName: 'لا يوجد اسم للحقل',
|
119
137
|
fieldsList: 'قائمة الحقول',
|
120
|
-
addNewField: 'إضافة حقل جديد',
|
121
138
|
editField: 'تعديل الحقل',
|
122
139
|
type: 'النوع',
|
123
140
|
errorOccurred: 'حدث خطأ',
|
124
141
|
errorBulkUpdateFieldName: 'لا يمكن تنفيذ التغيير لأنه تم تغيير عدد العناصر.',
|
125
142
|
commitBulkUpdateFieldName: 'تنفيذ التغييرات',
|
126
143
|
bulkUpdateFieldName: 'تغيير الأسماء',
|
144
|
+
addPageAfter: 'إضافة صفحة بعد',
|
145
|
+
removePage: 'احذف الصفحة الحالية',
|
146
|
+
removePageConfirm: 'هل أنت متأكد من رغبتك في حذف هذه الصفحة؟ لا يمكن التراجع عن هذا الإجراء.',
|
127
147
|
hexColorPrompt: 'الرجاء إدخال رمز لون سداسي عشري صالح.',
|
128
148
|
'schemas.color': 'اللون',
|
129
149
|
'schemas.borderWidth': 'عرض الحدود',
|
130
150
|
'schemas.borderColor': 'لون الحدود',
|
151
|
+
'schemas.backgroundColor': 'لون الخلفية',
|
131
152
|
'schemas.textColor': 'لون الخط',
|
132
153
|
'schemas.bgColor': 'لون الخلفية',
|
133
154
|
'schemas.horizontal': 'أفقي',
|
@@ -138,6 +159,7 @@ const dictAr: { [key in keyof Dict]: string } = {
|
|
138
159
|
'schemas.top': 'أعلى',
|
139
160
|
'schemas.middle': 'وسط',
|
140
161
|
'schemas.bottom': 'أسفل',
|
162
|
+
'schemas.padding': 'التبطين',
|
141
163
|
'schemas.text.fontName': 'اسم الخط',
|
142
164
|
'schemas.text.size': 'الحجم',
|
143
165
|
'schemas.text.spacing': 'التباعد',
|
@@ -150,6 +172,11 @@ const dictAr: { [key in keyof Dict]: string } = {
|
|
150
172
|
'schemas.text.dynamicFontSize': 'حجم الخط الديناميكي',
|
151
173
|
'schemas.barcodes.barColor': 'لون الشريط',
|
152
174
|
'schemas.barcodes.includetext': 'تضمين النص',
|
175
|
+
'schemas.table.alternateBackgroundColor': 'لون الخلفية البديل',
|
176
|
+
'schemas.table.tableStyle': 'أسلوب الجدول',
|
177
|
+
'schemas.table.headStyle': 'أسلوب الرأس',
|
178
|
+
'schemas.table.bodyStyle': 'أسلوب الجسم',
|
179
|
+
'schemas.table.columnStyle': 'أسلوب العمود',
|
153
180
|
};
|
154
181
|
|
155
182
|
const dictTh: { [key in keyof Dict]: string } = {
|
@@ -167,17 +194,20 @@ const dictTh: { [key in keyof Dict]: string } = {
|
|
167
194
|
notUniq: '(ชื่อฟิลด์ซ้ำกัน)',
|
168
195
|
noKeyName: 'ไม่มีชื่อ',
|
169
196
|
fieldsList: 'รายการฟิลด์ทั้งหมด',
|
170
|
-
addNewField: 'เพิ่มฟิลด์ใหม่',
|
171
197
|
editField: 'แก้ไขฟิลด์',
|
172
198
|
type: 'ประเภท',
|
173
199
|
errorOccurred: 'เกิดข้อผิดพลาด',
|
174
200
|
errorBulkUpdateFieldName: 'ไม่สามารถยืนยันการแก้ไขได้เนื่องจากจำนวนรายการมีการเปลี่ยนแปลง',
|
175
201
|
commitBulkUpdateFieldName: 'ยืนยันการแก้ไข',
|
176
202
|
bulkUpdateFieldName: 'แก้ไขชื่อฟิลด์เป็นชุด',
|
203
|
+
addPageAfter: 'เพิ่มหน้าถัดไป',
|
204
|
+
removePage: 'ลบหน้าปัจจุบัน',
|
205
|
+
removePageConfirm: 'คุณแน่ใจหรือไม่ว่าต้องการลบหน้านี้? การกระทำนี้ไม่สามารถย้อนกลับได้',
|
177
206
|
hexColorPrompt: 'กรุณาใส่รหัสสีแบบฐานสิบหกที่ถูกต้อง',
|
178
207
|
'schemas.color': 'สี',
|
179
208
|
'schemas.borderWidth': 'ความกว้างของเส้นขอบ',
|
180
209
|
'schemas.borderColor': 'สีขอบ',
|
210
|
+
'schemas.backgroundColor': 'สีพื้นหลัง',
|
181
211
|
'schemas.textColor': 'สีข้อความ',
|
182
212
|
'schemas.bgColor': 'สีพื้นหลัง',
|
183
213
|
'schemas.horizontal': 'แนวนอน',
|
@@ -188,6 +218,7 @@ const dictTh: { [key in keyof Dict]: string } = {
|
|
188
218
|
'schemas.top': 'ด้านบน',
|
189
219
|
'schemas.middle': 'ตรงกลาง',
|
190
220
|
'schemas.bottom': 'ด้านล่าง',
|
221
|
+
'schemas.padding': 'การเพิ่มพื้นที่',
|
191
222
|
'schemas.text.fontName': 'ชื่อแบบอักษร',
|
192
223
|
'schemas.text.size': 'ขนาด',
|
193
224
|
'schemas.text.spacing': 'ระยะห่าง',
|
@@ -200,6 +231,11 @@ const dictTh: { [key in keyof Dict]: string } = {
|
|
200
231
|
'schemas.text.dynamicFontSize': 'ขนาดตัวอักษรแบบไดนามิก',
|
201
232
|
'schemas.barcodes.barColor': 'สีบาร์',
|
202
233
|
'schemas.barcodes.includetext': 'รวมข้อความ',
|
234
|
+
'schemas.table.alternateBackgroundColor': 'สีพื้นหลังสลับกัน',
|
235
|
+
'schemas.table.tableStyle': 'สไตล์ตาราง',
|
236
|
+
'schemas.table.headStyle': 'สไตล์หัวข้อ',
|
237
|
+
'schemas.table.bodyStyle': 'สไตล์เนื้อหา',
|
238
|
+
'schemas.table.columnStyle': 'สไตล์คอลัมน์',
|
203
239
|
};
|
204
240
|
|
205
241
|
const dictIt: { [key in keyof Dict]: string } = {
|
@@ -217,7 +253,6 @@ const dictIt: { [key in keyof Dict]: string } = {
|
|
217
253
|
notUniq: '(Nome non univoco)',
|
218
254
|
noKeyName: 'Nessun nome',
|
219
255
|
fieldsList: 'Lista campi',
|
220
|
-
addNewField: 'Aggiungi un campo',
|
221
256
|
editField: 'Modifica campo',
|
222
257
|
type: 'Tipo',
|
223
258
|
errorOccurred: 'Riscontrato errore',
|
@@ -225,10 +260,15 @@ const dictIt: { [key in keyof Dict]: string } = {
|
|
225
260
|
'Non è possibile salvare le modifiche perché il numero di elementi è cambiato.',
|
226
261
|
commitBulkUpdateFieldName: 'Salva cambiamenti',
|
227
262
|
bulkUpdateFieldName: 'Modifica nomi campi in blocco',
|
263
|
+
addPageAfter: 'Aggiungi pagina dopo',
|
264
|
+
removePage: 'Rimuovi la Pagina Corrente',
|
265
|
+
removePageConfirm:
|
266
|
+
'Sei sicuro di voler eliminare questa pagina? Questa azione non può essere annullata.',
|
228
267
|
hexColorPrompt: 'Inserisci un codice colore esadecimale valido.',
|
229
268
|
'schemas.color': 'Colore',
|
230
269
|
'schemas.borderWidth': 'Spessore bordo',
|
231
270
|
'schemas.borderColor': 'Colore bordo',
|
271
|
+
'schemas.backgroundColor': 'Colore di Sfondo',
|
232
272
|
'schemas.textColor': 'Colore testo',
|
233
273
|
'schemas.bgColor': 'Colore sfondo',
|
234
274
|
'schemas.horizontal': 'Orizzontale',
|
@@ -239,6 +279,7 @@ const dictIt: { [key in keyof Dict]: string } = {
|
|
239
279
|
'schemas.top': 'Sopra',
|
240
280
|
'schemas.middle': 'Medio',
|
241
281
|
'schemas.bottom': 'Sotto',
|
282
|
+
'schemas.padding': 'Padding',
|
242
283
|
'schemas.text.fontName': 'Nome del font',
|
243
284
|
'schemas.text.size': 'Dimensione',
|
244
285
|
'schemas.text.spacing': 'Spaziatura',
|
@@ -251,6 +292,11 @@ const dictIt: { [key in keyof Dict]: string } = {
|
|
251
292
|
'schemas.text.dynamicFontSize': 'Dimensione font dinamica',
|
252
293
|
'schemas.barcodes.barColor': 'Colore barra',
|
253
294
|
'schemas.barcodes.includetext': 'Includi testo',
|
295
|
+
'schemas.table.alternateBackgroundColor': 'Colore di Sfondo Alternato',
|
296
|
+
'schemas.table.tableStyle': 'Stile della Tabella',
|
297
|
+
'schemas.table.headStyle': "Stile dell'Intestazione",
|
298
|
+
'schemas.table.bodyStyle': 'Stile del Corpo',
|
299
|
+
'schemas.table.columnStyle': 'Stile della Colonna',
|
254
300
|
};
|
255
301
|
|
256
302
|
const dictPl: { [key in keyof Dict]: string } = {
|
@@ -268,17 +314,20 @@ const dictPl: { [key in keyof Dict]: string } = {
|
|
268
314
|
notUniq: '(Klucz pola nie jest unikalny)',
|
269
315
|
noKeyName: 'Brak nazwy klucza pola',
|
270
316
|
fieldsList: 'Lista pól',
|
271
|
-
addNewField: 'Dodaj nowe pole',
|
272
317
|
editField: 'Edytuj pole',
|
273
318
|
type: 'Typ pola',
|
274
319
|
errorOccurred: 'Wystąpił błąd',
|
275
320
|
errorBulkUpdateFieldName: 'Nie można wprowadzić zmian ponieważ liczba elementów uległa zmianie.',
|
276
321
|
commitBulkUpdateFieldName: 'Zaakceptuj zmiany',
|
277
322
|
bulkUpdateFieldName: 'Masowo aktualizuj klucze pól',
|
323
|
+
addPageAfter: 'Dodaj stronę po',
|
324
|
+
removePage: 'Usuń Bieżącą Stronę',
|
325
|
+
removePageConfirm: 'Czy na pewno chcesz usunąć tę stronę? Tej operacji nie można cofnąć.',
|
278
326
|
hexColorPrompt: 'Wprowadź poprawny kod koloru szesnastkowego.',
|
279
327
|
'schemas.color': 'Kolor',
|
280
328
|
'schemas.borderWidth': 'Szerokość obramowania',
|
281
329
|
'schemas.borderColor': 'Kolor obramowania',
|
330
|
+
'schemas.backgroundColor': 'Kolor tła',
|
282
331
|
'schemas.textColor': 'Kolor tekstu',
|
283
332
|
'schemas.bgColor': 'Kolor tła',
|
284
333
|
'schemas.horizontal': 'Poziomo',
|
@@ -289,6 +338,7 @@ const dictPl: { [key in keyof Dict]: string } = {
|
|
289
338
|
'schemas.top': 'Góra',
|
290
339
|
'schemas.middle': 'Środek',
|
291
340
|
'schemas.bottom': 'Dół',
|
341
|
+
'schemas.padding': 'Odsadzenie',
|
292
342
|
'schemas.text.fontName': 'Nazwa czcionki',
|
293
343
|
'schemas.text.size': 'Rozmiar',
|
294
344
|
'schemas.text.spacing': 'Odstępy',
|
@@ -301,6 +351,11 @@ const dictPl: { [key in keyof Dict]: string } = {
|
|
301
351
|
'schemas.text.dynamicFontSize': 'Dynamiczny rozmiar czcionki',
|
302
352
|
'schemas.barcodes.barColor': 'Kolor paska',
|
303
353
|
'schemas.barcodes.includetext': 'Dołącz tekst',
|
354
|
+
'schemas.table.alternateBackgroundColor': 'Alternatywny kolor tła',
|
355
|
+
'schemas.table.tableStyle': 'Styl tabeli',
|
356
|
+
'schemas.table.headStyle': 'Styl nagłówka',
|
357
|
+
'schemas.table.bodyStyle': 'Styl ciała',
|
358
|
+
'schemas.table.columnStyle': 'Styl kolumny',
|
304
359
|
};
|
305
360
|
|
306
361
|
const dictDe: { [key in keyof Dict]: string } = {
|
@@ -318,7 +373,6 @@ const dictDe: { [key in keyof Dict]: string } = {
|
|
318
373
|
notUniq: '(Nicht eindeutiger Name)',
|
319
374
|
noKeyName: 'Kein Name',
|
320
375
|
fieldsList: 'Feldliste',
|
321
|
-
addNewField: 'Neues Feld hinzufügen',
|
322
376
|
editField: 'Feld bearbeiten',
|
323
377
|
type: 'Typ',
|
324
378
|
errorOccurred: 'Ein Fehler ist aufgetreten',
|
@@ -326,10 +380,15 @@ const dictDe: { [key in keyof Dict]: string } = {
|
|
326
380
|
'Die Änderung kann nicht übernommen werden, weil die Anzahl der Elemente geändert wurde.',
|
327
381
|
commitBulkUpdateFieldName: 'Änderungen übernehmen',
|
328
382
|
bulkUpdateFieldName: 'Mehrfachaktualisierung der Feldnamen',
|
383
|
+
addPageAfter: 'Seite danach hinzufügen',
|
384
|
+
removePage: 'Aktuelle Seite entfernen',
|
385
|
+
removePageConfirm:
|
386
|
+
'Sind Sie sicher, dass Sie diese Seite löschen möchten? Diese Aktion kann nicht rückgängig gemacht werden.',
|
329
387
|
hexColorPrompt: 'Bitte geben Sie einen gültigen Hex-Farbcode ein.',
|
330
388
|
'schemas.color': 'Farbe',
|
331
389
|
'schemas.borderWidth': 'Rahmenbreite',
|
332
390
|
'schemas.borderColor': 'Rahmenfarbe',
|
391
|
+
'schemas.backgroundColor': 'Hintergrundfarbe',
|
333
392
|
'schemas.textColor': 'Textfarbe',
|
334
393
|
'schemas.bgColor': 'Hintergrundfarbe',
|
335
394
|
'schemas.horizontal': 'Horizontal',
|
@@ -340,6 +399,7 @@ const dictDe: { [key in keyof Dict]: string } = {
|
|
340
399
|
'schemas.top': 'Oben',
|
341
400
|
'schemas.middle': 'Mitte',
|
342
401
|
'schemas.bottom': 'Unten',
|
402
|
+
'schemas.padding': 'Polsterung',
|
343
403
|
'schemas.text.fontName': 'Schriftart',
|
344
404
|
'schemas.text.size': 'Größe',
|
345
405
|
'schemas.text.spacing': 'Abstand',
|
@@ -352,6 +412,131 @@ const dictDe: { [key in keyof Dict]: string } = {
|
|
352
412
|
'schemas.text.dynamicFontSize': 'Dynamische Schriftgröße',
|
353
413
|
'schemas.barcodes.barColor': 'Strichcodefarbe',
|
354
414
|
'schemas.barcodes.includetext': 'Text anzeigen',
|
415
|
+
'schemas.table.alternateBackgroundColor': 'Wechselnde Hintergrundfarbe',
|
416
|
+
'schemas.table.tableStyle': 'Tabellenstil',
|
417
|
+
'schemas.table.headStyle': 'Kopfzeilenstil',
|
418
|
+
'schemas.table.bodyStyle': 'Körperstil',
|
419
|
+
'schemas.table.columnStyle': 'Spaltenstil',
|
420
|
+
};
|
421
|
+
|
422
|
+
const dictEs: { [key in keyof Dict]: string } = {
|
423
|
+
cancel: 'Cancelar',
|
424
|
+
field: 'campo',
|
425
|
+
fieldName: 'Nombre',
|
426
|
+
align: 'Alinear',
|
427
|
+
width: 'Anchura',
|
428
|
+
height: 'Altura',
|
429
|
+
opacity: 'Opacidad',
|
430
|
+
rotate: 'Rotar',
|
431
|
+
edit: 'Editar',
|
432
|
+
plsInputName: 'Introduce el nombre',
|
433
|
+
fieldMustUniq: 'El nombre del campo no es único',
|
434
|
+
notUniq: '(Nombre no único)',
|
435
|
+
noKeyName: 'Sin nombre',
|
436
|
+
fieldsList: 'Lista de campos',
|
437
|
+
editField: 'Editar campo',
|
438
|
+
type: 'Tipo',
|
439
|
+
errorOccurred: 'Ocurrió un error',
|
440
|
+
errorBulkUpdateFieldName:
|
441
|
+
'No se puede confirmar el cambio porque el número de elementos ha cambiado.',
|
442
|
+
commitBulkUpdateFieldName: 'Confirmar cambios',
|
443
|
+
bulkUpdateFieldName: 'Actualizar en bloque el nombre de los campos',
|
444
|
+
addPageAfter: 'Insertar página',
|
445
|
+
removePage: 'Eliminar página actual',
|
446
|
+
removePageConfirm:
|
447
|
+
'¿Estás seguro de que quieres eliminar esta página? Esta acción no se puede deshacer.',
|
448
|
+
hexColorPrompt: 'Introduce un código de color hexadecimal válido.',
|
449
|
+
'schemas.color': 'Color',
|
450
|
+
'schemas.borderWidth': 'Ancho del borde',
|
451
|
+
'schemas.borderColor': 'Color del borde',
|
452
|
+
'schemas.backgroundColor': 'Color de fondo',
|
453
|
+
'schemas.textColor': 'Color del texto',
|
454
|
+
'schemas.bgColor': 'Color del fondo',
|
455
|
+
'schemas.horizontal': 'Horizontal',
|
456
|
+
'schemas.vertical': 'Vertical',
|
457
|
+
'schemas.left': 'Izquierda',
|
458
|
+
'schemas.center': 'Centro',
|
459
|
+
'schemas.right': 'Derecha',
|
460
|
+
'schemas.top': 'Arriba',
|
461
|
+
'schemas.middle': 'Medio',
|
462
|
+
'schemas.bottom': 'Abajo',
|
463
|
+
'schemas.padding': 'Relleno',
|
464
|
+
'schemas.text.fontName': 'Nombre de la fuente',
|
465
|
+
'schemas.text.size': 'Tamaño',
|
466
|
+
'schemas.text.spacing': 'Espaciado',
|
467
|
+
'schemas.text.textAlign': 'Alineación del texto',
|
468
|
+
'schemas.text.verticalAlign': 'Alineación vertical',
|
469
|
+
'schemas.text.lineHeight': 'Altura de línea',
|
470
|
+
'schemas.text.min': 'Mín',
|
471
|
+
'schemas.text.max': 'Máx',
|
472
|
+
'schemas.text.fit': 'Ajustar',
|
473
|
+
'schemas.text.dynamicFontSize': 'Tamaño de fuente dinámico',
|
474
|
+
'schemas.barcodes.barColor': 'Color de la barra',
|
475
|
+
'schemas.barcodes.includetext': 'Incluir texto',
|
476
|
+
'schemas.table.alternateBackgroundColor': 'Color de fondo alternativo',
|
477
|
+
'schemas.table.tableStyle': 'Estilo de tabla',
|
478
|
+
'schemas.table.headStyle': 'Estilo de cabecera',
|
479
|
+
'schemas.table.bodyStyle': 'Estilo de cuerpo',
|
480
|
+
'schemas.table.columnStyle': 'Estilo de columna',
|
481
|
+
};
|
482
|
+
|
483
|
+
const dictFr: { [key in keyof Dict]: string } = {
|
484
|
+
cancel: 'Annuler',
|
485
|
+
field: 'Champ',
|
486
|
+
fieldName: 'Nom',
|
487
|
+
align: 'Aligner',
|
488
|
+
width: 'Largeur',
|
489
|
+
height: 'Hauteur',
|
490
|
+
opacity: 'Opacité',
|
491
|
+
rotate: 'Rotation',
|
492
|
+
edit: 'Éditer',
|
493
|
+
plsInputName: 'Veuillez saisir le nom',
|
494
|
+
fieldMustUniq:"Le nom du champ n'est pas unique",
|
495
|
+
notUniq: '(Nombre non unique)',
|
496
|
+
noKeyName: 'Pas de nom',
|
497
|
+
fieldsList: 'Liste des champs',
|
498
|
+
editField: 'Éditer le champ',
|
499
|
+
type: 'Type',
|
500
|
+
errorOccurred:' Une erreur est survenue',
|
501
|
+
errorBulkUpdateFieldName: "Impossible de confirmer le changement car le nombre d'éléments a changé.",
|
502
|
+
commitBulkUpdateFieldName: 'Confirmer les changements',
|
503
|
+
bulkUpdateFieldName: 'Modifier les noms de champs en masse',
|
504
|
+
addPageAfter: 'Ajouter une page après',
|
505
|
+
removePage: 'Supprimer la page actuelle',
|
506
|
+
removePageConfirm: 'Êtes-vous sûr de vouloir supprimer cette page ? Cette action est irréversible.',
|
507
|
+
hexColorPrompt: 'Veuillez entrer un code couleur hexadécimal valide.',
|
508
|
+
'schemas.color': 'Couleur',
|
509
|
+
'schemas.borderWidth': 'Largeur de la bordure',
|
510
|
+
'schemas.borderColor': 'Couleur de la bordure',
|
511
|
+
'schemas.backgroundColor': 'Couleur de fond',
|
512
|
+
'schemas.textColor': 'Couleur du texte',
|
513
|
+
'schemas.bgColor': 'Couleur de fond',
|
514
|
+
'schemas.horizontal': 'Horizontal',
|
515
|
+
'schemas.vertical': 'Vertical',
|
516
|
+
'schemas.left': 'Gauche',
|
517
|
+
'schemas.center': 'Centre',
|
518
|
+
'schemas.right': 'Droite',
|
519
|
+
'schemas.top': 'Haut',
|
520
|
+
'schemas.middle': 'Milieu',
|
521
|
+
'schemas.bottom': 'Bas',
|
522
|
+
'schemas.padding': 'Zone de remplissage',
|
523
|
+
'schemas.text.fontName': 'Nom de la police',
|
524
|
+
'schemas.text.size': 'Taille',
|
525
|
+
'schemas.text.spacing': 'Espacement',
|
526
|
+
'schemas.text.textAlign': 'Alignement du texte',
|
527
|
+
'schemas.text.verticalAlign': 'Alignement vertical',
|
528
|
+
'schemas.text.lineHeight': 'Hauteur de ligne',
|
529
|
+
'schemas.text.min': 'Min',
|
530
|
+
'schemas.text.max': 'Max',
|
531
|
+
'schemas.text.fit': 'Ajustement',
|
532
|
+
'schemas.text.dynamicFontSize': 'Taille de police dynamique',
|
533
|
+
'schemas.barcodes.barColor': 'Couleur de la barre',
|
534
|
+
'schemas.barcodes.includetext': 'Inclure le texte',
|
535
|
+
'schemas.table.alternateBackgroundColor': 'Couleur de fond alternative',
|
536
|
+
'schemas.table.tableStyle': 'Style de tableau',
|
537
|
+
'schemas.table.headStyle': "Style d'en-tête",
|
538
|
+
'schemas.table.bodyStyle': 'Style de corps',
|
539
|
+
'schemas.table.columnStyle': 'Style de colonne'
|
355
540
|
};
|
356
541
|
|
357
542
|
const dictionaries: { [key in Lang]: Dict } = {
|
@@ -362,6 +547,8 @@ const dictionaries: { [key in Lang]: Dict } = {
|
|
362
547
|
it: dictIt,
|
363
548
|
pl: dictPl,
|
364
549
|
de: dictDe,
|
550
|
+
es: dictEs,
|
551
|
+
fr: dictFr,
|
365
552
|
};
|
366
553
|
|
367
554
|
export const getDict = (lang: Lang): Dict => dictionaries[lang] || dictionaries[DEFAULT_LANG];
|
package/src/types.ts
CHANGED
/package/dist/types/components/Designer/{Sidebar → RightSidebar}/DetailView/AlignWidget.d.ts
RENAMED
File without changes
|
/package/dist/types/components/Designer/{Sidebar → RightSidebar}/DetailView/WidgetRenderer.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/src/components/Designer/{Sidebar → RightSidebar}/ListView/SelectableSortableContainer.tsx
RENAMED
File without changes
|
/package/src/components/Designer/{Sidebar → RightSidebar}/ListView/SelectableSortableItem.tsx
RENAMED
File without changes
|