@griddo/ax 1.56.10 → 1.57.3
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.
- package/config/griddo-config.js +1 -0
- package/package.json +2 -2
- package/src/components/ActionMenu/index.tsx +1 -1
- package/src/components/Fields/ComponentArray/MixableComponentArray/index.tsx +7 -1
- package/src/components/Fields/ComponentArray/MixableComponentArray/style.tsx +29 -24
- package/src/components/Fields/ComponentArray/SameComponentArray/index.tsx +7 -1
- package/src/components/Fields/ComponentArray/SameComponentArray/style.tsx +29 -24
- package/src/components/Fields/DateField/index.tsx +3 -2
- package/src/components/Fields/ReferenceField/AutoPanel/AutoItem/index.tsx +1 -1
- package/src/components/Fields/ReferenceField/AutoPanel/index.tsx +1 -1
- package/src/components/Fields/ReferenceField/ItemList/Item/index.tsx +1 -1
- package/src/components/Fields/UrlField/index.tsx +12 -1
- package/src/components/Fields/Wysiwyg/config.tsx +80 -56
- package/src/components/Fields/Wysiwyg/index.tsx +23 -6
- package/src/components/FloatingMenu/index.tsx +9 -6
- package/src/components/FloatingMenu/style.tsx +8 -6
- package/src/components/Gallery/GalleryFilters/Orientation/index.tsx +1 -1
- package/src/components/Gallery/GalleryFilters/SortBy/index.tsx +1 -1
- package/src/components/InformativeMenu/index.tsx +3 -2
- package/src/components/InformativeMenu/style.tsx +0 -1
- package/src/components/MainWrapper/AppBar/index.tsx +8 -7
- package/src/components/MainWrapper/AppBar/style.tsx +7 -0
- package/src/components/MenuItem/style.tsx +1 -0
- package/src/components/Modal/style.tsx +14 -13
- package/src/components/Nav/index.tsx +8 -3
- package/src/components/Nav/style.tsx +5 -0
- package/src/components/SearchField/index.tsx +43 -14
- package/src/components/SearchField/style.tsx +23 -10
- package/src/components/SideModal/index.tsx +24 -8
- package/src/components/SideModal/style.tsx +13 -2
- package/src/components/SubNav/style.tsx +3 -2
- package/src/containers/Navigation/Defaults/actions.tsx +26 -24
- package/src/containers/Navigation/Defaults/reducer.tsx +2 -2
- package/src/containers/PageEditor/actions.tsx +9 -8
- package/src/containers/Settings/Social/actions.tsx +9 -31
- package/src/containers/Settings/Social/constants.tsx +2 -3
- package/src/containers/Settings/Social/interfaces.tsx +2 -7
- package/src/containers/Settings/Social/reducer.tsx +3 -14
- package/src/containers/Sites/actions.tsx +3 -63
- package/src/containers/Sites/constants.tsx +0 -1
- package/src/containers/Sites/interfaces.tsx +0 -6
- package/src/containers/Sites/reducer.tsx +1 -29
- package/src/forms/editor.tsx +2 -0
- package/src/forms/validators.tsx +2 -0
- package/src/helpers/dates.tsx +23 -24
- package/src/helpers/index.tsx +2 -0
- package/src/helpers/objects.tsx +17 -2
- package/src/helpers/schemas.tsx +7 -4
- package/src/hooks/forms.tsx +23 -24
- package/src/modules/App/Routing/NavMenu/NavItem/index.tsx +10 -5
- package/src/modules/App/Routing/NavMenu/NavItem/style.tsx +13 -9
- package/src/modules/App/Routing/NavMenu/index.tsx +39 -37
- package/src/modules/App/Routing/NavMenu/style.tsx +9 -3
- package/src/modules/Categories/CategoriesList/CategoryItem/index.tsx +1 -1
- package/src/modules/Categories/CategoriesList/CategoryNav/NavItem/index.tsx +6 -3
- package/src/modules/Categories/CategoriesList/CategoryNav/NavItem/style.tsx +5 -1
- package/src/modules/Content/ContentFilters/index.tsx +6 -3
- package/src/modules/Content/ContentFilters/style.tsx +6 -1
- package/src/modules/Content/HeaderMenus/Live/index.tsx +1 -1
- package/src/modules/Content/HeaderMenus/Name/index.tsx +10 -4
- package/src/modules/Content/HeaderMenus/Status/index.tsx +7 -3
- package/src/modules/Content/HeaderMenus/Translations/index.tsx +1 -1
- package/src/modules/Content/HeaderMenus/Types/index.tsx +1 -1
- package/src/modules/Content/OptionTable/index.tsx +6 -3
- package/src/modules/Content/OptionTable/style.tsx +4 -0
- package/src/modules/Content/PageItem/index.tsx +3 -3
- package/src/modules/Content/index.tsx +5 -3
- package/src/modules/GlobalEditor/index.tsx +37 -14
- package/src/modules/Navigation/Defaults/DefaultsEditor/index.tsx +33 -13
- package/src/modules/Navigation/Defaults/Item/atoms.tsx +1 -1
- package/src/modules/Navigation/Defaults/Nav/index.tsx +8 -3
- package/src/modules/Navigation/Defaults/Nav/style.tsx +4 -0
- package/src/modules/Navigation/Defaults/index.tsx +4 -0
- package/src/modules/Navigation/Menus/List/Nav/index.tsx +8 -3
- package/src/modules/Navigation/Menus/List/Nav/style.tsx +4 -0
- package/src/modules/Navigation/Menus/List/index.tsx +3 -1
- package/src/modules/Navigation/Menus/List/style.tsx +9 -1
- package/src/modules/PageEditor/index.tsx +38 -14
- package/src/modules/Settings/ContentTypes/DataPacks/AddModal/Filter/index.tsx +1 -1
- package/src/modules/Settings/ContentTypes/DataPacks/AddModal/SortFilter/index.tsx +1 -1
- package/src/modules/Settings/ContentTypes/DataPacks/Nav/index.tsx +11 -6
- package/src/modules/Settings/ContentTypes/DataPacks/Nav/style.tsx +6 -1
- package/src/modules/Settings/Globals/index.tsx +19 -31
- package/src/modules/Settings/Languages/LanguagePanel/Form/index.tsx +1 -1
- package/src/modules/Settings/Languages/Table/Item/index.tsx +1 -1
- package/src/modules/Settings/Social/index.tsx +35 -91
- package/src/modules/Sites/SitesList/SiteModal/index.tsx +12 -27
- package/src/modules/Sites/SitesList/index.tsx +15 -15
- package/src/modules/StructuredData/StructuredDataList/ContentFilters/index.tsx +3 -1
- package/src/modules/StructuredData/StructuredDataList/ContentFilters/style.tsx +6 -1
- package/src/modules/StructuredData/StructuredDataList/GlobalPageItem/index.tsx +3 -3
- package/src/modules/StructuredData/StructuredDataList/HeaderMenus/Live/index.tsx +1 -1
- package/src/modules/StructuredData/StructuredDataList/HeaderMenus/Name/index.tsx +10 -4
- package/src/modules/StructuredData/StructuredDataList/HeaderMenus/Site/index.tsx +1 -1
- package/src/modules/StructuredData/StructuredDataList/HeaderMenus/Status/index.tsx +7 -3
- package/src/modules/StructuredData/StructuredDataList/HeaderMenus/Translations/index.tsx +1 -1
- package/src/modules/StructuredData/StructuredDataList/HeaderMenus/Types/index.tsx +1 -1
- package/src/modules/StructuredData/StructuredDataList/OptionTable/index.tsx +6 -3
- package/src/modules/StructuredData/StructuredDataList/OptionTable/style.tsx +4 -0
- package/src/modules/StructuredData/StructuredDataList/StructuredDataItem/index.tsx +1 -1
- package/src/modules/Users/UserList/HeaderMenus/Name/index.tsx +13 -5
- package/src/schemas/index.tsx +7 -0
- package/src/schemas/pages/GlobalPage.tsx +166 -0
- package/src/schemas/pages/Page.tsx +181 -0
- package/src/schemas/pages/index.tsx +4 -0
- package/src/types/index.tsx +8 -14
- package/tsconfig.paths.json +2 -1
- package/public/img/schemas/Accordion/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/Accordion/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/AddressCollection/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/AddressCollection/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/BasicBoxedCard/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/BasicBoxedCard/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/BasicCard/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/BasicCard/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout001@1x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout001@2x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout002@1x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout002@2x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout003@1x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout003@2x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout004@1x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout004@2x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout005@1x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout005@2x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout006@1x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout006@2x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout007@1x.png +0 -0
- package/public/img/schemas/BasicContent/layouts/layout007@2x.png +0 -0
- package/public/img/schemas/BasicContent/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/BasicContent/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/BasicIconCard/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/BasicIconCard/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/CardCollection/layouts/layout001@1x.png +0 -0
- package/public/img/schemas/CardCollection/layouts/layout001@2x.png +0 -0
- package/public/img/schemas/CardCollection/layouts/layout002@1x.png +0 -0
- package/public/img/schemas/CardCollection/layouts/layout002@2x.png +0 -0
- package/public/img/schemas/CardCollection/layouts/layout003@1x.png +0 -0
- package/public/img/schemas/CardCollection/layouts/layout003@2x.png +0 -0
- package/public/img/schemas/CardCollection/layouts/layout004@1x.png +0 -0
- package/public/img/schemas/CardCollection/layouts/layout004@2x.png +0 -0
- package/public/img/schemas/CardCollection/layouts/layout005@1x.png +0 -0
- package/public/img/schemas/CardCollection/layouts/layout005@2x.png +0 -0
- package/public/img/schemas/CardCollection/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/CardCollection/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/DownloadCollection/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/DownloadCollection/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/EventCard/layouts/layout001@1x.png +0 -0
- package/public/img/schemas/EventCard/layouts/layout001@2x.png +0 -0
- package/public/img/schemas/EventCard/layouts/layout002@1x.png +0 -0
- package/public/img/schemas/EventCard/layouts/layout002@2x.png +0 -0
- package/public/img/schemas/EventCard/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/EventCard/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/EventsDistributor/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/EventsDistributor/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout001@1x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout001@2x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout002@1x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout002@2x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout003@1x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout003@2x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout004@1x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout004@2x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout005@1x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout005@2x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout006@1x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout006@2x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout007@1x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout007@2x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout008@1x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout008@2x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout009@1x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout009@2x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout010@1x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout010@2x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout011@1x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout011@2x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout012@1x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/layouts/layout012@2x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/FeaturedAudiovisual/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/FeaturedBlock/layouts/layout001@1x.png +0 -0
- package/public/img/schemas/FeaturedBlock/layouts/layout001@2x.png +0 -0
- package/public/img/schemas/FeaturedBlock/layouts/layout002@1x.png +0 -0
- package/public/img/schemas/FeaturedBlock/layouts/layout002@2x.png +0 -0
- package/public/img/schemas/FeaturedProgram/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/FeaturedProgram/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/FeaturedText/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/FeaturedText/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/FeedbackForm/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/FeedbackForm/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/HeroCarousel/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/HeroCarousel/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/HeroImage/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/HeroImage/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/IconCard/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/IconCard/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/IconCenteredCard/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/IconCenteredCard/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/Image/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/Image/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/ImageCard/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/ImageCard/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/Intro/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/Intro/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/LogoCard/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/LogoCard/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/NewsDistributor/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/NewsDistributor/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/PersonDistributor/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/PersonDistributor/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/PublicationDistributor/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/PublicationDistributor/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/SchoolFooter/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/SchoolFooter/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/Slider/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/Slider/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/Testimonial/layouts/layout001@1x.png +0 -0
- package/public/img/schemas/Testimonial/layouts/layout001@2x.png +0 -0
- package/public/img/schemas/Testimonial/layouts/layout002@1x.png +0 -0
- package/public/img/schemas/Testimonial/layouts/layout002@2x.png +0 -0
- package/public/img/schemas/Testimonial/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/Testimonial/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/TextBluePanel/layouts/layout001@1x.png +0 -0
- package/public/img/schemas/TextBluePanel/layouts/layout001@2x.png +0 -0
- package/public/img/schemas/TextBluePanel/layouts/layout002@1x.png +0 -0
- package/public/img/schemas/TextBluePanel/layouts/layout002@2x.png +0 -0
- package/public/img/schemas/TextBluePanel/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/TextBluePanel/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/Video/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/Video/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/imgHeros.png +0 -0
- package/public/img/schemas/imgStandard.jpg +0 -0
- package/public/img/schemas/templates/BasicTemplate/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/templates/BasicTemplate/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/templates/Error404/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/templates/Error404/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/templates/NewsList/thumbnails/thumbnail@1x.png +0 -0
- package/public/img/schemas/templates/NewsList/thumbnails/thumbnail@2x.png +0 -0
- package/public/img/schemas/themes/LinkStyle.png +0 -0
- package/public/img/schemas/themes/LinkStyle@2x.png +0 -0
- package/public/img/schemas/themes/PrimaryStyle.png +0 -0
- package/public/img/schemas/themes/PrimaryStyle@2x.png +0 -0
- package/public/img/schemas/themes/STYLE01.png +0 -0
- package/public/img/schemas/themes/STYLE02.png +0 -0
- package/public/img/schemas/themes/STYLE03.png +0 -0
- package/public/img/schemas/themes/STYLE04.png +0 -0
- package/public/img/schemas/themes/STYLE05.png +0 -0
- package/public/img/schemas/themes/STYLE06.png +0 -0
- package/public/img/schemas/themes/SecondaryStyle.png +0 -0
- package/public/img/schemas/themes/SecondaryStyle@2x.png +0 -0
- package/src/components/MainWrapper/AppBar/SearchField/index.tsx +0 -54
- 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
|
+
};
|
package/src/types/index.tsx
CHANGED
|
@@ -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
|
|
464
|
-
theme
|
|
465
|
-
favicon
|
|
466
|
-
smallAvatar
|
|
467
|
-
bigAvatar
|
|
468
|
-
thumbnail
|
|
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]:
|
|
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 {
|
package/tsconfig.paths.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|