/
definitions.cnd
124 lines (90 loc) · 5.16 KB
/
definitions.cnd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<jnt = 'http://www.jahia.org/jahia/nt/1.0'>
<jmix = 'http://www.jahia.org/jahia/mix/1.0'>
<mix = 'http://www.jcp.org/jcr/mix/1.0'>
<hicmix = 'http://www.jahia.org/template/headless/industrial/mix/1.0'>
<hicnt = 'http://www.jahia.org/template/headless/industrial/nt/1.0'>
<hic = 'http://www.jahia.org/template/headless/industrial/1.0'>
[hicmix:industrial] > jmix:droppableContent, jmix:editorialContent mixin
[hicmix:internalVideoLink] > jmix:dynamicFieldset mixin
extends = hicmix:multiMediaReference
- videoIntPath (weakreference) internationalized < jnt:file
[hicmix:externalVideoLink] > jmix:dynamicFieldset mixin
extends = hicmix:multiMediaReference
- videoExtPath (string) = 'https://' internationalized
[hicmix:multiMediaReference] mixin
- mediaNode (weakreference, picker[type='image']) mandatory internationalized < 'jmix:image'
- videoLink (string) indexed=no
//----------------
// CONTENT LINKER
//----------------
[hicmix:linkTo] mixin
- linkType (string, choicelist) indexed=no
- linkTarget (string, choicelist[resourceBundle]) = _blank autocreated indexed=no < '_blank', '_self', '_parent', '_top'
[hicmix:internalLink] > jmix:dynamicFieldset mixin
extends = hicmix:linkTo
- internalLink (weakreference, picker[type='editoriallink']) < 'jmix:droppableContent', 'jnt:page', 'jnt:file'
[hicmix:externalLink] > jmix:dynamicFieldset mixin
extends = hicmix:linkTo
- externalLink (string) = 'https://'
//----------------
// TEXT
//----------------
[hicnt:text]> jnt:content, hicmix:industrial
- text (string, richtext[ckeditor.toolbar='Tinny',ckeditor.customConfig='$context/modules/jahia-industrial/javascript/ckeditor/config/default.js']) internationalized
[hicmix:simpleContentBloc] mixin
- title (string) internationalized
- teaser (string) internationalized
- iconName (string)
[hicnt:featureContentBloc]> jnt:content, hicmix:simpleContentBloc, hicmix:industrial
[hicnt:mediaContentBloc]> jnt:content, hicmix:simpleContentBloc, hicmix:industrial
//----------------
// GALLERY IMAGE
//----------------
[hicnt:galleryImage] > jnt:content, hicmix:industrial, hicmix:linkTo, mix:title
- heading (string) internationalized
- mediaNode (weakreference, picker[type='image']) mandatory internationalized < 'jmix:image'
// - iconClass (string)
//----------------
// CAROUSEL
//----------------
[hicnt:owlcarousel] > jnt:content, hicmix:industrial, jmix:list, jmix:siteContent orderable
- carouselType (string, choicelist) mandatory indexed=no
[hicmix:owlcarouselHeading] > jmix:dynamicFieldset mixin
extends = hicnt:owlcarousel
+ * (hicnt:owlcarouselHeadingItem)
[hicmix:owlcarouselTestimonial] > jmix:dynamicFieldset mixin
extends = hicnt:owlcarousel
+ * (hicnt:owlcarouselTestimonialItem)
[hicmix:owlcarouselAdvancedSettings] mixin
extends = hicnt:owlcarousel
itemtype = content
- options (string) indexed=no
- class (string) indexed=no
[hicnt:owlcarouselHeadingItem] > jnt:content, hicmix:multiMediaReference, mix:title
- caption (string, richtext[ckeditor.toolbar='Tinny',ckeditor.customConfig='$context/modules/jahia-industrial/javascript/ckeditor/config/default.js']) internationalized
[hicnt:owlcarouselTestimonialItem] > jnt:content, mix:title
- heading (string, richtext[ckeditor.toolbar='Tinny',ckeditor.customConfig='$context/modules/jahia-industrial/javascript/ckeditor/config/small.js']) internationalized
- testimonial (string, richtext[ckeditor.toolbar='Tinny',ckeditor.customConfig='$context/modules/jahia-industrial/javascript/ckeditor/config/default.js']) internationalized
- mediaNode (weakreference, picker[type='image']) mandatory internationalized < 'jmix:image'
//----------------
// CONTENT
//----------------
[hicnt:image] > jnt:content
- mediaNode (weakreference, picker[type='image']) mandatory internationalized < 'jmix:image'
[hicmix:content] mixin
- body (string, richtext[ckeditor.toolbar='Tinny',ckeditor.customConfig='$context/modules/jahia-industrial/javascript/ckeditor/config/small.js']) internationalized
- mediaNode (weakreference, picker[type='image']) mandatory internationalized < 'jmix:image'
[hicmix:extraContent] mixin
- mediaNodeFocus (weakreference, picker[type='image']) internationalized < 'jmix:image'
- mediaGallery (weakreference, picker[type='image']) internationalized multiple < 'jmix:image'
[hicnt:card] > jnt:content, hicmix:content, hicmix:industrial, hicmix:linkTo
[hicnt:heading] > jnt:content, hicmix:industrial, hicmix:linkTo
- body (string, richtext[ckeditor.toolbar='Tinny',ckeditor.customConfig='$context/modules/jahia-industrial/javascript/ckeditor/config/small.js']) internationalized
- mediaNode (weakreference, picker[type='image']) mandatory internationalized < 'jmix:image'
- mediaNodeFocus (weakreference, picker[type='image']) internationalized < 'jmix:image'
[hicnt:genericContent] > jnt:content, hicmix:content, hicmix:extraContent, hicmix:industrial, mix:title
- teaser (string, richtext[ckeditor.toolbar='Tinny',ckeditor.customConfig='$context/modules/jahia-industrial/javascript/ckeditor/config/small.js']) internationalized
[hicnt:halfBlock] > jnt:content, hicmix:industrial
- imagePosition (string, choicelist[resourceBundle]) = 'left' autocreated indexed=no < 'left', 'right'
+ image (hicnt:image)
+ body (hicnt:text)