@rippling/pebble-sdui-web 0.6.3 → 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/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-props.d.ts +29 -29
- 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 +1 -1
- package/dist/catalogs/custom-apps/index.js +431 -5275
- 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 +3 -3
- package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/types.md +1 -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 @@
|
|
|
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,UACF,MAAM;AAAA,QAAA;AAAA,QAER,0BAA0B;AAAA,UACxB,MAAM;AAAA,QAAA;AAAA,QAER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,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 {};
|
|
@@ -235,7 +235,7 @@ Events: `navigate`, `action`
|
|
|
235
235
|
| `baseURL` | no | string | Base URL prefix prepended to all link paths |
|
|
236
236
|
| `isLogoRound` | no | boolean | If true, logo has rounded corners |
|
|
237
237
|
| `isVertical` | no | boolean | If true, renders a vertical sidebar navigation instead of horizontal tabs |
|
|
238
|
-
| `links` | yes | [
|
|
238
|
+
| `links` | yes | Record<string, unknown>[] | Array of navigation items defining the nav structure |
|
|
239
239
|
| `logoUrl` | no | string | URL for a logo image in the header area |
|
|
240
240
|
| `shouldPersistQueryParams` | no | boolean | If true, existing query parameters are preserved across navigation |
|
|
241
241
|
| `size` | no | number | Fixed width in pixels for horizontal layout. 0 or omitted for fluid width |
|
|
@@ -790,7 +790,7 @@ Events: `change`
|
|
|
790
790
|
| `hasIndependentActions` | no | boolean | Checking/unchecking an item does not affect parent or child items |
|
|
791
791
|
| `hasIndependentChildActions` | no | boolean | Checking/unchecking a child does not affect ancestor items |
|
|
792
792
|
| `indent` | no | number | Indentation in pixels for nested children |
|
|
793
|
-
| `list` | yes | [
|
|
793
|
+
| `list` | yes | Record<string, unknown>[] | Array of checklist items with nested branches |
|
|
794
794
|
| `selectAllText` | no | string | Custom label for the select all option |
|
|
795
795
|
| `shouldHaveNegativeCheckbox` | no | boolean | Show negative (red) checkbox style when type is CHECKBOX |
|
|
796
796
|
| `shouldShowIndeterminate` | no | boolean | Show indeterminate state on parent when some children are checked |
|
|
@@ -3914,7 +3914,7 @@ Events: `toggle`, `select`
|
|
|
3914
3914
|
|---|---:|---|---|
|
|
3915
3915
|
| `depth` | no | number | Current node depth in nested tree. Default: 0 |
|
|
3916
3916
|
| `indent` | no | number | Indentation per nesting level in px. Default: 32 |
|
|
3917
|
-
| `list` | yes | [
|
|
3917
|
+
| `list` | yes | Record<string, unknown>[] | Array of nested tree items: {label, value?, branches?} |
|
|
3918
3918
|
| `selectedValue` | no | string | Currently selected item value. Bind to state for tracking |
|
|
3919
3919
|
| `showMore` | no | [ShowMoreValue](./types.md#showmorevalue) | Configuration for show more behavior |
|
|
3920
3920
|
| `theme` | no | [NestedListTheme](./definitions.md#nestedlisttheme) | ExpansionPanel theme variant |
|
|
@@ -620,7 +620,7 @@ Referenced by:
|
|
|
620
620
|
| Kind | Entity | Field |
|
|
621
621
|
|---|---|---|
|
|
622
622
|
| component | `Badge` | `appearance` |
|
|
623
|
-
| type | `
|
|
623
|
+
| type | `AppNavBarNavItemBadge` | `appearance` |
|
|
624
624
|
| type | `StepperBadge` | `appearance` |
|
|
625
625
|
| type | `TabBadge` | `appearance` |
|
|
626
626
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# custom-apps Catalog
|
|
3
3
|
|
|
4
4
|
Catalog: `custom-apps`
|
|
5
|
-
Version: `1.
|
|
5
|
+
Version: `1.2.0`
|
|
6
6
|
SDK language: `typescript`
|
|
7
7
|
|
|
8
8
|
Use this catalog index after you have chosen this catalog for the spec. Do not mix components, actions, computed functions, or render helpers from another catalog unless that catalog explicitly documents compatibility.
|
|
@@ -183,7 +183,7 @@ No additional properties.
|
|
|
183
183
|
|
|
184
184
|
No additional properties.
|
|
185
185
|
|
|
186
|
-
##
|
|
186
|
+
## AppNavBarNavItemBadge
|
|
187
187
|
|
|
188
188
|
Badge shown next to the nav item title
|
|
189
189
|
|
|
@@ -453,23 +453,6 @@ No additional properties.
|
|
|
453
453
|
|
|
454
454
|
No additional properties.
|
|
455
455
|
|
|
456
|
-
## CheckListList
|
|
457
|
-
|
|
458
|
-
### Fields
|
|
459
|
-
|
|
460
|
-
| Name | Required | Type | Description |
|
|
461
|
-
|---|---:|---|---|
|
|
462
|
-
| `branches` | no | [CheckListList](./types.md#checklistlist)[] | Nested child items |
|
|
463
|
-
| `checkListOptions` | no | [CheckListOption](./types.md#checklistoption) | Per-item input type overrides |
|
|
464
|
-
| `isChecked` | yes | boolean | Whether this item is checked |
|
|
465
|
-
| `isDefaultOpen` | no | boolean | If true, nested items are expanded by default |
|
|
466
|
-
| `isDisabled` | no | boolean | Disables interaction for this item |
|
|
467
|
-
| `label` | yes | string | Display text for this item |
|
|
468
|
-
| `showMoreSize` | no | number | Number of child items shown before "show more" toggle |
|
|
469
|
-
| `value` | yes | string | Unique identifier for this item |
|
|
470
|
-
|
|
471
|
-
No additional properties.
|
|
472
|
-
|
|
473
456
|
## CheckListOption
|
|
474
457
|
|
|
475
458
|
Per-item input type overrides
|
|
@@ -1988,22 +1971,6 @@ No additional properties.
|
|
|
1988
1971
|
|
|
1989
1972
|
No additional properties.
|
|
1990
1973
|
|
|
1991
|
-
## LinkValue
|
|
1992
|
-
|
|
1993
|
-
### Fields
|
|
1994
|
-
|
|
1995
|
-
| Name | Required | Type | Description |
|
|
1996
|
-
|---|---:|---|---|
|
|
1997
|
-
| `badge` | no | [AppNavBarBadge](./types.md#appnavbarbadge) | Badge shown next to the nav item title |
|
|
1998
|
-
| `icon` | no | string | Icon name from Icon.TYPES (e.g. FOLDER_OUTLINE) |
|
|
1999
|
-
| `isSection` | no | boolean | If true, renders as a non-interactive section header (vertical mode only) |
|
|
2000
|
-
| `links` | no | [LinkValue](./types.md#linkvalue)[] | Nested sub-navigation items |
|
|
2001
|
-
| `path` | no | string | URL path segment for this nav item |
|
|
2002
|
-
| `queryParams` | no | [QueryParam](./types.md#queryparam) | Query parameters to append when navigating to this item |
|
|
2003
|
-
| `title` | yes | string | Display label for this nav item |
|
|
2004
|
-
|
|
2005
|
-
No additional properties.
|
|
2006
|
-
|
|
2007
1974
|
## Location
|
|
2008
1975
|
|
|
2009
1976
|
Location object with nickname and address. Required for displaying location information
|
|
@@ -2091,19 +2058,6 @@ _No fields._
|
|
|
2091
2058
|
|
|
2092
2059
|
Additional properties: unknown.
|
|
2093
2060
|
|
|
2094
|
-
## NestedListList
|
|
2095
|
-
|
|
2096
|
-
### Fields
|
|
2097
|
-
|
|
2098
|
-
| Name | Required | Type | Description |
|
|
2099
|
-
|---|---:|---|---|
|
|
2100
|
-
| `branches` | no | [NestedListList](./types.md#nestedlistlist)[] | Child items |
|
|
2101
|
-
| `isDefaultOpen` | no | boolean | Start expanded |
|
|
2102
|
-
| `label` | yes | string | Display text for the item |
|
|
2103
|
-
| `value` | no | string | Unique value for the item |
|
|
2104
|
-
|
|
2105
|
-
No additional properties.
|
|
2106
|
-
|
|
2107
2061
|
## NumberArg
|
|
2108
2062
|
|
|
2109
2063
|
### Fields
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<!-- Auto-generated from catalogs/hub_platform.catalog.json; do not edit directly. -->
|
|
2
|
+
# hub_platform Actions
|
|
3
|
+
|
|
4
|
+
Import action creators from `@rippling/pebble-sdui-web/catalogs/hub_platform`. Read [definitions.md](./definitions.md) for enum values linked from param tables.
|
|
5
|
+
|
|
6
|
+
_This catalog does not define actions._
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
<!-- Auto-generated from catalogs/hub_platform.catalog.json; do not edit directly. -->
|
|
2
|
+
# hub_platform Components
|
|
3
|
+
|
|
4
|
+
Import component builders from `@rippling/pebble-sdui-web/catalogs/hub_platform`. Read [definitions.md](./definitions.md) for enum values linked from prop tables.
|
|
5
|
+
|
|
6
|
+
## SuperGroupEditor
|
|
7
|
+
|
|
8
|
+
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.
|
|
9
|
+
|
|
10
|
+
SuperGroupEditor owns the internal SuperGroup ref and converts save/draft/reset operations into commandPath, responsePath, errorPath, statePaths, and events.
|
|
11
|
+
Use saveMode="self" for built-in Save/Cancel controls. Use saveMode="external" with commandPath for parent-coordinated save flows.
|
|
12
|
+
createPolicy.kind="role" uses Group.createNewApplicationGroup. createPolicy.kind="nonRole" uses GroupV2.createGroup and requires family.
|
|
13
|
+
The wrapper writes event payloads to state before emitting events. It does not expose createGroup, updateGroup, validateBeforeSave, ref, ReactNode props, or custom renderers.
|
|
14
|
+
|
|
15
|
+
Catalog key: `SuperGroupEditor`
|
|
16
|
+
Builder: `SuperGroupEditor`
|
|
17
|
+
Props type: `SuperGroupEditorProps`
|
|
18
|
+
Accepts children: no
|
|
19
|
+
Events: `load`, `change`, `validationChange`, `editToggle`, `saveStart`, `saveSuccess`, `saveError`, `cancel`, `roleStateChange`, `scopeFilterChange`, `timeBasedConfigChange`
|
|
20
|
+
|
|
21
|
+
### Props
|
|
22
|
+
|
|
23
|
+
| Name | Required | Type | Description |
|
|
24
|
+
|---|---:|---|---|
|
|
25
|
+
| `appName` | yes | string | Application name used by SuperGroup APIs. Required for all SuperGroup renderers. |
|
|
26
|
+
| `canEditRoleStatesApplied` | no | boolean | |
|
|
27
|
+
| `canSelectAll` | no | boolean | When true, enables select-all support where SuperGroup supports it. |
|
|
28
|
+
| `command` | no | [Command](./types.md#command) | |
|
|
29
|
+
| `commandPath` | no | string | JSON pointer path in the SDUI state model. |
|
|
30
|
+
| `createPolicy` | no | [CreatePolicy](./types.md#createpolicy) \| [CreatePolicy](./types.md#createpolicy) | Declarative create config used for lazy group creation. |
|
|
31
|
+
| `defaultEditable` | no | boolean | When true, the editor starts in edit mode. |
|
|
32
|
+
| `defaultRoleStates` | no | string[] | |
|
|
33
|
+
| `defaultSelectedDateTimeConfig` | no | [DefaultSelectedDateTimeConfig](./types.md#defaultselecteddatetimeconfig) | |
|
|
34
|
+
| `defaultSelectedScheduleEffectiveDateValue` | no | string | |
|
|
35
|
+
| `dropdownPanelMaxHeight` | no | number | Maximum dropdown panel height in pixels. |
|
|
36
|
+
| `editorPlaceholder` | no | [EditorPlaceholder](./types.md#editorplaceholder) | Editor placeholders keyed by INCLUSION and EXCLUSION. |
|
|
37
|
+
| `editorTitle` | no | [EditorTitle](./types.md#editortitle) | Editor title labels keyed by INCLUSION and EXCLUSION. |
|
|
38
|
+
| `errorPath` | no | string | JSON pointer path in the SDUI state model. |
|
|
39
|
+
| `family` | no | string | Object family used when resolving group metadata. |
|
|
40
|
+
| `group` | no | [SuperGroupEditorGroup](./types.md#supergroupeditorgroup) | Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context. |
|
|
41
|
+
| `groupDetailsConfig` | no | [GroupDetailsConfig](./types.md#groupdetailsconfig) | JSON-safe group details configuration. |
|
|
42
|
+
| `groupId` | no | string | Id of the SuperGroup to fetch and render. |
|
|
43
|
+
| `groupTypeConfig` | no | [SuperGroupEditorGroupTypeConfig](./types.md#supergroupeditorgrouptypeconfig) | Group type metadata used by SuperGroup API adapters. |
|
|
44
|
+
| `initialGroup` | no | [InitialGroup](./types.md#initialgroup) | Initial serialized group used before a backend group exists. |
|
|
45
|
+
| `isDisabled` | no | boolean | Disables editing controls. |
|
|
46
|
+
| `isEntityScopeSupported` | no | boolean | |
|
|
47
|
+
| `isScheduleGroupChangesSupported` | no | boolean | |
|
|
48
|
+
| `isTimeBasedConfigurationSupported` | no | boolean | |
|
|
49
|
+
| `minSearchLength` | no | number | Minimum characters required before SuperGroup search runs. |
|
|
50
|
+
| `mode` | no | [SuperGroupEditorMode](./definitions.md#supergroupeditormode) | Controlled initial mode. Defaults to edit when defaultEditable is true. |
|
|
51
|
+
| `ownerId` | no | string | SpokeOwner id. Required for non-internal application groups. |
|
|
52
|
+
| `provisionedRoles` | no | string \| [SuperGroupEditorProvisionedRole](./types.md#supergroupeditorprovisionedrole)[] | Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true. |
|
|
53
|
+
| `refreshMembers` | no | boolean | Alias for shouldShowRefreshMembersAction. Command-level refreshMembers controls live member refresh during save. |
|
|
54
|
+
| `requestOptions` | no | [SuperGroupEditorRequestOption](./types.md#supergroupeditorrequestoption) | Additional request options forwarded to SuperGroup APIs. |
|
|
55
|
+
| `responsePath` | no | string | JSON pointer path in the SDUI state model. |
|
|
56
|
+
| `ruleOptions` | no | [SuperGroupEditorRuleOption](./types.md#supergroupeditorruleoption) | JSON-safe SuperGroup rule option configuration. |
|
|
57
|
+
| `saveMode` | yes | [SuperGroupEditorSaveMode](./definitions.md#supergroupeditorsavemode) | self renders SuperGroup actions; external expects parent-issued commands. |
|
|
58
|
+
| `scheduleEffectiveDateOptions` | no | unknown[] | |
|
|
59
|
+
| `shouldHideEditorTitle` | no | boolean | When true, hides inclusion/exclusion editor titles. |
|
|
60
|
+
| `shouldIgnoreProvisioningGroup` | no | boolean | When true, excludes provisioning group matching from member previews. |
|
|
61
|
+
| `shouldRefreshGroupMembersLive` | no | boolean | |
|
|
62
|
+
| `shouldShowActions` | no | boolean | When false, hides built-in save and cancel actions. |
|
|
63
|
+
| `shouldShowExclusions` | no | boolean | When false, hides exclusion rule editing. |
|
|
64
|
+
| `shouldShowImportRolesOption` | no | boolean | |
|
|
65
|
+
| `shouldShowRefreshMembersAction` | no | boolean | When true, exposes the manual refresh-members action for role groups. |
|
|
66
|
+
| `shouldShowRoleStateConfiguration` | no | boolean | |
|
|
67
|
+
| `shouldSkipMembershipUpdateNotification` | no | boolean | |
|
|
68
|
+
| `statePaths` | no | [StatePath](./types.md#statepath) | Optional state paths the wrapper writes as editor state changes. |
|
|
69
|
+
| `timeBasedConfigurationOptions` | no | unknown[] | |
|
|
70
|
+
| `validations` | no | [Validation](./types.md#validation) | JSON-safe built-in validation configuration. |
|
|
71
|
+
|
|
72
|
+
No additional properties.
|
|
73
|
+
|
|
74
|
+
## SuperGroupGridRenderer
|
|
75
|
+
|
|
76
|
+
Compact read-only SuperGroup renderer for table and grid cells.
|
|
77
|
+
|
|
78
|
+
Wrap repeated grid instances in SuperGroupStateProvider so shared SuperGroup metadata is cached across cells.
|
|
79
|
+
Pass groupId for the common fetch-on-render path, or group when the spec already has the SuperGroup object.
|
|
80
|
+
|
|
81
|
+
Catalog key: `SuperGroupGridRenderer`
|
|
82
|
+
Builder: `SuperGroupGridRenderer`
|
|
83
|
+
Props type: `SuperGroupGridRendererProps`
|
|
84
|
+
Accepts children: no
|
|
85
|
+
Events: _none_
|
|
86
|
+
|
|
87
|
+
### Props
|
|
88
|
+
|
|
89
|
+
| Name | Required | Type | Description |
|
|
90
|
+
|---|---:|---|---|
|
|
91
|
+
| `appName` | yes | string | Application name used by SuperGroup APIs. Required for all SuperGroup renderers. |
|
|
92
|
+
| `emptyPlaceholder` | no | string | Text displayed when the group has no members. |
|
|
93
|
+
| `emptyText` | no | string | Alias for emptyPlaceholder. Text displayed when empty. |
|
|
94
|
+
| `family` | no | string | Object family used when resolving group metadata. |
|
|
95
|
+
| `group` | no | [SuperGroupGridRendererGroup](./types.md#supergroupgridrenderergroup) | Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context. |
|
|
96
|
+
| `groupId` | no | string | Id of the SuperGroup to fetch and render. |
|
|
97
|
+
| `groupTypeConfig` | no | [SuperGroupGridRendererGroupTypeConfig](./types.md#supergroupgridrenderergrouptypeconfig) | Group type metadata used by SuperGroup API adapters. |
|
|
98
|
+
| `includedRoleTypes` | no | string[] | Role type filters applied to the preview result. |
|
|
99
|
+
| `ownerId` | no | string | SpokeOwner id. Required for non-internal application groups. |
|
|
100
|
+
| `previewRulesLimit` | no | number | Maximum number of rules shown before truncation. |
|
|
101
|
+
| `provisionedRoles` | no | string \| [SuperGroupGridRendererProvisionedRole](./types.md#supergroupgridrendererprovisionedrole)[] | Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true. |
|
|
102
|
+
| `requestOptions` | no | [SuperGroupGridRendererRequestOption](./types.md#supergroupgridrendererrequestoption) | Additional request options forwarded to SuperGroup APIs. |
|
|
103
|
+
| `ruleOptions` | no | [SuperGroupGridRendererRuleOption](./types.md#supergroupgridrendererruleoption) | JSON-safe SuperGroup rule option configuration. |
|
|
104
|
+
| `shouldIgnoreProvisioningGroup` | no | boolean | When true, excludes provisioning group matching from member previews. |
|
|
105
|
+
| `shouldIncludeThirdPartyAdmins` | no | boolean | When true, includes third-party admins in member previews. |
|
|
106
|
+
| `shouldShowExclusions` | no | boolean | When true, renders excluded-member rules. |
|
|
107
|
+
| `shouldShowTitle` | no | boolean | When true, renders the preview title. |
|
|
108
|
+
| `showPreviewMembersInTooltip` | no | boolean | When true, shows preview members inside the grid-cell tooltip. |
|
|
109
|
+
| `skipThrottling` | no | boolean | When true, skips SuperGroup mount throttling. |
|
|
110
|
+
|
|
111
|
+
No additional properties.
|
|
112
|
+
|
|
113
|
+
## SuperGroupMembersViewer
|
|
114
|
+
|
|
115
|
+
Read-only SuperGroup members viewer for detail pages and summaries.
|
|
116
|
+
|
|
117
|
+
Pass groupId for the common fetch-on-render path, or group when the spec already has the SuperGroup object.
|
|
118
|
+
theme accepts INLINE_TEXT or INLINE_COUNT for compact inline displays. Omit theme for the full member grid.
|
|
119
|
+
|
|
120
|
+
Catalog key: `SuperGroupMembersViewer`
|
|
121
|
+
Builder: `SuperGroupMembersViewer`
|
|
122
|
+
Props type: `SuperGroupMembersViewerProps`
|
|
123
|
+
Accepts children: no
|
|
124
|
+
Events: _none_
|
|
125
|
+
|
|
126
|
+
### Props
|
|
127
|
+
|
|
128
|
+
| Name | Required | Type | Description |
|
|
129
|
+
|---|---:|---|---|
|
|
130
|
+
| `family` | no | string | Object family used when resolving group metadata. |
|
|
131
|
+
| `gridTitle` | no | string | Title for the members grid. |
|
|
132
|
+
| `group` | no | [SuperGroupMembersViewerGroup](./types.md#supergroupmembersviewergroup) | Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context. |
|
|
133
|
+
| `groupId` | no | string | Id of the SuperGroup whose members should be rendered. |
|
|
134
|
+
| `groupMembersDrawerCaption` | no | string | Caption text for the members drawer. |
|
|
135
|
+
| `groupMembersDrawerTitle` | no | string | Title for the members drawer. |
|
|
136
|
+
| `groupTypeConfig` | no | [SuperGroupMembersViewerGroupTypeConfig](./types.md#supergroupmembersviewergrouptypeconfig) | Group type metadata used by SuperGroup API adapters. |
|
|
137
|
+
| `isPreview` | no | boolean | When true, renders in preview mode. |
|
|
138
|
+
| `provisionedRoles` | no | string \| [SuperGroupMembersViewerProvisionedRole](./types.md#supergroupmembersviewerprovisionedrole)[] | Role ids or serialized role objects provisioned by the parent app or object. |
|
|
139
|
+
| `requestOptions` | no | [SuperGroupMembersViewerRequestOption](./types.md#supergroupmembersviewerrequestoption) | Additional request options forwarded to SuperGroup APIs. |
|
|
140
|
+
| `shouldIgnoreProvisioningGroup` | no | boolean | When true, excludes provisioning group matching from member previews. |
|
|
141
|
+
| `shouldShowRefreshMembersAction` | no | boolean | When true, exposes the refresh-members action. |
|
|
142
|
+
| `theme` | no | [SuperGroupMembersViewerTheme](./definitions.md#supergroupmembersviewertheme) | Inline member display mode. Omit for the full member view. |
|
|
143
|
+
|
|
144
|
+
No additional properties.
|
|
145
|
+
|
|
146
|
+
## SuperGroupPreviewV2
|
|
147
|
+
|
|
148
|
+
Read-only SuperGroup rule preview. Use this to show membership rules for an existing group without exposing editing controls.
|
|
149
|
+
|
|
150
|
+
Pass groupId for the common fetch-on-render path, or group when the spec already has the SuperGroup object.
|
|
151
|
+
appName is required. ownerId is required for non-internal application groups.
|
|
152
|
+
Compose titles and captions around this component with Pebble/core text components; PreviewV2 itself renders only the rule preview.
|
|
153
|
+
|
|
154
|
+
Catalog key: `SuperGroupPreviewV2`
|
|
155
|
+
Builder: `SuperGroupPreviewV2`
|
|
156
|
+
Props type: `SuperGroupPreviewV2Props`
|
|
157
|
+
Accepts children: no
|
|
158
|
+
Events: _none_
|
|
159
|
+
|
|
160
|
+
### Props
|
|
161
|
+
|
|
162
|
+
| Name | Required | Type | Description |
|
|
163
|
+
|---|---:|---|---|
|
|
164
|
+
| `appName` | yes | string | Application name used by SuperGroup APIs. Required for all SuperGroup renderers. |
|
|
165
|
+
| `emptyPlaceholder` | no | string | Text displayed when the group has no members. |
|
|
166
|
+
| `emptyText` | no | string | Alias for emptyPlaceholder. Text displayed when empty. |
|
|
167
|
+
| `family` | no | string | Object family used when resolving group metadata. |
|
|
168
|
+
| `group` | no | [SuperGroupPreviewV2Group](./types.md#supergrouppreviewv2group) | Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context. |
|
|
169
|
+
| `groupId` | no | string | Id of the SuperGroup to fetch and render. |
|
|
170
|
+
| `groupTypeConfig` | no | [SuperGroupPreviewV2GroupTypeConfig](./types.md#supergrouppreviewv2grouptypeconfig) | Group type metadata used by SuperGroup API adapters. |
|
|
171
|
+
| `includedRoleTypes` | no | string[] | Role type filters applied to the preview result. |
|
|
172
|
+
| `ownerId` | no | string | SpokeOwner id. Required for non-internal application groups. |
|
|
173
|
+
| `previewRulesLimit` | no | number | Maximum number of rules shown before truncation. |
|
|
174
|
+
| `provisionedRoles` | no | string \| [SuperGroupPreviewV2ProvisionedRole](./types.md#supergrouppreviewv2provisionedrole)[] | Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true. |
|
|
175
|
+
| `requestOptions` | no | [SuperGroupPreviewV2RequestOption](./types.md#supergrouppreviewv2requestoption) | Additional request options forwarded to SuperGroup APIs. |
|
|
176
|
+
| `ruleOptions` | no | [SuperGroupPreviewV2RuleOption](./types.md#supergrouppreviewv2ruleoption) | JSON-safe SuperGroup rule option configuration. |
|
|
177
|
+
| `shouldIgnoreProvisioningGroup` | no | boolean | When true, excludes provisioning group matching from member previews. |
|
|
178
|
+
| `shouldIncludeThirdPartyAdmins` | no | boolean | When true, includes third-party admins in member previews. |
|
|
179
|
+
| `shouldShowExclusions` | no | boolean | When true, renders excluded-member rules. |
|
|
180
|
+
| `shouldShowTitle` | no | boolean | When true, renders the preview title. |
|
|
181
|
+
| `skipThrottling` | no | boolean | When true, skips SuperGroup mount throttling. |
|
|
182
|
+
|
|
183
|
+
No additional properties.
|
|
184
|
+
|
|
185
|
+
## SuperGroupStateProvider
|
|
186
|
+
|
|
187
|
+
Provider that shares SuperGroup secondary data across nested read-only SuperGroup renderers.
|
|
188
|
+
|
|
189
|
+
Use this around lists, tables, or grids that render multiple SuperGroupPreviewV2 or SuperGroupGridRenderer instances.
|
|
190
|
+
Pass the same appName, ownerId, family, groupTypeConfig, requestOptions, and provisionedRoles that nested SuperGroup renderers use.
|
|
191
|
+
|
|
192
|
+
Catalog key: `SuperGroupStateProvider`
|
|
193
|
+
Builder: `SuperGroupStateProvider`
|
|
194
|
+
Props type: `SuperGroupStateProviderProps`
|
|
195
|
+
Accepts children: yes
|
|
196
|
+
Events: _none_
|
|
197
|
+
|
|
198
|
+
### Props
|
|
199
|
+
|
|
200
|
+
| Name | Required | Type | Description |
|
|
201
|
+
|---|---:|---|---|
|
|
202
|
+
| `appName` | yes | string | Application name used by SuperGroup APIs. Required for all SuperGroup renderers. |
|
|
203
|
+
| `family` | no | string | Object family used when resolving group metadata. |
|
|
204
|
+
| `group` | no | [SuperGroupStateProviderGroup](./types.md#supergroupstateprovidergroup) | Already-fetched SuperGroup object. Prefer groupId unless the group is already available in the spec context. |
|
|
205
|
+
| `groupId` | no | string | Id of the SuperGroup to fetch and render. |
|
|
206
|
+
| `groupTypeConfig` | no | [SuperGroupStateProviderGroupTypeConfig](./types.md#supergroupstateprovidergrouptypeconfig) | Group type metadata used by SuperGroup API adapters. |
|
|
207
|
+
| `ownerId` | no | string | SpokeOwner id. Required for non-internal application groups. |
|
|
208
|
+
| `provisionedRoles` | no | string \| [SuperGroupStateProviderProvisionedRole](./types.md#supergroupstateproviderprovisionedrole)[] | Role ids or serialized role objects provisioned by the parent app or object. Required for role groups unless shouldIgnoreProvisioningGroup is true. |
|
|
209
|
+
| `requestOptions` | no | [SuperGroupStateProviderRequestOption](./types.md#supergroupstateproviderrequestoption) | Additional request options forwarded to SuperGroup APIs. |
|
|
210
|
+
| `shouldIgnoreProvisioningGroup` | no | boolean | When true, excludes provisioning group matching from member previews. |
|
|
211
|
+
|
|
212
|
+
No additional properties.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<!-- Auto-generated from catalogs/hub_platform.catalog.json; do not edit directly. -->
|
|
2
|
+
# hub_platform Computed Functions
|
|
3
|
+
|
|
4
|
+
Import computed function helpers from `@rippling/pebble-sdui-web/catalogs/hub_platform`. Read [definitions.md](./definitions.md) for enum values linked from param tables.
|
|
5
|
+
|
|
6
|
+
_This catalog does not define computed functions._
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
<!-- Auto-generated from catalogs/hub_platform.catalog.json; do not edit directly. -->
|
|
2
|
+
# hub_platform Definitions
|
|
3
|
+
|
|
4
|
+
Enum values are defined here so component, action, function, and type tables can link to them without duplicating allowed values.
|
|
5
|
+
|
|
6
|
+
## CommandType
|
|
7
|
+
|
|
8
|
+
TypeScript type:
|
|
9
|
+
|
|
10
|
+
```ts
|
|
11
|
+
"save" | "extractDraft" | "reset" | "setMode"
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Allowed values:
|
|
15
|
+
|
|
16
|
+
| Value |
|
|
17
|
+
|---|
|
|
18
|
+
| `save` |
|
|
19
|
+
| `extractDraft` |
|
|
20
|
+
| `reset` |
|
|
21
|
+
| `setMode` |
|
|
22
|
+
|
|
23
|
+
Referenced by:
|
|
24
|
+
|
|
25
|
+
| Kind | Entity | Field |
|
|
26
|
+
|---|---|---|
|
|
27
|
+
| type | `Command` | `type` |
|
|
28
|
+
|
|
29
|
+
## SuperGroupEditorMode
|
|
30
|
+
|
|
31
|
+
TypeScript type:
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
"read" | "edit"
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Allowed values:
|
|
38
|
+
|
|
39
|
+
| Value |
|
|
40
|
+
|---|
|
|
41
|
+
| `read` |
|
|
42
|
+
| `edit` |
|
|
43
|
+
|
|
44
|
+
Referenced by:
|
|
45
|
+
|
|
46
|
+
| Kind | Entity | Field |
|
|
47
|
+
|---|---|---|
|
|
48
|
+
| component | `SuperGroupEditor` | `mode` |
|
|
49
|
+
| type | `Command` | `mode` |
|
|
50
|
+
|
|
51
|
+
## SuperGroupEditorSaveMode
|
|
52
|
+
|
|
53
|
+
TypeScript type:
|
|
54
|
+
|
|
55
|
+
```ts
|
|
56
|
+
"self" | "external"
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Allowed values:
|
|
60
|
+
|
|
61
|
+
| Value |
|
|
62
|
+
|---|
|
|
63
|
+
| `self` |
|
|
64
|
+
| `external` |
|
|
65
|
+
|
|
66
|
+
Referenced by:
|
|
67
|
+
|
|
68
|
+
| Kind | Entity | Field |
|
|
69
|
+
|---|---|---|
|
|
70
|
+
| component | `SuperGroupEditor` | `saveMode` |
|
|
71
|
+
|
|
72
|
+
## SuperGroupMembersViewerTheme
|
|
73
|
+
|
|
74
|
+
TypeScript type:
|
|
75
|
+
|
|
76
|
+
```ts
|
|
77
|
+
"INLINE_TEXT" | "INLINE_COUNT"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Allowed values:
|
|
81
|
+
|
|
82
|
+
| Value |
|
|
83
|
+
|---|
|
|
84
|
+
| `INLINE_TEXT` |
|
|
85
|
+
| `INLINE_COUNT` |
|
|
86
|
+
|
|
87
|
+
Referenced by:
|
|
88
|
+
|
|
89
|
+
| Kind | Entity | Field |
|
|
90
|
+
|---|---|---|
|
|
91
|
+
| component | `SuperGroupMembersViewer` | `theme` |
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Auto-generated from catalogs/hub_platform.catalog.json; do not edit directly. -->
|
|
2
|
+
# hub_platform Catalog
|
|
3
|
+
|
|
4
|
+
Catalog: `hub_platform`
|
|
5
|
+
Version: `1.0.0`
|
|
6
|
+
SDK language: `typescript`
|
|
7
|
+
|
|
8
|
+
Use this catalog index after you have chosen this catalog for the spec. Do not mix components, actions, computed functions, or render helpers from another catalog unless that catalog explicitly documents compatibility.
|
|
9
|
+
|
|
10
|
+
| Doc | Contents |
|
|
11
|
+
|---|---|
|
|
12
|
+
| [components.md](./components.md) | Component builders/classes, descriptions, events, children support, and prop types. |
|
|
13
|
+
| [actions.md](./actions.md) | Action creators, descriptions, docs, and parameter types. |
|
|
14
|
+
| [computed-functions.md](./computed-functions.md) | Computed function helpers, descriptions, docs, and parameter types. |
|
|
15
|
+
| [types.md](./types.md) | Nested object types referenced by props, action params, and computed function params. |
|
|
16
|
+
| [definitions.md](./definitions.md) | Enum definitions linked from the other catalog docs. |
|