Restore point before Stufe 3 (central resolver-service refactoring). Includes this session's work: - Success Story (usecase) rebuild: new fields/tabs, UsecaseSerializer, thin List/Show renderers, MM relations, inline content elements. - vitec_columns content block (two-column layout with per-item content) incl. unified header section; special-cased JSON resolution. - Container per-column flex (items[].config align/justify) + gap on parent. - Unified header section across CEs/plugins/containers; header fields in JSON. - ISO-style architecture spec: Documentation/Headless-JSON-Architecture.md. - Cleanup: removed local scratch + verified .bak backups. - Fixes: B-6 (undefined thumbnail variable in Downloadcardcollection image resolver), B-7 (unsatisfiable legacy CType OR branch in Downloadcard/Datasheets). Rollback: git reset --hard snapshot-2026-07-09-pre-stufe3 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
127 lines
2.4 KiB
YAML
127 lines
2.4 KiB
YAML
name: vitec/intro-paragraph
|
|
group: vitec_custom_components
|
|
prefixFields: true
|
|
prefixType: vendor
|
|
|
|
fields:
|
|
- identifier: header_section
|
|
type: Palette
|
|
label: Header
|
|
fields:
|
|
- identifier: header
|
|
useExistingField: true
|
|
required: true
|
|
- type: Linebreak
|
|
- identifier: header_layout
|
|
useExistingField: true
|
|
- identifier: header_position
|
|
useExistingField: true
|
|
- identifier: date
|
|
useExistingField: true
|
|
- type: Linebreak
|
|
- identifier: header_link
|
|
useExistingField: true
|
|
- type: Linebreak
|
|
- identifier: subheader
|
|
useExistingField: true
|
|
|
|
|
|
|
|
|
|
|
|
- identifier: bodytext
|
|
useExistingField: true
|
|
enableRichtext: true
|
|
|
|
- identifier: button_text
|
|
type: Text
|
|
max: 40
|
|
|
|
- identifier: button_link
|
|
type: Link
|
|
allowedTypes:
|
|
- page
|
|
- url
|
|
- file
|
|
- email
|
|
|
|
- identifier: Vitec/ButtonStyle
|
|
type: Basic
|
|
|
|
# --- Image ---
|
|
- identifier: intro_image
|
|
type: File
|
|
minitems: 0
|
|
maxitems: 1
|
|
allowed: common-image-types
|
|
extendedPalette: true
|
|
|
|
- identifier: intro_image_alignment
|
|
type: Select
|
|
renderType: selectSingle
|
|
default: center
|
|
items:
|
|
- label: Left
|
|
value: left
|
|
- label: Center
|
|
value: center
|
|
- label: Right
|
|
value: right
|
|
- label: Fullwidth
|
|
value: fullwidth
|
|
|
|
# --- Video ---
|
|
- identifier: intro_video
|
|
type: File
|
|
minitems: 0
|
|
maxitems: 1
|
|
allowed: mp4,webm,ogv,mov,m4v
|
|
|
|
- identifier: intro_video_alignment
|
|
type: Select
|
|
renderType: selectSingle
|
|
default: center
|
|
items:
|
|
- label: Left
|
|
value: left
|
|
- label: Center
|
|
value: center
|
|
- label: Right
|
|
value: right
|
|
- label: Fullwidth
|
|
value: fullwidth
|
|
|
|
- identifier: intro_video_autoplay
|
|
type: Checkbox
|
|
default: 0
|
|
|
|
- identifier: intro_video_loop
|
|
type: Checkbox
|
|
default: 0
|
|
|
|
- identifier: intro_video_muted
|
|
type: Checkbox
|
|
default: 1
|
|
|
|
- identifier: intro_layout_variant
|
|
type: Select
|
|
renderType: selectSingle
|
|
default: variant_1
|
|
items:
|
|
- label: Variant 1
|
|
value: variant_1
|
|
- label: Variant 2
|
|
value: variant_2
|
|
- label: Variant 3
|
|
value: variant_3
|
|
- label: Variant 4
|
|
value: variant_4
|
|
|
|
- identifier: fullwidth
|
|
type: Checkbox
|
|
default: 0
|
|
|
|
- identifier: debug
|
|
type: Checkbox
|
|
default: 0
|