@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.
Files changed (71) hide show
  1. package/dist/esm/content/_internal/ContentUiSchemaEdit.js +46 -33
  2. package/dist/esm/content/_internal/ContentUiSchemaEdit.js.map +1 -1
  3. package/dist/esm/core/schemas/internal/addDynamicSlugValidation.js +10 -1
  4. package/dist/esm/core/schemas/internal/addDynamicSlugValidation.js.map +1 -1
  5. package/dist/esm/core/schemas/internal/fetchCategoriesUiSchemaElement.js +0 -4
  6. package/dist/esm/core/schemas/internal/fetchCategoriesUiSchemaElement.js.map +1 -1
  7. package/dist/esm/core/schemas/internal/getSlugSchemaElement.js +0 -3
  8. package/dist/esm/core/schemas/internal/getSlugSchemaElement.js.map +1 -1
  9. package/dist/esm/core/schemas/internal/getThumbnailUiSchemaElement.js +1 -12
  10. package/dist/esm/core/schemas/internal/getThumbnailUiSchemaElement.js.map +1 -1
  11. package/dist/esm/core/schemas/internal/metrics/editorToEntity.js +5 -0
  12. package/dist/esm/core/schemas/internal/metrics/editorToEntity.js.map +1 -1
  13. package/dist/esm/discussions/_internal/DiscussionUiSchemaEdit.js +59 -46
  14. package/dist/esm/discussions/_internal/DiscussionUiSchemaEdit.js.map +1 -1
  15. package/dist/esm/events/_internal/EventUiSchemaEdit.js +298 -200
  16. package/dist/esm/events/_internal/EventUiSchemaEdit.js.map +1 -1
  17. package/dist/esm/groups/_internal/GroupSchema.js +2 -1
  18. package/dist/esm/groups/_internal/GroupSchema.js.map +1 -1
  19. package/dist/esm/groups/_internal/GroupUiSchemaEdit.js +47 -6
  20. package/dist/esm/groups/_internal/GroupUiSchemaEdit.js.map +1 -1
  21. package/dist/esm/initiative-templates/_internal/InitiativeTemplateUiSchemaEdit.js +74 -36
  22. package/dist/esm/initiative-templates/_internal/InitiativeTemplateUiSchemaEdit.js.map +1 -1
  23. package/dist/esm/initiatives/_internal/InitiativeUiSchemaEdit.js +126 -92
  24. package/dist/esm/initiatives/_internal/InitiativeUiSchemaEdit.js.map +1 -1
  25. package/dist/esm/pages/_internal/PageUiSchemaEdit.js +45 -28
  26. package/dist/esm/pages/_internal/PageUiSchemaEdit.js.map +1 -1
  27. package/dist/esm/projects/_internal/ProjectUiSchemaEdit.js +221 -146
  28. package/dist/esm/projects/_internal/ProjectUiSchemaEdit.js.map +1 -1
  29. package/dist/esm/sites/_internal/SiteUiSchemaEdit.js +43 -28
  30. package/dist/esm/sites/_internal/SiteUiSchemaEdit.js.map +1 -1
  31. package/dist/esm/surveys/_internal/SurveyUiSchemaEdit.js +62 -25
  32. package/dist/esm/surveys/_internal/SurveyUiSchemaEdit.js.map +1 -1
  33. package/dist/esm/templates/_internal/TemplateUiSchemaEdit.js +78 -33
  34. package/dist/esm/templates/_internal/TemplateUiSchemaEdit.js.map +1 -1
  35. package/dist/node/content/_internal/ContentUiSchemaEdit.js +46 -33
  36. package/dist/node/content/_internal/ContentUiSchemaEdit.js.map +1 -1
  37. package/dist/node/core/schemas/internal/addDynamicSlugValidation.js +10 -1
  38. package/dist/node/core/schemas/internal/addDynamicSlugValidation.js.map +1 -1
  39. package/dist/node/core/schemas/internal/fetchCategoriesUiSchemaElement.js +0 -4
  40. package/dist/node/core/schemas/internal/fetchCategoriesUiSchemaElement.js.map +1 -1
  41. package/dist/node/core/schemas/internal/getSlugSchemaElement.js +0 -3
  42. package/dist/node/core/schemas/internal/getSlugSchemaElement.js.map +1 -1
  43. package/dist/node/core/schemas/internal/getThumbnailUiSchemaElement.js +1 -12
  44. package/dist/node/core/schemas/internal/getThumbnailUiSchemaElement.js.map +1 -1
  45. package/dist/node/core/schemas/internal/metrics/editorToEntity.js +5 -0
  46. package/dist/node/core/schemas/internal/metrics/editorToEntity.js.map +1 -1
  47. package/dist/node/discussions/_internal/DiscussionUiSchemaEdit.js +59 -46
  48. package/dist/node/discussions/_internal/DiscussionUiSchemaEdit.js.map +1 -1
  49. package/dist/node/events/_internal/EventUiSchemaEdit.js +298 -200
  50. package/dist/node/events/_internal/EventUiSchemaEdit.js.map +1 -1
  51. package/dist/node/groups/_internal/GroupSchema.js +1 -0
  52. package/dist/node/groups/_internal/GroupSchema.js.map +1 -1
  53. package/dist/node/groups/_internal/GroupUiSchemaEdit.js +47 -6
  54. package/dist/node/groups/_internal/GroupUiSchemaEdit.js.map +1 -1
  55. package/dist/node/initiative-templates/_internal/InitiativeTemplateUiSchemaEdit.js +74 -36
  56. package/dist/node/initiative-templates/_internal/InitiativeTemplateUiSchemaEdit.js.map +1 -1
  57. package/dist/node/initiatives/_internal/InitiativeUiSchemaEdit.js +126 -92
  58. package/dist/node/initiatives/_internal/InitiativeUiSchemaEdit.js.map +1 -1
  59. package/dist/node/pages/_internal/PageUiSchemaEdit.js +45 -28
  60. package/dist/node/pages/_internal/PageUiSchemaEdit.js.map +1 -1
  61. package/dist/node/projects/_internal/ProjectUiSchemaEdit.js +221 -146
  62. package/dist/node/projects/_internal/ProjectUiSchemaEdit.js.map +1 -1
  63. package/dist/node/sites/_internal/SiteUiSchemaEdit.js +43 -28
  64. package/dist/node/sites/_internal/SiteUiSchemaEdit.js.map +1 -1
  65. package/dist/node/surveys/_internal/SurveyUiSchemaEdit.js +62 -25
  66. package/dist/node/surveys/_internal/SurveyUiSchemaEdit.js.map +1 -1
  67. package/dist/node/templates/_internal/TemplateUiSchemaEdit.js +78 -33
  68. package/dist/node/templates/_internal/TemplateUiSchemaEdit.js.map +1 -1
  69. package/dist/types/initiative-templates/_internal/InitiativeTemplateUiSchemaEdit.d.ts +2 -2
  70. package/dist/types/templates/_internal/TemplateUiSchemaEdit.d.ts +2 -2
  71. 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 { getSlugSchemaElement } from "../../core/schemas/internal/getSlugSchemaElement";
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
- labelKey: `${i18nScope}.fields.description.label`,
74
- scope: "/properties/description",
75
- type: "Control",
76
+ type: "Section",
77
+ labelKey: `${i18nScope}.sections.description.label`,
76
78
  options: {
77
- control: "hub-field-input-rich-text",
78
- type: "textarea",
79
- helperText: {
80
- labelKey: `${i18nScope}.fields.description.helperText`,
81
- },
79
+ section: "block",
82
80
  },
83
- },
84
- {
85
- labelKey: `${i18nScope}.fields.featuredImage.label`,
86
- scope: "/properties/view/properties/featuredImage",
87
- type: "Control",
88
- options: {
89
- control: "hub-field-input-image-picker",
90
- imgSrc: getAuthedImageUrl((_a = options.view) === null || _a === void 0 ? void 0 : _a.featuredImageUrl, context.requestOptions),
91
- maxWidth: 727,
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
- labelKey: `${i18nScope}.fields.featuredImage.altText.label`,
104
- scope: "/properties/view/properties/featuredImageAltText",
105
- type: "Control",
94
+ type: "Section",
95
+ labelKey: `${i18nScope}.sections.discoverability.label`,
106
96
  options: {
97
+ section: "block",
107
98
  helperText: {
108
- labelKey: `${i18nScope}.fields.featuredImage.altText.helperText`,
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
- scope: "/properties/view/properties/timeline",
180
- type: "Control",
152
+ type: "Section",
153
+ labelKey: `${i18nScope}.sections.timeline.label`,
181
154
  options: {
182
- control: "arcgis-hub-timeline-editor",
183
- showTitleAndDescription: false,
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: `${i18nScope}.sections.featuredContent.label`,
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
- scope: "/properties/view/properties/featuredContentIds",
199
- type: "Control",
220
+ type: "Section",
221
+ labelKey: "shared.sections.heroActions.label",
200
222
  options: {
201
- control: "hub-field-input-gallery-picker",
202
- targetEntity: "item",
203
- catalogs: getFeaturedContentCatalogs(context.currentUser),
204
- facets: [
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.callToAction.label`,
232
- options: {
233
- helperText: {
234
- labelKey: `${i18nScope}.sections.callToAction.helperText`,
235
- },
236
- },
264
+ labelKey: `${i18nScope}.sections.view.label`,
237
265
  elements: [
238
266
  {
239
- scope: "/properties/view/properties/heroActions",
240
- type: "Control",
267
+ type: "Section",
268
+ labelKey: `${i18nScope}.sections.view.image.label`,
241
269
  options: {
242
- control: "hub-composite-input-action-links",
243
- type: "button",
244
- catalogs: getFeaturedContentCatalogs(context.currentUser),
245
- facets: [
246
- {
247
- label: `{{${i18nScope}.fields.callToAction.facets.type:translate}}`,
248
- key: "type",
249
- display: "multi-select",
250
- field: "type",
251
- options: [],
252
- operation: "OR",
253
- aggLimit: 100,
254
- },
255
- {
256
- label: `{{${i18nScope}.fields.callToAction.facets.sharing:translate}}`,
257
- key: "access",
258
- display: "multi-select",
259
- field: "access",
260
- options: [],
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
- showAllCollectionFacet: true,
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
- scope: "/properties/view/properties/embeds",
279
- type: "Control",
318
+ type: "Section",
319
+ labelKey: `${i18nScope}.sections.view.content.label`,
280
320
  options: {
281
- control: "hub-composite-input-embeds",
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,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AACpG,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,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AAExF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,EAChC,SAAiB,EACjB,OAA6B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,GAAG,SAAS,mCAAmC;qBAC1D;iBACF;gBACD,QAAQ,EAAE;oBACR;wBACE,KAAK,EAAE,yCAAyC;wBAChD,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE;4BACP,OAAO,EAAE,kCAAkC;4BAC3C,IAAI,EAAE,QAAQ;4BACd,QAAQ,EAAE,0BAA0B,CAAC,OAAO,CAAC,WAAW,CAAC;4BACzD,MAAM,EAAE;gCACN;oCACE,KAAK,EAAE,KAAK,SAAS,8CAA8C;oCACnE,GAAG,EAAE,MAAM;oCACX,OAAO,EAAE,cAAc;oCACvB,KAAK,EAAE,MAAM;oCACb,OAAO,EAAE,EAAE;oCACX,SAAS,EAAE,IAAI;oCACf,QAAQ,EAAE,GAAG;iCACd;gCACD;oCACE,KAAK,EAAE,KAAK,SAAS,iDAAiD;oCACtE,GAAG,EAAE,QAAQ;oCACb,OAAO,EAAE,cAAc;oCACvB,KAAK,EAAE,QAAQ;oCACf,OAAO,EAAE,EAAE;oCACX,SAAS,EAAE,IAAI;iCAChB;6BACF;4BACD,sBAAsB,EAAE,IAAI;yBAC7B;qBACF;iBACF;aACF;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,QAAQ,EAAE,GAAG,SAAS,wBAAwB;gBAC9C,OAAO,EAAE;oBACP,SAAS,EAAE,IAAI;oBACf,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,SAAS,6BAA6B,EAAE;iBACpE;gBACD,QAAQ,EAAE;oBACR;wBACE,KAAK,EAAE,oCAAoC;wBAC3C,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE;4BACP,OAAO,EAAE,4BAA4B;yBACtC;qBACF;iBACF;aACF;SACF;KACF,CAAC;AACJ,CAAC,CAAC"}
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,EA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C;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
- labelKey: `${i18nScope}.fields.description.label`,
71
- scope: "/properties/description",
72
- type: "Control",
75
+ type: "Section",
76
+ labelKey: `${i18nScope}.sections.description.label`,
73
77
  options: {
74
- control: "hub-field-input-rich-text",
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
- labelKey: `${i18nScope}.fields.tags.label`,
85
- scope: "/properties/tags",
86
- type: "Control",
93
+ type: "Section",
94
+ labelKey: `${i18nScope}.sections.discoverability.label`,
87
95
  options: {
88
- control: "hub-field-input-combobox",
89
- items: await getTagItems(options.tags, context.portal.id, context.hubRequestOptions),
90
- allowCustomValues: true,
91
- selectionMode: "multiple",
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,2BAA2B,EAAE,MAAM,yDAAyD,CAAC;AAEtG,OAAO,EAAE,8BAA8B,EAAE,MAAM,4DAA4D,CAAC;AAC5G,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