@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,1087 @@
|
|
|
1
|
+
import { buildNode as d } from "../../core/component-utils.js";
|
|
2
|
+
import { _ as P } from "../../2020-PBERvPzO.js";
|
|
3
|
+
import { renderElementTree as v } from "../../core/spec.js";
|
|
4
|
+
const x = (e) => d("SuperGroupEditor", e), C = (e) => d("SuperGroupGridRenderer", e), T = (e) => d("SuperGroupMembersViewer", e), D = (e) => d("SuperGroupPreviewV2", e), U = (e) => d("SuperGroupStateProvider", e), w = "hub_platform", I = "1.0.0", s = {
|
|
5
|
+
SuperGroupEditor: {
|
|
6
|
+
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.",
|
|
7
|
+
events: [
|
|
8
|
+
"load",
|
|
9
|
+
"change",
|
|
10
|
+
"validationChange",
|
|
11
|
+
"editToggle",
|
|
12
|
+
"saveStart",
|
|
13
|
+
"saveSuccess",
|
|
14
|
+
"saveError",
|
|
15
|
+
"cancel",
|
|
16
|
+
"roleStateChange",
|
|
17
|
+
"scopeFilterChange",
|
|
18
|
+
"timeBasedConfigChange"
|
|
19
|
+
],
|
|
20
|
+
propsSchema: {
|
|
21
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
22
|
+
additionalProperties: !1,
|
|
23
|
+
properties: {
|
|
24
|
+
appName: {
|
|
25
|
+
description: "Application name used by SuperGroup APIs. Required for all SuperGroup renderers.",
|
|
26
|
+
type: "string"
|
|
27
|
+
},
|
|
28
|
+
canEditRoleStatesApplied: {
|
|
29
|
+
type: "boolean"
|
|
30
|
+
},
|
|
31
|
+
canSelectAll: {
|
|
32
|
+
description: "When true, enables select-all support where SuperGroup supports it.",
|
|
33
|
+
type: "boolean"
|
|
34
|
+
},
|
|
35
|
+
command: {
|
|
36
|
+
additionalProperties: {},
|
|
37
|
+
properties: {
|
|
38
|
+
createIfMissing: {
|
|
39
|
+
type: "boolean"
|
|
40
|
+
},
|
|
41
|
+
errorPath: {
|
|
42
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
43
|
+
pattern: "^\\/.*",
|
|
44
|
+
type: "string"
|
|
45
|
+
},
|
|
46
|
+
group: {
|
|
47
|
+
additionalProperties: {},
|
|
48
|
+
propertyNames: {
|
|
49
|
+
type: "string"
|
|
50
|
+
},
|
|
51
|
+
type: "object"
|
|
52
|
+
},
|
|
53
|
+
includeRoleStates: {
|
|
54
|
+
type: "boolean"
|
|
55
|
+
},
|
|
56
|
+
mode: {
|
|
57
|
+
enum: ["read", "edit"],
|
|
58
|
+
type: "string"
|
|
59
|
+
},
|
|
60
|
+
refreshMembers: {
|
|
61
|
+
type: "boolean"
|
|
62
|
+
},
|
|
63
|
+
requestId: {
|
|
64
|
+
type: "string"
|
|
65
|
+
},
|
|
66
|
+
responsePath: {
|
|
67
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
68
|
+
pattern: "^\\/.*",
|
|
69
|
+
type: "string"
|
|
70
|
+
},
|
|
71
|
+
retainFocus: {
|
|
72
|
+
type: "boolean"
|
|
73
|
+
},
|
|
74
|
+
skipMembershipUpdateNotification: {
|
|
75
|
+
type: "boolean"
|
|
76
|
+
},
|
|
77
|
+
type: {
|
|
78
|
+
enum: ["save", "extractDraft", "reset", "setMode"],
|
|
79
|
+
type: "string"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
required: ["type", "requestId"],
|
|
83
|
+
type: "object"
|
|
84
|
+
},
|
|
85
|
+
commandPath: {
|
|
86
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
87
|
+
pattern: "^\\/.*",
|
|
88
|
+
type: "string"
|
|
89
|
+
},
|
|
90
|
+
createPolicy: {
|
|
91
|
+
description: "Declarative create config used for lazy group creation.",
|
|
92
|
+
oneOf: [
|
|
93
|
+
{
|
|
94
|
+
additionalProperties: {},
|
|
95
|
+
properties: {
|
|
96
|
+
groupName: {
|
|
97
|
+
type: "string"
|
|
98
|
+
},
|
|
99
|
+
groupType: {
|
|
100
|
+
type: "string"
|
|
101
|
+
},
|
|
102
|
+
kind: {
|
|
103
|
+
const: "role",
|
|
104
|
+
type: "string"
|
|
105
|
+
},
|
|
106
|
+
overRideRoleStates: {
|
|
107
|
+
items: {
|
|
108
|
+
type: "string"
|
|
109
|
+
},
|
|
110
|
+
type: "array"
|
|
111
|
+
},
|
|
112
|
+
parent: {
|
|
113
|
+
type: "string"
|
|
114
|
+
},
|
|
115
|
+
provisionRoleState: {
|
|
116
|
+
type: "string"
|
|
117
|
+
},
|
|
118
|
+
spokeId: {
|
|
119
|
+
type: "string"
|
|
120
|
+
},
|
|
121
|
+
subGroupType: {
|
|
122
|
+
type: "string"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
required: ["kind", "groupName"],
|
|
126
|
+
type: "object"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
additionalProperties: {},
|
|
130
|
+
properties: {
|
|
131
|
+
controllerKey: {
|
|
132
|
+
type: "string"
|
|
133
|
+
},
|
|
134
|
+
family: {
|
|
135
|
+
type: "string"
|
|
136
|
+
},
|
|
137
|
+
kind: {
|
|
138
|
+
const: "nonRole",
|
|
139
|
+
type: "string"
|
|
140
|
+
},
|
|
141
|
+
parent: {
|
|
142
|
+
type: "string"
|
|
143
|
+
},
|
|
144
|
+
referenceId: {
|
|
145
|
+
type: "string"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
required: ["kind", "family"],
|
|
149
|
+
type: "object"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
defaultEditable: {
|
|
154
|
+
description: "When true, the editor starts in edit mode.",
|
|
155
|
+
type: "boolean"
|
|
156
|
+
},
|
|
157
|
+
defaultRoleStates: {
|
|
158
|
+
items: {
|
|
159
|
+
type: "string"
|
|
160
|
+
},
|
|
161
|
+
type: "array"
|
|
162
|
+
},
|
|
163
|
+
defaultSelectedDateTimeConfig: {
|
|
164
|
+
additionalProperties: {},
|
|
165
|
+
propertyNames: {
|
|
166
|
+
type: "string"
|
|
167
|
+
},
|
|
168
|
+
type: "object"
|
|
169
|
+
},
|
|
170
|
+
defaultSelectedScheduleEffectiveDateValue: {
|
|
171
|
+
type: "string"
|
|
172
|
+
},
|
|
173
|
+
dropdownPanelMaxHeight: {
|
|
174
|
+
description: "Maximum dropdown panel height in pixels.",
|
|
175
|
+
type: "number"
|
|
176
|
+
},
|
|
177
|
+
editorPlaceholder: {
|
|
178
|
+
additionalProperties: {
|
|
179
|
+
type: "string"
|
|
180
|
+
},
|
|
181
|
+
description: "Editor placeholders keyed by INCLUSION and EXCLUSION.",
|
|
182
|
+
propertyNames: {
|
|
183
|
+
type: "string"
|
|
184
|
+
},
|
|
185
|
+
type: "object"
|
|
186
|
+
},
|
|
187
|
+
editorTitle: {
|
|
188
|
+
additionalProperties: {
|
|
189
|
+
type: "string"
|
|
190
|
+
},
|
|
191
|
+
description: "Editor title labels keyed by INCLUSION and EXCLUSION.",
|
|
192
|
+
propertyNames: {
|
|
193
|
+
type: "string"
|
|
194
|
+
},
|
|
195
|
+
type: "object"
|
|
196
|
+
},
|
|
197
|
+
errorPath: {
|
|
198
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
199
|
+
pattern: "^\\/.*",
|
|
200
|
+
type: "string"
|
|
201
|
+
},
|
|
202
|
+
family: {
|
|
203
|
+
description: "Object family used when resolving group metadata.",
|
|
204
|
+
type: "string"
|
|
205
|
+
},
|
|
206
|
+
group: {
|
|
207
|
+
additionalProperties: {},
|
|
208
|
+
description: "Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.",
|
|
209
|
+
propertyNames: {
|
|
210
|
+
type: "string"
|
|
211
|
+
},
|
|
212
|
+
type: "object"
|
|
213
|
+
},
|
|
214
|
+
groupDetailsConfig: {
|
|
215
|
+
additionalProperties: {},
|
|
216
|
+
description: "JSON-safe group details configuration.",
|
|
217
|
+
propertyNames: {
|
|
218
|
+
type: "string"
|
|
219
|
+
},
|
|
220
|
+
type: "object"
|
|
221
|
+
},
|
|
222
|
+
groupId: {
|
|
223
|
+
description: "Id of the SuperGroup to fetch and render.",
|
|
224
|
+
type: "string"
|
|
225
|
+
},
|
|
226
|
+
groupTypeConfig: {
|
|
227
|
+
additionalProperties: {},
|
|
228
|
+
description: "Group type metadata used by SuperGroup API adapters.",
|
|
229
|
+
properties: {
|
|
230
|
+
isInternal: {
|
|
231
|
+
type: "boolean"
|
|
232
|
+
},
|
|
233
|
+
type: {
|
|
234
|
+
type: "string"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
type: "object"
|
|
238
|
+
},
|
|
239
|
+
initialGroup: {
|
|
240
|
+
additionalProperties: {},
|
|
241
|
+
description: "Initial serialized group used before a backend group exists.",
|
|
242
|
+
propertyNames: {
|
|
243
|
+
type: "string"
|
|
244
|
+
},
|
|
245
|
+
type: "object"
|
|
246
|
+
},
|
|
247
|
+
isDisabled: {
|
|
248
|
+
description: "Disables editing controls.",
|
|
249
|
+
type: "boolean"
|
|
250
|
+
},
|
|
251
|
+
isEntityScopeSupported: {
|
|
252
|
+
type: "boolean"
|
|
253
|
+
},
|
|
254
|
+
isScheduleGroupChangesSupported: {
|
|
255
|
+
type: "boolean"
|
|
256
|
+
},
|
|
257
|
+
isTimeBasedConfigurationSupported: {
|
|
258
|
+
type: "boolean"
|
|
259
|
+
},
|
|
260
|
+
minSearchLength: {
|
|
261
|
+
description: "Minimum characters required before SuperGroup search runs.",
|
|
262
|
+
type: "number"
|
|
263
|
+
},
|
|
264
|
+
mode: {
|
|
265
|
+
description: "Controlled initial mode. Defaults to edit when defaultEditable is true.",
|
|
266
|
+
enum: ["read", "edit"],
|
|
267
|
+
type: "string"
|
|
268
|
+
},
|
|
269
|
+
ownerId: {
|
|
270
|
+
description: "SpokeOwner id. Required for non-internal application groups.",
|
|
271
|
+
type: "string"
|
|
272
|
+
},
|
|
273
|
+
provisionedRoles: {
|
|
274
|
+
description: "Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true.",
|
|
275
|
+
items: {
|
|
276
|
+
anyOf: [
|
|
277
|
+
{
|
|
278
|
+
type: "string"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
additionalProperties: {},
|
|
282
|
+
properties: {
|
|
283
|
+
id: {
|
|
284
|
+
type: "string"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
required: ["id"],
|
|
288
|
+
type: "object"
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
type: "array"
|
|
293
|
+
},
|
|
294
|
+
refreshMembers: {
|
|
295
|
+
description: "Alias for shouldShowRefreshMembersAction. Command-level refreshMembers controls live member refresh during save.",
|
|
296
|
+
type: "boolean"
|
|
297
|
+
},
|
|
298
|
+
requestOptions: {
|
|
299
|
+
additionalProperties: {},
|
|
300
|
+
description: "Additional request options forwarded to SuperGroup APIs.",
|
|
301
|
+
propertyNames: {
|
|
302
|
+
type: "string"
|
|
303
|
+
},
|
|
304
|
+
type: "object"
|
|
305
|
+
},
|
|
306
|
+
responsePath: {
|
|
307
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
308
|
+
pattern: "^\\/.*",
|
|
309
|
+
type: "string"
|
|
310
|
+
},
|
|
311
|
+
ruleOptions: {
|
|
312
|
+
additionalProperties: {},
|
|
313
|
+
description: "JSON-safe SuperGroup rule option configuration.",
|
|
314
|
+
propertyNames: {
|
|
315
|
+
type: "string"
|
|
316
|
+
},
|
|
317
|
+
type: "object"
|
|
318
|
+
},
|
|
319
|
+
saveMode: {
|
|
320
|
+
description: "self renders SuperGroup actions; external expects parent-issued commands.",
|
|
321
|
+
enum: ["self", "external"],
|
|
322
|
+
type: "string"
|
|
323
|
+
},
|
|
324
|
+
scheduleEffectiveDateOptions: {
|
|
325
|
+
items: {},
|
|
326
|
+
type: "array"
|
|
327
|
+
},
|
|
328
|
+
shouldHideEditorTitle: {
|
|
329
|
+
description: "When true, hides inclusion/exclusion editor titles.",
|
|
330
|
+
type: "boolean"
|
|
331
|
+
},
|
|
332
|
+
shouldIgnoreProvisioningGroup: {
|
|
333
|
+
description: "When true, excludes provisioning group matching from member previews.",
|
|
334
|
+
type: "boolean"
|
|
335
|
+
},
|
|
336
|
+
shouldRefreshGroupMembersLive: {
|
|
337
|
+
type: "boolean"
|
|
338
|
+
},
|
|
339
|
+
shouldShowActions: {
|
|
340
|
+
description: "When false, hides built-in save and cancel actions.",
|
|
341
|
+
type: "boolean"
|
|
342
|
+
},
|
|
343
|
+
shouldShowExclusions: {
|
|
344
|
+
description: "When false, hides exclusion rule editing.",
|
|
345
|
+
type: "boolean"
|
|
346
|
+
},
|
|
347
|
+
shouldShowImportRolesOption: {
|
|
348
|
+
type: "boolean"
|
|
349
|
+
},
|
|
350
|
+
shouldShowRefreshMembersAction: {
|
|
351
|
+
description: "When true, exposes the manual refresh-members action for role groups.",
|
|
352
|
+
type: "boolean"
|
|
353
|
+
},
|
|
354
|
+
shouldShowRoleStateConfiguration: {
|
|
355
|
+
type: "boolean"
|
|
356
|
+
},
|
|
357
|
+
shouldSkipMembershipUpdateNotification: {
|
|
358
|
+
type: "boolean"
|
|
359
|
+
},
|
|
360
|
+
statePaths: {
|
|
361
|
+
additionalProperties: !1,
|
|
362
|
+
description: "Optional state paths the wrapper writes as editor state changes.",
|
|
363
|
+
properties: {
|
|
364
|
+
draftGroup: {
|
|
365
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
366
|
+
pattern: "^\\/.*",
|
|
367
|
+
type: "string"
|
|
368
|
+
},
|
|
369
|
+
errors: {
|
|
370
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
371
|
+
pattern: "^\\/.*",
|
|
372
|
+
type: "string"
|
|
373
|
+
},
|
|
374
|
+
groupId: {
|
|
375
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
376
|
+
pattern: "^\\/.*",
|
|
377
|
+
type: "string"
|
|
378
|
+
},
|
|
379
|
+
isBusy: {
|
|
380
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
381
|
+
pattern: "^\\/.*",
|
|
382
|
+
type: "string"
|
|
383
|
+
},
|
|
384
|
+
isCreating: {
|
|
385
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
386
|
+
pattern: "^\\/.*",
|
|
387
|
+
type: "string"
|
|
388
|
+
},
|
|
389
|
+
isDirty: {
|
|
390
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
391
|
+
pattern: "^\\/.*",
|
|
392
|
+
type: "string"
|
|
393
|
+
},
|
|
394
|
+
isLoading: {
|
|
395
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
396
|
+
pattern: "^\\/.*",
|
|
397
|
+
type: "string"
|
|
398
|
+
},
|
|
399
|
+
isResetting: {
|
|
400
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
401
|
+
pattern: "^\\/.*",
|
|
402
|
+
type: "string"
|
|
403
|
+
},
|
|
404
|
+
isSaving: {
|
|
405
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
406
|
+
pattern: "^\\/.*",
|
|
407
|
+
type: "string"
|
|
408
|
+
},
|
|
409
|
+
isValidating: {
|
|
410
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
411
|
+
pattern: "^\\/.*",
|
|
412
|
+
type: "string"
|
|
413
|
+
},
|
|
414
|
+
lastChangeSource: {
|
|
415
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
416
|
+
pattern: "^\\/.*",
|
|
417
|
+
type: "string"
|
|
418
|
+
},
|
|
419
|
+
lastSavedAt: {
|
|
420
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
421
|
+
pattern: "^\\/.*",
|
|
422
|
+
type: "string"
|
|
423
|
+
},
|
|
424
|
+
savedGroup: {
|
|
425
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
426
|
+
pattern: "^\\/.*",
|
|
427
|
+
type: "string"
|
|
428
|
+
},
|
|
429
|
+
serverErrors: {
|
|
430
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
431
|
+
pattern: "^\\/.*",
|
|
432
|
+
type: "string"
|
|
433
|
+
},
|
|
434
|
+
validation: {
|
|
435
|
+
description: "JSON pointer path in the SDUI state model.",
|
|
436
|
+
pattern: "^\\/.*",
|
|
437
|
+
type: "string"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
type: "object"
|
|
441
|
+
},
|
|
442
|
+
timeBasedConfigurationOptions: {
|
|
443
|
+
items: {},
|
|
444
|
+
type: "array"
|
|
445
|
+
},
|
|
446
|
+
validations: {
|
|
447
|
+
additionalProperties: {},
|
|
448
|
+
description: "JSON-safe built-in validation configuration.",
|
|
449
|
+
propertyNames: {
|
|
450
|
+
type: "string"
|
|
451
|
+
},
|
|
452
|
+
type: "object"
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
required: ["appName", "saveMode"],
|
|
456
|
+
type: "object"
|
|
457
|
+
},
|
|
458
|
+
acceptsChildren: !1
|
|
459
|
+
},
|
|
460
|
+
SuperGroupGridRenderer: {
|
|
461
|
+
description: "Compact read-only SuperGroup renderer for table and grid cells.",
|
|
462
|
+
events: [],
|
|
463
|
+
propsSchema: {
|
|
464
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
465
|
+
additionalProperties: !1,
|
|
466
|
+
properties: {
|
|
467
|
+
appName: {
|
|
468
|
+
description: "Application name used by SuperGroup APIs. Required for all SuperGroup renderers.",
|
|
469
|
+
type: "string"
|
|
470
|
+
},
|
|
471
|
+
emptyPlaceholder: {
|
|
472
|
+
description: "Text displayed when the group has no members.",
|
|
473
|
+
type: "string"
|
|
474
|
+
},
|
|
475
|
+
emptyText: {
|
|
476
|
+
description: "Alias for emptyPlaceholder. Text displayed when empty.",
|
|
477
|
+
type: "string"
|
|
478
|
+
},
|
|
479
|
+
family: {
|
|
480
|
+
description: "Object family used when resolving group metadata.",
|
|
481
|
+
type: "string"
|
|
482
|
+
},
|
|
483
|
+
group: {
|
|
484
|
+
additionalProperties: {},
|
|
485
|
+
description: "Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.",
|
|
486
|
+
propertyNames: {
|
|
487
|
+
type: "string"
|
|
488
|
+
},
|
|
489
|
+
type: "object"
|
|
490
|
+
},
|
|
491
|
+
groupId: {
|
|
492
|
+
description: "Id of the SuperGroup to fetch and render.",
|
|
493
|
+
type: "string"
|
|
494
|
+
},
|
|
495
|
+
groupTypeConfig: {
|
|
496
|
+
additionalProperties: {},
|
|
497
|
+
description: "Group type metadata used by SuperGroup API adapters.",
|
|
498
|
+
properties: {
|
|
499
|
+
isInternal: {
|
|
500
|
+
type: "boolean"
|
|
501
|
+
},
|
|
502
|
+
type: {
|
|
503
|
+
type: "string"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
type: "object"
|
|
507
|
+
},
|
|
508
|
+
includedRoleTypes: {
|
|
509
|
+
description: "Role type filters applied to the preview result.",
|
|
510
|
+
items: {
|
|
511
|
+
type: "string"
|
|
512
|
+
},
|
|
513
|
+
type: "array"
|
|
514
|
+
},
|
|
515
|
+
ownerId: {
|
|
516
|
+
description: "SpokeOwner id. Required for non-internal application groups.",
|
|
517
|
+
type: "string"
|
|
518
|
+
},
|
|
519
|
+
previewRulesLimit: {
|
|
520
|
+
description: "Maximum number of rules shown before truncation.",
|
|
521
|
+
type: "number"
|
|
522
|
+
},
|
|
523
|
+
provisionedRoles: {
|
|
524
|
+
description: "Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true.",
|
|
525
|
+
items: {
|
|
526
|
+
anyOf: [
|
|
527
|
+
{
|
|
528
|
+
type: "string"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
additionalProperties: {},
|
|
532
|
+
properties: {
|
|
533
|
+
id: {
|
|
534
|
+
type: "string"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
required: ["id"],
|
|
538
|
+
type: "object"
|
|
539
|
+
}
|
|
540
|
+
]
|
|
541
|
+
},
|
|
542
|
+
type: "array"
|
|
543
|
+
},
|
|
544
|
+
requestOptions: {
|
|
545
|
+
additionalProperties: {},
|
|
546
|
+
description: "Additional request options forwarded to SuperGroup APIs.",
|
|
547
|
+
propertyNames: {
|
|
548
|
+
type: "string"
|
|
549
|
+
},
|
|
550
|
+
type: "object"
|
|
551
|
+
},
|
|
552
|
+
ruleOptions: {
|
|
553
|
+
additionalProperties: {},
|
|
554
|
+
description: "JSON-safe SuperGroup rule option configuration.",
|
|
555
|
+
propertyNames: {
|
|
556
|
+
type: "string"
|
|
557
|
+
},
|
|
558
|
+
type: "object"
|
|
559
|
+
},
|
|
560
|
+
shouldIgnoreProvisioningGroup: {
|
|
561
|
+
description: "When true, excludes provisioning group matching from member previews.",
|
|
562
|
+
type: "boolean"
|
|
563
|
+
},
|
|
564
|
+
shouldIncludeThirdPartyAdmins: {
|
|
565
|
+
description: "When true, includes third-party admins in member previews.",
|
|
566
|
+
type: "boolean"
|
|
567
|
+
},
|
|
568
|
+
shouldShowExclusions: {
|
|
569
|
+
description: "When true, renders excluded-member rules.",
|
|
570
|
+
type: "boolean"
|
|
571
|
+
},
|
|
572
|
+
shouldShowTitle: {
|
|
573
|
+
description: "When true, renders the preview title.",
|
|
574
|
+
type: "boolean"
|
|
575
|
+
},
|
|
576
|
+
showPreviewMembersInTooltip: {
|
|
577
|
+
description: "When true, shows preview members inside the grid-cell tooltip.",
|
|
578
|
+
type: "boolean"
|
|
579
|
+
},
|
|
580
|
+
skipThrottling: {
|
|
581
|
+
description: "When true, skips SuperGroup mount throttling.",
|
|
582
|
+
type: "boolean"
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
required: ["appName"],
|
|
586
|
+
type: "object"
|
|
587
|
+
},
|
|
588
|
+
acceptsChildren: !1
|
|
589
|
+
},
|
|
590
|
+
SuperGroupMembersViewer: {
|
|
591
|
+
description: "Read-only SuperGroup members viewer for detail pages and summaries.",
|
|
592
|
+
events: [],
|
|
593
|
+
propsSchema: {
|
|
594
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
595
|
+
additionalProperties: !1,
|
|
596
|
+
properties: {
|
|
597
|
+
family: {
|
|
598
|
+
description: "Object family used when resolving group metadata.",
|
|
599
|
+
type: "string"
|
|
600
|
+
},
|
|
601
|
+
gridTitle: {
|
|
602
|
+
description: "Title for the members grid.",
|
|
603
|
+
type: "string"
|
|
604
|
+
},
|
|
605
|
+
group: {
|
|
606
|
+
additionalProperties: {},
|
|
607
|
+
description: "Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.",
|
|
608
|
+
propertyNames: {
|
|
609
|
+
type: "string"
|
|
610
|
+
},
|
|
611
|
+
type: "object"
|
|
612
|
+
},
|
|
613
|
+
groupId: {
|
|
614
|
+
description: "Id of the SuperGroup whose members should be rendered.",
|
|
615
|
+
type: "string"
|
|
616
|
+
},
|
|
617
|
+
groupMembersDrawerCaption: {
|
|
618
|
+
description: "Caption text for the members drawer.",
|
|
619
|
+
type: "string"
|
|
620
|
+
},
|
|
621
|
+
groupMembersDrawerTitle: {
|
|
622
|
+
description: "Title for the members drawer.",
|
|
623
|
+
type: "string"
|
|
624
|
+
},
|
|
625
|
+
groupTypeConfig: {
|
|
626
|
+
additionalProperties: {},
|
|
627
|
+
description: "Group type metadata used by SuperGroup API adapters.",
|
|
628
|
+
properties: {
|
|
629
|
+
isInternal: {
|
|
630
|
+
type: "boolean"
|
|
631
|
+
},
|
|
632
|
+
type: {
|
|
633
|
+
type: "string"
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
type: "object"
|
|
637
|
+
},
|
|
638
|
+
isPreview: {
|
|
639
|
+
description: "When true, renders in preview mode.",
|
|
640
|
+
type: "boolean"
|
|
641
|
+
},
|
|
642
|
+
provisionedRoles: {
|
|
643
|
+
description: "Role ids or serialized role objects provisioned by the parent app or object.",
|
|
644
|
+
items: {
|
|
645
|
+
anyOf: [
|
|
646
|
+
{
|
|
647
|
+
type: "string"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
additionalProperties: {},
|
|
651
|
+
properties: {
|
|
652
|
+
id: {
|
|
653
|
+
type: "string"
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
required: ["id"],
|
|
657
|
+
type: "object"
|
|
658
|
+
}
|
|
659
|
+
]
|
|
660
|
+
},
|
|
661
|
+
type: "array"
|
|
662
|
+
},
|
|
663
|
+
requestOptions: {
|
|
664
|
+
additionalProperties: {},
|
|
665
|
+
description: "Additional request options forwarded to SuperGroup APIs.",
|
|
666
|
+
propertyNames: {
|
|
667
|
+
type: "string"
|
|
668
|
+
},
|
|
669
|
+
type: "object"
|
|
670
|
+
},
|
|
671
|
+
shouldIgnoreProvisioningGroup: {
|
|
672
|
+
description: "When true, excludes provisioning group matching from member previews.",
|
|
673
|
+
type: "boolean"
|
|
674
|
+
},
|
|
675
|
+
shouldShowRefreshMembersAction: {
|
|
676
|
+
description: "When true, exposes the refresh-members action.",
|
|
677
|
+
type: "boolean"
|
|
678
|
+
},
|
|
679
|
+
theme: {
|
|
680
|
+
description: "Inline member display mode. Omit for the full member view.",
|
|
681
|
+
enum: ["INLINE_TEXT", "INLINE_COUNT"],
|
|
682
|
+
type: "string"
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
type: "object"
|
|
686
|
+
},
|
|
687
|
+
acceptsChildren: !1
|
|
688
|
+
},
|
|
689
|
+
SuperGroupPreviewV2: {
|
|
690
|
+
description: "Read-only SuperGroup rule preview. Use this to show membership rules for an existing group without exposing editing controls.",
|
|
691
|
+
events: [],
|
|
692
|
+
propsSchema: {
|
|
693
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
694
|
+
additionalProperties: !1,
|
|
695
|
+
properties: {
|
|
696
|
+
appName: {
|
|
697
|
+
description: "Application name used by SuperGroup APIs. Required for all SuperGroup renderers.",
|
|
698
|
+
type: "string"
|
|
699
|
+
},
|
|
700
|
+
emptyPlaceholder: {
|
|
701
|
+
description: "Text displayed when the group has no members.",
|
|
702
|
+
type: "string"
|
|
703
|
+
},
|
|
704
|
+
emptyText: {
|
|
705
|
+
description: "Alias for emptyPlaceholder. Text displayed when empty.",
|
|
706
|
+
type: "string"
|
|
707
|
+
},
|
|
708
|
+
family: {
|
|
709
|
+
description: "Object family used when resolving group metadata.",
|
|
710
|
+
type: "string"
|
|
711
|
+
},
|
|
712
|
+
group: {
|
|
713
|
+
additionalProperties: {},
|
|
714
|
+
description: "Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.",
|
|
715
|
+
propertyNames: {
|
|
716
|
+
type: "string"
|
|
717
|
+
},
|
|
718
|
+
type: "object"
|
|
719
|
+
},
|
|
720
|
+
groupId: {
|
|
721
|
+
description: "Id of the SuperGroup to fetch and render.",
|
|
722
|
+
type: "string"
|
|
723
|
+
},
|
|
724
|
+
groupTypeConfig: {
|
|
725
|
+
additionalProperties: {},
|
|
726
|
+
description: "Group type metadata used by SuperGroup API adapters.",
|
|
727
|
+
properties: {
|
|
728
|
+
isInternal: {
|
|
729
|
+
type: "boolean"
|
|
730
|
+
},
|
|
731
|
+
type: {
|
|
732
|
+
type: "string"
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
type: "object"
|
|
736
|
+
},
|
|
737
|
+
includedRoleTypes: {
|
|
738
|
+
description: "Role type filters applied to the preview result.",
|
|
739
|
+
items: {
|
|
740
|
+
type: "string"
|
|
741
|
+
},
|
|
742
|
+
type: "array"
|
|
743
|
+
},
|
|
744
|
+
ownerId: {
|
|
745
|
+
description: "SpokeOwner id. Required for non-internal application groups.",
|
|
746
|
+
type: "string"
|
|
747
|
+
},
|
|
748
|
+
previewRulesLimit: {
|
|
749
|
+
description: "Maximum number of rules shown before truncation.",
|
|
750
|
+
type: "number"
|
|
751
|
+
},
|
|
752
|
+
provisionedRoles: {
|
|
753
|
+
description: "Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true.",
|
|
754
|
+
items: {
|
|
755
|
+
anyOf: [
|
|
756
|
+
{
|
|
757
|
+
type: "string"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
additionalProperties: {},
|
|
761
|
+
properties: {
|
|
762
|
+
id: {
|
|
763
|
+
type: "string"
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
required: ["id"],
|
|
767
|
+
type: "object"
|
|
768
|
+
}
|
|
769
|
+
]
|
|
770
|
+
},
|
|
771
|
+
type: "array"
|
|
772
|
+
},
|
|
773
|
+
requestOptions: {
|
|
774
|
+
additionalProperties: {},
|
|
775
|
+
description: "Additional request options forwarded to SuperGroup APIs.",
|
|
776
|
+
propertyNames: {
|
|
777
|
+
type: "string"
|
|
778
|
+
},
|
|
779
|
+
type: "object"
|
|
780
|
+
},
|
|
781
|
+
ruleOptions: {
|
|
782
|
+
additionalProperties: {},
|
|
783
|
+
description: "JSON-safe SuperGroup rule option configuration.",
|
|
784
|
+
propertyNames: {
|
|
785
|
+
type: "string"
|
|
786
|
+
},
|
|
787
|
+
type: "object"
|
|
788
|
+
},
|
|
789
|
+
shouldIgnoreProvisioningGroup: {
|
|
790
|
+
description: "When true, excludes provisioning group matching from member previews.",
|
|
791
|
+
type: "boolean"
|
|
792
|
+
},
|
|
793
|
+
shouldIncludeThirdPartyAdmins: {
|
|
794
|
+
description: "When true, includes third-party admins in member previews.",
|
|
795
|
+
type: "boolean"
|
|
796
|
+
},
|
|
797
|
+
shouldShowExclusions: {
|
|
798
|
+
description: "When true, renders excluded-member rules.",
|
|
799
|
+
type: "boolean"
|
|
800
|
+
},
|
|
801
|
+
shouldShowTitle: {
|
|
802
|
+
description: "When true, renders the preview title.",
|
|
803
|
+
type: "boolean"
|
|
804
|
+
},
|
|
805
|
+
skipThrottling: {
|
|
806
|
+
description: "When true, skips SuperGroup mount throttling.",
|
|
807
|
+
type: "boolean"
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
required: ["appName"],
|
|
811
|
+
type: "object"
|
|
812
|
+
},
|
|
813
|
+
acceptsChildren: !1
|
|
814
|
+
},
|
|
815
|
+
SuperGroupStateProvider: {
|
|
816
|
+
description: "Provider that shares SuperGroup secondary data across nested read-only SuperGroup renderers.",
|
|
817
|
+
events: [],
|
|
818
|
+
propsSchema: {
|
|
819
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
820
|
+
additionalProperties: !1,
|
|
821
|
+
properties: {
|
|
822
|
+
appName: {
|
|
823
|
+
description: "Application name used by SuperGroup APIs. Required for all SuperGroup renderers.",
|
|
824
|
+
type: "string"
|
|
825
|
+
},
|
|
826
|
+
family: {
|
|
827
|
+
description: "Object family used when resolving group metadata.",
|
|
828
|
+
type: "string"
|
|
829
|
+
},
|
|
830
|
+
group: {
|
|
831
|
+
additionalProperties: {},
|
|
832
|
+
description: "Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context.",
|
|
833
|
+
propertyNames: {
|
|
834
|
+
type: "string"
|
|
835
|
+
},
|
|
836
|
+
type: "object"
|
|
837
|
+
},
|
|
838
|
+
groupId: {
|
|
839
|
+
description: "Id of the SuperGroup to fetch and render.",
|
|
840
|
+
type: "string"
|
|
841
|
+
},
|
|
842
|
+
groupTypeConfig: {
|
|
843
|
+
additionalProperties: {},
|
|
844
|
+
description: "Group type metadata used by SuperGroup API adapters.",
|
|
845
|
+
properties: {
|
|
846
|
+
isInternal: {
|
|
847
|
+
type: "boolean"
|
|
848
|
+
},
|
|
849
|
+
type: {
|
|
850
|
+
type: "string"
|
|
851
|
+
}
|
|
852
|
+
},
|
|
853
|
+
type: "object"
|
|
854
|
+
},
|
|
855
|
+
ownerId: {
|
|
856
|
+
description: "SpokeOwner id. Required for non-internal application groups.",
|
|
857
|
+
type: "string"
|
|
858
|
+
},
|
|
859
|
+
provisionedRoles: {
|
|
860
|
+
description: "Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true.",
|
|
861
|
+
items: {
|
|
862
|
+
anyOf: [
|
|
863
|
+
{
|
|
864
|
+
type: "string"
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
additionalProperties: {},
|
|
868
|
+
properties: {
|
|
869
|
+
id: {
|
|
870
|
+
type: "string"
|
|
871
|
+
}
|
|
872
|
+
},
|
|
873
|
+
required: ["id"],
|
|
874
|
+
type: "object"
|
|
875
|
+
}
|
|
876
|
+
]
|
|
877
|
+
},
|
|
878
|
+
type: "array"
|
|
879
|
+
},
|
|
880
|
+
requestOptions: {
|
|
881
|
+
additionalProperties: {},
|
|
882
|
+
description: "Additional request options forwarded to SuperGroup APIs.",
|
|
883
|
+
propertyNames: {
|
|
884
|
+
type: "string"
|
|
885
|
+
},
|
|
886
|
+
type: "object"
|
|
887
|
+
},
|
|
888
|
+
shouldIgnoreProvisioningGroup: {
|
|
889
|
+
description: "When true, excludes provisioning group matching from member previews.",
|
|
890
|
+
type: "boolean"
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
required: ["appName"],
|
|
894
|
+
type: "object"
|
|
895
|
+
},
|
|
896
|
+
acceptsChildren: !0
|
|
897
|
+
}
|
|
898
|
+
}, u = {}, a = {}, y = {};
|
|
899
|
+
function k() {
|
|
900
|
+
return Object.fromEntries(
|
|
901
|
+
Object.entries(s).map(([e, t]) => [
|
|
902
|
+
e,
|
|
903
|
+
String(t.description ?? "")
|
|
904
|
+
])
|
|
905
|
+
);
|
|
906
|
+
}
|
|
907
|
+
function J() {
|
|
908
|
+
return Object.fromEntries(
|
|
909
|
+
Object.entries(u).map(([e, t]) => [
|
|
910
|
+
e,
|
|
911
|
+
String(t.description ?? "")
|
|
912
|
+
])
|
|
913
|
+
);
|
|
914
|
+
}
|
|
915
|
+
function M() {
|
|
916
|
+
return Object.fromEntries(
|
|
917
|
+
Object.entries(a).map(([e, t]) => [
|
|
918
|
+
e,
|
|
919
|
+
String(t.description ?? "")
|
|
920
|
+
])
|
|
921
|
+
);
|
|
922
|
+
}
|
|
923
|
+
function W() {
|
|
924
|
+
return a;
|
|
925
|
+
}
|
|
926
|
+
function _() {
|
|
927
|
+
return y;
|
|
928
|
+
}
|
|
929
|
+
function L(e) {
|
|
930
|
+
if (!(e in s))
|
|
931
|
+
throw new Error(
|
|
932
|
+
`Unknown component '${e}'. Available: ${Object.keys(s).join(", ")}`
|
|
933
|
+
);
|
|
934
|
+
const t = { ...s[e] };
|
|
935
|
+
return delete t.example, t;
|
|
936
|
+
}
|
|
937
|
+
function V(e) {
|
|
938
|
+
if (!(e in u))
|
|
939
|
+
throw new Error(
|
|
940
|
+
`Unknown action '${e}'. Available: ${Object.keys(u).join(", ")}`
|
|
941
|
+
);
|
|
942
|
+
return u[e];
|
|
943
|
+
}
|
|
944
|
+
function F(e) {
|
|
945
|
+
if (!(e in a))
|
|
946
|
+
throw new Error(
|
|
947
|
+
`Unknown function '${e}'. Available: ${Object.keys(a).join(", ")}`
|
|
948
|
+
);
|
|
949
|
+
return a[e];
|
|
950
|
+
}
|
|
951
|
+
const g = [
|
|
952
|
+
{
|
|
953
|
+
type: "object",
|
|
954
|
+
additionalProperties: !1,
|
|
955
|
+
properties: { $state: { type: "string" } },
|
|
956
|
+
required: ["$state"]
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
type: "object",
|
|
960
|
+
additionalProperties: !1,
|
|
961
|
+
properties: { $bindState: { type: "string" } },
|
|
962
|
+
required: ["$bindState"]
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
type: "object",
|
|
966
|
+
additionalProperties: !1,
|
|
967
|
+
properties: { $item: { type: "string" } },
|
|
968
|
+
required: ["$item"]
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
type: "object",
|
|
972
|
+
additionalProperties: !1,
|
|
973
|
+
properties: { $bindItem: { type: "string" } },
|
|
974
|
+
required: ["$bindItem"]
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
type: "object",
|
|
978
|
+
additionalProperties: !1,
|
|
979
|
+
properties: { $index: {} },
|
|
980
|
+
required: ["$index"]
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
type: "object",
|
|
984
|
+
additionalProperties: !1,
|
|
985
|
+
properties: { $template: { type: "string" } },
|
|
986
|
+
required: ["$template"]
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
type: "object",
|
|
990
|
+
additionalProperties: !1,
|
|
991
|
+
properties: { $cond: {}, $then: {}, $else: {} },
|
|
992
|
+
required: ["$cond", "$then", "$else"]
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
type: "object",
|
|
996
|
+
additionalProperties: !1,
|
|
997
|
+
properties: { $computed: { type: "string" }, args: { type: "object" } },
|
|
998
|
+
required: ["$computed", "args"]
|
|
999
|
+
}
|
|
1000
|
+
];
|
|
1001
|
+
function j(e) {
|
|
1002
|
+
return Object.keys(y).length === 0 ? e : {
|
|
1003
|
+
...e,
|
|
1004
|
+
$defs: {
|
|
1005
|
+
...y,
|
|
1006
|
+
...e.$defs ?? {}
|
|
1007
|
+
}
|
|
1008
|
+
};
|
|
1009
|
+
}
|
|
1010
|
+
function O(e) {
|
|
1011
|
+
const t = JSON.parse(JSON.stringify(e)), p = t.properties ?? {};
|
|
1012
|
+
for (const o of Object.keys(p)) {
|
|
1013
|
+
const r = p[o];
|
|
1014
|
+
Array.isArray(r.anyOf) ? r.anyOf = [...r.anyOf, ...g] : p[o] = {
|
|
1015
|
+
anyOf: [r, ...g]
|
|
1016
|
+
};
|
|
1017
|
+
}
|
|
1018
|
+
return t;
|
|
1019
|
+
}
|
|
1020
|
+
function G(e) {
|
|
1021
|
+
return e ? e.slice(1).split("/").map((t) => t.replace(/~1/g, "/").replace(/~0/g, "~")).join(".") : "(root)";
|
|
1022
|
+
}
|
|
1023
|
+
function N(e) {
|
|
1024
|
+
const t = G(e.instancePath);
|
|
1025
|
+
return e.keyword === "anyOf" ? `props ${t}: must match the declared schema or a reactive reference` : `props ${t}: ${e.message ?? "failed schema validation"}`;
|
|
1026
|
+
}
|
|
1027
|
+
function A(e, t) {
|
|
1028
|
+
const o = new P.Ajv2020({ allErrors: !0, strict: !1 }).compile(e);
|
|
1029
|
+
if (o(t))
|
|
1030
|
+
return [];
|
|
1031
|
+
const r = o.errors ?? [], n = new Set(
|
|
1032
|
+
r.filter((i) => i.keyword === "anyOf").map((i) => i.instancePath)
|
|
1033
|
+
);
|
|
1034
|
+
return r.filter((i) => i.keyword === "anyOf" ? !0 : !(i.schemaPath.includes("/anyOf/") && n.has(i.instancePath))).map(N);
|
|
1035
|
+
}
|
|
1036
|
+
function z(e) {
|
|
1037
|
+
const t = [], p = e.elements ?? {}, o = e.root;
|
|
1038
|
+
o && !(o in p) && t.push(`Root element '${o}' not found in elements map`);
|
|
1039
|
+
for (const [r, n] of Object.entries(p)) {
|
|
1040
|
+
const i = n.type ?? "";
|
|
1041
|
+
if (!(i in s)) {
|
|
1042
|
+
t.push(`Element '${r}': unknown type '${i}'`);
|
|
1043
|
+
continue;
|
|
1044
|
+
}
|
|
1045
|
+
const c = s[i], h = c.propsSchema;
|
|
1046
|
+
if (h) {
|
|
1047
|
+
const l = j(O(h)), b = n.props ?? {};
|
|
1048
|
+
for (const S of A(l, b))
|
|
1049
|
+
t.push(`Element '${r}': ${S}`);
|
|
1050
|
+
}
|
|
1051
|
+
const f = n.on ?? {}, m = c.events ?? [];
|
|
1052
|
+
for (const l of Object.keys(f))
|
|
1053
|
+
m.includes(l) || t.push(
|
|
1054
|
+
`Element '${r}': unknown event '${l}'. Valid: ${m.join(", ")}`
|
|
1055
|
+
);
|
|
1056
|
+
(n.children ?? []).length > 0 && !c.acceptsChildren && t.push(`Element '${r}': '${i}' does not accept children`);
|
|
1057
|
+
}
|
|
1058
|
+
return t;
|
|
1059
|
+
}
|
|
1060
|
+
function B(e) {
|
|
1061
|
+
return {
|
|
1062
|
+
...v(e.root, e.state),
|
|
1063
|
+
platform: "web",
|
|
1064
|
+
catalog: w,
|
|
1065
|
+
catalogVersion: I
|
|
1066
|
+
};
|
|
1067
|
+
}
|
|
1068
|
+
export {
|
|
1069
|
+
w as CATALOG_NAME,
|
|
1070
|
+
I as CATALOG_VERSION,
|
|
1071
|
+
x as SuperGroupEditor,
|
|
1072
|
+
C as SuperGroupGridRenderer,
|
|
1073
|
+
T as SuperGroupMembersViewer,
|
|
1074
|
+
D as SuperGroupPreviewV2,
|
|
1075
|
+
U as SuperGroupStateProvider,
|
|
1076
|
+
V as getAction,
|
|
1077
|
+
J as getActions,
|
|
1078
|
+
L as getComponent,
|
|
1079
|
+
k as getComponents,
|
|
1080
|
+
W as getComputedFunctions,
|
|
1081
|
+
_ as getDefs,
|
|
1082
|
+
F as getFunction,
|
|
1083
|
+
M as getFunctions,
|
|
1084
|
+
B as render,
|
|
1085
|
+
z as validate
|
|
1086
|
+
};
|
|
1087
|
+
//# sourceMappingURL=index.js.map
|