@processpuzzle/base-entity 1.3.0 → 1.4.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/README.md CHANGED
@@ -173,6 +173,7 @@ export function createTestEntityDescriptor(): BaseEntityDescriptor {
173
173
  A few notes:
174
174
 
175
175
  - `linkedEntityType` is just the name of the related entity. The actual `BaseEntityDescriptor` is resolved at runtime through the facade registered in `BASE_ENTITY_FACADE_REGISTRY`.
176
+ - `multiplicity` says how many values an attribute holds: `'0..1' | '0..x' | '0..n' | '1..x' | '1..n'`, where `x` is the attribute's `maxOccurs` and `n` is unbounded. Absent means a single value; the attribute is *multi-valued* when the upper bound exceeds 1 (`isMultiValued()` / `upperBound()` are exported). Only `ARTIFACT` acts on it today, value counts are not validated, and `required` stays a separate flag. A metadata-defined entity carries both fields from its `EntityAttributeDefinition`.
176
177
  - `BaseEntityDescriptor` takes an options object (`{ entityName, attrDescriptors, store?, entityTitle? }`); `store` and `entityTitle` are usually set later in the host component.
177
178
 
178
179
  ### 6. Render the container
@@ -241,7 +242,7 @@ Every attribute's `FormControlType` selects the component that renders it in the
241
242
  | `RELATED_ENTITIES` | list of related-entity rows | array of related **ids** | **`linkedEntityType`**, `referenceIdField` | To-many **association**; the related entities exist independently. |
242
243
  | `COMPONENTS` | list of component rows | array of component **ids** | **`linkedEntityType`**, `referenceIdField` | To-many **containment**, child in its own table. Attaching stamps the parent's id into the child's foreign key; deleting destroys the child. |
243
244
  | `EMBEDDED_COMPONENTS` | inline sub-form per component | array of the **children themselves** | **`linkedEntityType`** | To-many **containment**, child inside the parent's payload. Backed by a `FormArray`; saved and deleted with the parent. |
244
- | `ARTIFACT` | file thumbnail/icon + upload/delete | `ArtifactAttr` (or `null`) | `label`, `showThumbnail` | Tricky — see below. |
245
+ | `ARTIFACT` | file thumbnail/icon + upload/delete | `ArtifactAttr` (or `null`); `ArtifactAttr[]` when multi-valued | `label`, `showThumbnail`, `multiplicity`, `maxOccurs` | Tricky — see below. |
245
246
  | `ADDITIONAL_PROPERTIES` | editable key/value list | `Record<string,string>` | `label` | Free-form string map. |
246
247
 
247
248
  `linkedEntityType` is **mandatory** for `LOOKUP`, `FOREIGN_KEY`, `RELATED_ENTITIES`, `COMPONENTS`, and `EMBEDDED_COMPONENTS` — it names the other entity, whose descriptor is resolved at runtime through `BASE_ENTITY_FACADE_REGISTRY` (or, for an embedded component, through `EMBEDDED_ENTITY_DESCRIPTOR_REGISTRY`); omitting it throws.
@@ -282,7 +283,7 @@ when they do not:
282
283
  - **`RELATED_ENTITIES`** is the to-many analogue: it normalizes heterogeneous items (strings/objects) into `{ id }` using `referenceIdField`, appends via the same navigator round-trip, and each row has a link and a delete button that detaches the reference only.
283
284
  - **`COMPONENTS`** looks like `RELATED_ENTITIES` but owns its rows. It resolves each row's text through the child's store (loading it if the parent's form is the first screen opened) and falls back to the id; **Add** takes the same navigator round-trip and then writes the parent's id into the attribute named by the child's `parentReferenceAttrName()`; **Delete** confirms and then calls the child store's `delete`. Like `ARTIFACT`, it therefore has an **immediate backend side-effect**, before the parent is saved.
284
285
  - **`EMBEDDED_COMPONENTS`** is the only control backed by a **`FormArray`** rather than a `FormControl`: each row is a sub-form built from the child's descriptor with the same `BaseEntityFormBuilder`, so the children are already part of `form.value` (no imperative write-back) and a child's `required` attribute keeps the *parent's* Save disabled. The sub-forms are handed the **parent's** store — an embedded child has none of its own. Rows are seeded from the attribute's value, which is also what restores them from a form snapshot.
285
- - **`ARTIFACT`** binds an `ArtifactAttr` (`{ bucket, objectId, name, mimeType }`). It fetches a thumbnail only for `image/*` types when `showThumbnail !== false`, otherwise shows a MIME-type icon; upload delegates to `ArtifactSelectorComponent` and **delete actually removes the stored object** (after a confirmation dialog). With `isHeading` it degrades to a plain heading. Requires an `ObjectStoreService` provider.
286
+ - **`ARTIFACT`** binds an `ArtifactAttr` (`{ bucket, objectId, name, mimeType }`). It fetches a thumbnail only for `image/*` types when `showThumbnail !== false`, otherwise shows a MIME-type icon; upload delegates to `ArtifactSelectorComponent`, which also offers **taking a photo or recording a video** with the device camera — shown only where `CameraSupportService` finds one (secure context, `getUserMedia`, a `videoinput` device); the capture then goes through the same name / MIME type / Upload step as a picked file. Delete **actually removes the stored object** (after a confirmation dialog). When the `multiplicity` is multi-valued the value is an `ArtifactAttr[]` (a `null` reads as empty, a lone object saved earlier as one entry): one row per artifact, an upload **appends** instead of replacing, delete removes only that row's artifact, and the selector disappears once the count reaches the upper bound. The list cell then shows one download link per artifact, and the PDF export joins their names. With `isHeading` it degrades to a plain heading. Requires an `ObjectStoreService` provider.
286
287
 
287
288
  These value-editing controls (`ARTIFACT`, `LOOKUP`, `FOREIGN_KEY`, `RELATED_ENTITIES`, `COMPONENTS`, `TAGS`, `ADDITIONAL_PROPERTIES`) write to their `FormControl` **imperatively** (`setValue` + `markAsDirty`), which is why the form's Save button reacts to `form.events` rather than a plain dirty binding. `EMBEDDED_COMPONENTS` is the exception: its `FormArray` is edited by the sub-forms themselves.
288
289
 
@@ -7,12 +7,42 @@
7
7
  "formControlType": "Steuerelementtyp",
8
8
  "displayOrder": "Anzeigereihenfolge",
9
9
  "required": "Erforderlich",
10
- "isMultiValued": "Mehrwertig",
10
+ "multiplicity": "Multiplizität",
11
+ "maxOccurs": "Max. Anzahl",
11
12
  "indexed": "Indiziert",
12
13
  "isLinkToDetails": "Benennt den Datensatz",
14
+ "autosizeColumn": "Passt die Listenspalte an",
13
15
  "linkedEntityType": "Verknüpfte Entität",
14
16
  "defaultValue": "Standardwert",
15
- "enumValues": "Aufzählungswerte"
17
+ "enumValues": "Aufzählungswerte",
18
+ "dateStyle": "Datumsstil",
19
+ "timeStyle": "Zeitstil",
20
+ "defaultAvatar": "Standard-Avatar",
21
+ "showMap": "Zeigt eine Karte",
22
+ "mapProvider": "Kartenanbieter",
23
+ "defaultCountry": "Standardland",
24
+ "_tooltips": {
25
+ "code": "Schlüssel, unter dem der Wert gespeichert wird, eindeutig innerhalb des Entitätstyps, z. B. orderNumber. Nicht mehr ändern, sobald Datensätze existieren.",
26
+ "name": "Die Beschriftung des Feldes, wie Benutzer sie in Formularen und Listenspalten sehen, z. B. Bestellnummer.",
27
+ "valueKind": "Welche Art von Wert das Feld enthält: Text, Zahl, Ja/Nein, Datum, Datum und Uhrzeit, eine Auswahl aus einer Liste (ENUM) oder einen Verweis auf einen anderen Datensatz. Bestimmt, wie Werte geprüft und verglichen werden.",
28
+ "formControlType": "Mit welchem Eingabeelement Benutzer das Feld ausfüllen, z. B. TEXT_BOX, TEXTAREA, DROPDOWN oder CHECKBOX. Wählen Sie eines, das zur Wertart passt.",
29
+ "displayOrder": "Position des Feldes im Formular und seiner Spalte in der Liste; kleinere Zahlen kommen zuerst, z. B. 10, 20, 30.",
30
+ "multiplicity": "Wie viele Werte das Feld aufnimmt: 0..1 höchstens einen, 0..n / 1..n beliebig viele (mit 1.. mindestens einen), 0..x / 1..x bis zu Max. Anzahl. Leer lassen für einen einzelnen Wert.",
31
+ "maxOccurs": "Obergrenze für die Anzahl der Werte, z. B. 5. Gilt nur für die Multiplizitäten 0..x und 1..x.",
32
+ "required": "Ob Benutzer das Feld ausfüllen müssen, bevor sie den Datensatz speichern können.",
33
+ "indexed": "Ankreuzen für Felder, nach denen oft gesucht oder gefiltert wird, z. B. eine Kundennummer; das macht solche Abfragen schnell.",
34
+ "isLinkToDetails": "Ankreuzen für das Feld, das den Datensatz benennt, z. B. die Bestellnummer: Es öffnet den Datensatz aus der Liste und steht als Überschrift im Formular. Höchstens ein Feld pro Entitätstyp.",
35
+ "autosizeColumn": "Ankreuzen, damit die Listenspalte des Feldes nur so breit wie ihr Inhalt ist, z. B. bei kurzen Codes oder Kennzeichen.",
36
+ "enumValues": "Für die Wertart ENUM: die Optionen, aus denen Benutzer wählen, je ein Chip, z. B. NEW, PAID, SHIPPED.",
37
+ "linkedEntityType": "Für Verweisfelder (FOREIGN_KEY) und eingebettete Zeilen (EMBEDDED_COMPONENTS): der Code des Entitätstyps, auf den sie zeigen, z. B. customer.",
38
+ "defaultValue": "Wert, der in neuen Datensätzen vorausgefüllt ist, z. B. NEW oder 1. Leer lassen für keinen.",
39
+ "defaultAvatar": "Für AVATAR-Steuerelemente: Icon-Name (z. B. person, sailing) oder Bild-URL, die vor dem Hochladen eines Bildes angezeigt wird.",
40
+ "showMap": "Für ADDRESS-Steuerelemente: die Adresse auf einer Karte zeigen, mit daraus ermittelten Koordinaten.",
41
+ "mapProvider": "Für ADDRESS-Steuerelemente mit Karte: wer sie zeichnet. Leer bedeutet OpenStreetMap; ein Klick öffnet immer Google Maps.",
42
+ "defaultCountry": "Für ADDRESS-Steuerelemente: der ISO-Ländercode, mit dem eine neue Adresse beginnt, z. B. DE. Leer nimmt das Land des Browsers.",
43
+ "dateStyle": "Für DATE- und DATE_TIME-Felder: wie das Datum angezeigt wird, von short (31.12.26) bis full (Donnerstag, 31. Dezember 2026). Leer bedeutet Standard.",
44
+ "timeStyle": "Für DATE_TIME-Felder: wie die Uhrzeit angezeigt wird, von short (14:30) bis long (mit Sekunden und Zeitzone). Leer bedeutet Standard."
45
+ }
16
46
  },
17
47
  "entity_definition": {
18
48
  "_self": "Entitätsdefinition",
@@ -24,10 +54,38 @@
24
54
  "componentParents": "Übergeordnete Komponenten",
25
55
  "attributes": "Attribute",
26
56
  "version": "Version",
27
- "updatedAt": "Aktualisiert am"
57
+ "updatedAt": "Aktualisiert am",
58
+ "releaseState": "Release-Stand",
59
+ "_tooltips": {
60
+ "code": "Eindeutiger Schlüssel des Entitätstyps in Ihrer Organisation, wird in Adressen verwendet. Kurz, kleingeschrieben und URL-tauglich, z. B. order; später möglichst nicht ändern.",
61
+ "name": "Der Entitätsname, unter dem Seiten, Routen und Menüs der Anwendung diesen Typ ansprechen, z. B. Order.",
62
+ "description": "Eine Notiz für Sie und Ihre Mitgestalter, wozu dieser Entitätstyp dient; Benutzer sehen sie nicht.",
63
+ "status": "ACTIVE für einen Typ in Gebrauch, DEPRECATED, um ihn auszumustern: Die Anwendung zeigt einen ausgemusterten Typ nicht mehr an. Ob die Anwendung den Typ überhaupt kennt, entscheidet seine Veröffentlichung, angezeigt unter Release-Stand.",
64
+ "isEmbedded": "Ankreuzen, wenn Datensätze dieses Typs nur innerhalb eines anderen Datensatzes existieren, z. B. Bestellpositionen in einer Bestellung. Dann auch den übergeordneten Typ unter Übergeordnete Komponenten angeben.",
65
+ "componentParents": "Für einen eingebetteten Typ: die Codes der Entitätstypen, deren Datensätze ihn enthalten, z. B. order. Pflicht, wenn Eingebettet angekreuzt ist.",
66
+ "attributes": "Die Felder des Entitätstyps, eine Zeile pro Feld. Sie werden zusammen mit der Definition gespeichert.",
67
+ "version": "Erhöht sich bei jedem Speichern. Wird vom System gesetzt.",
68
+ "updatedAt": "Wann die Definition zuletzt gespeichert wurde. Wird vom System gesetzt.",
69
+ "releaseState": "Ob die laufende Anwendung diese Definition so verwendet, wie sie ist: NEW wurde nie veröffentlicht, CHANGED weicht vom Veröffentlichten ab, RELEASED ist das, was die Anwendung verwendet. Veröffentlichen Sie im Bereich Release, um es zu ändern. Wird vom System gesetzt."
70
+ }
28
71
  },
29
72
  "artifact": {
30
- "upload_failure": "Hochladen des Artefakts fehlgeschlagen. Bitte erneut versuchen."
73
+ "upload_failure": "Hochladen des Artefakts fehlgeschlagen. Bitte erneut versuchen.",
74
+ "invalid_file_type": "Nur Bilddateien sind erlaubt.",
75
+ "camera_capture": "Foto oder Video aufnehmen"
76
+ },
77
+ "camera_capture": {
78
+ "title": "Kamera",
79
+ "mode": "Aufnahmemodus",
80
+ "photo": "Foto",
81
+ "video": "Video",
82
+ "take_photo": "Foto aufnehmen",
83
+ "start_recording": "Aufnahme starten",
84
+ "stop_recording": "Aufnahme beenden",
85
+ "retake": "Wiederholen",
86
+ "use": "Übernehmen",
87
+ "cancel": "Abbrechen",
88
+ "unavailable": "Die Kamera konnte nicht gestartet werden. Prüfen Sie, ob der Kamerazugriff für diese Seite erlaubt ist."
31
89
  },
32
90
  "delete_artifact_confirmation_dialog": {
33
91
  "title": "Artefakt löschen?",
@@ -55,7 +113,9 @@
55
113
  "filter_tooltip": "Geladene Zeilen nach Text filtern",
56
114
  "edit_tooltip": "Ausgewählten Datensatz bearbeiten",
57
115
  "new_tooltip": "Neuen Datensatz erstellen",
58
- "delete_tooltip": "Ausgewählte Datensätze löschen"
116
+ "delete_tooltip": "Ausgewählte Datensätze löschen",
117
+ "export_menu": "Exportieren",
118
+ "actions_menu": "Aktion wählen"
59
119
  },
60
120
  "pdf_export": {
61
121
  "button": "PDF",
@@ -78,6 +138,69 @@
78
138
  "apply_button": "Übernehmen"
79
139
  },
80
140
  "embedded_components": {
81
- "save_owner_first": "Speichern Sie diesen Datensatz, bevor Sie {{ entity }} hinzufügen — eine eingebettete Komponente wird darin gespeichert."
141
+ "save_owner_first": "Speichern Sie diesen Datensatz, bevor Sie {{ entity }} hinzufügen — eine eingebettete Komponente wird darin gespeichert.",
142
+ "move_up": "Nach oben",
143
+ "move_down": "Nach unten"
144
+ },
145
+ "rich_text": {
146
+ "toolbar": {
147
+ "label": "Textformatierung",
148
+ "bold": "Fett",
149
+ "italic": "Kursiv",
150
+ "strike": "Durchgestrichen",
151
+ "code": "Inline-Code",
152
+ "heading_1": "Überschrift 1",
153
+ "heading_2": "Überschrift 2",
154
+ "heading_3": "Überschrift 3",
155
+ "bullet_list": "Aufzählung",
156
+ "ordered_list": "Nummerierte Liste",
157
+ "blockquote": "Zitat",
158
+ "horizontal_rule": "Trennlinie",
159
+ "undo": "Rückgängig",
160
+ "redo": "Wiederherstellen"
161
+ }
162
+ },
163
+ "comments": {
164
+ "title": "Kommentare",
165
+ "new_placeholder": "Kommentar schreiben…",
166
+ "unknown_author": "Unbekannt",
167
+ "count": "{{ count }} Kommentare"
168
+ },
169
+ "address": {
170
+ "country": "Land",
171
+ "street": "Straße und Hausnummer",
172
+ "address_line2": "Adresszusatz",
173
+ "postal_code": "Postleitzahl",
174
+ "zip_code": "ZIP-Code",
175
+ "postcode": "Postcode",
176
+ "city": "Ort",
177
+ "town": "Ort",
178
+ "region": "Region",
179
+ "state": "Bundesstaat",
180
+ "province": "Provinz",
181
+ "county": "County",
182
+ "prefecture": "Präfektur",
183
+ "canton": "Kanton",
184
+ "latitude": "Breitengrad",
185
+ "longitude": "Längengrad",
186
+ "locate": "Aus der Adresse ermitteln",
187
+ "not_found": "Die Adresse wurde auf der Karte nicht gefunden.",
188
+ "no_location": "Noch kein Standort — Adresse oder Koordinaten eingeben.",
189
+ "map": "Karte der Adresse",
190
+ "open_in_google_maps": "In Google Maps öffnen"
191
+ },
192
+ "geo_location": {
193
+ "capture": "Meinen Standort erfassen",
194
+ "recapture": "Standort erneut erfassen",
195
+ "none": "Noch kein Standort erfasst.",
196
+ "captured_at": "Erfasst {{ time }}",
197
+ "unavailable": "Dieser Browser kann Ihren Standort nicht ermitteln, oder Sie haben es dieser Website nicht erlaubt.",
198
+ "open_in_google_maps": "In Google Maps öffnen",
199
+ "error": {
200
+ "PERMISSION_DENIED": "Der Standortzugriff wurde verweigert. Erlauben Sie ihn in den Website-Einstellungen des Browsers.",
201
+ "POSITION_UNAVAILABLE": "Das Gerät konnte seinen Standort nicht bestimmen.",
202
+ "TIMEOUT": "Die Standortermittlung hat zu lange gedauert. Bitte erneut versuchen.",
203
+ "UNAVAILABLE": "Dieser Browser kann Ihren Standort nicht ermitteln."
204
+ }
82
205
  }
83
206
  }
@@ -7,12 +7,42 @@
7
7
  "formControlType": "Control Type",
8
8
  "displayOrder": "Display Order",
9
9
  "required": "Required",
10
- "isMultiValued": "Multi-valued",
10
+ "multiplicity": "Multiplicity",
11
+ "maxOccurs": "Max occurs",
11
12
  "indexed": "Indexed",
12
13
  "isLinkToDetails": "Titles the record",
14
+ "autosizeColumn": "Hugs its list column",
13
15
  "linkedEntityType": "Linked Entity",
14
16
  "defaultValue": "Default Value",
15
- "enumValues": "Enum Values"
17
+ "enumValues": "Enum Values",
18
+ "dateStyle": "Date Style",
19
+ "timeStyle": "Time Style",
20
+ "defaultAvatar": "Default Avatar",
21
+ "showMap": "Shows a map",
22
+ "mapProvider": "Map provider",
23
+ "defaultCountry": "Default country",
24
+ "_tooltips": {
25
+ "code": "Key the value is stored under, unique within the entity type, e.g. orderNumber. Avoid changing it once records exist.",
26
+ "name": "The field's label as users see it on forms and list columns, e.g. Order number.",
27
+ "valueKind": "What kind of value the field holds: text, number, yes/no, date, date and time, a choice from a list (ENUM) or a reference to another record. Decides how values are checked and compared.",
28
+ "formControlType": "Which input users fill the field in with, e.g. TEXT_BOX, TEXTAREA, DROPDOWN or CHECKBOX. Pick one that suits the value kind.",
29
+ "displayOrder": "Position of the field on the form and of its column in the list; lower numbers come first, e.g. 10, 20, 30.",
30
+ "multiplicity": "How many values the field takes: 0..1 at most one, 0..n / 1..n any number (at least one with 1..), 0..x / 1..x up to Max occurs. Leave empty for a single value.",
31
+ "maxOccurs": "Upper limit on the number of values, e.g. 5. Only used with the multiplicities 0..x and 1..x.",
32
+ "required": "Whether users must fill the field in before they can save the record.",
33
+ "indexed": "Tick for fields users often search or filter on, e.g. a customer number; it makes those queries fast.",
34
+ "isLinkToDetails": "Tick for the field that names the record, e.g. the order number: it opens the record from the list and heads its form. At most one field per entity type.",
35
+ "autosizeColumn": "Tick to make the field's list column only as wide as its content, e.g. for short codes or flags.",
36
+ "enumValues": "For the ENUM value kind: the options users choose from, one chip each, e.g. NEW, PAID, SHIPPED.",
37
+ "linkedEntityType": "For reference fields (FOREIGN_KEY) and embedded rows (EMBEDDED_COMPONENTS): the code of the entity type they point at, e.g. customer.",
38
+ "defaultValue": "Value pre-filled in new records, e.g. NEW or 1. Leave empty for none.",
39
+ "defaultAvatar": "For AVATAR controls: icon name (e.g. person, sailing) or image URL to show before an image is uploaded.",
40
+ "showMap": "For ADDRESS controls: show the address on a map, with coordinates derived from it.",
41
+ "mapProvider": "For ADDRESS controls with a map: who draws it. Empty uses OpenStreetMap; a click always opens Google Maps.",
42
+ "defaultCountry": "For ADDRESS controls: the ISO country code a new address starts with, e.g. HU. Empty uses the browser's country.",
43
+ "dateStyle": "For DATE and DATE_TIME fields: how the date is shown, from short (12/31/26) to full (Thursday, December 31, 2026). Empty uses the default.",
44
+ "timeStyle": "For DATE_TIME fields: how the time is shown, from short (14:30) to long (with seconds and time zone). Empty uses the default."
45
+ }
16
46
  },
17
47
  "entity_definition": {
18
48
  "_self": "Entity Definition",
@@ -24,10 +54,38 @@
24
54
  "componentParents": "Component Parents",
25
55
  "attributes": "Attributes",
26
56
  "version": "Version",
27
- "updatedAt": "Updated At"
57
+ "updatedAt": "Updated At",
58
+ "releaseState": "Release",
59
+ "_tooltips": {
60
+ "code": "Unique key of the entity type within your organization, used in addresses. Short, lower-case and URL-safe, e.g. order; avoid changing it later.",
61
+ "name": "The entity name the application's pages, routes and menus refer to this type by, e.g. Order.",
62
+ "description": "A note for you and your fellow designers about what this entity type is for; users do not see it.",
63
+ "status": "ACTIVE for a type in use, DEPRECATED to retire it: the application no longer shows a deprecated type. Whether the application has the type at all is its release, shown under Release.",
64
+ "isEmbedded": "Tick when records of this type exist only inside another record, e.g. order lines inside an order. Then also name the parent under Component Parents.",
65
+ "componentParents": "For an embedded type: the codes of the entity types whose records contain it, e.g. order. Required when Embedded is ticked.",
66
+ "attributes": "The fields of the entity type, one row per field. They are saved together with the definition.",
67
+ "version": "Increases with every save. Set by the system.",
68
+ "updatedAt": "When the definition was last saved. Set by the system.",
69
+ "releaseState": "Whether the running application uses this definition as it stands: NEW was never published, CHANGED differs from what was published, RELEASED is what the application uses. Publish in the Release section to change it. Set by the system."
70
+ }
28
71
  },
29
72
  "artifact": {
30
- "upload_failure": "Artifact upload failed. Please try again."
73
+ "upload_failure": "Artifact upload failed. Please try again.",
74
+ "invalid_file_type": "Only image files are allowed.",
75
+ "camera_capture": "Take photo or video"
76
+ },
77
+ "camera_capture": {
78
+ "title": "Camera",
79
+ "mode": "Capture mode",
80
+ "photo": "Photo",
81
+ "video": "Video",
82
+ "take_photo": "Take photo",
83
+ "start_recording": "Start recording",
84
+ "stop_recording": "Stop recording",
85
+ "retake": "Retake",
86
+ "use": "Use",
87
+ "cancel": "Cancel",
88
+ "unavailable": "The camera could not be started. Check that camera access is allowed for this site."
31
89
  },
32
90
  "delete_artifact_confirmation_dialog": {
33
91
  "title": "Delete artifact?",
@@ -55,7 +113,9 @@
55
113
  "filter_tooltip": "Filter the loaded rows by text",
56
114
  "edit_tooltip": "Edit the selected record",
57
115
  "new_tooltip": "Create a new record",
58
- "delete_tooltip": "Delete the selected records"
116
+ "delete_tooltip": "Delete the selected records",
117
+ "export_menu": "Export",
118
+ "actions_menu": "Choose action"
59
119
  },
60
120
  "pdf_export": {
61
121
  "button": "PDF",
@@ -78,6 +138,69 @@
78
138
  "apply_button": "Apply"
79
139
  },
80
140
  "embedded_components": {
81
- "save_owner_first": "Save this record before adding {{ entity }} — an embedded component is stored inside it."
141
+ "save_owner_first": "Save this record before adding {{ entity }} — an embedded component is stored inside it.",
142
+ "move_up": "Move up",
143
+ "move_down": "Move down"
144
+ },
145
+ "rich_text": {
146
+ "toolbar": {
147
+ "label": "Text formatting",
148
+ "bold": "Bold",
149
+ "italic": "Italic",
150
+ "strike": "Strikethrough",
151
+ "code": "Inline code",
152
+ "heading_1": "Heading 1",
153
+ "heading_2": "Heading 2",
154
+ "heading_3": "Heading 3",
155
+ "bullet_list": "Bullet list",
156
+ "ordered_list": "Numbered list",
157
+ "blockquote": "Quote",
158
+ "horizontal_rule": "Divider",
159
+ "undo": "Undo",
160
+ "redo": "Redo"
161
+ }
162
+ },
163
+ "comments": {
164
+ "title": "Comments",
165
+ "new_placeholder": "Write a comment…",
166
+ "unknown_author": "Unknown",
167
+ "count": "{{ count }} comments"
168
+ },
169
+ "address": {
170
+ "country": "Country",
171
+ "street": "Street and number",
172
+ "address_line2": "Address line 2",
173
+ "postal_code": "Postal code",
174
+ "zip_code": "ZIP code",
175
+ "postcode": "Postcode",
176
+ "city": "City",
177
+ "town": "Town",
178
+ "region": "Region",
179
+ "state": "State",
180
+ "province": "Province",
181
+ "county": "County",
182
+ "prefecture": "Prefecture",
183
+ "canton": "Canton",
184
+ "latitude": "Latitude",
185
+ "longitude": "Longitude",
186
+ "locate": "Locate from the address",
187
+ "not_found": "The address could not be found on the map.",
188
+ "no_location": "No location yet — fill in the address or the coordinates.",
189
+ "map": "Map of the address",
190
+ "open_in_google_maps": "Open in Google Maps"
191
+ },
192
+ "geo_location": {
193
+ "capture": "Record my location",
194
+ "recapture": "Record my location again",
195
+ "none": "No location recorded yet.",
196
+ "captured_at": "Recorded {{ time }}",
197
+ "unavailable": "This browser cannot tell your location, or you have not allowed this site to read it.",
198
+ "open_in_google_maps": "Open in Google Maps",
199
+ "error": {
200
+ "PERMISSION_DENIED": "Location access was refused. Allow it in the browser's site settings to record a location.",
201
+ "POSITION_UNAVAILABLE": "The device could not determine its location.",
202
+ "TIMEOUT": "Reading the location took too long. Try again.",
203
+ "UNAVAILABLE": "This browser cannot tell your location."
204
+ }
82
205
  }
83
206
  }
@@ -7,12 +7,42 @@
7
7
  "formControlType": "Tipo de control",
8
8
  "displayOrder": "Orden de visualización",
9
9
  "required": "Obligatorio",
10
- "isMultiValued": "Multivalor",
10
+ "multiplicity": "Multiplicidad",
11
+ "maxOccurs": "Máx. ocurrencias",
11
12
  "indexed": "Indexado",
12
13
  "isLinkToDetails": "Titula el registro",
14
+ "autosizeColumn": "Ajusta su columna de la lista",
13
15
  "linkedEntityType": "Entidad vinculada",
14
16
  "defaultValue": "Valor predeterminado",
15
- "enumValues": "Valores de enumeración"
17
+ "enumValues": "Valores de enumeración",
18
+ "dateStyle": "Estilo de fecha",
19
+ "timeStyle": "Estilo de hora",
20
+ "defaultAvatar": "Avatar predeterminado",
21
+ "showMap": "Muestra un mapa",
22
+ "mapProvider": "Proveedor de mapas",
23
+ "defaultCountry": "País predeterminado",
24
+ "_tooltips": {
25
+ "code": "Clave con la que se guarda el valor, única dentro del tipo de entidad, p. ej. orderNumber. No la cambie una vez que existan registros.",
26
+ "name": "La etiqueta del campo tal como la ven los usuarios en formularios y columnas de lista, p. ej. Número de pedido.",
27
+ "valueKind": "Qué tipo de valor contiene el campo: texto, número, sí/no, fecha, fecha y hora, una opción de una lista (ENUM) o una referencia a otro registro. Determina cómo se validan y comparan los valores.",
28
+ "formControlType": "Con qué control rellenan los usuarios el campo, p. ej. TEXT_BOX, TEXTAREA, DROPDOWN o CHECKBOX. Elija uno acorde al tipo de valor.",
29
+ "displayOrder": "Posición del campo en el formulario y de su columna en la lista; los números menores van primero, p. ej. 10, 20, 30.",
30
+ "multiplicity": "Cuántos valores admite el campo: 0..1 como máximo uno, 0..n / 1..n cualquier cantidad (al menos uno con 1..), 0..x / 1..x hasta Máx. ocurrencias. Déjelo vacío para un único valor.",
31
+ "maxOccurs": "Límite superior del número de valores, p. ej. 5. Solo se usa con las multiplicidades 0..x y 1..x.",
32
+ "required": "Si los usuarios deben rellenar el campo antes de poder guardar el registro.",
33
+ "indexed": "Márquelo en los campos por los que se busca o filtra a menudo, p. ej. un número de cliente; agiliza esas consultas.",
34
+ "isLinkToDetails": "Márquelo en el campo que nombra el registro, p. ej. el número de pedido: abre el registro desde la lista y encabeza su formulario. Como máximo un campo por tipo de entidad.",
35
+ "autosizeColumn": "Márquelo para que la columna del campo en la lista sea solo tan ancha como su contenido, p. ej. para códigos cortos o indicadores.",
36
+ "enumValues": "Para el tipo de valor ENUM: las opciones entre las que eligen los usuarios, una por chip, p. ej. NEW, PAID, SHIPPED.",
37
+ "linkedEntityType": "Para campos de referencia (FOREIGN_KEY) y filas incrustadas (EMBEDDED_COMPONENTS): el código del tipo de entidad al que apuntan, p. ej. customer.",
38
+ "defaultValue": "Valor que aparece ya rellenado en los registros nuevos, p. ej. NEW o 1. Déjelo vacío si no hay ninguno.",
39
+ "defaultAvatar": "Para controles AVATAR: nombre de icono (p. ej. person, sailing) o URL de imagen que se muestra antes de subir una imagen.",
40
+ "showMap": "Para controles ADDRESS: mostrar la dirección en un mapa, con coordenadas derivadas de ella.",
41
+ "mapProvider": "Para controles ADDRESS con mapa: quién lo dibuja. Vacío usa OpenStreetMap; un clic siempre abre Google Maps.",
42
+ "defaultCountry": "Para controles ADDRESS: el código ISO del país con el que empieza una dirección nueva, p. ej. ES. Vacío usa el país del navegador.",
43
+ "dateStyle": "Para campos DATE y DATE_TIME: cómo se muestra la fecha, de short (31/12/26) a full (jueves, 31 de diciembre de 2026). Vacío usa el valor predeterminado.",
44
+ "timeStyle": "Para campos DATE_TIME: cómo se muestra la hora, de short (14:30) a long (con segundos y zona horaria). Vacío usa el valor predeterminado."
45
+ }
16
46
  },
17
47
  "entity_definition": {
18
48
  "_self": "Definición de entidad",
@@ -24,10 +54,38 @@
24
54
  "componentParents": "Componentes padre",
25
55
  "attributes": "Atributos",
26
56
  "version": "Versión",
27
- "updatedAt": "Actualizado el"
57
+ "updatedAt": "Actualizado el",
58
+ "releaseState": "Publicación",
59
+ "_tooltips": {
60
+ "code": "Clave única del tipo de entidad dentro de su organización, usada en las direcciones. Corta, en minúsculas y apta para URL, p. ej. order; evite cambiarla después.",
61
+ "name": "El nombre de entidad con el que las páginas, rutas y menús de la aplicación se refieren a este tipo, p. ej. Order.",
62
+ "description": "Una nota para usted y los demás diseñadores sobre la finalidad de este tipo de entidad; los usuarios no la ven.",
63
+ "status": "ACTIVE para un tipo en uso, DEPRECATED para retirarlo: la aplicación ya no muestra un tipo retirado. Si la aplicación tiene el tipo depende de su publicación, que se muestra en Publicación.",
64
+ "isEmbedded": "Márquelo cuando los registros de este tipo solo existan dentro de otro registro, p. ej. las líneas de un pedido. Indique entonces también el padre en Componentes padre.",
65
+ "componentParents": "Para un tipo incrustado: los códigos de los tipos de entidad cuyos registros lo contienen, p. ej. order. Obligatorio si Incrustada está marcado.",
66
+ "attributes": "Los campos del tipo de entidad, una fila por campo. Se guardan junto con la definición.",
67
+ "version": "Aumenta con cada guardado. Lo establece el sistema.",
68
+ "updatedAt": "Cuándo se guardó la definición por última vez. Lo establece el sistema.",
69
+ "releaseState": "Si la aplicación en marcha usa esta definición tal como está: NEW nunca se ha publicado, CHANGED difiere de lo publicado, RELEASED es lo que usa la aplicación. Publique en la sección Release para cambiarlo. Lo establece el sistema."
70
+ }
28
71
  },
29
72
  "artifact": {
30
- "upload_failure": "Error al subir el artefacto. Inténtelo de nuevo."
73
+ "upload_failure": "Error al subir el artefacto. Inténtelo de nuevo.",
74
+ "invalid_file_type": "Solo se permiten archivos de imagen.",
75
+ "camera_capture": "Tomar foto o vídeo"
76
+ },
77
+ "camera_capture": {
78
+ "title": "Cámara",
79
+ "mode": "Modo de captura",
80
+ "photo": "Foto",
81
+ "video": "Vídeo",
82
+ "take_photo": "Tomar foto",
83
+ "start_recording": "Iniciar grabación",
84
+ "stop_recording": "Detener grabación",
85
+ "retake": "Repetir",
86
+ "use": "Usar",
87
+ "cancel": "Cancelar",
88
+ "unavailable": "No se pudo iniciar la cámara. Compruebe que el acceso a la cámara esté permitido para este sitio."
31
89
  },
32
90
  "delete_artifact_confirmation_dialog": {
33
91
  "title": "¿Eliminar artefacto?",
@@ -55,7 +113,9 @@
55
113
  "filter_tooltip": "Filtrar las filas cargadas por texto",
56
114
  "edit_tooltip": "Editar el registro seleccionado",
57
115
  "new_tooltip": "Crear un nuevo registro",
58
- "delete_tooltip": "Eliminar los registros seleccionados"
116
+ "delete_tooltip": "Eliminar los registros seleccionados",
117
+ "export_menu": "Exportar",
118
+ "actions_menu": "Elegir acción"
59
119
  },
60
120
  "pdf_export": {
61
121
  "button": "PDF",
@@ -78,6 +138,69 @@
78
138
  "apply_button": "Aplicar"
79
139
  },
80
140
  "embedded_components": {
81
- "save_owner_first": "Guarde este registro antes de añadir {{ entity }}: un componente incrustado se almacena dentro de él."
141
+ "save_owner_first": "Guarde este registro antes de añadir {{ entity }}: un componente incrustado se almacena dentro de él.",
142
+ "move_up": "Subir",
143
+ "move_down": "Bajar"
144
+ },
145
+ "rich_text": {
146
+ "toolbar": {
147
+ "label": "Formato de texto",
148
+ "bold": "Negrita",
149
+ "italic": "Cursiva",
150
+ "strike": "Tachado",
151
+ "code": "Código en línea",
152
+ "heading_1": "Encabezado 1",
153
+ "heading_2": "Encabezado 2",
154
+ "heading_3": "Encabezado 3",
155
+ "bullet_list": "Lista con viñetas",
156
+ "ordered_list": "Lista numerada",
157
+ "blockquote": "Cita",
158
+ "horizontal_rule": "Separador",
159
+ "undo": "Deshacer",
160
+ "redo": "Rehacer"
161
+ }
162
+ },
163
+ "comments": {
164
+ "title": "Comentarios",
165
+ "new_placeholder": "Escribe un comentario…",
166
+ "unknown_author": "Desconocido",
167
+ "count": "{{ count }} comentarios"
168
+ },
169
+ "address": {
170
+ "country": "País",
171
+ "street": "Calle y número",
172
+ "address_line2": "Línea de dirección 2",
173
+ "postal_code": "Código postal",
174
+ "zip_code": "Código ZIP",
175
+ "postcode": "Código postal",
176
+ "city": "Ciudad",
177
+ "town": "Localidad",
178
+ "region": "Región",
179
+ "state": "Estado",
180
+ "province": "Provincia",
181
+ "county": "Condado",
182
+ "prefecture": "Prefectura",
183
+ "canton": "Cantón",
184
+ "latitude": "Latitud",
185
+ "longitude": "Longitud",
186
+ "locate": "Localizar desde la dirección",
187
+ "not_found": "No se encontró la dirección en el mapa.",
188
+ "no_location": "Aún sin ubicación — complete la dirección o las coordenadas.",
189
+ "map": "Mapa de la dirección",
190
+ "open_in_google_maps": "Abrir en Google Maps"
191
+ },
192
+ "geo_location": {
193
+ "capture": "Registrar mi ubicación",
194
+ "recapture": "Registrar de nuevo mi ubicación",
195
+ "none": "Aún no hay ubicación registrada.",
196
+ "captured_at": "Registrada {{ time }}",
197
+ "unavailable": "Este navegador no puede determinar su ubicación, o no lo ha permitido para este sitio.",
198
+ "open_in_google_maps": "Abrir en Google Maps",
199
+ "error": {
200
+ "PERMISSION_DENIED": "Se denegó el acceso a la ubicación. Permítalo en la configuración del sitio del navegador.",
201
+ "POSITION_UNAVAILABLE": "El dispositivo no pudo determinar su ubicación.",
202
+ "TIMEOUT": "La lectura de la ubicación tardó demasiado. Inténtelo de nuevo.",
203
+ "UNAVAILABLE": "Este navegador no puede determinar su ubicación."
204
+ }
82
205
  }
83
206
  }