@esri/hub-common 14.81.0 → 14.82.0
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/core/schemas/getEditorConfig.js.map +1 -1
- package/dist/esm/core/schemas/internal/follow/FollowCardUiSchema.js +89 -0
- package/dist/esm/core/schemas/internal/follow/FollowCardUiSchema.js.map +1 -0
- package/dist/esm/core/schemas/internal/follow/FollowSchema.js +42 -0
- package/dist/esm/core/schemas/internal/follow/FollowSchema.js.map +1 -0
- package/dist/esm/core/schemas/internal/getCardEditorSchemas.js +17 -2
- package/dist/esm/core/schemas/internal/getCardEditorSchemas.js.map +1 -1
- package/dist/esm/core/schemas/internal/metrics/StatCardUiSchema.js +3 -0
- package/dist/esm/core/schemas/internal/metrics/StatCardUiSchema.js.map +1 -1
- package/dist/esm/core/schemas/types.js +7 -3
- package/dist/esm/core/schemas/types.js.map +1 -1
- package/dist/esm/groups/_internal/GroupUiSchemaCreateFollowers.js +8 -2
- package/dist/esm/groups/_internal/GroupUiSchemaCreateFollowers.js.map +1 -1
- package/dist/esm/initiatives/_internal/InitiativeUiSchemaCreate.js +12 -3
- package/dist/esm/initiatives/_internal/InitiativeUiSchemaCreate.js.map +1 -1
- package/dist/esm/permissions/HubPermissionPolicies.js +8 -0
- package/dist/esm/permissions/HubPermissionPolicies.js.map +1 -1
- package/dist/esm/permissions/types/Permission.js +1 -0
- package/dist/esm/permissions/types/Permission.js.map +1 -1
- package/dist/esm/projects/_internal/ProjectUiSchemaCreate.js +12 -3
- package/dist/esm/projects/_internal/ProjectUiSchemaCreate.js.map +1 -1
- package/dist/esm/sites/_internal/SiteUiSchemaCreate.js +12 -3
- package/dist/esm/sites/_internal/SiteUiSchemaCreate.js.map +1 -1
- package/dist/node/core/schemas/getEditorConfig.js.map +1 -1
- package/dist/node/core/schemas/internal/follow/FollowCardUiSchema.js +92 -0
- package/dist/node/core/schemas/internal/follow/FollowCardUiSchema.js.map +1 -0
- package/dist/node/core/schemas/internal/follow/FollowSchema.js +45 -0
- package/dist/node/core/schemas/internal/follow/FollowSchema.js.map +1 -0
- package/dist/node/core/schemas/internal/getCardEditorSchemas.js +17 -2
- package/dist/node/core/schemas/internal/getCardEditorSchemas.js.map +1 -1
- package/dist/node/core/schemas/internal/metrics/StatCardUiSchema.js +3 -0
- package/dist/node/core/schemas/internal/metrics/StatCardUiSchema.js.map +1 -1
- package/dist/node/core/schemas/types.js +8 -4
- package/dist/node/core/schemas/types.js.map +1 -1
- package/dist/node/groups/_internal/GroupUiSchemaCreateFollowers.js +8 -2
- package/dist/node/groups/_internal/GroupUiSchemaCreateFollowers.js.map +1 -1
- package/dist/node/initiatives/_internal/InitiativeUiSchemaCreate.js +12 -3
- package/dist/node/initiatives/_internal/InitiativeUiSchemaCreate.js.map +1 -1
- package/dist/node/permissions/HubPermissionPolicies.js +8 -0
- package/dist/node/permissions/HubPermissionPolicies.js.map +1 -1
- package/dist/node/permissions/types/Permission.js +1 -0
- package/dist/node/permissions/types/Permission.js.map +1 -1
- package/dist/node/projects/_internal/ProjectUiSchemaCreate.js +12 -3
- package/dist/node/projects/_internal/ProjectUiSchemaCreate.js.map +1 -1
- package/dist/node/sites/_internal/SiteUiSchemaCreate.js +12 -3
- package/dist/node/sites/_internal/SiteUiSchemaCreate.js.map +1 -1
- package/dist/types/core/schemas/getEditorConfig.d.ts +3 -2
- package/dist/types/core/schemas/internal/follow/FollowCardUiSchema.d.ts +9 -0
- package/dist/types/core/schemas/internal/follow/FollowSchema.d.ts +2 -0
- package/dist/types/core/schemas/types.d.ts +10 -4
- package/package.json +1 -1
|
@@ -16,18 +16,24 @@ export declare const validEntityEditorTypes: readonly ["hub:project:create", "hu
|
|
|
16
16
|
*/
|
|
17
17
|
export declare type StatCardEditorType = (typeof validStatCardEditorTypes)[number];
|
|
18
18
|
export declare const validStatCardEditorTypes: readonly ["hub:card:stat"];
|
|
19
|
+
/** Defines the possible editor type values for a follow card. These
|
|
20
|
+
* correspond to the supported/defined uiSchema configurations. This should
|
|
21
|
+
* have its own signature in the getEditorConfig function.
|
|
22
|
+
*/
|
|
23
|
+
export declare type FollowCardEditorType = (typeof validFollowCardEditorTypes)[number];
|
|
24
|
+
export declare const validFollowCardEditorTypes: readonly ["hub:card:follow"];
|
|
19
25
|
/**
|
|
20
26
|
* Defines the possible editor type values for any layout card. These
|
|
21
27
|
* correspond to the supported/defined uiSchema configurations for cards.
|
|
22
28
|
*/
|
|
23
29
|
export declare type CardEditorType = (typeof validCardEditorTypes)[number];
|
|
24
|
-
export declare const validCardEditorTypes: readonly ["hub:card:stat"];
|
|
30
|
+
export declare const validCardEditorTypes: readonly ["hub:card:stat", "hub:card:follow"];
|
|
25
31
|
/**
|
|
26
32
|
* All supported editor types - these "map"
|
|
27
33
|
* to defined schema/uiSchema configurations
|
|
28
34
|
*/
|
|
29
35
|
export declare type EditorType = (typeof validEditorTypes)[number];
|
|
30
|
-
export declare const validEditorTypes: readonly ["hub:project:create", "hub:project:edit", "hub:project:metrics", "hub:content:edit", "hub:content:settings", "hub:content:discussions", "hub:initiative:edit", "hub:initiative:create", "hub:site:edit", "hub:site:create", "hub:site:followers", "hub:site:discussions", "hub:site:settings", "hub:discussion:edit", "hub:discussion:create", "hub:discussion:settings", "hub:page:edit", "hub:template:edit", "hub:group:edit", "hub:group:settings", "hub:group:discussions", "hub:group:create:followers", "hub:initiativeTemplate:edit", "hub:card:stat"];
|
|
36
|
+
export declare const validEditorTypes: readonly ["hub:project:create", "hub:project:edit", "hub:project:metrics", "hub:content:edit", "hub:content:settings", "hub:content:discussions", "hub:initiative:edit", "hub:initiative:create", "hub:site:edit", "hub:site:create", "hub:site:followers", "hub:site:discussions", "hub:site:settings", "hub:discussion:edit", "hub:discussion:create", "hub:discussion:settings", "hub:page:edit", "hub:template:edit", "hub:group:edit", "hub:group:settings", "hub:group:discussions", "hub:group:create:followers", "hub:initiativeTemplate:edit", "hub:card:stat", "hub:card:follow"];
|
|
31
37
|
export declare enum UiSchemaRuleEffects {
|
|
32
38
|
SHOW = "SHOW",
|
|
33
39
|
HIDE = "HIDE",
|
|
@@ -35,17 +41,17 @@ export declare enum UiSchemaRuleEffects {
|
|
|
35
41
|
NONE = ""
|
|
36
42
|
}
|
|
37
43
|
export declare enum UiSchemaElementTypes {
|
|
38
|
-
accordionItem = "AccordionItem",
|
|
39
44
|
section = "Section",
|
|
40
|
-
step = "Step",
|
|
41
45
|
control = "Control",
|
|
42
46
|
layout = "Layout",
|
|
43
47
|
slot = "Slot"
|
|
44
48
|
}
|
|
45
49
|
export declare enum UiSchemaSectionTypes {
|
|
46
50
|
accordion = "accordion",
|
|
51
|
+
accordionItem = "accordionItem",
|
|
47
52
|
block = "block",
|
|
48
53
|
stepper = "stepper",
|
|
54
|
+
step = "step",
|
|
49
55
|
subblock = "subblock",
|
|
50
56
|
card = "card"
|
|
51
57
|
}
|