@rippling/pebble-sdui-web 0.6.2 → 0.7.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/action-params.d.ts +0 -5
- package/dist/catalogs/custom-apps/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-props.d.ts +628 -203
- package/dist/catalogs/custom-apps/index.cjs +3 -10
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.d.ts +1 -1
- package/dist/catalogs/custom-apps/index.js +458 -5291
- 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/actions.md +15 -21
- package/dist/docs/typescript/web/catalogs/custom-apps/components.md +879 -879
- package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +656 -150
- package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +2 -2
- package/dist/docs/typescript/web/catalogs/custom-apps/types.md +1045 -142
- 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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","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":";;;AA0BO,MAAMA,IAAmB,CAC9BC,MAEAC,EAAiC,oBAAoBD,CAAK,GAE/CE,IAAyB,CACpCF,MAKAC,EAAiC,0BAA0BD,CAAK,GAErDG,IAA0B,CACrCH,MAKAC,EAAiC,2BAA2BD,CAAK,GAEtDI,IAAsB,CACjCJ,MAEAC,EAAiC,uBAAuBD,CAAK,GAElDK,IAA0B,CACrCL,MAMAC,EAAiC,2BAA2BD,CAAK,GChDtDM,IAAe,gBACfC,IAAkB,SAMzBC,IAAuD;AAAA,EAC3D,kBAAkB;AAAA,IAChB,aACE;AAAA,IACF,QAAQ;AAAA,MACN;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,IAEF,aAAa;AAAA,MACX,SAAS;AAAA,MACT,sBAAsB;AAAA,MACtB,YAAY;AAAA,QACV,SAAS;AAAA,UACP,aACE;AAAA,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lD,UAAU;AAAA,IACV,SAASpD;AAAA,IACT,gBAAgBC;AAAA,EAAA;AAEpB;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementNode } from '../../core/elements';
|
|
2
|
+
import { CoreSpec } from '../../core/spec';
|
|
3
|
+
export interface CatalogSpec extends CoreSpec {
|
|
4
|
+
platform: 'web';
|
|
5
|
+
catalog: string;
|
|
6
|
+
catalogVersion: string;
|
|
7
|
+
}
|
|
8
|
+
type CatalogElementNode = ElementNode<'web', 'hub_platform'>;
|
|
9
|
+
/**
|
|
10
|
+
* Render an element tree into a flat json-render spec tagged with
|
|
11
|
+
* the hub_platform catalog name and version.
|
|
12
|
+
*
|
|
13
|
+
* This is the catalog-level render — consumers import this instead
|
|
14
|
+
* of using createSpec().render() directly.
|
|
15
|
+
*/
|
|
16
|
+
export declare function render<TState extends object = Record<string, unknown>>(opts: {
|
|
17
|
+
root: CatalogElementNode;
|
|
18
|
+
state?: TState;
|
|
19
|
+
}): CatalogSpec;
|
|
20
|
+
export {};
|
|
@@ -9,8 +9,8 @@ Navigate to a URL path.
|
|
|
9
9
|
|
|
10
10
|
Page URLs: `/custom-apps/{app_id}/sdui/{page_id}`. Use openInNewTab for external links.
|
|
11
11
|
|
|
12
|
-
Catalog key: `navigate`
|
|
13
|
-
Creator: `navigate`
|
|
12
|
+
Catalog key: `navigate`
|
|
13
|
+
Creator: `navigate`
|
|
14
14
|
Params type: `NavigateParams`
|
|
15
15
|
|
|
16
16
|
### Params
|
|
@@ -34,8 +34,8 @@ on: {
|
|
|
34
34
|
|
|
35
35
|
Append an item to an array in state. Optionally clear another state path.
|
|
36
36
|
|
|
37
|
-
Catalog key: `pushState`
|
|
38
|
-
Creator: `pushState`
|
|
37
|
+
Catalog key: `pushState`
|
|
38
|
+
Creator: `pushState`
|
|
39
39
|
Params type: `PushStateParams`
|
|
40
40
|
|
|
41
41
|
### Params
|
|
@@ -60,8 +60,8 @@ on: {
|
|
|
60
60
|
|
|
61
61
|
Remove an item from an array in state by index.
|
|
62
62
|
|
|
63
|
-
Catalog key: `removeState`
|
|
64
|
-
Creator: `removeState`
|
|
63
|
+
Catalog key: `removeState`
|
|
64
|
+
Creator: `removeState`
|
|
65
65
|
Params type: `RemoveStateParams`
|
|
66
66
|
|
|
67
67
|
### Params
|
|
@@ -85,8 +85,8 @@ on: {
|
|
|
85
85
|
|
|
86
86
|
Update a value in the state model at the given statePath.
|
|
87
87
|
|
|
88
|
-
Catalog key: `setState`
|
|
89
|
-
Creator: `setState`
|
|
88
|
+
Catalog key: `setState`
|
|
89
|
+
Creator: `setState`
|
|
90
90
|
Params type: `SetStateParams`
|
|
91
91
|
|
|
92
92
|
### Params
|
|
@@ -110,8 +110,8 @@ on: {
|
|
|
110
110
|
|
|
111
111
|
Show a toast notification. Auto-dismisses after 7 seconds.
|
|
112
112
|
|
|
113
|
-
Catalog key: `showNotification`
|
|
114
|
-
Creator: `showNotification`
|
|
113
|
+
Catalog key: `showNotification`
|
|
114
|
+
Creator: `showNotification`
|
|
115
115
|
Params type: `ShowNotificationParams`
|
|
116
116
|
|
|
117
117
|
### Params
|
|
@@ -133,26 +133,20 @@ on: {
|
|
|
133
133
|
|
|
134
134
|
## triggerFunction
|
|
135
135
|
|
|
136
|
-
Call a Rippling Function.
|
|
136
|
+
Call a Rippling Function. params.inputs is sent as event.parameters. Legacy top-level action and extra params are still supported.
|
|
137
137
|
|
|
138
|
+
inputs: preferred format for function inputs. Must include action; extra keys are sent to the server as event.parameters.
|
|
138
139
|
responsePath (client-side): stores response body at that state path. Body must match the state shape (e.g. array, NOT wrapped in { data: [...] }).
|
|
139
140
|
onSuccess (client-side): runs after handler resolves. Must use { set: { "/path": value } } format, NOT actions.set().
|
|
140
141
|
onError (client-side): runs if handler throws. Same format as onSuccess.
|
|
141
|
-
Extra params (beyond functionId, action, responsePath, onSuccess, onError) are sent to the server as event.parameters.
|
|
142
142
|
|
|
143
|
-
Catalog key: `triggerFunction`
|
|
144
|
-
Creator: `triggerFunction`
|
|
143
|
+
Catalog key: `triggerFunction`
|
|
144
|
+
Creator: `triggerFunction`
|
|
145
145
|
Params type: `TriggerFunctionParams`
|
|
146
146
|
|
|
147
147
|
### Params
|
|
148
148
|
|
|
149
|
-
|
|
150
|
-
|---|---:|---|---|
|
|
151
|
-
| `action` | yes | string | |
|
|
152
|
-
| `functionId` | yes | string | |
|
|
153
|
-
| `onError` | no | unknown | |
|
|
154
|
-
| `onSuccess` | no | unknown | |
|
|
155
|
-
| `responsePath` | no | string | |
|
|
149
|
+
_No fields._
|
|
156
150
|
|
|
157
151
|
No additional properties.
|
|
158
152
|
|