@bigbinary/neeto-fields-frontend 2.4.5 → 2.4.7-beta1

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.
Files changed (67) hide show
  1. package/README.md +56 -9
  2. package/app/javascript/src/translations/ar.json +114 -0
  3. package/app/javascript/src/translations/bg.json +114 -0
  4. package/app/javascript/src/translations/ca.json +114 -0
  5. package/app/javascript/src/translations/cs.json +114 -0
  6. package/app/javascript/src/translations/da.json +114 -0
  7. package/app/javascript/src/translations/es-MX.json +114 -0
  8. package/app/javascript/src/translations/et.json +114 -0
  9. package/app/javascript/src/translations/fi.json +114 -0
  10. package/app/javascript/src/translations/fil.json +114 -0
  11. package/app/javascript/src/translations/hi.json +114 -0
  12. package/app/javascript/src/translations/hr.json +114 -0
  13. package/app/javascript/src/translations/id.json +114 -0
  14. package/app/javascript/src/translations/it.json +114 -0
  15. package/app/javascript/src/translations/ja.json +114 -0
  16. package/app/javascript/src/translations/ko.json +114 -0
  17. package/app/javascript/src/translations/nl.json +114 -0
  18. package/app/javascript/src/translations/pl.json +114 -0
  19. package/app/javascript/src/translations/pt-BR.json +114 -0
  20. package/app/javascript/src/translations/pt.json +114 -0
  21. package/app/javascript/src/translations/ro.json +114 -0
  22. package/app/javascript/src/translations/ru.json +114 -0
  23. package/app/javascript/src/translations/sk.json +114 -0
  24. package/app/javascript/src/translations/sl.json +114 -0
  25. package/app/javascript/src/translations/sv.json +114 -0
  26. package/app/javascript/src/translations/th.json +114 -0
  27. package/app/javascript/src/translations/tr.json +114 -0
  28. package/app/javascript/src/translations/uk.json +114 -0
  29. package/app/javascript/src/translations/vi.json +114 -0
  30. package/app/javascript/src/translations/zh-CN.json +114 -0
  31. package/app/javascript/src/translations/zh-TW.json +114 -0
  32. package/dist/{DeleteAlert-BQqfe0QG.js → DeleteAlert-BTftPDyU.js} +4 -3
  33. package/dist/DeleteAlert-BTftPDyU.js.map +1 -0
  34. package/dist/{DeleteAlert-DE15i_yx.js → DeleteAlert-DJeOusaJ.js} +4 -3
  35. package/dist/DeleteAlert-DJeOusaJ.js.map +1 -0
  36. package/dist/FieldDeleteAlert.js +1 -1
  37. package/dist/{FieldValueInputWrapper-D7lOxWHu.js → FieldValueInputWrapper-CCQZHCjA.js} +4 -4
  38. package/dist/{FieldValueInputWrapper-D7lOxWHu.js.map → FieldValueInputWrapper-CCQZHCjA.js.map} +1 -1
  39. package/dist/FieldValuesContainer.js +6 -3
  40. package/dist/FieldValuesContainer.js.map +1 -1
  41. package/dist/FieldsDashboard.js +30 -4202
  42. package/dist/FieldsDashboard.js.map +1 -1
  43. package/dist/FieldsPane.js +5 -3
  44. package/dist/FieldsPane.js.map +1 -1
  45. package/dist/InlineFieldValueInput.js +4 -4
  46. package/dist/InlineFieldValueInput.js.map +1 -1
  47. package/dist/cjs/FieldDeleteAlert.js +1 -1
  48. package/dist/cjs/FieldInputs.js +1 -1
  49. package/dist/cjs/FieldValuesContainer.js +15 -12
  50. package/dist/cjs/FieldValuesContainer.js.map +1 -1
  51. package/dist/cjs/FieldsDashboard.js +48 -4220
  52. package/dist/cjs/FieldsDashboard.js.map +1 -1
  53. package/dist/cjs/FieldsPane.js +7 -5
  54. package/dist/cjs/FieldsPane.js.map +1 -1
  55. package/dist/cjs/InlineFieldValueInput.js +7 -7
  56. package/dist/cjs/InlineFieldValueInput.js.map +1 -1
  57. package/dist/cjs/index.js +6 -5
  58. package/dist/cjs/index.js.map +1 -1
  59. package/dist/cjs/utils.js +1 -1
  60. package/dist/index.js +4 -3
  61. package/dist/index.js.map +1 -1
  62. package/dist/{utils-f6fwkcvD.js → utils-CY-OOclj.js} +7 -7
  63. package/dist/{utils-f6fwkcvD.js.map → utils-CY-OOclj.js.map} +1 -1
  64. package/package.json +12 -10
  65. package/types.d.ts +4 -0
  66. package/dist/DeleteAlert-BQqfe0QG.js.map +0 -1
  67. package/dist/DeleteAlert-DE15i_yx.js.map +0 -1
package/README.md CHANGED
@@ -91,8 +91,38 @@ The engine is used to manage fields for any entity across neeto products.
91
91
  [Owner & Resource Information](docs/engine/owner-resource-information.md) for
92
92
  details.
93
93
 
94
- 7. Add the permission `neeto_fields_engine.manage_fields` to your
95
- `permissions.yml` file.
94
+ 7. Add the required permissions to your `permissions.yml` file:
95
+ - `neeto_fields_engine.view_fields` - Allows viewing fields
96
+ - `neeto_fields_engine.manage_fields` - Allows creating, updating, deleting,
97
+ and reordering fields
98
+ - `neeto_fields_engine.view_field_values` - Allows viewing field values
99
+ - `neeto_fields_engine.manage_field_values` - Allows creating, updating, and
100
+ deleting field values
101
+
102
+ #### Supported Permissions
103
+
104
+ The engine provides granular permission control through the following
105
+ permissions:
106
+
107
+ - **`neeto_fields_engine.view_fields`** - Allows users to view fields
108
+ - **`neeto_fields_engine.manage_fields`** - Allows users to create, update,
109
+ delete, and reorder fields
110
+ - **`neeto_fields_engine.view_field_values`** - Allows users to view field
111
+ values
112
+ - **`neeto_fields_engine.manage_field_values`** - Allows users to create,
113
+ update, and delete field values
114
+
115
+ #### Policy Callbacks
116
+
117
+ The engine exposes the following policy methods through the `FieldPolicy` class:
118
+
119
+ - `can_view_fields?` - Checks if user can view fields
120
+ - `can_manage_fields?` - Checks if user can manage fields
121
+ - `can_view_field_values?` - Checks if user can view field values
122
+ - `can_manage_field_values?` - Checks if user can manage field values
123
+
124
+ These methods are automatically used by the controllers' authorization callbacks
125
+ and can be overridden in host applications if needed.
96
126
 
97
127
  #### Customizability
98
128
 
@@ -183,10 +213,13 @@ default, but you can customize its behavior by passing optional props.
183
213
  type-based categorization, use an array of objects with `label` and `value`
184
214
  properties representing each resource types.
185
215
  15. `headerSize`: To specify the header size explicitly. Default is 'small'.
186
- 16. `onDeleteSuccess`: Callback function which is triggered on the success of
187
- field deletion.
188
- 17. `onReorderSuccess`: Callback function which is triggered on the success of
189
- reordering of fields.
216
+ 16. `canManageFields`: Boolean value which overrides the default permission
217
+ check for managing fields. When not provided, the component checks for
218
+ `neeto_fields_engine.manage_fields` permission from global props.
219
+ 17. `onDeleteSuccess`: Callback function which is triggered on the success of
220
+ field deletion.
221
+ 18. `onReorderSuccess`: Callback function which is triggered on the success of
222
+ reordering of fields.
190
223
 
191
224
  > If no resources are provided, for resource type-based categorization, the
192
225
  > menu bar will fetch all resource types. For owner-based categorization, it
@@ -297,6 +330,9 @@ The `FieldsPane` component handles the `Add / Edit` operations of the field.
297
330
  10. `ownerId`: The ID of the owner in case the owner is not an organization.
298
331
  11. `onMutationSuccess`: The callback function which is triggered on the success
299
332
  of mutation functions( create, update & delete).
333
+ 12. `additionalPayload`: For sending additional data in the field creation
334
+ payload. This object will be merged with the base payload when creating a
335
+ new field.
300
336
 
301
337
  #### Usage
302
338
 
@@ -367,6 +403,9 @@ specific resource.
367
403
  - `message`
368
404
  - `submitButtonLabel`
369
405
  - `cancelButtonLabel`
406
+ 17. `canManageFieldValues`: Boolean value which overrides the default permission
407
+ check for managing field values. When not provided, the component checks for
408
+ `neeto_fields_engine.manage_field_values` permission from global props.
370
409
 
371
410
  #### Usage
372
411
 
@@ -384,7 +423,9 @@ const queryClient = useQueryClient();
384
423
  fieldValues={user.fieldValues} // We expect the user response from host's backend to send associated field_values with it.
385
424
  resourceId={user?.id}
386
425
  resourceType="users"
387
- onMutationSuccess={() => queryClient.invalidateQueries({ queryKey: ["users"]})}
426
+ onMutationSuccess={() =>
427
+ queryClient.invalidateQueries({ queryKey: ["users"] })
428
+ }
388
429
  onMutate={() => queryClient.setQueriesData({ queryKey: ["users"] }, modifier)}
389
430
  customComponents={{
390
431
  hostSpecificKindName: field => <HostSpecificInputFields />,
@@ -485,7 +526,9 @@ The `InlineFieldValueInput` component render the field value input UI.
485
526
  6. `onMutate`: The callback function which is triggered on the mutations
486
527
  7. `onMutationSuccess`: The callback function which is triggered on the success
487
528
  of mutation functions of field value.
488
- 8. `canManageFieldValues`: Boolean value which specifies whether the values can be modified.
529
+ 8. `canManageFieldValues`: Boolean value which overrides the default permission
530
+ check for managing field values. When not provided, the component checks for
531
+ `neeto_fields_engine.manage_field_values` permission from global props.
489
532
 
490
533
  #### Usage
491
534
 
@@ -494,7 +537,11 @@ tables. The example shows one such usage of building the `columnData` for table
494
537
  with inline editable field value inputs in cell.
495
538
 
496
539
  ```jsx
497
- const buildColumnDataForFields = (fields, onFieldValueUpdateSuccess, canWriteForm) =>
540
+ const buildColumnDataForFields = (
541
+ fields,
542
+ onFieldValueUpdateSuccess,
543
+ canWriteForm
544
+ ) =>
498
545
  fields.map(field => ({
499
546
  dataIndex: "field.id",
500
547
  key: field.id,
@@ -0,0 +1,114 @@
1
+ {
2
+ "neetoFields": {
3
+ "common": {
4
+ "yes": "نعم",
5
+ "no": "لا"
6
+ },
7
+ "titles": {
8
+ "field_one": "حقل",
9
+ "field_other": "حقول",
10
+ "fieldWithCount_one": "{{count}} حقل",
11
+ "fieldWithCount_other": "{{count}} حقول",
12
+ "addField": "أضف حقل جديد",
13
+ "editField": "تعديل الحقل",
14
+ "deleteField": "حذف الحقل؟",
15
+ "fieldName": "اسم الحقل",
16
+ "fieldKind": "نوع الحقل",
17
+ "required": "مطلوب",
18
+ "dropdownOptions": "خيارات القائمة المنسدلة",
19
+ "regexOptions": "خيارات التعبير النمطي",
20
+ "reorderFields": "إعادة ترتيب الحقول",
21
+ "filters": "المرشحات",
22
+ "reorder": "إعادة ترتيب"
23
+ },
24
+ "labels": {
25
+ "addField": "أضف حقل جديد",
26
+ "edit": "تعديل",
27
+ "delete": "حذف",
28
+ "fieldName": "اسم الحقل",
29
+ "fieldKind": "نوع الحقل",
30
+ "createField": "إنشاء حقل",
31
+ "updateField": "تحديث الحقل",
32
+ "addAnotherOption": "أضف خيارًا آخر",
33
+ "regex": "تعبير نمطي",
34
+ "regexCondition": "شرط",
35
+ "helpMessage": "رسالة المساعدة",
36
+ "isRequired": "تحديد كحقل مطلوب",
37
+ "submit": "إرسال",
38
+ "saveChanges": "حفظ التغييرات",
39
+ "cancel": "إلغاء"
40
+ },
41
+ "placeholders": {
42
+ "enterFieldName": "أدخل اسم الحقل",
43
+ "enterAnOption": "أدخل خيارًا",
44
+ "regexExample": "مثال: /^[0-9]{5}$/",
45
+ "enterErrorMessage": "رسالة للعرض عند الخطأ",
46
+ "searchFields": "البحث في الحقول"
47
+ },
48
+ "fields": {
49
+ "kinds": {
50
+ "text": "نص",
51
+ "number": "رقم",
52
+ "monetary": "مبلغ مالي",
53
+ "singleOption": "خيار فردي",
54
+ "multiOption": "خيارات متعددة",
55
+ "date": "تاريخ",
56
+ "time": "وقت",
57
+ "datetime": "تاريخ ووقت",
58
+ "dateRange": "نطاق تاريخي",
59
+ "timeRange": "نطاق زمني",
60
+ "textArea": "منطقة نص",
61
+ "textarea": "منطقة نص",
62
+ "decimal": "عشري",
63
+ "integer": "صحيح",
64
+ "regex": "تعبير نمطي",
65
+ "person": "شخص",
66
+ "checkbox": "مربع اختيار",
67
+ "phoneNumber": "رقم الهاتف",
68
+ "email": "البريد الإلكتروني"
69
+ }
70
+ },
71
+ "messages": {
72
+ "noFieldsWithState": "لا توجد {{state}} {{title}} للعرض.",
73
+ "noFields": "لا توجد {{title}} للعرض.",
74
+ "confirmDelete": "أنت تقوم بحذف الحقل <strong>{{name}}</strong> نهائيًا. لا يمكن التراجع عن هذا الإجراء.",
75
+ "confirmDeleteWithCount": "أنت تقوم بحذف الحقل <strong>{{name}}</strong> نهائيًا والذي يحتوي على قيم لـ <strong>{{count}} {{resource}}</strong>. سيتم فقدان القيم عند حذف الحقل. لا يمكن التراجع عن هذا الإجراء.",
76
+ "manageFieldFor": "إدارة الحقول لـ {{resource}}",
77
+ "manageTitleForResource": "إدارة {{title}} لـ {{resource}}",
78
+ "titleForResource": "{{title}} لـ {{resource}}",
79
+ "stateTitleForResource": "{{state}} {{title}} لـ {{resource}}",
80
+ "invalidKind": "نوع غير صالح",
81
+ "reorderFields": "تُعرض الحقول من الأعلى إلى الأسفل.",
82
+ "blockNavigationAlert": {
83
+ "title": "لديك تغييرات غير محفوظة",
84
+ "message": "ستضيع جميع تغييراتك غير المحفوظة. لا يمكن التراجع عن هذا.",
85
+ "submitButtonLabel": "تجاهل التغييرات",
86
+ "cancelButtonLabel": "إلغاء"
87
+ }
88
+ },
89
+ "validations": {
90
+ "regexConditionIsRequired": "شرط التعبير النمطي مطلوب",
91
+ "regexHelpMessageIsRequired": "رسالة المساعدة مطلوبة",
92
+ "fieldNameIsRequired": "اسم الحقل مطلوب",
93
+ "atLeastFieldOptionIsRequired": "مطلوب خيار واحد على الأقل للحقل",
94
+ "fieldOptionIsRequired": "خيار الحقل مطلوب",
95
+ "kindIsRequired": "النوع مطلوب",
96
+ "invalidRegexPattern": "نمط التعبير النمطي غير صالح",
97
+ "advancedRegexAssertionsNotSupported": "التأكيدات المتقدمة للتعبير النمطي غير مدعومة",
98
+ "notAValidNumber": "الرقم المدخل غير صالح",
99
+ "notAValidInteger": "الرقم المدخل ليس صحيحًا صالحًا",
100
+ "notAValid": "الرقم المدخل غير صالح",
101
+ "thisIsRequired": "هذا حقل مطلوب",
102
+ "minOneItem": "اختر عنصرًا واحدًا على الأقل",
103
+ "invalidEntity": "{{entity}} غير صالح"
104
+ },
105
+ "tooltips": {
106
+ "reorder": "تُعرض الحقول من الأعلى إلى الأسفل. أعد ترتيبها.",
107
+ "composeEmail": "صياغة البريد الإلكتروني",
108
+ "startCall": "بدء المكالمة"
109
+ },
110
+ "helpTexts": {
111
+ "noData": "إليك كيفية استخدام <a>{{title}}.</a>"
112
+ }
113
+ }
114
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "neetoFields": {
3
+ "common": {
4
+ "yes": "Да",
5
+ "no": "Не"
6
+ },
7
+ "titles": {
8
+ "field_one": "Поле",
9
+ "field_other": "Полета",
10
+ "fieldWithCount_one": "{{count}} поле",
11
+ "fieldWithCount_other": "{{count}} полета",
12
+ "addField": "Добави ново поле",
13
+ "editField": "Редактиране на поле",
14
+ "deleteField": "Изтриване на полето?",
15
+ "fieldName": "Име на полето",
16
+ "fieldKind": "Тип поле",
17
+ "required": "Задължително",
18
+ "dropdownOptions": "Опции за падащо меню",
19
+ "regexOptions": "Опции за регулярен израз",
20
+ "reorderFields": "Преорганизиране на полета",
21
+ "filters": "Филтри",
22
+ "reorder": "Преорганизиране"
23
+ },
24
+ "labels": {
25
+ "addField": "Добави ново поле",
26
+ "edit": "Редактиране",
27
+ "delete": "Изтриване",
28
+ "fieldName": "Име на полето",
29
+ "fieldKind": "Тип поле",
30
+ "createField": "Създай поле",
31
+ "updateField": "Актуализирай поле",
32
+ "addAnotherOption": "Добави друга опция",
33
+ "regex": "Регулярен израз",
34
+ "regexCondition": "Условие",
35
+ "helpMessage": "Съобщение за помощ",
36
+ "isRequired": "Маркирай като задължително поле",
37
+ "submit": "Изпрати",
38
+ "saveChanges": "Запази промените",
39
+ "cancel": "Отмяна"
40
+ },
41
+ "placeholders": {
42
+ "enterFieldName": "Въведете име на полето",
43
+ "enterAnOption": "Въведете опция",
44
+ "regexExample": "Пример: /^[0-9]{5}$/",
45
+ "enterErrorMessage": "Съобщение за показване при грешка",
46
+ "searchFields": "Търсене на полета"
47
+ },
48
+ "fields": {
49
+ "kinds": {
50
+ "text": "Текст",
51
+ "number": "Число",
52
+ "monetary": "Паричен",
53
+ "singleOption": "Единствена опция",
54
+ "multiOption": "Множествени опции",
55
+ "date": "Дата",
56
+ "time": "Време",
57
+ "datetime": "Дата и час",
58
+ "dateRange": "Диапазон от дати",
59
+ "timeRange": "Диапазон от време",
60
+ "textArea": "Текстова област",
61
+ "textarea": "Текстово поле",
62
+ "decimal": "Десетичен",
63
+ "integer": "Цяло число",
64
+ "regex": "Регулярен израз",
65
+ "person": "Лице",
66
+ "checkbox": "Чекбокс",
67
+ "phoneNumber": "Телефонен номер",
68
+ "email": "Имейл"
69
+ }
70
+ },
71
+ "messages": {
72
+ "noFieldsWithState": "Няма {{state}} {{title}} за показване.",
73
+ "noFields": "Няма {{title}} за показване.",
74
+ "confirmDelete": "Вие трайно изтривате полето <strong>{{name}}</strong>. Тази операция не може да бъде отменена.",
75
+ "confirmDeleteWithCount": "Вие трайно изтривате полето <strong>{{name}}</strong>, което съдържа стойности за <strong>{{count}} {{resource}}</strong>. Стойностите ще бъдат изгубени при изтриването на полето. Тази операция не може да бъде отменена.",
76
+ "manageFieldFor": "Управление на полета за {{resource}}",
77
+ "manageTitleForResource": "Управление на {{title}} за {{resource}}",
78
+ "titleForResource": "{{title}} за {{resource}}",
79
+ "stateTitleForResource": "{{state}} {{title}} за {{resource}}",
80
+ "invalidKind": "Невалиден вид",
81
+ "reorderFields": "Полета се показват отгоре надолу.",
82
+ "blockNavigationAlert": {
83
+ "title": "Имате незапазени промени",
84
+ "message": "Всички ваши незапазени промени ще бъдат изгубени. Това не може да бъде отменено.",
85
+ "submitButtonLabel": "Отхвърли промените",
86
+ "cancelButtonLabel": "Отмяна"
87
+ }
88
+ },
89
+ "validations": {
90
+ "regexConditionIsRequired": "Условието за регулярен израз е задължително",
91
+ "regexHelpMessageIsRequired": "Съобщението за помощ е задължително",
92
+ "fieldNameIsRequired": "Името на полето е задължително",
93
+ "atLeastFieldOptionIsRequired": "Необходимо е поне една опция за поле",
94
+ "fieldOptionIsRequired": "Опцията за поле е задължителна",
95
+ "kindIsRequired": "Видът е задължителен",
96
+ "invalidRegexPattern": "Невалиден шаблон за регулярен израз",
97
+ "advancedRegexAssertionsNotSupported": "Разширените твърдения за регулярен израз не се поддържат",
98
+ "notAValidNumber": "Въведеното число не е валидно",
99
+ "notAValidInteger": "Въведеното число не е валидно цяло число",
100
+ "notAValid": "Въведеното число не е валидно",
101
+ "thisIsRequired": "Това е задължително поле",
102
+ "minOneItem": "Изберете поне един артикул",
103
+ "invalidEntity": "{{entity}} е невалиден"
104
+ },
105
+ "tooltips": {
106
+ "reorder": "Полета се показват отгоре надолу. Пренаредете ги.",
107
+ "composeEmail": "Напишете имейл",
108
+ "startCall": "Започнете разговор"
109
+ },
110
+ "helpTexts": {
111
+ "noData": "Ето как можете да използвате <a>{{title}}.</a>"
112
+ }
113
+ }
114
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "neetoFields": {
3
+ "common": {
4
+ "yes": "Sí",
5
+ "no": "No"
6
+ },
7
+ "titles": {
8
+ "field_one": "Camp",
9
+ "field_other": "Camps",
10
+ "fieldWithCount_one": "{{count}} camp",
11
+ "fieldWithCount_other": "{{count}} camps",
12
+ "addField": "Afegeix un nou camp",
13
+ "editField": "Edita el camp",
14
+ "deleteField": "Eliminar el camp?",
15
+ "fieldName": "Nom del camp",
16
+ "fieldKind": "Tipus de camp",
17
+ "required": "Requerit",
18
+ "dropdownOptions": "Opcions desplegables",
19
+ "regexOptions": "Opcions regex",
20
+ "reorderFields": "Reordre camps",
21
+ "filters": "Filtres",
22
+ "reorder": "Reorde"
23
+ },
24
+ "labels": {
25
+ "addField": "Afegeix un nou camp",
26
+ "edit": "Edita",
27
+ "delete": "Elimina",
28
+ "fieldName": "Nom del camp",
29
+ "fieldKind": "Tipus de camp",
30
+ "createField": "Crea un camp",
31
+ "updateField": "Actualitza el camp",
32
+ "addAnotherOption": "Afegeix una altra opció",
33
+ "regex": "Regex",
34
+ "regexCondition": "Condició",
35
+ "helpMessage": "Missatge d'ajuda",
36
+ "isRequired": "Marcar com a camp requerit",
37
+ "submit": "Envia",
38
+ "saveChanges": "Desa els canvis",
39
+ "cancel": "Cancel·la"
40
+ },
41
+ "placeholders": {
42
+ "enterFieldName": "Introdueix el nom del camp",
43
+ "enterAnOption": "Introdueix una opció",
44
+ "regexExample": "Exemple: /^[0-9]{5}$/",
45
+ "enterErrorMessage": "Missatge a mostrar en cas d'error",
46
+ "searchFields": "Cerca camps"
47
+ },
48
+ "fields": {
49
+ "kinds": {
50
+ "text": "Text",
51
+ "number": "Número",
52
+ "monetary": "Monetari",
53
+ "singleOption": "Opció única",
54
+ "multiOption": "Múltiples opcions",
55
+ "date": "Data",
56
+ "time": "Hora",
57
+ "datetime": "Data i hora",
58
+ "dateRange": "Interval de dates",
59
+ "timeRange": "Interval de temps",
60
+ "textArea": "Àrea de text",
61
+ "textarea": "Textarea",
62
+ "decimal": "Decimal",
63
+ "integer": "Sencer",
64
+ "regex": "Regex",
65
+ "person": "Persona",
66
+ "checkbox": "Checkbox",
67
+ "phoneNumber": "Número de telèfon",
68
+ "email": "Correu electrònic"
69
+ }
70
+ },
71
+ "messages": {
72
+ "noFieldsWithState": "No hi ha {{state}} {{title}} per mostrar.",
73
+ "noFields": "No hi ha {{title}} per mostrar.",
74
+ "confirmDelete": "Estàs eliminant permanentment el camp <strong>{{name}}</strong>. Aquesta acció no es pot desfer.",
75
+ "confirmDeleteWithCount": "Estàs eliminant permanentment el camp <strong>{{name}}</strong> que conté valors per <strong>{{count}} {{resource}}</strong>. Els valors es perdran en eliminar el camp. Aquesta acció no es pot desfer.",
76
+ "manageFieldFor": "Gestiona camps per {{resource}}",
77
+ "manageTitleForResource": "Gestiona {{title}} per {{resource}}",
78
+ "titleForResource": "{{title}} per {{resource}}",
79
+ "stateTitleForResource": "{{state}} {{title}} per {{resource}}",
80
+ "invalidKind": "Tipus invàlid",
81
+ "reorderFields": "Els camps es mostren de dalt a baix.",
82
+ "blockNavigationAlert": {
83
+ "title": "Tens canvis no desats",
84
+ "message": "Tots els teus canvis no desats es perdran. Aquesta acció no es pot desfer.",
85
+ "submitButtonLabel": "Desfer canvis",
86
+ "cancelButtonLabel": "Cancel·la"
87
+ }
88
+ },
89
+ "validations": {
90
+ "regexConditionIsRequired": "La condició regex és requerida",
91
+ "regexHelpMessageIsRequired": "El missatge d'ajuda és requerit",
92
+ "fieldNameIsRequired": "El nom del camp és requerit",
93
+ "atLeastFieldOptionIsRequired": "S'ha de requerir almenys una opció de camp",
94
+ "fieldOptionIsRequired": "L'opció del camp és requerida",
95
+ "kindIsRequired": "El tipus és requerit",
96
+ "invalidRegexPattern": "Patró regex invàlid",
97
+ "advancedRegexAssertionsNotSupported": "Les afirmacions regex avançades no són compatibles",
98
+ "notAValidNumber": "El número introduït no és vàlid",
99
+ "notAValidInteger": "El número introduït no és un enter vàlid",
100
+ "notAValid": "El número introduït no és vàlid",
101
+ "thisIsRequired": "Aquest és un camp requerit",
102
+ "minOneItem": "Selecciona almenys un article",
103
+ "invalidEntity": "{{entity}} és invàlid"
104
+ },
105
+ "tooltips": {
106
+ "reorder": "Els camps es mostren de dalt a baix. Reordena'ls.",
107
+ "composeEmail": "Compon un correu electrònic",
108
+ "startCall": "Inicia la trucada"
109
+ },
110
+ "helpTexts": {
111
+ "noData": "Aquí tens com pots utilitzar <a>{{title}}.</a>"
112
+ }
113
+ }
114
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "neetoFields": {
3
+ "common": {
4
+ "yes": "Ano",
5
+ "no": "Ne"
6
+ },
7
+ "titles": {
8
+ "field_one": "Pole",
9
+ "field_other": "Pole",
10
+ "fieldWithCount_one": "{{count}} pole",
11
+ "fieldWithCount_other": "{{count}} pole",
12
+ "addField": "Přidat nové pole",
13
+ "editField": "Upravit pole",
14
+ "deleteField": "Smazat pole?",
15
+ "fieldName": "Název pole",
16
+ "fieldKind": "Typ pole",
17
+ "required": "Povinné",
18
+ "dropdownOptions": "Možnosti rozevíracího seznamu",
19
+ "regexOptions": "Možnosti regulárního výrazu",
20
+ "reorderFields": "Přesunout pole",
21
+ "filters": "Filtry",
22
+ "reorder": "Přesunout"
23
+ },
24
+ "labels": {
25
+ "addField": "Přidat nové pole",
26
+ "edit": "Upravit",
27
+ "delete": "Smazat",
28
+ "fieldName": "Název pole",
29
+ "fieldKind": "Typ pole",
30
+ "createField": "Vytvořit pole",
31
+ "updateField": "Aktualizovat pole",
32
+ "addAnotherOption": "Přidat další možnost",
33
+ "regex": "Regulární výraz",
34
+ "regexCondition": "Podmínka",
35
+ "helpMessage": "Zpráva nápovědy",
36
+ "isRequired": "Oz označit jako povinné pole",
37
+ "submit": "Odeslat",
38
+ "saveChanges": "Uložit změny",
39
+ "cancel": "Zrušit"
40
+ },
41
+ "placeholders": {
42
+ "enterFieldName": "Zadejte název pole",
43
+ "enterAnOption": "Zadejte možnost",
44
+ "regexExample": "Příklad: /^[0-9]{5}$/",
45
+ "enterErrorMessage": "Zpráva o chybě",
46
+ "searchFields": "Hledat pole"
47
+ },
48
+ "fields": {
49
+ "kinds": {
50
+ "text": "Text",
51
+ "number": "Číslo",
52
+ "monetary": "Peněžní",
53
+ "singleOption": "Jedna možnost",
54
+ "multiOption": "Více možností",
55
+ "date": "Datum",
56
+ "time": "Čas",
57
+ "datetime": "Datum a čas",
58
+ "dateRange": "Časové rozmezí",
59
+ "timeRange": "Časové rozmezí",
60
+ "textArea": "Textová oblast",
61
+ "textarea": "Textová plocha",
62
+ "decimal": "Desetinné",
63
+ "integer": "Celé číslo",
64
+ "regex": "Regulární výraz",
65
+ "person": "Osoba",
66
+ "checkbox": "Zaškrtávací políčko",
67
+ "phoneNumber": "Telefonní číslo",
68
+ "email": "E-mail"
69
+ }
70
+ },
71
+ "messages": {
72
+ "noFieldsWithState": "Neexistují žádná {{state}} {{title}} k zobrazení.",
73
+ "noFields": "Neexistují žádná {{title}} k zobrazení.",
74
+ "confirmDelete": "Trvale mažete pole <strong>{{name}}</strong>. Tuto akci nelze vrátit zpět.",
75
+ "confirmDeleteWithCount": "Trvale mažete pole <strong>{{name}}</strong>, které obsahuje hodnoty pro <strong>{{count}} {{resource}}</strong>. Hodnoty budou ztraceny po smazání pole. Tuto akci nelze vrátit zpět.",
76
+ "manageFieldFor": "Spravovat pole pro {{resource}}",
77
+ "manageTitleForResource": "Spravovat {{title}} pro {{resource}}",
78
+ "titleForResource": "{{title}} pro {{resource}}",
79
+ "stateTitleForResource": "{{state}} {{title}} pro {{resource}}",
80
+ "invalidKind": "Neplatný typ",
81
+ "reorderFields": "Pole jsou zobrazena zhora dolů.",
82
+ "blockNavigationAlert": {
83
+ "title": "Máte neuložené změny",
84
+ "message": "Všechny vaše neuložené změny budou ztraceny. Tuto akci nelze vrátit zpět.",
85
+ "submitButtonLabel": "Zrušit změny",
86
+ "cancelButtonLabel": "Zrušit"
87
+ }
88
+ },
89
+ "validations": {
90
+ "regexConditionIsRequired": "Podmínka regulárního výrazu je povinná",
91
+ "regexHelpMessageIsRequired": "Zpráva nápovědy je povinná",
92
+ "fieldNameIsRequired": "Název pole je povinný",
93
+ "atLeastFieldOptionIsRequired": "Je vyžadována alespoň jedna možnost pole",
94
+ "fieldOptionIsRequired": "Možnost pole je povinná",
95
+ "kindIsRequired": "Typ je povinný",
96
+ "invalidRegexPattern": "Neplatný vzor regulárního výrazu",
97
+ "advancedRegexAssertionsNotSupported": "Pokročilé předpoklady regulárního výrazu nejsou podporovány",
98
+ "notAValidNumber": "Zadané číslo není platné",
99
+ "notAValidInteger": "Zadané číslo není platné celé číslo",
100
+ "notAValid": "Zadané číslo není platné",
101
+ "thisIsRequired": "Toto je povinné pole",
102
+ "minOneItem": "Vyberte alespoň jednu položku",
103
+ "invalidEntity": "{{entity}} není platný"
104
+ },
105
+ "tooltips": {
106
+ "reorder": "Pole jsou zobrazena zhora dolů. Přesunout je.",
107
+ "composeEmail": "Sestavit e-mail",
108
+ "startCall": "Zahájit hovor"
109
+ },
110
+ "helpTexts": {
111
+ "noData": "Zde je návod, jak můžete použít <a>{{title}}.</a>"
112
+ }
113
+ }
114
+ }