@esri/hub-common 17.12.0 → 17.13.1
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/dist/esm/content/_internal/ContentUiSchemaEdit.js +46 -33
- package/dist/esm/content/_internal/ContentUiSchemaEdit.js.map +1 -1
- package/dist/esm/core/schemas/internal/addDynamicSlugValidation.js +10 -1
- package/dist/esm/core/schemas/internal/addDynamicSlugValidation.js.map +1 -1
- package/dist/esm/core/schemas/internal/fetchCategoriesUiSchemaElement.js +0 -4
- package/dist/esm/core/schemas/internal/fetchCategoriesUiSchemaElement.js.map +1 -1
- package/dist/esm/core/schemas/internal/getSlugSchemaElement.js +0 -3
- package/dist/esm/core/schemas/internal/getSlugSchemaElement.js.map +1 -1
- package/dist/esm/core/schemas/internal/getThumbnailUiSchemaElement.js +1 -12
- package/dist/esm/core/schemas/internal/getThumbnailUiSchemaElement.js.map +1 -1
- package/dist/esm/core/schemas/internal/metrics/editorToEntity.js +5 -0
- package/dist/esm/core/schemas/internal/metrics/editorToEntity.js.map +1 -1
- package/dist/esm/discussions/_internal/DiscussionUiSchemaEdit.js +59 -46
- package/dist/esm/discussions/_internal/DiscussionUiSchemaEdit.js.map +1 -1
- package/dist/esm/events/_internal/EventUiSchemaEdit.js +298 -200
- package/dist/esm/events/_internal/EventUiSchemaEdit.js.map +1 -1
- package/dist/esm/groups/_internal/GroupSchema.js +2 -1
- package/dist/esm/groups/_internal/GroupSchema.js.map +1 -1
- package/dist/esm/groups/_internal/GroupUiSchemaEdit.js +47 -6
- package/dist/esm/groups/_internal/GroupUiSchemaEdit.js.map +1 -1
- package/dist/esm/initiative-templates/_internal/InitiativeTemplateUiSchemaEdit.js +74 -36
- package/dist/esm/initiative-templates/_internal/InitiativeTemplateUiSchemaEdit.js.map +1 -1
- package/dist/esm/initiatives/_internal/InitiativeUiSchemaEdit.js +126 -92
- package/dist/esm/initiatives/_internal/InitiativeUiSchemaEdit.js.map +1 -1
- package/dist/esm/pages/_internal/PageUiSchemaEdit.js +45 -28
- package/dist/esm/pages/_internal/PageUiSchemaEdit.js.map +1 -1
- package/dist/esm/projects/_internal/ProjectUiSchemaEdit.js +221 -146
- package/dist/esm/projects/_internal/ProjectUiSchemaEdit.js.map +1 -1
- package/dist/esm/sites/_internal/SiteUiSchemaEdit.js +43 -28
- package/dist/esm/sites/_internal/SiteUiSchemaEdit.js.map +1 -1
- package/dist/esm/surveys/_internal/SurveyUiSchemaEdit.js +62 -25
- package/dist/esm/surveys/_internal/SurveyUiSchemaEdit.js.map +1 -1
- package/dist/esm/templates/_internal/TemplateUiSchemaEdit.js +78 -33
- package/dist/esm/templates/_internal/TemplateUiSchemaEdit.js.map +1 -1
- package/dist/node/content/_internal/ContentUiSchemaEdit.js +46 -33
- package/dist/node/content/_internal/ContentUiSchemaEdit.js.map +1 -1
- package/dist/node/core/schemas/internal/addDynamicSlugValidation.js +10 -1
- package/dist/node/core/schemas/internal/addDynamicSlugValidation.js.map +1 -1
- package/dist/node/core/schemas/internal/fetchCategoriesUiSchemaElement.js +0 -4
- package/dist/node/core/schemas/internal/fetchCategoriesUiSchemaElement.js.map +1 -1
- package/dist/node/core/schemas/internal/getSlugSchemaElement.js +0 -3
- package/dist/node/core/schemas/internal/getSlugSchemaElement.js.map +1 -1
- package/dist/node/core/schemas/internal/getThumbnailUiSchemaElement.js +1 -12
- package/dist/node/core/schemas/internal/getThumbnailUiSchemaElement.js.map +1 -1
- package/dist/node/core/schemas/internal/metrics/editorToEntity.js +5 -0
- package/dist/node/core/schemas/internal/metrics/editorToEntity.js.map +1 -1
- package/dist/node/discussions/_internal/DiscussionUiSchemaEdit.js +59 -46
- package/dist/node/discussions/_internal/DiscussionUiSchemaEdit.js.map +1 -1
- package/dist/node/events/_internal/EventUiSchemaEdit.js +298 -200
- package/dist/node/events/_internal/EventUiSchemaEdit.js.map +1 -1
- package/dist/node/groups/_internal/GroupSchema.js +1 -0
- package/dist/node/groups/_internal/GroupSchema.js.map +1 -1
- package/dist/node/groups/_internal/GroupUiSchemaEdit.js +47 -6
- package/dist/node/groups/_internal/GroupUiSchemaEdit.js.map +1 -1
- package/dist/node/initiative-templates/_internal/InitiativeTemplateUiSchemaEdit.js +74 -36
- package/dist/node/initiative-templates/_internal/InitiativeTemplateUiSchemaEdit.js.map +1 -1
- package/dist/node/initiatives/_internal/InitiativeUiSchemaEdit.js +126 -92
- package/dist/node/initiatives/_internal/InitiativeUiSchemaEdit.js.map +1 -1
- package/dist/node/pages/_internal/PageUiSchemaEdit.js +45 -28
- package/dist/node/pages/_internal/PageUiSchemaEdit.js.map +1 -1
- package/dist/node/projects/_internal/ProjectUiSchemaEdit.js +221 -146
- package/dist/node/projects/_internal/ProjectUiSchemaEdit.js.map +1 -1
- package/dist/node/sites/_internal/SiteUiSchemaEdit.js +43 -28
- package/dist/node/sites/_internal/SiteUiSchemaEdit.js.map +1 -1
- package/dist/node/surveys/_internal/SurveyUiSchemaEdit.js +62 -25
- package/dist/node/surveys/_internal/SurveyUiSchemaEdit.js.map +1 -1
- package/dist/node/templates/_internal/TemplateUiSchemaEdit.js +78 -33
- package/dist/node/templates/_internal/TemplateUiSchemaEdit.js.map +1 -1
- package/dist/types/initiative-templates/_internal/InitiativeTemplateUiSchemaEdit.d.ts +2 -2
- package/dist/types/templates/_internal/TemplateUiSchemaEdit.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { getFeaturedContentCatalogs } from "../../core/schemas/internal/getFeaturedContentCatalogs";
|
|
2
1
|
import { getLocationExtent } from "../../core/schemas/internal/getLocationExtent";
|
|
3
2
|
import { getLocationOptions } from "../../core/schemas/internal/getLocationOptions";
|
|
4
3
|
import { getTagItems } from "../../core/schemas/internal/getTagItems";
|
|
5
4
|
import { getThumbnailUiSchemaElement } from "../../core/schemas/internal/getThumbnailUiSchemaElement";
|
|
6
5
|
import { getAuthedImageUrl } from "../../core/_internal/getAuthedImageUrl";
|
|
7
6
|
import { fetchCategoriesUiSchemaElement } from "../../core/schemas/internal/fetchCategoriesUiSchemaElement";
|
|
8
|
-
import {
|
|
7
|
+
import { getFeaturedContentCatalogs } from "../../core/schemas/internal/getFeaturedContentCatalogs";
|
|
9
8
|
/**
|
|
10
9
|
* @private
|
|
11
10
|
* constructs the complete edit uiSchema for Hub Projects.
|
|
@@ -20,6 +19,11 @@ export const buildUiSchema = async (i18nScope, options, context) => {
|
|
|
20
19
|
{
|
|
21
20
|
type: "Section",
|
|
22
21
|
labelKey: `${i18nScope}.sections.basicInfo.label`,
|
|
22
|
+
options: {
|
|
23
|
+
helperText: {
|
|
24
|
+
labelKey: `${i18nScope}.sections.basicInfo.helperText`,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
23
27
|
elements: [
|
|
24
28
|
{
|
|
25
29
|
labelKey: `${i18nScope}.fields.name.label`,
|
|
@@ -48,6 +52,7 @@ export const buildUiSchema = async (i18nScope, options, context) => {
|
|
|
48
52
|
],
|
|
49
53
|
},
|
|
50
54
|
},
|
|
55
|
+
// getSlugSchemaElement(i18nScope),
|
|
51
56
|
{
|
|
52
57
|
labelKey: `${i18nScope}.fields.summary.label`,
|
|
53
58
|
scope: "/properties/summary",
|
|
@@ -56,9 +61,6 @@ export const buildUiSchema = async (i18nScope, options, context) => {
|
|
|
56
61
|
control: "hub-field-input-input",
|
|
57
62
|
type: "textarea",
|
|
58
63
|
rows: 4,
|
|
59
|
-
helperText: {
|
|
60
|
-
labelKey: `${i18nScope}.fields.summary.helperText`,
|
|
61
|
-
},
|
|
62
64
|
messages: [
|
|
63
65
|
{
|
|
64
66
|
type: "ERROR",
|
|
@@ -69,56 +71,55 @@ export const buildUiSchema = async (i18nScope, options, context) => {
|
|
|
69
71
|
],
|
|
70
72
|
},
|
|
71
73
|
},
|
|
74
|
+
...getThumbnailUiSchemaElement(i18nScope, options.thumbnail, options.thumbnailUrl, "project", context.requestOptions),
|
|
72
75
|
{
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
type: "Control",
|
|
76
|
+
type: "Section",
|
|
77
|
+
labelKey: `${i18nScope}.sections.description.label`,
|
|
76
78
|
options: {
|
|
77
|
-
|
|
78
|
-
type: "textarea",
|
|
79
|
-
helperText: {
|
|
80
|
-
labelKey: `${i18nScope}.fields.description.helperText`,
|
|
81
|
-
},
|
|
79
|
+
section: "block",
|
|
82
80
|
},
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
maxHeight: 484,
|
|
93
|
-
aspectRatio: 1.5,
|
|
94
|
-
helperText: {
|
|
95
|
-
labelKey: `${i18nScope}.fields.featuredImage.helperText`,
|
|
96
|
-
},
|
|
97
|
-
sizeDescription: {
|
|
98
|
-
labelKey: `${i18nScope}.fields.featuredImage.sizeDescription`,
|
|
81
|
+
elements: [
|
|
82
|
+
{
|
|
83
|
+
labelKey: `${i18nScope}.fields.description.label`,
|
|
84
|
+
scope: "/properties/description",
|
|
85
|
+
type: "Control",
|
|
86
|
+
options: {
|
|
87
|
+
control: "hub-field-input-rich-text",
|
|
88
|
+
type: "textarea",
|
|
89
|
+
},
|
|
99
90
|
},
|
|
100
|
-
|
|
91
|
+
],
|
|
101
92
|
},
|
|
102
93
|
{
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
type: "Control",
|
|
94
|
+
type: "Section",
|
|
95
|
+
labelKey: `${i18nScope}.sections.discoverability.label`,
|
|
106
96
|
options: {
|
|
97
|
+
section: "block",
|
|
107
98
|
helperText: {
|
|
108
|
-
labelKey: `${i18nScope}.
|
|
99
|
+
labelKey: `${i18nScope}.sections.discoverability.helperText`,
|
|
109
100
|
},
|
|
110
101
|
},
|
|
102
|
+
elements: [
|
|
103
|
+
{
|
|
104
|
+
labelKey: `${i18nScope}.fields.tags.label`,
|
|
105
|
+
scope: "/properties/tags",
|
|
106
|
+
type: "Control",
|
|
107
|
+
options: {
|
|
108
|
+
control: "hub-field-input-combobox",
|
|
109
|
+
items: await getTagItems(options.tags, context.portal.id, context.hubRequestOptions),
|
|
110
|
+
allowCustomValues: true,
|
|
111
|
+
selectionMode: "multiple",
|
|
112
|
+
placeholderIcon: "label",
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
...(await fetchCategoriesUiSchemaElement(i18nScope, context)),
|
|
116
|
+
],
|
|
111
117
|
},
|
|
112
118
|
],
|
|
113
119
|
},
|
|
114
120
|
{
|
|
115
121
|
type: "Section",
|
|
116
122
|
labelKey: `${i18nScope}.sections.location.label`,
|
|
117
|
-
options: {
|
|
118
|
-
helperText: {
|
|
119
|
-
labelKey: `${i18nScope}.sections.location.helperText`,
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
123
|
elements: [
|
|
123
124
|
{
|
|
124
125
|
scope: "/properties/location",
|
|
@@ -132,28 +133,6 @@ export const buildUiSchema = async (i18nScope, options, context) => {
|
|
|
132
133
|
},
|
|
133
134
|
],
|
|
134
135
|
},
|
|
135
|
-
{
|
|
136
|
-
type: "Section",
|
|
137
|
-
labelKey: `${i18nScope}.sections.searchDiscoverability.label`,
|
|
138
|
-
elements: [
|
|
139
|
-
getSlugSchemaElement(i18nScope),
|
|
140
|
-
{
|
|
141
|
-
labelKey: `${i18nScope}.fields.tags.label`,
|
|
142
|
-
scope: "/properties/tags",
|
|
143
|
-
type: "Control",
|
|
144
|
-
options: {
|
|
145
|
-
control: "hub-field-input-combobox",
|
|
146
|
-
items: await getTagItems(options.tags, context.portal.id, context.hubRequestOptions),
|
|
147
|
-
allowCustomValues: true,
|
|
148
|
-
selectionMode: "multiple",
|
|
149
|
-
placeholderIcon: "label",
|
|
150
|
-
helperText: { labelKey: `${i18nScope}.fields.tags.helperText` },
|
|
151
|
-
},
|
|
152
|
-
},
|
|
153
|
-
...(await fetchCategoriesUiSchemaElement(i18nScope, context)),
|
|
154
|
-
...getThumbnailUiSchemaElement(i18nScope, options.thumbnail, options.thumbnailUrl, "project", context.requestOptions),
|
|
155
|
-
],
|
|
156
|
-
},
|
|
157
136
|
{
|
|
158
137
|
type: "Section",
|
|
159
138
|
labelKey: `${i18nScope}.sections.status.label`,
|
|
@@ -169,117 +148,213 @@ export const buildUiSchema = async (i18nScope, options, context) => {
|
|
|
169
148
|
},
|
|
170
149
|
},
|
|
171
150
|
},
|
|
172
|
-
],
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
type: "Section",
|
|
176
|
-
labelKey: `${i18nScope}.sections.timeline.label`,
|
|
177
|
-
elements: [
|
|
178
151
|
{
|
|
179
|
-
|
|
180
|
-
|
|
152
|
+
type: "Section",
|
|
153
|
+
labelKey: `${i18nScope}.sections.timeline.label`,
|
|
181
154
|
options: {
|
|
182
|
-
|
|
183
|
-
|
|
155
|
+
section: "block",
|
|
156
|
+
helperText: {
|
|
157
|
+
labelKey: `${i18nScope}.sections.timeline.helperText`,
|
|
158
|
+
},
|
|
184
159
|
},
|
|
160
|
+
elements: [
|
|
161
|
+
{
|
|
162
|
+
scope: "/properties/view/properties/timeline",
|
|
163
|
+
type: "Control",
|
|
164
|
+
options: {
|
|
165
|
+
control: "arcgis-hub-timeline-editor",
|
|
166
|
+
showTitleAndDescription: false,
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
],
|
|
185
170
|
},
|
|
186
171
|
],
|
|
187
172
|
},
|
|
188
173
|
{
|
|
189
174
|
type: "Section",
|
|
190
|
-
labelKey:
|
|
191
|
-
options: {
|
|
192
|
-
helperText: {
|
|
193
|
-
labelKey: `${i18nScope}.sections.featuredContent.helperText`,
|
|
194
|
-
},
|
|
195
|
-
},
|
|
175
|
+
labelKey: "shared.sections.heroBanner.label",
|
|
196
176
|
elements: [
|
|
177
|
+
// {
|
|
178
|
+
// type: "Section",
|
|
179
|
+
// labelKey: 'shared.sections.heroBannerAppearance.label',
|
|
180
|
+
// options: {
|
|
181
|
+
// section: "block",
|
|
182
|
+
// helperText: {
|
|
183
|
+
// labelKey: 'shared.sections.heroBannerAppearance.helperText',
|
|
184
|
+
// },
|
|
185
|
+
// },
|
|
186
|
+
// elements: [
|
|
187
|
+
// {
|
|
188
|
+
// labelKey: 'shared.fields.hero.label',
|
|
189
|
+
// scope: "/properties/view/properties/hero",
|
|
190
|
+
// type: "Control",
|
|
191
|
+
// options: {
|
|
192
|
+
// control: "hub-field-input-tile-select",
|
|
193
|
+
// layout: "horizontal",
|
|
194
|
+
// labels: [
|
|
195
|
+
// '{{shared.fields.hero.map.label:translate}}',
|
|
196
|
+
// '{{shared.fields.hero.image.label:translate}}',
|
|
197
|
+
// ],
|
|
198
|
+
// descriptions: [
|
|
199
|
+
// '{{shared.fields.hero.map.description:translate}}',
|
|
200
|
+
// '{{shared.fields.hero.image.description:translate}}',
|
|
201
|
+
// ],
|
|
202
|
+
// icons: ["map-pin", "image"],
|
|
203
|
+
// },
|
|
204
|
+
// },
|
|
205
|
+
// {
|
|
206
|
+
// labelKey: 'shared.fields.featuredImage.altText.label',
|
|
207
|
+
// scope: "/properties/view/properties/featuredImageAltText",
|
|
208
|
+
// type: "Control",
|
|
209
|
+
// rule: {
|
|
210
|
+
// effect: UiSchemaRuleEffects.HIDE,
|
|
211
|
+
// condition: {
|
|
212
|
+
// scope: "/properties/view/properties/hero",
|
|
213
|
+
// schema: { const: "map" },
|
|
214
|
+
// },
|
|
215
|
+
// },
|
|
216
|
+
// },
|
|
217
|
+
// ]
|
|
218
|
+
// },
|
|
197
219
|
{
|
|
198
|
-
|
|
199
|
-
|
|
220
|
+
type: "Section",
|
|
221
|
+
labelKey: "shared.sections.heroActions.label",
|
|
200
222
|
options: {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
{
|
|
206
|
-
label: `{{${i18nScope}.fields.featuredContent.facets.type:translate}}`,
|
|
207
|
-
key: "type",
|
|
208
|
-
display: "multi-select",
|
|
209
|
-
field: "type",
|
|
210
|
-
options: [],
|
|
211
|
-
operation: "OR",
|
|
212
|
-
aggLimit: 100,
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
label: `{{${i18nScope}.fields.featuredContent.facets.sharing:translate}}`,
|
|
216
|
-
key: "access",
|
|
217
|
-
display: "multi-select",
|
|
218
|
-
field: "access",
|
|
219
|
-
options: [],
|
|
220
|
-
operation: "OR",
|
|
221
|
-
},
|
|
222
|
-
],
|
|
223
|
-
showAllCollectionFacet: true,
|
|
224
|
-
showAddContent: true,
|
|
223
|
+
section: "block",
|
|
224
|
+
helperText: {
|
|
225
|
+
labelKey: "shared.sections.heroActions.helperText",
|
|
226
|
+
},
|
|
225
227
|
},
|
|
228
|
+
elements: [
|
|
229
|
+
{
|
|
230
|
+
scope: "/properties/view/properties/heroActions",
|
|
231
|
+
type: "Control",
|
|
232
|
+
options: {
|
|
233
|
+
control: "hub-composite-input-action-links",
|
|
234
|
+
type: "button",
|
|
235
|
+
catalogs: getFeaturedContentCatalogs(context.currentUser),
|
|
236
|
+
facets: [
|
|
237
|
+
{
|
|
238
|
+
label: `{{${i18nScope}.fields.callToAction.facets.type:translate}}`,
|
|
239
|
+
key: "type",
|
|
240
|
+
display: "multi-select",
|
|
241
|
+
field: "type",
|
|
242
|
+
options: [],
|
|
243
|
+
operation: "OR",
|
|
244
|
+
aggLimit: 100,
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
label: `{{${i18nScope}.fields.callToAction.facets.sharing:translate}}`,
|
|
248
|
+
key: "access",
|
|
249
|
+
display: "multi-select",
|
|
250
|
+
field: "access",
|
|
251
|
+
options: [],
|
|
252
|
+
operation: "OR",
|
|
253
|
+
},
|
|
254
|
+
],
|
|
255
|
+
showAllCollectionFacet: true,
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
],
|
|
226
259
|
},
|
|
227
260
|
],
|
|
228
261
|
},
|
|
229
262
|
{
|
|
230
263
|
type: "Section",
|
|
231
|
-
labelKey: `${i18nScope}.sections.
|
|
232
|
-
options: {
|
|
233
|
-
helperText: {
|
|
234
|
-
labelKey: `${i18nScope}.sections.callToAction.helperText`,
|
|
235
|
-
},
|
|
236
|
-
},
|
|
264
|
+
labelKey: `${i18nScope}.sections.view.label`,
|
|
237
265
|
elements: [
|
|
238
266
|
{
|
|
239
|
-
|
|
240
|
-
|
|
267
|
+
type: "Section",
|
|
268
|
+
labelKey: `${i18nScope}.sections.view.image.label`,
|
|
241
269
|
options: {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
operation: "OR",
|
|
270
|
+
section: "block",
|
|
271
|
+
helperText: {
|
|
272
|
+
labelKey: `${i18nScope}.sections.view.image.helperText`,
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
elements: [
|
|
276
|
+
{
|
|
277
|
+
labelKey: "shared.fields.featuredImage.label",
|
|
278
|
+
scope: "/properties/view/properties/featuredImage",
|
|
279
|
+
type: "Control",
|
|
280
|
+
options: {
|
|
281
|
+
control: "hub-field-input-image-picker",
|
|
282
|
+
imgSrc: getAuthedImageUrl((_a = options.view) === null || _a === void 0 ? void 0 : _a.featuredImageUrl, context.requestOptions),
|
|
283
|
+
maxWidth: 727,
|
|
284
|
+
maxHeight: 484,
|
|
285
|
+
aspectRatio: 1.5,
|
|
286
|
+
sizeDescription: {
|
|
287
|
+
labelKey: "shared.fields.featuredImage.sizeDescription",
|
|
288
|
+
},
|
|
262
289
|
},
|
|
263
|
-
|
|
264
|
-
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
labelKey: "shared.fields.featuredImage.altText.label",
|
|
293
|
+
scope: "/properties/view/properties/featuredImageAltText",
|
|
294
|
+
type: "Control",
|
|
295
|
+
},
|
|
296
|
+
],
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
type: "Section",
|
|
300
|
+
labelKey: `${i18nScope}.sections.view.embed.label`,
|
|
301
|
+
options: {
|
|
302
|
+
section: "block",
|
|
303
|
+
helperText: {
|
|
304
|
+
labelKey: `${i18nScope}.sections.view.embed.helperText`,
|
|
305
|
+
},
|
|
265
306
|
},
|
|
307
|
+
elements: [
|
|
308
|
+
{
|
|
309
|
+
scope: "/properties/view/properties/embeds",
|
|
310
|
+
type: "Control",
|
|
311
|
+
options: {
|
|
312
|
+
control: "hub-composite-input-embeds",
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
],
|
|
266
316
|
},
|
|
267
|
-
],
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
type: "Section",
|
|
271
|
-
labelKey: `${i18nScope}.sections.embeds.label`,
|
|
272
|
-
options: {
|
|
273
|
-
headerTag: "h2",
|
|
274
|
-
helperText: { labelKey: `${i18nScope}.sections.embeds.helperText` },
|
|
275
|
-
},
|
|
276
|
-
elements: [
|
|
277
317
|
{
|
|
278
|
-
|
|
279
|
-
|
|
318
|
+
type: "Section",
|
|
319
|
+
labelKey: `${i18nScope}.sections.view.content.label`,
|
|
280
320
|
options: {
|
|
281
|
-
|
|
321
|
+
section: "block",
|
|
322
|
+
helperText: {
|
|
323
|
+
labelKey: `${i18nScope}.sections.view.content.helperText`,
|
|
324
|
+
},
|
|
282
325
|
},
|
|
326
|
+
elements: [
|
|
327
|
+
{
|
|
328
|
+
scope: "/properties/view/properties/featuredContentIds",
|
|
329
|
+
type: "Control",
|
|
330
|
+
options: {
|
|
331
|
+
control: "hub-field-input-gallery-picker",
|
|
332
|
+
targetEntity: "item",
|
|
333
|
+
catalogs: getFeaturedContentCatalogs(context.currentUser),
|
|
334
|
+
facets: [
|
|
335
|
+
{
|
|
336
|
+
label: `{{${i18nScope}.fields.featuredContent.facets.type:translate}}`,
|
|
337
|
+
key: "type",
|
|
338
|
+
display: "multi-select",
|
|
339
|
+
field: "type",
|
|
340
|
+
options: [],
|
|
341
|
+
operation: "OR",
|
|
342
|
+
aggLimit: 100,
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
label: `{{${i18nScope}.fields.featuredContent.facets.sharing:translate}}`,
|
|
346
|
+
key: "access",
|
|
347
|
+
display: "multi-select",
|
|
348
|
+
field: "access",
|
|
349
|
+
options: [],
|
|
350
|
+
operation: "OR",
|
|
351
|
+
},
|
|
352
|
+
],
|
|
353
|
+
showAllCollectionFacet: true,
|
|
354
|
+
showAddContent: true,
|
|
355
|
+
},
|
|
356
|
+
},
|
|
357
|
+
],
|
|
283
358
|
},
|
|
284
359
|
],
|
|
285
360
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectUiSchemaEdit.js","sourceRoot":"","sources":["../../../../src/projects/_internal/ProjectUiSchemaEdit.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ProjectUiSchemaEdit.js","sourceRoot":"","sources":["../../../../src/projects/_internal/ProjectUiSchemaEdit.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,yDAAyD,CAAC;AAEtG,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EAAE,8BAA8B,EAAE,MAAM,4DAA4D,CAAC;AAC5G,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AAEpG;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,EAChC,SAAiB,EACjB,OAA6B,EAC7B,OAAuB,EACH,EAAE;;IACtB,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,SA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AAS,mCAAmC;6BAC1D;yBACF;wBACD,QAAQ,EAAE;4BACR;gCACE,KAAK,EAAE,gDAAgD;gCACvD,IAAI,EAAE,SAAS;gCACf,OAAO,EAAE;oCACP,OAAO,EAAE,gCAAgC;oCACzC,YAAY,EAAE,MAAM;oCACpB,QAAQ,EAAE,0BAA0B,CAAC,OAAO,CAAC,WAAW,CAAC;oCACzD,MAAM,EAAE;wCACN;4CACE,KAAK,EAAE,KAAK,SAAS,iDAAiD;4CACtE,GAAG,EAAE,MAAM;4CACX,OAAO,EAAE,cAAc;4CACvB,KAAK,EAAE,MAAM;4CACb,OAAO,EAAE,EAAE;4CACX,SAAS,EAAE,IAAI;4CACf,QAAQ,EAAE,GAAG;yCACd;wCACD;4CACE,KAAK,EAAE,KAAK,SAAS,oDAAoD;4CACzE,GAAG,EAAE,QAAQ;4CACb,OAAO,EAAE,cAAc;4CACvB,KAAK,EAAE,QAAQ;4CACf,OAAO,EAAE,EAAE;4CACX,SAAS,EAAE,IAAI;yCAChB;qCACF;oCACD,sBAAsB,EAAE,IAAI;oCAC5B,cAAc,EAAE,IAAI;iCACrB;6BACF;yBACF;qBACF;iBACF;aACF;SACF;KACF,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -14,9 +14,15 @@ export const buildUiSchema = async (i18nScope, options, context) => {
|
|
|
14
14
|
return {
|
|
15
15
|
type: "Layout",
|
|
16
16
|
elements: [
|
|
17
|
+
// basic info section
|
|
17
18
|
{
|
|
18
19
|
type: "Section",
|
|
19
20
|
labelKey: `${i18nScope}.sections.basicInfo.label`,
|
|
21
|
+
options: {
|
|
22
|
+
helperText: {
|
|
23
|
+
labelKey: `${i18nScope}.sections.basicInfo.helperText`,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
20
26
|
elements: [
|
|
21
27
|
{
|
|
22
28
|
labelKey: `${i18nScope}.fields.name.label`,
|
|
@@ -53,9 +59,6 @@ export const buildUiSchema = async (i18nScope, options, context) => {
|
|
|
53
59
|
control: "hub-field-input-input",
|
|
54
60
|
type: "textarea",
|
|
55
61
|
rows: 4,
|
|
56
|
-
helperText: {
|
|
57
|
-
labelKey: `${i18nScope}.fields.summary.helperText`,
|
|
58
|
-
},
|
|
59
62
|
messages: [
|
|
60
63
|
{
|
|
61
64
|
type: "ERROR",
|
|
@@ -66,44 +69,56 @@ export const buildUiSchema = async (i18nScope, options, context) => {
|
|
|
66
69
|
],
|
|
67
70
|
},
|
|
68
71
|
},
|
|
72
|
+
...getThumbnailUiSchemaElement(i18nScope, options.thumbnail, options.thumbnailUrl, "site", context.requestOptions),
|
|
73
|
+
...(context.isPortal ? [getSlugSchemaElement(i18nScope)] : []),
|
|
69
74
|
{
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
type: "Control",
|
|
75
|
+
type: "Section",
|
|
76
|
+
labelKey: `${i18nScope}.sections.description.label`,
|
|
73
77
|
options: {
|
|
74
|
-
|
|
75
|
-
type: "textarea",
|
|
76
|
-
helperText: {
|
|
77
|
-
labelKey: `${i18nScope}.fields.description.helperText`,
|
|
78
|
-
},
|
|
78
|
+
section: "block",
|
|
79
79
|
},
|
|
80
|
+
elements: [
|
|
81
|
+
{
|
|
82
|
+
labelKey: `${i18nScope}.fields.description.label`,
|
|
83
|
+
scope: "/properties/description",
|
|
84
|
+
type: "Control",
|
|
85
|
+
options: {
|
|
86
|
+
control: "hub-field-input-rich-text",
|
|
87
|
+
type: "textarea",
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
],
|
|
80
91
|
},
|
|
81
|
-
...getThumbnailUiSchemaElement(i18nScope, options.thumbnail, options.thumbnailUrl, "site", context.requestOptions),
|
|
82
|
-
...(context.isPortal ? [getSlugSchemaElement(i18nScope)] : []),
|
|
83
92
|
{
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
type: "Control",
|
|
93
|
+
type: "Section",
|
|
94
|
+
labelKey: `${i18nScope}.sections.discoverability.label`,
|
|
87
95
|
options: {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
placeholderIcon: "label",
|
|
93
|
-
helperText: { labelKey: `${i18nScope}.fields.tags.helperText` },
|
|
96
|
+
section: "block",
|
|
97
|
+
helperText: {
|
|
98
|
+
labelKey: `${i18nScope}.sections.discoverability.helperText`,
|
|
99
|
+
},
|
|
94
100
|
},
|
|
101
|
+
elements: [
|
|
102
|
+
{
|
|
103
|
+
labelKey: `${i18nScope}.fields.tags.label`,
|
|
104
|
+
scope: "/properties/tags",
|
|
105
|
+
type: "Control",
|
|
106
|
+
options: {
|
|
107
|
+
control: "hub-field-input-combobox",
|
|
108
|
+
items: await getTagItems(options.tags, context.portal.id, context.hubRequestOptions),
|
|
109
|
+
allowCustomValues: true,
|
|
110
|
+
selectionMode: "multiple",
|
|
111
|
+
placeholderIcon: "label",
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
...(await fetchCategoriesUiSchemaElement(i18nScope, context)),
|
|
115
|
+
],
|
|
95
116
|
},
|
|
96
|
-
...(await fetchCategoriesUiSchemaElement(i18nScope, context)),
|
|
97
117
|
],
|
|
98
118
|
},
|
|
99
119
|
{
|
|
100
120
|
type: "Section",
|
|
101
121
|
labelKey: `${i18nScope}.sections.location.label`,
|
|
102
|
-
options: {
|
|
103
|
-
helperText: {
|
|
104
|
-
labelKey: `${i18nScope}.sections.location.helperText`,
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
122
|
elements: [
|
|
108
123
|
{
|
|
109
124
|
scope: "/properties/location",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SiteUiSchemaEdit.js","sourceRoot":"","sources":["../../../../src/sites/_internal/SiteUiSchemaEdit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,OAAO,EAAE,2BAA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