Appearance
The app
Generated
Generated by elody-ui reference from the Elody UI vocabulary 0.6.0 (elody-ui.ttl), its meta-shapes (elody-ui.shapes.ttl) and the generator's bindings. Edit the ontology, not this page.
The client's platform file: the platform documents it carries, their settings, the menu and the type entries.
Each section is one kind of node: the terms it may carry, the type of each value, how many values it takes and what it means. "unchecked" marks a term the vocabulary defines on this kind of node that the meta-shapes do not constrain yet. "Used by" counts the client declarations that use the term.
App
elody:App: The client's app-level declaration: the platform document (queries/<client>.queries.ts) rendered from the declared types and these settings. It names the platform documents it carries (elody:platformDocument), the type-wide ones (getEntities, fullEntity, getEntityById, getAdvancedFilters, GetSortOptions, GetBulkOperations, getPreviewComponents, FetchMediafilesOfEntity, getTenants) being derived from the EntityUis; it carries the base sort options and bulk operations, the pagination limits, the dropzone options and the flags the platform documents vary by; like an EntityUi it may declare list queries, sort documents, custom bulk operations, forms and guided flows of the app's own. elody:App: The client's app-level declaration: the platform document (queries/<client>.queries.ts) rendered from the declared types and these settings. It names the platform documents it carries (elody:platformDocument), the type-wide ones (getEntities, fullEntity, getEntityById, getAdvancedFilters, GetSortOptions, GetBulkOperations, getPreviewComponents, FetchMediafilesOfEntity, getTenants) being derived from the EntityUis; it carries the base sort options and bulk operations, the pagination limits, the dropzone options and the flags the platform documents vary by; like an EntityUi it may declare list queries, sort documents, custom bulk operations, forms and guided flows of the app's own.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:documentName | xsd:string | exactly one | Base name of the generated fragments and documents (minimal<Name>, full<Name>, <name>.queries.ts). Defaults to elody:graphqlType; needed when several declarations render the same GraphQL type, such as a showcase on BaseEntity. | 8 of 8 |
elody:filePath | xsd:string | exactly one | The file the documents are written to, relative to src/ (default queries/entities/<name>.queries.ts). | 8 of 8 |
elody:platformDocument | xsd:string | any number | The name of a platform document the app carries: a constant (getDirectories, getFilterOptions, getUserPermissions, mutateEntityValues, ...) or one derived from the declared types (getEntities, fullEntity, ...). The generator renders the ones named. | 8 of 8 |
elody:paginationLimit | a list | at most one | The page sizes offered (GetPaginationLimitOptions), an RDF list of integers. | 8 of 8 |
elody:dropzoneOption | a Dropzone Option node | any number | An option of the dropzone, in sh:order. | 7 of 8 |
elody:bulkDeleteSkipsRelated | xsd:boolean | at most one | true passes skipItemsWithRelationDuringBulkDelete to bulkDeleteEntities. | 2 of 8 |
elody:csvExportKeysRequired | xsd:boolean | at most one | true asks required back on GetBulkOperationCsvExportKeys. | 3 of 8 |
elody:preferredLanguage | xsd:boolean | at most one | true passes $preferredLanguage to getEntityById and mutateEntityValues. | 1 of 8 |
elody:readsPermissions | xsd:boolean | at most one | true reads canUpdate and canDelete with the detail page's initial values: the PWA shows the edit and delete actions by them. Default false. | 5 of 8 |
elody:importJobId | xsd:boolean | at most one | true asks job_id back on postStartImport. | 1 of 8 |
elody:filterMatcherQueryName | xsd:string | at most one | The name of the filter matcher mapping document (getFilterMatcherMapping or GetFilterMatcherMapping). | 8 of 8 |
elody:filterMatcherKeys | a list | at most one | The filter kinds whose matchers the mapping document asks for (keys), an RDF list of strings. | 7 of 8 |
elody:filterMatcherLegacy | xsd:boolean | at most one | true asks the mapping back as fields per kind (the old form), without keys. | 1 of 8 |
elody:panelHeaderLegacy | xsd:boolean | at most one | true heads every detail panel with label(input: ...), the form of baseGraphql before panelHeaderContent: the client runs that version. A dialect of the client, not a choice per panel. | 1 of 8 |
elody:bulkModalFormQueryLegacy | xsd:boolean | at most one | true opens a bulk operation's modal with formQuery: "..." (singular), the BulkOperationInputModal of baseGraphql before formQueries: [...]: the client runs that version. A dialect of the client; a modal offering several forms is not expressible in it. | 1 of 8 |
elody:relationFormFlatPanel | xsd:boolean | at most one | true writes the panel of the bulk-edit relation form (GetBulkOperationsRelationForm) without the ... on WindowElementPanel inline fragment, the form before the panel union. A dialect of the client. | 2 of 8 |
elody:relationFormField | a Relation Form Field node | any number | A field of the client's own in the bulk-edit relation form's panel, in sh:order: elody:alias, elody:key, elody:labelKey, elody:clientInputField (e.g. the garage that owns the entity). | 1 of 8 |
elody:geoFilterKey | xsd:string | at most one | The key the map's geo filter buckets on (GetGeoFilterForMap, advancedFilter(type: geo, key: ...)); the document is carried when the app names it. | 1 of 8 |
elody:typeEntry | a Type Entry node | any number | An entry of a type-wide document: elody:platformDocument names the document, elody:graphqlType the type, elody:fragmentName the fragment spread for it, or elody:operation nodes when GetBulkOperations holds the type's options inline (none with elody:excluded true). | 5 of 8 |
elody:menuItem | a Menu Item node | any number | An item of the menu, in sh:order; elody:alias names it. The app's items are the top level; a sub-menu's are nested. | 8 of 8 |
elody:bulkDocument | a Bulk Document node | any number | A bulk operations document with operations of its own: elody:queryName names it, elody:operation lists the operations in sh:order (none for an empty list). | 3 of 8 |
elody:sortOption | a Sort Option node | any number | An option of the document, in sh:order. | 7 of 8 |
elody:bulkOperation | a Bulk Operation node | any number | An operation in the listing's action bar. | 7 of 8 |
elody:listQuery | a List Query node | any number | The declared entities and filters documents the list loads; sets customQuery and customQueryFilters. On an EntityUi: list queries the type's documents name without a list element (the documents of the delete flow), and the type's orphan documents, an entities or filters document nothing references but the client keeps; a filters document alone names only elody:filtersQuery. | 8 of 8 |
elody:sortDocument | a Sort Document node | any number | A sort options document of the type with options of its own: elody:queryName names it, elody:sortOption lists the options in sh:order. | 3 of 8 |
elody:customBulkOperations | a Custom Bulk Operations node | any number | A named operation set (on an EntityUi: declares it; on a list element: uses it, as a node reference). | 8 of 8 |
elody:form | a Form node | any number | The form an action, a modal or a flow step opens, as a node (R3): the generator derives the document name. Replaces the string references elody:formQuery and elody:createForm. An EntityUi lists its forms with the same property. | 8 of 8 |
elody:guidedFlow | a Guided Flow node | any number | A stepper flow declared for the type. Replaces elody:repetitiveForm. | 4 of 8 |
Type Entry
elody:TypeEntry: What a type-wide platform document says about one GraphQL type beyond what the types derive: a type the platform declares (Job, SavedSearch, with the platform's fragment), a fragment other than the derived one, or a type left out (elody:excluded).
Declared under elody:typeEntry of App.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:platformDocument | xsd:string | exactly one | The name of a platform document the app carries: a constant (getDirectories, getFilterOptions, getUserPermissions, mutateEntityValues, ...) or one derived from the declared types (getEntities, fullEntity, ...). The generator renders the ones named. | 8 of 8 |
elody:graphqlType | xsd:string | exactly one | The GraphQL object type this UI (or picker result) is rendered for. Directive: it will be derived from sh:targetClass through the application profile's class-to-type register. | 8 of 8 |
elody:fragmentName | xsd:string | at most one | The GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues). | 5 of 8 |
elody:operation | a Bulk Operation node | any number | An operation in a custom set, or offered on a list's result (elody:ActionsOnResult). | 8 of 8 |
elody:excluded | xsd:boolean | at most one | true leaves the type out of the document although the declared types would put it in. | 4 of 8 |
elody:bare | xsd:boolean | at most one | true lists the type in the platform document without a fragment: the document reads only its own fields (FetchMediafilesOfEntity reading id alone). | 1 of 8 |
Relation Form Field
Declared under elody:relationFormField of App.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
sh:order | at most one | The position among its siblings; order never comes from the position in the file. | 8 of 8 | |
elody:alias | xsd:string | at most one | The GraphQL alias under which a filter (a filter without one is emitted unaliased), action, panel, element, form tab (on an elody:Form; default "name"), submit action (on an elody:submit node; default "createAction") or property is emitted. On a property shape: the field name the fragment reads the value under when it is not the metadata key (title: keyValue(key: "email")); several property shapes may share one sh:path under different aliases. Open string by design. | 8 of 8 |
elody:key | xsd:string | exactly one | A platform key: a config entry's name, a filter's document key, a step's key, a card field's value key when it differs from sh:name. | 8 of 8 |
elody:labelKey | xsd:string | at most one | The Elody translation key under which the label is shown. The label text itself is sh:name (property shapes) or rdfs:label (property groups), language-tagged; generate writes those texts into the client's translation bundles under this key. Without elody:labelKey the generator mints ui.<type>.<key>. No standard term: SHACL carries label texts, not an application's translation keys. Left out on a property shape that carries no label text: the label key the key itself carries (em:x elody:labelKey, once per client), else metadata.labels.<key>, the key in kebab-case (elody:defaultRule in the meta-shapes). | 8 of 8 |
elody:clientInputField | xsd:string | at most one | The input field the client registers itself under this name (its module's inputFields; inputField(type: keywordTypeField)) for editing this property; the generator uses the name and mints no field. Prefer sh:class, sh:in or an editor, which generate the field. | 8 of 8 |
Menu Item
elody:MenuItem: An item of the app's menu (GetMenu menuItem): its label, the entity type it lists, its icon, who sees it, where it links (a route, or a modal opening a form or flow), and its sub-menu.
Declared under elody:menuItem of App, elody:menuItem of Sub Menu.
Constraint
a menu item links to a route (elody:route) or opens a modal (elody:modal), not both
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
sh:order | at most one | The position among its siblings; order never comes from the position in the file. | 8 of 8 | |
elody:alias | xsd:string | exactly one | The GraphQL alias under which a filter (a filter without one is emitted unaliased), action, panel, element, form tab (on an elody:Form; default "name"), submit action (on an elody:submit node; default "createAction") or property is emitted. On a property shape: the field name the fragment reads the value under when it is not the metadata key (title: keyValue(key: "email")); several property shapes may share one sh:path under different aliases. Open string by design. | 8 of 8 |
elody:labelKey | xsd:string | exactly one | The Elody translation key under which the label is shown. The label text itself is sh:name (property shapes) or rdfs:label (property groups), language-tagged; generate writes those texts into the client's translation bundles under this key. Without elody:labelKey the generator mints ui.<type>.<key>. No standard term: SHACL carries label texts, not an application's translation keys. Left out on a property shape that carries no label text: the label key the key itself carries (em:x elody:labelKey, once per client), else metadata.labels.<key>, the key in kebab-case (elody:defaultRule in the meta-shapes). | 8 of 8 |
elody:entityType | xsd:string | at most one | The Elody entity type the step creates or picks; on a taggable, the type tagged. | 8 of 8 |
elody:icon | xsd:string | at most one | A DamsIcons name. Open string: the icon set is the platform's and grows. | 8 of 8 |
elody:isLoggedIn | xsd:boolean | at most one | Whether the item shows only to a signed-in user (isLoggedIn). | 4 of 8 |
elody:requiresAuth | xsd:boolean | at most one | Whether the item requires authentication (requiresAuth). | 7 of 8 |
elody:can | xsd:string | any number | A fine-grained permission string ("update:workOrder:assigned-to"). On a bulk operation or a list element: the permissions it needs; on a panel: the permission editing it needs (can(input: "update:part")). Open string: permissions are client-defined. | 5 of 8 |
elody:route | xsd:string | at most one | The PWA route the item links to (typeLink route destination); an item without it links to a modal (elody:modal). | 8 of 8 |
elody:modal | a Bulk Operation Modal node | at most one | The modal the operation opens. | 8 of 8 |
elody:subMenu | a Sub Menu node | at most one | The item's sub-menu. | 5 of 8 |
Sub Menu
elody:SubMenu: The sub-menu an item opens (subMenu): its name and its items.
Declared under elody:subMenu of Menu Item.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:menuName | xsd:string | exactly one | The name the PWA asks the sub-menu by (subMenu(name: "sub-menu-entities")). | 5 of 8 |
elody:menuItem | a Menu Item node | one or more | An item of the menu, in sh:order; elody:alias names it. The app's items are the top level; a sub-menu's are nested. | 8 of 8 |
Dropzone Option
elody:DropzoneOption: A type a dropped file creates (GetDropzoneEntityToCreate): elody:labelKey, elody:value, elody:icon.
Declared under elody:dropzoneOption of App.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
sh:order | at most one | The position among its siblings; order never comes from the position in the file. | 8 of 8 | |
elody:labelKey | xsd:string | exactly one | The Elody translation key under which the label is shown. The label text itself is sh:name (property shapes) or rdfs:label (property groups), language-tagged; generate writes those texts into the client's translation bundles under this key. Without elody:labelKey the generator mints ui.<type>.<key>. No standard term: SHACL carries label texts, not an application's translation keys. Left out on a property shape that carries no label text: the label key the key itself carries (em:x elody:labelKey, once per client), else metadata.labels.<key>, the key in kebab-case (elody:defaultRule in the meta-shapes). | 8 of 8 |
elody:value | xsd:string | exactly one | A config entry's value: string, number, boolean, an RDF list of strings, a node holding elody:config entries (an object value), or an elody: enumeration instance (rendered as its enum value, e.g. elody:WktMap). On an elody:FilterOption: the option's value. | 8 of 8 |
elody:icon | xsd:string | at most one | A DamsIcons name. Open string: the icon set is the platform's and grows. | 8 of 8 |