@griddo/ax 1.56.9 → 1.57.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. package/config/griddo-config.js +1 -0
  2. package/package.json +2 -2
  3. package/src/components/ActionMenu/index.tsx +1 -1
  4. package/src/components/Fields/ComponentArray/MixableComponentArray/index.tsx +7 -1
  5. package/src/components/Fields/ComponentArray/MixableComponentArray/style.tsx +29 -24
  6. package/src/components/Fields/ComponentArray/SameComponentArray/index.tsx +7 -1
  7. package/src/components/Fields/ComponentArray/SameComponentArray/style.tsx +29 -24
  8. package/src/components/Fields/DateField/index.tsx +3 -2
  9. package/src/components/Fields/ReferenceField/AutoPanel/AutoItem/index.tsx +1 -1
  10. package/src/components/Fields/ReferenceField/AutoPanel/index.tsx +1 -1
  11. package/src/components/Fields/ReferenceField/ItemList/Item/index.tsx +1 -1
  12. package/src/components/Fields/UrlField/index.tsx +12 -1
  13. package/src/components/Fields/Wysiwyg/config.tsx +80 -56
  14. package/src/components/Fields/Wysiwyg/index.tsx +23 -6
  15. package/src/components/FloatingMenu/index.tsx +9 -6
  16. package/src/components/FloatingMenu/style.tsx +8 -6
  17. package/src/components/Gallery/GalleryFilters/Orientation/index.tsx +1 -1
  18. package/src/components/Gallery/GalleryFilters/SortBy/index.tsx +1 -1
  19. package/src/components/InformativeMenu/index.tsx +3 -2
  20. package/src/components/InformativeMenu/style.tsx +0 -1
  21. package/src/components/MainWrapper/AppBar/index.tsx +8 -7
  22. package/src/components/MainWrapper/AppBar/style.tsx +7 -0
  23. package/src/components/MenuItem/style.tsx +1 -0
  24. package/src/components/Modal/style.tsx +14 -13
  25. package/src/components/Nav/index.tsx +8 -3
  26. package/src/components/Nav/style.tsx +5 -0
  27. package/src/components/SearchField/index.tsx +43 -14
  28. package/src/components/SearchField/style.tsx +23 -10
  29. package/src/components/SideModal/index.tsx +24 -8
  30. package/src/components/SideModal/style.tsx +13 -2
  31. package/src/components/SubNav/style.tsx +3 -2
  32. package/src/containers/Navigation/Defaults/actions.tsx +26 -24
  33. package/src/containers/Navigation/Defaults/reducer.tsx +2 -2
  34. package/src/containers/PageEditor/actions.tsx +9 -8
  35. package/src/containers/Settings/Social/actions.tsx +9 -31
  36. package/src/containers/Settings/Social/constants.tsx +2 -3
  37. package/src/containers/Settings/Social/interfaces.tsx +2 -7
  38. package/src/containers/Settings/Social/reducer.tsx +3 -14
  39. package/src/containers/Sites/actions.tsx +3 -63
  40. package/src/containers/Sites/constants.tsx +0 -1
  41. package/src/containers/Sites/interfaces.tsx +0 -6
  42. package/src/containers/Sites/reducer.tsx +1 -29
  43. package/src/forms/editor.tsx +2 -0
  44. package/src/forms/validators.tsx +2 -0
  45. package/src/helpers/dates.tsx +23 -24
  46. package/src/helpers/index.tsx +2 -0
  47. package/src/helpers/objects.tsx +17 -2
  48. package/src/helpers/schemas.tsx +7 -4
  49. package/src/hooks/forms.tsx +23 -24
  50. package/src/modules/App/Routing/NavMenu/NavItem/index.tsx +10 -5
  51. package/src/modules/App/Routing/NavMenu/NavItem/style.tsx +13 -9
  52. package/src/modules/App/Routing/NavMenu/index.tsx +39 -37
  53. package/src/modules/App/Routing/NavMenu/style.tsx +9 -3
  54. package/src/modules/Categories/CategoriesList/CategoryItem/index.tsx +1 -1
  55. package/src/modules/Categories/CategoriesList/CategoryNav/NavItem/index.tsx +6 -3
  56. package/src/modules/Categories/CategoriesList/CategoryNav/NavItem/style.tsx +5 -1
  57. package/src/modules/Content/ContentFilters/index.tsx +6 -3
  58. package/src/modules/Content/ContentFilters/style.tsx +6 -1
  59. package/src/modules/Content/HeaderMenus/Live/index.tsx +1 -1
  60. package/src/modules/Content/HeaderMenus/Name/index.tsx +10 -4
  61. package/src/modules/Content/HeaderMenus/Status/index.tsx +7 -3
  62. package/src/modules/Content/HeaderMenus/Translations/index.tsx +1 -1
  63. package/src/modules/Content/HeaderMenus/Types/index.tsx +1 -1
  64. package/src/modules/Content/OptionTable/index.tsx +6 -3
  65. package/src/modules/Content/OptionTable/style.tsx +4 -0
  66. package/src/modules/Content/PageItem/index.tsx +3 -3
  67. package/src/modules/Content/index.tsx +5 -3
  68. package/src/modules/GlobalEditor/index.tsx +37 -14
  69. package/src/modules/Navigation/Defaults/DefaultsEditor/index.tsx +33 -13
  70. package/src/modules/Navigation/Defaults/Item/atoms.tsx +1 -1
  71. package/src/modules/Navigation/Defaults/Nav/index.tsx +8 -3
  72. package/src/modules/Navigation/Defaults/Nav/style.tsx +4 -0
  73. package/src/modules/Navigation/Defaults/index.tsx +4 -0
  74. package/src/modules/Navigation/Menus/List/Nav/index.tsx +8 -3
  75. package/src/modules/Navigation/Menus/List/Nav/style.tsx +4 -0
  76. package/src/modules/Navigation/Menus/List/index.tsx +3 -1
  77. package/src/modules/Navigation/Menus/List/style.tsx +9 -1
  78. package/src/modules/PageEditor/index.tsx +38 -14
  79. package/src/modules/Settings/ContentTypes/DataPacks/AddModal/Filter/index.tsx +1 -1
  80. package/src/modules/Settings/ContentTypes/DataPacks/AddModal/SortFilter/index.tsx +1 -1
  81. package/src/modules/Settings/ContentTypes/DataPacks/Nav/index.tsx +11 -6
  82. package/src/modules/Settings/ContentTypes/DataPacks/Nav/style.tsx +6 -1
  83. package/src/modules/Settings/Globals/index.tsx +19 -31
  84. package/src/modules/Settings/Languages/LanguagePanel/Form/index.tsx +1 -1
  85. package/src/modules/Settings/Languages/Table/Item/index.tsx +1 -1
  86. package/src/modules/Settings/Social/index.tsx +35 -91
  87. package/src/modules/Sites/SitesList/SiteModal/index.tsx +12 -27
  88. package/src/modules/Sites/SitesList/index.tsx +15 -15
  89. package/src/modules/StructuredData/StructuredDataList/ContentFilters/index.tsx +3 -1
  90. package/src/modules/StructuredData/StructuredDataList/ContentFilters/style.tsx +6 -1
  91. package/src/modules/StructuredData/StructuredDataList/GlobalPageItem/index.tsx +3 -3
  92. package/src/modules/StructuredData/StructuredDataList/HeaderMenus/Live/index.tsx +1 -1
  93. package/src/modules/StructuredData/StructuredDataList/HeaderMenus/Name/index.tsx +10 -4
  94. package/src/modules/StructuredData/StructuredDataList/HeaderMenus/Site/index.tsx +1 -1
  95. package/src/modules/StructuredData/StructuredDataList/HeaderMenus/Status/index.tsx +7 -3
  96. package/src/modules/StructuredData/StructuredDataList/HeaderMenus/Translations/index.tsx +1 -1
  97. package/src/modules/StructuredData/StructuredDataList/HeaderMenus/Types/index.tsx +1 -1
  98. package/src/modules/StructuredData/StructuredDataList/OptionTable/index.tsx +6 -3
  99. package/src/modules/StructuredData/StructuredDataList/OptionTable/style.tsx +4 -0
  100. package/src/modules/StructuredData/StructuredDataList/StructuredDataItem/index.tsx +1 -1
  101. package/src/modules/Users/UserList/HeaderMenus/Name/index.tsx +13 -5
  102. package/src/schemas/index.tsx +7 -0
  103. package/src/schemas/pages/GlobalPage.tsx +166 -0
  104. package/src/schemas/pages/Page.tsx +181 -0
  105. package/src/schemas/pages/index.tsx +4 -0
  106. package/src/types/index.tsx +8 -14
  107. package/tsconfig.paths.json +2 -1
  108. package/public/img/schemas/Accordion/thumbnails/thumbnail@1x.png +0 -0
  109. package/public/img/schemas/Accordion/thumbnails/thumbnail@2x.png +0 -0
  110. package/public/img/schemas/AddressCollection/thumbnails/thumbnail@1x.png +0 -0
  111. package/public/img/schemas/AddressCollection/thumbnails/thumbnail@2x.png +0 -0
  112. package/public/img/schemas/BasicBoxedCard/thumbnails/thumbnail@1x.png +0 -0
  113. package/public/img/schemas/BasicBoxedCard/thumbnails/thumbnail@2x.png +0 -0
  114. package/public/img/schemas/BasicCard/thumbnails/thumbnail@1x.png +0 -0
  115. package/public/img/schemas/BasicCard/thumbnails/thumbnail@2x.png +0 -0
  116. package/public/img/schemas/BasicContent/layouts/layout001@1x.png +0 -0
  117. package/public/img/schemas/BasicContent/layouts/layout001@2x.png +0 -0
  118. package/public/img/schemas/BasicContent/layouts/layout002@1x.png +0 -0
  119. package/public/img/schemas/BasicContent/layouts/layout002@2x.png +0 -0
  120. package/public/img/schemas/BasicContent/layouts/layout003@1x.png +0 -0
  121. package/public/img/schemas/BasicContent/layouts/layout003@2x.png +0 -0
  122. package/public/img/schemas/BasicContent/layouts/layout004@1x.png +0 -0
  123. package/public/img/schemas/BasicContent/layouts/layout004@2x.png +0 -0
  124. package/public/img/schemas/BasicContent/layouts/layout005@1x.png +0 -0
  125. package/public/img/schemas/BasicContent/layouts/layout005@2x.png +0 -0
  126. package/public/img/schemas/BasicContent/layouts/layout006@1x.png +0 -0
  127. package/public/img/schemas/BasicContent/layouts/layout006@2x.png +0 -0
  128. package/public/img/schemas/BasicContent/layouts/layout007@1x.png +0 -0
  129. package/public/img/schemas/BasicContent/layouts/layout007@2x.png +0 -0
  130. package/public/img/schemas/BasicContent/thumbnails/thumbnail@1x.png +0 -0
  131. package/public/img/schemas/BasicContent/thumbnails/thumbnail@2x.png +0 -0
  132. package/public/img/schemas/BasicIconCard/thumbnails/thumbnail@1x.png +0 -0
  133. package/public/img/schemas/BasicIconCard/thumbnails/thumbnail@2x.png +0 -0
  134. package/public/img/schemas/CardCollection/layouts/layout001@1x.png +0 -0
  135. package/public/img/schemas/CardCollection/layouts/layout001@2x.png +0 -0
  136. package/public/img/schemas/CardCollection/layouts/layout002@1x.png +0 -0
  137. package/public/img/schemas/CardCollection/layouts/layout002@2x.png +0 -0
  138. package/public/img/schemas/CardCollection/layouts/layout003@1x.png +0 -0
  139. package/public/img/schemas/CardCollection/layouts/layout003@2x.png +0 -0
  140. package/public/img/schemas/CardCollection/layouts/layout004@1x.png +0 -0
  141. package/public/img/schemas/CardCollection/layouts/layout004@2x.png +0 -0
  142. package/public/img/schemas/CardCollection/layouts/layout005@1x.png +0 -0
  143. package/public/img/schemas/CardCollection/layouts/layout005@2x.png +0 -0
  144. package/public/img/schemas/CardCollection/thumbnails/thumbnail@1x.png +0 -0
  145. package/public/img/schemas/CardCollection/thumbnails/thumbnail@2x.png +0 -0
  146. package/public/img/schemas/DownloadCollection/thumbnails/thumbnail@1x.png +0 -0
  147. package/public/img/schemas/DownloadCollection/thumbnails/thumbnail@2x.png +0 -0
  148. package/public/img/schemas/EventCard/layouts/layout001@1x.png +0 -0
  149. package/public/img/schemas/EventCard/layouts/layout001@2x.png +0 -0
  150. package/public/img/schemas/EventCard/layouts/layout002@1x.png +0 -0
  151. package/public/img/schemas/EventCard/layouts/layout002@2x.png +0 -0
  152. package/public/img/schemas/EventCard/thumbnails/thumbnail@1x.png +0 -0
  153. package/public/img/schemas/EventCard/thumbnails/thumbnail@2x.png +0 -0
  154. package/public/img/schemas/EventsDistributor/thumbnails/thumbnail@1x.png +0 -0
  155. package/public/img/schemas/EventsDistributor/thumbnails/thumbnail@2x.png +0 -0
  156. package/public/img/schemas/FeaturedAudiovisual/layouts/layout001@1x.png +0 -0
  157. package/public/img/schemas/FeaturedAudiovisual/layouts/layout001@2x.png +0 -0
  158. package/public/img/schemas/FeaturedAudiovisual/layouts/layout002@1x.png +0 -0
  159. package/public/img/schemas/FeaturedAudiovisual/layouts/layout002@2x.png +0 -0
  160. package/public/img/schemas/FeaturedAudiovisual/layouts/layout003@1x.png +0 -0
  161. package/public/img/schemas/FeaturedAudiovisual/layouts/layout003@2x.png +0 -0
  162. package/public/img/schemas/FeaturedAudiovisual/layouts/layout004@1x.png +0 -0
  163. package/public/img/schemas/FeaturedAudiovisual/layouts/layout004@2x.png +0 -0
  164. package/public/img/schemas/FeaturedAudiovisual/layouts/layout005@1x.png +0 -0
  165. package/public/img/schemas/FeaturedAudiovisual/layouts/layout005@2x.png +0 -0
  166. package/public/img/schemas/FeaturedAudiovisual/layouts/layout006@1x.png +0 -0
  167. package/public/img/schemas/FeaturedAudiovisual/layouts/layout006@2x.png +0 -0
  168. package/public/img/schemas/FeaturedAudiovisual/layouts/layout007@1x.png +0 -0
  169. package/public/img/schemas/FeaturedAudiovisual/layouts/layout007@2x.png +0 -0
  170. package/public/img/schemas/FeaturedAudiovisual/layouts/layout008@1x.png +0 -0
  171. package/public/img/schemas/FeaturedAudiovisual/layouts/layout008@2x.png +0 -0
  172. package/public/img/schemas/FeaturedAudiovisual/layouts/layout009@1x.png +0 -0
  173. package/public/img/schemas/FeaturedAudiovisual/layouts/layout009@2x.png +0 -0
  174. package/public/img/schemas/FeaturedAudiovisual/layouts/layout010@1x.png +0 -0
  175. package/public/img/schemas/FeaturedAudiovisual/layouts/layout010@2x.png +0 -0
  176. package/public/img/schemas/FeaturedAudiovisual/layouts/layout011@1x.png +0 -0
  177. package/public/img/schemas/FeaturedAudiovisual/layouts/layout011@2x.png +0 -0
  178. package/public/img/schemas/FeaturedAudiovisual/layouts/layout012@1x.png +0 -0
  179. package/public/img/schemas/FeaturedAudiovisual/layouts/layout012@2x.png +0 -0
  180. package/public/img/schemas/FeaturedAudiovisual/thumbnails/thumbnail@1x.png +0 -0
  181. package/public/img/schemas/FeaturedAudiovisual/thumbnails/thumbnail@2x.png +0 -0
  182. package/public/img/schemas/FeaturedBlock/layouts/layout001@1x.png +0 -0
  183. package/public/img/schemas/FeaturedBlock/layouts/layout001@2x.png +0 -0
  184. package/public/img/schemas/FeaturedBlock/layouts/layout002@1x.png +0 -0
  185. package/public/img/schemas/FeaturedBlock/layouts/layout002@2x.png +0 -0
  186. package/public/img/schemas/FeaturedProgram/thumbnails/thumbnail@1x.png +0 -0
  187. package/public/img/schemas/FeaturedProgram/thumbnails/thumbnail@2x.png +0 -0
  188. package/public/img/schemas/FeaturedText/thumbnails/thumbnail@1x.png +0 -0
  189. package/public/img/schemas/FeaturedText/thumbnails/thumbnail@2x.png +0 -0
  190. package/public/img/schemas/FeedbackForm/thumbnails/thumbnail@1x.png +0 -0
  191. package/public/img/schemas/FeedbackForm/thumbnails/thumbnail@2x.png +0 -0
  192. package/public/img/schemas/HeroCarousel/thumbnails/thumbnail@1x.png +0 -0
  193. package/public/img/schemas/HeroCarousel/thumbnails/thumbnail@2x.png +0 -0
  194. package/public/img/schemas/HeroImage/thumbnails/thumbnail@1x.png +0 -0
  195. package/public/img/schemas/HeroImage/thumbnails/thumbnail@2x.png +0 -0
  196. package/public/img/schemas/IconCard/thumbnails/thumbnail@1x.png +0 -0
  197. package/public/img/schemas/IconCard/thumbnails/thumbnail@2x.png +0 -0
  198. package/public/img/schemas/IconCenteredCard/thumbnails/thumbnail@1x.png +0 -0
  199. package/public/img/schemas/IconCenteredCard/thumbnails/thumbnail@2x.png +0 -0
  200. package/public/img/schemas/Image/thumbnails/thumbnail@1x.png +0 -0
  201. package/public/img/schemas/Image/thumbnails/thumbnail@2x.png +0 -0
  202. package/public/img/schemas/ImageCard/thumbnails/thumbnail@1x.png +0 -0
  203. package/public/img/schemas/ImageCard/thumbnails/thumbnail@2x.png +0 -0
  204. package/public/img/schemas/Intro/thumbnails/thumbnail@1x.png +0 -0
  205. package/public/img/schemas/Intro/thumbnails/thumbnail@2x.png +0 -0
  206. package/public/img/schemas/LogoCard/thumbnails/thumbnail@1x.png +0 -0
  207. package/public/img/schemas/LogoCard/thumbnails/thumbnail@2x.png +0 -0
  208. package/public/img/schemas/NewsDistributor/thumbnails/thumbnail@1x.png +0 -0
  209. package/public/img/schemas/NewsDistributor/thumbnails/thumbnail@2x.png +0 -0
  210. package/public/img/schemas/PersonDistributor/thumbnails/thumbnail@1x.png +0 -0
  211. package/public/img/schemas/PersonDistributor/thumbnails/thumbnail@2x.png +0 -0
  212. package/public/img/schemas/PublicationDistributor/thumbnails/thumbnail@1x.png +0 -0
  213. package/public/img/schemas/PublicationDistributor/thumbnails/thumbnail@2x.png +0 -0
  214. package/public/img/schemas/SchoolFooter/thumbnails/thumbnail@1x.png +0 -0
  215. package/public/img/schemas/SchoolFooter/thumbnails/thumbnail@2x.png +0 -0
  216. package/public/img/schemas/Slider/thumbnails/thumbnail@1x.png +0 -0
  217. package/public/img/schemas/Slider/thumbnails/thumbnail@2x.png +0 -0
  218. package/public/img/schemas/Testimonial/layouts/layout001@1x.png +0 -0
  219. package/public/img/schemas/Testimonial/layouts/layout001@2x.png +0 -0
  220. package/public/img/schemas/Testimonial/layouts/layout002@1x.png +0 -0
  221. package/public/img/schemas/Testimonial/layouts/layout002@2x.png +0 -0
  222. package/public/img/schemas/Testimonial/thumbnails/thumbnail@1x.png +0 -0
  223. package/public/img/schemas/Testimonial/thumbnails/thumbnail@2x.png +0 -0
  224. package/public/img/schemas/TextBluePanel/layouts/layout001@1x.png +0 -0
  225. package/public/img/schemas/TextBluePanel/layouts/layout001@2x.png +0 -0
  226. package/public/img/schemas/TextBluePanel/layouts/layout002@1x.png +0 -0
  227. package/public/img/schemas/TextBluePanel/layouts/layout002@2x.png +0 -0
  228. package/public/img/schemas/TextBluePanel/thumbnails/thumbnail@1x.png +0 -0
  229. package/public/img/schemas/TextBluePanel/thumbnails/thumbnail@2x.png +0 -0
  230. package/public/img/schemas/Video/thumbnails/thumbnail@1x.png +0 -0
  231. package/public/img/schemas/Video/thumbnails/thumbnail@2x.png +0 -0
  232. package/public/img/schemas/imgHeros.png +0 -0
  233. package/public/img/schemas/imgStandard.jpg +0 -0
  234. package/public/img/schemas/templates/BasicTemplate/thumbnails/thumbnail@1x.png +0 -0
  235. package/public/img/schemas/templates/BasicTemplate/thumbnails/thumbnail@2x.png +0 -0
  236. package/public/img/schemas/templates/Error404/thumbnails/thumbnail@1x.png +0 -0
  237. package/public/img/schemas/templates/Error404/thumbnails/thumbnail@2x.png +0 -0
  238. package/public/img/schemas/templates/NewsList/thumbnails/thumbnail@1x.png +0 -0
  239. package/public/img/schemas/templates/NewsList/thumbnails/thumbnail@2x.png +0 -0
  240. package/public/img/schemas/themes/LinkStyle.png +0 -0
  241. package/public/img/schemas/themes/LinkStyle@2x.png +0 -0
  242. package/public/img/schemas/themes/PrimaryStyle.png +0 -0
  243. package/public/img/schemas/themes/PrimaryStyle@2x.png +0 -0
  244. package/public/img/schemas/themes/STYLE01.png +0 -0
  245. package/public/img/schemas/themes/STYLE02.png +0 -0
  246. package/public/img/schemas/themes/STYLE03.png +0 -0
  247. package/public/img/schemas/themes/STYLE04.png +0 -0
  248. package/public/img/schemas/themes/STYLE05.png +0 -0
  249. package/public/img/schemas/themes/STYLE06.png +0 -0
  250. package/public/img/schemas/themes/SecondaryStyle.png +0 -0
  251. package/public/img/schemas/themes/SecondaryStyle@2x.png +0 -0
  252. package/src/components/MainWrapper/AppBar/SearchField/index.tsx +0 -54
  253. package/src/components/MainWrapper/AppBar/SearchField/style.tsx +0 -55
@@ -0,0 +1,166 @@
1
+ export default {
2
+ schemaType: "page",
3
+ displayName: "Page",
4
+ component: "GlobalPage",
5
+ dataPacks: null,
6
+ configTabs: [
7
+ {
8
+ title: "content",
9
+ fields: [
10
+ {
11
+ title: "Title",
12
+ type: "TextField",
13
+ key: "title",
14
+ },
15
+ {
16
+ title: "Template",
17
+ key: "template",
18
+ type: "template",
19
+ },
20
+ ],
21
+ },
22
+ {
23
+ title: "config",
24
+ fields: [
25
+ {
26
+ title: "Canonical Site",
27
+ key: "canonicalSite",
28
+ type: "AsyncSelect",
29
+ entity: "sites",
30
+ mandatory: true,
31
+ helptext: "Select the owner site of this page",
32
+ },
33
+ {
34
+ title: "Slug",
35
+ type: "TextField",
36
+ key: "slug",
37
+ },
38
+ {
39
+ title: "Template",
40
+ key: "template",
41
+ type: "template",
42
+ },
43
+ ],
44
+ },
45
+ {
46
+ title: "seo",
47
+ fields: [
48
+ {
49
+ title: "Meta title",
50
+ type: "TextField",
51
+ key: "metaTitle",
52
+ },
53
+ {
54
+ title: "Meta description",
55
+ type: "TextArea",
56
+ key: "metaDescription",
57
+ },
58
+ {
59
+ title: "Meta robots index",
60
+ type: "RadioGroup",
61
+ key: "isIndexed",
62
+ options: [
63
+ {
64
+ value: true,
65
+ title: "Index",
66
+ name: "index",
67
+ },
68
+ {
69
+ value: false,
70
+ title: "No index",
71
+ name: "noindex",
72
+ },
73
+ ],
74
+ },
75
+ {
76
+ title: "Meta robots follow",
77
+ type: "RadioGroup",
78
+ key: "follow",
79
+ options: [
80
+ {
81
+ value: true,
82
+ title: "Follow",
83
+ name: "follow",
84
+ },
85
+ {
86
+ value: false,
87
+ title: "No follow",
88
+ name: "nofollow",
89
+ },
90
+ ],
91
+ },
92
+ {
93
+ title: "Meta robots advanced",
94
+ type: "CheckGroup",
95
+ key: "metasAdvanced",
96
+ options: [
97
+ {
98
+ value: "noimageindex",
99
+ title: "No image index",
100
+ name: "noimage",
101
+ },
102
+ {
103
+ value: "nosnippet",
104
+ title: "No snippet",
105
+ name: "nosnippet",
106
+ },
107
+ {
108
+ value: "noodp",
109
+ title: "No ODP",
110
+ name: "noodp",
111
+ },
112
+ {
113
+ value: "noarchive",
114
+ title: "No archive",
115
+ name: "noarchive",
116
+ },
117
+ {
118
+ value: "noTranslate",
119
+ title: "No translate",
120
+ name: "noTranslate",
121
+ },
122
+ ],
123
+ },
124
+ {
125
+ title: "Social Media",
126
+ type: "FieldGroup",
127
+ key: "socialShare",
128
+ fields: [
129
+ {
130
+ title: "Title",
131
+ type: "TextField",
132
+ key: "socialTitle",
133
+ },
134
+ {
135
+ title: "Description",
136
+ type: "TextField",
137
+ key: "socialDescription",
138
+ },
139
+ {
140
+ title: "Image",
141
+ type: "ImageField",
142
+ key: "socialImage",
143
+ },
144
+ ],
145
+ },
146
+ ],
147
+ },
148
+ ],
149
+ default: {
150
+ component: "GlobalPage",
151
+ slug: "new-global-page",
152
+ title: "New Global Page",
153
+ headerConfig: "{}",
154
+ footerConfig: "{}",
155
+ liveStatus: { id: 1 },
156
+ template: {},
157
+ metaTitle: "",
158
+ metaDescription: "",
159
+ isIndexed: true,
160
+ follow: true,
161
+ metasAdvanced: "",
162
+ socialTitle: "",
163
+ socialDescription: "",
164
+ socialImage: {},
165
+ },
166
+ };
@@ -0,0 +1,181 @@
1
+ export default {
2
+ schemaType: "page",
3
+ displayName: "Page",
4
+ component: "Page",
5
+ dataPacks: null,
6
+ configTabs: [
7
+ {
8
+ title: "content",
9
+ fields: [
10
+ {
11
+ title: "Title",
12
+ type: "TextField",
13
+ key: "title",
14
+ },
15
+ {
16
+ title: "Template",
17
+ key: "template",
18
+ type: "template",
19
+ },
20
+ ],
21
+ },
22
+ {
23
+ title: "config",
24
+ fields: [
25
+ {
26
+ type: "UniqueCheck",
27
+ key: "setAsHome",
28
+ options: [
29
+ {
30
+ title: "Set as home",
31
+ },
32
+ ],
33
+ },
34
+ {
35
+ title: "Parent",
36
+ type: "AsyncSelect",
37
+ entity: "pages",
38
+ key: "parent",
39
+ options: { excludeDetailPages: true },
40
+ },
41
+ {
42
+ title: "Slug",
43
+ type: "TextField",
44
+ key: "slug",
45
+ },
46
+ {
47
+ title: "Template",
48
+ key: "template",
49
+ type: "template",
50
+ },
51
+ ],
52
+ },
53
+ {
54
+ title: "seo",
55
+ fields: [
56
+ {
57
+ title: "Meta title",
58
+ type: "TextField",
59
+ key: "metaTitle",
60
+ },
61
+ {
62
+ title: "Meta description",
63
+ type: "TextArea",
64
+ key: "metaDescription",
65
+ },
66
+ {
67
+ title: "Canonical URL",
68
+ type: "TextField",
69
+ key: "canonicalURL",
70
+ },
71
+ {
72
+ title: "Meta robots index",
73
+ type: "RadioGroup",
74
+ key: "isIndexed",
75
+ options: [
76
+ {
77
+ value: true,
78
+ title: "Index",
79
+ name: "index",
80
+ },
81
+ {
82
+ value: false,
83
+ title: "No index",
84
+ name: "noindex",
85
+ },
86
+ ],
87
+ },
88
+ {
89
+ title: "Meta robots follow",
90
+ type: "RadioGroup",
91
+ key: "follow",
92
+ options: [
93
+ {
94
+ value: true,
95
+ title: "Follow",
96
+ name: "follow",
97
+ },
98
+ {
99
+ value: false,
100
+ title: "No follow",
101
+ name: "nofollow",
102
+ },
103
+ ],
104
+ },
105
+ {
106
+ title: "Meta robots advanced",
107
+ type: "CheckGroup",
108
+ key: "metasAdvanced",
109
+ options: [
110
+ {
111
+ value: "noimageindex",
112
+ title: "No image index",
113
+ name: "noimage",
114
+ },
115
+ {
116
+ value: "nosnippet",
117
+ title: "No snippet",
118
+ name: "nosnippet",
119
+ },
120
+ {
121
+ value: "noodp",
122
+ title: "No ODP",
123
+ name: "noodp",
124
+ },
125
+ {
126
+ value: "noarchive",
127
+ title: "No archive",
128
+ name: "noarchive",
129
+ },
130
+ {
131
+ value: "noTranslate",
132
+ title: "No translate",
133
+ name: "noTranslate",
134
+ },
135
+ ],
136
+ },
137
+ {
138
+ title: "Social Media",
139
+ type: "FieldGroup",
140
+ key: "socialShare",
141
+ fields: [
142
+ {
143
+ title: "Title",
144
+ type: "TextField",
145
+ key: "socialTitle",
146
+ },
147
+ {
148
+ title: "Description",
149
+ type: "TextField",
150
+ key: "socialDescription",
151
+ },
152
+ {
153
+ title: "Image",
154
+ type: "ImageField",
155
+ key: "socialImage",
156
+ },
157
+ ],
158
+ },
159
+ ],
160
+ },
161
+ ],
162
+ default: {
163
+ component: "Page",
164
+ setAsHome: false,
165
+ slug: "new-page",
166
+ title: "New Page",
167
+ headerConfig: "{}",
168
+ footerConfig: "{}",
169
+ liveStatus: { id: 1 },
170
+ template: {},
171
+ metaTitle: "",
172
+ metaDescription: "",
173
+ canonicalURL: "",
174
+ isIndexed: true,
175
+ follow: true,
176
+ metasAdvanced: "",
177
+ socialTitle: "",
178
+ socialDescription: "",
179
+ socialImage: {},
180
+ },
181
+ };
@@ -0,0 +1,4 @@
1
+ import Page from "./Page";
2
+ import GlobalPage from "./GlobalPage";
3
+
4
+ export default { Page, GlobalPage };
@@ -158,6 +158,7 @@ export interface IUrlField {
158
158
  newTab?: boolean;
159
159
  noFollow?: boolean;
160
160
  anchor?: string;
161
+ title?: string;
161
162
  }
162
163
 
163
164
  export interface IHeadingField {
@@ -460,12 +461,12 @@ export interface ISettingsForm {
460
461
  defaultLanguage: number | null;
461
462
  path: string;
462
463
  domain: number | null;
463
- timezone: string;
464
- theme: string;
465
- favicon: IImage | string | null;
466
- smallAvatar: IImage | string | null;
467
- bigAvatar: IImage | string | null;
468
- thumbnail: IImage | string | null;
464
+ timezone?: string;
465
+ theme?: string;
466
+ favicon?: IImage | string | null;
467
+ smallAvatar?: IImage | string | null;
468
+ bigAvatar?: IImage | string | null;
469
+ thumbnail?: IImage | string | null;
469
470
  }
470
471
 
471
472
  export interface IDataSource {
@@ -492,14 +493,7 @@ export interface IDataPack {
492
493
  }
493
494
 
494
495
  export interface ISocialState {
495
- [key: string]: any;
496
- instagram: string;
497
- linkedIn: string;
498
- facebook: string;
499
- twitter: string;
500
- youTube: string;
501
- flicker: string;
502
- newsletter: string;
496
+ [key: string]: string;
503
497
  }
504
498
 
505
499
  export interface INavigationForm {
@@ -12,7 +12,8 @@
12
12
  "@ax/hooks": ["src/hooks"],
13
13
  "@ax/modules": ["src/modules"],
14
14
  "@ax/routes": ["src/routes"],
15
- "@ax/types": ["src/types"]
15
+ "@ax/types": ["src/types"],
16
+ "@ax/schemas": ["src/schemas"]
16
17
  }
17
18
  }
18
19
  }