@pdfme/ui 3.1.5-dev.12 → 3.1.5-dev.13

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: "height" | "width" | "type" | "rotate" | "opacity" | "cancel" | "field" | "fieldName" | "align" | "edit" | "plsInputName" | "fieldMustUniq" | "notUniq" | "noKeyName" | "fieldsList" | "addNewField" | "editField" | "errorOccurred" | "errorBulkUpdateFieldName" | "commitBulkUpdateFieldName" | "bulkUpdateFieldName" | "hexColorPrompt" | "schemas.textColor" | "schemas.bgColor" | "schemas.horizontal" | "schemas.vertical" | "schemas.left" | "schemas.center" | "schemas.right" | "schemas.top" | "schemas.middle" | "schemas.bottom" | "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.barcodes.barColor" | "schemas.line.color", dict?: {
3
+ export declare const I18nContext: import("react").Context<(key: "height" | "width" | "type" | "rotate" | "opacity" | "cancel" | "field" | "fieldName" | "align" | "edit" | "plsInputName" | "fieldMustUniq" | "notUniq" | "noKeyName" | "fieldsList" | "addNewField" | "editField" | "errorOccurred" | "errorBulkUpdateFieldName" | "commitBulkUpdateFieldName" | "bulkUpdateFieldName" | "hexColorPrompt" | "schemas.color" | "schemas.borderWidth" | "schemas.borderColor" | "schemas.textColor" | "schemas.bgColor" | "schemas.horizontal" | "schemas.vertical" | "schemas.left" | "schemas.center" | "schemas.right" | "schemas.top" | "schemas.middle" | "schemas.bottom" | "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.barcodes.barColor", dict?: {
4
4
  cancel: string;
5
5
  field: string;
6
6
  fieldName: string;
@@ -23,6 +23,9 @@ export declare const I18nContext: import("react").Context<(key: "height" | "widt
23
23
  commitBulkUpdateFieldName: string;
24
24
  bulkUpdateFieldName: string;
25
25
  hexColorPrompt: string;
26
+ 'schemas.color': string;
27
+ 'schemas.borderWidth': string;
28
+ 'schemas.borderColor': string;
26
29
  'schemas.textColor': string;
27
30
  'schemas.bgColor': string;
28
31
  'schemas.horizontal': string;
@@ -44,7 +47,6 @@ export declare const I18nContext: import("react").Context<(key: "height" | "widt
44
47
  'schemas.text.fit': string;
45
48
  'schemas.text.dynamicFontSize': string;
46
49
  'schemas.barcodes.barColor': string;
47
- 'schemas.line.color': string;
48
50
  } | undefined) => string>;
49
51
  export declare const FontContext: import("react").Context<Record<string, {
50
52
  data: (string | Uint8Array | ArrayBuffer) & (string | Uint8Array | ArrayBuffer | undefined);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdfme/ui",
3
- "version": "3.1.5-dev.12",
3
+ "version": "3.1.5-dev.13",
4
4
  "sideEffects": false,
5
5
  "author": "hand-dot",
6
6
  "license": "MIT",
package/src/i18n.ts CHANGED
@@ -25,6 +25,9 @@ const dictEn: { [key in keyof Dict]: string } = {
25
25
  commitBulkUpdateFieldName: 'Commit Changes',
26
26
  bulkUpdateFieldName: 'Bulk update field names',
27
27
  hexColorPrompt: 'Please enter a valid hex color code.',
28
+ 'schemas.color': 'Color',
29
+ 'schemas.borderWidth': 'Border Width',
30
+ 'schemas.borderColor': 'Border Color',
28
31
  'schemas.textColor': 'Text Color',
29
32
  'schemas.bgColor': 'Background Color',
30
33
  'schemas.horizontal': 'Horizontal',
@@ -46,7 +49,6 @@ const dictEn: { [key in keyof Dict]: string } = {
46
49
  'schemas.text.fit': 'Fit',
47
50
  'schemas.text.dynamicFontSize': 'Dynamic Font Size',
48
51
  'schemas.barcodes.barColor': 'Bar Color',
49
- 'schemas.line.color': 'Color',
50
52
  };
51
53
 
52
54
  const dictJa: { [key in keyof Dict]: string } = {
@@ -72,6 +74,9 @@ const dictJa: { [key in keyof Dict]: string } = {
72
74
  commitBulkUpdateFieldName: '変更を反映',
73
75
  bulkUpdateFieldName: '項目名を一括変更',
74
76
  hexColorPrompt: '有効な16進数のカラーコードを入力してください。',
77
+ 'schemas.color': '色',
78
+ 'schemas.borderWidth': '枠線の太さ',
79
+ 'schemas.borderColor': '枠線の色',
75
80
  'schemas.textColor': 'テキストの色',
76
81
  'schemas.bgColor': '背景色',
77
82
  'schemas.horizontal': '水平',
@@ -93,7 +98,6 @@ const dictJa: { [key in keyof Dict]: string } = {
93
98
  'schemas.text.fit': 'フィット',
94
99
  'schemas.text.dynamicFontSize': '動的フォントサイズ',
95
100
  'schemas.barcodes.barColor': 'バーの色',
96
- 'schemas.line.color': '色',
97
101
  };
98
102
 
99
103
  const dictAr: { [key in keyof Dict]: string } = {
@@ -119,6 +123,9 @@ const dictAr: { [key in keyof Dict]: string } = {
119
123
  commitBulkUpdateFieldName: 'تنفيذ التغييرات',
120
124
  bulkUpdateFieldName: 'تغيير الأسماء',
121
125
  hexColorPrompt: 'الرجاء إدخال رمز لون سداسي عشري صالح.',
126
+ 'schemas.color': 'اللون',
127
+ 'schemas.borderWidth': 'عرض الحدود',
128
+ 'schemas.borderColor': 'لون الحدود',
122
129
  'schemas.textColor': 'لون الخط',
123
130
  'schemas.bgColor': 'لون الخلفية',
124
131
  'schemas.horizontal': 'أفقي',
@@ -140,7 +147,6 @@ const dictAr: { [key in keyof Dict]: string } = {
140
147
  'schemas.text.fit': 'ملاءمة',
141
148
  'schemas.text.dynamicFontSize': 'حجم الخط الديناميكي',
142
149
  'schemas.barcodes.barColor': 'لون الشريط',
143
- 'schemas.line.color': 'اللون',
144
150
  };
145
151
 
146
152
  const dictTh: { [key in keyof Dict]: string } = {
@@ -166,6 +172,9 @@ const dictTh: { [key in keyof Dict]: string } = {
166
172
  commitBulkUpdateFieldName: 'ยืนยันการแก้ไข',
167
173
  bulkUpdateFieldName: 'แก้ไขชื่อฟิลด์เป็นชุด',
168
174
  hexColorPrompt: 'กรุณาใส่รหัสสีแบบฐานสิบหกที่ถูกต้อง',
175
+ 'schemas.color': 'สี',
176
+ 'schemas.borderWidth': 'ความกว้างของเส้นขอบ',
177
+ 'schemas.borderColor': 'สีขอบ',
169
178
  'schemas.textColor': 'สีข้อความ',
170
179
  'schemas.bgColor': 'สีพื้นหลัง',
171
180
  'schemas.horizontal': 'แนวนอน',
@@ -187,7 +196,6 @@ const dictTh: { [key in keyof Dict]: string } = {
187
196
  'schemas.text.fit': 'พอดี',
188
197
  'schemas.text.dynamicFontSize': 'ขนาดตัวอักษรแบบไดนามิก',
189
198
  'schemas.barcodes.barColor': 'สีบาร์',
190
- 'schemas.line.color': 'สี',
191
199
  };
192
200
 
193
201
  const dictIt: { [key in keyof Dict]: string } = {
@@ -214,6 +222,9 @@ const dictIt: { [key in keyof Dict]: string } = {
214
222
  commitBulkUpdateFieldName: 'Salva cambiamenti',
215
223
  bulkUpdateFieldName: 'Modifica nomi campi in blocco',
216
224
  hexColorPrompt: 'Inserisci un codice colore esadecimale valido.',
225
+ 'schemas.color': 'Colore',
226
+ 'schemas.borderWidth': 'Spessore bordo',
227
+ 'schemas.borderColor': 'Colore bordo',
217
228
  'schemas.textColor': 'Colore testo',
218
229
  'schemas.bgColor': 'Colore sfondo',
219
230
  'schemas.horizontal': 'Orizzontale',
@@ -235,7 +246,6 @@ const dictIt: { [key in keyof Dict]: string } = {
235
246
  'schemas.text.fit': 'Adatta',
236
247
  'schemas.text.dynamicFontSize': 'Dimensione font dinamica',
237
248
  'schemas.barcodes.barColor': 'Colore barra',
238
- 'schemas.line.color': 'Colore',
239
249
  };
240
250
 
241
251
  const dictPl: { [key in keyof Dict]: string } = {
@@ -261,6 +271,9 @@ const dictPl: { [key in keyof Dict]: string } = {
261
271
  commitBulkUpdateFieldName: 'Zaakceptuj zmiany',
262
272
  bulkUpdateFieldName: 'Masowo aktualizuj klucze pól',
263
273
  hexColorPrompt: 'Wprowadź poprawny kod koloru szesnastkowego.',
274
+ 'schemas.color': 'Kolor',
275
+ 'schemas.borderWidth': 'Szerokość obramowania',
276
+ 'schemas.borderColor': 'Kolor obramowania',
264
277
  'schemas.textColor': 'Kolor tekstu',
265
278
  'schemas.bgColor': 'Kolor tła',
266
279
  'schemas.horizontal': 'Poziomo',
@@ -282,7 +295,6 @@ const dictPl: { [key in keyof Dict]: string } = {
282
295
  'schemas.text.fit': 'Dopasowanie',
283
296
  'schemas.text.dynamicFontSize': 'Dynamiczny rozmiar czcionki',
284
297
  'schemas.barcodes.barColor': 'Kolor paska',
285
- 'schemas.line.color': 'Kolor',
286
298
  };
287
299
 
288
300
  const dictDe: { [key in keyof Dict]: string } = {
@@ -309,6 +321,9 @@ const dictDe: { [key in keyof Dict]: string } = {
309
321
  commitBulkUpdateFieldName: 'Änderungen übernehmen',
310
322
  bulkUpdateFieldName: 'Mehrfachaktualisierung der Feldnamen',
311
323
  hexColorPrompt: 'Bitte geben Sie einen gültigen Hex-Farbcode ein.',
324
+ 'schemas.color': 'Farbe',
325
+ 'schemas.borderWidth': 'Rahmenbreite',
326
+ 'schemas.borderColor': 'Rahmenfarbe',
312
327
  'schemas.textColor': 'Textfarbe',
313
328
  'schemas.bgColor': 'Hintergrundfarbe',
314
329
  'schemas.horizontal': 'Horizontal',
@@ -330,7 +345,6 @@ const dictDe: { [key in keyof Dict]: string } = {
330
345
  'schemas.text.fit': 'Anpassen',
331
346
  'schemas.text.dynamicFontSize': 'Dynamische Schriftgröße',
332
347
  'schemas.barcodes.barColor': 'Strichcodefarbe',
333
- 'schemas.line.color': 'Farbe',
334
348
  };
335
349
 
336
350
  const dictionaries: { [key in Lang]: Dict } = {