Initial commit

This commit is contained in:
isUnknown 2026-02-12 15:22:46 +01:00
commit 65e0da7e11
1397 changed files with 596542 additions and 0 deletions

View file

@ -0,0 +1,65 @@
# fields on root and sub level
# fieldsets on root and sub level
# single fieldset on sub level (no dropdown needed for a single fieldset)
# empty fields on root and sub level
# empty fieldsets on root and sub level
title: Engineer fieldsets
pages: true
fields:
single:
type: engineer
label: Single fields
fields:
text:
label: Text
type: text
engineer_fields:
label: Fields
type: engineer
fields:
text:
label: Text
type: text
textarea:
label: Textarea
type: textarea
engineer_fieldset:
label: Single fieldset
type: engineer
fieldsets:
labled:
label: Labled
fields:
text:
label: Text
type: text
multiple:
type: engineer
label: Fieldsets
fieldsets:
labled:
label: Labled
fields:
text:
label: Text
type: text
engineer:
type: engineer
fieldsets:
first:
label: First
fields:
text:
label: Text
type: text
second:
fields:
textarea:
label: Textarea
type: textarea
unlabled:
fields:
text:
label: Text
type: text

View file

@ -0,0 +1,50 @@
# width on root and sub level
# rowWidth on root and sub level
# buttons on root and sub level
title: Engineer grid
pages: true
fields:
width:
type: engineer
width: 1/2
rowWidth: 1/2
fields:
text:
label: Text
type: text
width: 1/2
textarea:
label: Textarea
type: textarea
width: 1/2
engineer:
type: engineer
label: Root
rowWidth: 1/2
buttons:
- delete
- clone
fields:
text:
label: Text
type: text
width: 1/2
textarea:
label: Textarea
type: textarea
width: 1/2
engineer:
type: engineer
width: 1/2 # Fails with type engineer on a sub level
rowWidth: 1/2
buttons:
- delete
- sort
fields:
text:
label: Text
type: text
textarea:
label: Textarea
type: textarea

View file

@ -0,0 +1,31 @@
title: Engineer nesting
pages: true
fields:
engineer:
type: engineer
label: Level 0
fields:
text:
label: Text field
type: text
engineer:
label: Level 1
type: engineer
fields:
text:
label: Text field
type: text
engineer:
label: Level 2
type: engineer
fields:
text:
label: Text field
type: text
engineer:
label: Level 3
type: engineer
fields:
text:
label: Text field
type: text

View file

@ -0,0 +1,46 @@
# All option tests are on both root level and sub level
# label, type, default, icon, readonly, help, placeholder, required
title: Engineer options
pages: true
fields:
engineer:
type: engineer
label: Single fields
fields:
text:
label: Text without options
type: text
text_options1:
label: Text with options 1
type: text
default: Default value
icon: info
disabled: true
help: default, icon, help
text_options2:
label: Text with options 2
type: text
placeholder: A placeholder
required: true
help: placeholder, required, help
engineer:
label: Fields
type: engineer
fields:
text:
label: Text without options
type: text
text_options1:
label: Text with options 1
type: text
default: Default value
icon: info
disabled: true
help: default, icon, help
text_options2:
label: Text with options 2
type: text
placeholder: A placeholder
required: true
help: placeholder, required, help

View file

@ -0,0 +1,85 @@
title: Engineer panel fields
pages: true
fields:
engineer:
type: engineer
label: Panel fields
fields:
checkbox:
type: toggle
text: My checkbox
width: 1/3
checkboxes:
type: checkboxes
options:
one: One
two: Two
width: 1/3
date:
type: date
width: 1/3
datetime:
type: date
width: 1/3
email:
type: email
width: 1/3
headline:
type: headline
image:
type: files
width: 1/3
headline2:
label: H2
type: headline
info:
type: info
width: 1/3
text: >
Some text
added
line:
type: line
width: 1/3
number:
type: number
width: 1/3
page:
type: pages
width: 1/3
radio:
type: radio
options:
one: One
two: Two
width: 1/3
select:
type: select
options:
one: One
two: Two
width: 1/3
tags:
type: tags
width: 1/3
tel:
type: tel
width: 1/3
text:
type: text
width: 1/3
textarea:
type: textarea
width: 1/3
time:
type: time
width: 1/3
toggle:
type: toggle
width: 1/3
url:
type: url
width: 1/3
user:
type: users
width: 1/3

View file

@ -0,0 +1,19 @@
title: Engineer supported fields
pages: true
fields:
engineer:
type: engineer
label: Supported fields
fields:
hero:
label: Hero
type: hero
width: 1/3
quickselect:
label: quickselect
type: quickselect
options: files
width: 1/3
images:
label: Images
type: files

View file

@ -0,0 +1,39 @@
# style: table
title: Engineer table
pages: true
fields:
engineer:
type: engineer
style: table
label: Table
fields:
text:
label: Text
type: text
width: 1/3
textarea:
label: Textarea
type: textarea
width: 1/3
textarea2:
label: Textarea2
type: textarea
width: 1/3
nested:
type: engineer
label: Root
fields:
engineer:
label: Engineer
type: engineer
style: table
fields:
text:
label: Text
type: text
width: 1/2
textarea:
label: Textarea
type: textarea
width: 1/2

View file

@ -0,0 +1,43 @@
title: Engineer working fields
pages: true
fields:
to_structure:
type: structure
label: For select a stucture field
style: table
fields:
item:
type: text
engineer:
type: engineer
label: Working fields
fields:
switch:
label: Switch
type: switch
text: Switch me
width: 1/3
country:
label: Country
type: country
width: 1/3
decimal:
label: Decimal
type: decimal
width: 1/3
selectastructure:
label: Select a structure
type: selectastructure
width: 1/3
structurepage: plugin-fields
structurefield: to_structure
optionkey: item
logic:
label: Logic
title: My logic field
width: 1/3
type: logic
controlledcheckboxes:
label: Controlled list
type: controlledcheckboxes
controller: MyPlugin::userlist