Skip to content

Commit

Permalink
[C] separate table header
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgoff authored and blnkt committed Apr 18, 2024
1 parent 88aea4a commit 94ac745
Show file tree
Hide file tree
Showing 16 changed files with 372 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,29 @@ fieldLayouts:
userCondition: null
warning: null
width: 100
-
elementCondition:
class: craft\elements\conditions\entries\EntryCondition
conditionRules:
-
class: craft\fields\conditions\OptionsFieldConditionRule
fieldUid: a966d509-84b0-43ab-9a5b-42590a5fb537 # Answer Type
operator: in
uid: da81fa90-d974-4492-8f82-9c0de48e98ce
values:
- tabular
elementType: craft\elements\Entry
fieldContext: global
fieldUid: f633c7c8-51d2-4e26-93a0-630d539e83f7 # Table Header
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 9eff673f-2982-4c92-95a6-deeb46a6071f
userCondition: null
warning: null
width: 100
-
elementCondition:
class: craft\elements\conditions\entries\EntryCondition
Expand All @@ -94,7 +117,7 @@ fieldLayouts:
fieldContext: global
fieldUid: fcc60644-81ac-4f94-ad34-8bdaeeb4a6b6 # Question Table
instructions: null
label: null
label: 'Table Rows'
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: 'Display Table'
searchable: false
settings:
blockTypeFields: 0
changedFieldIndicator: 667718835
changedFieldIndicator: 503386703
columns:
__assoc__:
-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ name: 'Question Table'
searchable: false
settings:
blockTypeFields: 0
changedFieldIndicator: 1804289584
changedFieldIndicator: 185232517
columns:
__assoc__:
-
- 8b781860-2b8c-4100-969a-2f13c5272420 # Table Cells
- 8b781860-2b8c-4100-969a-2f13c5272420 # Table Row
-
__assoc__:
-
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
columnSuffix: null
contentColumnType: string
fieldGroup: 5599d188-862e-4717-b206-6aadd975c937 # Common
handle: tableHeader
instructions: null
name: 'Table Header'
searchable: false
settings:
blockTypeFields: 0
changedFieldIndicator: 1790871278
columns:
__assoc__:
-
- 4b8139b2-36be-4510-aaeb-fa8579fb3273 # Header Row
-
__assoc__:
-
- width
- ''
contentTable: '{{%stc_tableheader}}'
fieldLayout: table
maxRows: null
minRows: null
propagationKeyFormat: null
propagationMethod: all
selectionLabel: null
staticField: true
translationKeyFormat: null
translationMethod: none
type: verbb\supertable\fields\SuperTableField
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
field: 8b781860-2b8c-4100-969a-2f13c5272420 # Table Cells
field: 8b781860-2b8c-4100-969a-2f13c5272420 # Table Row
fieldLayouts:
0bd639bb-fcdb-4685-abf9-754d9c8797a2:
tabs:
Expand Down Expand Up @@ -79,7 +79,7 @@ fields:
searchable: false
settings:
blockTypeFields: 0
changedFieldIndicator: 1538452176
changedFieldIndicator: 1612934111
columns:
__assoc__:
-
Expand All @@ -96,7 +96,7 @@ fields:
-
- width
- ''
contentTable: '{{%stc_47_options}}'
contentTable: '{{%stc_46_options}}'
fieldLayout: table
maxRows: null
minRows: null
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
field: 8b781860-2b8c-4100-969a-2f13c5272420 # Table Row
fieldLayouts:
8345db03-f9b8-417d-9be2-9bc20af3a4e1:
tabs:
-
elementCondition: null
elements:
-
elementCondition: null
fieldUid: 7fd2ba5e-d840-47df-8c79-a5fd54ff5aae # Text
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 1393a9df-93b3-4fc1-9fd5-9e0420b08ad9
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 7880478d-205c-4689-82fe-f4b69acd39e0 # Equation
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 2a8d80ec-8884-40fd-8675-22e096e72f78
userCondition: null
warning: null
width: 100
name: Content
uid: cf97be16-ade0-4f2a-be63-9b34ba88e973
userCondition: null
fields:
7fd2ba5e-d840-47df-8c79-a5fd54ff5aae: # Text
columnSuffix: asssbrrc
contentColumnType: text
fieldGroup: null
handle: text
instructions: null
name: Text
searchable: false
settings:
byteLimit: null
charLimit: null
code: false
columnType: null
initialRows: 4
multiline: false
placeholder: null
uiMode: normal
translationKeyFormat: null
translationMethod: site
type: craft\fields\PlainText
7880478d-205c-4689-82fe-f4b69acd39e0: # Equation
columnSuffix: hmqtcujr
contentColumnType: text
fieldGroup: null
handle: equation
instructions: null
name: Equation
searchable: false
settings:
byteLimit: null
charLimit: null
code: true
columnType: null
initialRows: 4
multiline: false
placeholder: null
uiMode: normal
translationKeyFormat: null
translationMethod: none
type: craft\fields\PlainText
handle: rowHeader
name: Header
sortOrder: 3
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
field: 839bfa4f-5a09-4b32-b1eb-e0fef7b7beda # Table Row
fieldLayouts:
571dd5c9-3e02-467e-8105-1af7ae0d02bc:
tabs:
-
elementCondition: null
elements:
-
elementCondition: null
fieldUid: 635c41e4-29a8-42de-965b-e30c5beb0685 # Text
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 98120f84-d291-4b55-a77b-45490f1beb42
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 9c099f02-5f47-4c2f-bf83-574a21fae092 # Equation
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: ee4e3d39-c6b7-4966-82c2-087428531ec4
userCondition: null
warning: null
width: 100
name: Content
uid: 61a20ed7-0640-4792-9270-46e04f5c614a
userCondition: null
fields:
9c099f02-5f47-4c2f-bf83-574a21fae092: # Equation
columnSuffix: ysrwuqji
contentColumnType: text
fieldGroup: null
handle: equation
instructions: null
name: Equation
searchable: false
settings:
byteLimit: null
charLimit: null
code: true
columnType: null
initialRows: 4
multiline: false
placeholder: null
uiMode: normal
translationKeyFormat: null
translationMethod: none
type: craft\fields\PlainText
635c41e4-29a8-42de-965b-e30c5beb0685: # Text
columnSuffix: bdhqzilz
contentColumnType: text
fieldGroup: null
handle: text
instructions: null
name: Text
searchable: false
settings:
byteLimit: null
charLimit: null
code: false
columnType: null
initialRows: 4
multiline: false
placeholder: null
uiMode: normal
translationKeyFormat: null
translationMethod: site
type: craft\fields\PlainText
handle: rowHeader
name: 'Row Header'
sortOrder: 2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
field: 8b781860-2b8c-4100-969a-2f13c5272420 # Table Cells
field: 8b781860-2b8c-4100-969a-2f13c5272420 # Table Row
fieldLayouts:
42907a15-1f1c-467d-b5f6-ab6726fe55c0:
tabs:
Expand Down Expand Up @@ -29,18 +29,6 @@ fieldLayouts:
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 17499e5e-0bba-4aa4-8c78-56cdbe8422e0 # Header
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 9645a5ea-9466-4a83-ba68-5670e72a1757
userCondition: null
warning: null
width: 100
name: Content
uid: b4b66028-d2a4-4aae-944d-5499d9f90674
userCondition: null
Expand All @@ -65,21 +53,6 @@ fields:
translationKeyFormat: null
translationMethod: site
type: craft\fields\PlainText
17499e5e-0bba-4aa4-8c78-56cdbe8422e0: # Header
columnSuffix: qmhrjxcz
contentColumnType: boolean
fieldGroup: null
handle: header
instructions: 'Check if this cell is a header. This should only be used for the first cell in each row. The first row of a table is a header by default.'
name: Header
searchable: false
settings:
default: false
offLabel: null
onLabel: null
translationKeyFormat: null
translationMethod: none
type: craft\fields\Lightswitch
fc7f5dc8-43b1-487c-8302-07abecd2429a: # Equation
columnSuffix: lhtlrftk
contentColumnType: text
Expand All @@ -101,5 +74,5 @@ fields:
translationMethod: none
type: craft\fields\PlainText
handle: static
name: 'Static Cell'
name: 'Table Cell'
sortOrder: 1
Loading

0 comments on commit 94ac745

Please sign in to comment.