@rippling/pebble-sdui-web 0.6.3 → 0.8.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/2020-C_v5qH0D.cjs +9 -0
- package/dist/2020-C_v5qH0D.cjs.map +1 -0
- package/dist/2020-PBERvPzO.js +4846 -0
- package/dist/2020-PBERvPzO.js.map +1 -0
- package/dist/catalogs/custom-apps/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-events.d.ts +2 -0
- package/dist/catalogs/custom-apps/component-props.d.ts +100 -29
- package/dist/catalogs/custom-apps/components.d.ts +4 -2
- package/dist/catalogs/custom-apps/index.cjs +2 -9
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.d.ts +3 -3
- package/dist/catalogs/custom-apps/index.js +818 -5342
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/catalogs/hub_platform/action-params.d.ts +5 -0
- package/dist/catalogs/hub_platform/actions.d.ts +5 -0
- package/dist/catalogs/hub_platform/catalog.d.ts +33 -0
- package/dist/catalogs/hub_platform/component-events.d.ts +10 -0
- package/dist/catalogs/hub_platform/component-props.d.ts +287 -0
- package/dist/catalogs/hub_platform/components.d.ts +11 -0
- package/dist/catalogs/hub_platform/function-params.d.ts +5 -0
- package/dist/catalogs/hub_platform/functions.d.ts +5 -0
- package/dist/catalogs/hub_platform/index.cjs +2 -0
- package/dist/catalogs/hub_platform/index.cjs.map +1 -0
- package/dist/catalogs/hub_platform/index.d.ts +11 -0
- package/dist/catalogs/hub_platform/index.js +1087 -0
- package/dist/catalogs/hub_platform/index.js.map +1 -0
- package/dist/catalogs/hub_platform/render.d.ts +20 -0
- package/dist/docs/typescript/web/catalogs/custom-apps/components.md +85 -3
- package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +71 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/types.md +64 -47
- package/dist/docs/typescript/web/catalogs/hub_platform/actions.md +6 -0
- package/dist/docs/typescript/web/catalogs/hub_platform/components.md +212 -0
- package/dist/docs/typescript/web/catalogs/hub_platform/computed-functions.md +6 -0
- package/dist/docs/typescript/web/catalogs/hub_platform/definitions.md +91 -0
- package/dist/docs/typescript/web/catalogs/hub_platform/readme.md +16 -0
- package/dist/docs/typescript/web/catalogs/hub_platform/types.md +368 -0
- package/package.json +6 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Catalog introspection utilities for hub_platform.
|
|
3
|
+
*
|
|
4
|
+
* Auto-generated from catalogs/hub_platform.catalog.json — do not edit.
|
|
5
|
+
*
|
|
6
|
+
* Provides runtime access to the raw catalog schema: component definitions,
|
|
7
|
+
* action definitions, and spec validation.
|
|
8
|
+
*/
|
|
9
|
+
export declare const CATALOG_NAME = "hub_platform";
|
|
10
|
+
export declare const CATALOG_VERSION = "1.0.0";
|
|
11
|
+
/** Return component descriptions keyed by component name. */
|
|
12
|
+
export declare function getComponents(): Record<string, string>;
|
|
13
|
+
/** Return action descriptions keyed by action name. */
|
|
14
|
+
export declare function getActions(): Record<string, string>;
|
|
15
|
+
/** Return computed function descriptions keyed by function name. */
|
|
16
|
+
export declare function getFunctions(): Record<string, string>;
|
|
17
|
+
/** Return full computed function definitions keyed by function name. */
|
|
18
|
+
export declare function getComputedFunctions(): Record<string, Record<string, unknown>>;
|
|
19
|
+
/** Return reusable JSON Schema definitions keyed by definition name. */
|
|
20
|
+
export declare function getDefs(): Record<string, Record<string, unknown>>;
|
|
21
|
+
/** Get the full JSON definition of a component by name. */
|
|
22
|
+
export declare function getComponent(name: string): Record<string, unknown>;
|
|
23
|
+
/** Get the full JSON definition of an action by name. */
|
|
24
|
+
export declare function getAction(name: string): Record<string, unknown>;
|
|
25
|
+
/** Get the full JSON definition of a computed function by name. */
|
|
26
|
+
export declare function getFunction(name: string): Record<string, unknown>;
|
|
27
|
+
/**
|
|
28
|
+
* Validate a rendered spec against this catalog's schema.
|
|
29
|
+
* Returns a list of error messages. Empty list means valid.
|
|
30
|
+
*/
|
|
31
|
+
export declare function validate(spec: {
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
}): string[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated component event types for hub_platform.
|
|
3
|
+
*
|
|
4
|
+
* Auto-generated from catalogs/hub_platform.catalog.json — do not edit.
|
|
5
|
+
*/
|
|
6
|
+
export type SuperGroupEditorEvents = 'load' | 'change' | 'validationChange' | 'editToggle' | 'saveStart' | 'saveSuccess' | 'saveError' | 'cancel' | 'roleStateChange' | 'scopeFilterChange' | 'timeBasedConfigChange';
|
|
7
|
+
export type SuperGroupGridRendererEvents = never;
|
|
8
|
+
export type SuperGroupMembersViewerEvents = never;
|
|
9
|
+
export type SuperGroupPreviewV2Events = never;
|
|
10
|
+
export type SuperGroupStateProviderEvents = never;
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated component prop interfaces for hub_platform.
|
|
3
|
+
*
|
|
4
|
+
* Auto-generated from catalogs/hub_platform.catalog.json — do not edit.
|
|
5
|
+
*/
|
|
6
|
+
export interface Command {
|
|
7
|
+
createIfMissing?: boolean;
|
|
8
|
+
errorPath?: string;
|
|
9
|
+
group?: SuperGroupEditorGroup;
|
|
10
|
+
includeRoleStates?: boolean;
|
|
11
|
+
mode?: 'read' | 'edit';
|
|
12
|
+
refreshMembers?: boolean;
|
|
13
|
+
requestId: string;
|
|
14
|
+
responsePath?: string;
|
|
15
|
+
retainFocus?: boolean;
|
|
16
|
+
skipMembershipUpdateNotification?: boolean;
|
|
17
|
+
type: 'save' | 'extractDraft' | 'reset' | 'setMode';
|
|
18
|
+
[key: string]: unknown | boolean | string | SuperGroupEditorGroup | 'read' | 'edit' | 'save' | 'extractDraft' | 'reset' | 'setMode' | undefined;
|
|
19
|
+
}
|
|
20
|
+
export interface CreatePolicy {
|
|
21
|
+
groupName: string;
|
|
22
|
+
groupType?: string;
|
|
23
|
+
kind: 'role';
|
|
24
|
+
overRideRoleStates?: string[];
|
|
25
|
+
parent?: string;
|
|
26
|
+
provisionRoleState?: string;
|
|
27
|
+
spokeId?: string;
|
|
28
|
+
subGroupType?: string;
|
|
29
|
+
[key: string]: unknown | string | 'role' | string[] | undefined;
|
|
30
|
+
}
|
|
31
|
+
export interface DefaultSelectedDateTimeConfig {
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
}
|
|
34
|
+
/** Editor placeholders keyed by INCLUSION and EXCLUSION. */
|
|
35
|
+
export interface EditorPlaceholder {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
}
|
|
38
|
+
/** Editor title labels keyed by INCLUSION and EXCLUSION. */
|
|
39
|
+
export interface EditorTitle {
|
|
40
|
+
[key: string]: string;
|
|
41
|
+
}
|
|
42
|
+
/** JSON-safe group details configuration. */
|
|
43
|
+
export interface GroupDetailsConfig {
|
|
44
|
+
[key: string]: unknown;
|
|
45
|
+
}
|
|
46
|
+
/** Initial serialized group used before a backend group exists. */
|
|
47
|
+
export interface InitialGroup {
|
|
48
|
+
[key: string]: unknown;
|
|
49
|
+
}
|
|
50
|
+
/** Optional state paths the wrapper writes as editor state changes. */
|
|
51
|
+
export interface StatePath {
|
|
52
|
+
draftGroup?: string;
|
|
53
|
+
errors?: string;
|
|
54
|
+
groupId?: string;
|
|
55
|
+
isBusy?: string;
|
|
56
|
+
isCreating?: string;
|
|
57
|
+
isDirty?: string;
|
|
58
|
+
isLoading?: string;
|
|
59
|
+
isResetting?: string;
|
|
60
|
+
isSaving?: string;
|
|
61
|
+
isValidating?: string;
|
|
62
|
+
lastChangeSource?: string;
|
|
63
|
+
lastSavedAt?: string;
|
|
64
|
+
savedGroup?: string;
|
|
65
|
+
serverErrors?: string;
|
|
66
|
+
validation?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface SuperGroupEditorGroup {
|
|
69
|
+
[key: string]: unknown;
|
|
70
|
+
}
|
|
71
|
+
/** Group type metadata used by SuperGroup API adapters. */
|
|
72
|
+
export interface SuperGroupEditorGroupTypeConfig {
|
|
73
|
+
isInternal?: boolean;
|
|
74
|
+
type?: string;
|
|
75
|
+
[key: string]: unknown | boolean | string | undefined;
|
|
76
|
+
}
|
|
77
|
+
export interface SuperGroupEditorProvisionedRole {
|
|
78
|
+
id: string;
|
|
79
|
+
[key: string]: unknown | string;
|
|
80
|
+
}
|
|
81
|
+
/** Additional request options forwarded to SuperGroup APIs. */
|
|
82
|
+
export interface SuperGroupEditorRequestOption {
|
|
83
|
+
[key: string]: unknown;
|
|
84
|
+
}
|
|
85
|
+
/** JSON-safe SuperGroup rule option configuration. */
|
|
86
|
+
export interface SuperGroupEditorRuleOption {
|
|
87
|
+
[key: string]: unknown;
|
|
88
|
+
}
|
|
89
|
+
/** Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context. */
|
|
90
|
+
export interface SuperGroupGridRendererGroup {
|
|
91
|
+
[key: string]: unknown;
|
|
92
|
+
}
|
|
93
|
+
/** Group type metadata used by SuperGroup API adapters. */
|
|
94
|
+
export interface SuperGroupGridRendererGroupTypeConfig {
|
|
95
|
+
isInternal?: boolean;
|
|
96
|
+
type?: string;
|
|
97
|
+
[key: string]: unknown | boolean | string | undefined;
|
|
98
|
+
}
|
|
99
|
+
export interface SuperGroupGridRendererProvisionedRole {
|
|
100
|
+
id: string;
|
|
101
|
+
[key: string]: unknown | string;
|
|
102
|
+
}
|
|
103
|
+
/** Additional request options forwarded to SuperGroup APIs. */
|
|
104
|
+
export interface SuperGroupGridRendererRequestOption {
|
|
105
|
+
[key: string]: unknown;
|
|
106
|
+
}
|
|
107
|
+
/** JSON-safe SuperGroup rule option configuration. */
|
|
108
|
+
export interface SuperGroupGridRendererRuleOption {
|
|
109
|
+
[key: string]: unknown;
|
|
110
|
+
}
|
|
111
|
+
/** Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context. */
|
|
112
|
+
export interface SuperGroupMembersViewerGroup {
|
|
113
|
+
[key: string]: unknown;
|
|
114
|
+
}
|
|
115
|
+
/** Group type metadata used by SuperGroup API adapters. */
|
|
116
|
+
export interface SuperGroupMembersViewerGroupTypeConfig {
|
|
117
|
+
isInternal?: boolean;
|
|
118
|
+
type?: string;
|
|
119
|
+
[key: string]: unknown | boolean | string | undefined;
|
|
120
|
+
}
|
|
121
|
+
export interface SuperGroupMembersViewerProvisionedRole {
|
|
122
|
+
id: string;
|
|
123
|
+
[key: string]: unknown | string;
|
|
124
|
+
}
|
|
125
|
+
/** Additional request options forwarded to SuperGroup APIs. */
|
|
126
|
+
export interface SuperGroupMembersViewerRequestOption {
|
|
127
|
+
[key: string]: unknown;
|
|
128
|
+
}
|
|
129
|
+
/** Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context. */
|
|
130
|
+
export interface SuperGroupPreviewV2Group {
|
|
131
|
+
[key: string]: unknown;
|
|
132
|
+
}
|
|
133
|
+
/** Group type metadata used by SuperGroup API adapters. */
|
|
134
|
+
export interface SuperGroupPreviewV2GroupTypeConfig {
|
|
135
|
+
isInternal?: boolean;
|
|
136
|
+
type?: string;
|
|
137
|
+
[key: string]: unknown | boolean | string | undefined;
|
|
138
|
+
}
|
|
139
|
+
export interface SuperGroupPreviewV2ProvisionedRole {
|
|
140
|
+
id: string;
|
|
141
|
+
[key: string]: unknown | string;
|
|
142
|
+
}
|
|
143
|
+
/** Additional request options forwarded to SuperGroup APIs. */
|
|
144
|
+
export interface SuperGroupPreviewV2RequestOption {
|
|
145
|
+
[key: string]: unknown;
|
|
146
|
+
}
|
|
147
|
+
/** JSON-safe SuperGroup rule option configuration. */
|
|
148
|
+
export interface SuperGroupPreviewV2RuleOption {
|
|
149
|
+
[key: string]: unknown;
|
|
150
|
+
}
|
|
151
|
+
/** Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context. */
|
|
152
|
+
export interface SuperGroupStateProviderGroup {
|
|
153
|
+
[key: string]: unknown;
|
|
154
|
+
}
|
|
155
|
+
/** Group type metadata used by SuperGroup API adapters. */
|
|
156
|
+
export interface SuperGroupStateProviderGroupTypeConfig {
|
|
157
|
+
isInternal?: boolean;
|
|
158
|
+
type?: string;
|
|
159
|
+
[key: string]: unknown | boolean | string | undefined;
|
|
160
|
+
}
|
|
161
|
+
export interface SuperGroupStateProviderProvisionedRole {
|
|
162
|
+
id: string;
|
|
163
|
+
[key: string]: unknown | string;
|
|
164
|
+
}
|
|
165
|
+
/** Additional request options forwarded to SuperGroup APIs. */
|
|
166
|
+
export interface SuperGroupStateProviderRequestOption {
|
|
167
|
+
[key: string]: unknown;
|
|
168
|
+
}
|
|
169
|
+
/** JSON-safe built-in validation configuration. */
|
|
170
|
+
export interface Validation {
|
|
171
|
+
[key: string]: unknown;
|
|
172
|
+
}
|
|
173
|
+
export interface SuperGroupEditorProps {
|
|
174
|
+
appName: string;
|
|
175
|
+
canEditRoleStatesApplied?: boolean;
|
|
176
|
+
canSelectAll?: boolean;
|
|
177
|
+
command?: Command;
|
|
178
|
+
commandPath?: string;
|
|
179
|
+
createPolicy?: CreatePolicy | CreatePolicy;
|
|
180
|
+
defaultEditable?: boolean;
|
|
181
|
+
defaultRoleStates?: string[];
|
|
182
|
+
defaultSelectedDateTimeConfig?: DefaultSelectedDateTimeConfig;
|
|
183
|
+
defaultSelectedScheduleEffectiveDateValue?: string;
|
|
184
|
+
dropdownPanelMaxHeight?: number;
|
|
185
|
+
editorPlaceholder?: EditorPlaceholder;
|
|
186
|
+
editorTitle?: EditorTitle;
|
|
187
|
+
errorPath?: string;
|
|
188
|
+
family?: string;
|
|
189
|
+
group?: SuperGroupEditorGroup;
|
|
190
|
+
groupDetailsConfig?: GroupDetailsConfig;
|
|
191
|
+
groupId?: string;
|
|
192
|
+
groupTypeConfig?: SuperGroupEditorGroupTypeConfig;
|
|
193
|
+
initialGroup?: InitialGroup;
|
|
194
|
+
isDisabled?: boolean;
|
|
195
|
+
isEntityScopeSupported?: boolean;
|
|
196
|
+
isScheduleGroupChangesSupported?: boolean;
|
|
197
|
+
isTimeBasedConfigurationSupported?: boolean;
|
|
198
|
+
minSearchLength?: number;
|
|
199
|
+
mode?: 'read' | 'edit';
|
|
200
|
+
ownerId?: string;
|
|
201
|
+
provisionedRoles?: string | SuperGroupEditorProvisionedRole[];
|
|
202
|
+
refreshMembers?: boolean;
|
|
203
|
+
requestOptions?: SuperGroupEditorRequestOption;
|
|
204
|
+
responsePath?: string;
|
|
205
|
+
ruleOptions?: SuperGroupEditorRuleOption;
|
|
206
|
+
saveMode: 'self' | 'external';
|
|
207
|
+
scheduleEffectiveDateOptions?: unknown[];
|
|
208
|
+
shouldHideEditorTitle?: boolean;
|
|
209
|
+
shouldIgnoreProvisioningGroup?: boolean;
|
|
210
|
+
shouldRefreshGroupMembersLive?: boolean;
|
|
211
|
+
shouldShowActions?: boolean;
|
|
212
|
+
shouldShowExclusions?: boolean;
|
|
213
|
+
shouldShowImportRolesOption?: boolean;
|
|
214
|
+
shouldShowRefreshMembersAction?: boolean;
|
|
215
|
+
shouldShowRoleStateConfiguration?: boolean;
|
|
216
|
+
shouldSkipMembershipUpdateNotification?: boolean;
|
|
217
|
+
statePaths?: StatePath;
|
|
218
|
+
timeBasedConfigurationOptions?: unknown[];
|
|
219
|
+
validations?: Validation;
|
|
220
|
+
}
|
|
221
|
+
export interface SuperGroupGridRendererProps {
|
|
222
|
+
appName: string;
|
|
223
|
+
emptyPlaceholder?: string;
|
|
224
|
+
emptyText?: string;
|
|
225
|
+
family?: string;
|
|
226
|
+
group?: SuperGroupGridRendererGroup;
|
|
227
|
+
groupId?: string;
|
|
228
|
+
groupTypeConfig?: SuperGroupGridRendererGroupTypeConfig;
|
|
229
|
+
includedRoleTypes?: string[];
|
|
230
|
+
ownerId?: string;
|
|
231
|
+
previewRulesLimit?: number;
|
|
232
|
+
provisionedRoles?: string | SuperGroupGridRendererProvisionedRole[];
|
|
233
|
+
requestOptions?: SuperGroupGridRendererRequestOption;
|
|
234
|
+
ruleOptions?: SuperGroupGridRendererRuleOption;
|
|
235
|
+
shouldIgnoreProvisioningGroup?: boolean;
|
|
236
|
+
shouldIncludeThirdPartyAdmins?: boolean;
|
|
237
|
+
shouldShowExclusions?: boolean;
|
|
238
|
+
shouldShowTitle?: boolean;
|
|
239
|
+
showPreviewMembersInTooltip?: boolean;
|
|
240
|
+
skipThrottling?: boolean;
|
|
241
|
+
}
|
|
242
|
+
export interface SuperGroupMembersViewerProps {
|
|
243
|
+
family?: string;
|
|
244
|
+
gridTitle?: string;
|
|
245
|
+
group?: SuperGroupMembersViewerGroup;
|
|
246
|
+
groupId?: string;
|
|
247
|
+
groupMembersDrawerCaption?: string;
|
|
248
|
+
groupMembersDrawerTitle?: string;
|
|
249
|
+
groupTypeConfig?: SuperGroupMembersViewerGroupTypeConfig;
|
|
250
|
+
isPreview?: boolean;
|
|
251
|
+
provisionedRoles?: string | SuperGroupMembersViewerProvisionedRole[];
|
|
252
|
+
requestOptions?: SuperGroupMembersViewerRequestOption;
|
|
253
|
+
shouldIgnoreProvisioningGroup?: boolean;
|
|
254
|
+
shouldShowRefreshMembersAction?: boolean;
|
|
255
|
+
theme?: 'INLINE_TEXT' | 'INLINE_COUNT';
|
|
256
|
+
}
|
|
257
|
+
export interface SuperGroupPreviewV2Props {
|
|
258
|
+
appName: string;
|
|
259
|
+
emptyPlaceholder?: string;
|
|
260
|
+
emptyText?: string;
|
|
261
|
+
family?: string;
|
|
262
|
+
group?: SuperGroupPreviewV2Group;
|
|
263
|
+
groupId?: string;
|
|
264
|
+
groupTypeConfig?: SuperGroupPreviewV2GroupTypeConfig;
|
|
265
|
+
includedRoleTypes?: string[];
|
|
266
|
+
ownerId?: string;
|
|
267
|
+
previewRulesLimit?: number;
|
|
268
|
+
provisionedRoles?: string | SuperGroupPreviewV2ProvisionedRole[];
|
|
269
|
+
requestOptions?: SuperGroupPreviewV2RequestOption;
|
|
270
|
+
ruleOptions?: SuperGroupPreviewV2RuleOption;
|
|
271
|
+
shouldIgnoreProvisioningGroup?: boolean;
|
|
272
|
+
shouldIncludeThirdPartyAdmins?: boolean;
|
|
273
|
+
shouldShowExclusions?: boolean;
|
|
274
|
+
shouldShowTitle?: boolean;
|
|
275
|
+
skipThrottling?: boolean;
|
|
276
|
+
}
|
|
277
|
+
export interface SuperGroupStateProviderProps {
|
|
278
|
+
appName: string;
|
|
279
|
+
family?: string;
|
|
280
|
+
group?: SuperGroupStateProviderGroup;
|
|
281
|
+
groupId?: string;
|
|
282
|
+
groupTypeConfig?: SuperGroupStateProviderGroupTypeConfig;
|
|
283
|
+
ownerId?: string;
|
|
284
|
+
provisionedRoles?: string | SuperGroupStateProviderProvisionedRole[];
|
|
285
|
+
requestOptions?: SuperGroupStateProviderRequestOption;
|
|
286
|
+
shouldIgnoreProvisioningGroup?: boolean;
|
|
287
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentInputs } from '../../core/component-utils';
|
|
2
|
+
import { ElementNode } from '../../core/elements';
|
|
3
|
+
import { SuperGroupEditorProps, SuperGroupGridRendererProps, SuperGroupMembersViewerProps, SuperGroupPreviewV2Props, SuperGroupStateProviderProps } from './component-props';
|
|
4
|
+
import { SuperGroupEditorEvents, SuperGroupGridRendererEvents, SuperGroupMembersViewerEvents, SuperGroupPreviewV2Events, SuperGroupStateProviderEvents } from './component-events';
|
|
5
|
+
type CatalogElementNode = ElementNode<'web', 'hub_platform'>;
|
|
6
|
+
export declare const SuperGroupEditor: (input: ComponentInputs<SuperGroupEditorProps, SuperGroupEditorEvents>) => CatalogElementNode;
|
|
7
|
+
export declare const SuperGroupGridRenderer: (input: ComponentInputs<SuperGroupGridRendererProps, SuperGroupGridRendererEvents>) => CatalogElementNode;
|
|
8
|
+
export declare const SuperGroupMembersViewer: (input: ComponentInputs<SuperGroupMembersViewerProps, SuperGroupMembersViewerEvents>) => CatalogElementNode;
|
|
9
|
+
export declare const SuperGroupPreviewV2: (input: ComponentInputs<SuperGroupPreviewV2Props, SuperGroupPreviewV2Events>) => CatalogElementNode;
|
|
10
|
+
export declare const SuperGroupStateProvider: (input: ComponentInputs<SuperGroupStateProviderProps, SuperGroupStateProviderEvents, true>) => CatalogElementNode;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("../../core/component-utils.cjs"),w=require("../../2020-C_v5qH0D.cjs"),I=require("../../core/spec.cjs"),j=e=>d.buildNode("SuperGroupEditor",e),O=e=>d.buildNode("SuperGroupGridRenderer",e),G=e=>d.buildNode("SuperGroupMembersViewer",e),N=e=>d.buildNode("SuperGroupPreviewV2",e),A=e=>d.buildNode("SuperGroupStateProvider",e),f="hub_platform",b="1.0.0",s={SuperGroupEditor:{description:"Managed editable SuperGroup editor. Use this when SDUI needs to create, edit, save, reset, or extract a SuperGroup without passing React refs or callback props.",events:["load","change","validationChange","editToggle","saveStart","saveSuccess","saveError","cancel","roleStateChange","scopeFilterChange","timeBasedConfigChange"],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appName:{description:"Application name used by SuperGroup APIs. Required for all SuperGroup renderers.",type:"string"},canEditRoleStatesApplied:{type:"boolean"},canSelectAll:{description:"When true, enables select-all support where SuperGroup supports it.",type:"boolean"},command:{additionalProperties:{},properties:{createIfMissing:{type:"boolean"},errorPath:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},group:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},includeRoleStates:{type:"boolean"},mode:{enum:["read","edit"],type:"string"},refreshMembers:{type:"boolean"},requestId:{type:"string"},responsePath:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},retainFocus:{type:"boolean"},skipMembershipUpdateNotification:{type:"boolean"},type:{enum:["save","extractDraft","reset","setMode"],type:"string"}},required:["type","requestId"],type:"object"},commandPath:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},createPolicy:{description:"Declarative create config used for lazy group creation.",oneOf:[{additionalProperties:{},properties:{groupName:{type:"string"},groupType:{type:"string"},kind:{const:"role",type:"string"},overRideRoleStates:{items:{type:"string"},type:"array"},parent:{type:"string"},provisionRoleState:{type:"string"},spokeId:{type:"string"},subGroupType:{type:"string"}},required:["kind","groupName"],type:"object"},{additionalProperties:{},properties:{controllerKey:{type:"string"},family:{type:"string"},kind:{const:"nonRole",type:"string"},parent:{type:"string"},referenceId:{type:"string"}},required:["kind","family"],type:"object"}]},defaultEditable:{description:"When true, the editor starts in edit mode.",type:"boolean"},defaultRoleStates:{items:{type:"string"},type:"array"},defaultSelectedDateTimeConfig:{additionalProperties:{},propertyNames:{type:"string"},type:"object"},defaultSelectedScheduleEffectiveDateValue:{type:"string"},dropdownPanelMaxHeight:{description:"Maximum dropdown panel height in pixels.",type:"number"},editorPlaceholder:{additionalProperties:{type:"string"},description:"Editor placeholders keyed by INCLUSION and EXCLUSION.",propertyNames:{type:"string"},type:"object"},editorTitle:{additionalProperties:{type:"string"},description:"Editor title labels keyed by INCLUSION and EXCLUSION.",propertyNames:{type:"string"},type:"object"},errorPath:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},family:{description:"Object family used when resolving group metadata.",type:"string"},group:{additionalProperties:{},description:"Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.",propertyNames:{type:"string"},type:"object"},groupDetailsConfig:{additionalProperties:{},description:"JSON-safe group details configuration.",propertyNames:{type:"string"},type:"object"},groupId:{description:"Id of the SuperGroup to fetch and render.",type:"string"},groupTypeConfig:{additionalProperties:{},description:"Group type metadata used by SuperGroup API adapters.",properties:{isInternal:{type:"boolean"},type:{type:"string"}},type:"object"},initialGroup:{additionalProperties:{},description:"Initial serialized group used before a backend group exists.",propertyNames:{type:"string"},type:"object"},isDisabled:{description:"Disables editing controls.",type:"boolean"},isEntityScopeSupported:{type:"boolean"},isScheduleGroupChangesSupported:{type:"boolean"},isTimeBasedConfigurationSupported:{type:"boolean"},minSearchLength:{description:"Minimum characters required before SuperGroup search runs.",type:"number"},mode:{description:"Controlled initial mode. Defaults to edit when defaultEditable is true.",enum:["read","edit"],type:"string"},ownerId:{description:"SpokeOwner id. Required for non-internal application groups.",type:"string"},provisionedRoles:{description:"Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true.",items:{anyOf:[{type:"string"},{additionalProperties:{},properties:{id:{type:"string"}},required:["id"],type:"object"}]},type:"array"},refreshMembers:{description:"Alias for shouldShowRefreshMembersAction. Command-level refreshMembers controls live member refresh during save.",type:"boolean"},requestOptions:{additionalProperties:{},description:"Additional request options forwarded to SuperGroup APIs.",propertyNames:{type:"string"},type:"object"},responsePath:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},ruleOptions:{additionalProperties:{},description:"JSON-safe SuperGroup rule option configuration.",propertyNames:{type:"string"},type:"object"},saveMode:{description:"self renders SuperGroup actions; external expects parent-issued commands.",enum:["self","external"],type:"string"},scheduleEffectiveDateOptions:{items:{},type:"array"},shouldHideEditorTitle:{description:"When true, hides inclusion/exclusion editor titles.",type:"boolean"},shouldIgnoreProvisioningGroup:{description:"When true, excludes provisioning group matching from member previews.",type:"boolean"},shouldRefreshGroupMembersLive:{type:"boolean"},shouldShowActions:{description:"When false, hides built-in save and cancel actions.",type:"boolean"},shouldShowExclusions:{description:"When false, hides exclusion rule editing.",type:"boolean"},shouldShowImportRolesOption:{type:"boolean"},shouldShowRefreshMembersAction:{description:"When true, exposes the manual refresh-members action for role groups.",type:"boolean"},shouldShowRoleStateConfiguration:{type:"boolean"},shouldSkipMembershipUpdateNotification:{type:"boolean"},statePaths:{additionalProperties:!1,description:"Optional state paths the wrapper writes as editor state changes.",properties:{draftGroup:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},errors:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},groupId:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},isBusy:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},isCreating:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},isDirty:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},isLoading:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},isResetting:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},isSaving:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},isValidating:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},lastChangeSource:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},lastSavedAt:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},savedGroup:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},serverErrors:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"},validation:{description:"JSON pointer path in the SDUI state model.",pattern:"^\\/.*",type:"string"}},type:"object"},timeBasedConfigurationOptions:{items:{},type:"array"},validations:{additionalProperties:{},description:"JSON-safe built-in validation configuration.",propertyNames:{type:"string"},type:"object"}},required:["appName","saveMode"],type:"object"},acceptsChildren:!1},SuperGroupGridRenderer:{description:"Compact read-only SuperGroup renderer for table and grid cells.",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appName:{description:"Application name used by SuperGroup APIs. Required for all SuperGroup renderers.",type:"string"},emptyPlaceholder:{description:"Text displayed when the group has no members.",type:"string"},emptyText:{description:"Alias for emptyPlaceholder. Text displayed when empty.",type:"string"},family:{description:"Object family used when resolving group metadata.",type:"string"},group:{additionalProperties:{},description:"Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.",propertyNames:{type:"string"},type:"object"},groupId:{description:"Id of the SuperGroup to fetch and render.",type:"string"},groupTypeConfig:{additionalProperties:{},description:"Group type metadata used by SuperGroup API adapters.",properties:{isInternal:{type:"boolean"},type:{type:"string"}},type:"object"},includedRoleTypes:{description:"Role type filters applied to the preview result.",items:{type:"string"},type:"array"},ownerId:{description:"SpokeOwner id. Required for non-internal application groups.",type:"string"},previewRulesLimit:{description:"Maximum number of rules shown before truncation.",type:"number"},provisionedRoles:{description:"Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true.",items:{anyOf:[{type:"string"},{additionalProperties:{},properties:{id:{type:"string"}},required:["id"],type:"object"}]},type:"array"},requestOptions:{additionalProperties:{},description:"Additional request options forwarded to SuperGroup APIs.",propertyNames:{type:"string"},type:"object"},ruleOptions:{additionalProperties:{},description:"JSON-safe SuperGroup rule option configuration.",propertyNames:{type:"string"},type:"object"},shouldIgnoreProvisioningGroup:{description:"When true, excludes provisioning group matching from member previews.",type:"boolean"},shouldIncludeThirdPartyAdmins:{description:"When true, includes third-party admins in member previews.",type:"boolean"},shouldShowExclusions:{description:"When true, renders excluded-member rules.",type:"boolean"},shouldShowTitle:{description:"When true, renders the preview title.",type:"boolean"},showPreviewMembersInTooltip:{description:"When true, shows preview members inside the grid-cell tooltip.",type:"boolean"},skipThrottling:{description:"When true, skips SuperGroup mount throttling.",type:"boolean"}},required:["appName"],type:"object"},acceptsChildren:!1},SuperGroupMembersViewer:{description:"Read-only SuperGroup members viewer for detail pages and summaries.",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{family:{description:"Object family used when resolving group metadata.",type:"string"},gridTitle:{description:"Title for the members grid.",type:"string"},group:{additionalProperties:{},description:"Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.",propertyNames:{type:"string"},type:"object"},groupId:{description:"Id of the SuperGroup whose members should be rendered.",type:"string"},groupMembersDrawerCaption:{description:"Caption text for the members drawer.",type:"string"},groupMembersDrawerTitle:{description:"Title for the members drawer.",type:"string"},groupTypeConfig:{additionalProperties:{},description:"Group type metadata used by SuperGroup API adapters.",properties:{isInternal:{type:"boolean"},type:{type:"string"}},type:"object"},isPreview:{description:"When true, renders in preview mode.",type:"boolean"},provisionedRoles:{description:"Role ids or serialized role objects provisioned by the parent app or object.",items:{anyOf:[{type:"string"},{additionalProperties:{},properties:{id:{type:"string"}},required:["id"],type:"object"}]},type:"array"},requestOptions:{additionalProperties:{},description:"Additional request options forwarded to SuperGroup APIs.",propertyNames:{type:"string"},type:"object"},shouldIgnoreProvisioningGroup:{description:"When true, excludes provisioning group matching from member previews.",type:"boolean"},shouldShowRefreshMembersAction:{description:"When true, exposes the refresh-members action.",type:"boolean"},theme:{description:"Inline member display mode. Omit for the full member view.",enum:["INLINE_TEXT","INLINE_COUNT"],type:"string"}},type:"object"},acceptsChildren:!1},SuperGroupPreviewV2:{description:"Read-only SuperGroup rule preview. Use this to show membership rules for an existing group without exposing editing controls.",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appName:{description:"Application name used by SuperGroup APIs. Required for all SuperGroup renderers.",type:"string"},emptyPlaceholder:{description:"Text displayed when the group has no members.",type:"string"},emptyText:{description:"Alias for emptyPlaceholder. Text displayed when empty.",type:"string"},family:{description:"Object family used when resolving group metadata.",type:"string"},group:{additionalProperties:{},description:"Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.",propertyNames:{type:"string"},type:"object"},groupId:{description:"Id of the SuperGroup to fetch and render.",type:"string"},groupTypeConfig:{additionalProperties:{},description:"Group type metadata used by SuperGroup API adapters.",properties:{isInternal:{type:"boolean"},type:{type:"string"}},type:"object"},includedRoleTypes:{description:"Role type filters applied to the preview result.",items:{type:"string"},type:"array"},ownerId:{description:"SpokeOwner id. Required for non-internal application groups.",type:"string"},previewRulesLimit:{description:"Maximum number of rules shown before truncation.",type:"number"},provisionedRoles:{description:"Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true.",items:{anyOf:[{type:"string"},{additionalProperties:{},properties:{id:{type:"string"}},required:["id"],type:"object"}]},type:"array"},requestOptions:{additionalProperties:{},description:"Additional request options forwarded to SuperGroup APIs.",propertyNames:{type:"string"},type:"object"},ruleOptions:{additionalProperties:{},description:"JSON-safe SuperGroup rule option configuration.",propertyNames:{type:"string"},type:"object"},shouldIgnoreProvisioningGroup:{description:"When true, excludes provisioning group matching from member previews.",type:"boolean"},shouldIncludeThirdPartyAdmins:{description:"When true, includes third-party admins in member previews.",type:"boolean"},shouldShowExclusions:{description:"When true, renders excluded-member rules.",type:"boolean"},shouldShowTitle:{description:"When true, renders the preview title.",type:"boolean"},skipThrottling:{description:"When true, skips SuperGroup mount throttling.",type:"boolean"}},required:["appName"],type:"object"},acceptsChildren:!1},SuperGroupStateProvider:{description:"Provider that shares SuperGroup secondary data across nested read-only SuperGroup renderers.",events:[],propsSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{appName:{description:"Application name used by SuperGroup APIs. Required for all SuperGroup renderers.",type:"string"},family:{description:"Object family used when resolving group metadata.",type:"string"},group:{additionalProperties:{},description:"Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.",propertyNames:{type:"string"},type:"object"},groupId:{description:"Id of the SuperGroup to fetch and render.",type:"string"},groupTypeConfig:{additionalProperties:{},description:"Group type metadata used by SuperGroup API adapters.",properties:{isInternal:{type:"boolean"},type:{type:"string"}},type:"object"},ownerId:{description:"SpokeOwner id. Required for non-internal application groups.",type:"string"},provisionedRoles:{description:"Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true.",items:{anyOf:[{type:"string"},{additionalProperties:{},properties:{id:{type:"string"}},required:["id"],type:"object"}]},type:"array"},requestOptions:{additionalProperties:{},description:"Additional request options forwarded to SuperGroup APIs.",propertyNames:{type:"string"},type:"object"},shouldIgnoreProvisioningGroup:{description:"When true, excludes provisioning group matching from member previews.",type:"boolean"}},required:["appName"],type:"object"},acceptsChildren:!0}},u={},a={},y={};function R(){return Object.fromEntries(Object.entries(s).map(([e,t])=>[e,String(t.description??"")]))}function C(){return Object.fromEntries(Object.entries(u).map(([e,t])=>[e,String(t.description??"")]))}function E(){return Object.fromEntries(Object.entries(a).map(([e,t])=>[e,String(t.description??"")]))}function q(){return a}function $(){return y}function x(e){if(!(e in s))throw new Error(`Unknown component '${e}'. Available: ${Object.keys(s).join(", ")}`);const t={...s[e]};return delete t.example,t}function T(e){if(!(e in u))throw new Error(`Unknown action '${e}'. Available: ${Object.keys(u).join(", ")}`);return u[e]}function D(e){if(!(e in a))throw new Error(`Unknown function '${e}'. Available: ${Object.keys(a).join(", ")}`);return a[e]}const m=[{type:"object",additionalProperties:!1,properties:{$state:{type:"string"}},required:["$state"]},{type:"object",additionalProperties:!1,properties:{$bindState:{type:"string"}},required:["$bindState"]},{type:"object",additionalProperties:!1,properties:{$item:{type:"string"}},required:["$item"]},{type:"object",additionalProperties:!1,properties:{$bindItem:{type:"string"}},required:["$bindItem"]},{type:"object",additionalProperties:!1,properties:{$index:{}},required:["$index"]},{type:"object",additionalProperties:!1,properties:{$template:{type:"string"}},required:["$template"]},{type:"object",additionalProperties:!1,properties:{$cond:{},$then:{},$else:{}},required:["$cond","$then","$else"]},{type:"object",additionalProperties:!1,properties:{$computed:{type:"string"},args:{type:"object"}},required:["$computed","args"]}];function U(e){return Object.keys(y).length===0?e:{...e,$defs:{...y,...e.$defs??{}}}}function k(e){const t=JSON.parse(JSON.stringify(e)),p=t.properties??{};for(const i of Object.keys(p)){const r=p[i];Array.isArray(r.anyOf)?r.anyOf=[...r.anyOf,...m]:p[i]={anyOf:[r,...m]}}return t}function M(e){return e?e.slice(1).split("/").map(t=>t.replace(/~1/g,"/").replace(/~0/g,"~")).join("."):"(root)"}function J(e){const t=M(e.instancePath);return e.keyword==="anyOf"?`props ${t}: must match the declared schema or a reactive reference`:`props ${t}: ${e.message??"failed schema validation"}`}function _(e,t){const i=new w._2020Exports.Ajv2020({allErrors:!0,strict:!1}).compile(e);if(i(t))return[];const r=i.errors??[],n=new Set(r.filter(o=>o.keyword==="anyOf").map(o=>o.instancePath));return r.filter(o=>o.keyword==="anyOf"?!0:!(o.schemaPath.includes("/anyOf/")&&n.has(o.instancePath))).map(J)}function W(e){const t=[],p=e.elements??{},i=e.root;i&&!(i in p)&&t.push(`Root element '${i}' not found in elements map`);for(const[r,n]of Object.entries(p)){const o=n.type??"";if(!(o in s)){t.push(`Element '${r}': unknown type '${o}'`);continue}const c=s[o],h=c.propsSchema;if(h){const l=U(k(h)),P=n.props??{};for(const v of _(l,P))t.push(`Element '${r}': ${v}`)}const S=n.on??{},g=c.events??[];for(const l of Object.keys(S))g.includes(l)||t.push(`Element '${r}': unknown event '${l}'. Valid: ${g.join(", ")}`);(n.children??[]).length>0&&!c.acceptsChildren&&t.push(`Element '${r}': '${o}' does not accept children`)}return t}function V(e){return{...I.renderElementTree(e.root,e.state),platform:"web",catalog:f,catalogVersion:b}}exports.CATALOG_NAME=f;exports.CATALOG_VERSION=b;exports.SuperGroupEditor=j;exports.SuperGroupGridRenderer=O;exports.SuperGroupMembersViewer=G;exports.SuperGroupPreviewV2=N;exports.SuperGroupStateProvider=A;exports.getAction=T;exports.getActions=C;exports.getComponent=x;exports.getComponents=R;exports.getComputedFunctions=q;exports.getDefs=$;exports.getFunction=D;exports.getFunctions=E;exports.render=V;exports.validate=W;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/catalogs/hub_platform/components.ts","../../../src/catalogs/hub_platform/catalog.ts","../../../src/catalogs/hub_platform/render.ts"],"sourcesContent":["/**\n * Generated component builders for hub_platform.\n *\n * Auto-generated from catalogs/hub_platform.catalog.json — do not edit.\n */\n\nimport type { ComponentInputs } from '#core/component-utils';\nimport { buildNode } from '#core/component-utils';\nimport type { ElementNode } from '#core/elements';\nimport type {\n SuperGroupEditorProps,\n SuperGroupGridRendererProps,\n SuperGroupMembersViewerProps,\n SuperGroupPreviewV2Props,\n SuperGroupStateProviderProps,\n} from './component-props';\nimport type {\n SuperGroupEditorEvents,\n SuperGroupGridRendererEvents,\n SuperGroupMembersViewerEvents,\n SuperGroupPreviewV2Events,\n SuperGroupStateProviderEvents,\n} from './component-events';\n\ntype CatalogElementNode = ElementNode<'web', 'hub_platform'>;\n\nexport const SuperGroupEditor = (\n input: ComponentInputs<SuperGroupEditorProps, SuperGroupEditorEvents>\n): CatalogElementNode =>\n buildNode<'web', 'hub_platform'>('SuperGroupEditor', input);\n\nexport const SuperGroupGridRenderer = (\n input: ComponentInputs<\n SuperGroupGridRendererProps,\n SuperGroupGridRendererEvents\n >\n): CatalogElementNode =>\n buildNode<'web', 'hub_platform'>('SuperGroupGridRenderer', input);\n\nexport const SuperGroupMembersViewer = (\n input: ComponentInputs<\n SuperGroupMembersViewerProps,\n SuperGroupMembersViewerEvents\n >\n): CatalogElementNode =>\n buildNode<'web', 'hub_platform'>('SuperGroupMembersViewer', input);\n\nexport const SuperGroupPreviewV2 = (\n input: ComponentInputs<SuperGroupPreviewV2Props, SuperGroupPreviewV2Events>\n): CatalogElementNode =>\n buildNode<'web', 'hub_platform'>('SuperGroupPreviewV2', input);\n\nexport const SuperGroupStateProvider = (\n input: ComponentInputs<\n SuperGroupStateProviderProps,\n SuperGroupStateProviderEvents,\n true\n >\n): CatalogElementNode =>\n buildNode<'web', 'hub_platform'>('SuperGroupStateProvider', input);\n","/**\n * Catalog introspection utilities for hub_platform.\n *\n * Auto-generated from catalogs/hub_platform.catalog.json — do not edit.\n *\n * Provides runtime access to the raw catalog schema: component definitions,\n * action definitions, and spec validation.\n */\n\nimport { Ajv2020, type ErrorObject } from 'ajv/dist/2020';\n\nexport const CATALOG_NAME = 'hub_platform';\nexport const CATALOG_VERSION = '1.0.0';\n\n// ---------------------------------------------------------------------------\n// Raw catalog data — embedded verbatim from the catalog JSON\n// ---------------------------------------------------------------------------\n\nconst _COMPONENTS: Record<string, Record<string, unknown>> = {\n SuperGroupEditor: {\n description:\n 'Managed editable SuperGroup editor. Use this when SDUI needs to create, edit, save, reset, or extract a SuperGroup without passing React refs or callback props.',\n events: [\n 'load',\n 'change',\n 'validationChange',\n 'editToggle',\n 'saveStart',\n 'saveSuccess',\n 'saveError',\n 'cancel',\n 'roleStateChange',\n 'scopeFilterChange',\n 'timeBasedConfigChange',\n ],\n propsSchema: {\n $schema: 'https://json-schema.org/draft/2020-12/schema',\n additionalProperties: false,\n properties: {\n appName: {\n description:\n 'Application name used by SuperGroup APIs. Required for all SuperGroup renderers.',\n type: 'string',\n },\n canEditRoleStatesApplied: {\n type: 'boolean',\n },\n canSelectAll: {\n description:\n 'When true, enables select-all support where SuperGroup supports it.',\n type: 'boolean',\n },\n command: {\n additionalProperties: {},\n properties: {\n createIfMissing: {\n type: 'boolean',\n },\n errorPath: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n group: {\n additionalProperties: {},\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n includeRoleStates: {\n type: 'boolean',\n },\n mode: {\n enum: ['read', 'edit'],\n type: 'string',\n },\n refreshMembers: {\n type: 'boolean',\n },\n requestId: {\n type: 'string',\n },\n responsePath: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n retainFocus: {\n type: 'boolean',\n },\n skipMembershipUpdateNotification: {\n type: 'boolean',\n },\n type: {\n enum: ['save', 'extractDraft', 'reset', 'setMode'],\n type: 'string',\n },\n },\n required: ['type', 'requestId'],\n type: 'object',\n },\n commandPath: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n createPolicy: {\n description:\n 'Declarative create config used for lazy group creation.',\n oneOf: [\n {\n additionalProperties: {},\n properties: {\n groupName: {\n type: 'string',\n },\n groupType: {\n type: 'string',\n },\n kind: {\n const: 'role',\n type: 'string',\n },\n overRideRoleStates: {\n items: {\n type: 'string',\n },\n type: 'array',\n },\n parent: {\n type: 'string',\n },\n provisionRoleState: {\n type: 'string',\n },\n spokeId: {\n type: 'string',\n },\n subGroupType: {\n type: 'string',\n },\n },\n required: ['kind', 'groupName'],\n type: 'object',\n },\n {\n additionalProperties: {},\n properties: {\n controllerKey: {\n type: 'string',\n },\n family: {\n type: 'string',\n },\n kind: {\n const: 'nonRole',\n type: 'string',\n },\n parent: {\n type: 'string',\n },\n referenceId: {\n type: 'string',\n },\n },\n required: ['kind', 'family'],\n type: 'object',\n },\n ],\n },\n defaultEditable: {\n description: 'When true, the editor starts in edit mode.',\n type: 'boolean',\n },\n defaultRoleStates: {\n items: {\n type: 'string',\n },\n type: 'array',\n },\n defaultSelectedDateTimeConfig: {\n additionalProperties: {},\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n defaultSelectedScheduleEffectiveDateValue: {\n type: 'string',\n },\n dropdownPanelMaxHeight: {\n description: 'Maximum dropdown panel height in pixels.',\n type: 'number',\n },\n editorPlaceholder: {\n additionalProperties: {\n type: 'string',\n },\n description: 'Editor placeholders keyed by INCLUSION and EXCLUSION.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n editorTitle: {\n additionalProperties: {\n type: 'string',\n },\n description: 'Editor title labels keyed by INCLUSION and EXCLUSION.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n errorPath: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n family: {\n description: 'Object family used when resolving group metadata.',\n type: 'string',\n },\n group: {\n additionalProperties: {},\n description:\n 'Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n groupDetailsConfig: {\n additionalProperties: {},\n description: 'JSON-safe group details configuration.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n groupId: {\n description: 'Id of the SuperGroup to fetch and render.',\n type: 'string',\n },\n groupTypeConfig: {\n additionalProperties: {},\n description: 'Group type metadata used by SuperGroup API adapters.',\n properties: {\n isInternal: {\n type: 'boolean',\n },\n type: {\n type: 'string',\n },\n },\n type: 'object',\n },\n initialGroup: {\n additionalProperties: {},\n description:\n 'Initial serialized group used before a backend group exists.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n isDisabled: {\n description: 'Disables editing controls.',\n type: 'boolean',\n },\n isEntityScopeSupported: {\n type: 'boolean',\n },\n isScheduleGroupChangesSupported: {\n type: 'boolean',\n },\n isTimeBasedConfigurationSupported: {\n type: 'boolean',\n },\n minSearchLength: {\n description:\n 'Minimum characters required before SuperGroup search runs.',\n type: 'number',\n },\n mode: {\n description:\n 'Controlled initial mode. Defaults to edit when defaultEditable is true.',\n enum: ['read', 'edit'],\n type: 'string',\n },\n ownerId: {\n description:\n 'SpokeOwner id. Required for non-internal application groups.',\n type: 'string',\n },\n provisionedRoles: {\n description:\n 'Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true.',\n items: {\n anyOf: [\n {\n type: 'string',\n },\n {\n additionalProperties: {},\n properties: {\n id: {\n type: 'string',\n },\n },\n required: ['id'],\n type: 'object',\n },\n ],\n },\n type: 'array',\n },\n refreshMembers: {\n description:\n 'Alias for shouldShowRefreshMembersAction. Command-level refreshMembers controls live member refresh during save.',\n type: 'boolean',\n },\n requestOptions: {\n additionalProperties: {},\n description:\n 'Additional request options forwarded to SuperGroup APIs.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n responsePath: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n ruleOptions: {\n additionalProperties: {},\n description: 'JSON-safe SuperGroup rule option configuration.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n saveMode: {\n description:\n 'self renders SuperGroup actions; external expects parent-issued commands.',\n enum: ['self', 'external'],\n type: 'string',\n },\n scheduleEffectiveDateOptions: {\n items: {},\n type: 'array',\n },\n shouldHideEditorTitle: {\n description: 'When true, hides inclusion/exclusion editor titles.',\n type: 'boolean',\n },\n shouldIgnoreProvisioningGroup: {\n description:\n 'When true, excludes provisioning group matching from member previews.',\n type: 'boolean',\n },\n shouldRefreshGroupMembersLive: {\n type: 'boolean',\n },\n shouldShowActions: {\n description: 'When false, hides built-in save and cancel actions.',\n type: 'boolean',\n },\n shouldShowExclusions: {\n description: 'When false, hides exclusion rule editing.',\n type: 'boolean',\n },\n shouldShowImportRolesOption: {\n type: 'boolean',\n },\n shouldShowRefreshMembersAction: {\n description:\n 'When true, exposes the manual refresh-members action for role groups.',\n type: 'boolean',\n },\n shouldShowRoleStateConfiguration: {\n type: 'boolean',\n },\n shouldSkipMembershipUpdateNotification: {\n type: 'boolean',\n },\n statePaths: {\n additionalProperties: false,\n description:\n 'Optional state paths the wrapper writes as editor state changes.',\n properties: {\n draftGroup: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n errors: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n groupId: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n isBusy: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n isCreating: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n isDirty: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n isLoading: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n isResetting: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n isSaving: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n isValidating: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n lastChangeSource: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n lastSavedAt: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n savedGroup: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n serverErrors: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n validation: {\n description: 'JSON pointer path in the SDUI state model.',\n pattern: '^\\\\/.*',\n type: 'string',\n },\n },\n type: 'object',\n },\n timeBasedConfigurationOptions: {\n items: {},\n type: 'array',\n },\n validations: {\n additionalProperties: {},\n description: 'JSON-safe built-in validation configuration.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n },\n required: ['appName', 'saveMode'],\n type: 'object',\n },\n acceptsChildren: false,\n },\n SuperGroupGridRenderer: {\n description:\n 'Compact read-only SuperGroup renderer for table and grid cells.',\n events: [],\n propsSchema: {\n $schema: 'https://json-schema.org/draft/2020-12/schema',\n additionalProperties: false,\n properties: {\n appName: {\n description:\n 'Application name used by SuperGroup APIs. Required for all SuperGroup renderers.',\n type: 'string',\n },\n emptyPlaceholder: {\n description: 'Text displayed when the group has no members.',\n type: 'string',\n },\n emptyText: {\n description: 'Alias for emptyPlaceholder. Text displayed when empty.',\n type: 'string',\n },\n family: {\n description: 'Object family used when resolving group metadata.',\n type: 'string',\n },\n group: {\n additionalProperties: {},\n description:\n 'Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n groupId: {\n description: 'Id of the SuperGroup to fetch and render.',\n type: 'string',\n },\n groupTypeConfig: {\n additionalProperties: {},\n description: 'Group type metadata used by SuperGroup API adapters.',\n properties: {\n isInternal: {\n type: 'boolean',\n },\n type: {\n type: 'string',\n },\n },\n type: 'object',\n },\n includedRoleTypes: {\n description: 'Role type filters applied to the preview result.',\n items: {\n type: 'string',\n },\n type: 'array',\n },\n ownerId: {\n description:\n 'SpokeOwner id. Required for non-internal application groups.',\n type: 'string',\n },\n previewRulesLimit: {\n description: 'Maximum number of rules shown before truncation.',\n type: 'number',\n },\n provisionedRoles: {\n description:\n 'Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true.',\n items: {\n anyOf: [\n {\n type: 'string',\n },\n {\n additionalProperties: {},\n properties: {\n id: {\n type: 'string',\n },\n },\n required: ['id'],\n type: 'object',\n },\n ],\n },\n type: 'array',\n },\n requestOptions: {\n additionalProperties: {},\n description:\n 'Additional request options forwarded to SuperGroup APIs.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n ruleOptions: {\n additionalProperties: {},\n description: 'JSON-safe SuperGroup rule option configuration.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n shouldIgnoreProvisioningGroup: {\n description:\n 'When true, excludes provisioning group matching from member previews.',\n type: 'boolean',\n },\n shouldIncludeThirdPartyAdmins: {\n description:\n 'When true, includes third-party admins in member previews.',\n type: 'boolean',\n },\n shouldShowExclusions: {\n description: 'When true, renders excluded-member rules.',\n type: 'boolean',\n },\n shouldShowTitle: {\n description: 'When true, renders the preview title.',\n type: 'boolean',\n },\n showPreviewMembersInTooltip: {\n description:\n 'When true, shows preview members inside the grid-cell tooltip.',\n type: 'boolean',\n },\n skipThrottling: {\n description: 'When true, skips SuperGroup mount throttling.',\n type: 'boolean',\n },\n },\n required: ['appName'],\n type: 'object',\n },\n acceptsChildren: false,\n },\n SuperGroupMembersViewer: {\n description:\n 'Read-only SuperGroup members viewer for detail pages and summaries.',\n events: [],\n propsSchema: {\n $schema: 'https://json-schema.org/draft/2020-12/schema',\n additionalProperties: false,\n properties: {\n family: {\n description: 'Object family used when resolving group metadata.',\n type: 'string',\n },\n gridTitle: {\n description: 'Title for the members grid.',\n type: 'string',\n },\n group: {\n additionalProperties: {},\n description:\n 'Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n groupId: {\n description: 'Id of the SuperGroup whose members should be rendered.',\n type: 'string',\n },\n groupMembersDrawerCaption: {\n description: 'Caption text for the members drawer.',\n type: 'string',\n },\n groupMembersDrawerTitle: {\n description: 'Title for the members drawer.',\n type: 'string',\n },\n groupTypeConfig: {\n additionalProperties: {},\n description: 'Group type metadata used by SuperGroup API adapters.',\n properties: {\n isInternal: {\n type: 'boolean',\n },\n type: {\n type: 'string',\n },\n },\n type: 'object',\n },\n isPreview: {\n description: 'When true, renders in preview mode.',\n type: 'boolean',\n },\n provisionedRoles: {\n description:\n 'Role ids or serialized role objects provisioned by the parent app or object.',\n items: {\n anyOf: [\n {\n type: 'string',\n },\n {\n additionalProperties: {},\n properties: {\n id: {\n type: 'string',\n },\n },\n required: ['id'],\n type: 'object',\n },\n ],\n },\n type: 'array',\n },\n requestOptions: {\n additionalProperties: {},\n description:\n 'Additional request options forwarded to SuperGroup APIs.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n shouldIgnoreProvisioningGroup: {\n description:\n 'When true, excludes provisioning group matching from member previews.',\n type: 'boolean',\n },\n shouldShowRefreshMembersAction: {\n description: 'When true, exposes the refresh-members action.',\n type: 'boolean',\n },\n theme: {\n description:\n 'Inline member display mode. Omit for the full member view.',\n enum: ['INLINE_TEXT', 'INLINE_COUNT'],\n type: 'string',\n },\n },\n type: 'object',\n },\n acceptsChildren: false,\n },\n SuperGroupPreviewV2: {\n description:\n 'Read-only SuperGroup rule preview. Use this to show membership rules for an existing group without exposing editing controls.',\n events: [],\n propsSchema: {\n $schema: 'https://json-schema.org/draft/2020-12/schema',\n additionalProperties: false,\n properties: {\n appName: {\n description:\n 'Application name used by SuperGroup APIs. Required for all SuperGroup renderers.',\n type: 'string',\n },\n emptyPlaceholder: {\n description: 'Text displayed when the group has no members.',\n type: 'string',\n },\n emptyText: {\n description: 'Alias for emptyPlaceholder. Text displayed when empty.',\n type: 'string',\n },\n family: {\n description: 'Object family used when resolving group metadata.',\n type: 'string',\n },\n group: {\n additionalProperties: {},\n description:\n 'Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n groupId: {\n description: 'Id of the SuperGroup to fetch and render.',\n type: 'string',\n },\n groupTypeConfig: {\n additionalProperties: {},\n description: 'Group type metadata used by SuperGroup API adapters.',\n properties: {\n isInternal: {\n type: 'boolean',\n },\n type: {\n type: 'string',\n },\n },\n type: 'object',\n },\n includedRoleTypes: {\n description: 'Role type filters applied to the preview result.',\n items: {\n type: 'string',\n },\n type: 'array',\n },\n ownerId: {\n description:\n 'SpokeOwner id. Required for non-internal application groups.',\n type: 'string',\n },\n previewRulesLimit: {\n description: 'Maximum number of rules shown before truncation.',\n type: 'number',\n },\n provisionedRoles: {\n description:\n 'Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true.',\n items: {\n anyOf: [\n {\n type: 'string',\n },\n {\n additionalProperties: {},\n properties: {\n id: {\n type: 'string',\n },\n },\n required: ['id'],\n type: 'object',\n },\n ],\n },\n type: 'array',\n },\n requestOptions: {\n additionalProperties: {},\n description:\n 'Additional request options forwarded to SuperGroup APIs.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n ruleOptions: {\n additionalProperties: {},\n description: 'JSON-safe SuperGroup rule option configuration.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n shouldIgnoreProvisioningGroup: {\n description:\n 'When true, excludes provisioning group matching from member previews.',\n type: 'boolean',\n },\n shouldIncludeThirdPartyAdmins: {\n description:\n 'When true, includes third-party admins in member previews.',\n type: 'boolean',\n },\n shouldShowExclusions: {\n description: 'When true, renders excluded-member rules.',\n type: 'boolean',\n },\n shouldShowTitle: {\n description: 'When true, renders the preview title.',\n type: 'boolean',\n },\n skipThrottling: {\n description: 'When true, skips SuperGroup mount throttling.',\n type: 'boolean',\n },\n },\n required: ['appName'],\n type: 'object',\n },\n acceptsChildren: false,\n },\n SuperGroupStateProvider: {\n description:\n 'Provider that shares SuperGroup secondary data across nested read-only SuperGroup renderers.',\n events: [],\n propsSchema: {\n $schema: 'https://json-schema.org/draft/2020-12/schema',\n additionalProperties: false,\n properties: {\n appName: {\n description:\n 'Application name used by SuperGroup APIs. Required for all SuperGroup renderers.',\n type: 'string',\n },\n family: {\n description: 'Object family used when resolving group metadata.',\n type: 'string',\n },\n group: {\n additionalProperties: {},\n description:\n 'Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n groupId: {\n description: 'Id of the SuperGroup to fetch and render.',\n type: 'string',\n },\n groupTypeConfig: {\n additionalProperties: {},\n description: 'Group type metadata used by SuperGroup API adapters.',\n properties: {\n isInternal: {\n type: 'boolean',\n },\n type: {\n type: 'string',\n },\n },\n type: 'object',\n },\n ownerId: {\n description:\n 'SpokeOwner id. Required for non-internal application groups.',\n type: 'string',\n },\n provisionedRoles: {\n description:\n 'Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true.',\n items: {\n anyOf: [\n {\n type: 'string',\n },\n {\n additionalProperties: {},\n properties: {\n id: {\n type: 'string',\n },\n },\n required: ['id'],\n type: 'object',\n },\n ],\n },\n type: 'array',\n },\n requestOptions: {\n additionalProperties: {},\n description:\n 'Additional request options forwarded to SuperGroup APIs.',\n propertyNames: {\n type: 'string',\n },\n type: 'object',\n },\n shouldIgnoreProvisioningGroup: {\n description:\n 'When true, excludes provisioning group matching from member previews.',\n type: 'boolean',\n },\n },\n required: ['appName'],\n type: 'object',\n },\n acceptsChildren: true,\n },\n};\n\nconst _ACTIONS: Record<string, Record<string, unknown>> = {};\n\nconst _FUNCTIONS: Record<string, Record<string, unknown>> = {};\n\nconst _DEFS: Record<string, Record<string, unknown>> = {};\n\n// ---------------------------------------------------------------------------\n// Public introspection API\n// ---------------------------------------------------------------------------\n\n/** Return component descriptions keyed by component name. */\nexport function getComponents(): Record<string, string> {\n return Object.fromEntries(\n Object.entries(_COMPONENTS).map(([name, defn]) => [\n name,\n String(defn.description ?? ''),\n ])\n );\n}\n\n/** Return action descriptions keyed by action name. */\nexport function getActions(): Record<string, string> {\n return Object.fromEntries(\n Object.entries(_ACTIONS).map(([name, defn]) => [\n name,\n String(defn.description ?? ''),\n ])\n );\n}\n\n/** Return computed function descriptions keyed by function name. */\nexport function getFunctions(): Record<string, string> {\n return Object.fromEntries(\n Object.entries(_FUNCTIONS).map(([name, defn]) => [\n name,\n String(defn.description ?? ''),\n ])\n );\n}\n\n/** Return full computed function definitions keyed by function name. */\nexport function getComputedFunctions(): Record<\n string,\n Record<string, unknown>\n> {\n return _FUNCTIONS;\n}\n\n/** Return reusable JSON Schema definitions keyed by definition name. */\nexport function getDefs(): Record<string, Record<string, unknown>> {\n return _DEFS;\n}\n\n/** Get the full JSON definition of a component by name. */\nexport function getComponent(name: string): Record<string, unknown> {\n if (!(name in _COMPONENTS)) {\n throw new Error(\n `Unknown component '${name}'. Available: ${Object.keys(_COMPONENTS).join(', ')}`\n );\n }\n const definition = { ..._COMPONENTS[name] };\n delete definition.example;\n return definition;\n}\n\n/** Get the full JSON definition of an action by name. */\nexport function getAction(name: string): Record<string, unknown> {\n if (!(name in _ACTIONS)) {\n throw new Error(\n `Unknown action '${name}'. Available: ${Object.keys(_ACTIONS).join(', ')}`\n );\n }\n return _ACTIONS[name];\n}\n\n/** Get the full JSON definition of a computed function by name. */\nexport function getFunction(name: string): Record<string, unknown> {\n if (!(name in _FUNCTIONS)) {\n throw new Error(\n `Unknown function '${name}'. Available: ${Object.keys(_FUNCTIONS).join(', ')}`\n );\n }\n return _FUNCTIONS[name];\n}\n\n// Prop value refs — objects like {\"$state\": \"/path\"}, {\"$item\": \"field\"}, etc.\nconst _PROP_VALUE_REF_SCHEMAS = [\n {\n type: 'object',\n additionalProperties: false,\n properties: { $state: { type: 'string' } },\n required: ['$state'],\n },\n {\n type: 'object',\n additionalProperties: false,\n properties: { $bindState: { type: 'string' } },\n required: ['$bindState'],\n },\n {\n type: 'object',\n additionalProperties: false,\n properties: { $item: { type: 'string' } },\n required: ['$item'],\n },\n {\n type: 'object',\n additionalProperties: false,\n properties: { $bindItem: { type: 'string' } },\n required: ['$bindItem'],\n },\n {\n type: 'object',\n additionalProperties: false,\n properties: { $index: {} },\n required: ['$index'],\n },\n {\n type: 'object',\n additionalProperties: false,\n properties: { $template: { type: 'string' } },\n required: ['$template'],\n },\n {\n type: 'object',\n additionalProperties: false,\n properties: { $cond: {}, $then: {}, $else: {} },\n required: ['$cond', '$then', '$else'],\n },\n {\n type: 'object',\n additionalProperties: false,\n properties: { $computed: { type: 'string' }, args: { type: 'object' } },\n required: ['$computed', 'args'],\n },\n];\n\ntype JsonSchema = Record<string, unknown> & {\n anyOf?: unknown[];\n properties?: Record<string, JsonSchema>;\n $defs?: Record<string, Record<string, unknown>>;\n};\n\nfunction _withCatalogDefs(schema: JsonSchema): JsonSchema {\n if (Object.keys(_DEFS).length === 0) {\n return schema;\n }\n\n return {\n ...schema,\n $defs: {\n ..._DEFS,\n ...(schema.$defs ?? {}),\n },\n };\n}\n\nfunction _withPropValueRefs(schema: JsonSchema): JsonSchema {\n const result = JSON.parse(JSON.stringify(schema)) as JsonSchema;\n const properties = result.properties ?? {};\n for (const propName of Object.keys(properties)) {\n const propSchema = properties[propName];\n if (Array.isArray(propSchema.anyOf)) {\n propSchema.anyOf = [...propSchema.anyOf, ..._PROP_VALUE_REF_SCHEMAS];\n } else {\n properties[propName] = {\n anyOf: [propSchema, ..._PROP_VALUE_REF_SCHEMAS],\n };\n }\n }\n return result;\n}\n\nfunction _formatJsonPointer(pointer: string): string {\n if (!pointer) {\n return '(root)';\n }\n\n return pointer\n .slice(1)\n .split('/')\n .map(part => part.replace(/~1/g, '/').replace(/~0/g, '~'))\n .join('.');\n}\n\nfunction _formatValidationError(error: ErrorObject): string {\n const path = _formatJsonPointer(error.instancePath);\n if (error.keyword === 'anyOf') {\n return `props ${path}: must match the declared schema or a reactive reference`;\n }\n\n return `props ${path}: ${error.message ?? 'failed schema validation'}`;\n}\n\nfunction _schemaErrors(\n schema: Record<string, unknown>,\n value: unknown\n): string[] {\n const ajv = new Ajv2020({ allErrors: true, strict: false });\n const validateSchema = ajv.compile(schema);\n if (validateSchema(value)) {\n return [];\n }\n\n const validationErrors = validateSchema.errors ?? [];\n const anyOfPaths = new Set(\n validationErrors\n .filter((error: ErrorObject) => error.keyword === 'anyOf')\n .map((error: ErrorObject) => error.instancePath)\n );\n\n return validationErrors\n .filter((error: ErrorObject) => {\n if (error.keyword === 'anyOf') {\n return true;\n }\n return !(\n error.schemaPath.includes('/anyOf/') &&\n anyOfPaths.has(error.instancePath)\n );\n })\n .map(_formatValidationError);\n}\n\n/**\n * Validate a rendered spec against this catalog's schema.\n * Returns a list of error messages. Empty list means valid.\n */\nexport function validate(spec: { [key: string]: unknown }): string[] {\n const errors: string[] = [];\n const elements = (spec.elements ?? {}) as Record<\n string,\n Record<string, unknown>\n >;\n\n // Check root exists\n const rootId = spec.root as string | undefined;\n if (rootId && !(rootId in elements)) {\n errors.push(`Root element '${rootId}' not found in elements map`);\n }\n\n // Check each element\n for (const [elId, el] of Object.entries(elements)) {\n const elType = (el.type ?? '') as string;\n\n if (!(elType in _COMPONENTS)) {\n errors.push(`Element '${elId}': unknown type '${elType}'`);\n continue;\n }\n\n const defn = _COMPONENTS[elType];\n\n // Validate props against propsSchema\n const propsSchema = defn.propsSchema as JsonSchema | undefined;\n if (propsSchema) {\n const extended = _withCatalogDefs(_withPropValueRefs(propsSchema));\n const props = (el.props ?? {}) as Record<string, unknown>;\n for (const error of _schemaErrors(extended, props)) {\n errors.push(`Element '${elId}': ${error}`);\n }\n }\n\n // Valid event names\n const onHandlers = (el.on ?? {}) as Record<string, unknown>;\n const validEvents = (defn.events ?? []) as string[];\n for (const eventName of Object.keys(onHandlers)) {\n if (!validEvents.includes(eventName)) {\n errors.push(\n `Element '${elId}': unknown event '${eventName}'. Valid: ${validEvents.join(', ')}`\n );\n }\n }\n\n // Children on leaf components\n const children = (el.children ?? []) as unknown[];\n if (children.length > 0 && !(defn.acceptsChildren as boolean)) {\n errors.push(`Element '${elId}': '${elType}' does not accept children`);\n }\n }\n\n return errors;\n}\n","/**\n * Catalog-scoped render for hub_platform.\n *\n * Auto-generated from catalogs/hub_platform.catalog.json — do not edit.\n */\n\nimport type { ElementNode } from '#core/elements';\nimport type { CoreSpec } from '#core/spec';\nimport { renderElementTree } from '#core/spec';\nimport { CATALOG_NAME, CATALOG_VERSION } from './catalog';\n\nexport interface CatalogSpec extends CoreSpec {\n platform: 'web';\n catalog: string;\n catalogVersion: string;\n}\n\ntype CatalogElementNode = ElementNode<'web', 'hub_platform'>;\n\n/**\n * Render an element tree into a flat json-render spec tagged with\n * the hub_platform catalog name and version.\n *\n * This is the catalog-level render — consumers import this instead\n * of using createSpec().render() directly.\n */\nexport function render<TState extends object = Record<string, unknown>>(opts: {\n root: CatalogElementNode;\n state?: TState;\n}): CatalogSpec {\n const spec = renderElementTree(opts.root, opts.state);\n\n return {\n ...spec,\n platform: 'web',\n catalog: CATALOG_NAME,\n catalogVersion: CATALOG_VERSION,\n };\n}\n"],"names":["SuperGroupEditor","input","buildNode","SuperGroupGridRenderer","SuperGroupMembersViewer","SuperGroupPreviewV2","SuperGroupStateProvider","CATALOG_NAME","CATALOG_VERSION","_COMPONENTS","_ACTIONS","_FUNCTIONS","_DEFS","getComponents","name","defn","getActions","getFunctions","getComputedFunctions","getDefs","getComponent","definition","getAction","getFunction","_PROP_VALUE_REF_SCHEMAS","_withCatalogDefs","schema","_withPropValueRefs","result","properties","propName","propSchema","_formatJsonPointer","pointer","part","_formatValidationError","error","path","_schemaErrors","value","validateSchema","Ajv2020","validationErrors","anyOfPaths","validate","spec","errors","elements","rootId","elId","el","elType","propsSchema","extended","props","onHandlers","validEvents","eventName","render","opts","renderElementTree"],"mappings":"wMA0BaA,EACXC,GAEAC,EAAAA,UAAiC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AAU1C,GAAc,CAC5BqC,EAAO,KAAK,YAAYG,CAAI,oBAAoBE,CAAM,GAAG,EACzD,QACF,CAEA,MAAMpC,EAAON,EAAY0C,CAAM,EAGzBC,EAAcrC,EAAK,YACzB,GAAIqC,EAAa,CACf,MAAMC,EAAW5B,EAAiBE,EAAmByB,CAAW,CAAC,EAC3DE,EAASJ,EAAG,OAAS,CAAA,EAC3B,UAAWd,KAASE,EAAce,EAAUC,CAAK,EAC/CR,EAAO,KAAK,YAAYG,CAAI,MAAMb,CAAK,EAAE,CAE7C,CAGA,MAAMmB,EAAcL,EAAG,IAAM,CAAA,EACvBM,EAAezC,EAAK,QAAU,CAAA,EACpC,UAAW0C,KAAa,OAAO,KAAKF,CAAU,EACvCC,EAAY,SAASC,CAAS,GACjCX,EAAO,KACL,YAAYG,CAAI,qBAAqBQ,CAAS,aAAaD,EAAY,KAAK,IAAI,CAAC,EAAA,GAMrEN,EAAG,UAAY,CAAA,GACpB,OAAS,GAAK,CAAEnC,EAAK,iBAChC+B,EAAO,KAAK,YAAYG,CAAI,OAAOE,CAAM,4BAA4B,CAEzE,CAEA,OAAOL,CACT,CC/rCO,SAASY,EAAwDC,EAGxD,CAGd,MAAO,CACL,GAHWC,EAAAA,kBAAkBD,EAAK,KAAMA,EAAK,KAAK,EAIlD,SAAU,MACV,QAASpD,EACT,eAAgBC,CAAA,CAEpB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* hub_platform — generated catalog module.
|
|
3
|
+
*
|
|
4
|
+
* Auto-generated from catalogs/hub_platform.catalog.json — do not edit.
|
|
5
|
+
*/
|
|
6
|
+
export { SuperGroupEditor, SuperGroupGridRenderer, SuperGroupMembersViewer, SuperGroupPreviewV2, SuperGroupStateProvider, } from './components';
|
|
7
|
+
export type { Command, CreatePolicy, DefaultSelectedDateTimeConfig, EditorPlaceholder, EditorTitle, GroupDetailsConfig, InitialGroup, StatePath, SuperGroupEditorGroup, SuperGroupEditorGroupTypeConfig, SuperGroupEditorProps, SuperGroupEditorProvisionedRole, SuperGroupEditorRequestOption, SuperGroupEditorRuleOption, SuperGroupGridRendererGroup, SuperGroupGridRendererGroupTypeConfig, SuperGroupGridRendererProps, SuperGroupGridRendererProvisionedRole, SuperGroupGridRendererRequestOption, SuperGroupGridRendererRuleOption, SuperGroupMembersViewerGroup, SuperGroupMembersViewerGroupTypeConfig, SuperGroupMembersViewerProps, SuperGroupMembersViewerProvisionedRole, SuperGroupMembersViewerRequestOption, SuperGroupPreviewV2Group, SuperGroupPreviewV2GroupTypeConfig, SuperGroupPreviewV2Props, SuperGroupPreviewV2ProvisionedRole, SuperGroupPreviewV2RequestOption, SuperGroupPreviewV2RuleOption, SuperGroupStateProviderGroup, SuperGroupStateProviderGroupTypeConfig, SuperGroupStateProviderProps, SuperGroupStateProviderProvisionedRole, SuperGroupStateProviderRequestOption, Validation, } from './component-props';
|
|
8
|
+
export type { SuperGroupEditorEvents, SuperGroupGridRendererEvents, SuperGroupMembersViewerEvents, SuperGroupPreviewV2Events, SuperGroupStateProviderEvents, } from './component-events';
|
|
9
|
+
export { CATALOG_NAME, CATALOG_VERSION, getComponents, getActions, getFunctions, getComputedFunctions, getDefs, getComponent, getAction, getFunction, validate, } from './catalog';
|
|
10
|
+
export { render } from './render';
|
|
11
|
+
export type { CatalogSpec } from './render';
|